@charset "UTF-8";

/* ========================================
   ABC Dental 受け口（反対咬合）解説ページCSS
   Theme: Luxury, Trust, Calm (Imperial Hotel / Lexus Style)
   ======================================== */

.abc-underbite {
    /* Variables */
    --abc-color-primary: #005bac;
    --abc-color-primary-dark: #004182;
    --abc-color-navy: #002b55;
    --abc-color-gold: #c5a059;
    --abc-color-gold-light: #e6dcc5;
    --abc-color-beige: #f9f8f4;
    --abc-color-text: #333333;
    --abc-color-text-light: #666666;
    --abc-color-white: #ffffff;
    --abc-font-sans: "Helvetica Neue", "Arial", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Meiryo", sans-serif;

    --abc-shadow-soft: 0 10px 40px -10px rgba(0, 0, 0, 0.08);
    --abc-shadow-hover: 0 15px 45px -10px rgba(0, 91, 172, 0.15);

    --abc-section-padding: 120px 24px;
    --abc-section-padding-mobile: 80px 20px;

    /* Base Styles */
    font-family: var(--abc-font-primary);
    font-weight: 300;
    color: var(--abc-color-text);
    line-height: 1.8;
    background-color: var(--abc-color-white);
    font-feature-settings: "palt";
}

.abc-underbite * {
    box-sizing: border-box;
}

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

/* 全リンクの下線を削除 */
/* !important はテーマスタイル上書きのため必要 */
.abc-underbite a {
    text-decoration: none !important;
}

/* ----------------------------------------
   Typography
   ---------------------------------------- */

/* 見出し改行制御 */
.abc-underbite h2 {
    font-family: var(--abc-font-primary) !important;
    font-size: clamp(24px, 4vw, 32px) !important;
    font-weight: 500 !important;
    color: var(--abc-color-navy) !important;
    letter-spacing: 0.05em !important;
    line-height: 1.5;
    margin-bottom: 24px !important;
    position: relative;
    display: inline-block !important;
    word-break: keep-all;
    overflow-wrap: break-word;
}

.abc-underbite h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 1px;
    background: var(--abc-color-gold);
    margin: 16px auto 0;
}

.abc-underbite .abc-heading-unit {
    display: inline-block;
    white-space: nowrap;
}

@media (max-width: 400px) {
    .abc-underbite h2 {
        font-size: 20px !important;
    }

    .abc-underbite .abc-heading-unit {
        display: block;
        white-space: normal;
    }
}

.abc-underbite h3 {
    font-family: var(--abc-font-primary) !important;
    font-weight: 500 !important;
    color: var(--abc-color-text) !important;
    letter-spacing: 0.05em !important;
    line-height: 1.5;
    margin-bottom: 16px;
}

.abc-underbite p {
    margin-bottom: 0;
    font-weight: 300;
}

/* ----------------------------------------
   Components
   ---------------------------------------- */

/* Buttons */
.abc-underbite .abc-btn {
    display: inline-block;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    font-family: var(--abc-font-primary);
    letter-spacing: 0.1em;
    border-radius: 50px;
    text-align: center;
}

.abc-underbite .abc-btn:hover {
    transform: translateY(-2px);
}

.abc-underbite .abc-btn--primary {
    background: linear-gradient(135deg, #005bac 0%, #004182 100%);
    color: #ffffff;
    padding: 18px 48px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 91, 172, 0.3);
    font-weight: 600;
    font-size: 15px;
}

