/* ============================================================
   careerdock-v2.css
   page-test.php / page-tokucho.php / page-osusume.php 専用スタイル
   header-test.php / footer-test.php からのみ読み込まれる。
   既存 css/style.css 等とのセレクタ衝突を避けるため、
   全コンポーネントに cd2- プレフィックスを付与している。

   配色は、ナチュラル・オーガニック・ライフスタイル誌のような上質さを基準に、
   アイボリー地 × 深い森のグリーン × アースカラー（セージ／マスタードゴールド）で構成。
   （2026-08-26 トンマナ全面改修）
   ============================================================ */

/* ---------- Reset & Base ---------- */
.cd2-wrapper,
.cd2-wrapper *,
.cd2-wrapper *::before,
.cd2-wrapper *::after {
    box-sizing: border-box;
}

:root {
    /* メインカラー：深い森のグリーン */
    --cd2-color-primary: #2D5A43;
    --cd2-color-primary-light: #6E9A78;
    --cd2-color-primary-dark: #088d77;
    --cd2-color-primary-tint: #E7EDE3;
    --cd2-gradient-brand: linear-gradient(135deg, #088d77 0%, #1AB096 100%);
    --cd2-gradient-brand-soft: linear-gradient(135deg, rgba(45, 90, 67, .08) 0%, rgba(110, 154, 120, .14) 100%);
    /* 強調セクション用の濃色ダークグリーン */
    --cd2-color-ink-deep: #223D2E;

    /* アクセント：アースカラー（マスタードゴールド／セージ） */
    --cd2-color-accent: #D1A348;
    --cd2-color-accent-dark: #B08635;
    --cd2-color-accent-light: #EACD94;
    --cd2-gradient-accent: linear-gradient(135deg, #D1A348 0%, #DCBC7C 100%);
    --cd2-color-sage: #8FA888;
    --cd2-color-beige: #DCCFAE;

    /* ベース：アイボリー／生成り */
    --cd2-color-bg: #FAF8F5;
    --cd2-color-bg-alt: #F5F3EE;
    --cd2-color-surface: #FFFFFE;
    --cd2-color-text: #33301F;
    --cd2-color-text-light: #6E6A57;
    --cd2-color-border: #E7E1D2;
    --cd2-color-muted-label: #8A8060;

    --cd2-font-serif: 'Shippori Mincho', 'Noto Serif JP', serif;
    --cd2-font-sans: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
    --cd2-radius-sm: 10px;
    --cd2-radius: 22px;
    --cd2-radius-lg: 40px;
    /* 光沢感を排した、紙のような柔らかい影 */
    --cd2-shadow: 0 20px 44px rgba(40, 36, 20, 0.10);
    --cd2-shadow-sm: 0 8px 20px rgba(40, 36, 20, 0.07);
    --cd2-header-height: 92px;
    --cd2-container-w: 1120px;
    /* 余白を全体的に1.5倍程度に拡大 */
    --cd2-section-pad: 150px;
    --cd2-section-pad-mobile: 96px;
}

.cd2-wrapper {
    font-family: var(--cd2-font-sans);
    color: var(--cd2-color-text);
    background: var(--cd2-color-bg);
    line-height: 2;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

.cd2-wrapper a {
    color: inherit;
    text-decoration: none;
}

.cd2-wrapper ul,
.cd2-wrapper ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

.cd2-wrapper h1,
.cd2-wrapper h2,
.cd2-wrapper h3,
.cd2-wrapper h4 {
    font-family: var(--cd2-font-serif);
    font-weight: 600;
    letter-spacing: .04em;
    margin: 0;
    line-height: 1.7;
}

.cd2-wrapper h2 {
    margin: 0 auto;
    text-align: center;
    letter-spacing: 0;
}

.cd2-wrapper p {
    margin: 0 0 1.2em;
}

.cd2-wrapper p:last-child {
    margin-bottom: 0;
}

/* 全ての button を一度リセットし、コンポーネント側で必要なスタイルのみ再定義する。
   （ブラウザ標準paddingが残っているとハンバーガーアイコン等が中心からずれるため）
   :where() でラップして詳細度を .cd2-wrapper 単体分（0,1,0）まで下げ、
   後続のコンポーネント別クラスが確実に上書きできるようにしている。 */
.cd2-wrapper :where(button) {
    all: unset;
    box-sizing: border-box;
    cursor: pointer;
}

.cd2-wrapper i.fas,
.cd2-wrapper i.far {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.cd2-container {
    max-width: var(--cd2-container-w);
    margin: 0 auto;
    padding: 0 32px;
}

.cd2-section {
    padding: var(--cd2-section-pad) 0;
    position: relative;
}

.cd2-section--alt {
    background: var(--cd2-color-bg-alt);
}

.cd2-section--surface {
    background: var(--cd2-color-surface);
}

.cd2-section--tight {
    padding: 96px 0;
}

.cd2-section__inner {
    max-width: 880px;
    margin: 0 auto;
}

/* セクション境界の有機的な装飾オーナメント（葉アイコン、CSSのみで実装） */
.cd2-section--alt::before {
    content: "\f06c";
    /* fa-leaf */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-12deg);
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    border-radius: 50%;
    background: var(--cd2-color-surface);
    color: var(--cd2-color-primary);
    box-shadow: var(--cd2-shadow-sm);
    z-index: 2;
}

.cd2-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    letter-spacing: .24em;
    color: var(--cd2-color-muted-label);
    font-weight: 600;
    margin-bottom: 16px;
}

.cd2-leaf-icon {
    flex: none;
    color: var(--cd2-color-primary-light);
}

.cd2-h2 {
    font-size: clamp(25px, 3.6vw, 36px);
    color: var(--cd2-color-primary-dark);
    letter-spacing: .02em;
    line-height: 1.5 !important;
    margin-bottom: 17px !important;
}

.cd2-h3 {
    font-size: clamp(19px, 2.2vw, 23px);
    color: #088D77;
    display: block;
    width: fit-content;
    max-width: 100%;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 32px !important;
    padding: 7px 44px;
    border: 2px solid #0E9881;
    border-radius: 120px;
    text-align: center;
}

.cd2-lead-text {
    font-size: 16px;
    color: var(--cd2-color-text);
}

.cd2-lead-text+.cd2-lead-text {
    margin-top: 1.6em;
}

.cd2-divider {
    border: none;
    border-top: 1px solid var(--cd2-color-border);
    margin: 0;
}

/* ---------- Header / Nav ---------- */
body.cd2-nav-open {
    overflow: hidden;
}

/* スマホメニュー展開時はbackdrop-filterをオフ（Safari等での高さ潰れ・クリッピング回避） */
body.cd2-nav-open .cd2-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(246, 250, 249, 1);
}

.cd2-header {
    position: sticky;
    top: 0;
    z-index: 200;
    background: rgba(246, 250, 249, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--cd2-color-border);
}

.cd2-header__inner {
    max-width: var(--cd2-container-w);
    margin: 0 auto;
    padding: 0 24px;
    height: var(--cd2-header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cd2-header__logo {
    display: flex;
    align-items: center;
}

.cd2-header__logo img {
    height: 44px;
    width: auto;
}

.cd2-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.cd2-nav__list {
    display: flex;
    align-items: center;
    gap: 30px;
}

.cd2-nav__link {
    font-family: var(--cd2-font-sans);
    font-size: 15px;
    font-weight: 500;
    color: var(--cd2-color-text);
    display: inline-flex;
    align-items: center;
    padding: 8px 2px;
    position: relative;
}

.cd2-nav__link::after {
    content: '';
    position: absolute;
    left: 2px;
    right: 2px;
    bottom: 0;
    height: 2px;
    background: var(--cd2-gradient-brand);
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform .25s ease;
}

.cd2-nav__link:hover::after,
.cd2-nav__item--has-sub.is-open .cd2-nav__link::after {
    transform: scaleX(1);
}

.cd2-nav__caret {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    margin-left: 6px;
    font-size: 10px;
    line-height: 1;
    transition: transform .2s ease;
}

.cd2-nav__item--has-sub.is-open .cd2-nav__caret {
    transform: rotate(180deg);
}

.cd2-nav__item--has-sub {
    position: relative;
}

.cd2-nav__sub {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    min-width: 270px;
    background: var(--cd2-color-surface);
    border-radius: var(--cd2-radius-sm);
    box-shadow: var(--cd2-shadow);
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
    border-top: 3px solid transparent;
    border-image: var(--cd2-gradient-brand) 1;
}

.cd2-nav__item--has-sub:hover .cd2-nav__sub,
.cd2-nav__item--has-sub.is-open .cd2-nav__sub {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.cd2-nav__sub li a {
    display: block;
    padding: 11px 14px;
    border-radius: 6px;
    font-size: 14px;
    color: var(--cd2-color-text);
}

.cd2-nav__sub li a:hover {
    background: var(--cd2-color-primary-tint);
    color: var(--cd2-color-primary-dark);
}

.cd2-nav__cta {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, var(--cd2-color-accent-dark) 0%, var(--cd2-color-accent) 100%);
    color: #fff;
    padding: 12px 26px;
    border-radius: 999px;
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: .04em;
    white-space: nowrap;
    border: 1.5px solid transparent;
    box-shadow: var(--cd2-shadow-sm);
    transition: box-shadow .2s ease, transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}

.cd2-nav__cta:hover {
    transform: translateY(-2px);
    background: var(--cd2-color-accent-light);
    color: var(--cd2-color-ink-deep);
    box-shadow: var(--cd2-shadow);
}

.cd2-nav-toggle {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    border: 1px solid var(--cd2-color-border);
    border-radius: 10px;
    background: var(--cd2-color-surface);
}

.cd2-nav-toggle__bars {
    display: contents;
}

.cd2-nav-toggle__bars span {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: var(--cd2-color-text);
    transition: transform .25s ease, opacity .25s ease;
}

.cd2-nav-toggle.is-open .cd2-nav-toggle__bars span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.cd2-nav-toggle.is-open .cd2-nav-toggle__bars span:nth-child(2) {
    opacity: 0;
}

.cd2-nav-toggle.is-open .cd2-nav-toggle__bars span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero（写真フルブリード＋オーガニックな波型フレーム） ---------- */
.cd2-hero {
    position: relative;
    min-height: 680px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.cd2-hero__photo {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 26%;
    filter: sepia(.22) saturate(.78) contrast(1.05) brightness(1.02) hue-rotate(-6deg);
    /* AdobeStock写真（クールトーン）をアイボリー×グリーンの世界観に合わせて暖色化 */
}

.cd2-hero__photo::after {
    content: '';
    position: absolute;
    inset: 0;
    /* 一旦非表示：レイヤーカラー（グラデーションオーバーレイ）確認用 */
    display: none;
    background: linear-gradient(100deg, rgba(31, 62, 47, .88) 0%, rgba(45, 90, 67, .62) 42%, rgba(45, 90, 67, .22) 75%);
}

/* 紙のようなノイズ・テクスチャ（SVG feTurbulence、CSSのみ） */
.cd2-hero__photo::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: .07;
    mix-blend-mode: overlay;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.cd2-hero__decor {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.cd2-hero__blob {
    position: absolute;
    border-radius: 58% 42% 61% 39% / 45% 55% 45% 55%;
    filter: blur(2px);
    opacity: .4;
}

.cd2-hero__blob--a {
    width: 360px;
    height: 360px;
    left: -120px;
    top: -60px;
    background: radial-gradient(circle at 30% 30%, rgba(224, 180, 92, .35), transparent 70%);
}

.cd2-hero__blob--b {
    width: 280px;
    height: 280px;
    right: -90px;
    bottom: -60px;
    background: radial-gradient(circle at 60% 40%, rgba(255, 255, 255, .18), transparent 70%);
}

.cd2-hero__blob--c {
    display: none;
}

/* 下端の有機的な波型フレーム（アイボリーの次セクションへ滲むように連続させる） */
.cd2-hero__wave {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 90px;
    z-index: 2;
}

.cd2-hero__wave svg {
    display: block;
    width: 100%;
    height: 100%;
}

.cd2-hero__inner {
    position: relative;
    z-index: 3;
    width: 100%;
}

.cd2-hero__copy {
    max-width: 540px;
}

.cd2-hero__kicker {
    display: inline-block;
    font-family: var(--cd2-font-sans);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .32em;
    color: var(--cd2-color-accent-dark);
    margin-bottom: 28px;
}

.cd2-hero__lead {
    font-family: var(--cd2-font-serif);
    font-weight: 600;
    font-size: clamp(17px, 2vw, 20px);
    line-height: 1.55;
    letter-spacing: .04em;
    color: var(--cd2-color-ink-deep);
    text-shadow: 0 1px 12px rgba(255, 255, 255, .55);
    opacity: 0;
    transform: translateY(18px);
    animation: cd2FadeUp .8s ease forwards;
}

.cd2-hero__lead:nth-of-type(1) {
    animation-delay: .1s;
}

.cd2-hero__lead:nth-of-type(2) {
    animation-delay: .3s;
    margin-top: 1em;
}

.cd2-hero__lead:nth-of-type(3) {
    animation-delay: .5s;
    margin-top: 1em;
}

.cd2-hero__brand {
    display: block;
    font-family: var(--cd2-font-serif);
    font-size: clamp(32px, 4.6vw, 46px);
    font-weight: 700;
    margin-top: .7em;
    letter-spacing: .16em;
    line-height: 1.3;
    color: var(--cd2-color-ink-deep);
    opacity: 0;
    transform: translateY(18px);
    animation: cd2FadeUp .8s ease forwards .7s;
}

.cd2-hero__brand::after {
    content: '';
    display: block;
    width: 56px;
    height: 2px;
    margin-top: 18px;
    background: var(--cd2-color-accent-dark);
}

@keyframes cd2FadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 860px) {
    .cd2-hero {
        min-height: 580px;
        text-align: center;
    }

    .cd2-hero__copy {
        max-width: 100%;
    }

    .cd2-hero__brand::after {
        margin-left: auto;
        margin-right: auto;
    }
}

/* ---------- Reveal box（ホバーで下から本文が上がる） ---------- */
.cd2-reveal-grid {
    display: grid;
    gap: 24px;
}

.cd2-reveal-box {
    background: var(--cd2-color-surface);
    border: 1.5px solid var(--cd2-color-beige);
    border-radius: var(--cd2-radius-lg) var(--cd2-radius) var(--cd2-radius-lg) var(--cd2-radius);
    padding: 44px 40px;
    overflow: hidden;
    cursor: default;
    box-shadow: none;
    position: relative;
}

/* ホバーできることを示すパルスアニメーション */
.cd2-reveal-box::before {
    content: '';
    position: absolute;
    top: 24px;
    right: 24px;
    width: 12px;
    height: 12px;
    background-color: var(--cd2-color-accent);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(209, 163, 72, 0.7);
    animation: cd2Pulse 2s infinite;
    pointer-events: none;
    z-index: 10;
    transition: opacity 0.3s ease;
}

.cd2-reveal-box:hover::before,
.cd2-reveal-box.is-open::before {
    opacity: 0;
    animation: none;
}

@keyframes cd2Pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(209, 163, 72, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 14px rgba(209, 163, 72, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(209, 163, 72, 0);
    }
}

.cd2-reveal-box__head {
    font-family: var(--cd2-font-serif);
    font-size: 21px;
    font-weight: 600;
    color: var(--cd2-color-primary-dark);
    text-align: center;
    transition: transform .35s ease;
}

.cd2-reveal-box__body {
    margin-top: 18px;
    font-size: 15px;
    color: var(--cd2-color-text-light);
    max-height: 0;
    opacity: 0;
    transform: translateY(16px);
    transition: max-height .4s ease, opacity .35s ease .05s, transform .4s ease .05s, margin .4s ease;
}

.cd2-reveal-box:hover .cd2-reveal-box__body,
.cd2-reveal-box.is-open .cd2-reveal-box__body {
    max-height: 500px;
    opacity: 1;
    transform: translateY(0);
}

.cd2-reveal-box:hover .cd2-reveal-box__head,
.cd2-reveal-box.is-open .cd2-reveal-box__head {
    transform: translateY(-2px);
}

.cd2-reveal-box:hover,
.cd2-reveal-box.is-open {
    box-shadow: var(--cd2-shadow);
}

/* ---------- Feature band（ダークグリーンの強調セクション） ---------- */
.cd2-feature-band {
    position: relative;
    background: var(--cd2-color-primary-dark);
    padding: calc(var(--cd2-section-pad) + 30px) 0 var(--cd2-section-pad);
    overflow: hidden;
}

.cd2-feature-band::after {
    content: '';
    position: absolute;
    inset: 0;
    opacity: .06;
    mix-blend-mode: overlay;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.cd2-feature-band__arch {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 150%;
    height: 130px;
    background: var(--cd2-color-bg);
    border-radius: 0 0 50% 50%;
}

.cd2-feature-band__inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 56px;
    flex-wrap: wrap;
}

.cd2-feature-band__collage {
    position: relative;
    flex: 1 1 240px;
    max-width: 280px;
    height: 260px;
}

.cd2-feature-band__chip {
    position: absolute;
    width: 170px;
    height: 200px;
    background-size: cover;
    background-position: center;
    border-radius: var(--cd2-radius);
    border: 7px solid #FBF9F3;
    box-shadow: 0 20px 36px rgba(0, 0, 0, .28);
}

.cd2-feature-band__chip--a {
    left: 0;
    top: 10px;
    transform: rotate(-7deg);
    z-index: 1;
}

.cd2-feature-band__chip--b {
    right: 0;
    bottom: 0;
    transform: rotate(6deg);
    z-index: 2;
}

.cd2-feature-band__body {
    flex: 1 1 380px;
    max-width: 560px;
    color: #F2EEE1;
}

.cd2-feature-band__body .cd2-eyebrow {
    color: var(--cd2-color-accent-light);
}

.cd2-feature-band__body .cd2-h2 {
    color: #FBF9F3;
}

.cd2-feature-band__body p {
    color: rgba(242, 238, 225, .86);
    font-size: 15.5px;
}

.cd2-feature-band__body p+p {
    margin-top: 1em;
}

.cd2-btn--gold {
    background: linear-gradient(135deg, var(--cd2-color-accent-dark) 0%, var(--cd2-color-accent) 100%);
    color: #FFFFFE;
    font-weight: 700;
    box-shadow: 0 14px 28px rgba(0, 0, 0, .22);
    border: 1.5px solid transparent;
}

.cd2-btn--gold:hover {
    color: var(--cd2-color-ink-deep);
    background: var(--cd2-color-accent-light);
    border-color: var(--cd2-color-accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(0, 0, 0, .24);
}

@media (max-width: 860px) {
    .cd2-feature-band__inner {
        flex-direction: column;
        text-align: center;
    }

    .cd2-feature-band__collage {
        margin: 0 auto 20px;
    }
}

/* ---------- Statement（大見出しの一言） ---------- */
.cd2-statement {
    text-align: center;
    font-size: clamp(24px, 3.6vw, 36px);
    color: var(--cd2-color-primary-dark);
    max-width: 760px;
    margin: 0 auto;
}

/* ---------- Check list ---------- */
.cd2-check-list {
    display: grid;
    gap: 12px;
    margin: 28px 0;
}

.cd2-check-list li {
    position: relative;
    padding-left: 34px;
    font-size: 15px;
}

.cd2-check-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--cd2-gradient-brand);
}

.cd2-check-list li::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 9px;
    width: 8px;
    height: 4px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg);
}

/* ---------- Info CTA split（安心してお話しいただくために／お問い合わせ） ---------- */
.cd2-info-cta {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 28px;
    align-items: stretch;
    margin-top: 36px;
}

.cd2-info-cta__panel {
    background: var(--cd2-color-surface);
    border: 1.5px solid var(--cd2-color-beige);
    border-radius: var(--cd2-radius);
    padding: 36px;
    box-shadow: var(--cd2-shadow-sm);
}

.cd2-info-cta__panel .cd2-h3 {
    margin-bottom: 16px;
}

.cd2-info-cta__contact {
    background: var(--cd2-color-ink-deep);
    border-radius: var(--cd2-radius);
    padding: 36px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #F2EEE1;
}

.cd2-info-cta__contact .cd2-h3 {
    color: #fff;
    margin-bottom: 10px;
    border-color: rgba(255, 255, 255, .32);
}

.cd2-info-cta__contact p {
    color: rgba(242, 238, 225, .85);
    font-size: 14px;
    margin-bottom: 22px;
}

@media (max-width: 760px) {
    .cd2-info-cta {
        grid-template-columns: 1fr;
    }
}

/* ---------- Step cards（お申し込みから実施までの流れ：カード横並び） ---------- */
.cd2-step-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 36px 0;
}

