/* =========================================
   Reset & Base Styles (Integrated)
   ========================================= */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Colors */
    --color-primary: #a88e72;
    --color-secondary: #e5d6c7;
    --color-text-main: #585858;
    --color-text-light: #787878;
    --color-bg-light: #f9f7f5;
    --color-white: #ffffff;
    --color-line-green: #06c755;
    --color-border: #dadada;

    /* Gold for Authority (Cataract Specific) */
    --color-gold: #c5a059;
    --color-gold-light: #fcf8e3;
    --color-qa-bg: #F9F7F5; /* Q&Aカード用背景色 */

    /* Fonts */
    --font-base: "Yu Gothic", YuGothic, "Noto Sans JP", sans-serif;
    --font-mincho: "Shippori Mincho", serif;
    --font-en: "Montserrat", sans-serif;
}

body {
    font-family: var(--font-base);
    color: var(--color-text-main);
    line-height: 1.8;
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    padding-top: 70px;
}

@media (max-width: 768px) {
    body {
        padding-top: 130px;
    }
}

@media (max-width: 1200px) {
    body {
        padding-bottom: 0 !important;
    }
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.8;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

/* Utility Classes */
.u-pc-only { display: block !important; }
.u-sp-only { display: none !important; }
.u-text-small { font-size: 0.8em; font-weight: normal; }

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

.u-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =========================================
   Component: Buttons (Integrated)
   ========================================= */
.c-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 16px 20px;
    font-weight: 700;
    border-radius: 4px;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    white-space: nowrap;
}

/* LINE Button (Green) */
.c-btn--line {
    background-color: var(--color-line-green);
    color: var(--color-white);
    width: 100%;
    max-width: 380px;
    font-size: 18px;
    transition: opacity 0.3s ease;
}

.c-btn--line:hover {
    color: var(--color-white);
    opacity: 0.7;
}

.c-btn--line::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    margin-right: 12px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M12 .5C5.6 .5.5 4.9.5 10.3c0 4.8 4.3 8.8 10 9.6.4.1.9.3 1.1.6.1.3.1.8 0 1.1l-.2 1c0 .3-.2 1.2 1 1 1.3-.6 6.9-4.1 9.4-7 1.5-1.7 2.2-3.8 2.2-6.3C24 4.9 18.4 .5 12 .5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

@media (max-width: 768px) {
    .c-btn--line {
        font-size: 14px;
        padding: 16px 10px;
    }
    .c-btn--line::before {
        width: 20px;
        height: 20px;
        margin-right: 8px;
    }
}

/* =========================================
   Layout: Header (Integrated & Custom)
   ========================================= */
.lp-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    z-index: 1000;
    padding: 12px 0;
}

.lp-header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.lp-header__logo {
    width: 200px;
}

.lp-header__logo img {
    width: 100%;
    height: auto;
}

.lp-header__actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.lp-header__tel {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    line-height: 1.2;
}

/* ヘッダーテキスト (Multifocal Custom) */
.lp-header__tel-label {
    font-size: 13px;
    color: var(--color-text-main);
    font-weight: 500;
    display: block;
    padding: 4px 0;
}

/* ヘッダーボタン (LINE予約 / Multifocal Custom) */
.lp-header__btn {
    background-color: var(--color-line-green);
    color: #fff;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    transition: opacity 0.3s ease;
}

.lp-header__btn:hover {
    opacity: 0.7;
    color: #fff;
}

.lp-header__btn::before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-right: 8px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M12 .5C5.6 .5.5 4.9.5 10.3c0 4.8 4.3 8.8 10 9.6.4.1.9.3 1.1.6.1.3.1.8 0 1.1l-.2 1c0 .3-.2 1.2 1 1 1.3-.6 6.9-4.1 9.4-7 1.5-1.7 2.2-3.8 2.2-6.3C24 4.9 18.4 .5 12 .5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

