/*
Theme Name: Akiyama Sogyo
Theme URI: https://b2xs701508.xsrv.jp/
Author: 秋山総業サイト制作（.company / site-services）
Description: 秋山総業株式会社コーポレートサイト専用テーマ。デザイン画像からの忠実再現用に独立したクラシックテーマとして構築。
Version: 0.1.0
Requires at least: 6.0
Tested up to: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: akiyama
*/

/* ==========================================================================
   デザイントークン（design/tokens.md の実測値）
   ========================================================================== */
:root {
  --ak-green:        #0B651F;
  --ak-green-dark:   #093F15;
  --ak-navy:         #003C8F;
  --ak-navy-deep:    #082348;
  --ak-red:          #ED3B05;
  --ak-yellow:       #FDC601;
  --ak-yellow-bright:#F8C607;
  --ak-pink:         #E24273;
  --ak-cream:        #FEF8EB;
  --ak-cream-deep:   #F8F0DE;
  --ak-ink:          #000000;

  --ak-card-border:  #EDE0C2;
  --ak-card-shadow:  0 1px 3px rgba(90, 70, 20, .06);

  --ak-radius-card:  16px;
  --ak-radius-pill:  999px;

  --ak-container:    1200px;
  --ak-gutter:       24px;

  --ak-font: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN",
             "Hiragino Sans", Meiryo, sans-serif;
}

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

body {
  margin: 0;
  background: var(--ak-cream);
  color: var(--ak-ink);
  font-family: var(--ak-font);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
ul  { list-style: none; margin: 0; padding: 0; }
a   { color: inherit; }

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

/* 画面には出さないがスクリーンリーダーには読ませる */
.ak-visually-hidden {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ==========================================================================
   ボタン（原本には塗り／線の2種がある）
   ========================================================================== */
.ak-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  white-space: nowrap;
  padding: .62em 1.8em;
  border-radius: var(--ak-radius-pill);
  font-weight: 700;
  font-size: clamp(.875rem, 1.1vw, 1rem);
  line-height: 1.4;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.ak-btn__arrow { font-weight: 700; }

.ak-btn--solid {
  background: var(--ak-green);
  color: #fff;
  border: 2px solid var(--ak-green);
}
.ak-btn--solid:hover,
.ak-btn--solid:focus-visible { background: var(--ak-green-dark); border-color: var(--ak-green-dark); }

.ak-btn--outline {
  background: #fff;
  color: var(--ak-green);
  border: 2px solid var(--ak-green);
}
.ak-btn--outline:hover,
.ak-btn--outline:focus-visible { background: var(--ak-green); color: #fff; }

/* ==========================================================================
   セクション: 選ばれる6つの理由
   ========================================================================== */
.ak-reasons {
  position: relative;
  padding-block: clamp(48px, 6vw, 88px) clamp(28px, 3.5vw, 52px);
  background: var(--ak-cream);
  overflow: hidden;
}

/* 見出しと左右の装飾を1行に並べる */
.ak-reasons__head {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(8px, 1.5vw, 24px);
  margin-bottom: clamp(36px, 4vw, 56px);
}
.ak-reasons__deco {
  width: 100%;
  max-height: clamp(56px, 6vw, 92px);
  object-fit: contain;
  opacity: .95;
}
.ak-reasons__deco--left  { justify-self: start; object-position: left center; }
.ak-reasons__deco--right { justify-self: end;   object-position: right center; }

.ak-reasons__heading {
  margin: 0;
  text-align: center;
  line-height: 1.35;
}
.ak-reasons__heading-sub {
  display: block;
  font-size: clamp(1.05rem, 2vw, 1.6rem);
  font-weight: 700;
  letter-spacing: .02em;
}
.ak-reasons__heading-main {
  display: block;
  font-size: clamp(1.5rem, 3vw, 2.35rem);
  font-weight: 900;
  letter-spacing: .02em;
}
/* 「6」だけ大きく緑に */
.ak-reasons__heading-num {
  color: var(--ak-green);
  font-size: 1.75em;
  font-weight: 900;
  font-style: normal;
  line-height: 1;
  margin-right: .06em;
}

.ak-reasons__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(10px, 1.2vw, 18px);
}

/* --- 理由カード --- */
.ak-reason-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* 原本ではキャラがカード幅の約87%を占める。左右パディングを詰めて絵を大きく見せる。
     下は 0。上半身フレーミングの絵は断面が平らなので、カード下辺まで到達させて
     角丸で切り落とす。中途半端に浮かせると切断面が見えてしまう。 */
  padding: clamp(28px, 2.6vw, 38px) 3px 0;
  background: var(--ak-cream);
  border: 1px solid var(--ak-card-border);
  border-radius: var(--ak-radius-card);
  box-shadow: var(--ak-card-shadow);
  /* カード自体は overflow: visible のまま。hidden にすると
     カード上辺をまたぐ番号バッジの上半分が切れる（実際に踏んだ）。
     絵の切り落としは図版側だけで行う。 */
}

/* 番号バッジはカード上辺をまたぐ */
.ak-reason-card__num {
  position: absolute;
  top: 0;
  left: 50%;
  translate: -50% -50%;
  display: grid;
  place-items: center;
  width: clamp(34px, 3.4vw, 46px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--ak-green);
  color: #fff;
  font-size: clamp(.8rem, 1.1vw, 1rem);
  font-weight: 700;
  letter-spacing: .02em;
}

.ak-reason-card__title {
  margin: 0 0 clamp(14px, 1.7vw, 22px);
  /* カードのパディングは絵のために詰めたので、文字側で余白を確保する */
  padding-inline: clamp(4px, .6vw, 10px);
  text-align: center;
  font-size: clamp(.82rem, 1.25vw, 1.125rem);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -.01em;
}

/* カードの左右パディングを打ち消して全幅にし、下2隅だけ角丸で切り落とす。
   上半身フレーミングの絵の平らな断面を、カードの縁に溶け込ませるため。 */
.ak-reason-card__figure {
  margin: auto -3px 0;
  width: calc(100% + 6px);
  overflow: hidden;
  border-end-start-radius: calc(var(--ak-radius-card) - 1px);
  border-end-end-radius: calc(var(--ak-radius-card) - 1px);
}
.ak-reason-card__figure img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: bottom center;
}

/* ==========================================================================
   セクション: 特徴カード3枚
   ========================================================================== */
.ak-features {
  padding-block: clamp(20px, 2.5vw, 36px) clamp(48px, 6vw, 80px);
  background: var(--ak-cream);
}

/* 原本の3枚は等幅ではない（実測 約32% : 27% : 41%）。
   等幅にするとカード3の本文が痩せて折り返し、レイアウトが崩れる。 */
.ak-features__grid {
  display: grid;
  grid-template-columns: 32fr 27fr 41fr;
  gap: clamp(14px, 1.6vw, 24px);
}

.ak-feature-card {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: clamp(10px, 1.4vw, 20px);
  padding: clamp(18px, 2vw, 28px) clamp(16px, 1.8vw, 26px);
  background: var(--ak-cream-deep);
  border-radius: var(--ak-radius-card);
  overflow: hidden;
}

/* 原本比: アイコンはカード幅の約30%。カード幅が3枚とも違うので固定pxではなく比率で持つ */
.ak-feature-card__icon {
  flex: 0 0 30%;
  align-self: flex-start;
  margin: 0;
}

/* 3枚のボタンを下端で揃える（原本は3枚とも同じ高さに並んでいる） */
.ak-feature-card__body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.ak-feature-card__body .ak-btn {
  margin-top: auto;
  align-self: flex-start;
}

.ak-feature-card__title {
  margin: 0 0 .15em;
  font-weight: 700;
  line-height: 1.35;
}
.ak-feature-card__label {
  display: block;
  font-size: clamp(.86rem, 1.18vw, 1.05rem);
  font-weight: 700;
}
.ak-feature-card__lead {
  display: block;
  font-size: clamp(1rem, 1.55vw, 1.5rem);
  font-weight: 900;
  letter-spacing: -.01em;
}
/* 「3000」だけ特大・緑 */
.ak-feature-card__num {
  color: var(--ak-green);
  font-size: 1.9em;
  font-weight: 900;
  font-style: normal;
  letter-spacing: -.02em;
  margin-right: .04em;
}

.ak-feature-card__desc {
  margin: 0 0 clamp(10px, 1.2vw, 16px);
  font-size: clamp(.72rem, .95vw, .9rem);
  line-height: 1.6;
}

/* --- カード3（キャラ付き） ---
   原本の内訳: パディング4.3% / アイコン23% / 本文37.9% / キャラ26.9%
   本文が狭いぶん、原本自体がカード2より小さい文字を使っている
   （カード2 = 約21.6px/字、カード3 = 約18.5px/字）。ここを揃えると必ず折り返して崩れる。 */
.ak-feature-card--character { padding-right: 27%; }
.ak-feature-card--character .ak-feature-card__lead {
  font-size: clamp(.9rem, 1.34vw, 1.32rem);
  white-space: nowrap;
}
.ak-feature-card__character {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 25%;
  margin: 0;
  pointer-events: none;
}

