/* カラーパレット */
:root {
  --back-color: #f759bd;   /* 鮮やかなブルー */
  --accent-color: #ffcc00; /* アクセント用イエロー */
  --bg-strong: #0096e6;    /* 背景色（強いカラー） */
  --text-main: #ffffff;    /* 白文字 */
  --text-sub: #f1f1f1;     /* 薄いグレーでサブテキスト */
}

html {
  scroll-behavior: smooth;
}

html, body {
  -webkit-text-size-adjust: 100%; /* iOSでの勝手な文字サイズ変更を防ぐ */
}

section {
  scroll-margin-top: 70px; /* ヘッダーの高さに合わせる */
}

#faq {
  scroll-margin-top: 120px; /* ヘッダーの高さ＋余白分に調整 */
}

#contact #faq {
  scroll-margin-top: 120px; /* ヘッダーの高さ＋余白分に調整 */
}

body {
  margin: 0;
  padding: 0;
  color:#333;
  line-height: 1.6;
  background:#fff;
  font-family: "Hiragino Maru Gothic ProN", "Yu Gothic", "YuGothic", "Meiryo", sans-serif;
}

header, footer {
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
  padding-top: env(safe-area-inset-top);
  padding-bottom: env(safe-area-inset-bottom);
}


h1, h2, h3 {
  font-weight: 700;
}

.pc-only {
  display: none;
}

/* ヘッダー */
.site-header {
  background:#fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.logo img {
  height: 50px; /* ロゴの高さを調整 */
  width: auto;
  display: block;
}





/* ハンバーガーメニューメニュー */
.drawer-menu {
  position: fixed;
  top: 60px; /* ヘッダーの高さ分 */
  right: -100%; /* 初期状態で画面外へ */
  width: 100%;  /* 横幅いっぱい */
  height: 72vh; /* 縦は画面の半分 */
  background:#fff;
  box-shadow: -2px 0 8px rgba(0,0,0,0.2);
  transition: right 0.4s ease;
  z-index: 999;
  overflow-y: auto; /* 中身が増えてもスクロール可能 */
}

.drawer-menu ul {
  list-style: none;
  margin: 0;
  padding: 20px;
}

.drawer-menu li {
  margin: 15px 0;
}

.drawer-menu a {
  display: block;
  padding: 10px;
  font-weight: bold;
  color:#333;
  border-bottom: 1px solid #ddd;
}

.drawer-menu a:hover {
  background: #ffefc2;
  color:#333;
}

.drawer-menu ul li {
  border-bottom: 1px solid rgba(255,255,255,0.5); /* 下線をli全体に */
}

.drawer-menu ul li a {
  font-size: 16px;
  color: var(--back-color);
  display: block;  /* aタグをブロック化して幅いっぱい */
  padding: 12px 0;
  text-decoration: none;
}

.drawer-menu .en {
  font-weight: bold;
  margin-right: 5px;
}

.drawer-menu .jp {
  font-size: 14px;
  opacity: 0.8; /* 日本語を少し控えめに */
}


/* ハンバーガーメニュー表示時 */
.drawer-menu.open {
  right: 0;
}

/* ハンバーガーメニューアイコン */
.menu-toggle {
  width: 40px;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  position: absolute;
  top: 60%;
  right: 20px;
  transform: translateY(-50%);
}

.menu-toggle span {
  display: block;
  width: 40px;
  height: 2px;
  background:#666;
  border-radius: 2px;
  margin: 4px 0;
}

.menu-toggle .menu-label {
  font-size: 12px;
  font-weight: bold;
  color:#666;
  margin-top: 4px;
}

/* ハンバーガーメニュー✕ に変化 */
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -7px);
}

/* メニューはPCのみ */
.pc-nav {
  display: none;
}

.pc-nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.pc-nav li a {
  text-decoration: none;
  font-weight: bold;
  color: #666;
  transition: color 0.3s;
}

.pc-nav li a:hover {
  color: var(--back-color);
}

/* メインビジュアル */
.main-visual {
  position: relative;
  width: 100%;
  height: 90vh;
  overflow: hidden;

}

.main-bg {
  width: 100%;
  height: 100%;
  object-fit: cover; /* PC時は横長画像を全画面に */
}

/* オーバーレイを追加して文字を見やすく */
.main-visual::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.4);
}

