@charset "UTF-8";

/* =========================================================
   Variables
========================================================= */
:root {
  --color-bg: #eee9df;
  /* 背景：ナチュラルベージュ */

  /* ボタンなどに使う少し濃いめのグリーンに変更 (白文字が読めるように) */
  --color-green: #9fb896;
  --color-green-light: #d4e6ce;
  /* 装飾用や背景用に元の明るいグリーンを残す */

  --color-pink: #e5d1cb;
  /* アクセント：くすみピンク */
  /* 「必須」ラベルなどに使う濃いめのピンク */
  --color-pink-dark: #d3a59d;

  --color-taupe: #d3c1af;
  /* アクセント：モカ・トープ */
  /* サブタイトルなどに使う濃いめのトープ */
  --color-taupe-dark: #a89580;

  --color-text: #504845;
  /* テキスト：優しいダークブラウン */

  --font-base: 'Source Sans 3', 'Noto Serif JP', serif;
  --font-title: 'Source Sans 3', 'Noto Serif JP', serif;
}

/* =========================================================
   Base (PC版のフォントサイズと余白)
========================================================= */
body {
  font-family: var(--font-base);
  color: var(--color-text);
  background-color: var(--color-bg);
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.05em;
}

h2 {
  font-weight: 500;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

a:hover {
  opacity: 0.7;
}

.inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 4%;
}

.section {
  padding: 80px 0;
  scroll-margin-top: 70px;
}

.section-title {
  font-family: var(--font-title);
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 40px;
  color: var(--color-text);
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background-color: var(--color-green-light);
  margin: 16px auto 0;
}

/* fleugeについて と Voice のセクションタイトルの下線を白に変更 */
.about .section-title::after,
.voice .section-title::after {
  background-color: #fff;
}

.text-center {
  text-align: center;
}

.mt-5 {
  margin-top: 50px;
}

/* =========================================================
   Buttons
========================================================= */
.btn-wrap {
  text-align: center;
  margin-top: 30px;
}

.btn {
  display: inline-block;
  padding: 12px 40px;
  background-color: var(--color-taupe);
  color: #fff;
  border-radius: 30px;
  font-weight: 500;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  border: none;
  font-family: inherit;
  font-size: 1rem;
  transition: opacity 0.3s ease;
}

.btn--primary {
  background-color: var(--color-green);
}

.btn--submit {
  padding: 14px 60px;
  font-size: 1.1rem;
}

.btn--submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ▼ 閉じるボタン用のスタイル ▼ */
.btn--close {
  background: transparent;
  border: none;
  color: var(--color-taupe-dark);
  font-size: 0.85rem;
  cursor: pointer;
  text-decoration: underline;
  padding: 8px;
  transition: opacity 0.3s ease;
  font-family: inherit;
}

.btn--close:hover {
  opacity: 0.7;
}