.cd2-step-card {
    position: relative;
    background: var(--cd2-color-surface);
    border: 1.5px solid var(--cd2-color-beige);
    border-radius: var(--cd2-radius);
    padding: 34px 22px 26px;
    text-align: center;
    box-shadow: var(--cd2-shadow-sm);
    transition: transform .2s ease, border-color .2s ease;
    width: calc((100% - 40px) / 3);
}

@media (max-width: 860px) {
    .cd2-step-card {
        width: calc((100% - 20px) / 2);
    }
}

@media (max-width: 600px) {
    .cd2-step-card {
        width: 100%;
    }
}

.cd2-step-card:hover {
    transform: translateY(-3px);
    border-color: var(--cd2-color-primary-light);
}

.cd2-step-card__num {
    width: 44px;
    height: 44px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--cd2-color-accent-dark) 0%, var(--cd2-color-accent) 100%);
    color: #fff;
    font-family: var(--cd2-font-serif);
    font-weight: 700;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 16px rgba(168, 125, 40, .28);
}

.cd2-step-card__text {
    font-size: 13.5px;
    line-height: 1.8;
    color: var(--cd2-color-text);
}

.cd2-step-card__text a {
    font-weight: 700;
}

/* ---------- Benefit panel（初めてご利用になる方への特典を強調） ---------- */
.cd2-benefit-panel {
    position: relative;
    max-width: 720px;
    margin: 36px auto 0;
    background: linear-gradient(160deg, #FBF3DE 0%, #F5E9C8 100%);
    border: 2px solid var(--cd2-color-accent-light);
    border-radius: var(--cd2-radius-lg) var(--cd2-radius) var(--cd2-radius-lg) var(--cd2-radius);
    padding: 40px 44px;
    box-shadow: var(--cd2-shadow-sm);
    text-align: center;
}

.cd2-benefit-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--cd2-color-accent-dark);
    color: #fff;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .1em;
    padding: 7px 18px;
    border-radius: 999px;
    margin-bottom: 20px;
}

