/*
Theme Name: ENETECST
Theme URI: https://enetecst.jp/
Author: 有限会社アライブ
Description: エネテクスト株式会社 コーポレートサイト専用テーマ。デザインカンプに基づくオリジナル実装。
Version: 0.1.0
Requires at least: 6.0
Requires PHP: 8.0
Text Domain: enetecst
*/

/* ============================================================
   1. トークン（ブランドガイド／デザインカンプの実値）
   ============================================================ */
:root {
  --ink:        #232323;
  --sub:        #6b7684;
  --line:       #d7dde3;
  --line-soft:  #f0f2f4;
  --bg:         #ffffff;
  --bg-alt:     #f3f5f7;

  --blue:       #269acd; /* ロゴ原色・グラフィック用 */
  --blue-deep:  #146e99; /* 文字と組む要素 */
  --blue-dark:  #0d5474;
  --blue-pale:  #eaf3fa;
  --navy:       #122733;
  --gold:       #d87818;
  --gold-deep:  #a8540c;
  --gold-btn:   #d59e2e;
  --red:        #ca1a37;
  --site-blue:  #cfe9f6; /* ヒーロー・CTA帯・フッターの背景 */
  --site-blue-line: #b9d4e0;

  --font-en: "Barlow Semi Condensed", "Noto Sans JP", sans-serif;
  --font-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;

  --container: 1200px;
  --gutter: 120px;
  --radius: 6px;
  --radius-lg: 12px;
}

/* ============================================================
   2. ベース
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-jp);
  font-size: 16px;
  line-height: 1.9;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--blue-deep); text-decoration: none; }
a:hover { color: var(--blue-dark); }

h1, h2, h3, h4 { margin: 0; line-height: 1.5; }

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

.screen-reader-text {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* 未確定のプレースホルダー（原稿到着後に消える） */
.placeholder {
  border-bottom: 1px dashed #9aa7b1;
  color: var(--sub);
}

/* ============================================================
   3. ボタン
   ============================================================ */
.btn {
  display: inline-block;
  font-weight: 700;
  font-size: 16px;
  padding: 17px 38px;
  border-radius: var(--radius);
  text-align: center;
  transition: opacity .15s ease;
}
.btn:hover { opacity: .86; }
.btn--gold { background: var(--gold-btn); color: var(--navy); }
.btn--gold:hover { color: var(--navy); }
.btn--blue { background: var(--blue-deep); color: #fff; font-size: 15px; padding: 13px 26px; border-radius: 5px; }
.btn--blue:hover { color: #fff; }

.link-more { font-size: 14px; font-weight: 700; color: var(--blue-deep); }

/* ============================================================
   4. ヘッダー
   ============================================================ */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line-soft);
  /* スクロールしても上部に残す（メニューとお問い合わせボタンを常に触れる状態に） */
  position: sticky;
  top: 0;
  z-index: 40;
}
/* 管理バーが出ているときは、その下に付ける */
.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}
/* 少しだけ影をつけて、下を通る本文と混ざらないようにする */
.site-header::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 100%;
  height: 8px;
  background: linear-gradient(to bottom, rgba(0,0,0,.05), rgba(0,0,0,0));
  pointer-events: none;
}
.site-header__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-brand { display: flex; align-items: center; gap: 12px; }
.site-brand__mark { width: 46px; height: 34px; object-fit: contain; display: block; }
.site-brand__name {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: .03em;
  color: var(--navy);
  line-height: 1;
}

.site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav__menu { display: flex; align-items: center; gap: 32px; margin: 0; padding: 0; list-style: none; }
.site-nav__menu a { font-size: 15px; color: var(--ink); font-weight: 500; }
.site-nav__menu a:hover { color: var(--blue-deep); }

.lang-switch { display: flex; gap: 8px; font-size: 12px; color: var(--sub); margin: 0; padding: 0; list-style: none; }
.lang-switch a, .lang-switch span {
  display: block;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 3px 8px;
  color: var(--sub);
}
/* 現在の言語。多言語を入れるまでは日本語で固定 */
.lang-switch .lang-btn.is-active {
  background: var(--blue-deep);
  border-color: var(--blue-deep);
  color: #fff;
  font-weight: 700;
}

