@charset "UTF-8";
/* ==========================================================================
   大忠環境サービス ── デザインシステム
   --------------------------------------------------------------------------
   ・白と淡いグリーンを基調にした、明るく風通しのよい面構成
   ・区切りは直線ではなく「波」。硬さを消し、環境らしい柔らかさを出す
   ・見出しは明朝の縦組み。背後に淡い英字を大きく敷いて奥行きをつくる
   ・角は 20px。写真もカードも同じ丸みで統一する
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. トークン
   -------------------------------------------------------------------------- */
:root {
    /* 緑 ── 深緑から新緑まで */
    --green-900: #05543C;
    --green-700: #00794F;
    --green:     #00A469;   /* 主色 */
    --green-500: #55B565;   /* 新緑・アクセント */
    --green-300: #8FCB9B;
    --green-100: #D6EDE2;

    /* 面 */
    --tint:   #E7F5F0;      /* 緑10%相当のセクション地 */
    --tint-2: #F3FAF7;
    --white:  #FFFFFF;

    /* 文字 */
    --ink:   #333333;
    --ink-2: #6A6A6A;
    --ink-3: #9A9A9A;

    /* 罫 */
    --line:      rgba(0, 0, 0, 0.09);
    --line-soft: rgba(0, 0, 0, 0.05);

    /* 書体 */
    --mincho: 'Zen Old Mincho', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
    --sans:   'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Hiragino Sans', 'Yu Gothic', sans-serif;
    --latin:  'Jost', 'Helvetica Neue', Arial, sans-serif;

    /* 寸法 */
    --container: 1180px;
    --gutter: clamp(1.25rem, 5vw, 3.5rem);
    --section-y: clamp(4rem, 8vw, 7.5rem);
    --nav-h: 78px;
    --radius: 20px;
    --radius-sm: 12px;

    /* 影 ── 緑を含ませて空気をつくる */
    --shadow:    0 8px 28px rgba(0, 90, 60, 0.07);
    --shadow-lg: 0 18px 48px rgba(0, 90, 60, 0.11);

    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* --------------------------------------------------------------------------
   2. リセットと基礎
   -------------------------------------------------------------------------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--nav-h) + 1rem);
}

body {
    font-family: var(--sans);
    font-size: 1rem;
    font-weight: 400;
    line-height: 2;
    letter-spacing: 0.04em;
    color: var(--ink);
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: "palt" 1;
}

img, svg, iframe, canvas, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
table { border-collapse: collapse; width: 100%; }

::selection { background: var(--green-100); color: var(--green-900); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        transition-duration: 0.001ms !important;
    }
}

/* --------------------------------------------------------------------------
   3. 波の区切り
   セクションの上端・下端に敷く。二枚重ねて奥行きを出す。
   -------------------------------------------------------------------------- */
.wave-b,
.wave-t { position: relative; }

.wave-b::after,
.wave-t::before {
    content: '';
    position: absolute;
    left: -2px;
    right: -2px;
    height: clamp(44px, 6.5vw, 96px);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    pointer-events: none;
    z-index: 2;
}

/* 下端の波 ── 白が下から上がってくる */
.wave-b::after {
    bottom: -1px;
    background-position: center bottom;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0 78C180 34 360 96 620 66 880 36 1080 4 1440 52V120H0Z' fill='%23ffffff' opacity='.5'/%3E%3Cpath d='M0 96C200 56 380 108 640 84 900 60 1120 30 1440 74V120H0Z' fill='%23ffffff'/%3E%3C/svg%3E");
}

/* 上端の波 ── 白が上から下りてくる */
.wave-t::before {
    top: -1px;
    background-position: center top;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0 0V44C200 84 380 30 640 56 900 82 1120 112 1440 66V0Z' fill='%23ffffff' opacity='.5'/%3E%3Cpath d='M0 0V26C220 66 400 16 660 40 920 64 1130 92 1440 44V0Z' fill='%23ffffff'/%3E%3C/svg%3E");
}

/* 淡い緑へ落ちる／から上がる波 */
.wave-b--tint::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0 78C180 34 360 96 620 66 880 36 1080 4 1440 52V120H0Z' fill='%23E7F5F0' opacity='.5'/%3E%3Cpath d='M0 96C200 56 380 108 640 84 900 60 1120 30 1440 74V120H0Z' fill='%23E7F5F0'/%3E%3C/svg%3E");
}

.wave-t--tint::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0 0V44C200 84 380 30 640 56 900 82 1120 112 1440 66V0Z' fill='%23E7F5F0' opacity='.5'/%3E%3Cpath d='M0 0V26C220 66 400 16 660 40 920 64 1130 92 1440 44V0Z' fill='%23E7F5F0'/%3E%3C/svg%3E");
}

/* --------------------------------------------------------------------------
   4. セクションの土台
   -------------------------------------------------------------------------- */
.services-section,
.news-section,
.company-section,
.partners-section,
.philosophy-section,
.strengths-section,
.cases-section,
.recycle-section,
.greeting-section,
.overview-section,
.map-section,
.affiliate-section,
.intro-section,
.construction-section,
.license-section,
.contact-intro,
.form-section,
.privacy-section,
.flow-section,
.section {
    position: relative;
    padding: var(--section-y) var(--gutter);
    overflow: hidden;
}

/* 淡い緑を敷くセクション */
.services-section,
.cases-section,
.overview-section,
.strengths-section,
.form-section,
.flow-section,
.license-section {
    background: var(--tint);
}

/* 白のセクション */
.news-section,
.partners-section,
.philosophy-section,
.recycle-section,
.greeting-section,
.map-section,
.affiliate-section,
.construction-section,
.contact-intro,
.privacy-section,
.intro-section {
    background: var(--white);
}

/* --------------------------------------------------------------------------
   5. セクション見出し
   「環（わ）＝循環」を自社のモチーフとする。
   ・英字は巨大な透かしではなく、重なる二つの輪を添えた小さなラベル
   ・日本語見出しは横組みの明朝。下に手描き風のゆるい弧を引く
   ・右側には淡い輪のグラフィックを重ね、余白に奥行きを与える
   -------------------------------------------------------------------------- */
.section-header,
.strengths-header,
.cases-header,
.recycle-header,
.construction-header,
.overview-header,
.map-header,
.affiliate-header,
.privacy-header,
.news-header {
    position: relative;
    z-index: 3;
    max-width: var(--container);
    margin: 0 auto clamp(2.5rem, 5vw, 4rem);
    padding-right: clamp(0px, 12vw, 220px);
    /* ラベル・見出し・リード文を縦に積む */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* 右側に重なる輪 ── 循環を表すサインとして全ページで繰り返す */
.section-header::after,
.strengths-header::after,
.cases-header::after,
.recycle-header::after,
.construction-header::after,
.overview-header::after,
.map-header::after,
.affiliate-header::after,
.privacy-header::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    z-index: -1;
    width: clamp(120px, 15vw, 210px);
    aspect-ratio: 1;
    transform: translateY(-50%);
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cg fill='none' stroke='%2300A469' stroke-width='1.4'%3E%3Ccircle cx='118' cy='82' r='58' opacity='.5'/%3E%3Ccircle cx='78' cy='118' r='58' opacity='.34'/%3E%3Ccircle cx='100' cy='100' r='90' opacity='.16'/%3E%3C/g%3E%3C/svg%3E") no-repeat center / contain;
    pointer-events: none;
}

/* 英字ラベル ── 二重丸のサイン＋文字 */
.section-eyebrow,
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    margin-bottom: 1.125rem;
    font-family: var(--latin);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    line-height: 1;
    color: var(--green-700);
}

.section-eyebrow::before,
.section-tag::before {
    content: '';
    width: 18px;
    height: 12px;
    flex-shrink: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 12'%3E%3Cg fill='none' stroke='%2300A469' stroke-width='1.5'%3E%3Ccircle cx='6' cy='6' r='5'/%3E%3Ccircle cx='12' cy='6' r='5' opacity='.55'/%3E%3C/g%3E%3C/svg%3E") no-repeat center / contain;
}

