/* ==========================================================================
   ATRADIC / アトラディック  y1 共通スタイル
   配色: 白基調 + セージ/オリーブグリーンアクセント
   フォント: Noto Sans JP + Noto Serif JP + Inter
   ========================================================================== */

/* ---- リセット ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; touch-action: manipulation; }
body, h1, h2, h3, h4, h5, h6, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }

/* ---- 変数 ---- */
:root {
  --color-bg: #ffffff;
  --color-bg-soft: #f7f5f0;
  --color-bg-cream: #faf8f3;
  --color-bg-mist: #f0efe6;       /* もう一段濃いベージュ系（カードと差を出す） */
  --color-bg-sage: #eef0e3;       /* 薄グリーン背景（緩急用） */
  --color-text: #2a2a28;
  --color-text-soft: #5e5e5a;
  --color-text-mute: #8a8a86;
  --color-line: #e6e3da;
  --color-line-soft: #efece4;
  --color-olive: #7c8a3c;
  --color-olive-dark: #5f6a2c;
  --color-olive-soft: #a8b370;
  --color-olive-pale: #d8dec3;    /* 薄オリーブ・カード装飾用 */
  --color-accent: #c87538;       /* CTAボタン用テラコッタ */
  --color-accent-dark: #a55f2a;
  --color-emphasize: #b8773a;    /* 控えめな強調色（三重県全域対応など） */

  --font-jp: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  --font-jp-serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --font-en: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  --section-gap: clamp(64px, 10vw, 120px);
  --content-padding: clamp(16px, 5vw, 40px);
  --content-max: 1200px;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(40, 40, 35, 0.06);
  --shadow-md: 0 8px 24px rgba(40, 40, 35, 0.08);
}

/* ---- body ---- */
body {
  font-family: var(--font-jp);
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text);
  background: var(--color-bg);
  word-break: keep-all;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---- 共通 ---- */
.container {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding-left: var(--content-padding);
  padding-right: var(--content-padding);
}

.section {
  padding-top: var(--section-gap);
  padding-bottom: var(--section-gap);
}
.section--cream { background: var(--color-bg-cream); }
.section--soft { background: var(--color-bg-soft); }
.section--mist { background: var(--color-bg-mist); }
.section--sage { background: var(--color-bg-sage); }

/* セクション上部空白をさらに狭める（修正第2弾） */
.section {
  padding-top: clamp(32px, 4vw, 56px);
  padding-bottom: clamp(40px, 5vw, 72px);
}
.section-head { margin-bottom: clamp(24px, 3.5vw, 36px); }

.section-head { text-align: center; margin-bottom: clamp(32px, 5vw, 48px); }
.section-head__label {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.24em;
  color: var(--color-olive);
  font-weight: 600;
  margin-bottom: 16px;
}
.section-head__title {
  /* 修正第14弾: 見出しを少し大きく */
  font-family: var(--font-jp-serif);
  font-weight: 600;
  font-size: clamp(26px, 4.4vw, 38px);
  line-height: 1.35;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}
.section-head__lead {
  font-size: 15px;
  line-height: 1.9;
  color: var(--color-text-soft);
  max-width: 640px;
  margin: 0 auto;
  padding-left: 8px;
  padding-right: 8px;
  text-wrap: balance;
  word-break: auto-phrase;
}

/* ---- ボタン ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 28px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.06em;
  border-radius: 4px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 4px 12px rgba(200, 117, 56, 0.25);
}
.btn--primary:hover {
  background: var(--color-accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(200, 117, 56, 0.35);
}
/* サブボタン: 通常=オリーブ背景・白文字・オリーブ枠、ホバー=反転（修正第3弾） */
.btn--ghost,
.btn--ghost-dark,
.btn--olive,
.btn--olive-outline,
.btn--olive-on-dark {
  background: var(--color-olive);
  color: #fff;
  border: 1.5px solid var(--color-olive);
  box-shadow: 0 4px 12px rgba(124, 138, 60, 0.22);
}
.btn--ghost:hover,
.btn--ghost-dark:hover,
.btn--olive:hover,
.btn--olive-outline:hover,
.btn--olive-on-dark:hover {
  background: #fff;
  color: var(--color-olive-dark);
  border-color: var(--color-olive);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(124, 138, 60, 0.18);
}
.btn__arrow { font-family: var(--font-en); font-weight: 400; }

/* ===== ヘッダー ===== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid rgba(40, 40, 35, 0.14);
  box-shadow: 0 2px 8px rgba(40, 40, 35, 0.04);
}
.site-header__inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: var(--content-padding);
  padding-right: var(--content-padding);
  max-width: 1440px;
  margin: 0 auto;
}
.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-jp-serif);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: 0.10em;
  color: var(--color-text);
}
.site-logo__icon {
  width: 40px;
  height: 40px;
  display: block;
  flex-shrink: 0;
  border-radius: 6px;
}
.site-logo__main {
  display: inline-block;
  line-height: 1;
}
/* 旧Atradicサブテキスト用（残置の場合に影響しないように） */
.site-logo__sub { display: none; }