.nav-toggle { display: none; }

/* ============================================================
   5. ヒーロー
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--site-blue);
  padding: 92px 0 84px;
}
.hero__motif {
  position: absolute;
  right: 96px; top: 50%;
  transform: translateY(-50%);
  width: 300px; height: 224px;
  object-fit: contain;
  opacity: .17;
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 2; max-width: 760px; }
.hero__kicker {
  font-family: var(--font-en);
  font-size: 15px;
  letter-spacing: .18em;
  color: var(--blue-dark);
  font-weight: 700;
  margin-bottom: 18px;
}
.hero__title {
  font-weight: 900;
  font-size: 46px;
  line-height: 1.5;
  color: var(--navy);
  margin-bottom: 22px;
  text-wrap: pretty;
}
.hero__lead {
  font-size: 16px;
  color: #3f5a6b;
  line-height: 2.1;
  max-width: 620px;
  margin: 0 0 34px;
}

/* ============================================================
   6. セクション共通
   ============================================================ */
.section { padding: 84px 0; }
.section + .section { border-top: 1px solid var(--line-soft); }
.section--alt { background: var(--bg-alt); }

.section__head { margin-bottom: 48px; }
.section__head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.section__kicker {
  font-family: var(--font-en);
  font-size: 14px;
  color: var(--blue-deep);
  font-weight: 700;
  letter-spacing: .12em;
  margin-bottom: 8px;
}
.section__title { font-weight: 900; font-size: 30px; color: var(--navy); }

/* ============================================================
   7. 選ばれる3つの理由
   ============================================================ */
.strengths {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
}
.strength { text-align: center; }
.strength__icon {
  width: 76px; height: 76px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: #fff;
}
.strength__icon svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.strength__icon--1 { background: var(--blue-deep); }
.strength__icon--2 { background: var(--gold-deep); }
.strength__icon--3 { background: var(--red); }
.strength__title { font-weight: 700; font-size: 19px; margin-bottom: 10px; color: var(--navy); }
.strength__text { font-size: 15px; color: var(--sub); line-height: 1.9; }

/* ============================================================
   8. 事業内容（1行1事業の横長カード）
   ============================================================ */
.service-list { display: flex; flex-direction: column; gap: 20px; }

