:root {
    --primary: #060056;
    --accent: #E8D667;
    --bg-light: #fafafa;
    --bg-gray: #f4f4f7;
    --text-main: #1B1B1B;
    --text-light: #4f4f58;
    --white: #ffffff;
    --border: #e7e7ed;
    --font-sans: 'Noto Sans JP', sans-serif;
    --radius-sm: 16px;
    --radius-md: 24px;
    --radius-lg: 32px;
    --shadow-soft: 0 14px 36px rgba(6, 0, 86, 0.08);

    /* Spacing Tokens */
    --space-xs: 0.5rem;
    /* 8px */
    --space-sm: 1rem;
    /* 16px */
    --space-md: 2rem;
    /* 32px */
    --space-lg: 4rem;
    /* 64px */
    --space-xl: 8rem;
    /* 128px */

    /* Typography Tokens (Fluid) */
    --fs-xs: clamp(0.75rem, 1.5vw, 0.875rem);
    --fs-sm: clamp(0.875rem, 2vw, 1rem);
    --fs-md: clamp(1rem, 2.5vw, 1.25rem);
    --fs-lg: clamp(1.5rem, 4vw, 2.25rem);
    --fs-xl: clamp(2rem, 6vw, 3.5rem);
}

@media (prefers-color-scheme: dark) {
    :root {
        --primary: #04003d;
        --bg-light: #0d0d0d;
        --bg-gray: #1a1a1a;
        --text-main: #f8f8f8;
        --text-light: #cccccc;
        --white: #1a1a1a;
        --border: #333333;
        --shadow-soft: 0 14px 36px rgba(0, 0, 0, 0.5);
        --accent: #d4c35e;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-sans);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-weight: 700;
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

body.menu-open::after {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(6, 0, 86, 0.28);
    backdrop-filter: blur(4px);
    z-index: 1001;
}

body.menu-open header {
    z-index: 1005;
}

body.menu-open .nav-links {
    z-index: 1006;
}

body.menu-open .menu-toggle {
    z-index: 1007;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section {
    padding: 84px 0;
}

.section-light {
    background: var(--white);
}

.section-gray {
    background: var(--bg-gray);
}

.section-navy {
    background: var(--primary);
    color: var(--white);
}

.section-title {
    text-align: center;
    font-size: clamp(1.75rem, 5vw, 2.35rem);
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary);
    line-height: 1.3;
}

@media (prefers-color-scheme: dark) {
    .section-title {
        color: #fff;
    }
}

.section-title.section-title-white {
    color: var(--white);
}

.section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    margin: 18px auto 0;
    background: var(--accent);
}

.section-subtitle {
    max-width: 820px;
    margin: 0 auto 48px;
    text-align: center;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.9;
    color: var(--text-light);
}

.section.section-navy .section-subtitle {
    color: rgba(255, 255, 255, 0.82);
}

.highlight {
    font-weight: 700;
    color: var(--primary);
    background: linear-gradient(transparent 60%, rgba(225, 200, 49, 0.46) 60%);
    padding: 0 4px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    margin-bottom: 16px;
    border-radius: 999px;
    background: rgba(232, 214, 103, 0.18);
    color: var(--primary);
    font-size: 0.88rem;
    letter-spacing: 0.04em;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 40px;
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: 999px;
    transition: all 0.3s ease;
    cursor: pointer;
    letter-spacing: 0.02em;
}

.btn-primary {
    background: linear-gradient(135deg, #E1C831, #E8D667);
    color: var(--primary);
    box-shadow: 0 12px 24px rgba(232, 214, 103, 0.26);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 30px rgba(232, 214, 103, 0.34);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.96);
    border: 2px solid var(--accent);
    color: var(--primary);
}

.btn-outline:hover {
    background: #fffdf2;
}

.btn-dark {
    background: #ffffff;
    color: var(--primary);
    border: 2px solid var(--accent);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.btn-dark:hover {
    transform: translateY(-3px);
}

.top-info-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 42px;
    background: var(--primary);
    color: #ffffff;
    z-index: 1100;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.top-info-bar-inner {
    display: flex;
    align-items: center;
    height: 100%;
    white-space: nowrap;
}

.top-info-track {
    display: inline-flex;
    align-items: center;
    gap: 48px;
    min-width: max-content;
    padding-left: 100%;
    animation: topInfoScroll 24s linear infinite;
    font-size: 0.9rem;
    font-weight: 500;
}

.top-info-link {
    display: inline-flex;
    align-items: center;
    gap: 18px;
}

.top-info-link strong {
    color: var(--accent);
    font-weight: 700;
}

.top-info-link span:last-child {
    text-decoration: underline;
    text-underline-offset: 3px;
}

@keyframes topInfoScroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

header {
    position: fixed;
    top: 42px;
    width: 100%;
    padding: 20px 0;
    background: #ffffff;
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 48px;
    width: auto;
    mix-blend-mode: multiply;
}

.nav-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

/* 共通ヘッダーCTA（ボタン化） */
.header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 22px;
    font-size: 0.82rem;
    font-weight: 700;
    border-radius: 999px;
    transition: all 0.3s ease;
    text-align: center;
    white-space: nowrap;
    letter-spacing: 0.02em;
}

.cta-consult {
    background: #000000;
    color: #ffffff;
}

.cta-consult:hover {
    background: #1a1a1a;
    transform: translateY(-1px);
    color: #ffffff !important;
}

.cta-apply {
    background: linear-gradient(135deg, #FFD700, #f2d012);
    color: #060056;
}

.cta-apply:hover {
    background: linear-gradient(135deg, #FFE44D, #f2d012);
    transform: translateY(-1px);
    color: #060056 !important;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent);
}

.nav-social-links {
    display: none;
}

.menu-toggle {
    display: none;
    position: relative;
    z-index: 1004;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(6, 0, 86, 0.12);
    border-radius: 16px;
    background: #ffffff;
    color: var(--primary);
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(6, 0, 86, 0.08);
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 2px;
    background: currentColor;
    border-radius: 999px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle::before {
    transform: translateY(-7px);
}

.menu-toggle::after {
    transform: translateY(7px);
}

.menu-toggle.is-open span {
    opacity: 0;
}

.menu-toggle.is-open::before {
    transform: rotate(45deg);
}

.menu-toggle.is-open::after {
    transform: rotate(-45deg);
}

.page-hero {
    position: relative;
    padding: 178px 0 72px;
    background:
        linear-gradient(135deg, rgba(6, 0, 86, 0.96) 0%, rgba(6, 0, 86, 0.88) 100%),
        radial-gradient(circle at top right, rgba(232, 214, 103, 0.22), transparent 35%);
    color: var(--white);
    overflow: hidden;
}

.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 20%, rgba(232, 214, 103, 0.16), transparent 28%),
        radial-gradient(circle at 85% 26%, rgba(255, 255, 255, 0.08), transparent 30%);
    pointer-events: none;
}

.page-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.9fr);
    gap: 42px;
    align-items: center;
}