.gnav { display: none; }
.gnav__list { display: flex; gap: 28px; align-items: center; }
.gnav__list a {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--color-text);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s;
}
.gnav__list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--color-olive);
  transition: width 0.25s ease;
}
.gnav__list a:hover { color: var(--color-olive-dark); }
.gnav__list a:hover::after { width: 100%; }
.gnav__list a.is-active { color: var(--color-olive-dark); }
.gnav__list a.is-active::after { width: 100%; }
.gnav__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  padding: 0 28px !important;
  margin-left: 24px;
  background: var(--color-accent);
  color: #fff !important;
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-indent: 0.14em;
  border-radius: 6px;
  box-shadow: 0 6px 16px rgba(200, 117, 56, 0.38);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.gnav__cta::before { width: 16px; height: 16px; }
.gnav__cta::before {
  content: "";
  width: 14px;
  height: 14px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M21 16.5v3a2 2 0 0 1-2.18 2 19.86 19.86 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.86 19.86 0 0 1 1.12 3.81 2 2 0 0 1 3.11 1.65h3a2 2 0 0 1 2 1.72c.13.95.37 1.88.72 2.78a2 2 0 0 1-.45 2.11L7.09 9.55a16 16 0 0 0 6 6l1.29-1.29a2 2 0 0 1 2.11-.45c.9.35 1.83.59 2.78.72a2 2 0 0 1 1.73 2.0z' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'/></svg>") no-repeat center / contain;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M21 16.5v3a2 2 0 0 1-2.18 2 19.86 19.86 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.86 19.86 0 0 1 1.12 3.81 2 2 0 0 1 3.11 1.65h3a2 2 0 0 1 2 1.72c.13.95.37 1.88.72 2.78a2 2 0 0 1-.45 2.11L7.09 9.55a16 16 0 0 0 6 6l1.29-1.29a2 2 0 0 1 2.11-.45c.9.35 1.83.59 2.78.72a2 2 0 0 1 1.73 2.0z' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'/></svg>") no-repeat center / contain;
}
.gnav__cta:hover {
  background: var(--color-accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(200, 117, 56, 0.40);
}
.gnav__cta::after { display: none !important; }

/* ハンバーガー */
.hamburger {
  width: 44px;
  height: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  z-index: 110;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--color-text);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ドロワー（右からスライドイン） */
.drawer {
  position: fixed;
  top: 0;
  right: -100%;
  height: 100dvh;
  width: min(86%, 360px);
  background: #fff;
  padding: 96px 32px 40px;
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.08);
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 105;
  overflow-y: auto;
}
.drawer.is-open { right: 0; }
/* 修正第16弾: ドロワー閉じるボタン */
.drawer__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 48px;
  height: 48px;
  background: var(--color-bg-cream);
  border: 1px solid var(--color-olive-pale);
  border-radius: 50%;
  font-size: 28px;
  font-weight: 300;
  line-height: 1;
  color: var(--color-olive-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
}
.drawer__close:hover {
  background: var(--color-olive);
  color: #fff;
  transform: scale(1.06);
}
.drawer__list li { border-bottom: 1px solid var(--color-line-soft); }
.drawer__list a {
  display: block;
  padding: 18px 4px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.drawer__cta {
  display: block;
  margin-top: 32px;
  text-align: center;
  background: var(--color-accent);
  color: #fff;
  padding: 16px;
  border-radius: 4px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

@media (min-width: 960px) {
  .gnav { display: block; }
  .hamburger { display: none; }
  .drawer { display: none; }
}

/* ===== ヒーロー（HOME） ===== */
.hero {
  position: relative;
  min-height: 100svh;
  padding-top: 72px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #f5f3ed;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(100deg,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(255, 255, 255, 0.82) 36%,
    rgba(255, 255, 255, 0.30) 62%,
    rgba(255, 255, 255, 0.05) 100%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  /* 文字を上にずらしてCTAの見切れ対策（修正第2弾） */
  padding: clamp(56px, 8vw, 88px) var(--content-padding) clamp(80px, 10vw, 120px);
}
.hero__content { max-width: 640px; }

.hero__headline {
  font-family: var(--font-jp-serif);
  font-weight: 500;
  font-size: clamp(32px, 5.6vw, 56px);
  line-height: 1.35;
  letter-spacing: 0.04em;
  margin-bottom: 24px;
  color: #1a1a18;
  /* 修正第3弾: 立体感 */
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}
.hero__sub {
  font-size: clamp(14px, 1.4vw, 16px);
  line-height: 1.9;
  color: #2a261f;
  font-weight: 500;
  margin-bottom: 28px;
  max-width: 560px;
  /* 背景画像と被っても読めるよう二重の白シャドウで縁取り */
  text-shadow: 0 0 4px rgba(255, 255, 255, 0.85), 0 1px 2px rgba(255, 255, 255, 0.6);
}
.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  /* 修正第4弾: 半透明＋blurでフッターCTAブロックの「浮く感じ」を再現 */
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-text);
  box-shadow: 0 4px 14px rgba(40, 40, 35, 0.10);
}
.hero__badge::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--color-olive);
  border-radius: 50%;
  flex: 0 0 6px;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}
.hero__note {
  font-size: 12px;
  color: #2a261f;
  font-weight: 500;
  letter-spacing: 0.04em;
  /* 背景画像と被っても読めるよう二重の白シャドウで縁取り */
  text-shadow: 0 0 4px rgba(255, 255, 255, 0.85), 0 1px 2px rgba(255, 255, 255, 0.6);
}