.service-row {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  color: inherit;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.service-row:hover {
  border-color: var(--blue-deep);
  box-shadow: 0 2px 14px rgba(20, 40, 60, .07);
  color: inherit;
}
.service-row__thumb {
  min-height: 200px;
  background-color: #dce8f3;
  background-size: cover;
  background-position: center;
}
.service-row__body {
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.service-row__title { font-weight: 700; font-size: 21px; color: var(--navy); line-height: 1.5; }
.service-row__text { font-size: 15px; color: var(--sub); line-height: 1.9; margin: 0; }
.service-row .link-more { margin-top: 4px; }
.service-row:hover .link-more { color: var(--blue-dark); }

/* ============================================================
   9. お知らせ
   ============================================================ */
.news-list { border-top: 1px solid var(--line); }
.news-item {
  display: flex;
  gap: 28px;
  align-items: center;
  padding: 22px 4px;
  border-bottom: 1px solid var(--line);
}
.news-item__date {
  font-size: 14px;
  color: var(--sub);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  flex-shrink: 0;
}
.news-item__cat {
  font-size: 12px;
  font-weight: 700;
  color: var(--blue-deep);
  background: var(--blue-pale);
  border-radius: 3px;
  padding: 4px 12px;
  flex-shrink: 0;
}
.news-item__title { font-size: 16px; color: var(--ink); }
a.news-item:hover .news-item__title { color: var(--blue-deep); }

/* ============================================================
   9-2. 下層ページ（パンくず・ページ見出し・本文）
   ============================================================ */
.breadcrumb {
  font-size: 13px;
  color: var(--sub);
  padding: 18px 0 0;
}
.breadcrumb a { color: var(--sub); }
.breadcrumb a:hover { color: var(--blue-deep); }
.breadcrumb__sep { margin: 0 8px; color: #a9b4bd; }

.page-title { padding: 26px 0 6px; }
.page-title__kicker {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 14px;
  color: var(--blue-deep);
  letter-spacing: .12em;
  margin: 0 0 6px;
}
.page-title__text {
  font-weight: 900;
  font-size: 36px;
  color: var(--navy);
  margin: 0;
}

.section--page { padding-top: 44px; }

/* 本文（法務ページ・固定ページ共通） */
.entry-content { max-width: 900px; }
.entry-content > * + * { margin-top: 1.4em; }
.entry-content p { margin: 0; line-height: 2.05; }
.entry-content h2 {
  font-weight: 900;
  font-size: 24px;
  color: var(--navy);
  margin-top: 2.4em;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--site-blue);
}
.entry-content h2:first-child { margin-top: 0; }
.entry-content h3 {
  font-weight: 700;
  font-size: 18px;
  color: var(--navy);
  margin-top: 2em;
}
.entry-content ul,
.entry-content ol { margin: 0; padding-left: 1.6em; }
.entry-content li { line-height: 2.05; }
.entry-content li + li { margin-top: .3em; }
.entry-content a { text-decoration: underline; }
.entry-content strong { font-weight: 700; color: var(--navy); }

.entry-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.entry-content table th,
.entry-content table td {
  border: 1px solid var(--line);
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  line-height: 1.9;
}
.entry-content table th {
  width: 30%;
  background: #f7f9fa;
  font-weight: 700;
  color: var(--navy);
}

/* 注記（薄い枠のボックス） */
.entry-content .note {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 22px;
  font-size: 14px;
  color: var(--sub);
}

/* ============================================================
   9-3. 会社概要ページ
   ============================================================ */
.page-title__lead {
  font-size: 16px;
  color: #4a5a63;
  line-height: 2.1;
  max-width: 860px;
  margin: 24px 0 0;
}
.section__note { font-size: 14px; color: var(--sub); margin: 22px 0 0; }

/* 代表挨拶 */
.greeting { display: flex; gap: 56px; align-items: flex-start; }
.greeting__photo {
  width: 420px;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
}
.greeting__photo img { display: block; width: 100%; height: auto; border-radius: 10px; }
.greeting__photo--empty {
  height: 300px;
  background: linear-gradient(135deg, #dfe6ea, #c9d3dc);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8b98a3;
  font-size: 13px;
  letter-spacing: .08em;
}
.greeting__body { flex-grow: 1; }
.greeting__body p { margin: 0 0 20px; color: #4a5a63; line-height: 2.1; }
.greeting__lead { font-size: 20px; font-weight: 700; color: var(--navy) !important; line-height: 1.8; margin-bottom: 24px !important; }
.greeting__note { font-size: 15px; }
.greeting__name { font-size: 16px; font-weight: 700; color: var(--navy) !important; margin-bottom: 0 !important; }

/* 会社概要表 */
.company-table {
  width: 100%;
  max-width: 900px;
  border-collapse: collapse;
  font-size: 16px;
  background: #fff;
}
.company-table th,
.company-table td {
  border: 1px solid var(--line);
  padding: 18px 24px;
  text-align: left;
  vertical-align: top;
  line-height: 1.9;
}
.company-table th {
  width: 220px;
  background: #eef2f5;
  color: var(--navy);
  font-weight: 700;
}

/* 沿革 */
.history { max-width: 900px; border-top: 1px solid var(--line); }
.history__row {
  display: flex;
  gap: 40px;
  padding: 22px 4px;
  border-bottom: 1px solid var(--line);
}
.history__date { width: 180px; flex-shrink: 0; font-weight: 700; color: var(--navy); }
.history__text { color: #4a5a63; }

/* 会社概要表：事業内容の詳細 */
.biz-detail { margin: 0; }
.biz-detail dt {
  font-weight: 700;
  color: var(--navy);
  font-size: 15px;
  margin-top: 14px;
}
.biz-detail dt:first-child { margin-top: 0; }
.biz-detail dd {
  margin: 4px 0 0;
  font-size: 14.5px;
  color: var(--sub);
  line-height: 1.9;
}
.biz-detail__note { font-size: 13.5px; color: var(--sub); margin: 0 0 12px; line-height: 1.8; }
.biz-detail__note:last-child { margin: 14px 0 0; }
.biz-detail__note a { text-decoration: underline; }

/* ============================================================
   9-4. 事業内容・サービス詳細ページ
   ============================================================ */
.product__num {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 15px;
  color: var(--blue-deep);
  letter-spacing: .08em;
  opacity: .75;
  margin: 0 0 10px;
}
.product__name {
  font-weight: 900;
  font-size: 28px;
  color: var(--navy);
  margin: 0 0 28px;
  line-height: 1.6;
}
.product__badge {
  font-size: 16px;
  font-weight: 700;
  color: var(--gold-deep);
  margin-left: 14px;
}
.product__body { display: flex; gap: 56px; align-items: flex-start; }
.product__body--reverse { flex-direction: row-reverse; }
.product__photo {
  width: 620px;
  height: 400px;
  flex-shrink: 0;
  border-radius: 10px;
  background-color: #dce8f3;
  background-size: cover;
  background-position: center;
}
.product__body--reverse .product__photo { height: 360px; }
.product__text { flex-grow: 1; }
.product__text p { margin: 0 0 28px; color: #4a5a63; line-height: 2.1; }
.product__catch {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy) !important;
  line-height: 1.7;
  margin-bottom: 22px !important;
}
.product__subsection { margin-bottom: 22px; }
.product__subsection:last-child { margin-bottom: 0; }
.product__subtitle { font-size: 15px; font-weight: 700; color: var(--navy) !important; margin-bottom: 10px !important; }
.product__subsection p:last-child { font-size: 15px; margin-bottom: 0; }
.product__note {
  margin: 34px 0 0;
  background: var(--blue-pale);
  border-radius: 8px;
  padding: 20px 26px;
  font-size: 15px;
  color: var(--blue-deep);
  font-weight: 700;
  line-height: 1.9;
}

.chips { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; padding: 0; list-style: none; }
.chips li {
  background: #f7f9fa;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 10px 20px;
  font-size: 14px;
  color: var(--navy);
  font-weight: 700;
}

.lineup { border: 1px dashed #9aa7b1; border-radius: 8px; padding: 20px 24px; }
.lineup__label { font-size: 14px; font-weight: 700; color: var(--navy) !important; margin: 0 0 8px !important; }
.lineup__value { font-size: 15px; margin: 0 !important; }

/* ============================================================
   9-5. お知らせ一覧・詳細
   ============================================================ */

/* 一覧ページでは行間を広めに */
.section--page .news-list .news-item { padding: 26px 4px; }
.section--page .news-item__title { font-size: 17px; }

/* ページ送り */
.pagination { margin-top: 44px; }
.pagination .nav-links {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.pagination .page-numbers {
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  color: var(--sub);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}
.pagination .page-numbers:hover { border-color: var(--blue-deep); color: var(--blue-deep); }
.pagination .page-numbers.current {
  background: var(--blue-deep);
  border-color: var(--blue-deep);
  color: #fff;
  font-weight: 700;
}
.pagination .page-numbers.dots { border: 0; }

/* 記事 */
.section--article { padding-top: 40px; }
.article { max-width: 900px; }
.article__meta { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.article__title {
  font-weight: 900;
  font-size: 32px;
  color: var(--navy);
  line-height: 1.6;
  margin: 0 0 32px;
}
.article__eyecatch { border-radius: 10px; overflow: hidden; margin-bottom: 40px; }
.article__eyecatch img { display: block; width: 100%; height: auto; }
.article__body { max-width: none; }

.article__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  font-weight: 700;
}
.article__back { margin-top: 40px; text-align: center; }
.btn-outline {
  display: inline-block;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 15px 40px;
  font-size: 15px;
  font-weight: 700;
  color: var(--blue-deep);
}
.btn-outline:hover { border-color: var(--blue-deep); background: var(--blue-pale); }

/* ============================================================
   9-6. お問い合わせフォーム（Snow Monkey Forms の見た目をデザインに合わせる）
   ============================================================ */
.contact-form { max-width: 900px; }

/* 入力 → 確認 → 完了 のステップ表示 */
.smf-progress-tracker {
  display: flex;
  gap: 18px;
  margin: 0 0 44px;
  padding: 0;
  list-style: none;
  flex-wrap: wrap;
}
.smf-progress-tracker__item {
  flex: 0 0 auto;      /* プラグイン既定の伸縮を打ち消し、内容幅に収める */
  width: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 30px;
  border: 1px solid var(--line);
  background: transparent;
  color: #a2adb6;
  font-size: 14px;
  font-weight: 700;
}
.smf-progress-tracker__item::before,
.smf-progress-tracker__item::after { content: none; }
.smf-progress-tracker__item[aria-current="true"] {
  background: var(--blue-deep);
  border-color: var(--blue-deep);
  color: #fff;
}
.smf-progress-tracker__item__number,
.smf-progress-tracker__item__text { line-height: 1; }

/* 各項目：デザインどおりラベルを入力欄の上に置く（左右2カラムにしない） */
.smf-form { max-width: 720px; }
.smf-item,
.smf-form--simple-table .smf-item {
  display: block;
  margin-bottom: 28px;
  border: 0;
  padding: 0;
}
.smf-item__col,
.smf-form--simple-table .smf-item__col,
.smf-form--simple-table .smf-item__col--label,
.smf-form--simple-table .smf-item__col--controls {
  display: block;
  width: 100%;
  max-width: 100%;   /* 既定の calc(100% - 224px) を打ち消す */
  padding: 0;
  border: 0;
  background: transparent;
}
.smf-item--divider { margin-top: 34px; }
.smf-item__label { margin-bottom: 10px; }
.smf-item__label__text { font-size: 15px; font-weight: 700; color: var(--navy); }
.smf-item__description { font-size: 13px; color: var(--sub); margin-top: 8px; }

/* 必須マーク */
.smf-item__label__text .smf-item__label__require,
.smf-label-require {
  color: var(--red);
  font-size: 12px;
  margin-left: 8px;
}

/* 入力欄 */
.smf-text-control,
.smf-textarea-control,
.smf-select-control,
.smf-item__controls {
  display: block;
  width: 100%;
  max-width: 100%;
}
.smf-text-control__control,
.smf-textarea-control__control,
.smf-select-control__control {
  width: 100%;
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 15px 16px;
  font-size: 15px;
  font-family: inherit;
  color: var(--ink);
  background: #fff;
}
.smf-textarea-control__control { resize: vertical; min-height: 160px; }
.smf-text-control__control:focus,
.smf-textarea-control__control:focus,
.smf-select-control__control:focus {
  outline: 2px solid var(--blue-deep);
  outline-offset: 1px;
  border-color: var(--blue-deep);
}
.smf-placeholder { display: block; }

/* チェックボックス */
.smf-checkboxes-control__control { display: flex; flex-direction: column; gap: 10px; }
.smf-label { display: inline-flex; align-items: center; gap: 12px; font-size: 15px; color: #4a5a63; }

/* エラー表示 */
.smf-item__controls .smf-error-messages,
.smf-error-messages {
  color: var(--red);
  font-size: 13px;
  margin-top: 8px;
  font-weight: 700;
}

/* ボタン */
.smf-action {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 34px;
  flex-wrap: wrap;
}
.smf-action .smf-button-control__control {
  display: inline-block;
  background: var(--gold-btn);
  color: var(--navy);
  font-weight: 700;
  font-size: 16px;
  padding: 18px 56px;
  border: 0;
  border-radius: var(--radius);
  font-family: inherit;
  cursor: pointer;
  transition: opacity .15s ease;
}
.smf-action .smf-button-control__control:hover { opacity: .86; }
/* 「修正する」など戻る系は控えめに */
.smf-action .smf-button-control--back .smf-button-control__control,
.smf-action [name="back"] {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--blue-deep);
  padding: 18px 44px;
}

/* ---- 確認画面：入力内容を表形式で見せる ---- */
.snow-monkey-form[data-screen="confirm"] .smf-form {
  max-width: 900px;
  border: 1px solid var(--line);
  border-bottom: 0;
  background: #fff;
}
.snow-monkey-form[data-screen="confirm"] .smf-item {
  display: flex;
  margin-bottom: 0;
  border-bottom: 1px solid var(--line);
}
.snow-monkey-form[data-screen="confirm"] .smf-item--divider { margin-top: 0; }
.snow-monkey-form[data-screen="confirm"] .smf-item__col--label {
  width: 240px;
  max-width: 240px;
  flex-shrink: 0;
  background: #eef2f5;
  padding: 18px 24px;
  border-right: 1px solid var(--line);
}
.snow-monkey-form[data-screen="confirm"] .smf-item__label { margin-bottom: 0; }
.snow-monkey-form[data-screen="confirm"] .smf-item__col--controls {
  padding: 18px 24px;
  font-size: 16px;
  line-height: 2;
}
.snow-monkey-form[data-screen="confirm"] .smf-action { margin-top: 44px; }

/* 「修正する」は控えめに（確認画面の1つめのボタン） */
.snow-monkey-form[data-screen="confirm"] .smf-action button:first-child {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--blue-deep);
  padding: 18px 44px;
}
.snow-monkey-form[data-screen="confirm"] .smf-action button:first-child:hover {
  border-color: var(--blue-deep);
  background: var(--blue-pale);
}

/* ハニーポット：人間には見えないが、display:none ではないので自動投稿には見える */
.enetecst-hp {
  position: absolute !important;
  left: -9999px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* 完了画面 */
.smf-complete-content {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  padding: 56px 40px;
}
.smf-complete-content p { line-height: 2.1; color: #4a5a63; margin: 0 0 12px; }
.smf-complete-content p:last-child { margin-bottom: 0; }

/* ============================================================
   10. CTA帯
   ============================================================ */
.cta-band {
  background: var(--site-blue);
  padding: 62px 0;
  text-align: center;
}
.cta-band__title {
  font-weight: 900;
  font-size: 28px;
  color: var(--navy);
  margin-bottom: 26px;
}

/* ============================================================
   11. フッター
   ============================================================ */
.site-footer {
  background: var(--site-blue);
  border-top: 1px solid var(--site-blue-line);
  padding: 54px 0 30px;
  color: #3f4d55;
}
.site-footer__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.site-footer__mark { width: 34px; height: 25px; object-fit: contain; display: block; }
.site-footer__name { font-family: var(--font-en); font-weight: 700; font-size: 21px; color: var(--navy); }
.site-footer__address { font-size: 14px; line-height: 1.9; margin-bottom: 34px; }
.site-footer__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  max-width: 820px;
}
.site-footer__heading {
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 14px;
  font-size: 13px;
  letter-spacing: .06em;
}
.site-footer__links { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.site-footer__links a,
.site-footer__links span { color: #3f4d55; font-size: 14px; }
.site-footer__links a:hover { color: var(--navy); }
.site-footer__links .lang-btn.is-active { color: var(--blue-deep); font-weight: 700; }
.site-footer__bottom {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid var(--site-blue-line);
  font-size: 12px;
  color: #4a5a63;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============================================================
   12. レスポンシブ（スマホ 375px 相当を基準）
   ============================================================ */
/* ページ内リンク（#security 等）の飛び先が、固定ヘッダーの下に隠れないように */
:target,
.product,
.section[id] {
  scroll-margin-top: 90px;
}

@media (max-width: 900px) {
  :root { --gutter: 20px; }

  :target,
  .product,
  .section[id] { scroll-margin-top: 72px; }

  .site-header__inner { padding: 12px 16px; }
  .site-brand__mark { width: 34px; height: 25px; }
  .site-brand__name { font-size: 19px; }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 26px; height: 18px;
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
  }
  .nav-toggle span { display: block; height: 2px; background: var(--navy); border-radius: 2px; }

  .site-nav {
    display: none;
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    z-index: 30;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 16px 20px;
    max-height: calc(100dvh - 100%);
    overflow-y: auto;
  }
  .site-header.is-open .site-nav { display: flex; }
  .site-nav__menu { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav__menu a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--line-soft); }
  .lang-switch { padding: 14px 0; }
  .site-nav .btn--blue { text-align: center; }

  .hero { padding: 46px 0 44px; }
  .hero__motif { right: -40px; width: 190px; height: 142px; opacity: .14; }
  .hero__title { font-size: 23px; }
  .hero__title br { display: none; } /* 狭い画面では自然に折り返させる */
  .hero__lead { font-size: 15px; line-height: 2; }
  .btn { width: 100%; padding: 15px 20px; }

  .section { padding: 46px 0; }
  .section--page { padding-top: 30px; }
  .section__head { margin-bottom: 28px; }
  .section__title { font-size: 22px; }

  .breadcrumb { font-size: 12px; padding: 14px 0 0; }
  .page-title { padding: 18px 0 4px; }
  .page-title__text { font-size: 24px; }

  .entry-content h2 { font-size: 20px; margin-top: 2em; }
  .entry-content h3 { font-size: 16px; }
  .entry-content table { font-size: 14px; }
  .entry-content table th,
  .entry-content table td { display: block; width: 100%; border-bottom: 0; padding: 12px 14px; }
  .entry-content table tr { display: block; border-bottom: 1px solid var(--line); }
  .entry-content table th { border-bottom: 0; }

  .page-title__lead { font-size: 15px; margin-top: 16px; }

  .greeting { flex-direction: column; gap: 24px; }
  .greeting__photo { width: 100%; }
  .greeting__photo--empty { height: 200px; }
  .greeting__lead { font-size: 17px; }

  .company-table { font-size: 15px; }
  .company-table th,
  .company-table td { display: block; width: 100%; border-bottom: 0; padding: 12px 16px; }
  .company-table tr { display: block; border-bottom: 1px solid var(--line); }
  .company-table th { border-bottom: 0; }

  .history__row { flex-direction: column; gap: 4px; padding: 16px 2px; }
  .history__date { width: auto; }

  .biz-detail dd { font-size: 14px; }

  .product__name { font-size: 21px; }
  .product__badge { display: block; margin-left: 0; margin-top: 6px; font-size: 14px; }
  .product__body,
  .product__body--reverse { flex-direction: column; gap: 24px; }
  .product__photo,
  .product__body--reverse .product__photo { width: 100%; height: 220px; }
  .product__catch { font-size: 18px; }
  .product__note { padding: 16px 18px; font-size: 14px; }
  .chips li { padding: 8px 16px; font-size: 13px; }

  .section--page .news-list .news-item { padding: 16px 2px; }
  .section--page .news-item__title { font-size: 15px; }
  .pagination { margin-top: 28px; }
  .pagination .page-numbers { width: 38px; height: 38px; font-size: 14px; }

  .section--article { padding-top: 24px; }
  .article__title { font-size: 22px; margin-bottom: 24px; }
  .article__eyecatch { margin-bottom: 28px; }
  .article__nav { margin-top: 36px; font-size: 14px; }
  .btn-outline { width: 100%; padding: 14px 20px; }

  .smf-progress-tracker { gap: 8px; margin-bottom: 28px; }
  .smf-progress-tracker__item { padding: 9px 14px; font-size: 12px; gap: 6px; }
  .smf-item { margin-bottom: 22px; }
  .smf-action { flex-direction: column-reverse; gap: 12px; }
  .smf-action .smf-button-control__control,
  .smf-action [name="back"] { width: 100%; padding: 15px 20px; }
  .smf-complete-content { padding: 36px 20px; }

  .strengths { grid-template-columns: 1fr; gap: 22px; }
  /* アイコンを左、見出しと本文を右に積む（見出しが縦に潰れないよう2行のグリッドで組む） */
  .strength {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 4px 16px;
    text-align: left;
    align-items: start;
  }
  .strength__icon { margin: 0; width: 56px; height: 56px; grid-row: span 2; align-self: start; }
  .strength__icon svg { width: 26px; height: 26px; }
  .strength__title { font-size: 17px; margin-bottom: 0; align-self: center; }

  .service-list { gap: 14px; }
  .service-row { grid-template-columns: 116px minmax(0, 1fr); }
  .service-row__thumb { min-height: 0; }
  .service-row__body { padding: 16px 16px 18px; gap: 6px; }
  .service-row__title { font-size: 16px; }
  .service-row__text { font-size: 13.5px; }

  .news-item { flex-wrap: wrap; gap: 8px 14px; padding: 16px 2px; }
  .news-item__title { width: 100%; font-size: 15px; }

  .cta-band { padding: 40px 0; }
  .cta-band__title { font-size: 20px; }

  .site-footer { padding: 36px 0 24px; }
  .site-footer__cols { grid-template-columns: 1fr; gap: 22px; }
  .site-footer__bottom { flex-direction: column; gap: 6px; }
}
