@charset "UTF-8";

/* ================= 基本変数 ================= */
:root {
    --gold: #c29d52;
    --beige: #fbf8f3;
    --text: #4a4441;

    --gray: #f9f9f9;
}

body {
    margin: 0;
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text);
    line-height: 1.8;
    padding-bottom: 100px;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 30px;
}

.section-padding { padding: 20px 0; }
.bg-beige { background: var(--beige); }

.section-title {
  text-align: center;
    font-family: 'Noto Serif JP', serif;
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 50px;
    letter-spacing: 0.15em;
    color: #5d5551;
}

/* ================= FV ================= */
#fv { width: 100%; line-height: 0; position: relative; }
.fv-h1 {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 100;
    font-size: 10px; 
    color: #4a4441; 
    letter-spacing: 0.1em; 
    border-left: 1px solid #c29d52; 
    padding: 0 0 0 10px; 
    line-height: 1.1;
    opacity: 0.8;
    pointer-events: none;
}
.fv-img { width: 100%; display: block; }

/* ================= price card ================= */
#price-card-section {
    position: relative;
    z-index: 20;
    margin-top: 60px;
    padding-bottom: 30px;
    text-align: center;
    font-family: 'Noto Serif JP', serif;
}
.price-card {
    position: relative;
    background: #fff;
    padding: 35px 20px 30px;
    margin: 0 auto;
    max-width: 420px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    z-index: 5;
}
/* キラキラアニメーション */
.price-card::before, .price-card::after {
    content: "";
    position: absolute;
    background: url('images/kirakira.png') no-repeat center/contain;
    animation: fuwafuwa-kira 4s ease-in-out infinite;
    z-index: 20;
}
.price-card::before { 
    top: -30px;
    left: -30px; 
    width: 90px; 
    height: 90px; 

}

.price-card::after { 
    bottom: -35px; 
    right: -35px; 
    width: 110px; 
    height: 110px; 
    animation-direction: reverse; 
}

@keyframes fuwafuwa-kira {
    0% { transform: translateY(0); opacity: .8; }
    50% { transform: translateY(-25px); opacity: 1; }
    100% { transform: translateY(0); opacity: .8; }
}

.price-balloon {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: #e5b7b7;
    color: #fff;
    padding: 8px 40px;
    font-weight: bold;
    font-size: 1.1rem;
    white-space: nowrap;
    z-index: 100;
}
.price-balloon::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-top: 10px solid #e5b7b7;
    border-right: 10px solid transparent;
    border-left: 10px solid transparent;
}
.price-image {
    width: 100%;
    max-width: 280px;
    height: 160px;
    margin: 0 auto 15px;
    overflow: hidden;
    border-radius: 8px;
}
.price-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#price-card-section .price-plan-name {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #4a4441;
    margin-bottom: 5px;
}

#price-card-section .price-big-num {
    display: inline-block;
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1;
}

.price-unit {
    font-size: 1.2rem;
    margin-left: 5px;
}

.fade-in-peron {
    display: inline-block;
    opacity: 0;
    transform: translateY(50px) scale(0.8);
}

.fade-in-peron.is-visible {
    animation: peron-action 1.0s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    animation-delay: 0.2s; 
}

@keyframes peron-action {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
      transform: translateY(0) scale(1);
    }
}

.price-per-time {
    display: inline-block;
    font-size: 0.95rem;
    color: #888;
    font-family: 'Noto Sans JP', sans-serif;
    background: linear-gradient(transparent 70%, rgba(194, 157, 82, 0.3) 70%);
}

.price-single-row {
   margin-top: 20px;
    padding: 15px 40px;
    background-color: #fdf8f5; 
    border-radius: 12px;
    display: inline-block;
    /* 金色のぼんやりした光を周囲につける */
    box-shadow: 0 0 20px rgba(194, 157, 82, 0.2);
}

.price-single-label {
    font-size: 1.0rem;
    font-weight: bold;
    color: var(--gold);
    margin-right: 8px;
}

.price-single-value {
    font-size: 1.6rem;
    font-weight: 900;
    font-family: 'Noto Serif JP', serif;
    }

/* ================= solution ================= */
#solution {
    background: linear-gradient(to bottom, var(--beige) 0%, var(--beige) 30%, #ffffff 100%);
    margin-top: -220px; 
    padding-top: 260px;
    position: relative;
    z-index: 1;
}
.solution-header { text-align: center; }

.badge {
    display: block;
    width: fit-content;
    margin: 0 auto 10px;
    background: #e5b7b7; 
    color: #fff;
    padding: 5px 20px;
    font-size: 0.85rem;
    font-weight: bold;
    border-radius: 5px;
    position: relative;
}

.badge::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-top: 8px solid #e5b7b7;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
}

.description { max-width: 700px;
    margin: 20px auto 0;
    text-align: center;
    padding: 0 20px;
}

