@charset "utf-8";

/**
 * 共通
 */

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    min-width: auto;
}

#gNavi .naviUl li {
    margin-inline: 0.2em;
}


/**
 * サービスTOP および 下層ページ
 */

#ws-wrap * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
#ws-wrap img {
    display: block;
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

:is(#ws-wrap,#support) h2.with-circle {
    position: relative;
    margin: 20px auto 50px;
    width: 90%;
    max-width: 1200px;
    font-size: 30px;
    text-align: justify;
    color: #804f22;
    z-index: 1;
}
:is(#ws-wrap,#support) h2.with-circle::before {
    position: absolute;
    content: "";
    left: 0;
    bottom: -10px;
    width: 100%;
    height: 1px;
    background-color: #76a968;
    z-index: 1;
}
:is(#ws-wrap,#support) h2.with-circle::after {
    position: absolute;
    content: "";
    left: -40px;
    top: -20px;
    width: 100px;
    height: 100px;
    background-color: #ecf4e3;
    border-radius: 100%;
    z-index: -1;
}

@media ( max-width: 700px ) {
    :is(#ws-wrap,#support) h2.with-circle {
        font-size: 24px;
    }
    :is(#ws-wrap,#support) h2.with-circle::after {
        left: -0.5em;
        width: 2.5em;
        height: 2.5em;
    }
}


/**
 * サービスTOP
 */

#head {
    margin: 0 auto;
    width: 100%;
}
#head h2 {
    margin: 0 auto;
    padding: 2.0em 0;
    color: #956135;
    font-size: 4.2rem; /* 50px; */
    font-family: 'Noto Serif JP', sans-serif;
    font-weight: 700;
    text-align: center;
    line-height: 1.0;
}
@media not all and (min-width: 768px) {
    #head h2 {
        font-size: 3rem;
    }
}

#search-service {
    margin: 0 auto;
    padding: 0 0 80px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
}
#search-service .pic {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 720 / 650;
    max-height: 600px;
}
#search-service .pic figure {
    width: 100%;
    height: 100%;
    border-radius: 0 30px 30px 0;
    overflow: hidden;
}
#search-service .pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform-origin: 0% 65%;
    transform: scale( 1.5, 1.5 );
}
#search-service .pic .txt {
    position: absolute;
    top: 50%;
    left: 15%;
    height: max-content;
    color: #fff;
    font-size: min( 40px, 2.8vw );
    font-weight: 600;
    line-height: 1.8;
    letter-spacing: 0.1em;
    text-shadow: 0 0 0.2em #0009, 0 0 0.2em #0009;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;          
    translate: 0 -50%;
}
#search-service .list {
    padding: 0 40px 0 0;
    width: 100%;
}
#search-service .list h2 {
    width: max-content;
}
#search-service .list .list-grid {
    width: 100%;
    max-width: 540px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px 20px;
    margin: 0 auto;
}
#search-service .list .list-grid > a {
    width: 100%;
}
#search-service .list .list-grid > a figure {
    margin: 0 auto;
    width: 60%;
    height: auto;
    aspect-ratio: 5 / 4;
}
#search-service .list .list-grid > a figure img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
#search-service .list .list-grid > a > div {
    margin: 0 auto;
    padding: 0.2em 0.8em;
    width: max-content;
    color: #fff;
    font-size: 24px;
    font-weight: 600;
    border-radius: 10px;
}
#search-service .list .list-grid > a:nth-child(1) > div {
    background: #ed7209;
}
#search-service .list .list-grid > a:nth-child(2) > div {
    background: #84a669;
}
#search-service .list .list-grid > a:nth-child(3) > div {
    background: #ff7bac;
}
#search-service .list .list-grid > a:nth-child(4) > div {
    background: #3b597a;
}
#search-service .list .list-grid > a > span {
    position: relative;
    display: block;
    margin: 0.5em auto 0;
    padding: 0 0 0 1.2em;
    width: max-content;
    color: #000;
    font-size: 22px;
    font-weight: 400;
    line-height: 1.0;
    text-decoration: none;
}
#search-service .list .list-grid > a > span::before {
    position: absolute;
    display: block;
    content: "";
    top: 0.1em;
    left: 0;
    width: 0.8em;
    height: 0.8em;
    clip-path: polygon( 0 0, 100% 50%, 0 100% );
}
#search-service .list .list-grid > a:nth-child(1) > span::before {
    background: #ed7209;
}
#search-service .list .list-grid > a:nth-child(2) > span::before {
    background: #84a669;
}
#search-service .list .list-grid > a:nth-child(3) > span::before {
    background: #ff7bac;
}
#search-service .list .list-grid > a:nth-child(4) > span::before {
    background: #3b597a;
}