.cd2-benefit-panel__coupon {
    font-family: var(--cd2-font-serif);
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 700;
    color: var(--cd2-color-accent-dark);
    margin: 18px 0 6px;
}

.cd2-benefit-panel__coupon strong {
    font-size: 1.25em;
}

/* ---------- イベント告知パネル（Hero直下でお知らせを強調） ---------- */
.cd2-event-notice__panel {
    max-width: 640px;
    margin: 0 auto;
    background: linear-gradient(160deg, #FBF3DE 0%, #F5E9C8 100%);
    border: 2px solid var(--cd2-color-accent-light);
    border-radius: var(--cd2-radius-lg) var(--cd2-radius) var(--cd2-radius-lg) var(--cd2-radius);
    padding: 36px 40px;
    box-shadow: var(--cd2-shadow-sm);
    text-align: center;
}

.cd2-event-notice__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--cd2-color-primary-dark);
    color: #fff;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .1em;
    padding: 7px 18px;
    border-radius: 999px;
    margin-bottom: 20px;
}

.cd2-event-notice__btn {
    padding: 22px 28px;
}

.cd2-event-notice__btn .cd2-cta-box__label {
    font-size: 16.5px;
    line-height: 1.6;
    text-align: left;
}

.cd2-event-notice__note {
    margin-top: 22px;
    font-size: 14.5px;
    font-weight: 700;
    color: var(--cd2-color-accent-dark);
}