/* ================= reasons ================= */
.reason-grid { 
    display: flex;
    flex-wrap: nowrap;
    gap: 15px;
    justify-content: space-between;
    margin-top: 40px;
    width: 100%; 
}

.reason-item {
    flex: 1;
    min-width: 0;
    text-align: center;
    padding: 10px;
    box-sizing: border-box;
 }

.reason-icon-img {
    width: 100%;
    height: 180px;
    margin-bottom: 15px;
    border-radius: 15px;
    overflow: hidden;
 }

.reason-icon-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reason-item h3 { font-size: 1.15rem; margin-bottom: 10px; line-height: 1.2; }
.reason-item p { font-size: 0.9rem; text-align: left; line-height: 1.5; }

/* ================= comparison ================= */
.comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 4px;
    margin: 40px 0;
    table-layout: fixed;
}

.comparison-table th,
.comparison-table td {
    padding: 18px 10px;
    text-align: center;
    font-size: 0.95rem;
    background: #fff;
}

.comparison-table .label-cell {
    background: #fdfdfd;
    font-weight: bold;
    width: 25%;
    color: var(--gold);
    border: 1.5px solid #bbb;
    border-radius: 6px;
}

.container .comparison-table th.is-medical-head,
.container .comparison-table td.is-medical {
    border-left: 2px solid #e5b7b7;
    border-right: 2px solid #e5b7b7;
    transform: scale(1.02); 
    box-shadow: 0 4px 15px rgba(229,183,183, 0.2);
    z-index: 10;
}

.container .comparison-table th.is-medical-head {
    background: #e5b7b7;
    color: #fff;
    border-radius: 8px 8px 0 0;
}

.container .comparison-table td.is-medical {
    background: #fffcfc;
}
.container .comparison-table th.is-esthe-head {
    background: #f2f2f2;
    color: #525151;
    border-radius: 8px 8px 0 0;
}

.container .comparison-table .is-esthe {
    background: #fafafa;
    color: #908d8d;
    font-size: 0.85rem;
}

.container .comparison-table .highlight-txt {
    color: #d44c4c;
    font-weight: 900;
    font-size: 1.05em;
}

.container .comparison-table tr:last-child .is-medical {
    border-bottom: 2px solid #e5b7b7;
    border-radius: 0 0 8px 8px;
}

/* ================= consult CTA ================= */
.solution-cta {
   margin: 60px auto;
    text-align: center;
    width: 100%;
}

.cta-micro-copy {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.4rem;
    color: #d37b7b;
    margin-bottom: 20px;
    font-weight: 900;
    display: block;
}

.btn-main-consult {
   display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto; 
    font-family: 'Noto Serif JP', serif !important;
    font-weight: 700;
    background: linear-gradient(135deg, #e5b7b7 0%, #d37b7b 100%);
    color: #fff;
    padding: 17px 50px;
    border-radius: 60px;
    font-size: 1.3rem;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(229,183,183, .5);
    max-width: 450px;
    transition: 0.3s;
    position: relative;
}

.btn-main-consult::after {
    content: '→';
    margin-left: 15px;
    transition: 0.3s;
}

.btn-main-consult::before {
    content: "";
    position: absolute;
    inset: 0;
    background: inherit;
    border-radius: inherit;
    z-index: -1;
    animation: pulse-wave 2s infinite;
}

@keyframes pulse-wave {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    70% {
        transform: scale(1.1, 1.35);
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}

/* ================= fixed CTA ================= */
.fixed-cta { position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 -5px 15px rgba(0,0,0,0.08);
    z-index: 999999;
    padding: 10px 15px;
    display: block !important;
}
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .fixed-cta {
        padding-bottom: calc(env(safe-area-inset-bottom) + 10px);
    }
}
.cta-double-wrapper {
    display: flex;
    gap: 12px;
    max-width: 600px;
    margin: 0 auto;
}

.btn-cta {
    flex: 1;
    padding: 12px 5px;
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.btn-tel {
    background: #4a4441;
}

.btn-web {
    background: linear-gradient(135deg, #e5b7b7 0%, #d37b7b 100%);
}

.cta-sub {
    font-size: 10px;
    margin-bottom: 2px;
    opacity: 0.9;
}

.cta-main {
    font-size: 13px;
    font-weight: bold;
}

.btn-web .btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255, .4), transparent);
    transform: skewX(-30deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }
    20% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
}

.flow-steps {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 50px;
}

.step-card {
    flex: 0 1 calc(25% - 25px);
    min-width: 220px;
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.step-image {
    position: relative;
    width: 100%;
    height: 180px;
}

.step-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.step-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--gold);
    color: #fff;
    padding: 5px 15px;
    font-size: 0.8rem;
    border-radius: 0 0 0 15px;
}

.step-body {
    padding: 20px;
}

.step-body h3 {
    font-size: 1.1rem;
    color: var(--gold);
    margin-bottom: 10px;
}