/* 日本語見出し ── 横組みの明朝＋ゆるい弧の下線 */
.section-title {
    position: relative;
    display: inline-block;
    padding-bottom: 0.9375rem;
    font-family: var(--mincho);
    font-size: clamp(1.5rem, 3vw, 2.375rem);
    font-weight: 700;
    line-height: 1.55;
    letter-spacing: 0.1em;
    color: var(--ink);
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 3.75rem;
    height: 8px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 8' preserveAspectRatio='none'%3E%3Cpath d='M1.5 6.2C14 1.4 46 1.4 58.5 6.2' fill='none' stroke='%2355B565' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}

/* リード文 */
.section-description,
.section-desc {
    max-width: 36em;
    margin-top: 1.25rem;
    font-size: 0.9375rem;
    line-height: 2.15;
    letter-spacing: 0.05em;
    color: var(--ink-2);
}

/* --------------------------------------------------------------------------
   6. 本文カラムに置く小見出し
   セクション見出しと同じ作りだが、輪のグラフィックは置かず一回り小さくする。
   -------------------------------------------------------------------------- */
/* ラベル・見出し・本文を縦に積む */
.philosophy-text,
.intro-inner .intro-text,
.greeting-text,
.contact-intro-text,
.form-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.philosophy-text .section-title,
.intro-text .section-title,
.greeting-text .section-title,
.contact-intro-text .section-title,
.form-info .section-title,
.intro-section .section-title {
    font-size: clamp(1.375rem, 2.4vw, 1.875rem);
    line-height: 1.6;
    letter-spacing: 0.08em;
}

.form-info .section-desc,
.intro-section .intro-text {
    max-width: 40em;
    margin-top: 1.25rem;
}

/* 許可証ページの導入部は中央揃え */
.intro-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.intro-section .section-title::after { left: 50%; transform: translateX(-50%); }

/* --------------------------------------------------------------------------
   7. ボタンとリンク
   丸みは角丸 10px。文字の右に細い仕切りを入れて矢印を分けるのが自社の型。
   -------------------------------------------------------------------------- */
.btn,
.btn-primary,
.btn-outline,
.btn-dark,
.btn-submit,
.btn-home,
.btn-verify,
.form-submit {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1.125rem;
    min-height: 56px;
    padding: 0.875rem 1.5rem 0.875rem 2rem;
    font-family: var(--sans);
    font-size: 0.9375rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    line-height: 1.5;
    border: 2px solid transparent;
    border-radius: 10px;
    cursor: pointer;
    text-align: center;
    overflow: hidden;
    transition: background-color 0.3s var(--ease),
                color 0.3s var(--ease),
                border-color 0.3s var(--ease),
                box-shadow 0.3s var(--ease),
                transform 0.3s var(--ease);
}

/* 仕切り線＋矢印。SVG を持たないボタンにも自動で付く */
.btn::after,
.btn-primary::after,
.btn-outline::after,
.btn-dark::after,
.btn-submit::after,
.btn-home::after,
.btn-verify::after,
.form-submit::after {
    content: '';
    width: 30px;
    height: 20px;
    flex-shrink: 0;
    border-left: 1px solid currentColor;
    opacity: 0.55;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='10' viewBox='0 0 16 10'%3E%3Cpath d='M0 5h14M10 1l4 4-4 4' fill='none' stroke='%23fff' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right center / 16px 10px;
    transition: transform 0.32s var(--ease), opacity 0.32s var(--ease);
}

.btn:hover::after,
.btn-primary:hover::after,
.btn-outline:hover::after,
.btn-dark:hover::after,
.btn-submit:hover::after,
.btn-home:hover::after,
.btn-verify:hover::after,
.form-submit:hover::after {
    transform: translateX(4px);
    opacity: 0.9;
}

.btn-primary,
.btn-dark,
.btn-submit,
.btn-verify,
.form-submit,
.btn-home {
    background: var(--green);
    border-color: var(--green);
    color: #fff;
    box-shadow: 0 5px 16px rgba(0, 164, 105, 0.2);
}

.btn-primary:hover,
.btn-dark:hover,
.btn-submit:hover,
.btn-verify:hover,
.form-submit:hover,
.btn-home:hover {
    background: var(--green-700);
    border-color: var(--green-700);
    box-shadow: 0 9px 24px rgba(0, 164, 105, 0.28);
    transform: translateY(-2px);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.94);
    border-color: #fff;
    color: var(--green-900);
    box-shadow: 0 5px 16px rgba(0, 60, 40, 0.13);
}

.btn-outline:hover { background: #fff; transform: translateY(-2px); }

/* 白いボタンでは矢印を緑にする */
.btn-outline::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='10' viewBox='0 0 16 10'%3E%3Cpath d='M0 5h14M10 1l4 4-4 4' fill='none' stroke='%2300794F' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.btn-submit:disabled,
.btn-verify:disabled,
.form-submit:disabled {
    background: var(--ink-3);
    border-color: var(--ink-3);
    box-shadow: none;
    transform: none;
    cursor: not-allowed;
}

/* ボタン内に元から矢印アイコンがある場合は、仕切りの矢印を出さない */
.btn:has(svg)::after,
.btn-primary:has(svg)::after,
.btn-dark:has(svg)::after,
.btn-submit:has(svg)::after,
.btn-home:has(svg)::after,
.btn-verify:has(svg)::after,
.form-submit:has(svg)::after {
    background-image: none;
    width: 1px;
    height: 20px;
}

.btn svg,
.btn-primary svg,
.btn-dark svg,
.btn-submit svg,
.btn-home svg,
.btn-verify svg,
.form-submit svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    order: 2;
}

/* 回遊リンク ── 角丸の小さな枠に矢印。丸ボタンは使わない */
.news-more-link,
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: var(--ink);
    transition: color 0.3s var(--ease);
}

.news-more-link::after,
.back-link::after {
    content: '';
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    border: 1px solid var(--green-300);
    border-radius: 8px;
    background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='10' viewBox='0 0 14 10'%3E%3Cpath d='M1 5h11M8.5 1.5 12.5 5l-4 3.5' fill='none' stroke='%2300794F' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / 14px 10px;
    transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.news-more-link:hover,
.back-link:hover { color: var(--green-700); }

.news-more-link:hover::after,
.back-link:hover::after {
    border-color: var(--green);
    background-color: var(--green-100);
}

.back-link::after { transform: scaleX(-1); }


/* --------------------------------------------------------------------------
   8. ヘッダー
   -------------------------------------------------------------------------- */
.navigation {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    height: var(--nav-h);
    background: rgba(255, 255, 255, 0.96);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    backdrop-filter: saturate(180%) blur(12px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.35s var(--ease);
}

.navigation.scrolled { box-shadow: 0 2px 16px rgba(0, 60, 40, 0.09); }

.nav-container {
    max-width: 1560px;
    height: 100%;
    margin: 0 auto;
    padding-left: var(--gutter);
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 1.5rem;
}

.logo-wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.25rem;
    flex-shrink: 0;
    padding: 0.5rem 0;
}

.logo-main {
    font-family: var(--mincho);
    font-size: 1.0625rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: 1.25;
    color: var(--green-900);
}

.logo-sub {
    font-family: var(--latin);
    font-size: 0.5625rem;
    font-weight: 400;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    line-height: 1;
    color: var(--green);
}

.nav-menu {
    display: flex;
    align-items: stretch;
    margin-left: auto;
}

.nav-menu li { display: flex; align-items: stretch; }

.nav-menu a {
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 0.9375rem;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    white-space: nowrap;
    color: var(--ink);
    transition: color 0.3s var(--ease);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 22px;
    width: 0;
    height: 2px;
    border-radius: 1px;
    background: var(--green-500);
    transform: translateX(-50%);
    transition: width 0.34s var(--ease);
}

.nav-menu a:hover { color: var(--green); }
.nav-menu a:hover::after,
.nav-menu a.active::after { width: calc(100% - 1.875rem); }
.nav-menu a.active { color: var(--green); }

/* 右端に貼りつく問い合わせブロック */
.nav-menu a.nav-cta,
.nav-cta {
    margin-left: 1.25rem;
    padding: 0 2.25rem;
    background: var(--green);
    color: #fff !important;
    font-weight: 500;
    letter-spacing: 0.08em;
    transition: background-color 0.3s var(--ease);
}

.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--green-700); }

/* ハンバーガー */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: var(--nav-h);
    height: var(--nav-h);
    padding: 0;
    background: var(--green);
    border: none;
    cursor: pointer;
    z-index: 2;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 1px;
    background: #fff;
    transition: transform 0.34s var(--ease), opacity 0.2s var(--ease);
}

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-overlay {
    position: fixed;
    inset: 0;
    z-index: 990;
    background: rgba(5, 84, 60, 0.35);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.36s var(--ease), visibility 0.36s;
}

.nav-overlay.active { opacity: 1; visibility: visible; }

/* --------------------------------------------------------------------------
   9. トップページ ヒーロー
   -------------------------------------------------------------------------- */
.page-home .hero {
    position: relative;
    margin-top: var(--nav-h);
    /* ヘッダーの分を差し引いた画面全部。上限は設けず、初見で写真だけが目に入るようにする */
    height: calc(100svh - var(--nav-h));
    min-height: 520px;
    display: flex;
    align-items: center;
    background: var(--green-900);
    overflow: hidden;
}

.hero-background { position: absolute; inset: 0; }

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.4s var(--ease);
}

.hero-slide.active { opacity: 1; }

.hero-bg-image,
.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.06);
    transition: transform 8s linear;
}

.hero-slide.active .hero-bg-image,
.hero-slide.active img { transform: scale(1); }

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg,
        rgba(3, 46, 33, 0.66) 0%,
        rgba(3, 46, 33, 0.36) 48%,
        rgba(3, 46, 33, 0.12) 100%);
}

.hero-grain { display: none; }

.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    font-family: var(--latin);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: #fff;
}

.hero-eyebrow::before {
    content: '';
    width: 22px;
    height: 15px;
    flex-shrink: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 12'%3E%3Cg fill='none' stroke='%23A5E3B6' stroke-width='1.5'%3E%3Ccircle cx='6' cy='6' r='5'/%3E%3Ccircle cx='12' cy='6' r='5' opacity='.6'/%3E%3C/g%3E%3C/svg%3E") no-repeat center / contain;
}

.page-home .hero h1 {
    font-family: var(--mincho);
    font-size: clamp(2rem, 5vw, 4.25rem);
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: 0.1em;
    color: #fff;
    margin-bottom: 2rem;
    text-shadow: 0 2px 24px rgba(0, 30, 20, 0.35);
}

