/*
Theme Name: にちかフルート教室
Theme URI: https://nichika-flute.net
Author: Nichika Flute
Description: にちかフルート教室のカスタム WordPress テーマ
Version: 1.6.1
License: Private
Text Domain: nichika-theme
*/

/* ===================================
   CSS Variables
=================================== */
:root {
  /* アクセント：くすみブルー（やわらかな信頼感）＋ゴールド（上質さ）。緑は不使用 */
  --primary:        #5e7fa3;   /* くすみブルー（リンク・アクセント） */
  --primary-light:  #c9a54c;   /* ゴールド（補助アクセント・引用符等） */
  --primary-dark:   #4f6e92;   /* ボタン背景（濃いめのくすみブルー） */
  --primary-hover:  #3f5a7a;   /* ボタンホバー */
  --gold:           #c9a54c;   /* ゴールド */
  --gold-hover:     #b08f3f;   /* ゴールド ホバー */
  --heading:        #5e7fa3;   /* 見出し：くすみブルー */
  --bg:             #fafaf7;   /* ベース：オフホワイト */
  --text:           #333333;   /* 本文：ダークグレー */
  --text-light:     #666666;   /* 補足テキスト */
  --accent-bg:      #f2f5f9;   /* 交互セクション：淡いブルー */
  --white:          #ffffff;
  --border:         #e3e3e3;   /* 罫線・区切り：ライトグレー */

  /* 見出し＝M PLUS Rounded 1c、本文＝Noto Sans JP */
  --font-ja-serif:  'M PLUS Rounded 1c', sans-serif;
  --font-ja-sans:   'Noto Sans JP', sans-serif;
  --font-en:        'Noto Sans JP', sans-serif;

  --max-w:          1100px;
  --sec-py:         5.5rem;
  --radius:         8px;
  --ease:           0.3s ease;
}

/* ===================================
   Reset & Base
=================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-ja-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; transition: color var(--ease); }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ===================================
   Layout helpers
=================================== */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: var(--sec-py) 0; }
.section--alt { background: var(--accent-bg); }
.section--dark { background: var(--text); }

.section__head {
  text-align: center;
  margin-bottom: 3rem;
}
.section__head .en {
  display: block;
  font-family: var(--font-en);
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.section__head h1,
.section__head h2 {
  font-family: var(--font-ja-serif);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--heading);
}
.section__head .sub {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-light);
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 13px 40px;
  border: 1px solid var(--primary-dark);
  color: var(--primary-dark);
  border-radius: 6px;
  font-family: var(--font-ja-sans);
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  transition: all var(--ease);
  text-align: center;
  line-height: 1.5;
}
.btn:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
}
.btn--fill {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
}
.btn--fill:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
}
.btn--outline {
  background: transparent;
  border-color: var(--primary-dark);
  color: var(--primary-dark);
}
.btn--outline:hover {
  background: var(--primary-dark);
  color: var(--white);
}

/* ===================================
   Header
=================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 200;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--ease);
}
.site-header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.07); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 1.5rem;
  max-width: var(--max-w);
  margin: 0 auto;
}

.site-logo {
  font-family: var(--font-ja-serif);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.3;
  color: var(--heading);
}
.site-logo .en-sub {
  display: block;
  font-family: var(--font-en);
  font-size: 0.72rem;
  color: var(--primary);
  letter-spacing: 0.18em;
  font-weight: 400;
}
.site-logo .logo-sub {
  display: block;
  font-size: 0.72rem;
  font-weight: 300;
  color: var(--gold);
  letter-spacing: 0.14em;
  margin-top: 1px;
}

.global-nav { display: none; }
.global-nav ul { display: flex; gap: 2rem; }
.global-nav a {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--heading);
  position: relative;
  padding-bottom: 2px;
}
.global-nav a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform var(--ease);
}
.global-nav a:hover::after { transform: scaleX(1); }

/* ヘッダー右側：ナビ＋予約ボタンのまとまり */
.header-actions { display: flex; align-items: center; gap: 1.5rem; }

/* 体験レッスン予約ボタン（PC専用 / スマホでは非表示） */
.header-cta {
  display: none;
  align-items: center;
  background: var(--gold);
  color: var(--white);
  font-family: var(--font-ja-serif);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  white-space: nowrap;
  transition: background var(--ease), transform var(--ease), box-shadow var(--ease);
}
.header-cta:hover {
  background: var(--gold-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(201,165,76,0.30);
}

/* hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  gap: 5px;
}
.hamburger span {
  display: block;
  width: 22px; height: 1px;
  background: var(--text);
  transition: all var(--ease);
}
.hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* mobile drawer */
.mobile-menu {
  position: fixed;
  top: 64px; left: 0; right: 0; bottom: 0;
  background: var(--bg);
  z-index: 199;
  padding: 0.75rem 1.5rem 56px;
  transform: translateX(100%);
  transition: transform 0.35s ease;
  overflow-y: auto;
}
.mobile-menu.open { transform: none; }
.mobile-menu li { border-bottom: 1px solid var(--border); }
.mobile-menu a {
  display: block;
  padding: 1.25rem 0;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  color: var(--heading);
}

/* ===================================
   Hero
=================================== */
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--accent-bg);
  padding: 0 1.5rem;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/images/hero.jpg?v=2');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  /* 文字の視認性確保：上部をやや明るく、下部を白で締める半透明オーバーレイ */
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.30) 0%,
    rgba(255,255,255,0.55) 100%
  );
}

