@charset "UTF-8";

/* ↓PC（横幅640px超）の場合 */
html {
    /* 1rem = 1pxと定義 */
    font-size: 1px;
}

/* ↓スマホ（横幅640px以上）の場合 */


@media screen and (max-width: 640px) {
    html {
        font-size: .75px;
    }

}

body {
    font-size: 16rem;
    color: #000000;
    font-family: "Noto Sans JP", sans-serif;
    min-width: 375px;
    position: relative;
    margin: 0 auto;
    background: #fff;
}

.maru {
    font-family: "Zen Maru Gothic", serif;
}

.corp {
    font-family: "corporate-logo-ver2", sans-serif;
}



.inner {
    padding: 0 24px;
    margin: 0 auto;
    position: relative;
}

/*fv
================================================*/

#top {
    background: url(../img/bk_fv.png) left top repeat;
    padding: 84px 24px 24px;
    border-radius: 0 0 64px 64px;
    overflow: hidden;
    margin: 0 auto 40px;
}

#top h1 {
    max-width: 1066px;
    margin: 0 auto;
}

#top h1 img {
    width: 100%;
    height: auto;
}

@media screen and (max-width:670px) {
    #top {
        background: url(../img/bk_fv_s.png) left top repeat;
        padding: 43px 16px 27px;
        border-radius: 0 0 32px 32px;
    }
}

/*parts
================================================*/
.tit01 {
    width: 456px;
    margin: 0 auto 24px;
}

.tit01 img {
    width: 100%;
    height: auto;
}

@media screen and (max-width:670px) {
    .tit01 {
        max-width: 342px;
        margin: 0 auto:;
    }

}

/*merit
================================================*/

#merit {
    position: relative;
}

#merit::after {
    content: "";
    display: block;
    width: 151px;
    height: 161px;
    background: url(../img/img_merit04.png) center center no-repeat;
    background-size: contain;
    position: absolute;
    right: 0;
    left: 0;
    top: -20px;
    margin: auto;
    transform: translateX(-520px);
    -webkit-transform: translateX(-520px);
}

#merit ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    max-width: 1064px;
    margin: 0 auto -24px;
    transform: translateX(30px);
    -webkit-transform: translateX(30px);
}

#merit ul>li {
    display: flex;
    flex-direction: column;
}

#merit ul>li:nth-of-type(1) {
    width: 610px;
    margin: 0 24px 0 0;
    transform: translateY(-32px);
    -webkit-transform: translateY(-32px);
}

#merit ul>li:nth-of-type(2) {
    width: calc(100% - 610px - 24px);
}

#merit ul>li:nth-of-type(2) img {
    width: 100%;
    height: auto;
}

#merit ul>li h3 {
    font-size: 46px;
    font-weight: 700;
    color: #00BA01;
    text-align: center;
    line-height: 1.2;
    margin: 0 0 8px;
}

#merit ul>li p {
    font-size: 74px;
    font-weight: 700;
    text-align: center;
    line-height: 1.2;
}

.btn_l a {
    display: block;
    width: 600px;
    padding: 24px;
    border: 4px solid #fff;
    color: #fff;
    text-align: center;
    font-size: 47px;
    font-weight: 700;
    line-height: 1;
    background: #00BA01;
    border-radius: 100px;
    margin: 0 auto 26px;
    position: relative;
    transition: .3s;
    -webkit-transition: .3s;
}

.btn_l a:hover {
    opacity: .75;
}

.btn_l a::after {
    content: "";
    display: block;
    width: 40px;
    height: 40px;
    background: url(../img/arrow_r.png) center center no-repeat;
    background-size: contain;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 28px;
    margin: auto;
}

.box_friend {
    margin: 0 auto 64px;
    position: relative;
}

.box_friend::before {
    content: "";
    display: block;
    width: 232.366px;
    height: 287.322px;
    background: url(../img/img_merit02.png) center center no-repeat;
    background-size: contain;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    transform: translateX(-450px) translateY(40px);
    -webkit-transform: translateX(-450px) translateY(40px);
}

.box_friend::after {
    content: "";
    display: block;
    width: 181.76px;
    height: 267.76px;
    background: url(../img/img_merit03.png) center center no-repeat;
    background-size: contain;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    transform: translateX(440px) translateY(40px);
    -webkit-transform: translateX(440px) translateY(40px);
}

