/* =============================================
   まるマル石けん工房 — メインスタイルシート
   このファイルは「見た目」を管理します。
   基本的に触らなくてOKです。
   ============================================= */

/* ── リセット & 基本設定 ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans JP', sans-serif;
  background: #fff;
  color: var(--text);
  line-height: 1.8;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── カラー変数（色を変えたい時はここだけ変更） ── */
:root {
  --g:    #3A6644;   /* メイングリーン */
  --g2:   #4E7E5A;   /* ホバー時グリーン */
  --gp:   #EAF3EC;   /* 薄いグリーン背景 */
  --gp2:  #F3F8F4;   /* さらに薄いグリーン */
  --text: #1A1A18;   /* メインテキスト */
  --sub:  #5C5C58;   /* サブテキスト */
  --lite: #8A8A85;   /* 補助テキスト */
  --bd:   #E0DDD8;   /* ボーダー */
  --bg:   #FAFAF8;   /* 薄いグレー背景 */
  --w:    #FFFFFF;   /* 白 */
  --warm: #F5F0E8;   /* 温かみのあるベージュ */
}

/* ── トップバー（電話番号） ── */
.topbar {
  background: var(--gp2);
  border-bottom: 1px solid var(--bd);
  padding: 0 40px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  height: 36px;
  font-size: 12px;
  color: var(--sub);
}
.topbar-tel { display: flex; align-items: center; gap: 12px; }
.topbar-note { font-size: 11px; letter-spacing: .02em; }
.topbar-num {
  font-family: 'Noto Serif JP', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--g);
  letter-spacing: .04em;
}
.topbar-num a { color: inherit; }

/* ── ヘッダー ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--bd);
  backdrop-filter: blur(6px);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo-wrap { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-wrap img { height: 40px; width: auto; }
.logo-text { line-height: 1.35; }
.logo-main {
  font-family: 'Noto Serif JP', serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: .06em;
}
.logo-sub { font-size: 10px; color: var(--lite); letter-spacing: .08em; }

/* ── ナビゲーション ── */
.site-nav { display: flex; align-items: center; gap: 0; }
.site-nav a {
  font-size: 13px;
  color: var(--sub);
  padding: 6px 14px;
  position: relative;
  letter-spacing: .03em;
  white-space: nowrap;
  transition: color .2s;
}
.site-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--g);
  transform: scaleX(0);
  transition: transform .25s;
}
.site-nav a:hover { color: var(--g); }
.site-nav a:hover::after { transform: scaleX(1); }
.site-nav a + a { border-left: 1px solid var(--bd); }
.nav-cta {
  margin-left: 16px;
  background: var(--g) !important;
  color: var(--w) !important;
  padding: 9px 20px !important;
  border-radius: 3px;
  font-weight: 500 !important;
  transition: background .2s !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--g2) !important; }

/* ── ハンバーガーメニュー（スマホ） ── */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-direction: column;
  gap: 5px;
  width: 26px;
}
.hamburger span { display: block; height: 1.5px; background: var(--text); transition: .3s; }
.mob-nav {
  display: none;
  position: fixed;
  inset: 0;
  top: 104px;
  z-index: 199;
  background: var(--w);
  padding: 24px 28px;
  overflow-y: auto;
  border-top: 1px solid var(--bd);
}
.mob-nav.open { display: block; }
.mob-nav a {
  display: block;
  font-size: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--bd);
  color: var(--text);
}
.mob-cta {
  margin-top: 24px;
  background: var(--g);
  color: var(--w) !important;
  padding: 16px !important;
  text-align: center;
  font-weight: 600;
  border-radius: 3px;
  border: none !important;
}

/* ── セクション共通 ── */
section { padding: 88px 40px; }
.inner { max-width: 1200px; margin: 0 auto; }
.sec-en {
  font-size: 10px;
  letter-spacing: .22em;
  color: var(--g);
  margin-bottom: 6px;
  display: block;
}
.sec-h2 {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .04em;
  margin-bottom: 10px;
}
.sec-note { font-size: 13px; color: var(--sub); max-width: 480px; }
.sec-head { margin-bottom: 52px; }
.sec-head.center { text-align: center; }
.sec-head.center .sec-note { margin: 0 auto; }
.divider {
  width: 36px;
  height: 2px;
  background: var(--g);
  margin: 14px 0;
}
.divider.center { margin: 14px auto; }

