@charset "UTF-8";

/* Pricing cards */
.pricing-section {
    background-color: #f7f7f7;
    padding: 50px 0;
}

.pricing-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.pricing-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    padding: 20px;
    position: relative;
    text-align: center;
    transition:
        transform 0.3s ease-in-out,
        box-shadow 0.3s ease-in-out;
}

.pricing-container .pricing-card {
    flex: 1;
    max-width: 400px;
    min-width: 300px;
}

.pricing-card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    transform: translateY(-10px);
}

.pricing-header {
    background-color: var(--kc);
    border-radius: 10px 10px 0 0;
    color: #fff;
    padding: 20px 0;
    position: relative;
}

.pricing-plan {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
}

.pricing-price {
    background-color: var(--kc);
    border-radius: 5px;
    color: #fff;
    font-size: 28px;
    font-weight: bold;
    margin: 10px 0;
    padding: 10px;
}

.pricing-description {
    color: #555;
    font-weight: bold;
    margin: 15px 0;
}

.pricing-features {
    list-style: none;
    margin: 20px 0;
    padding: 0;
    text-align: left;
}

.pricing-features li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.pricing-features li::before {
    color: var(--kc);
    content: "✓";
    font-weight: bold;
    left: 0;
    position: absolute;
}

.badge {
    background-color: #ff4b4b;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    padding: 5px 10px;
    position: absolute;
    right: 10px;
    top: 10px;
}
.c-visual-sub__image {
    background-position: top !important;
}
/* Box accents */
.c-box-border {
    background-color: #fff;
    border: var(--border, 5px solid var(--scd));
    border-radius: 10px;
    margin-bottom: 20px;
    padding: 20px;
}

.fa-check-circle {
    color: #008000;
    margin-right: 10px;
}

/* Footer/order-made footer */
.company-link i {
    color: #fff;
    font-size: 0.8em;
    margin-left: 5px;
}

/* Common UI overrides */
.g-pagetop a {
    background: var(--kc);
}

.c-btn--contact {
    background: linear-gradient(to bottom, #ff7e00, #e06800) !important;
}

.p-common-texture::after {
    background-color: #b8ddff;
}

.c-headline-compact .c-headline-compact__ttl::first-letter {
    color: var(--kc);
}

.p-contact .g-form {
    border: 3px dashed var(--kc);
}

/* Sitemap */
.c-sitemap .nav-item a {
    background-color: var(--kc);
    border: 1px solid #333;
    color: #fff;
}

.c-sitemap .nav-item a::after {
    background-image: none;
}

.c-sitemap .nav-item a .c-btn-simple__icon,
.c-sitemap .nav-item a i {
    color: #fff;
}
body.lai-cursor--native #cursor,
body.lai-cursor--native #stalker {
    display: none;
}

/* about.php FEATURE アイコンサークル */
.c-feature-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(var(--kc-rgb), 0.1);
    color: var(--kc);
    font-size: 30px;
}

@media (min-width: 992px) {
    .c-feature-icon {
        width: 96px;
        height: 96px;
        font-size: 40px;
    }
}

/* FAQ アコーディオン（faq投稿タイプ／first.php 等で使用） */
.c-faq-acc {
    margin: 0 auto;
    max-width: 980px;
}

.c-faq-acc__item {
    border-bottom: 2px solid var(--kc);
}

.c-faq-acc__item:first-child {
    border-top: 2px solid var(--kc);
}

.c-faq-acc__item[open] {
    background: rgba(var(--kc-rgb), 0.1);
}

.c-faq-acc__q {
    align-items: center;
    cursor: pointer;
    display: grid;
    gap: 20px;
    grid-template-columns: 48px minmax(0, 1fr) 34px;
    list-style: none;
    min-height: 86px;
    padding: 18px 28px;
}

.c-faq-acc__q::-webkit-details-marker {
    display: none;
}

.c-faq-acc__mark,
.c-faq-acc__a-mark {
    align-items: center;
    border-radius: 50%;
    display: inline-flex;
    font-size: 22px;
    font-weight: 900;
    height: 48px;
    justify-content: center;
    line-height: 1;
    width: 48px;
}

.c-faq-acc__mark {
    background: var(--kc);
    color: #fff;
}