/* =========================================================
   Header & Dropdown
========================================================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(238, 233, 223, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  z-index: 100;
}

.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
  padding: 0 4%;
}

.header__logo a {
  display: flex;
  align-items: center;
}

.header__logo img {
  height: 40px;
  width: auto;
}


.header__nav-list {
  display: flex;
  gap: 30px;
  list-style: none;
  align-items: center;
}

@media screen and (min-width: 769px) {
  .nav-has-child {
    position: relative;
    height: 70px;
    display: flex;
    align-items: center;
  }

  .nav-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    padding: 10px 0;
    min-width: 140px;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    list-style: none;
  }

  .nav-has-child:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
  }

  .nav-dropdown a {
    display: block;
    padding: 10px 20px;
    font-size: 0.95rem;
    white-space: nowrap;
  }

  .nav-dropdown a:hover {
    background-color: var(--color-bg);
  }
}

/* ▼ ヘッダー右側のSNS（Insta + LINE） ▼ */
.header__sns {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-insta {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-insta svg {
  width: 22px;
  height: 22px;
  fill: var(--color-text);
  transition: fill 0.3s ease;
}

.nav-insta:hover {
  transform: translateY(-2px);
  opacity: 1;
}

.nav-insta:hover svg {
  fill: #dc2743;
}

.btn-line-header {
  display: flex;
  align-items: center;
  gap: 6px;
  background-color: #06C755;
  color: #fff !important;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.3s ease, opacity 0.3s ease;
  text-decoration: none;
}

.btn-line-header:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.btn-line-header svg {
  width: 16px;
  height: 16px;
  fill: #fff;
}

.header__hamburger {
  display: none;
}

/* =========================================================
   LINE モーダル (PC用QRコード)
========================================================= */
.line-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.line-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.line-modal__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  cursor: pointer;
}

.line-modal__content {
  position: relative;
  background-color: #fff;
  padding: 40px 30px;
  border-radius: 12px;
  text-align: center;
  z-index: 1;
  max-width: 90%;
  width: 320px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.line-modal.is-open .line-modal__content {
  transform: translateY(0);
}

.line-modal__text {
  font-size: 16px;
  font-weight: bold;
  color: #333;
  margin-bottom: 20px;
  line-height: 1.5;
}

.line-modal__qr {
  width: 100%;
  max-width: 200px;
  height: auto;
  border: 1px solid #eee;
  border-radius: 8px;
}

.line-modal__close {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  font-size: 28px;
  color: #999;
  cursor: pointer;
  line-height: 1;
  padding: 0;
}

.line-modal__close:hover {
  color: #333;
}

/* =========================================================
   Hero
========================================================= */
.hero {
  position: relative;
  height: 80vh;
  margin-top: 70px;
  background-color: var(--color-pink);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
}

.hero__bg-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  z-index: 0;
  transition: transform 1s ease-in-out;
}

.hero__bg-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero__bg-slide--01 {
  background-image: url("../img/skin03.jpg");
}

.hero__bg-slide--02 {
  background-image: url("../img/main02.jpg");
}

.hero__content {
  text-align: left;
  margin-left: 0;
  padding: 40px 50px 40px 50px;
  position: relative;
  z-index: 1;
  transition: opacity 1s ease, visibility 1s ease;
  opacity: 1;
  visibility: visible;
}

.hero__content.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.hero__content h2 {
  font-family: var(--font-title);
  font-size: 2.4rem;
  line-height: 1.5;
  margin-bottom: 16px;
}

.hero__content p {
  font-size: 1rem;
}

/* =========================================================
   News (トップページ)
========================================================= */
.news {
  background-color: #f6f1e9;
}

.news__list {
  max-width: 600px;
  margin: 0 auto;
}

.news__item {
  display: flex;
  border-bottom: 1px dashed var(--color-taupe);
  padding: 16px 20px; /* 左右に20pxの余白を追加 */
}

.news__date {
  width: 100px;
  color: var(--color-taupe);
  font-weight: bold;
  flex-shrink: 0;
}

.news__link {
  flex: 1;
}


/* =========================================================
   News Page (news.html) - アコーディオン仕様
========================================================= */
.news-page {
  background-color: var(--color-bg);
}

.news-page__content {
  background-color: #fff;
  max-width: 800px;
  margin: 0 auto;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

/* リンクで飛んだ時にヘッダーに隠れないように調整 */
.news-page__item {
  border-bottom: 1px dashed var(--color-taupe);
  scroll-margin-top: 90px;
}

.news-accordion {
  width: 100%;
}

.news-accordion summary {
  list-style: none; /* デフォルトの黒三角を消す */
  list-style-type: none; /* Safariなどの対応 */
  outline: none;
  cursor: pointer;
  margin: 0;
  padding: 0;
}

.news-accordion summary::-webkit-details-marker {
  display: none; /* WebKitブラウザのデフォルトマーカーを消す */
}

.news-accordion__header {
  display: flex;
  align-items: center; /* 縦方向の中央揃え */
  padding: 24px 30px 24px 0; /* 上下のpaddingを広げました */
  position: relative;
  transition: opacity 0.3s;
}

.news-accordion__header:hover {
  opacity: 0.7;
}

/* カスタム矢印アイコン */
.news-accordion__header::after {
  content: "";
  position: absolute;
  top: 50%; /* 中央に配置 */
  right: 10px;
  width: 8px;
  height: 8px;
  border-bottom: 2px solid var(--color-taupe);
  border-right: 2px solid var(--color-taupe);
  transform: translateY(-50%) rotate(45deg);
  transition: transform 0.3s ease;
}

details[open].news-accordion .news-accordion__header::after {
  transform: translateY(-50%) rotate(225deg);
}

/* ▼ タイトルテキストの余白調整 ▼ */
.news-accordion__title {
  flex: 1;
  color: var(--color-text);
  line-height: 1.6;
  margin: 0 0 0 20px; /* PC版: 日付との間に横の隙間を追加 */
  padding: 16px 20px; /* 必要に応じて内側の余白を調整可能 */
}

.news-accordion__content {
  padding: 10px 0 24px 100px;
  animation: slideDown 0.4s ease-out forwards;
  font-size: 0.95rem;
  line-height: 1.8;
}


/* =========================================================
   About & Profile
========================================================= */
.about {
  background-color: var(--color-pink);
}

.about__text {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.02);
}

.about-subtitle {
  text-align: center;
  font-family: var(--font-title);
  font-size: 2rem;
  margin: 80px 0 30px;
  color: var(--color-text);
}

.profile__content {
  display: flex;
  gap: 50px;
  max-width: 800px;
  margin: 0 auto;
  align-items: center;
  background: #fff;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.02);
}

.profile__image {
  flex-shrink: 0;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  background-color: var(--color-pink);
}

.profile__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.profile__text {
  flex: 1;
}

.profile__text p {
  font-size: 13.6px;
  margin-bottom: 16px;
}

.profile__sns {
  margin-top: 24px;
}

.btn-insta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 30px;
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #fff;
  border-radius: 30px;
  font-weight: 500;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.btn-insta:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.btn-insta svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}