@media ( max-width: 1280px ) {
    #search-service {
        grid-template-columns: 1fr;
        gap: 40px 0;
    }
    #search-service .pic {
        margin: 0 auto;
        aspect-ratio: 820 / 650;
    }
    #search-service .pic figure {
        border-radius: 0;
    }
    #search-service .pic img {
        object-fit: cover;
        transform-origin: 10% 40%;
        transform: scale( 1.4, 1.4 );
    }
    #search-service .pic .txt {
        left: 5%;
        font-size: min( 40px, 5.0vw );
    }
    #search-service .list {
        margin: 0 auto;
        padding: 0;
        width: 100%;
        max-width: 600px;
    }
    #search-service .list h2 {
        margin: 1.0vw auto 5.0vw;
        width: 90%;
    }
    #search-service .list .list-grid {
        margin: 0 auto;
        max-width: 100%;
        gap: 4.0vw 0;
    }
    #search-service .list .list-grid > a > div {
        font-size: min( 24px, 4.0vw );
    }
    #search-service .list .list-grid > a > span {
        font-size: min( 22px, 3.6vw );
    }
}
@media ( max-width: 1280px ) {
    #search-service .list h2 {
        margin: 1.0vw auto 10.0vw;
    }
}

#available {
    margin: 0 auto;
    padding: 80px 0;
    width: 100%;
    background: #f9f8f5;
}
#available .service-list {
    position: relative;
    margin: 0 auto;
    padding: 20px 40px;
    width: 90%;
    max-width: 1200px;
    background: #fff;
    border-radius: 34px;
    box-shadow: 0 0 13px rgba( 0, 0, 0, 0.14 );
}
#available .service-list::after {
    position: absolute;
    display: block;
    content: "";
    right: 0;
    bottom: 0;
    width: 12%;
    height: auto;
    aspect-ratio: 125 / 149;
    background: url(../img/add/icon/service-icon5-pc.png) no-repeat center / contain;
    translate: 5% 25%;
}
#available .service-list h3 {
    margin: 0 auto 1.0em;
    padding: 0 0 0.4em;
    color: #85a669;
    font-size: 28px;
    text-align: justify;
    border-bottom: 7px dotted #ebcc5e;
}
#available .service-list .service-grid {
    display: grid;
    grid-template-columns: 8fr 10fr 10fr;
    gap: 0;
}
#available .service-list .service-grid > div {
    width: 100%;
}
#available .service-list .service-grid > div:nth-child(1) {
    grid-row: 1 / 3;
    grid-column: 1 / 2;
}
#available .service-list .service-grid > div:nth-child(2) {
    grid-row: 1 / 2;
    grid-column: 2 / 3;
}
#available .service-list .service-grid > div:nth-child(3) {
    grid-row: 2 / 3;
    grid-column: 2 / 3;
}
#available .service-list .service-grid > div:nth-child(4) {
    grid-row: 1 / 3;
    grid-column: 3 / 4;
}
#available .service-list .service-grid > div a {
    position: relative;
    display: block;
    margin: 0.6em 0 0;
    padding: 0 0 0 1.2em;
    width: 100%;
    color: #000;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.5;
    text-decoration: underline;
}
#available .service-list .service-grid > div a::before {
    position: absolute;
    display: block;
    content: "";
    top: 0.3em;
    left: 0;
    width: 0.8em;
    height: 0.8em;
    background: #ed7209;
    clip-path: polygon( 0 0, 100% 50%, 0 100% );
}

