@charset "UTF-8";

/*--------lv----------*/
#lv {
	aspect-ratio: 1920 / 700;
	margin-top: 0px;
}

#lv:not(.parallax).blur0 .parallax_img {
	background-position: left center !important;
}

#lv div {
	/*opacity: 1;*/
}

#lv p {
	display: none;
}
#lv:before {
    content: "";
    display: block;
    position: absolute;
    background: url(/common/upload_data/niyoshibussancojp/image/20260609145737.png) no-repeat;
    left: 25px;
    top: 52%;
    background-size: contain;
    transform: translateY(-50%);
    width: 100%;
    height: 85%;
    z-index: 1;
}

@media screen and (max-width: 900px) {
#lv:before {
    top: 50%;
}
}

@media screen and (max-width: 600px) {
	#lv {
		aspect-ratio: 1920 / 1000;
		min-height: 0 !important;
	}

}

/*------------マーカー--------------*/
a[id*="marker"]+section .inner_item_txt p span {
    background: linear-gradient(transparent 60%, #ffff00 60%);
}
a[id*="marker"]+section .heading.block_header_3 {
    background: #ec4956;
    color: #fff;
    position: relative;
    overflow: visible;
}
a[id*="marker"]+section .heading.block_header_3:before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: block;
    bottom: -12px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 20px 20px 0 20px;
    border-color: #ec4956 transparent transparent transparent;
}

/*------------吹き出し-------------*/
a[id*="fukidashi"] + section .content_wrapper {
    position: relative;
}

a[id*="fukidashi"] + section .content_wrapper::after {
    content: "";
    position: absolute;
    right: 40%;
    bottom: -20px;
    width: 30px;
    height: 30px;
    background: var(--i_sub2_color);
    clip-path: polygon(0 0, 20% 100%, 100% 0);
    transform: translateX(-50%);
}
a[id*="fukidashi"] + section .inner_item_txt p span {
    background: linear-gradient(transparent 60%, #ffff00 60%);
}

/*-----------テーブル-----------*/
a#table+div td:nth-of-type(3) {
    border-left: 6px solid var(--i_main_color);
    border-right: 6px solid var(--i_main_color);
}

a#table+div tr:first-child td:nth-of-type(3) {
    border-top: 6px solid var(--i_main_color);
    position: relative;
    background: var(--i_main_color);
    color: #fff;
}
a#table+div tr:last-child td:nth-of-type(3) {
    border-bottom: 6px solid var(--i_main_color);
}
a#table+div .outer {
    padding-top: 30px;
}
a#table+div tr:first-child td:nth-of-type(3):before {
    content: "おすすめ";
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 12px;
    border-radius: 999px;
    background: var(--i_sub_color);
    color: #fff;
    font-size: 1.4rem;
    font-weight: bold;
    line-height: 1;
    border: 1px solid #fff;
}
a#table+div tr:first-child td:nth-of-type(3):after {
    content: "";
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 8px;
    background: var(--i_sub_color);
    clip-path: polygon(50% 100%, 0 0, 100% 0);
}

/*----6/15追加修正-----*/
a#table+div tr:first-child td:nth-of-type(3) {
    font-size: 2.0rem;
}

a#table+div tr td:nth-of-type(3) {
    font-weight: bold;
}


a[id*="table_sp"] + div {
    display: none;
}

.block_table_7.wauto table {
    white-space: inherit;
}
@media screen and (max-width: 900px) {
    #table + div {
        display: none;
    }
    a[id*="table_sp"] + div {
        display: block;
    }
    a[id*="table_sp"] + div.block_table_1 table tr:nth-child(n+2) td {
        background: none;
    }
    #table_sp3 +div td {
        border-left: 6px solid var(--i_main_color);
        border-right: 6px solid var(--i_main_color);
        font-weight: bold;
    }
    #table_sp3 +div tr:first-child td {
        border-top: 6px solid var(--i_main_color);
        position: relative;
        background: var(--i_main_color);
        color: #fff;
    }
    #table_sp3 +div tr:last-child td {
        border-bottom: 6px solid var(--i_main_color);
    }
    #table_sp3 +div .outer {
        padding-top: 30px;
    }
    #table_sp3 +div tr:first-child td:before {
        content: "おすすめ";
        position: absolute;
        top: -20px;
        left: 50%;
        transform: translateX(-50%);
        padding: 4px 12px;
        border-radius: 999px;
        background: var(--i_sub_color);
        color: #fff;
        font-size: 1.4rem;
        font-weight: bold;
        line-height: 1;
        border: 1px solid #fff;
}
    #table_sp3 +div tr:first-child td:after {
        content: "";
        position: absolute;
        top: -2px;
        left: 50%;
        transform: translateX(-50%);
        width: 12px;
        height: 8px;
        background: var(--i_sub_color);
        clip-path: polygon(50% 100%, 0 0, 100% 0);
    }
}