@media (max-width: 600px) {
    .cd2-event-notice__panel {
        padding: 28px 22px;
    }

    .cd2-event-notice__btn .cd2-cta-box__label {
        text-align: center;
    }
}

/* ---------- Timeline panel（1回目／2回目 などを区切って表示） ---------- */
.cd2-timeline {
    display: grid;
    gap: 28px;
    margin-top: 44px;
}

.cd2-timeline-panel {
    background: var(--cd2-color-surface);
    border: 1.5px solid var(--cd2-color-beige);
    border-radius: var(--cd2-radius);
    padding: 38px 40px;
    box-shadow: var(--cd2-shadow-sm);
}

.cd2-timeline-panel__head {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 26px;
}

.cd2-timeline-panel__num {
    flex: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--cd2-gradient-brand);
    color: #fff;
    font-family: var(--cd2-font-serif);
    font-weight: 700;
    font-size: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 18px rgba(38, 73, 55, .25);
}

.cd2-timeline-panel__title {
    font-family: var(--cd2-font-serif);
    font-weight: 700;
    font-size: 19px;
    color: var(--cd2-color-primary-dark);
}

/* ---------- Worry cards（悩み例を吹き出し風パネルで表示） ---------- */
.cd2-worry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
    margin: 32px 0;
}

.cd2-worry-card {
    position: relative;
    background: var(--cd2-color-surface);
    border: 1.5px solid var(--cd2-color-beige);
    border-radius: var(--cd2-radius);
    padding: 24px 26px;
    font-size: 14.5px;
    line-height: 1.85;
    color: var(--cd2-color-text);
    box-shadow: var(--cd2-shadow-sm);
    transition: transform .2s ease, border-color .2s ease;
}

.cd2-worry-card:hover {
    transform: translateY(-3px);
    border-color: var(--cd2-color-primary-light);
}

/* ---------- CTA box（こんな方におすすめ／担当カウンセラー・特徴 誘導） ---------- */
.cd2-cta-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.cd2-cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: var(--cd2-gradient-brand);
    color: #fff;
    border-radius: var(--cd2-radius);
    padding: 30px 32px;
    box-shadow: var(--cd2-shadow-sm);
    transition: transform .25s ease, box-shadow .25s ease;
}

