
@charset "utf-8";

/* ==========================================================================
   エンベスト toB サイト 共通スタイル

   色・文字サイズ・余白はデザインデータ（デザインデータ/pc_css.css）から拾って
   トークン化している。個別ページで色を直書きせず、必ずここの変数を使うこと。
   ========================================================================== */

:root {
    /* --- 色 ------------------------------------------------------------- */
    --brand: #E63200;          /* アクセント。CTA・強調文字 */
    --brand-dark: #C42B00;     /* CTA ホバー */
    --brand-light: #FFB890;
    --brand-line: #F16225;     /* カードの細枠。デザイン指定 */
    --peach: #FDF3EC;          /* セクション背景（淡いオレンジ） */
    --peach-2: #FFECDE;
    --ink: #222222;            /* 本文 */
    --ink-strong: #111111;
    --navy: #223547;           /* 濃色セクション・お悩みチップ */
    --muted: #63696E;          /* 補足文 */
    --muted-2: #667583;
    --line: #E7E2DD;           /* 罫線 */
    --line-cool: #E8ECF0;
    --bg: #FEFCFB;             /* ページ背景 */
    --gray-bg: #F3F4F5;
    --white: #FFFFFF;

    /* --- 影 ------------------------------------------------------------- */
    --shadow-sm: 0 2px 8px rgba(34, 34, 34, .06);
    --shadow-md: 0 8px 24px rgba(34, 34, 34, .08);
    --shadow-header: 0 4px 10px rgba(0, 0, 0, .05);

    /* --- 寸法 ----------------------------------------------------------- */
    --container: 1320px;
    --radius: 12px;
    --radius-lg: 24px;         /* Hero カード等。デザイン実測 */
    --header-h: 83px;

    --font-jp: 'Noto Sans JP', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
    --font-en: 'Montserrat', var(--font-jp);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    /* 固定ヘッダーぶん下げてアンカーが隠れないようにする */
    scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font-jp);
    font-size: 16px;
    line-height: 1.75;
    font-feature-settings: 'palt' 1;
    -webkit-font-smoothing: antialiased;
    /* 日本語は既定の改行規則に任せる。keep-all にすると文全体が 1 語扱いになり、
       overflow-wrap が語の途中で折ってしまう。 */
    word-break: normal;
    line-break: strict;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

a {
    color: inherit;
    text-decoration: none;
}

/* デザインの見出しは font-weight 900（Noto Sans JP Black）。 */
h1, h2, h3, h4 {
    margin: 0;
    line-height: 1.4;
    font-weight: 900;
}

p {
    margin: 0;
}

ul, ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

:focus-visible {
    outline: 3px solid var(--brand);
    outline-offset: 2px;
}

.container {
    width: 100%;
    max-width: 1320px;
    margin: auto;
    padding: 0 0vw;
    position: relative
}
.container {
    width: min(100% - 40px, var(--container));
    margin-inline: auto;
}

.container--narrow {
    width: min(100% - 40px, 1000px);
    margin-inline: auto;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

/* ==========================================================================
   ヘッダー
   ========================================================================== */

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .9);
    box-shadow: var(--shadow-header);
    backdrop-filter: blur(4px);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: var(--header-h);
    padding-block: 12px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}

/* ロゴは enbest.jp の実物 SVG。
   ヘッダーは黒版、フッターは白版を出し分ける（同じ形で色だけ違う）。 */
.brand__logo {
    display: block;
    width: 120px;
    height: auto;
}

.footer .brand__logo {
    width: 150px;
}

.brand__tag {
    padding: 3px 8px;
    border: 1px solid var(--brand);
    border-radius: 4px;
    color: var(--brand);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.75;
    white-space: nowrap;
}

.gnav {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-left: auto;
}

.gnav__link {
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    transition: color .15s;
}

.gnav__link:not(.gnav__link--static):hover {
    color: var(--brand);
}

.gnav__link--arrow::before {
    content: '→';
    margin-right: 4px;
    color: var(--brand);
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
}