.hero__content {
  position: relative;
  text-align: center;
  max-width: 720px;
  padding: 0 1.5rem;
}

.hero__label {
  font-family: var(--font-en);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero__title {
  font-family: var(--font-ja-serif);
  font-size: 2.1rem;
  font-weight: 600;
  line-height: 1.7;
  letter-spacing: 0.1em;
  color: var(--heading);
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 12px rgba(255,255,255,0.8);
}

.hero__text {
  font-size: 0.875rem;
  color: var(--text);
  line-height: 2;
  letter-spacing: 0.04em;
  margin-bottom: 2.5rem;
  text-shadow: 0 1px 8px rgba(255,255,255,0.85);
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.hero__badge {
  padding: 0.35rem 1rem;
  border: 1px solid var(--primary);
  border-radius: 50px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--primary);
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(2px);
}

/* ヒーローのCTAは写真と被らないようゴールドで強調 */
.hero__content .btn--fill {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(0,0,0,0.18);
}
.hero__content .btn--fill:hover {
  background: var(--gold-hover);
  border-color: var(--gold-hover);
}

/* scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-en);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  color: var(--primary);
}
.hero__scroll::after {
  content: '';
  display: block;
  width: 1px; height: 40px;
  background: var(--primary);
  animation: scrollDown 2s ease infinite;
}
@keyframes scrollDown {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 1; }
  45%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  55%  { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* ===================================
   Features
=================================== */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: box-shadow var(--ease), transform var(--ease);
}
.feature-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.feature-card__num {
  font-family: var(--font-en);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--primary);
  margin-bottom: 1rem;
  display: block;
}
.feature-card__icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--accent-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.5rem;
}
.feature-card h3 {
  font-family: var(--font-ja-serif);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
  color: var(--heading);
}
.feature-card p {
  font-size: 0.83rem;
  color: var(--text-light);
  line-height: 1.85;
}

/* ===================================
   News
=================================== */
.news-list { max-width: 800px; margin: 0 auto; }

.news-item { border-bottom: 1px solid var(--border); }
.news-item a {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1.25rem 0;
}
.news-item a:hover { color: var(--primary); }

.news-item__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.news-item__date {
  font-family: var(--font-en);
  font-size: 0.78rem;
  color: var(--text-light);
  letter-spacing: 0.04em;
}
.news-item__cat {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--primary);
  border: 1px solid var(--primary);
  padding: 0.12rem 0.55rem;
  border-radius: 50px;
}
.news-item__title { font-size: 0.9rem; }

.news-more { text-align: center; margin-top: 2.5rem; }

/* ===================================
   Pricing
=================================== */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  max-width: 560px;
  margin: 0 auto 1.75rem;
  font-size: 0.875rem;
}
.pricing-table th,
.pricing-table td {
  padding: 0.875rem 1rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
}
.pricing-table th {
  background: var(--accent-bg);
  font-family: var(--font-ja-serif);
  font-weight: 700;
  letter-spacing: 0.04em;
  width: 45%;
}
.pricing-table .price {
  font-family: var(--font-en);
  font-size: 1.05rem;
  color: var(--primary);
  font-weight: 700;
}

.pricing-group-head th {
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-ja-serif);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  padding: 0.6rem 1rem;
  font-weight: 700;
}

.pricing-item-note {
  display: block;
  font-size: 0.68rem;
  color: var(--text-light);
  font-weight: 400;
  letter-spacing: 0.04em;
  margin-top: 0.2rem;
}

.pricing-note {
  max-width: 560px;
  margin: 0 auto;
  background: var(--accent-bg);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  font-size: 0.78rem;
  color: var(--text-light);
  line-height: 1.95;
}
.pricing-access-note {
  max-width: 560px;
  margin: 1.5rem auto 0;
  font-size: 0.8rem;
  color: var(--text-light);
  text-align: center;
  line-height: 1.8;
}
.pricing-access-note a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.pricing-access-note a:hover { opacity: 0.75; }

/* ===================================
   FAQ (accordion)
=================================== */
.faq-list { max-width: 800px; margin: 0 auto; }

.faq-item { border-bottom: 1px solid var(--border); }