.main-text {
  position: absolute;
  top: 49%; left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  z-index: 1;
  padding: 0 20px;
  width: 90%;        /* 幅をしっかり指定 */
  max-width: 700px;  /* PC時は横幅を制限 */
}

.main-text h1 {
  font-size: 24px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.main-text p {
  font-size: 16px;
  margin-bottom: 30px;
}

.btn-group {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
}

.btn-primary, .btn-secondary {
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
}

.btn-primary {
  background:#fff;
  color:#333;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}

.btn-secondary {
  border: 2px solid #fff;
  color:#fff;
}


/* キャンペーンのお知らせ */
.trial-section {
  background-color: #ffffff;
  color: #333;
  padding: 60px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* 左上＆右下：既存の四角 */
.trial-section::before,
.trial-section::after {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  background: #d1f0ff; /* 薄いブルー */
  transform: rotate(15deg);
  z-index: 0;
  opacity: 0.4;
}

.trial-section::before {
  top: -50px;
  left: -50px;
}

.trial-section::after {
  bottom: -50px;
  right: -50px;
}

/* 新しい図形（左中央やや下） */
.trial-section .shape-left,
.trial-section .shape-right {
  position: absolute;
  width: 100px;
  height: 100px;
  background: rgba(0, 150, 230, 0.2);
  transform: rotate(25deg);
  z-index: 0;
}
.trial-section .shape-left {
  left: -40px;
  top: 60%;
}
.trial-section .shape-right {
  right: -40px;
  top: 30%;
}

.trial-section h2,
.trial-section h3,
.trial-section p,
.trial-section .btn-group {
  position: relative;
  z-index: 1;
}

.trial-section h2 {
  font-size: 20px;
  font-weight: bold;
  margin-top: -2rem;
  margin-bottom: 25px;
  color: var(--back-color); 
}

.trial-section h3 {
  font-size: 20px;
  font-weight: bold;
  margin-top: 2rem;
  margin-bottom: 25px;
  color: var(--back-color); 
}

.trial-section p {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.trial-section .highlight {
  font-weight: bold;
  color: var(--back-color); /* 強調色（お好きに変更） */
}

.btn-primaryb, .btn-secondary {
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
}

.btn-primaryb {
  background: var(--back-color);
  color:#ffffff;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  margin-top: 2rem;
}






/* スクール紹介 */
#about.section {
  background: var(--back-color); 
  padding: 60px 20px;
  text-align: center;
}

#about h2 {
  font-size: 24px;
  color:#fff;
  margin-top: -2rem;
  margin-bottom: 2rem;
  font-weight: bold;
}

#about h3 {
  font-size: 18px;
  color:#fff;
  margin-top: -2rem;
  margin-bottom: 2rem;
  font-weight: bold;
}

#about p {
  font-size: 16px;
  color: var(--text-sub);
  line-height: 1.8;
  margin-bottom: 18px;
}

/* 画像エリア */
.about-image {
  margin-top: 30px;
  text-align: center;
}

.about-image img {
  max-width: 90%;
  height: auto;
  border-radius: 12px; /* 角丸にしたい場合 */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); /* ふんわり影 */
  transition: transform 0.3s ease;
}

.about-image img:hover {
  transform: scale(1.02); /* ホバーで少し拡大して動きを出す */
}



/* スクールの特徴 */
.strength-section {
  background-color: #ffffff;
  padding: 60px 20px;
  text-align: center;
}

.strength-section h2 {
  font-size: 20px;
  font-weight: bold;
  color: var(--back-color); /* ご指定の色 */
  margin-top: -1rem;
  margin-bottom: 40px;
}

.strength-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 50px;
  gap: 20px;
}

.strength-text {
  max-width: 600px;
}

.strength-text h3 {
  font-size: 16px;
  font-weight: bold;
  color: var(--back-color); /* ご指定の色 */
  margin-top: 1rem;
  margin-bottom: 15px;
  text-align: left;
}

.strength-text p {
  font-size: 16px;
  line-height: 1.7;
  color: #333333; /* ご指定の色 */
  text-align: left;
}

.strength-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}





/* レッスン詳細 */
.lesson-section {
  background: var(--back-color);
  padding: 60px 20px;
  text-align: center;
  margin-top: -4rem;
}

.lesson-section h2 {
  color: #fff;
  padding: 60px 20px;
  text-align: center;
  margin-top: -5rem;
  margin-bottom: -2rem;
  font-size: 20px;
}