/* ── ボタン ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .08em;
  padding: 14px 32px;
  border-radius: 3px;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
  text-decoration: none;
  white-space: nowrap;
  border: 2px solid transparent;
}
.btn-fill { background: var(--g); color: var(--w); border-color: var(--g); }
.btn-fill:hover { background: var(--g2); border-color: var(--g2); }
.btn-outline { background: transparent; color: var(--g); border-color: var(--g); }
.btn-outline:hover { background: var(--g); color: var(--w); }

/* ── ヒーロー ── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 104px);
  overflow: hidden;
}
.hero-text-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px 64px 72px 80px;
  background: var(--w);
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gp);
  color: var(--g);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .06em;
  padding: 6px 16px;
  border-radius: 3px;
  margin-bottom: 32px;
  align-self: flex-start;
}
.hero-h1 {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(28px, 3.2vw, 46px);
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: .04em;
  color: var(--text);
  margin-bottom: 28px;
  white-space: pre-line;
}
.hero-body {
  font-size: 14px;
  color: var(--sub);
  line-height: 2;
  margin-bottom: 44px;
  max-width: 420px;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-img-col {
  position: relative;
  overflow: hidden;
  background: var(--gp2);
}
.hero-img-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ── 信頼ストリップ ── */
.trust-strip {
  background: var(--g);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.trust-item {
  padding: 13px 32px;
  color: rgba(255,255,255,.8);
  font-size: 12px;
  letter-spacing: .04em;
  border-right: 1px solid rgba(255,255,255,.18);
  display: flex;
  align-items: center;
  gap: 8px;
}
.trust-item:last-child { border-right: none; }
.trust-item strong { color: #fff; font-weight: 500; }

/* ── アプローチ（フロー） ── */
.flow { background: var(--w); }

/* ── フロー全体コンテナ ── */
.ap-flow {
  display: flex;
  align-items: stretch;
  margin-top: 48px;
}

/* ── ステップカード ── */
.ap-step {
  flex: 1;
  min-width: 0;
  background: #fff;
  border: 1px solid var(--bd);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .3s, transform .3s;
}
.ap-step:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,.09);
  transform: translateY(-3px);
}

/* ステップ画像 */
.ap-img { aspect-ratio: 4/3; overflow: hidden; background: var(--warm); flex-shrink: 0; }
.ap-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.ap-step:hover .ap-img img { transform: scale(1.05); }

/* ステップ本文 */
.ap-body { padding: 22px 22px 26px; flex: 1; display: flex; flex-direction: column; }

/* 番号＋タグ行 */
.ap-num-row { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.ap-num {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--g);
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  font-family: 'Noto Serif JP', serif;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(44,74,50,.25);
}
.ap-tag {
  background: var(--gp);
  color: var(--g);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  padding: 4px 12px;
  border-radius: 20px;
}
.ap-name {
  font-family: 'Noto Serif JP', serif;
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}
.ap-desc { font-size: 13px; color: var(--sub); line-height: 1.9; margin: 0; }

/* ── ステップ間の矢印 ── */
.ap-arrow {
  flex: 0 0 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ap-arrow-pc { font-size: 26px; color: var(--g); line-height: 1; }
.ap-arrow-sp { display: none; }

/* ── ゴールカード ── */
.ap-goal {
  flex: 0 0 140px;
  background: var(--g);
  color: #fff;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 14px;
  text-align: center;
  gap: 6px;
}
.ap-goal-icon { font-size: 30px; line-height: 1; }
.ap-goal-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  opacity: .75;
  margin-top: 2px;
}
.ap-goal-text {
  font-family: 'Noto Serif JP', serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.7;
}
.ap-goal-note { font-size: 11px; opacity: .75; line-height: 1.6; margin: 0; }