.cd2-cta-box:hover {
    transform: translateY(-4px);
    box-shadow: var(--cd2-shadow);
    color: #fff;
    filter: brightness(1.08);
}

.cd2-cta-box__icon {
    flex: none;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .2);
    border-radius: 50%;
    font-size: 18px;
}

.cd2-cta-box__body {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 16px;
}

.cd2-cta-box__label {
    font-family: var(--cd2-font-serif);
    font-size: 18px;
    font-weight: 600;
}

.cd2-cta-box__arrow {
    font-size: 22px;
    transition: transform .25s ease;
}

.cd2-cta-box:hover .cd2-cta-box__arrow {
    transform: translateX(6px);
}

.cd2-cta-box--accent {
    background: linear-gradient(135deg, var(--cd2-color-accent-dark) 0%, var(--cd2-color-accent) 100%);
}

.cd2-cta-box--accent:hover {
    filter: none;
    background: linear-gradient(135deg, var(--cd2-color-accent) 0%, var(--cd2-color-accent-light) 100%);
}

/* ---------- Values grid（大切にしていること） ---------- */
.cd2-values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 36px;
}

.cd2-value-card {
    position: relative;
    background: var(--cd2-color-surface);
    border-radius: var(--cd2-radius);
    padding: 34px 32px;
    box-shadow: none;
    border: 1.5px solid var(--cd2-color-beige);
    transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
    overflow: hidden;
}

.cd2-value-card::after {
    content: '';
    position: absolute;
    right: -30px;
    bottom: -30px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--cd2-gradient-brand-soft);
}

.cd2-value-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--cd2-shadow-sm);
    border-color: var(--cd2-color-primary-light);
}

.cd2-value-card__icon {
    position: relative;
    z-index: 1;
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 62% 38% 55% 45% / 45% 55% 42% 58%;
    background: var(--cd2-color-surface);
    border: 1.5px solid var(--cd2-color-sage);
    color: var(--cd2-color-primary);
    font-size: 19px;
    margin-bottom: 18px;
    box-shadow: var(--cd2-shadow-sm);
}

.cd2-values-grid .cd2-value-card:nth-child(even) .cd2-value-card__icon,
.cd2-feature-grid .cd2-feature-card:nth-child(even) .cd2-feature-card__icon {
    transform: rotate(-8deg);
    border-radius: 45% 55% 42% 58% / 58% 42% 55% 45%;
}

.cd2-value-card__title {
    position: relative;
    z-index: 1;
    font-family: var(--cd2-font-serif);
    font-size: 17px;
    font-weight: 600;
    color: var(--cd2-color-primary-dark);
    margin-bottom: 10px;
}

.cd2-value-card__text {
    position: relative;
    z-index: 1;
    font-size: 14.5px;
    color: var(--cd2-color-text-light);
}

/* ---------- Vertical flow（ご利用の流れ） ---------- */
.cd2-flow-vertical {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    margin: 40px 0;
}

.cd2-flow-step {
    width: 100%;
    max-width: 560px;
    background: var(--cd2-color-surface);
    border: 1px solid var(--cd2-color-border);
    border-radius: var(--cd2-radius);
    padding: 26px 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: var(--cd2-shadow-sm);
}

.cd2-flow-step__num {
    flex: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--cd2-gradient-brand);
    color: #fff;
    font-family: var(--cd2-font-serif);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 14px rgba(14, 110, 104, .22);
}

.cd2-flow-step__title {
    font-weight: 700;
    margin-bottom: 4px;
}

.cd2-flow-step__text {
    font-size: 13.5px;
    color: var(--cd2-color-text-light);
}

.cd2-flow-arrow {
    width: 2px;
    height: 32px;
    background: linear-gradient(var(--cd2-color-primary-light), var(--cd2-color-border));
    position: relative;
}

.cd2-flow-arrow::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -1px;
    transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid var(--cd2-color-primary-light);
}

.cd2-flow-note {
    text-align: center;
    font-size: 13px;
    color: var(--cd2-color-text-light);
    max-width: 560px;
    margin: 8px auto 0;
}

/* ---------- Steps（申し込みから実施までの流れ） ---------- */
.cd2-steps {
    counter-reset: cd2-step;
    margin: 32px 0;
}

.cd2-steps__item {
    position: relative;
    padding: 0 0 32px 56px;
    border-left: 2px solid var(--cd2-color-border);
    margin-left: 20px;
}

.cd2-steps__item:last-child {
    border-left-color: transparent;
    padding-bottom: 0;
}

.cd2-steps__item::before {
    counter-increment: cd2-step;
    content: counter(cd2-step);
    position: absolute;
    left: -21px;
    top: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--cd2-gradient-accent);
    color: #fff;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 14px rgba(27, 62, 122, .22);
}

.cd2-steps__title {
    font-weight: 700;
}

/* ---------- Prep illustration list（キャリアドックがはじまる前に） ---------- */
.cd2-prep-list {
    display: grid;
    gap: 18px;
    margin: 32px 0;
}

.cd2-prep-item {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 22px;
    align-items: start;
    background: var(--cd2-color-surface);
    border-radius: var(--cd2-radius);
    padding: 26px;
    box-shadow: var(--cd2-shadow-sm);
    transition: box-shadow .2s ease, transform .2s ease;
}

.cd2-prep-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--cd2-shadow);
}