@media ( max-width: 1040px ) {
    #available .service-list {
        padding: 4.0vw 4.0vw;
        width: 96%;
        max-width: auto;
    }
    #available .service-list::after {
        width: 20%;
        height: auto;
        aspect-ratio: 147 / 156;
        background: url(../img/add/icon/service-icon5-sp.png) no-repeat center / contain;
        translate: -5% 20%;
    }
    #available .service-list .service-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0 2.0vw;
    }
    #available .service-list .service-grid > div {
        width: 100%;
    }
    #available .service-list .service-grid > div:nth-child(1) {
        grid-row: 1 / 3;
        grid-column: 1 / 2;
    }
    #available .service-list .service-grid > div:nth-child(2) {
        grid-row: 3 / 4;
        grid-column: 1 / 2;
    }
    #available .service-list .service-grid > div:nth-child(3) {
        grid-row: 1 / 2;
        grid-column: 2 / 3;
    }
    #available .service-list .service-grid > div:nth-child(4) {
        grid-row: 2 / 4;
        grid-column: 2 / 3;
    }
    #available .service-list .service-grid > div a {
        margin: 1.0em 0 0;
        font-size: clamp( 16px, 3.2vw, 20px );
    }
}
@media ( max-width: 700px ) {
    #available .service-list h3 {
        font-size: 22px;
    }
    #available .service-list .service-grid {
        padding: 0 5%;
        grid-template-columns: 1fr;
        gap: 0;
    }
    #available .service-list .service-grid > div {
        grid-row: auto !important;
        grid-column: auto !important;
    }
    #available .service-list .service-grid > div a {
        margin: 0 0 1.0em;
    }
}

#reason {
    margin: 0 auto;
    padding: 80px 0;
    width: 100%;
}
#reason .reason-grid {
    margin: 80px auto 0;
    padding: 0 40px;
    width: 100%;
    max-width: 1280px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px 80px;
}
#reason .reason-grid + .reason-grid {
    margin-top: 120px
}
#reason .reason-grid > .info {
    width: 100%;
}
#reason .reason-grid > .info h3 {
    margin: 0 auto 1.0em;
    padding: 0 0 0.4em;
    color: #000;
    font-size: 28px;
    font-weight: 600;
    border-bottom: 7px dotted #ebcc5e;
}
#reason .reason-grid > .info .detail-btn {
    position: relative;
    display: block;
    margin: 2.0em 0 0 auto;
    padding: 0.8em 1.2em 0.8em 2.8em;
    width: max-content;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.0;
    text-decoration: none;
    background: #ed7209;
    border-radius: 10.0em;
}
#reason .reason-grid > .info .detail-btn::before {
    position: absolute;
    display: block;
    content: "";
    top: 0.9em;
    left: 1.4em;
    width: 0.8em;
    height: 0.8em;
    background: #fff;
    clip-path: polygon( 0 100%, 50% 0, 100% 100% );
}
#reason .reason-grid > .info p {
    margin: 1.5em 0;
    color: #000;
    font-size: 18px;
    letter-spacing: 0.1em;
}
#reason .reason-grid > .pic {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    border-radius: 30px;
    overflow: hidden;
}
#reason .reason-grid > .pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#reason .reason-grid > .pic img.pic1 {
    transform-origin: 45% 75%;
    transform: scale( 1.4, 1.4 );
}
#reason .reason-grid > .pic img.pic2 {
    transform-origin: 25% 0;
    transform: scale( 1.5, 1.5 );
}
#reason .reason-grid > .pic img.pic3 {
    object-position: 60% 50%;
}
#reason .reason-grid > .pic img.pic4 {
    object-position: right center;
}

@media ( max-width: 960px ) {
    #reason .reason-grid {
        margin: 8.0vw auto 0;
        padding: 0;
        width: 90%;
        display: grid;
        grid-template-columns: 1fr;
        gap: 8.0vw 8.0vw;
    }
    #reason .reason-grid + .reason-grid {
        margin-top: 16.0vw;
    }
    #reason .reason-grid > .pic {
        grid-column: 1 / 2;
        grid-row: 1 / 2;
        aspect-ratio: 640 / 450;
    }
    #reason .reason-grid > .info {
        grid-column: 1 / 2;
        grid-row: 2 / 3;
    }
    #reason .reason-grid > .pic img.pic1 {
        transform-origin: 45% 40%;
        transform: scale( 2.0, 2.0 );
    }
    #reason .reason-grid > .pic img.pic2 {
        object-position: 50% 30%;
        transform-origin: 30% 0;
        transform: scale( 1.5, 1.5 );
    }
    #reason .reason-grid > .pic img.pic3 {
        object-position: right center;
    }
    #reason .reason-grid > .pic img.pic4 {
        object-position: right center;
    }
}
@media ( max-width: 700px ) {
    #reason .reason-grid > .info h3 {
        font-size: 22px;
    }
}


/**
 * おひとりさま，介護，亡くなった時
 */