.school-box {
  background:#fff;
  margin-bottom: 60px;
  border: 2px solid #ffffff;
  border-radius: 12px;
  padding: 20px;
}

.school-box h3 {
  font-size: 22px;
  color: var(--back-color);
  margin-top: 0;
  margin-bottom: -1rem;
}

.schedule {
  color: var(--back-color);
  margin-bottom: 0;
}

.school-box small {
  color:  var(--back-color);
}

.class-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top:1rem ;
  margin-bottom: 20px;
}

.class-card {
  background: #fdeafc;
  padding: 15px;
  border-radius: 8px;
  text-align: left;
}

.class-card h4 {
  margin-bottom: 10px;
  color: var(--back-color);
  margin: 0;
}

.class-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.class-card li {
  margin-bottom: 5px;
  color: #333;
}

.class-note {
  font-size: 14px;
  margin: 20px 0;
  text-align: left;
  color:  var(--back-color);
}

.class-note li {
  list-style: none;
  font-size: 14px;
  text-align: left;
  color: #fff;
}

.class-location {
  color:  var(--back-color);
  text-align: left;
}

.map-wrap iframe {
  width: 100%;
  height: 250px;
  border: 0;
  border-radius: 8px;
}





/* 講師紹介 */
.instructor-section {
  background:#fff; 
  padding: 60px 20px;
  text-align: center;
  margin-top: -5rem;
}

.instructor-section h2 {
  font-size: 20px;
  font-weight: bold;
  color: var(--back-color);
  margin-top: -2rem;
  margin-bottom: 40px;
}

.instructor-profile {
  display: flex;
  align-items: center; /* 縦位置を揃える */
  gap: 20px; /* 画像とテキストの間隔 */
}

.instructor-image img {
  max-width: 100px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  margin-left: 2.5rem;

}

.instructor-name {
  font-size: 18px;
  font-weight: bold;
  color:#333;
}

.instructor-section p{
  text-align: left;
  color:#333;
}

.instructor-section h4{
  text-align: left;
  color:#333;
  margin-bottom: 0rem;
}

.instructor-section ul {
  text-align: left;
  color:#333;
  list-style: none;
  padding-left: 0;
}




/* お客様の声 */
.voice-section {
  background: var(--back-color);
  padding: 60px 20px;
  text-align: center;
}

.voice-section {
  background: var(--back-color);
  padding: 60px 20px;
  text-align: center;
}

.voice-section h2 {
  font-size: 20px;
  font-weight: bold;
  color: #fff;
  margin-top: -1rem;
  margin-bottom: 40px;
}



.voice-box {
  background: #f9f9f9;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 10px;
  text-align: left;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding: 15px;
  font-size: 14px;
  line-height: 1.6;
}

.voice-box h4 {
  font-size: 16px;
  margin-top: 0;
  margin-bottom: 15px;
  color: var(--back-color);
}

.short-text {
  color: #333;
  margin-bottom: 0;
}

.read-more-link {
  color: var(--back-color);
  font-size: 14px;
  cursor: pointer;
  margin-left: 8px;
  white-space: nowrap; /* 折り返さず右に出す */
}

.read-more-link,
.close-link {
  color: var(--back-color);
  font-size: 14px;
  cursor: pointer;
  display: inline-block;
}

.full-text {
  display: none;
  margin-top: 15px;
  color: #333;
}



/* Q＆A */
.faq-section {
  max-width: 800px;
  margin: 50px auto;
  padding: 0 20px;
}

.faq-section h2 {
  font-size: 20px;
  text-align: center;
  color: var(--back-color);
  margin-bottom: 2rem;
}

.faq-box {
  margin-bottom: 20px;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: #f759bd; /* ピンクの吹き出し */
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 20px;
  position: relative;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.faq-question .toggle-icon {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  transition: transform 0.3s ease;
}

/* 開いたときにアイコンを回転させる */
.faq-question.active .toggle-icon {
  transform: translateY(-50%) rotate(180deg);
}

.faq-question::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 30px;
  border: 12px solid transparent;
  border-top-color: #f759bd; /* 吹き出しの三角 */
}