/* ハンバーガー（SP のみ） */
.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    cursor: pointer;
}

.nav-toggle__bar,
.nav-toggle__bar::before,
.nav-toggle__bar::after {
    display: block;
    width: 20px;
    height: 2px;
    margin-inline: auto;
    background: var(--ink);
    transition: transform .2s, opacity .2s;
}

.nav-toggle__bar::before,
.nav-toggle__bar::after {
    content: '';
    position: relative;
}

.nav-toggle__bar::before { top: -6px; }
.nav-toggle__bar::after  { top: 4px; }

.nav-toggle[aria-expanded="true"] .nav-toggle__bar {
    background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar::before {
    transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar::after {
    transform: translateY(-4px) rotate(-45deg);
}

/* ==========================================================================
   ボタン
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 10px 22px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-family: var(--font-jp);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .15s, color .15s, border-color .15s, transform .1s;
}

.btn:active {
    transform: translateY(1px);
}

.btn--primary {
    background: var(--brand);
    border-color: var(--brand);
    color: var(--white) !important;
}

.btn--primary:hover {
    background: var(--brand-dark);
    border-color: var(--brand-dark);
}

.btn--outline {
    background: var(--white);
    border-color: var(--ink);
    color: var(--ink);
}

.btn--outline:hover {
    background: var(--ink);
    color: var(--white) !important;
}

.btn--ghost {
    background: transparent;
    border-color: var(--line);
    color: var(--ink);
}

.btn--ghost:hover {
    border-color: var(--ink);
}

/* 大ボタン。左右の余白は 22px。
   36px だと Hero の本文列（約 560px）でボタン 2 つが 1 行に収まらず、
   デザインと違って折り返してしまう。Hero だけ例外にすると
   同じ「大ボタン」が 2 通りになるため、全体をこの寸法に揃える。 */
.btn--lg {
    min-height: 60px;
    padding: 14px 22px;
    font-size: 18px;
}

.btn--block {
    display: flex;
    width: 100%;
}

.btn__icon {
    flex: 0 0 auto;
}

/* ==========================================================================
   セクションの見出し
   ========================================================================== */

.section {
    padding-block: 88px;
}

.section--peach {
    background: var(--peach);
}

.section--gray {
    background: var(--gray-bg);
}

.section--navy {
    background: var(--navy);
    color: var(--white);
}

.eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 14px;
    font-family: var(--font-en);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .14em;
    color: var(--brand);
}

.eyebrow::before,
.eyebrow::after {
    content: '';
    width: 22px;
    height: 1px;
    background: currentColor;
}

.eyebrow--left {
    justify-content: flex-start;
}

.eyebrow--left::after {
    display: none;
}

.section-title {
    margin-bottom: 16px;
    font-size: 36px;
    line-height: 1.5;
    text-align: center;
}

.section-title--left {
    text-align: left;
}

.section-lead {
    margin-bottom: 48px;
    color: var(--muted);
    font-size: 14px;
    text-align: center;
}

.section-lead--left {
    text-align: left;
}

.mark {
    color: var(--brand);
}

/* ==========================================================================
   フッター
   ========================================================================== */

.footer {
    padding-block: 56px 28px;
    background: var(--ink);
    color: var(--white);
}

.footer__top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.4fr;
    gap: 40px;
    padding-bottom: 36px;
}

.footer .brand__logo {
    color: var(--white);
}

/* デザインではフッターのタグもヘッダーと同じ #E63200（実測）。
   濃色地なので薄くしたくなるが、そこは揃えること。 */
.footer .brand__tag {
    border-color: var(--brand);
    color: var(--brand);
}

.footer__address {
    margin-top: 18px;
    color: rgba(255, 255, 255, .72);
    font-size: 12px;
    line-height: 2;
}