.abc-underbite .abc-btn--primary:hover {
    box-shadow: 0 8px 25px rgba(0, 91, 172, 0.4);
    background: linear-gradient(135deg, #004c99 0%, #003366 100%);
}

.abc-underbite .abc-btn--outline {
    background: transparent;
    color: var(--abc-color-text);
    padding: 16px 40px;
    border: 2px solid var(--abc-color-gold);
    font-weight: 600;
    font-size: 15px;
}

.abc-underbite .abc-btn--outline:hover {
    border-color: var(--abc-color-primary);
    color: var(--abc-color-primary);
    background: rgba(255, 255, 255, 0.8);
}

.abc-underbite .abc-btn--link {
    color: var(--abc-color-primary);
    background: transparent;
    padding: 0;
    font-weight: 600;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.abc-underbite .abc-btn--link:hover {
    transform: translateX(4px);
    opacity: 0.8;
}

.abc-underbite .abc-btn--link .arrow::after {
    content: "→";
    font-family: sans-serif;
    font-weight: normal;
}

.abc-underbite .abc-btn--white {
    background: linear-gradient(135deg, #c5a059 0%, #bfa879 100%);
    color: #ffffff;
    padding: 20px 56px;
    font-weight: 700;
    font-size: 17px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.abc-underbite .abc-btn--white:hover {
    background: linear-gradient(135deg, #d4af67 0%, #c4ac7a 100%);
}


/* Badges */
.abc-underbite .abc-badge--label {
    display: inline-block;
    background-color: #fff;
    color: var(--abc-color-gold);
    border: 1px solid var(--abc-color-gold);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: 0.1em;
}

/* Lists */
.abc-underbite .abc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.abc-underbite .abc-list--check .abc-list__item {
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.abc-underbite .abc-list--check .abc-list__item:last-child {
    border-bottom: none;
}

.abc-underbite .abc-list--check .check-icon {
    color: var(--abc-color-gold);
    font-weight: bold;
    font-size: 14px;
}

/* ----------------------------------------
   教育コンテンツカード（イラスト用）
   ---------------------------------------- */
.abc-underbite .illust-card {
    background: var(--abc-color-beige);
    border-radius: 12px;
    padding: 16px;
    box-shadow: var(--abc-shadow-soft);
}

.abc-underbite .illust-card img {
    border-radius: 8px;
    width: 100%;
    height: auto;
}

.abc-underbite .illust-card--centered {
    max-width: 480px;
    margin: 0 auto 60px;
}

.abc-underbite .illust-card--after-cards {
    max-width: 480px;
    margin: 48px auto 0;
}

/* ----------------------------------------
   Sections Common
   ---------------------------------------- */

.abc-underbite .abc-sec {
    padding: var(--abc-section-padding);
}

.abc-underbite .section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.abc-underbite .section-header p {
    color: var(--abc-color-text-light);
    font-size: 16px;
    margin-top: 16px;
}

/* ----------------------------------------
   Hero Section
   ---------------------------------------- */
.abc-underbite .abc-sec--hero {
    background: linear-gradient(to bottom, rgba(249, 248, 244, 0.9) 0%, rgba(255, 255, 255, 0.95) 100%);
    padding: 140px 24px 100px;
    text-align: center;
}

.abc-underbite .hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.abc-underbite .hero-badge {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 0.2em;
    color: var(--abc-color-gold);
    border: 1px solid var(--abc-color-gold);
    padding: 8px 24px;
    border-radius: 50px;
    margin-bottom: 32px;
    background: #fff;
}

.abc-underbite .hero-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 500;
    color: var(--abc-color-navy);
    line-height: 1.4;
    margin-bottom: 32px;
    letter-spacing: 0.05em;
}

.abc-underbite .hero-subtitle {
    font-size: clamp(16px, 3vw, 18px);
    color: var(--abc-color-text-light);
    line-height: 2;
    margin-bottom: 48px;
}

.abc-underbite .hero-badges {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    font-size: 14px;
    color: var(--abc-color-text-light);
}

.abc-underbite .dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: var(--abc-color-gold);
    border-radius: 50%;
    margin-right: 8px;
}

/* ----------------------------------------
   About Section
   ---------------------------------------- */
.abc-underbite .abc-sec--about {
    background-color: var(--abc-color-white);
}

.abc-underbite .about-content {
    max-width: 1000px;
    margin: 0 auto;
}

.abc-underbite .about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 768px) {
    .abc-underbite .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.abc-underbite .about-text h3 {
    font-size: 24px;
    color: var(--abc-color-navy);
    margin-bottom: 24px;
}

.abc-underbite .about-text p {
    margin-bottom: 24px;
    line-height: 2;
}

.abc-underbite .about-image {
    position: relative;
}

/* ----------------------------------------
   Causes Section
   ---------------------------------------- */
.abc-underbite .abc-sec--causes {
    background-color: var(--abc-color-beige);
}

.abc-underbite .causes-content {
    max-width: 1000px;
    margin: 0 auto;
}

.abc-underbite .cause-item {
    display: flex;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.abc-underbite .cause-item:last-child {
    margin-bottom: 0;
}

.abc-underbite .cause-item--reverse {
    flex-direction: row-reverse;
}

@media (max-width: 768px) {
    .abc-underbite .cause-item,
    .abc-underbite .cause-item--reverse {
        flex-direction: column;
        gap: 32px;
    }
}

.abc-underbite .cause-text {
    flex: 1;
}

.abc-underbite .cause-text h3 {
    font-size: 22px;
    color: var(--abc-color-navy);
    margin-bottom: 24px;
}

.abc-underbite .cause-text p {
    line-height: 2;
}

.abc-underbite .cause-text p a {
    color: var(--abc-color-primary);
    font-weight: 500;
}

.abc-underbite .cause-text p a:hover {
    color: var(--abc-color-primary-dark);
}

.abc-underbite .cause-card {
    flex: 1;
    width: 100%;
}

.abc-underbite .abc-card--reason {
    background-color: #ffffff;
    border: 1px solid var(--abc-color-gold);
    box-shadow: var(--abc-shadow-soft);
    padding: 32px;
    border-radius: 12px;
    position: relative;
}

.abc-underbite .abc-card--reason::before {
    content: "";
    position: absolute;
    top: 4px;
    left: 4px;
    right: 4px;
    bottom: 4px;
    border: 1px solid rgba(197, 160, 89, 0.3);
    border-radius: 8px;
    pointer-events: none;
}

/* ----------------------------------------
   Risks Section
   ---------------------------------------- */
.abc-underbite .abc-sec--risks {
    background-color: var(--abc-color-white);
}

.abc-underbite .risks-content {
    max-width: 1000px;
    margin: 0 auto;
}

.abc-underbite .risks-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 48px;
    line-height: 2;
}

.abc-underbite .risks-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

@media (max-width: 768px) {
    .abc-underbite .risks-grid {
        grid-template-columns: 1fr;
    }
}

.abc-underbite .risk-card {
    background: #fff;
    padding: 32px;
    border-radius: 12px;
    border: 1px solid #f0f0f0;
    box-shadow: var(--abc-shadow-soft);
    text-align: center;
    transition: transform 0.3s ease;
}

.abc-underbite .risk-card:hover {
    transform: translateY(-4px);
    border-color: var(--abc-color-gold-light);
}

.abc-underbite .risk-card .icon {
    margin-bottom: 16px;
    display: block;
}

.abc-underbite .risk-card .icon .abc-badge--label {
    margin-bottom: 0;
}

.abc-underbite .risk-card h4 {
    font-size: 18px;
    color: var(--abc-color-navy);
    font-weight: 600;
    margin-bottom: 12px;
    font-family: var(--abc-font-primary);
}

.abc-underbite .risk-card p {
    font-size: 14px;
    line-height: 1.8;
    color: var(--abc-color-text-light);
}

/* ----------------------------------------
   Benefits Section
   ---------------------------------------- */
.abc-underbite .abc-sec--benefits {
    background-color: var(--abc-color-white);
}

.abc-underbite .benefits-content {
    max-width: 1000px;
    margin: 0 auto;
}

.abc-underbite .benefits-text {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.abc-underbite .benefits-item h3 {
    font-size: 18px;
    color: var(--abc-color-navy);
    margin-bottom: 12px;
}

.abc-underbite .benefits-item p {
    line-height: 2;
}

/* ----------------------------------------
   Age Treatment (Timeline)
   ---------------------------------------- */
.abc-underbite .abc-sec--age-treatment {
    background-color: var(--abc-color-beige);
}

.abc-underbite .age-content {
    max-width: 1000px;
    margin: 0 auto;
}

.abc-underbite .abc-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

/* Vertical Line */
.abc-underbite .abc-timeline::before {
    content: "";
    position: absolute;
    left: 40px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--abc-color-gold) 0%, var(--abc-color-gold-light) 100%);
}

.abc-underbite .abc-timeline__item {
    display: flex;
    gap: 32px;
    margin-bottom: 48px;
    position: relative;
}

.abc-underbite .abc-timeline__item:last-child {
    margin-bottom: 0;
}

/* Mobile responsive timeline */
@media (max-width: 600px) {
    .abc-underbite .abc-timeline::before {
        left: 28px;
    }
    .abc-underbite .abc-timeline__item {
        gap: 16px;
    }
}


.abc-underbite .abc-timeline__marker {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--abc-color-gold) 0%, #a3823d 100%);
    box-shadow: 0 4px 12px rgba(197, 160, 89, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    position: relative;
    z-index: 2;
}

@media (max-width: 600px) {
    .abc-underbite .abc-timeline__marker {
        width: 60px;
        height: 60px;
    }
}

.abc-underbite .abc-timeline__label {
    font-size: 11px;
    letter-spacing: 0.1em;
    font-weight: 600;
    line-height: 1;
    margin-bottom: 4px;
}

.abc-underbite .abc-timeline__number {
    font-size: 20px;
    font-weight: 700;
    font-family: var(--abc-font-primary);
}

.abc-underbite .abc-timeline__content {
    flex: 1;
    background: #fff;
    padding: 32px;
    border-radius: 12px;
    box-shadow: var(--abc-shadow-soft);
    position: relative;
    border: 1px solid rgba(197, 160, 89, 0.2);
}

/* Speech bubble arrow */
.abc-underbite .abc-timeline__content::before {
    content: "";
    position: absolute;
    left: -10px;
    top: 28px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid #fff;
}

.abc-underbite .abc-timeline__content h3 {
    font-size: 18px;
    color: var(--abc-color-navy);
    margin-bottom: 8px;
}

.abc-underbite .abc-timeline__subtitle {
    font-size: 13px;
    font-weight: 600;
    color: var(--abc-color-gold);
    margin-bottom: 16px;
    letter-spacing: 0.05em;
}

.abc-underbite .abc-timeline__note {
    background: var(--abc-color-beige);
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 13px;
    color: #666;
    margin-top: 16px;
    border-left: 3px solid var(--abc-color-gold);
}

/* ----------------------------------------
   Treatments Section
   ---------------------------------------- */
.abc-underbite .abc-sec--treatments {
    background-color: var(--abc-color-white);
}

.abc-underbite .treatments-content {
    max-width: 1000px;
    margin: 0 auto;
}

.abc-underbite .treatment-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

@media (max-width: 768px) {
    .abc-underbite .treatment-grid {
        grid-template-columns: 1fr;
    }
}

.abc-underbite .treatment-card {
    background: #fff;
    padding: 32px;
    border-radius: 12px;
    border: 1px solid #eee;
    box-shadow: var(--abc-shadow-soft);
    position: relative;
    transition: transform 0.3s ease;
}

.abc-underbite .treatment-card:hover {
    transform: translateY(-4px);
    border-color: var(--abc-color-gold-light);
}

.abc-underbite .treatment-card--link {
    display: block;
    color: inherit;
    cursor: pointer;
}

.abc-underbite .treatment-card--link h3 {
    transition: color 0.3s ease;
}

.abc-underbite .treatment-card--link:hover h3 {
    color: var(--abc-color-primary);
}

.abc-underbite .treatment-card h3 {
    font-size: 18px;
    color: var(--abc-color-navy);
    margin-bottom: 12px;
}

.abc-underbite .age-tag {
    display: inline-block;
    background: var(--abc-color-beige);
    color: var(--abc-color-text-light);
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 4px;
    margin-top: 16px;
    font-weight: 600;
}

.abc-underbite .treatment-card__image {
    margin: -32px -32px 24px -32px;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}

.abc-underbite .treatment-card__image img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

/* ----------------------------------------
   FAQ Section
   ---------------------------------------- */
.abc-underbite .abc-sec--faq {
    background-color: var(--abc-color-beige);
    position: relative;
}

.abc-underbite .abc-sec--faq::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--abc-color-gold) 50%, transparent 100%);
}