/* ===== お悩み ===== */
.worry__grid {
  display: grid;
  /* 修正第2弾: 5項目を綺麗に並べる（PC 5列・タブレット 3列・SP 2列） */
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
  justify-content: center;
}
/* SP2列で5項目目だけ下に落ちる対策: 中央配置 */
.worry__grid > .worry__card:nth-child(5) {
  grid-column: span 2;
  max-width: calc(50% - 8px);
  margin: 0 auto;
}
@media (min-width: 640px) {
  .worry__grid { grid-template-columns: repeat(3, 1fr); }
  /* 3列時: 5項目目を中央寄せ（4番目と並べる）→ デフォルトauto配置でOK、リセット */
  .worry__grid > .worry__card:nth-child(5) {
    grid-column: auto;
    max-width: none;
    margin: 0;
  }
}
@media (min-width: 960px) {
  .worry__grid { grid-template-columns: repeat(5, 1fr); }
}
.worry__card {
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  /* 修正第2弾: カード縦短縮 */
  padding: 28px 14px 22px;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.worry__card:hover {
  transform: translateY(-4px);
  border-color: var(--color-olive-soft);
  box-shadow: var(--shadow-md);
}
.worry__num {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 32px;
  background: var(--color-olive);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
}
.worry__text {
  font-size: 15px;
  line-height: 1.65;
  font-weight: 600;
  color: var(--color-text);
  order: 2;
  margin-top: 4px;
  min-height: 0;
}
.worry__icon {
  /* 修正第10弾: アイコン背景に薄ベージュを塗って、市松模様（透過チェック）を回避 */
  width: 140px;
  height: 140px;
  margin: 0;
  order: 1;
  background: var(--color-bg-cream);
  border-radius: 50%;
  padding: 18px;
  object-fit: contain;
}
.worry__intro {
  text-align: center;
  font-size: 15px;
  line-height: 1.9;
  color: var(--color-text-soft);
  max-width: 760px;
  margin: 0 auto 32px;
  text-wrap: balance;
  word-break: auto-phrase;
}

/* ===== 選ばれる理由（写真主役カード型） ===== */
/* 修正第3弾: 中間幅で1枚落ちる現象解消のため、SP=1列・タブレット=2列・PC=4列 固定 */
.reason__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
}
@media (min-width: 560px) {
  .reason__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .reason__grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
}
.reason__card {
  background: #fff;
  border: 1px solid var(--color-olive-pale);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.reason__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
/* 写真エリア（縦短縮: 4:3 → 16:10） */
.reason__photo {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--color-bg-mist);
  position: relative;
}
.reason__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.reason__card:hover .reason__photo img { transform: scale(1.04); }
/* プレースホルダー（画像未配置時の表示） */
.reason__photo--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-bg-mist) 0%, var(--color-olive-pale) 100%);
}
.reason__photo--placeholder::before {
  content: "PHOTO";
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--color-olive-dark);
  opacity: 0.55;
  font-weight: 600;
}
.reason__body-wrap {
  /* 修正第2弾: カード縦短縮 */
  padding: 18px 20px 22px;
  text-align: left;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.reason__num {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--color-olive);
  margin-bottom: 6px;
}
.reason__title {
  font-family: var(--font-jp-serif);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}
.reason__body {
  font-size: 13px;
  line-height: 1.75;
  color: var(--color-text-soft);
  text-wrap: pretty;
  word-break: auto-phrase;
}

/* ===== 代表紹介 ===== */
.about {
  position: relative;
  /* 修正第2弾: 背景色を mist にしてカードとの差を出す（reason=sage, service=cream の間） */
  background: var(--color-bg-mist);
}
/* 修正第5弾: 代表紹介の左右スペース縮小（container広げる） */
.about > .container { max-width: 1320px; }
.about__lead {
  text-align: center;
  font-size: 15px;
  line-height: 1.9;
  color: var(--color-text-soft);
  max-width: 760px;
  margin: 0 auto 60px;
}
.about__intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 1180px;
  margin: 0 auto;
  align-items: center;
}
@media (min-width: 768px) {
  .about__intro {
    /* 修正第6弾: 全体中央寄せ。サブ画像エリアを撤去し、写真+テキストの2カラム化 */
    grid-template-columns: minmax(280px, 380px) minmax(360px, 620px);
    gap: 56px;
    justify-content: center;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
  }
}
/* 修正第6弾: サブ写真は撤去（中央配置のため） */
.about__photo--sub { display: none; }
.about__photo {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-sm);
}
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__photo--sub {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.about__photo--sub img { width: 100%; height: 100%; object-fit: cover; }
/* タブレット以下で 縦長アスペクトをやや調整 + 順序: 写真→テキスト→サブ写真 */
@media (max-width: 767px) {
  .about__photo { aspect-ratio: 4 / 3; max-width: 480px; margin: 0 auto; }
  .about__photo--sub { aspect-ratio: 4 / 3; max-width: 480px; margin: 0 auto; }
}
.about__name-label {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--color-olive);
  margin-bottom: 8px;
}
.about__name {
  font-family: var(--font-jp-serif);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: 24px;
}
.about__text p {
  font-size: 15px;
  line-height: 1.95;
  color: var(--color-text-soft);
  margin-bottom: 18px;
}

