@charset "UTF-8";
/*!
Theme Name: 近藤合成株式会社
Theme URI: https://kondogousei.com/
Author: PEEES
Description: 近藤合成株式会社（愛知県蒲郡市／プラスチック成形・加工）コーポレートサイト。テンプレ⑧ベース。
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: kondogousei
*/
/* ============================================================
   ブレイクポイント
   ============================================================ */
/* ============================================================
   配色・変数
   ロゴ規定色は #8fc31f / #007a28 / #231815。--green はUI用の調整色。
   ============================================================ */
:root {
  --green: #078331;
  --lime: #8fc31f;
  --deep: #112d38;
  --ink: #16262d;
  --muted: #6d7a80;
  --line: #dfe7e8;
  --soft: #f4f8f8;
  --white: #fff;
  --max: 1180px;
  --pad: clamp(20px, 5vw, 72px);
  --section: clamp(72px, 8vw, 112px);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --serif: "Noto Serif JP", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  --soft-shadow: 0 18px 48px rgba(16, 44, 55, .075);
}
@media screen and (max-width: 768px) {
  :root {
    --header-h: 66px;
  }
}

/* ============================================================
   リセット・ベース
   ============================================================ */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Noto Sans JP", "Yu Gothic", "YuGothic", Meiryo, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.85;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
@media screen and (max-width: 768px) {
  body {
    font-size: 15px;
  }
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

h1, h2, h3, h4, p {
  margin: 0;
}

button, input, textarea, select {
  font: inherit;
}

main {
  padding-top: var(--header-h);
}

/* ============================================================
   レイアウト・共通パーツ
   ============================================================ */
.inner {
  width: 100%;
  max-width: calc(var(--max) + var(--pad) * 2);
  padding-inline: var(--pad);
  margin-inline: auto;
}

.section {
  padding: var(--section) 0;
}
@media screen and (max-width: 768px) {
  .section {
    padding: 72px 0;
  }
}
.section--soft {
  background: linear-gradient(180deg, #f8faf9 0%, #f1f6f5 100%);
}
.section--deep {
  background: linear-gradient(135deg, #122e39 0%, #0e2731 100%);
  color: #fff;
}
.section--gate {
  padding-top: 42px;
  padding-bottom: 42px;
}

.eyebrow {
  display: block;
  font-size: 13px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 700;
}
.section--deep .eyebrow {
  color: var(--lime);
}

.section-title {
  line-break: strict;
  word-break: auto-phrase;
  text-wrap: balance;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.35;
  letter-spacing: 0.045em;
}
.section-title::after {
  content: "";
  display: block;
  width: 44px;
  height: 3px;
  background: var(--lime);
  margin-top: 18px;
}
@media screen and (max-width: 420px) {
  .section-title {
    font-size: 28px;
  }
}
.section-title--intro {
  font-size: clamp(22px, 2.5vw, 34px);
}

.lead {
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 2;
  color: #3e525b;
}
.section--deep .lead {
  color: rgba(255, 255, 255, 0.86);
}

.muted {
  color: var(--muted);
}

.note {
  display: inline-block;
  font-size: 13px;
  color: var(--muted);
}
.section--deep .note {
  color: rgba(255, 255, 255, 0.6);
}

.grid-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
  gap: 64px;
  align-items: end;
  margin-bottom: 46px;
}
.grid-head .lead {
  max-width: 580px;
}
.grid-head--single {
  grid-template-columns: 1fr;
  margin-bottom: 30px;
}
@media screen and (max-width: 1024px) {
  .grid-head {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.grid-head-more {
  text-align: right;
}
@media screen and (max-width: 1024px) {
  .grid-head-more {
    text-align: left;
  }
}
.grid-head-more .link-arrow {
  color: #fff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 50px;
  padding: 0 28px;
  border: 1px solid var(--green);
  color: var(--green);
  background: #fff;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  line-height: 1.4;
  text-align: center;
  cursor: pointer;
  transition: 0.25s var(--ease);
}
.btn:hover {
  background: var(--green);
  color: #fff;
}
.btn--fill {
  background: var(--green);
  color: #fff;
}
.btn--fill:hover {
  background: #096f2f;
}
.btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  flex: none;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-weight: 700;
  font-size: 14px;
}

/* 電話番号：SP以外では発信させない */
.tel {
  display: block;
  margin-top: 18px;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 800;
  color: var(--green);
  line-height: 1.2;
}
.tel small {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  margin-top: 8px;
}

.tel-link {
  cursor: text;
  text-decoration: none;
  pointer-events: none;
}
@media screen and (max-width: 768px) {
  .tel-link {
    cursor: pointer;
    pointer-events: auto;
  }
}

/* デバイス別改行 */
@media screen and (max-width: 768px) {
  .br_pc {
    display: none;
  }
}

@media screen and (min-width: 1441px) {
  .br_tab {
    display: none;
  }
}
@media screen and (min-width: 1025px) and (max-width: 1440px) {
  .br_tab {
    display: none;
  }
}
@media screen and (max-width: 768px) {
  .br_tab {
    display: none;
  }
}

@media screen and (min-width: 1441px) {
  .br_sp {
    display: none;
  }
}
@media screen and (min-width: 1025px) and (max-width: 1440px) {
  .br_sp {
    display: none;
  }
}
@media screen and (min-width: 769px) and (max-width: 1024px) {
  .br_sp {
    display: none;
  }
}

/* 入場フェード */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* ============================================================
   下層ヒーロー＋パンくず
   ============================================================ */
/* 2026-10-19: 会社概要を横長の実写（約1918x820／約2.3:1）へ差し替えたのにあわせ、
   高さを固定からビューポート連動へ。420pxのままだと1920px幅で約4.5:1になり、
   社名看板か門柱のどちらかが必ず見切れていた。
   1920px→約595px / 1440px→約446px / 上限640px。
   タブレット・SPは据え置き（この幅では写真の縦がほぼ全部入るため、上げる必要がない）。 */
.page-hero {
  position: relative;
  height: clamp(420px, 31vw, 640px);
  overflow: hidden;
}
.page-hero img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  filter: saturate(0.92) contrast(0.98);
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(9, 36, 45, 0.77), rgba(9, 36, 45, 0.24) 62%, rgba(9, 36, 45, 0.06));
}
.page-hero::before {
  content: "";
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: 0;
  height: 96px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.05) 44%, rgba(255, 255, 255, 0.16) 100%);
}
@media screen and (max-width: 1024px) {
  .page-hero {
    height: 360px;
  }
}
@media screen and (max-width: 768px) {
  .page-hero {
    height: 330px;
  }
  .page-hero::before {
    height: 62px;
  }
}

