@charset "utf-8";
/* 人宿藍染工房 — 共通スタイル */

:root {
  --indigo: #1c3d5c;
  --indigo-deep: #14293f;
  --pill: #2a2d4e;
  --btn-blue: #1a54a8;
  --btn-blue-h: #16457f;
  --text: #1a1a1a;
  --muted: #555;
  --line: #e2e2e2;
  --bg-gray: #ececec;
  --maxw: 1100px;
  --gothic: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "YuGothic", Meiryo, "MS PGothic", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--gothic);
  color: var(--text);
  background: #fff;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* ===== ヘッダー ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand img { height: 46px; width: auto; }
.nav {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav a {
  text-decoration: none;
  color: #333;
  font-size: 15px;
  letter-spacing: .06em;
  padding: 6px 2px;
  transition: color .2s;
  white-space: nowrap;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--indigo); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: #333;
  margin: 5px 0;
  transition: .3s;
}

/* ===== 汎用セクション ===== */
.section { padding: 70px 20px; }
.section.gray { background: var(--bg-gray); }
.container { max-width: var(--maxw); margin: 0 auto; }
.narrow { max-width: 760px; margin-left: auto; margin-right: auto; }

.section-title {
  text-align: center;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 700;
  letter-spacing: .08em;
  margin: 0 0 14px;
}
.section-title.en { font-family: Arial, Helvetica, sans-serif; }
.title-rule {
  width: 46px;
  height: 2px;
  background: var(--text);
  margin: 0 auto 34px;
}
.lead {
  text-align: center;
  color: var(--muted);
  margin: 0 auto 30px;
}

/* ===== ページタイトル帯 ===== */
.page-head {
  text-align: center;
  padding: 56px 20px 40px;
}
.page-head .furigana {
  font-size: 14px;
  letter-spacing: .55em;
  color: #333;
  margin: 0 0 6px;
  padding-left: .55em;
}
.page-head h1 {
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 700;
  letter-spacing: .1em;
  margin: 0;
}
.page-head .sub {
  margin: 12px 0 0;
  color: var(--muted);
  letter-spacing: .08em;
}

/* ===== ボタン ===== */
.btn {
  display: inline-block;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  letter-spacing: .12em;
  text-align: center;
  transition: background .2s, opacity .2s;
}
.btn-blue {
  background: var(--btn-blue);
  color: #fff;
  padding: 15px 40px;
  border-radius: 40px;
  font-size: 16px;
}
.btn-blue:hover { background: var(--btn-blue-h); }
.btn-dark {
  background: var(--pill);
  color: #fff;
  padding: 13px 34px;
  border-radius: 40px;
  font-size: 15px;
}
.btn-dark:hover { opacity: .88; }
.btn-line {
  background: var(--text);
  color: #fff;
  padding: 12px 30px;
  font-size: 15px;
}
.btn-line:hover { opacity: .85; }
.btn-disabled {
  background: #3a3a3a;
  color: #fff;
  padding: 11px 30px;
  border-radius: 4px;
  font-size: 14px;
  cursor: default;
  opacity: .8;
}
.btn-center { text-align: center; margin: 40px 0 0; }

/* ===== ヒーロー ===== */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background-size: cover;
  background-position: center;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20, 30, 45, 0.42);
}
.hero-inner { position: relative; z-index: 1; padding: 40px 20px; max-width: 900px; }
.hero .spaced {
  font-size: clamp(2.4rem, 9vw, 5rem);
  letter-spacing: .3em;
  font-weight: 700;
  margin: 0;
  padding-left: .3em;
}
.hero .divider { width: min(70%, 420px); height: 1px; background: rgba(255,255,255,.85); margin: 26px auto; }
.hero .big { font-size: clamp(1.3rem, 3.4vw, 2rem); font-weight: 500; margin: 0; line-height: 1.7; }
.hero .note { margin: 26px 0 0; font-size: clamp(.9rem, 2.2vw, 1.05rem); line-height: 1.8; opacity: .95; }

