/* ===================================================================
   Design System — 株式会社岩崎商店
   =================================================================== */

/* --- CSS Custom Properties --- */
:root {
  --navy:       #0d1b2a;
  --navy-mid:   #1a2e44;
  --navy-light: #243a52;
  --gold:       #c9a84c;
  --gold-light: #e0c070;
  --offwhite:   #f5f3ee;
  --white:      #ffffff;
  --gray:       #8a8a8a;
  --gray-light: #e8e6e1;
  --text:       #333333;

  --font-en: 'Georgia', 'Times New Roman', serif;
  --font-ja: 'Noto Serif JP', 'Yu Mincho', '游明朝', serif;

  --header-h: 72px;
  --transition: 0.3s ease;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--offwhite);
  color: var(--navy);
  font-family: var(--font-ja);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
ul { list-style: none; }

/* --- Utility --- */
.container { max-width: 1100px; margin: 0 auto; padding: 0 32px; }
.gold-line {
  display: block;
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin: 0 auto 16px;
}
.gold-line--left { margin: 0 0 16px; }
.section-label {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.04em;
  color: var(--navy);
  margin-bottom: 24px;
}
.section-title--white { color: var(--white); }
.section-body {
  font-size: 15px;
  color: #444;
  line-height: 2;
  margin-bottom: 24px;
}
.section-body--white { color: rgba(255,255,255,0.65); }

/* --- Buttons --- */
.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  text-decoration: none;
  padding: 14px 36px;
  font-size: 13px;
  letter-spacing: 0.14em;
  font-weight: 600;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  font-family: var(--font-ja);
  transition: background var(--transition), transform var(--transition);
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }

.btn-outline {
  display: inline-block;
  border: 1px solid rgba(255,255,255,0.35);
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  padding: 14px 32px;
  font-size: 13px;
  letter-spacing: 0.1em;
  border-radius: 2px;
  transition: border-color var(--transition), color var(--transition);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }


/* ===================================================================
   Header
   =================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(13, 27, 42, 0.95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.25);
  height: var(--header-h);
  display: flex;
  align-items: center;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.logo {
  display: flex;
  flex-direction: column;
  gap: 1px;
  text-decoration: none;
  transition: opacity var(--transition);
}
.logo:hover { opacity: 0.75; }
.logo-en {
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--gold);
}
.logo-ja {
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.06em;
}

/* ヘッダーのロゴだけ「マーク + 社名2行」の2列組みにする。
   フッターの .logo はマークを入れていないので、ここでスコープを
   .site-header に限定する。グリッドにしておけば、マークが無い
   ページが出ても社名側の位置は崩れない。 */
.site-header .logo {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 11px;
  row-gap: 1px;
}
.site-header .logo-mark {
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 40px;
  height: 40px;
  display: block;
}
.site-header .logo-en,
.site-header .logo-ja { grid-column: 2; }

/* Desktop nav */
.nav-desktop { display: flex; gap: 28px; align-items: center; }
.nav-desktop a {
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.08em;
  transition: color var(--transition);
}
.nav-desktop a:hover { color: var(--gold-light); }
.nav-desktop a.current { color: var(--gold); }
.nav-cta {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold) !important;
  padding: 8px 20px;
  border-radius: 2px;
  font-size: 12px !important;
  letter-spacing: 0.12em;
  transition: background var(--transition), color var(--transition) !important;
}
.nav-cta:hover {
  background: var(--gold) !important;
  color: var(--navy) !important;
}

/* Mobile hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 24px;
  position: relative;
  z-index: 110;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  position: absolute;
  left: 0;
  transition: var(--transition);
}
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 11px; }
.hamburger span:nth-child(3) { top: 22px; }
.hamburger.active span:nth-child(1) { top: 11px; transform: rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { top: 11px; transform: rotate(-45deg); }

.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(13,27,42,0.98);
  z-index: 105;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 18px;
  letter-spacing: 0.1em;
  transition: color var(--transition);
}
.nav-mobile a:hover { color: var(--gold-light); }

/* ===================================================================
   Page Header (shared by sub-pages)
   =================================================================== */
.page-header {
  background: var(--navy);
  padding: calc(var(--header-h) + 60px) 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 50% at 70% 50%, rgba(201,168,76,0.06) 0%, transparent 70%);
}
.page-header .section-label { position: relative; }
.page-header .section-title { color: var(--white); position: relative; margin-bottom: 0; }