.faq-answer {
  display: none;
  background: #fff;
  color: #333;
  margin-top: 20px;
  padding: 12px 20px;
  border-radius: 20px;
  position: relative;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.faq-answer::after {
  content: "";
  position: absolute;
  top: -12px;
  left: 30px;
  border: 12px solid transparent;
  border-bottom-color: #fff; /* A吹き出しの三角 */
}

/* 開いているときの見た目 */
.faq-question.active {
  background: #e648a9;
}



/* 最新のお知らせ */
.news-section {
  background: var(--back-color);
  color: #fff;
  padding: 50px 20px;
}

.news-section h2 {
  font-size: 20px;
  text-align: center;
  margin-bottom: 30px;
}

.news-subtitle {
  font-size: 18px;
  margin: 25px 0 15px;
  border-left: 5px solid #fff;
  padding-left: 10px;
  margin-top: 4rem;
}

.news-list {
  list-style: none;
  margin: 0 0 20px 0;
  padding: 0;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  max-height: 120px;   /* 高さを制限（好みで調整） */
  overflow-y: auto;    /* 縦スクロールを有効化 */
}

.news-list li {
  border-bottom: 1px solid rgba(255,255,255,0.3);
  padding: 10px 0;
  display: flex;
  gap: 15px;
}

.news-date {
  font-size: 12px;
  color: #ffe0f5;
  flex-shrink: 0;
}

.news-title {
  font-size: 14px;
  font-weight: bold;
  color: #fff !important; /* 白文字 */
  text-decoration: none;
}

.news-title:hover {
  text-decoration: underline; /* ホバー時に下線 */
}

.contact-info {
  margin-top: 30px;
  text-align: left;
  font-size: 16px;
}

.contact-info p {
  margin: 8px 0;
  color: #fff;
}

.contact-info a {
  color: #fff;
  text-decoration: underline;
}

.contact-btn-group {
  display: flex;
  flex-direction: column; /* 縦並び */
  gap: 15px;
  align-items: center;
  margin-top: 25px;
}

.contact-btn-group .btn-primary,
.contact-btn-group .btn-secondary {
  display: block;
  width: 60%;        /* お問い合わせ用は少し大きめに */
  max-width: 350px;  /* 最大幅 */
  text-align: center;
  font-size: 16px;
}

.contact-btn-group .btn-primary {
  background: #fff;
  color: #333;
  font-weight: bold;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}

.contact-btn-group .btn-secondary {
  border: 2px solid #fff;
  color: #fff;
  background: transparent;
  font-weight: bold;
}

.contact-btn-group a {
  text-decoration: none; /* 下線を消す */
}


/* コラム */
.column-section {
  margin: 60px auto;
  padding: 0 20px;
  max-width: 700px;
}

.column-section h2 {
  font-size: 20PX;
  text-align: center;
  color: var(--back-color);
}

.column-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 250px; /* 高さの上限（必要に応じて調整） */
  overflow-y: auto; /* 縦スクロールを有効化 */
  border: 1px solid #ddd;
  border-radius: 6px;
}

.column-list li {
  padding: 12px 15px;
  border-bottom: 1px solid #eee;
  display: flex;
  gap: 15px;
  align-items: center;
}

.column-list li:last-child {
  border-bottom: none;
}

.column-date {
  font-size: 13px;
  color: #888;
  flex-shrink: 0;
}

.column-title {
  font-size: 14px;
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.column-title:hover {
  color: #f759bd; /* ピンクに変化 */
  text-decoration: underline;
}




/* フッター */
.site-footer {
  background: var(--back-color);
  color: var(--text-main);
  text-align: center;
  padding: 20px;
  font-size: 14px;
  
}

.site-footer a {
  color: #fff;             /* 白文字 */
  text-decoration: none;   /* 下線なし */
}

.site-footer a:hover {
  text-decoration: underline; /* ホバー時に下線を出してアクセント */
}

.footer-social {
  margin-bottom: 15px; /* 下に余白を追加 */
}

.footer-links {
  margin-top: 15px;    /* 上に余白を追加（好みで） */
}

.footer-copy {
  margin: 20px auto 0;
  border-top: 1px solid #e2e2e2;
  text-align: center;
  padding: 12px 0;
  font-size: .85rem;
  color: #fff;
  width: 90%; /* 横幅を短めに調整 */
  margin-top: 2rem;
}




.ft-related {
  margin: 20px auto;
  text-align: center;
  width: 40%; /* 横幅を短めに調整 */
  margin-top: 2rem;
}

.ft-related-heading {
  font-size: 14px;
  color: #fff;
  border-top: 1px solid #fff;
  border-bottom: 1px solid #fff;
  padding: 6px 0; /* ラインとテキストの間の余白 */
  margin-bottom: 10px; /* 下のリンクとの間隔 */
}

.ft-related-link {
  font-size: 0.9rem;
  color: #fff;
  text-decoration: none;
  line-height: 1.6;
}

.ft-related-link:hover {
  text-decoration: underline;
}




/* サブページ用メインビジュアル */
.sub-visual {
  position: relative;
  width: 100%;
  max-width: 750px;       /* PC時は750pxに制限 */
  margin: 0 auto;         /* 中央寄せ */
  aspect-ratio: 3 / 2;    /* 750×500の比率を維持 */
  overflow: hidden;
}

.sub-visual::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.4);
}