.footer__badges {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer__badges img {
    height: 44px;
    width: auto;
    background: var(--white);
    border-radius: 4px;
    padding: 3px;
}

.footer__heading {
    margin-bottom: 14px;
    font-size: 14px;
    font-weight: 700;
}

.footer__list li + li {
    margin-top: 10px;
}

.footer__list a {
    color: rgba(255, 255, 255, .82);
    font-size: 13px;
    transition: color .15s;
}

.footer__list a::before {
    content: '→';
    margin-right: 6px;
    color: var(--brand);
}

.footer__list a:hover {
    color: var(--white);
}

.footer__cta {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 24px;
    margin-top: 22px;
}

.footer__links a {
    color: rgba(255, 255, 255, .72);
    font-size: 12px;
}

.footer__links a:hover {
    color: var(--white);
}

.footer__copyright {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, .16);
    color: rgba(255, 255, 255, .6);
    font-size: 12px;
    text-align: right;
}

/* ==========================================================================
   パンくず
   ========================================================================== */

.breadcrumb {
    padding-block: 16px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
}

.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12px;
    color: var(--muted);
}

.breadcrumb li + li::before {
    content: '/';
    margin-right: 8px;
    color: var(--line);
}

.breadcrumb a:hover {
    color: var(--brand);
    text-decoration: underline;
}

/* ==========================================================================
   フォーム（資料ダウンロード）
   ========================================================================== */

/* 濃色セクション（.section--navy）の中に置くと文字色 white を継承し、
   白いカードの上で見出し・ラベルが読めなくなる。色は必ず自分で持つこと。 */
.form-card {
    padding: 28px;
    border: 1px solid var(--brand-line);
    border-radius: var(--radius-lg);
    background: var(--white);
    color: var(--ink);
    box-shadow: var(--shadow-md);
}

.form-card__badge {
    display: inline-block;
    margin-bottom: 12px;
    padding: 4px 10px;
    border-radius: 4px;
    background: var(--peach-2);
    color: var(--brand);
    font-size: 13px;
    font-weight: 700;
}

.form-card__title {
    margin-bottom: 6px;
    font-size: 20px;
}

.form-card__note {
    margin-bottom: 20px;
    color: var(--muted);
    font-size: 12px;
}

.field + .field {
    margin-top: 16px;
}

.field__label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 700;
}

/* デザインでは塗りのチップではなく、オレンジの小さな文字。 */
.badge-required {
    color: var(--brand);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.6;
}

.badge-optional {
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.6;
}

.field__input,
.field__select,
.field__textarea {
    width: 100%;
    min-height: 46px;
    padding: 10px 14px;
    border: 1px solid var(--line-cool);
    border-radius: 8px;
    /* デザインでは入力欄がうすいグレー地。白カードの上でも欄の範囲が分かる。 */
    background: var(--gray-bg);
    color: var(--ink);
    font-family: var(--font-jp);
    font-size: 14px;
    line-height: 1.6;
    transition: border-color .15s, box-shadow .15s, background-color .15s;
}

.field__textarea {
    min-height: 110px;
    resize: vertical;
}

.field__input::placeholder,
.field__textarea::placeholder {
    color: #B9BDC2;
}

.field__input:focus,
.field__select:focus,
.field__textarea:focus {
    background: var(--white);
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(230, 50, 0, .12);
    outline: none;
}

/* エラーは色だけで示さない。文言も必ず出す（色覚特性への配慮）。 */
.field--error .field__input,
.field--error .field__select,
.field--error .field__textarea {
    border-color: var(--brand);
    background: #FFF7F4;
}

.field__error {
    display: none;
    margin-top: 6px;
    color: var(--brand);
    font-size: 12px;
    font-weight: 700;
}

.field--error .field__error {
    display: block;
}

.field__error::before {
    content: '⚠ ';
}

/* エラーのまとめ。フォーム部品の一部なので共通側に置く。
   資料ページ用 CSS にだけ書くと、読み込んでいないページで display:none が
   効かず、まとめが常時見えてしまう。 */
.form-error-summary {
    display: none;
    margin-bottom: 18px;
    padding: 14px 16px;
    border: 1px solid var(--brand);
    border-radius: 8px;
    background: #FFF7F4;
    color: var(--brand);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.8;
}