#mv {
    margin: 0 auto;
    width: 100%;
    max-width: 1200px;
    height: auto;
    aspect-ratio: 1120 / 424;
    background: #ccc;
    display: flex;
    align-items: center;
}
#mv h1 {
    padding: 0 0 0 80px;
    color: #000;
    font-size: 42px;
    font-weight: 700;
    text-align: justify;
    line-height: 1.0;
}
#mv.page-life {
    background:
        linear-gradient( to right, #fff 0%, #fff 40%, transparent 60% ),
        url(../img/add/photo/life-top.jpg) no-repeat 150% 40% / 80% auto,
        #fff;
}
#mv.page-single {
    background:
        linear-gradient( to right, #ccc 0%, #ccc 50%, transparent 60% ),
        url(../img/add/photo/single-top.jpg) no-repeat 100% 25% / 50% auto,
        #ccc;
}
#mv.page-nurse {
    background:
        linear-gradient( to right, #ccc 0%, #ccc 20%, transparent 50% ),
        url(../img/add/photo/nurse-top-bg.jpg) no-repeat 100% 25% / 80% auto,
        #ccc;
}
#mv.page-death {
    background:
        linear-gradient( to right, #ccc 0%, #ccc 40%, transparent 60% ),
        url(../img/add/photo/death-top-bg.jpg) no-repeat 100% 50% / 60% auto,
        #ccc;
}
@media ( max-width: 768px ) {
    #mv h1 {
        padding: 0;
        width: 100%;
        font-size: min( 42px, 6.0vw );
        text-align: center;
    }
}

#prepare {
    margin: 20px auto;
    padding: 40px;
    width: 100%;
    max-width: 1200px;
    border: 12px solid #ccebff;
}
#prepare h3 {
    position: relative;
    margin: 0 auto 0.5em;
    padding: 0 0 0 1.6em;
    width: 100%;
    color: #000;
    font-size: 26px;
    font-weight: 500;
    text-align: justify;
    line-height: 1.5;
    letter-spacing: 0.1em;
}
#prepare p + h3 {
    margin-top: 40px;
}
#prepare h3::before {
    position: absolute;
    content: "";
    top: 0.2em;
    left: 0;
    width: 1.0em;
    height: 1.1em;
    background: #f00;
    clip-path: polygon( 0 0, 100% 50%, 0 100% );
}
#prepare p {
    margin: 1.0em auto;
    padding: 0 0 0 2.0em;
    width: 100%;
    color: #000;
    font-size: 18px;
    font-weight: 400;
    text-align: justify;
    line-height: 1.5;
    letter-spacing: 0.1em;
}
@media ( max-width: 768px ) {
    #prepare {
        margin: 4.0vw auto;
        padding: 4.0vw;
        width: 100%;
        border: 12px solid #ccebff;
    }
    #prepare .head {
        font-size: min( 26px, 4.8vw );
    }
    #prepare h3 {
        font-size: 22px;
    }
    #prepare p {
        font-size: min( 18px, 3.6vw );
    }
}

#links {
    margin: 20px auto;
    width: 100%;
    max-width: 1200px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 0 8px;
}
#links a {
    display: block;
    padding: 0 0 0 1.6em;
    width: 100%;
    height: auto;
    text-decoration: none;
    aspect-ratio: 280 / 240;
    background: #4e5971;
    display: grid;
    place-items: center;
}
#links a > span {
    display: inline-block;
    position: relative;
    color: #fff;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.5;
}
#links a > span::before {
    position: absolute;;
    display: block;
    content: "";
    top: 0.2em;
    left: -1.2em;
    width: 0.8em;
    height: 1.0em;
    background: #fff;
    clip-path: polygon( 0 0, 100% 50%, 0 100% );
}

@media ( max-width: 880px ) {
    #links {
        grid-template-columns: 1fr 1fr;
        gap: 8px 8px;
    }
    #links a > span {
        font-size: min( 24px, 4.0vw );
    }
}


/**
 * 今からできる終活
 */

.page-life {
    --page-color: #ed7209;
}
.page-single {
    --page-color: #84a669;
}
.page-nurse {
    --page-color: #ff7bac;
}
.page-death {
    --page-color: #3b597a;
}

