/* ============================================================
   浅田会計事務所 — 共通スタイルシート
   Design Reference: creos.co.jp
   ============================================================ */

/* ---------- CSS カスタムプロパティ ---------- */
:root {
  --navy:       #0d1f3c;
  --navy-light: #162847;
  --navy-mid:   #1a3358;
  --accent:     #c9a84c;       /* ゴールドアクセント（士業品格） */
  --white:      #ffffff;
  --gray-bg:    #f5f6f8;
  --gray-mid:   #e8eaed;
  --gray-text:  #6b7280;
  --body-text:  #1f2937;
  --sidebar-w:  80px;
  --nav-h:      72px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --font-en:    'Cormorant Garamond', 'Georgia', serif;
  --font-ja:    'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
}

/* ---------- リセット & ベース ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-ja);
  font-weight: 400;
  color: var(--body-text);
  background: var(--white);
  overflow-x: hidden;
}

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

/* ---------- レイアウト骨格 ---------- */
/* サイドバー */
.site-sidebar {
  position: fixed;
  top: 0; left: 0;
  width: var(--sidebar-w);
  height: 100vh;
  background: var(--navy);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0 36px;
}

.sidebar-logo {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  color: var(--white);
  font-family: var(--font-en);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  line-height: 1;
}

.sidebar-scroll {
  writing-mode: vertical-rl;
  color: rgba(255,255,255,0.45);
  font-family: var(--font-en);
  font-size: 0.6rem;
  letter-spacing: 0.35em;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.sidebar-scroll::after {
  content: '';
  display: block;
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.3);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* メインラッパー */
.site-main {
  margin-left: var(--sidebar-w);
  min-height: 100vh;
}

/* グローバルナビ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px 0 40px;
  border-bottom: 1px solid var(--gray-mid);
  box-shadow: 0 1px 8px rgba(0,0,0,0.04);
}

.nav-logo {
  font-family: var(--font-en);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.1em;
  line-height: 1.2;
}
.nav-logo small {
  display: block;
  font-family: var(--font-ja);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--gray-text);
  font-weight: 400;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links li a {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--body-text);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  transition: color var(--transition);
  position: relative;
}
.nav-links li a span.en {
  font-family: var(--font-en);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--gray-text);
  transition: color var(--transition);
}
.nav-links li a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 50%; right: 50%;
  height: 1px;
  background: var(--navy);
  transition: left var(--transition), right var(--transition);
}
.nav-links li a:hover { color: var(--navy); }
.nav-links li a:hover span.en { color: var(--navy); }
.nav-links li a:hover::after { left: 0; right: 0; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: var(--white) !important;
  font-size: 0.78rem !important;
  letter-spacing: 0.12em;
  padding: 10px 24px;
  transition: background var(--transition) !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--navy-mid) !important; }

/* ハンバーガーメニュー（SP） */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 300;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  transition: var(--transition);
}
.nav-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.is-open span:nth-child(2) { opacity: 0; }
.nav-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* SPドロワー */
.sp-drawer {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--navy);
  z-index: 250;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.sp-drawer.is-open {
  opacity: 1;
  pointer-events: all;
}
.sp-drawer a {
  color: var(--white);
  font-size: 1.4rem;
  letter-spacing: 0.15em;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.sp-drawer a span.en {
  font-family: var(--font-en);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  color: rgba(255,255,255,0.5);
}
.sp-drawer-close {
  position: absolute;
  top: 24px; right: 24px;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

/* ---------- ヒーローセクション ---------- */
.hero {
  position: relative;
  height: calc(100vh - var(--nav-h));
  min-height: 580px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 0 64px 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, rgba(13,31,60,0.72) 0%, rgba(13,31,60,0.48) 55%, rgba(13,31,60,0.28) 100%),
    url('../images/hero-bg.jpg') center/cover no-repeat;
  transform: scale(1.04);
  transition: transform 8s ease-out;
}
.hero-bg.zoomed { transform: scale(1); }

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.hero-en {
  font-family: var(--font-en);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: 0.03em;
  margin-bottom: 24px;
}
.hero-en em {
  font-style: normal;
  color: var(--accent);
}

.hero-ja {
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.18em;
  margin-bottom: 20px;
}

.hero-tags {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.hero-tag {
  border: 1px solid rgba(255,255,255,0.5);
  color: var(--white);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  padding: 6px 16px;
}

.hero-sub {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.1em;
  line-height: 1.7;
}

/* ---------- セクション共通 ---------- */
section { padding: 100px 64px; }

.sec-eyebrow {
  font-family: var(--font-en);
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  color: var(--gray-text);
  text-transform: uppercase;
  display: block;
  margin-bottom: 12px;
}

.sec-title {
  font-family: var(--font-en);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 20px;
}
.sec-title-ja {
  font-family: var(--font-ja);
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.5;
  margin-bottom: 20px;
}

.sec-lead {
  font-size: 0.9rem;
  color: var(--gray-text);
  line-height: 2;
  max-width: 600px;
}

/* ---------- About セクション（トップ） ---------- */
.about-section {
  background: var(--gray-bg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 100px 64px;
}
.about-section .text-block {}
.about-section .text-block p {
  font-size: 0.9rem;
  line-height: 2;
  color: #374151;
  margin-top: 24px;
}
.about-img {
  border-radius: 2px;
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
}
.about-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.about-img:hover img { transform: scale(1.04); }

/* ---------- サービスグリッド ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--gray-mid);
  margin-top: 60px;
}
.service-card {
  background: var(--white);
  padding: 48px 36px;
  position: relative;
  transition: background var(--transition);
  cursor: default;
}
.service-card:hover { background: var(--navy); }
.service-card:hover .sc-num,
.service-card:hover .sc-title,
.service-card:hover .sc-body { color: var(--white); }

.sc-num {
  font-family: var(--font-en);
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  color: var(--gray-text);
  margin-bottom: 16px;
  transition: color var(--transition);
}
.sc-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  letter-spacing: 0.05em;
  transition: color var(--transition);
}
.sc-body {
  font-size: 0.82rem;
  line-height: 1.85;
  color: var(--gray-text);
  transition: color var(--transition);
}

/* ---------- 強み横並びバー ---------- */
.strengths-section {
  background: var(--navy);
  color: var(--white);
}
.strengths-section .sec-title { color: var(--white); }
.strengths-section .sec-lead  { color: rgba(255,255,255,0.6); }
.str-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 60px;
}
.str-item { border-top: 1px solid rgba(255,255,255,0.2); padding-top: 28px; }
.str-num {
  font-family: var(--font-en);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 12px;
}
.str-title {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}
.str-body { font-size: 0.82rem; line-height: 1.9; color: rgba(255,255,255,0.65); }

/* ---------- ニュース ---------- */
.news-section { background: var(--white); }

/* Note "もっと見る" リンク */
.note-more-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-en);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid var(--navy);
  padding-bottom: 2px;
  transition: opacity var(--transition);
}
.note-more-link:hover { opacity: 0.55; }