.sub-visual img.sub-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sub-visual .main-text {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  padding: 0 15px;
  z-index: 1;
}

.sub-visual .main-text h1 {
  font-size: 28px;
  line-height: 1.5;
  margin-bottom: 30px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.14);
}





/* 体験レッスンページ */
.trial-detail-section {
  padding: 60px 20px;
  max-width: 900px;
  margin: 0 auto;
}

.trial-detail-section h2 {
  text-align: center;
  font-size: 22px;
  color: #333;
  margin-top: -1rem;
  margin-bottom: 40px;
}

.trial-detail-section h3 {
  text-align: center;
  font-size: 18px;
  color: var(--back-color);
  margin-bottom: 40px;
}

.trial-detail-section p {
  text-align: left;
  font-size: 16px;
  color: #333;
  margin-bottom: 40px;
}

.highlight {
  color: var(--back-color); /* サイトのメインピンク */
  font-weight: bold;        /* 太字で強調 */
}

.benefit-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 15px;
  color: #333;
}
.benefit-list li {
  margin-bottom: 10px;
}

.trial-schedule h3 {
  font-size: 20px;
  color: #333;
  margin: 30px 0 20px;
  text-align: center;
  margin-top: 4rem;
}

.trial-class {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 25px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.trial-class h4 {
  color: var(--back-color);
  margin-bottom: 15px;
  font-size: 18px;
  margin-top: 0;
}

.trial-class p {
  font-size: 15px;
  margin-bottom: 15px;
  color: #666;
}

.trial-class .note-text {
  font-size: 13px;
  color: #666;
  display: block;
  margin-top: 5px;
}

.trial-class .class-location {
  font-size: 14px;
  color: #444;
  margin-top: 10px;
}


.trial-reservation h3 {
  font-size: 20px;
  color: #333;
  margin: 30px 0 20px;
  text-align: center;
  margin-top: 4rem;
}

.trial-reservation p {
  font-size: 16px;
  color: #666;
  margin: 30px 0 20px;
  text-align: left;
}

.line-btn {
  display: block;
  text-align: center;
  background: #06C755;
  color: #fff;
  font-weight: bold;
  padding: 14px 20px;
  border-radius: 30px;
  margin: 25px auto;
  max-width: 300px;
  text-decoration: none;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}

.line-btn:hover {
  background: #e648a9;
}


.tel-contact {
  font-size: 15px;
  text-align: center;
  margin-top: 25px;
  color: #333;
}

.tel-contact a {
  color: inherit;             /* 親要素の色を継承 */
  text-decoration: none;      /* 下線を消す */
  font-weight: bold;          /* 太字で見やすく */
}

.tel-contact a:hover {
  text-decoration: underline; /* ホバー時だけ下線を表示するなら */
}

.trial-divider {
  border: none;
  border-top: 1px solid #ddd; /* 薄いグレーライン */
  margin: 15px 0;             /* 上下の余白 */
  opacity: 0.6;               /* 少し透かす */
}

.line-highlight{
  color: #06C755;
}


.back-to-top {
  margin-top: -2rem;
  margin-bottom: 5rem;
  margin-left: 1rem;
  text-align: center;  /* ← 中央揃えに */
}

.back-to-top a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 64px;
  border: 2px solid var(--back-color);
  border-radius: 25px;
  color: var(--back-color);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.back-to-top a::before {
  content: "←";
  font-size: 1.2em;
  transition: transform 0.3s ease;
}

.back-to-top a:hover {
  background: var(--back-color);
  color: #fff;
}

.back-to-top a:hover::before {
  transform: translateX(-3px); /* ホバー時に矢印が少し動く */
}




/* お知らせ記事ページ */

/* チアダンス記事専用メインビジュアル */
.cheer-visual {
  position: relative;
  width: 100%;
  max-width: 1200px;       /* PC時は750pxに制限 */
  margin: 0 auto;         /* 中央寄せ */
  aspect-ratio: 3 / 2.5;    /* 750×1000 の比率を維持 */
  overflow: hidden;
}

.cheer-visual::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}