.abc-underbite .faq-content {
    max-width: 800px;
    margin: 0 auto;
}

.abc-underbite .abc-faq-item {
    background: #ffffff;
    margin-bottom: 16px;
    border-radius: 12px;
    padding: 32px 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.abc-underbite .abc-faq-item h3 {
    font-size: 17px;
    color: var(--abc-color-navy);
    margin-bottom: 16px;
    padding-left: 32px;
    position: relative;
}

.abc-underbite .abc-faq-item h3::before {
    content: "Q";
    position: absolute;
    left: 0;
    top: 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--abc-color-primary);
}

.abc-underbite .abc-faq-item p {
    font-size: 15px;
    line-height: 1.9;
    color: var(--abc-color-text-light);
    padding-left: 32px;
    position: relative;
}

.abc-underbite .abc-faq-item p::before {
    content: "A";
    position: absolute;
    left: 0;
    top: 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--abc-color-gold);
}

.abc-underbite .abc-faq-item p a {
    color: var(--abc-color-primary);
    font-weight: 500;
}

.abc-underbite .abc-faq-item p a:hover {
    color: var(--abc-color-primary-dark);
}

/* ----------------------------------------
   Cases Slider Section (Before/After)
   ---------------------------------------- */
.abc-underbite .abc-sec--cases-slider {
    background-color: var(--abc-color-white);
}