.ak-btn--yellow {
  background: var(--ak-yellow-bright);
  color: var(--ak-green-dark);
  border: 2px solid var(--ak-yellow-bright);
}
.ak-btn--yellow:hover, .ak-btn--yellow:focus-visible { background: var(--ak-yellow); border-color: var(--ak-yellow); }

.ak-btn--ig {
  background: var(--ak-pink);
  color: #fff;
  border: 2px solid var(--ak-pink);
}
.ak-btn__icon { width: 1.1em; height: 1.1em; flex: none; }

/* ==========================================================================
   ヘッダー
   ========================================================================== */
.ak-header {
  background: var(--ak-cream);
  border-bottom: 1px solid var(--ak-card-border);
}
.ak-header__inner {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.4vw, 22px);
  padding-block: 10px;
}

.ak-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.ak-logo__mark { width: clamp(38px, 4vw, 54px); aspect-ratio: 1; flex: none; }
.ak-logo__text { display: flex; flex-direction: column; line-height: 1.25; }
.ak-logo__tagline { font-size: clamp(.6rem, .8vw, .78rem); font-weight: 700; }
.ak-logo__name    { font-size: clamp(.95rem, 1.5vw, 1.4rem); font-weight: 900; letter-spacing: .01em; }

.ak-nav { flex: 1 1 auto; min-width: 0; }
.ak-nav__list { display: flex; justify-content: center; gap: clamp(6px, 1.1vw, 20px); }
.ak-nav__link {
  display: grid; justify-items: center; gap: 4px;
  text-decoration: none; padding: 4px 2px;
}
.ak-nav__icon { width: clamp(18px, 1.8vw, 24px); height: clamp(18px, 1.8vw, 24px); color: var(--ak-ink); }
.ak-nav__item.is-current .ak-nav__icon { color: var(--ak-green); }
.ak-nav__label { font-size: clamp(.6rem, .78vw, .78rem); font-weight: 700; white-space: nowrap; }

.ak-header__contact { flex: none; text-align: center; border: 1px solid var(--ak-card-border); border-radius: 10px; padding: 6px 12px; }
.ak-header__free  { margin: 0; font-size: clamp(.58rem, .74vw, .74rem); font-weight: 700; }
.ak-header__tel {
  display: inline-flex; align-items: center; gap: .3em;
  margin: 1px 0; text-decoration: none;
  color: var(--ak-green); font-size: clamp(1.1rem, 1.9vw, 1.7rem); font-weight: 900; letter-spacing: -.01em;
}
.ak-header__tel-icon { width: .8em; height: .8em; }
.ak-header__hours { margin: 0; font-size: clamp(.56rem, .72vw, .72rem); font-weight: 700; }

.ak-header__actions { display: flex; gap: 6px; flex: none; }
.ak-header__action {
  display: grid; justify-items: center; align-content: center; gap: 3px;
  width: clamp(52px, 5.4vw, 70px); aspect-ratio: 1;
  border-radius: 10px; text-decoration: none; color: #fff;
  font-size: clamp(.5rem, .64vw, .64rem); font-weight: 700; line-height: 1.25; text-align: center;
}
.ak-header__action svg { width: 1.6em; height: 1.6em; }
.ak-header__action--mail { background: var(--ak-green); }
.ak-header__action--ig   { background: var(--ak-pink); }

/* ハンバーガー（SPのみ表示。JSを使わずチェックボックスで開閉する） */
.ak-nav-toggle { display: none; }
.ak-nav-button { display: none; }

/* ==========================================================================
   ヒーロー
   ========================================================================== */
.ak-hero {
  position: relative;
  background:
    radial-gradient(120% 90% at 78% 40%, rgba(255,255,255,.10), transparent 60%),
    linear-gradient(160deg, var(--ak-navy) 0%, var(--ak-navy-deep) 100%);
  color: #fff;
  overflow: hidden;
}
.ak-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(16px, 2vw, 40px);
  padding-block: clamp(28px, 3.4vw, 52px);
}

.ak-hero__heading { margin: 0 0 clamp(12px, 1.4vw, 20px); line-height: 1.12; }
.ak-hero__heading-sub  { display: block; font-size: clamp(1.2rem, 2.6vw, 2.3rem); font-weight: 900; }
.ak-hero__heading-main { display: block; font-size: clamp(2.2rem, 5.4vw, 4.6rem); font-weight: 900; letter-spacing: .01em; }
.ak-hero__heading-suffix { font-size: .62em; }

.ak-hero__lead {
  margin: 0 0 clamp(12px, 1.4vw, 18px);
  font-size: clamp(.9rem, 1.5vw, 1.32rem);
  font-weight: 700; line-height: 1.6;
}
.ak-hero__mark { color: var(--ak-yellow-bright); font-style: normal; font-weight: 900; }

.ak-hero__badge {
  display: inline-block; margin: 0 0 clamp(14px, 1.8vw, 24px);
  padding: .42em 1.1em; border-radius: 6px;
  background: var(--ak-red); color: #fff;
  font-size: clamp(.78rem, 1.22vw, 1.08rem); font-weight: 700;
}

.ak-hero__stats { display: flex; align-items: center; gap: clamp(12px, 1.8vw, 28px); flex-wrap: wrap; }
.ak-hero__area { display: flex; align-items: center; gap: 8px; }
.ak-hero__area-icon { width: clamp(38px, 4vw, 56px); height: clamp(38px, 4vw, 56px); flex: none; }
.ak-hero__area-text { font-size: clamp(.82rem, 1.3vw, 1.15rem); font-weight: 900; line-height: 1.35; }

.ak-hero__record { display: flex; align-items: baseline; gap: .35em; margin: 0; }
.ak-hero__record-label {
  align-self: center; padding: .3em .7em; border-radius: 5px;
  background: rgba(255,255,255,.16);
  font-size: clamp(.66rem, .95vw, .86rem); font-weight: 700; white-space: nowrap;
}
.ak-hero__record-num  { color: var(--ak-yellow-bright); font-size: clamp(2rem, 4.4vw, 3.7rem); font-weight: 900; letter-spacing: -.02em; }
.ak-hero__record-unit { font-size: clamp(.9rem, 1.5vw, 1.35rem); font-weight: 900; }

.ak-hero__visual { position: relative; }
.ak-hero__photo { width: 100%; border-radius: 10px; }
.ak-hero__character {
  position: absolute; right: -2%; bottom: -8%;
  width: clamp(120px, 21%, 260px); margin: 0; pointer-events: none;
}
.ak-hero__bubble {
  position: absolute; right: 20%; top: -2%;
  margin: 0; padding: .7em 1em; border-radius: 14px;
  background: #fff; color: var(--ak-ink);
  font-size: clamp(.66rem, 1.02vw, .92rem); font-weight: 700; line-height: 1.4; text-align: center;
}
.ak-hero__bubble::after {
  content: ""; position: absolute; right: -8px; bottom: 22%;
  border: 8px solid transparent; border-left-color: #fff; border-right: 0;
}

/* ==========================================================================
   サービス案内
   ========================================================================== */
.ak-services { padding-block: clamp(36px, 4.6vw, 72px); }

.ak-services__heading {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin: 0 0 clamp(20px, 2.4vw, 32px);
}
.ak-services__heading::before,
.ak-services__heading::after {
  content: ""; flex: 1 1 auto; border-top: 2px dotted var(--ak-card-border);
}
.ak-services__heading-icon { width: clamp(30px, 3.2vw, 44px); height: auto; flex: none; }
.ak-services__heading-text { font-size: clamp(1.15rem, 2.1vw, 1.75rem); font-weight: 900; white-space: nowrap; }

.ak-services__layout { display: grid; grid-template-columns: 1fr auto; gap: clamp(12px, 1.4vw, 22px); align-items: stretch; }
.ak-services__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(8px, 1vw, 14px); }

.ak-service-card {
  display: flex; flex-direction: column; align-items: center;
  padding: clamp(10px, 1.2vw, 16px) clamp(6px, .8vw, 12px) clamp(10px, 1.2vw, 16px);
  background: var(--ak-cream); border: 1px solid var(--ak-card-border);
  border-radius: var(--ak-radius-card);
}
.ak-service-card__title {
  margin: 0 0 clamp(6px, .8vw, 10px);
  min-height: 2.9em;                      /* 外構だけサブテキストがあるので高さを揃える */
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
  font-size: clamp(.74rem, 1.08vw, .98rem); font-weight: 700; line-height: 1.4; text-align: center;
}
.ak-service-card__sub { font-size: .82em; font-weight: 400; }
.ak-service-card__figure { margin: 0 0 clamp(8px, 1vw, 14px); width: 100%; }
/* 生成物は正方形キャンバス。4/3にすると左右がレターボックスになって絵が小さく見える */
.ak-service-card__figure img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.ak-service-card__btn { margin-top: auto; padding-inline: 1.1em; font-size: clamp(.66rem, .88vw, .82rem); }