/* =========================================================
   Menu (Cards)
========================================================= */
.menu {
  background-color: #fff;
}

.menu__subtitle-link {
  display: block;
  width: max-content;
  margin: 0 auto;
  transition: transform 0.3s;
}

.menu__subtitle-link:hover {
  transform: translateY(-2px);
  opacity: 0.8;
}

.menu__subtitle {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 30px;
  color: var(--color-text);
}

.menu__subtitle span {
  display: block;
  font-size: 0.95rem;
  color: var(--color-taupe-dark);
  margin-top: 4px;
}

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

.card {
  display: block;
  background-color: var(--color-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

.card__img {
  height: 160px;
  background-color: var(--color-taupe);
}

.card__img--green {
  background-color: var(--color-green-light);
}

.card__img--pink {
  background-color: var(--color-pink);
}

.card__img--skin {
  background-color: #fff;
  background-image: url("../img/skin02.jpg");
  background-size: cover;
  background-position: center;
}

.card__img--baby {
  background-color: #fff;
  background-image: url("../img/baby01.jpg");
  background-size: cover;
  background-position: center;
}

.card__img--sign {
  background-color: #fff;
  background-image: url("../img/sign01.jpg");
  background-size: cover;
  background-position: center;
}

.card__img--okurumi {
  background-color: #fff;
  background-image: url("../img/okurumi01.jpg");
  background-size: cover;
  background-position: center;
}

.card__img--baby01 {
  background-color: #fff;
  background-image: url("../img/baby07.jpg");
  background-size: cover;
  background-position: center;
}

.card__img--sign01 {
  background-color: #fff;
  background-image: url("../img/sign02.jpg");
  background-size: cover;
  background-position: center;
}

.card__img--skin01 {
  background-color: #fff;
  background-image: url("../img/skin01.jpg");
  background-size: cover;
  background-position: center;
}

.card__img--reflex01 {
  background-color: #fff;
  background-image: url("../img/refre01.jpg");
  background-size: cover;
  background-position: center;
}


.card__title {
  padding: 12px 6px;
  text-align: center;
  font-size: 0.9rem;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

/* =========================================================
   Access
========================================================= */
.access {
  background-color: #fff;
}

.access__info {
  text-align: center;
}

.access__name {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 16px;
}

/* =========================================================
   Voice (お客様の声カルーセル)
========================================================= */
.voice {
  background-color: var(--color-bg);
  overflow-x: hidden;
}

.voice .section-title span {
  display: block;
  font-size: 0.95rem;
  color: var(--color-taupe-dark);
  margin-top: 4px;
}

.inner-full {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  padding: 0 5%;
}

.carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.carousel-arrow {
  background-color: #fff;
  border: 1px solid var(--color-taupe);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
}

.carousel-arrow:hover {
  background-color: var(--color-pink);
  border-color: var(--color-pink);
}

.carousel-arrow:hover svg {
  fill: #fff;
}

.carousel-arrow svg {
  width: 20px;
  height: 20px;
  fill: var(--color-text);
  transition: fill 0.3s;
}

.carousel-arrow.prev {
  left: -15px;
}

.carousel-arrow.next {
  right: -15px;
}

.carousel-container {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 10px 0 30px;
  /* スクロールバー非表示 */
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}

.carousel-container::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari and Opera */
}

.carousel-slide {
  scroll-snap-align: start;
  flex: 0 0 calc((100% - 80px) / 5);
  /* 5枚表示 */
  display: flex;
}

.review-card {
  background-color: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.review-card__stars {
  color: #f39c12;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.review-card__text {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}

.review-card__author {
  font-size: 0.85rem;
  color: var(--color-taupe);
  text-align: right;
  font-weight: bold;
}


/* =========================================================
   Contact & Form
========================================================= */
.contact {
  background-color: var(--color-green-light);
}

.contact .section-title {
  color: var(--color-text);
}

.contact .section-title::after {
  background-color: #fff;
}

.contact__lead {
  margin-bottom: 30px;
  color: var(--color-text);
  line-height: 1.8;
}

.contact__form {
  max-width: 600px;
  margin: 0 auto;
  background-color: #fff;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--color-text);
}

.required {
  background-color: var(--color-pink-dark);
  color: #fff;
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 8px;
  vertical-align: middle;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-taupe);
  border-radius: 8px;
  background-color: #faf9f7;
  font-family: inherit;
  font-size: 1rem;
  color: var(--color-text);
  box-sizing: border-box;
  transition: all 0.3s;
}

.form-group select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23504845' d='M6 8.825c-.2 0-.4-.1-.5-.2l-3.3-3.3c-.3-.3-.3-.8 0-1.1.3-.3.8-.3 1.1 0l2.7 2.7 2.7-2.7c.3-.3.8-.3 1.1 0 .3.3.3.8 0 1.1l-3.3 3.3c-.1.2-.3.2-.5.2z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-green);
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(159, 184, 150, 0.3);
}

/* ▼ 入力エラー時の赤枠スタイル ▼ */
.form-group input.is-error,
.form-group textarea.is-error,
.form-group select.is-error {
  border-color: #dc3545;
  background-color: #fff5f5;
}

.form-group input.is-error:focus,
.form-group textarea.is-error:focus,
.form-group select.is-error:focus {
  border-color: #dc3545;
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.2);
}