.abc-underbite .cases-slider-content {
    max-width: 1000px;
    margin: 0 auto;
}

/* Before/After ヒーロースライダー */
.abc-underbite .abc-ba-hero {
    max-width: 640px;
    margin: 0 auto 48px;
}

.abc-underbite .abc-ba-hero__slider {
    position: relative;
}

.abc-underbite .abc-ba-hero__slide {
    display: none;
}

.abc-underbite .abc-ba-hero__slide--active {
    display: block;
}

.abc-underbite .abc-ba-hero__img-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 3 / 2;
    cursor: ew-resize;
    user-select: none;
    -webkit-user-select: none;
}

.abc-underbite .abc-ba-hero__img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.abc-underbite .abc-ba-hero__img--before {
    z-index: 1;
    clip-path: inset(0 50% 0 0);
}

.abc-underbite .abc-ba-hero__divider {
    position: absolute;
    top: 0;
    left: 50%;
    width: 3px;
    height: 100%;
    background: #fff;
    transform: translateX(-50%);
    z-index: 2;
}

.abc-underbite .abc-ba-hero__handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.abc-underbite .abc-ba-hero__handle-arrow--left {
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-right: 6px solid #333;
}

.abc-underbite .abc-ba-hero__handle-arrow--right {
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 6px solid #333;
}