.page-hero-title {
    font-size: 3rem;
    line-height: 1.18;
    margin-bottom: 20px;
}

.page-hero-lead {
    font-size: 1.02rem;
    font-weight: 400;
    line-height: 1.9;
    max-width: 760px;
    color: rgba(255, 255, 255, 0.88);
}

.page-hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.page-thumb {
    min-height: 320px;
    border-radius: 32px;
    background:
        linear-gradient(140deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.08)),
        rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 46px rgba(0, 0, 0, 0.18);
    overflow: hidden;
}

.page-thumb img,
.page-thumb iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.breadcrumb-wrap {
    background: #ffffff;
    border-bottom: 1px solid rgba(6, 0, 86, 0.06);
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 18px 0;
    color: var(--text-light);
    font-size: 0.88rem;
    font-weight: 400;
}

.breadcrumb span {
    color: rgba(79, 79, 88, 0.56);
}

/* ═══════════════════════════════════════
   統一 サブページ MV ヒーロー
   ═══════════════════════════════════════ */
.subpage-hero {
    position: relative;
    background-color: #6c687e;
    background-size: cover;
    background-position: center;
    /* Slate gray/purple matching the reference design */
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 160px;
    padding: 160px 0 36px;
    overflow: hidden;
    text-align: center;
}

.subpage-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.05);
    /* Very subtle overlay if needed, or remove */
    pointer-events: none;
}

.subpage-hero .container {
    position: relative;
    z-index: 1;
    width: 100%;
}

.subpage-hero-title {
    font-size: clamp(1.1rem, 4vw, 2rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.35;
    margin: 0;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

/* ヒーロー内パンクズリスト */
.subpage-hero .breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 12px;
    font-size: 0.82rem;
    background: none;
    padding: 0;
    border-radius: 0;
}

.subpage-hero .breadcrumb a,
.subpage-hero .breadcrumb strong,
.subpage-hero .breadcrumb span {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    text-decoration: none;
}

.subpage-hero .breadcrumb a:hover {
    color: #E8D667;
    text-decoration: underline;
}

.subpage-hero .breadcrumb strong {
    color: #fff;
    font-weight: 700;
}

@media (max-width: 768px) {
    .subpage-hero {
        min-height: 100px;
        padding: 110px 0 28px;
    }

    .subpage-hero-title {
        font-size: clamp(0.9rem, 3.5vw, 1.4rem);
        white-space: nowrap;
    }
}

/* ═══════════════════════════════════════
   サブページ タブ（横幅いっぱい・非スティッキー）
   ═══════════════════════════════════════ */
.spa-tabs-wrap {
    background: #fff;
    border-bottom: 1px solid rgba(6, 0, 86, 0.08);
    /* sticky を外す: position:static が既定 */
}

.spa-tabs {
    display: flex;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

.spa-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 8px;
    font-size: 0.86rem;
    font-weight: 700;
    color: #060056;
    background: #f4efe3;
    text-decoration: none;
    border-right: 1px solid rgba(6, 0, 86, 0.09);
    text-align: center;
    line-height: 1.4;
    position: relative;
    transition: background 0.2s;
}

.spa-tab:last-child {
    border-right: none;
}

.spa-tab.active {
    background: #fff;
    color: #060056;
}

.spa-tab.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #060056;
    border-radius: 0 0 2px 2px;
}

.spa-tab:hover:not(.active) {
    background: #e9e3d5;
}

/* 旧スタイルとの後方互換 (.subpage-tab) */
.subpage-tabs-wrap {
    background: #fff;
    border-bottom: 1px solid rgba(6, 0, 86, 0.08);
}

.subpage-tabs {
    display: flex;
    width: 100%;
    gap: 0;
    padding: 0;
    flex-wrap: nowrap;
}

.subpage-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 8px;
    border-radius: 0;
    background: #f4efe3;
    border: none;
    border-right: 1px solid rgba(6, 0, 86, 0.09);
    color: #060056;
    font-size: 0.86rem;
    font-weight: 700;
    transition: background 0.2s;
    text-align: center;
    line-height: 1.4;
    position: relative;
}

.subpage-tab:last-child {
    border-right: none;
}

.subpage-tab:hover {
    background: #e9e3d5;
    border-color: inherit;
}

.subpage-tab.active {
    background: #fff;
    color: #060056;
}

.subpage-tab.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #060056;
}


.grid-2,
.grid-3,
.grid-4 {
    display: grid;
    gap: 24px;
}

.grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
    background: #ffffff;
    border-radius: 28px;
    padding: 30px;
    border: 1px solid rgba(6, 0, 86, 0.06);
    box-shadow: var(--shadow-soft);
}

.card-dark {
    background: rgba(255, 255, 255, 0.06);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.12);
}

.card-dark p,
.card-dark li {
    color: rgba(255, 255, 255, 0.86);
}

.metric-card {
    text-align: center;
    padding: 28px 24px;
}

.metric-card .metric-value {
    font-size: 2rem;
    line-height: 1.15;
    color: var(--primary);
    margin: 12px 0 8px;
}

.metric-card .metric-label {
    font-size: 0.94rem;
    color: var(--text-light);
    font-weight: 400;
}

.split-card {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 30px;
    align-items: center;
}

.stack-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.stack-list li {
    position: relative;
    padding-left: 18px;
    font-size: 0.98rem;
    font-weight: 400;
    color: var(--text-main);
    line-height: 1.85;
}

.stack-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.8em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
}

.section p,
.section li,
.section dd,
.section td,
.section th,
.section label,
.section input,
.section select,
.section textarea {
    font-size: 0.98rem;
    font-weight: 400;
    line-height: 1.9;
}

.section h3 {
    font-size: 1.4rem;
    line-height: 1.5;
    color: var(--primary);
    margin-bottom: 14px;
}

.section h4 {
    font-size: 1.1rem;
    line-height: 1.5;
    margin-bottom: 10px;
    color: var(--primary);
}

.copy-large {
    font-size: 2.2rem;
    line-height: 1.35;
    color: var(--primary);
    text-align: center;
    margin-bottom: 24px;
}

.lead-text {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    color: var(--text-light);
}

.quote-box {
    position: relative;
    background: linear-gradient(135deg, rgba(232, 214, 103, 0.15), rgba(255, 255, 255, 0.9));
    border: 1px solid rgba(225, 200, 49, 0.28);
}

.quote-box::before {
    content: "“";
    position: absolute;
    top: 18px;
    left: 24px;
    font-size: 3rem;
    color: rgba(6, 0, 86, 0.12);
    line-height: 1;
}

