@charset "UTF-8";

/* Reset & Base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #f5f5f5;
    /* 薄いグレーベース */
    color: #111111;
    /* ブラック系テキスト */
    /* 石井ゴシックを優先指定 */
    font-family: 'Ishii Gothic', '石井ゴシック', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}


/* Container limits width to 750px */
.lp-container {
    max-width: 750px;
    margin: 0 auto;
    background-color: #ffffff;
    /* LP自体の背景は白（外側が薄いグレー） */
    position: relative;
    padding-bottom: 90px;
    /* Space for fixed CTA */
    overflow: hidden;
}

/* FV Section */
.fv-section {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.fv-bg {
    width: 100%;
    display: block;
}

.fv-main {
    position: absolute;
    top: 10px;
    left: 2px;
    width: 90%;
    max-width: 686px;
    opacity: 0;
    mix-blend-mode: normal;
    animation: blurFadeIn 1s ease-out forwards;
    animation-delay: 0.4s;
    z-index: 10;
}

.fv-circle {
    position: absolute;
    top: 21%;
    left: 3%;
    width: 63%;
    opacity: 0;
    mix-blend-mode: multiply;
    animation: blurFadeIn 1s ease-out forwards;
    animation-delay: 0.8s;
    z-index: 5;
}

.fv-sub {
    position: absolute;
    top: 18%;
    left: -2%;
    width: 73.3%;
    opacity: 0;
    mix-blend-mode: normal;
    animation: blurFadeIn 1s ease-out forwards;
    animation-delay: 1.4s;
    z-index: 8;
}

.fv-clinicname {
    position: absolute;
    bottom: 1%;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 95%;
    max-width: 715px;
    opacity: 0;
    mix-blend-mode: normal;
    z-index: 10;
}

.fv-clinicname.is-visible {
    animation: blurFadeIn 1s ease-out forwards;
}

@keyframes blurFadeIn {
    0% {
        opacity: 0;
        transform: scale(1.05);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Offer Section */
.offer-table{
    width:100%;
    overflow:hidden;
    position:relative;
}

.offer-table ul{
    position: relative;
    display:block;
    z-index:1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.offer-table li{
    margin-bottom:10px;
    padding:0;
    display:flex;
    justify-content: center;
    align-items: center;
}

.offer-table .bg{
    position:absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    z-index: 0;
}

.offer-table .img{
    position:relative;
    width:100%;
    opacity: 0;
}

.offer-table .shine-effect{
    position:absolute;
    top: 6%;        /* 上下調整 */
    left: 60%;
    transform: translateX(-50%);
    mix-blend-mode: screen;
    width:70%;
}

.offer-table p{
    color:white;
    width:90%;
    font-size: clamp(10px, 2vw, 14px);

}

.offer-table .ticket-wrapper{
    position:relative;
}

.offer-table .ticket{
    width:90%;
    margin:0 auto;
    opacity:0;
}

.offer-table .ticket.is-visible{
    animation: blurFadeIn 1s ease-out forwards;
    animation-delay: 0.6s;
}

.offer-table .phone-img{
    position:relative;
    top: 46%;        /* 上下調整 */
    left: 46%;
    transform: translateX(-50%);
    width:90%;
    margin-bottom:10px;

}

.offer-table .offer-cta{
    width:90%;
    position:relative;
    display:block;
overflow: hidden;
text-decoration: none;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.offer-table .offer-cta:hover {
transform: translateY(-3px);
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.cta-img-btn img {
width: 100%;
display: block;
}

/* キラッと光るエフェクト */
.offer-table .offer-cta::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 50%;
height: 100%;
background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0) 100%);
transform: skewX(-25deg);
animation: shine 4s infinite;
}

@keyframes shine {
0% {
    left: -100%;
}

25% {
    left: 200%;
}

100% {
    left: 200%;
}
}

.offer-img{
    opacity:0;
}

.offer-img.is-visible {
    animation: blurFadeIn 1s ease-out forwards;
    animation-delay: 0.4s;
}


.offer-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    min-height: 129.3vw
}

.offer-bg {
    width: 100%;
    display: block;
}

.offer-phone {
    position: absolute;
    top: 35%;
    left: 53%;
    transform: translate(-50%, -50%);
    width: 100%;
    /* 807px on 750px canvas */
    z-index: 2;
    opacity: 0;
}

.offer-shine {
    position: absolute;
    top: 27%;
    left: 60%;
    transform: translate(-50%, -50%);
    width: 73%;
    z-index: 3;
    mix-blend-mode: screen;
    opacity: 0;
}

.offer-text {
    position: absolute;
    top: 78%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 93.7%;
    /* 703px on 750px canvas */
    z-index: 4;
    opacity: 0;
}


.offer-text.is-visible {
    animation: blurFadeInCenter 1s ease-out forwards;
    animation-delay: 0.8s;
}

@keyframes blurFadeInCenter {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.05);
    }

    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

/* Comment Section */
.comment-section {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.comment-bg {
    width: 100%;
    display: block;
}

.comment-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 92%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.comment-item {
    width: 91.5%;
    margin-bottom: 20px;
    opacity: 0;
}

.comment-item:last-child {
    margin-bottom: 0;
}

.comment-bottom {
    position: absolute;
    width: 82%;
    left: 50%;
    bottom: -7%;
    transform: translateX(-50%);
}

.mistake-img {
    width: 100%;
    max-width: 100%;
    align-self: stretch;
    display: block;
    margin: 0;
    opacity: 0;
}

.mistake-img.is-visible {
    animation: blurFadeIn 1s ease-out forwards;
}

/* Achievements Section */
.achievements-section {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.achievements-bg {
    width: 100%;
    display: block;
}

.achievements-doctor {
    position: absolute;
    top: 23%;
    left: 50%;
    transform: translateX(-50%);
    width: 97.3%;
    z-index: 2;
    opacity: 0;
}

.achievements-point {
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translateX(-50%);
    width: 96.5%;
    z-index: 3;
    opacity: 0;
}

.achievements-doctor.is-visible {
    animation: blurFadeInXCenter 1s ease-out forwards;
    animation-delay: 0.4s;
}

.achievements-point.is-visible {
    animation: blurFadeInXCenter 1s ease-out forwards;
    animation-delay: 0.5s;
}

@keyframes blurFadeInXCenter {
    0% {
        opacity: 0;
        transform: translateX(-50%) scale(1.05);
    }

    100% {
        opacity: 1;
        transform: translateX(-50%) scale(1);
    }
}

/* 4points Sections */
.points-section-1,
.points-section-2 {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.points-bg {
    width: 100%;
    display: block;
}

.point-card {
    position: absolute;
    width: 39.5%;
    z-index: 2;
    opacity: 0;
}

.point-card.left {
    left: 8%;
}

.point-card.right {
    right: 8%;
}

/* Card positions on 4points-1 */
.points-section-1 .p01-1,
.points-section-1 .p01-2 {
    top: 29.5%;
}

.points-section-1 .p02-1,
.points-section-1 .p02-2 {
    top: 71.5%;
}

/* Card positions on 4points-2 */
.points-section-2 .p03-1,
.points-section-2 .p03-2 {
    top: 14.5%;
}

.points-section-2 .p04-1,
.points-section-2 .p04-2 {
    top: 62.3%;
}

/* Sequential stagger delays for cards */
.p01-1.is-visible {
    animation: blurFadeIn 0.8s ease-out forwards;
    animation-delay: 0.1s;
}

.p01-2.is-visible {
    animation: blurFadeIn 0.8s ease-out forwards;
    animation-delay: 0.4s;
}

.p02-1.is-visible {
    animation: blurFadeIn 0.8s ease-out forwards;
    animation-delay: 0.1s;
}

.p02-2.is-visible {
    animation: blurFadeIn 0.8s ease-out forwards;
    animation-delay: 0.4s;
}

.p03-1.is-visible {
    animation: blurFadeIn 0.8s ease-out forwards;
    animation-delay: 0.1s;
}

.p03-2.is-visible {
    animation: blurFadeIn 0.8s ease-out forwards;
    animation-delay: 0.4s;
}

.p04-1.is-visible {
    animation: blurFadeIn 0.8s ease-out forwards;
    animation-delay: 0.1s;
}

.p04-2.is-visible {
    animation: blurFadeIn 0.8s ease-out forwards;
    animation-delay: 0.4s;
}

/* Slide in Left Animation */
.slide-left-reveal {
    opacity: 0;
}

.comment1.is-visible {
    animation: slideInLeft 0.8s ease-out forwards;
    animation-delay: 0.4s;
}

.comment2.is-visible {
    animation: slideInLeft 0.8s ease-out forwards;
    animation-delay: 0.5s;
}

.comment3.is-visible {
    animation: slideInLeft 0.8s ease-out forwards;
    animation-delay: 0.6s;
}

@keyframes slideInLeft {
    0% {
        opacity: 0;
        transform: translateX(-100px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.offer-bottom {
    position: absolute;
    top: 73%;
    left: 50%;
    transform: translateX(-50%);
    width: 91%;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.offer-text-small {
    font-size: clamp(10px, 2vw, 14px);
    font-weight: normal;
    color: #ffffff;
    text-align: left;
    z-index: 1;
    width: 90%;
}

.fin-section {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.fin-section .bg {
    width: 100%;
    display: block;
}

.fin-section .card {
    position: absolute;
    top: 26%;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    z-index: 2;
    opacity: 0;
}


.fin-section .card.is-visible {
    animation: blurFadeInXCenter 1s ease-out forwards;
    animation-delay: 0.4s;
}

.fin-section .second {
    position: absolute;
    top: 36%;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    z-index: 3;
    opacity: 0;
}

/* ３つの理由 */
.reason-section {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.reason-section .bg {
    width: 100%;
    display: block;
}

.reason-section .reason-title {
    position: absolute;
    top: 29%;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    z-index: 2;
    opacity: 0;
}

.reason-section .reason-img1 {
    position: absolute;
    top: 61%;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    z-index: 2;
    opacity: 0;
}

.reason-section .reason-img2 {
    position: absolute;
    top: 19%;
    left: 50%;
    transform: translateX(-50%);
    width: 69%;
    z-index: 2;
    opacity: 0;
}


.reason-section .reason-img3 {
    position: absolute;
    top: 43%;
    left: 50%;
    transform: translateX(-50%) translateZ(0); /* translateZ(0)を追加 */
    width: 86%;
    z-index: 2;
    opacity: 0;
}

.reason-section .reason2-img1 {
    position: absolute;
    top: 51%;
    left: 30%;
    transform: translateX(-50%);
    width: 35%;
    z-index: 2;
    opacity: 0;
}

.reason-section .reason2-img2 {
    position: absolute;
    top: 51%;
    right: -4%;
    transform: translateX(-50%);
    width: 35%;
    z-index: 2;
    opacity: 0;
}

.reason-section .reason2-img3 {
    position: absolute;
    top: 62%;
    left: 50%;
    transform: translateX(-50%);
    width: 81%;
    z-index: 3;
    opacity: 0;
}

.reason-section .reason2-img4 {
    position: absolute;
    bottom: 1.5%;
    left: 25%;
    transform: translateX(-50%);
    width: 39%;
    z-index: 3;
    opacity: 0;
}

.reason-section .reason3-img1 {
    position: absolute;
    top: 25.5%;
    left: 30%;
    transform: translateX(-50%);
    width: 35%;
    z-index: 2;
    opacity: 0;
}

.reason-section .reason3-img2 {
    position: absolute;
    top: 25.5%;
    right: -4%;
    transform: translateX(-50%);
    width: 35%;
    z-index: 2;
    opacity: 0;
}

.reason-section .reason3-img3 {
    position: absolute;
    top: 43%;
    left: 50%;
    transform: translateX(-50%);
    width: 96%;
    z-index: 3;
    opacity: 0;
}

.reason-section p{
    color:white;
    width:79%;
    font-size: clamp(8px, 2vw, 14px);    
    line-height: 1.2em;
}

.reason-section .note{
    position:absolute;
    top:68%;
    left:50%;
    transform: translateX(-50%);
}

/* ３つの理由 Scroll Reveal Animations */
.reason-section .reason-title.is-visible {
    animation: blurFadeInXCenter 1s ease-out forwards;
    animation-delay: 0.1s;
}

.reason-section .reason-img1.is-visible {
    animation: blurFadeInXCenter 1s ease-out forwards;
    animation-delay: 0.4s;
}

.reason-section .reason-img2.is-visible {
    animation: blurFadeInXCenter 1s ease-out forwards;
    animation-delay: 0.1s;
}

.reason-section .reason-img3.is-visible {
    animation: blurFadeInXCenter 1s ease-out forwards;
    animation-delay: 0.4s;
}

.reason-section .reason2-img1.is-visible {
    animation: blurFadeInXCenter 1s ease-out forwards;
    animation-delay: 0.1s;
}

.reason-section .reason2-img2.is-visible {
    animation: blurFadeInXCenter 1s ease-out forwards;
    animation-delay: 0.3s;
}

.reason-section .reason2-img3.is-visible {
    animation: blurFadeInXCenter 1s ease-out forwards;
    animation-delay: 0.5s;
}

.reason-section .reason2-img4.is-visible {
    animation: blurFadeInXCenter 1s ease-out forwards;
    animation-delay: 0.7s;
}

.reason-section .reason3-img1.is-visible {
    animation: blurFadeInXCenter 1s ease-out forwards;
    animation-delay: 0.1s;
}

.reason-section .reason3-img2.is-visible {
    animation: blurFadeInXCenter 1s ease-out forwards;
    animation-delay: 0.3s;
}

.reason-section .reason3-img3.is-visible {
    animation: blurFadeInXCenter 1s ease-out forwards;
    animation-delay: 0.5s;
}


.benefits-section {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.benefits-section .bg {
    width: 100%;
    display: block;
}

.benefits-section .points {
    position: absolute;
    top: 3%;
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-height: 70%;
}

.benefits-section .points .items {
    margin-bottom: 20px;
    max-width: 90%
}


.benefits-section .benefits-lid {
    position: absolute;
    bottom: 8.5%;
    right: -21%;
    transform: translateX(-50%);
    width: 39%;
    z-index: 3;
    opacity: 0;
}

.benefits-section .benefits-lid.is-visible {
    animation: blurFadeInCenter 1s ease-out forwards;
    animation-delay: 0.4s;
}





/* Image Section Placeholders */
.image-section {
    width: 100%;
}

.placeholder-img {
    width: 100%;
    background: linear-gradient(135deg, #e0e0e0, #d5d5d5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    border-bottom: 1px solid #ccc;
}

.placeholder-img p {
    font-size: 1.2rem;
    letter-spacing: 0.1em;
}

/* Common Section Titles */
.section-title {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 30px;
    color: #111;
    /* 単色のシルバーライン */
    border-bottom: 2px solid #c0c0c0;
    padding-bottom: 10px;
    letter-spacing: 0.1em;
}

/* CTA Section */
.cta-section {
    padding: 50px 0;
    text-align: center;
}

.cta-img-btn {
    display: inline-block;
    position: relative;
    width: 100%;
    max-width: none;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-img-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.cta-img-btn img {
    width: 100%;
    display: block;
}

/* キラッと光るエフェクト */
.cta-img-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    animation: shine 4s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }

    25% {
        left: 200%;
    }

    100% {
        left: 200%;
    }
}

.cta {
    width: 100%;
    max-width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.cta .bg {
    position: absolute;
    display: block;
    z-index: 0;
    object-fit: contain;

}

.cta .bg img {
    width: 100%;
    max-width: 100%;
    display: block;
}

.cta .btn {
    position: relative;
    z-index: 1;
}

/* 固定CTA（フッター追従） */
.fixed-cta {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 750px;
    padding: 15px 20px;
    background: transparent;
    text-align: center;
    z-index: 100;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.fixed-cta.is-hidden {
    opacity: 0;
    visibility: hidden;
}

.fixed-cta .cta-img-btn {
    width: 100%;
    max-width: none;
}

.fixed-cta .cta-img-btn::before {
    display: none;
}

/* FAQ Section */
.faq-section {
    padding: 60px 20px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #fff;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #111;
    /* ブラック背景 */
    color: #fff;
    /* ホワイトテキスト */
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #333;
}

.faq-question .icon {
    width: 16px;
    height: 16px;
    position: relative;
    flex-shrink: 0;
    margin-left: 15px;
}

.faq-question .icon::before,
.faq-question .icon::after {
    content: '';
    position: absolute;
    background-color: #fff;
    /* アイコンを白に */
    transition: transform 0.3s ease;
}

.faq-question .icon::before {
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    margin-top: -1px;
}

.faq-question .icon::after {
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    margin-left: -1px;
}

.faq-item.active .icon::after {
    transform: rotate(90deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    background-color: #fafafa;
}

.faq-answer p {
    padding: 0 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 20px 0;
    border-top: 1px solid #eee;
}

.faq-item.active .faq-answer p {
    opacity: 1;
}

/* Access Section */
.access-section {
    padding: 60px 20px;
}

.access-swiper {
    width: 100%;
    padding-bottom: 50px;
    /* ページネーション用余白 */
}

.clinic-name {
    text-align: center;
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #111;
}

.access-info-details {
    margin-bottom: 20px;
    text-align: left;
    color: #111;
    font-size: 0.95rem;
    padding: 0 10px;
}

.access-info-details dl {
    display: flex;
    flex-wrap: wrap;
    border-top: 1px solid #ddd;
}

.access-info-details dt {
    width: 30%;
    padding: 12px 10px;
    font-weight: bold;
    border-bottom: 1px solid #ddd;
    background-color: #f9f9f9;
}

.access-info-details dd {
    width: 70%;
    padding: 12px 10px;
    border-bottom: 1px solid #ddd;
}

.map-container {
    width: 100%;
    height: 300px;
    border: 2px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 10px;
    position: relative;
}

.map-container iframe {
    position: absolute;
    top: -100px;
    /* さらに30px上にずらしてUIを隠す */
    left: -20px;
    width: calc(100% + 40px);
    height: 500px;
    /* 300(元の高さ) + 100(上部) + 100(下部) */
}

/* Swiper Customization */
.swiper-pagination-bullet {
    background: #111;
    opacity: 0.3;
}

.swiper-pagination-bullet-active {
    background: #111;
    opacity: 1;
}

.swiper-button-next,
.swiper-button-prev {
    color: #111;
    background: rgba(255, 255, 255, 0.9);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    /* マップの垂直中央に配置（下から: ページネーション50px + 余白10px + マップ半分150px = 210px） */
    top: auto;
    bottom: 400px;
    margin-top: 0;
    transform: translateY(50%);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 1.2rem;
}

/* Another Section (他のおすすめ治療) */
.another-section {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.another-section .bg {
    width: 100%;
    display: block;
}

.another-section .card {
    position: absolute;
    top: 21%;
    /* Positioned overlaying the background content */
    left: 50%;
    transform: translateX(-50%);
    width: 83%;
    max-width: 675px;
    z-index: 5;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    /* Perfect spacing between images */
}

.another-section .another-img {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0;
    /* Hidden until is-visible is added */
}

/* Clockwise Fade-in Animation (Top-Left -> Top-Right -> Bottom-Right -> Bottom-Left) */
.another-img.item-tl.is-visible {
    animation: blurFadeIn 0.8s ease-out forwards;
    animation-delay: 0.1s;
}

.another-img.item-tr.is-visible {
    animation: blurFadeIn 0.8s ease-out forwards;
    animation-delay: 0.4s;
}

.another-img.item-br.is-visible {
    animation: blurFadeIn 0.8s ease-out forwards;
    animation-delay: 0.7s;
}

.another-img.item-bl.is-visible {
    animation: blurFadeIn 0.8s ease-out forwards;
    animation-delay: 1.0s;
}

/* オファー2回目 */

.offer2-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    min-height: 129.3vw
}

.offer2-bg {
    width: 100%;
    display: block;
}

.offer2-phone {
    position: absolute;
    top: 35%;
    left: 53%;
    transform: translate(-50%, -50%);
    width: 90%;
    /* 807px on 750px canvas */
    z-index: 2;
    opacity: 0;
}

.offer2-shine {
    position: absolute;
    top: 28%;
    left: 60%;
    transform: translate(-50%, -50%);
    width: 73%;
    z-index: 3;
    mix-blend-mode: screen;
    opacity: 0;
}

.offer2-text {
    position: absolute;
    top: 76%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    /* 703px on 750px canvas */
    z-index: 4;
    opacity: 0;
}

.offer2-phone.is-visible {
    animation: blurFadeInCenter 1s ease-out forwards;
    animation-delay: 0.4s;
}

.offer2-shine.is-visible {
    animation: blurFadeInCenter 1s ease-out forwards;
    animation-delay: 0.5s;
}

.offer2-text.is-visible {
    animation: blurFadeInCenter 1s ease-out forwards;
    animation-delay: 0.8s;
}

.offer2-note {
    position: absolute;
    top: 94%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
}

/* 特典 */

.ticket-section {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.ticket-section .bg {
    width: 100%;
    display: block;
}

.ticket-section .items {
    position: relative;
}

.test {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0 auto;
    display: block;
    position: relative;
}

.test .bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    z-index: 0;
}

.test ul {
    position: relative;
    /* absoluteをやめる */
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 90%;
    margin: 0 auto;
    padding: 40px 0;
    /* 上下の余白はpaddingで調整 */
}

.test li {
    width: 100%;
    height: auto;
    object-fit: contain;
    list-style: none;
    margin: 0;
    padding-bottom: 20px;
}

.ticket img {
    width: 100%;
    max-width: 100%;
}

.test p {
    font-size: clamp(10px, 2vw, 14px);
    color: #ffffff;
}

.arrow {
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.arrow img {
    width: 40%;
}

.test .fin-cta-wrap {
    position: relative;
    margin: 0 auto;
}

.test .fin-cta-wrap img {
    display: block;
    margin: 0 auto;
    width: 100%;
}

.test .line {
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;

}

.test .line img {
    width: 80%;
}


/* 交通費 */

.trip-shine {
    position: absolute;
    top: 29%;
    left: 60%;
    transform: translate(-50%, -50%);
    width: 140%;
    z-index: 5;
    mix-blend-mode: screen;
    opacity: 0;
}

.trip-shine.is-visible {
    animation: blurFadeInCenter 1s ease-out forwards;
    animation-delay: 0.5s;
}

.trip-img {
    position: absolute;
    top: 32%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    z-index: 5;
    opacity: 0;
}

.trip-img.is-visible {
    animation: blurFadeInCenter 1s ease-out forwards;
    animation-delay: 0.6s;
}



/* LINE公式アカウント */

.fin-line {
    /* position: absolute;
    top: 69%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 85%; */
    opacity: 0;
}

.fin-line.is-visible {
    animation: blurFadeInCenter 1s ease-out forwards;
    animation-delay: 0.6s;
}

/* 特典内のCTA */

.fin-cta {
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* 703px on 750px canvas */
    z-index: 4;
}

.fin-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.fin-cta img {
    width: 100%;
    display: block;
}

/* キラッと光るエフェクト */
.fin-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    animation: shine 4s infinite;
}



/* 施術の流れ */

.flow-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.carousel-wrap {
    position: absolute;
    top: 57%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-sizing: border-box;
    width: 90%;
    margin: 0 auto;
}

.flow-bg {
    width: 100%;
    max-width: 100%;
    display: block;
}

.carousel-outer {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.carousel-track {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    width: 100%;
}

.carousel-slide {
    min-width: 100%;
    flex-shrink: 0;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

.carousel-slide img {
    width: 100%;
    display: block;
    max-width: 100%;
}

.btn-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
}

.btn-prev {
    left: 10px;
}

.btn-next {
    right: 10px;
}

.dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 12px;
}

.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    border: none;
}

.dot.active {
    background: #333;
    transform: scale(1.3);
}

/* メッセージ */

.message {
    position: relative;
    width: 100%;
    overflow: block;
}

.message .bg {
    width: 100%;
    display: block;
    z-index: 0;
}

.message .card {
    position: absolute;
    top: 14%;
    left: 50%;
    transform: translate(-50%, -50%);
    width:90%;
    z-index: 1;
    opacity: 0;
}

.message .card.blur-reveal {
    animation: blurFadeInCenter 1s ease-out forwards;
    animation-delay: 0.4s;
}

.message .lineintro{
    position:absolute;
    bottom:-8%;
    left:50%;
    transform: translate(-50%,-50%);
    width:80%;
    z-index:1;
    opacity: 0;
}

.message .lineintro.blur-reveal{
    animation: blurFadeInCenter 1s ease-out forwards;
    animation-delay:0.6s;
}

/* フッター */
.footer{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding-top:10px;
}

footer.footer a {
    color: black;
    text-decoration: none;
    padding:5px auto;
}

.footer a:hover{
    background-color:yellow;
}