@media (max-width: 768px) {
    .lp-header {
        padding: 10px 0;
    }

    .lp-header__inner {
        flex-direction: column;
        justify-content: center;
        padding: 0 15px;
    }

    .lp-header__logo {
        margin-bottom: 5px;
        width: 160px;
    }

    .lp-header__actions {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 8px;
    }

    .lp-header__tel {
        width: 100%;
        align-items: center;
        justify-content: center;
        background-color: transparent;
        border: none;
        padding: 0;
        height: auto;
    }

    .lp-header__tel-label {
        font-size: 12px;
        margin-bottom: 4px;
        line-height: 1.2;
        text-align: center;
        font-weight: 700;
        padding: 4px 0;
    }

    .lp-header__btn {
        width: 100%;
        padding: 10px;
        font-size: 12px;
        height: auto;
    }
}

/* =========================================
   Layout: Main Visual (FV) (Integrated & Custom)
   ========================================= */
.lp-fv {
    position: relative;
    background-color: var(--color-bg-light);
    padding: 60px 0;
    overflow: hidden;
}

.lp-fv__container {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: center;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.lp-fv__image-wrapper {
    flex: 1;
    position: relative;
}

.lp-fv__image {
    /* border-radius: 8px 50px 8px 8px;
    box-shadow: 20px 20px 0 var(--color-secondary);*/
}

.lp-fv__content {
    flex: 1;
}

.lp-fv__copy-main {
    font-family: var(--font-mincho);
    font-size: 32px;
    font-weight: 700;
    line-height: 1.6;
    margin-bottom: 16px;
    color: var(--color-text-main);
}

.lp-fv__copy-sub {
    font-size: 16px;
    color: var(--color-text-light);
    margin-bottom: 32px;
}

.lp-fv__cta .c-btn {
    white-space: normal;
    text-align: center;
    line-height: 1.5;
    height: auto;
    padding: 15px 30px;
    min-height: 60px;
}

@media (max-width: 768px) {
    .lp-fv__container {
        flex-direction: column;
        margin-top: 40px;
    }
    .lp-fv__copy-main {
        font-size: 20px;
    }
    .lp-fv__image {
        /*box-shadow: 10px 10px 0 var(--color-secondary);*/
    }
}

/* 白内障FV用バッジ（画像に合わせて修正） */
.lp-fv__badges {
    display: flex;
    flex-direction: column; /* 縦並びに */
    gap: 12px;
    margin-bottom: 30px;
    width: 100%;
}

.lp-fv__badge-item {
    font-size: 15px;
    font-weight: 700;
    color: #8c7356; /* 濃いめの茶色（強すぎない程度に） */
    background: linear-gradient(90deg, #fffdf5, #f9eac5); /* 淡いゴールドのグラデーション */
    border: none;
    border-left: 5px solid var(--color-gold); /* 左側のゴールドライン */
    padding: 15px 20px;
    border-radius: 0 4px 4px 0; /* 左は直角、右は少し丸く */
    box-shadow: 0 3px 6px rgba(0,0,0,0.08); /* 影 */
    width: 100%;
    display: flex;
    align-items: center;
    line-height: 1.4;
}

/* ★アイコンの追加 */
.lp-fv__badge-item::before {
    content: '★';
    color: var(--color-gold);
    margin-right: 12px;
    font-size: 16px;
    position: relative;
    top: -1px;
}

/* =========================================
   Section: QA
   ========================================= */
.lp-qa {
    padding: 50px 0;
    background-color: #ffffff; /* セクション背景を白に変更 */
}

.lp-section-title {
    text-align: center;
    font-family: var(--font-mincho);
    font-size: 32px;
    color: var(--color-text-main);
    margin-bottom: 60px;
}

.lp-section-title span {
    display: block;
    font-family: var(--font-en);
    color: var(--color-primary);
    font-size: 14px;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.lp-qa__list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.lp-qa__item {
    background-color: var(--color-qa-bg); /* 背景を薄いクリーム色に変更 */
    border-radius: 8px;
    padding: 40px; /* 余白を少し広めに */
    box-shadow: none; /* 画像に合わせてシャドウを削除 */
}

.lp-qa__q {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 20px;
    display: flex;
    align-items: baseline; /* ベースライン揃え */
    gap: 15px;
    line-height: 1.6;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(168, 142, 114, 0.2); /* 区切り線 */
}

.lp-qa__q::before {
    content: 'Q.';
    font-family: var(--font-en);
    font-size: 24px;
    font-weight: 700;
    flex-shrink: 0;
    line-height: 1;
}

.lp-qa__a {
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-text-main);
    display: flex;
    align-items: baseline; /* ベースライン揃え */
    gap: 15px;
    padding-left: 0; /* インデント削除 */
}

/* A. を疑似要素で追加 */
.lp-qa__a::before {
    content: 'A.';
    font-family: var(--font-en);
    font-size: 24px;
    font-weight: 700;
    color: var(--color-text-main);
    flex-shrink: 0;
    line-height: 1;
}

@media (max-width: 768px) {
    .lp-qa__item {
        padding: 25px;
    }
    .lp-qa__q {
        font-size: 16px;
        gap: 10px;
    }
    .lp-qa__q::before {
        font-size: 20px;
    }
    .lp-qa__a {
        margin-top: 5px;
        font-size: 14px;
        gap: 10px;
    }
    .lp-qa__a::before {
        font-size: 20px;
    }
}

/* =========================================
   Section: Features (Reason)
   ========================================= */
.lp-reason {
    padding: 50px 0;
    background-color: var(--color-bg-light); /* セクション背景色を変更 */
}

.lp-reason__list {
    display: flex;
    flex-direction: column;
    gap: 40px; /* カード間の余白 */
    max-width: 1000px;
    margin: 0 auto;
}

.lp-reason__item {
    display: flex;
    align-items: center;
    gap: 50px; /* 画像とテキストの間隔 */
    background: #fff; /* カード背景色 */
    padding: 50px; /* カード内余白 */
    border-radius: 8px; /* 角丸 */
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); /* 影 */
}

.lp-reason__item:nth-child(even) {
    flex-direction: row-reverse;
}

.lp-reason__image {
    flex: 1;
    min-width: 300px;
}

.lp-reason__image img {
    border-radius: 4px;
    width: 100%;
    height: auto;
    box-shadow: none; /* 画像自体のシャドウは削除 */
}

.lp-reason__content {
    flex: 1;
}

.lp-reason__no {
    font-family: var(--font-en);
    color: var(--color-primary);
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    letter-spacing: 0.1em;
}

.lp-reason__title {
    font-family: var(--font-mincho);
    font-size: 24px;
    margin-bottom: 20px;
    line-height: 1.5;
    color: var(--color-text-main);
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 16px;
}

.lp-reason__text {
    font-size: 16px;
    color: var(--color-text-main);
    line-height: 1.8;
}

@media (max-width: 768px) {
    .lp-reason__item {
        flex-direction: column;
        gap: 30px;
        padding: 30px;
    }
    .lp-reason__item:nth-child(even) {
        flex-direction: column;
    }
    .lp-reason__image {
        width: 100%;
        min-width: auto;
        display: flex;
    }
    .lp-reason__title {
        font-size: 18px;
        text-align: center;
    }
}

/* =========================================
   Section: Doctor
   ========================================= */
.lp-doctor {
    padding: 50px 0;
    background-color: #fff;
}

.lp-doctor__inner {
    display: flex;
    align-items: center;
    gap: 50px;
    background-color: var(--color-bg-light);
    padding: 50px;
    border-radius: 8px;
    box-shadow: none;
    max-width: 1000px;
    margin: 0 auto;
}

.lp-doctor__image {
    flex: 1;
    max-width: 350px;
}

.lp-doctor__image img {
    border-radius: 4px;
    width: 100%;
    height: auto;
}

.lp-doctor__content {
    flex: 1.5;
}

.lp-doctor__role {
    display: inline-block;
    background-color: transparent; /* 背景色不要 */
    color: var(--color-primary); /* 茶色文字 */
    font-size: 12px;
    font-weight: 700;
    padding: 0;
    margin-bottom: 5px;
}

.lp-doctor__name {
    font-family: var(--font-mincho);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    align-items: baseline;
    gap: 15px;
}

.lp-doctor__name span {
    font-size: 14px;
    font-weight: normal;
}

.lp-doctor__bio {
    font-size: 14px;
    color: var(--color-text-light);
    margin-bottom: 20px;
    line-height: 1.6;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 20px;
}

.lp-doctor__message {
    font-size: 16px;
    font-style: normal; /* 斜体不要 */
    line-height: 2;
}

@media (max-width: 768px) {
    .lp-doctor__inner {
        flex-direction: column;
        padding: 30px 20px;
    }
    .lp-doctor__image {
        max-width: 250px;
        width: 100%;
    }
    .lp-doctor__name {
        font-size: 22px;
        flex-direction: row;
        gap: 8px;
        justify-content: center;
        text-align: center;
        align-items: baseline;
    }
    /* SPで医師名横の改行を無効化して横並びにする */
    .lp-doctor__name br {
        display: none !important;
    }
    .lp-doctor__message {
        font-size: 15px;
    }
}

/* =========================================
   Section: CTA Area (Standard Design)
   ========================================= */
.lp-fixed-cta {
    width: 100%;
    background-color: var(--color-bg-light);
    padding: 40px 20px;
    text-align: center;
}

@media (max-width: 768px) {
    .lp-cta-area {
        padding: 60px 20px;
    }
    .lp-cta-area__title {
        font-size: 24px;
    }
}

/* =========================================
   Layout: Footer (Integrated)
   ========================================= */
.lp-footer {
    background-color: #fbfbfb;
    padding: 60px 0;
    border-top: 1px solid var(--color-border);
}

.lp-footer__inner {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.lp-footer__info {
    flex: 1;
    min-width: 300px;
}

.lp-footer__logo {
    width: 220px;
    margin-bottom: 20px;
}

.lp-footer__address {
    font-style: normal;
    font-size: 14px;
    margin-bottom: 24px;
}

.lp-footer__payment {
    font-size: 13px;
    color: var(--color-text-light);
    background: #fff;
    padding: 12px;
    border: 1px solid #eee;
    display: inline-block;
}

.lp-footer__payment-title {
    font-weight: 700;
    color: var(--color-text-main);
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
}

.lp-footer__payment-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.lp-footer__payment-list li {
    position: relative;
    padding-left: 1em;
    margin-bottom: 4px;
    line-height: 1.5;
}

.lp-footer__payment-list li::before {
    content: '・';
    position: absolute;
    left: 0;
    color: var(--color-text-light);
}

.lp-footer__payment-list li:last-child {
    margin-bottom: 0;
}

.lp-footer__map {
    flex: 1;
    min-width: 300px;
}

.lp-footer__map iframe {
    width: 100%;
    height: 250px;
    border: none;
}

.lp-schedule {
    margin-top: 40px;
    width: 100%;
}

.lp-schedule__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    background-color: #fff;
}

.lp-schedule__table th,
.lp-schedule__table td {
    border: 1px solid var(--color-border);
    padding: 10px;
    text-align: center;
    vertical-align: middle;
}

.lp-schedule__table th {
    background-color: var(--color-bg-light);
    font-weight: normal;
}

.u-color-sun { color: var(--color-accent-red, #e41c24); }
.u-color-sat { color: var(--color-accent-blue, #0071b3); }

/* Table Icons */
.circle {
    display: inline-block;
    width: 15px;
    height: 15px;
    border: 2px solid var(--color-primary);
    border-radius: 50%;
}

.dash {
    display: inline-block;
    width: 12px;
    height: 1px;
    background-color: var(--color-border);
    vertical-align: middle;
}

.triangle {
    display: inline-block;
    position: relative;
    top: -1px;
    width: 0;
    height: 0;
    border: 9px solid transparent;
    border-bottom: 16px solid var(--color-primary);
    border-radius: 1px;
}

.triangle::after {
    content: '';
    position: absolute;
    left: -6px;
    top: -2px;
    width: 0;
    height: 0;
    border: 6px solid transparent;
    border-bottom: 10px solid #fff;
}