.box_qr {
    max-width: 592px;
    margin: 0 auto;
    background: url(../img/bk_g.png) left top repeat;
    padding: 24px;
    border-radius: 32px;
}

.box_qr p {
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.7;
    margin: 0 0 24px;
}

.box_qr figure {
    max-width: 209px;
    margin: 0 auto;
}

.box_qr figure img {
    width: 100%;
    height: auto;
}

.img_merit02_s {
    display: none;
}

.tit_more {
    margin: 0 auto 10px;
    text-align: center;
    font-weight: 700;
    line-height: 1.2;
}

.tit_more span:nth-of-type(1) {
    display: block;
    color: #00BA01;
    font-feature-settings: 'palt' on;
    font-size: 46px;
    margin: 0 auto 8px;
}

.tit_more span:nth-of-type(2) {
    color: #000;
    font-size: 100px;
}

.txt_more {
    color: #000;
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.7;
    margin: 0 0 35px;
}

#more {
    position: relative;
}

#more::before {
    content: "";
    display: block;
    width: 174px;
    height: 163px;
    background: url(../img/img_more.png) center center no-repeat;
    background-size: contain;
    position: absolute;
    top: 56px;
    right: 0;
    left: 0;
    margin: auto;
    transform: translateX(400px);
    -webkit-transform: translateX(400px);
}

#flow {
    border-radius: 64px;
    padding: 50px 24px 40px;
    background: url(../img/bk_g.png) left top repeat;
    position: relative;
}

#flow::before {
    content: "";
    display: block;
    width: 238.743px;
    height: 249.19px;
    background: url(../img/fig_flow01.png) center center no-repeat;
    background-size: contain;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: auto;
    transform: translateX(-460px) translateY(-50px);
    -webkit-transform: translateX(-460px) translateY(-50px);
}

#flow::after {
    content: "";
    display: block;
    background: url(../img/fig_flow02.png) center center no-repeat;
    background-size: contain;
    width: 204.415px;
    height: 254.158px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: auto;
    transform: translateX(460px) translateY(-56px);
    -webkit-transform: translateX(460px) translateY(-56px);
}

.tit_flow {
    text-align: center;
    line-height: 1;
    font-weight: 700;
    margin: 0 0 40px;
}

.tit_flow span {
    display: block;
}

.tit_flow span:nth-of-type(1) {
    color: #00BA01;
    font-size: 50px;
    margin: 0 0 9px;
}

.tit_flow span:nth-of-type(2) {
    font-size: 74px;
}


#flow>ul {
    display: flex;
    flex-wrap: wrap;
    max-width: 1152px;
    margin: 0 auto 16px;
}

#flow>ul>li {
    border-radius: 16px;
    border: 3px solid #FFF;
    background: #FFF;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    margin: 0 24px 24px 0;
    width: calc((100% - 24px) / 2);
}

#flow>ul>li:nth-of-type(2n) {
    margin: 0 0 24px;
}

#flow>ul>li h3 {
    background: #00BA01;
    color: #fff;
    font-size: 30px;
    text-align: center;
    padding: 12px;
    line-height: 1;
    font-weight: 900;
    border-radius: 13px 13px 0 0;
}

#flow>ul ul {
    padding: 16px 24px 24px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

#flow>ul ul>li {
    display: flex;
    flex-direction: column;
}

#flow>ul ul>li:nth-of-type(1) {
    width: 300px;
    margin: 0 24px 0 0;
    text-align: center;
}

#flow>ul ul>li:nth-of-type(2) {
    width: calc(100% - 300px - 24px);
}

#flow>ul ul>li:nth-of-type(1) p {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.7;
    margin: 0 0 8px;
}

#flow>ul ul>li:nth-of-type(1) p span {
    display: block;
    font-size: 18px;
    margin: 8px 0 0;
    font-weight: 400;
}

.arrow_b {
    width: 30px;
    margin: 0 auto 8px;
}

.arrow_b img {
    width: 100%;
    height: auto;
}

.img_flow img {
    width: 100%;
    height: auto;
}

.fig_flow01_s {
    display: none;
}

#stamp {
    padding: 76px 0 36px;
    position: relative;
}

