@charset "UTF-8";

/* =========================================================
   keypoint 専用スタイル（3ページ共通: reason / technology / quality）
   - .w1600 / .w1200 より下位のみをスコープとする
   - 既存 common / common_sub / company の汚染は避ける
   ========================================================= */

:root {
    --nc-primary: #0d3b66;
    --nc-primary-soft: #1e5fa8;
    --nc-accent: #8fc1ff;
    --nc-ink: #1f2937;
    --nc-ink-soft: #4b5563;
    --nc-line: #e5e9ef;
    --nc-bg-soft: #f6f9fd;
    --nc-overlay-rgb: 13, 59, 102;
    --nc-accent-line: rgba(143, 193, 255, 0.55);
}

/* ========== Theme variants ==========
   ベースのネイビーと明度・彩度を揃えて色相のみシフトし、
   ページ間で「トーンは同じ／色味だけ違う」印象に統一する */
.nc-theme-green {
    --nc-primary: #0d5a46;          /* 深いフォレストグリーン */
    --nc-primary-soft: #1e8a6a;
    --nc-accent: #8ee3c4;
    --nc-line: #e2ede9;
    --nc-bg-soft: #f3faf7;
    --nc-overlay-rgb: 13, 90, 70;
    --nc-accent-line: rgba(142, 227, 196, 0.55);
}
.nc-theme-red {
    --nc-primary: #5d3640;          /* ダスティ・ワイン（彩度を抑えた落ち着いたワイン） */
    --nc-primary-soft: #8e5461;
    --nc-accent: #e6bdc6;
    --nc-line: #eae3e5;
    --nc-bg-soft: #faf6f7;
    --nc-overlay-rgb: 93, 54, 64;
    --nc-accent-line: rgba(230, 189, 198, 0.5);
}

/* ========== Hero ( .comm_subTtlWrap--nc は全幅 ) ========== */
/* 色の幕は .comm_subTtlWrap--nc に乗せて左右ぶち抜きにする */
.comm_subTtlWrap--nc {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}
.comm_subTtlWrap--nc::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        rgba(var(--nc-overlay-rgb), 0.95) 0%,
        rgba(var(--nc-overlay-rgb), 0.78) 50%,
        rgba(var(--nc-overlay-rgb), 0.96) 100%);
    z-index: 0;
    pointer-events: none;
}
.comm_subTtlWrap--nc > .w1600 {
    position: relative;
    z-index: 1;
}

.nc-hero {
    position: relative;
    padding: 130px 0 120px;
    color: #ffffff;
    text-align: center;
}
.nc-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 960px;
    margin: 0 auto;
}
.nc-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    font-family: 'Oswald', sans-serif;
    font-size: 1.22rem;
    letter-spacing: 0.36em;
    color: var(--nc-accent);
    margin: 0 0 1.8rem;
    padding-left: 0.36em;
}
.nc-hero__eyebrow::before,
.nc-hero__eyebrow::after {
    content: "";
    width: 72px;
    height: 1px;
    background: var(--nc-accent-line);
}
.nc-hero__title {
    font-size: clamp(2.2rem, 5.6vw, 4rem);
    font-weight: 700;
    line-height: 1.38;
    letter-spacing: 0.06em;
    margin: 0;
    text-shadow: 0 6px 32px rgba(0, 0, 0, 0.28);
}
.nc-hero__subtitle {
    margin: 2.1rem auto 0;
    font-size: 0.98rem;
    line-height: 2.1;
    color: rgba(255, 255, 255, 0.88);
    max-width: 780px;
}