/* ページ別の見せ方。
   高さが可変になったぶん、写真ごとに残したい部分が変わる。
   クラスは template-parts/page-hero.php が kg_hero_args() のキーから出す。
   値は 1920 / 1440 / 1024 / 768 / 390px で実際に切り出して確かめたもの。
   既定は中央なので、ここに無いページ（policy）は center のまま。 */
.page-hero--news img {
  -o-object-position: 50% 35%;
     object-position: 50% 35%;
}

.page-hero--business img {
  -o-object-position: 50% 35%;
     object-position: 50% 35%;
}

.page-hero--facilities img {
  -o-object-position: 50% 45%;
     object-position: 50% 45%;
}

.page-hero--contact img {
  -o-object-position: 50% 45%;
     object-position: 50% 45%;
}

.page-hero--company img {
  -o-object-position: 50% 45%;
     object-position: 50% 45%;
}
@media screen and (max-width: 768px) {
  .page-hero--company img {
    -o-object-position: 75% 60%;
       object-position: 75% 60%;
  }
}

.page-hero-copy {
  position: absolute;
  z-index: 2;
  left: var(--pad);
  bottom: clamp(54px, 4vw, 76px);
  max-width: 680px;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.22);
}
.page-hero-copy .en {
  font-size: 18px;
  font-family: Georgia, serif;
  letter-spacing: 0.04em;
}
.page-hero-copy h1 {
  line-break: strict;
  word-break: auto-phrase;
  text-wrap: balance;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(40px, 5vw, 60px);
  line-height: 1.25;
  margin-top: 4px;
}
.page-hero-copy h1::after {
  content: "";
  display: block;
  width: 52px;
  height: 3px;
  background: var(--lime);
  margin-top: 18px;
}
.page-hero-copy p {
  margin-top: 22px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.9;
}
@media screen and (max-width: 768px) {
  .page-hero-copy {
    left: 22px;
    right: 22px;
    bottom: 38px;
  }
  .page-hero-copy h1 {
    font-size: 38px;
  }
  .page-hero-copy p {
    font-size: 14px;
  }
}

.breadcrumb {
  min-height: 52px;
  display: flex;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}
.breadcrumb a:hover {
  color: var(--green);
}
@media screen and (max-width: 768px) {
  .breadcrumb {
    padding: 10px 0;
    line-height: 1.6;
  }
}

/* ============================================================
   お知らせリスト（TOP・一覧で共用）
   ============================================================ */
.news-list {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.news-list.light {
  border-color: var(--line);
}

/* タグ・NEW は付いていない記事もあるので、固定グリッドではなく flex で組む */
.news-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  padding: 20px 2px 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: background 0.25s var(--ease), padding-left 0.25s var(--ease);
  position: relative;
}
.news-list.light .news-item {
  border-color: var(--line);
}
.news-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: var(--lime);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.3s var(--ease);
}
.news-item:hover, .news-item:focus-visible {
  padding-left: 16px;
}
.news-item:hover::before, .news-item:focus-visible::before {
  transform: scaleY(1);
}
.news-item:hover .news-title, .news-item:focus-visible .news-title {
  color: var(--lime);
}
.news-item:hover .news-arrow, .news-item:focus-visible .news-arrow {
  border-color: var(--lime);
  color: var(--lime);
}
.news-list.light .news-item:hover, .news-list.light .news-item:focus-visible {
  background: rgba(143, 195, 31, 0.05);
}
.news-list.light .news-item:hover .news-title, .news-list.light .news-item:focus-visible .news-title {
  color: var(--green);
}
.news-list.light .news-item:hover .news-arrow, .news-list.light .news-item:focus-visible .news-arrow {
  border-color: var(--green);
  color: var(--green);
}
@media screen and (max-width: 768px) {
  .news-item {
    gap: 8px 10px;
    padding: 16px 0;
  }
  .news-item:hover, .news-item:focus-visible {
    padding-left: 10px;
  }
}

.news-date {
  flex: none;
  width: 94px;
  font-family: Georgia, serif;
  font-size: 14px;
  letter-spacing: 0.04em;
  opacity: 0.78;
}
@media screen and (max-width: 768px) {
  .news-date {
    width: auto;
    font-size: 13px;
  }
}

.news-tag {
  flex: none;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 92px;
  background: var(--green);
  color: #fff;
  font-size: 12px;
  line-height: 1.4;
  padding: 4px 8px;
  white-space: nowrap;
  transition: background 0.25s var(--ease);
}
@media screen and (max-width: 768px) {
  .news-tag {
    min-width: 0;
  }
}

a.news-tag:hover {
  background: #096f2f;
}

.news-new {
  flex: none;
  font-family: Georgia, serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--lime);
  border: 1px solid currentColor;
  padding: 2px 7px;
  line-height: 1.4;
}
.news-list.light .news-new {
  color: #6d9c0e;
}

.news-title {
  flex: 1 1 auto;
  min-width: 0;
  transition: color 0.25s var(--ease);
}
@media screen and (max-width: 768px) {
  .news-title {
    flex-basis: 100%;
  }
}

.news-arrow {
  flex: none;
  margin-left: auto;
  width: 30px;
  height: 30px;
  border: 1px solid currentColor;
  display: grid;
  place-items: center;
  border-radius: 50%;
  opacity: 0.6;
  transition: 0.25s var(--ease);
}
@media screen and (max-width: 768px) {
  .news-arrow {
    display: none;
  }
}

.news-empty {
  padding: 28px 0;
  color: var(--muted);
}
.section--deep .news-empty {
  color: rgba(255, 255, 255, 0.7);
}

/* ---------- カテゴリー絞り込み ---------- */
.news-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.news-filter-item {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  padding: 9px 16px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  transition: 0.25s var(--ease);
}
.news-filter-item:hover {
  border-color: var(--green);
  color: var(--green);
}
.news-filter-item.current {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.news-filter-count {
  font-family: Georgia, serif;
  font-size: 11px;
  font-weight: 400;
  opacity: 0.7;
}

/* ---------- 詳細ページの関連記事 ---------- */
.article-related {
  margin-top: 64px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}
.article-related .news-item {
  padding-block: 16px;
}

.article-related-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

/* ページネーション（wp-pagenavi） */
.navigation {
  margin-top: 44px;
}
.navigation .wp-pagenavi {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  border: 0;
}
.navigation .wp-pagenavi a, .navigation .wp-pagenavi span {
  display: grid;
  place-items: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  transition: 0.25s var(--ease);
}
.navigation .wp-pagenavi a:hover {
  border-color: var(--green);
  color: var(--green);
}
.navigation .wp-pagenavi span.current {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

/* ============================================================
   共通：ダーク帯の4分割（事業内容の強み／設備紹介の生産体制）
   ============================================================ */
.merits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.16);
}
@media screen and (max-width: 1240px) {
  .merits {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 420px) {
  .merits {
    grid-template-columns: 1fr;
  }
}

.merit {
  background: var(--deep);
  padding: 34px 28px;
  text-align: center;
}
.merit svg {
  width: 38px;
  height: 38px;
  fill: var(--lime);
  margin-inline: auto;
}
.merit h3 {
  margin-top: 12px;
  font-size: 18px;
}
.merit p {
  font-size: 13px;
  opacity: 0.8;
  margin-top: 10px;
}

/* ============================================================
   お問い合わせ帯（全ページ共用）
   背景写真に白を重ね、左へ向かって白へ溶かす
   ============================================================ */
.contact-strip {
  position: relative;
  overflow: hidden;
  background: #f7faf7;
}

.contact-strip-bg {
  position: absolute;
  inset: 0;
}
.contact-strip-bg img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  filter: saturate(0.88) contrast(0.95);
}
.contact-strip-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.96) 34%, rgba(255, 255, 255, 0.82) 58%, rgba(255, 255, 255, 0.45) 100%);
}
@media screen and (max-width: 768px) {
  .contact-strip-bg::after {
    background: rgba(255, 255, 255, 0.9);
  }
}

