/* ============================================================
   合同会社にぎわい - 全ページ共通スタイル
   ------------------------------------------------------------
   グリッド        : 8px
   セクション上下余白 : 80 / 120 / 160px の3段階
   コンテンツ幅     : 1200px
   タイポ4階層      : 巨大英字 / 和文見出し / リード / 本文
   グリーン3色      : メイン緑・濃緑・極薄クリーム（＋CTA用の高彩度）
   レスポンシブ対応：1279px以下＝PC幅の詰め／1024px以下＝タブレット（ハンバーガー）／
   767px以下＝スマホ。各CSSの末尾「レスポンシブ」ブロックに記載（2026-09-15）
   ------------------------------------------------------------
   収録：変数 / リセット / タイポ / ボタン3種 / セクション見出し /
         ヘッダー / フッター / 装飾の基底
   ページ固有のスタイルは各ページのCSS（css/index.css 等）に置く。
   ============================================================ */

:root {
  /* --- グリーン3色運用 --- */
  --green: #2e9e63; /* メイン緑：見出し・帯 */
  --green-dark: #1c6b45; /* 濃緑：ボタン・強調 */
  --cream: #f5f9f3; /* 極薄クリーム：背景 */
  --cream-deep: #eef5ea; /* クリームより一段濃い面：PRODUCTSの帯と隣り合うBLOG用。緑見出しのコントラスト3.05を確保できる上限 */
  --green-cta: #21b872; /* CTAのみ彩度を上げる */
  --green-fresh: #31912E; /* 若草：検索ボタン・カテゴリタブ用。深緑(--green-dark)は沈んで重いため、色相を黄み側(118度)に振り彩度を上げて明るくしてある。白文字とのコントラスト4.04 */
  --green-fresh-lt: #38A735; /* 上のhover用。明度だけ上げた派生（白文字3.12） */

  /* --- 写真ラベル（.ph-tag）専用 --- */
  --tag-bg: #CF4A22; /* テラコッタ：写真左下の英字ラベル地色。緑は操作部品（検索・タブ）に譲り、写真上の情報表示はこちらで受ける。文字は白なので、10px boldでもAAを満たす4.5:1を切らない明るさが上限。この色相(14度)で白文字4.51 */

  /* --- ニュートラル --- */
  --ink: #1e2321;
  --ink-sub: #5c6663;
  --ink-light: #8b9491;
  --line: #e4e9e6;
  --white: #ffffff;
  --placeholder: #e8ecea; /* 画像未用意のブロック */

  /* --- カードは1種類に統一 --- */
  --radius: 8px; /* カード角丸 */
  --radius-lg: 24px; /* 大きな写真ブロック */
  --shadow: 0 2px 16px rgba(30, 35, 33, 0.07);
  --card-pad: 24px;

  /* --- ボタン --- */
  --pill: 999px; /* ボタンはピル型で統一 */
  --chev-w: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 12'%3E%3Cpath d='M1.6 1L6.4 6L1.6 11' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --chev-g: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 12'%3E%3Cpath d='M1.6 1L6.4 6L1.6 11' fill='none' stroke='%231C6B45' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --ico-doc: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H6.5a1.5 1.5 0 00-1.5 1.5v15A1.5 1.5 0 006.5 21h11a1.5 1.5 0 001.5-1.5V8z'/%3E%3Cpath d='M14 3v5h5'/%3E%3Cpath d='M8.5 13h7M8.5 16.5h4.5'/%3E%3C/svg%3E");
  --ico-tag: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.6 13.1l-7.5 7.5a1.6 1.6 0 01-2.3 0l-7.2-7.2a1.6 1.6 0 01-.5-1.1V4.6a1.6 1.6 0 011.6-1.6h7.7c.4 0 .8.2 1.1.5l7.1 7.1a1.6 1.6 0 010 2.5z'/%3E%3Cpath d='M7.5 7.5h.01'/%3E%3C/svg%3E");
  --ico-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.4L6.3 11.7L13 4.6' fill='none' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --ico-mail: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5.5' width='18' height='13' rx='2'/%3E%3Cpath d='M3.8 7.2l8.2 5.8 8.2-5.8'/%3E%3C/svg%3E");
  --ico-tel: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8.4 4H5.2A1.7 1.7 0 003.5 5.8c0 7.6 6.1 13.7 13.7 13.7a1.7 1.7 0 001.8-1.7v-3.2l-3.9-1.3-1.9 1.9a13.6 13.6 0 01-5.1-5.1l1.9-1.9z'/%3E%3C/svg%3E");
  --ico-building: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21h18'/%3E%3Cpath d='M5 21V7l7-4 7 4v14'/%3E%3Cpath d='M9.6 10.4h1.2M13.2 10.4h1.2M9.6 13.9h1.2M13.2 13.9h1.2'/%3E%3Cpath d='M10.2 21v-3.4h3.6V21'/%3E%3C/svg%3E");

  --container: 1200px;

  /* --- レスポンシブ用の共通値（値の切り替えは末尾のレスポンシブブロック） --- */
  --gutter: 40px; /* コンテンツ左右の最小余白。PC幅の詰め40 → タブレット32 → スマホ20 */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family:
    "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic Medium",
    "Yu Gothic", "Meiryo", sans-serif;
  font-size: 15px;
  line-height: 1.8; /* 和文 1.8 */
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* FV の写真（<picture class="fv-pic">）。スマホ用に切り出した画像を出し分けるための入れ物で、
   箱を作らない（中の <img> が今までどおり .fv-img / .page-head-img の直下にあるのと同じ配置になる）。2026-09-24 */
.fv-pic {
  display: contents;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
}

.container {
  /* 最大1200px。画面が狭いときは左右に --gutter を残して縮む（1280px以上は常に1200px） */
  width: min(var(--container), calc(100% - var(--gutter) * 2));
  margin: 0 auto;
}

/* ---------- タイポ4階層 ---------- */
.t-en {
  /* 1. 巨大英字 */
  font-family: "Arial", "Helvetica Neue", sans-serif;
  font-size: 80px;
  font-weight: 800;
  line-height: 1.2; /* 英字 1.2 */
  letter-spacing: 0.01em;
  color: var(--green);
}
.t-ja {
  /* 2. 和文見出し */
  font-size: 28px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.04em;
}
.t-lead {
  /* 3. リード */
  font-size: 18px;
  line-height: 1.9;
  color: var(--ink);
}
.t-body {
  /* 4. 本文 */
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-sub);
}
.label-en {
  font-family: "Arial", "Helvetica Neue", sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.14em;
  color: var(--ink-light);
}