.c-faq-acc__a-mark {
    background: rgba(var(--kc-rgb), 0.18);
    color: var(--kc);
}

.c-faq-acc__q-text {
    color: var(--fc);
    font-size: clamp(14px, 1.3vw, 17px);
    font-weight: 400;
    line-height: 1.6;
    margin: 0;
    text-align: left;
}

.c-faq-acc__toggle {
    color: var(--kc);
    display: block;
    height: 34px;
    position: relative;
    width: 34px;
}

.c-faq-acc__toggle::before,
.c-faq-acc__toggle::after {
    background: currentColor;
    content: "";
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
}

.c-faq-acc__toggle::before {
    height: 3px;
    width: 24px;
}

.c-faq-acc__toggle::after {
    height: 24px;
    transition: transform 0.2s ease;
    width: 3px;
}

.c-faq-acc__item[open] .c-faq-acc__toggle::after {
    transform: translate(-50%, -50%) scaleY(0);
}

.c-faq-acc__a {
    display: grid;
    gap: 20px;
    grid-template-columns: 48px minmax(0, 1fr) 34px;
    padding: 26px 28px 32px;
}

.c-faq-acc__a-body {
    color: var(--fc);
    font-size: clamp(13px, 1.25vw, 17px);
    font-weight: 400;
    line-height: 2;
    text-align: left;
}

.c-faq-acc__a-body > :last-child {
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .c-faq-acc__q {
        gap: 12px;
        grid-template-columns: 38px minmax(0, 1fr) 28px;
        min-height: 72px;
        padding: 14px 0;
    }

    .c-faq-acc__mark,
    .c-faq-acc__a-mark {
        font-size: 18px;
        height: 38px;
        width: 38px;
    }

    .c-faq-acc__toggle {
        height: 28px;
        width: 28px;
    }

    .c-faq-acc__toggle::before {
        width: 20px;
    }

    .c-faq-acc__toggle::after {
        height: 20px;
    }

    .c-faq-acc__a {
        gap: 12px;
        grid-template-columns: 38px minmax(0, 1fr);
        padding: 20px 0 24px;
    }

    .c-faq-acc__a-body {
        line-height: 1.8;
    }
}

/* 写真フル幅カード（ifa.php POINT 等） */
.c-point-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    transition:
        box-shadow 0.3s ease,
        transform 0.3s ease;
}

.c-point-card:hover {
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

.c-point-card__media {
    overflow: hidden;
}

.c-point-card__media .c-image {
    margin: 0;
}

.c-point-card__media .c-image__src {
    transition: transform 0.6s ease;
}

.c-point-card:hover .c-point-card__media .c-image__src {
    transform: scale(1.06);
}

.c-point-card__body {
    padding: 24px 20px;
}

/* 縦タイムライン（aifa.php 1日の流れ 等） */
.c-timeline {
    max-width: 820px;
    margin: 0 auto;
    padding-left: 0;
    list-style: none;
}

.c-timeline__item {
    position: relative;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 20px;
    padding-bottom: 32px;
}

.c-timeline__item:last-child {
    padding-bottom: 0;
}

.c-timeline__item:not(:last-child)::before {
    content: "";
    position: absolute;
    top: 0;
    left: 24px;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: rgba(var(--kc-rgb), 0.3);
}

.c-timeline__num {
    position: relative;
    z-index: 1;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--kc);
    color: #fff;
    font-weight: 900;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.c-timeline__body {
    padding-top: 6px;
}

/* ページ内ナビチップ（treatment-list.php 症状ナビ等） */
.c-navchip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 44px;
    padding: 8px 14px;
    border: 1.5px solid var(--kc);
    border-radius: 999px;
    background: #fff;
    color: var(--kc);
    font-weight: bold;
    line-height: 1.3;
    text-align: center;
    transition:
        background-color 0.25s ease,
        color 0.25s ease;
}

.c-navchip:hover {
    background: var(--kc);
    color: #fff;
    text-decoration: none;
}

.c-navchip__icon {
    font-size: 0.85em;
    transition: transform 0.25s ease;
}

.c-navchip:hover .c-navchip__icon {
    transform: translateY(2px);
}