.cd2-prep-item__icon {
    width: 64px;
    height: 64px;
    border-radius: 62% 38% 55% 45% / 45% 55% 42% 58%;
    background: var(--cd2-color-surface);
    border: 1.5px solid var(--cd2-color-sage);
    color: var(--cd2-color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: var(--cd2-shadow-sm);
}

.cd2-prep-item__title {
    font-weight: 700;
    margin-bottom: 6px;
}

.cd2-prep-item__text {
    font-size: 14px;
    color: var(--cd2-color-text-light);
}

/* ---------- Price box ---------- */
.cd2-price-box {
    position: relative;
    background: var(--cd2-color-surface);
    border-radius: var(--cd2-radius-lg) var(--cd2-radius) var(--cd2-radius-lg) var(--cd2-radius);
    padding: 46px 42px;
    text-align: center;
    max-width: 460px;
    margin: 32px auto 0;
    box-shadow: var(--cd2-shadow-sm);
    border: 2px solid var(--cd2-color-beige);
    overflow: hidden;
}

.cd2-price-box::before {
    content: "\f06c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    right: 18px;
    top: 16px;
    font-size: 28px;
    color: var(--cd2-color-primary-tint);
}

.cd2-price-box__label {
    font-size: 14px;
    color: var(--cd2-color-text-light);
}

.cd2-price-box__value {
    font-family: var(--cd2-font-serif);
    font-size: 42px;
    margin: 8px 0;
    background: var(--cd2-gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.cd2-price-box__value span {
    font-size: 16px;
    font-weight: 400;
    -webkit-text-fill-color: initial;
    color: var(--cd2-color-text-light);
    background: none;
}

.cd2-price-box__note {
    font-size: 12.5px;
    color: var(--cd2-color-text-light);
}

/* ---------- Cancel policy ---------- */
.cd2-policy {
    display: grid;
    gap: 16px;
    margin: 32px 0;
}

.cd2-policy__item {
    background: var(--cd2-color-surface);
    border-left: 4px solid var(--cd2-color-primary);
    border-radius: 0 var(--cd2-radius-sm) var(--cd2-radius-sm) 0;
    padding: 20px 26px;
    box-shadow: var(--cd2-shadow-sm);
}

.cd2-policy__title {
    font-weight: 700;
    margin-bottom: 6px;
}

.cd2-policy__text {
    font-size: 14px;
    color: var(--cd2-color-text-light);
}

/* ---------- Buttons ---------- */
.cd2-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 36px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 15px;
    transition: box-shadow .2s ease, transform .2s ease, background .2s ease, color .2s ease;
}

.cd2-btn--primary {
    background: var(--cd2-color-accent);
    color: #fff;
    box-shadow: var(--cd2-shadow-sm);
}

.cd2-btn--primary:hover {
    color: #fff;
    background: var(--cd2-color-accent-dark);
    transform: translateY(-2px);
    box-shadow: var(--cd2-shadow);
}

.cd2-btn--outline {
    background: transparent;
    border: 1.5px solid var(--cd2-color-primary);
    color: var(--cd2-color-primary-dark);
}

.cd2-btn--outline:hover {
    background: var(--cd2-color-primary);
    color: #fff;
    border-color: transparent;
}

.cd2-btn-wrap {
    text-align: center;
    margin-top: 32px;
}

/* CTAボタン（背景塗りつぶし系）の文字・アイコンは常に白で固定 */
.cd2-nav__cta,
.cd2-nav__cta:hover,
.cd2-nav__cta:focus,
.cd2-btn--primary,
.cd2-btn--primary:hover,
.cd2-btn--gold,
.cd2-btn--gold:hover,
.cd2-cta-box,
.cd2-cta-box:hover,
.cd2-cta-box--accent,
.cd2-cta-box--accent:hover,
.cd2-nav__cta *,
.cd2-btn--primary *,
.cd2-btn--gold *,
.cd2-cta-box *,
.cd2-cta-box--accent * {
    color: #fff !important;
}

/* ---------- OPEN日による表示切り替え（お申し込み／担当カウンセラーを見る） ---------- */
/* JSが日時を判定するまで、OPEN前用ボタンは隠しておく */
.cd2-preopen {
    display: none;
    flex-direction: column;
    align-items: center;
    line-height: 1.3;
    text-align: center;
    cursor: default;
}

/* OPEN前（9/24より前）：JSが .is-visible を付与して2段表示に切り替える */
.cd2-preopen.is-visible {
    display: inline-flex;
}

.cd2-preopen__open {
    font-size: .82em;
    font-weight: 600;
    margin-top: 3px;
    white-space: nowrap;
}

/* ---------- Link line（利用規約／お問い合わせ 等の本文内リンク） ---------- */
.cd2-inline-link {
    color: var(--cd2-color-accent);
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 600;
}

.cd2-inline-link:hover {
    color: var(--cd2-color-accent-dark);
}

/* ---------- Voice table（参加者の声：現状ママ流用） ---------- */
.cd2-voice {
    margin-top: 32px;
    overflow-x: auto;
    border-radius: var(--cd2-radius);
    box-shadow: var(--cd2-shadow-sm);
}

.cd2-voice table {
    width: 100%;
    border-collapse: collapse;
    background: var(--cd2-color-surface);
}

.cd2-voice th,
.cd2-voice td {
    text-align: left;
    padding: 16px 18px;
    border-bottom: 1px solid var(--cd2-color-border);
    font-size: 14.5px;
}

.cd2-voice th {
    background: var(--cd2-gradient-brand);
    color: #fff;
    font-weight: 700;
}

.cd2-video-row {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    margin-top: 28px;
}

.cd2-video {
    position: relative;
    width: 100%;
    max-width: 300px;
    aspect-ratio: 9 / 16;
    border-radius: var(--cd2-radius);
    overflow: hidden;
    box-shadow: var(--cd2-shadow-sm);
}

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

/* ---------- Chairman message ---------- */
.cd2-chairman {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.cd2-chairman__photo {
    flex: none;
    width: 220px;
    position: relative;
}

.cd2-chairman__photo::before {
    content: '';
    position: absolute;
    inset: -10px;
    border-radius: var(--cd2-radius-lg);
    background: var(--cd2-gradient-brand-soft);
    z-index: 0;
}

.cd2-chairman__photo img {
    position: relative;
    z-index: 1;
    border-radius: var(--cd2-radius);
    box-shadow: var(--cd2-shadow);
    filter: sepia(.14) saturate(.9) contrast(1.02);
}

.cd2-chairman__text h3 {
    margin-bottom: 16px;
}

/* ---------- 商標に関する表示 ---------- */
.cd2-trademark-notice {
    max-width: 620px;
    margin: 0 auto;
    padding: 20px 28px;
    border: 1px solid var(--cd2-color-border, #e3ddd2);
    border-radius: var(--cd2-radius);
    font-size: 12.5px;
    line-height: 1.8;
    color: var(--cd2-color-text-sub, #888);
    text-align: center;
}

/* ---------- Bubbles（page-osusume.php） ---------- */
.cd2-bubble-lead {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 48px;
}

.cd2-bubbles {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 16px;
    justify-content: center;
}

.cd2-bubble {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px 24px 18px;
    border-radius: 24px;
    font-size: 13.5px;
    line-height: 1.65;
    max-width: 220px;
    text-align: center;
    box-shadow: var(--cd2-shadow-sm);
    border: 1px solid rgba(255, 255, 255, .7);
    transition: transform .2s ease, box-shadow .2s ease;
}

.cd2-bubble::before {
    content: '\201C';
    position: absolute;
    top: -4px;
    left: 14px;
    font-family: Georgia, 'Noto Serif JP', serif;
    font-size: 40px;
    line-height: 1;
    opacity: .3;
}

.cd2-bubble:hover {
    transform: rotate(0deg) scale(1.05) !important;
    box-shadow: var(--cd2-shadow);
    z-index: 3;
}

.cd2-bubble--1 {
    background: #E7F5EF;
    color: #0E6E68;
}

.cd2-bubble--2 {
    background: #EAF0FB;
    color: #1B3E7A;
}

.cd2-bubble--3 {
    background: #F1EEF8;
    color: #6A5AA6;
}

.cd2-bubble--4 {
    background: #FEF4E2;
    color: #A67D1F;
}

.cd2-bubble--5 {
    background: #E9F6FB;
    color: #326F9C;
}

.cd2-bubble:nth-child(4n+1) {
    transform: rotate(-3deg);
}

.cd2-bubble:nth-child(4n+2) {
    transform: rotate(2deg);
    margin-top: 16px;
}

.cd2-bubble:nth-child(4n+3) {
    transform: rotate(-1.5deg);
    margin-top: -6px;
}

.cd2-bubble:nth-child(4n+4) {
    transform: rotate(3deg);
}

.cd2-bubble:nth-child(5n) {
    max-width: 190px;
}

.cd2-bubble:nth-child(7n) {
    max-width: 250px;
}

/* ---------- Feature grid（page-tokucho.php） ---------- */
.cd2-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.cd2-feature-card {
    position: relative;
    background: var(--cd2-color-surface);
    border-radius: var(--cd2-radius);
    padding: 34px 32px;
    box-shadow: none;
    border: 1.5px solid var(--cd2-color-beige);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    overflow: hidden;
}

.cd2-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--cd2-shadow-sm);
    border-color: var(--cd2-color-primary-light);
}

.cd2-feature-card::after {
    content: '';
    position: absolute;
    right: -30px;
    bottom: -30px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--cd2-gradient-brand-soft);
}

.cd2-feature-card__icon {
    position: relative;
    z-index: 1;
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 62% 38% 55% 45% / 45% 55% 42% 58%;
    background: var(--cd2-color-surface);
    border: 1.5px solid var(--cd2-color-sage);
    color: var(--cd2-color-primary);
    font-size: 19px;
    margin-bottom: 18px;
    box-shadow: var(--cd2-shadow-sm);
}

.cd2-feature-card__title {
    position: relative;
    z-index: 1;
    font-family: var(--cd2-font-serif);
    font-weight: 600;
    font-size: 16.5px;
    color: var(--cd2-color-primary-dark);
    margin-bottom: 12px;
}

.cd2-feature-card__text {
    position: relative;
    z-index: 1;
    font-size: 14px;
    color: var(--cd2-color-text-light);
}

/* ---------- Page header（サブページ共通の簡易ヒーロー） ---------- */
.cd2-page-hero {
    position: relative;
    padding: 84px 0 68px;
    text-align: center;
    background: var(--cd2-gradient-brand);
    overflow: hidden;
}

.cd2-page-hero::before,
.cd2-page-hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
}

.cd2-page-hero::before {
    width: 260px;
    height: 260px;
    left: -80px;
    top: -100px;
}

.cd2-page-hero::after {
    width: 180px;
    height: 180px;
    right: -50px;
    bottom: -90px;
}

.cd2-page-hero__title {
    position: relative;
    z-index: 1;
    font-size: clamp(26px, 4vw, 38px);
    color: #fff;
}

.cd2-page-hero__lead {
    position: relative;
    z-index: 1;
    margin-top: 14px;
    color: rgba(255, 255, 255, .92);
    margin-left: auto;
    margin-right: auto;
}

/* ---------- パンくず（archive-case / single-case / single-mail-mgzn） ---------- */
.cd2-breadcrumb {
    margin-bottom: 32px;
    font-size: 12.5px;
    color: var(--cd2-color-muted-label);
    line-height: 1.6;
}

.cd2-breadcrumb ol,
.cd2-breadcrumb ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cd2-breadcrumb li {
    display: flex;
    align-items: center;
}

.cd2-breadcrumb a {
    color: var(--cd2-color-primary-dark);
}

.cd2-breadcrumb a:hover {
    text-decoration: underline;
}

.cd2-breadcrumb a::after {
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin: 0 8px;
    color: var(--cd2-color-muted-label);
    text-decoration: none;
    display: inline-block;
}

/* ---------- カテゴリー絞り込みタグ（archive-case.php） ---------- */
.cd2-filter-tags {
    display: flex !important;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin: 0 0 48px !important;
}

.cd2-filter-tags li {
    display: contents;
}

.cd2-filter-tags a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 22px;
    border-radius: 999px;
    border: 1.5px solid var(--cd2-color-beige);
    background: var(--cd2-color-surface);
    font-size: 13.5px;
    font-weight: 600;
    color: var(--cd2-color-text);
    transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.cd2-filter-tags a span {
    opacity: .7;
    font-weight: 400;
}

.cd2-filter-tags a:hover,
.cd2-filter-tags .current-cat a {
    background: var(--cd2-gradient-brand);
    border-color: transparent;
    color: #fff;
}

/* ---------- 事例カードグリッド（archive-case.php） ---------- */
.cd2-case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.cd2-case-card {
    display: block;
    background: var(--cd2-color-surface);
    border: 1.5px solid var(--cd2-color-beige);
    border-radius: var(--cd2-radius);
    overflow: hidden;
    box-shadow: var(--cd2-shadow-sm);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.cd2-case-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--cd2-shadow);
    border-color: var(--cd2-color-primary-light);
}