.career {
  /* 修正第15弾: 固定列数でウインドウサイズ間バラつき解消 */
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 560px) {
  .career { grid-template-columns: repeat(3, 1fr); }
}
.career__card {
  /* 修正第13弾: 枠は小さく */
  background: #fff;
  border: 1px solid var(--color-olive-pale);
  border-radius: var(--radius-md);
  padding: 16px 10px 14px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.career__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.career__icon {
  /* 修正第11弾: アイコンさらに拡大 */
  width: 180px;
  height: 180px;
  margin: 0 auto 12px;
  background: url('../images/blob_bg.png') center/contain no-repeat;
  border-radius: 0;
  padding: 32px;
  box-shadow: none;
  object-fit: contain;
}
.career__title {
  font-family: var(--font-jp-serif);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}
.career__body {
  font-size: 12px;
  line-height: 1.7;
  color: var(--color-text-soft);
}

/* ===== 対応工事 ===== */
.services__grid {
  /* 修正第15弾: 固定列数（1→2→3） */
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
}
@media (min-width: 640px) { .services__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .services__grid { grid-template-columns: repeat(3, 1fr); } }
.service-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-olive-pale);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.service-card__photo {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.service-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.service-card:hover .service-card__photo img { transform: scale(1.04); }
.service-card__body { padding: 24px 22px 26px; }
.service-card__num {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--color-olive);
  margin-bottom: 6px;
}
.service-card__title {
  font-family: var(--font-jp-serif);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}
.service-card__body p {
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--color-text-soft);
  text-wrap: pretty;
  word-break: auto-phrase;
}

/* ===== 施工イメージ ===== */
.scene__grid {
  /* 修正第15弾: 固定列数（1→3固定3項目のため） */
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}
@media (min-width: 768px) { .scene__grid { grid-template-columns: repeat(3, 1fr); } }
.scene-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.scene-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.scene-card__photo {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.scene-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.scene-card:hover .scene-card__photo img { transform: scale(1.04); }
.scene-card__body { padding: 24px 22px 26px; }
.scene-card__cat {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--color-olive);
  margin-bottom: 4px;
}
.scene-card__title {
  font-family: var(--font-jp-serif);
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 10px;
}
.scene-card__body p {
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--color-text-soft);
  text-wrap: pretty;
  word-break: auto-phrase;
}

/* ===== 対応エリア ===== */
.area__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: center;
}
@media (min-width: 768px) {
  .area__grid {
    grid-template-columns: 5fr 7fr;
    gap: 56px;
  }
}
.area__map {
  text-align: center;
}
.area__map img {
  max-width: 360px;
  width: 100%;
  margin: 0 auto;
}
.area__title {
  font-family: var(--font-jp-serif);
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 18px;
  letter-spacing: 0.04em;
}
.area__title em {
  font-style: normal;
  color: var(--color-emphasize);
  background: linear-gradient(transparent 65%, rgba(184, 119, 58, 0.18) 65%);
  padding: 0 4px;
  font-weight: 700;
}
.area__lead {
  font-size: 14px;
  line-height: 1.9;
  color: var(--color-text-soft);
  margin-bottom: 24px;
}
.area__regions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 480px) {
  .area__regions { grid-template-columns: 1fr 1fr; }
}
.area__region {
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
}
.area__region-name {
  font-family: var(--font-jp-serif);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-olive-dark);
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}
.area__region-cities {
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--color-text-soft);
}

/* ===== ご依頼の流れ（修正第2弾: PC横6列で1画面収納） ===== */
.flow__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}
@media (min-width: 560px) {
  .flow__list { grid-template-columns: repeat(3, 1fr); column-gap: 18px; row-gap: 28px; }
}
@media (min-width: 960px) {
  .flow__list {
    grid-template-columns: repeat(6, 1fr);
    /* 修正第3弾: 矢印用ギャップを広めに確保 */
    column-gap: 22px;
    row-gap: 0;
  }
}
.flow__item {
  background: #fff;
  border: 1px solid var(--color-olive-pale);
  border-radius: var(--radius-md);
  /* 修正第3弾: カード上下padding 縮小（アイコンを大きく + コンパクト化） */
  padding: 24px 10px 14px;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.flow__item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.flow__num {
  /* 修正第5弾: 左上の角まで完全に */
  position: absolute;
  top: 0;
  left: 0;
  transform: none;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md) 0 var(--radius-md) 0;
  background: var(--color-olive);
  color: #fff;
  font-family: var(--font-jp-serif);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0;
  box-shadow: 0 4px 10px rgba(124, 138, 60, 0.30);
}
.flow__icon {
  /* 修正第10弾: アイコン背景に薄ベージュを塗って市松模様回避 */
  width: 110px;
  height: 110px;
  margin: 14px auto 8px;
  background: var(--color-bg-cream);
  border-radius: 50%;
  padding: 16px;
  padding: 0;
}
.flow__title {
  font-family: var(--font-jp-serif);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
  letter-spacing: 0.02em;
  line-height: 1.4;
}
.flow__body {
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--color-text-soft);
  text-wrap: balance;
  word-break: auto-phrase;
}
/* 矢印（PC横並び時）修正第4弾: カード間スペース22pxのちょうど中央に */
.flow__item::after {
  content: "›";
  position: absolute;
  top: 50%;
  /* カード右端から外側に伸ばし、隣のカード手前で止まる。中央寄せ */
  right: -22px;
  transform: translateY(-50%);
  font-family: var(--font-en);
  font-size: 28px;
  font-weight: 300;
  color: var(--color-olive);
  line-height: 1;
  display: none;
  pointer-events: none;
  z-index: 2;
  width: 22px;
  text-align: center;
}
@media (min-width: 960px) {
  .flow__item:not(:last-child)::after { display: block; }
}
/* SP・タブレットでは下向き矢印 */
@media (max-width: 959px) {
  .flow__item:not(:last-child)::after {
    content: "";
    display: none;
  }
}