#ws-mv {
    margin: 0 auto;
    width: 100%;
    height: auto;
    aspect-ratio: 1400 / 320;
    display: flex;
    align-items: center;
}
.page-life #ws-mv {
    background:
        linear-gradient( to right, #fff 0%, #fff 40%, transparent 60% ),
        url(../img/add/photo/life-top.jpg) no-repeat 150% 40% / 80% auto,
        #fff;
}
.page-single #ws-mv {
    background:
        linear-gradient( to right, #fff 0%, #fff 40%, transparent 60% ),
        url(../img/add/photo/single-top.jpg) no-repeat 100% 25% / 50% auto,
        #fff;
}
.page-nurse #ws-mv {
    background:
        linear-gradient( to right, #fff 0%, #fff 30%, transparent 50% ),
        url(../img/add/photo/nurse-top-bg.jpg) no-repeat 90% 30% / 100% auto,
        #fff;
}
.page-death #ws-mv {
    background:
        linear-gradient( to right, #fff 0%, #fff 40%, transparent 60% ),
        url(../img/add/photo/death-top-bg.jpg) no-repeat 100% 50% / 60% auto,
        #fff;
}
#ws-mv h1 {
    position: relative;
    margin: 0.5em auto 0 20%;
    padding: 0;
    width: max-content;
    color: #fff;
    font-size: 42px;
    font-weight: 700;
    text-align: justify;
    line-height: 1.0;
    text-shadow: 0 0 0.2em var(--page-color), 0 0 0.2em var(--page-color), 0 0 0.2em var(--page-color);
}
#ws-mv h1::before {
    position: absolute;
    content: "";
    bottom: 120%;
    left: 0;
    width: 100%;
    height: 80px;
}
.page-life #ws-mv h1::before {
    background: url(../img/add/icon/service-icon1.png) no-repeat center / contain;
}
.page-single #ws-mv h1::before {
    background: url(../img/add/icon/service-icon2.png) no-repeat center / contain;
}
.page-nurse #ws-mv h1::before {
    background: url(../img/add/icon/service-icon3.png) no-repeat center / contain;
}
.page-death #ws-mv h1::before {
    background: url(../img/add/icon/service-icon4.png) no-repeat center / contain;
}
#ws-mv h1::after {
    position: absolute;
    content: attr(data-subtitle);
    top: 150%;
    left: 0;
    width: 100%;
    color: #804f22;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    line-height: 1.0;
    text-shadow: none;
}
@media ( max-width: 1080px ) {
    #ws-mv {
        aspect-ratio: 10 / 4;
    }
    #ws-mv h1 {
        margin: 0.5em auto 0 5%;
        font-size: clamp( 28px, 6.0vw, 42px );
    }
    #ws-mv h1::before {
        height: clamp( 53px, 11.4vw, 80px );
    }
    #ws-mv h1::after {
        font-size: clamp( 16px, 3.4vw, 24px );
    }
}