.cd2-case-card__img {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--cd2-color-bg-alt);
}

.cd2-case-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cd2-case-card__body {
    padding: 22px 24px 26px;
}

.cd2-case-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.cd2-case-card__tags .event_cat {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 999px;
    background: var(--cd2-color-primary-tint);
    color: var(--cd2-color-primary-dark);
    font-size: 11.5px;
    font-weight: 600;
}

.cd2-case-card__company {
    display: block;
    font-size: 12.5px;
    color: var(--cd2-color-muted-label);
    margin-bottom: 6px;
}

.cd2-case-card__title {
    font-family: var(--cd2-font-serif);
    font-size: 16.5px;
    font-weight: 600;
    color: var(--cd2-color-text);
    line-height: 1.6;
}

/* ---------- ページネーション ---------- */
.cd2-pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 56px;
}

.cd2-pagination a,
.cd2-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 10px;
    border: 1.5px solid var(--cd2-color-beige);
    font-size: 13.5px;
    color: var(--cd2-color-text);
    background: var(--cd2-color-surface);
}

.cd2-pagination a:hover {
    border-color: var(--cd2-color-primary-light);
}

.cd2-pagination span.current {
    background: var(--cd2-gradient-brand);
    border-color: transparent;
    color: #fff;
}

/* ---------- 事例詳細（single-case.php） ---------- */
.cd2-case-detail {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 52px;
}

.cd2-case-detail__media {
    border-radius: var(--cd2-radius);
    overflow: hidden;
    box-shadow: var(--cd2-shadow-sm);
}