.cheer-visual img.cheer-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cheer-visual .main-text {
  position: absolute;
  top: 75%; 
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 1;
  background: rgb(255, 143, 186, 0.9); /* 薄いピンクの帯 */
  padding: 0 20px;
  color: #fff;
}

.cheer-visual .main-text h1 {
  font-size: 22px;
  line-height: 1.5;
  margin-bottom: 8px; /* pとの間隔 */
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
  margin: 0 0 8px;  /* ← 上を0にして、下だけ余白 */
}

.cheer-visual .main-text p {
  font-size: 20px;
  line-height: 1.6;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}


.news-article {
  max-width: 100%;
  padding: 0 1rem; /* 左右にちょっと余白だけ残す */
}


.article-date {
  font-size: 0.95rem;  /* ← 0.8 → 0.95 に拡大 */
  color: #888;
  margin-bottom: -0.5rem;
}

.article-title {
  font-size: 1.8rem;   /* ← 1.4 → 1.8 に拡大 */
  color: var(--back-color);
  border-bottom: 3px dotted var(--back-color);
  padding-bottom: 8px;
  margin-bottom: 1.5rem;
  text-align: left;
}

/* 目次 */
.article-toc {
  background: #fff5f8;
  border: 2px dashed var(--back-color);
  padding: 18px;      /* ← 15 → 18 に拡大 */
  margin: 25px 0;
  border-radius: 12px;
}

.article-toc ul {
  list-style: none;   /* ← これで点を消す */
  padding: 0;         /* デフォルトの左余白も消す */
  margin: 0;          /* デフォルトのマージンも消す */
}

.article-toc li {
  margin: 6px 0;      /* 行間を整える */
  line-height: 2;
}

.article-toc p {
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--back-color);
  font-size: 1.1rem;   /* ← 見出し強調 */
}

.article-toc a {
  color: var(--back-color);
  text-decoration: none;
  font-size: 1rem;     /* ← 0.9 → 1rem */
}
.article-toc a:hover {
  text-decoration: underline;
}

/* 本文 */
.news-content h3 {
  font-size: 1.3rem;   /* ← 1.1 → 1.3 に拡大 */
  margin: 25px 0 12px;
  color: var(--back-color);
  border-left: 5px solid var(--back-color);
  padding-left: 10px;
  background: #fff5f8;
  border-radius: 4px;
}
.news-content p {
  font-size: 1.05rem;  /* ← 0.9 → 1.05 に拡大 */
  line-height: 3;
  margin-bottom: 1.5rem;
  letter-spacing: 0.03em;
}


#section1,
#section2,
#section3,
#section4,
#section5,
#section6,
#section7,
#section8,
#summary {
  scroll-margin-top: 80px; /* ヘッダーの高さ分を調整 */
}

/* ボタン */
.btn-primaryb {
  display: inline-block;
  background: var(--back-color);
  color: #fff;
  padding: 12px 26px;  /* ← 少し大きく */
  border-radius: 25px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s ease;
  font-size: 1rem;     /* ← ちょっと大きめ */
  margin-bottom: 2rem;
}
.btn-primaryb:hover {
  background: #d81b60;
}

.back-to-topm {
  margin-top: 4rem;
  margin-bottom: 4rem;
  margin-left: 1rem;
  text-align: center;  /* ← 中央揃えに */
}

.back-to-topm a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 64px;
  border: 2px solid var(--back-color);
  border-radius: 25px;
  color: var(--back-color);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.back-to-topm a::before {
  content: "←";
  font-size: 1.2em;
  transition: transform 0.3s ease;
}

.back-to-topm a:hover {
  background: var(--back-color);
  color: #fff;
}

.back-to-topm a:hover::before {
  transform: translateX(-3px); /* ホバー時に矢印が少し動く */
}

.sp-br {
  display: none;
}


/* 規約ページ */
.policy-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 30px 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  line-height: 1.8;
  font-size: 16px;
  color: #333;
}