.hero-title-accent { display: block; color: #A5E3B6; }

.hero-description {
    max-width: 33em;
    font-size: 0.9375rem;
    line-height: 2.2;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.94);
    margin-bottom: 2.5rem;
    text-shadow: 0 1px 12px rgba(0, 30, 20, 0.4);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.875rem; }

/* ヒーロー内のボタンだけは小ぶりに。
   写真の上では仕切り線が煩いので外し、矢印だけを小さく添える。 */
.hero-actions .btn,
.hero-actions .btn-primary,
.hero-actions .btn-outline {
    min-height: 48px;
    padding: 0.6875rem 1.625rem;
    gap: 0.625rem;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    border-width: 1.5px;
    border-radius: 8px;
}

.hero-actions .btn::after,
.hero-actions .btn-primary::after,
.hero-actions .btn-outline::after {
    width: 15px;
    height: 10px;
    border-left: none;
    opacity: 0.85;
    background-position: center;
    background-size: 15px 10px;
}

/* もともと矢印アイコンを持つボタンでは擬似要素を出さない */
.hero-actions .btn:has(svg)::after,
.hero-actions .btn-primary:has(svg)::after,
.hero-actions .btn-outline:has(svg)::after { display: none; }

.hero-actions .btn-primary {
    box-shadow: 0 4px 14px rgba(0, 60, 40, 0.28);
}

/* 二つ目は写真になじむ半透明の枠に */
.hero-actions .btn-outline {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.55);
    color: #fff;
    box-shadow: none;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.hero-actions .btn-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #fff;
    transform: translateY(-2px);
}

.hero-actions .btn-outline::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='10' viewBox='0 0 16 10'%3E%3Cpath d='M0 5h14M10 1l4 4-4 4' fill='none' stroke='%23fff' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.scroll-indicator {
    position: absolute;
    right: var(--gutter);
    bottom: 0;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.875rem;
}

.scroll-text {
    font-family: var(--latin);
    font-size: 0.625rem;
    font-weight: 500;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    writing-mode: vertical-rl;
}

.scroll-line {
    position: relative;
    width: 1px;
    height: 4.5rem;
    background: rgba(255, 255, 255, 0.3);
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    inset: 0;
    background: #A5E3B6;
    animation: scrollTrace 2.6s var(--ease) infinite;
}

@keyframes scrollTrace {
    0%   { transform: translateY(-100%); }
    65%  { transform: translateY(100%); }
    100% { transform: translateY(100%); }
}

/* --------------------------------------------------------------------------
   10. 下層ページ ヒーロー
   -------------------------------------------------------------------------- */
.page-hero {
    position: relative;
    margin-top: var(--nav-h);
    min-height: clamp(260px, 34vw, 400px);
    display: flex;
    align-items: center;
    background: var(--green-900);
    overflow: hidden;
}

.page-hero-bg { position: absolute; inset: 0; }

.page-hero-bg img,
.page-hero .hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: none;
}

.page-hero-overlay,
.page-hero .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg,
        rgba(3, 46, 33, 0.72) 0%,
        rgba(3, 46, 33, 0.46) 55%,
        rgba(3, 46, 33, 0.26) 100%);
}

.hero-nav-shade { display: none; }

.page-hero-content,
.page-hero-inner {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: clamp(2rem, 4vw, 3rem) var(--gutter);
}

.page-hero-eyebrow,
.page-hero-sub {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-family: var(--latin);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: #fff;
}

.page-hero-eyebrow::before,
.page-hero-sub::before {
    content: '';
    width: 22px;
    height: 15px;
    flex-shrink: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 12'%3E%3Cg fill='none' stroke='%23A5E3B6' stroke-width='1.5'%3E%3Ccircle cx='6' cy='6' r='5'/%3E%3Ccircle cx='12' cy='6' r='5' opacity='.6'/%3E%3C/g%3E%3C/svg%3E") no-repeat center / contain;
}

.page-hero h1 {
    font-family: var(--mincho);
    font-size: clamp(1.625rem, 3.4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0.12em;
    color: #fff;
    text-shadow: 0 2px 20px rgba(0, 30, 20, 0.3);
}

.page-hero-desc {
    max-width: 40em;
    margin-top: 1rem;
    font-size: 0.9375rem;
    line-height: 2.1;
    color: rgba(255, 255, 255, 0.92);
}

.page-hero.is-plain {
    background: linear-gradient(115deg, var(--green-900) 0%, var(--green-700) 100%);
    min-height: auto;
}

/* スライドのドット */
.hero-dots {
    position: absolute;
    right: var(--gutter);
    bottom: clamp(1.25rem, 3vw, 2rem);
    z-index: 4;
    display: flex;
    gap: 0.5rem;
}

.hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: background-color 0.3s var(--ease), width 0.3s var(--ease);
}

.hero-dot.active { background: #A5E3B6; width: 24px; border-radius: 4px; }

/* --------------------------------------------------------------------------
   11. パンくず
   -------------------------------------------------------------------------- */
.breadcrumb {
    background: var(--white);
    border-bottom: 1px solid var(--line-soft);
}

.breadcrumb-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0.9375rem var(--gutter);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    color: var(--ink-3);
}

.breadcrumb-inner a { color: var(--ink-2); transition: color 0.3s var(--ease); }
.breadcrumb-inner a:hover { color: var(--green); }

/* ヒーロー内に置かれるパンくず */
.page-hero .breadcrumb {
    border: none;
    background: none;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0;
    margin-bottom: 1.25rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
}