.form-group textarea {
  resize: vertical;
}

/* ▼ プライバシーポリシー用のスタイル ▼ */
.privacy-box {
  border: 1px solid var(--color-taupe);
  border-radius: 8px;
  padding: 15px;
  height: 150px;
  overflow-y: auto;
  background-color: #fff;
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 15px;
  text-align: left;
}

.privacy-box p {
  margin-bottom: 8px;
}

.privacy-box p:last-child {
  margin-bottom: 0;
}

.privacy-check {
  text-align: center;
}

.privacy-check label {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  font-weight: normal;
  font-size: 0.95rem;
}

.privacy-check input[type="checkbox"] {
  width: auto;
  margin-right: 8px;
  transform: scale(1.2);
  cursor: pointer;
}

.contact__caution {
  font-size: 0.85rem;
  color: var(--color-text);
  margin-top: 20px;
  line-height: 1.6;
}

/* =========================================================
   Footer & Sitemap
========================================================= */
.footer {
  background-color: var(--color-text);
  color: #fff;
  padding: 60px 0 20px;
}

.footer__inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 4%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer__logo {
  font-family: var(--font-title);
  font-size: 2rem;
  margin-bottom: 30px;
}

.footer__logo a {
  color: #fff;
}

.footer__sitemap {
  display: flex;
  gap: 60px;
  margin-bottom: 50px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer__sitemap-col h3 {
  font-size: 1.1rem;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 8px;
  font-family: var(--font-title);
}

.footer__sitemap-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__sitemap-list li {
  margin-bottom: 10px;
}

.footer__sitemap-list a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer__sitemap-list a:hover {
  color: #fff;
}

.footer__copyright {
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  width: 100%;
}


/* =========================================================
   Lower Pages (Lesson, Course & News)
========================================================= */
.page-hero {
  margin-top: 70px;
  padding: 60px 0;
  text-align: center;
}

.page-hero--pink {
  background-color: var(--color-pink);
}

.page-hero--green {
  background-color: var(--color-green-light);
}

.page-hero h2 {
  font-family: var(--font-title);
  font-size: 2.4rem;
  color: var(--color-text);
}

.page-hero span {
  display: block;
  font-size: 1rem;
  margin-top: 8px;
  color: var(--color-text);
}

.menu-detail {
  background-color: var(--color-bg);
}

/* レッスン一覧のカードスタイル（PC版では横並び） */
.menu-item {
  display: flex;
  gap: 40px;
  background: #fff;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  margin-bottom: 40px;
  scroll-margin-top: 90px;
}

.menu-item:last-child {
  margin-bottom: 0;
}

.menu-item__img {
  flex: 0 0 40%;
  min-height: 250px;
  border-radius: 12px;
}

.menu-item__content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.menu-item__title {
  font-family: var(--font-title);
  font-size: 1.6rem;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-taupe);
}