/* 見出し（h2） */
.policy-container h2 {
  font-size: 22px;
  color: var(--back-color);
  border-left: 5px solid var(--back-color);
  padding-left: 12px;
  margin-top: 40px;
  margin-bottom: 20px;
}

/* サブ見出し（h3） */
.policy-container h3 {
  font-size: 18px;
  color: #d35ea0; /* ピンク系 */
  margin-top: 25px;
  margin-bottom: 10px;
  border-bottom: 1px solid #eee;
  padding-bottom: 5px;
}

/* 段落 */
.policy-container p {
  margin-bottom: 15px;
}

/* リスト（規約の箇条書き用） */
.policy-container ul {
  margin: 10px 0 20px 20px;
  padding: 0;
}

.policy-container ul li {
  list-style-type: disc;
  margin-bottom: 8px;
  color: #444;
}

.no-border-link {
  text-decoration: none;  /* 下線を消す */
  color: #333;         /* 必要なら色を指定 */
}

.no-border-link:hover {
  text-decoration: underline; /* hover時だけ下線を付けるなら */
}


/* 強調テキスト */
.policy-container strong {
  color: var(--back-color);
}

#company {
  scroll-margin-top: 100px; /* 固定ヘッダーの高さ分を調整 */
}

#terms {
  scroll-margin-top: 100px; /* 固定ヘッダーの高さ分を調整 */
}


/* スマホ専用 */
@media screen and (max-width: 768px) {
  .sp-br {
    display: inline;
  }

  .ft-related {
    margin: 20px auto;
    text-align: center;
    width: 80%; /* 横幅を短めに調整 */
    margin-top: 2rem;
  }
  


}

/* PC専用 */
@media screen and (min-width: 769px) {
  .nav {
    display: block;
  }
  .menu-toggle {
    display: none;
  }

  .pc-only {
    display: inline;
  }

  .trial-section h2 {
    font-size: 24px;
  }

  .about-image {
    margin-top: 30px;
    text-align: center;
  }
  
  .about-image img {
    max-width: 50%;
    height: auto;
    border-radius: 12px; /* 角丸にしたい場合 */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); /* ふんわり影 */
    transition: transform 0.3s ease;
  }
  
  .about-image img:hover {
    transform: scale(1.02); /* ホバーで少し拡大して動きを出す */
  }

  .strength-section h2 {
    font-size: 24px;
  }

  .strength-image img {
    max-width: 50%;
  }

  .strength-text h3 {
    font-size: 18px;
    text-align: center;
  }

  .strength-text p {
    font-size: 16px;
    text-align: center;
  }

  .strength-text {
    max-width: 700px;
  }

  
  .class-list {
    flex-direction: row;
    gap: 20px;
  }

  .class-card {
    flex: 1;
  }

  .school-box {
    background: #fff;
    margin: 0 auto 60px; /* 中央寄せ */
    border: 2px solid #ffffff;
    border-radius: 12px;
    padding: 20px;
    max-width: 900px; /* 横幅を制限 */
    box-shadow: 0 4px 12px rgba(0,0,0,0.1); /* PCで映える軽い影（任意） */
  }

  .class-note {
    text-align: center;
  }
    
  .class-location {
    text-align: center;
  }
  
  .map-wrap iframe {
    width: 80%;
  }

  .instructor-section {
    max-width: 800px;  /* 横幅の上限 */
    margin-left: auto; /* 中央寄せ */
    margin-right: auto;
    margin-top: 4rem
  }

  .voice-list{
    max-width: 800px;
    margin-left: auto; /* 中央寄せ */
    margin-right: auto;
  }

  .news-subtitle{
    border-left: none;
    text-align: center
  }

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

  .pc-nav {
    display: block;
  }

  .trial-schedule h4 {
    text-align: center;
  }

  .trial-detail-section p {
    text-align: center;
  }

  .ft-related {
    margin-top: 2rem;
  }
  


  .sub-visual {
    position: relative;
    width: 100%;
    max-width: 1200px;       /* PC時は750pxに制限 */
    margin: 0 auto;         /* 中央寄せ */
    aspect-ratio: 3 / 1.5;    /* 750×500の比率を維持 */
    overflow: hidden;
  }
  
  .sub-visual::after {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.4);
  }
  
  .sub-visual img.sub-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .sub-visual .main-text {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    padding: 0 15px;
    z-index: 1;
  }
  
  .sub-visual .main-text h1 {
    font-size: 40px;
    line-height: 1.5;
    margin-bottom: 30px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.14);
  }
  



  .cheer-visual {
    position: relative;
    width: 100%;
    max-width: 1200px;       /* PC時は750pxに制限 */
    margin: 0 auto;         /* 中央寄せ */
    aspect-ratio: 3 / 1.6;    /* 750×1000 の比率を維持 */
    overflow: hidden;
  }

  .cheer-visual .main-text {
    position: absolute;
    max-width: 1100px; 
    top: 80%; 
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 1;
    background: rgb(255, 143, 186, 0.9); /* 薄いピンクの帯 */
    padding: 0 20px;
    color: #fff;
  }
  
  .cheer-visual .main-text h1 {
    font-size: 20px;
    line-height: 1.5;
    margin-bottom: 8px; /* pとの間隔 */
    text-shadow: 0 2px 4px rgba(0,0,0,0.4);
    margin: 0 0 8px;  /* ← 上を0にして、下だけ余白 */
  }
  
  .cheer-visual .main-text p {
    font-size: 20px;
    line-height: 1.6;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.4);
  }

  .news-article {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 15px;
  }
  
  .news-content h3 {
    font-size: 1.3rem;   /* ← 1.1 → 1.3 に拡大 */
    margin: 25px 0 12px;
    color: var(--back-color);
    border-left: 5px solid var(--back-color);
    padding-left: 10px;
    background: #fff5f8;
    border-radius: 4px;
    margin-bottom: 2rem;
  }

  .news-content p {
    font-size: 1.05rem;  /* ← 0.9 → 1.05 に拡大 */
    line-height: 3;
    margin-bottom: 3rem;
    letter-spacing: 0.03em;
  }
  

}