/* ── サービス ── */
.services { background: var(--bg); }
.svc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2px;
  background: var(--bd);
  border-radius: 4px;
  overflow: hidden;
}
.svc-card {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--warm);
  display: block;
  text-decoration: none;
  color: inherit;
}
.svc-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.svc-card:hover img { transform: scale(1.06); }
.svc-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30,50,35,.75) 0%, rgba(30,50,35,.15) 55%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  transition: background .3s;
}
.svc-card:hover .svc-overlay {
  background: linear-gradient(to top, rgba(58,102,68,.82) 0%, rgba(58,102,68,.3) 55%, transparent 100%);
}
.svc-en { font-size: 10px; letter-spacing: .2em; color: rgba(255,255,255,.7); margin-bottom: 4px; }
.svc-nm {
  font-family: 'Noto Serif JP', serif;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  line-height: 1.5;
  white-space: pre-line;
}
.svc-arrow {
  margin-top: 8px;
  font-size: 11px;
  color: rgba(255,255,255,.75);
  letter-spacing: .08em;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .3s, transform .3s;
}
.svc-card:hover .svc-arrow { opacity: 1; transform: translateX(0); }

/* ── アフターケア ── */
.aftercare-sec { background: var(--w); }
.aftercare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1200px;
  margin: 0 auto;
}
.aftercare-img { position: relative; overflow: hidden; min-height: 480px; }
.aftercare-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.aftercare-img-badge {
  position: absolute;
  top: 24px;
  left: 24px;
  background: #E65C00;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  padding: 5px 14px;
  border-radius: 3px;
}
.aftercare-text {
  padding: 72px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--gp2);
}
.aftercare-h2 {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 600;
  line-height: 1.65;
  margin-bottom: 18px;
  white-space: pre-line;
}
.aftercare-body {
  font-size: 13px;
  color: var(--sub);
  line-height: 2;
  margin-bottom: 32px;
  white-space: pre-line;
}

/* ── 商品カード ── */
.products-sec { background: var(--warm); }
.prod-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.prod-card {
  background: var(--w);
  border-radius: 4px;
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
  display: block;
  text-decoration: none;
  color: inherit;
}
.prod-card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(0,0,0,.09); }
.prod-img { aspect-ratio: 1/1; background: var(--bg); overflow: hidden; position: relative; }
.prod-img img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s; padding: 8px; box-sizing: border-box; }
.prod-card:hover .prod-img img { transform: scale(1.05); }
.prod-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--g);
  color: #fff;
  font-size: 10px;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 20px;
  letter-spacing: .06em;
}
.prod-body { padding: 10px 12px 16px; }
.prod-cat { font-size: 10px; letter-spacing: .14em; color: var(--lite); margin-bottom: 4px; }
.prod-name {
  font-size: 13px;
  font-weight: 400;
  margin-bottom: 6px;
  line-height: 1.6;
  color: var(--text);
}
.prod-desc { font-size: 12px; color: var(--sub); line-height: 1.8; margin-bottom: 10px; }
.prod-price { font-size: 13px; font-weight: 500; color: var(--g); }
.prod-price small { font-size: 11px; color: var(--sub); font-weight: 400; margin-left: 2px; }

/* ── お客様の声 ── */
.voice-sec { background: var(--bg); }
.vc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.vc {
  background: var(--w);
  border: 1px solid var(--bd);
  border-radius: 4px;
  padding: 28px 24px;
}
.vc-ico { font-size: 26px; margin-bottom: 10px; }
.vc-type { font-size: 10px; letter-spacing: .14em; color: var(--g); font-weight: 600; margin-bottom: 12px; }
.vc-q {
  font-family: 'Noto Serif JP', serif;
  font-size: 14px;
  line-height: 1.95;
  margin-bottom: 14px;
}
.vc-from {
  font-size: 11px;
  color: var(--lite);
  border-top: 1px solid var(--bd);
  padding-top: 12px;
}

/* ── こだわり ── */
.commit-sec { background: var(--warm); }
.commit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.commit-img { aspect-ratio: 3/4; border-radius: 4px; overflow: hidden; background: var(--bd); }
.commit-img img { width: 100%; height: 100%; object-fit: cover; }
.commit-list { display: flex; flex-direction: column; gap: 32px; margin-top: 32px; }
.commit-item { display: flex; gap: 20px; align-items: flex-start; }
.commit-num {
  font-family: 'Noto Serif JP', serif;
  font-size: 36px;
  font-weight: 300;
  color: var(--g2);
  line-height: 1;
  flex-shrink: 0;
  width: 44px;
  opacity: .7;
}
.commit-item h3 { font-family: 'Noto Serif JP', serif; font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.commit-item p { font-size: 13px; color: var(--sub); line-height: 1.9; }

/* ── Instagram ── */
.insta-sec { background: var(--w); }
.insta-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  margin-top: 48px;
}
.insta-item { aspect-ratio: 1; overflow: hidden; background: var(--warm); position: relative; }
.insta-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(58,102,68,0);
  transition: background .3s;
}
.insta-item:hover::after { background: rgba(58,102,68,.22); }
.insta-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.insta-item:hover img { transform: scale(1.05); }

