/* ===============================
   Studio MU : base styles
   =============================== */

:root{
  --page-max: 1160px;
  --pad-x: clamp(16px, 3vw, 28px);
  --lead-size: clamp(18px, 2.2vw, 22px);
  --title-size: clamp(28px, 5vw, 56px);
  --fade-sec: 3.5s; /* heroフェード速度 */
  --brand: #111;
  --accent: #fb4141;
  --bg: #f6f6f8;
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Noto Sans JP', system-ui, -apple-system, sans-serif;
  color: #333;
  background: #fff;
  line-height: 1.7;
}

.container {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}


/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  padding: .6em 1.1em;
  border-radius: 999px;
  border: 1px solid #111;
  text-decoration: none;
  color: #111;
  background: #fff;
  font-weight: 700;
  transition: all .2s ease;
}
.btn:hover {
  opacity: .8;
}
.btn.primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn.small {
  padding: .45em .9em;
  font-size: .95rem;
}

/* 予約ページ専用：黒枠ボタン */
body[data-page="reserve"] .btn.primary {
  background: transparent;
  color: #000;
  border: 2px solid #000;
  border-radius: 6px;      /* 四角い感じを残しつつ少し丸く */
  padding: 10px 20px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
}

/* ホバー時 */
body[data-page="reserve"] .btn.primary:hover {
  background: #000;
  color: #fff;
}



/* ---------- Hero（横いっぱい） ---------- */

.hero {
  width: 100%;
  height: 90vh;              /* ほぼ画面いっぱい（好みで 100vh にしてもOK） */
  max-height: 900px;         /* めちゃ大きくなりすぎるのを防止 */
  overflow: hidden;
  background: #000;
}

.hero .wrap {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero .slides {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero .slides figure {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity .8s ease;
}

.hero .slides figure.active {
  opacity: 1;
}

.hero .slides img {
  width: 100%;
  height: 100%;
  object-fit: cover;          /* これが “画面いっぱい” の鍵 */
  object-position: center;
}

/* ---- スマホは16:9に調整したい場合 ---- */
@media (max-width: 768px) {
  .hero {
    height: auto;
  }

  .hero .wrap {
    width: 100%;
    aspect-ratio: 16 / 9;     /* スマホだけ16:9に */
    height: auto;
  }
}



/* ---------- Sections ---------- */
.section {
  padding: 56px 0;
}
.section.gray {
  background: var(--bg);
}
.section h2 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(26px,4vw,40px);
  margin: .2em 0 .4em;
}
.section p {
  margin: .4em 0 1.2em;
}

.section.center {
  text-align: center;              /* テキスト中央寄せ */
}

.section.center .container {
  display: flex;
  flex-direction: column;
  align-items: center;             /* 要素を中央揃え */
  justify-content: center;
}

/* Studio MU セクションのCTAを縦並び＆中央寄せ */
.section.gray.center .cta {
  display: flex;          /* flexにして */
  flex-direction: column; /* 上から縦に並べる */
  align-items: center;    /* 子要素を水平中央に */
  gap: 1rem;              /* ボタンと下のテキストの間に少し余白（お好みで） */
}

/* 念のため、ボタン自体も中央寄せしやすくしておく */
.section.gray.center .cta .btn.primary {
  display: inline-block;
}

/* ---------- CTA Block ---------- */
.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}
.cta .note {
  opacity: .8;
}



/* ---------- Calendar（月表示） ---------- */
.section.gray.center h2 {
  text-align: left;
}

.calendar-wide {
  width: 100%;
}

.calendar-wide iframe {
  width: 100%;
  height: 500px;
  border: 0;
}


/* スマホで少し小さくしたい場合 */
@media (max-width: 768px) {
  .cal-wrap .cal-month-frame {
    height: 520px;
  }
}



/* ---------- Responsive ---------- */
@media (max-width: 820px){
  .nav { display: none; }
  .hero .overlay { padding: 32px; flex-direction: column; gap: 32px; }
  .cta { flex-direction: column; align-items: flex-start; }
  .cal-wrap iframe { height: 560px; }
}


/* ---------- Access ---------- */
.map-wrap {
  width: 100%;
  max-width: 800px;     /* PC時の最大幅（お好みで調整） */
  margin: 0 auto;       /* ← これが中央寄せのポイント！ */
  border-radius: 12px;
  overflow: hidden;
}

/* ---------- Reserve---------- */

/* 予約ページのメールリンクだけ黒文字＋下線なし */
body[data-page="reserve"] a.mail-link {
  color: #000;
  text-decoration: none;
  font-weight: 600;   /* 黒文字を少し太くするなら */
}

/* ホバー時（必要なら） */
body[data-page="reserve"] a.mail-link:hover {
  text-decoration: underline;
}

.reserve-box {
  border: 2px solid #000;      /* 黒枠 */
  padding: 16px;               /* 内側の余白 */
  border-radius: 6px;          /* 少し丸み（角丸不要なら0でOK） */
  background: #f7f7f7;         /* 薄いグレー背景（消したければ白に） */
  line-height: 1.6;            /* 行間 */
  margin: 20px 0;              /* 上下余白 */
  font-size: 16px;             /* 読みやすいサイズ */
}




.content-block {
  margin-bottom: 64px;
}

.content-block h2 {
  margin-bottom: 24px;
}

/* 料金表画像：スマホで横スクロールさせない */
.price-image {
  max-width: 100%;
  height: auto;
  display: block;
}