/* ===== お客様の声 ===== */
.voice__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}
@media (min-width: 640px) { .voice__grid { grid-template-columns: repeat(2, 1fr); } }
.voice-card {
  background: #fff;
  border: 1px solid var(--color-olive-pale);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.voice-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.voice-card__head {
  /* 修正第9弾: avatar + title の2カラム（labelはhead外に出した） */
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.voice-card__head > .voice-card__head-text { min-width: 0; }
.voice-card__avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  /* 修正第10弾: 背景に薄ベージュ塗って市松模様回避 */
  background: var(--color-bg-cream);
  padding: 4px;
  flex: 0 0 88px;
  overflow: hidden;
}
.voice-card__avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.voice-card__head-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
/* 見出し → 年齢ラベルの順で縦並び */
.voice-card__title {
  font-family: var(--font-jp-serif);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: 0.01em;
  color: var(--color-text);
  /* はみ出し対策 */
  overflow-wrap: anywhere;
  word-break: auto-phrase;
  min-width: 0;
  max-width: 100%;
}
.voice-card__label {
  font-size: 11.5px;
  color: var(--color-olive-dark);
  letter-spacing: 0.04em;
  /* head-text内で見出し直下に左寄せ表示 */
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  white-space: nowrap;
  margin: 0;
}
.voice-card__label > span + span::before {
  content: "・";
  margin: 0 6px;
  color: var(--color-line);
  font-weight: 600;
  font-family: var(--font-jp);
  display: inline-flex;
  align-items: center;
}
.voice-card__body {
  /* 修正第11弾: ラベルとbodyの間に横線 */
  font-size: 13.5px;
  line-height: 1.95;
  color: var(--color-text-soft);
  padding-top: 14px;
  border-top: 1px solid var(--color-line-soft);
  text-wrap: pretty;
  word-break: auto-phrase;
}

/* ===== FAQ ===== */
.faq__list {
  max-width: 820px;
  margin: 0 auto;
  border-top: 1px solid var(--color-line);
}
.faq__item {
  border-bottom: 1px solid var(--color-line);
}
.faq__q {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  text-align: left;
  padding: 22px 8px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--color-text);
  cursor: pointer;
  transition: color 0.2s;
}
.faq__q:hover { color: var(--color-olive-dark); }
.faq__q-mark {
  font-family: var(--font-jp-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-olive);
  flex: 0 0 24px;
}
.faq__q-text { flex: 1; min-width: 0; word-break: break-word; }
.faq__toggle {
  flex: 0 0 24px;
  position: relative;
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}
.faq__toggle::before,
.faq__toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--color-olive);
  transition: transform 0.3s ease;
}
.faq__toggle::before { width: 14px; height: 1.5px; transform: translate(-50%, -50%); }
.faq__toggle::after { width: 1.5px; height: 14px; transform: translate(-50%, -50%); }
.faq__item.is-open .faq__toggle::after { transform: translate(-50%, -50%) scaleY(0); }
.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}
.faq__a-inner {
  overflow: hidden;
  font-size: 14px;
  line-height: 1.95;
  color: var(--color-text-soft);
  min-width: 0;
}
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a-body {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 0 8px 22px;
  min-width: 0;
}
.faq__a-body > div {
  flex: 1;
  min-width: 0;
  word-break: break-word;
  overflow-wrap: anywhere;
}
.faq__a-mark {
  font-family: var(--font-jp-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-accent);
  flex: 0 0 24px;
}