#ws-content-wrap {
    margin: 0 auto;
    padding: 40px 40px 80px;
    width: 100%;
    background: #f9f8f5;
}
#ws-content-wrap .ws-grid {
    margin: 0 auto;
    width: 100%;
    max-width: 1480px;
    display: grid;
    align-items: start;
    grid-template-columns: 360px 1fr;
    gap: 0 40px;
}
#ws-content-wrap .ws-sidebar {
    position: sticky;
    top: 10px;
    padding: 0 16px;
    width: 100%;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 0 13px rgba( 0, 0, 0, 0.14 );
    overflow: hidden;
}
#ws-content-wrap .ws-sidebar::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 7px;
    background: var(--page-color);
}
#ws-content-wrap .ws-sidebar > a {
    display: block;
    margin: 0;
    padding: 1.5em 0;
    width: 100%;
    color: #000;
    font-size: 22px;
    font-weight: 600;
    text-align: justify;
    text-decoration: none;
    line-height: 1.5;
    letter-spacing: 0.1em;
}
#ws-content-wrap .ws-sidebar > a + a {
    border-top: 1px solid #d3d3d3;
}
#ws-content-wrap .ws-contents {
    padding: 32px 40px;
    width: 100%;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 0 13px rgba( 0, 0, 0, 0.14 );
}
#ws-content-wrap .ws-content {
}
#ws-content-wrap .ws-content + .ws-content {
    margin-top: 60px;
}
#ws-content-wrap .ws-content h2 {
    position: relative;
    margin: 0 auto 1.0em;
    padding: 0.2em 0.8em;
    color: #000;
    font-size: 24px;
    font-weight: 700;
    text-align: justify;
    line-height: 1.2;
    letter-spacing: 0.1em;
}
#ws-content-wrap .ws-content h2::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 8px;
    height: 100%;
    background: var(--page-color);
}
#ws-content-wrap .ws-content p {
    margin: 1.5em 0;
    color: #000;
    font-size: 18px;
    font-weight: 400;
    text-align: justify;
    line-height: 1.8;
    letter-spacing: 0.1em;
}
#ws-content-wrap .ws-content .detail-btn {
    margin: 2.5em 0 0 auto;
    width: 326px;
    height: auto;
    aspect-ratio: 326 / 72;
    text-decoration: none;
    border: 1px solid var(--page-color);
    background: var(--page-color);
    border-radius: 11px;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 0;
    overflow: hidden;
}
#ws-content-wrap .ws-content .detail-btn figure {
    width: 120px;
    height: 100%;
    overflow: hidden;
}
#ws-content-wrap .ws-content .detail-btn figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#ws-content-wrap .ws-content .detail-btn span {
    position: relative;
    width: calc( 100% - 120px );
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    text-align: justify;
    line-height: 1.5;
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0 8px;
}
#ws-content-wrap .ws-content .detail-btn span::before {
    position: relative;
    content: "";
    top: 0;
    left: 0;
    width: 1.0em;
    height: 1.0em;
    background: #fff;
    clip-path: polygon( 0 0, 100% 50%, 0 100% );
}
@media ( max-width: 960px ) {
    #ws-content-wrap {
        margin: 0 auto;
        padding: 8.0vw 0 16.0vw;
        width: 100%;
        background: #f9f8f5;
    }
    #ws-content-wrap .ws-grid {
        display: grid;
        align-items: start;
        grid-template-columns: 1fr;
        gap: 4.0vw 0;
    }
    #ws-content-wrap .ws-sidebar {
        position: relative;
        top: auto;
        margin: 0 auto;
        padding: 4.0vw 4.0vw;
        width: 90%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        justify-content: space-between;
        gap: 0 6.0vw;
    }
    #ws-content-wrap .ws-sidebar > a {
        display: block;
        margin: 0;
        padding: 1.0em 0;
        width: 100%;
        color: #000;
        font-size: clamp( 16px, 3.0vw, 20px );
    }
    #ws-content-wrap .ws-sidebar > a + a {
        border-top: 0;
    }
    #ws-content-wrap .ws-contents {
        margin: 0 auto;
        padding: 4.0vw 4.0vw;
        width: 90%;
        background: #fff;
        border-radius: 20px;
        box-shadow: 0 0 13px rgba( 0, 0, 0, 0.14 );
    }
}
@media ( max-width: 700px ) {
    #ws-content-wrap .ws-sidebar {
        grid-template-columns: 1fr;
        gap: 0;
    }
    #ws-content-wrap .ws-sidebar > a {
        padding: 0.6em 0;
        font-size: 18px;
        text-align: center;
    }
    #ws-content-wrap .ws-sidebar > a + a {
        border-top: 1px solid #d3d3d3;
    }
    #ws-content-wrap .ws-content h2 {
        font-size: 24px;
    }
    #ws-content-wrap .ws-content .detail-btn {
        margin: 2.5em auto 0;
        width: 100%;
        max-width: 326px;
        border-radius: 1.5vw;
    }
    #ws-content-wrap .ws-content .detail-btn figure {
        width: 30%;
    }
    #ws-content-wrap .ws-content .detail-btn span {
        width: 70%;
        font-size: min( 19px, 4.8vw );
        gap: 0 1.0vw;
    }
}

