/* ==========================================================================
   伊成堂 コーポレートサイト共通スタイル

   ▼このファイルの読み方(サイト運営者の方へ)
   一番上の :root { ... } が「色や影の設定リスト」です。
   ここの値を1か所変えるだけで、サイト全体の見た目が一括で変わります。
   個別の場所だけ直したいときは、下の各セクション(ヘッダー/ヒーロー/カード…)を編集してください。
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. 設定リスト(色・影・角丸)
   -------------------------------------------------------------------------- */
:root {
  /* ブランドカラー(青〜紺系のみ。ルール上、別系統の色は足しません) */
  --color-primary: #2c5f9e;
  --color-primary-dark: #1e4470;
  --color-primary-deep: #10233f;   /* 最も濃い紺。フッターやCTAの奥行き用 */
  --color-primary-light: #6fa8dc;
  --color-accent: #a8c8e8;
  --color-accent-soft: #dce9f7;

  /* 背景と文字 */
  --color-bg: #fafbfd;
  --color-bg-soft: #f1f5fa;
  --color-bg-tint: #eaf1fa;
  --color-white: #ffffff;
  --color-text: #24344d;
  --color-text-soft: #5b6b84;
  --color-text-muted: #8a97ad;
  --color-border: #e2e8f2;
  --color-border-soft: #edf1f8;

  /* グラデーション(色の移り変わり。立体感を出すために使います) */
  --gradient-brand: linear-gradient(135deg, #4a83c4 0%, #2c5f9e 48%, #1e4470 100%);
  --gradient-deep: linear-gradient(140deg, #24558c 0%, #1a3c67 55%, #10233f 100%);
  --gradient-sky: linear-gradient(180deg, #e7effa 0%, var(--color-bg) 68%);
  --gradient-hairline: linear-gradient(90deg, transparent, var(--color-accent), transparent);

  /* 影(数字が大きいほど浮いて見える) */
  --shadow-xs: 0 1px 2px rgba(20, 48, 84, 0.05);
  --shadow-sm: 0 4px 14px -6px rgba(20, 48, 84, 0.14);
  --shadow: 0 10px 30px rgba(44, 95, 158, 0.08);
  --shadow-md: 0 18px 40px -18px rgba(21, 54, 97, 0.32);
  --shadow-lg: 0 36px 70px -30px rgba(16, 42, 78, 0.42);
  --shadow-brand: 0 14px 28px -14px rgba(30, 68, 112, 0.75);

  /* 文字の書体 */
  --font-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --font-en: "Poppins", var(--font-jp);

  /* 角丸の大きさ */
  --radius-sm: 12px;
  --radius: 16px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  /* 動きの緩急 */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* 余白の基準。画面の幅に合わせて自動で伸び縮みします
     (clamp = 最小値, 画面幅に応じた値, 最大値 の順) */
  --space-section: clamp(74px, 7.4vw, 112px);   /* セクションの上下余白 */
  --space-gap: clamp(20px, 2.2vw, 30px);        /* カード同士のすき間 */
  --space-head: clamp(40px, 4.6vw, 62px);       /* 見出しと中身のすき間 */

  --container-width: 1160px;
}

/* --------------------------------------------------------------------------
   2. 基本設定
   -------------------------------------------------------------------------- */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px; /* 固定ヘッダーの下に隠れないように */
}

body {
  margin: 0;
  font-family: var(--font-jp);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.9;
  letter-spacing: 0.02em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* 画面全体にうっすら光を敷いて、のっぺり感をなくす(装飾のみ) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(900px 520px at 8% -12%, rgba(111, 168, 220, 0.20), transparent 62%),
    radial-gradient(760px 460px at 96% 2%, rgba(168, 200, 232, 0.18), transparent 64%);
}

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

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

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

h1, h2, h3, h4 {
  font-family: var(--font-en);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.02em;
  margin: 0;
  color: var(--color-primary-dark);
  /* 日本語のかっこや句読点のすき間を詰め、見出しを締まって見せます */
  font-feature-settings: "palt" 1;
  /* 見出しが2行になったとき、上下の行の長さを自動でそろえます */
  text-wrap: balance;
}

p {
  margin: 0;
  /* 最後の1行に単語がぽつんと残るのを避けます(対応ブラウザのみ) */
  text-wrap: pretty;
}

::selection {
  background: var(--color-accent);
  color: var(--color-primary-deep);
}

/* キーボード操作時に「今どこを選んでいるか」を分かりやすく */
:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: 6px;
}

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

/* --------------------------------------------------------------------------
   3. ヘッダー
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 251, 253, 0.72);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

/* 少しスクロールすると、ヘッダーが白く締まって影がつく */
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.88);
  border-bottom-color: var(--color-border-soft);
  box-shadow: 0 10px 30px -22px rgba(16, 42, 78, 0.8);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: var(--container-width);
  margin: 0 auto;
  transition: padding 0.3s var(--ease);
}