.cd2-case-detail__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
}

.cd2-case-detail__tags .event_cat {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 999px;
    background: var(--cd2-color-primary-tint);
    color: var(--cd2-color-primary-dark);
    font-size: 12px;
    font-weight: 600;
}

.cd2-case-detail__company {
    font-family: var(--cd2-font-serif);
    font-size: 20px;
    font-weight: 600;
    color: var(--cd2-color-primary-dark);
    padding-bottom: 14px;
    border-bottom: 1px solid var(--cd2-color-border);
    margin-bottom: 18px;
}

.cd2-case-detail__row {
    margin-bottom: 14px;
    font-size: 14.5px;
    line-height: 1.8;
}

.cd2-case-detail__row:last-child {
    margin-bottom: 0;
}

.cd2-case-detail__label {
    display: inline-block;
    min-width: 96px;
    padding: 3px 14px;
    margin-right: 10px;
    border: 1px solid var(--cd2-color-border);
    border-radius: 999px;
    font-size: 12px;
    color: var(--cd2-color-muted-label);
    text-align: center;
    vertical-align: middle;
}

/* ---------- 本文（the_content / articleedit.php の柔軟コンテンツ）の基本タイポグラフィ ---------- */
.cd2-article {
    font-size: 15px;
    color: var(--cd2-color-text);
}

.cd2-article :where(ul, ol) {
    list-style: revert;
    padding-left: 1.4em;
    margin: 0 0 1.2em;
}

.cd2-article :where(h2, h3, h4) {
    margin: 1.6em 0 .8em;
    letter-spacing: 0;
}

.cd2-article img {
    border-radius: var(--cd2-radius-sm);
}

.cd2-article a {
    color: var(--cd2-color-primary-dark);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cd2-article table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 1.4em;
}

.cd2-article th,
.cd2-article td {
    border: 1px solid var(--cd2-color-border);
    padding: 12px 16px;
    font-size: 14px;
    text-align: left;
}

.cd2-article th {
    background: var(--cd2-color-bg-alt);
}

.cd2-article .clearfix::after {
    content: '';
    display: table;
    clear: both;
}

.cd2-article .column {
    float: left;
}

.cd2-article .halfcolumn {
    width: 48%;
    margin-right: 4%;
}

.cd2-article .halfcolumn:last-child {
    margin-right: 0;
}

.cd2-article .column33 {
    width: 31.3%;
    margin-right: 3%;
}

.cd2-article .column33:nth-child(3n) {
    margin-right: 0;
}

.cd2-article .column1 {
    width: 100%;
    float: none;
}

.cd2-article a.linkbtn,
.cd2-article a.kanrenlink {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 999px;
    background: var(--cd2-gradient-brand);
    color: #fff !important;
    font-weight: 600;
    text-decoration: none !important;
    margin: 6px 8px 6px 0;
}

/* ---------- 関連事例／新着記事（フッター前のおすすめリスト） ---------- */
.cd2-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 32px;
}

.cd2-related-card {
    display: block;
}

.cd2-related-card__img {
    aspect-ratio: 4 / 3;
    border-radius: var(--cd2-radius-sm);
    overflow: hidden;
    margin-bottom: 12px;
    background: var(--cd2-color-bg-alt);
}

.cd2-related-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cd2-related-card__meta {
    font-size: 12px;
    color: var(--cd2-color-muted-label);
    margin-bottom: 6px;
}

.cd2-related-card__title {
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.6;
    color: var(--cd2-color-text);
}

/* ---------- Footer（明るいアイボリー基調） ---------- */
.cd2-footer {
    background: #FFFFFF;
    border-top: 1px solid var(--cd2-color-border);
    color: var(--cd2-color-text-light);
    padding: 72px 0 48px;
    text-align: center;
    position: relative;
}

.cd2-footer__inner {
    max-width: var(--cd2-container-w);
    margin: 0 auto;
    padding: 0 24px;
}

.cd2-footer__logo img {
    display: inline-block;
    border-radius: 8px;
    margin-bottom: 18px;
    opacity: .9;
}

.cd2-footer__copy {
    font-size: 12.5px;
    letter-spacing: .04em;
}

.cd2-footer__totop {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: var(--cd2-shadow);
    z-index: 150;
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {

    .cd2-values-grid,
    .cd2-feature-grid {
        grid-template-columns: 1fr;
    }

    .cd2-cta-pair {
        grid-template-columns: 1fr;
    }

    .cd2-case-grid,
    .cd2-related-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cd2-case-detail {
        grid-template-columns: 1fr;
    }

    .cd2-chairman {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .cd2-chairman__photo {
        width: 180px;
    }
}

@media (max-width: 860px) {
    .cd2-nav {
        position: fixed;
        top: var(--cd2-header-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--cd2-header-height));
        background: var(--cd2-color-bg);
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        padding: 28px 24px;
        gap: 20px;
        overflow-y: auto;
        transform: translateX(100%);
        transition: transform .3s ease;
    }

    .cd2-nav.is-open {
        transform: translateX(0);
    }

    .cd2-nav__list {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
    }

    .cd2-nav__link {
        padding: 14px 4px;
        border-bottom: 1px solid var(--cd2-color-border);
        justify-content: space-between;
        width: 100%;
    }

    .cd2-nav__sub {
        position: static;
        transform: none;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        display: none;
        min-width: 0;
        padding: 0 0 0 14px;
        border-top: none;
    }

    .cd2-nav__item--has-sub.is-open .cd2-nav__sub {
        display: block;
        transform: none;
    }

    .cd2-nav__cta {
        justify-content: center;
        margin-top: 12px;
    }

    .cd2-nav-toggle {
        display: flex;
    }

    .cd2-hero {
        min-height: 560px;
    }

    .cd2-hero__text {
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    .cd2-section {
        padding: var(--cd2-section-pad-mobile) 0;
    }

    .cd2-reveal-box {
        padding: 28px 22px;
    }

    .cd2-flow-step {
        flex-direction: column;
        text-align: center;
    }

    .cd2-prep-item {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
    }

    .cd2-chairman__photo {
        width: 140px;
    }

    .cd2-trademark-notice {
        text-align: left;
    }

    .cd2-cta-box {
        flex-direction: column;
        text-align: center;
    }

    .cd2-case-grid,
    .cd2-related-grid {
        grid-template-columns: 1fr;
    }

    .cd2-article .halfcolumn,
    .cd2-article .column33 {
        width: 100%;
        float: none;
        margin-right: 0;
        margin-bottom: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .cd2-hero__lead,
    .cd2-hero__brand {
        animation: none;
        opacity: 1;
        transform: none;
    }
}