@media (max-width: 430px) {
  .sub-visual {
    aspect-ratio: 3 / 2.5;  /* さらに縦長にして文字の入りを確保 */
  }

  .sub-visual .main-text {
    padding: 0 16px;
  }

  .sub-visual .main-text h1 {
    font-size: 20px;
    line-height: 1.4;
    margin-bottom: 16px;
  }
}

/* ▼ 小さめスマホ（旧SEなど 〜360px） */
@media (max-width: 360px) {
  .sub-visual {
    aspect-ratio: 3 / 3;  /* ほぼ正方形まで縦を確保 */
  }

  .sub-visual .main-text h1 {
    font-size: 18px;
    line-height: 1.4;
    margin-bottom: 12px;
  }
}

@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@400;700&display=swap');


/* ===== Pillar Button (match site style) ===== */
:root{
  /* 必要ならサイトのブランド色に合わせて微調整してください */
  --sunny-pink: #ff4fa3;
  --sunny-pink-dark: #e53f93;
  --sunny-shadow: rgba(0,0,0,.06);
}

.back-to-pillar{
  margin: 32px 0 20px;
  display: flex;
  justify-content: center;
  margin-bottom: 4rem;
}

.back-to-pillar .btn-outline{
  display: inline-block;
  max-width: 640px;
  width: 100%;
  padding: 16px 22px;
  border: 2px solid var(--sunny-pink);
  border-radius: 0px;
  background: #fff;
  color: var(--sunny-pink);
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  letter-spacing: .02em;
  text-decoration: none;
  text-align: center;
  box-shadow: 0 6px 16px var(--sunny-shadow);
  transition: background .2s ease, color .2s ease, transform .15s ease, box-shadow .2s ease;
}

/* 左矢印（サイトの戻るボタンに寄せる） */
.back-to-pillar .btn-outline::before{
  content: "↩︎ ";
  margin-right: 4px;
}

/* hover / focus */
.back-to-pillar .btn-outline:hover,
.back-to-pillar .btn-outline:focus{
  background: var(--sunny-pink);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(229,63,147,.25);
  outline: none;
}

/* active */
.back-to-pillar .btn-outline:active{
  transform: translateY(0);
  box-shadow: 0 6px 16px var(--sunny-shadow);
}

/* スタック時の余白（下に既存の戻るボタンが来る前提） */
.back-to-pillar + .back-to-topm{ margin-top: 14px; }

@media (max-width: 768px){
  .back-to-pillar .btn-outline{
    font-size: 15px;
    padding: 14px 18px;
  }
}