.faq-q {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 0;
  width: 100%;
  text-align: left;
  background: none;
}
.faq-q__badge {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-en);
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.faq-q__text {
  flex: 1;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.02em;
  padding-top: 0.2rem;
}
.faq-q__icon {
  flex-shrink: 0;
  width: 20px; height: 20px;
  position: relative;
  margin-top: 0.4rem;
}
.faq-q__icon::before,
.faq-q__icon::after {
  content: '';
  position: absolute;
  background: var(--primary);
}
.faq-q__icon::before {
  width: 14px; height: 1px;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
}
.faq-q__icon::after {
  width: 1px; height: 14px;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  transition: transform var(--ease), opacity var(--ease);
}
.faq-item.open .faq-q__icon::after {
  transform: translate(-50%,-50%) rotate(90deg);
  opacity: 0;
}

.faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease;
}
.faq-item.open .faq-a { max-height: 600px; }

.faq-a__inner {
  display: flex;
  gap: 1rem;
  padding: 0 0 1.5rem 0;
}
.faq-a__badge {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--accent-bg);
  color: var(--primary);
  font-family: var(--font-en);
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.faq-a__text {
  flex: 1;
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.95;
  padding-top: 0.2rem;
}

/* ===================================
   Testimonials
=================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 1rem; left: 1.5rem;
  font-family: var(--font-en);
  font-size: 4.5rem;
  color: var(--border);
  line-height: 1;
  pointer-events: none;
}

.testimonial-card__body {
  font-size: 0.875rem;
  line-height: 1.95;
  margin: 1.5rem 0;
  color: var(--text);
}

.testimonial-card__foot {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}
.testimonial-card__avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--accent-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.2rem;
  flex-shrink: 0;
}
.testimonial-card__name {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.testimonial-card__info {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 0.15rem;
}

/* Testimonials page */
.testimonials-intro {
  max-width: 640px;
  margin: 0 auto 3rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.95;
}
.testimonials-grid--page {
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}
.testimonial-card--page {
  background: var(--accent-bg);
  border: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.testimonial-card--page::before {
  color: var(--gold);
}

@media (max-width: 767px) {
  .testimonials-grid--page { grid-template-columns: 1fr; }
  .testimonials-intro br { display: none; }
}

/* ===================================
   Access
=================================== */
.access-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.access-location h3 {
  font-family: var(--font-ja-serif);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--heading);
  padding-bottom: 0.875rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.25rem;
}

.access-map {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--accent-bg);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}
.access-map iframe { width: 100%; height: 100%; border: 0; }

.access-studio-note {
  font-size: 0.8rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 1.25rem;
  padding: 0.75rem 1rem;
  background: var(--accent-bg);
  border-radius: var(--radius);
}
.access-addr-note {
  display: block;
  font-size: 0.75rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-top: 0.3rem;
}
.access-dl { font-size: 0.85rem; }
.access-dl dt {
  font-weight: 700;
  color: var(--text);
  margin-top: 0.875rem;
  letter-spacing: 0.03em;
}
.access-dl dd { color: var(--text-light); margin: 0.2rem 0 0; }

/* ===================================
   Contact
=================================== */
/* 体験レッスンセクション */
.trial-section { background: var(--accent-bg); }
.trial-section .section__head .en { color: var(--gold); }
.trial-section .section__head h2  { color: var(--heading); }
.trial-inner { max-width: 560px; margin: 0 auto; text-align: center; }
.trial-lead {
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--text);
  margin-bottom: 1.5rem;
}
.trial-list {
  list-style: none;
  display: inline-block;
  text-align: left;
  margin: 0 auto 2rem;
}
.trial-list li {
  font-size: 0.875rem;
  color: var(--text);
  line-height: 1.8;
  padding-left: 1.25rem;
  position: relative;
}
.trial-list li::before {
  content: '・';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}
.trial-btn-wrap { text-align: center; }

/* お問い合わせセクション */
.contact2-section { background: var(--white); }
.contact2-section .section__head .en { color: var(--gold); }
.contact2-lead {
  max-width: 520px;
  margin: 0 auto 2rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.85;
}
.contact-btns {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.btn--line {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 16px 40px;
  border-radius: 6px;
  font-family: var(--font-ja-sans);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: all var(--ease);
  background: var(--white);
  border: 1px solid var(--primary-dark);
  color: var(--primary-dark);
}
.btn--line:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: var(--white); }

@media (max-width: 767px) {
  .contact-btns { flex-direction: column; align-items: stretch; }
  .contact-btns .btn,
  .contact-btns .btn--line { width: 100%; justify-content: center; text-align: center; }
  .trial-btn-wrap .btn { width: 100%; }
}

/* 旧スタイル互換 */
.contact-section { background: var(--accent-bg); }
.contact-section .section__head .en { color: var(--gold); }
.contact-section .section__head h2  { color: var(--heading); }
.contact-section .section__head .sub { color: var(--text-light); }

.contact-inner { max-width: 580px; margin: 0 auto; }