/* Breadcrumb */
.breadcrumb {
  background: var(--navy-mid);
  border-bottom: 1px solid rgba(201,168,76,0.15);
  padding: 12px 0;
}
.breadcrumb-list {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  list-style: none;
  padding: 0;
  margin: 0;
}
.breadcrumb-list a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color var(--transition);
}
.breadcrumb-list a:hover { color: var(--gold); }
.breadcrumb-list .sep { margin: 0 4px; }

/* ===================================================================
   Hero (Top page)
   =================================================================== */
.hero {
  min-height: 100vh;
  background: var(--navy);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 50%, rgba(201,168,76,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(201,168,76,0.04) 0%, transparent 60%);
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(255,255,255,0.02) 40px),
    repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(255,255,255,0.02) 40px);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  padding: 120px 0 80px;
}
.hero-eyebrow {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--gold);
}
.hero-title {
  font-size: clamp(36px, 5vw, 62px);
  font-weight: 400;
  color: var(--white);
  line-height: 1.35;
  letter-spacing: 0.04em;
  margin-bottom: 24px;
}
.hero-title em { font-style: normal; color: var(--gold); }
.hero-sub {
  font-size: 15px;
  color: rgba(255,255,255,0.6);
  max-width: 520px;
  line-height: 1.9;
  margin-bottom: 48px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.35);
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(201,168,76,0.6), transparent);
  animation: scrollDown 2s ease infinite;
}
@keyframes scrollDown {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  50.1%{ transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ===================================================================
   Features Strip
   =================================================================== */
.features-strip {
  background: var(--navy-mid);
  border-top: 1px solid rgba(201,168,76,0.2);
  border-bottom: 1px solid rgba(201,168,76,0.2);
  padding: 32px 0;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(201,168,76,0.12);
}
/* Card backgrounds */
.feature-item,
.material-card,
.service-card {
  background: linear-gradient(135deg, var(--navy-light) 0%, var(--navy) 100%);
}
.feature-item::before,
.material-card::before,
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(201,168,76,0.05) 10px,
    rgba(201,168,76,0.05) 11px
  );
}

.feature-item {
  position: relative;
  text-align: center;
  min-height: 180px;
}
.feature-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 27, 42, 0.78);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 24px;
  transition: background var(--transition);
}
.feature-item:hover .feature-overlay {
  background: rgba(13, 27, 42, 0.6);
}
.feature-label {
  color: var(--gold);
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 6px;
}
.feature-text {
  color: rgba(255,255,255,0.8);
  font-size: 13px;
  line-height: 1.5;
}

/* --- Material Grid (Services) --- */
/* 4素材なので 2x2。3列にすると4枚目が1枚だけ余る */
.material-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}
.material-card {
  position: relative;
  padding: 0;
  min-height: 200px;
  overflow: hidden;
}
/* 素材画像。オーバーレイの下に敷く。
   DOM 上で .material-overlay より前に置くこと(重なり順が変わる) */
.material-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.material-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 27, 42, 0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
  transition: background var(--transition);
}
.material-card:hover .material-overlay {
  background: rgba(13, 27, 42, 0.45);
}
@media (max-width: 600px) {
  .material-grid { grid-template-columns: repeat(2, 1fr); }
  .material-card { min-height: 120px; }
}

/* ===================================================================
   About Preview (Top page)
   =================================================================== */
.about-preview {
  padding: 120px 0;
  background: var(--offwhite);
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-image-block { position: relative; }
.image-placeholder {
  width: 100%;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--navy-light) 0%, var(--navy) 100%);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.image-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(201,168,76,0.04) 10px, rgba(201,168,76,0.04) 11px);
}
.image-placeholder span {
  color: rgba(201,168,76,0.5);
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  position: relative;
}
.image-placeholder--landscape { aspect-ratio: 16/9; }