/* ---------- ボタン（3種） ------------------------------------
   A. .btn-fill    塗り … 主CTA（ヘッダー・フッター）
   B. .btn-outline 線   … 各セクションの VIEW MORE（英字・260px固定）
   B'..btn-line    線   … 和文ラベル用（幅は内容なり）
   C. .btn-text    文字 … NEWSバー・BLOG などの補助リンク
   共通ルール : ピル型 ／ 右端は「丸に囲まれた矢印」／ hoverで反転
   ※ 丸矢印は .circle-arrow（スライダー等の単体ボタン）と同じ形。
     サイト全体の丸み（カード・NEWSバー・タグ）と揃えている。
   ------------------------------------------------------------ */

/* 3種に共通する右端の丸矢印 */
.btn-fill::after,
.btn-outline::after,
.btn-line::after,
.btn-text::after {
  content: "";
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 7px 11px;
  transition:
    background-color 0.25s,
    transform 0.25s,
    border-color 0.25s;
}

/* --- A. 塗り：いちばん強いボタン --- */
.btn-fill {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  height: 52px;
  padding: 0 10px 0 28px;
  background: var(--green-dark);
  color: var(--white);
  border-radius: var(--pill);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  transition:
    background-color 0.25s,
    box-shadow 0.25s,
    transform 0.25s;
}
.btn-fill::after {
  background-color: rgba(255, 255, 255, 0.22);
  background-image: var(--chev-w);
}
.btn-fill:hover {
  background: var(--green-cta);
  box-shadow: 0 10px 22px rgba(28, 107, 69, 0.26);
  transform: translateY(-2px);
}
.btn-fill:hover::after {
  background-color: rgba(255, 255, 255, 0.34);
  transform: translateX(3px);
}