.form-error-summary.is-shown {
    display: block;
}

.form-error-summary ul {
    margin-top: 6px;
    font-weight: 400;
}

.form-error-summary li::before {
    content: '・';
}

.form-consent {
    margin-top: 18px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.8;
}

.form-consent a {
    color: var(--brand);
    text-decoration: underline;
}

.form-benefits {
    margin-top: 16px;
    display: grid;
    gap: 6px;
}

.form-benefits li {
    position: relative;
    padding-left: 18px;
    color: var(--muted);
    font-size: 12px;
}

.form-benefits li::before {
    content: '●';
    position: absolute;
    left: 0;
    color: var(--brand);
    font-size: 8px;
    top: 6px;
}

/* ==========================================================================
   電話番号ブロック
   ========================================================================== */

.tel-box {
    padding: 20px 24px;
    border-radius: var(--radius);
    background: var(--white);
    text-align: center;
}

.tel-box__label {
    font-size: 12px;
    color: var(--muted);
}

.tel-box__num {
    display: inline-block;
    margin-block: 4px;
    font-family: var(--font-en);
    font-size: 24px;
    font-weight: 600;
    letter-spacing: .02em;
    color: var(--brand);
}

.tel-box__hours {
    font-size: 11px;
    color: var(--muted);
}

/* ==========================================================================
   レスポンシブ
   ========================================================================== */

/* ナビの項目が 6 つあり、1400px を切ると横に並びきらない。まず詰める。 */
@media (max-width: 1400px) {
    .header__inner {
        gap: 16px;
    }

    .gnav {
        gap: 16px;
    }

    .gnav__link {
        font-size: 13px;
    }

    .header__actions .btn {
        padding: 10px 14px;
        font-size: 13px;
    }
}

/* 詰めても 1200px を切ると収まらないため、ここからハンバーガーに畳む。
   以前は 900px からで、1100〜1360px ではヘッダーが横にはみ出していた。 */
@media (max-width: 1200px) {
    .nav-toggle {
        display: block;
    }

    /* ナビをシートに畳む。開くまで DOM から外さないのは、
       中のリンクが検索エンジン・スクリーンリーダーから読めるようにするため。 */
    .gnav {
        position: fixed;
        inset: var(--header-h) 0 auto 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        margin: 0;
        padding: 8px 20px 20px;
        background: var(--white);
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow-md);
        max-height: calc(100dvh - var(--header-h));
        overflow-y: auto;
        transform: translateY(-8px);
        opacity: 0;
        visibility: hidden;
        transition: opacity .18s, transform .18s, visibility .18s;
    }

    .gnav.is-open {
        transform: none;
        opacity: 1;
        visibility: visible;
    }

    .gnav__link {
        padding-block: 14px;
        border-bottom: 1px solid var(--line);
        font-size: 15px;
    }
}