/* ── お問い合わせ（CTA） ── */
.cta-sec { background: var(--gp2); }
.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--bd);
  border-radius: 4px;
  overflow: hidden;
}
.cta-half { padding: 52px 48px; }
.cta-half:first-child { border-right: 1px solid var(--bd); background: var(--w); }
.cta-lbl { font-size: 10px; letter-spacing: .2em; color: var(--g); margin-bottom: 8px; }
.cta-tel {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(24px, 2.8vw, 36px);
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}
.cta-tel a { color: inherit; }
.cta-time { font-size: 12px; color: var(--sub); margin-bottom: 28px; }
.cta-h { font-family: 'Noto Serif JP', serif; font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.cta-note { font-size: 13px; color: var(--sub); margin-bottom: 24px; line-height: 1.9; }
.cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-line { background: #06C755; color: #fff; border-color: #06C755; }
.btn-line:hover { background: #05a648; border-color: #05a648; }

/* ── フッター ── */
.site-footer { background: #1C2E22; padding: 52px 40px 28px; }
.ft { max-width: 1200px; margin: 0 auto; }
.ft-top {
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin-bottom: 24px;
}
.ft-brand { flex: 1; min-width: 200px; }
.ft-logo { font-family: 'Noto Serif JP', serif; font-size: 16px; font-weight: 600; color: #fff; margin-bottom: 4px; }
.ft-company { font-size: 11px; color: rgba(255,255,255,.4); letter-spacing: .08em; margin-bottom: 16px; }
.ft-addr { font-size: 12px; color: rgba(255,255,255,.55); line-height: 2; }
.ft-addr a { color: inherit; }
.ft-links { display: flex; gap: 48px; flex-wrap: wrap; }
.ft-col h4 {
  font-size: 10px;
  letter-spacing: .2em;
  color: rgba(255,255,255,.38);
  font-weight: 500;
  margin-bottom: 14px;
  text-transform: uppercase;
}
.ft-col a { display: block; font-size: 12px; color: rgba(255,255,255,.58); padding: 3px 0; transition: color .2s; }
.ft-col a:hover { color: #fff; }
.ft-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: rgba(255,255,255,.28);
  flex-wrap: wrap;
  gap: 8px;
}

/* ── ページヒーロー（各ページのタイトル部分） ── */
.page-hero {
  background: var(--gp2);
  border-bottom: 1px solid var(--bd);
  padding: 48px 40px;
  text-align: center;
}
.page-hero .sec-h2 { margin: 0; }

/* ── 商品詳細ページ ── */
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.detail-img {
  aspect-ratio: 3/4;
  background: var(--bg);
  border-radius: 4px;
  overflow: hidden;
}
.detail-img img { width: 100%; height: 100%; object-fit: cover; }
.detail-cat { font-size: 11px; letter-spacing: .16em; color: var(--lite); margin-bottom: 8px; }
.detail-name {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 600;
  margin-bottom: 20px;
  line-height: 1.5;
}
.detail-price { font-size: 24px; font-weight: 600; margin-bottom: 28px; }
.detail-price small { font-size: 13px; color: var(--lite); font-weight: 400; margin-left: 4px; }
.detail-desc { font-size: 14px; color: var(--sub); line-height: 2; margin-bottom: 36px; }
.detail-back { font-size: 13px; color: var(--g); text-decoration: underline; cursor: pointer; }
.detail-not-found { text-align: center; padding: 80px 20px; color: var(--sub); }

/* ── お問い合わせフォーム ── */
.contact-form { max-width: 680px; margin: 0 auto; }
.form-group { margin-bottom: 28px; }
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text);
}
.form-label .required {
  font-size: 11px;
  color: #c0392b;
  margin-left: 6px;
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--bd);
  border-radius: 3px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  color: var(--text);
  background: var(--w);
  transition: border-color .2s;
  appearance: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--g);
  box-shadow: 0 0 0 3px rgba(58,102,68,.1);
}
.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: 10px;
  color: var(--lite);
  pointer-events: none;
}
.form-submit { width: 100%; margin-top: 8px; font-size: 16px; padding: 18px; }
.form-success {
  text-align: center;
  padding: 40px;
  background: var(--gp);
  border-radius: 4px;
  color: var(--g);
  font-weight: 500;
  display: none;
}

