/* ==============================================
   トリミングサロン アリス武蔵小山 - 共通CSS
   ============================================== */

/* ---------- リセット & ベース ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  color: #3a3a3a;
  line-height: 1.8;
  background: #fdfaf6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #b07c4f; text-decoration: none; transition: color .2s; }
a:hover { color: #8b5e3c; }
ul { list-style: none; }

/* ---------- 共通ユーティリティ ---------- */
.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.section { padding: 70px 0; }
.section-title {
  text-align: center;
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: .4em;
  color: #5a3e2b;
  letter-spacing: .05em;
}
.section-sub {
  text-align: center;
  font-size: .85rem;
  color: #b07c4f;
  margin-bottom: 2.5em;
  font-family: "Georgia", serif;
  letter-spacing: .12em;
}
.btn {
  display: inline-block;
  padding: 14px 40px;
  border-radius: 30px;
  font-weight: 700;
  font-size: .95rem;
  transition: all .25s;
  text-align: center;
}
.btn-primary { background: #b07c4f; color: #fff; }
.btn-primary:hover { background: #8b5e3c; color: #fff; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(176,124,79,.35); }
.btn-outline { border: 2px solid #b07c4f; color: #b07c4f; background: transparent; }
.btn-outline:hover { background: #b07c4f; color: #fff; }
.btn-tel { background: #5a8f5c; color: #fff; }
.btn-tel:hover { background: #477a49; color: #fff; }

/* ---------- ヘッダー ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253,250,246,.96);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 8px rgba(0,0,0,.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.logo a {
  font-size: 1.25rem;
  font-weight: 700;
  color: #5a3e2b;
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo-icon {
  width: 36px; height: 36px;
  background: #b07c4f;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.1rem;
}
.nav-list { display: flex; gap: 28px; }
.nav-list a {
  color: #5a3e2b;
  font-size: .9rem;
  font-weight: 500;
  position: relative;
  padding-bottom: 2px;
}
.nav-list a::after {
  content: "";
  position: absolute; left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: #b07c4f;
  transition: width .25s;
}
.nav-list a:hover::after,
.nav-list a.active::after { width: 100%; }

/* モバイルメニュー */
.hamburger {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 30px; height: 24px;
  position: relative;
}
.hamburger span {
  display: block; width: 100%; height: 2px;
  background: #5a3e2b;
  position: absolute; left: 0;
  transition: all .3s;
}
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 11px; }
.hamburger span:nth-child(3) { bottom: 0; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg); top: 11px; }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg); bottom: 11px; }

/* ---------- ヒーロー ---------- */
.hero {
  background: linear-gradient(135deg, #f5e6d3 0%, #e8d5c0 50%, #dcc8b0 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; top: -50%; right: -20%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(176,124,79,.12) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-badge {
  display: inline-block;
  background: #b07c4f;
  color: #fff;
  padding: 5px 18px;
  border-radius: 20px;
  font-size: .78rem;
  font-weight: 600;
  margin-bottom: 18px;
  letter-spacing: .05em;
}
.hero h1 {
  font-size: 2.2rem;
  color: #5a3e2b;
  line-height: 1.4;
  margin-bottom: 16px;
}
.hero h1 span { color: #b07c4f; }
.hero-lead {
  font-size: 1rem;
  color: #6b5a4a;
  margin-bottom: 30px;
  line-height: 1.9;
}
.hero-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-info {
  margin-top: 28px;
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: .85rem;
  color: #6b5a4a;
}
.hero-info-item { display: flex; align-items: center; gap: 6px; }

/* ---------- カード ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}
.card {
  background: #fff;
  border-radius: 14px;
  padding: 32px 28px;
  box-shadow: 0 2px 16px rgba(0,0,0,.05);
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 6px 24px rgba(0,0,0,.08); }
.card-icon {
  width: 52px; height: 52px;
  background: #f5e6d3;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
}
.card h3 {
  font-size: 1.1rem;
  color: #5a3e2b;
  margin-bottom: 10px;
}

/* ---------- 料金テーブル ---------- */
.price-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,.05);
}
.price-table thead { background: #5a3e2b; color: #fff; }
.price-table th {
  padding: 14px 18px;
  font-weight: 600;
  font-size: .9rem;
  text-align: left;
}
.price-table td {
  padding: 14px 18px;
  border-bottom: 1px solid #f0e8df;
  font-size: .92rem;
}
.price-table tbody tr:hover { background: #faf5ef; }
.price-table .price { font-weight: 700; color: #b07c4f; white-space: nowrap; }

/* ---------- CTA ---------- */
.cta-section {
  background: linear-gradient(135deg, #5a3e2b, #7a5c3f);
  color: #fff;
  text-align: center;
  padding: 60px 20px;
  border-radius: 20px;
  margin: 0 20px;
}
.cta-section h2 {
  font-size: 1.6rem;
  margin-bottom: 12px;
}
.cta-section p {
  opacity: .85;
  margin-bottom: 28px;
  font-size: .95rem;
}
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-buttons .btn-primary { background: #fff; color: #5a3e2b; }
.cta-buttons .btn-primary:hover { background: #f5e6d3; }

/* ---------- アクセスマップ ---------- */
.map-wrapper {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,.05);
}
.map-wrapper iframe { width: 100%; height: 400px; border: none; }
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.info-box {
  background: #fff;
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 2px 16px rgba(0,0,0,.05);
}
.info-box h3 {
  font-size: 1rem;
  color: #5a3e2b;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ---------- フォーム ---------- */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: .9rem;
  color: #5a3e2b;
  margin-bottom: 6px;
}
.form-group label .required {
  background: #e74c3c;
  color: #fff;
  font-size: .7rem;
  padding: 2px 6px;
  border-radius: 3px;
  margin-left: 6px;
}
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: .95rem;
  font-family: inherit;
  transition: border-color .2s;
  background: #fff;
}
.form-control:focus { outline: none; border-color: #b07c4f; box-shadow: 0 0 0 3px rgba(176,124,79,.12); }
textarea.form-control { min-height: 140px; resize: vertical; }

/* ---------- フッター ---------- */
.footer {
  background: #3a2e22;
  color: rgba(255,255,255,.7);
  padding: 50px 0 30px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 14px;
}
.footer-nav a {
  display: block;
  color: rgba(255,255,255,.65);
  padding: 4px 0;
  font-size: .88rem;
}
.footer-nav a:hover { color: #fff; }
.footer-copy {
  text-align: center;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: .8rem;
}

/* ---------- パンくずリスト ---------- */
.breadcrumb {
  padding: 14px 0;
  font-size: .82rem;
  color: #999;
}
.breadcrumb a { color: #b07c4f; }
.breadcrumb span { margin: 0 6px; }

/* ---------- FAQ ---------- */
.faq-item {
  background: #fff;
  border-radius: 12px;
  margin-bottom: 14px;
  box-shadow: 0 1px 8px rgba(0,0,0,.04);
  overflow: hidden;
}
.faq-q {
  padding: 18px 24px;
  cursor: pointer;
  font-weight: 600;
  color: #5a3e2b;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-q::before { content: "Q."; color: #b07c4f; margin-right: 10px; font-size: 1.1rem; }
.faq-q::after { content: "+"; font-size: 1.3rem; color: #b07c4f; transition: transform .3s; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
  padding: 0 24px;
  color: #666;
  line-height: 1.8;
}
.faq-a-inner { padding: 0 0 20px 34px; }
.faq-item.open .faq-a { max-height: 400px; }

/* ---------- ページヒーロー（下層） ---------- */
.page-hero {
  background: linear-gradient(135deg, #f5e6d3, #e8d5c0);
  padding: 50px 0;
  text-align: center;
}
.page-hero h1 {
  font-size: 1.8rem;
  color: #5a3e2b;
  margin-bottom: 8px;
}
.page-hero p {
  color: #8b7a6a;
  font-size: .9rem;
}

/* ---------- 注意書き ---------- */
.note {
  background: #fef9f0;
  border-left: 4px solid #b07c4f;
  padding: 16px 20px;
  border-radius: 0 8px 8px 0;
  margin: 20px 0;
  font-size: .88rem;
  color: #6b5a4a;
}

/* ---------- レスポンシブ ---------- */
@media (max-width: 768px) {
  .nav-list { display: none; }
  .hamburger { display: block; }
  .nav-list.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px; left: 0; right: 0;
    background: #fdfaf6;
    padding: 20px;
    gap: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
  }
  .hero h1 { font-size: 1.6rem; }
  .hero { padding: 50px 0; }
  .section { padding: 50px 0; }
  .section-title { font-size: 1.4rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .hero-info { flex-direction: column; align-items: center; gap: 10px; }
  .card-grid { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; }
  .price-table { font-size: .85rem; }
  .price-table th, .price-table td { padding: 10px 12px; }
}
