/* =========================================================================
   縁紡ぎ（えんつむぎ）― 自社HP（叩き台・テスト運用用）
   -------------------------------------------------------------------------
   紹介サイト-サンプル/assets/css/style.css を複製したもの。以後は別ファイルとして
   独立に編集する（本家を直接は変更しない）。配色＝ベージュ主体。変えるときは :root だけ。
   ========================================================================= */

:root {
  /* 縁紡ぎ ベージュ主体（暖かみ維持）。アクセントは焦げ茶＋真鍮。変えるときはこの :root だけ。 */
  --canvas:        #f0e6d4; /* ページ背景（暖かいベージュ＝メインカラー） */
  --canvas-alt:    #e7dabf; /* セクション区切りの少し濃いベージュ */
  --surface:       #fbf6ec; /* カードの面（生成り） */
  --brand:         #3a2c20; /* 見出し（焦げ茶） */
  --accent:        #6e472b; /* ボタン・ラベル（焦げ茶） */
  --accent-deep:   #55361f; /* リンク・ボタンhover（濃い焦げ茶） */
  --deep:          #2a211a; /* ヒーロー・CTAの濃い帯（焦げ茶に寄せた黒） */
  --gold:          #a5843f; /* 小さなアクセント（真鍮） */
  --tint:          #eaddc4; /* 淡いベージュ */
  --text:          #33291f;
  --text-soft:     #6f6152;
  --on-dark:       #f6efe0;
  --on-dark-soft:  rgba(246, 239, 224, 0.74);
  --line:          #d8c9ac; /* 罫線（ベージュ） */

  --font-sans:  "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --font-serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;

  --radius-card: 14px;
  --radius-pill: 999px;

  --wrap: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--accent-deep); }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 20px;
}

/* ---- ヘッダー ---------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(240, 230, 212, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--brand);
}
.brand__mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 18px;
}
.brand__name {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.02em;
}
.brand__name small {
  display: block;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--text-soft);
}
.site-header__note {
  font-size: 12px;
  color: var(--text-soft);
}

/* ---- ヒーロー ---------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--deep);
  color: var(--on-dark);
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.32;
}
.hero__inner {
  position: relative;
  z-index: 1;
  padding-block: clamp(56px, 10vw, 104px);
}
.hero__bg-mark {
  position: absolute;
  z-index: 0;
  top: 50%;
  right: -8%;
  transform: translateY(-50%);
  width: min(56%, 620px);
  opacity: 0.08;
  pointer-events: none;
}
.hero__eyebrow {
  margin: 0 0 14px;
  font-size: 13px;
  letter-spacing: 0.22em;
  color: var(--on-dark-soft);
}
.hero__title {
  margin: 0 0 20px;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(28px, 5vw, 46px);
  line-height: 1.35;
}
.hero__lead {
  margin: 0;
  max-width: 40em;
  color: var(--on-dark-soft);
  font-size: clamp(14px, 1.6vw, 16px);
}
.hero__meta {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 13px;
  color: var(--on-dark-soft);
}
.hero__meta span::before {
  content: "・";
  margin-right: 6px;
  color: var(--gold);
}

/* ---- セクション ------------------------------------------------------- */
.section { padding-block: clamp(44px, 7vw, 76px); }
.section--alt { background: var(--canvas-alt); }

.section-head {
  margin-bottom: 32px;
}
.section-label {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--accent-deep);
}
.section-title {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(22px, 3.4vw, 30px);
}
.section-note {
  margin: 10px 0 0;
  font-size: 13px;
  color: var(--text-soft);
}

/* ---- フィルター ------------------------------------------------------- */
.filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}
.filter__btn {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text-soft);
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.filter__btn:hover { border-color: var(--accent); color: var(--accent-deep); }
.filter__btn[aria-pressed="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* ---- 店カード -------------------------------------------------------- */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
@media (min-width: 640px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(44, 37, 33, 0.13);
}
.card.is-hidden { display: none; }

.card__media {
  position: relative;
  aspect-ratio: 3 / 2;
  background: var(--tint);
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card__genre {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: rgba(44, 37, 33, 0.82);
  color: var(--on-dark);
  font-size: 12px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}
.card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 18px 20px;
  flex: 1;
}
.card__name {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 19px;
}
.card__area {
  margin: 0;
  font-size: 13px;
  color: var(--text-soft);
}
.card__area::before {
  content: "📍";
  margin-right: 5px;
  font-size: 12px;
}
.card__desc {
  margin: 2px 0 0;
  font-size: 14px;
  color: var(--text);
  flex: 1;
}
.card__link {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  align-self: flex-start;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  transition: background 0.15s;
}
.card__link:hover { background: var(--accent-deep); }
.card__link::after { content: "→"; }

/* ---- このガイドについて（控えめな注記） ---------------------------- */
.about {
  padding-block: 26px;
  border-top: 1px solid var(--line);
}
.about__title {
  margin: 0 0 10px;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--text-soft);
}
.about__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
  max-width: 760px;
}
.about__list li {
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--text-soft);
}
.about__list b {
  color: var(--text);
  font-weight: 600;
}

/* ---- サブページ用ヒーロー（背景写真なし） -------------------------- */
.hero--sub .hero__inner {
  padding-block: clamp(40px, 7vw, 66px);
}