.heading.block_header_3 .h {
font-size:3rem;
}

.wrapper_item .inner_item_txt p {
font-size: 2.0rem;
}

#fukidashi + section .inner_item_txt p {
font-size: 2.3rem;
}

#fukidashi + section .inner_item_txt p span {
font-size: 2.5rem;
}

#fukidashi2 + section .wrapper_item .inner_item_txt p {
font-size: 2.3rem;
}
#fukidashi2 + section .wrapper_item .inner_item_txt p span {
font-size: 2.5rem;
}




/*----------befaft------------*/
a#befaft+div .wrapper_item {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 20px 40px;
    grid-auto-flow: column;
    overflow: visible;
}
a#befaft+div .wrapper_item .inner_item {
    margin-bottom: 0 !important;
    gap: 20px;
}
a#befaft+div .wrapper_item .inner_item {
    flex-direction: column;
    align-items: center;
}
a#befaft+div .wrapper_item .inner_item:nth-of-type(odd) {
    flex-direction: column-reverse;
    align-items: center;
    justify-content: center;
}
a#befaft+div .wrapper_item .inner_item a {
    width: 100%;
    max-width: none;
    flex-basis: auto;
    pointer-events: none;
}
a#befaft+div .wrapper_item .inner_item .inner_item_txt {
    width: 100%;
    padding-left: 0;
}
a#befaft+div .wrapper_item .inner_item .inner_item_txt h3.h {
    color: #fff;
    margin-bottom: 0;
    color: #fff;
    font-family: "NotoSansCJKjp", sans-serif;
    font-weight: 700;
    line-height: 1;
    background-color: var(--i_main_color);
    text-align: center;
    padding: 10px;
    border-radius: 20px;
}
a#befaft+div .wrapper_item .inner_item:nth-of-type(even) img {
    border: 3px solid var(--i_main_color);
}
a#befaft+div .wrapper_item .inner_item:nth-of-type(odd) .inner_item_img {
    position: relative;
    width: 80%;
    margin-left: 0;
}

a#befaft+div .wrapper_item .inner_item:nth-of-type(odd) .inner_item_img:before {
    content: "BEFORE";
    display: block;
    position: absolute;
    color: #fff;
    font-size: 2.0rem;
    background: #006EA0;
    padding: 0 10px;
    left: 0;
    top: 10px;
    border-radius: 0 10px 10px 0;
}
a#befaft+div .wrapper_item .inner_item:nth-of-type(even) .inner_item_img {
    position: relative;
}
a#befaft+div .wrapper_item .inner_item:nth-of-type(even) .inner_item_img:before {
    content: "AFTER";
    display: block;
    position: absolute;
    color: #fff;
    font-size: 2.0rem;
    background: var(--i_main_color);
    padding: 0 10px;
    left: 0;
    top: 10px;
    border-radius: 0 10px 10px 0;
}
a#befaft+div .wrapper_item .inner_item:nth-of-type(odd) {
    position: relative;
}
a#befaft+div .wrapper_item .inner_item:nth-of-type(odd):before {
    content: "";
    position: absolute;
    display: block;
    background: url(/common/upload_data/niyoshibussancojp/image/20260610181016.png) no-repeat;
    background-size: contain;
    bottom: -55px;
    left: 40%;
    width: 70px;
    height: 70px;
    transform: translateX(-50%) rotate(-135deg) scaleX(-1);
    z-index: 1;
    border-radius: 0 10px 10px 0;
}
@media screen and (max-width: 768px) {
a#befaft+div .wrapper_item {
    display: flex;
}
a#befaft+div .wrapper_item .inner_item:nth-of-type(odd) {
    display: flex;
}
a#befaft+div .wrapper_item .inner_item:nth-of-type(2) {
    margin-bottom: 30px !important;
}
#befaft+div .wrapper_item .inner_item:nth-of-type(odd) img {
    margin-bottom: 0;
}
}