.site-header.is-scrolled .site-header__inner {
  padding: 12px 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand__logo {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
  transition: transform 0.35s var(--ease);
}

.brand:hover .brand__logo {
  transform: translateY(-2px) rotate(-2deg);
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand__name {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  letter-spacing: 0.06em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav__list {
  display: flex;
  gap: 34px;
}

.nav__list a {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--color-text);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}

.nav__list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--gradient-brand);
  transition: width 0.3s var(--ease);
}

.nav__list a:hover,
.nav__list a[aria-current="page"] {
  color: var(--color-primary);
}

.nav__list a:hover::after,
.nav__list a[aria-current="page"]::after {
  width: 100%;
}

.nav__cta {
  background: var(--gradient-brand);
  color: var(--color-white) !important;
  padding: 11px 26px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  box-shadow: var(--shadow-brand);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), filter 0.25s ease;
}

.nav__cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 18px 32px -14px rgba(30, 68, 112, 0.9);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--color-primary-dark);
  transition: transform 0.3s var(--ease), opacity 0.25s ease;
}

/* --------------------------------------------------------------------------
   4. ヒーロー(トップページ最上部の大きな見出しエリア)

   ※以前あった「グラフ風の絵」は削除しました。実際の数値ではない図を
     載せるより、対応領域のラベルを並べたほうが伝わる、という判断です。
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(78px, 9.5vw, 130px) 0 clamp(86px, 10vw, 138px);
  background: var(--gradient-sky);
  text-align: center;
}

/* 背景の装飾(ぼんやりした光の玉と方眼)。意味はなく飾りです */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero__blob {
  position: absolute;
  display: block;
  border-radius: 50%;
  filter: blur(6px);
  animation: float 16s ease-in-out infinite;
}

.hero__blob--1 {
  width: 560px;
  height: 560px;
  background: radial-gradient(circle at 32% 30%, rgba(180, 210, 240, 0.62), transparent 68%);
  top: -220px;
  right: -180px;
}

.hero__blob--2 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle at 40% 40%, rgba(215, 231, 248, 0.85), transparent 70%);
  bottom: -170px;
  left: -150px;
  animation-delay: -6s;
}

/* うっすらした方眼。上部だけ見えて下にいくほど消えます */
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(44, 95, 158, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(44, 95, 158, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(110% 74% at 50% 0%, #000 0%, transparent 72%);
  mask-image: radial-gradient(110% 74% at 50% 0%, #000 0%, transparent 72%);
}

@keyframes float {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50%      { transform: translate3d(0, -26px, 0) scale(1.06); }
}

/* 見出しから対応領域までを、画面中央に細めの幅で収めます */
.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(2.15rem, 4.6vw, 3.4rem);
  font-weight: 700;
  line-height: 1.36;
  letter-spacing: 0.005em;
  color: var(--color-primary-deep);
  margin-bottom: 30px;
}

/* 見出しの強調部分は、文字自体にグラデーションをかけています */
.hero h1 span {
  background: linear-gradient(120deg, #3f7cc0 0%, #2c5f9e 45%, #1e4470 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  font-size: 1.06rem;
  line-height: 1.95;
  color: var(--color-text-soft);
  max-width: 720px;
  margin: 0 auto 40px;
}

.hero__actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* 対応領域のラベル帯(ヒーロー下部) */
.hero__tags {
  position: relative;
  margin-top: 52px;
  padding-top: 32px;
}

/* 区切り線。中央だけ色がつき、両端に向かって消えていく細い線です */
.hero__tags::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, 460px);
  height: 1px;
  background: var(--gradient-hairline);
}

.hero__tags-label {
  display: block;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

.hero__tag-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 12px;
}

/* ラベル1つ分の見た目 */
.hero__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-xs);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  white-space: nowrap;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s ease;
}