.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--heading);
  margin-bottom: 0.5rem;
}
.form-group label .req {
  color: var(--primary-dark);
  margin-left: 0.3rem;
  font-size: 0.68rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-ja-sans);
  font-size: 0.9rem;
  border-radius: 4px;
  transition: border-color var(--ease);
  appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-light); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--primary); }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-group select option { background: var(--white); color: var(--text); }

.form-privacy {
  font-size: 0.75rem;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 1.5rem;
  line-height: 1.8;
}
.form-privacy a { color: var(--primary-dark); text-decoration: underline; }
.form-submit { text-align: center; }

/* ===================================
   Footer
=================================== */
.site-footer {
  background: var(--heading);
  padding: 3rem 1.5rem 2rem;
  text-align: center;
}

.footer-logo {
  font-family: var(--font-ja-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.08em;
}
.footer-logo .en-sub {
  display: block;
  font-family: var(--font-en);
  font-size: 0.75rem;
  color: var(--primary-light);
  letter-spacing: 0.2em;
  font-weight: 400;
  margin-top: 0.25rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.5rem;
  margin: 1.75rem 0;
}
.footer-nav a {
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.45);
  transition: color var(--ease);
}
.footer-nav a:hover { color: var(--primary-light); }

.footer-copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.05em;
}