.ak-services__aside {
  position: relative;
  display: flex; flex-direction: column; align-items: center;
  width: clamp(120px, 14vw, 190px);
  padding: clamp(12px, 1.4vw, 20px) clamp(8px, 1vw, 14px) 0;
  background: var(--ak-cream-deep); border-radius: var(--ak-radius-card);
  overflow: hidden;
}
.ak-services__aside-text { margin: 0 0 auto; font-size: clamp(.78rem, 1.12vw, 1rem); font-weight: 900; line-height: 1.5; text-align: center; }
.ak-services__aside-figure { margin: 0; width: 100%; }

/* ==========================================================================
   ご利用の流れ
   ========================================================================== */
.ak-flow { padding-block: clamp(8px, 1vw, 16px) clamp(28px, 3.4vw, 52px); }
.ak-flow__panel {
  padding: clamp(20px, 2.4vw, 34px) clamp(14px, 1.8vw, 28px);
  background: var(--ak-cream); border: 1px solid var(--ak-card-border);
  border-radius: var(--ak-radius-card);
}
.ak-flow__head { margin-bottom: clamp(14px, 1.8vw, 24px); }
.ak-flow__heading { margin: 0; font-size: clamp(1.15rem, 2.1vw, 1.75rem); font-weight: 900; }
.ak-flow__sub { margin: .2em 0 0; font-size: clamp(.72rem, 1vw, .9rem); font-weight: 700; }

.ak-flow__list { display: grid; grid-template-columns: repeat(7, 1fr); gap: clamp(4px, .7vw, 12px); }
.ak-flow-step { display: flex; flex-direction: column; align-items: center; text-align: center; }
.ak-flow-step__num { margin: 0 0 4px; display: grid; justify-items: center; line-height: 1.05; color: var(--ak-green); }
.ak-flow-step__num-label { font-size: clamp(.52rem, .72vw, .7rem); font-weight: 700; letter-spacing: .06em; }
.ak-flow-step__num-value { font-size: clamp(1.15rem, 1.9vw, 1.7rem); font-weight: 900; }
.ak-flow-step__figure { margin: 0; width: 100%; }
.ak-flow-step__figure img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.ak-flow-step__label { margin: 4px 0 0; font-size: clamp(.6rem, .88vw, .82rem); font-weight: 700; }
.ak-flow__action { margin: clamp(14px, 1.8vw, 24px) 0 0; text-align: center; }

/* ==========================================================================
   施工事例
   ========================================================================== */
.ak-cases { padding-block: clamp(8px, 1vw, 16px) clamp(28px, 3.4vw, 52px); }
.ak-cases__panel {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 2vw, 34px);
  padding: clamp(20px, 2.4vw, 34px) clamp(14px, 1.8vw, 28px);
  background: var(--ak-cream); border: 1px solid var(--ak-card-border);
  border-radius: var(--ak-radius-card);
}
.ak-cases__panel > .ak-case + .ak-case {
  border-left: 2px dotted var(--ak-card-border);
  padding-left: clamp(16px, 2vw, 34px);
}
.ak-case { display: flex; flex-direction: column; }
.ak-case__heading { margin: 0; font-size: clamp(1rem, 1.6vw, 1.35rem); font-weight: 900; text-align: center; }
.ak-case__type    { margin: .3em 0 .7em; font-size: clamp(.74rem, 1.02vw, .92rem); font-weight: 700; text-align: center; }

.ak-case__photos { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: clamp(6px, .8vw, 12px); }
.ak-case__photo { position: relative; margin: 0; }
.ak-case__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; }
/* Before / After のラベルは写真に焼き込まず CSS で載せる（D9） */
.ak-case__photo::before {
  content: attr(data-label);
  position: absolute; left: 6px; top: 6px;
  padding: .18em .6em; border-radius: 5px;
  background: var(--ak-navy); color: #fff;
  font-size: clamp(.56rem, .78vw, .74rem); font-weight: 700; letter-spacing: .02em;
}
.ak-case__arrow { color: var(--ak-green); font-size: clamp(.9rem, 1.3vw, 1.2rem); }

.ak-case__meta { display: flex; justify-content: center; flex-wrap: wrap; gap: .4em 1.2em; margin: .7em 0 .5em; }
.ak-case__meta > div { display: flex; align-items: baseline; gap: .4em; }
.ak-case__meta dt { font-size: clamp(.66rem, .9vw, .82rem); font-weight: 700; }
.ak-case__meta dt::after { content: "｜"; margin-left: .2em; opacity: .5; }
.ak-case__meta dd { margin: 0; font-size: clamp(.72rem, 1vw, .92rem); font-weight: 700; }

.ak-case__voice { display: flex; align-items: flex-end; gap: 8px; margin-top: auto; }
.ak-case__voice-text {
  position: relative; flex: 1 1 auto; margin: 0;
  padding: .7em .9em; border-radius: 12px; background: var(--ak-cream-deep);
  font-size: clamp(.66rem, .92vw, .84rem); font-weight: 700; line-height: 1.5;
}
.ak-case__voice-text::after {
  content: ""; position: absolute; right: -7px; bottom: 14px;
  border: 7px solid transparent; border-left-color: var(--ak-cream-deep); border-right: 0;
}
.ak-case__voice-face { flex: none; width: clamp(44px, 5vw, 68px); margin: 0; }
.ak-case__action { margin: .8em 0 0; text-align: center; }

/* ==========================================================================
   下部3枠
   ========================================================================== */
.ak-links { padding-block: clamp(8px, 1vw, 16px) clamp(36px, 4.6vw, 72px); }
.ak-links__grid { display: grid; grid-template-columns: 1fr 1fr 1.15fr; gap: clamp(12px, 1.6vw, 24px); }

.ak-link-card {
  position: relative; display: flex; align-items: stretch; gap: clamp(8px, 1vw, 16px);
  padding: clamp(14px, 1.8vw, 24px) clamp(12px, 1.5vw, 22px) 0;
  background: var(--ak-cream); border: 1px solid var(--ak-card-border);
  border-radius: var(--ak-radius-card); overflow: hidden;
}
.ak-link-card__body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; padding-bottom: clamp(14px, 1.8vw, 24px); }
.ak-link-card__title { margin: 0 0 .4em; font-size: clamp(.92rem, 1.42vw, 1.25rem); font-weight: 900; line-height: 1.35; }
.ak-link-card__text  { margin: 0 0 .9em; font-size: clamp(.68rem, .92vw, .84rem); line-height: 1.6; }
.ak-link-card__body .ak-btn { margin-top: auto; align-self: flex-start; }
.ak-link-card__figure { flex: 0 0 30%; margin: 0; display: flex; align-items: flex-end; }
.ak-link-card__figure--wide { flex-basis: 38%; }
.ak-link-card__figure img { width: 100%; }

.ak-link-card--recruit { background: var(--ak-green-dark); border-color: var(--ak-green-dark); color: #fff; }
.ak-link-card__title--recruit {
  color: var(--ak-yellow-bright);
  /* 「募集中！」で折り返すと締まらないので、この枠だけ少し詰める */
  font-size: clamp(.86rem, 1.3vw, 1.15rem);
  letter-spacing: -.02em;
}
.ak-recruit-points { margin: 0 0 .9em; display: grid; gap: .3em; }
.ak-recruit-points li { position: relative; padding-left: 1.5em; font-size: clamp(.68rem, .92vw, .84rem); font-weight: 700; }
.ak-recruit-points li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  display: grid; place-items: center; width: 1.15em; aspect-ratio: 1; border-radius: 50%;
  background: var(--ak-red); color: #fff; font-size: .78em; font-weight: 700;
}

/* ==========================================================================
   フッター
   ========================================================================== */
.ak-footer { background: var(--ak-cream-deep); border-top: 4px solid var(--ak-green); }
.ak-footer__inner {
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 56px);
  padding-block: clamp(28px, 3.4vw, 52px);
}
.ak-logo--footer { margin-bottom: 12px; }
.ak-footer__offices { display: flex; flex-wrap: wrap; gap: 8px clamp(20px, 3vw, 44px); margin-bottom: 10px; }
.ak-footer__address { margin: 0; font-style: normal; font-size: clamp(.72rem, .96vw, .88rem); line-height: 1.7; }
.ak-footer__office-label {
  display: inline-block; margin-bottom: 2px; padding: .1em .6em; border-radius: 4px;
  background: var(--ak-green); color: #fff; font-size: .84em; font-weight: 700;
}
.ak-footer__tel {
  display: inline-flex; align-items: center; gap: .3em; text-decoration: none;
  color: var(--ak-green); font-size: clamp(1.3rem, 2.2vw, 2rem); font-weight: 900;
}
.ak-footer__tel svg { width: .8em; height: .8em; }
.ak-footer__hours { margin: .2em 0 14px; font-size: clamp(.68rem, .9vw, .82rem); font-weight: 700; }
.ak-footer__actions { display: flex; flex-wrap: wrap; gap: 10px; }

