/* =========================================
   GO WITH ME‼ - ブランドカラー / 変数定義
   実素材が届いたらここを差し替えるだけでOK
   ========================================= */
:root {
  /* 運用中サイト(go-with-me.happytry.info)の配色に合わせたブランドカラー */
  --color-primary: #fab9ca;      /* メインカラー(運用サイトのボタン色に合わせたパステルピンク) */
  --color-primary-dark: #f97195; /* 運用サイトのリンク色に合わせたローズピンク */
  --color-accent: #feb42f;       /* アクセントカラー(運用サイトのハニーアンバー) */
  --color-bg: #fffcfa;
  --color-text: #372308;         /* 運用サイトの本文/電話番号リンクに合わせたダークブラウン */
  --color-text-light: #8a7361;
  --color-text-soft: #8b5e3c;    /* 物語調の文章用の優しいブラウン */
  --color-white: #ffffff;

  /* セクションごとのパステルカラー(ポップ&メルヘン、優しい配色) */
  --color-section-blue: #e1f4fa;
  --color-section-pink: #fdeaf2;
  --color-section-yellow: #fff6dc;
  --color-section-mint: #e2f7ee;
  --color-section-lavender: #f0e9fb;

  --font-heading: 'M PLUS Rounded 1c', sans-serif;
  --font-body: 'Noto Sans JP', sans-serif;

  --max-width: 1080px;
  --radius: 16px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  /* メニューから各セクションに飛んだとき、固定ヘッダー(高さ約72px)の下に隠れないようにする */
  scroll-padding-top: 72px;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.8;
}

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

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

.section {
  padding: 72px 20px;
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 900;
  text-align: center;
  color: var(--color-primary-dark);
  margin-bottom: 40px;
  letter-spacing: 0.05em;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* =========================================
   フェードインアニメーション(ヒーロー / コンセプト)
   ========================================= */
.fade-in {
  opacity: 0;
  transition: opacity 0.8s ease;
}

.fade-in.is-visible {
  opacity: 1;
}

.fade-in-delay-1 {
  transition-delay: 0.05s;
}

.fade-in-delay-2 {
  transition-delay: 0.2s;
}

.fade-in-delay-3 {
  transition-delay: 0.35s;
}

.fade-in-delay-4 {
  transition-delay: 0.5s;
}

@media (prefers-reduced-motion: reduce) {
  .fade-in {
    opacity: 1;
    transition: none;
  }
}

.btn-primary {
  display: inline-block;
  padding: 14px 36px;
  background: var(--color-primary);
  color: var(--color-white);
  font-weight: 700;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(249, 113, 149, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(249, 113, 149, 0.45);
}

/* =========================================
   ヘッダー / ヒーロー
   ========================================= */
/* ヘッダーを画面上部に固定。body直下の要素なので、ページの最後まで貼りついたままになる */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--color-bg);
  box-shadow: 0 2px 8px rgba(55, 35, 8, 0.06);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  position: relative; /* スマホ用メニュー(.nav-links)の位置の基準 */
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 40px;
  width: auto;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 24px;
}

.nav-links a {
  color: var(--color-text);
  font-weight: 500;
  font-size: 15px;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--color-primary-dark);
  text-decoration: underline;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle-bar {
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.is-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero-banner {
  width: 100%;
  line-height: 0;
}

.hero-banner-img {
  width: 100%;
  height: auto;
}

/* =========================================
   コンセプト
   ========================================= */
.about-section {
  background: var(--color-section-yellow);
}

.about-content {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.about-intro {
  font-weight: 700;
  font-size: 16px;
  line-height: 1.9;
  color: var(--color-text);
  margin-bottom: 32px;
}

.about-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
  margin-top: 40px;
}

.about-page-img {
  --rotate: 0deg;
  width: 100%;
  max-width: 480px;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 12px 28px rgba(55, 35, 8, 0.14);
  transform: rotate(var(--rotate));
}

.about-page img.about-page-img:first-of-type {
  --rotate: -2deg;
}

.about-page img.about-page-img:last-of-type {
  --rotate: 2deg;
}

.about-page-text {
  max-width: 480px;
  font-family: var(--font-heading);
  font-size: clamp(18px, 3vw, 24px);
  font-weight: 700;
  line-height: 1.9;
  color: var(--color-text-soft);
}

/* 文節のかたまり。この中では改行されないので、折り返しが文節の切れ目になる */
.phrase {
  display: inline-block;
}

/* =========================================
   おすすめ(中央大きく+両サイドに前後をプレビューするカルーセル)
   ========================================= */
.osusume-section {
  background: var(--color-section-blue);
}

.osusume-heading {
  padding: 0 20px;
}

.osusume-note {
  text-align: center;
  color: var(--color-text-light);
  font-size: 14px;
  margin-top: -16px;
  margin-bottom: 8px;
}

.osusume-carousel {
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  overflow: hidden;
}

.osusume-stage {
  position: relative;
  height: 420px;
}

.osusume-slide {
  position: absolute;
  top: 0;
  left: 50%;
  width: 340px;
  cursor: pointer;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.osusume-slide.is-center {
  transform: translateX(-50%) scale(1);
  opacity: 1;
  z-index: 3;
  cursor: default;
}

.osusume-slide.is-prev {
  transform: translateX(calc(-50% - 230px)) scale(0.72);
  opacity: 0.45;
  z-index: 2;
}

.osusume-slide.is-next {
  transform: translateX(calc(-50% + 230px)) scale(0.72);
  opacity: 0.45;
  z-index: 2;
}

.osusume-slide.is-far {
  transform: translateX(-50%) scale(0.5);
  opacity: 0;
  z-index: 1;
  pointer-events: none;
}

.osusume-photo {
  width: 340px;
  height: 340px;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: 0 6px 18px rgba(55, 35, 8, 0.1);
}

.osusume-photo-placeholder {
  /* TODO: assets/images/osusume/ に画像を配置し、js/main.js の OSUSUME_ITEMS で image を指定すると差し替わる */
  background: linear-gradient(135deg, var(--color-accent), var(--color-primary));
}

.osusume-caption {
  margin-top: 12px;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.osusume-slide.is-center .osusume-caption {
  opacity: 1;
}

.osusume-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

.osusume-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--color-text-light);
  opacity: 0.4;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.osusume-dot:hover {
  opacity: 0.7;
}

.osusume-dot.is-active {
  background: var(--color-primary-dark);
  opacity: 1;
  transform: scale(1.3);
}

/* =========================================
   メニュー(PDF掲載)
   ========================================= */
.menu-section {
  background: var(--color-section-pink);
}

.menu-note {
  text-align: center;
  color: var(--color-text-light);
  font-size: 14px;
  margin-bottom: 32px;
}

/* メニュー画像は縦に並べる(横並びだと文字が小さくなって読めないため) */
.menu-images {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 720px;
  margin: 0 auto;
}

.menu-images a {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(55, 35, 8, 0.1);
}

.menu-images img {
  display: block;
  width: 100%;
  height: auto;
}

.menu-pdf-link {
  text-align: center;
  font-size: 13px;
  margin-top: 20px;
}

.menu-pdf-link a {
  text-decoration: underline;
}

/* =========================================
   スタッフ紹介
   ========================================= */
.staff-section {
  background: var(--color-section-mint);
}

.staff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.staff-card {
  border: 2px solid var(--color-primary);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-white);
}

.staff-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.staff-photo-placeholder {
  /* TODO: assets/images/staff/ に写真を配置し、img タグに差し替え */
  background: linear-gradient(135deg, var(--color-accent), var(--color-primary));
}

.staff-name {
  margin: 0;
  padding: 10px 8px;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text);
  border-top: 2px solid var(--color-primary);
}