/* --- B. 線：各セクションの VIEW MORE --- */
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 260px;
  height: 60px;
  padding: 0 10px 0 38px;
  border: 1px solid var(--green);
  background: var(--white);
  border-radius: var(--pill);
  color: var(--green-dark);
  font-family: "Arial", "Helvetica Neue", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  transition:
    background-color 0.25s,
    color 0.25s,
    border-color 0.25s;
}
.btn-outline span {
  flex: 1;
  text-align: center;
}
.btn-outline::after {
  background-color: var(--green);
  background-image: var(--chev-w);
}
.btn-outline:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: var(--white);
}
.btn-outline:hover::after {
  background-color: var(--white);
  background-image: var(--chev-g);
  transform: translateX(3px);
}

/* --- B'. 線・幅自動：和文ラベル用（下層のカード内リンク） ---
   .btn-outline は英字 VIEW MORE 用に 260px 固定。和文だと収まらないので、
   同じ意匠のまま幅を内容なりにしたもの。 */
.btn-line {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  height: 52px;
  padding: 0 10px 0 24px;
  border: 1px solid var(--green);
  background: var(--white);
  border-radius: var(--pill);
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  transition:
    background-color 0.25s,
    color 0.25s,
    border-color 0.25s;
}
.btn-line::after {
  background-color: var(--green);
  background-image: var(--chev-w);
}
.btn-line:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: var(--white);
}
.btn-line:hover::after {
  background-color: var(--white);
  background-image: var(--chev-g);
  transform: translateX(3px);
}

/* --- C. 文字：枠を持たない軽いリンク --- */
.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: "Arial", "Helvetica Neue", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ink);
  transition: color 0.25s;
}
.btn-text::after {
  border: 1px solid var(--green);
  background-color: transparent;
  background-image: var(--chev-g);
}
.btn-text:hover {
  color: var(--green-dark);
}
.btn-text:hover::after {
  background-color: var(--green);
  background-image: var(--chev-w);
  transform: translateX(3px);
}

/* --- button要素で使うとき（フォームの送信・確認ボタン） ---
   ブラウザ既定の枠・書体・背景を消して、a要素と同じ見た目にそろえる。 */
button.btn-fill,
button.btn-line {
  font-family: inherit;
  cursor: pointer;
}
button.btn-fill {
  border: none;
}

/* 主CTAを一段大きくした版（フォームの送信ボタン） */
.btn-fill.is-lg {
  height: 60px;
  padding: 0 12px 0 40px;
  font-size: 16px;
}

/* --- 丸矢印単体（スライダーの前後・フッターのCTA） --- */
.circle-arrow {
  width: 48px;
  height: 48px;
  flex: none;
  border: 1px solid var(--green);
  border-radius: 50%;
  background: var(--white) var(--chev-g) no-repeat center;
  background-size: 8px 12px;
  transition:
    background-color 0.25s,
    border-color 0.25s;
}
.circle-arrow.is-prev {
  transform: scaleX(-1);
}
.circle-arrow:hover {
  background-color: var(--green);
  background-image: var(--chev-w);
  border-color: var(--green);
}

/* 画像が未用意の箇所 */
.ph {
  background: var(--placeholder);
}


/* ============================================================
   1. ヘッダー
   ============================================================ */