/* スケルトンローダー */
.news-loading { margin-top: 48px; }
.news-skeleton {
  background: linear-gradient(90deg,
    var(--gray-mid) 25%,
    #e8e8e8 50%,
    var(--gray-mid) 75%);
  background-size: 400% 100%;
  animation: skeleton-wave 1.4s ease-in-out infinite;
  aspect-ratio: 4/3;
}
@keyframes skeleton-wave {
  0%   { background-position: 100% 0; }
  100% { background-position: 0    0; }
}

/* フォールバック */
.news-fallback {
  margin-top: 48px;
  padding: 48px 32px;
  text-align: center;
  background: var(--gray-bg);
  font-size: 0.85rem;
  color: var(--gray-text);
}
.news-fallback a { color: var(--navy); text-decoration: underline; }
.news-fallback-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 12px 32px;
  background: var(--navy);
  color: var(--white) !important;
  text-decoration: none !important;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  transition: opacity var(--transition);
}
.news-fallback-btn:hover { opacity: 0.75; }

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--gray-mid);
  margin-top: 48px;
}
.news-card {
  background: var(--white);
  overflow: hidden;
  cursor: pointer;
  transition: background var(--transition);
}
.news-card:hover { background: var(--gray-bg); }
.news-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.news-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.news-card:hover .news-card-img img { transform: scale(1.06); }
.news-card-body { padding: 24px 28px 28px; }
.news-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.news-tag {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  padding: 3px 10px;
  background: var(--navy);
  color: var(--white);
}
.news-date { font-size: 0.72rem; color: var(--gray-text); font-family: var(--font-en); letter-spacing: 0.1em; }
.news-title { font-size: 0.85rem; font-weight: 600; line-height: 1.65; color: var(--navy); }