.hero__chip::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gradient-brand);
  flex-shrink: 0;
}

.hero__chip:hover {
  transform: translateY(-2px);
  border-color: var(--color-accent);
  box-shadow: var(--shadow-sm);
}

/* --------------------------------------------------------------------------
   5. ボタン
   -------------------------------------------------------------------------- */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 34px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
              background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn--primary {
  background: var(--gradient-brand);
  color: var(--color-white);
  box-shadow: var(--shadow-brand);
}

/* マウスを乗せると光がすっと横切る演出 */
.btn--primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  transform: skewX(-18deg);
  transition: left 0.6s var(--ease);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 40px -16px rgba(30, 68, 112, 0.85);
}

.btn--primary:hover::after {
  left: 130%;
}

.btn--outline {
  background: rgba(255, 255, 255, 0.86);
  color: var(--color-primary-dark);
  border-color: var(--color-border);
  box-shadow: var(--shadow-xs);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.btn--outline:hover {
  border-color: var(--color-accent);
  color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* --------------------------------------------------------------------------
   6. セクション共通(各ブロックの余白と見出し)
   -------------------------------------------------------------------------- */
.section {
  position: relative;
  padding: var(--space-section) 0;
}

.section--soft {
  background: var(--color-bg-soft);
  border-top: 1px solid var(--color-border-soft);
  border-bottom: 1px solid var(--color-border-soft);
}

.section-head {
  max-width: 720px;
  margin: 0 auto var(--space-head);
  text-align: center;
}

.section-head .eyebrow {
  margin-bottom: 20px;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3.1vw, 2.25rem);
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-primary-deep);
  margin-bottom: 20px;
}

.section-head p {
  color: var(--color-text-soft);
  line-height: 1.95;
}

/* 見出しを左寄せにしたいとき(「左に見出し・右に一覧」の並びで使います) */
.section-head--left {
  max-width: 100%;
  margin: 0;
  text-align: left;
}

/* 見出しの下にカードを置かず、文章だけで終えるセクション用(下の余白をなくす) */
.section-head--tight {
  margin-bottom: 0;
}

/* セクションの下に置くボタン(「詳しく見る」など)の位置決め */
.section-actions {
  margin-top: 44px;
  text-align: center;
}

/* 小見出しラベル(SERVICES など)。左に小さな点がつきます */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-en);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--color-border);
  padding: 8px 18px;
  border-radius: 999px;
  box-shadow: var(--shadow-xs);
  margin-bottom: 24px;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gradient-brand);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   7. カード(サービス紹介などの箱)
   -------------------------------------------------------------------------- */
.grid {
  display: grid;
  gap: var(--space-gap);
}

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

/* 左右の高さが違う2列を、上端でそろえたいとき(お問い合わせページで使用) */
.grid--top {
  align-items: flex-start;
}

.card {
  position: relative;
  overflow: hidden;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 2.9vw, 38px) clamp(24px, 2.6vw, 34px);
  box-shadow: var(--shadow-xs);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s ease;
}

/* 上辺のカラーライン。マウスを乗せたときに左から伸びます */
.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}

/* 右上のぼんやりした光 */
.card::after {
  content: "";
  position: absolute;
  top: -45%;
  right: -30%;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(111, 168, 220, 0.18), transparent 70%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--color-accent-soft);
  box-shadow: var(--shadow-md);
}

.card:hover::before {
  transform: scaleX(1);
}

.card:hover::after {
  opacity: 1;
}

.card > * {
  position: relative;
  z-index: 1;
}

.card__icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: var(--gradient-brand);
  box-shadow: var(--shadow-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--color-white);
  transition: transform 0.35s var(--ease);
}

.card:hover .card__icon {
  transform: translateY(-3px) scale(1.05);
}

.card__icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--color-white);
}

.card h3 {
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.62;
  margin-bottom: 14px;
}

.card p {
  color: var(--color-text-soft);
  font-size: 0.95rem;
  line-height: 1.88;
}

/* カード上部の小さなラベル(「中核領域」「01」など) */
.card__num {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-en);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  background: var(--color-bg-tint);
  border: 1px solid var(--color-accent-soft);
  padding: 5px 13px;
  border-radius: 999px;
  margin-bottom: 16px;
}