.page-hero .breadcrumb a { color: rgba(255, 255, 255, 0.85); }
.page-hero .breadcrumb a:hover { color: #fff; }
.breadcrumb-sep { opacity: 0.6; }

/* --------------------------------------------------------------------------
   12. トップページ 事業内容
   -------------------------------------------------------------------------- */
.services-grid {
    position: relative;
    z-index: 3;
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(1.25rem, 3vw, 2.25rem);
}

.service-card {
    position: relative;
    display: block;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow);
    transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.service-image {
    width: 100%;
    aspect-ratio: 16 / 11;
    object-fit: cover;
    transition: transform 1s var(--ease);
}

.service-card:hover .service-image { transform: scale(1.05); }

.service-overlay { display: none; }

.service-content { padding: clamp(1.5rem, 3vw, 2.25rem); }

.service-number {
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0.3125rem 0.9375rem;
    border-radius: 999px;
    background: var(--green-100);
    font-family: var(--latin);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    color: var(--green-700);
}

.service-title {
    font-family: var(--mincho);
    font-size: clamp(1.1875rem, 2.2vw, 1.5rem);
    font-weight: 700;
    line-height: 1.6;
    letter-spacing: 0.08em;
    color: var(--ink);
    margin-bottom: 0.875rem;
}

.service-text {
    font-size: 0.875rem;
    line-height: 2.05;
    letter-spacing: 0.04em;
    color: var(--ink-2);
}

.service-card::after {
    content: '';
    position: absolute;
    right: clamp(1.5rem, 3vw, 2.25rem);
    bottom: clamp(1.5rem, 3vw, 2.25rem);
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='10' viewBox='0 0 14 10'%3E%3Cpath d='M1 5h11M8.5 1.5 12.5 5l-4 3.5' fill='none' stroke='%23fff' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / 14px 10px;
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

.service-card:hover::after { opacity: 1; transform: translateX(0); }

/* --------------------------------------------------------------------------
   13. お知らせ
   -------------------------------------------------------------------------- */
.news-inner,
.news-content {
    position: relative;
    z-index: 3;
    max-width: 940px;
    margin: 0 auto;
}

.news-content { padding: var(--section-y) var(--gutter); }

.news-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 2.25rem;
    padding-right: 0;
}

.news-header::after { display: none; }

.news-header-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.news-more-link { flex-shrink: 0; padding-bottom: 0.5rem; }

.news-list {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.news-list-item + .news-list-item { border-top: 1px solid var(--line-soft); }

.news-list-link {
    display: grid;
    grid-template-columns: 7rem 7.5rem 1fr;
    align-items: center;
    gap: 1.25rem;
    padding: 1.375rem clamp(1.25rem, 3vw, 2rem);
    transition: background-color 0.3s var(--ease);
}

.news-list-link:hover { background: var(--tint-2); }

.news-date {
    font-family: var(--latin);
    font-size: 0.8125rem;
    letter-spacing: 0.08em;
    color: var(--ink-3);
    white-space: nowrap;
}

.news-category {
    justify-self: start;
    padding: 0.25rem 0.875rem;
    border-radius: 999px;
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    line-height: 1.6;
    white-space: nowrap;
    background: var(--green-100);
    color: var(--green-700);
}

.news-category.cat-news         { background: #FDF1DD; color: #A97420; }
.news-category.cat-construction { background: #E3F0FB; color: #2B6C9E; }

.news-title-text {
    font-size: 0.9375rem;
    font-weight: 500;
    line-height: 1.85;
    letter-spacing: 0.03em;
    color: var(--ink);
    transition: color 0.3s var(--ease);
}

.news-list-link:hover .news-title-text { color: var(--green); }

.news-empty {
    padding: clamp(3rem, 7vw, 5rem) 1.5rem;
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
    text-align: center;
}

.news-empty p { font-size: 0.875rem; color: var(--ink-3); }
.news-empty-icon { display: none; }

/* --------------------------------------------------------------------------
   14. トップページ 企業紹介
   -------------------------------------------------------------------------- */
.company-section { background: var(--tint); }

.company-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../../img/back05.jpg') center / cover no-repeat;
    opacity: 0.085;
}

.company-grid {
    position: relative;
    z-index: 3;
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: clamp(2.5rem, 5vw, 4.5rem);
    align-items: center;
}

.company-content h2 {
    font-family: var(--mincho);
    font-size: clamp(1.375rem, 2.6vw, 2.125rem);
    font-weight: 700;
    line-height: 1.7;
    letter-spacing: 0.1em;
    color: var(--ink);
    margin-bottom: 1.75rem;
}

.company-accent { color: var(--green); }

.company-content p {
    font-size: 0.9375rem;
    line-height: 2.2;
    letter-spacing: 0.05em;
    color: var(--ink-2);
    margin-bottom: 1.25rem;
}

.company-signature {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
}

.signature-role {
    font-family: var(--latin);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 0.5rem;
}

.signature-name {
    font-family: var(--mincho);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: var(--ink);
}

.company-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.company-stat {
    padding: 1.5rem 1.375rem;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow);
}

.company-stat-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    color: var(--green);
    margin-bottom: 0.5rem;
}

.company-stat-value {
    font-family: var(--mincho);
    font-size: 1.0625rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.6;
    color: var(--ink);
}

/* --------------------------------------------------------------------------
   15. 関連企業
   -------------------------------------------------------------------------- */
.partners-grid {
    position: relative;
    z-index: 3;
    max-width: 940px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.partner-card {
    display: flex;
    flex-direction: column;
    border-radius: var(--radius-sm);
    background: var(--white);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.partner-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

.partner-image-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 104px;
    padding: 1.375rem 1.125rem 0.75rem;
}

.partner-image { max-height: 58px; width: auto; object-fit: contain; }

.partner-info { padding: 0 1.125rem 1.375rem; text-align: center; }

.partner-label {
    font-family: var(--latin);
    font-size: 0.5625rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 0.4375rem;
}

.partner-name {
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.7;
    color: var(--ink);
}

.partner-divider { display: none; }

/* --------------------------------------------------------------------------
   16. 産業廃棄物事業（about.html）
   -------------------------------------------------------------------------- */
.philosophy-inner,
.intro-inner {
    position: relative;
    z-index: 3;
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 0.88fr;
    gap: clamp(2.25rem, 5vw, 4.5rem);
    align-items: center;
}

.philosophy-text p,
.intro-text p {
    max-width: 40em;
    margin-top: 1.375rem;
    font-size: 0.9375rem;
    line-height: 2.2;
    letter-spacing: 0.05em;
    color: var(--ink-2);
}

.philosophy-image img,
.intro-image img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

/* 強み */
.strengths-grid,
.cases-grid {
    position: relative;
    z-index: 3;
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.25rem, 2.5vw, 1.75rem);
}

.strength-card {
    display: flex;
    flex-direction: column;
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.strength-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

.strength-image-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16 / 6.5;
    padding: 1.25rem;
    background: linear-gradient(120deg, var(--green) 0%, var(--green-500) 100%);
}

.strength-image-wrap img {
    width: auto;
    max-width: 132px;
    max-height: 100%;
    object-fit: contain;
}

.strength-body { flex: 1; padding: clamp(1.5rem, 3vw, 2rem); }

.strength-accent-line {
    width: 2rem;
    height: 3px;
    border-radius: 2px;
    background: var(--green-500);
    margin-bottom: 1.125rem;
}

.strength-title {
    font-family: var(--mincho);
    font-size: 1.0625rem;
    font-weight: 700;
    line-height: 1.75;
    letter-spacing: 0.06em;
    color: var(--ink);
    margin-bottom: 0.875rem;
}

.strength-text {
    font-size: 0.8125rem;
    line-height: 2.1;
    letter-spacing: 0.04em;
    color: var(--ink-2);
}

/* 実例 */
.cases-map-wrap {
    position: relative;
    z-index: 3;
    max-width: 820px;
    margin: 0 auto clamp(2.25rem, 5vw, 3.5rem);
    padding: clamp(1.25rem, 3vw, 2.25rem);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
}

.cases-map-wrap img { width: 100%; }

.case-card {
    padding: clamp(1.5rem, 3vw, 2rem);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.case-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

.case-tag {
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0.25rem 0.875rem;
    border-radius: 999px;
    background: var(--green-100);
    font-family: var(--latin);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    color: var(--green-700);
}

.case-title {
    font-family: var(--mincho);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.75;
    letter-spacing: 0.06em;
    color: var(--ink);
    margin-bottom: 0.75rem;
}

.case-text {
    font-size: 0.8125rem;
    line-height: 2.1;
    letter-spacing: 0.04em;
    color: var(--ink-2);
}

/* リサイクル */
.recycle-grid {
    position: relative;
    z-index: 3;
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(1.5rem, 3vw, 2.25rem);
}

.recycle-card {
    display: flex;
    flex-direction: column;
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.recycle-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

.recycle-card-img { aspect-ratio: 16 / 9; overflow: hidden; }

.recycle-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s var(--ease);
}

.recycle-card:hover .recycle-card-img img { transform: scale(1.05); }

.recycle-card-body { padding: clamp(1.5rem, 3vw, 2.25rem); }

.recycle-card-tag {
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0.25rem 0.875rem;
    border-radius: 999px;
    background: var(--green-100);
    font-family: var(--latin);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    color: var(--green-700);
}

.recycle-card-body h3 {
    font-family: var(--mincho);
    font-size: 1.0625rem;
    font-weight: 700;
    line-height: 1.75;
    letter-spacing: 0.06em;
    color: var(--ink);
    margin-bottom: 0.875rem;
}

.recycle-card-body p {
    font-size: 0.8125rem;
    line-height: 2.1;
    letter-spacing: 0.04em;
    color: var(--ink-2);
}

/* --------------------------------------------------------------------------
   17. 企業情報（company.html）
   -------------------------------------------------------------------------- */
.greeting-inner {
    position: relative;
    z-index: 3;
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: clamp(2.25rem, 5vw, 4.5rem);
    align-items: start;
}

.greeting-photo img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.greeting-meta {
    margin-top: 1.25rem;
    padding-top: 1.125rem;
    border-top: 1px solid var(--line);
}

.greeting-role {
    font-family: var(--latin);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 0.4375rem;
}

.greeting-name {
    font-family: var(--mincho);
    font-size: 1.1875rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: var(--ink);
}

.greeting-text p {
    max-width: 42em;
    margin-top: 1.375rem;
    font-size: 0.9375rem;
    line-height: 2.2;
    letter-spacing: 0.05em;
    color: var(--ink-2);
}

/* 表 */
.overview-table-wrap,
.affiliate-card {
    position: relative;
    z-index: 3;
    max-width: 900px;
    margin: 0 auto;
    padding: clamp(1.25rem, 3vw, 2.25rem);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
}

.overview-table,
.affiliate-table { font-size: 0.875rem; }

.overview-table tr,
.affiliate-table tr { border-bottom: 1px solid var(--line-soft); }

.overview-table tr:last-child,
.affiliate-table tr:last-child { border-bottom: none; }

.overview-table th,
.affiliate-table th {
    width: 11rem;
    padding: 1.125rem 1.25rem;
    text-align: left;
    vertical-align: top;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--green-700);
    white-space: nowrap;
}

.overview-table td,
.affiliate-table td {
    padding: 1.125rem 1.25rem;
    vertical-align: top;
    line-height: 2.05;
    letter-spacing: 0.03em;
    color: var(--ink-2);
}

.overview-table td a,
.affiliate-table td a {
    color: var(--green);
    border-bottom: 1px solid var(--green-100);
    transition: border-color 0.3s var(--ease);
}

.overview-table td a:hover { border-bottom-color: var(--green); }

.affiliate-title {
    margin-bottom: 0.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--green-100);
    font-family: var(--mincho);
    font-size: 1.1875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--ink);
    text-align: center;
}

/* マップ */
.map-grid {
    position: relative;
    z-index: 3;
    max-width: 900px;
    margin: 0 auto;
}

.map-card {
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow);
}

.map-card-label {
    padding: 1rem 1.25rem;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    color: var(--green-700);
    background: var(--tint);
}

.map-card iframe { width: 100%; height: 380px; border: 0; }

/* --------------------------------------------------------------------------
   18. 建設事業（construction.html）
   -------------------------------------------------------------------------- */
.construction-items {
    position: relative;
    z-index: 3;
    max-width: var(--container);
    margin: 0 auto;
}

.construction-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(1.75rem, 4vw, 3.5rem);
    align-items: center;
    padding: clamp(2rem, 4vw, 3rem) 0;
}

.construction-item.reverse .construction-item-img { order: 2; }

.construction-item-img img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.construction-item-num {
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0.3125rem 0.9375rem;
    border-radius: 999px;
    background: var(--green-100);
    font-family: var(--latin);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    color: var(--green-700);
}

.construction-item-title {
    font-family: var(--mincho);
    font-size: clamp(1.1875rem, 2.2vw, 1.5rem);
    font-weight: 700;
    line-height: 1.65;
    letter-spacing: 0.1em;
    color: var(--ink);
    margin-bottom: 1rem;
}