.contact-box {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  padding-block: 68px;
}
.contact-box::before {
  content: "";
  position: absolute;
  inset: 18px -28px;
  background: rgba(255, 255, 255, 0.38);
  backdrop-filter: blur(1.5px);
  z-index: -1;
}
.contact-box h2 {
  font-family: Georgia, serif;
  font-size: 34px;
}
.contact-box p {
  margin-top: 12px;
}
@media screen and (max-width: 1024px) {
  .contact-box {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
@media screen and (max-width: 768px) {
  .contact-box::before {
    inset: 12px -12px;
  }
}

.contact-actions {
  text-align: center;
}
.contact-actions .btn {
  width: 100%;
  max-width: 430px;
}

/* ============================================================
   本文（お知らせ詳細・プライバシーポリシー・汎用ページ）
   ============================================================ */
.article-inner {
  max-width: calc(820px + var(--pad) * 2);
}

.article-body {
  line-height: 2;
}
.article-body h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.5;
  margin: 48px 0 18px;
  padding-left: 16px;
  border-left: 3px solid var(--lime);
}
.article-body h2:first-child {
  margin-top: 0;
}
.article-body h3 {
  font-size: clamp(17px, 1.8vw, 20px);
  margin: 34px 0 12px;
}
.article-body p {
  margin-bottom: 1.4em;
}
.article-body ul, .article-body ol {
  margin: 0 0 1.6em;
  padding-left: 1.4em;
}
.article-body ul {
  list-style: disc;
}
.article-body ol {
  list-style: decimal;
}
.article-body li {
  margin-bottom: 0.4em;
}
.article-body a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.article-body img {
  margin: 1.4em auto;
}
.article-body blockquote {
  margin: 1.6em 0;
  padding: 20px 24px;
  background: var(--soft);
  border-left: 3px solid var(--line);
  color: #3e525b;
}
.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.6em 0;
}
.article-body table th, .article-body table td {
  border: 1px solid var(--line);
  padding: 14px 16px;
  text-align: left;
}
.article-body table th {
  background: var(--soft);
}

/* ============================================================
   reCAPTCHA バッジ
   ============================================================ */
.grecaptcha-badge {
  z-index: 99999 !important;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .hero-slide,
  .reveal,
  .gate img {
    transition: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
/* ============================================================
   ローダー
   白地にロゴをフェードイン＋ライムの細い線。動きは静かに。
   ============================================================ */
.loader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: var(--pad);
  background: #fff;
  transition: opacity 0.6s var(--ease), visibility 0.6s var(--ease);
}
.kg-loader-done .loader {
  display: none;
}
.loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.kg-loading body {
  overflow: hidden;
}

.loader-inner {
  text-align: center;
}

.loader-logo {
  width: min(240px, 56vw);
  height: auto;
  margin-inline: auto;
  opacity: 0;
  transform: translateY(6px);
  animation: kg-loader-logo 0.9s var(--ease) forwards;
}

.loader-bar {
  display: block;
  width: min(240px, 56vw);
  height: 2px;
  margin: 24px auto 0;
  background: var(--line);
  overflow: hidden;
}
.loader-bar > span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left center;
  animation: kg-loader-bar 1.8s var(--ease) forwards;
}

@keyframes kg-loader-logo {
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes kg-loader-bar {
  0% {
    transform: scaleX(0);
  }
  70% {
    transform: scaleX(0.82);
  }
  100% {
    transform: scaleX(1);
  }
}
@media (prefers-reduced-motion: reduce) {
  .loader {
    transition: none;
  }
  .loader-logo {
    opacity: 1;
    transform: none;
    animation: none;
  }
  .loader-bar > span {
    transform: scaleX(1);
    animation: none;
  }
}
/* ============================================================
   ヘッダー
   1025px 以上＝横並びナビ／1024px 以下＝ハンバーガー
   ============================================================ */
.site-header {
  position: fixed;
  z-index: 100;
  left: 0;
  right: 0;
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(20, 40, 50, 0.08);
  transition: box-shadow 0.25s var(--ease);
}
.site-header.is-scrolled {
  box-shadow: 0 6px 24px rgba(16, 44, 55, 0.06);
}

.header-inner {
  height: var(--header-h);
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

/* ロゴは比率・色を変えない */
.brand {
  flex: none;
  display: block;
}
.brand img {
  width: 220px;
  height: auto;
}
@media screen and (max-width: 768px) {
  .brand img {
    width: 180px;
  }
}
@media screen and (max-width: 420px) {
  .brand img {
    width: 160px;
  }
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 700;
}
.nav a {
  position: relative;
  padding: 28px 0 25px;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 17px;
  height: 2px;
  background: var(--lime);
  transform: scaleX(0);
  transition: 0.25s var(--ease);
}
.nav a:hover, .nav a.current {
  color: var(--green);
}
.nav a:hover::after, .nav a.current::after {
  transform: scaleX(1);
}
.nav .nav-contact {
  display: none;
}
@media screen and (max-width: 1240px) {
  .nav {
    gap: 18px;
  }
  .nav .nav-contact {
    display: block;
  }
}
@media screen and (max-width: 1024px) {
  .nav {
    position: fixed;
    left: 0;
    right: 0;
    top: var(--header-h);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    background: #fff;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px var(--pad) 26px;
    border-bottom: 1px solid var(--line);
    gap: 0;
  }
  .nav.open {
    display: flex;
  }
  .nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }
  .nav a::after {
    display: none;
  }
}

.header-contact {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 18px;
  background: var(--green);
  color: #fff;
  border-radius: 2px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  transition: 0.25s var(--ease);
}
.header-contact:hover {
  background: #096f2f;
}
.header-contact svg {
  width: 16px;
  fill: #fff;
}
@media screen and (max-width: 1240px) {
  .header-contact {
    display: none;
  }
}

.menu {
  display: none;
  border: 0;
  background: transparent;
  width: 44px;
  height: 44px;
  position: relative;
  padding: 0;
  cursor: pointer;
  flex: none;
}
.menu span {
  position: absolute;
  left: 9px;
  right: 9px;
  height: 2px;
  background: var(--ink);
  transition: 0.25s;
}
.menu span:nth-child(1) {
  top: 13px;
}
.menu span:nth-child(2) {
  top: 21px;
}
.menu span:nth-child(3) {
  top: 29px;
}
.menu.open span:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
}
.menu.open span:nth-child(2) {
  opacity: 0;
}
.menu.open span:nth-child(3) {
  top: 21px;
  transform: rotate(-45deg);
}
@media screen and (max-width: 1024px) {
  .menu {
    display: block;
  }
}