/* ---------- CTA バナー ---------- */
.cta-banner {
  background: var(--navy);
  padding: 100px 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.cta-banner .left .eyebrow {
  font-family: var(--font-en);
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  color: rgba(255,255,255,0.5);
  display: block;
  margin-bottom: 12px;
}
.cta-banner .left h2 {
  font-family: var(--font-en);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.2;
}
.cta-banner .left p {
  margin-top: 16px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.8;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 16px 36px;
  font-size: 0.82rem;
  letter-spacing: 0.15em;
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}
.btn-primary:hover { background: var(--accent); color: var(--navy); }
.btn-primary svg { transition: transform var(--transition); }
.btn-primary:hover svg { transform: translateX(4px); }

.btn-navy {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--navy);
  color: var(--white);
  border: 1px solid var(--navy);
  padding: 14px 32px;
  font-size: 0.82rem;
  letter-spacing: 0.15em;
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}
.btn-navy:hover { background: var(--white); color: var(--navy); }

/* ---------- フッター ---------- */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.65);
  padding: 80px 64px 40px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  margin-bottom: 36px;
}
.footer-brand {}
.footer-logo {
  font-family: var(--font-en);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}
.footer-logo small {
  display: block;
  font-family: var(--font-ja);
  font-size: 0.65rem;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.2em;
  font-weight: 400;
}
.footer-brand p {
  font-size: 0.78rem;
  line-height: 1.9;
  margin-top: 16px;
  color: rgba(255,255,255,0.55);
}
.footer-col h4 {
  font-family: var(--font-en);
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  color: rgba(255,255,255,0.45);
  margin-bottom: 16px;
  text-transform: uppercase;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.06em;
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--white); }
.footer-address { font-size: 0.78rem; line-height: 1.9; color: rgba(255,255,255,0.55); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy { font-size: 0.72rem; letter-spacing: 0.1em; }
.footer-policy a { font-size: 0.72rem; color: rgba(255,255,255,0.5); transition: color var(--transition); }
.footer-policy a:hover { color: var(--white); }

/* ---------- パンくずリスト ---------- */
.breadcrumb {
  padding: 18px 64px;
  background: var(--gray-bg);
  border-bottom: 1px solid var(--gray-mid);
}
.breadcrumb ol {
  display: flex;
  gap: 0;
  list-style: none;
  flex-wrap: wrap;
}
.breadcrumb ol li {
  font-size: 0.72rem;
  color: var(--gray-text);
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
}
.breadcrumb ol li::after { content: '›'; margin: 0 8px; color: var(--gray-text); }
.breadcrumb ol li:last-child::after { display: none; }
.breadcrumb ol li a { color: var(--navy); transition: color var(--transition); }
.breadcrumb ol li a:hover { color: var(--accent); }

/* ---------- ページヒーロー（下層） ---------- */
.page-hero {
  background: var(--navy);
  padding: 80px 64px 90px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: attr(data-en);
  position: absolute;
  right: 48px; bottom: -20px;
  font-family: var(--font-en);
  font-size: clamp(5rem, 12vw, 10rem);
  font-weight: 700;
  color: rgba(255,255,255,0.04);
  line-height: 1;
  pointer-events: none;
  letter-spacing: 0.05em;
}
.page-hero-en {
  font-family: var(--font-en);
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  color: var(--accent);
  text-transform: uppercase;
  display: block;
  margin-bottom: 12px;
}
.page-hero h1 {
  font-family: var(--font-ja);
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.35;
}
.page-hero p {
  margin-top: 16px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
  max-width: 520px;
}

/* ---------- 会社概要テーブル ---------- */
.info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.info-table th, .info-table td {
  padding: 20px 24px;
  border-bottom: 1px solid var(--gray-mid);
  vertical-align: top;
  line-height: 1.8;
  text-align: left;
}

/* ---------- 代表プロフィール ---------- */
.prof-dl { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--gray-mid); }
.prof-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 0;
  border-bottom: 1px solid var(--gray-mid);
  padding: 20px 0;
  align-items: baseline;
}
.prof-row dt {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--navy);
}
.prof-row dd {
  font-size: 0.88rem;
  line-height: 1.9;
  color: #374151;
  margin: 0;
}
.info-table th {
  width: 200px;
  font-weight: 600;
  color: var(--navy);
  background: var(--gray-bg);
  white-space: nowrap;
}
.info-table td { color: #374151; }

/* ---------- 料金表 ---------- */
.price-block { }
.price-block-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--navy);
  border-left: 3px solid var(--accent);
  padding-left: 14px;
  margin-bottom: 20px;
}
.price-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  min-width: 480px;
}
.price-table thead tr {
  background: var(--navy);
  color: var(--white);
}
.price-table thead th {
  padding: 14px 20px;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-align: center;
  border: none;
}
.price-table thead th:first-child { text-align: left; }
.price-table tbody td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--gray-mid);
  color: #374151;
  text-align: center;
  vertical-align: middle;
}
.price-table tbody td:first-child { text-align: left; font-weight: 500; color: var(--navy); }
.price-row-alt td { background: var(--white); }
.price-table tbody tr:not(.price-row-alt) td { background: var(--gray-bg); }
.price-notes {
  margin-top: 20px;
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.price-notes li {
  font-size: 0.75rem;
  color: var(--gray-text);
  padding-left: 16px;
  position: relative;
  line-height: 1.7;
}
.price-notes li::before {
  content: '※';
  position: absolute;
  left: 0;
  color: var(--accent);
}
.flow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--gray-mid);
  margin-top: 48px;
}
.flow-step {
  background: var(--white);
  padding: 36px 28px;
  position: relative;
}
.flow-step-num {
  font-family: var(--font-en);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  color: var(--accent);
  margin-bottom: 12px;
}
.flow-step-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 8px;
}
.flow-step-body { font-size: 0.8rem; color: var(--gray-text); line-height: 1.8; }
.flow-arrow {
  position: absolute;
  top: 50%; right: -16px;
  transform: translateY(-50%);
  color: var(--accent);
  font-size: 1.2rem;
  z-index: 2;
}
.flow-step:last-child .flow-arrow { display: none; }