.construction-item-text p {
    font-size: 0.875rem;
    line-height: 2.2;
    letter-spacing: 0.05em;
    color: var(--ink-2);
}

.divider {
    max-width: var(--container);
    margin: 0 auto;
    height: 1px;
    background: var(--line-soft);
}

.section-title-sub {
    display: block;
    margin-top: 0.75rem;
    font-size: 0.62em;
    font-weight: 400;
    letter-spacing: 0.1em;
    color: var(--ink-2);
}

/* --------------------------------------------------------------------------
   19. 許可証一覧（license.html）
   -------------------------------------------------------------------------- */
.intro-section {
    max-width: var(--container);
    margin: 0 auto;
    padding: clamp(3rem, 6vw, 4.5rem) var(--gutter) clamp(1.5rem, 3vw, 2.5rem);
    text-align: center;
}

.intro-section .section-eyebrow { justify-content: center; }

.filter-section {
    position: sticky;
    top: var(--nav-h);
    z-index: 60;
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line-soft);
}

.filter-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0.875rem var(--gutter);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.filter-btn {
    padding: 0.5625rem 1.375rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: var(--ink-2);
    cursor: pointer;
    transition: background-color 0.3s var(--ease),
                border-color 0.3s var(--ease),
                color 0.3s var(--ease);
}

.filter-btn:hover { border-color: var(--green-300); color: var(--green); }

.filter-btn.active {
    background: var(--green);
    border-color: var(--green);
    color: #fff;
}

.license-section { padding-top: clamp(2.5rem, 5vw, 4rem); }

.category-block {
    position: relative;
    z-index: 3;
    max-width: var(--container);
    margin: 0 auto;
}

.category-block + .category-block { margin-top: clamp(2.75rem, 5vw, 4rem); }

.category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.category-label {
    font-family: var(--latin);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 0.4375rem;
}

.category-name {
    font-family: var(--mincho);
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--ink);
}

.category-count {
    flex-shrink: 0;
    padding: 0.3125rem 0.875rem;
    border-radius: 999px;
    background: var(--white);
    font-family: var(--latin);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    color: var(--ink-2);
}

.pdf-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
    gap: 1.25rem;
}

.pdf-card {
    display: flex;
    flex-direction: column;
    border-radius: var(--radius-sm);
    background: var(--white);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.pdf-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.pdf-embed-wrap {
    position: relative;
    aspect-ratio: 1 / 1.414;
    overflow: hidden;
    background: var(--tint-2);
}

.pdf-embed-wrap canvas { width: 100%; height: auto; }

.pdf-fallback {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.875rem;
    font-size: 0.6875rem;
    letter-spacing: 0.08em;
    color: var(--ink-3);
    background: var(--tint-2);
    transition: opacity 0.4s var(--ease), visibility 0.4s;
}

.pdf-fallback.loaded { opacity: 0; visibility: hidden; }
.pdf-fallback svg { width: 40px; height: 40px; }

.pdf-loading-ring {
    width: 22px;
    height: 22px;
    border: 2px solid var(--green-100);
    border-top-color: var(--green);
    border-radius: 50%;
    animation: pdfSpin 0.9s linear infinite;
}

@keyframes pdfSpin { to { transform: rotate(360deg); } }

.pdf-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(5, 84, 60, 0.55);
    opacity: 0;
    transition: opacity 0.35s var(--ease);
}

.pdf-card:hover .pdf-overlay { opacity: 1; }

.pdf-overlay-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6875rem 1.375rem;
    border-radius: 999px;
    background: #fff;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: var(--green-900);
}

.pdf-info { padding: 1rem 1.125rem 1.25rem; }

.pdf-category-tag {
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: var(--green);
    margin-bottom: 0.5rem;
}

.pdf-name {
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.8;
    color: var(--ink);
}

.pdf-divider { display: none; }

.pdf-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.875rem;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: var(--green);
    transition: color 0.3s var(--ease);
}

.pdf-link svg { width: 13px; height: 13px; }
.pdf-link:hover { color: var(--green-700); }

/* --------------------------------------------------------------------------
   20. フォーム
   -------------------------------------------------------------------------- */
.form-inner {
    position: relative;
    z-index: 3;
    max-width: 780px;
    margin: 0 auto;
    padding: clamp(1.75rem, 4vw, 3.25rem);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow-lg);
}

.form-header {
    position: relative;
    z-index: 3;
    max-width: var(--container);
    margin: 0 auto clamp(1.75rem, 4vw, 2.5rem);
    text-align: center;
}

.form-header .form-header-eyebrow,
.form-header .section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    margin-bottom: 0;
    font-family: var(--latin);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    line-height: 1;
    color: var(--green-700);
}

.form-header .form-header-eyebrow::before {
    content: '';
    width: 18px;
    height: 12px;
    flex-shrink: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 12'%3E%3Cg fill='none' stroke='%2300A469' stroke-width='1.5'%3E%3Ccircle cx='6' cy='6' r='5'/%3E%3Ccircle cx='12' cy='6' r='5' opacity='.55'/%3E%3C/g%3E%3C/svg%3E") no-repeat center / contain;
}

.form-header .section-title,
.form-header h2 {
    display: block;
    padding-bottom: 1rem;
    margin-top: 0.875rem;
    font-family: var(--mincho);
    font-size: clamp(1.375rem, 2.4vw, 1.75rem);
    font-weight: 700;
    line-height: 1.6;
    letter-spacing: 0.1em;
    color: var(--ink);
}

/* h2 直書きのフォーム見出しにも同じ弧をつける */
.form-header h2 {
    position: relative;
}

.form-header .section-title::after,
.form-header h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 3.75rem;
    height: 8px;
    transform: translateX(-50%);
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 8' preserveAspectRatio='none'%3E%3Cpath d='M1.5 6.2C14 1.4 46 1.4 58.5 6.2' fill='none' stroke='%2355B565' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}

.form-header p {
    margin-top: 1rem;
    font-size: 0.875rem;
    line-height: 2.05;
    color: var(--ink-2);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.form-group { margin-bottom: 1.5rem; }
.form-row .form-group { margin-bottom: 0; }

.form-label {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-bottom: 0.625rem;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: var(--ink);
}

.required,
.required-badge {
    display: inline-block;
    padding: 0.1875rem 0.5rem;
    border-radius: 999px;
    background: #E8534A;
    font-size: 0.625rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    line-height: 1.5;
    color: #fff;
}

.optional {
    display: inline-block;
    padding: 0.1875rem 0.5rem;
    border-radius: 999px;
    background: var(--tint);
    font-size: 0.625rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    line-height: 1.5;
    color: var(--ink-2);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.9375rem 1.125rem;
    background: var(--tint-2);
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    font-family: var(--sans);
    font-size: 0.9375rem;
    line-height: 1.7;
    letter-spacing: 0.03em;
    color: var(--ink);
    transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease);
    -webkit-appearance: none;
    appearance: none;
}

.form-textarea { min-height: 11rem; resize: vertical; }

.form-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2300A469' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.125rem center;
    padding-right: 2.75rem;
    cursor: pointer;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    background: var(--white);
    border-color: var(--green-300);
}

.form-input::placeholder,
.form-textarea::placeholder { color: #B6BDB8; }

.form-note,
.form-hint {
    margin-top: 0.5rem;
    font-size: 0.75rem;
    line-height: 1.9;
    color: var(--ink-3);
}

.form-divider { height: 1px; background: var(--line-soft); margin: 2rem 0; }

.form-submit-wrap,
.form-submit { margin-top: 2rem; text-align: center; }

.form-submit-wrap .btn-submit,
button.form-submit { width: 100%; max-width: 22rem; }

.form-submit .form-note { margin-top: 1.125rem; text-align: center; }

.contact-group {
    padding: 1.375rem;
    border-radius: var(--radius-sm);
    background: var(--tint-2);
}

.contact-group-label {
    font-family: var(--latin);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 1rem;
}

.contact-group .form-group:last-child { margin-bottom: 0; }

#form-error-box,
.alert,
.error-msg {
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    border-radius: var(--radius-sm);
    background: #FDF0EE;
    font-size: 0.8125rem;
    line-height: 1.95;
    color: #C0392B;
}

/* --------------------------------------------------------------------------
   21. お問い合わせページ
   -------------------------------------------------------------------------- */
.contact-intro-inner {
    position: relative;
    z-index: 3;
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 0.85fr;
    gap: clamp(2.25rem, 5vw, 4.5rem);
    align-items: start;
}

.contact-intro-text p {
    max-width: 38em;
    margin-top: 1.375rem;
    font-size: 0.9375rem;
    line-height: 2.2;
    letter-spacing: 0.05em;
    color: var(--ink-2);
}

.contact-info-list { display: grid; gap: 1rem; }

.contact-info-item {
    padding: 1.375rem 1.5rem;
    border-radius: var(--radius-sm);
    background: var(--tint);
}

.contact-info-label {
    font-family: var(--latin);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 0.5rem;
}

.contact-info-value {
    font-family: var(--mincho);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.5;
    color: var(--ink);
}

.contact-info-value a { transition: color 0.3s var(--ease); }
.contact-info-value a:hover { color: var(--green); }

.contact-info-note {
    margin-top: 0.4375rem;
    font-size: 0.75rem;
    line-height: 1.9;
    color: var(--ink-2);
}

/* 個人情報保護方針 */
.privacy-inner {
    position: relative;
    z-index: 3;
    max-width: 880px;
    margin: 0 auto;
    padding: clamp(1.75rem, 4vw, 3rem);
    border-radius: var(--radius);
    background: var(--tint-2);
}

.privacy-block + .privacy-block {
    margin-top: 1.75rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--line-soft);
}