/* ============================================================
   TOP
   この案件のキモ：画像とテキストの境界を linear-gradient() で溶かす。
   （ご挨拶／事業内容導入／お問い合わせ帯の3か所。blur ではない）
   ============================================================ */
/* ---------- ヒーロー ---------- */
.hero {
  position: relative;
  height: 90vh;
  min-height: 560px;
  overflow: hidden;
}
@media screen and (max-width: 768px) {
  .hero {
    min-height: 520px;
  }
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s var(--ease);
}
.hero-slide.active {
  opacity: 1;
}
.hero-slide picture, .hero-slide img {
  width: 100%;
  height: 100%;
}
.hero-slide img {
  -o-object-fit: cover;
     object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 35, 44, 0.76) 0%, rgba(10, 35, 44, 0.44) 43%, rgba(10, 35, 44, 0.08) 78%);
}

/* 下端を白へ溶かす */
.hero::before {
  content: "";
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: 0;
  height: 96px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.05) 44%, rgba(255, 255, 255, 0.16) 100%);
}

.hero-copy {
  position: absolute;
  z-index: 2;
  left: var(--pad);
  bottom: 76px;
  color: #fff;
  max-width: 650px;
}
.hero-copy h1 {
  line-break: strict;
  word-break: auto-phrase;
  text-wrap: balance;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1.3;
  letter-spacing: 0.04em;
  text-shadow: 0 3px 20px rgba(0, 0, 0, 0.28);
}
.hero-copy p {
  margin-top: 22px;
  font-size: clamp(16px, 1.7vw, 20px);
  line-height: 1.9;
  font-weight: 600;
}
@media screen and (max-width: 768px) {
  .hero-copy {
    left: 22px;
    right: 22px;
    bottom: 76px;
  }
  .hero-copy h1 {
    font-size: 38px;
  }
  .hero-copy p {
    font-size: 15px;
  }
}
@media screen and (max-width: 420px) {
  .hero-copy h1 {
    font-size: 34px;
  }
}

.hero-side {
  position: absolute;
  z-index: 2;
  right: var(--pad);
  bottom: 76px;
  color: #fff;
  font-size: 15px;
  line-height: 1.9;
  text-align: right;
}
@media screen and (max-width: 1024px) {
  .hero-side {
    display: none;
  }
}

.hero-dots {
  position: absolute;
  z-index: 3;
  left: var(--pad);
  bottom: 30px;
  display: flex;
  gap: 8px;
}
@media screen and (max-width: 768px) {
  .hero-dots {
    left: 22px;
  }
}

.hero-dot {
  border: 0;
  width: 34px;
  height: 3px;
  background: rgba(255, 255, 255, 0.5);
  padding: 0;
  cursor: pointer;
}
.hero-dot.active {
  background: var(--lime);
}

/* ---------- ご挨拶：写真が濃色帯に溶けていく ---------- */
.message {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, #132f3a 0%, #132f3a 47%, #173743 100%);
  color: #fff;
}

.message-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  isolation: isolate;
}
@media screen and (max-width: 1024px) {
  .message-grid {
    grid-template-columns: 1fr;
  }
}

.message-copy {
  position: relative;
  z-index: 3;
  padding: clamp(56px, 7vw, 100px) 96px clamp(56px, 7vw, 100px) var(--pad);
  background: linear-gradient(90deg, #132f3a 0%, #132f3a 72%, rgba(19, 47, 58, 0.86) 90%, rgba(19, 47, 58, 0) 100%);
}
.message-copy .section-title {
  font-size: clamp(30px, 3.2vw, 42px);
}
.message-copy p {
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.88);
}
@media screen and (max-width: 1024px) {
  .message-copy {
    padding: 70px var(--pad) 48px;
    background: #132f3a;
  }
}