/* ---------- お問い合わせフォーム ---------- */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: start;
  padding: 100px 64px;
}
.contact-info .ci-item {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
}
.ci-icon { font-size: 1.2rem; color: var(--accent); margin-top: 2px; flex-shrink: 0; }
.ci-label { font-size: 0.72rem; letter-spacing: 0.15em; color: var(--gray-text); margin-bottom: 4px; }
.ci-value { font-size: 0.88rem; color: var(--navy); font-weight: 500; }

/* ---------- Google マップ ---------- */
.map-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  margin-top: 28px;
  overflow: hidden;
  border-radius: 2px;
}
.map-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-steps {
  display: flex;
  gap: 0;
  margin-bottom: 40px;
}
.cs-step {
  flex: 1;
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  padding: 10px 0;
  background: var(--gray-mid);
  color: var(--gray-text);
  position: relative;
}
.cs-step.active {
  background: var(--navy);
  color: var(--white);
}
.cs-step::after {
  content: '';
  position: absolute;
  right: -12px; top: 50%;
  transform: translateY(-50%);
  width: 0; height: 0;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  border-left: 12px solid var(--gray-mid);
  z-index: 1;
}
.cs-step.active::after { border-left-color: var(--navy); }
.cs-step:last-child::after { display: none; }

.contact-form {}
.form-group { margin-bottom: 28px; }
.form-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}
.form-req {
  font-size: 0.65rem;
  background: #e74c3c;
  color: var(--white);
  padding: 2px 6px;
  letter-spacing: 0.05em;
}
.form-opt {
  font-size: 0.65rem;
  background: var(--gray-mid);
  color: var(--gray-text);
  padding: 2px 6px;
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-mid);
  background: var(--white);
  font-family: var(--font-ja);
  font-size: 0.88rem;
  color: var(--body-text);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
  border-radius: 0;
  outline: none;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(13,31,60,0.08);
}
.form-textarea { min-height: 160px; resize: vertical; }
.form-select-wrap { position: relative; }
.form-select-wrap::after {
  content: '▼';
  position: absolute;
  right: 16px; top: 50%;
  transform: translateY(-50%);
  font-size: 0.65rem;
  color: var(--gray-text);
  pointer-events: none;
}
.form-privacy {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--gray-text);
  line-height: 1.7;
  margin-bottom: 32px;
}
.form-privacy input[type="checkbox"] { margin-top: 3px; accent-color: var(--navy); flex-shrink: 0; }
.form-privacy a { color: var(--navy); text-decoration: underline; }
.form-submit {
  display: flex;
  justify-content: flex-end;
}
.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--navy);
  color: var(--white);
  padding: 16px 48px;
  font-family: var(--font-ja);
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  border: none;
  cursor: pointer;
  transition: background var(--transition);
}
.btn-submit:hover { background: var(--navy-mid); }
.btn-submit:disabled { background: var(--gray-mid); cursor: default; }