/* ── 会社概要テーブル ── */
.company-table { width: 100%; border-collapse: collapse; margin-top: 40px; }
.company-table th, .company-table td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--bd);
  font-size: 14px;
  text-align: left;
  vertical-align: top;
  line-height: 1.9;
}
.company-table th {
  width: 180px;
  color: var(--sub);
  font-weight: 500;
  white-space: nowrap;
  background: var(--bg);
}

/* ══════════════════════════════════════════
   商品一覧ページ — ショップレイアウト
══════════════════════════════════════════ */

/* ページ全体 */
.shop-page { padding: 0; }
.shop-wrap {
  display: grid;
  grid-template-columns: 180px 1fr;
  min-height: 600px;
  padding: 0 40px;
}

/* ── 左サイドバー ── */
.shop-sidebar {
  border-right: 1px solid var(--bd);
  padding-top: 32px;
}
.sidebar-header {
  background: var(--g);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 16px;
  letter-spacing: .05em;
}
.sidebar-cat-list { border-left: 1px solid var(--bd); }
.sidebar-cat-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border-bottom: 1px solid var(--bd);
  font-size: 13px;
  color: var(--text);
  cursor: pointer;
  transition: background .15s, color .15s;
  user-select: none;
}
.sidebar-cat-item:hover { background: var(--gp); color: var(--g); }
.sidebar-cat-item.active { background: var(--gp); color: var(--g); font-weight: 600; }
.cat-arrow { font-size: 14px; color: var(--lite); }
.sidebar-cat-item.active .cat-arrow,
.sidebar-cat-item:hover .cat-arrow { color: var(--g); }

/* ── メインエリア ── */
.shop-main { padding: 32px 0 32px 32px; }

/* ── 上部バー（検索・ページネーション） ── */
.shop-topbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--bd);
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.shop-select {
  padding: 6px 10px;
  border: 1px solid var(--bd);
  border-radius: 3px;
  font-size: 13px;
  font-family: 'Noto Sans JP', sans-serif;
  background: var(--w);
  color: var(--text);
  cursor: pointer;
  min-width: 120px;
}
.shop-search {
  flex: 1;
  position: relative;
  min-width: 160px;
}
.shop-search-input {
  width: 100%;
  padding: 6px 32px 6px 12px;
  border: 1px solid var(--bd);
  border-radius: 3px;
  font-size: 13px;
  font-family: 'Noto Sans JP', sans-serif;
  outline: none;
  transition: border-color .2s;
  box-sizing: border-box;
}
.shop-search-input:focus { border-color: var(--g); }
.shop-search-icon {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  pointer-events: none;
}
.shop-pagination {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.shop-page-select {
  padding: 5px 6px;
  border: 1px solid var(--bd);
  border-radius: 3px;
  font-size: 12px;
  font-family: 'Noto Sans JP', sans-serif;
  background: var(--w);
  cursor: pointer;
}
.shop-page-btn {
  width: 28px;
  height: 28px;
  border: 1px solid var(--bd);
  border-radius: 3px;
  background: var(--w);
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sub);
  transition: background .15s;
  line-height: 1;
}
.shop-page-btn:hover:not([disabled]) { background: var(--bg); color: var(--g); }
.shop-page-btn[disabled] { opacity: .4; cursor: default; }

/* ── ソートバー ── */
.shop-sortbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 8px;
}
.shop-count { color: var(--sub); font-size: 12px; }
.shop-sort-links { display: flex; gap: 14px; flex-wrap: wrap; }
.shop-sort-link {
  color: var(--sub);
  font-size: 12px;
  cursor: pointer;
  transition: color .15s;
  white-space: nowrap;
}
.shop-sort-link:hover { color: var(--g); }
.shop-sort-link.active { color: var(--g); font-weight: 700; border-bottom: 1px solid var(--g); }

/* ── 商品グリッド（4列） ── */
.prod-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