/* ===================================
   Responsive — Small tablet+ (600px〜)
=================================== */
@media (min-width: 600px) {
  .features-grid      { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid  { grid-template-columns: repeat(2, 1fr); }
}

/* 生徒の声（トップページのみ）：タブレット幅で3つを横並び。専用ページ
   (.testimonials-grid--page) は2カラム維持のため :not() で除外。
   タブレットプレビューの実効幅が767px付近のため min-width:700 で発動させる */
@media (min-width: 700px) {
  .testimonials-grid:not(.testimonials-grid--page) {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ===================================
   Responsive — Tablet+ (768px〜)
   ハンバーガー非表示 / グローバルナビ表示
=================================== */
@media (min-width: 768px) {
  :root { --sec-py: 6rem; }

  .global-nav { display: block; }
  .hamburger  { display: none; }
  .header-cta { display: inline-flex; }

  .hero__bg      { background-position: 60% center; background-size: 110% auto; }
  .hero__content {
    margin-left: 5%;
    margin-right: auto;
    text-align: left;
    max-width: 45%;
  }
  .hero__badges  { justify-content: flex-start; }
  .hero__title   { font-size: 3rem; }
  .section__head h1,
  .section__head h2 { font-size: 2rem; }

  .news-item a {
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
  }
  .news-item__meta { flex-shrink: 0; }

  .access-grid { grid-template-columns: repeat(2, 1fr); }
  .access-map  { aspect-ratio: 16 / 9; }
}

/* ===================================
   Responsive — PC (1025px〜)
=================================== */
@media (min-width: 1025px) {
  .features-grid     { grid-template-columns: repeat(3, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
  .hero__title   { font-size: 3.5rem; }
}

/* ===================================
   Responsive — Tablet専用 (768px〜1024px)
   ※ 768px+ と 1025px+ のルールを上書きするため最後に置く
=================================== */
@media (min-width: 768px) and (max-width: 1024px) {
  /* ヒーロー：タブレットでコンテンツ幅を広げる */
  .hero__content { max-width: 52%; }
  .hero__title   { font-size: 2.6rem; }

  /* 教室の特徴：タブレットは2カラム */
  .features-grid     { grid-template-columns: repeat(2, 1fr); }
  /* 生徒の声：タブレットは3つを横並び */
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }

  /* セクション見出し余白 */
  .section__head { margin-bottom: 2.5rem; }

  /* CTAボタン：折り返し許可 */
  .contact-btns { flex-wrap: wrap; justify-content: center; gap: 0.75rem; }
  .contact-btns .btn { min-width: 200px; }

  /* ヘッダー */
  .header-inner { padding: 0 1.25rem; }

  /* アクセス：教室写真は横並び（!important で確実に上書き） */
  .access-photos--2col { grid-template-columns: 1fr 1fr !important; }

  /* 料金：コース一覧は2カラム（3列では幅が足りない） */
  .ryokin-courses-grid { grid-template-columns: repeat(2, 1fr); }

  /* 教室について：ギャラリーは2カラム。タブレットでは各ギャラリー上の2枚のみ表示 */
  .about-gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .about-gallery-grid .gallery-img:nth-child(n+3) { display: none; }

  /* 生徒の声ページ：2カラム維持 */
  .testimonials-grid--page { grid-template-columns: repeat(2, 1fr); }

  /* プロフィール2カラム：画像カラム幅を少し縮小 */
  .about-profile-inner { grid-template-columns: 180px 1fr; gap: 2rem; }

  /* タブレット：プロフィール本文は左寄せ */
  .about-profile-bio { text-align: left; }
}

/* ===================================
   スマホ専用（〜767px）
=================================== */
/* bio 改行クラス: bio-sp=スマホのみ表示、bio-pc=PCのみ表示 */
.bio-sp { display: none; }
.bio-pc { display: initial; }

/* hero サブテキスト: hero-sub-sp=スマホのみ、hero-sub-pc=PCのみ */
.hero-sub-sp { display: none; }
.hero-sub-pc { display: inline; }

/* CTAタイトル改行: スマホのみ表示 */
.cta-heading-br { display: none; }

/* PC：スマホ用改行・要素を非表示 */
@media (min-width: 768px) {
  .hero__text br                 { display: none; }
  .hero__title br:nth-of-type(2) { display: none; }
  .hero__content .btn br         { display: none; }
  .profile-btn br                { display: none; }
  .contact-sub-br                { display: none; }
  /* hero title 2行目を折り返し禁止 */
  .hero__title { white-space: nowrap; }
}

/* 特徴カード見出し：改行はスマホのみ。PCでは区切り「・」を表示 */
.feat-sp { display: none; }

/* 生徒の声 氏名：改行はスマホのみ */
.voice-sp { display: none; }

/* お問い合わせ文：改行はPC・タブレットのみ（モバイルは1行） */
.contact-br { display: none; }
@media (min-width: 480px) {
  .contact-br { display: inline; }
}

/* 教室についてページ コンセプト文：全デバイスで改行表示 */
.about-concept br.concept-br,
.concept-br { display: inline; }

/* スマホ専用調整（〜767px） */
@media (max-width: 767px) {
  /* スマホのみ読点を非表示 */
  .hero-comma { display: none; }

  /* 特徴カード見出しの改行をスマホで表示、区切り「・」は非表示 */
  .feat-sp  { display: inline; }
  .feat-sep { display: none; }

  /* 生徒の声 氏名の改行をスマホで表示 */
  .voice-sp { display: inline; }

  /* bio 改行：スマホのみ表示切り替え */
  .bio-sp { display: initial; }
  .bio-pc { display: none; }

  /* hero サブテキスト切り替え */
  .hero-sub-sp { display: inline; }
  .hero-sub-pc { display: none; }

  /* CTAタイトル改行 */
  .cta-heading-br { display: inline; }

  /* アドレス詳細を次行へ */
  .addr-paren { display: block; }

  /* ヒーロー：写真の上に見出し、写真の下に白地でバッジ＋CTA（モックアップ準拠） */
  .hero {
    display: block;
    height: auto;
    min-height: 0;
    padding: 64px 0 0;
    background: #fff;
    overflow: visible;
  }

  /* 写真をスマホ画面いっぱいに表示。人物を右へ寄せ、左の空に文字を置く */
  .hero__bg {
    position: relative;
    width: 100%;
    height: 88vh;
    min-height: 560px;
    background-image: url('assets/images/hero-mobile.jpg');
    background-position: 60% center;
    background-size: cover;
  }

  /* 白グラデのオーバーレイは写真下に白地を置くため非表示 */
  .hero__overlay { display: none; }

  .hero__content {
    position: static;
    max-width: none;
    margin: 0;
    padding: 0;
    text-align: left;
  }

  /* 見出し＋サブ文：写真の左上に重ねる */
  .hero__lead {
    position: absolute;
    top: 88px;
    left: 20px;
    right: auto;
    max-width: 64%;
    z-index: 2;
  }
  .hero__lead .hero__title { margin-bottom: 0.7rem; }
  .hero__lead .hero__text  { margin-bottom: 0; }

  /* バッジ＋CTA：写真の下、白地に配置 */
  .hero__actions {
    background: #fff;
    padding: 24px 16px 8px;
    text-align: center;
  }

  .hero__title {
    font-size: 1.8rem;
  }

  .hero__text {
    font-size: 0.85rem;
  }

  .hero__scroll { display: none; }

  .hero__badges {
    display: grid;
    grid-template-columns: repeat(2, auto);
    justify-content: center;
  }

  .hero__content .btn {
    width: 92%;
    display: block;
    margin: 24px auto 0;
    padding: 14px 24px;
    text-align: center;
  }

  /* 教室の特徴：スマホは2カラム。カードを小さくして表示 */
  .features-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .feature-card { padding: 1.25rem 0.75rem; }
  .feature-card__num { font-size: 0.6rem; margin-bottom: 0.5rem; }
  .feature-card__icon {
    width: 40px; height: 40px;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
  }
  .feature-card h3 { font-size: 0.85rem; margin-bottom: 0.5rem; }
  .feature-card p { font-size: 0.72rem; line-height: 1.6; }

  /* セクション全体の左右余白 */
  .container { padding: 0 1rem; }

  /* セクション上下余白を少し詰める */
  .section { padding: 3rem 0; }

  /* セクション見出しの余白をモバイルで縮小 */
  .section__head { margin-bottom: 2rem; }

  /* セクション見出しフォントサイズをモバイルで縮小 */
  .section__head h1,
  .section__head h2 { font-size: 1.5rem; }

  /* ヘッダー内余白をモバイルで縮小（ロゴ+ハンバーガーを広く） */
  .header-inner { padding: 0 1rem; }

  /* CTAボタン：モバイルで最大幅を設定 */
  .contact-btns .btn { max-width: 400px; margin-left: auto; margin-right: auto; }

  /* 料金テーブルを横スクロール可能に（非常に小さい画面向け） */
  .pricing-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

  /* hero の最小高さをモバイルで下げる */
  .hero { min-height: 0; }
}

/* ===================================
   Profile section
=================================== */
.profile-inner {
  text-align: center;
  padding: 1rem 0;
}
/* 円形フレームで切り抜き、内側の画像を拡大して顔をアップに */
.profile-img-frame {
  display: block;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--white);
  box-shadow: 0 0 0 1px var(--border), 0 10px 30px rgba(0,0,0,0.10);
  margin: 0 auto;
}
.profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 25%;
  transform: scale(1.6);          /* 顔のアップ倍率（数値を上げるほど拡大） */
  transform-origin: 55% 25%;      /* 顔の位置を中心に拡大 */
  display: block;
}
.profile-name {
  margin-top: 1.25rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--heading);
  letter-spacing: 0.06em;
}
.profile-univ {
  margin-top: 0.4rem;
  font-size: 0.875rem;
  color: var(--text-light);
}
.profile-bio {
  margin-top: 1.25rem;
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.9;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.profile-btn {
  margin-top: 2rem;
}

/* ===================================
   Page main (固定ページ共通)
=================================== */
.page-main {
  padding-top: 80px;
  padding-bottom: 5rem;
}
.page-main--has-hero { padding-top: 0; }

/* ページヒーロー画像 */
.page-hero-img {
  margin-top: 80px;
  width: 100%;
}
.page-hero-img img {
  width: 100%;
  max-height: 450px;
  object-fit: cover;
  object-position: center center;
  display: block;
}
.page-hero-img--lesson img { object-position: center 30%; }
.page-hero-img--recital img { object-position: center 70%; }

@media (max-width: 767px) {
  .page-hero-img img { max-height: 280px; }
}

/* アクセス 教室写真 */
.access-photos {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.access-photos--2col { grid-template-columns: 1fr 1fr; }
.access-photo-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius);
}
@media (max-width: 767px) {
  .access-photo-img { height: 180px; }
}
/* スマホのみ縦並び（タブレットは横並び維持。タブレットプレビューの実効幅が
   767px付近になるため、境界を600pxまで下げて確実に分離する） */
@media (max-width: 600px) {
  .access-photos--2col { grid-template-columns: 1fr !important; }
}
.faq-list--page {
  max-width: 760px;
  margin: 0 auto;
}

/* FAQページ カテゴリ区切り */
.faq-category-block {
  max-width: 760px;
  margin: 0 auto 3rem;
}
.faq-category-heading {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.08em;
  border-left: 3px solid var(--primary);
  padding-left: 0.75rem;
  margin-bottom: 0.5rem;
}

/* FAQページ 回答内リンクボタン */
.faq-a__body { flex: 1; }
.faq-a__link {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.faq-a__link:hover { opacity: 0.75; }

/* 長い回答に対応 */
.faq-list--page .faq-item.open .faq-a { max-height: 1200px; }

/* FAQ CTAブロック */
.faq-cta {
  max-width: 760px;
  margin: 4rem auto 5rem;
  padding: 3rem 2rem;
  background: var(--accent-bg);
  border-radius: 12px;
  text-align: center;
}
.faq-cta__heading {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 1.5rem;
  letter-spacing: 0.04em;
}

@media (max-width: 767px) {
  .faq-category-heading { font-size: 0.9rem; }
  .faq-cta { padding: 2rem 1.25rem; margin-bottom: 3rem; }
  .faq-cta__heading { font-size: 1rem; }
}

/* ===================================
   News page
=================================== */
.news-section { max-width: 760px; margin: 0 auto; }
.news-category-heading {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.08em;
  border-left: 3px solid var(--primary);
  padding-left: 0.75rem;
  margin-bottom: 1.5rem;
}
.news-list { display: flex; flex-direction: column; }
.news-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
}
.news-item__date {
  font-size: 0.78rem;
  color: var(--text-light);
  letter-spacing: 0.06em;
  padding-top: 0.25rem;
  flex-shrink: 0;
}
.news-item__title {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}
.news-item__title a {
  color: var(--heading);
  text-decoration: none;
}
.news-item__title a:hover { color: var(--primary); }
.news-item__excerpt {
  font-size: 0.825rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 0.5rem;
}
.news-item__more {
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.news-item__more:hover { opacity: 0.75; }
.news-item--hidden { display: none; }
.news-empty {
  font-size: 0.875rem;
  color: var(--text-light);
  padding: 2rem 0;
  text-align: center;
}
@media (max-width: 767px) {
  .news-item { grid-template-columns: 1fr; gap: 0.5rem; }
  .news-item__date { padding-top: 0; }
}

/* ===================================
   Ryokin page
=================================== */

/* 体験レッスンの流れ */
.ryokin-trial-sub {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--heading);
  letter-spacing: 0.04em;
  margin-bottom: 1.5rem;
  text-align: center;
}
.trial-steps {
  list-style: none;
  max-width: 640px;
  margin: 0 auto 3rem;
  display: flex;
  flex-direction: column;
  text-align: center;
}
.trial-step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  position: relative;
  padding-bottom: 2rem;
}
.trial-step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 40px;
  bottom: 0;
  width: 2px;
  background: var(--primary-light);
}
.trial-step__num {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-en);
  font-size: 0.95rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.trial-step__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 0.4rem;
  padding-top: 0.55rem;
  text-align: left;
}
.trial-step__text {
  font-size: 0.85rem;
  color: var(--text);
  line-height: 1.85;
  text-align: left;
}
.trial-step__list {
  list-style: none;
  margin-top: 0.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  text-align: left;
}
.trial-step__list li {
  font-size: 0.85rem;
  color: var(--text);
  line-height: 1.85;
  padding-left: 1rem;
  position: relative;
}
.trial-step__list li::before {
  content: '・';
  position: absolute;
  left: 0;
  color: var(--primary);
}
.trial-belongings {
  max-width: 640px;
  margin: 0 auto 2rem;
  padding: 1.25rem 1.5rem;
  background: var(--accent-bg);
  border-radius: var(--radius);
}
.trial-belongings .ryokin-trial-sub { margin-bottom: 0.75rem; }
.trial-apply-block {
  max-width: 640px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.trial-apply-list {
  list-style: none;
  margin-bottom: 0;
}
.trial-apply-list li {
  font-size: 0.875rem;
  color: var(--text);
  line-height: 1.8;
  padding-left: 1rem;
  position: relative;
}
.trial-apply-list li::before {
  content: '・';
  position: absolute;
  left: 0;
  color: var(--primary);
}

.ryokin-courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}
.ryokin-course-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
}
.ryokin-course-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.875rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--primary-light);
  letter-spacing: 0.04em;
}
.ryokin-course-card p {
  font-size: 0.85rem;
  color: var(--text);
  line-height: 1.85;
}
.ryokin-course-card p + p { margin-top: 0.75rem; }