#stamp::before {
    content: "";
    display: block;
    width: 220.761px;
    height: 269.461px;
    background: url(../img/fig_stamp01.png) center center no-repeat;
    background-size: contain;
    position: absolute;
    top: 110px;
    right: 0;
    left: 0;
    margin: auto;
    transform: translateX(-480px);
    -webkit-transform: translateX(-480px);
}

#stamp::after {
    content: "";
    display: block;
    width: 269.131px;
    height: 285.491px;
    background: url(../img/fig_stamp02.png) center center no-repeat;
    background-size: contain;
    position: absolute;
    top: 100px;
    right: 0;
    left: 0;
    margin: auto;
    transform: translateX(500px);
    -webkit-transform: translateX(500px);
}


#stamp ul {
    max-width: 840px;
    margin: 0 auto 40px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    position: relative;
}

#stamp ul::before {
    content: "";
    display: block;
    width: 151px;
    height: 161px;
    background: url(../img/fig_stamp03.png) center center no-repeat;
    background-size: contain;
    position: absolute;
    bottom: -100px;
    right: 0;
    left: 0;
    margin: auto;
    transform: translateX(-520px);
    -webkit-transform: translateX(-520px);
}

#stamp ul>li {
    display: flex;
    flex-direction: column;
}

#stamp ul>li:nth-of-type(1) {
    width: 63%;
    margin: 0 40px 0 0;
}

#stamp ul>li:nth-of-type(2) {
    width: calc(100% - 63% - 40px);
}

#stamp ul>li img {
    width: 100%;
    height: auto;
}

.tit_stamp span:nth-of-type(1) {
    display: block;
    width: 276px;
    margin: 0 auto 16px;
}

.tit_stamp span img {
    width: 100%;
    height: auto;
}

.tit_stamp span:nth-of-type(2) {
    display: block;
    text-align: center;
    font-size: 74px;
    font-weight: 700;
    line-height: 1.1;
    margin: 0 auto 40px;
}

.txt_stamp {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.7;
    margin: 0 auto 40px;
}

.br01 {
    display: none;
}

.fig_stamp01_s {
    display: none;
}

@media screen and (max-width:1280px) {
    #stamp::before {
        display: none;
    }

    #stamp::after {
        display: none;
    }

    .fig_stamp01_s {
        display: block;
        max-width: 640px;
        width: calc(100%);
        text-align: center;
        margin: -20px auto 24px;
    }

    .fig_stamp01_s img {
        width: 100%;
        height: auto;
    }

    #stamp ul::before {
        display: none;
    }
}

@media screen and (max-width:1150px) {
    #merit ul {
        transform: translateX(0);
        -webkit-transform: translateX(0);
        margin-bottom: 32px;
    }

    #merit ul>li:nth-of-type(1) {
        transform: translateY(0);
        -webkit-transform: translateY(0);
    }

    #merit::after {
        display: none;
    }

    .box_friend::before {
        display: none;
    }

    .box_friend::after {
        display: none;
    }

    .img_merit02_s {
        display: block;
        max-width: 640px;
        width: calc(100% - 20px);
        text-align: left;
        margin: 40px auto 0;
    }

    .img_merit02_s img {
        width: 100%;
        height: auto;
    }

    #more::before {
        display: none;
    }


    #flow::before {
        display: none;
    }

    #flow::after {
        display: none;
    }

    #flow>ul ul>li:nth-of-type(1) {
        width: 270px;
        margin: 0 16px 0 0;
    }

    #flow>ul ul>li:nth-of-type(2) {
        width: calc(100% - 270px - 16px);
    }

    #flow>ul ul>li:nth-of-type(1) p {
        font-size: 20px;
    }

    #flow>ul ul>li:nth-of-type(1) p span {
        font-size: 14px;
    }

    .fig_flow01_s {
        display: block;
        max-width: 640px;
        width: calc(100% - 20px);
        text-align: left;
        margin: -20px auto 24px;
    }

    .fig_flow01_s img {
        width: 100%;
        height: auto;
    }

    .br01 {
        display: block;
    }
}

.img_merit01 {
    display: block;
}

.img_merit01_s {
    display: none;
}