.ak-footer__nav-title { margin: 0 0 .6em; font-size: clamp(.82rem, 1.1vw, .98rem); font-weight: 900; }
.ak-footer__nav-list { display: grid; grid-template-columns: 1fr 1fr; gap: .45em 1em; }
.ak-footer__nav-list a { font-size: clamp(.7rem, .92vw, .84rem); text-decoration: none; }
.ak-footer__nav-list a:hover { text-decoration: underline; }

.ak-footer__copyright {
  margin: 0; padding: .9em 0;
  background: var(--ak-green); color: #fff;
  font-size: clamp(.66rem, .86vw, .78rem); text-align: center;
}

/* ==========================================================================
   下層ページ共通パーツ
   ========================================================================== */
.ak-page-head {
  padding-block: clamp(28px, 4vw, 56px);
  background: linear-gradient(160deg, var(--ak-navy) 0%, var(--ak-navy-deep) 100%);
  color: #fff;
  text-align: center;
}
.ak-page-head__en {
  margin: 0 0 .2em; letter-spacing: .18em;
  font-size: clamp(.66rem, .9vw, .82rem); font-weight: 700; opacity: .8;
}
.ak-page-head__title { margin: 0; font-size: clamp(1.4rem, 3vw, 2.3rem); font-weight: 900; }

.ak-section { padding-block: clamp(36px, 5vw, 72px); }
.ak-section--tint { background: var(--ak-cream-deep); }
.ak-narrow { max-width: 880px; }

.ak-h2 {
  margin: 0 0 clamp(14px, 1.8vw, 24px);
  font-size: clamp(1.15rem, 2.1vw, 1.75rem); font-weight: 900; line-height: 1.4;
}
.ak-h2--center { text-align: center; }
.ak-h2--center::after {
  content: ""; display: block; width: 48px; height: 3px; margin: .5em auto 0;
  background: var(--ak-green); border-radius: 2px;
}

.ak-lead-center { margin: 0 0 clamp(20px, 2.6vw, 34px); text-align: center; font-size: clamp(.82rem, 1.1vw, .98rem); line-height: 1.9; }
.ak-note-center { margin: clamp(16px, 2vw, 26px) 0 0; text-align: center; font-size: clamp(.74rem, .95vw, .86rem); }
.ak-empty { text-align: center; padding-block: 40px; }

.ak-prose p { margin: 0 0 1em; font-size: clamp(.84rem, 1.05vw, .96rem); line-height: 1.95; }

.ak-quote {
  margin-top: clamp(20px, 2.6vw, 34px);
  padding: clamp(18px, 2.4vw, 30px) clamp(18px, 2.6vw, 34px);
  background: var(--ak-cream-deep); border-left: 5px solid var(--ak-green); border-radius: 0 12px 12px 0;
}
.ak-quote p { margin: 0 0 .7em; font-size: clamp(.82rem, 1.02vw, .94rem); line-height: 1.9; }
.ak-quote p:last-child { margin-bottom: 0; }
.ak-quote strong { color: var(--ak-green); font-size: 1.15em; }

/* 定義リスト（会社概要） */
.ak-deflist { margin: 0; border-top: 1px solid var(--ak-card-border); }
.ak-deflist__row {
  display: grid; grid-template-columns: 10em 1fr; gap: clamp(8px, 1.4vw, 24px);
  padding: clamp(12px, 1.5vw, 18px) 4px;
  border-bottom: 1px solid var(--ak-card-border);
}
.ak-deflist dt { font-size: clamp(.78rem, .98vw, .9rem); font-weight: 700; }
.ak-deflist dd { margin: 0; font-size: clamp(.8rem, 1vw, .92rem); line-height: 1.8; }

.ak-license-list { display: grid; gap: clamp(10px, 1.4vw, 18px); }
.ak-license {
  padding: clamp(14px, 1.8vw, 22px) clamp(14px, 2vw, 24px);
  background: var(--ak-cream); border: 1px solid var(--ak-card-border); border-radius: var(--ak-radius-card);
}
.ak-license__title { margin: 0 0 .3em; font-size: clamp(.86rem, 1.1vw, 1rem); font-weight: 900; color: var(--ak-green); }
.ak-license__body { margin: 0; font-size: clamp(.78rem, .98vw, .9rem); line-height: 1.8; }

/* 工程リスト（下層版・縦積み） */
.ak-steplist { display: grid; gap: clamp(10px, 1.4vw, 18px); counter-reset: none; }
.ak-steplist__item {
  display: grid; grid-template-columns: 76px 110px 1fr; align-items: center;
  gap: clamp(10px, 1.8vw, 26px);
  padding: clamp(12px, 1.6vw, 20px) clamp(14px, 2vw, 26px);
  background: var(--ak-cream); border: 1px solid var(--ak-card-border); border-radius: var(--ak-radius-card);
}
.ak-steplist__num { display: grid; justify-items: center; color: var(--ak-green); line-height: 1.05; }
.ak-steplist__num-label { font-size: clamp(.54rem, .72vw, .68rem); font-weight: 700; letter-spacing: .08em; }
.ak-steplist__num-value { font-size: clamp(1.4rem, 2.2vw, 2rem); font-weight: 900; }
.ak-steplist__figure { margin: 0; }
.ak-steplist__figure img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.ak-steplist__name { margin: 0 0 .25em; font-size: clamp(.92rem, 1.25vw, 1.1rem); font-weight: 900; }
.ak-steplist__text { margin: 0; font-size: clamp(.78rem, .98vw, .9rem); line-height: 1.8; }

/* 表（単価表） */
.ak-table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.ak-table { width: 100%; min-width: 620px; border-collapse: separate; border-spacing: 0; background: var(--ak-cream); border-radius: 12px; overflow: hidden; }
.ak-table th, .ak-table td { padding: clamp(9px, 1.2vw, 15px) clamp(8px, 1vw, 14px); text-align: center; font-size: clamp(.74rem, .95vw, .88rem); }
.ak-table thead th { background: var(--ak-green); color: #fff; font-weight: 700; }
.ak-table tbody th { background: var(--ak-cream-deep); font-weight: 700; white-space: nowrap; }
.ak-table tbody tr + tr th, .ak-table tbody tr + tr td { border-top: 1px solid var(--ak-card-border); }
.ak-table td { font-weight: 700; }
.ak-table__unit { font-size: .78em; font-weight: 400; opacity: .75; }

.ak-price-add { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(12px, 1.6vw, 20px); }
.ak-price-add li {
  display: flex; align-items: baseline; gap: .6em;
  padding: .5em 1em; background: var(--ak-cream); border: 1px solid var(--ak-card-border); border-radius: var(--ak-radius-pill);
  font-size: clamp(.74rem, .92vw, .84rem);
}
.ak-price-add__name { font-weight: 700; }
.ak-price-add__value { color: var(--ak-green); font-weight: 900; }

/* FAQ（details/summary。JSなしで開閉できる） */
.ak-faq { display: grid; gap: 10px; }
.ak-faq__item { background: var(--ak-cream); border: 1px solid var(--ak-card-border); border-radius: var(--ak-radius-card); overflow: hidden; }
.ak-faq__q {
  position: relative; list-style: none; cursor: pointer;
  padding: clamp(13px, 1.6vw, 18px) clamp(44px, 5vw, 56px) clamp(13px, 1.6vw, 18px) clamp(14px, 1.8vw, 22px);
  font-size: clamp(.82rem, 1.02vw, .94rem); font-weight: 700; line-height: 1.6;
}
.ak-faq__q::-webkit-details-marker { display: none; }
.ak-faq__q::after {
  content: "＋"; position: absolute; right: clamp(14px, 1.8vw, 22px); top: 50%; translate: 0 -50%;
  color: var(--ak-green); font-weight: 900;
}
.ak-faq__item details[open] .ak-faq__q::after { content: "－"; }
.ak-faq__a {
  margin: 0; padding: 0 clamp(14px, 1.8vw, 22px) clamp(14px, 1.8vw, 20px);
  font-size: clamp(.78rem, .98vw, .9rem); line-height: 1.85;
}

/* 施工事例一覧 */
.ak-works { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.6vw, 24px); }
.ak-work-card { background: var(--ak-cream); border: 1px solid var(--ak-card-border); border-radius: var(--ak-radius-card); overflow: hidden; }
.ak-work-card__link { display: block; text-decoration: none; height: 100%; }
.ak-work-card__figure { margin: 0; }
.ak-work-card__figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ak-work-card__body { padding: clamp(12px, 1.5vw, 18px); }
.ak-work-card__area {
  display: inline-block; margin: 0 0 .4em; padding: .15em .7em; border-radius: 4px;
  background: var(--ak-green); color: #fff; font-size: clamp(.62rem, .8vw, .74rem); font-weight: 700;
}
.ak-work-card__title { margin: 0 0 .5em; font-size: clamp(.84rem, 1.05vw, .96rem); font-weight: 700; line-height: 1.55; }
.ak-work-card__meta { display: flex; flex-wrap: wrap; gap: .3em .9em; margin: 0; }
.ak-work-card__meta > div { display: flex; align-items: baseline; gap: .35em; }
.ak-work-card__meta dt { font-size: clamp(.64rem, .82vw, .74rem); opacity: .7; }
.ak-work-card__meta dd { margin: 0; font-size: clamp(.72rem, .92vw, .84rem); font-weight: 700; }

