/* ==========================================================================
   page-our-goal.css — Our Goal ページ専用スタイル
   コンテナ: max-width 980px / padding 0 30px (PC) 0 32px (Tablet) 0 16px (SP)
   ========================================================================== */

/* ------------------------------------------------------------------
   スクロール着地オフセット
   ------------------------------------------------------------------ */
.og-jump {
    scroll-margin-top: 72px;
}

/* ------------------------------------------------------------------
   共通: セクションラッパー
   ------------------------------------------------------------------ */
.og-section {
    border-bottom: 1px solid #e8e8e8;
}

.og-section--white,
.og-section--gray   { background: #fff; }
.og-section--accent { background: #C0401A; }

.og-section__inner {
    max-width: 980px;
    margin: 0 auto;
    padding: 64px 30px;
    box-sizing: border-box;
}

/* ------------------------------------------------------------------
   共通: セクション見出しブロック
   ------------------------------------------------------------------ */
.og-section__header {
    text-align: center;
    margin-bottom: 48px;
}

.og-section__en {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #C0401A;
    margin: 0 0 4px;
}

.og-section__heading {
    font-size: 36px;
    font-weight: 700;
    color: #C0401A;
    line-height: 1.2;
    margin: 0 0 20px;
}

/* アクセントカラー背景上の白文字 */
.og-section__header--light .og-section__en {
    color: rgba(255, 255, 255, 0.75);
}

.og-section__heading--light {
    color: #fff;
}

.og-section__catchphrase {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.65;
    color: #333;
    margin: 0;
}

.og-section__catchphrase--left {
    text-align: left;
    margin-bottom: 16px;
}

/* ------------------------------------------------------------------
   共通: 本文テキスト
   ------------------------------------------------------------------ */
.og-body-text {
    font-size: 16px;
    line-height: 1.9;
    color: #444;
    margin: 0 0 16px;
}

.og-body-text:last-of-type {
    margin-bottom: 0;
}

/* ------------------------------------------------------------------
   共通: ボタン
   ------------------------------------------------------------------ */
.og-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 28px;
    padding: 11px 24px;
    background-color: #C0401A;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.og-btn:hover {
    background-color: #a8360d;
}

.og-btn svg {
    width: 18px;
    height: 18px;
    fill: #fff;
    flex-shrink: 0;
}

/* ------------------------------------------------------------------
   共通: 2カラム分割レイアウト
   ------------------------------------------------------------------ */
.og-split {
    display: flex;
    gap: 48px;
    align-items: center;
}

.og-split--img-left  { flex-direction: row; }
.og-split--img-right { flex-direction: row-reverse; }

.og-split__body {
    flex: 1;
    min-width: 0;
}

.og-split__img-wrap {
    flex-shrink: 0;
    width: 40%;
    max-width: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.og-split__img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.og-split__divider {
    height: 1px;
    background: #ddd;
    margin: 20px 0 24px;
}

/* ==========================================================================
   1. ヒーロー
   ========================================================================== */
.og-hero {
    background-color: #fff;
    border-bottom: 1px solid #e8e8e8;
}

.og-hero__inner {
    max-width: 980px;
    margin: 0 auto;
    padding: 56px 30px 48px;
    box-sizing: border-box;
    text-align: center;
}

.og-hero__en {
    font-size: 60px;
    font-weight: 700;
    line-height: 1.1;
    color: #C0401A;
    margin: 0 0 8px;
}

.og-hero__heading {
    font-size: 26px;
    font-weight: 400;
    line-height: 1.3;
    color: #C0401A;
    margin: 0 0 48px;
}

/* ナビカード */
.og-hero__nav {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.og-hero__nav-row {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.og-hero__nav-item {
    flex: 0 0 calc(33.333% - 11px);
    max-width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
}

.og-hero__nav-img-wrap {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    box-sizing: border-box;
    border: 1px solid #e8e8e8;
}

.og-hero__nav-img-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.og-hero__nav-label {
    font-size: 14px;
    font-weight: 700;
    color: #C0401A;
    letter-spacing: 0.05em;
}

/* ==========================================================================
   2. bda 3 Values（アクセント背景）
   ========================================================================== */
.og-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}

.og-values__card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    box-sizing: border-box;
}

.og-values__num {
    display: block;
    font-size: 48px;
    font-weight: 700;
    color: rgba(192, 64, 26, 0.25);
    line-height: 1;
    margin-bottom: 16px;
}

.og-values__name {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 12px;
    line-height: 1.4;
}

.og-values__body {
    font-size: 14px;
    color: #C0401A;
    font-weight: 600;
    line-height: 1.8;
    margin: 0;
}

.og-values__img-wrap {
    text-align: center;
}

.og-values__img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* ==========================================================================
   3. Ability チェックリスト
   ========================================================================== */
.og-ability__list {
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.og-ability__item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 16px;
    line-height: 1.85;
    color: #333;
}

.og-ability__item::before {
    content: '';
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    margin-top: 2px;
    background-color: #C0401A;
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='44 59 112 82.683' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M82.28 141.683 44 101.817l5.656-5.892L82.28 129.9 150.344 59 156 64.892l-73.72 76.791Z' fill='%23fff' fill-rule='evenodd'/%3E%3C/svg%3E");
    background-size: 65%;
    background-position: center;
    background-repeat: no-repeat;
}

/* ==========================================================================
   レスポンシブ: タブレット（〜1024px）
   ========================================================================== */
@media (max-width: 1024px) {
    .og-hero__inner,
    .og-section__inner {
        padding-left: 32px;
        padding-right: 32px;
    }

    .og-hero__en {
        font-size: 46px;
    }
}

/* ==========================================================================
   レスポンシブ: モバイル（〜768px）
   ========================================================================== */
@media (max-width: 768px) {

    .og-hero__inner,
    .og-section__inner {
        padding: 48px 16px;
    }

    /* ヒーロー */
    .og-hero__en {
        font-size: 42px;
    }

    .og-hero__heading {
        font-size: 20px;
        margin-bottom: 32px;
    }

    .og-hero__nav {
        gap: 12px;
    }

    .og-hero__nav-row {
        gap: 12px;
    }

    .og-hero__nav-item {
        flex: 0 0 calc(33.333% - 8px);
        max-width: none;
    }

    .og-hero__nav-label {
        font-size: 12px;
    }

    /* セクション見出し */
    .og-section__header {
        margin-bottom: 32px;
    }

    .og-section__heading {
        font-size: 26px;
    }

    .og-section__catchphrase {
        font-size: 17px;
    }

    /* 2カラム → 縦積み */
    .og-split,
    .og-split--img-left,
    .og-split--img-right {
        flex-direction: column;
        gap: 28px;
    }

    .og-split__img-wrap {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }

    /* Values */
    .og-values {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .og-values__card {
        padding: 24px 20px;
    }

    .og-values__num {
        font-size: 36px;
    }

    .og-body-text {
        font-size: 15px;
    }
}

/* ==========================================================================
   レスポンシブ: 小さいスマホ（〜480px）
   ========================================================================== */
@media (max-width: 480px) {
    .og-hero__nav-item {
        flex: 0 0 calc(50% - 6px);
    }
}