@media screen and (max-width:960px) {
    .img_merit01 {
        display: none;
    }

    .img_merit01_s {
        display: block;
        max-width: 640px;
        margin: 0 auto;
    }

    #merit ul>li:nth-of-type(1) {
        width: 100%;
        margin: 0 0 32px;
    }

    #merit ul>li:nth-of-type(2) {
        width: 100%;
    }

    #flow>ul>li {
        margin: 0 0 24px 0;
        width: 100%;
    }

    #flow>ul>li:nth-of-type(2n) {
        margin: 0 0 24px;
    }

    #flow>ul ul>li:nth-of-type(1) {
        width: calc(100% - 200px - 16px);
        margin: 0 16px 0 0;
    }

    #flow>ul ul>li:nth-of-type(2) {
        width: 200px;
    }

}

@media screen and (max-width:670px) {
    #merit ul>li h3 {
        font-size: 34.5px;
    }

    #merit ul>li p {
        font-size: 45.5px;
    }

    .btn_l a {
        width: 100%;
        max-width: 346px;
        border: 3px solid #fff;
        font-size: 35px;
        line-height: 1;
        margin: 0 auto 40px;
    }

    .btn_l a::after {
        width: 26px;
        height: 26px;
        right: 16px;
    }

    .box_qr {
        display: none;
    }

    .img_merit02_s {
        margin: 40px 0 0;
    }

    .tit_more {
        margin: 0 auto 8px;
        line-height: 1.2;
    }

    .tit_more span:nth-of-type(1) {
        font-size: 30.5px;
        margin: 0 auto 6px;
    }

    .tit_more span:nth-of-type(2) {
        font-size: 65px;
    }

    .txt_more {
        font-size: 20px;
        margin: 0 0 36px;
    }

    #flow {
        border-radius: 32px;
        padding: 40px 24px 40px;
    }

    .tit_flow {
        margin: 0 0 20px;
    }

    .tit_flow span:nth-of-type(1) {
        font-size: 33px;
        margin: 0 0 8px;
    }

    .tit_flow span:nth-of-type(2) {
        font-size: 51px;
    }


    #flow>ul {
        margin: 0 auto 8px;
    }

    #flow>ul>li h3 {
        font-size: 26px;
    }

    #flow>ul ul>li:nth-of-type(1) {
        width: 100%;
        margin: 0 0 16px;
    }

    #flow>ul ul>li:nth-of-type(2) {
        width: 100%;
        max-width: 200px;
        margin: 0 auto;
    }

    .fig_flow01_s {
        margin: 20px auto 24px;
    }

    #stamp {
        padding: 40px 0 8px;
    }

    #stamp ul>li:nth-of-type(1) {
        width: 100%;
        margin: 0 0 30px 0;
    }

    #stamp ul>li:nth-of-type(2) {
        width: 62%;
        margin: 0 auto;
    }

    #stamp ul>li img {
        width: 100%;
        height: auto;
    }

    .tit_stamp span:nth-of-type(1) {
        width: 207px;
        margin: 0 auto 8px;
    }

    .tit_stamp span:nth-of-type(2) {
        font-size: 55.5px;
    }

    .txt_stamp {
        font-size: 20px;
        margin: 0 auto 24px;
    }
}

@media screen and (max-width:450px) {
    #merit ul>li h3 {
        font-size: 32px;
    }

    #merit ul>li p {
        font-size: 37px;
    }

    .tit_more span:nth-of-type(1) {
        font-size: 24px;
    }

    .tit_more span:nth-of-type(2) {
        font-size: 60px;
    }

    .txt_more {
        font-size: 18px;
    }
}


/*footer
================================================*/
#footer {
    padding: 40px 10px;
    background: #F1F1F1;
}

#footer .inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: #000;
}

#footer ul {
    margin: 0 auto 0px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    column-gap: 40px;
}

#footer ul li {
    display: flex;
    flex-direction: column;
    margin: 0 0 40px;
}

#footer li img {
    height: 50px;
    width: auto;
}

#footer div {
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
    padding: 16px 0;
    margin: 0 0 16px;
}

#footer div p:nth-of-type(1) {
    margin: 0 0 16px;
    font-size: 14px;
}

#footer div p:nth-of-type(2) {
    font-size: 12px;
}

#footer .inner>p {
    font-size: 12px;
}


#header ul {
    background: #3AAE36;
    color: #fff;
    padding: 18px 24px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    margin: auto;
    z-index: 8888;
    transition: .3s;
    -webkit-transition: .3s;
}

#header ul>li {
    display: flex;
    flex-direction: column;
    margin: 0 13px;
}

#header ul>li a {
    display: block;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    transition: .3s;
    -webkit-transition: .3s;
    font-size: 20px;
    font-weight: 700;
    list-style: 1;
}