.yearly-program {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.yearly-program .card {
    padding: 26px 22px;
}

.yearly-program .program-round {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 78px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(232, 214, 103, 0.26);
    color: var(--primary);
    font-size: 0.82rem;
    margin-bottom: 14px;
}

.logic-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.logic-step {
    position: relative;
    text-align: center;
}

.logic-step .step-number {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    font-size: 1rem;
}

.case-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.case-card img {
    border-radius: 22px;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.timeline {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 14px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(6, 0, 86, 0.12);
}

.timeline-item {
    position: relative;
    padding-left: 46px;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 10px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent);
    border: 3px solid var(--primary);
}

.timeline-year {
    display: inline-block;
    margin-bottom: 8px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.video-embed {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.video-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.mission-block {
    padding: 34px;
}

.mission-title {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.table-card {
    overflow: hidden;
    padding: 0;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
}

.info-table th,
.info-table td {
    padding: 20px 24px;
    border-bottom: 1px solid rgba(6, 0, 86, 0.08);
    vertical-align: top;
}

.info-table th {
    width: 28%;
    background: rgba(6, 0, 86, 0.03);
    color: var(--primary);
    font-weight: 700;
    text-align: left;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
    gap: 26px;
}

.contact-info-box {
    height: 100%;
}

.line-contact {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px;
    border-radius: 24px;
    background: rgba(6, 0, 86, 0.04);
}

.line-contact img {
    width: 72px;
    height: 72px;
    border-radius: 18px;
}

.contact-form {
    display: grid;
    gap: 18px;
}

.form-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary);
}

.form-hint {
    font-size: 0.82rem;
    color: var(--text-light);
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid rgba(6, 0, 86, 0.12);
    border-radius: 18px;
    padding: 14px 16px;
    background: #ffffff;
    color: var(--text-main);
}

textarea {
    min-height: 180px;
    resize: vertical;
}

.check-grid {
    display: grid;
    gap: 10px;
}

.check-option {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(6, 0, 86, 0.03);
}

.check-option input {
    width: auto;
    margin-top: 6px;
}

.form-note {
    font-size: 0.84rem;
    color: var(--text-light);
}

.footer-spacer {
    height: 12px;
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fixed-cta-side {
    position: fixed;
    right: 0;
    top: 30vh;
    z-index: 1000;
    display: block;
}

.fixed-cta-side a {
    display: block;
    margin-bottom: 10px;
    writing-mode: vertical-rl;
    text-orientation: upright;
    padding: 20px 10px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 2px;
    border-radius: 10px 0 0 10px;
    box-shadow: -2px 0 15px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
    text-align: center;
}

.fixed-cta-side a:hover {
    transform: translateX(-5px);
}

.fixed-cta-side .cta-primary {
    background: #060056;
    color: #ffffff;
}

.fixed-cta-side .cta-secondary {
    background: linear-gradient(135deg, #E1C831, #E8D667);
    color: var(--primary);
}

.fixed-social-links {
    position: fixed;
    left: 16px;
    top: 42%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fixed-social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #060056;
    box-shadow: 0 10px 24px rgba(6, 0, 86, 0.18);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fixed-social-links a:hover {
    transform: translateX(3px);
    box-shadow: 0 14px 30px rgba(6, 0, 86, 0.24);
}

.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 999;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 132px;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 999px;
    background: #ffffff;
    color: var(--primary);
    border: 1px solid rgba(6, 0, 86, 0.12);
    box-shadow: 0 10px 24px rgba(6, 0, 86, 0.14);
    font-size: 0.9rem;
    font-weight: 700;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease, box-shadow 0.3s ease;
}

.back-to-top:hover {
    box-shadow: 0 14px 30px rgba(6, 0, 86, 0.18);
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

/* =========================
   Footer
========================= */
footer {
    background: #000000;
    color: #ffffff;
    padding: 56px 0 28px;
}

.footer-shell {
    display: grid;
    grid-template-columns: minmax(280px, 0.95fr) minmax(0, 2.05fr);
    gap: 48px;
    margin-bottom: 36px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-contact-links {
    display: flex;
    gap: 10px;
}

/* リンク */
.footer-contact-link {
    position: relative;
    display: block;
    transition: transform 0.3s ease;
}

.footer-contact-link img {
    width: 100%;
    height: auto;
    display: block;
}

.footer-contact-link::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.4);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.footer-contact-link:hover::before {
    opacity: 1;
}

.footer-contact-link:hover {
    transform: translateX(2px);
}

/* テキスト */
.footer-contact-meta {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.85rem;
    line-height: 1.85;
    margin-top: 10px;
    font-weight: 400;
}

/* SNS */
.footer-social-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-social-title {
    font-size: 0.95rem;
    font-weight: 700;
}

.footer-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.footer-social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    transition: all 0.3s ease;
}

.footer-social-links a:hover {
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-2px);
}

/* メイン */
.footer-main {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.footer-intro-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 18px;
}

.footer-intro-text {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.84rem;
    line-height: 1.85;
    max-width: 860px;
}

.footer-intro-link {
    display: inline-flex;
    gap: 8px;
    margin-top: 18px;
    font-weight: 700;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px 36px;
}

.footer-column-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 18px;
}

.footer-column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-column a::before {
    content: "›";
    color: #E8D667;
    margin-right: 12px;
}

.footer-column a:hover {
    color: #ffffff;
}

/* コピー */
.copy {
    text-align: center;
    font-size: 0.82rem;
    padding-top: 24px;
    border-top: 1px solid rgba(252, 252, 252, 0.14);
}

/* =========================
   Card Components（共通化）
========================= */

/* 角丸 */
.reality-card,
.urgent-box,
.feature-card,
.program-item-full,
.changes-item,
.voice-card,
.instructor-card,
.faq-item,
.blog-card,
.seminar-card,
.voice-ticker-card,
.tab-btn {
    border-radius: var(--radius-md);
}

/* シャドウ */
.feature-card,
.voice-card,
.faq-item,
.blog-card,
.seminar-card,
.voice-ticker-card,
.instructor-card {
    box-shadow: var(--shadow-soft);
}

/* ボーダー */
.blog-card,
.faq-item,
.voice-card,
.feature-card,
.seminar-card,
.voice-ticker-card {
    border: 1px solid rgba(6, 0, 86, 0.06);
}



.copy {
    text-align: center;
    color: #ffffff;
    font-size: 0.82rem;
    padding-top: 24px;
    border-top: 1px solid rgba(252, 252, 252, 0.14);
}

@media (max-width: 992px) {

    .page-hero-grid,
    .split-card,
    .contact-grid,
    .grid-4,
    .yearly-program {
        grid-template-columns: 1fr;
    }

    .grid-3,
    .logic-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-shell {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    body {
        padding-bottom: 64px;
    }

    .menu-toggle {
        display: inline-flex;
        width: 44px;
        height: 44px;
        border-radius: 14px;
    }

    .top-info-bar {
        height: 38px;
    }

    .top-info-track {
        gap: 32px;
        font-size: 0.78rem;
    }

    header {
        top: 38px;
        padding: 10px 0;
    }

    header .container {
        position: relative;
        justify-content: center;
    }

    .logo {
        justify-content: center;
        margin: 0 auto;
    }

    .logo img {
        height: 34px;
    }

    .menu-toggle {
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 96px;
        left: 16px;
        right: 16px;
        width: auto;
        max-height: calc(100vh - 112px);
        overflow-y: auto;
        padding: 20px 18px 22px;
        border-radius: 28px;
        background: rgba(255, 255, 255, 0.99);
        box-shadow: 0 20px 50px rgba(6, 0, 86, 0.16);
        border: 1px solid rgba(6, 0, 86, 0.08);
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        z-index: 1003;
    }

    .nav-links.is-open {
        display: flex;
    }

    .nav-links a {
        padding: 10px 14px;
        border-radius: 14px;
        font-size: 0.94rem;
        line-height: 1.45;
    }

    .nav-links>a:last-of-type {
        margin-left: 0 !important;
        margin-top: 8px;
        text-align: center;
    }

    .nav-social-links {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        margin-top: 10px;
        padding-top: 14px;
        border-top: 1px solid rgba(6, 0, 86, 0.08);
    }

    .nav-social-links a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        padding: 0;
        border-radius: 14px;
        background: #060056;
        border: 1px solid #E8D667;
        box-shadow: 0 10px 24px rgba(6, 0, 86, 0.14);
        overflow: hidden;
    }

    .nav-social-links a img {
        width: 24px !important;
        height: 24px !important;
        margin: 0 !important;
        object-fit: contain;
        vertical-align: middle;
    }

    .page-hero {
        padding: 128px 0 48px;
    }

    .page-hero-title {
        font-size: 2rem;
        line-height: 1.26;
        margin-bottom: 14px;
    }

    .page-hero-lead {
        font-size: 0.92rem;
        line-height: 1.8;
    }

    .page-hero-actions {
        gap: 12px;
        margin-top: 22px;
    }

    .page-hero-actions .btn,
    .section .btn {
        width: 100%;
        max-width: 300px;
        font-size: 0.84rem;
        line-height: 1.4;
        padding: 11px 14px;
        margin-left: auto;
        margin-right: auto;
    }

    .page-thumb {
        min-height: 220px;
    }

    .subpage-tabs-wrap {
        top: 92px;
    }

    .subpage-tabs {
        gap: 10px;
        padding: 14px 0;
    }

    .subpage-tab {
        font-size: 0.82rem;
        padding: 9px 14px;
    }

    .section {
        padding: 40px 0;
    }

    .container {
        width: 92%;
    }

    .section-title {
        font-size: 1.25rem;
        line-height: 1.3;
    }

    .section-subtitle {
        font-size: 0.92rem;
        line-height: 1.8;
        margin-bottom: 30px;
    }

    .copy-large {
        font-size: 1.45rem;
        line-height: 1.45;
    }

    .section h3,
    .mission-title {
        font-size: 18px;
        line-height: 1.5;
    }

    .section h4,
    .footer-column-title {
        font-size: 1rem;
        line-height: 1.5;
    }

    .section p,
    .section li,
    .section dd,
    .section td,
    .section th,
    .section label,
    .form-note,
    .footer-contact-meta,
    .footer-intro-text,
    .footer-column a {
        font-size: 13px;
        line-height: 1.8;
        font-weight: 400;
    }

    .metric-card .metric-value {
        font-size: 1.55rem;
    }

    .grid-2,
    .grid-3,
    .logic-grid,
    .form-grid-2,
    .footer-columns {
        grid-template-columns: 1fr;
    }

    .card,
    .mission-block {
        padding: 22px 18px;
        border-radius: 24px;
    }

    .info-table th,
    .info-table td {
        display: block;
        width: 100%;
        padding: 14px 16px;
    }

    .info-table th {
        border-bottom: none;
    }

    body.menu-open .fixed-cta-side,
    body.menu-open .fixed-social-links,
    body.menu-open .back-to-top {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    .fixed-cta-side {
        left: 0;
        right: 0;
        bottom: 0;
        top: auto;
        width: 100%;
        display: flex;
        flex-direction: row;
        gap: 0;
        transform: none;
        z-index: 1001;
    }

    .fixed-cta-side a {
        flex: 1;
        width: auto;
        min-height: 0;
        margin-bottom: 0;
        padding: 14px 10px;
        border-radius: 0;
        writing-mode: horizontal-tb;
        text-orientation: mixed;
        letter-spacing: normal;
        font-size: 0.88rem;
        line-height: 1.5;
        box-shadow: 0 -6px 16px rgba(6, 0, 86, 0.14);
    }

    .fixed-social-links {
        display: none;
    }

    .back-to-top {
        right: 12px;
        bottom: 76px;
        min-width: 120px;
        min-height: 44px;
        font-size: 0.82rem;
    }

    footer {
        padding: 42px 0 24px;
    }

    .footer-main {
        order: 1;
        gap: 28px;
    }

    .footer-contact {
        order: 2;
    }

    .footer-contact-links {
        align-items: flex-start;
        gap: 12px;
    }

    .footer-contact-link {
        font-size: 0.84rem;
        text-align: left;
    }

    .footer-intro-title {
        font-size: 1.1rem;
        margin-bottom: 14px;
    }

    .footer-intro-link {
        font-size: 0.9rem;
        margin-top: 14px;
    }

    .footer-columns {
        grid-template-columns: 1fr 1fr;
        gap: 24px 20px;
    }
}

@media (max-width: 600px) {
    .top-info-link {
        gap: 12px;
    }

    .top-info-link span {
        font-size: 0.75rem;
    }
}

/* CTA Section (Common) */
.cta-section {
    background: linear-gradient(135deg, var(--primary), #060056);
    color: var(--white);
    text-align: center;
    padding: 70px 0;
}

.cta-title {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    margin-bottom: 30px;
    padding: 0 20px;
}

.cta-lead {
    margin-bottom: 60px;
    font-size: clamp(1rem, 2vw, 1.2rem);
    padding: 0 20px;
}

.cta-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- FAQ Accordion Component --- */
.c-faq {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 820px;
    margin: 0 auto;
}

.c-faq__item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(6, 0, 86, 0.03);
    transition: all 0.3s ease;
}

.c-faq__summary {
    padding: 20px 24px;
    font-size: clamp(0.95rem, 2.5vw, 1.05rem);
    font-weight: 700;
    color: var(--primary);
    cursor: pointer;
    list-style: none;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.3s;
}

.c-faq__summary:hover {
    background: rgba(6, 0, 86, 0.02);
}

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

.c-faq__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    position: relative;
    flex-shrink: 0;
    margin-left: 16px;
}

.c-faq__icon::before,
.c-faq__icon::after {
    content: '';
    position: absolute;
    background: var(--accent);
    border-radius: 2px;
    transition: transform 0.3s ease;
}

.c-faq__icon::before {
    width: 2px;
    height: 16px;
}

.c-faq__icon::after {
    width: 16px;
    height: 2px;
}

.c-faq__item[open] .c-faq__icon::before {
    transform: rotate(90deg);
}

.c-faq__content {
    padding: 0 24px 20px;
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.8;
    font-weight: 400;
    animation: faq-fadein 0.3s ease;
}

@keyframes faq-fadein {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }

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

/* --- High-Impact Layout Components --- */

/* Highlight text */
.c-highlight {
    color: var(--accent);
    font-weight: 700;
}

/* Feature Section (Z-pattern) */
.c-feature {
    padding: var(--space-lg) 0;
    overflow: hidden;
}

.c-feature:nth-child(even) {
    background-color: var(--bg-gray);
}

.c-feature__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.c-feature:nth-child(even) .c-feature__inner {
    direction: rtl;
    /* Flip direction for even items */
}

.c-feature:nth-child(even) .c-feature__content {
    direction: ltr;
    /* Reset text direction */
}

.c-feature__title {
    font-size: clamp(1.4rem, 4vw, 1.8rem);
    line-height: 1.4;
    color: var(--primary);
    margin-bottom: var(--space-md);
    font-weight: 700;
    position: relative;
    padding-bottom: 16px;
}

.c-feature__title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
}

.c-feature__text {
    font-size: 1rem;
    line-height: 2;
    color: var(--text-light);
    font-weight: 400;
}

.c-feature__media {
    width: 100%;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(6, 0, 86, 0.12);
}

.c-feature__media img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}