/* フォーム送信完了 */
.form-complete {
  text-align: center;
  padding: 60px 40px;
  display: none;
}
.form-complete.show { display: block; }
.form-complete-icon { font-size: 3rem; color: var(--accent); margin-bottom: 16px; }
.form-complete h3 { font-size: 1.2rem; color: var(--navy); font-weight: 700; margin-bottom: 12px; }
.form-complete p { font-size: 0.85rem; color: var(--gray-text); line-height: 1.9; }

/* ---------- プライバシーポリシー ---------- */
.privacy-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 80px 64px;
}
.privacy-content h2 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  border-left: 3px solid var(--accent);
  padding-left: 12px;
  margin: 40px 0 14px;
}
.privacy-content h2:first-child { margin-top: 0; }
.privacy-content p, .privacy-content li {
  font-size: 0.85rem;
  line-height: 2;
  color: #374151;
}
.privacy-content ul { padding-left: 1.5em; list-style: disc; }
.privacy-content li { margin-bottom: 6px; }

/* ---------- 404 ページ ---------- */
.not-found {
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 32px;
}
.not-found-num {
  font-family: var(--font-en);
  font-size: clamp(6rem, 18vw, 14rem);
  font-weight: 700;
  color: var(--gray-mid);
  line-height: 1;
  margin-bottom: 24px;
}
.not-found h2 { font-size: 1.4rem; color: var(--navy); font-weight: 700; margin-bottom: 12px; }
.not-found p { font-size: 0.88rem; color: var(--gray-text); line-height: 1.9; margin-bottom: 40px; }

/* ---------- アニメーション（フェードイン） ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }

/* ---------- レスポンシブ ---------- */