.message-photo {
  position: relative;
  min-height: 500px;
  margin-left: -96px;
}
.message-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  filter: saturate(0.9) contrast(0.96);
}
.message-photo::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0 auto 0 0;
  width: 240px;
  background: linear-gradient(90deg, #132f3a 0%, rgba(19, 47, 58, 0.92) 24%, rgba(19, 47, 58, 0.6) 55%, rgba(19, 47, 58, 0) 100%);
  pointer-events: none;
}
.message-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(0deg, rgba(12, 32, 40, 0.32), rgba(12, 32, 40, 0) 48%);
}
@media screen and (max-width: 1024px) {
  .message-photo {
    margin-left: 0;
    min-height: 360px;
  }
  .message-photo::before {
    width: 100%;
    height: 120px;
    inset: 0 0 auto 0;
    background: linear-gradient(180deg, #132f3a 0%, rgba(19, 47, 58, 0.62) 46%, rgba(19, 47, 58, 0) 100%);
  }
}

.message-over {
  position: absolute;
  z-index: 2;
  left: 120px;
  bottom: 54px;
  color: #fff;
}
.message-over strong {
  line-break: strict;
  word-break: auto-phrase;
  text-wrap: balance;
  display: block;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.45;
}
.message-over span {
  display: block;
  margin-top: 12px;
  line-height: 1.8;
}
@media screen and (max-width: 1024px) {
  .message-over {
    left: var(--pad);
  }
}
@media screen and (max-width: 768px) {
  .message-over {
    bottom: 36px;
  }
}

/* ---------- 強み ---------- */
.strengths {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media screen and (max-width: 768px) {
  .strengths {
    grid-template-columns: 1fr;
  }
}

.strength {
  background: #fff;
  border: 1px solid rgba(21, 58, 70, 0.1);
  padding: 34px 28px;
  text-align: center;
  box-shadow: 0 14px 38px rgba(18, 44, 55, 0.055);
}
.strength h3 {
  font-size: 21px;
}
.strength b {
  display: block;
  margin-top: 10px;
  color: var(--green);
  font-size: 14px;
}
.strength p {
  margin-top: 12px;
  font-size: 14px;
  color: #52656d;
  line-height: 1.9;
}

.strength-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(143, 195, 31, 0.14);
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
}
.strength-icon svg {
  width: 29px;
  height: 29px;
  fill: var(--green);
}

/* ---------- 事業内容導入：白い本文エリアと写真が溶け合う ---------- */
.business-intro {
  position: relative;
  overflow: hidden;
  background: #fff;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) minmax(420px, 44%);
  align-items: stretch;
}
@media screen and (max-width: 1240px) {
  .business-intro {
    grid-template-columns: 150px 1fr 40%;
  }
}
@media screen and (max-width: 1024px) {
  .business-intro {
    grid-template-columns: 1fr;
  }
}

.business-label {
  position: relative;
  z-index: 3;
  padding: 82px 0 82px var(--pad);
  color: var(--green);
  font-size: 34px;
  font-family: Georgia, serif;
  line-height: 1.3;
}
.business-label span {
  display: block;
  color: var(--ink);
  font-family: inherit;
  font-size: 13px;
  margin-top: 6px;
}
@media screen and (max-width: 1024px) {
  .business-label {
    padding: 65px var(--pad) 10px;
  }
}

.business-copy {
  position: relative;
  z-index: 3;
  padding: 82px 96px 82px 32px;
}
.business-copy h2 {
  line-break: strict;
  word-break: auto-phrase;
  text-wrap: balance;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.5;
}
.business-copy p {
  margin-top: 24px;
}
.business-copy .btn {
  margin-top: 28px;
}
@media screen and (max-width: 1240px) {
  .business-copy {
    padding-right: 70px;
  }
}
@media screen and (max-width: 1024px) {
  .business-copy {
    padding: 20px var(--pad) 56px;
  }
}

.business-image {
  position: relative;
  z-index: 1;
  margin-left: -130px;
  overflow: hidden;
}
.business-image img {
  width: 100%;
  height: 100%;
  min-height: 500px;
  -o-object-fit: cover;
     object-fit: cover;
  filter: saturate(0.88) contrast(0.97);
}
.business-image::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0 auto 0 0;
  width: 260px;
  pointer-events: none;
  background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0.98) 16%, rgba(255, 255, 255, 0.86) 35%, rgba(255, 255, 255, 0.42) 65%, rgba(255, 255, 255, 0) 100%);
}
.business-image::after {
  content: "";
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  height: 86px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.22));
}
@media screen and (max-width: 1240px) {
  .business-image {
    margin-left: -88px;
  }
}
@media screen and (max-width: 1024px) {
  .business-image {
    margin-left: 0;
    padding: 0 var(--pad);
    overflow: visible;
  }
  .business-image::before {
    inset: 0 var(--pad) auto var(--pad);
    width: auto;
    height: 84px;
    background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0.74) 45%, rgba(255, 255, 255, 0) 100%);
  }
  .business-image img {
    min-height: 0;
    aspect-ratio: 16/10;
  }
}

/* ---------- 導線カード ---------- */
/* 枚数が変わる（2026-10 で3枚→2枚）。列を固定せず flex で中央に寄せる。
   2枚のときに横へ伸びすぎないよう、.inner のガターぶんを足した max-width で頭を抑える。
   3枚に戻した場合も、この幅のなかで3列に並ぶ。 */
.gates {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: calc(920px + var(--pad) * 2);
}
.gates > * {
  flex: 0 1 calc((100% - 20px) / 2);
  min-width: 0;
}
@media screen and (max-width: 768px) {
  .gates > * {
    flex-basis: 100%;
  }
}

.gate {
  position: relative;
  overflow: hidden;
}
.gate img {
  width: 100%;
  aspect-ratio: 16/9;
  -o-object-fit: cover;
     object-fit: cover;
  transition: 0.5s var(--ease);
}
.gate::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8, 31, 39, 0.78) 0%, rgba(8, 31, 39, 0.42) 34%, rgba(8, 31, 39, 0) 72%);
}
.gate:hover img {
  transform: scale(1.035);
}

.gate-copy {
  position: absolute;
  z-index: 2;
  left: 22px;
  right: 22px;
  bottom: 20px;
  color: #fff;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}
.gate-copy strong {
  font-size: 21px;
}
.gate-copy small {
  display: block;
  font-family: Georgia, serif;
  font-size: 13px;
  opacity: 0.8;
}

.gate-arrow {
  width: 38px;
  height: 38px;
  background: #fff;
  color: var(--green);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 20px;
  flex: none;
}

/* ============================================================
   事業内容
   写真を切り落とさず、本文エリアへフェードさせて重ねる
   ============================================================ */
/* ---------- 事業内容一覧（6カード） ---------- */
/* 枚数が列数の倍数とはかぎらない（2026-10で6→5枚）。
   グリッドだと最終行が左に寄って右端が空くので、flex で中央に寄せる。
   幅の計算は列数ぶんの gap を引いてから割る。 */
.cards-3 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
}
.cards-3 > * {
  flex: 0 1 calc((100% - 28px * 2) / 3);
  min-width: 0;
}
@media screen and (max-width: 1240px) {
  .cards-3 > * {
    flex-basis: calc((100% - 28px) / 2);
  }
}
@media screen and (max-width: 768px) {
  .cards-3 > * {
    flex-basis: 100%;
  }
}

.info-card {
  position: relative;
  border: 1px solid rgba(21, 58, 70, 0.1);
  background: #fff;
  box-shadow: var(--soft-shadow);
  overflow: hidden;
}
.info-card > img {
  width: 100%;
  aspect-ratio: 16/10;
  -o-object-fit: cover;
     object-fit: cover;
  filter: saturate(0.9);
  margin-bottom: -58px;
}
@media screen and (max-width: 768px) {
  .info-card > img {
    margin-bottom: -44px;
  }
}
.info-card h3 {
  font-size: 21px;
}
.info-card p {
  font-size: 14px;
  color: #566970;
  margin-top: 10px;
}

.info-card-body {
  position: relative;
  z-index: 2;
  padding: 78px 24px 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.82) 34px, #fff 72px);
}
@media screen and (max-width: 768px) {
  .info-card-body {
    padding-top: 64px;
  }
}