.ryokin-payment-block {
  max-width: 640px;
  margin: 0 auto;
}
.ryokin-payment-methods {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.ryokin-payment-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: 0.06em;
  flex-shrink: 0;
}
.ryokin-payment-badges { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.ryokin-badge {
  display: inline-block;
  padding: 0.3rem 0.875rem;
  background: var(--primary);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: 99px;
  letter-spacing: 0.04em;
}
.ryokin-payment-list {
  list-style: none;
  background: var(--accent-bg);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}
.ryokin-payment-list li {
  font-size: 0.85rem;
  color: var(--text);
  line-height: 1.8;
  padding-left: 1rem;
  position: relative;
}
.ryokin-payment-list li::before {
  content: '・';
  position: absolute;
  left: 0;
  color: var(--primary);
}

@media (max-width: 767px) {
  .ryokin-courses-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .ryokin-course-card { padding: 1.25rem; }
  .ryokin-payment-list { padding: 1.25rem; }
}

/* ===================================
   About page
=================================== */
.about-concept {
  max-width: 720px;
  margin: 0 auto 1rem;
  text-align: left;
  line-height: 2;
  font-size: 0.95rem;
  color: var(--text);
}
.about-concept p + p { margin-top: 1.25rem; }

/* プロフィール 2カラム */
.about-profile-inner {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 3rem;
  align-items: start;
}
.about-profile-img { text-align: center; }
.about-profile-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 1rem;
}
.about-profile-bio {
  font-size: 0.875rem;
  line-height: 2;
  color: var(--text);
}
.about-profile-section {
  margin-top: 1.5rem;
}
.about-profile-section h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--primary-dark);
  border-left: 3px solid var(--primary);
  padding-left: 0.6rem;
  margin-bottom: 0.5rem;
}
.about-profile-section ul {
  font-size: 0.8rem;
  line-height: 2;
  color: var(--text);
  padding-left: 0.5rem;
}
.about-profile-section li::before {
  content: '・';
  color: var(--primary);
}
.about-youtube-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding: 0.5rem 1.25rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 0.85rem;
  color: var(--text);
  transition: background var(--ease);
}
.about-youtube-btn:hover { background: #f5f5f5; }
.about-quote {
  margin-top: 1.75rem;
  padding: 1.25rem 1.5rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: #fafaf8;
  font-size: 0.875rem;
  line-height: 2;
  color: var(--text);
}

/* ギャラリー */
.about-gallery-sub {
  font-size: 1rem;
  font-weight: 700;
  color: var(--heading);
  letter-spacing: 0.06em;
  margin-bottom: 1.25rem;
}
.about-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.gallery-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}
.gallery-placeholder {
  aspect-ratio: 4 / 3;
  background: #f4f4f2;
  border: 2px dashed #ccc;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-placeholder span {
  font-size: 0.8rem;
  color: #aaa;
  letter-spacing: 0.06em;
}