/* ===== ブログ ===== */
.blog__grid {
  /* 修正第15弾: 固定列数（1→2→3） */
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
}
@media (min-width: 640px) { .blog__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .blog__grid { grid-template-columns: repeat(3, 1fr); } }
.blog-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-olive-pale);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.blog-card__photo {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.blog-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.blog-card:hover .blog-card__photo img { transform: scale(1.04); }
.blog-card__body {
  padding: 22px 22px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.blog-card__cat {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--color-olive);
  margin-bottom: 8px;
}
.blog-card__title {
  font-family: var(--font-jp-serif);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.55;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}
.blog-card__body p {
  font-size: 13px;
  line-height: 1.85;
  color: var(--color-text-soft);
  flex: 1;
}

/* ===== 最終CTAブロック（画像透過背景） ===== */
.cta-block {
  position: relative;
  padding-top: clamp(80px, 12vw, 140px);
  padding-bottom: clamp(80px, 12vw, 140px);
  overflow: hidden;
  background: #2a2a28;
}
.cta-block__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.cta-block__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.cta-block::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg,
    rgba(28, 28, 26, 0.65) 0%,
    rgba(28, 28, 26, 0.78) 100%);
  pointer-events: none;
}
.cta-block__inner {
  position: relative;
  z-index: 2;
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
  padding: 0 var(--content-padding);
  color: #fff;
}
.cta-block__inner .cta-block__title { color: #fff; }
.cta-block__inner .cta-block__sub { color: rgba(255, 255, 255, 0.88); }
.cta-block__inner .cta-block__label { color: var(--color-olive-pale); }
.cta-block__inner .cta-block__badge {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
  backdrop-filter: blur(4px);
}
.cta-block__inner .cta-block__badge::before {
  background: var(--color-olive-pale);
}
.cta-block__label {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.24em;
  color: var(--color-olive);
  font-weight: 600;
  margin-bottom: 16px;
}
.cta-block__title {
  font-family: var(--font-jp-serif);
  font-size: clamp(22px, 3.6vw, 30px);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}
.cta-block__sub {
  font-size: 14.5px;
  line-height: 1.95;
  color: var(--color-text-soft);
  margin-bottom: 36px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 12px;
  padding-right: 12px;
  text-wrap: balance;
  word-break: auto-phrase;
}
.cta-block__buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 32px;
}
.cta-block__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.cta-block__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  font-size: 12.5px;
  color: var(--color-text);
  letter-spacing: 0.04em;
}
.cta-block__badge::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--color-olive);
  border-radius: 50%;
}

/* セクション末尾の細CTA（小ブロック共通） */
.mini-cta {
  text-align: center;
  margin-top: 48px;
}
.mini-cta__text {
  font-size: 14.5px;
  color: var(--color-text-soft);
  margin-bottom: 16px;
}