#header ul>li a:hover {
    opacity: .75;
}

#header ul>li a span,
#header ul>li a i {
    display: flex;
    flex-direction: column;
}

#header ul>li a i {
    width: 16.15px;
}

#header ul>li a i img {
    width: 100%;
    height: auto;
}

#header ul>li a span {
    margin: 0 6px 0 0;
}

#header ul>li a span.badge {
    display: flex;
    height: 17px;
    padding: 8px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 20px;
    border: 1px solid #FFF000;
    color: #FFF000;
    text-align: center;
    font-family: "Zen Maru Gothic";
    font-size: 10px;
    font-style: normal;
    font-weight: 700;
    line-height: 100%;
    /* 10px */
}

#btn_nav {
    display: none;
    width: 60px;
    height: 68px;
    background: url(../img/img_nav_o.png) center center no-repeat;
    background-size: contain;
    position: fixed;
    top: 13px;
    right: 13px;
    cursor: pointer;
    z-index: 9999;
}

#blur {
    display: none;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    transition: .3s;
    -webkit-transition: .3s;
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    z-index: 7777;
}

#blur.active {
    display: none;
    background: rgba(0, 0, 0, .75);
}

@media screen and (max-width:690px) {
    #header ul {
        transform: translateY(-100%);
        border-radius: 0 0 32px 32px;
        padding: 100px 30px 30px;
    }

    #header ul>li {
        margin: 0;
        width: 100%;
    }

    #header ul>li a {
        width: 100%;
        justify-content: left;
        margin: 0 0 40px;
        position: relative;
    }

    #header ul>li:nth-last-of-type(1) a {
        margin: 0;
    }

    #header ul>li a span {
        margin: 0 8px 0 0;
        font-size: 24px;
    }

    #header ul>li a i {
        width: 20px;
        height: 20px;
        position: absolute;
        right: 0;
        top: 0;
        bottom: 0;
        margin: auto;
    }

    #header ul.active {
        transform: translateY(0%);
    }

    #btn_nav {
        display: block;
    }

    #btn_nav.active {
        background: url(../img/img_nav_c.png) center center no-repeat;
        background-size: contain;
    }

    #blur.active {
        display: block;
    }
}

/*anime
================================================*/
.stamp-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    list-style: none;
    padding: 0;
    margin: 0 auto 40px;
    max-width: 872px;
}

.stamp-item {
    aspect-ratio: 1 / 1;
}

.stamp-item img {
    display: block;
    width: 100%;
    height: 100%;
    cursor: pointer;
    border: 1px solid transparent;
    /* 枠線用のスペースを確保しつつ、通常時は透明にしておく (サイズ変動を防ぐ) */
    object-fit: contain;
    opacity: 0.75;
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transition: opacity 0.3s ease, -webkit-transform 0.3s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    transition: opacity 0.3s ease, transform 0.3s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

/* --- アクティブ状態（クリックされたスタンプ）のスタイル --- */
/* .is-activeクラスが付与されたimg要素に適用 */
.stamp-item img.is-active {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
    /* --- 以下は装飾例 (コメントアウト中) --- */
    /* border-color: dodgerblue; */
    /* 例: アクティブ時の枠線色 */
    /* box-shadow: 0 0 8px dodgerblue; */
    /* 例: アクティブ時の光彩（影） */
}

/* --- フォーカス状態（キーボード操作時など）のスタイル --- */
.stamp-item img:focus {
    outline: none;
    /* ブラウザ標準のフォーカス時のアウトライン（点線など）を消す */

    /* --- 以下は装飾例 (コメントアウト中) --- */
    /* border-color: orange; */
    /* 例: フォーカス時の枠線色 */
    /* box-shadow: 0 0 5px orange; */
    /* 例: フォーカス時の光彩（影） */
}

/* --- アニメーション再生中のスタイル (任意) --- */
/* .is-animatingクラスが付与されたimg要素に適用 (JS側で制御) */
.stamp-item img.is-animating {
    /* 例: アニメーション中だけ特別な見た目にする場合に追加 */
    /* border-style: dashed; */
}

#anime {
    padding: 64px 0 24px;
}

.tit_anime {
    text-align: center;
    font-size: 74px;
    line-height: 100%;
    font-weight: 700;
    margin: 0 auto 40px;
}

