:root {
  --bg: #fff;
  --text: #111;
  --muted: #6b6b6b;
  --accent: #1a1a1a;
  --container: 1100px;
  font-family: 'Noto Sans JP', sans-serif;
}

* { box-sizing: border-box; }

body {
  margin:0;
  color: var(--text);
  background: var(--bg);
  line-height:1.6;
}

.container {
  max-width: var(--container);
  margin:0 auto;
  padding:0 20px;
  text-align:center;
}

/* ヘッダー */
.site-header {
  position: sticky;
  top:0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(6px);
  border-bottom:1px solid #eee;
  z-index:40;
}
.header-inner {
  display:flex;
  justify-content:space-between;
  align-items:center;
  height:68px;
}
.logo {
  font-weight:800;
  letter-spacing:1px;
  color:var(--accent);
  text-decoration:none;
}
.site-nav ul {
  display:flex;
  gap:18px;
  margin:0;
  padding:0;
  list-style:none;
}
.site-nav a {
  color: var(--muted);
  text-decoration:none;
  font-weight:500;
}

/* ヒーロー */

/**********************************************
3. ヒーローセクション
**********************************************/
.hero {
  position: relative;
  height: 80vh;
  overflow: hidden;
  color: #fff;
}

.hero-slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-slider .slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.hero-slider .slide.active {
  opacity: 1;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  top: 50%;
  transform: translateY(-50%);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  padding: 0 20px;
}

.hero h1 {
  font-size: clamp(28px, 6vw, 48px);
  margin: 0 0 12px;
}

.lead {
  font-size: 1.2rem;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.95);
}

.btn {
  display: inline-block;
  background: #fff;
  color: #111;
  padding: 10px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
}




/*==================== ハンバーガーメニュー ===================*/

@media screen and (max-width:1000px) {

  /* ナビ本体（隠れている状態） */
  #site-nav {
      position: fixed;
      top: 0;
      left: -120%;           /* ← right ではなく left に */
      right: -120%;           
      width: 100%;
      height: 100vh;
      background: #ffffff;
      transition: all 0.6s;
      z-index: 100;
      opacity: 0;
      pointer-events: none;
  }

  #site-nav.panelactive {
      left: 0;               /* ← こっちにスライドイン */
      opacity: 1;            /* ← 透明解除 */
      pointer-events: auto;  /* ← クリック可能 */
  }

  #site-nav ul {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      display: flex;
      flex-direction: column;
      gap: 20px;
      text-align: center;
  }

  #site-nav li a {
      color: #111;
      font-size: 1.3rem;
      text-decoration: none;
      letter-spacing: 0.1em;
  }

  /* ハンバーガー本体 */
  .openbtn {
      position: absolute;
      right: 20px;
      top: 14px;
      cursor: pointer;
      width: 45px;
      height: 45px;
      z-index: 300;
  }

  .openbtn span {
      position: absolute;
      left: 8px;
      width: 60%;
      height: 3px;
      background: #111;
      border-radius: 2px;
      transition: 0.4s;
  }

  .openbtn span:nth-of-type(1) { top: 12px; }
  .openbtn span:nth-of-type(2) { top: 21px; }
  .openbtn span:nth-of-type(3) { top: 30px; }

  /* × に変化 */
  .openbtn.active span:nth-of-type(1) {
      transform: rotate(45deg);
      top: 21px;
  }
  .openbtn.active span:nth-of-type(2) {
      opacity: 0;
  }
  .openbtn.active span:nth-of-type(3) {
      transform: rotate(-45deg);
      top: 21px;
  }
}

/* ===================================== */
/* 学生メニュー（美容鍼CSSの完全適用版） */
/* ===================================== */



#student-services.services.container {
  max-width: 1100px;
  width: 90%;
  margin: 0 auto;
  padding: 40px 0;
  box-sizing: border-box;
}

/* 各サービス行 */
#student-services .service-detail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px; /* 画像と文字の距離 */
  margin-bottom: 80px;
}

/* 偶数番目だけ左右反転 */
#student-services .service-detail:nth-child(even) {
  flex-direction: row-reverse;
}

/* 左右50%に固定 */
#student-services .service-text,
#student-services .service-image {
  flex: 0 0 50%;
}

/* 見出し */
#student-services .service-text h2 {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

/* 箇条書き */
#student-services .service-text ul {
  list-style: none;
  padding-left: 0;
  line-height: 1.8;
  color: #333;
}
#student-services .service-text ul li::before {
  content: "•";
  color: #ff6600;
  margin-right: 4px;
}

/* 画像 */
#student-services .service-image {
  display: flex;
  justify-content: center;
}
#student-services .service-photo {
  width: 100%;
  max-width: 480px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  object-fit: cover;
}

/* スマホ対応 */
@media (max-width: 768px) {
  #student-services .service-detail {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  #student-services .service-text,
  #student-services .service-image {
    flex: 0 0 100%;
  }

  #student-services .service-photo {
    width: 90%;
  }

  /* 🔥 追加：スマホでは反転を無効化する */
  .service-detail:nth-child(even) {
    flex-direction: column !important;
  }
}

/* 1つ目だけ中央寄せ＆縦並び */
.center-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
}

/* 中身のテキスト幅を制限して整える */
.center-item .service-text {
  max-width: 600px;
}




/* 予約セクション */
#contact {
  display:flex;
  justify-content:center;
  align-items:center;
  text-align:center;
  padding:50px 20px;
  background:#f9f9f9;
  margin-bottom:60px;
}
.contact-buttons {
  display:flex;
  justify-content:center;
  gap:16px;
  flex-wrap:wrap;
  margin-top:20px;
}
.contact-buttons .btn {
  padding:10px 18px;
  border-radius:6px;
  font-weight:700;
  text-decoration:none;
  min-width:120px;
  text-align:center;
}
.line-btn { background:#00c300; color:#fff; }
.line-btn:hover { background:#009900; }
.phone-btn { background:#1a73e8; color:#fff; }
.phone-btn:hover { background:#155ab6; }

/* ホームに戻る */
.back-home {
  text-align:center;
  margin:30px 0;
}
.back-home .home-btn {
  display:inline-block;
  background:rgba(173,216,230,0.2);
  color:#111;
  padding:10px 20px;
  border-radius:20px;
  text-decoration:none;
  font-weight:500;
  transition:0.3s;
}
.back-home .home-btn:hover { background:rgba(173,216,230,0.4); }

/* フッター */
.site-footer {
  background:#111;
  color:#fff;
  padding:20px 0;
  font-size:0.9rem;
  text-align:center;
}
.footer-inner {
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
}
.footer-links {
  list-style:none;
  display:flex;
  gap:16px;
  padding:0;
  margin:0;
}
.footer-links a {
  color:#fff;
  text-decoration:none;
}
.footer-links a:hover { text-decoration:underline; }