/* ===== フッター ===== */
.site-footer {
  background: #1c1c1a;
  color: #cccac3;
  padding-top: 72px;
  padding-bottom: 32px;
  font-size: 14px;
  letter-spacing: 0.04em;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--content-padding) 56px;
  border-bottom: 1px solid #2e2e2b;
}
@media (min-width: 768px) {
  .site-footer__grid { grid-template-columns: 5fr 3fr 4fr; }
}
.site-footer__brand .site-footer__logo {
  font-family: var(--font-jp-serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.10em;
  color: #fff;
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.site-footer__logo-icon {
  width: 36px;
  height: 36px;
  display: block;
  flex-shrink: 0;
  border-radius: 5px;
}
.site-footer__brand p {
  font-size: 13.5px;
  line-height: 1.9;
  color: #9a9892;
  max-width: 360px;
  text-wrap: balance;
  word-break: auto-phrase;
}
.site-footer__heading {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.2em;
  font-weight: 600;
  color: #fff;
  margin-bottom: 18px;
}
.site-footer__nav li { margin-bottom: 10px; }
.site-footer__nav a { color: #cccac3; transition: color 0.2s; }
.site-footer__nav a:hover { color: var(--color-olive-soft); }
.site-footer__info dl { display: grid; grid-template-columns: 70px 1fr; gap: 8px 10px; font-size: 13px; color: #9a9892; }
.site-footer__info dt { color: #fff; }
.site-footer__info dd { word-break: keep-all; overflow-wrap: anywhere; margin: 0; }
.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px var(--content-padding) 0;
  font-size: 12px;
  color: #7c7a76;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 12px;
}
.site-footer__copy { letter-spacing: 0.06em; }
.site-footer__powered {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: inherit;
}
.site-footer__powered a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  padding-bottom: 1px;
  transition: border-color .2s ease;
}
.site-footer__powered a:hover {
  border-bottom-color: rgba(255, 255, 255, 0.5);
}

/* ===== ページヘッダー（下層ページ共通） ===== */
.page-hero {
  padding-top: calc(72px + 64px);
  padding-bottom: 64px;
  background: var(--color-bg-cream);
  text-align: center;
  border-bottom: 1px solid var(--color-line-soft);
}
.page-hero__label {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.24em;
  color: var(--color-olive);
  font-weight: 600;
  margin-bottom: 14px;
}
.page-hero__title {
  font-family: var(--font-jp-serif);
  font-size: clamp(28px, 4.5vw, 40px);
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.page-hero__lead {
  font-size: 15px;
  line-height: 1.95;
  color: var(--color-text-soft);
  max-width: 720px;
  margin: 0 auto;
  padding-left: var(--content-padding);
  padding-right: var(--content-padding);
  text-wrap: balance;
  word-break: auto-phrase;
}

/* ===== 会社概要テーブル（ABOUT） ===== */
.company-table {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  border-collapse: collapse;
  font-size: 14.5px;
}
.company-table th,
.company-table td {
  text-align: left;
  padding: 18px 12px;
  border-bottom: 1px solid var(--color-line);
  line-height: 1.8;
}
.company-table th {
  width: 32%;
  font-weight: 600;
  color: var(--color-olive-dark);
  font-family: var(--font-jp-serif);
  letter-spacing: 0.04em;
  vertical-align: top;
}
.company-table td { color: var(--color-text-soft); }

/* スマホ：会社概要テーブルを縦積みにして横スクロール回避 */
@media (max-width: 559px) {
  .company-table,
  .company-table tbody,
  .company-table tr,
  .company-table th,
  .company-table td {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }
  .company-table tr {
    padding: 14px 4px;
    border-bottom: 1px solid var(--color-line);
  }
  .company-table th,
  .company-table td {
    padding: 0;
    border-bottom: none;
  }
  .company-table th {
    margin-bottom: 4px;
    font-size: 13px;
    letter-spacing: 0.04em;
  }
  .company-table td {
    font-size: 14.5px;
    padding-left: 4px;
    word-break: break-word;
    overflow-wrap: anywhere;
  }
}

/* ===== お問合せフォーム（簡易表示用 / contact未実装でも形だけ） ===== */
.form-block {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  padding: clamp(28px, 5vw, 48px);
}
.form-row { margin-bottom: 22px; }
.form-row label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}
.form-row input,
.form-row textarea {
  width: 100%;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 16px;
  background: var(--color-bg-cream);
  transition: border-color 0.2s, background 0.2s;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--color-olive);
  background: #fff;
}
.form-row textarea { min-height: 140px; resize: vertical; }

/* ===== ユーティリティ ===== */
/* JS有効時のみ初期非表示にする（no-jsでも崩れないように） */
.js-on .fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.js-on .fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .fade-in { opacity: 1; transform: none; }
}

/* ===== モバイル微調整 ===== */
@media (max-width: 600px) {
  .hero { min-height: 100svh; }
  .hero__inner { padding-top: 100px; padding-bottom: 40px; }
  .hero__badges { gap: 6px; }
  .hero__badge { font-size: 11.5px; padding: 6px 10px; }
  .hero__cta { width: 100%; }
  .hero__cta .btn { flex: 1 1 calc(50% - 6px); padding: 0 18px; font-size: 14px; }
  .worry__num { width: 28px; height: 28px; top: -10px; font-size: 11px; }
  /* 修正第3弾: SP も少し大きく */
  .worry__icon { width: 105px; height: 105px; }
  .career__icon { width: 100px; height: 100px; }
  .flow__icon { width: 92px; height: 92px; }
  .flow__num { width: 36px; height: 36px; font-size: 18px; top: -16px; }
  .flow__item { padding: 22px 10px 14px; }
  .flow__title { font-size: 13px; }
  .flow__body { font-size: 11.5px; }
  .section { padding-top: 56px; padding-bottom: 56px; }
  .voice-card { padding: 22px 18px; }
  .voice-card__head { gap: 14px; padding-bottom: 14px; }
  .voice-card__avatar { width: 72px; height: 72px; flex: 0 0 72px; }
  .voice-card__title { font-size: 14px; }
  .voice-card__label { font-size: 10.5px; }
}

/* ===== ヘッダーの背景が透明状態（ヒーロー上） ===== */
.site-header.is-transparent {
  background: rgba(255, 255, 255, 0.0);
  backdrop-filter: none;
  border-bottom-color: transparent;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom-color: rgba(40, 40, 35, 0.14);
}

/* === ヒーロー CTA 強調（無料相談ボタンをより大きく） === */
.hero__cta .btn--primary {
  min-height: 60px;
  font-size: 16px;
  padding: 0 32px;
}

/* === AREA 強調（三重県全域対応） === */
.area__title em {
  font-style: normal;
  color: var(--color-emphasize);
  background: linear-gradient(transparent 62%, rgba(184, 119, 58, 0.22) 62%);
  padding: 0 4px;
  font-weight: 700;
}

/* === ヒーロー CTA ボタン立体感（修正第3弾） === */
.hero__cta .btn {
  /* 修正第5弾: 陰を強くしてボタンを立体的に */
  box-shadow: 0 10px 24px rgba(40, 40, 35, 0.18), 0 2px 6px rgba(40, 40, 35, 0.10);
}
.hero__cta .btn:hover {
  box-shadow: 0 14px 28px rgba(40, 40, 35, 0.22), 0 4px 8px rgba(40, 40, 35, 0.12);
  transform: translateY(-2px);
}
.hero__cta .btn--primary {
  box-shadow: 0 10px 24px rgba(200, 117, 56, 0.40), 0 2px 6px rgba(200, 117, 56, 0.20);
}
.hero__cta .btn--primary:hover {
  box-shadow: 0 14px 28px rgba(200, 117, 56, 0.50), 0 4px 8px rgba(200, 117, 56, 0.24);
}

/* === FAQ「FAQから無料相談へ」など、暗背景でないsection内のolive-on-darkを安全側で扱う === */
/* （上で--olive-on-darkも通常状態オリーブ統一済み） */

/* === ヒーロー上のサブボタン（btn--ghost）はもともと明背景前提なのでOK === */

/* === キャッシュバスター: 2026-05-22 03:00 修正第3弾 === */
/* === キャッシュバスター: 2026-05-22 修正第4弾（メインAI直接編集） === */
/* === キャッシュバスター: 2026-05-22 修正第5弾（メインAI直接編集） === */
/* === キャッシュバスター: 2026-05-22 修正第6弾（メインAI直接編集） === */
/* === キャッシュバスター: 2026-05-22 修正第7弾（メインAI直接編集） === */
/* === キャッシュバスター: 2026-05-22 修正第8弾（メインAI直接編集） === */
/* === キャッシュバスター: 2026-05-22 修正第9弾（メインAI直接編集） === */
/* === キャッシュバスター: 2026-05-22 修正第10弾（メインAI直接編集） === */
/* === キャッシュバスター: 2026-05-22 修正第11弾（メインAI直接編集） === */
/* === キャッシュバスター: 2026-05-22 修正第12弾（メインAI直接編集） === */
/* === キャッシュバスター: 2026-05-22 修正第13弾（メインAI直接編集） === */
/* === キャッシュバスター: 2026-05-22 修正第14弾（メインAI直接編集） === */
/* === 修正第15弾: ウインドウ幅対応強化 === */
/* 見出し改行最適化（text-wrap: balance） */
.section-head__title,
.hero__headline,
.page-hero__title,
.scene-card__title,
.career__title,
.flow__title,
.voice-card__title,
.blog-card__title,
.faq__q-text,
.area__title,
.cta-block__title {
  text-wrap: balance;
  word-break: auto-phrase;
}
/* 全テキストの折り返し（横スクロール対策・anywhereより穏やかなbreak-word） */
body {
  overflow-wrap: break-word;
}
/* 長文の本文・リストアイテムは break-word 強化（英文URL等を保護） */
p, li, dd {
  overflow-wrap: break-word;
  word-break: normal;
}
/* === キャッシュバスター: 2026-05-22 修正第15弾（メインAI直接編集） === */
/* === キャッシュバスター: 2026-05-22 修正第16弾（メインAI直接編集） === */
/* === キャッシュバスター: 2026-05-22 修正第17弾: DEMOバナーを最上部固定 === */
/* === キャッシュバスター: 2026-05-22 修正第18弾: Y2と表記・スタイル統一 === */
/* === キャッシュバスター: 2026-05-22 修正第19弾: バナー色をオリーブに === */

/* === 2026-06-17 修正: ハワイ実績 / 予算目安 / 会社概要サブ表記 === */
/* ===== ハワイでの実績（company.html） ===== */
.hawaii-experience {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 40px;
}
.hawaii-experience__text p {
  font-size: 16px;
  line-height: 2.0;
  color: var(--text, #2a261f);
  margin: 0 0 14px;
  text-wrap: pretty;
  word-break: auto-phrase;
}
.hawaii-experience__image {
  margin: 0;
}
.hawaii-experience__image img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid #d8d4cc;
  background: #faf8f4;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}
.hawaii-experience__image figcaption {
  margin-top: 12px;
  font-size: 13px;
  color: #6c6356;
  text-align: center;
  letter-spacing: 0.05em;
}
@media (max-width: 768px) {
  .hawaii-experience {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 24px;
  }
}

/* ===== ご予算の目安（services.html） ===== */
.budget-guide {
  text-align: center;
  padding: 32px 24px;
  max-width: 720px;
  margin: 40px auto 0;
}
.budget-guide__main {
  font-size: 24px;
  line-height: 1.6;
  color: var(--text, #2a261f);
  margin: 0 0 16px;
}
.budget-guide__main strong {
  font-size: 34px;
  color: #6b7d3a;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.budget-guide__note {
  font-size: 15px;
  color: #6c6356;
  line-height: 1.8;
  margin: 0;
  text-wrap: balance;
  word-break: auto-phrase;
}
@media (max-width: 768px) {
  .budget-guide {
    padding: 24px 16px;
    margin-top: 24px;
  }
  .budget-guide__main {
    font-size: 20px;
  }
  .budget-guide__main strong {
    font-size: 28px;
  }
}

/* ===== 会社概要テーブル サブ表記（周辺県の補足） ===== */
.company-table__sub {
  display: inline-block;
  margin-top: 6px;
  font-size: 13px;
  color: #6c6356;
  line-height: 1.7;
}

/* ===== 対応エリア: ※注釈の控えめスタイル ===== */
.area__region-note {
  display: inline-block;
  margin-top: 4px;
  font-size: 12px;
  color: #8a7d6e;
  line-height: 1.7;
}

/* ===== 対応エリア: 地図カラムは画像のみ ===== */
.area__map img {
  max-width: 360px;
  width: 100%;
  margin: 0 auto;
  display: block;
  border: 1px solid #d8d4cc;
  background: #ffffff;
}

/* ===== 対応エリア イントロ（見出しの直下） ===== */
.area__intro {
  margin: 0 auto 32px;
  max-width: 720px;
  text-align: center;
}
.area__intro .area__title {
  text-align: center;
  margin-bottom: 14px;
}
.area__intro .area__lead {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  text-wrap: balance;
  word-break: auto-phrase;
}
@media (max-width: 768px) {
  .area__intro {
    margin-bottom: 24px;
  }
}

/* ===== 代表メッセージ（company.html） ===== */
.message {
  max-width: 720px;
  margin: 40px auto 0;
  font-size: 16px;
  line-height: 2.0;
  color: var(--text, #2a261f);
}
.message p { margin: 0 0 18px; text-wrap: pretty; word-break: auto-phrase; }
.message__lead {
  font-family: var(--font-jp-serif);
  font-size: 22px;
  font-weight: 600;
  text-align: center;
  margin: 0 0 32px;
  letter-spacing: 0.04em;
  color: #6b7d3a;
}
.message__signature {
  text-align: right;
  font-family: var(--font-jp-serif);
  font-size: 15px;
  margin-top: 24px;
  color: #6c6356;
}
@media (max-width: 768px) {
  .message { font-size: 15px; line-height: 1.95; margin-top: 24px; }
  .message__lead { font-size: 18px; margin-bottom: 24px; }
}