/* ===== タブレット (〜1024px) ===== */
@media (max-width: 1024px) {
  :root { --sidebar-w: 60px; }
  section { padding: 80px 40px; }
  .about-section { padding: 80px 40px; gap: 48px; }
  .cta-banner { padding: 80px 40px; }
  .contact-wrap { padding: 80px 40px; gap: 48px; }
  .privacy-content { padding: 60px 40px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .str-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-steps { grid-template-columns: repeat(2, 1fr); }
  .flow-step .flow-arrow { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .site-nav { padding: 0 32px 0 28px; }
  .breadcrumb { padding: 16px 40px; }
  .page-hero { padding: 64px 40px 72px; }
}

/* ===== スマートフォン (〜768px) ===== */
@media (max-width: 768px) {
  :root { --sidebar-w: 0px; --nav-h: 60px; }

  /* サイドバー非表示 */
  .site-sidebar { display: none; }
  .site-main { margin-left: 0; }

  /* ナビ */
  .nav-links { display: none; }
  .nav-cta   { display: none; }
  .nav-hamburger { display: flex; }
  .sp-drawer { display: flex; }
  .site-nav { padding: 0 16px; height: 56px; }
  .nav-logo { font-size: 0.82rem; line-height: 1.3; }
  .nav-logo small { font-size: 0.55rem; }

  /* ヒーロー */
  .hero {
    padding: 24px 24px;
    height: 75vw;             /* 画面幅の75%の高さ＝縦長すぎない自然なサイズ */
    height: 75svh;            /* svh対応ブラウザではUI除いた高さ基準 */
    min-height: 460px;
    max-height: 680px;
    align-items: center;      /* テキストを上下中央に */
  }
  .hero-bg {
    background-position: top center; /* SP: ビルの上部が見えるように */
  }
  .hero-en {
    font-size: 2.8rem;
    line-height: 1.05;
    margin-bottom: 20px;
    letter-spacing: 0.01em;
  }
  .hero-ja {
    font-size: 1.05rem;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .hero-ja::before {
    content: '';
    display: block;
    width: 3px;
    height: 1.2em;
    background: var(--white);
    flex-shrink: 0;
  }
  .hero-tags {
    gap: 10px;
    margin-bottom: 24px;
    flex-wrap: nowrap;        /* SP: タグを1行に収める */
  }
  .hero-tag { font-size: 0.75rem; padding: 7px 14px; }
  .hero-sub { font-size: 0.8rem; line-height: 1.75; }

  /* セクション共通 */
  section { padding: 56px 20px; }
  .sec-title { font-size: 1.8rem; }
  .sec-title-ja { font-size: 1.2rem; }
  .sec-lead { font-size: 0.84rem; }

  /* 料金表 */
  .svc-price-sec { padding: 56px 20px !important; }
  .price-table { font-size: 0.78rem; min-width: 420px; }
  .price-table thead th,
  .price-table tbody td { padding: 10px 12px; }

  /* ABOUT グリッド */
  .about-section {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 56px 20px;
  }
  .about-img {
    order: -1;
    aspect-ratio: 3/4 !important;
    width: 72%;
    max-width: 320px;
    margin: 0 auto;
  }
  .about-img img { object-position: center top !important; }

  /* サービスグリッド */
  .service-grid { grid-template-columns: 1fr; }
  .service-card { padding: 32px 24px; }

  /* 強み */
  .str-grid { grid-template-columns: 1fr; gap: 28px; }
  .str-num  { font-size: 2rem; }

  /* ニュース */
  .news-grid { grid-template-columns: 1fr; }

  /* 採用フロー */
  .flow-steps { grid-template-columns: 1fr; }

  /* CTA バナー */
  .cta-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 56px 20px;
    gap: 28px;
  }
  .cta-banner .left h2 { font-size: 1.5rem; }
  .cta-banner .left p  { font-size: 0.8rem; }
  .btn-primary,
  .btn-navy { width: 100%; justify-content: center; padding: 15px 24px; }

  /* お問い合わせ */
  .contact-wrap {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 48px 20px;
  }
  .contact-steps { font-size: 0.6rem; letter-spacing: 0.05em; }
  .cs-step { padding: 8px 4px; }

  /* 代表プロフィール */
  .cmp-prof-sec { padding: 56px 20px !important; }
  .prof-row { grid-template-columns: 80px 1fr; }
  .cs-step::after { right: -8px; border-top-width: 11px; border-bottom-width: 11px; border-left-width: 8px; }

  /* パンくず・ページヒーロー */
  .breadcrumb { padding: 12px 20px; }
  .page-hero  { padding: 44px 20px 52px; }
  .page-hero h1 { font-size: 1.6rem; }
  .page-hero p  { font-size: 0.8rem; }
  .page-hero::after { display: none; }

  /* テーブル */
  .info-table th { width: 100px; font-size: 0.8rem; padding: 14px 14px; }
  .info-table td { font-size: 0.82rem; padding: 14px 14px; }

  /* フッター */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 36px;
    margin-bottom: 20px;
  }
  .site-footer { padding: 48px 20px 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .footer-logo  { font-size: 1rem; }

  /* プライバシー */
  .privacy-content { padding: 40px 20px; }
  .privacy-content h2 { font-size: 0.95rem; }

  /* 404 */
  .not-found { padding: 48px 20px; }
}

/* ===== 小型スマホ (〜480px) ===== */
@media (max-width: 480px) {
  .hero {
    height: 72vw;
    height: 72svh;
    min-height: 440px;
    max-height: 640px;
    padding: 20px 16px;
  }
  .hero-en { font-size: 2.3rem; }
  .hero-tag { font-size: 0.7rem; padding: 6px 12px; }

  section { padding: 48px 16px; }
  .about-section { padding: 48px 16px; }
  .cta-banner    { padding: 48px 16px; }
  .contact-wrap  { padding: 40px 16px; }
  .breadcrumb    { padding: 10px 16px; }
  .page-hero     { padding: 36px 16px 44px; }
  .site-footer   { padding: 40px 16px 24px; }
  .privacy-content { padding: 32px 16px; }

  /* 代表写真：小型SPでも中央揃え */
  .about-img {
    width: 80%;
    max-width: 280px;
  }

  /* テーブルをスタック表示 */
  .info-table,
  .info-table tbody,
  .info-table tr,
  .info-table th,
  .info-table td {
    display: block;
    width: 100%;
  }
  .info-table th {
    width: 100%;
    border-bottom: none;
    padding-bottom: 4px;
    background: var(--gray-bg);
    font-size: 0.75rem;
    padding: 12px 14px 4px;
  }
  .info-table td {
    padding: 6px 14px 14px;
    border-bottom: 1px solid var(--gray-mid);
  }

  /* お問い合わせステップ */
  .contact-steps { display: none; }

  /* ボタン */
  .btn-primary,
  .btn-navy { font-size: 0.8rem; padding: 14px 20px; }

  /* ニュースカード */
  .news-card-body { padding: 18px 20px 22px; }
  .news-title { font-size: 0.82rem; }

  /* サービスカード */
  .sc-title { font-size: 0.95rem; }
  .sc-body  { font-size: 0.78rem; }
}

/* ---------- ユーティリティ ---------- */
.text-center { text-align: center; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}