.header {
  position: relative; /* サブメニューをFVより前に出すため。固定ヘッダーではない */
  z-index: 50;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  background: var(--white);
}
.logo {
  display: flex;
  align-items: center;
}
.logo img {
  height: 60px;
  width: auto;
  object-fit: contain;
}
.gnav {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-left: auto;
  height: 100%; /* サブメニューの親をヘッダー下端まで伸ばすため */
}
.gnav a {
  display: block;
  text-align: center;
}
.gnav .ja {
  display: block;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.5;
}
.gnav .en {
  display: block;
  font-family: "Arial", "Helvetica Neue", sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.2;
  color: var(--ink-light);
}
/* 現在地（下層ページで自分のページに印をつける） */
.gnav a.is-current {
  position: relative;
}
.gnav a.is-current .ja {
  color: var(--green-dark);
}
.gnav a.is-current::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -12px;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--green);
}
/* 事業紹介のサブメニュー（WF 00_共通パーツ「PC_nav-open」） */
.gnav-item {
  position: relative;
  align-self: stretch; /* ヘッダー下端まで伸ばし、マウスが途中で抜けないようにする */
  display: flex;
  align-items: center;
}
/* 親に「下に続きがある」印をつける。
   絶対配置にして幅を増やさない（他の項目と同じく和文とENの中心をそろえたまま） */
.gnav-item > a {
  position: relative;
}
.gnav-item > a .ja::after {
  content: "";
  position: absolute;
  right: -15px;
  top: 8px;
  border: 4.5px solid transparent;
  border-top: 6px solid var(--ink-light);
  transition: transform 0.2s ease;
}
.gnav-sub {
  position: absolute;
  top: 100%; /* ヘッダーの下端にぴたりと付ける */
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 262px;
  padding: 4px 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}
.gnav-sub a {
  display: block;
  text-align: left;
  white-space: nowrap;
  padding: 13px 20px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.5;
  color: var(--ink);
  transition: background 0.15s ease, color 0.15s ease;
}
.gnav-sub a + a {
  border-top: 1px solid var(--line);
}
.gnav-sub a:hover {
  background: var(--cream);
  color: var(--green-dark);
}
/* :focus-within はキーボード操作用 */
.gnav-item:hover .gnav-sub,
.gnav-item:focus-within .gnav-sub {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.gnav-item:hover > a .ja::after,
.gnav-item:focus-within > a .ja::after {
  transform: rotate(180deg);
}
/* 言語切替（WF 00_共通パーツ ヘッダー右／原稿00 §C
   「言語切替：日本語／English／한국어／繁體中文（日本語以外は第2フェーズ）」）。
   対応言語は山田様の確定事項（8/20）だが訳ページはまだ無いので、
   日本語以外は products の準備中タブと同じく押せない状態にしてある。
   開閉は .gnav-sub と同じくCSSのみ。JSは使わない。 */
.lang {
  position: relative;
  align-self: stretch; /* ヘッダー下端まで伸ばし、マウスが途中で抜けないようにする */
  display: flex;
  align-items: center;
  margin-left: 32px;
}
.lang-current {
  position: relative;
  padding: 0 18px 0 0; /* 右の余白は三角のぶん */
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink);
  background: none;
  border: 0;
  cursor: pointer;
}
/* 「下に続きがある」印。gnav の親と同じ三角 */
.lang-current::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  margin-top: -2px;
  border: 4.5px solid transparent;
  border-top: 6px solid var(--ink-light);
  transition: transform 0.2s ease;
}
.lang-menu {
  position: absolute;
  top: 100%; /* ヘッダーの下端にぴたりと付ける */
  right: 0; /* 右端の部品なので右で揃える（サブメニューは中央揃え） */
  transform: translateY(6px);
  min-width: 190px;
  padding: 4px 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}