/* About page モバイル */
@media (max-width: 767px) {
  /* プロフィール縦並び */
  .about-profile-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .about-profile-img {
    text-align: center;
  }

  /* テキスト余白・サイズ調整 */
  .about-concept {
    font-size: 0.875rem;
  }
  .about-profile-name {
    font-size: 1.1rem;
    text-align: center;
  }
  .about-profile-bio {
    font-size: 0.8rem;
  }
  .about-profile-section ul {
    font-size: 0.78rem;
  }
  .about-quote {
    font-size: 0.8rem;
    padding: 1rem 1.25rem;
  }

  /* ギャラリー1カラム */
  .about-gallery-grid {
    grid-template-columns: 1fr;
  }
  .gallery-img {
    height: 220px;
  }

  /* コンセプト本文の改行を自然に流す（指定改行 .concept-br は除く） */
  .about-concept br:not(.concept-br) { display: none; }
}

/* ===================================
   表示アニメーション（無効化）
   速度・確実さ優先のため、フェードイン／スライドインは
   すべて削除し、要素は即座に表示する。
=================================== */
.hero__title,
.hero__text,
.hero__badges,
.hero__content .btn,
.reveal,
.fade-in,
.feature-card {
  opacity: 1;
  transform: none;
}
.news-item--hidden { display: none; }