.tit_anime span {
    display: inline-block;
    position: relative;
    z-index: 10;
}

.tit_anime span::after {
    content: "";
    display: block;
    width: calc(294px / 2);
    height: calc(290px / 2);
    background: url(../img/ico_new.png) center center no-repeat;
    background-size: contain;
    position: absolute;
    top: 0;
    right: 0;
    transform: translateX(66%) translateY(-66%);
    -webkit-transform: translateX(66%) translateY(-66%);
    z-index: -1;
}

.txt_anime {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    line-height: 170%;
    margin: 0 auto 16px;
}

.txt_anime_note {
    text-align: center;
    font-size: 18px;
    font-weight: 400;
    line-height: 170%;
    margin: 0 auto 20px;
}

@media screen and (max-width:670px) {
    .stamp-list {
        gap: 8px;
    }

    #anime {
        padding: 48px 0 24px;
    }

    .tit_anime {
        font-size: 55.5px;
    }

    .tit_anime span::after {
        width: calc(294px / 2 / 1.3);
        height: calc(290px / 2 / 1.3);
        transform: translateX(55%) translateY(-55%);
        -webkit-transform: translateX(55%) translateY(-55%);
    }

    .txt_anime {
        font-size: 20px;
        margin: 0 auto 24px;
    }

    .txt_anime_note {
        font-size: 14px;
        margin: 0 auto 24px;
    }

}

@media screen and (max-width:440px) {
    .tit_anime span {
        display: block;
    }
    .tit_anime span::after {
        transform: translateX(0) translateY(-55%);
        -webkit-transform: translateX(0%) translateY(-55%);
        right: -24px;
    }
}


/*kisekae
================================================*/
#kisekae {
    padding: 64px 0 120px;
}

.tit_kisekae {
    text-align: center;
    font-size: 74px;
    line-height: 100%;
    font-weight: 700;
    margin: 0 auto 40px;
}

.tit_kisekae span {
    display: inline-block;
    position: relative;
    z-index: 10;
}

.tit_kisekae span::after {
    content: "";
    display: block;
    width: calc(294px / 2);
    height: calc(290px / 2);
    background: url(../img/ico_new.png) center center no-repeat;
    background-size: contain;
    position: absolute;
    top: 0;
    right: 0;
    transform: translateX(66%) translateY(-66%);
    -webkit-transform: translateX(66%) translateY(-66%);
    z-index: -1;
}

.txt_kisekae {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    line-height: 170%;
    margin: 0 auto 16px;
}

.txt_kisekae_note {
    text-align: center;
    font-size: 18px;
    font-weight: 400;
    line-height: 170%;
    margin: 0 auto 26px;
}

/* 基本的なリセットとbox-sizing */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: sans-serif;
    /* 基本フォント設定 */
    margin: 0;
}

/* タブコンテナ全体 */
.tabs-container {
    max-width: 996px;
    margin: 0 auto 24px;
    /* --- CSS変数でアクティブな色を定義 (初期値はタブ1の色) --- */
    --active-tab-color: #9E9E9F;
}

/* タブボタンのリスト */
.tab-buttons {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 16px;
    list-style: none;
    padding: 0 0 10px 0;
    margin: 0 auto;
    max-width: 996px;
}

/* 各タブボタン */
.tab-button {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    opacity: 0.7;
    /* 非アクティブ時の透明度 */
    transition: opacity 0.3s ease;
    -webkit-transition: opacity 0.3s ease;
    /* 透明度の変化を滑らかに */
    display: flex;
    /* ボタン内部の画像を中央揃え */
    justify-content: center;
    align-items: center;
}

.tab-button img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    /* ★ outline で枠線を描画 (通常時は透明) */
    outline: 3px solid transparent;
    /* ★ 線幅分だけ内側にオフセット */
    outline-offset: -3px;
    /* ★ transition の対象を outline-color に変更 */
    transition: outline-color 0.3s ease;
}

/* アクティブなタブボタンのスタイル */
.tab-button.is-active {
    opacity: 1;
}

.tab-button.is-active img {
    /* ★ アクティブ時に outline-color で色をつける */
    outline-color: var(--active-tab-color);
}

/* フォーカス時のスタイル */
.tab-button:focus {
    outline: none;
    /* ボタン自体のデフォルトoutlineは消す */
}

