body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    /*background-color: #CCC;*/
    font-family: 'Noto Sans JP', 'Poppins', 'HelveticaNeue-Light', 'Helvetica Neue Light', 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;
}

h1 {
    font-weight: 900;
    margin-top: 0;
    margin-bottom: 0;
    line-height: 2.2rem;
    background-color: #ffe45b;
    text-align: center;
    padding: 20px;
    font-size: 1.8em;
}

h2 {
    margin: initial;
    color: var(--clrText1);
    font-size: 2rem;
    line-height: 2.6rem;
    font-weight: 900;
    /*text-align: start;*/
    margin-bottom: 0.5rem;
    padding: initial;
}

h3 {
    color: #11a080;
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.6rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

h4 {
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.8rem;
    color: #11A281;
    font-weight: bold;
    margin-bottom: 0.8rem;
}

p {
    font-size: 1.2rem !important;
    color: #666;
    line-height: 2rem;
    font-weight: 400;
    /*text-align: start;*/
    padding: initial;
    margin-bottom: 2.8rem;
}

.site-header {
    background-color: white;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.site-logo {
    width: 200px;
    height: auto;
}

.container {
    margin: 0 auto;
    /*min-width: 26rem;*/
    /*padding: 0 1rem;*/
    /*background-color: #f7f7f7;*/
    box-sizing: border-box; /* 追加 */
}
.container img {
    border-radius: 10px;
}

.main-visual {
    width: 100%;
    height: auto;
    position: relative;
    background-color: #6C7A89;
}

/* フォールバック用 */
.main-visual img {
    width: 100%;
    height: auto;
}

.pc-image, .mobile-image {
    width: 100%;
    height: auto;
    display: none;
}

.top-section {
    padding: 20px 0!important;
}
.top-section p {
   margin-bottom: 10px;
   margin-top: 0;
}
.color-11A281 {
    color: #11A281;
    font-weight: 900;
}
.small {
    font-size: 1rem!important;
    line-height: 1.7rem;
    color: #000;
}

.cta-section {
    width: 100%;
    text-align: center;
    padding: 40px 0;
    background-color: #11A281;
    color: white;
}

.cta_h2 {
    margin: initial;
    color: #FFF;
    font-family: "Noto Sans JP", "Poppins", "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
    font-weight: 700;
    margin-bottom: 1.2rem;
    text-align: center;
    padding: initial;
    font-size: 3rem!important;
    margin-top: 20px!important;
    text-decoration: none;
}
.cta_h2 span {
    font-size: 1.5rem;
    font-weight: 500;
    background: #11A281;
    color: #FFF;
    padding: 3px 10px 3px 10px;
    border-radius: 5px;
    margin-right: 10px;
    margin-bottom: 10px;
    vertical-align: 7px;
    border: 2px solid #FFF;
}

.btn-main.go-to-miniapp {
    background-color: #ffe44e;
    box-shadow: 4px 9px 16px 0px #00612a;
    font-weight: bold;
    color: #000;
}
.btn-main {
    font-size: 1.3rem;
    margin: 0 auto 30px;
    cursor: pointer;
    outline: 0;
    border-radius: 16px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 300px;
    height: 70px;
    text-decoration: none;
}
.finger_bouns {
    width: 45px;
    height: 69px;
    margin-left: 10px;
    margin-right: -10px;
    /*transform: translateY(2px);*/
}

.service-description-a {
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    display: block;                /* フレックスボックスを追加 */
    justify-content: center;     /* 水平方向を中央揃え */
    align-items: center;         /* 垂直方向を中央揃え */
    text-align: center;          /* テキストを中央揃え */
    padding: 4rem 5rem;
    max-width: 1713px;
    margin: auto;
}

.service-description-b {
    display: flex;
    flex-wrap: wrap;
    padding: 4rem 5rem;
    max-width: 1713px;
    margin: auto;
}

.description-left, .description-right {
    flex: 1;
    padding: 20px;
    box-sizing: border-box;
    text-align: left;           /* テキストを左揃え */
}

.bg-white {
    background-color: #FFFFFF;
}

.bg-gray {
    background-color: #f0f0f0;
}

/* メディアクエリ */
@media screen and (max-width: 768px) {
    .service-description-b {
        flex-direction: column;
    }
    .service-description-b {
        flex-direction: column; /* 追加 */
    }
    /* .description-left, .description-right { */
    /*     width: 100%; */
    /* } */
}


.pc { display: block !important; }
.sp { display: none !important; }

@media only screen and (max-width: 768px) {
.pc { display: none !important; }
.sp { display: block !important; }
}

.description-left img, .description-right img {
    width: 100%;
    height: auto;
}

/* Default order value */
.description-left, .description-right {
    order: 0;
}

/* Change order for mobile view */
@media screen and (max-width: 768px) {
    .description-left.has-image, .description-right.has-image {
        order: -1;
    }
}

/* Default order value */
.description-left, .description-right {
    order: 1;
}

/* Change order for mobile view for elements with has-image class */
@media screen and (max-width: 768px) {
    .description-left.has-image, .description-right.has-image {
        order: 0;
    }
}

/* Default order value */
.description-left, .description-right {
    order: 1;
}

/* Change order for mobile view for elements with has-image class */
@media screen and (max-width: 768px) {
    .description-left.has-image, .description-right.has-image {
        order: 0;
    }
}

/* Change padding for mobile view */
@media screen and (max-width: 768px) {
    .service-description-a {
        padding: 20px;
    }
}
@media screen and (max-width: 768px) {
    .service-description-b {
        padding: 30px 0;
    }
}


/* Ensure both .description-left and .description-right take equal width in larger screens */
.description-left, .description-right {
    flex: 1;
}

/* On smaller screens, ensure both take the full width */
@media screen and (max-width: 768px) {
    .description-left, .description-right {
        width: 100%;
    }
}


/* Custom styles for <li> elements */
ul {
    list-style-type: none;
    padding-left: 0;
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2列の均等なグリッドを作成 */
    gap: 7px; /* グリッドアイテム間のギャップ */
}

li {
    box-sizing: border-box;
    font-weight: bold;
    font-size: 1.2rem;
    /*margin-bottom: 0px;*/
    position: relative;
    padding-left: 24px;
    line-height: 1.5; /* 明示的にline-heightを設定 */
}

/* 幅が狭くなった時に1列に切り替わる設定 */
@media screen and (max-width: 768px) {
    ul {
        grid-template-columns: 1fr; /* 1列のグリッドに変更 */
    }
}

li::before {
    content: url(../img/check.svg);
    position: absolute;
    left: 0;
    top: calc(0.75em - 12px); /* line-heightの半分の値から画像の高さの半分を減算 */
}



@media screen and (max-width: 768px) {
    h2 {
        font-size: 1.4rem;
        line-height: 2rem;
    }
    .cta_h2 {font-size: 2rem!important;}
    .cta_h2 span {
        font-size: 1rem;
        font-weight: 500;
        background: #11A281;
        color: #FFF;
        padding: 3px 10px 3px 10px;
        border-radius: 5px;
        margin-right: 10px;
        margin-bottom: 10px;
        vertical-align: 6px;
        border: 1.5px solid #FFF;
    }
}


/* 客様の声 ========================= */
.review {
    padding: 20px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.review-card {
    background-color: #fffbeb;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 15px 25px 25px 25px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    flex: 0 0 calc(33.3333% - 2%);
    max-width: calc(33.3333% - 2%);
    margin: 1%;
    position: relative;
}

.review-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
    text-align: left;
    line-height: initial;
}

.review-card p {
    font-size: 14px;
    text-align: left;
}

.review-card span {
    color: #000;
    display: block;
    font-weight: bold;
}

.toggle-content {
    display: none;
}

.card-label::after {
    content: "＋";
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: #FFF;
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    line-height: 31px;
    text-align: center;
    cursor: pointer;
    z-index: 2;
    display: none; /* PC表示では非表示 */
    font-size: 20px;
}

.toggle-content:checked + .card-label::after {
    content: "ー";
    font-size: 20px;
}

@media screen and (max-width: 1024px) {
    .row {
        flex-direction: column;
    }

    .review-card {
        flex: 0 0 100%;
        max-width: 100%;
        margin: 10px 0;
    }
}

@media screen and (max-width: 768px) {
    section div picture img {
        width: 60%;
        height: auto;
        display: block;  /* 画像の下に隙間ができるのを防ぐため */
        margin: 0 auto;  /* 画像をセンタリング */
    }
    .review {
        padding: 5px; /* カードの外側の空きを狭く */
    }

    .review-card h3 {
        font-size: 18px; /* 文字サイズを小さく */
        margin-top: 5px;
    }

    .review-card p {
        font-size: 18px!important;
        margin-top: 18px;
        margin-bottom: 10px;
        line-height: 1.8rem;
    }

    .hidden-content {
        overflow: hidden;
        max-height: 0;
        transition: max-height 0.5s ease-in-out; /* アニメーションをスムーズに */
    }

    .toggle-content:checked + .card-label .hidden-content {
        max-height: 500px; /* 必要に応じて調整 */
    }

    .card-label {
        cursor: default;
    }

    .card-label::after {
        display: block; /* スマホ表示でのみボタンを表示 */
    }

    .review-card .toggle-button {
        display: block; /* ボタンを表示 */
    }
}


/* バナー ============================== */
.bnr-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* バナー間のスペース */

    padding: 4rem 5rem;
    max-width: 1713px;
}

.container .bnr {
    position: relative;
    width: 28rem;
    max-width: calc(100vw - 4rem);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.container .bnr-image {
    width: 100%;
    display: block; /* 画像の下に隙間ができるのを防ぐため */
    border-radius: 10px 10px 0 0;
}

.bnr-title {
    padding: 1rem 1.5rem;
    max-height: calc((100vw - 4rem) / 3.5);
    background-color: #FFF;
    border-radius: 0 0 10px 10px;
}

.bnr-title h2 {
    color: #000;
    font-size: 16px;
    text-align: left;
    font-size: 20px;
}

.bnr-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* スマホ表示のスタイル */
@media screen and (max-width: 768px) {
    .container .bnr-wrap {
        flex-direction: column;
        padding: 40px 20px;
    }

    .container .bnr {
        width: 100%;
        margin-bottom: 20px; /* 各バナーの間のスペース */
    }
}



footer {
    background-color: #333;
}
footer p {
    text-align: center;
    margin: 0 auto;
    padding: 30px 0 50px 0;
    color: #CCC;
    line-height: 1.5rem;
}
footer .footer {
    font-size: 16px;
}