#support {
    margin: 0 auto;
    padding: 80px 40px;
    width: 100%;
    max-width: 1520px;
}
#support h2.with-circle {
    width: 100%;
    max-width: 1102px;
}
#support .list-grid {
    margin: 0 auto;
    width: 100%;
    max-width: 1102px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 40px 20px;
}
#support .list-grid > a {
    width: 100%;
}
#support .list-grid > a figure {
    margin: 0 auto;
    width: 60%;
    height: auto;
    aspect-ratio: 5 / 4;
}
#support .list-grid > a figure img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
#support .list-grid > a > div {
    margin: 0 auto;
    padding: 0.2em 0.8em;
    width: max-content;
    color: #fff;
    font-size: 24px;
    font-weight: 600;
    border-radius: 10px;
}
#support .list-grid > a:nth-child(1) > div {
    background: #ed7209;
}
#support .list-grid > a:nth-child(2) > div {
    background: #84a669;
}
#support .list-grid > a:nth-child(3) > div {
    background: #ff7bac;
}
#support .list-grid > a:nth-child(4) > div {
    background: #3b597a;
}
#support .list-grid > a > span {
    position: relative;
    display: block;
    margin: 0.5em auto 0;
    padding: 0 0 0 1.2em;
    width: max-content;
    color: #000;
    font-size: 22px;
    font-weight: 400;
    line-height: 1.0;
    text-decoration: none;
}
#support .list-grid > a > span::before {
    position: absolute;
    display: block;
    content: "";
    top: 0.1em;
    left: 0;
    width: 0.8em;
    height: 0.8em;
    clip-path: polygon( 0 0, 100% 50%, 0 100% );
}
#support .list-grid > a:nth-child(1) > span::before {
    background: #ed7209;
}
#support .list-grid > a:nth-child(2) > span::before {
    background: #84a669;
}
#support .list-grid > a:nth-child(3) > span::before {
    background: #ff7bac;
}
#support .list-grid > a:nth-child(4) > span::before {
    background: #3b597a;
}
#support .detail-btn {
    display: block;
    margin: 2.0em auto 0;
    width: 90%;
    max-width: 1102px;
    color: #000;
    font-size: 22px;
    font-weight: 500;
    text-align: right;
}

@media ( max-width: 1280px ) {
    #support {
        margin: 0 auto;
        padding: min( 80px, 16.0vw ) 50px;
        width: 100%;
    }
    #support .list-grid {
        margin: 0 auto;
        max-width: 600px;
        grid-template-columns: 1fr 1fr;
        gap: 4.0vw 0;
    }
    #support .list-grid > a > div {
        font-size: min( 24px, 4.0vw );
    }
    #support .list-grid > a > span {
        font-size: min( 22px, 3.6vw );
    }
    #support .detail-btn {
        max-width: 600px;
    }
}

@media ( max-width: 910px ) {
    #support .detail-btn .orange-button {
        display: inline-block;
    }
}

@media ( max-width: 700px ) {
    #support {
        margin: 0 auto;
        padding: min( 80px, 16.0vw ) 20px;
        width: 100%;
    }
    #support h2.with-circle {
        width: 100%;
    }
}


/**
 * 最下層ページ
 */
.add-top {
    display: flex;
    position: relative;
    justify-content: right;
    width: 100%;
    height: 300px;
    contain: layout;
}

.add-top-left {
    position: absolute;
    width: 100%;
    left: 0;
    right: 0;
    max-width: 1102px;
    margin: 0 auto;
    top: 100px;
    z-index: 10;
}
.add-top-subtitle {
    font-size: 23px;
    color: rgb(128, 79, 34);
    line-height: 2.43;
    text-align: justify;
    margin-left: 100px;
    margin-top: 30px;
    font-weight: bold;
}
.add-top-left h1 {
    font-size: 40px;
    color: rgb(255, 255, 255);
    line-height: 1.426;
    text-align: justify;
    text-shadow: 0px 0px 6.37px rgba(0, 0, 0, 0.74);
    margin: 0;
}
.add-top-right {
    width: 70%;
    position: relative;
    display: inline-block;
}
.add-top-right img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: bottom;
    display: block;
}
.add-top-right::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 1) 0%,
        rgba(255, 255, 255, 0) 20%
    );
    pointer-events: none; /* 画像がクリック可能なままにする */
}

@media screen and (max-width: 1340px) {
    .add-top-left{
        left: 100px;
    }
}

@media screen and (max-width: 700px) {
    .add-top-left {
        position: absolute;
        text-align: center;
        top: 100px;
        left: 0;
        z-index: 10;
        width: 100%;
    }
    .add-top-subtitle {
        font-size: 23px;
        color: rgb(128, 79, 34);
        line-height: 2.43;
        text-align: center;
        margin-top: 50px;
        margin-left: 0;
        font-weight: bold;
    }
    .add-top-left h1 {
        font-size: 30px;
        color: rgb(255, 255, 255);
        line-height: 1.426;
        text-align: center;
        text-shadow: 0px 0px 6.37px rgba(0, 0, 0, 0.74);
        margin: 0;
    }
    .add-top-right {
        width: 100%;
    }

    .add-top-right::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(
            to right,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0) 20%
        );
        pointer-events: none; /* 画像がクリック可能なままにする */
    }
}