/* ===================================
   スクロールトップへ戻るボタン
=================================== */
.scroll-top {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 180;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(201, 165, 76, 0.8); /* 半透明ゴールド（アクセントカラーに統一） */
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  /* 初期は非表示（フェードイン用） */
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, background-color 0.2s ease, visibility 0.2s;
}
.scroll-top svg { display: block; }
.scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-top:hover {
  background-color: rgba(201, 165, 76, 1); /* ホバーで不透明 */
}

/* ===================================
   Responsive — 600px タブレット補完
=================================== */
@media (max-width: 767px) and (min-width: 480px) {
  /* ギャラリー：小タブレットで2カラム。上の2枚のみ表示（3枚目以降は非表示） */
  .about-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-gallery-grid .gallery-img:nth-child(n+3) { display: none; }
  .gallery-img { height: 180px; }

  /* タブレット：プロフィール本文は左寄せ */
  .about-profile-bio { text-align: left; }
}

/* ===================================
   Responsive — Mobile 追加修正
=================================== */
@media (max-width: 767px) {
  /* ボタン：横幅を節約 */
  .btn { padding: 13px 24px; }

  /* フッター：余白縮小 */
  .site-footer { padding: 2rem 1.25rem 1.5rem; }

  /* 料金テーブル：文字・余白を縮小 */
  .pricing-table { font-size: 0.8rem; }
  .pricing-table th,
  .pricing-table td { padding: 0.65rem 0.75rem; }
  .pricing-table th { width: auto; }

  /* FAQ：バッジ＋gap を縮小 */
  .faq-q { gap: 0.6rem; }
  .faq-q__badge { width: 24px; height: 24px; font-size: 0.72rem; }

  /* 体験レッスンステップ：gap 縮小 */
  .trial-step { gap: 0.75rem; }

  /* 教室について：SNSボタンを縦積み */
  .about-youtube-btn {
    display: flex;
    width: 100%;
    justify-content: center;
    margin-right: 0;
  }
}

/* ===================================
   投稿本文（single.php）
=================================== */
.single-thumbnail {
  margin-bottom: 2rem;
}
.single-thumbnail__img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}
.single-content p             { margin-bottom: 1.6em; }
.single-content p:last-child  { margin-bottom: 0; }
.single-content h2            { font-size: 1.25rem; font-weight: 700; color: var(--heading); margin: 2.2em 0 0.75em; padding-bottom: 0.4em; border-bottom: 1px solid var(--border); }
.single-content h3            { font-size: 1.1rem; font-weight: 700; color: var(--heading); margin: 2em 0 0.6em; }
.single-content h4            { font-size: 1rem; font-weight: 700; margin: 1.6em 0 0.5em; }
.single-content ul,
.single-content ol            { padding-left: 1.5em; margin-bottom: 1.6em; }
.single-content ul li         { list-style: disc; margin-bottom: 0.4em; }
.single-content ol li         { list-style: decimal; margin-bottom: 0.4em; }
.single-content blockquote    { border-left: 3px solid var(--primary); padding: 0.5em 1em; margin: 1.6em 0; color: var(--text-light); font-style: italic; }
.single-content img           { border-radius: var(--radius); margin: 1.5em auto; display: block; max-width: 100%; }
.single-content a             { color: var(--primary-dark); text-decoration: underline; text-underline-offset: 2px; }
.single-content a:hover       { color: var(--primary-hover); }