/* CTA Grid Section */
.c-cta-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: var(--space-lg) 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.c-cta-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 40px 30px;
    text-align: center;
    text-decoration: none;
    border: 1px solid var(--border);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    box-shadow: 0 10px 30px rgba(6, 0, 86, 0.04);
}

.c-cta-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 48px rgba(6, 0, 86, 0.1);
    border-color: var(--accent);
}

.c-cta-card img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    border-radius: 50%;
    background: rgba(232, 214, 103, 0.1);
    padding: 20px;
}

.c-cta-card span {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.4;
}

/* Responsive Grid Adjustments */
@media (max-width: 1024px) {
    .c-feature__inner {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .c-feature {
        padding: var(--space-md) 0;
    }

    .c-feature__inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .c-feature:nth-child(even) .c-feature__inner {
        direction: ltr;
    }

    .c-cta-grid {
        grid-template-columns: 1fr;
        padding: var(--space-md) 20px;
    }

    .c-feature__media {
        order: -1;
    }
}

/* Fix for consistent hero container width across all subpages */
.subpage-hero .container {
    width: 90% !important;
    max-width: 1200px !important;
}

/* ═══════════════════════════════════════
   Blog / Column Components
   ═══════════════════════════════════════ */

/* Blog Grid - Filtered Slider */
.blog-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 30px;
    margin: 30px 0;
    padding: 20px 0 25px 0;
    scrollbar-width: none;
    /* Hide scrollbar for clean slider look */
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
}