/* =========================================
   Instagram(Behold埋め込み)
   ========================================= */
.instagram-section {
  background: var(--color-section-lavender);
}

.instagram-note {
  text-align: center;
  color: var(--color-text-light);
  font-size: 14px;
  margin-bottom: 32px;
}

/* =========================================
   店舗情報 / フッター
   ========================================= */
.info-section {
  background: var(--color-section-blue);
  color: var(--color-text);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}

.info-block h3 {
  font-family: var(--font-heading);
  font-size: 16px;
  margin-bottom: 12px;
  color: var(--color-primary-dark);
}

.info-block p {
  font-size: 14px;
  opacity: 0.85;
}

/* 文章中のリンクは下線でリンクだとわかるようにする */
.info-block p a {
  text-decoration: underline;
}

/* 電話・LINE・Instagram のアイコンを左寄せで横並び(他の店舗情報と揃える) */
.sns-links {
  display: flex;
  justify-content: flex-start;
  gap: 16px;
}

/* アイコンだけの丸いボタン(スマホでも押しやすいよう48px) */
.sns-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(55, 35, 8, 0.2);
  border-radius: 50%;
  transition: background 0.2s ease;
}

.sns-link:hover {
  background: rgba(249, 113, 149, 0.1);
}

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

/* Googleマップ埋め込み */
.info-map {
  margin-bottom: 48px;
  border-radius: var(--radius);
  overflow: hidden; /* 角丸の外にはみ出る地図を隠す */
  box-shadow: 0 6px 18px rgba(55, 35, 8, 0.1);
  line-height: 0;   /* iframe の下にできる余計なすき間を消す */
}

.info-map iframe {
  width: 100%;
  height: 360px;
  border: 0;
}

.copyright {
  text-align: center;
  font-size: 12px;
  opacity: 0.7;
}

/* =========================================
   レスポンシブ
   ========================================= */
@media (max-width: 768px) {
  html {
    scroll-padding-top: 60px; /* スマホのヘッダー高さ(ロゴ32px + 上下余白28px) */
  }

  .navbar {
    padding: 14px 20px;
  }

  .logo-img {
    height: 32px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    background: var(--color-bg);
    box-shadow: 0 8px 16px rgba(55, 35, 8, 0.08);
    transition: max-height 0.3s ease;
  }

  .nav-links.is-open {
    max-height: 420px;
  }

  .nav-links a {
    display: block;
    padding: 14px 20px;
    font-size: 14px;
    border-top: 1px solid rgba(55, 35, 8, 0.08);
  }

  .about-intro {
    font-size: 14px;
  }

  .about-page {
    gap: 24px;
  }

  .about-page-text {
    font-size: 15px;
    line-height: 1.8;
  }

  .info-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .info-map iframe {
    height: 280px;
  }

  .staff-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .osusume-stage {
    height: 300px;
  }

  .osusume-slide {
    width: 240px;
  }

  .osusume-photo {
    width: 240px;
    height: 240px;
  }

  .osusume-slide.is-prev {
    transform: translateX(calc(-50% - 150px)) scale(0.7);
  }

  .osusume-slide.is-next {
    transform: translateX(calc(-50% + 150px)) scale(0.7);
  }

}

@media (prefers-reduced-motion: reduce) {
  .osusume-slide {
    transition: none;
  }
}