.privacy-block h3 {
    font-family: var(--mincho);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--green-900);
    margin-bottom: 0.75rem;
}

.privacy-block p {
    font-size: 0.8125rem;
    line-height: 2.15;
    letter-spacing: 0.04em;
    color: var(--ink-2);
}

.privacy-block p + p { margin-top: 0.375rem; }
.privacy-block a { color: var(--green); }

/* --------------------------------------------------------------------------
   22. HP開発依頼（web-order.html）
   -------------------------------------------------------------------------- */
.page-dev .hero {
    position: relative;
    margin-top: var(--nav-h);
    height: calc(100svh - var(--nav-h));
    min-height: 500px;
    display: flex;
    align-items: center;
    background: var(--green-900);
    overflow: hidden;
}

.page-dev .hero-bg { position: absolute; inset: 0; }
.page-dev .hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }

.page-dev .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg,
        rgba(3, 46, 33, 0.86) 0%,
        rgba(3, 46, 33, 0.6) 55%,
        rgba(3, 46, 33, 0.32) 100%);
}

.page-dev .hero-glow {
    position: absolute;
    right: -10%;
    top: -20%;
    width: 60%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(85, 181, 101, 0.28) 0%, transparent 62%);
}

.page-dev .hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 72px 72px;
    -webkit-mask-image: radial-gradient(ellipse at 70% 50%, #000 8%, transparent 70%);
    mask-image: radial-gradient(ellipse at 70% 50%, #000 8%, transparent 70%);
}

.page-dev .hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.hero-text-block { max-width: 40rem; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    font-family: var(--latin);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: #fff;
}

.hero-badge::before {
    content: '';
    width: 22px;
    height: 15px;
    flex-shrink: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 12'%3E%3Cg fill='none' stroke='%23A5E3B6' stroke-width='1.5'%3E%3Ccircle cx='6' cy='6' r='5'/%3E%3Ccircle cx='12' cy='6' r='5' opacity='.6'/%3E%3C/g%3E%3C/svg%3E") no-repeat center / contain;
}

.hero-title {
    font-family: var(--mincho);
    font-size: clamp(1.75rem, 3.8vw, 2.875rem);
    font-weight: 700;
    line-height: 1.55;
    letter-spacing: 0.1em;
    color: #fff;
    margin-bottom: 1.5rem;
}

.gradient-text { display: block; color: #A5E3B6; }

.hero-sub {
    max-width: 33em;
    font-size: 0.9375rem;
    line-height: 2.2;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 2.25rem;
}

.page-dev .hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.page-dev .hero-actions .btn-primary,
.page-dev .hero-actions .btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.scroll-hint {
    position: absolute;
    right: var(--gutter);
    bottom: 0;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.875rem;
}

.scroll-hint span {
    font-family: var(--latin);
    font-size: 0.625rem;
    font-weight: 500;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    writing-mode: vertical-rl;
}

.scroll-hint .scroll-line { height: 4rem; }

.flow-inner {
    position: relative;
    z-index: 3;
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.62fr 1fr;
    gap: clamp(2.25rem, 5vw, 4.5rem);
    align-items: start;
}

.flow-inner > div:first-child {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.flow-inner .section-title {
    font-size: clamp(1.5rem, 2.8vw, 2.125rem);
    line-height: 1.6;
}

.flow-steps { display: grid; gap: 0.875rem; }

.flow-step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.25rem;
    padding: 1.375rem 1.5rem;
    border-radius: var(--radius-sm);
    background: var(--white);
    box-shadow: var(--shadow);
}

.step-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--green-100);
    font-family: var(--latin);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--green-700);
}

.step-title {
    font-family: var(--mincho);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.7;
    letter-spacing: 0.06em;
    color: var(--ink);
    margin-bottom: 0.4375rem;
}

.step-desc {
    font-size: 0.8125rem;
    line-height: 2.05;
    letter-spacing: 0.04em;
    color: var(--ink-2);
}

/* 依頼フォーム */
.page-dev .form-section { background: var(--white); }

.page-dev .form-inner {
    max-width: var(--container);
    display: grid;
    grid-template-columns: 0.72fr 1fr;
    gap: clamp(2.25rem, 5vw, 4rem);
    align-items: start;
    padding: 0;
    background: none;
    box-shadow: none;
}

.form-info { position: relative; }
.form-info .section-desc { margin-bottom: 2rem; }

.form-info-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    align-items: start;
    padding: 1.125rem 0;
    border-top: 1px solid var(--line-soft);
}

.form-info-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--green-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='10' viewBox='0 0 12 10'%3E%3Cpath d='M1 5.2 4.3 8.5 11 1.6' fill='none' stroke='%2300794F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / 12px 10px;
    font-size: 0;
    color: transparent;
    overflow: hidden;
}

.form-info-text h4 {
    font-size: 0.9375rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--ink);
    margin-bottom: 0.375rem;
}

.form-info-text p {
    font-size: 0.8125rem;
    line-height: 2;
    letter-spacing: 0.04em;
    color: var(--ink-2);
}

.contact-form {
    padding: clamp(1.75rem, 4vw, 2.5rem);
    border-radius: var(--radius);
    background: var(--tint);
}

.page-dev .form-header {
    text-align: left;
    margin-bottom: 1.75rem;
    padding-bottom: 1.25rem;
    border-bottom: 2px solid rgba(0, 164, 105, 0.14);
}

.form-title {
    font-family: var(--mincho);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--ink);
}

.form-subtitle {
    margin-top: 0.5rem;
    font-family: var(--latin);
    font-size: 0.6875rem;
    font-weight: 400;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--green);
}

.page-dev .form-input,
.page-dev .form-textarea,
.page-dev .form-select { background: var(--white); }

/* チェック・ラジオ */
.checkbox-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.625rem; }
.radio-group   { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.625rem; }

.checkbox-item,
.radio-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.8125rem 1rem;
    border-radius: var(--radius-sm);
    background: var(--white);
    border: 2px solid transparent;
    cursor: pointer;
    transition: border-color 0.25s var(--ease);
}

.checkbox-item:hover,
.radio-item:hover { border-color: var(--green-100); }

.checkbox-item input,
.radio-item input {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin: 0;
    accent-color: var(--green);
    cursor: pointer;
}

.checkbox-label,
.radio-label {
    font-size: 0.8125rem;
    letter-spacing: 0.02em;
    line-height: 1.55;
    color: var(--ink-2);
}

.checkbox-item:has(input:checked),
.radio-item:has(input:checked) { border-color: var(--green); }

.checkbox-item:has(input:checked) .checkbox-label,
.radio-item:has(input:checked) .radio-label { color: var(--green-900); font-weight: 500; }

/* 概算費用 */
.price-display {
    display: none;
    margin-top: 1.125rem;
    padding: 1.375rem 1.5rem;
    border-radius: var(--radius-sm);
    background: var(--white);
    border: 2px solid var(--green-100);
}

.price-display.active { display: block; }

.price-display-title {
    font-family: var(--latin);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--green);
    padding-bottom: 0.75rem;
    margin-bottom: 0.75rem;
    border-bottom: 1px solid var(--line-soft);
}

.price-breakdown li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.375rem 0;
    font-size: 0.8125rem;
    color: var(--ink-2);
}

.item-price { font-family: var(--latin); color: var(--green-700); }

.price-total-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--line-soft);
}

.price-total-label {
    font-family: var(--latin);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    color: var(--ink-3);
}

.price-total-value {
    font-family: var(--mincho);
    font-size: 1.375rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--green);
}

.price-note {
    margin-top: 0.75rem;
    font-size: 0.6875rem;
    line-height: 1.85;
    color: var(--ink-3);
}

/* --------------------------------------------------------------------------
   23. お知らせ詳細
   -------------------------------------------------------------------------- */
.article-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.875rem;
    margin-bottom: 1rem;
}

.article-date {
    font-family: var(--latin);
    font-size: 0.8125rem;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.8);
}

.article-category {
    padding: 0.25rem 0.875rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: #fff;
}

.article-title {
    font-family: var(--mincho);
    font-size: clamp(1.375rem, 3vw, 2rem);
    font-weight: 700;
    line-height: 1.65;
    letter-spacing: 0.08em;
    color: #fff;
}

.article-wrap {
    max-width: 800px;
    margin: 0 auto;
    padding: clamp(2.5rem, 5vw, 4rem) var(--gutter) 0;
}

.article-image-wrap { margin-bottom: clamp(1.75rem, 4vw, 2.75rem); }

.article-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: var(--radius);
}

.article-body {
    font-size: 0.9375rem;
    line-height: 2.3;
    letter-spacing: 0.05em;
    color: var(--ink-2);
}

.article-body p { margin-bottom: 1.5rem; }

.article-body h2,
.article-body h3 {
    font-family: var(--mincho);
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--ink);
    margin: 2.25rem 0 1rem;
}