/* お問い合わせ */
.ak-contact-methods { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2vw, 26px); }
.ak-contact-method {
  padding: clamp(18px, 2.4vw, 30px); text-align: center;
  background: var(--ak-cream); border: 1px solid var(--ak-card-border); border-radius: var(--ak-radius-card);
}
.ak-contact-method__title { margin: 0 0 .6em; font-size: clamp(.9rem, 1.15vw, 1.05rem); font-weight: 900; }
.ak-contact-method__tel {
  display: inline-flex; align-items: center; gap: .3em; text-decoration: none;
  color: var(--ak-green); font-size: clamp(1.3rem, 2.2vw, 2rem); font-weight: 900;
}
.ak-contact-method__tel svg { width: .8em; height: .8em; }
.ak-contact-method__note { margin: .5em 0 0; font-size: clamp(.72rem, .92vw, .84rem); line-height: 1.75; }

/* お問い合わせフォーム（Contact Form 7） */
.ak-form {
  padding: clamp(20px, 3vw, 38px) clamp(18px, 3vw, 40px);
  background: var(--ak-cream); border: 1px solid var(--ak-card-border); border-radius: var(--ak-radius-card);
}
.ak-form label { display: block; font-size: clamp(.82rem, 1.02vw, .94rem); font-weight: 700; line-height: 2.2; }
.ak-form p { margin: 0 0 clamp(14px, 1.8vw, 22px); }
.ak-form input[type="text"],
.ak-form input[type="tel"],
.ak-form input[type="email"],
.ak-form textarea {
  width: 100%; padding: .7em .9em;
  border: 1px solid var(--ak-card-border); border-radius: 8px;
  background: #fff; color: var(--ak-ink);
  font-family: inherit; font-size: 1rem; font-weight: 400; line-height: 1.6;
}
.ak-form textarea { min-height: 9em; resize: vertical; }
.ak-form input:focus-visible,
.ak-form textarea:focus-visible { outline: 2px solid var(--ak-green); outline-offset: 1px; }
.ak-form .wpcf7-radio { display: flex; flex-wrap: wrap; gap: .5em 1.2em; margin-top: .2em; }
.ak-form .wpcf7-list-item { margin: 0; }
.ak-form .wpcf7-list-item label { display: flex; align-items: center; gap: .4em; font-weight: 400; line-height: 1.5; cursor: pointer; }
.ak-form input[type="radio"] { accent-color: var(--ak-green); width: 1.1em; height: 1.1em; }
/* 送信ボタン */
.ak-form input[type="submit"] {
  display: inline-flex; padding: .8em 3em; border: 2px solid var(--ak-green); border-radius: var(--ak-radius-pill);
  background: var(--ak-green); color: #fff;
  font-family: inherit; font-size: clamp(.9rem, 1.15vw, 1.05rem); font-weight: 700; cursor: pointer;
  transition: background-color .2s ease;
}
.ak-form input[type="submit"]:hover { background: var(--ak-green-dark); border-color: var(--ak-green-dark); }
.ak-form p:has(input[type="submit"]) { margin-bottom: 0; text-align: center; }
/* CF7 のバリデーション表示 */
.ak-form .wpcf7-not-valid-tip { color: var(--ak-red); font-size: .82rem; font-weight: 700; }
.ak-form .wpcf7-response-output {
  margin: 1em 0 0; padding: .8em 1em; border-radius: 8px;
  border: 2px solid var(--ak-card-border); font-size: .88rem; font-weight: 700;
}
.ak-form .wpcf7 form.invalid .wpcf7-response-output,
.ak-form .wpcf7 form.unaccepted .wpcf7-response-output { border-color: var(--ak-red); }
.ak-form .wpcf7 form.sent .wpcf7-response-output { border-color: var(--ak-green); color: var(--ak-green); }
.ak-form .wpcf7-spinner { display: block; margin: .6em auto 0; }
.ak-req {
  display: inline-block; margin-left: .4em; padding: .1em .6em; border-radius: 4px;
  background: var(--ak-red); color: #fff; font-size: .72em; font-weight: 700; vertical-align: middle;
}

/* 対応エリア */
.ak-areas { display: grid; gap: clamp(12px, 1.6vw, 22px); }
.ak-area { padding: clamp(14px, 1.8vw, 22px); background: var(--ak-cream); border-radius: var(--ak-radius-card); }
.ak-area__pref { margin: 0 0 .5em; font-size: clamp(.86rem, 1.1vw, 1rem); font-weight: 900; color: var(--ak-green); }
.ak-area__list { display: flex; flex-wrap: wrap; gap: .3em .8em; }
.ak-area__list li { font-size: clamp(.7rem, .88vw, .8rem); }

/* 共通CTA */
.ak-cta {
  padding-block: clamp(32px, 4.4vw, 64px);
  background: linear-gradient(160deg, var(--ak-green) 0%, var(--ak-green-dark) 100%);
  color: #fff; text-align: center;
}
.ak-cta__heading { margin: 0 0 clamp(14px, 1.8vw, 22px); font-size: clamp(1.15rem, 2.1vw, 1.75rem); font-weight: 900; }
.ak-cta__points { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: clamp(16px, 2vw, 26px); }
.ak-cta__points li {
  padding: .4em 1.1em; border-radius: var(--ak-radius-pill);
  background: rgba(255,255,255,.16); font-size: clamp(.74rem, .95vw, .86rem); font-weight: 700;
}
.ak-cta__tel {
  display: inline-flex; align-items: center; gap: .3em; text-decoration: none; color: #fff;
  font-size: clamp(1.5rem, 2.8vw, 2.4rem); font-weight: 900;
}
.ak-cta__tel svg { width: .8em; height: .8em; }
.ak-cta__hours { margin: .2em 0 0; font-size: clamp(.72rem, .92vw, .84rem); font-weight: 700; }
.ak-cta__free  { margin: .3em 0 0; font-size: clamp(.74rem, .95vw, .86rem); font-weight: 700; color: var(--ak-yellow-bright); }
.ak-cta__action { margin: clamp(16px, 2vw, 26px) 0 0; }

/* ==========================================================================
   SP固定CTAバー（PCでは出さない）
   ========================================================================== */
.ak-sticky-cta { display: none; }

/* ==========================================================================
   レスポンシブ
   ========================================================================== */
/* --- タブレット --- */
@media (max-width: 1023px) {
  .ak-reasons__grid  { grid-template-columns: repeat(3, 1fr); row-gap: clamp(30px, 4vw, 44px); }
  .ak-features__grid { grid-template-columns: repeat(2, 1fr); }
  .ak-reasons__deco  { display: none; }
  .ak-reasons__head  { grid-template-columns: 1fr; }

  .ak-services__grid  { grid-template-columns: repeat(3, 1fr); }
  .ak-flow__list      { grid-template-columns: repeat(4, 1fr); row-gap: 18px; }
  .ak-links__grid     { grid-template-columns: 1fr 1fr; }
  .ak-link-card--recruit { grid-column: 1 / -1; }

  /* 下層ページ */
  .ak-works { grid-template-columns: repeat(2, 1fr); }
  .ak-steplist__item { grid-template-columns: 64px 92px 1fr; }

  /* ヘッダー: ナビをハンバーガーへ */
  .ak-nav {
    position: absolute; left: 0; right: 0; top: 100%; z-index: 30;
    display: none; padding: 12px var(--ak-gutter);
    background: var(--ak-cream); border-bottom: 1px solid var(--ak-card-border);
  }
  .ak-nav-toggle:checked ~ .ak-nav { display: block; }
  .ak-nav__list { flex-wrap: wrap; justify-content: flex-start; gap: 14px 20px; }
  .ak-nav__link { grid-template-columns: auto auto; align-items: center; gap: 8px; }
  .ak-nav__label { font-size: .82rem; }

  .ak-header__inner { position: relative; flex-wrap: wrap; }
  .ak-nav-button {
    order: 9; display: grid; place-items: center; margin-left: auto;
    width: 44px; height: 44px; border: 1px solid var(--ak-card-border); border-radius: 10px;
    cursor: pointer; background: #fff;
  }
  .ak-nav-button__bars,
  .ak-nav-button__bars::before,
  .ak-nav-button__bars::after {
    content: ""; display: block; width: 20px; height: 2px; background: var(--ak-ink); border-radius: 2px;
  }
  .ak-nav-button__bars { position: relative; }
  .ak-nav-button__bars::before { position: absolute; top: -6px; }
  .ak-nav-button__bars::after  { position: absolute; top: 6px; }
}