/* ---- 情報テーブル -------------------------------------------------- */
.info-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.info-table th,
.info-table td {
  text-align: left;
  padding: 14px 16px;
  font-size: 14px;
  line-height: 1.7;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.info-table tr:last-child th,
.info-table tr:last-child td { border-bottom: 0; }
.info-table th {
  width: 32%;
  font-weight: 600;
  color: var(--text);
  background: var(--canvas-alt);
  white-space: nowrap;
}

/* ---- テキストのみカード（サブページ） ---------------------------- */
.card--text .card__body { padding: 22px 20px; }
.card--text .card__desc { color: var(--text-soft); }

/* ---- CTA バンド ----------------------------------------------------- */
.cta {
  background: var(--deep);
  color: var(--on-dark);
  text-align: center;
  padding-block: clamp(44px, 7vw, 68px);
}
.cta h2 {
  margin: 0 0 12px;
  font-family: var(--font-serif);
  font-size: clamp(20px, 3vw, 28px);
}
.cta p {
  margin: 0 auto 26px;
  max-width: 34em;
  color: var(--on-dark-soft);
  font-size: 14px;
}
.cta__btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  padding: 13px 30px;
  border-radius: var(--radius-pill);
}
.cta__btn:hover { background: var(--accent-deep); }

/* ---- フッター ------------------------------------------------------- */
.site-footer {
  background: var(--canvas-alt);
  border-top: 1px solid var(--line);
  padding-block: 30px;
}
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
  align-items: center;
}
.site-footer p {
  margin: 0;
  font-size: 12px;
  color: var(--text-soft);
}
.site-footer__brand {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--brand);
  font-size: 14px;
}

/* ---- 縁紡ぎ（運営元）ロゴ ------------------------------------------ */
.site-header__note {
  display: flex;
  align-items: center;
  gap: 7px;
}
.site-header__note img {
  height: 18px;
  width: auto;
}
.hero__logo {
  display: block;
  height: 42px;
  width: auto;
  margin: 0 0 26px;
}
.site-footer__op {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding-top: 10px;
  margin-top: 4px;
  border-top: 1px solid var(--line);
}
.site-footer__op img {
  height: 20px;
  width: auto;
}
.site-footer__op span {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--brand);
  font-size: 13px;
}
.site-footer__op small {
  font-size: 11px;
  color: var(--text-soft);
}

/* ---- シンプルなアンカーナビ（自社HPのみ） --------------------------- */
.site-nav {
  display: none;
  gap: 22px;
  font-size: 14px;
}
.site-nav a {
  color: var(--text);
  text-decoration: none;
}
.site-nav a:hover { color: var(--accent-deep); }
@media (min-width: 680px) {
  .site-nav { display: flex; }
}

/* ---- モバイル用メニューボタン（自社HPのみ） -------------------------- */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
}
@media (min-width: 680px) {
  .nav-toggle { display: none; }
}
@media (max-width: 679px) {
  .site-nav.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    gap: 4px;
    padding: 10px 20px 18px;
    background: var(--canvas);
    border-bottom: 1px solid var(--line);
  }
  .site-nav.is-open a {
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
  }
  .site-nav.is-open a:last-child { border-bottom: 0; }
}

/* ---- 料金テーブル：スマホでは1行ずつ積む（見出し列が狭くなりすぎるため） --- */
@media (max-width: 560px) {
  .info-table, .info-table tbody, .info-table tr, .info-table th, .info-table td {
    display: block;
    width: auto;
  }
  .info-table th {
    white-space: normal;
    border-bottom: 0;
    padding-bottom: 2px;
  }
  .info-table td {
    padding-top: 2px;
  }
}

/* ---- 企業理念セクション：長文ストーリー・ビジョンの引用 ---------------- */
.mission-story {
  max-width: 46em;
  margin: 0 0 36px;
  color: var(--text);
  font-size: 16px;
  line-height: 2;
}
.mission-story p + p { margin-top: 20px; }
.mission-story strong {
  color: var(--brand);
  font-weight: 700;
}
.mission-vision {
  max-width: 46em;
  margin: 0 0 44px;
  padding: 22px 26px;
  background: var(--surface);
  border-left: 4px solid var(--accent);
  border-radius: 4px;
  font-family: var(--font-serif);
  font-size: 16.5px;
  line-height: 1.95;
  color: var(--brand);
}
.mission-subhead {
  margin: 0 0 18px;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--text-soft);
}
.mission-block + .mission-block { margin-top: 48px; }
.value-motto {
  margin: 0 0 30px;
  max-width: 46em;
  font-family: var(--font-serif);
  font-size: 20px;
  line-height: 1.7;
  color: var(--brand);
}
.value-flow {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: 46em;
}
.value-flow::before {
  content: "";
  position: absolute;
  top: 17px;
  bottom: 17px;
  left: 17px;
  width: 2px;
  background: var(--line);
}
.value-flow li {
  position: relative;
  display: flex;
  gap: 18px;
  padding-bottom: 26px;
}
.value-flow li:last-child { padding-bottom: 0; }
.value-flow__num {
  position: relative;
  z-index: 1;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 15px;
}
.value-flow__body { flex: 1 1 auto; min-width: 0; padding-top: 4px; }
.value-flow__body b {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-serif);
  font-size: 15px;
  color: var(--brand);
}
.value-flow__body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-soft);
}

/* ---- 準備中バッジ ----------------------------------------------------- */
.badge-draft {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--accent-deep);
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 4px 14px;
  margin-bottom: 14px;
}

/* ---- お知らせ一覧 ------------------------------------------------------ */
.news-list {
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: 46em;
}
.news-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.news-item:first-child { padding-top: 0; }
@media (min-width: 640px) {
  .news-item {
    flex-direction: row;
    gap: 28px;
  }
}
.news-item__date {
  flex: 0 0 auto;
  font-family: var(--font-serif);
  font-size: 14px;
  color: var(--text-soft);
}
.news-item__body { flex: 1 1 auto; min-width: 0; }
.news-item__tag {
  display: inline-block;
  margin-bottom: 6px;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--accent-deep);
  background: var(--tint);
  border-radius: var(--radius-pill);
  padding: 3px 10px;
}
.news-item__body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text);
}