.abc-underbite .abc-ba-hero__label {
    position: absolute;
    bottom: 12px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    padding: 4px 12px;
    border-radius: 20px;
    z-index: 3;
}

.abc-underbite .abc-ba-hero__label--before {
    left: 12px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
}

.abc-underbite .abc-ba-hero__label--after {
    right: 12px;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
}

/* スライダー情報テキスト */
.abc-underbite .abc-ba-hero__info {
    text-align: center;
    margin-top: 16px;
}

.abc-underbite .abc-ba-hero__info-label {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    display: block;
}

.abc-underbite .abc-ba-hero__info-detail {
    font-size: 13px;
    color: #718096;
    display: block;
    margin-top: 4px;
}

.abc-underbite .abc-ba-hero__info-link {
    font-size: 13px;
    color: var(--abc-color-primary);
    display: inline-block;
    margin-top: 8px;
    font-weight: 600;
}

/* ドットナビ */
.abc-underbite .abc-ba-hero__dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 16px;
}

.abc-underbite .abc-ba-hero__dot {
    border: none;
    padding: 7px 16px;
    border-radius: 20px;
    cursor: pointer;
    background: #f0f0f0;
    color: #718096;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    letter-spacing: 0.02em;
    transition: background 0.3s, color 0.3s;
    line-height: 1;
}

.abc-underbite .abc-ba-hero__dot:hover {
    background: #e2e8f0;
    color: #4a5568;
}

.abc-underbite .abc-ba-hero__dot--active {
    background: var(--abc-color-primary);
    color: #fff;
}

.abc-underbite .abc-ba-hero__dot--active:hover {
    background: var(--abc-color-primary-dark);
    color: #fff;
}