/* ヒーロー（画像バナー） */
.hero-banner { width: 100%; background: #cfd6dc; }
.hero-banner img { width: 100%; max-height: 82vh; object-fit: cover; object-position: center; }

/* ===== Instagram 誘導 ===== */
.insta-band { text-align: center; padding: 56px 20px; }
.insta-band h2 { font-size: 1.4rem; font-weight: 500; margin: 0 0 8px; letter-spacing: .04em; }
.insta-band .handle { color: var(--muted); }
.insta-band .ig-link {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 22px; text-decoration: none; color: var(--indigo);
  border: 1px solid var(--indigo); border-radius: 40px; padding: 11px 26px;
  transition: background .2s, color .2s;
}
.insta-band .ig-link:hover { background: var(--indigo); color: #fff; }
.insta-band .ig-link img { width: 22px; height: 22px; }
.insta-band .ig-link:hover img { filter: invert(1); }

/* ===== サービスカード (Our Services) ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
  margin-top: 20px;
}
.svc-card {
  display: flex;
  gap: 18px;
  background: #d8d8d8;
  padding: 20px;
  align-items: center;
}
.svc-card .thumb { width: 42%; flex: 0 0 42%; aspect-ratio: 1/1; overflow: hidden; }
.svc-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.svc-card .body { flex: 1; }
.svc-card .catch { font-size: .9rem; color: #333; margin: 0 0 6px; }
.svc-card h3 { font-size: 1.4rem; margin: 0 0 12px; letter-spacing: .06em; }
.svc-card p { font-size: .9rem; color: #333; margin: 0 0 16px; line-height: 1.7; }

/* サービスリンク (画像上にピルボタン) */
.svc-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 20px;
}
.svc-link { position: relative; display: block; aspect-ratio: 1/1; overflow: hidden; text-decoration: none; }
.svc-link img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.svc-link:hover img { transform: scale(1.05); }
.svc-link span {
  position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%);
  background: var(--pill); color: #fff; padding: 9px 22px; border-radius: 30px;
  font-size: 14px; letter-spacing: .08em; white-space: nowrap;
}

/* ===== 素材サークル ===== */
.materials {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 20px;
}
.material { text-align: center; }
.material .circle {
  width: 150px; height: 150px; max-width: 100%;
  border-radius: 50%; overflow: hidden; margin: 0 auto 16px;
  aspect-ratio: 1/1;
}
.material .circle img { width: 100%; height: 100%; object-fit: cover; }
.material h3 { font-size: 1.05rem; margin: 0 0 8px; }
.material p { font-size: .85rem; color: var(--muted); margin: 0; line-height: 1.7; }

/* ===== 体験製品カード ===== */
.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 24px;
}
.product img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.product .row { display: flex; align-items: baseline; justify-content: space-between; margin: 14px 0 8px; }
.product h3 { font-size: 1.15rem; margin: 0; }
.product .price { font-size: 1.15rem; font-weight: 700; }
.product p { font-size: .85rem; color: var(--muted); margin: 0; line-height: 1.7; }

/* ===== タイムライン ===== */
.timeline { max-width: 720px; margin: 24px auto 0; }
.tl-item {
  display: grid;
  grid-template-columns: 70px 24px 1fr;
  gap: 14px;
  padding-bottom: 26px;
  position: relative;
}
.tl-time { text-align: right; font-size: .9rem; color: #333; padding-top: 2px; }
.tl-dot { position: relative; }
.tl-dot::before {
  content: ""; position: absolute; left: 50%; top: 6px; transform: translateX(-50%);
  width: 11px; height: 11px; border-radius: 50%; background: var(--text); z-index: 1;
}
.tl-item:not(:last-child) .tl-dot::after {
  content: ""; position: absolute; left: 50%; top: 6px; bottom: -26px; transform: translateX(-50%);
  width: 2px; background: #bbb;
}
.tl-body h4 { margin: 0 0 6px; font-size: 1.05rem; }
.tl-body p { margin: 0; font-size: .88rem; color: var(--indigo); line-height: 1.7; }

/* ===== 模様パターン ===== */
.patterns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 24px;
}
.pattern img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.pattern h3 { text-align: center; font-size: 1.1rem; margin: 14px 0 6px; }
.pattern p { text-align: center; font-size: .85rem; color: var(--muted); margin: 0; line-height: 1.7; }