/* ========== Intro ( inside .w1200 ) ========== */
.nc-intro {
    padding: 80px 0 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.nc-intro__heading {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    margin: 0 0 1.75rem;
    padding: 0;
    font-family: 'Oswald', sans-serif;
    font-size: clamp(1.12rem, 2.1vw, 1.45rem);
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: 0.28em;
    text-align: center;
    color: var(--nc-primary);
}
.nc-intro__heading::before,
.nc-intro__heading::after {
    content: "";
    flex: 0 0 auto;
    width: clamp(36px, 8vw, 56px);
    height: 1px;
    background: var(--nc-primary);
}
.nc-intro__lead {
    display: block;
    width: 100%;
    max-width: 800px;
    margin: 0;
    padding: 0;
    font-size: 1.02rem;
    line-height: 2.1;
    text-align: left;
    color: var(--nc-ink);
}

/* ========== Section / Row ========== */
.nc-section {
    padding: 24px 0 120px;
}
.nc-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 72px;
    padding: 64px 0;
    position: relative;
}
.nc-row + .nc-row {
    border-top: 1px solid var(--nc-line);
}
.nc-row--rev {
    flex-direction: row-reverse;
}
.nc-row__media,
.nc-row__body {
    flex: 1 1 calc(50% - 36px);
    min-width: 0;
}

/* Media */
.nc-row__media {
    position: relative;
}
.nc-row__media::before {
    content: "";
    position: absolute;
    /* 光源を右上に固定するため、フレームは常に右下方向にオフセット（反転行でも同一方向） */
    inset: 22px -22px -22px 22px;
    background: linear-gradient(135deg, var(--nc-primary) 0%, var(--nc-primary-soft) 100%);
    z-index: 0;
    opacity: 0.12;
    pointer-events: none;
}
.nc-row__figure {
    position: relative;
    z-index: 1;
    overflow: hidden;
    box-shadow: 0 24px 48px -30px rgba(13, 59, 102, 0.45);
}
.nc-row__figure::before {
    content: "";
    display: block;
    padding-top: 64%;
}
.nc-row__figure-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 1.2s ease;
}
.nc-row__figure:hover .nc-row__figure-img {
    transform: scale(1.04);
}

/* Body */
.nc-row__num {
    display: inline-flex;
    align-items: baseline;
    /* HTML上は「01 → REASON」の順だが視覚的には「REASON 01」で見せる */
    flex-direction: row-reverse;
    gap: 14px;
    font-family: 'Oswald', sans-serif;
    color: var(--nc-primary);
    margin-bottom: 1.4rem;
}
.nc-row__num-big {
    font-size: 2.2rem;
    line-height: 1;
    letter-spacing: 0.02em;
}
.nc-row__num-label {
    font-size: 0.98rem;            /* 従来 0.78rem の約 1.25倍 */
    letter-spacing: 0.3em;
    color: var(--nc-ink-soft);
}
.nc-row__title {
    font-size: 1.72rem;
    line-height: 1.5;
    font-weight: 700;
    color: var(--nc-primary);
    margin: 0 0 1.3rem;
    letter-spacing: 0.02em;
    padding-left: 20px;
    border-left: 3px solid var(--nc-primary);
}
.nc-row__text {
    font-size: 0.98rem;
    line-height: 2.05;
    color: var(--nc-ink);
    text-align: left;
    margin: 0;
}

/* ========== Pager ( 他章への導線 ) ==========
   各カードにターゲットページのテーマクラスを付与して、
   遷移先の章の色で配色する。 */
