/* ============================================================
   SAMPLE Re:Style — 株式会社サンプルリノベーション
   中古住宅×リノベーション不動産 デモサイト 100
   白ベース × 黒骨格 × マスタードイエロー / ネオブルータリズム
   ============================================================ */

:root {
  --ink: #1A1A1A;
  --bg: #FFFFFF;
  --mustard: #F2B705;
  --paper: #F4F2ED;
  --gray: #6B6B6B;
  --font-en: 'Archivo', 'Noto Sans JP', sans-serif;
  --font-ja: 'Noto Sans JP', sans-serif;
  --shadow: 6px 6px 0 var(--ink);
  --shadow-sm: 4px 4px 0 var(--ink);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { overflow-x: hidden; scroll-behavior: smooth; }
body {
  overflow-x: hidden;
  padding-top: 36px; /* デモバー分 */
  font-family: var(--font-ja);
  font-size: 16px;
  line-height: 1.9;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--ink); text-decoration: none; }
ul, ol { list-style: none; }

.container { width: min(1120px, 92%); margin: 0 auto; }

/* ─── DEMO BAR ─────────────────────────────────────────── */
#demo-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 2000;
  background: rgba(26,26,26,0.97);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding: 7px 0;
}
#demo-bar .container { width: min(1120px, 94%); }
.demo-bar-inner {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font-size: 0.7rem; color: rgba(255,255,255,0.45);
}
.demo-badge {
  font-family: var(--font-en);
  font-size: 0.54rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  background: rgba(242,183,5,0.18); color: var(--mustard);
  padding: 3px 10px; flex-shrink: 0; border-radius: 999px;
}
.demo-link { color: var(--mustard); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.demo-copy { color: rgba(255,255,255,0.22); font-size: 0.62rem; margin-left: 4px; }
@media (max-width: 640px) { .demo-copy { display: none; } }

/* ─── FLOATING PILL HEADER ─────────────────────────────── */
.site-header {
  position: fixed;
  top: 52px; /* デモバー36px + 余白 */
  left: 50%;
  transform: translateX(-50%);
  z-index: 1200;
  width: min(1080px, calc(100% - 28px));
}
.site-header,
.site-header.is-scrolled,
.site-header.menu-active {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.header-pill {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
  background: var(--bg);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 10px 12px 10px 26px;
  box-shadow: 5px 5px 0 var(--ink);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.site-header.is-scrolled .header-pill {
  box-shadow: 3px 3px 0 var(--ink);
}
.brand {
  font-family: var(--font-en);
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
}
.brand .brand-colon { color: var(--mustard); -webkit-text-stroke: 1px var(--ink); }
.brand small {
  display: block;
  font-family: var(--font-ja);
  font-size: 0.55rem; font-weight: 700; letter-spacing: 0.1em;
  color: var(--gray); margin-top: 2px;
}
.header-nav { display: flex; align-items: center; gap: 26px; }
.header-nav a {
  font-family: var(--font-en);
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.06em;
  position: relative;
  padding: 4px 0;
}
.header-nav a:not(.header-cta)::after {
  content: '';
  position: absolute; left: 0; bottom: -2px;
  width: 100%; height: 3px;
  background: var(--mustard);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.header-nav a:not(.header-cta):hover::after,
.header-nav a:not(.header-cta):focus::after { transform: scaleX(1); }
.header-cta,
.header-nav a.header-cta {
  background: var(--ink);
  color: #FFFFFF;
  border-radius: 999px;
  padding: 11px 24px;
  font-weight: 700;
  border: 2px solid var(--ink);
  transition: background 0.22s ease, color 0.22s ease;
}
.header-cta:hover, .header-cta:focus,
.header-nav a.header-cta:hover, .header-nav a.header-cta:focus {
  background: var(--mustard);
  color: var(--ink);
}
.hamburger {
  display: none;
  z-index: 1100; position: relative;
  width: 46px; height: 46px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--mustard);
  color: var(--ink);
  font-size: 1.1rem;
  cursor: pointer;
  align-items: center; justify-content: center;
  transition: background 0.2s ease;
}
.hamburger:hover, .hamburger:focus { background: var(--ink); color: var(--mustard); }

/* ─── MOBILE FULLSCREEN MENU（header の外・兄弟要素） ──── */
.mobile-menu {
  position: fixed; inset: 0;
  background: #FFFFFF; /* 不透明ソリッド。透過・backdrop-filter 不使用 */
  z-index: 1400;
  transform: translateY(-102%);
  transition: transform 0.45s cubic-bezier(0.7, 0, 0.2, 1);
  overflow-y: auto;
  padding: 90px 8% 60px;
}
.mobile-menu.is-open { transform: translateY(0); }
.mobile-nav-close {
  position: absolute; top: 56px; right: 6%;
  font-family: var(--font-ja);
  font-size: 0.85rem; font-weight: 700;
  background: #FFFFFF; color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 10px 18px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}
.mobile-nav-close:hover, .mobile-nav-close:focus { background: var(--ink); color: #FFFFFF; }
.mobile-menu-label {
  font-family: var(--font-en);
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.2em;
  color: var(--gray);
  margin-bottom: 24px;
}
.mobile-nav-home {
  display: inline-block;
  background: var(--mustard); color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 12px 32px;
  font-weight: 900; font-size: 1rem;
  letter-spacing: 0.08em;
  box-shadow: var(--shadow-sm);
  margin-bottom: 36px;
}
.mobile-nav-home:hover, .mobile-nav-home:focus { background: var(--ink); color: var(--mustard); }
.mobile-menu-list li { border-bottom: 2px solid var(--ink); }
.mobile-menu-list a {
  display: flex; align-items: baseline; gap: 16px;
  padding: 20px 4px;
}
.mobile-menu-list .mm-en {
  font-family: var(--font-en);
  font-size: 1.9rem; font-weight: 900; letter-spacing: 0.01em;
}
.mobile-menu-list .mm-ja { font-size: 0.75rem; font-weight: 700; color: var(--gray); }
.mobile-menu-list a:hover .mm-en, .mobile-menu-list a:focus .mm-en {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ink);
}
.mobile-menu .mm-item {
  opacity: 0; transform: translateY(14px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.mobile-menu.is-open .mm-item { opacity: 1; transform: none; }
.mobile-menu.is-open .mm-item:nth-child(1) { transition-delay: 0.10s; }
.mobile-menu.is-open .mm-item:nth-child(2) { transition-delay: 0.18s; }
.mobile-menu.is-open .mm-item:nth-child(3) { transition-delay: 0.26s; }
.mobile-menu.is-open .mm-item:nth-child(4) { transition-delay: 0.34s; }
.mobile-menu.is-open .mm-item:nth-child(5) { transition-delay: 0.42s; }
.mobile-menu.is-open .mm-item:nth-child(6) { transition-delay: 0.50s; }
.mobile-menu-tel {
  margin-top: 40px;
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-sm);
  padding: 22px;
  background: var(--paper);
}
.mobile-menu-tel .tel-num {
  font-family: var(--font-en);
  font-size: 1.6rem; font-weight: 900;
}
.mobile-menu-tel p { font-size: 0.75rem; color: var(--gray); }

/* ─── REVEAL（CSS-only・JS非依存） ─────────────────────── */
.reveal { opacity: 1; animation: reveal-in 0.85s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
@keyframes reveal-in {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}
.reveal-clip { animation: reveal-clip 0.9s cubic-bezier(0.6, 0, 0.2, 1) both; }
@keyframes reveal-clip {
  from { clip-path: inset(0 0 100% 0); }
  to   { clip-path: inset(0 0 0 0); }
}
.reveal-d1 { animation-delay: 0.12s; }
.reveal-d2 { animation-delay: 0.24s; }
.reveal-d3 { animation-delay: 0.36s; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-clip { animation: none; opacity: 1; transform: none; clip-path: none; }
  .ticker-track { animation: none; }
}

/* ─── BUTTONS ──────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--font-ja);
  font-size: 0.95rem; font-weight: 700;
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 16px 38px;
  cursor: pointer;
  transition: background 0.22s ease, color 0.22s ease, transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: var(--shadow-sm);
}
.btn:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.btn-accent { background: var(--mustard); color: var(--ink); }        /* 9.5:1 */
.btn-accent:hover, .btn-accent:focus { background: var(--ink); color: var(--mustard); } /* 9.5:1 */
.btn-primary { background: var(--ink); color: #FFFFFF; }              /* 16.7:1 */
.btn-primary:hover, .btn-primary:focus { background: var(--mustard); color: var(--ink); } /* 9.5:1 */
.btn-ghost { background: #FFFFFF; color: var(--ink); }                /* 16.7:1 */
.btn-ghost:hover, .btn-ghost:focus { background: var(--ink); color: #FFFFFF; }

/* ─── HERO ─────────────────────────────────────────────── */
.hero { padding: 160px 0 90px; position: relative; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero-typo {
  font-family: var(--font-en);
  font-weight: 900;
  font-size: clamp(58px, 8.5vw, 122px);
  line-height: 0.92;
  letter-spacing: -0.02em;
  margin-bottom: 26px;
}
.hero-typo .line2 {
  color: #FFFFFF;
  -webkit-text-stroke: 2.5px var(--ink);
  text-stroke: 2.5px var(--ink);
}
.hero h1 {
  font-size: clamp(26px, 3.2vw, 42px);
  font-weight: 900;
  line-height: 1.6;
  margin-bottom: 20px;
}
.hero h1 .marker {
  background: linear-gradient(transparent 62%, var(--mustard) 62%);
  padding: 0 2px;
}
.hero-lead {
  font-size: 0.98rem;
  color: var(--ink);
  max-width: 34em;
  margin-bottom: 34px;
}
.hero-cta { display: flex; gap: 18px; flex-wrap: wrap; }
.hero-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.hero-photos .ph-col:nth-child(2) { margin-top: 48px; }
.tile {
  border: 2px solid var(--ink);
  box-shadow: var(--shadow);
  overflow: hidden;
  background: var(--paper);
  margin-bottom: 20px;
}
.tile img { width: 100%; height: 100%; object-fit: cover; }
.tile-a { aspect-ratio: 3 / 4; }
.tile-b { aspect-ratio: 1 / 1; }
.tile-c { aspect-ratio: 1 / 1; }
.tile-d { aspect-ratio: 3 / 4; }

/* ─── TICKER ───────────────────────────────────────────── */
.ticker {
  background: var(--ink);
  color: #FFFFFF;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  overflow: hidden;
  padding: 13px 0;
}
.ticker-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: ticker-scroll 26s linear infinite;
}
.ticker-seq { display: flex; align-items: center; white-space: nowrap; }
.ticker-seq span {
  font-family: var(--font-en);
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em;
  padding: 0 18px;
}
.ticker-seq .tick-sep { color: var(--mustard); font-weight: 900; }
@keyframes ticker-scroll { to { transform: translateX(-50%); } }

/* ─── SECTION COMMON ───────────────────────────────────── */
.section { padding: 100px 0; }
.section-paper { background: var(--paper); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.sec-head { margin-bottom: 54px; }
.sec-en {
  font-family: var(--font-en);
  font-weight: 900;
  font-size: clamp(38px, 5vw, 66px);
  line-height: 1;
  letter-spacing: -0.01em;
}
.sec-ja {
  display: inline-block;
  margin-top: 14px;
  background: var(--ink); color: #FFFFFF;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em;
  padding: 6px 16px;
  border-radius: 999px;
}
.sec-head.center { text-align: center; }
.sec-lead { margin-top: 20px; color: var(--gray); font-size: 0.95rem; }

/* ─── NEWS ─────────────────────────────────────────────── */
.news-list { border-top: 2px solid var(--ink); }
.news-list li { border-bottom: 2px solid var(--ink); }
.news-list a, .news-list .news-row {
  display: flex; align-items: center; gap: 26px;
  padding: 22px 10px;
  transition: background 0.2s ease;
}
.news-list a:hover, .news-list a:focus { background: var(--paper); }
.news-date {
  font-family: var(--font-en);
  font-weight: 700; font-size: 0.85rem;
  flex-shrink: 0;
}
.news-cat {
  flex-shrink: 0;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em;
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 3px 14px;
  background: #FFFFFF;
}
.news-cat.cat-event { background: var(--mustard); }
.news-title { font-size: 0.95rem; font-weight: 500; }
.news-more { margin-top: 34px; text-align: right; }

/* ─── FEATURES（できること3つ） ────────────────────────── */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.feature-card {
  background: #FFFFFF;
  border: 2px solid var(--ink);
  box-shadow: var(--shadow);
  padding: 36px 30px;
  position: relative;
}
.feature-num {
  font-family: var(--font-en);
  font-weight: 900;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--mustard);
  -webkit-text-stroke: 1.5px var(--ink);
  margin-bottom: 20px;
}
.feature-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.feature-icon { flex-shrink: 0; width: 42px; height: 42px; }
.feature-icon svg { width: 100%; height: 100%; }
.feature-title { font-size: 1.15rem; font-weight: 900; line-height: 1.5; }
.feature-card p { font-size: 0.9rem; color: var(--ink); }
.feature-en {
  font-family: var(--font-en);
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em;
  color: var(--gray);
  margin-bottom: 6px;
}

/* ─── WORKS（Before/After） ────────────────────────────── */
.works-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.work-card {
  background: #FFFFFF;
  border: 2px solid var(--ink);
  box-shadow: var(--shadow);
  overflow: visible;
}
.ba-wrap { position: relative; border-bottom: 2px solid var(--ink); }
.ba-after { aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper); }
.ba-after img { width: 100%; height: 100%; object-fit: cover; }
.ba-before {
  position: absolute; left: -14px; bottom: -14px;
  width: 40%;
  aspect-ratio: 4 / 3;
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  background: var(--paper);
  z-index: 2;
}
.ba-before img { width: 100%; height: 100%; object-fit: cover; }
.ba-tag {
  position: absolute; z-index: 3;
  font-family: var(--font-en);
  font-size: 0.66rem; font-weight: 900; letter-spacing: 0.14em;
  padding: 4px 12px;
}
.tag-after { top: 12px; right: 12px; background: var(--ink); color: #FFFFFF; }
.tag-before { top: -2px; left: -2px; background: var(--mustard); color: var(--ink); border: 2px solid var(--ink); }
.work-body { padding: 30px 28px 28px; }
.work-title { font-size: 1.1rem; font-weight: 900; margin-bottom: 14px; }
.work-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 0.78rem; }
.work-meta div { display: flex; gap: 8px; }
.work-meta dt { font-weight: 700; color: var(--gray); }
.work-meta dd { font-weight: 700; }
.work-note { margin-top: 14px; font-size: 0.88rem; color: var(--ink); }

/* ─── FLOW（6ステップ） ────────────────────────────────── */
.flow-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: flow; }
.flow-step {
  background: #FFFFFF;
  border: 2px solid var(--ink);
  padding: 30px 26px;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.flow-num {
  font-family: var(--font-en);
  font-weight: 900;
  font-size: 2rem;
  line-height: 1;
  color: #FFFFFF;
  -webkit-text-stroke: 1.5px var(--ink);
  margin-bottom: 14px;
}
.flow-step h3 { font-size: 1.02rem; font-weight: 900; margin-bottom: 10px; }
.flow-step p { font-size: 0.85rem; color: var(--ink); }
.flow-step .flow-dur {
  display: inline-block;
  margin-top: 12px;
  font-family: var(--font-en);
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 2px 12px;
}

/* ─── PRICING ──────────────────────────────────────────── */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; align-items: stretch; }
.price-card {
  background: #FFFFFF;
  border: 2px solid var(--ink);
  box-shadow: var(--shadow);
  padding: 40px 32px;
  display: flex; flex-direction: column;
  position: relative;
}
.price-card.is-featured { background: var(--mustard); }
.price-ribbon {
  position: absolute; top: -16px; left: 50%; transform: translateX(-50%);
  background: var(--ink); color: #FFFFFF;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em;
  padding: 6px 22px;
  border-radius: 999px;
  white-space: nowrap;
}
.price-plan-en {
  font-family: var(--font-en);
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.2em;
  color: var(--gray);
}
.price-card.is-featured .price-plan-en { color: var(--ink); }
.price-plan { font-size: 1.25rem; font-weight: 900; margin: 6px 0 18px; }
.price-value {
  font-family: var(--font-en);
  font-weight: 900;
  font-size: 2.4rem;
  line-height: 1.1;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 18px;
  margin-bottom: 20px;
}
.price-value small { font-family: var(--font-ja); font-size: 0.85rem; font-weight: 700; }
.price-feat li {
  font-size: 0.86rem; font-weight: 500;
  padding: 9px 0 9px 20px;
  border-bottom: 1px solid rgba(26,26,26,0.25);
  position: relative;
}
.price-feat li::before {
  content: '';
  position: absolute; left: 0; top: 17px;
  width: 10px; height: 10px;
  background: var(--mustard);
  border: 2px solid var(--ink);
  border-radius: 2px;
}
.price-card.is-featured .price-feat li::before { background: #FFFFFF; }
.price-note { margin-top: 16px; font-size: 0.72rem; color: var(--gray); }
.price-card.is-featured .price-note { color: var(--ink); }
.price-card .btn { margin-top: auto; text-align: center; }

/* ─── COMPANY ──────────────────────────────────────────── */
.company-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.company-photo {
  border: 2px solid var(--ink);
  box-shadow: var(--shadow);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--paper);
}
.company-photo img { width: 100%; height: 100%; object-fit: cover; }
.company-table { width: 100%; border-collapse: collapse; margin: 26px 0 30px; }
.company-table th, .company-table td {
  text-align: left;
  font-size: 0.88rem;
  padding: 13px 8px;
  border-bottom: 2px solid var(--ink);
  vertical-align: top;
}
.company-table th { width: 32%; font-weight: 900; white-space: nowrap; }

/* ─── CTA ──────────────────────────────────────────────── */
.cta {
  background: var(--ink);
  color: #FFFFFF;
  padding: 110px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-typo {
  font-family: var(--font-en);
  font-weight: 900;
  font-size: clamp(40px, 6.5vw, 92px);
  line-height: 0.95;
  letter-spacing: -0.01em;
  margin-bottom: 26px;
}
.cta-typo .hollow {
  color: var(--ink);
  -webkit-text-stroke: 2px var(--mustard);
}
.cta p { font-size: 0.95rem; color: rgba(255,255,255,0.75); margin-bottom: 40px; }
.cta .btn-accent { box-shadow: 4px 4px 0 rgba(242,183,5,0.35); }
.cta .btn-accent:hover, .cta .btn-accent:focus {
  background: #FFFFFF; color: var(--ink);
  border-color: #FFFFFF;
}
.cta-tel { margin-top: 34px; }
.cta-tel .tel-num {
  font-family: var(--font-en);
  font-size: 2rem; font-weight: 900;
  color: #FFFFFF;
}
.cta-tel p { font-size: 0.75rem; margin: 4px 0 0; }

/* ─── FOOTER ───────────────────────────────────────────── */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.8);
  border-top: 2px solid var(--mustard);
  padding: 70px 0 34px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 54px;
}
.footer-brand {
  font-family: var(--font-en);
  font-weight: 900; font-size: 1.4rem;
  color: #FFFFFF;
  margin-bottom: 16px;
}
.footer-brand .brand-colon { color: var(--mustard); }
.footer-addr { font-size: 0.82rem; font-style: normal; line-height: 2.1; }
.footer-head {
  font-family: var(--font-en);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.2em;
  color: var(--mustard);
  margin-bottom: 18px;
}
.footer-nav li { margin-bottom: 10px; }
.footer-nav a { color: rgba(255,255,255,0.8); font-size: 0.85rem; }
.footer-nav a:hover, .footer-nav a:focus { color: var(--mustard); text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 26px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.45);
}

/* ─── PAGE HEADER（下層） ──────────────────────────────── */
.page-head { padding: 170px 0 70px; border-bottom: 2px solid var(--ink); }
.page-head .sec-en { font-size: clamp(44px, 6vw, 80px); }
.breadcrumb { margin-top: 22px; font-size: 0.75rem; color: var(--gray); }
.breadcrumb a { text-decoration: underline; text-underline-offset: 3px; }

/* ─── ABOUT ────────────────────────────────────────────── */
.message-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }
.message-photo {
  border: 2px solid var(--ink);
  box-shadow: var(--shadow);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--paper);
}
.message-photo img { width: 100%; height: 100%; object-fit: cover; }
.message-body h3 { font-size: 1.5rem; font-weight: 900; line-height: 1.8; margin-bottom: 24px; }
.message-body p { font-size: 0.92rem; margin-bottom: 18px; }
.message-sign { margin-top: 30px; font-weight: 900; }
.message-sign .sign-role { font-size: 0.75rem; font-weight: 500; color: var(--gray); display: block; }
.map-box {
  border: 2px solid var(--ink);
  box-shadow: var(--shadow);
  background: repeating-linear-gradient(45deg, var(--paper), var(--paper) 14px, #FFFFFF 14px, #FFFFFF 28px);
  aspect-ratio: 21 / 9;
  display: flex; align-items: center; justify-content: center;
}
.map-box span {
  font-family: var(--font-en);
  font-weight: 900; font-size: 1.2rem; letter-spacing: 0.2em;
  background: #FFFFFF;
  border: 2px solid var(--ink);
  padding: 12px 30px;
}

/* ─── CONTACT ──────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 60px;
  align-items: start;
}
.form-field { margin-bottom: 24px; }
.form-field label {
  display: block;
  font-size: 0.85rem; font-weight: 900;
  margin-bottom: 8px;
}
.req {
  display: inline-block;
  background: var(--ink); color: #FFFFFF;
  font-size: 0.62rem; font-weight: 700;
  border-radius: 999px;
  padding: 1px 10px;
  margin-left: 8px;
  vertical-align: 2px;
}
.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field select,
.form-field textarea {
  width: 100%;
  font-family: var(--font-ja);
  font-size: 0.95rem;
  color: var(--ink);
  background: #FFFFFF;
  border: 2px solid var(--ink);
  border-radius: 0;
  padding: 14px 16px;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: 3px solid var(--mustard);
  outline-offset: 0;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-consent { font-size: 0.8rem; margin: 8px 0 26px; }
.form-consent a { text-decoration: underline; text-underline-offset: 3px; font-weight: 700; }
.form-submit-wrap { text-align: left; }
.form-done {
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-sm);
  background: var(--mustard);
  padding: 30px;
  font-weight: 700;
}
.contact-info-card {
  border: 2px solid var(--ink);
  box-shadow: var(--shadow);
  background: var(--paper);
  padding: 34px 30px;
  margin-bottom: 30px;
}
.contact-info-card h3 {
  font-family: var(--font-en);
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.18em;
  margin-bottom: 16px;
}
.contact-info-card .tel-num {
  font-family: var(--font-en);
  font-size: 1.9rem; font-weight: 900;
  display: block;
}
.contact-info-card p { font-size: 0.8rem; color: var(--gray); }
.faq-item {
  border: 2px solid var(--ink);
  background: #FFFFFF;
  margin-bottom: 16px;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 900; font-size: 0.9rem;
  padding: 18px 46px 18px 20px;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-family: var(--font-en);
  font-weight: 900; font-size: 1.3rem;
  position: absolute; right: 18px; top: 50%;
  transform: translateY(-50%);
}
.faq-item[open] summary::after { content: '−'; }
.faq-item summary:hover, .faq-item summary:focus { background: var(--paper); }
.faq-a { padding: 0 20px 20px; font-size: 0.86rem; border-top: 1px dashed var(--ink); padding-top: 14px; margin: 0 20px 20px; padding-left: 0; padding-right: 0; }

/* ─── PRIVACY / NEWS ARTICLE ───────────────────────────── */
.prose { max-width: 760px; }
.prose h2 {
  font-size: 1.2rem; font-weight: 900;
  border-left: 6px solid var(--mustard);
  border-bottom: 2px solid var(--ink);
  padding: 4px 0 8px 16px;
  margin: 44px 0 18px;
}
.prose p, .prose li { font-size: 0.92rem; margin-bottom: 14px; }
.prose ul { padding-left: 1.2em; }
.prose ul li { list-style: square; margin-bottom: 6px; }
.article-meta { display: flex; align-items: center; gap: 18px; margin-bottom: 30px; }
.article-title { font-size: clamp(24px, 3vw, 36px); font-weight: 900; line-height: 1.7; margin-bottom: 34px; }
.article-back { margin-top: 56px; }

/* ─── MOBILE ───────────────────────────────────────────── */
@media (max-width: 1020px) {
  .header-nav a:not(.header-cta) { display: none; }
}

@media (max-width: 767px) {
  body { font-size: 15px; }
  .section { padding: 68px 0; }

  /* ヘッダー: ピル内はロゴ＋ハンバーガーのみ */
  .site-header { top: 46px; width: calc(100% - 20px); }
  .header-pill { padding: 8px 8px 8px 20px; }
  .header-nav { display: none; }
  .hamburger { display: flex; }

  /* ハンバーガー透け防止（menu-active 3点セット） */
  .site-header.menu-active .header-pill {
    background: #FFFFFF !important;
  }
  .site-header, .site-header.is-scrolled, .site-header.menu-active {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  .mobile-nav-close { top: 50px; }

  /* HERO: 上テキスト / 下2×2写真グリッド（ビジュアル主体のためスマホ2カラム採用） */
  .hero { padding: 128px 0 60px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-typo { font-size: clamp(52px, 15vw, 76px); }
  .hero-photos { gap: 14px; }
  .hero-photos .ph-col:nth-child(2) { margin-top: 26px; }
  .tile { margin-bottom: 14px; box-shadow: var(--shadow-sm); }

  /* グリッド系は1カラムへ */
  .feature-grid { grid-template-columns: 1fr; gap: 24px; }
  .works-grid { grid-template-columns: 1fr; gap: 34px; }
  .flow-grid { grid-template-columns: 1fr; gap: 20px; }
  .price-grid { grid-template-columns: 1fr; gap: 34px; }
  .company-grid { grid-template-columns: 1fr; gap: 36px; }
  .message-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .page-head { padding: 128px 0 50px; }

  .news-list a, .news-list .news-row { flex-wrap: wrap; gap: 10px 16px; padding: 18px 4px; }
  .news-title { width: 100%; }

  .ba-before { width: 44%; left: -10px; bottom: -10px; }

  /* お問い合わせ: ページレイアウト2カラム解除（階層①） */
  .contact-grid, .contact-layout, .contact-wrap, .contact-flex,
  [class*="contact-grid"], [class*="contact-layout"], [class*="contact-wrap"] {
    display: block !important;
    grid-template-columns: 1fr !important;
    flex-direction: column !important;
    gap: 32px;
  }
  .contact-grid > * { margin-bottom: 40px; }

  /* お問い合わせ: フォーム内部2カラム解除（階層②） */
  .form-row, .form-grid, .form-2col, .form-pair, .input-row, .input-grid,
  [class*="form-row"], [class*="form-grid"], [class*="two-col"] {
    display: block !important;
    grid-template-columns: 1fr !important;
  }
  form input[type="text"], form input[type="email"], form input[type="tel"],
  form input[type="number"], form textarea, form select,
  .form-row > input, .form-row > textarea, .form-row > select,
  .form-row > div, .form-grid > * {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }
  .form-row, .form-grid { margin-bottom: 1rem; }
  .form-row .form-field { margin-bottom: 24px; }

  .cta { padding: 78px 0; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