/* --------------------------------------------------------------------------
   7-2. 「左に見出し・右に一覧」のレイアウト(トップページの対応領域で使用)

   カードを3列に並べるブロックが続くと単調に見えるため、
   ここだけ並び方を変えてリズムをつけています。
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 5vw, 64px);
  align-items: start;
}

/* 左の見出しは、スクロールしてもしばらく見えたままになります */
.split > .section-head {
  position: sticky;
  top: 116px;
  margin-bottom: 0;
}

/* 領域を1行ずつ並べた一覧 */
.domain-list {
  display: grid;
  gap: 2px;
}

.domain {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 26px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease, transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.domain:hover {
  background: var(--color-white);
  border-color: var(--color-border);
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}

/* 「中核」「対応」などの小さなラベル */
.domain__label {
  flex-shrink: 0;
  min-width: 72px;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-text-soft);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  padding: 5px 10px;
  border-radius: 999px;
  margin-top: 5px;
}

/* 中核領域だけ、色を濃くして目立たせています */
.domain__label--core {
  color: var(--color-white);
  background: var(--gradient-brand);
  border-color: transparent;
  box-shadow: var(--shadow-brand);
}

.domain__body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.domain__body p {
  color: var(--color-text-soft);
  font-size: 0.93rem;
  line-height: 1.86;
}

/* --------------------------------------------------------------------------
   8. CTA帯(「お問い合わせください」の濃紺のブロック)
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--gradient-deep);
  border-radius: var(--radius-xl);
  padding: clamp(56px, 6vw, 82px) clamp(26px, 4.2vw, 56px);
  text-align: center;
  color: var(--color-white);
  box-shadow: var(--shadow-lg);
}

/* 中の光と細かい点模様(奥行きを出す飾り) */
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(560px 300px at 12% -10%, rgba(111, 168, 220, 0.42), transparent 62%),
    radial-gradient(460px 280px at 92% 108%, rgba(168, 200, 232, 0.28), transparent 64%);
  pointer-events: none;
}

.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.5;
  -webkit-mask-image: radial-gradient(90% 90% at 50% 50%, #000, transparent 78%);
  mask-image: radial-gradient(90% 90% at 50% 50%, #000, transparent 78%);
  pointer-events: none;
}

.cta-band > * {
  position: relative;
  z-index: 1;
}

.cta-band .eyebrow {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--color-white);
  box-shadow: none;
}

.cta-band .eyebrow::before {
  background: var(--color-accent);
}

.cta-band h2 {
  color: var(--color-white);
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  font-weight: 700;
  margin-bottom: 18px;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 34px;
}

.cta-band .btn--primary {
  background: var(--color-white);
  color: var(--color-primary-dark);
  box-shadow: 0 18px 34px -16px rgba(0, 0, 0, 0.6);
}

.cta-band .btn--primary:hover {
  background: var(--color-bg-soft);
  box-shadow: 0 24px 44px -18px rgba(0, 0, 0, 0.7);
}

/* --------------------------------------------------------------------------
   9. ページ見出し(会社概要・事業内容などの上部)
   -------------------------------------------------------------------------- */
.page-header {
  position: relative;
  overflow: hidden;
  padding: clamp(84px, 8.4vw, 112px) 0 clamp(60px, 6.4vw, 86px);
  background: var(--gradient-sky);
  text-align: center;
}