.lang-menu > * {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 12px 16px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.5;
  text-align: left;
  color: var(--ink);
  background: none;
  border: 0;
}
.lang-menu > * + * {
  border-top: 1px solid var(--line);
}
.lang-menu .is-active {
  font-weight: 700;
  color: var(--green-dark);
}
.lang-menu [disabled] {
  color: var(--ink-light);
  cursor: default;
}
.lang-menu .tbd {
  flex: none;
  padding: 2px 6px;
  border-radius: 2px;
  background: var(--cream);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink-light);
}
/* :focus-within はキーボード操作用 */
.lang:hover .lang-menu,
.lang:focus-within .lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.lang:hover .lang-current::after,
.lang:focus-within .lang-current::after {
  transform: rotate(180deg);
}
.header .btn-fill {
  margin-left: 32px;
  height: 48px;
  font-size: 14px;
}


/* ============================================================
   セクション見出し（全セクション共通のリズム）
   ============================================================ */
.sec-head {
  padding: 120px 0 40px;
}
.sec-head .t-ja {
  margin-top: 8px;
  padding-left: 8px;
}

/* ============================================================
   CTAバンド（全ページ共通の締め。トップの CONTACT と同じ部品）
   ============================================================ */
.contact {
  position: relative;
  overflow: hidden;
  padding: 120px 0;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: #12301f;
  text-align: center;
  color: var(--white);
}
.contact-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.contact-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(32, 82, 58, 0.88) 0%,
    rgba(18, 48, 31, 0.94) 100%
  );
}
.contact .container {
  position: relative;
  z-index: 1;
}
.contact .label-en {
  color: rgba(255, 255, 255, 0.75);
}
.contact h2 {
  margin-top: 16px;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.1em;
}
.contact .t-body {
  max-width: 800px;
  margin: 24px auto 0;
  color: rgba(255, 255, 255, 0.85);
}
.contact-btns {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 56px;
}
.contact-btns a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 320px;
  height: 72px;
  border-radius: 36px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.contact-btns a {
  transition:
    transform 0.25s,
    box-shadow 0.25s,
    background-color 0.25s;
}
.contact-btns .is-doc {
  background: var(--white);
  color: var(--green-dark);
}
.contact-btns .is-mail {
  background: var(--green-cta);
  color: var(--white);
}
.contact-btns a:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.24);
}
.contact-btns .is-mail:hover {
  background: #26cc80;
}
/* アイコンは currentColor で塗る（マスク） */
.contact-btns .ico {
  width: 24px;
  height: 24px;
  flex: none;
  background: currentColor;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}
.contact-btns .is-doc .ico {
  -webkit-mask-image: var(--ico-doc);
  mask-image: var(--ico-doc);
}
.contact-btns .is-mail .ico {
  -webkit-mask-image: var(--ico-mail);
  mask-image: var(--ico-mail);
}

/* ============================================================
   10. フッター
   ============================================================ */
.footer {
  background: #14301f;
  color: rgba(255, 255, 255, 0.82);
  padding: 96px 0 40px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 80px;
}
.footer .logo img {
  height: 66px;
}
.footer-address {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 14px;
  line-height: 2;
}
.footer-copy {
  margin-top: 64px;
  font-family: "Arial", "Helvetica Neue", sans-serif;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.5);
}
.footer-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px 40px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
}
.footer-contact .txt {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--white);
}
.footer-contact {
  cursor: pointer;
  transition: background-color 0.25s;
}
.footer-contact:hover {
  background: rgba(255, 255, 255, 0.12);
}
.footer-contact .circle-arrow {
  border-color: var(--green-cta);
  background: var(--green-cta) var(--chev-w) no-repeat center;
  background-size: 8px 12px;
}
.footer-contact:hover .circle-arrow {
  background-color: var(--green);
}
.footer-sitemap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 56px;
}
.footer-sitemap-ttl {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.06em;
  color: var(--white);
}
.footer-sitemap ul {
  margin-top: 16px;
}
.footer-sitemap li {
  font-size: 13px;
  line-height: 2.2;
  color: rgba(255, 255, 255, 0.68);
}


/* ============================================================
   写真の左下に接して置く英字ラベル
   （products.html / maker-yuka.html / index.html 取扱商品一覧）
   ------------------------------------------------------------
   親側に position:relative と overflow:hidden を持たせて使う。
   ============================================================ */