/* --- スマートフォン --- */
@media (max-width: 767px) {
  :root { --ak-gutter: 16px; }

  .ak-reasons__grid  { grid-template-columns: repeat(2, 1fr); }
  .ak-features__grid { grid-template-columns: 1fr; }
  .ak-reason-card__title { font-size: .95rem; }
  .ak-feature-card--character { padding-right: 34%; }

  /* ヘッダー: 連絡先カードとボタンは畳む（電話は固定CTAバーに集約） */
  .ak-header__contact,
  .ak-header__actions { display: none; }

  /* ヒーロー: 縦積み */
  .ak-hero__inner { grid-template-columns: 1fr; }
  .ak-hero__character { width: 30%; right: 0; bottom: -4%; }
  .ak-hero__bubble    { right: 30%; top: -4%; }

  /* サービス案内: 2列＋サイドカードは下へ */
  .ak-services__layout { grid-template-columns: 1fr; }
  .ak-services__grid   { grid-template-columns: repeat(2, 1fr); }
  .ak-services__aside  { width: 100%; flex-direction: row; align-items: center; padding-bottom: 0; }
  .ak-services__aside-text { margin: 0; text-align: left; }
  .ak-services__aside-figure { width: 40%; }

  /* ご利用の流れ: 横並びは必ず破綻するので縦タイムラインに変換（sp-layout.md） */
  .ak-flow__list { grid-template-columns: 1fr; gap: 0; }
  .ak-flow-step {
    display: grid; grid-template-columns: 44px 84px 1fr;
    align-items: center; gap: 12px; text-align: left;
    padding-block: 6px;
  }
  .ak-flow-step__num { position: relative; margin: 0; }
  .ak-flow-step:not(:last-child) .ak-flow-step__num::after {
    content: ""; position: absolute; left: 50%; top: 100%;
    width: 2px; height: 100%; translate: -50% 0; background: var(--ak-card-border);
  }
  .ak-flow-step__label { margin: 0; font-size: .92rem; }

  /* 施工事例: 縦積み。Before/After は比較なので横並びを維持する */
  .ak-cases__panel { grid-template-columns: 1fr; }
  .ak-cases__panel > .ak-case + .ak-case {
    border-left: 0; padding-left: 0;
    border-top: 2px dotted var(--ak-card-border); padding-top: clamp(16px, 4vw, 24px);
  }
  .ak-case__meta { justify-content: flex-start; }

  /* 下部3枠: 1列 */
  .ak-links__grid { grid-template-columns: 1fr; }

  /* フッター: 1列。固定CTAバーに隠れないよう下に余白 */
  .ak-footer__inner { grid-template-columns: 1fr; }
  .ak-footer__copyright { padding-bottom: calc(.9em + 72px); }

  /* 下層ページ */
  .ak-works { grid-template-columns: 1fr; }
  .ak-contact-methods { grid-template-columns: 1fr; }
  .ak-deflist__row { grid-template-columns: 1fr; gap: 2px; }
  .ak-deflist dt { color: var(--ak-green); }
  /* 工程は画像を上に、番号と本文を下に回して縦に積む */
  .ak-steplist__item { grid-template-columns: 56px 1fr; gap: 10px 14px; }
  .ak-steplist__figure { grid-column: 2; width: 96px; }
  .ak-steplist__body { grid-column: 1 / -1; }
  .ak-cta__points { flex-direction: column; align-items: center; }
  /* 固定CTAバーに隠れないよう下に余白 */
  .ak-cta { padding-bottom: calc(clamp(32px, 4.4vw, 64px) + 72px); }

  /* 固定CTAバー */
  .ak-sticky-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    display: grid; grid-template-columns: 1fr 1fr;
    box-shadow: 0 -2px 10px rgba(0,0,0,.14);
  }
  .ak-sticky-cta__item {
    display: flex; align-items: center; justify-content: center; gap: .4em;
    padding: .95em 0; text-decoration: none; color: #fff;
    font-size: .95rem; font-weight: 700;
  }
  .ak-sticky-cta__item svg { width: 1.2em; height: 1.2em; }
  .ak-sticky-cta__item--tel  { background: var(--ak-green); }
  .ak-sticky-cta__item--mail { background: var(--ak-red); }
}

/* サービス案内は SP でも2列（sp-layout.md の設計）。
   1列にすると図版が巨大化してカードだけで画面を埋めてしまう。 */
@media (max-width: 420px) {
  .ak-hero__heading-main { font-size: 2.4rem; }
  .ak-service-card__title { font-size: .8rem; }
  .ak-services__aside { flex-direction: column; padding-bottom: 0; }
  .ak-services__aside-text { text-align: center; margin-bottom: 8px; }
  .ak-services__aside-figure { width: 62%; }
}

/* ==========================================================================
   移行した投稿本文（single.php）

   既存サイト akiyamasogyo.jp から移した本文は Gutenberg + VK Blocks（Lightning）製。
   ⚠️ REST の content.rendered を取り込んでいるためブロックコメントが無く、
      WordPress は is-layout-flex / wp-container-core-*-is-layout-* に対応する
      レイアウトCSSを生成しない。さらに VK Blocks 未導入なので
      has-vk-color-* も無効。放置すると「見出しが白文字で消える」
      「Before/Afterの2カラムが縦積みになる」状態になる（実際にそうなっていた）。
      ここで受け止める。すべて .ak-entry__body 配下に限定し、
      手組みのトップページには影響させない。
   ========================================================================== */
.ak-entry { max-width: 860px; margin-inline: auto; }

