/* ==========================================================
   美容室 いろどり坂 サンプルサイト
   スマホ優先のレスポンシブ・ワンページ構成
   ========================================================== */

:root {
  --bg: #faf7f6;
  --bg-alt: #f3e9ee;
  --card: #ffffff;
  --text: #35272f;
  --text-sub: #8a7683;
  --accent: #9c6b86;
  --accent-dark: #7a4f68;
  --accent-soft: #ecd9e3;
  --line: #ece0e6;
  --header-h: 72px;
  --top-offset: calc(var(--samples-bar-h) + var(--header-h));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  scroll-margin-top: var(--top-offset);
}

/* ---------- ヘッダー ---------- */
/* ナビはピルの帯にせず、ロゴと同じ行に収まる文字リンクにしてファーストビューの高さを圧迫しないようにする */
.site-header {
  position: fixed;
  top: var(--samples-bar-h);
  left: 0;
  right: 0;
  background: rgba(250, 247, 246, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
  z-index: 150;
}

.site-header .container {
  min-height: var(--header-h);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.brand {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--accent-dark);
}

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

.header-nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.header-nav a:hover,
.header-nav a:focus-visible {
  color: var(--accent-dark);
  text-decoration: underline;
}

@media (min-width: 800px) {
  .site-header .container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-top: 0;
    padding-bottom: 0;
  }

  .header-nav {
    gap: 20px;
  }
}

/* ---------- ヒーロー ---------- */
.hero {
  position: relative;
  padding-top: var(--top-offset);
  min-height: clamp(480px, 76vh, 640px);
  display: flex;
  align-items: center;
  background-image: url("../images/hero-bg.jpeg");
  background-size: cover;
  background-position: center top;
  color: #fff;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(53, 39, 47, 0.72) 0%, rgba(53, 39, 47, 0.5) 32%, rgba(53, 39, 47, 0.1) 60%, rgba(53, 39, 47, 0) 100%);
}

.hero-photo-mobile {
  display: none;
}

/* スマホ幅では横に並べる余白がないため、顔に文字が被らないよう写真(上)とテキスト(下)を分ける */
@media (max-width: 719px) {
  .hero {
    display: block;
    min-height: 0;
    padding-top: 0;
    background-image: none;
    color: var(--text);
  }

  /* お知らせバナーが非表示の場合のみ、固定ヘッダー分の余白をヒーロー側で確保する */
  .notice-banner[hidden] + main .hero {
    padding-top: var(--top-offset);
  }

  .hero::after {
    display: none;
  }

  .hero-photo-mobile {
    display: block;
    width: 100%;
    height: 48vh;
    min-height: 280px;
    object-fit: cover;
    object-position: center top;
  }

  .hero-inner {
    max-width: none;
    padding: 28px 20px 36px;
  }

  .hero-eyebrow,
  .hero-catch,
  .hero-lead {
    opacity: 1;
  }

  .hero-eyebrow {
    color: var(--accent-dark);
  }

  .hero-catch {
    color: var(--text);
  }

  .hero-lead {
    color: var(--text-sub);
  }

  .hero .hero-subaction {
    color: var(--accent-dark);
  }
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding-top: 40px;
  padding-bottom: 40px;
  width: 100%;
  max-width: 560px;
  margin-right: auto;
  margin-left: 0;
  text-align: left;
}

.hero-eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin: 0 0 18px;
  opacity: 0.85;
}

.hero-brand {
  font-size: clamp(2.1rem, 6.4vw, 3.4rem);
  margin: 0 0 14px;
  font-weight: 500;
  letter-spacing: 0.14em;
}

.hero-catch {
  font-size: clamp(1.1rem, 3.2vw, 1.5rem);
  margin: 0 0 16px;
  font-weight: 500;
  opacity: 0.95;
}

.hero-lead {
  font-size: clamp(0.92rem, 2.2vw, 1.02rem);
  max-width: 30em;
  margin: 0 0 28px;
  opacity: 0.88;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 10px 22px;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  padding: 13px 30px;
  border-radius: 4px;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: background-color 0.15s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-family: inherit;
}

.btn:hover {
  background: var(--accent-dark);
}

.hero-subaction {
  color: #fff;
  font-size: 0.9rem;
  text-decoration: underline;
  opacity: 0.9;
}

/* ---------- 臨時休業バナー ---------- */
.notice-banner {
  margin-top: var(--top-offset);
  background: #f6e7ee;
  border-bottom: 1px solid var(--accent-soft);
}

.notice-banner li {
  cursor: help;
}

.notice-banner .container {
  padding-top: 10px;
  padding-bottom: 10px;
}

.notice-banner ul {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.9rem;
  color: var(--accent-dark);
}

.notice-banner li + li {
  margin-top: 4px;
}

.notice-banner .notice-date {
  font-weight: 700;
  margin-right: 8px;
}

/* ---------- 共通セクション見出し ---------- */
.section {
  padding: 64px 0;
}