/* ▼ 初級講座一覧 (course.html) 専用のレイアウト変更 ▼ */
.course-detail .menu-item {
  flex-direction: column;
  gap: 20px;
}

/* 見出しとボタンを中央揃えに指定 */
.course-detail .menu-item__content {
  align-items: center;
}

.course-detail .menu-item__title {
  text-align: center;
  width: 100%;
}

/* プルダウンのテキスト部分は左寄せのまま維持 */
.course-detail .c-accordion__content {
  text-align: left;
  width: 100%;
}

/* PC版：横幅を少し狭くし、16:9の比率を維持 */
.course-detail .menu-item__img {
  flex: none;
  width: 80%;
  max-width: 640px;
  margin: 0 auto;
  height: auto;
  aspect-ratio: 16 / 9;
  min-height: auto;
}

.menu-text {
  margin-bottom: 30px;
}

.menu-text p {
  margin-bottom: 12px;
  line-height: 1.8;
}

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

.menu-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
}

.menu-info dt {
  font-weight: bold;
  color: var(--color-text);
  background-color: rgba(212, 230, 206, 0.4);
  padding: 6px 16px;
  border-left: 4px solid var(--color-green);
  border-radius: 0 4px 4px 0;
  display: inline-block;
  margin-bottom: 8px;
}

.menu-info dd {
  padding-left: 16px;
  color: var(--color-text);
  line-height: 1.6;
}

.menu-item__btn {
  margin-top: auto;
}

.c-accordion {
  margin-top: 10px;
  width: 100%;
  text-align: center;
}

.c-accordion summary {
  list-style: none;
  outline: none;
}

.c-accordion summary::-webkit-details-marker {
  display: none;
}

.c-accordion__btn {
  position: relative;
  padding-right: 50px;
  display: inline-block;
  cursor: pointer;
}

.c-accordion__btn::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 20px;
  width: 8px;
  height: 8px;
  border-bottom: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.3s ease;
}

details[open].c-accordion .c-accordion__btn::after {
  transform: translateY(-30%) rotate(225deg);
}

.c-accordion__content {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px dashed var(--color-taupe);
  animation: slideDown 0.4s ease-out forwards;
  text-align: left;
}