@media (max-width: 900px) {
    .section {
        padding-block: 56px;
    }

    .section-title {
        font-size: 26px;
    }

    /* ヘッダーの「ご相談」ボタンは狭い画面では畳む。資料DL だけ残す。 */
    .header__actions .btn--outline {
        display: none;
    }

    .header__actions .btn {
        min-height: 42px;
        padding: 8px 14px;
        font-size: 12px;
    }

    .footer__top {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer__copyright {
        text-align: left;
    }
}

/* 390px 幅ではヘッダーの中身（ロゴ＋タグ＋CTA＋ハンバーガー）が
   横に並びきらず 14px ほどはみ出していた。要素を詰めて収める。 */
@media (max-width: 700px) {
    .header__inner {
        gap: 8px;
    }

    .brand {
        gap: 6px;
        min-width: 0;
    }

    .brand__tag {
        padding: 2px 5px;
        font-size: 10px;
    }

    .header__actions {
        gap: 6px;
    }

    .header__actions .btn {
        padding: 8px 10px;
        font-size: 11px;
    }

    .nav-toggle {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 600px) {
    .brand__logo {
        font-size: 18px;
    }

    .section-title {
        font-size: 22px;
    }

    .form-card {
        padding: 20px;
    }
}

/* 320px（iPhone SE 第1世代など）では、ロゴ＋「法人向け」＋CTA＋ハンバーガーが
   横に並びきらない。いちばん情報量の少ない「法人向け」タグを畳む。 */
@media (max-width: 380px) {
    .header .brand__tag {
        display: none;
    }

    .header__actions .btn {
        padding: 8px 8px;
        font-size: 11px;
    }

    .container,
    .container--narrow {
        width: min(100% - 24px, var(--container));
    }
}

/* 動きを減らす設定を尊重する */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}



@charset "utf-8";

/* ==========================================================================
   お役立ち資料 一覧 / ダウンロード前入力 / 送信完了

   見た目はメインサイト（デザインデータ）に合わせる。
   構成は参考ページ（levtech.jp/contact/documents/）に合わせ、
   一覧はカテゴリ見出しで縦に区切り、入力ページは要素を絞る。
   ========================================================================== */

/* --------------------------------------------------------------------------
   ページ見出し
   -------------------------------------------------------------------------- */

.page-hero {
    padding-block: 56px 40px;
    background: var(--peach);
}

.page-hero__title {
    font-size: 40px;
    line-height: 1.5;
}

.page-hero__lead {
    margin-top: 14px;
    max-width: 760px;
    font-size: 16px;
    line-height: 2;
}

.doc-page {
    padding-block: 56px 88px;
}

/* --------------------------------------------------------------------------
   注目の 1 点
   -------------------------------------------------------------------------- */

.doc-pickup {
    display: grid;
    grid-template-columns: 340px minmax(0, 1fr);
    gap: 36px;
    align-items: center;
    padding: 32px;
    border: 1px solid var(--brand-line);
    border-radius: var(--radius-lg);
    background: var(--peach);
}

.doc-pickup__thumb {
    display: block;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--white);
}

.doc-pickup__thumb img {
    width: 100%;
    height: auto;
}

.doc-pickup__badge {
    display: inline-block;
    margin-bottom: 10px;
    padding: 4px 12px;
    border-radius: 4px;
    background: var(--brand);
    color: var(--white);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.6;
}

.doc-pickup__title {
    font-size: 28px;
    line-height: 1.5;
}

.doc-pickup__title a:hover {
    color: var(--brand);
    text-decoration: underline;
}

.doc-pickup__list {
    margin-top: 18px;
    display: grid;
    gap: 6px;
}

.doc-pickup__list li {
    position: relative;
    padding-left: 26px;
    font-size: 15px;
    line-height: 1.9;
}

.doc-pickup__list li::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 11px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand);
}

.doc-pickup__note {
    margin: 20px 0 10px;
    color: var(--brand);
    font-size: 14px;
    font-weight: 700;
}

/* --------------------------------------------------------------------------
   カテゴリごとの並び
   -------------------------------------------------------------------------- */

.doc-group {
    margin-top: 64px;
}

.doc-group__title {
    margin-bottom: 24px;
    font-size: 28px;
    line-height: 1.5;
}

.doc-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.doc-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    overflow: hidden;
    transition: box-shadow .18s, transform .18s;
}

.doc-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.doc-card__thumb {
    display: block;
    aspect-ratio: 4 / 3;
    background: var(--gray-bg);
    overflow: hidden;
}

.doc-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.doc-card__body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 20px;
}

.doc-card__title {
    font-size: 18px;
    line-height: 1.6;
}

.doc-card__title a:hover {
    color: var(--brand);
    text-decoration: underline;
}

.doc-card__text {
    margin-top: 8px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
}

.doc-card__meta {
    margin-top: 12px;
    color: var(--muted-2);
    font-size: 12px;
}

.doc-card__foot {
    margin-top: auto;
    padding-top: 18px;
}

/* --------------------------------------------------------------------------
   迷った方への受け皿
   -------------------------------------------------------------------------- */

.doc-help {
    margin-top: 72px;
    padding: 40px;
    border-radius: var(--radius-lg);
    background: var(--gray-bg);
    text-align: center;
}