/* ── 読み込み中表示 ── */
.loading {
  text-align: center;
  padding: 80px 20px;
  color: var(--lite);
  font-size: 14px;
}
.error-msg {
  text-align: center;
  padding: 40px 20px;
  color: #c0392b;
  background: #fdf0f0;
  border-radius: 4px;
  font-size: 13px;
  line-height: 2;
}

/* ── レスポンシブ（スマホ対応） ── */
@media (max-width: 1100px) {
  .site-nav { display: none; }
  .hamburger { display: flex; }
  .topbar { padding: 0 24px; }
  .prod-grid-4 { grid-template-columns: repeat(3, 1fr); }
  .shop-wrap { grid-template-columns: 160px 1fr; padding: 0 24px; }
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-img-col { aspect-ratio: 16/9; order: -1; }
  .hero-text-col { padding: 52px 32px; }
  .aftercare-grid { grid-template-columns: 1fr; }
  .aftercare-img { min-height: 280px; }
  .aftercare-text { padding: 48px 36px; }
  .commit-grid { grid-template-columns: 1fr; gap: 40px; }
  .vc-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .svc-grid { grid-template-columns: 1fr; background: none; gap: 16px; }
  .svc-card { aspect-ratio: 16/7; border-radius: 4px; }
  /* アプローチフロー — タブレット以下は縦積み */
  .ap-flow { flex-direction: column; margin-top: 32px; }
  .ap-arrow { flex: 0 0 40px; }
  .ap-arrow-pc { display: none; }
  .ap-arrow-sp { display: block; font-size: 22px; color: var(--g); }
  .ap-goal { flex: 0 0 auto; padding: 28px 20px; }
  .cta-grid { grid-template-columns: 1fr; }
  .cta-half:first-child { border-right: none; border-bottom: 1px solid var(--bd); }
  .insta-grid { grid-template-columns: repeat(3, 1fr); }
  .insta-item:nth-child(n+4) { display: none; }
  .ft-top { flex-direction: column; gap: 32px; }
  .prod-grid { grid-template-columns: 1fr; max-width: 360px; margin-left: auto; margin-right: auto; }
  .prod-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .detail-grid { grid-template-columns: 1fr; }
  /* ショップ：サイドバーを上に移動 */
  .shop-wrap { grid-template-columns: 1fr; padding: 0 20px; }
  .shop-sidebar { border-right: none; border-bottom: 1px solid var(--bd); padding-top: 20px; padding-bottom: 12px; }
  .sidebar-cat-list { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 0; border-left: none; }
  .sidebar-cat-item { border: 1px solid var(--bd); border-bottom: 1px solid var(--bd); border-radius: 4px; padding: 6px 12px; font-size: 12px; }
  .cat-arrow { display: none; }
  .shop-main { padding: 20px 0; }
}

@media (max-width: 640px) {
  section { padding: 64px 20px; }
  .hero-text-col { padding: 44px 20px; }
  .hero-h1 { font-size: 28px; }
  .trust-strip { flex-direction: column; }
  .trust-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.15); justify-content: center; }
  .trust-item:last-child { border-bottom: none; }
  .aftercare-text { padding: 40px 24px; }
  .cta-half { padding: 40px 24px; }
  .cta-btns .btn { width: 100%; }
  .site-footer { padding: 44px 20px 24px; }
  .page-hero { padding: 40px 20px; }
  .prod-grid-4 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .company-table th { width: 100px; }
}

/* ==============================================
   会社概要ページ — アクセスセクション
   ============================================== */

/* 地図2枚横並び */
.access-maps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
  align-items: stretch;
}
.access-map-col { display: flex; flex-direction: column; }
.access-map-col-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--g);
  margin-bottom: 10px;
}

/* 左：詳細案内図 */
.access-custom-img {
  width: 100%;
  display: block;
  border-radius: 8px;
  border: 1px solid var(--bd);
  object-fit: contain;
  background: var(--bg);
}

/* 右：Google Maps iframe */
.access-map-frame {
  flex: 1;
  min-height: 320px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--bd);
}
.access-map-frame iframe { display: block; width: 100%; height: 100%; border: none; }