/* ===== 情報パネル（暗背景） ===== */
.dark-panel {
  position: relative;
  color: #fff;
  background-size: cover;
  background-position: center;
  padding: 80px 20px;
}
.dark-panel::after { content: ""; position: absolute; inset: 0; background: rgba(15,20,28,.72); }
.dark-panel > * { position: relative; z-index: 1; }
.dark-panel .section-title, .dark-panel .title-rule { color: #fff; }
.dark-panel .title-rule { background: #fff; }
.dark-panel p { text-align: center; }

/* ===== 2カラム（画像＋テキスト） ===== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.split img { width: 100%; object-fit: cover; }
.info-list { list-style: none; padding: 0; margin: 16px 0 0; }
.info-list li { position: relative; padding-left: 1.1em; margin-bottom: 12px; font-size: .92rem; line-height: 1.8; }
.info-list li::before { content: "・"; position: absolute; left: 0; }
.price-box { background: #f2f2f2; border-radius: 8px; padding: 22px 26px; margin: 10px 0 20px; }
.price-box .p { font-size: 1.5rem; font-weight: 700; letter-spacing: .05em; }
.price-box small { font-size: .8rem; color: var(--muted); font-weight: 400; }

/* ===== フォーム ===== */
.form-grid { max-width: 760px; margin: 0 auto; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { margin-bottom: 22px; }
.field label { display: block; font-size: .85rem; margin-bottom: 8px; color: #333; }
.field .req { color: #c0392b; }
.field input, .field select, .field textarea {
  width: 100%; font-family: inherit; font-size: 1rem;
  border: 0; border-bottom: 1px solid #999; background: transparent;
  padding: 8px 2px; color: var(--text);
}
.field textarea { border: 1px solid #999; border-radius: 4px; min-height: 120px; padding: 10px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--indigo); }
.checks { display: flex; gap: 24px; flex-wrap: wrap; }
.checks label { display: inline-flex; align-items: center; gap: 8px; font-size: .95rem; white-space: nowrap; }
.form-note { text-align: center; color: var(--muted); font-size: .9rem; line-height: 1.8; margin: 0 auto 30px; }
.form-submit { text-align: center; margin-top: 10px; }
.form-submit .btn-blue { width: 100%; max-width: 100%; }

.cta-links {
  display: flex; justify-content: center; gap: 60px; flex-wrap: wrap;
  margin: 44px 0 0; text-align: center;
}
.cta-links .lbl { font-size: .9rem; margin-bottom: 12px; }

/* ===== FAQ ===== */
.faq { max-width: 860px; margin: 0 auto; }
.faq-tabs { display: flex; gap: 30px; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.faq-tab {
  background: none; border: 0; cursor: pointer; font-family: inherit; font-size: .95rem;
  padding: 10px 2px; color: #666; border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.faq-tab[aria-selected="true"] { color: var(--indigo); border-color: var(--indigo); }
.faq-panel { display: none; }
.faq-panel.active { display: block; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  font-family: inherit; font-size: 1.02rem; color: var(--text);
  padding: 22px 40px 22px 4px; position: relative;
}
.faq-q::after {
  content: ""; position: absolute; right: 8px; top: 50%;
  width: 10px; height: 10px; border-right: 2px solid #333; border-bottom: 2px solid #333;
  transform: translateY(-70%) rotate(45deg); transition: transform .25s;
}
.faq-item.open .faq-q::after { transform: translateY(-30%) rotate(-135deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { margin: 0; padding: 0 4px 22px; color: #444; font-size: .92rem; line-height: 1.9; }

/* ===== Access ===== */
.access-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: start; }
.access-map { width: 100%; aspect-ratio: 4/3; border: 0; }
.access-info .logo-sm { height: 54px; width: auto; margin-bottom: 10px; }
.access-info .furigana { font-size: 12px; letter-spacing: .5em; color: #333; margin: 0 0 4px; padding-left: .5em; }
.access-info dl { margin: 18px 0; }
.access-info p { margin: 8px 0; line-height: 1.9; }
.access-info .row2 { display: flex; align-items: flex-start; gap: 8px; margin: 8px 0; }
.access-info .k { min-width: 5.5em; color: #333; }
.socials { display: flex; gap: 16px; margin-top: 18px; }
.socials a { display: inline-block; }
.socials img { width: 26px; height: 26px; }
.qr { text-align: center; }
.qr img { width: 150px; margin: 0 auto; }
.qr .cap { font-size: .8rem; letter-spacing: .1em; color: #333; margin-top: 6px; }

/* ===== フッター ===== */
.site-footer { text-align: center; padding: 30px 20px; font-size: .8rem; color: #888; border-top: 1px solid var(--line); }

/* ===== Coming Soon ===== */
.coming {
  min-height: 70vh; display: flex; align-items: center; justify-content: center; text-align: center;
  color: #fff; background-size: cover; background-position: center; position: relative;
}
.coming::after { content: ""; position: absolute; inset: 0; background: rgba(26,84,168,.55); }
.coming-inner { position: relative; z-index: 1; padding: 40px 20px; }
.coming h1 { font-size: clamp(2rem, 6vw, 3rem); letter-spacing: .15em; margin: 0 0 14px; }
.coming .sub { letter-spacing: .08em; margin: 0 0 30px; }
.coming .soon { font-size: clamp(1.5rem, 5vw, 2.6rem); letter-spacing: .12em; font-weight: 700; }

/* ===== レスポンシブ ===== */
@media (max-width: 820px) {
  .nav {
    position: fixed; inset: 62px 0 auto 0; flex-direction: column; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    transform: translateY(-140%); transition: transform .3s; padding: 10px 0;
  }
  .nav.open { transform: translateY(0); }
  .nav li { text-align: center; }
  .nav a { display: block; padding: 14px; }
  .nav-toggle { display: block; }
  .services-grid { grid-template-columns: 1fr; }
  .svc-links { grid-template-columns: repeat(2, 1fr); }
  .materials { grid-template-columns: repeat(2, 1fr); }
  .products { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .patterns { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .split, .access-grid { grid-template-columns: 1fr; gap: 26px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .section { padding: 50px 18px; }
}