/* === Works(制作実績)=== */
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.work-card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: 2px;
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.work-card:hover {
  box-shadow: 0 8px 24px rgba(13, 27, 42, 0.08);
  transform: translateY(-2px);
}
/* 商品写真は白背景に収めてあるので、切り取らずそのまま出す */
.work-img {
  width: 100%;
  height: auto;
  aspect-ratio: 1/1;
  object-fit: contain;
  display: block;
  background: #fff;
}
.work-card-body { padding: 20px 24px 24px; }
.work-card-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 6px;
  line-height: 1.5;
}
.work-card-desc {
  font-size: 13px;
  color: var(--gray);
  margin: 0;
  line-height: 1.6;
}
@media (max-width: 900px) {
  .works-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
@media (max-width: 560px) {
  .works-grid { grid-template-columns: 1fr; gap: 20px; }
}
.about-deco {
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 120px;
  height: 120px;
  border: 1px solid var(--gold);
  border-radius: 2px;
  opacity: 0.3;
}

/* ===================================================================
   Services Cards
   =================================================================== */
.services-section {
  padding: 120px 0;
  background: var(--navy);
}
.services-header {
  text-align: center;
  margin-bottom: 64px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.service-card {
  position: relative;
  padding: 0;
  border-top: 2px solid transparent;
  transition: border-color var(--transition);
  min-height: 260px;
}
.service-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 27, 42, 0.82);
  padding: 48px 36px;
  transition: background var(--transition);
}
.service-card:hover {
  border-top-color: var(--gold);
}
.service-card:hover .service-overlay {
  background: rgba(13, 27, 42, 0.65);
}
.service-num {
  font-family: var(--font-en);
  font-size: 48px;
  color: rgba(201,168,76,0.45);
  font-weight: 300;
  line-height: 1;
  margin-bottom: 24px;
}
.service-title {
  font-size: 18px;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}
.service-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.9;
}

/* ===================================================================
   CTA Banner
   =================================================================== */
.cta-banner {
  padding: 100px 0;
  background: var(--offwhite);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner .section-body { max-width: 480px; margin: 0 auto 40px; }
.cta-note {
  font-size: 12px;
  color: var(--gray);
  margin-top: 16px;
  letter-spacing: 0.06em;
}
.cta-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: 20px;
  position: relative;
}
.cta-links a {
  font-size: 13px;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
  transition: color var(--transition);
}
.cta-links a:hover { color: var(--gold); }

/* ===================================================================
   Content Sections (sub pages)
   =================================================================== */
.content-section {
  padding: 100px 0;
}
.content-section--navy {
  background: var(--navy);
}

/* ===================================================================
   Flow Steps
   =================================================================== */
.flow-steps { counter-reset: step; }
.flow-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  padding: 48px 0;
  border-bottom: 1px solid var(--gray-light);
  position: relative;
}
.flow-step:last-child { border-bottom: none; }
.flow-step-num {
  font-family: var(--font-en);
  font-size: 48px;
  color: rgba(201,168,76,0.25);
  font-weight: 300;
  line-height: 1;
  text-align: center;
}
.flow-step-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}
.flow-step-duration {
  display: inline-block;
  font-size: 12px;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
  padding: 2px 10px;
  border: 1px solid var(--gold);
  border-radius: 2px;
}
.flow-step-body {
  font-size: 14px;
  color: #555;
  line-height: 1.9;
}
.flow-arrow {
  text-align: center;
  padding: 8px 0;
  color: var(--gold);
  font-size: 20px;
}

/* ===================================================================
   FAQ
   =================================================================== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--gray-light);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 24px 40px 24px 0;
  font-family: var(--font-ja);
  font-size: 16px;
  color: var(--navy);
  cursor: pointer;
  position: relative;
  line-height: 1.6;
  letter-spacing: 0.03em;
}
.faq-question::before {
  content: 'Q.';
  font-family: var(--font-en);
  color: var(--gold);
  font-weight: 600;
  margin-right: 12px;
}
.faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-en);
  font-size: 20px;
  color: var(--gold);
  transition: transform var(--transition);
}
.faq-item.open .faq-question::after {
  content: '−';
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-item.open .faq-answer {
  max-height: 500px;
}
.faq-answer-inner {
  padding: 0 0 24px 32px;
  font-size: 14px;
  color: #555;
  line-height: 2;
}

/* ===================================================================
   Contact Form
   =================================================================== */
.contact-form { max-width: 640px; margin: 0 auto; }
.form-group { margin-bottom: 28px; }
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}
.form-label .required {
  background: var(--gold);
  color: var(--navy);
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 2px;
  margin-left: 8px;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-light);
  border-radius: 2px;
  font-family: var(--font-ja);
  font-size: 14px;
  color: var(--navy);
  background: var(--white);
  transition: border-color var(--transition);
  appearance: none;
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--gold);
}
.form-textarea { resize: vertical; min-height: 160px; }
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238a8a8a' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.form-note {
  font-size: 12px;
  color: var(--gray);
  margin-top: 24px;
  line-height: 1.8;
}
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 32px;
  font-size: 13px;
  color: #555;
  line-height: 1.7;
}
.form-consent input[type="checkbox"] {
  margin-top: 4px;
  accent-color: var(--gold);
}