.blog-grid::-webkit-scrollbar {
    display: none;
}

/* Blog Card as Slider Item */
.blog-card {
    background: var(--white, #fff);
    border-radius: var(--radius-md, 24px);
    overflow: hidden;
    box-shadow: var(--shadow-soft, 0 14px 36px rgba(6, 0, 86, 0.08));
    border: 1px solid rgba(6, 0, 86, 0.06);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    height: 100%;
    flex: 0 0 calc(33.333% - 20px);
    /* 3 cards per row on desktop */
    min-width: 300px;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(6, 0, 86, 0.12);
}

.blog-img {
    height: 200px;
    width: 100%;
    overflow: hidden;
    position: relative;
    background-size: cover;
    background-position: center;
}

.blog-category-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--white, #fff);
    color: var(--primary, #060056);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    z-index: 1;
}

.blog-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary, #060056);
    line-height: 1.5;
    margin-bottom: 15px;
}

.blog-date {
    font-size: 0.85rem;
    color: var(--text-light, #4f4f58);
    margin-bottom: 20px;
}

.card-meta-link {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid var(--border, #e7e7ed);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary, #060056);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-meta-link .arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, #E1C831 0%, #E8D667 100%);
    color: #060056;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1;
    transition: transform 0.3s ease;
    box-shadow: 0 10px 20px rgba(232, 214, 103, 0.24);
}

.blog-card:hover .card-meta-link .arrow {
    transform: none;
    /* Align with Top Page (no arrow move) */
}

/* Ranking Badge */
.c-ranking-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    background: var(--accent, #E8D667);
    color: var(--primary, #060056);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 3;
}

/* Worry/Symptom Filter Grid */
.c-worry-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.c-worry-item {
    text-align: center;
    text-decoration: none;
    color: var(--primary, #060056);
    transition: all 0.3s ease;
}

.c-worry-icon {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    margin: 0 auto 16px;
    overflow: hidden;
    border: 4px solid #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.c-worry-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.c-worry-label {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
}

.c-worry-item:hover .c-worry-icon {
    transform: scale(1.08);
    border-color: var(--accent, #E8D667);
    box-shadow: 0 12px 32px rgba(6, 0, 86, 0.15);
}

.c-worry-item:hover .c-worry-label {
    color: var(--accent, #E8D667);
}

@media (max-width: 992px) {
    .blog-grid {
        gap: 20px;
    }

    .blog-card {
        flex: 0 0 calc(50% - 10px);
        min-width: 280px;
    }

    .c-worry-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .blog-grid {
        gap: 15px;
        padding-left: 5%;
        /* Show partial previous/next for visual cue */
        padding-right: 5%;
    }

    .blog-card {
        flex: 0 0 85%;
        min-width: unset;
    }

    .c-worry-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .c-worry-icon {
        width: 100px;
        height: 100px;
    }
}

/* Slider Dots Support */
.c-slider-wrapper {
    position: relative;
    width: 100%;
}

.c-slider-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    margin-bottom: 30px;
}

.c-slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.c-slider-dot.active {
    background: var(--accent, #E8D667);
    width: 24px;
    border-radius: 10px;
}

/* -----------------------------------------------------------
   お知らせ一覧ページ (news.html) 用追加スタイル
   ----------------------------------------------------------- */

/* 下部セクション：スタティックグリッド */
.news-grid-static {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 30px;
    margin-top: 40px;
}

/* 数字形式ページネーション */
.c-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 60px 0 20px;
}

.c-pagination__link,
.c-pagination__span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid var(--border);
    color: var(--primary);
    font-size: 0.95rem;
    font-weight: 700;
    transition: all 0.3s ease;
    text-decoration: none;
}

.c-pagination__link:hover {
    background: var(--bg-gray);
    border-color: var(--primary);
}

.c-pagination__link.is-active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.c-pagination__span.is-dots {
    border: none;
    background: transparent;
    width: auto;
}

/* モバイル対応：下部グリッドの画像非表示と1列化 */
@media (max-width: 992px) {
    .news-grid-static {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .news-grid-static {
        grid-template-columns: 1fr;
        gap: 0;
        /* リスト形式にするため */
    }

    .news-grid-static .blog-card {
        display: block;
        background: transparent !important;
        border: none !important;
        border-bottom: 1px solid var(--border) !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        padding: 20px 0 !important;
        margin: 0 !important;
    }

    .news-grid-static .blog-card:hover {
        transform: none !important;
    }

    .news-grid-static .blog-img {
        display: none !important;
        /* 画像非表示 */
    }

    .news-grid-static .blog-content {
        padding: 0 !important;
    }

    .news-grid-static .blog-title {
        font-size: 1rem !important;
        margin-bottom: 8px !important;
    }

    .c-pagination {
        gap: 6px;
    }

    .c-pagination__link,
    .c-pagination__span {
        width: 38px;
        height: 38px;
        font-size: 0.85rem;
    }
}

/* -----------------------------------------------------------
   お役立ちコラム詳細ページ (column-detail.html) 用追加スタイル
   ----------------------------------------------------------- */

.p-article {
    max-width: 800px;
    margin: 60px auto;
    padding: 0 5%;
    line-height: 2;
    color: var(--text-main);
    font-weight: 500;
}

.p-article h2 {
    font-size: 1.8rem;
    color: var(--primary);
    margin: 60px 0 30px;
    padding: 15px 25px;
    background: var(--bg-gray);
    border-left: 6px solid var(--accent);
    line-height: 1.4;
}

.p-article h3 {
    font-size: 1.4rem;
    color: var(--primary);
    margin: 45px 0 25px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--accent);
    display: inline-block;
}

.p-article p {
    margin-bottom: 2rem;
}

/* ハイライト */
.highlight {
    background: linear-gradient(transparent 60%, rgba(232, 214, 103, 0.4) 60%);
    font-weight: 700;
    padding: 0 2px;
}

/* リスト */
.p-article ul,
.p-article ol {
    margin-bottom: 2rem;
    padding-left: 1.5rem;
}

.p-article li {
    margin-bottom: 0.8rem;
}

/* 引用 */
.p-article blockquote {
    position: relative;
    padding: 30px 40px;
    margin: 40px 0;
    background: #f9f9fb;
    border-radius: 12px;
    font-style: italic;
    color: var(--text-light);
}

.p-article blockquote::before {
    content: "“";
    position: absolute;
    top: 10px;
    left: 15px;
    font-size: 4rem;
    color: rgba(6, 0, 86, 0.08);
    font-family: serif;
}

.p-article blockquote cite {
    display: block;
    margin-top: 15px;
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 700;
    font-style: normal;
    text-align: right;
}

/* テーブル */
.p-article table {
    width: 100%;
    border-collapse: collapse;
    margin: 40px 0;
    font-size: 0.95rem;
}

.p-article th,
.p-article td {
    padding: 15px;
    border: 1px solid var(--border);
}

.p-article th {
    background: var(--primary);
    color: #fff;
    text-align: left;
}

.p-article tr:nth-child(even) {
    background: #fafafa;
}

/* ボックス */
.box {
    padding: 30px;
    margin: 40px 0;
    border-radius: 16px;
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.box strong {
    display: block;
    margin-bottom: 15px;
    color: var(--primary);
    font-size: 1.1rem;
}

.box-point {
    border-left: 6px solid var(--accent);
}

/* 注釈 */
.note {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: -1.5rem;
    margin-bottom: 2rem;
    display: block;
}

/* フローエリア */
.flow {
    margin: 60px 0;
}

.flow-item {
    position: relative;
    padding: 30px;
    background: #fff;
    border: 2px solid var(--primary);
    border-radius: 20px;
    margin-bottom: 40px;
}

.flow-item::after {
    content: "↓";
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.5rem;
    color: var(--primary);
}

.flow-item:last-child::after {
    display: none;
}

.flow-num {
    position: absolute;
    top: -15px;
    left: 20px;
    background: var(--accent);
    color: var(--primary);
    padding: 4px 15px;
    font-weight: 800;
    border-radius: 4px;
    font-size: 0.9rem;
}

/* Q&Aエリア */
.qa {
    margin: 60px 0;
}

.qa-item {
    margin-bottom: 25px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.qa-question,
.qa-answer {
    padding: 20px 25px;
    display: flex;
    gap: 15px;
}

.qa-question {
    background: var(--primary);
    color: #fff;
    font-weight: 700;
}

.qa-question span {
    color: var(--accent);
}

.qa-answer {
    background: #fff;
    border-top: 1px solid var(--border);
}

.qa-answer span {
    color: var(--primary);
    font-weight: 800;
}

/* インタビュー風 */
.interview {
    margin: 60px 0;
}

.interview-row {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.interview-row.user {
    flex-direction: row-reverse;
}

.interview-icon img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent);
}

.interview-bubble {
    position: relative;
    padding: 20px;
    background: #f0f2f5;
    border-radius: 15px;
    max-width: 80%;
}

.interview-row.user .interview-bubble {
    background: rgba(232, 214, 103, 0.15);
}

/* 2カラムレイアウト */
.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 40px 0;
}

@media (max-width: 600px) {
    .two-column {
        grid-template-columns: 1fr;
    }
}

/* プロフィールエリア */
.profile {
    margin-top: 80px;
    padding: 40px;
    background: var(--bg-gray);
    border-radius: 24px;
    display: flex;
    gap: 30px;
    align-items: center;
}

.profile-img {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
    /* 圧縮されないように固定 */
    overflow: hidden;
    border-radius: 50%;
}

.profile-img img {
    width: 100%;
    /* 枠の幅いっぱいに広げる */
    height: 100%;
    /* 枠の高さいいっぱいに広げる */
    object-fit: cover;
    /* 比率を保ったまま中央で切り抜く（重要！） */
    display: block;
}

.profile-name {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 5px;
}

.profile-title {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 15px;
}

.profile-bio {
    font-size: 0.9rem;
    line-height: 1.7;
}

@media (max-width: 600px) {
    .profile {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }
}

/* 関連記事エリア */
.related {
    margin-top: 80px;
}

.related h2 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-align: center;
}

.related-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 768px) {
    .related-list {
        grid-template-columns: 1fr;
    }
}

/* ═══════════════════════════════════════
   ユーティリティ：ヘッダー相殺（固定ヘッダー用）
   ═══════════════════════════════════════ */
.header-offset {
    padding-top: 160px !important;
}

@media (max-width: 768px) {
    .header-offset {
        padding-top: 110px !important;
    }
}

/* =========================

.dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.dropdown-arrow {
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    margin-top: -4px;
    transition: transform 0.3s ease;
}

/* PC: Hover Dropdown */
@media (min-width: 769px) {
    .dropdown-menu {
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%) translateY(10px);
        background: var(--white);
        min-width: 220px;
        padding: 12px 0;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(6, 0, 86, 0.12);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        list-style: none;
        z-index: 1100;
        margin-top: 10px;
        border: 1px solid rgba(6, 0, 86, 0.05);
    }

    .dropdown-menu::before {
        content: "";
        position: absolute;
        top: -10px;
        left: 0;
        width: 100%;
        height: 10px;
    }

    .nav-item.has-dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }

    .nav-item.has-dropdown:hover .dropdown-arrow {
        transform: rotate(-135deg);
        margin-top: 2px;
    }

    .dropdown-menu li {
        list-style: none;
    }

    .dropdown-menu li a {
        display: block;
        padding: 10px 20px;
        color: var(--primary);
        font-size: 0.88rem;
        font-weight: 500;
        transition: background 0.2s, color 0.2s;
        white-space: nowrap;
    }

    .dropdown-menu li a:hover {
        background: rgba(6, 0, 86, 0.04);
        color: var(--primary) !important;
    }
}

