@charset "UTF-8";
/*
Theme Name: 高水工業 コーポレートテーマ
Theme URI: https://example.com/
Author: 高水工業
Author URI: https://example.com/
Description: 土木施工管理サポート「高水工業」のコーポレートサイト用オリジナルテーマ。静的サイト版（HTML/CSS/JS）をWordPressテーマ化したものです。
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: takamizu-kogyo
Tags: business, corporate, japanese, custom-menu, custom-logo, featured-images, translation-ready
*/

/* ==========================================================================
   高水工業 - 土木施工管理サポート  共通スタイル
   ※ 静的サイト版 assets/css/style.css と同一のデザインです。
   ========================================================================== */

:root {
  --navy-900: #0d2136;
  --navy-800: #12324f;
  --navy-700: #1b4a72;
  --navy-600: #25618f;
  --orange-500: #e8712a;
  --orange-600: #d25f1c;
  --orange-100: #fdf0e6;
  --gray-50: #f6f8fa;
  --gray-100: #edf1f5;
  --gray-200: #dfe6ec;
  --gray-400: #9aa8b5;
  --gray-600: #5d6d7c;
  --gray-800: #303c47;
  --white: #ffffff;
  --shadow-sm: 0 1px 3px rgba(13, 33, 54, 0.08);
  --shadow-md: 0 6px 20px rgba(13, 33, 54, 0.10);
  --shadow-lg: 0 18px 45px rgba(13, 33, 54, 0.16);
  --radius: 10px;
  --radius-lg: 18px;
  --header-h: 76px;
  --trust-blue: #1d6fb8;
  --max-w: 1160px;
  --font-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic",
    Meiryo, system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.85;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-700); text-decoration: none; }
a:hover { color: var(--orange-600); }

h1, h2, h3, h4 {
  line-height: 1.45;
  margin: 0 0 .6em;
  color: var(--navy-900);
  font-weight: 700;
  letter-spacing: .02em;
}

p { margin: 0 0 1.1em; }

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy-800);
  color: #fff;
  padding: 10px 16px;
  z-index: 999;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  text-align: center;
  font-family: inherit;
  line-height: 1.4;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--orange-500); color: #fff; box-shadow: 0 8px 20px rgba(232,113,42,.32); }
