/* =============================
   リセット & 基本設定
============================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", "メイリオ", sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: #333;
  background-color: #f7f4f0;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* =============================
   ヘッダー
============================= */
.site-header {
  background-color: #5a3e2b;
  color: #fff;
  padding: 0 20px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-badge {
  background-color: #e07b39;
  color: #fff;
  font-weight: 900;
  font-size: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: -1px;
}

.logo-badge.small {
  width: 32px;
  height: 32px;
  font-size: 14px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.logo-subtitle {
  font-size: 11px;
  color: #d4b896;
  letter-spacing: 0.1em;
}

.header-nav {
  display: flex;
  gap: 4px;
}

.header-nav a {
  color: #fff;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  transition: background-color 0.2s;
}

.header-nav a:hover {
  background-color: rgba(255,255,255,0.15);
}

/* =============================
   ページレイアウト
============================= */
.page-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 16px;
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 24px;
  align-items: start;
}

/* =============================
   ヒーローセクション
============================= */
.hero-section {
  background: #fff;
  border: 3px solid #e07b39;
  border-radius: 12px;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.hero-text h1 {
  font-size: 26px;
  font-weight: 900;
  color: #5a3e2b;
  margin-bottom: 10px;
}

.hero-text p {
  font-size: 14px;
  color: #555;
  line-height: 1.9;
}

.hero-image {
  flex-shrink: 0;
  margin-left: 20px;
  display: flex;
  align-items: center;
}

.hero-icon-img {
  width: 140px;
  height: auto;
  display: block;
}

.hero-emoji {
  font-size: 80px;
  display: block;
  opacity: 0.75;
}

/* =============================
   ベースサロンとはセクション
============================= */
.about-section {
  background: #fff;
  border-radius: 12px;
  padding: 28px 28px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.about-box {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-lead {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #fff9f4;
  border: 1px solid #f0d5b8;
  border-radius: 10px;
  padding: 18px 20px;
}

.about-icon {
  font-size: 28px;
  flex-shrink: 0;
  margin-top: 2px;
}

.about-lead p {
  font-size: 14px;
  color: #444;
  line-height: 1.9;
}

.about-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.point-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #faf8f5;
  border: 1px solid #e8ddd4;
  border-radius: 8px;
  padding: 14px 14px;
}

.point-icon {
  font-size: 22px;
  flex-shrink: 0;
  margin-top: 2px;
}

.point-item strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #5a3e2b;
  margin-bottom: 4px;
}

.point-item p {
  font-size: 12px;
  color: #777;
  line-height: 1.6;
}

/* =============================
   サロン一覧ヘッダー
============================= */
.salons-header {
  margin-bottom: 20px;
}

.salons-desc {
  font-size: 14px;
  color: #666;
  margin-top: 8px;
  padding-left: 20px;
}

/* =============================
   共通セクションタイトル
============================= */
.section-title {
  font-size: 22px;
  font-weight: 900;
  color: #5a3e2b;
  border-left: 6px solid #e07b39;
  padding-left: 14px;
  margin-bottom: 20px;
}

/* =============================
   サロン特集カード
============================= */
.salon-feature-card {
  background: #fff;
  border-radius: 12px;
  margin-bottom: 24px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  border-top: 5px solid;
}

.salon-male    { border-top-color: #4a7ab5; }
.salon-female  { border-top-color: #c8569a; }
.salon-planner { border-top-color: #e07b39; }
.salon-activity{ border-top-color: #3a9e8c; }

/* ヘッダー部 */
.sf-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 28px 18px;
  border-bottom: 1px solid #f0e8e0;
}

.salon-male    .sf-header { background: #eef3fa; }
.salon-female  .sf-header { background: #faeef4; }
.salon-planner .sf-header { background: #fef5ee; }
.salon-activity.sf-header { background: #eef8f6; }

.salon-female  .sf-body .sf-header,
.salon-male    .sf-body .sf-header,
.salon-planner .sf-body .sf-header,
.salon-activity .sf-body .sf-header {
  background: none;
}

.sf-num {
  font-size: 36px;
  font-weight: 900;
  opacity: 0.18;
  line-height: 1;
  flex-shrink: 0;
  font-family: Georgia, serif;
}

.salon-male     .sf-num { color: #4a7ab5; }
.salon-female   .sf-num { color: #c8569a; }
.salon-planner  .sf-num { color: #e07b39; }
.salon-activity .sf-num { color: #3a9e8c; }

.sf-title-block {
  flex: 1;
}

.sf-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  border-radius: 20px;
  padding: 3px 10px;
  margin-bottom: 6px;
  color: #fff;
}

.salon-male     .sf-tag { background: #4a7ab5; }
.salon-female   .sf-tag { background: #c8569a; }
.salon-planner  .sf-tag { background: #e07b39; }
.salon-activity .sf-tag { background: #3a9e8c; }

.sf-title {
  font-size: 18px;
  font-weight: 900;
  line-height: 1.4;
}

.salon-male     .sf-title { color: #2d4f7a; }
.salon-female   .sf-title { color: #8a2060; }
.salon-planner  .sf-title { color: #5a3e2b; }
.salon-activity .sf-title { color: #1f6b60; }

.sf-icon {
  font-size: 42px;
  flex-shrink: 0;
  opacity: 0.7;
}

/* ボディ部 */
.sf-body {
  padding: 22px 28px 26px;
}

.sf-desc {
  font-size: 14px;
  color: #555;
  line-height: 1.9;
  margin-bottom: 20px;
}

/* ミニカードグリッド */
.sf-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 22px;
}

.sf-mini-card {
  border-radius: 10px;
  padding: 14px 12px;
  text-align: center;
  color: #fff;
}

.salon-male     .sf-mini-card { background: #4a7ab5; }
.salon-female   .sf-mini-card { background: #c8569a; }
.salon-planner  .sf-mini-card { background: #e07b39; }
.salon-activity .sf-mini-card { background: #3a9e8c; }

.mc-icon {
  display: block;
  font-size: 26px;
  margin-bottom: 8px;
}

.sf-mini-card strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 5px;
}

.sf-mini-card p {
  font-size: 11px;
  opacity: 0.9;
  line-height: 1.5;
}

/* サロンへのボタン */
.sf-btn {
  display: inline-block;
  border-radius: 30px;
  padding: 10px 28px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  transition: opacity 0.2s, transform 0.15s;
}

.sf-btn:hover {
  opacity: 0.85;
  transform: translateX(3px);
}

.btn-male     { background: #4a7ab5; }
.btn-female   { background: #c8569a; }
.btn-planner  { background: #e07b39; }
.btn-activity { background: #3a9e8c; }

/* =============================
   お問い合わせセクション
============================= */
.contact-section {
  background: #fff;
  border-radius: 12px;
  padding: 28px 28px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.contact-box {
  background: #fff9f4;
  border: 1px solid #f0d5b8;
  border-radius: 10px;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.contact-box p {
  font-size: 14px;
  color: #555;
  line-height: 1.8;
}

.contact-btn {
  display: inline-block;
  background: #5a3e2b;
  color: #fff;
  border-radius: 30px;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.2s;
}

.contact-btn:hover {
  background: #7a5a40;
}

/* =============================
   サイドバー
============================= */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: sticky;
  top: 80px;
}

.sidebar-block {
  border-radius: 8px;
  overflow: hidden;
}

.sidebar-block h3 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 14px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
}

.sidebar-top      h3 { background-color: #5a3e2b; border-radius: 8px; }
.sidebar-male     h3 { background-color: #4a7ab5; }
.sidebar-female   h3 { background-color: #c8569a; }
.sidebar-planner  h3 { background-color: #e07b39; }
.sidebar-activity h3 { background-color: #3a9e8c; }
.sidebar-contact  h3 { background-color: #888; border-radius: 8px; }

.sidebar-block ul {
  background: #fff;
  border: 1px solid #ddd;
  border-top: none;
  border-radius: 0 0 8px 8px;
}

.sidebar-block ul li {
  border-bottom: 1px solid #eee;
}

.sidebar-block ul li:last-child {
  border-bottom: none;
}

.sidebar-block ul li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 14px;
  font-size: 13px;
  color: #333;
  transition: background 0.15s;
}

.sidebar-block ul li a:hover {
  background: #f5f0eb;
}

.sidebar-block ul li a span {
  color: #999;
  font-size: 12px;
}

/* =============================
   フッター
============================= */
.site-footer {
  background-color: #5a3e2b;
  color: #d4b896;
  padding: 20px;
  margin-top: 16px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

.footer-copy {
  font-size: 12px;
}

/* =============================
   レスポンシブ
============================= */
@media (max-width: 960px) {
  .page-wrapper {
    grid-template-columns: 1fr;
  }
  .sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .about-points {
    grid-template-columns: 1fr;
  }
  .sf-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .hero-section {
    flex-direction: column;
    text-align: center;
  }
  .hero-image {
    margin: 16px 0 0;
  }
  .header-nav {
    display: none;
  }
  .sf-header {
    flex-wrap: wrap;
  }
  .sf-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-box {
    flex-direction: column;
    text-align: center;
  }
  .sidebar {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}