.ak-entry__meta { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.ak-entry__date { font-size: .82rem; font-weight: 700; color: #6B6252; }
.ak-entry__cat {
  padding: 3px 12px; border-radius: var(--ak-radius-pill);
  background: var(--ak-green); color: #fff;
  font-size: .74rem; font-weight: 700; text-decoration: none;
}

.ak-entry__body { font-size: .95rem; line-height: 1.95; }
.ak-entry__body > * + * { margin-top: 1.4em; }
.ak-entry__body img { max-width: 100%; height: auto; border-radius: 8px; }
.ak-entry__body figure { margin: 0; }
.ak-entry__body figcaption { margin-top: 6px; font-size: .78rem; color: #6B6252; text-align: center; }
.ak-entry__body a { color: var(--ak-green); }

/* --- コアブロックのレイアウト（WPが生成しないぶんの肩代わり） --- */
.ak-entry__body .is-layout-flow > * + * { margin-top: 1.4em; }
.ak-entry__body .is-layout-constrained > * { max-width: 100%; margin-inline: auto; }
.ak-entry__body .is-layout-grid { display: grid; gap: 20px; }
.ak-entry__body .is-layout-flex { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; }
.ak-entry__body .is-layout-flex.are-vertically-aligned-center { align-items: center; }

.ak-entry__body .wp-block-columns { display: flex; flex-wrap: nowrap; gap: 20px; }
.ak-entry__body .wp-block-column { flex: 1 1 0; min-width: 0; }
.ak-entry__body .wp-block-group { display: block; }
.ak-entry__body .wp-block-image { margin: 0; }

/* --- VK Blocks 由来の見出し・配色（プラグイン未導入ぶんの肩代わり） --- */
.ak-entry__body [class*="is-style-vk-heading"] {
  margin-top: 2em; padding: .55em .9em; border-radius: 6px;
  font-size: clamp(1rem, 1.6vw, 1.25rem); font-weight: 900; line-height: 1.5;
}
.ak-entry__body .has-vk-color-primary-background-color { background: var(--ak-green); }
.ak-entry__body .has-white-color { color: #fff; }
.ak-entry__body .has-vk-color-primary-color { color: var(--ak-green); }
.ak-entry__body [class*="is-style-vk-heading"]:not([class*="background"]) {
  padding: 0 0 .3em; border-bottom: 3px solid var(--ak-yellow); border-radius: 0;
}

/* --- 表（旧サイトの tablepress 由来。id/クラス依存は取り込み時に外してある） --- */
.ak-entry__body table { width: 100%; border-collapse: collapse; font-size: .84rem; }
.ak-entry__body th,
.ak-entry__body td { padding: 8px 10px; border: 1px solid var(--ak-card-border); text-align: center; }
.ak-entry__body th { background: var(--ak-cream-deep); font-weight: 700; }
.ak-entry__body .ak-price-table td:first-child,
.ak-entry__body .ak-price-table th:first-child { text-align: left; }
.ak-entry__body table { display: block; overflow-x: auto; }

.ak-entry__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; padding: 0; list-style: none; }
.ak-entry__tags a {
  display: inline-block; padding: 4px 12px; border-radius: var(--ak-radius-pill);
  background: var(--ak-cream-deep); color: #4A4436;
  font-size: .74rem; text-decoration: none;
}

.ak-entry__nav {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px;
  margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--ak-card-border);
  font-size: .82rem;
}
.ak-entry__nav a { color: var(--ak-green); }

@media (max-width: 640px) {
  /* 2カラムのBefore/Afterは幅が足りないので縦積みに切り替える */
  .ak-entry__body .wp-block-columns { flex-wrap: wrap; }
  .ak-entry__body .wp-block-column { flex-basis: 100%; }
}

/* ==========================================================================
   修正計画A（2026-09-17・review/2026-08-19/REPORT.md）
   戻すとき: backups/2026-09-17/style.css.ORIG
   ========================================================================== */

/* G-01: <ol> の UA 既定（左40px・上下16px・番号）が残り、工程リストが左に寄っていた */
.ak-flow__list,
.ak-steplist { list-style: none; margin: 0; padding: 0; }

/* V-05: 図解の上部の透明部分を詰める（C-6: 11/9 のみ。520/310 は屋根が切れる） */
.ak-service-card__figure img { aspect-ratio: 11 / 9; object-fit: cover; object-position: bottom; }

/* G-03: ヘッダー右の箱の高さを揃える（PC: 角ボタンを電話カードと同じ高さに） */
.ak-header__actions { align-self: stretch; }
.ak-header__action { aspect-ratio: auto; width: clamp(56px, 5.6vw, 72px); }
@media (min-width: 768px) and (max-width: 1023px) {
  /* タブレット: 3種類の箱を電話カードと同じ高さにして右端へまとめる */
  .ak-header__contact { margin-left: auto; padding: 4px 10px; }
  .ak-header__action { width: 56px; }
  .ak-nav-button { margin-left: 0; align-self: stretch; width: 56px; height: auto; }
}

/* V-03: 事例詳細の Before/After（矢印アイコン＝fa-play を含むカラム組だけに限定。C-10） */
.ak-entry__body .wp-block-columns:has(.fa-play) { align-items: center; gap: 8px; }
.ak-entry__body .wp-block-columns:has(.fa-play) > .wp-block-column:has(.fa-play) {
  /* 記事側の style="flex-basis:2em" より優先させる */
  flex: 0 0 40px !important; align-self: stretch;
  display: flex; align-items: center; justify-content: center;
}
.ak-entry__body .wp-block-columns:has(.fa-play) > .wp-block-column:has(.fa-play) > * { display: none; }
.ak-entry__body .wp-block-columns:has(.fa-play) > .wp-block-column:has(.fa-play)::after {
  content: ""; width: 0; height: 0;
  border-style: solid; border-width: 14px 0 14px 20px;
  border-color: transparent transparent transparent var(--ak-green);
}
.ak-entry__body .wp-block-columns:has(.fa-play) .lightbox-trigger { display: none; }
.ak-entry__body .wp-block-columns:has(.fa-play) .wp-block-group { padding: .5em !important; }
.ak-entry__body .wp-block-columns:has(.fa-play) .wp-block-image,
.ak-entry__body .wp-block-columns:has(.fa-play) .wp-block-image img { width: 100%; }
@media (max-width: 640px) {
  /* 縦積みのときは矢印を下向きにする */
  .ak-entry__body .wp-block-columns:has(.fa-play) > .wp-block-column:has(.fa-play) { flex: 0 0 100% !important; height: 32px; }
  .ak-entry__body .wp-block-columns:has(.fa-play) > .wp-block-column:has(.fa-play)::after {
    border-width: 18px 14px 0 14px;
    border-color: var(--ak-green) transparent transparent transparent;
  }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* ==========================================================================
   2026-09-22 ループ1: ヒーローを既存サイトのFVに寄せる
   写真・地図・実績アイコンは既存サイト akiyamasogyo.jp の実物。
   PC（1024px〜）はデザイン原本どおり、写真を右半分いっぱいに広げて紺に溶け込ませる。
   ========================================================================== */
.ak-hero__area-icon,
.ak-hero__record-icon { width: clamp(52px, 5.2vw, 76px); height: auto; aspect-ratio: 1; border-radius: 50%; flex: none; }
.ak-hero__record { align-items: center; }
.ak-hero__record-icon { margin-right: .15em; }
.ak-hero__photo { aspect-ratio: 3 / 2; object-fit: cover; object-position: 55% 42%; height: auto; }

@media (min-width: 1024px) {
  .ak-hero::before {
    content: ""; position: absolute; top: 0; bottom: 0; left: 50%; right: 0;
    background: url(assets/img/ak-hero-photo-real-20260922.webp) 42% 38% / cover no-repeat;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%);
            mask-image: linear-gradient(90deg, transparent 0%, #000 30%);
  }
  .ak-hero__inner {
    position: relative; z-index: 1;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch;
    min-height: clamp(500px, 42vw, 620px);
    padding-bottom: 0;
  }
  .ak-hero__body { align-self: center; padding-bottom: clamp(28px, 3.4vw, 52px); }
  .ak-hero__photo { display: none; }
  .ak-hero__character { right: -1%; bottom: 0; width: clamp(180px, 17.5vw, 240px); }
  .ak-hero__bubble { top: 10%; right: clamp(170px, 17vw, 236px); font-size: clamp(.95rem, 1.1vw, 1.08rem); }
}

/* ==========================================================================
   2026-09-22 ループ1: スマホ崩れの修正（review/2026-09-22/loop1/sp の SP-xx。
   案は同部署が実ページに差し込んで検証済み。SP-08 は 320px で悪化したので未採用）
   ========================================================================== */
/* PC のヒーロー: キャラが実写の重機を覆わないよう小さく・右端へ */
@media (min-width: 1024px) {
  .ak-hero__character { right: -.5%; width: clamp(150px, 13.5vw, 196px); }
  .ak-hero__bubble { right: clamp(150px, 14.5vw, 205px); }
}
/* SP-01・SP-11: 見出し・カードタイトル・短い文の末尾1〜2字落ち */
.ak-work-card__title, .ak-page-head__title, .ak-entry__body h2, .ak-entry__body h3, .ak-link-card__title,
.ak-hero__badge, .ak-flow-step__label, .ak-faq__q, .ak-case__voice-text { text-wrap: balance; }
/* SP-22: 本文段落の末尾 */
.ak-prose p, .ak-quote p, .ak-steplist__text, .ak-lead-center, .ak-entry__body p, .ak-contact-method__note,
.ak-license__body, .ak-deflist dd, .ak-footer__hours, .ak-recruit-points li { text-wrap: pretty; }
/* SP-02: タブレットで吹き出しがキャラに隠れる */
@media (min-width: 768px) and (max-width: 1023px) { .ak-hero__bubble { right: calc(120px + 2%); } }
/* SP-04: ハンバーガーを開いた状態を縦一覧に、アイコンを × に */
@media (max-width: 1023px) {
  .ak-nav { box-shadow: 0 8px 16px rgba(0,0,0,.12); }
  .ak-nav__list { flex-direction: column; gap: 0; }
  .ak-nav__link { display: flex; justify-content: flex-start; align-items: center; gap: 10px; padding: 12px 4px; min-height: 48px; border-bottom: 1px solid var(--ak-card-border); }
  .ak-nav__item:last-child .ak-nav__link { border-bottom: 0; }
  .ak-nav-toggle:checked + .ak-nav-button .ak-nav-button__bars { background: transparent; }
  .ak-nav-toggle:checked + .ak-nav-button .ak-nav-button__bars::before { top: 0; rotate: 45deg; }
  .ak-nav-toggle:checked + .ak-nav-button .ak-nav-button__bars::after { top: 0; rotate: -45deg; }
}
/* SP-03: スマホの単価表をカードの縦並びに（横スクロールで列が切れていた） */
@media (max-width: 767px) {
  .ak-table-scroll { overflow: visible; }
  .ak-table { min-width: 0; background: transparent; border-radius: 0; overflow: visible; }
  .ak-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .ak-table, .ak-table tbody, .ak-table tr, .ak-table th, .ak-table td { display: block; }
  .ak-table tbody tr { background: var(--ak-cream); border: 1px solid var(--ak-card-border); border-radius: 12px; overflow: hidden; margin-bottom: 12px; }
  .ak-table tbody th { text-align: left; padding: 10px 14px; font-size: 1rem; }
  .ak-table td, .ak-table tbody tr + tr td { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 14px; font-size: 1rem; text-align: right; border-top: 1px solid var(--ak-card-border); }
  .ak-table tbody tr + tr th { border-top: 0; }
  .ak-table td::before { content: attr(data-label); font-weight: 400; text-align: left; }
  .ak-table__unit { font-size: .85em; }
}
/* SP-05: 2018年型の記事の表で1列目が潰れる */
.ak-entry__body .ak-price-table td:first-child { min-width: 7.5em; }
/* SP-13: 2024年型の記事の空カラムと、左に縮む表 */
.ak-entry__body .wp-block-column:empty { display: none; }
.ak-entry__body .wp-block-columns:not(:has(> .wp-block-column:not(:empty))) { display: none; }
.ak-entry__body .wp-block-table table { display: table; width: 100%; }
/* SP-18: 中央寄せ指定の画像 */
.ak-entry__body figure.aligncenter img { display: block; margin-inline: auto; }
/* SP-07: 採用枠（420px以下）で本文が狭くボタンが絵に乗る */
@media (max-width: 420px) { .ak-link-card--recruit .ak-link-card__figure--wide { flex-basis: 26%; } }
/* SP-09: サービス脇カード。SP は中央寄せ、タブレットは横長の帯 */
@media (max-width: 767px) { .ak-services__aside { justify-content: center; gap: clamp(12px, 4vw, 32px); } }
@media (min-width: 768px) and (max-width: 1023px) {
  .ak-services__layout { grid-template-columns: 1fr; }
  .ak-services__aside { width: 100%; flex-direction: row; justify-content: center; align-items: center; gap: 24px; padding-bottom: 0; }
  .ak-services__aside-text { margin: 0; text-align: left; }
  .ak-services__aside-figure { width: 160px; }
}
/* SP-10: スマホ下層ページ末尾の空白（順序 C-4: body の余白 → コピーライト → CTA） */
@media (max-width: 767px) {
  body { padding-bottom: calc(55px + env(safe-area-inset-bottom)); }
  .ak-footer__copyright { padding-bottom: .9em; }
  .ak-cta { padding-bottom: clamp(32px, 4.4vw, 64px); }
}
/* SP-15: 流れ（SP）の縦線を次の番号までつなげる */
@media (max-width: 767px) { .ak-flow-step:not(:last-child) .ak-flow-step__num::after { height: calc(96px - 28px); } }

/* ==========================================================================
   2026-09-22 ループ1: 文字サイズの下限（V-04 / SP-06）
   基準: playbooks/design-standards.md（本文 PC17/SP16px・注記14px）。
   飾りの英字ラベル（STEP・ABOUT US 等）は 12px を下限とする。
   ========================================================================== */
/* 本文（全幅で 16px 以上） */
.ak-prose p, .ak-quote p, .ak-lead-center, .ak-steplist__text, .ak-faq__a, .ak-faq__q,
.ak-entry__body p, .ak-entry__body li, .ak-deflist__row dd, .ak-license__body { font-size: clamp(1rem, 1.05vw, 1.0625rem); }

@media (max-width: 767px) {
  /* 本文 16px */
  .ak-hero__lead, .ak-case__voice-text, .ak-link-card__text, .ak-feature-card__desc, .ak-flow__sub,
  .ak-contact-method__note, .ak-cta__points li, .ak-cta__free, .ak-recruit-points li, .ak-services__aside-text,
  .ak-note-center, .ak-form, .ak-form label, .ak-form span, .ak-entry__body td, .ak-entry__body th, .ak-entry__body span { font-size: 1rem; }
  /* 見出し・カードの題名 15px */
  .ak-service-card__title, .ak-work-card__title, .ak-hero__area-text, .ak-footer__nav-title,
  .ak-table th, .ak-price-add__name, .ak-price-add__value, .ak-btn { font-size: .9375rem; }
  .ak-footer__nav-list a { font-size: .9375rem; display: inline-block; padding-block: 8px; }
  /* 注記・ラベル 14px */
  .ak-work-card__area, .ak-work-card__meta dt, .ak-work-card__meta dd, .ak-case__meta dt, .ak-case__meta dd, .ak-case__type,
  .ak-footer__hours, .ak-footer__address, .ak-cta__hours, .ak-area__list li, .ak-hero__badge, .ak-deflist__row dt,
  .ak-entry__date, .ak-entry__prev, .ak-entry__next, .ak-feature-card__label, .ak-hero__bubble { font-size: .875rem; }
  /* 小さいラベル 13px */
  .ak-footer__office-label, .ak-service-card__sub, .ak-footer__copyright, .ak-entry__cat, .ak-entry__tags a { font-size: .8125rem; }
  /* 飾りの英字・ロゴの肩書 12px */
  .ak-flow-step__num-label, .ak-steplist__num-label, .ak-page-head__en, .ak-logo__tagline { font-size: .75rem; }
}
@media (max-width: 767px) { .ak-link-card__title, .ak-license__title, .ak-area__pref { font-size: .9375rem; } }
/* 文字の底上げで 320px のサービス案内が 4px はみ出した対策（2列を中身の幅に引っ張らせない） */
@media (max-width: 420px) {
  .ak-services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ak-service-card .ak-btn { font-size: .875rem; padding-inline: .8em; }
}

/* ==========================================================================
   2026-09-22 ループ1: コントラスト（白文字の地色を 4.5:1 以上に・入力欄の枠を 3:1 以上に）
   デザインの色味は保ち、明度だけ下げる。装飾に使う --ak-red / --ak-pink 自体は変えない
   ========================================================================== */
.ak-hero__badge { background: #D63405; }                                    /* 4.02 → 4.82 */
@media (max-width: 1023px) { .ak-sticky-cta__item--mail { background: #D63405; } }
.ak-btn--ig { background: #C92E62; border-color: #C92E62; }                  /* 3.99 → 5.18 */
.ak-header__action--ig { background: #C92E62; }
.ak-form .wpcf7-not-valid-tip { color: #C62828; }                          /* 3.79 → 5.31 */
.ak-form input[type="text"], .ak-form input[type="tel"], .ak-form input[type="email"], .ak-form textarea { border-color: #A08C5B; }  /* 1.31 → 3.28 */
.ak-form .wpcf7-not-valid { border-color: #C62828; border-width: 2px; }
/* 単価表カード（SP）: 「／坪」を金額の隣に付ける */
@media (max-width: 767px) {
  .ak-table td, .ak-table tbody tr + tr td { justify-content: flex-end; }
  .ak-table td::before { margin-right: auto; }
  .ak-table__unit { margin-left: .15em; }
}

/* ==========================================================================
   2026-09-22 メイン画像直下の問い合わせ導線（お客さんの要件）
   ========================================================================== */
.ak-nb { display: inline-block; }
.ak-hero-cta { background: var(--ak-cream); padding-block: clamp(20px, 2.6vw, 36px); border-bottom: 1px solid var(--ak-card-border); }
.ak-hero-cta__inner { display: flex; flex-direction: column; align-items: center; gap: clamp(12px, 1.4vw, 18px); }
.ak-hero-cta__lead { margin: 0; font-size: clamp(1rem, 1.3vw, 1.2rem); font-weight: 700; text-align: center; color: var(--ak-ink); }
.ak-hero-cta__buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(10px, 1.4vw, 20px); width: 100%; }
.ak-hero-cta__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-width: min(100%, 340px); min-height: 64px; padding: .7em 1.6em; border-radius: 999px;
  color: #fff; font-size: clamp(1.05rem, 1.35vw, 1.25rem); font-weight: 900; text-decoration: none;
  box-shadow: 0 4px 0 rgba(0,0,0,.18);
}
.ak-hero-cta__btn svg { width: 1.3em; height: 1.3em; flex: none; fill: currentColor; }
.ak-hero-cta__btn--estimate { background: #D63405; }
.ak-hero-cta__btn--tel { background: var(--ak-green); }
.ak-hero-cta__btn:hover, .ak-hero-cta__btn:focus-visible { filter: brightness(1.07); }
.ak-hero-cta__btn-text { display: flex; flex-direction: column; line-height: 1.25; text-align: left; }
.ak-hero-cta__btn-text small { font-size: .7em; font-weight: 700; opacity: .95; }
@media (max-width: 767px) {
  .ak-hero-cta__btn { width: 100%; min-width: 0; }
  .ak-hero-cta__btn-text small { font-size: .78rem; }
}

/* ==========================================================================
   2026-09-23 全ページ共通: ヘッダー・フッターの文字を下限（14px）以上に
   （PC で 9〜13px が残っていた。playbooks/design-standards.md §1）
   ========================================================================== */
.ak-header { border-top: 6px solid transparent; border-image: repeating-linear-gradient(-45deg, #FFFF00 0 12px, #00B050 12px 24px) 6; }
.ak-logo__tagline { font-size: 14px; }
.ak-logo__name { font-size: clamp(20px, 1.7vw, 24px); }
.ak-nav__label { font-size: 15px; }
.ak-header__free { font-size: 14px; }
.ak-header__hours { font-size: 14px; }
.ak-header__action { width: 100px; font-size: 14px; gap: 4px; padding: 6px 4px; }
.ak-header__action svg { width: 22px; height: 22px; }
.ak-footer__address { font-size: 15px; }
.ak-footer__office-label { font-size: 14px; }
.ak-footer__hours { font-size: 15px; }
.ak-footer__nav-title { font-size: 17px; }
.ak-footer__nav-list a { font-size: 16px; display: inline-block; padding-block: 6px; }
.ak-footer__copyright { font-size: 14px; }
/* 文字を14px以上にした分、ヘッダーの横幅が足りなくなる。
   角ボタン（メール・Instagram）は横幅に余裕のある 1400px 以上だけ出し、ヘッダーの箱も広げる。
   それ以外の幅では電話カードとナビを優先する（メール・Instagram はページ内とフッターにある） */
@media (min-width: 1400px) {
  .ak-header .ak-container { max-width: 1400px; }
}
@media (max-width: 1399px) {
  .ak-header__actions { display: none; }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .ak-nav__label { font-size: 14px; }
  .ak-nav__list { gap: 10px; }
}
@media (max-width: 767px) {
  .ak-logo__tagline { font-size: 14px; }
  .ak-logo__name { font-size: 20px; }
  .ak-footer__office-label, .ak-footer__copyright, .ak-entry__cat, .ak-entry__tags a, .ak-service-card__sub { font-size: 14px; }
  .ak-flow-step__num-label, .ak-steplist__num-label, .ak-page-head__en { font-size: 14px; }
}