.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(44, 95, 158, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(44, 95, 158, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(110% 80% at 50% 0%, #000 0%, transparent 74%);
  mask-image: radial-gradient(110% 80% at 50% 0%, #000 0%, transparent 74%);
  pointer-events: none;
}

.page-header::after {
  content: "";
  position: absolute;
  width: 440px;
  height: 440px;
  top: -230px;
  right: -120px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(180, 210, 240, 0.7), transparent 68%);
  pointer-events: none;
}

.page-header .container {
  position: relative;
  z-index: 1;
}

.page-header .eyebrow {
  margin-bottom: 22px;
}

.page-header h1 {
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--color-primary-deep);
}

.page-header p {
  margin-top: 20px;
  line-height: 1.95;
  color: var(--color-text-soft);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* --------------------------------------------------------------------------
   10. 会社概要などの表
   -------------------------------------------------------------------------- */
.info-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.info-table tr {
  transition: background 0.25s ease;
}

.info-table tr:hover {
  background: rgba(234, 241, 250, 0.5);
}

.info-table th,
.info-table td {
  text-align: left;
  vertical-align: top;
  padding: 22px 32px;
  font-size: 0.95rem;
  line-height: 1.9;
  border-bottom: 1px solid var(--color-border-soft);
}

.info-table tr:last-child th,
.info-table tr:last-child td {
  border-bottom: none;
}

.info-table th {
  width: 200px;
  color: var(--color-primary-dark);
  font-weight: 600;
  background: linear-gradient(180deg, var(--color-bg-soft), rgba(241, 245, 250, 0.6));
  border-right: 1px solid var(--color-border-soft);
}

.info-table td {
  color: var(--color-text-soft);
}

/* --------------------------------------------------------------------------
   10-2. 代表挨拶(左に文章・右に肩書きの表)
   -------------------------------------------------------------------------- */
.message {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 3.4vw, 44px);
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

/* 段落と段落のあいだの空き */
.message__body p + p {
  margin-top: 22px;
}

.message__body p {
  color: var(--color-text-soft);
}

/* --------------------------------------------------------------------------
   11. フロー(ご支援の流れ)
   -------------------------------------------------------------------------- */
.flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.flow__step {
  position: relative;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: var(--shadow-xs);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.flow__step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

/* ステップ同士をつなぐ線 */
.flow__step::after {
  content: "";
  position: absolute;
  top: 52px;
  right: -24px;
  width: 24px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent), rgba(168, 200, 232, 0));
}

.flow__step:last-child::after {
  display: none;
}

.flow__step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 15px;
  background: var(--gradient-brand);
  color: var(--color-white);
  box-shadow: var(--shadow-brand);
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 18px;
}

.flow__step h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.flow__step p {
  font-size: 0.88rem;
  line-height: 1.85;
  color: var(--color-text-soft);
}

/* --------------------------------------------------------------------------
   12. お問い合わせフォーム
   -------------------------------------------------------------------------- */
.form {
  position: relative;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: clamp(30px, 3.6vw, 48px);
  box-shadow: var(--shadow-md);
}

.form__row {
  margin-bottom: 26px;
}

.form__row label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 10px;
  color: var(--color-primary-dark);
}

.form__row .required {
  display: inline-block;
  color: #b3261e;
  background: #fdecea;
  border: 1px solid #f6d3cf;
  font-size: 0.68rem;
  line-height: 1.6;
  padding: 1px 8px;
  border-radius: 999px;
  margin-left: 8px;
  font-weight: 600;
  vertical-align: 2px;
}

.form__row input,
.form__row select,
.form__row textarea {
  width: 100%;
  padding: 15px 17px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-jp);
  font-size: 0.95rem;
  color: var(--color-text);
  background: #fbfcfe;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.form__row input::placeholder,
.form__row textarea::placeholder {
  color: var(--color-text-muted);
}

.form__row input:hover,
.form__row select:hover,
.form__row textarea:hover {
  border-color: var(--color-accent);
}

.form__row input:focus,
.form__row select:focus,
.form__row textarea:focus {
  outline: none;
  border-color: var(--color-primary-light);
  box-shadow: 0 0 0 4px rgba(111, 168, 220, 0.22);
  background: var(--color-white);
}

.form__row textarea {
  resize: vertical;
  min-height: 170px;
}

.form__note {
  font-size: 0.85rem;
  color: var(--color-text-soft);
  margin-bottom: 30px;
}

.form__submit {
  width: 100%;
  border: none;
  cursor: pointer;
  justify-content: center;
  font-size: 1rem;
  padding: 17px 34px;
}

/* ハニーポット: スパムボット対策の隠しフィールド。人間の目には触れない */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-error {
  background: #fdecea;
  border: 1px solid #f3c2bd;
  color: #b3261e;
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-size: 0.9rem;
  margin-bottom: 24px;
}

/* --------------------------------------------------------------------------
   13. 連絡先カード
   -------------------------------------------------------------------------- */
.contact-info {
  display: grid;
  gap: 18px;
}

.contact-info__item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-xs);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.3s ease;
}

.contact-info__item:hover {
  transform: translateY(-6px);
  border-color: var(--color-accent-soft);
  box-shadow: var(--shadow-md);
}