.ph-tag {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 1;
  padding: 5px 12px;
  background: var(--tag-bg);
  color: var(--white);
  font-family: "Arial", "Helvetica Neue", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.6;
}

/* ============================================================
   装飾の基底（個別の配置は各ページのCSSで指定する）
   ============================================================ */
.deco {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}
.deco img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* 装飾は必ず本文より下。コンテンツ側を1段持ち上げておく */
.footer .container {
  position: relative;
  z-index: 1;
}

/* --- 9. CONTACT：奥に霞む山、上空に鳥 --- */
.deco-birds-contact {
  top: 76px;
  right: 6%;
  width: 380px;
  opacity: 0.16;
}
/* 稜線だけを覗かせた遠景。裾は緑グラデで背景に溶ける */
.deco-mountain {
  left: -15%;
  bottom: -200px;
  width: 130%;
}

/* --- 10. フッター：足元に波 --- */
.footer {
  position: relative;
  overflow: hidden;
}
.deco-wave-footer {
  bottom: -12px;
  left: -30px;
  width: 560px;
  opacity: 0.07;
}


/* ============================================================
   レスポンシブ（デザイン/_レスポンシブ対応_計画.md）
   ------------------------------------------------------------
   PC用の上の記述は変えない。節ごとに下へ追記する。
   1279px以下：PC幅の詰め（D5）／1024px以下：タブレット／767px以下：スマホ
   ============================================================ */

/* --- 変数（コンテンツ左右の余白） --- */
@media (max-width: 1024px) {
  :root {
    --gutter: 32px;
  }
}
@media (max-width: 767px) {
  :root {
    --gutter: 20px;
  }
}

/* --- タイポ4階層 --- */
/* 本文 .t-body（15px）と .label-en（12px）は小さくしない */
@media (max-width: 1024px) {
  .t-en {
    font-size: 56px;
  }
  .t-ja {
    font-size: 24px;
  }
  .t-lead {
    font-size: 17px;
  }
}
@media (max-width: 767px) {
  .t-en {
    font-size: 40px;
  }
  .t-ja {
    font-size: 21px;
  }
  .t-lead {
    font-size: 16px;
  }
}

/* --- ボタン（3種） --- */
/* 高さはどれも44px以上（fill 52／outline 60／line 52／丸矢印 48）なので変えない。
   260px固定の .btn-outline などが狭い枠からはみ出さないよう、幅の上限だけ付ける */
@media (max-width: 767px) {
  .btn-fill,
  .btn-outline,
  .btn-line {
    max-width: 100%;
  }
}

/* --- 1. ヘッダー --- */
/* 1025〜1079pxでナビの和文が2行に折れるため、左右の余白と項目の間隔だけ詰める（D5）。
   1024px以下のハンバーガー化は 1-3 で下に追記する */
@media (max-width: 1279px) {
  .header {
    padding: 0 32px;
  }
  .gnav {
    gap: 32px;
  }
  .lang,
  .header .btn-fill {
    margin-left: 24px;
  }
}

/* --- セクション見出し --- */
/* 上余白はセクション上下余白（120 → 96 → 64）、下余白は同じ比率で詰める */
@media (max-width: 1024px) {
  .sec-head {
    padding: 96px 0 32px;
  }
}
@media (max-width: 767px) {
  .sec-head {
    padding: 64px 0 24px;
  }
}

/* --- ヘッダー（ハンバーガー） --- */
/* 1024px以下（D2）：PCのナビ・言語切替・お問い合わせを隠し、ハンバーガー（.nav-toggle）と
   メニュー（#nav-menu）に置き換える。メニューの中身はPCヘッダーと同じ項目をHTMLに直書き。
   開閉は js/nav.js（.nav-menu.is-open／body.is-nav-open）。
   言語切替と事業紹介の子メニューは、PCの .lang-menu／.gnav-sub をそのまま使い、
   浮かせるための指定（位置・影・非表示）だけを外している。
   1025px以上では両方とも出さない（PCの見た目は変えない） */