.nc-pager {
    padding: 72px 0 120px;
    border-top: 1px solid #e5e9ef;
}
.nc-pager__ttl {
    font-family: 'Oswald', sans-serif;
    font-size: 0.82rem;
    letter-spacing: 0.42em;
    color: #4b5563;
    text-align: center;
    margin: 0 0 2.2rem;
    padding-left: 0.42em;
}
.nc-pager__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}
.nc-pager__item {
    position: relative;
    display: block;
    padding: 38px 72px 38px 40px;
    background: linear-gradient(135deg, var(--nc-bg-soft) 0%, #ffffff 100%);
    border: 1px solid var(--nc-line);
    /* 左のアクセントバーは inset box-shadow で描画し、疑似要素を矢印用に空けておく */
    box-shadow: inset 3px 0 0 0 var(--nc-primary);
    text-decoration: none;
    color: inherit;
    transition: transform 0.45s ease, box-shadow 0.45s ease, border-color 0.45s ease;
    overflow: hidden;
}
/* 上側の矢羽（hover で出現、下側の射線は描かない） */
.nc-pager__item::before {
    content: "";
    position: absolute;
    right: 36px;
    top: 50%;
    width: 11px;
    height: 1px;
    background: var(--nc-primary);
    transform-origin: right center;
    /* CSSの Y軸は下向きなので、上方向に振るには正の回転（CW）を指定 */
    transform: rotate(38deg);
    opacity: 0;
    transition: opacity 0.3s ease, right 0.45s ease;
    pointer-events: none;
}
/* 横線本体 */
.nc-pager__item::after {
    content: "";
    position: absolute;
    right: 36px;
    top: 50%;
    width: 34px;
    height: 1px;
    background: var(--nc-primary);
    transition: width 0.45s ease, right 0.45s ease;
    pointer-events: none;
}
.nc-pager__item:hover {
    transform: translateY(-3px);
    border-color: var(--nc-primary-soft);
    box-shadow: inset 6px 0 0 0 var(--nc-primary),
                0 22px 44px -30px rgba(31, 41, 55, 0.45);
}
.nc-pager__item:hover::before {
    opacity: 1;
    right: 28px;
    transition-delay: 0.08s;
}
.nc-pager__item:hover::after {
    width: 50px;
    right: 28px;
}
.nc-pager__label {
    display: block;
    font-family: 'Oswald', sans-serif;
    font-size: 0.74rem;
    letter-spacing: 0.36em;
    color: var(--nc-ink-soft);
    margin-bottom: 0.55rem;
    padding-left: 0.36em;
}
.nc-pager__key {
    display: block;
    font-family: 'Oswald', sans-serif;
    font-size: 1.6rem;
    letter-spacing: 0.16em;
    line-height: 1.2;
    color: var(--nc-primary);
    margin-bottom: 0.4rem;
}
.nc-pager__subttl {
    display: block;
    font-size: 0.96rem;
    line-height: 1.65;
    color: var(--nc-ink);
}

/* ========== Responsive ========== */
@media screen and (max-width: 960px) {
    .nc-hero { padding: 96px 0 84px; }
    .nc-hero__eyebrow { font-size: 1.1rem; gap: 16px; letter-spacing: 0.32em; }
    .nc-hero__eyebrow::before,
    .nc-hero__eyebrow::after { width: 48px; }
    .nc-intro { padding: 64px 0 16px; }
    .nc-intro__heading {
        margin-bottom: 1.35rem;
        letter-spacing: 0.22em;
    }
    .nc-section { padding: 16px 0 80px; }
    .nc-row {
        gap: 36px;
        padding: 44px 0;
        flex-direction: column !important;
    }
    .nc-row__media,
    .nc-row__body {
        flex: 0 1 auto;
        width: 100%;
    }
    .nc-row__media::before,
    .nc-row--rev .nc-row__media::before {
        inset: 14px -14px -14px 14px;
    }
    .nc-pager { padding: 56px 0 88px; }
    .nc-pager__grid { grid-template-columns: 1fr; gap: 16px; }
    .nc-pager__item { padding: 30px 64px 30px 32px; }
    .nc-pager__item::after { right: 28px; }
    .nc-pager__key { font-size: 1.4rem; }
}
@media screen and (max-width: 600px) {
    .nc-hero { padding: 72px 0 60px; }
    .nc-hero__eyebrow { font-size: 0.98rem; letter-spacing: 0.28em; margin-bottom: 1.3rem; gap: 12px; }
    .nc-hero__eyebrow::before,
    .nc-hero__eyebrow::after { width: 28px; }
    .nc-hero__title { letter-spacing: 0.03em; line-height: 1.4; }
    .nc-hero__subtitle { font-size: 0.92rem; line-height: 1.95; margin-top: 1.5rem; }
    .nc-intro__heading {
        font-size: 1.06rem;
        letter-spacing: 0.18em;
        gap: 12px;
    }
    .nc-intro__heading::before,
    .nc-intro__heading::after {
        width: 28px;
    }
    .nc-intro__lead { font-size: 0.95rem; line-height: 2; }
    .nc-row__num-big { font-size: 1.8rem; }
    .nc-row__num-label { font-size: 0.88rem; letter-spacing: 0.26em; }
    .nc-row__title {
        font-size: 1.35rem;
        padding-left: 14px;
        border-left-width: 2px;
    }
    .nc-row__text { font-size: 0.94rem; line-height: 2; }
}