/* ---------- 対応分野（4カード） ---------- */
.fields {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
@media screen and (max-width: 1240px) {
  .fields {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 420px) {
  .fields {
    grid-template-columns: 1fr;
  }
}

.field {
  background: #fff;
  border: 1px solid rgba(21, 58, 70, 0.1);
  box-shadow: var(--soft-shadow);
  overflow: hidden;
}
.field img {
  width: 100%;
  aspect-ratio: 16/9;
  -o-object-fit: cover;
     object-fit: cover;
  filter: saturate(0.9);
  margin-bottom: -38px;
}
@media screen and (max-width: 768px) {
  .field img {
    margin-bottom: -26px;
  }
}
.field h3 {
  font-size: 17px;
}
.field p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 6px;
}

.field-body {
  position: relative;
  z-index: 1;
  padding: 52px 18px 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.93) 34px, #fff 58px);
}
@media screen and (max-width: 768px) {
  .field-body {
    padding-top: 42px;
  }
}

/* ---------- 製品事例（4カード） ---------- */
/* 対応分野カードと違い、写真を本文へフェードさせず全体を見せる。
   部品そのものを見てもらう場所なので、saturate もかけない（実物の色を保つ）。 */
.cases {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
@media screen and (max-width: 768px) {
  .cases {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

/* リード文の折り返し。.lead は全ページ共通なので、このセクションだけに効かせる */
.cases-section .lead {
  word-break: auto-phrase;
  text-wrap: pretty;
}

.case {
  background: #fff;
  border: 1px solid rgba(21, 58, 70, 0.1);
  box-shadow: var(--soft-shadow);
  overflow: hidden;
}
.case img {
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  -o-object-fit: cover;
     object-fit: cover;
  border-bottom: 1px solid rgba(21, 58, 70, 0.08);
}
.case h3 {
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: 0.03em;
  word-break: auto-phrase;
  text-wrap: pretty;
}
.case p {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.95;
  color: #566970;
}

.case-body {
  padding: 26px 30px 32px;
}
@media screen and (max-width: 768px) {
  .case-body {
    padding: 22px 20px 26px;
  }
}

.case-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.case-num {
  font-family: Georgia, serif;
  font-size: 30px;
  line-height: 1;
  color: var(--green);
}

.case-tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--green);
  border: 1px solid rgba(7, 131, 49, 0.35);
  padding: 3px 10px 2px;
}

/* ---------- 製品ができるまで ---------- */
.process {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
@media screen and (max-width: 1024px) {
  .process {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 420px) {
  .process {
    grid-template-columns: 1fr;
  }
}

.process-item {
  position: relative;
  border: 1px solid rgba(21, 58, 70, 0.1);
  background: #fff;
  padding: 28px 20px;
  text-align: center;
  box-shadow: 0 12px 30px rgba(18, 44, 55, 0.045);
}
.process-item h3 {
  font-size: 17px;
}
.process-item p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
}

.process-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: grid;
  place-items: center;
  margin: 0 auto 15px;
  font-weight: 800;
  font-size: 13px;
}

/* ============================================================
   会社概要
   ============================================================ */
.company-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 48px;
}
@media screen and (max-width: 1024px) {
  .company-grid {
    grid-template-columns: 1fr;
  }
}

.company-table {
  width: 100%;
  border-collapse: collapse;
}
.company-table th, .company-table td {
  border: 1px solid var(--line);
  padding: 17px 20px;
  text-align: left;
  vertical-align: top;
}
.company-table th {
  width: 170px;
  background: #f3f7f6;
  font-size: 14px;
}
@media screen and (max-width: 768px) {
  .company-table th, .company-table td {
    display: block;
    width: 100%;
    border-bottom: 0;
  }
  .company-table td {
    border-bottom: 1px solid var(--line);
  }
}

/* 写真とアクセスパネルをひとつの塊に見せる */
.company-side {
  position: relative;
}
.company-side > img {
  width: 100%;
  aspect-ratio: 4/3;
  -o-object-fit: cover;
     object-fit: cover;
  filter: saturate(0.9);
  margin-bottom: -42px;
  box-shadow: var(--soft-shadow);
}

.access-card {
  position: relative;
  z-index: 2;
  margin-top: 0;
  padding: 62px 24px 24px;
  background: linear-gradient(180deg, rgba(244, 248, 248, 0), #f4f8f8 42px, #f4f8f8 100%);
  border: 1px solid var(--line);
  border-top: 0;
  box-shadow: 0 18px 42px rgba(15, 42, 52, 0.05);
}
.access-card h3 {
  font-size: 19px;
}
.access-card p {
  margin-top: 10px;
  font-size: 14px;
}
.access-card .btn {
  margin-top: 18px;
  width: 100%;
}

/* ---------- 認定・資格 ---------- */
.certs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
@media screen and (max-width: 768px) {
  .certs {
    grid-template-columns: 1fr;
  }
}

.cert {
  border: 1px solid rgba(21, 58, 70, 0.1);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 34px rgba(18, 44, 55, 0.045);
  padding: 30px;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 22px;
  align-items: center;
}
.cert h3 {
  font-size: 19px;
}
.cert p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
}
@media screen and (max-width: 420px) {
  .cert {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

.cert-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--soft);
  display: grid;
  place-items: center;
}
.cert-icon svg {
  width: 36px;
  height: 36px;
  fill: var(--green);
}

/* ============================================================
   設備紹介
   2026-10 改訂: 設備種類カード → 成形機スペック表＋周辺機器
   ============================================================ */