/* Honeypot (spam) */
.ohnohoney { display: none !important; }

/* ===================================================================
   Privacy / Legal
   =================================================================== */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}
.legal-content h2 {
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
  margin: 48px 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gray-light);
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p {
  font-size: 14px;
  color: #444;
  line-height: 2;
  margin-bottom: 16px;
}
.legal-content ul {
  padding-left: 20px;
  list-style: disc;
  margin-bottom: 16px;
}
.legal-content li {
  font-size: 14px;
  color: #444;
  line-height: 2;
  margin-bottom: 4px;
}

/* ===================================================================
   Footer
   =================================================================== */
.site-footer {
  background: var(--navy);
  border-top: 1px solid rgba(201,168,76,0.2);
  padding: 64px 0 32px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .logo { margin-bottom: 16px; }
.footer-desc {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  line-height: 1.9;
}
.footer-col h4 {
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-family: var(--font-en);
  margin-bottom: 20px;
}
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.04em;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-copy {
  font-family: var(--font-en);
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.1em;
}
.footer-links { display: flex; gap: 24px; }
.footer-links a {
  color: rgba(255,255,255,0.3);
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 0.06em;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold); }

/* ===================================================================
   Responsive
   =================================================================== */
@media (max-width: 900px) {
  .nav-desktop { display: none; }
  .hamburger { display: block; }

  .about-inner { grid-template-columns: 1fr; gap: 48px; }
  .services-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

  .hero-title { font-size: clamp(28px, 6vw, 42px); }
  .flow-step { grid-template-columns: 56px 1fr; gap: 20px; }

  /* 狭い画面ではハンバーガーと当たるのでマークを少し小さく */
  .site-header .logo-mark { width: 34px; height: 34px; }
  .site-header .logo { column-gap: 9px; }
}

@media (max-width: 560px) {
  .container { padding: 0 20px; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
}

/* ===================================================================
   Why Us Section (Top page)
   =================================================================== */
.whyus-section {
  padding: 120px 0;
  background: var(--offwhite);
  border-top: 1px solid var(--gray-light);
  border-bottom: 1px solid var(--gray-light);
}
.whyus-header {
  text-align: center;
  margin-bottom: 64px;
}
.whyus-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.whyus-item {
  text-align: center;
  padding: 8px 16px;
}
.whyus-number {
  font-family: var(--font-en);
  font-size: clamp(36px, 4vw, 48px);
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 16px;
}
.whyus-number span {
  font-size: 0.4em;
  letter-spacing: 0.05em;
  margin-left: 4px;
}
.whyus-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}
.whyus-desc {
  font-size: 13px;
  color: #666;
  line-height: 1.8;
}

@media (max-width: 900px) {
  .whyus-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
}
@media (max-width: 560px) {
  .whyus-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* === About watermark (Top page intro) === */
/* ⚠️ grid-template-columns をここで指定しないこと。
   `.about-preview .about-inner` は `.about-inner--with-photo` より詳細度が高いため、
   ここで列を決めると写真ありレイアウトが効かなくなる。 */
.about-preview .about-inner { position: relative; }
.about-preview .about-content { position: relative; z-index: 1; }
.about-watermark {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  pointer-events: none; z-index: 0; overflow: hidden;
}
.about-watermark span {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(160px, 30vw, 420px);
  font-weight: 700; color: var(--navy); opacity: 0.05; line-height: 1;
}

/* 1カラム表示 */
.about-inner--single {
  grid-template-columns: 1fr;
  max-width: 760px;
  margin: 0 auto;
}

/* === 本文の横に写真を置くレイアウト === */
/* minmax(0, ...) にしているのは、grid の子が min-content で膨らんで
   列を押し広げるのを防ぐため(長い見出しがあると起きる) */
.about-inner--with-photo {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 64px;
  align-items: center;
  max-width: 1040px;
  margin: 0 auto;
}
.about-photo { position: relative; z-index: 1; }
.about-photo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2px;
}
@media (max-width: 900px) {
  .about-inner--with-photo {
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 640px;
  }
  /* 縦並びのとき、写真が大きくなりすぎないように */
  .about-photo { max-width: 360px; margin: 0 auto; }
}