.tab-button:focus-visible img {
    box-shadow: 0 0 0 2px dodgerblue;
    outline-offset: 0;
}

/* タブコンテンツのラッパー */
.tab-content-wrapper {
    max-width: 996px;
    padding: 32px;
    border-radius: 24px;
    /* ★ アクティブな色をCSS変数で指定 */
    border: 3px solid var(--active-tab-color);
    background: #ECFBDE;
    margin: 0 auto;
    margin-top: 20px;
    position: relative;
    /* ★ 枠線色の変化を滑らかに */
    transition: border-color 0.3s ease;
    -webkit-transition: border-color 0.3s ease;
}

/* 三角形インジケーターのコンテナ */
.tab-indicator {
    position: absolute;
    top: -23px;
    left: 0;
    /* JSで設定 */
    width: 49.363px;
    height: 24.25px;
    transform: translateX(-55%);
    -webkit-transform: translateX(-55%);
    /* 中央揃え */
    /* ★ 位置の移動を滑らかに */
    transition: left 0.3s ease;
    -webkit-transition: left 0.3s ease;
    visibility: hidden;
    /* JSで表示するまで隠す */
    pointer-events: none;
    z-index: 10;
}

/* インラインSVG自体のスタイル */
.tab-indicator svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
}

/* SVGのパスの色を指定 */
.tab-indicator svg path {
    /* ★ アクティブな色をCSS変数で指定 */
    fill: var(--active-tab-color);
    /* ★ 色の変化を滑らかに (ブラウザによる) */
    transition: fill 0.3s ease;
    -webkit-transition: fill 0.3s ease;
}

/* タブコンテンツパネル */
.tab-content {
    display: none;
    /* 通常は非表示 */
}

/* アクティブなタブコンテンツパネル */
.tab-content.is-active {
    display: block;
    /* アクティブなものだけ表示 */
}

.tab-content img {
    display: block;
    margin: 0 auto;
    max-width: 820px;
    width: 100%;
    height: auto;
}


/* --- レスポンシブ対応 --- */
@media (max-width: 960px) {


    .tab-buttons {
        grid-template-columns: repeat(4, 1fr);
        gap: 12px;
    }
}

@media screen and (max-width:670px) {
    #kisekae {
        padding-top: 48px;
        padding-bottom: 100px;
    }

    .tit_kisekae {
        font-size: 55.5px;
    }

    .tit_kisekae span::after {
        width: calc(294px / 2 / 1.3);
        height: calc(290px / 2 / 1.3);
        transform: translateX(66%) translateY(-66%);
        -webkit-transform: translateX(66%) translateY(-66%);
    }

    .txt_kisekae {
        font-size: 20px;
        margin: 0 auto 24px;
    }

    .txt_kisekae_note {
        font-size: 14px;
        margin: 0 auto 24px;
    }

    .tab-content-wrapper {
        padding: 16px;
    }

    .tab-content img {
        max-width: 82%;
    }

}

@media screen and (max-width:460px) {
    .tab-content-wrapper {
        border-radius: 16px;
    }
}


@media screen and (max-width:440px) {
    .tit_kisekae span {
        display: block;
    }
    .tit_kisekae span::after {
        transform: translateX(0) translateY(-66%);
        -webkit-transform: translateX(0%) translateY(-66%);
        right: -24px;
    }
}


/*bits
================================================*/
@media screen and (min-width:1000px) {}

@media screen and (max-width:640px) {
    .access_col li {
        display: flex;
        flex-direction: column;
        width: 100%;

    }

    .access_note li {
        width: 100%;
        margin: 0;
    }

    .access_col li:nth-of-type(1) {
        padding: 2em 0;
    }
}

.hide {
    visibility: hidden;
}

.pc_none {
    display: none !important;
}


.sp_none {
    display: block !important;
}

.mb2em {
    margin-bottom: 2em;
}

.mw100 {
    max-width: 100px;
}

.mw240 {
    max-width: 240px;
}

.mwauto {
    max-width: 1em !important;
}

@media screen and (max-width:670px) {
    .pc_none {
        display: block !important;
    }

    .sp_none {
        display: none !important;
    }
}

/*
@media screen and (max-width:640px) {
  dl {
    display: flex;
    flex-wrap: wrap;
  }
  dt,
  dd {
    display: flex;
    flex-direction: column;
  }
}
*/