/* ヒーローを持たない単独ページ(お問い合わせ等)で、固定ヘッダー分の余白を確保する */
.section-first {
  padding-top: calc(var(--top-offset) + 64px);
}

.section-alt {
  background: var(--bg-alt);
}

.section-head {
  text-align: center;
  margin-bottom: 40px;
}

.section-head h2 {
  font-size: 1.7rem;
  margin: 0;
  letter-spacing: 0.04em;
}

.section-lead {
  text-align: center;
  color: var(--text-sub);
  max-width: 34em;
  margin: 12px auto 0;
}

/* ---------- コンセプト ---------- */
.concept-grid {
  display: grid;
  gap: 28px;
  align-items: center;
}

@media (min-width: 860px) {
  .concept-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

.concept-photo {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(53, 39, 47, 0.1);
}

.concept-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.concept-text h2 {
  font-size: 1.5rem;
  margin: 0 0 16px;
}

.concept-text p {
  margin: 0 0 14px;
  color: var(--text-sub);
}

.concept-text p:last-child {
  margin-bottom: 0;
}

/* ---------- メニュー ---------- */
.menu-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 620px) {
  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 980px) {
  .menu-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.menu-card {
  background: var(--card);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(53, 39, 47, 0.08);
}

.menu-card img {
  aspect-ratio: 1 / 1;
  width: 100%;
  object-fit: cover;
}

.menu-card-body {
  padding: 18px 20px 22px;
}

.menu-card-title {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 8px;
}

.menu-card-title h3 {
  font-size: 1.05rem;
  margin: 0;
}

.menu-price {
  font-weight: 700;
  color: var(--accent-dark);
  white-space: nowrap;
}

.menu-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-sub);
}

.menu-note {
  text-align: center;
  color: var(--text-sub);
  font-size: 0.82rem;
  margin: 28px 0 0;
}

/* ---------- スタッフ ---------- */
.staff-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 720px;
  margin: 0 auto;
}

@media (min-width: 620px) {
  .staff-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.staff-card {
  background: var(--card);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(53, 39, 47, 0.08);
  text-align: center;
}

.staff-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.staff-card-body {
  padding: 18px 20px 24px;
}

.staff-role {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--accent-dark);
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.staff-card h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.staff-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-sub);
}

/* ---------- アクセス ---------- */
.access-grid {
  display: grid;
  gap: 28px;
}

@media (min-width: 860px) {
  .access-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.access-info dt {
  font-size: 0.8rem;
  color: var(--accent-dark);
  letter-spacing: 0.05em;
  margin-top: 18px;
}

.access-info dt:first-child {
  margin-top: 0;
}

.access-info dd {
  margin: 4px 0 0;
  font-size: 1rem;
}

.map-frame {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(53, 39, 47, 0.08);
  border: 1px solid var(--line);
}

.map-frame iframe {
  width: 100%;
  height: 320px;
  border: 0;
  display: block;
}

/* ---------- 営業時間 ---------- */
.hours-table {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  border-collapse: collapse;
  background: var(--card);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(53, 39, 47, 0.06);
}

.hours-table th,
.hours-table td {
  padding: 12px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}

.hours-table tr:last-child th,
.hours-table tr:last-child td {
  border-bottom: none;
}

.hours-table th {
  font-weight: 500;
  color: var(--text-sub);
  width: 40%;
}

.closed-day {
  color: var(--accent-dark);
  font-weight: 700;
}

/* ---------- お問い合わせフォーム(見た目確認用・送信機能なし) ---------- */
.contact-form {
  max-width: 420px;
  margin: 0 auto;
}

.form-row {
  margin-bottom: 18px;
}

.form-row label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-sub);
  margin-bottom: 6px;
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--card);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
}

.form-row textarea {
  resize: vertical;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.contact-form .btn {
  width: 100%;
}

.form-hint {
  margin: 10px 0 0;
  font-size: 0.78rem;
  color: var(--text-sub);
  text-align: center;
}

.form-hint-top {
  margin: 0 0 20px;
}

.text-link {
  color: var(--accent-dark);
  font-size: 0.9rem;
  text-decoration: underline;
}

/* ---------- SNS ---------- */
.sns-list {
  display: flex;
  justify-content: center;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.sns-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--card);
  box-shadow: 0 6px 14px rgba(53, 39, 47, 0.1);
  color: var(--accent-dark);
  text-decoration: none;
  transition: transform 0.15s ease;
}

.sns-list a:hover {
  transform: translateY(-3px);
}

.icon-sns {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* ---------- フッター ---------- */
.site-footer {
  background: var(--text);
  color: #f1e6e2;
  padding: 40px 0 28px;
  font-size: 0.85rem;
}

.site-footer .brand {
  color: #fff;
  font-size: 1.1rem;
  display: block;
  margin-bottom: 10px;
}

.site-footer address {
  font-style: normal;
  opacity: 0.85;
  margin-bottom: 18px;
}

.site-footer .copyright {
  opacity: 0.6;
}

/* 臨時休業のお知らせが無い場合は非表示にする */
[hidden] {
  display: none !important;
}