.accordion-item {
    background: #fff;
    border: 1px solid #d8cfc4;
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden;
}

.accordion-header {
    background: #f2e9db;
    padding: 15px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.icon-arrow::after {
    content: '＋';
    color: #bcae9e;
    transition: 0.3s;
}

.accordion-item.active .icon-arrow::after {
    content: '−';
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: 0.4s ease-out;
}

.accordion-item.active .accordion-content {
    max-height: 800px;
    padding: 10px 20px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px dashed #eee;
}

.plan-cost {
    font-weight: bold;
    color: var(--gold);
}

.machine-features-section {
    background-color: var(--beige);
    padding: 100px 0;
    text-align: center;
}

.feature-image-area {
    max-width: 900px;
    margin: 0 auto;
}

.feature-footer {
    font-size: 0.75rem;
    color: #888;
    margin-top: 25px;
}

/* ================= SP================= */
@media (max-width: 767px) {
    img {
        height: auto
    }

    body {
        overflow-x: hidden;
    }

    body .container {
        padding: 0 20px;
    }

    .container .section-title {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }

    .fv-h1 {
        top: 10px;
        left: 10px;
        font-size: 0.7rem;
        padding: 4px 10px;
        max-width: 80%;
    }

    #price-card-section {
        margin-top: 0;
        padding-top: 40px;
    }

   #solution {
        margin-top: -320px;
        padding-top: 350px;
    }

    .price-card::before {
        top: -15px;
        left: 0;
        width: 50px;
        height: 50px;
    }

    .price-card::after {
        bottom: -15px;
        right: 0;
        width: 60px;
        height: 60px;
    }

    .price-balloon {
        top: -28px;
        font-size: 0.9rem;
        padding: 6px 24px;
    }

    .price-big-num {
        font-size: 3.2rem;
    }

    #solution .sp-full-width {
       width: 100vw !important;
        margin-left: calc(50% - 50vw) !important;
        max-width: 100vw !important;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 12px 2px;
        font-size: 0.75rem;
    }

    .comparison-table .label-cell {
        width: 22%;
    }

    .reason-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 20px 4%;
        justify-content: center;
    }

    .reason-item {
        flex: 0 0 48%;
        padding: 10px 0;
        box-sizing: border-box;
    }

    .reason-item h3 {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.85rem;
        min-height: 2.8em;
    }

    .step-card {
        flex: 0 0 85%;
        max-width: 85%; 
        margin: 0 auto 20px; 
        background: #fff;
        border-radius: 15px;
        overflow: hidden;
        box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    }

    .feature-title {
        font-size: 1.5rem;
        margin-bottom: 40px;
    }

    .feature-image-area {
        padding: 20px 0;
        text-align: center;
    }

    .machine-features-section {
        padding: 60px 0;
    }

    .feature-image-area img {
        display: block;
        width: 90%;
        max-width: none;
        height: auto;
        margin-left: auto;
        margin-right: auto;
        border-radius: 10px;
    }

    .solution-cta .btn-main-consult {
        display: flex;
        justify-content: center;
        width: 85%;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
        padding: 15px 0;
        font-size: 1.05rem;
    }

  body .fixed-cta {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: #fff;
        z-index: 999999;
        transform: translateZ(0);
        padding: 10px 15px 20px;
        padding-bottom: calc(env(safe-area-inset-bottom) + 15px);
        box-sizing: border-box;
    }

    .cta-double-wrapper {
        display: flex;
        width: 100%;
        max-width: none;
        gap: 8px;
    }

    .btn-cta {
        height: auto;
        min-height: 50px;
        padding: 10px 5px;
    }

.container .reason-item p,
.container .step-body p,
.container .description,
.container .doctor-text p,
.container .accordion-inner p,
.container .feature-footer p {
    font-size: 0.8rem;
    line-height: 1.7;
    color: #666;
    text-align: justify;
    margin-top: 10px;
}

#solution .onayami-txt {
    font-size: 1.1rem;
}
   }  


/* ================= 共通アニメーション ================= */
.fade-in { opacity: 0; transform: translateY(30px); transition: 0.8s ease-out; }
.fade-in.is-visible { opacity: 1; transform: translateY(0); }
.reason-item:nth-child(1) { transition-delay: 0.1s; }
.reason-item:nth-child(2) { transition-delay: 0.3s; }
.reason-item:nth-child(3) { transition-delay: 0.5s; }
.reason-item:nth-child(4) { transition-delay: 0.7s; }


/* ================= テーブル・その他 ================= */
.info-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; background: #fff; }
.info-table th, .info-table td { border: 1px solid #e0dcd6; padding: 8px 2px; text-align: center; }
.info-table thead th { background-color: #d8cfc4; color: #fff; }
.info-table .time-col { background-color: #bcae9e; color: #fff; width: 90px; 
}

@media (min-width: 768px) {
    #other-prices .accordion-container { padding: 0 10px; }
} 