/* ---------- メーカー表記 ---------- */
.spec-maker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  font-size: 15px;
  font-weight: 700;
}
.spec-maker span {
  display: inline-block;
  padding: 4px 12px;
  background: var(--green);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

/* ---------- 成形機スペック表 ---------- */
.spec-table-wrap {
  border: 1px solid rgba(21, 58, 70, 0.1);
  box-shadow: var(--soft-shadow);
  background: #fff;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.spec-table th,
.spec-table td {
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.spec-table thead th {
  background: var(--soft);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink);
  border-bottom: 2px solid var(--green);
}
.spec-table tbody th {
  width: 72px;
  font-family: Georgia, serif;
  font-weight: 700;
  color: var(--muted);
}
.spec-table tbody tr:last-child th,
.spec-table tbody tr:last-child td {
  border-bottom: 0;
}
.spec-table tbody tr:hover {
  background: rgba(143, 195, 31, 0.06);
}
.spec-table .is-model {
  font-weight: 700;
  letter-spacing: 0.02em;
}
.spec-table small {
  margin-left: 3px;
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
}
.spec-table {
  /* SP では横スクロールさせず、1台 = 1カードとして積む */
}
@media screen and (max-width: 768px) {
  .spec-table {
    display: block;
    font-size: 14px;
  }
  .spec-table thead {
    display: none;
  }
  .spec-table tbody,
  .spec-table tbody tr {
    display: block;
  }
  .spec-table tbody tr {
    padding: 16px 18px;
    border-bottom: 1px solid var(--line);
  }
  .spec-table tbody tr:last-child {
    border-bottom: 0;
  }
  .spec-table tbody tr:hover {
    background: transparent;
  }
  .spec-table th,
  .spec-table td {
    padding: 0;
    border-bottom: 0;
    white-space: normal;
  }
  .spec-table tbody th {
    width: auto;
    display: inline-block;
    margin-bottom: 6px;
    font-size: 12px;
  }
  .spec-table tbody th::before {
    content: attr(data-label) " ";
  }
  .spec-table td {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    padding: 6px 0;
  }
  .spec-table td::before {
    content: attr(data-label);
    font-size: 12px;
    color: var(--muted);
    flex: none;
  }
  .spec-table td {
    /* 値と単位は離さず、ひとまとまりで右端に置く */
  }
  .spec-table td > span {
    text-align: right;
  }
  .spec-table .is-model {
    font-size: 18px;
    padding-bottom: 10px;
    margin-bottom: 6px;
    border-bottom: 1px solid var(--line);
  }
  .spec-table .is-model::before {
    align-self: center;
  }
  .spec-table .is-model > span {
    font-weight: 700;
  }
}

.spec-note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
}

/* ---------- 代表写真 ---------- */
/* 枚数が変わっても右端が空かないよう、列数は固定せず auto-fit で詰める。
   2枚なら2列、3枚なら3列になる。 */
.spec-photos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
@media screen and (max-width: 768px) {
  .spec-photos {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

.spec-photo {
  overflow: hidden;
}
.spec-photo img {
  width: 100%;
  aspect-ratio: 4/3;
  -o-object-fit: cover;
     object-fit: cover;
  filter: saturate(0.92) contrast(0.98);
  transition: transform 0.5s var(--ease);
}
.spec-photo:hover img {
  transform: scale(1.03);
}

/* ---------- 周辺機器 ---------- */
/* 5枠なので、1pxギャップ＋親背景で枠線を作る方式は使わない（最後の1マスが背景色で残るため） */
.periph-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media screen and (max-width: 1240px) {
  .periph-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 768px) {
  .periph-list {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

.periph {
  background: #fff;
  border: 1px solid rgba(21, 58, 70, 0.1);
  box-shadow: var(--soft-shadow);
  padding: 28px 24px;
}
.periph h3 {
  font-size: 19px;
  letter-spacing: 0.02em;
}

.periph-maker {
  display: inline-block;
  margin-top: 10px;
  padding: 3px 10px;
  background: var(--soft);
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.04em;
}

.periph-text {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.9;
  color: var(--muted);
}

/* ---------- 対応できる製品 ---------- */
.products {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
@media screen and (max-width: 1240px) {
  .products {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media screen and (max-width: 768px) {
  .products {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 420px) {
  .products {
    grid-template-columns: 1fr;
  }
}

.product-shot {
  background: #fff;
  border: 1px solid var(--line);
  padding: 12px;
}
.product-shot img {
  width: 100%;
  aspect-ratio: 1/1;
  -o-object-fit: cover;
     object-fit: cover;
}

/* ============================================================
   お知らせ一覧
   一覧は罫線と余白で手堅く見せる（過度にカード化しない）
   ============================================================ */
.news-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 54px;
}
@media screen and (max-width: 1024px) {
  .news-page-grid {
    grid-template-columns: 1fr;
  }
}

/* サイドカードも写真から本文へフェードさせる */
.side-card {
  background: #f7faf9;
  border: 1px solid rgba(21, 58, 70, 0.1);
  box-shadow: var(--soft-shadow);
  padding: 0;
  overflow: hidden;
  align-self: start;
}
.side-card img {
  width: 100%;
  aspect-ratio: 4/3;
  -o-object-fit: cover;
     object-fit: cover;
  filter: saturate(0.9);
  margin-bottom: -54px;
}
.side-card h3 {
  position: relative;
  font-size: 21px;
  margin: 0;
  padding: 74px 24px 0;
  background: linear-gradient(180deg, rgba(247, 250, 249, 0), rgba(247, 250, 249, 0.96) 54px, #f7faf9 74px);
}
.side-card p {
  font-size: 14px;
  color: var(--muted);
  margin: 10px 24px 0;
}
.side-card .btn {
  width: calc(100% - 48px);
  margin: 18px 24px 24px;
}

.news-list-lead {
  margin-bottom: 30px;
}

/* ============================================================
   お知らせ詳細
   ============================================================ */
.article-head {
  padding-bottom: 24px;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--line);
}

.article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.article-meta .news-date {
  font-size: 14px;
  color: var(--muted);
  opacity: 1;
}
.article-meta .news-tag:hover {
  background: #096f2f;
}

.article-title {
  line-break: strict;
  word-break: auto-phrase;
  text-wrap: balance;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.5;
  margin-top: 14px;
}

.article-thumb {
  margin-bottom: 36px;
}
.article-thumb img {
  width: 100%;
  height: auto;
}

.article-nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  margin-top: 64px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  font-weight: 700;
}
.article-nav a:hover {
  color: var(--green);
}
.article-nav .article-nav-next {
  text-align: right;
}
@media screen and (max-width: 768px) {
  .article-nav {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .article-nav .article-nav-index {
    grid-column: 1/-1;
    order: 3;
  }
  .article-nav .btn {
    width: 100%;
  }
}

/* ============================================================
   お問い合わせ（入力／確認／完了）・404
   フォームは Contact Form 7 ＋ Multi-Step
   ============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 72px;
}
@media screen and (max-width: 1024px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
@media screen and (max-width: 768px) {
  .contact-layout {
    gap: 30px;
  }
}

.contact-single {
  max-width: calc(780px + var(--pad) * 2);
}

.contact-panel {
  align-self: start;
  padding: 36px;
  background: var(--soft);
  border: 1px solid var(--line);
}
.contact-panel .section-title {
  font-size: clamp(22px, 2.4vw, 28px);
}
@media screen and (max-width: 768px) {
  .contact-panel {
    padding: 26px;
  }
}

.contact-panel-meta {
  margin-top: 24px;
  font-size: 14px;
  line-height: 1.9;
}

.contact-panel-note {
  margin-top: 20px;
  font-size: 14px;
}

.form-area {
  margin-top: 36px;
}

.form-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 16px;
}

/* ---------- Contact Form 7 ---------- */
.wpcf7 .wpcf7-form > label,
.wpcf7 .wpcf7-form > p > label {
  display: block;
  margin-bottom: 22px;
  font-weight: 700;
  font-size: 14px;
}
.wpcf7 input[type=text],
.wpcf7 input[type=email],
.wpcf7 input[type=tel],
.wpcf7 input[type=url],
.wpcf7 input[type=number],
.wpcf7 textarea,
.wpcf7 select {
  display: block;
  width: 100%;
  margin-top: 8px;
  border: 1px solid #ccd8da;
  border-radius: 0;
  background: #fff;
  padding: 13px 14px;
  color: var(--ink);
  font-weight: 400;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.wpcf7 input[type=text]:focus,
.wpcf7 input[type=email]:focus,
.wpcf7 input[type=tel]:focus,
.wpcf7 input[type=url]:focus,
.wpcf7 input[type=number]:focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus {
  outline: 0;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(7, 131, 49, 0.12);
}
.wpcf7 input[type=text]::-moz-placeholder, .wpcf7 input[type=email]::-moz-placeholder, .wpcf7 input[type=tel]::-moz-placeholder, .wpcf7 input[type=url]::-moz-placeholder, .wpcf7 input[type=number]::-moz-placeholder, .wpcf7 textarea::-moz-placeholder, .wpcf7 select::-moz-placeholder {
  color: #9fb0b5;
}
.wpcf7 input[type=text]::placeholder,
.wpcf7 input[type=email]::placeholder,
.wpcf7 input[type=tel]::placeholder,
.wpcf7 input[type=url]::placeholder,
.wpcf7 input[type=number]::placeholder,
.wpcf7 textarea::placeholder,
.wpcf7 select::placeholder {
  color: #9fb0b5;
}
.wpcf7 textarea {
  min-height: 180px;
  resize: vertical;
}
.wpcf7 {
  /* 必須／任意バッジ */
}
.wpcf7 .red,
.wpcf7 .blue {
  display: inline-block;
  margin-left: 8px;
  padding: 3px 8px;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.04em;
  color: #fff;
  vertical-align: middle;
}
.wpcf7 .red {
  background: #b3261e;
}
.wpcf7 .blue {
  background: #4d6f7d;
}
.wpcf7 {
  /* プライバシーポリシー同意 */
}
.wpcf7 .wpcf7-form > label.policy {
  margin: 8px 0 26px;
  text-align: center;
  font-weight: 400;
}
.wpcf7 .wpcf7-form > label.policy .wpcf7-list-item {
  margin: 0;
}
.wpcf7 .wpcf7-form > label.policy label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
}
.wpcf7 .wpcf7-form > label.policy input[type=checkbox] {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--green);
}
.wpcf7 .policy-link {
  display: block;
  margin-bottom: 12px;
  text-align: center;
  font-size: 14px;
}
.wpcf7 .policy-link a {
  color: var(--green);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.wpcf7 {
  /* 送信・戻るボタン */
}
.wpcf7 .wpcf7-submit,
.wpcf7 .wpcf7-previous,
.wpcf7 input[type=submit] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 360px;
  min-height: 56px;
  margin: 8px auto 0;
  padding: 0 28px;
  border: 1px solid var(--green);
  background: var(--green);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: 0.25s var(--ease);
}
.wpcf7 .wpcf7-submit:hover,
.wpcf7 .wpcf7-previous:hover,
.wpcf7 input[type=submit]:hover {
  background: #096f2f;
  border-color: #096f2f;
}
.wpcf7 .wpcf7-previous {
  background: #fff;
  color: var(--green);
}
.wpcf7 .wpcf7-previous:hover {
  background: var(--green);
  color: #fff;
}
.wpcf7 .wpcf7-spinner {
  display: block;
  margin: 12px auto 0;
}
.wpcf7 {
  /* エラー表示 */
}
.wpcf7 .wpcf7-not-valid-tip {
  display: block;
  margin-top: 6px;
  color: #b3261e;
  font-size: 13px;
  font-weight: 700;
}
.wpcf7 .wpcf7-not-valid {
  border-color: #b3261e;
}
.wpcf7 .wpcf7-response-output {
  margin: 24px 0 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  font-size: 14px;
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
  border-color: #b3261e;
}
.wpcf7 form.sent .wpcf7-response-output {
  border-color: var(--green);
}

/* 確認画面：入力値は読み取り専用の行として見せる */
.form-area--confirm .wpcf7-form > label {
  margin-bottom: 0;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
@media screen and (max-width: 768px) {
  .form-area--confirm .wpcf7-form > label {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}
.form-area--confirm .wpcf7-form-control-wrap {
  font-weight: 400;
  font-size: 15px;
  line-height: 1.9;
  word-break: break-word;
}
.form-area--confirm .wpcf7-form-control-wrap,
.form-area--confirm .wpcf7-multiform {
  white-space: pre-wrap;
}
.form-area--confirm .confirm-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 36px;
}
.form-area--confirm .confirm-actions input[type=submit] {
  margin: 0;
  max-width: 260px;
}

/* ---------- 送信完了・404 ---------- */
.thanks p {
  margin-top: 20px;
}
.thanks > .btn {
  margin-top: 36px;
}

.thanks-tel {
  margin-top: 28px;
  padding: 24px;
  background: var(--soft);
  border: 1px solid var(--line);
}
.thanks-tel .tel {
  margin-top: 0;
}

.notfound-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.notfound-links .btn {
  flex: 1 1 200px;
}

/* ============================================================
   フッター
   中央寄せ（左右の余白は許容、中央の間隔を詰める）
   ============================================================ */
.footer {
  background: var(--deep);
  color: #fff;
  padding: 52px var(--pad) 26px;
}

.footer-main {
  max-width: 960px;
  margin: auto;
  display: grid;
  grid-template-columns: auto auto;
  justify-content: center;
  gap: clamp(32px, 7vw, 110px);
}
@media screen and (max-width: 1024px) {
  .footer-main {
    grid-template-columns: 1fr;
    justify-content: start;
    gap: 32px;
  }
}

/* 暗背景に規定色ロゴを載せるため、白ヌキデータが届くまでは白の下地を敷いて仮置きする。
   ACF「フッターロゴ」に白ヌキを設定すると .footer-brand--plain になり下地が外れる。 */
.footer-brand {
  display: inline-block;
  background: #fff;
  padding: 10px 14px;
}
.footer-brand img {
  width: 220px;
  height: auto;
}
@media screen and (max-width: 420px) {
  .footer-brand img {
    width: 180px;
  }
}
.footer-brand--plain {
  background: transparent;
  padding: 0;
}

.footer-info {
  margin-top: 20px;
  font-size: 13px;
  line-height: 2;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, auto);
  align-content: start;
  justify-content: start;
  gap: 12px 26px;
  font-size: 13px;
}
.footer-nav a:hover {
  color: var(--lime);
}
@media screen and (max-width: 768px) {
  .footer-nav {
    grid-template-columns: repeat(2, auto);
  }
}

.footer-bottom {
  max-width: 960px;
  margin: 38px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.65);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
@media screen and (max-width: 768px) {
  .footer-bottom {
    align-items: flex-end;
  }
}

.to-top {
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  flex: none;
  transition: 0.25s var(--ease);
}
.to-top:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.7);
}/*# sourceMappingURL=style.css.map */