.article-body h2 { font-size: 1.1875rem; }
.article-body h3 { font-size: 1.0625rem; }
.article-body a { color: var(--green); border-bottom: 1px solid var(--green-100); }
.article-body img { border-radius: var(--radius-sm); margin: 1.5rem 0; }

.article-divider { display: none; }

.article-nav {
    max-width: 800px;
    margin: clamp(2.5rem, 5vw, 3.5rem) auto 0;
    padding: 0 var(--gutter);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.article-nav-link {
    padding: 1.25rem 1.375rem;
    border-radius: var(--radius-sm);
    background: var(--tint-2);
    transition: background-color 0.3s var(--ease);
}

.article-nav-link:hover { background: var(--tint); }

.next-link { text-align: right; }

.nav-dir {
    display: block;
    font-family: var(--latin);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    color: var(--green);
    margin-bottom: 0.5rem;
}

.nav-title {
    display: block;
    font-size: 0.8125rem;
    line-height: 1.85;
    color: var(--ink-2);
}

.back-wrap {
    padding: clamp(2.25rem, 5vw, 3.25rem) var(--gutter) var(--section-y);
    text-align: center;
}

.back-link { justify-content: center; }

/* --------------------------------------------------------------------------
   24. 認証コード画面
   -------------------------------------------------------------------------- */
.page-verify {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.25rem;
    background: var(--tint);
}

.page-verify .card {
    width: 100%;
    max-width: 480px;
    padding: clamp(2rem, 5vw, 3rem);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow-lg);
}

.page-verify .logo-link {
    display: block;
    text-align: center;
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--line-soft);
}

.page-verify .logo-main {
    font-family: var(--mincho);
    font-size: 1.0625rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--green-900);
}

.page-verify .logo-sub {
    margin-top: 0.375rem;
    font-family: var(--latin);
    font-size: 0.5625rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--green);
}

.verify-icon,
.success-icon,
.error-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: var(--green-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='16' viewBox='0 0 22 16'%3E%3Crect x='1' y='1' width='20' height='14' rx='2' fill='none' stroke='%2300794F' stroke-width='1.6'/%3E%3Cpath d='M1.6 2.2 11 9l9.4-6.8' fill='none' stroke='%2300794F' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 22px 16px;
    font-size: 0;
    color: transparent;
    overflow: hidden;
}

.success-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='18' viewBox='0 0 24 18'%3E%3Cpath d='M2 9.5 8.5 16 22 2' fill='none' stroke='%2300794F' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: 24px 18px;
}

.error-icon {
    background-color: #FDE7E4;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath d='M10 5v6M10 14.5v.5' stroke='%23C0392B' stroke-width='2' stroke-linecap='round'/%3E%3Ccircle cx='10' cy='10' r='8.5' fill='none' stroke='%23C0392B' stroke-width='1.6'/%3E%3C/svg%3E");
    background-size: 20px 20px;
}

.verify-title,
.success-title,
.error-title {
    font-family: var(--mincho);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: 1.6;
    color: var(--ink);
    text-align: center;
    margin-bottom: 0.875rem;
}

.verify-desc,
.success-text {
    font-size: 0.8125rem;
    line-height: 2.1;
    letter-spacing: 0.03em;
    color: var(--ink-2);
    text-align: center;
}

.success-text { margin-bottom: 1.75rem; }

.verify-email {
    margin: 0.5rem 0 1.75rem;
    padding: 0.6875rem 1rem;
    border-radius: var(--radius-sm);
    background: var(--tint-2);
    font-family: var(--latin);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--green-900);
    text-align: center;
    word-break: break-all;
}

.code-inputs {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 0.875rem;
}

.code-digit {
    width: 3rem;
    height: 3.625rem;
    padding: 0;
    background: var(--tint-2);
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    font-family: var(--latin);
    font-size: 1.375rem;
    font-weight: 500;
    text-align: center;
    color: var(--green-900);
    transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
    -webkit-appearance: none;
    -moz-appearance: textfield;
    appearance: none;
}

.code-digit::-webkit-inner-spin-button,
.code-digit::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

.code-digit:focus { outline: none; background: #fff; border-color: var(--green-300); }

#verify_code { display: none; }

.page-verify .error-msg { text-align: center; }

.expire-note {
    margin-bottom: 1.5rem;
    font-size: 0.75rem;
    color: var(--ink-3);
    text-align: center;
}

#timer { font-family: var(--latin); font-weight: 500; color: var(--green-900); }
#timer.warning { color: #C0392B; }

.btn-verify { width: 100%; margin-bottom: 1.125rem; }

.btn-back {
    display: block;
    text-align: center;
    font-size: 0.75rem;
    color: var(--ink-3);
    transition: color 0.25s var(--ease);
}

.btn-back:hover { color: var(--green); }

.error-list {
    padding: 1rem 1.25rem;
    margin-bottom: 1.75rem;
    border-radius: var(--radius-sm);
    background: #FDF0EE;
    text-align: left;
}

.error-list li {
    padding: 0.25rem 0;
    font-size: 0.8125rem;
    line-height: 1.9;
    color: #C0392B;
}

.summary-box {
    padding: 1.25rem 1.375rem;
    margin-bottom: 1.5rem;
    border-radius: var(--radius-sm);
    background: var(--tint-2);
    font-size: 0.8125rem;
    line-height: 2.05;
    color: var(--ink-2);
}

.form-complete { padding: clamp(1rem, 3vw, 2rem) 0; text-align: center; }
.form-complete .success-title { font-size: 1.375rem; margin-bottom: 1rem; }
.form-complete .success-text { margin-bottom: 1.75rem; }

/* --------------------------------------------------------------------------
   25. フッター
   -------------------------------------------------------------------------- */
footer {
    position: relative;
    padding: clamp(2.75rem, 5vw, 4rem) var(--gutter) 1.5rem;
    background: var(--tint);
    color: var(--ink-2);
}

.footer-grid {
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) repeat(3, auto);
    gap: clamp(1.75rem, 4vw, 3.5rem);
    padding-bottom: clamp(1.75rem, 4vw, 2.75rem);
}

.footer-brand h3 {
    font-family: var(--mincho);
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--green-900);
    margin-bottom: 0.875rem;
}

.footer-brand p {
    max-width: 26em;
    font-size: 0.8125rem;
    line-height: 2;
    letter-spacing: 0.03em;
    color: var(--ink-2);
}

.footer-column h4 {
    font-family: var(--latin);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 1rem;
    white-space: nowrap;
}

.footer-column ul { display: grid; gap: 0.625rem; }

.footer-column ul li a {
    font-size: 0.8125rem;
    letter-spacing: 0.03em;
    color: var(--ink-2);
    white-space: nowrap;
    transition: color 0.25s var(--ease);
}

.footer-column ul li a:hover { color: var(--green); }

.footer-bottom,
.footer-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(0, 90, 60, 0.1);
    text-align: center;
}

.footer-copyright {
    font-family: var(--latin);
    font-size: 0.6875rem;
    letter-spacing: 0.08em;
    color: var(--ink-3);
}

/* ページ上部へ戻る */
.to-top {
    position: fixed;
    right: clamp(1rem, 2vw, 1.75rem);
    bottom: clamp(1rem, 2vw, 1.75rem);
    z-index: 800;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 10px;
    background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 8 7 2l6 6' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / 14px 9px;
    box-shadow: 0 6px 20px rgba(0, 120, 80, 0.3);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s var(--ease), visibility 0.3s,
                transform 0.3s var(--ease), background-color 0.3s var(--ease);
}

.to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background-color: var(--green-700); }

/* ==========================================================================
   26. レスポンシブ
   ========================================================================== */

/* ── 中型ノート ─────────────────────────────────── */
@media (max-width: 1180px) {
    :root { --container: 100%; }
    .strengths-grid, .cases-grid { grid-template-columns: repeat(2, 1fr); }
    .partners-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── ハンバーガーへ切り替え ───────────────────────────── */
@media (max-width: 1160px) {
    .hamburger { display: flex; }
    .nav-container { padding-right: 0; }

    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        z-index: 1;
        width: min(86vw, 360px);
        height: 100svh;
        padding: calc(var(--nav-h) + 1.25rem) 1.5rem 2.5rem;
        background: var(--white);
        flex-direction: column;
        align-items: stretch;
        overflow-y: auto;
        transform: translateX(100%);
        transition: transform 0.42s var(--ease);
        box-shadow: -6px 0 30px rgba(0, 60, 40, 0.12);
    }

    .nav-menu.active { transform: translateX(0); }

    .nav-menu li { display: block; border-bottom: 1px solid var(--line-soft); }
    .nav-menu li:last-child { border-bottom: none; }

    .nav-menu a {
        display: block;
        padding: 1.0625rem 0.375rem;
        font-size: 0.9375rem;
        letter-spacing: 0.05em;
    }

    .nav-menu a::after { display: none; }

    .nav-menu li a.nav-cta {
        margin: 1.5rem 0 0;
        padding: 1.0625rem 1.5rem;
        border-radius: 10px;
        text-align: center;
        font-size: 0.9375rem;
    }

    body.nav-open { overflow: hidden; }
}