/* 住所＋アクセス情報バー */
.access-info-bar {
  margin-top: 24px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  background: var(--bg);
  border-radius: 8px;
  padding: 24px 28px;
  align-items: start;
}
.access-address { min-width: 200px; }
.access-address-label { font-size: 11px; font-weight: 700; letter-spacing: .1em; color: var(--g); margin-bottom: 8px; }
.access-address-text { font-size: 14px; font-weight: 500; line-height: 1.8; margin: 0 0 10px; color: var(--text); }
.access-map-link {
  display: inline-block;
  font-size: 12px;
  color: var(--g);
  text-decoration: underline;
  font-weight: 500;
}
.access-map-link:hover { opacity: .75; }

.access-routes { display: flex; flex-direction: column; gap: 12px; }
.access-route-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--w);
  border: 1px solid var(--bd);
  border-radius: 8px;
  padding: 14px 16px;
}
.access-route-icon { font-size: 20px; flex-shrink: 0; line-height: 1.4; }
.access-route-label { font-size: 12px; font-weight: 700; color: var(--g); margin-bottom: 3px; }
.access-route-detail { font-size: 13px; color: var(--sub); line-height: 1.65; }

@media (max-width: 768px) {
  .access-maps-grid { grid-template-columns: 1fr; }
  .access-map-frame { min-height: 260px; }
  .access-info-bar { grid-template-columns: 1fr; }
}

/* ==============================================
   サービス詳細ページ専用スタイル
   ============================================== */

/* ── パンくずリスト ── */
.breadcrumb {
  background: var(--bg);
  border-bottom: 1px solid var(--bd);
  padding: 12px 40px;
  font-size: 12px;
  color: var(--lite);
}
.breadcrumb .inner { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.breadcrumb a { color: var(--sub); transition: color .2s; }
.breadcrumb a:hover { color: var(--g); }
.bc-sep { color: var(--lite); }
.bc-current { color: var(--text); font-weight: 500; }

/* ── サービスヒーロー ── */
.svc-page-hero {
  position: relative;
  min-height: 420px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}
.svc-page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(20,40,25,.78) 0%, rgba(58,102,68,.55) 100%);
}
.svc-page-hero-inner {
  position: relative;
  z-index: 2;
  padding: 72px 40px;
}
.svc-page-h1 {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(26px, 3.5vw, 48px);
  font-weight: 600;
  line-height: 1.5;
  color: #fff;
  letter-spacing: .04em;
  margin: 12px 0 16px;
}
.svc-page-subtitle {
  font-size: 14px;
  color: rgba(255,255,255,.75);
  letter-spacing: .06em;
  border-left: 3px solid rgba(255,255,255,.5);
  padding-left: 12px;
}

/* ── サービス概要 ── */
.svc-overview { background: var(--w); padding: 88px 40px; }
.svc-overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.svc-overview-desc {
  font-size: 14px;
  color: var(--sub);
  line-height: 2.1;
  margin-top: 20px;
}
.svc-overview-img {
  aspect-ratio: 4/3;
  border-radius: 4px;
  overflow: hidden;
  background: var(--warm);
}
.svc-overview-img img { width: 100%; height: 100%; object-fit: cover; }

/* ── ポイント ── */
.svc-points { background: var(--bg); padding: 88px 40px; }
.svc-points-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.svc-point-card {
  background: var(--w);
  border: 1px solid var(--bd);
  border-radius: 4px;
  padding: 28px 22px;
  text-align: center;
  transition: box-shadow .25s;
}
.svc-point-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,.07); }
.svc-point-icon { font-size: 32px; margin-bottom: 14px; }
.svc-point-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.5;
}
.svc-point-body { font-size: 12px; color: var(--sub); line-height: 1.9; }