.doc-help__title {
    font-size: 24px;
    line-height: 1.5;
}

.doc-help__text {
    margin-top: 12px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.9;
}

.doc-help__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    margin-top: 24px;
}

/* --------------------------------------------------------------------------
   ダウンロード前の情報入力
   -------------------------------------------------------------------------- */

.dl {
    padding-block: 48px 88px;
}

.dl__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 440px;
    gap: 56px;
    align-items: start;
}

/* 表紙は資料の目印。大きく出しすぎると本文（わかること）が下へ押し出される。 */
.dl-doc__thumb {
    max-width: 440px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--white);
}

.dl-doc__thumb img {
    width: 100%;
    height: auto;
}

.dl-doc__title {
    margin-top: 28px;
    font-size: 32px;
    line-height: 1.5;
}

.dl-doc__pages {
    margin-top: 12px;
    color: var(--muted-2);
    font-size: 13px;
}

.dl-doc__heading {
    margin-top: 32px;
    margin-bottom: 14px;
    padding-left: 12px;
    border-left: 3px solid var(--brand);
    font-size: 20px;
}

.dl-doc__list {
    display: grid;
    gap: 8px;
}

.dl-doc__list li {
    position: relative;
    padding-left: 26px;
    font-size: 16px;
    line-height: 1.9;
}

.dl-doc__list li::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 11px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand);
}

/* 入力欄は追従させる。長い説明を置いていないので、
   スクロールしてもフォームが視界から外れないようにする。 */
.dl__aside {
    position: sticky;
    top: calc(var(--header-h) + 16px);
}

.dl-form__submit {
    margin-top: 24px;
}

/* --------------------------------------------------------------------------
   送信完了
   -------------------------------------------------------------------------- */

.thanks {
    padding-block: 88px;
    text-align: center;
}

.thanks__icon {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: var(--peach);
    color: var(--brand);
}

.thanks__title {
    font-size: 32px;
    line-height: 1.5;
}

.thanks__lead {
    margin-top: 18px;
    color: var(--muted);
    font-size: 16px;
    line-height: 2;
}

.thanks__tel {
    max-width: 520px;
    margin: 32px auto 0;
    border: 1px solid var(--line);
}

.thanks__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    margin-top: 36px;
}

/* --------------------------------------------------------------------------
   レスポンシブ
   -------------------------------------------------------------------------- */

@media (max-width: 1200px) {
    .dl__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }

    .dl__aside {
        position: static;
        max-width: 520px;
    }
}

@media (max-width: 1000px) {
    .doc-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .page-hero {
        padding-block: 36px 28px;
    }

    .page-hero__title {
        font-size: 26px;
    }

    .page-hero__lead {
        font-size: 15px;
    }

    .doc-page {
        padding-block: 36px 56px;
    }

    .doc-pickup {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
        padding: 20px;
    }

    .doc-pickup__title {
        font-size: 22px;
    }

    .doc-group {
        margin-top: 44px;
    }

    .doc-group__title {
        font-size: 22px;
    }

    .doc-help {
        margin-top: 48px;
        padding: 28px 20px;
    }

    .doc-help__title {
        font-size: 20px;
    }

    .dl {
        padding-block: 32px 56px;
    }

    .dl-doc__title {
        font-size: 24px;
    }

    .thanks {
        padding-block: 56px;
    }

    .thanks__title {
        font-size: 24px;
    }
}

@media (max-width: 620px) {
    .doc-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Tablet layout follows the centered section-shell pattern used on /client02.
   Keep phone (<750px) and desktop (>=1300px) layouts unchanged. */
@media (min-width: 750px) and (max-width: 1299px) {
    body.documents-design-page {
        box-sizing: border-box;
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }

    .client02-documents .page-hero .container,
    .client02-documents .doc-page {
        box-sizing: border-box;
        width: min(940px, calc(100% - 32px));
        max-width: calc(100% - 32px);
        margin-left: auto;
        margin-right: auto;
    }
}