/* セクション背景の淡いリズム（のっぺり防止） */
.c-bg-tint {
    background-color: #eef4fb !important;
}

/* recruit 働く魅力カード（写真付き華やか版） */
.c-reason-card {
    position: relative;
    height: 100%;
    overflow: hidden;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.c-reason-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 34px rgba(var(--sc-rgb), 0.16);
}

.c-reason-card__media {
    margin: 0;
    overflow: hidden;
}

.c-reason-card__media .c-image__src {
    transition: transform 0.6s ease;
}

.c-reason-card:hover .c-reason-card__media .c-image__src {
    transform: scale(1.05);
}

.c-reason-card__body {
    position: relative;
    padding: 24px 22px 26px;
}

.c-reason-card__no {
    position: absolute;
    top: 10px;
    right: 16px;
    font-size: 56px;
    font-weight: 800;
    font-style: italic;
    line-height: 1;
    color: rgba(var(--sc-rgb), 0.12);
    pointer-events: none;
}

.c-reason-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 14px;
    border-radius: 14px;
    background: rgba(var(--sc-rgb), 0.1);
    color: var(--sc);
    font-size: 24px;
}

/* IFA 特徴パネル（番号バナー＋写真テキスト交互） */
.c-feat {
    --pad: clamp(20px, 3vw, 40px);
    position: relative;
    background: #f4f1ea;
    border-radius: 18px;
    overflow: hidden;
    padding: 0 var(--pad) clamp(28px, 3vw, 44px);
    margin-bottom: 40px;
}

.c-feat:last-child {
    margin-bottom: 0;
}

.c-feat__head {
    width: -moz-fit-content;
    width: fit-content;
    max-width: 100%;
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0 0 clamp(20px, 2.5vw, 32px) calc(-1 * var(--pad));
    padding: 16px 48px 16px 22px;
    background: #2b2b2b;
    color: #fff;
    clip-path: polygon(0 0, 100% 0, calc(100% - 26px) 100%, 0 100%);
}

.c-feat__num {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--sc);
    color: #fff;
    font-weight: 800;
    font-size: 22px;
    line-height: 1;
}

.c-feat__ttl {
    margin: 0;
    font-weight: 700;
    font-size: clamp(16px, 1.7vw, 20px);
    line-height: 1.4;
}

.c-feat__content {
    display: flex;
    align-items: center;
    gap: clamp(20px, 3vw, 40px);
}

.c-feat__text {
    flex: 1 1 54%;
    min-width: 0;
}

.c-feat__media {
    flex: 1 1 46%;
    min-width: 0;
}

.c-feat__media .c-image {
    margin: 0;
}

/* 偶数：バナー右・写真左に反転 */
.c-feat--rev .c-feat__head {
    margin-left: auto;
    margin-right: calc(-1 * var(--pad));
    padding: 16px 22px 16px 48px;
    flex-direction: row-reverse;
    clip-path: polygon(26px 0, 100% 0, 100% 100%, 0 100%);
}

.c-feat--rev .c-feat__content {
    flex-direction: row-reverse;
}

@media (max-width: 767px) {
    .c-feat__content,
    .c-feat--rev .c-feat__content {
        flex-direction: column;
    }

    .c-feat__text,
    .c-feat__media {
        flex: 1 1 auto;
        width: 100%;
    }

    .c-feat__media {
        margin-top: 16px;
    }

    .c-feat--rev .c-feat__head {
        margin-left: calc(-1 * var(--pad));
        margin-right: 0;
        flex-direction: row;
        padding: 16px 48px 16px 22px;
        clip-path: polygon(0 0, 100% 0, calc(100% - 26px) 100%, 0 100%);
    }
}

/* 料金表：全表で左右の列幅を揃える */
.c-table--price {
    table-layout: fixed;
}

.c-table--price th {
    width: 58%;
}

.c-table--price td {
    width: 42%;
}

/* 受付時間テーブル：SPで潰れないよう横スクロール表示にする */
.c-table--schedule {
    min-width: 600px;
}

.c-table--schedule th,
.c-table--schedule td {
    white-space: nowrap;
    padding: 10px 8px;
}

/* p-common-flow: 長い見出し（カウンセリング等）が折り返して段落ちしないように */
.p-common-flow__ttl {
    white-space: nowrap;
}