:root {
  --header-h: 96px; /* ヘッダーの高さ。96 → タブレット72 → スマホ60 */
}
.nav-toggle,
.nav-menu {
  display: none;
}
@media (max-width: 1024px) {
  :root {
    --header-h: 72px;
  }
  .header {
    height: var(--header-h);
    padding: 0 var(--gutter);
  }
  .logo img {
    height: 45px; /* PCのヘッダー96pxにロゴ60pxと同じ比率 */
  }
  .gnav,
  .lang,
  .header > .btn-fill {
    display: none;
  }

  /* ハンバーガー（三本線。開いているあいだは×） */
  .nav-toggle {
    position: relative;
    display: block;
    flex: none;
    width: 44px;
    height: 44px;
    margin: 0 -11px 0 auto; /* 線の右端を左右の余白（--gutter）にそろえる */
    padding: 0;
    border: 0;
    background: none;
    color: var(--ink);
    cursor: pointer;
  }
  .nav-toggle::before,
  .nav-toggle::after,
  .nav-toggle-bar {
    content: "";
    position: absolute;
    left: 11px;
    width: 22px;
    height: 2px;
    background: currentColor;
    transition:
      transform 0.2s ease,
      opacity 0.2s ease;
  }
  .nav-toggle::before {
    top: 14px;
  }
  .nav-toggle-bar {
    top: 21px;
  }
  .nav-toggle::after {
    top: 28px;
  }
  .nav-toggle[aria-expanded="true"]::before {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar {
    opacity: 0;
  }
  .nav-toggle[aria-expanded="true"]::after {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* メニュー本体：ヘッダーの下から画面の下端まで。長いときは中だけスクロール */
  .nav-menu {
    display: block;
    position: fixed;
    top: var(--header-h);
    right: 0;
    bottom: 0;
    left: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 8px var(--gutter) 40px;
    border-top: 1px solid var(--line);
    background: var(--white);
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.2s ease,
      visibility 0.2s;
  }
  .nav-menu.is-open {
    opacity: 1;
    visibility: visible;
  }
  body.is-nav-open {
    overflow: hidden; /* 開いているあいだは背面をスクロールさせない */
  }

  /* ナビ5項目（和文＋英字は .gnav と同じ文字の指定） */
  .nav-menu-list > a,
  .nav-menu-sub {
    display: block;
    border-bottom: 1px solid var(--line);
  }
  .nav-menu-list > a,
  .nav-menu-sub > summary {
    padding: 12px 0;
  }
  .nav-menu-list .ja {
    display: block;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1.5;
  }
  .nav-menu-list .en {
    display: block;
    font-family: "Arial", "Helvetica Neue", sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.14em;
    line-height: 1.2;
    color: var(--ink-light);
  }
  .nav-menu-list .is-current .ja {
    color: var(--green-dark);
  }

  /* 事業紹介（アコーディオン）。印は .gnav の親と同じ三角 */
  .nav-menu-sub > summary {
    position: relative;
    list-style: none;
    cursor: pointer;
  }
  .nav-menu-sub > summary::-webkit-details-marker {
    display: none;
  }
  .nav-menu-sub > summary::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    margin-top: -3px;
    border: 4.5px solid transparent;
    border-top: 6px solid var(--ink-light);
    transition: transform 0.2s ease;
  }
  .nav-menu-sub[open] > summary::after {
    transform: rotate(180deg);
  }
  .nav-menu .gnav-sub {
    position: static;
    min-width: 0;
    margin-bottom: 12px;
    transform: none;
    box-shadow: none;
    opacity: 1;
    visibility: inherit;
  }
  .nav-menu .gnav-sub a {
    white-space: normal;
  }

  /* 言語切替（PCと同じく日本語以外は押せない） */
  .nav-menu .lang-menu {
    position: static;
    min-width: 0;
    margin-top: 24px;
    transform: none;
    box-shadow: none;
    opacity: 1;
    visibility: inherit;
  }

  /* お問い合わせ（幅いっぱい） */
  .nav-menu .btn-fill {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin: 24px 0 0;
  }
}
@media (max-width: 767px) {
  :root {
    --header-h: 60px;
  }
  .logo img {
    height: 38px; /* 60 × 60/96 ≒ 37.5 */
  }
  .logo a {
    display: flex;
    align-items: center;
    min-height: 44px; /* ロゴのリンクもタップ部品の高さを確保する */
  }
}

/* --- CTAバンド --- */
/* 上下余白は 120 → 96 → 64、見出し34pxは .t-ja と同じ比率で 28 → 24。
   ボタンはタブレットで折り返し可、スマホで縦積み・幅いっぱい（レイアウト規則）。
   装飾（D7）：山は幅130%のまま、下へのずらし（PC 1440pxで -200px）を画面幅に比例させて、
   PCと同じ割合（高さの約1/3が下に隠れる）で見せる。鳥は幅と上位置を縮めるだけ（見出しに重ねない位置） */
@media (max-width: 1024px) {
  .contact {
    padding: 96px 0;
  }
  .contact h2 {
    font-size: 28px;
    word-break: auto-phrase; /* 対応ブラウザ（Chrome系）では文節の切れ目で改行（「構い｜ません」「一緒」を割らない） */
  }
  .contact-btns {
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 48px;
  }
  .deco-mountain {
    bottom: -13.9vw; /* 200 / 1440 */
  }
  .deco-birds-contact {
    top: 40px;
    width: 26.4vw; /* 380 / 1440 */
  }
}
@media (max-width: 767px) {
  .contact {
    padding: 64px 0;
  }
  .contact h2 {
    font-size: 24px;
  }
  .contact .t-body {
    margin-top: 16px;
  }
  .contact-btns {
    flex-direction: column;
    gap: 16px;
    margin-top: 32px;
  }
  .contact-btns a {
    width: 100%;
  }
  .deco-birds-contact {
    top: 16px;
  }
}

/* --- フッター --- */
/* 左（ロゴ・コピーライト）と右（お問い合わせ・サイトマップ）の2列を、1024px以下で1列（HTMLの順）に。
   サイトマップはタブレット3列のまま、スマホは項目の長さに合わせた2列（最長「物品販売｜国内卸売・輸出」が1行に入る幅）。
   足元の波（.deco-wave-footer）はタブレットで幅だけ縮め、スマホでは非表示 */
@media (max-width: 1024px) {
  .footer {
    padding: 80px 0 40px;
  }
  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }
  .footer-copy {
    margin-top: 32px;
  }
  .footer-contact {
    gap: 16px;
  }
  .footer-sitemap {
    margin-top: 48px;
  }
  .deco-wave-footer {
    width: 420px;
  }
}
@media (max-width: 767px) {
  .footer {
    padding: 64px 0 32px;
  }
  .footer-inner {
    gap: 40px;
  }
  .footer .logo img {
    height: 56px;
  }
  .footer-copy {
    margin-top: 24px;
  }
  .footer-contact {
    padding: 24px;
  }
  .footer-sitemap {
    grid-template-columns: repeat(2, auto);
    justify-content: start;
    gap: 32px 48px;
    margin-top: 40px;
  }
  /* リンクの当たり判定を高さ44px以上に（行の間隔はその分だけ広がる） */
  .footer-sitemap a {
    display: inline-block;
    padding: 8px 0; /* 13px × 行の高さ2.2 ＋ 16 = 44.6px */
  }
  .footer-sitemap-ttl a {
    padding: 11px 0; /* 14px × 行の高さ1.6 ＋ 22 = 44.4px */
  }
  .footer-sitemap ul {
    margin-top: 8px;
  }
  /* 1列にするとサイトマップのリンクの真下に来て文字に重なるため、スマホでは出さない（D7） */
  .deco-wave-footer {
    display: none;
  }
}