@keyframes slideDown {
  0% {
    opacity: 0;
    transform: translateY(-10px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================================
   Detail Page (各レッスンの詳細ページ用)
========================================================= */
.detail-page {
  background-color: var(--color-bg);
}

.detail-page__content {
  background-color: #fff;
  max-width: 800px;
  margin: 0 auto;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.detail-page__main-img {
  width: 100%;
  height: 300px;
  border-radius: 12px;
  margin-bottom: 40px;
}

.detail-box {
  margin-bottom: 40px;
}

.detail-box__title {
  font-family: var(--font-title);
  font-size: 1.6rem;
  border-bottom: 2px solid var(--color-taupe);
  padding-bottom: 10px;
  margin-bottom: 30px;
  color: var(--color-text);
}

.detail-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.detail-list__item dt {
  font-weight: bold;
  color: var(--color-text);
  font-size: 1.1rem;
  margin-bottom: 10px;
  border-left: 4px solid var(--color-green);
  padding-left: 10px;
}

.detail-list__item dd {
  padding-left: 14px;
}

.dot-list {
  list-style-type: disc;
  padding-left: 20px;
}

.dot-list li {
  margin-bottom: 6px;
}

.detail-desc {
  margin-bottom: 30px;
}

.detail-desc p {
  margin-bottom: 12px;
  line-height: 1.8;
}

.detail-desc p:last-child {
  margin-bottom: 0;
}

.price {
  font-size: 1.4rem;
  font-weight: bold;
  color: var(--color-text);
  display: block;
  margin-bottom: 8px;
}

.note {
  font-size: 0.95rem;
  color: var(--color-text);
}

.note-list {
  list-style: none;
  padding-left: 0;
  color: var(--color-text);
  font-size: 0.95rem;
}

.note-list li {
  margin-bottom: 6px;
}

.detail-box__include {
  margin-top: 20px;
  padding: 20px;
  background-color: rgba(212, 230, 206, 0.2);
  border-radius: 8px;
}

.detail-box__include strong {
  display: block;
  margin-bottom: 10px;
  color: var(--color-text);
}

.detail-box__include ul {
  padding-left: 20px;
}

.detail-box__message {
  margin-top: 40px;
  padding: 20px;
  background-color: #faf9f7;
  border-radius: 8px;
  border: 1px dashed var(--color-taupe);
}

.detail-box__message p {
  margin-bottom: 10px;
}

.detail-box__message p:last-child {
  margin-bottom: 0;
}

.detail-box__warning {
  margin-top: 40px;
  padding: 20px;
  background-color: rgba(229, 209, 203, 0.2);
  border-left: 4px solid var(--color-pink-dark);
  border-radius: 0 8px 8px 0;
}

.detail-box__warning strong {
  display: block;
  margin-bottom: 10px;
  color: var(--color-text);
}

.detail-box__warning p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

.detail-page__content a[href="lesson.html"],
.detail-page__content a[href="course.html"] {
  color: var(--color-pink-dark);
}

/* =========================================================
   Media Queries (Tablet / Small PC - ヘッダーの窮屈さを解消)
========================================================= */
@media screen and (min-width: 769px) and (max-width: 950px) {
  .header__logo img {
    height: 36px;
  }

  .header__nav-list {
    gap: 15px;
    font-size: 0.95rem;
  }

  .header__sns {
    gap: 10px;
  }

  .btn-line-header {
    padding: 6px 10px;
    font-size: 0.8rem;
  }

  .nav-insta svg {
    width: 20px;
    height: 20px;
  }
}

/* =========================================================
   Media Queries (SP - スマホ版の調整)
========================================================= */
@media screen and (max-width: 768px) {
  body {
    font-size: 15px;
  }

  .section {
    padding: 60px 0;
    scroll-margin-top: 70px;
  }

  .section-title {
    font-size: 1.75rem;
    margin-bottom: 30px;
  }

  .header__logo img {
    height: 32px;
  }

  .header__nav {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: #fff;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.5s ease, opacity 0.5s ease, visibility 0.5s;
    overflow-y: auto;
    z-index: -1;
  }

  .header__nav.is-active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .header__nav-list {
    flex-direction: column;
    align-items: center;
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .nav-has-child {
    text-align: center;
    margin-bottom: 15px;
  }

  .nav-dropdown {
    list-style: none;
    padding-top: 10px;
  }

  .nav-dropdown a {
    font-size: 0.95rem;
    color: var(--color-taupe);
    padding: 5px 0;
    display: block;
  }

  .header__hamburger {
    display: block;
    width: 30px;
    height: 24px;
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 110;
  }

  .header__hamburger span {
    position: absolute;
    width: 100%;
    height: 3px;
    background: var(--color-text);
    left: 0;
    border-radius: 3px;
    transition: all 0.5s ease;
  }

  .header__hamburger span:nth-child(1) {
    top: 0;
  }

  .header__hamburger span:nth-child(2) {
    top: 10px;
  }

  .header__hamburger span:nth-child(3) {
    top: 20px;
  }

  .header__hamburger.is-active span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
  }

  .header__hamburger.is-active span:nth-child(2) {
    opacity: 0;
  }

  .header__hamburger.is-active span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
  }

  .hero {
    justify-content: flex-start;
    padding-left: 0;
  }

  .hero__content {
    text-align: left;
    margin-left: 0;
    padding: 30px 20px 30px 5%;
    width: auto;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 0;
    position: relative;
    z-index: 1;
  }

  .hero__content h2 {
    font-size: 1.6rem;
    line-height: 1.6;
    margin-bottom: 12px;
  }

  .hero__content p {
    font-size: clamp(10px, 3.2vw, 14px);
    letter-spacing: 0.02em;
    white-space: nowrap;
  }

  .news__item {
    flex-direction: column;
    padding: 16px 20px; /* スマホでも余白を保持 */
  }

  .news__date {
    margin-bottom: 8px;
  }

  .news-page__content {
    padding: 30px 20px;
  }

  .menu__subtitle {
    font-size: 1.4rem;
    margin-bottom: 20px;
  }

  .about-subtitle {
    font-size: 1.6rem;
    margin: 60px 0 20px;
  }

  .card__title {
    font-size: 1rem;
    white-space: normal;
  }

  .about__text p,
  .profile__text p {
    font-size: 12px;
  }

  .profile__content {
    flex-direction: column;
    text-align: center;
    gap: 30px;
    padding: 30px 20px;
  }

  .profile__image {
    width: 150px;
    height: 150px;
  }

  .menu__grid {
    grid-template-columns: 1fr;
  }

  .contact__form {
    padding: 30px 20px;
  }

  /* ▼ スマホ版 ヘッダーと背景の隙間調整 ▼ */
  .page-hero {
    padding: 40px 0;
    margin-top: 70px;
  }

  .page-hero h2 {
    font-size: 1.75rem;
  }

  .page-hero.page-hero--detail h2 {
    font-size: 1.25rem;
  }

  .page-hero span {
    font-size: 0.9rem;
  }

  .menu-item__title {
    font-size: 1.3rem;
    margin-bottom: 16px;
  }

  .menu-item {
    flex-direction: column;
    padding: 24px;
    gap: 20px;
  }

  .menu-item__img {
    min-height: 200px;
  }

  .course-detail .menu-item__img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .menu-item__btn {
    text-align: center;
  }

  .detail-page__content {
    padding: 30px 20px;
  }

  .detail-page__main-img {
    height: 200px;
    margin-bottom: 24px;
  }

  .detail-box__title {
    font-size: 1.4rem;
    margin-bottom: 20px;
  }

  .detail-desc p {
    font-size: 0.85rem;
    margin-bottom: 8px;
  }

  .detail-list {
    gap: 24px;
  }

  .detail-list__item dt {
    font-size: 1rem;
    padding: 4px 12px;
    margin-bottom: 8px;
  }

  .detail-list__item dd {
    font-size: 0.85rem;
  }

  .dot-list li,
  .note-list li {
    margin-bottom: 4px;
  }

  .note-list {
    font-size: 0.85rem;
  }

  .note {
    font-size: 0.85rem;
  }

  .price {
    font-size: 1.2rem;
    margin-bottom: 4px;
  }

  .detail-box__include,
  .detail-box__message,
  .detail-box__warning {
    margin-top: 30px;
    padding: 16px;
  }

  .detail-box__include strong,
  .detail-box__warning strong {
    font-size: 0.95rem;
    margin-bottom: 8px;
  }

  .detail-box__message p,
  .detail-box__warning p,
  .detail-box__include .dot-list {
    font-size: 0.85rem;
  }

  .carousel-slide {
    flex: 0 0 calc(85% - 20px);
    display: flex;
  }

  .contact__caution {
    font-size: 0.75rem;
  }
  
  /* ▼ スマホ版 AccessとContactのテキスト調整 ▼ */
  .access__info p:not(.access__name),
  .contact__lead p {
    font-size: 14.4px;
  }

  .footer__sitemap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px 15px;
    text-align: center;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }

  .footer__sitemap-col:nth-child(3) {
    grid-column: 1 / -1;
    text-align: center;
  }

  .footer__sitemap-col:nth-child(1) h3,
  .footer__sitemap-col:nth-child(2) h3 {
    font-size: 0.9rem;
    margin-bottom: 12px;
  }

  .footer__sitemap-col:nth-child(1) .footer__sitemap-list a,
  .footer__sitemap-col:nth-child(2) .footer__sitemap-list a {
    font-size: 0.75rem;
  }

  .footer__sitemap-col:nth-child(3) h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
  }

  .footer__sitemap-col:nth-child(3) .footer__sitemap-list a {
    font-size: 0.9rem;
  }

  /* ▼ スマホ版 Newsページ アコーディオン調整 ▼ */
  .news-accordion__header {
    flex-direction: column;
    padding: 20px 30px 20px 0;
    align-items: flex-start;
  }

  .news-accordion__header::after {
    top: 50%;
  }
  
  .news-accordion__title {
    margin: 8px 0 0 0; /* スマホ版は縦並びになるため、上方向に余白を追加 */
    padding: 20;
  }

  .news-accordion__content {
    padding: 10px 0 24px 0;
  }
}