.btn--primary:hover { background: var(--orange-600); color: #fff; }
.btn--navy { background: var(--navy-800); color: #fff; box-shadow: var(--shadow-md); }
.btn--navy:hover { background: var(--navy-900); color: #fff; }
.btn--outline { border-color: #fff; color: #fff; background: rgba(255,255,255,.06); }
.btn--outline:hover { background: #fff; color: var(--navy-900); }
.btn--ghost { border-color: var(--navy-700); color: var(--navy-700); background: #fff; }
.btn--ghost:hover { background: var(--navy-700); color: #fff; }
.btn--block { width: 100%; justify-content: center; }
.btn--sm { padding: 10px 20px; font-size: .9rem; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gray-200);
  z-index: 100;
  transition: box-shadow .2s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: var(--header-h);
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark {
  width: 44px; height: 44px;
  flex: 0 0 44px;
  border-radius: 10px;
  background: linear-gradient(140deg, var(--navy-700), var(--navy-900));
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: .04em;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.25; }
.brand__name { font-size: 1.22rem; font-weight: 700; color: var(--navy-900); letter-spacing: .06em; }
.brand__tag { font-size: .7rem; color: var(--gray-600); letter-spacing: .08em; }
.brand__logo { display: block; width: auto; height: 42px; }

.global-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.global-nav a {
  display: block;
  padding: 10px 14px;
  font-size: .95rem;
  font-weight: 500;
  color: var(--navy-900);
  border-radius: 8px;
  position: relative;
}
.global-nav a:hover { background: var(--gray-100); color: var(--navy-700); }
.global-nav a[aria-current="page"] { color: var(--orange-600); }
.global-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 2px;
  background: var(--orange-500);
  border-radius: 2px;
}
.global-nav .nav-cta a {
  background: var(--orange-500);
  color: #fff;
  padding: 11px 20px;
  margin-left: 8px;
  font-weight: 700;
}
.global-nav .nav-cta a:hover { background: var(--orange-600); }
.global-nav .nav-cta a::after { display: none; }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--gray-200);
  background: #fff;
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
  place-items: center;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--navy-900);
  position: relative;
  transition: background .2s ease;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px; height: 2px;
  background: var(--navy-900);
  transition: transform .25s ease, top .25s ease;
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* ---------- ヒーロー ---------- */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  margin-top: var(--header-h);
  background: linear-gradient(120deg, rgba(13,33,54,.62) 0%, rgba(18,50,79,.46) 45%, rgba(27,74,114,.20) 100%),
              url("assets/images/site-levee.jpg") center 45% / cover no-repeat;
  color: #fff;
  overflow: hidden;
}
.hero__inner {
  position: relative;
  z-index: 2;
  padding: 80px 24px;
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 50px;
  padding: 7px 18px;
  font-size: .84rem;
  letter-spacing: .1em;
  margin-bottom: 26px;
  background: rgba(255,255,255,.08);
}
.hero__badge i { color: var(--orange-500); }
.hero h1 {
  color: #fff;
  font-size: clamp(1.85rem, 4.6vw, 3.15rem);
  margin-bottom: 22px;
  letter-spacing: .03em;
  text-shadow: 0 3px 18px rgba(0,0,0,.28);
}
.hero h1 .accent { color: #ffc08a; }
.hero__lead {
  font-size: clamp(.98rem, 1.5vw, 1.12rem);
  max-width: 640px;
  color: #e7eef5;
  margin-bottom: 34px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }
.hero__points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 820px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.hero__points li {
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius);
  padding: 16px 18px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.hero__points i { color: var(--orange-500); font-size: 1.15rem; margin-top: 5px; }
.hero__points strong { display: block; font-size: .96rem; }
.hero__points span { font-size: .82rem; color: #cbd8e4; line-height: 1.6; }

/* ---------- 情報バー ---------- */
.info-bar {
  background: var(--navy-900);
  color: #cfdce8;
  font-size: .86rem;
}
.info-bar__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  padding: 12px 24px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.info-bar i { color: var(--orange-500); margin-right: 6px; }

/* ---------- セクション ---------- */
.section { padding: 84px 0; }
.section--tint { background: var(--gray-50); }
.section--navy { background: var(--navy-900); color: #d3dfea; }
.section--navy h2, .section--navy h3 { color: #fff; }

.section-head { text-align: center; max-width: 760px; margin: 0 auto 52px; }
.section-head .eyebrow {
  display: inline-block;
  color: var(--orange-600);
  font-weight: 700;
  letter-spacing: .16em;
  font-size: .78rem;
  margin-bottom: 12px;
  text-transform: uppercase;
}
.section--navy .section-head .eyebrow { color: #ffb27a; }
.section-head h2 {
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  margin-bottom: 18px;
}
.section-head p { color: var(--gray-600); margin: 0; }
.section--navy .section-head p { color: #b9c9d8; }

.page-head {
  margin-top: var(--header-h);
  background: linear-gradient(120deg, var(--navy-900), var(--navy-700));
  color: #fff;
  padding: 62px 0 54px;
}
.page-head h1 { color: #fff; font-size: clamp(1.6rem, 3.3vw, 2.3rem); margin-bottom: 10px; }
.page-head p { color: #c6d5e3; margin: 0; }
.breadcrumb {
  font-size: .82rem;
  color: #a9bccd;
  margin-bottom: 14px;
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.breadcrumb li::after { content: "›"; margin-left: 8px; }
.breadcrumb li:last-child::after { content: ""; }
.breadcrumb a { color: #d9e5ef; }

/* ---------- グリッド / カード ---------- */
.grid { display: grid; gap: 26px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #c9dae8; }
.card__icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--orange-100);
  color: var(--orange-600);
  font-size: 1.35rem;
  margin-bottom: 18px;
}
.card h3 { font-size: 1.14rem; margin-bottom: 10px; }
.card p { font-size: .93rem; color: var(--gray-600); margin-bottom: 0; }
.card ul { margin: 14px 0 0; padding-left: 1.15em; font-size: .9rem; color: var(--gray-600); }
.card ul li { margin-bottom: 6px; }

.card--link { display: flex; flex-direction: column; }
.card--link .card__more {
  margin-top: auto;
  padding-top: 18px;
  font-weight: 700;
  font-size: .88rem;
  color: var(--navy-700);
}
.card--link:hover .card__more { color: var(--orange-600); }
.card--link .card__more i { margin-left: 6px; transition: transform .2s ease; }
.card--link:hover .card__more i { transform: translateX(4px); }

/* ---------- 番号付きステップ ---------- */
.steps { counter-reset: step; display: grid; gap: 22px; }
.step {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  padding: 28px 28px 26px 92px;
  box-shadow: var(--shadow-sm);
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  left: 26px; top: 26px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--orange-500);
  letter-spacing: .04em;
}
.step h3 { font-size: 1.08rem; margin-bottom: 8px; }
.step p { font-size: .92rem; color: var(--gray-600); margin: 0; }

/* ---------- 画像つき2カラム ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 46px;
  align-items: center;
}
.split__media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  width: 100%;
  object-fit: cover;
}
.split h2 { font-size: clamp(1.4rem, 2.7vw, 1.95rem); }
.split p { color: var(--gray-600); }

.check-list { list-style: none; padding: 0; margin: 0 0 26px; }
.check-list li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 12px;
  font-size: .95rem;
}
.check-list li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0; top: 2px;
  color: var(--orange-500);
}
.check-list li strong { color: var(--navy-900); }

/* ---------- 数値実績 ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.stat {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  text-align: center;
}
.stat__num { font-size: clamp(1.7rem, 3.2vw, 2.35rem); font-weight: 700; color: #fff; letter-spacing: .02em; }
.stat__num small { font-size: .95rem; margin-left: 4px; color: #ffb27a; }
.stat__label { font-size: .85rem; color: #b9c9d8; }

/* ---------- 対応エリア ---------- */
.area-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 34px;
  align-items: stretch;
}
.area-map {
  background: linear-gradient(160deg, #e9f1f8, #dae7f2);
  border: 1px solid #cbdbeb;
  border-radius: var(--radius-lg);
  min-height: 320px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 30px;
  color: var(--navy-800);
}
.area-map i { font-size: 2.4rem; color: var(--navy-600); display: block; margin-bottom: 12px; }
.area-list { list-style: none; padding: 0; margin: 0; }
.area-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 4px;
  border-bottom: 1px dashed var(--gray-200);
  font-size: .94rem;
}
.area-list li span:last-child { color: var(--gray-600); font-size: .86rem; }

/* ---------- 料金・プラン ---------- */
.plan {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  height: 100%;
  position: relative;
}
.plan--featured { border: 2px solid var(--orange-500); box-shadow: var(--shadow-md); }
.plan__flag {
  position: absolute;
  top: -14px; left: 28px;
  background: var(--orange-500);
  color: #fff;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .08em;
  padding: 5px 14px;
  border-radius: 50px;
}
.plan h3 { font-size: 1.12rem; margin-bottom: 6px; }
.plan__target { font-size: .84rem; color: var(--gray-600); margin-bottom: 18px; }
.plan__price { font-size: 1.5rem; font-weight: 700; color: var(--navy-900); margin-bottom: 4px; }
.plan__price small { font-size: .82rem; font-weight: 500; color: var(--gray-600); }
.plan ul { list-style: none; padding: 0; margin: 20px 0 26px; font-size: .9rem; }
.plan ul li { position: relative; padding-left: 24px; margin-bottom: 10px; color: var(--gray-600); }
.plan ul li::before {
  content: "\f058";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute; left: 0; top: 1px;
  color: var(--navy-600);
}
.plan .btn { margin-top: auto; }
.plan-note { font-size: .84rem; color: var(--gray-600); margin-top: 26px; text-align: center; }

/* ---------- フロー ---------- */
.flow { display: grid; gap: 0; }
.flow__item {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--gray-200);
}
.flow__item:first-child { border-top: 1px solid var(--gray-200); }
.flow__step {
  font-weight: 700;
  color: #fff;
  background: var(--navy-700);
  border-radius: 10px;
  height: 62px;
  display: grid;
  place-items: center;
  font-size: .84rem;
  letter-spacing: .06em;
  text-align: center;
  line-height: 1.35;
}
.flow__item h3 { font-size: 1.05rem; margin-bottom: 6px; }
.flow__item p { font-size: .92rem; color: var(--gray-600); margin: 0; }

/* ---------- 会社概要テーブル ---------- */
.info-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.info-table th, .info-table td {
  border: 1px solid var(--gray-200);
  padding: 16px 20px;
  text-align: left;
  vertical-align: top;
}
.info-table th {
  background: var(--gray-50);
  width: 220px;
  font-weight: 700;
  color: var(--navy-900);
  white-space: nowrap;
}

/* ---------- 経歴 ---------- */
.timeline { list-style: none; margin: 0; padding: 0 0 0 26px; border-left: 2px solid var(--gray-200); }
.timeline li { position: relative; padding: 0 0 26px 20px; font-size: .95rem; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -35px; top: 8px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--orange-500);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--orange-100);
}
.timeline .year { font-weight: 700; color: var(--navy-800); margin-right: 12px; }

/* ---------- 代表メッセージ ---------- */
.message {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  padding: 38px;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}
.message__avatar {
  background: linear-gradient(150deg, var(--gray-100), #dde7ef);
  border-radius: var(--radius-lg);
  padding: 16px 16px 20px;
  text-align: center;
}
.message__avatar img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  background: #fff;
}
.message__avatar p { margin: 16px 0 0; font-size: .88rem; font-weight: 700; color: var(--navy-900); }
.message__avatar span { font-size: .76rem; color: var(--gray-600); }
.message blockquote { margin: 0; font-size: .97rem; }
.message blockquote p:last-child { margin-bottom: 0; }

/* ---------- CTA ---------- */
.cta {
  background: linear-gradient(120deg, var(--navy-900) 0%, var(--navy-700) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 48px;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 34px;
  align-items: center;
}
.cta h2 { color: #fff; font-size: clamp(1.35rem, 2.6vw, 1.85rem); margin-bottom: 12px; }
.cta p { color: #c6d5e3; margin: 0; font-size: .95rem; }
.cta__actions { display: flex; flex-direction: column; gap: 12px; }

/* ---------- フォーム ---------- */
.form-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}
.form {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 34px 32px;
  box-shadow: var(--shadow-sm);
}
.form__row { margin-bottom: 22px; }
.form label.field-label {
  display: block;
  font-weight: 700;
  font-size: .92rem;
  margin-bottom: 8px;
  color: var(--navy-900);
}
.req, .opt {
  font-size: .72rem;
  font-weight: 700;
  border-radius: 4px;
  padding: 2px 7px;
  margin-left: 8px;
  vertical-align: middle;
}
.req { background: #fdeaea; color: #c0392b; }
.opt { background: var(--gray-100); color: var(--gray-600); }
.form input[type="text"],
.form input[type="email"],
.form input[type="tel"],
.form select,
.form textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  font-family: inherit;
  font-size: .95rem;
  color: var(--gray-800);
  background: #fff;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none;
  border-color: var(--navy-600);
  box-shadow: 0 0 0 3px rgba(37,97,143,.14);
}
.form textarea { min-height: 150px; resize: vertical; }
.form__help { font-size: .82rem; color: var(--gray-600); margin: 8px 0 0; }
.form__check { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; }
.form__check input { margin-top: 8px; width: 18px; height: 18px; flex: 0 0 18px; }
.form__error {
  display: none;
  background: #fdeaea;
  border: 1px solid #f5c6c6;
  color: #b03a2e;
  border-radius: 8px;
  padding: 14px 16px;
  font-size: .9rem;
  margin-bottom: 20px;
}
.form__error.is-visible { display: block; }
.field-invalid { border-color: #d9534f !important; background: #fffafa !important; }
.form-note { list-style: none; padding: 0; margin: 0; }
.form-note li {
  font-size: .86rem;
  color: var(--gray-600);
  padding-left: 24px;
  position: relative;
  margin-bottom: 12px;
}
.form-note li::before {
  content: "\f111";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: .45rem;
  color: var(--orange-500);
  position: absolute;
  left: 4px; top: 10px;
}
.side-panel {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.side-panel h3 { font-size: 1.03rem; }
.side-panel .tel {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy-900);
  letter-spacing: .02em;
}
.side-panel .tel:hover { color: var(--orange-600); }
.side-panel dl { margin: 0; font-size: .88rem; }
.side-panel dt { font-weight: 700; color: var(--navy-800); margin-top: 14px; }
.side-panel dd { margin: 2px 0 0; color: var(--gray-600); }

.success-box {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-top: 5px solid var(--orange-500);
  border-radius: var(--radius-lg);
  padding: 42px 38px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.success-box .icon {
  width: 68px; height: 68px;
  border-radius: 50%;
  background: var(--gray-100);
  color: var(--navy-700);
  display: grid;
  place-items: center;
  font-size: 1.7rem;
  margin: 0 auto 22px;
}
.success-box h1 { font-size: 1.5rem; }
.success-box p { color: var(--gray-600); font-size: .95rem; }
.receipt {
  text-align: left;
  background: var(--gray-50);
  border-radius: var(--radius);
  padding: 20px 22px;
  font-size: .9rem;
  margin: 26px 0;
}
.receipt dl { margin: 0; display: grid; grid-template-columns: 120px 1fr; gap: 8px 14px; }
.receipt dt { color: var(--gray-600); }
.receipt dd { margin: 0; font-weight: 500; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq details {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  padding: 20px 56px 20px 24px;
  font-weight: 700;
  font-size: .98rem;
  color: var(--navy-900);
  position: relative;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: "Q";
  color: var(--orange-500);
  font-weight: 700;
  margin-right: 14px;
}
.faq summary::after {
  content: "\2b";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: 22px; top: 50%;
  transform: translateY(-50%);
  color: var(--navy-600);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details[open] summary { border-bottom: 1px solid var(--gray-200); }
.faq .faq__body { padding: 18px 24px 22px; font-size: .93rem; color: var(--gray-600); }
.faq .faq__body p:last-child { margin-bottom: 0; }

/* ---------- フッター ---------- */
.site-footer { background: var(--navy-900); color: #a9bccd; padding: 62px 0 26px; font-size: .9rem; }
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-brand .brand { display: inline-flex; background: #fff; padding: 8px 14px; border-radius: 12px; }
.footer-brand .brand__logo { height: 38px; }
.footer-brand p { margin: 18px 0 0; font-size: .86rem; line-height: 1.9; }
.footer-col h4 {
  color: #fff;
  font-size: .95rem;
  margin-bottom: 16px;
  letter-spacing: .06em;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 11px; }
.footer-col a { color: #a9bccd; font-size: .88rem; }
.footer-col a:hover { color: #fff; }
/* 見出しを表示しない列（サポート）：
   横並び（デスクトップ）のときだけ、左の「メニュー」列とリンクの開始位置を揃える。
   縦積み（〜900px）では、他の列と同じ間隔になるようオフセットを解除する。 */
@media (min-width: 901px) {
  .footer-col--support > ul { margin-top: 38px; }
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 22px;
  font-size: .8rem;
  color: #8199ac;
}
.footer-bottom ul { list-style: none; display: flex; flex-wrap: wrap; gap: 18px; margin: 0; padding: 0; }
.footer-bottom a { color: #8199ac; }

/* ---------- ページトップ ---------- */
.to-top {
  position: fixed;
  right: 22px; bottom: 22px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--navy-800);
  color: #fff;
  border: none;
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease, transform .2s ease;
  z-index: 90;
  box-shadow: var(--shadow-md);
}
.to-top.is-visible { opacity: 1; visibility: visible; }
.to-top:hover { transform: translateY(-3px); background: var(--orange-500); }

/* ---------- アニメーション ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .card:hover, .to-top:hover { transform: none; }
}

/* ---------- レスポンシブ ---------- */
@media (max-width: 1024px) {
  .grid--4, .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  :root { --header-h: 66px; }
  .nav-toggle { display: grid; }
  .global-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: #fff;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-md);
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
  }
  .global-nav.is-open { max-height: 82vh; overflow-y: auto; }
  .global-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 10px 16px 22px; }
  .global-nav a { padding: 15px 8px; font-size: .98rem; border-bottom: 1px solid var(--gray-200); border-radius: 0; }
  .global-nav a[aria-current="page"]::after { display: none; }
  .global-nav .nav-cta a {
    margin: 16px 0 0;
    text-align: center;
    border-radius: 50px;
    border-bottom: none;
    justify-content: center;
  }

  .grid--2, .grid--3, .split, .area-panel, .cta, .form-wrap, .message,
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .split { gap: 28px; }
  .split--reverse .split__media { order: -1; }
  .section { padding: 60px 0; }
  .hero { min-height: auto; }
  .hero__inner { padding: 56px 24px 62px; }
  .message { padding: 28px; }
  .message__avatar { max-width: 280px; margin: 0 auto; }
  .cta { padding: 32px 26px; }
  .form { padding: 26px 22px; }
  .flow__item { grid-template-columns: 74px minmax(0, 1fr); gap: 18px; }
  .flow__step { height: 54px; font-size: .78rem; }
  .info-table th { display: block; width: 100%; border-bottom: none; }
  .info-table td { display: block; border-top: none; }
  .info-table th, .info-table td { padding: 12px 16px; }
  .success-box { padding: 30px 22px; }
  .receipt dl { grid-template-columns: 1fr; gap: 2px 0; }
  .receipt dt { margin-top: 10px; }
}

@media (max-width: 560px) {
  .hero__points, .grid--4, .stats { grid-template-columns: minmax(0, 1fr); }
  .brand__logo { height: 34px; }
  .brand__name { font-size: 1.05rem; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .step { padding: 24px 22px 22px 22px; }
  .step::before { position: static; display: block; margin-bottom: 6px; }
  .to-top { right: 14px; bottom: 14px; }
}

/* ==========================================================================
   WordPress 用の追加調整
   （静的サイト版にはなかった、管理バー・投稿本文・WP標準クラスへの対応）
   ========================================================================== */

/* ---------- 固定ヘッダーと管理バーの重なり回避 ---------- */
body.admin-bar .site-header { top: 32px; }
body.admin-bar .global-nav { top: calc(var(--header-h) + 32px); }
@media screen and (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
  body.admin-bar .global-nav { top: calc(var(--header-h) + 46px); }
}

/* ---------- ナビゲーション（wp_nav_menu の出力） ---------- */
.brand .custom-logo-link { display: flex; align-items: center; }
.brand .custom-logo { display: block; width: auto; max-height: 42px; }
@media (max-width: 560px) {
  .brand .custom-logo { max-height: 34px; }
}

.global-nav ul.menu,
.footer-col ul.menu { list-style: none; margin: 0; padding: 0; }
.global-nav ul.menu { display: flex; align-items: center; gap: 4px; }
.footer-col ul.menu { display: block; }
.global-nav ul.menu > li { position: relative; }
.global-nav ul.menu > li.menu-item-has-children > a::before { content: none; }

/* 子メニュー（ドロップダウン） */
.global-nav ul.sub-menu {
  list-style: none;
  margin: 0;
  padding: 8px 0;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 210px;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  display: none;
  z-index: 120;
}
.global-nav ul.sub-menu li { display: block; }
.global-nav ul.sub-menu a { padding: 10px 18px; font-size: .9rem; border-radius: 0; }
.global-nav li:hover > ul.sub-menu { display: block; }
.global-nav ul.sub-menu a::after { display: none; }

/* ---------- 投稿・固定ページ本文（entry-content） ---------- */
.entry-content { max-width: 900px; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content h2 { font-size: clamp(1.25rem, 2.3vw, 1.6rem); margin-top: 2.2em; }
.entry-content h3 { font-size: 1.12rem; margin-top: 1.8em; }
.entry-content ul,
.entry-content ol { padding-left: 1.4em; }
.entry-content li { margin-bottom: .45em; }
.entry-content img,
.entry-content iframe { max-width: 100%; height: auto; }
.entry-content blockquote {
  margin: 1.6em 0;
  padding: 18px 24px;
  background: var(--gray-50);
  border-left: 4px solid var(--orange-500);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.entry-content blockquote p:last-child { margin-bottom: 0; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 1.4em 0; }
.entry-content th,
.entry-content td { border: 1px solid var(--gray-200); padding: 12px 16px; text-align: left; }
.entry-content th { background: var(--gray-50); }
.entry-content code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  background: var(--gray-100);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: .88em;
}

/* ---------- WordPress 標準クラス ---------- */
.alignleft { float: left; margin: 0 1.6em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.6em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignwide { max-width: 1160px; margin-left: auto; margin-right: auto; }
.alignfull { max-width: 100%; }
.wp-caption { max-width: 100%; }
.wp-caption-text,
.wp-element-caption { font-size: .84rem; color: var(--gray-600); text-align: center; }
.sticky .card__icon { background: var(--orange-100); }
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}
.screen-reader-text:focus {
  clip: auto !important;
  clip-path: none;
  display: block;
  height: auto;
  left: 6px;
  top: 6px;
  padding: 12px 18px;
  width: auto;
  z-index: 100000;
  background: var(--navy-800);
  color: #fff;
  border-radius: 6px;
}
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.gallery-item img { border-radius: var(--radius); }
.gallery-caption { font-size: .82rem; color: var(--gray-600); }

/* ページネーション */
.pagination,
.navigation.pagination { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.pagination .page-numbers,
.navigation.pagination .page-numbers {
  display: inline-block;
  padding: 8px 15px;
  border: 1px solid var(--gray-200);
  border-radius: 50px;
  background: #fff;
  color: var(--navy-800);
  font-size: .9rem;
}
.pagination .page-numbers.current,
.navigation.pagination .page-numbers.current {
  background: var(--navy-800);
  border-color: var(--navy-800);
  color: #fff;
}
.pagination .page-numbers:hover,
.navigation.pagination .page-numbers:hover { border-color: var(--navy-600); }

/* 検索フォーム */
.search-form { display: flex; gap: 10px; flex-wrap: wrap; }
.search-form input[type="search"] {
  flex: 1 1 240px;
  padding: 12px 14px;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  font-family: inherit;
  font-size: .95rem;
}
.search-form input[type="submit"],
.search-form button[type="submit"] {
  padding: 12px 22px;
  border: none;
  border-radius: 50px;
  background: var(--orange-500);
  color: #fff;
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
}
.search-form input[type="submit"]:hover,
.search-form button[type="submit"]:hover { background: var(--orange-600); }

/* コメント */
.comment-list { list-style: none; padding: 0; }
.comment-list .comment { padding: 20px 0; border-bottom: 1px solid var(--gray-200); }
.comment-form input,
.comment-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  font-family: inherit;
  font-size: .95rem;
}

/* フォームプラグイン（Contact Form 7 など）を .form 内に置いた場合の調整 */
.form .wpcf7-form p,
.form p:not([class]) { margin: 0 0 1.1em; }
.form .wpcf7-form .wpcf7-submit,
.form input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  width: 100%;
  padding: 14px 30px;
  border: 2px solid transparent;
  border-radius: 50px;
  background: var(--orange-500);
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .18s ease, transform .18s ease;
}
.form .wpcf7-form .wpcf7-submit:hover,
.form input[type="submit"]:hover { background: var(--orange-600); transform: translateY(-2px); }

/* カード内のリンク箇条書き（サポートメニュー等） */
.card ul { padding-left: 1.2em; margin: 10px 0 0; }
.card ul li { font-size: .9rem; color: var(--gray-600); margin-bottom: 5px; }

/* 固定ページ・投稿のカード見出しリンク */
.card h3 a { color: var(--navy-900); }
.card h3 a:hover { color: var(--orange-600); }

