.c-head {
    font-size: 19px;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
    position: relative;
    z-index: 1;
}
.c-head__sub {
    text-align: right;
    margin-bottom: 30px !important;
}
.c-head__sub p{
    color: #3F9877;
    font-size: 26px;
    font-family: "WindSong", cursive;
    margin-bottom: 10px;
}
.c-head-en p{
    font-family: "WindSong", cursive;
    font-size: 45px;
    color: #3F9877;
}
.c-head-h2 {
    font-size: 17px;
    letter-spacing: 0.03em;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
    z-index: 5;
}
.c-head-h2::before {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    left: -50%;
    top: 50%;
    transform: translateY(-50%);
    z-index: -1;
    filter: blur(35px);
    background: linear-gradient(to right,#EBFFFF,#97EFF1);
}
.c-head-h3 {
    letter-spacing: 0.05em;
    position: relative;
    display: inline-block;
    z-index: 5;
    font-size: 16px;
}
.c-head-h3 p{
    font-size: 16px;
}
.c-button {
    display: inline-block;
    border-radius: 32px;
    background-color: #36C8CB;
    position: relative;
}
.c-button p {
    color: #fff;
    text-align: center;
    letter-spacing: 0.1em;
    font-weight: normal;
    padding: 10px 40px 10px 40px;
    font-size: 12px;
}
.c-button--white {
    border: 2px solid #fff;
}
.c-button--white::after {
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
}
.c-button--white p {
    color: #fff;
}
.c-head-h3 li{
    font-size: 16px;
    letter-spacing: 0.03em;
    line-height: 1.8;
    font-weight: 600;
}
.c-head-h3-top {
    text-align: center;
    margin-bottom: 50px;
}
.c-head-h3 p {
    font-size: 24px;
    letter-spacing: 0.05em;
}
.c-head-blue {
    margin-bottom: 8px;
}
.c-head-blue p{
    color: #0C999C;
    font-size: 18px;
}
.c-tag {
    background-color: #fff;
    font-size: 13px;
    font-weight: 500;
    padding: 4px 8px;
    display: inline-block;
    border-radius: 8px;
}
.c-list li{
    list-style: none;
    position: relative;
    color: #A52A2A;
}
.c-list li::before {
    content:  "";
    position: absolute;
    width:  12px;
    height:  12px;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background-color: #A52A2A;
    border-radius:  50%;  
}
.c-box {
    padding: 55px 3vw 55px;
    background-color: #fff;
    max-width: 1024px;
    margin: 0 auto 50px;
    border-radius: 8px;
}
.c-box img {
    display: block;
}

.c-box__grey {
    max-width: 650px;
    margin: 0 auto;
    background-color: #F5F5F5;
    padding: 30px 1.8vw;
    border-radius: 8px;
    margin-bottom: 50px;
}
.c-box__grey-row {
    justify-content: space-between;
    gap: 15px;
}
.c-box__grey-center {
    justify-content: center;
    gap: 15px;
}
.c-box__grey-row--three {
    gap: 16px 2%;
}
.c-box__grey-item {
    display: flex;
    justify-content: space-between;
    width: 46.5%;
    gap: 0 15px;
}
.c-box__grey-item--three {
    display: flex;
    width: 32%;
    gap: 0 15px;
}

.c-box__under {
    margin-bottom: 0;
}
.c-box.c-box__under:last-of-type {
    background-image: unset;
    margin-bottom: 50px;
}
.c-box__under-head {
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
}
.c-box__wrap {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-direction: column-reverse;
    gap: 25px 0;
}
.c-box__wrap img {
    /* width: 100%; */
}
.c-box__textarea {
    width: 100%;
}
.c-box__textarea--short {
    width: 100%;
}
.c-box__textarea--large {
    width: 100%;
}
.c-box p {
    margin: 0 auto;
    max-width: 620px;
}
.c-box__note p{
    padding-left: 22px;
    position: relative;
    margin-bottom: 10px;
}
.c-box__note p::before {
    content: "※";
    position: absolute;
    top: 0px;
    left: 0;
    font-size: 14px;
    letter-spacing: 0.03em;
    line-height: 1.8;
}
.c-box--short {
    background-color: #fff;
    padding: 55px;
    border-radius: 16px;
}
.c-map {
    max-width: 800px;
    margin: 40px auto;
}

.c-banner {
    -ms-writing-mode: tb-rl;
    right: 0;
    background-color: #36C8CB;
    color: #fff;
    font-weight: bold;
    z-index: 3;
    padding: 12px 3.5vw;
    display: flex;
    align-items: center;
    gap: 5px;
    position: relative;
    writing-mode: inherit;
    border-radius: 8px 8px 0px 0px;
    padding: 12px 5vw;
    top: auto;
    will-change: opacity; /* 追加 */
    backface-visibility: hidden; /* 追加 */
}
.c-banner__img {
    width: 28px;
}
.c-banner p {
    font-size: 2.2vw;
    letter-spacing: 0.3em;
    color: #fff;
    text-orientation: upright;
}
.c-wrap {

}
.c-top {
    margin-bottom: 55px;
}
.row img {
    border-radius: 8px;
    display: block;
    margin: 0 auto;
}
.c-two-column {
    width: 100%;
}
.c-three-wrap {
    justify-content: center;
}
.c-three-column {
    width: 100%;
}
.c-three-column__img {
    width: 100%;
    position: relative;
}
.c-three-column__img::before {
    content: "";
    display: block;
    padding-top: calc(338 / 377 * 100%);
}
.c-three-column__img img {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.c-toggle {
    position: relative;
}
.c-toggle__btn {
    position: relative;
}
.c-toggle__contents {
    transition: max-height 0.5s ease-out, opacity 0.5s ease-out;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    margin-top: 40px;
}
.c-toggle__btn::before, .c-toggle__btn::after{
    content: '';
    display: inline-block;
    position: absolute;
    width: 2px;
    height: 12px;
    top: 50%;
    right: 40px;
    transform: translateY(-50%);
    background-color: #00513A;
    transition: 0.3s ease all;
}
.c-toggle__btn::after {
    right: 46px;
    top: 40%;
    transform: rotate(90deg) translateY(-50%);
    transition: 0.3s ease all;
}
.c-toggle.open .c-toggle__btn::after {
    opacity: 0;
    transition: 0.3s ease all;
}
.c-toggle.open .c-toggle__btn::before {
    top: 40%;
    transform: rotate(90deg) translateY(-50%);
    transition: 0.3s ease all;
    right: 46px;
}
.c-toggle.open .c-toggle__contents {
    display: block;
}
.c-toggle.open .c-toggle__contents {
    display: block;
    max-height: 2000px; /* 予想される最大値を設定 */
    opacity: 1;
}
.c-sauna-logo {
    margin: 110px auto 130px;
    text-align: center;
    display: block;
    max-width: 350px;
}
.c-slider {
    margin: 120px 0 110px;
}
.c-box-center__text{
    width: fit-content;
    margin: 0 auto;
}
.c-banner-list {
    display: flex;
    justify-content: space-between;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 3;
    gap: 0 0.5%;
}
.c-banner-list a:hover{
    opacity: 1;

}
.c-slider-box {
    width: 100%;
}
.c-slider-box .carousel-item:before {
    content:"";
    display: block;
    padding-top: calc(262/432*100%); /* 高さを幅の75%に固定 */

}
.c-large {
    margin: 0 calc(50% - 50vw);
	width: 100vw;

}
.c-large__inner {
    max-width: 1360px;
    padding: 0 15px;
    margin: 0 auto;
    display: block;
}
.c-circle {
    width: 240px;
    height: 230px;
    border-radius: 50%;
    background: linear-gradient(to right,#D5F8F9,#F4FFFF);
    position: relative;
    max-width: 375px; 
    min-height: 375px;
}
.c-circle__box {
    /* position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 100%; */
    padding: 80px 10px;
}
.c-circle__box p {
    text-align: center;
}

/* モーダルのスタイル */
.modal {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4); /* 背景色 */
    opacity: 0; /* 初期状態では透明 */
    visibility: hidden; /* 初期状態では不可視 */
    transition: opacity 0.5s, visibility 0.5s; /* アニメーション効果 */
}

/* モーダルの画像スタイル */
.modal-content {
    display: block;
    width: 80%;
    height: 80%;
    max-width: 800px;
    max-height: 800px;
    object-fit: contain;
    background-color: #ccc;
    transform: translateY(30px);
}

/* モーダルの閉じるボタン */
#close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.c-banner02 {
    background-color: #3F9877;
    top: auto;
}
.c-banner03 {
    top: auto;
    background-color: #D4BE2E;
}
.c-banner04 {
    top: auto;
}
@media screen and (max-width:767px) {
}



@media screen and (min-width: 501px) {
    .c-banner-list {
        gap: 0 1%;
    }
    .c-banner {
        padding: 12px 5vw;
    }

}
@media screen and (min-width: 768px) {
    .c-head {
        font-size: 32px;
        padding-left: 50px;
    }   
    .c-head-en p{
        font-size: 60px;
    }
    .c-top {
        margin-bottom: 125px;
    }
    .c-head-h2 {
        font-size: 18px;
    }
    .c-box__textarea--large {
        width: 60%;
    }
    .c-large__inner {
        padding: 0 20px;
    }
    .c-head-blue p{
        font-size: 20px;
    }
    .c-banner {
        font-size: 15px;
        padding: 20px 6vw;
    }
    .c-banner p {
        font-size: 15px;
    }
    .c-head-h3 {
        font-size: 18px;
    }
    .c-button p {
        padding: 10px 40px 10px 40px;
        font-size: 12px;
    }
    .c-two-column {
        width: 48%;
    }
    .c-three-column {
        width: 31%;
    }
    .c-box__textarea {
        width: 48%;
    }
    .c-box__wrap {
        flex-direction: row;
    }
    .c-box__wrap img {
        /* width: 45%; */
    }
    .c-head__sub {
        margin-bottom: 0 !important;
    }
    .c-head-h3-top {
        margin-bottom: 80px;
    }
    .c-head-h3 li{
        font-size: 20px;
    }
    .c-box__textarea--short {
        width: 35%;
    }
    .c-slider-box {
        width: 50%;
    }
}
@media screen and (min-width: 1051px) {
    .c-banner {
        position: fixed;
        writing-mode: vertical-rl;
        border-radius: 8px 0 0 8px;
        /* padding: 12px 5vw; */
        padding: 25px 16px;
        top: 120px;
        border: 1px solid #fff;
    }
    .c-banner p {
        font-size: 20px;
    }
    .c-banner02 {
        top: 325px;
    }
    .c-banner03 {
        top: 550px;
    }
    .c-head {
        font-size: 32px;
    }
      .c-head-h2 {
        font-size: 24px;
    }
    .c-head-h3 {
        font-size: 22px;
    }
    .c-button p {
        padding: 15px 42px 15px 42px;
        font-size: 14px;
    }
}