/* ── 動画（YouTube埋め込み・レスポンシブ） ── */
.svc-video { background: #1C2E22; padding: 88px 40px; }
.svc-video .sec-en { color: rgba(255,255,255,.6); }
.svc-video .sec-h2 { color: #fff; }
.svc-video .divider { background: rgba(255,255,255,.4); }

/* レスポンシブ動画の核心テクニック
   padding-bottom: 56.25% = 16:9 比率
   iframe を absolute で全体に広げる */
.video-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;   /* 16:9 アスペクト比 */
  height: 0;
  overflow: hidden;
  border-radius: 4px;
  background: #000;
  margin-top: 0;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.video-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ── ギャラリー（ビフォーアフター） ── */
.svc-gallery { background: var(--warm); padding: 88px 40px; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 840px;
  margin: 0 auto;
}
.gallery-item {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 4px;
  overflow: hidden;
  background: var(--bd);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-label {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  padding: 4px 12px;
  border-radius: 3px;
  color: #fff;
}
.label-before { background: var(--sub); }
.label-after  { background: var(--g); }

/* ── サービスの流れ ── */
.svc-flow-sec { background: var(--w); padding: 88px 40px; }
.svc-flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--bd);
  border-radius: 4px;
  overflow: hidden;
}
.svc-flow-card { background: var(--w); padding: 28px 24px 32px; }
.svc-flow-step {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.svc-flow-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 15px;
  font-weight: 600;
}
.svc-flow-img {
  aspect-ratio: 3/2;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 14px;
  background: var(--warm);
}
.svc-flow-img img { width: 100%; height: 100%; object-fit: cover; }
.svc-flow-body { font-size: 13px; color: var(--sub); line-height: 1.9; }

/* ── 料金表 ── */
.svc-pricing { background: var(--gp2); padding: 88px 40px; }
.pricing-block { max-width: 760px; margin: 0 auto 48px; }
.pricing-block:last-child { margin-bottom: 0; }
.pricing-category {
  font-family: 'Noto Serif JP', serif;
  font-size: 16px;
  font-weight: 600;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--g);
  margin-bottom: 0;
  color: var(--text);
}
.pricing-table { width: 100%; border-collapse: collapse; }
.pricing-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--bd);
  font-size: 14px;
  vertical-align: middle;
  line-height: 1.7;
}
.pricing-table tr:nth-child(even) td { background: var(--bg); }
.price-cell {
  text-align: right;
  font-weight: 600;
  color: var(--g);
  white-space: nowrap;
  width: 140px;
}
.pricing-notes {
  list-style: none;
  margin-top: 12px;
  padding: 0;
}
.pricing-notes li {
  font-size: 12px;
  color: var(--lite);
  padding: 4px 0;
  padding-left: 1em;
  text-indent: -1em;
}

/* ── お客様の声（1件） ── */
.svc-voice { background: var(--bg); padding: 88px 40px; }

/* ── FAQ ── */
.svc-faq { background: var(--w); padding: 88px 40px; }
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--bd);
}
.faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
  gap: 16px;
  font-family: 'Noto Sans JP', sans-serif;
}
.faq-q:hover .faq-q-text { color: var(--g); }
.faq-q-text {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.7;
  transition: color .2s;
}
.faq-icon {
  flex-shrink: 0;
  font-size: 18px;
  color: var(--g);
  width: 24px;
  text-align: center;
  transition: transform .25s;
}
.faq-a {
  padding: 0 0 20px 0;
}
.faq-a p {
  font-size: 13px;
  color: var(--sub);
  line-height: 1.95;
  padding: 16px 20px;
  background: var(--gp2);
  border-radius: 3px;
  border-left: 3px solid var(--g);
}

/* ── お問い合わせCTA ── */
.svc-cta {
  background: var(--gp2);
  padding: 88px 40px;
}

/* ── レスポンシブ対応 ── */
@media (max-width: 1000px) {
  .svc-points-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-flow-grid   { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .svc-overview-grid { grid-template-columns: 1fr; gap: 40px; }
  .svc-overview-img  { aspect-ratio: 16/9; }
  .svc-page-hero     { min-height: 320px; }
  .breadcrumb        { padding: 10px 20px; }
}

@media (max-width: 640px) {
  .svc-points-grid { grid-template-columns: 1fr; }
  .svc-flow-grid   { grid-template-columns: 1fr; background: none; gap: 12px; }
  .svc-flow-card   { border: 1px solid var(--bd); border-radius: 4px; }
  .gallery-grid    { grid-template-columns: 1fr; }
  .svc-page-hero-inner { padding: 52px 20px; }
  .pricing-table td { padding: 12px 14px; }
  .price-cell { width: 100px; }
  .svc-overview { padding: 64px 20px; }
  .svc-points  { padding: 64px 20px; }
  .svc-video   { padding: 64px 20px; }
  .svc-gallery { padding: 64px 20px; }
  .svc-flow-sec { padding: 64px 20px; }
  .svc-pricing { padding: 64px 20px; }
  .svc-faq     { padding: 64px 20px; }
  .svc-cta     { padding: 64px 20px; }
}