/* 招待アニメーション */
.abc-underbite .abc-ba-hero__divider--hint {
    animation: abc-ba-hint-divider 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.abc-underbite .abc-ba-hero__img--hint {
    animation: abc-ba-hint-clip 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@media (max-width: 600px) {
    .abc-underbite .abc-ba-hero {
        max-width: 100%;
        margin-bottom: 32px;
    }
}

/* ----------------------------------------
   CTA Section
   ---------------------------------------- */
.abc-underbite .abc-sec--cta {
    background: linear-gradient(135deg, #002b55 0%, #001a33 100%);
    color: #ffffff;
    text-align: center;
}

.abc-underbite .abc-sec--cta h2 {
    color: var(--abc-color-gold-light) !important;
}

.abc-underbite .abc-sec--cta h2::after {
    background: var(--abc-color-gold-light) !important;
}

.abc-underbite .abc-sec--cta p {
    color: #e6f2ff !important;
    font-size: 16px;
    line-height: 1.9;
    margin-bottom: 40px;
}

.abc-underbite .cta-badges {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.abc-underbite .cta-badges > div {
    display: flex;
    align-items: center;
    gap: 8px;
}

.abc-underbite .cta-badges .dot {
    background-color: var(--abc-color-gold);
}

/* ----------------------------------------
   Links Section
   ---------------------------------------- */
.abc-underbite .abc-sec--links {
    background-color: var(--abc-color-white);
}

.abc-underbite .abc-sec--links h2 {
    display: block !important;
    text-align: center;
    margin-bottom: 48px !important;
}

.abc-underbite .abc-sec--links h2::after {
    margin-left: auto;
    margin-right: auto;
}

.abc-underbite .links-content {
    max-width: 1100px;
    margin: 0 auto;
}

.abc-underbite .links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.abc-underbite .links-grid--support {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1024px) {
    .abc-underbite .links-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .abc-underbite .links-grid--support {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .abc-underbite .links-grid {
        grid-template-columns: 1fr;
    }

    .abc-underbite .links-grid--support {
        grid-template-columns: 1fr;
    }
}

.abc-underbite .abc-link-card {
    display: block;
    background: var(--abc-color-white);
    padding: 32px 24px;
    border-radius: 8px;
    border: 1px solid #f0f0f0;
    border-left: 4px solid var(--abc-color-primary);
    box-shadow: var(--abc-shadow-soft);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    height: 100%;
}

.abc-underbite .abc-link-card:hover {
    border-left-color: var(--abc-color-gold);
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.abc-underbite .abc-link-card h3 {
    font-size: 18px;
    color: var(--abc-color-navy);
    margin-bottom: 12px;
}

.abc-underbite .abc-link-card p {
    font-size: 13px;
    color: var(--abc-color-text-light);
    line-height: 1.6;
}

/* ----------------------------------------
   Related Pages (関連症状リンク)
   ---------------------------------------- */
.abc-underbite .abc-related-pages {
    background-color: var(--abc-color-beige);
    padding: var(--abc-section-padding);
    text-align: center;
}

.abc-underbite .abc-related-pages h2 {
    margin-bottom: 32px !important;
}

.abc-underbite .abc-related-pages__list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 640px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.abc-underbite .abc-related-pages__list li {
    background: var(--abc-color-white);
    border-radius: 8px;
    border-left: 3px solid var(--abc-color-gold);
    box-shadow: var(--abc-shadow-soft);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.abc-underbite .abc-related-pages__list li:hover {
    border-left-color: var(--abc-color-primary);
    transform: translateX(4px);
}

.abc-underbite .abc-related-pages__list a {
    display: block;
    padding: 18px 24px;
    color: var(--abc-color-navy);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.abc-underbite .abc-related-pages__list a:hover {
    color: var(--abc-color-primary);
}

/* ----------------------------------------
   Responsive - Mobile
   ---------------------------------------- */
@media (max-width: 768px) {
    .abc-underbite .abc-sec {
        padding: var(--abc-section-padding-mobile);
    }

    .abc-underbite .abc-sec--hero {
        padding: 100px 20px 80px;
    }

    .abc-underbite .abc-related-pages {
        padding: var(--abc-section-padding-mobile);
    }
}