/* Mobile: Accordion */
@media (max-width: 768px) {
    .dropdown-menu {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease, margin 0.3s ease;
        list-style: none;
        padding-left: 15px;
        background: rgba(6, 0, 86, 0.02);
        border-radius: 12px;
    }

    .nav-item.has-dropdown.is-active .dropdown-menu {
        max-height: 500px;
        /* Sufficient height */
        margin-top: 8px;
        margin-bottom: 8px;
        padding: 8px 0;
    }

    .nav-item.has-dropdown.is-active .dropdown-arrow {
        transform: rotate(-135deg);
        margin-top: 4px;
    }

    .dropdown-menu li {
        list-style: none;
    }

    .dropdown-menu li a {
        display: block;
        padding: 10px 15px;
        font-size: 0.9rem;
        color: var(--text-light);
        border-radius: 8px;
    }
}

/* =========================
   Dropdown Menu
========================= */
.nav-links .nav-item.has-dropdown {
    position: relative;
}

.nav-links .dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.nav-links .dropdown-arrow {
    width: 6px;
    height: 6px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
    display: inline-block;
    vertical-align: middle;
    margin-left: 2px;
}

.nav-links .dropdown-menu {
    display: block;
    list-style: none !important;
    padding: 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    position: absolute;
    z-index: -1;
}