/* ── タブレット ──────────────────────────────────── */
@media (max-width: 900px) {
    :root { --nav-h: 64px; }

    /* 見出しは左揃えのまま。輪のグラフィックは小さくして右上へ逃がす */
    .section-header,
    .strengths-header,
    .cases-header,
    .recycle-header,
    .construction-header,
    .overview-header,
    .map-header,
    .affiliate-header,
    .privacy-header,
    .news-header {
        padding-right: 0;
    }

    .section-header::after,
    .strengths-header::after,
    .cases-header::after,
    .recycle-header::after,
    .construction-header::after,
    .overview-header::after,
    .map-header::after,
    .affiliate-header::after,
    .privacy-header::after {
        top: 0;
        right: -1.25rem;
        width: clamp(88px, 26vw, 130px);
        transform: none;
        opacity: 0.7;
    }

    .section-title { font-size: clamp(1.375rem, 4.4vw, 1.875rem); }
    .section-description, .section-desc { max-width: 40em; }

    .news-header { flex-direction: column; align-items: flex-start; gap: 1.25rem; }

    .philosophy-inner,
    .intro-inner,
    .greeting-inner,
    .contact-intro-inner,
    .company-grid,
    .flow-inner,
    .page-dev .form-inner {
        grid-template-columns: 1fr;
    }

    .greeting-image-block { max-width: 260px; }
    .philosophy-image, .intro-image { order: 2; }
    .philosophy-image img { aspect-ratio: 16 / 10; }

    .services-grid { grid-template-columns: 1fr; }

    .construction-item,
    .construction-item.reverse { grid-template-columns: 1fr; gap: 1.5rem; }
    .construction-item.reverse .construction-item-img { order: 0; }

    .recycle-grid { grid-template-columns: 1fr; }
    .radio-group { grid-template-columns: repeat(2, 1fr); }

    .flow-inner .section-desc { max-width: 40em; }

    .footer-grid { grid-template-columns: repeat(3, 1fr); gap: 1.75rem 1.5rem; }
    .footer-brand { grid-column: 1 / -1; }
}

/* ── スマートフォン ───────────────────────────────── */
@media (max-width: 640px) {
    :root {
        --gutter: 1.25rem;
        --section-y: clamp(3rem, 10vw, 4.25rem);
        --radius: 16px;
    }

    .logo-main { font-size: 0.9375rem; letter-spacing: 0.08em; }
    .logo-sub { font-size: 0.5rem; letter-spacing: 0.2em; }

    /* ヒーロー */
    .page-home .hero { min-height: 440px; }
    .page-home .hero h1 { font-size: 1.75rem; line-height: 1.6; }
    .hero-eyebrow { font-size: 0.6875rem; letter-spacing: 0.2em; }
    .hero-description { font-size: 0.875rem; line-height: 2.05; margin-bottom: 2rem; }

    .hero-actions { flex-direction: column; align-items: stretch; }

    .btn, .btn-primary, .btn-outline, .btn-dark {
        width: 100%;
        padding: 0.875rem 1.5rem;
        font-size: 0.875rem;
    }

    /* ヒーローのボタンは並べたまま小ぶりに保つ */
    .hero-actions { flex-direction: row; gap: 0.625rem; }

    .hero-actions .btn,
    .hero-actions .btn-primary,
    .hero-actions .btn-outline {
        width: auto;
        flex: 1 1 0;
        min-width: 0;
        min-height: 46px;
        padding: 0.625rem 0.875rem;
        gap: 0.4375rem;
        font-size: 0.8125rem;
        letter-spacing: 0.04em;
    }

    .scroll-indicator, .scroll-hint { display: none; }

    .page-hero { min-height: 180px; }
    .page-hero h1 { font-size: 1.4375rem; letter-spacing: 0.1em; }
    .page-hero-eyebrow, .page-hero-sub { font-size: 0.6875rem; letter-spacing: 0.2em; }
    .page-hero-desc { font-size: 0.875rem; }

    /* 見出し */
    .section-title { font-size: 1.375rem; }
    .section-description, .section-desc { font-size: 0.875rem; }

    /* お知らせ */
    .news-list-link {
        grid-template-columns: auto 1fr;
        gap: 0.5rem 0.875rem;
        padding: 1.125rem 1.25rem;
    }

    .news-date { grid-area: 1 / 1; font-size: 0.75rem; }
    .news-category { grid-area: 1 / 2; justify-self: start; }
    .news-title-text { grid-area: 2 / 1 / 3 / 3; font-size: 0.875rem; line-height: 1.8; }

    /* 事業カード */
    .service-image { aspect-ratio: 16 / 9; }
    .service-title { font-size: 1.125rem; }
    .service-card::after { display: none; }

    /* 企業紹介 */
    .company-stats { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
    .company-stat { padding: 1.125rem 1rem; }
    .company-stat-value { font-size: 0.9375rem; }
    .company-content h2 { font-size: 1.25rem; line-height: 1.8; }
    .company-content p { font-size: 0.875rem; line-height: 2.05; }

    /* 強み・実例 */
    .strengths-grid, .cases-grid { grid-template-columns: 1fr; }
    .cases-map-wrap { padding: 1rem; }

    /* 表を縦積みに */
    .overview-table-wrap, .affiliate-card { padding: 0.5rem; }
    .overview-table tr, .affiliate-table tr { display: block; padding: 0.5rem 0; }

    .overview-table th, .affiliate-table th,
    .overview-table td, .affiliate-table td {
        display: block;
        width: 100%;
        white-space: normal;
        padding: 0.375rem 0.75rem;
    }

    .overview-table th, .affiliate-table th {
        font-size: 0.75rem;
        letter-spacing: 0.12em;
        color: var(--green);
    }

    .overview-table td, .affiliate-table td { font-size: 0.875rem; line-height: 1.95; }

    .map-card iframe { height: 280px; }

    /* 許可証 */
    .filter-inner {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding: 0.75rem var(--gutter);
        scrollbar-width: none;
    }

    .filter-inner::-webkit-scrollbar { display: none; }
    .filter-btn { flex-shrink: 0; padding: 0.5rem 1.125rem; font-size: 0.75rem; }

    .pdf-grid { grid-template-columns: repeat(2, 1fr); gap: 0.875rem; }
    .pdf-info { padding: 0.875rem 0.875rem 1rem; }
    .pdf-name { font-size: 0.75rem; }
    .pdf-overlay { display: none; }

    .category-header { flex-direction: column; align-items: flex-start; gap: 0.625rem; }

    /* フォーム */
    .form-inner { padding: 1.375rem 1.125rem; }
    .form-row { grid-template-columns: 1fr; gap: 0; margin-bottom: 0; }
    .form-row .form-group { margin-bottom: 1.5rem; }

    .form-input, .form-select, .form-textarea {
        font-size: 16px;      /* iOS の自動ズームを防ぐ */
        padding: 0.875rem 1rem;
    }

    .form-textarea { min-height: 9.5rem; }
    .form-submit-wrap .btn-submit, button.form-submit { max-width: none; }

    .checkbox-grid, .radio-group { grid-template-columns: 1fr; }
    .contact-group { padding: 1.125rem; }
    .contact-info-value { font-size: 1.125rem; }

    /* HP開発依頼 */
    .page-dev .hero { min-height: 420px; }
    .hero-title { font-size: 1.5rem; line-height: 1.65; }
    .hero-sub { font-size: 0.875rem; margin-bottom: 2rem; }
    .page-dev .hero-grid { background-size: 48px 48px; }

    .flow-step { gap: 0.875rem; padding: 1.125rem 1.25rem; }
    .step-num { width: 38px; height: 38px; font-size: 0.8125rem; }

    .contact-form { padding: 1.375rem 1.125rem; }

    /* お知らせ詳細 */
    .article-title { font-size: 1.25rem; }
    .article-body { font-size: 0.875rem; line-height: 2.15; }
    .article-nav { grid-template-columns: 1fr; }
    .next-link { text-align: left; }

    /* フッター ── 各項目は 2 列に流し、縦に伸びすぎないようにする */
    .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .footer-brand h3 { font-size: 1rem; }
    .footer-brand p { font-size: 0.75rem; }

    .footer-column h4 { margin-bottom: 0.75rem; }

    .footer-column ul {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.625rem 1rem;
    }

    .footer-column ul li a { font-size: 0.8125rem; white-space: normal; }

    /* 認証画面 */
    .code-digit { width: 2.625rem; height: 3.125rem; font-size: 1.1875rem; }
    .code-inputs { gap: 0.375rem; }

    .to-top { width: 42px; height: 42px; }
}

/* ── 小型スマートフォン ────────────────────────────── */
@media (max-width: 380px) {
    .page-home .hero h1 { font-size: 1.5rem; }
    .section-title { font-size: 1.25rem; }
    .logo-main { font-size: 0.875rem; }
    .company-stats { grid-template-columns: 1fr; }
    .code-digit { width: 2.375rem; height: 2.875rem; font-size: 1.0625rem; }
    .code-inputs { gap: 0.3125rem; }
}

/* ── 印刷 ─────────────────────────────────────── */
@media print {
    .navigation, .hamburger, .nav-overlay, .scroll-indicator,
    .scroll-hint, .filter-section, .to-top, footer { display: none !important; }
    .wave-b::after, .wave-t::before { display: none !important; }
    body { color: #000; background: #fff; }
    .page-hero, .hero { min-height: auto; margin-top: 0; }
}