/* p-common-flow: body の三角形の背景（#f5f5f5）を消す */
.p-common-flow .p-common-flow__body:after {
    background-color: transparent;
}

/* treatment-list: 症状セクション（お悩み→解決の対比） */

/* 交互セクションに淡い背景色でリズムをつける */
.p-symptom--tint {
    background-color: #eef4fb !important;
}

/* お悩みカード（バッジ付きボックス） */
.c-symptom-worry {
    position: relative;
    margin-top: 40px;
    background: #fff;
    border: 1px solid #e6e8ee;
    border-radius: 14px;
    padding: 28px 20px 20px;
}

/* バッジ無し版：上部の余白を詰める */
.c-symptom-worry--plain {
    margin-top: 0;
    padding-top: 24px;
}

.c-symptom-worry__badge {
    position: absolute;
    top: -15px;
    left: 20px;
    display: inline-block;
    background: var(--sc);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.2;
    padding: 6px 18px;
    border-radius: 999px;
    box-shadow: 0 3px 10px rgba(0, 91, 172, 0.22);
}

/* バッジ上のキラッとした装飾線 */
.c-symptom-worry__badge::before {
    content: "";
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
    width: 38px;
    height: 13px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='38' height='13' viewBox='0 0 38 13'%3E%3Cg stroke='%23005bac' stroke-width='2' stroke-linecap='round'%3E%3Cline x1='8' y1='12' x2='5' y2='3'/%3E%3Cline x1='19' y1='12' x2='19' y2='2'/%3E%3Cline x1='30' y1='12' x2='33' y2='3'/%3E%3C/g%3E%3C/svg%3E") no-repeat center / contain;
}

.c-symptom-worry__list {
    list-style: none;
    padding-left: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 11px 20px;
}

.c-symptom-worry__list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.6;
    font-size: 15px;
    font-weight: 500;
}

.c-symptom-worry__list li i {
    flex: 0 0 auto;
    margin: 2px 0 0;
    color: var(--sc);
    font-size: 17px;
}

@media (max-width: 575px) {
    .c-symptom-worry__list {
        grid-template-columns: 1fr;
    }
}

/* 当院のアプローチカード（After：ブランドカラー主役） */
.c-symptom-approach {
    background: #fff;
    border: 1px solid rgba(var(--sc-rgb), 0.25);
    border-radius: 14px;
    padding: 26px 24px;
    box-shadow: 0 10px 26px rgba(var(--sc-rgb), 0.08);
}

.c-symptom-approach__ttl {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 12px;
    font-weight: 800;
    font-size: 18px;
    color: var(--sc);
}

.c-symptom-approach__ttl i {
    font-size: 22px;
}

.c-symptom-approach__lead {
    line-height: 1.9;
}

.c-symptom-approach__sub {
    padding: 16px 18px;
    background: #f6f8fb;
    border: 1px solid #e7ebf1;
    border-radius: 10px;
}

.c-symptom-approach__sub p:last-child {
    margin-bottom: 0;
}

/* 料金の目安（独立ブロック） */
.c-symptom-price {
    padding: 18px 22px;
    background: rgba(0, 91, 172, 0.05);
    border: 1px solid rgba(0, 91, 172, 0.16);
    border-radius: 12px;
}

.c-symptom-price__label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 8px;
    font-weight: 700;
    font-size: 15px;
    color: var(--sc);
}

.c-symptom-price__label i {
    color: var(--sc);
}

.c-symptom-price__text {
    margin: 0;
    line-height: 1.8;
}

.c-symptom-approach__label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 6px;
    font-weight: 700;
    font-size: 15px;
    color: var(--fc);
}

.c-symptom-approach__label i {
    color: var(--sc);
    font-size: 14px;
}

@media (min-width: 992px) {
    .p-common-flow .p-common-flow__ttl {
        font-size: 1.6rem;
    }
}

@media (max-width: 767px) {
    .c-timeline__item {
        grid-template-columns: 40px minmax(0, 1fr);
        gap: 14px;
        padding-bottom: 24px;
    }

    .c-timeline__item:not(:last-child)::before {
        left: 20px;
    }

    .c-timeline__num {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}