.nav-links .dropdown-menu li {
    list-style: none !important;
    margin: 0;
    padding: 0;
}

/* PC: Hover Dropdown */
@media (min-width: 769px) {
    .nav-links .dropdown-menu {
        top: 100%;
        left: 50%;
        transform: translateX(-50%) translateY(10px);
        background: #ffffff;
        min-width: 220px;
        padding: 12px 0;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(6, 0, 86, 0.12);
        transition: all 0.3s ease;
        z-index: 1100;
        margin-top: 10px;
        border: 1px solid rgba(6, 0, 86, 0.05);
    }

    .nav-links .dropdown-menu::before {
        content: "";
        position: absolute;
        top: -10px;
        left: 0;
        width: 100%;
        height: 10px;
    }

    .nav-links .nav-item.has-dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
        z-index: 1100;
    }

    .nav-links .nav-item.has-dropdown:hover .dropdown-arrow {
        transform: rotate(-135deg);
    }

    .nav-links .dropdown-menu li a {
        display: block;
        padding: 10px 20px;
        color: #060056 !important;
        font-size: 0.88rem;
        font-weight: 500;
        transition: background 0.2s;
        white-space: nowrap;
        text-align: left;
    }

    .nav-links .dropdown-menu li a:hover {
        background: rgba(6, 0, 86, 0.04);
    }
}

/* Mobile: Accordion */
@media (max-width: 768px) {
    .nav-links .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
        background: rgba(6, 0, 86, 0.02);
        border-radius: 12px;
        transform: none;
        box-shadow: none;
        border: none;
    }

    .nav-links .nav-item.has-dropdown.is-active .dropdown-menu {
        max-height: 500px;
        margin-top: 8px;
        margin-bottom: 8px;
        padding: 8px 0;
    }

    .nav-links .nav-item.has-dropdown.is-active .dropdown-arrow {
        transform: rotate(-135deg);
    }

    .nav-links .dropdown-menu li a {
        display: block !important;
        padding: 12px 15px !important;
        font-size: 0.94rem !important;
        color: #4f4f58 !important;
        border-radius: 8px;
        background: transparent !important;
        box-shadow: none !important;
        transform: none !important;
    }
}