.contact-info__icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 15px;
  background: var(--gradient-brand);
  box-shadow: var(--shadow-brand);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info__icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--color-white);
}

.contact-info__item h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.contact-info__item p {
  color: var(--color-text-soft);
  font-size: 0.9rem;
}

/* --------------------------------------------------------------------------
   14. フッター
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--gradient-deep);
  color: rgba(255, 255, 255, 0.8);
  padding: 88px 0 32px;
}

/* 上辺の細い光の線 */
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(168, 200, 232, 0.6), transparent);
}

.site-footer::after {
  content: "";
  position: absolute;
  width: 620px;
  height: 620px;
  top: -380px;
  right: -180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(111, 168, 220, 0.22), transparent 68%);
  pointer-events: none;
}

.site-footer .container {
  position: relative;
  z-index: 1;
}

.footer__top {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.footer__brand .brand__name {
  color: var(--color-white);
}

.footer__brand .brand__logo {
  box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.8);
}

.footer__brand p {
  margin-top: 18px;
  font-size: 0.88rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.65);
  max-width: 380px;
}

.footer__nav {
  display: flex;
  gap: 72px;
  flex-wrap: wrap;
}

.footer__nav-col h5 {
  font-family: var(--font-en);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin: 0 0 18px;
  font-weight: 600;
}

.footer__nav-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__nav-col a {
  position: relative;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.82);
  transition: color 0.2s ease, padding-left 0.25s var(--ease);
}

.footer__nav-col a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 0;
  height: 1px;
  background: var(--color-accent);
  transition: width 0.25s var(--ease);
}

.footer__nav-col a:hover {
  color: var(--color-white);
  padding-left: 14px;
}

.footer__nav-col a:hover::before {
  width: 8px;
}

.footer__bottom {
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.45);
}

/* --------------------------------------------------------------------------
   15. スクロールで内容がふわっと現れる動き
        (JavaScriptが動く環境でのみ適用。無効でも内容は普通に表示されます)
   -------------------------------------------------------------------------- */
.js-anim [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
}

.js-anim [data-reveal].is-visible {
  opacity: 1;
  transform: none;
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
  transition-delay: calc(var(--reveal-i, 0) * 90ms);
}

/* --------------------------------------------------------------------------
   16. 画面幅に応じた調整(タブレット・スマートフォン)
   -------------------------------------------------------------------------- */
@media (max-width: 1040px) {
  /* 「左に見出し・右に一覧」は、幅が狭いと窮屈なので上下2段にします */
  .split {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .split > .section-head {
    position: static;
  }

  .split > .section-head br {
    display: none;
  }
}

@media (max-width: 900px) {
  .grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .flow {
    grid-template-columns: repeat(2, 1fr);
  }

  .flow__step::after {
    display: none;
  }

  .footer__nav {
    gap: 44px;
  }
}

@media (max-width: 760px) {
  /* スマートフォンではメニューをハンバーガーボタンで開閉 */
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.97);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--color-border);
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
    gap: 22px;
    transform: translateY(-140%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.35s var(--ease), opacity 0.3s ease, visibility 0.3s;
    box-shadow: var(--shadow-md);
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav__list {
    flex-direction: column;
    gap: 18px;
  }

  .nav__cta {
    text-align: center;
    justify-content: center;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle.is-active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero__tags {
    margin-top: 48px;
    padding-top: 28px;
  }

  .hero__chip {
    font-size: 0.76rem;
    padding: 8px 14px;
  }

  .domain {
    padding: 20px 18px;
    gap: 14px;
  }

  .grid--3,
  .grid--2,
  .message {
    grid-template-columns: 1fr;
  }

  .flow {
    grid-template-columns: 1fr;
  }

  .cta-band {
    border-radius: var(--radius-lg);
  }

  .info-table th {
    width: 128px;
    padding: 16px 16px;
    font-size: 0.84rem;
  }

  .info-table td {
    padding: 16px 16px;
    font-size: 0.84rem;
  }

  .form {
    border-radius: var(--radius-lg);
  }

  .site-footer {
    padding: 64px 0 28px;
  }

  .footer__top {
    flex-direction: column;
    gap: 32px;
  }
}

/* --------------------------------------------------------------------------
   17. 動きを減らす設定にしている方への配慮
        (OS側で「視差効果を減らす」を有効にしている場合、アニメーションを止めます)
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .js-anim [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
