@charset "utf-8";
/* =========================
   Base
========================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --base-bg: #ffffff;
  --sub-bg: #f7f6f3;
  --text-main: #222222;
  --text-sub: #555555;
  --primary: #2b2b2b;
  --accent: #4a6b4a;
}

html {
  font-size: 100%;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont,
               "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  background-color: var(--base-bg);
  color: var(--text-main);
}

h2, h3 {
  font-family: "Noto Serif JP", "Times New Roman", serif;
  color: #2b2b2b;              /* 墨色 */
  letter-spacing: 0.08em;
  line-height: 1.4;
  margin: 48px 0 24px;
}
/* =========================
   Container
========================= */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.section {
  width: 100%;
  position: relative;
}

.section__inner {
  padding: 72px 0;
  border-bottom: 1px solid #eee;
}

img {
  max-width: 100%;
  height: auto;
}

/* =========================
   Header
========================= */
.header {
  display: flex;
  flex-direction: column;
  width: 100%;
  border-bottom: 1px solid #eee;
}

/* 上段（PC） */
.header-top {
  background: var(--sub-bg);
}

.header-top__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}

.header-top__left a,
.header-top__right a {
  margin-left: 12px;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 600;
}

/* 下段（ロゴ＋ナビ） */
.header-main {
  display: block;
  background: var(--base-bg);
}

.header-main__inner {
	display: flex;
	justify-content: space-between;
    align-items: center;
	width: 100%;
}

.logo-area {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-shrink: 0;
}

header-sns {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-sns a {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  color: #555;
  text-decoration: none;
}

.sns-icon svg {
  width: 28px;
  height: 28px;
  fill: #555;
  transition: fill 0.2s ease;
}
.sns-icon:hover svg {
  fill: #4a6b4a;
}

.logo {
  background-image: none; /* 新しい画像ファイル */
  background-repeat: no-repeat;
  background-position: left center; /* 左寄せ */
  background-size: contain;          /* 幅に合わせてサイズ調整 */
  padding-left: 0;               /* 画像幅に合わせて余白調整 */
  height: 60px;
  font-family: 'Roboto Slab', serif;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 0.05em;
  color: #2b2b2b;
}

.logo a {
  font-family: 'Roboto Slab', serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
  color: var(--primary);
 
}

/* =========================
   PC：ヘッダー固定・透過
========================= */
@media screen and (min-width: 1024px) {
  .header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);

    border-bottom: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  }
	
	.header-top,
  .header-main {
    background: transparent;
  }
}
/* =========================
   Mobile固定ボタン
========================= */
.mobile-fixed-footer {
  display: none;
}

.mobile-fixed-footer a {
  flex: 1;
  text-align: center;
  padding: 14px 0;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 600;
  color: #fff;
}

.mobile-fixed-footer.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
}

.header-request {
  background: var(--accent);
  color: #FFFFFF !important;
  font-size: 18px !important;  /* 以前16px → 18pxに拡大 */
  font-weight: 900;
  padding: 16px 32px;    /* 縦横のパディングを増やす */
  border-radius: 20px;   /* 角丸を少し大きく */
  text-decoration: none;
  text-align: center;
  display: inline-block;
  transition: background 0.3s ease, transform 0.2s ease;
}
.header-request:hover {
  background: #3f5e3f;
  transform: translateY(-1px);
}
.header-request:active {
  transform: scale(0.96);
}
/* メールボタンを資料請求ボタンと同じデザインに */
.header-info .mail {
  display: inline-block;
  background: var(--accent);    /* 資料請求ボタンと同じ色 */
  color: #fff;                  /* 文字色 */
  font-size: 18px;              /* 大きめ文字 */
  font-weight: 700;
  padding: 16px 32px;           /* ボタンサイズ */
  border-radius: 24px;
  text-decoration: none;
  text-align: center;
  transition: background 0.3s ease, transform 0.2s ease;
}

.header-info .mail:hover {
  background: #3f5e3f;          /* ホバー色 */
  transform: translateY(-1px);
}

.header-info .mail:active {
  transform: scale(0.96);
}
.header-tel-btn {
  background: var(--primary);
}
.header-tel-btn,
.header-request,.btn-main {
  font-size: 15px;
  font-weight: 600;
}

.header-tel-btn,
.header-request,.btn-sub {
  font-size: 11px;     /* 小さく */
  margin-top: 2px;
  opacity: 0.85;       /* 少し薄くすると注釈感が出る */
}

.header-tel-btn:hover {
  background: #777;
  transform: translateY(-1px);
}
.header-tel-btn:active {
  transform: scale(0.96);
}

/* フッター表示時は固定CTAを隠す */
.header-top.is-hidden {
  opacity: 0;
  pointer-events: none;
}
/* =========================
   Hero Section
========================= */
.hero-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 7;
  overflow: hidden;
}

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

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

.hero {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 7 ;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  display: flex;
  background-color: #f5f5f5;
  }

.hero__box {
  max-width: min(90vw, 720px);
  position: absolute;
  top: 33.3%;
  left: 33.3%;
  transform: translate(-50%, -50%) ;
  background: rgba(255,255,255,0.8);
  padding: 24px 32px;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  text-align: center;
  font-family: "Noto Serif JP", serif;
  z-index: 2;
}

.hero__box h1 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.15);
}

.hero__box p {
  font-size: clamp(15px, 2.5vw, 18px);
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 2px rgba(0,0,0,0.15);
}

/* スマホ */
@media (max-width: 768px) {
  .hero {
    aspect-ratio: 4 / 3;
  }
  .hero__box {
	max-width: 90%;
	top: 50%;
	left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px 24px;
  }
}



/* =========================
   Tables
========================= */
.styled-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.styled-table thead {
  background: #f5f7fa;
}

.styled-table th,
.styled-table td {
  padding: 12px 16px;
  text-align: left;
}

.styled-table tbody tr {
  border-bottom: 1px solid #e5e7eb;
}

.styled-table tbody tr:hover {
  background: #f9fafb;
}

.styled-table tbody tr:last-child {
  border-bottom: none;
}

/* =========================
   Banner
========================= */
.banner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: url('back.png') center/cover no-repeat;
  border-radius: 16px;
  color: #fff;
  text-decoration: none;
  overflow: hidden;
  position: relative;
  margin: 16px 0;
  box-shadow:
    0 8px 20px rgba(0,0,0,0.25),
    0 2px 6px rgba(0,0,0,0.15);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
  z-index: 1;
}

.banner:hover::before {
  background: rgba(0,0,0,0.55);
}

.banner__content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.banner__catch {
  font-size: clamp(20px, 4vw, 36px);
  font-weight: bold;
}

.banner__text {
  margin-top: 8px;
  font-size: clamp(16px, 3vw, 18px);
}

.banner__btn {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 20px;
  background: #ff6600;
  border-radius: 4px;
  transition: background 0.3s ease;
  box-shadow:
    0 3px 0 rgba(0,0,0,0.3);
}

.banner:hover .banner__btn {
  background: #ff8844;
}

.banner:active {
  transform: translateY(0);
  box-shadow:
    0 4px 10px rgba(0,0,0,0.2);
}

.banner:active .banner__btn {
  box-shadow:
    0 1px 0 rgba(0,0,0,0.3);
}
.banner:hover {
  transform: translateY(-4px);
  box-shadow:
    0 14px 32px rgba(0,0,0,0.3),
    0 6px 12px rgba(0,0,0,0.2);
}

/*バナーの背景画像変更 サイズ目安1600px×800px 150-300KB*/
.section-shop-banner .banner {
  background: url('/assets/img/img_001.webp') center / cover no-repeat;
}
/*
.banner--course {
  background-image: url('back-course.png');
}

.banner--event {
  background-image: url('back-event.png');
}

.banner--school {
  background-image: url('back-school.png');
}
*/
/* =========================
   表
========================= */
.vertical-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-family: "Noto Sans JP", sans-serif;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* 行 */
.vertical-table tr {
  border-bottom: 1px solid #e5e5e5;
}

/* 項目名 */
.vertical-table th {
  width: 30%;
  background: #f6f8f6;
  font-weight: 600;
  text-align: left;
  padding: 14px 16px;
  color: #333;
  vertical-align: top;
}

/* 内容 */
.vertical-table td {
  padding: 14px 16px;
  color: #555;
  line-height: 1.6;
}

/* 最終行の線を消す */
.vertical-table tr:last-child {
  border-bottom: none;
}

/* =========================
   news-box
========================= */
.notice-box {
  border: 2px solid #4a6b4a;       /* 緑の枠線 */
  background-color: #f7fef7;        /* 薄い背景色 */
  border-radius: 12px;              /* 角丸 */
  padding: 16px 20px;               /* 内側余白 */
  margin: 24px 0;                   /* 上下余白 */
  box-shadow: 0 4px 12px rgba(0,0,0,0.08); /* 軽い影 */
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  color: #222;
  line-height: 1.8;
}

/* 強調テキスト */
.notice-box strong {
  color: #2b2b2b;
  font-weight: 700;
}

/* リンク装飾 */
.notice-box a {
  color: #4a6b4a;
  text-decoration: underline;
}

.notice-box a:hover {
  opacity: 0.8;
}

/* =========================
   Text Columns
========================= */
.text-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
/*割合を５０：50にするために追加↓20260120*/
.text-columns > div {
min-width: 0;
}

/*見た目を安定させたい場合*/
.text-columns h2,
.text-columns h3,
.text-columns p {
  margin-right: 0;
  word-break: break-word;
}

.text-columns > div {
  min-width: 0;
}

.text-columns img,
.text-columns iframe {
  max-width: 100%;
  height: auto;
}

.text-columns table {
  width: 100%;
}

.text-columns__item:last-child {
  padding-left: 0;
  border-left: none;
}

.notice-box {
  background: #fafafa;
  padding: 20px 24px;
  border-radius: 6px;
  border: 1px solid #e5e5e0;
}

.notice-list {
  margin: 12px 0;
  padding-left: 1em;
}

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

/* =========================
   Access Map
========================= */
.map-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* =========================
   Back To Top 上部に戻るボタン 20260112
========================= */
.back-to-top {
  position: fixed;
  right: 16px;
  bottom: 150px; /* スマホ下部固定ボタンと干渉し高さ */
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: none;
  background: #333;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  cursor: pointer;
  font-size: 36px;
  composes: button--sub;
  /* fade-in 初期状態 20260112*/
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.95);
  pointer-events: none;

  transition:opacity .3s ease,transform .3s ease;
}

.back-to-top.is-show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

 /* PCの場合のみhover効果強め 20260112*/
.back-to-top:hover {
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}
@media (hover: hover) and (pointer: fine) {
  .back-to-top:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 24px rgba(0,0,0,0.35);
  }
}
/* 表示状態 */
.back-to-top.is-show {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* PCでは少し下げる */
@media (min-width: 601px) {
  .back-to-top {
    bottom: 32px;
  }
}
/* 動きを嫌う環境下では即表示するという設定 */
@media (prefers-reduced-motion: reduce) {
  .back-to-top {
    transition: none;
    transform: none;
  }
}
/* =========================
   Back to Top
========================= */

#backToTop {
  position: fixed;
  right: 16px;
  bottom: 150px; /* スマホ下部CTAを避ける */
  width: 48px;
  height: 48px;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 20px;
  line-height: 1;

  background: #2b2b2b;
  color: #fff;
  border-radius: 50%;
  border: none;
  cursor: pointer;

  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);

  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    visibility 0.3s;
  z-index: 1000;
}

/* 表示状態 */
#backToTop.is-show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
/* =========================
   Footer
========================= */
.footer {
  background-color: #f7f7f7;
}

.footer__inner {
  padding: 32px 0;
  font-size: 14px;
  text-align: center;
  line-height: 1.6;
	position: relative;
}

.footer-horizontal {
  text-align: center;
  list-style: none;
  gap: 16px;
  padding: 0;
  margin: 16px 0 0 0;
}

.footer-horizontal li {
  display: inline-block;
  margin: 0 10px;
}

.footer-counter {
  position: absolute;
  right: 0;
  bottom: 0;
}

.footer-counter img {
  display: block;
  max-width: 120px; /* 大きければ調整 */
  height: auto;
}

@media (max-width: 600px) {
.header-main {
    position: relative;
  }
	
.footer-counter {
    position: static;
    margin-top: 16px;
    text-align: center;
  }
}
/* =========================
   Responsive
========================= */
/* タブレット表示: 2列 */
@media (max-width: 1024px) {
  .box {
    flex: 1 1 calc(50% - 16px);
    max-width: calc(50% - 16px);
  }
}
@media (max-width: 768px) {
  
.responsive-table thead {
    display: none;
  }

  .responsive-table tr {
    display: block;
    margin-bottom: 16px;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 12px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  }

  .responsive-table td {
    display: flex;
    flex-direction: column;
    text-align: left;
    padding: 8px 12px;
    border: none;
    border-bottom: 1px solid #eee;
    position: relative;
  }

  .responsive-table td:last-child {
    border-bottom: none;
  }

  .responsive-table td::before {
    content: attr(data-label);
    font-weight: 600;
    margin-bottom: 4px;
    color: #555;
  }
.vertical-table th,
.vertical-table td {
    padding: 12px;
  }

  .vertical-table th {
    width: 35%;
    font-size: 14px;
  }

  .vertical-table td {
    font-size: 14px;
  }
.section__inner {
    padding: 48px 0;
  }
  .text-columns {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
/* スマホ表示: 1列 */
@media (max-width: 768px) {
  .box {
    flex: 1 1 100%;
    max-width: 100%;
  }
	
.notice-box {
    font-size: 18px;
    padding: 12px 16px;
  }
	
.logo {
    margin-right: 32px; /* ← 好きな間隔に調整 */
  }
}

@media (max-width: 600px) {
  /* PC上段は非表示 */
  .header-top {
    display: none;
  }

  /* 下部固定ボタン表示 */
  .mobile-fixed-footer {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    gap: 12px;
    justify-content: space-around;
    padding: 12px 16px;
    background: #fff;
    z-index: 9999;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.15);
  }
.mobile-fixed-footer .header-request {
  font-size: 18px;       /* スマホでも同じサイズ */
  padding: 16px 0;       /* 高さを増やす */
  border-radius: 24px;
  color: #FFFFFF
}

/* スマホ固定フッターボタンに統合 */
.mobile-fixed-footer .mail {
  font-size: 18px;
  padding: 16px 0;
  border-radius: 24px;
  color: #fff;
  background: var(--accent);
}

  /* ヘッダー下段のロゴ・ナビは縦並び */
  .header-main__inner {
    flex-direction: row;
    align-items: center;
	justify-content: space-between;
  }
}

/* =========================
   Button Motion Ruleボタン動作ルール
========================= */
/*全ボタン共通ルール*/
:root {
  --btn-transition-fast: 0.2s;
  --btn-transition-base: 0.25s;
  --btn-transition-slow: 0.3s;
  --btn-ease: cubic-bezier(.25,.8,.25,1);
}
button,
.button,
a.button {
  transition:
    background-color var(--btn-transition-base) ease,
    color var(--btn-transition-base) ease,
    transform var(--btn-transition-fast) var(--btn-ease),
    box-shadow var(--btn-transition-fast) var(--btn-ease);
}
/*押した時の感じ。押した感（全ボタン共通）*/
button:active,
.button:active,
a.button:active {
  transform: translateY(1px) scale(0.98);
}
/*重要度高ボタン　資料請求など*/
.button--primary {
  font-weight: 600;
}

@media (hover: hover) and (pointer: fine) {
  .button--primary:hover {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 10px 24px rgba(0,0,0,0.35);
  }
}
/*補助ボタン　戻る・詳細など*/
.button--sub {
  font-size: 0.9em;
}

@media (hover: hover) and (pointer: fine) {
  .button--sub:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  }
}
/*ナビ・テキストリンク*/
.button--nav {
  box-shadow: none;
}

@media (hover: hover) and (pointer: fine) {
  .button--nav:hover {
    transform: none;
    opacity: 0.7;
  }
}
/*動きを抑えたいユーザー向けの設定*/
@media (prefers-reduced-motion: reduce) {
  button,
  .button,
  a.button {
    transition: none;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  #backToTop {
    transition: none;
    transform: none;
  }
}


/* 以下はマウス操作ができないキーボード操作向けの設定 */
button:focus-visible,
a:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 3px rgba(74, 107, 74, 0.45);
  border-radius: inherit;
}

/* primary */
.button--primary:focus-visible {
  box-shadow:
    0 0 0 3px rgba(255,255,255,0.9),
    0 0 0 6px rgba(74, 107, 74, 0.6);
}

/* sub */
.button--sub:focus-visible {
  box-shadow:
    0 0 0 3px rgba(74, 107, 74, 0.5);
}

/* nav */
.button--nav:focus-visible {
  box-shadow:
    inset 0 -2px 0 rgba(74, 107, 74, 0.8);
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  button:focus-visible,
  a:focus-visible {
    transition: none;
  }
}
/* =========================
   ハンバーガー背景オーバーレイ
========================= */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 10000;
}

.overlay.is-show {
  opacity: 1;
  visibility: visible;
}
/* 表示状態 */
.overlay.is-active {
  opacity: 1;
  visibility: visible;
}


/* =========================
   PC Header layout fix（修正版）
========================= */
@media (min-width: 601px) {
  .header-main__inner {
    display: flex;
    align-items: center;
    width: 100%;
	  position: relative;
  }

  /* ロゴは左固定 */
  .logo {
    flex-shrink: 0;
    white-space: nowrap;
    margin-right: 0; /* ← ここ重要 */
  }
}

/* =========================
   Header fix
========================= */
.header-main .container {
  overflow: visible;
}

/* =========================
   faq 開閉
========================= */
.faq-item {
  border-bottom: 1px solid #ddd;
  margin-bottom: 10px;
}

.faq-question {
  cursor: pointer;
  padding: 10px;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  display: none;
  padding: 10px;
  background-color: #f9f9f9;
}

.faq-question span {
  font-size: 18px;
}
/*日程表下の現在日付表示*/
.date-wrap {
  display: flex;
  justify-content: flex-end;
}
/*画像スライダー20260121*/
.slider-wrapper {
  position: relative;
	max-width: 100%;
	overflow: hidden;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.6);
  color: #fff;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
}

.slider {
  display: flex;
  gap: 16px;
  overflow-x: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.slide {
  flex: 0 0 280px;
  background: #f6f6f2;
  border-radius: 8px;
  padding: 12px;
}

.slide img {
  width: 100%;
  height: auto;
  border-radius: 6px;
}
@media (max-width: 1024px) {
  .slider {
    overflow-x: auto;
  }

  .slider-btn {
    display: none;
  }
}
@media (min-width: 1025px) {
  .slider {
    overflow-x: hidden;
	  overflow-y: visible;
  }

  .slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
  }

  .slider-btn.prev {
    left: 8px;
  }

  .slider-btn.next {
    right: 8px;
  }
}

.qa-wrap {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 64px; 
}

.qa-wrap:last-child{
margin-bottom: 0;
}

.qa-image {
  flex: 0 0 40%;
}

.qa-image img {
  width: 100%;
  height: auto;
  display: block;
}

.qa-table {
  flex: 1;
  border-collapse: collapse;
  width: 100%;
}

.qa-table th,
.qa-table td {
  padding: 16px;
  text-align: left;
  border: none;
}

.qa-table th {
  background: #f3f3f3;
  font-weight: bold;
}

.qa-table td {
  background: #fff;
  border-bottom: 1px solid #ddd;
}

@media (max-width: 768px) {
  .qa-wrap {
    flex-direction: column;
    margin-bottom: 40px;
  }

  .qa-image {
    width: 100%;
  }
}
/*授業内容ページの1日の流れ部分関連20260123*/
.day-schedule {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 16px;
}

.schedule-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.flow-item {
  width: 100%;
  max-width: 420px;
  padding: 16px;
  border: 2px solid #333;
  border-radius: 8px;
  border-color: #6b4f2a; /* 焦げ茶 */
  color: #3b2f1f;
  text-align: center;
  background: #f7f3e8;
  margin: 8px 0;
}

.flow-item .time {
  display: block;
  font-weight: bold;
  margin-bottom: 8px;
}

.flow-arrow {
  position: relative;
  height: 44px;
  margin: 8px 0;
}

.flow-arrow::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 6px;
  height: calc(100% - 12px);
  background: #333;
}

.flow-arrow::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 12px solid #333;
}


@media (max-width: 768px) {
  .flow-item {
    font-size: 0.95rem;
  }
}

/*授業詳細のZ形ブロック20260123*/
.week-block {
  display: flex;
  gap: 32px;
  align-items: center;
  margin-bottom: 80px;
}

.week-block:nth-of-type(even) {
  flex-direction: row-reverse;
}

.week-image {
  flex: 0 0 40%;
}

.week-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.week-text {
  flex: 1;
}

.days {
  margin-top: 8px;
  font-size: 0.9rem;
  color: #666;
}

.lesson-image {
  flex: 0 0 40%;
  max-width: 480px;
}

.lesson-image img {
  width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .week-block {
    flex-direction: column;
    gap: 16px;
    margin-bottom: 48px;
  }
.lesson-image {
    flex: none;
    max-width: 100%;
  }
	.week-block:nth-of-type(even) {
    flex-direction: column;
  }

  .week-image {
    margin: 0;
    max-width: 100%;
  }
}
/*テキスト横に画像が入る場合の設定20260127*/
/* 共通 */
.content-wrap {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 24px;
	
  max-width: 1200px;   /* コンテンツ幅制御 */
  margin: 0 auto 40px;
  padding: 0 20px;     /* 端の余白 */
}

.content-wrap.wrap-text {
  display: block; /* ← flex を解除 */
}

.content-wrap.wrap-text .img-wrap {
  float: left;
  width: 260px;
  margin: 0 24px 16px 0;
}

.content-wrap.wrap-text.right .img-wrap {
  float: right;
  margin: 0 0 16px 24px;
}

.content-wrap.wrap-text .text,
.content-wrap.wrap-text p {
  max-width: none;
}
.content-wrap.wrap-text::after {
  content: "";
  display: block;
  clear: both;
}

/* 左右切り替え */
.content-wrap.left {
  flex-direction: row;
}

.content-wrap.right {
  flex-direction: row-reverse;
}

/* テキスト */
.content-wrap p {
  max-width: 640px;
  line-height: 1.8;/*←行間の調整 1.6～2.0目安*/
}

/* 画像 */
.img-side {
  width: 260px;
  height: auto;
}

/*画像下のキャプション*/
.img-wrap {
  width: 280px;
	flex-shrink: 0;
}

.text{
flex: 1;
}

.img-wrap img {
  width: 260px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.img-wrap figcaption {
  margin-top: 6px;
  font-size: 0.85rem;
  color: #666;
}

/* スマホ */
@media screen and (max-width: 768px) {
  .content-wrap.wrap-text {
    display: flex;
    flex-direction: column;
    text-align: center;
  }

  .content-wrap.wrap-text .img-wrap {
    float: none;
    margin: 0 auto 16px;
    width: 100%;
    max-width: 320px;
  }
	
  .content-wrap.left,
  .content-wrap.right {
    flex-direction: column;
    text-align: center;
  }

  .img-side {
    width: 100%;
    max-width: 320px;
  }
}

/* 左右2カラム */
.container.flex-columns {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.text-columns-wrapper .text-block{
	width: 100%;
	margin-bottom: 0;
}
/* 左カラム：テキスト */
.text-columns-wrapper,.news-columns-wrapper {
  flex: 1 1 48%; /* PCで半分より少し余裕を持たせる */
  min-width: 0;
}

.text-columns div {
  margin-bottom: 20px;
}

.text-columns h2 {
  font-size: 1.3em;
  margin-bottom: 5px;
}

.text-columns h3 {
  font-size: 1.1em;
  margin-bottom: 5px;
}

.text-columns p {
  font-size: 0.95em;
  line-height: 2.0;
}

/* 右カラム：ニュース */

.news-heading {
  font-size: 1.5em;
  margin-bottom: 15px;
}

.news-list {
  width: 100%;
  list-style: none;
  margin: 0;
  padding: 0;
}

.news-list li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #ddd;
}

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

.news-date {
  color: #999;
  font-size: 0.85em;
  width: 100px;
  flex-shrink: 0;
}

.news-title {
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #333;
  text-decoration: none;
}

a.news-title:hover {
  text-decoration: underline;
}

.news-more {
  text-align: right;
  margin-top: 10px;
}

.news-more a {
  color: #007bff;
  text-decoration: none;
}

/* レスポンシブ：スマホ縦並び */
@media screen and (max-width: 768px) {
  .container.flex-columns {
    flex-direction: column;
  }

  .text-columns-wrapper,
  .news-columns-wrapper {
    flex: 1 1 100%;
    padding-left: 0;
    padding-right: 0;
  }

  .news-date {
    width: auto;
    margin-bottom: 5px;
  }

  .news-title {
    font-size: 0.95em;
  }
}

.wa-banner-container {
  text-align: right; /* 右寄せ */
  margin-top: 10px;  /* 本文との余白 */
}

.wa-banner {
  display: inline-block;
  padding: 4px 10px;         /* サイズ調整 小さいバナーサイズ */
  font-size: 0.9em;          /* フォントサイズ 本文より少し小さめ */
  background-color: #f5f0e6; /* 和紙風の淡い背景 */
  color: #3b3b3b;            /* フォントカラー 上品な濃いグレー */
  border: 1px solid #d1c7b7; /* 枠線 薄い枠で上品に */
  border-radius: 4px;        /* 角は少し丸めて柔らかく */
  text-decoration: none;     /* 下線は消す */
  font-family: "Yu Mincho", "Hiragino Mincho Pro", serif; /* フォント種類 和風フォント */
  transition: background-color 0.3s, color 0.3s;
}

.wa-banner:hover {
  background-color: #e0d8c3; /* ホバーで少し濃く */
  color: #1a1a1a;
}

/*小リンク左寄せVer 20260130*/
.wa-banner-container.left {
  text-align: left;
  margin-top: 12px;
}

.wa-banner {
  display: inline-block;
  padding: 4px 10px;
  font-size: 0.9em;
  background-color: #f5f0e6;
  color: #3b3b3b;
  border: 1px solid #d1c7b7;
  border-radius: 4px;
  text-decoration: none;
  font-family: "Yu Mincho", "Hiragino Mincho Pro", serif;
}

.wa-banner:hover {
  background-color: #e0d8c3;
}
/*小バナー見出し補足風ここから 20260130*/
.wa-banner.subtle {
  background: none;
  border: none;
  padding: 0;
  font-size: 0.9em;
  color: #5a5a5a;
}

.wa-banner.subtle:hover {
  text-decoration: underline;
}
/*小バナー見出し補足風ここまで 20260130*/
/*小バナー見出し区切り線＋左寄せここから 20260130*/
.wa-divider {
  margin: 20px 0 10px;
  border-top: 1px solid #e0d8c3;
}
/*小バナー見出し区切り線＋左寄せここまで 20260130*/
/*Youtube埋め込みここから 20260130*/
.video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-top: 1.5rem;
}

.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
/*Youtube埋め込みここまで 20260130*/
/* =========================
   Header / Navigation Final
========================= */

/* ---------- 共通 ---------- */
.header-main {
  position: relative;
}

.hamburger {
  width: 40px;
  height: 30px;
  display: none;
  position: relative;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  z-index: 100002;
}

/* 3本線 */
.hamburger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 4px;
  background: #000;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.2s ease;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}
.hamburger span:nth-child(3) { bottom: 0; }

/* × 状態 */
.hamburger.is-active span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}
.hamburger.is-active span:nth-child(2) {
  opacity: 0;
}
.hamburger.is-active span:nth-child(3) {
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
}
.hamburger.is-active span {
  background: #fff;
}

/* ---------- ナビ ---------- */
.nav {
  display: flex;
}

.nav__list {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}

/* ---------- PC（1025px以上） ---------- */
@media (min-width: 1025px) {

  .hamburger {
    display: none;
  }

  .nav {
    display: flex;
    align-items: center;
	white-space: nowrap;
  }

  .nav__list {
    display: flex;
    flex-direction: row;
	flex-wrap: nowrap;
    gap: clamp(8px, 1.5vw, 24px);
    align-items: center;
    padding: 0;
    margin: 0;
    list-style: none;
	  white-space: nowrap;
  }

  .nav__list a {
    font-size: 14px;
    white-space: nowrap;
	text-decoration: none;
	color: var(--primary);
	transition: color 0.25s ease;
	}
	
  .nav__list a:active {
    opacity: 0.7;
}

  .overlay {
    display: none;
  }
}

@media (min-width: 1025px) and (max-width: 1280px) {
  .nav__list {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* ---------- タブレット・スマホ（1024px以下） ---------- */
@media (max-width: 1024px) {
  .hamburger {
    display: block;
	position: absolute;
    top: 24px;           /* nav 内での高さ */
    right: 16px;
	left: auto;
    transform: none;
    z-index: 100002;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--sub-bg);
    z-index: 100001;
    padding: 72px 0 16px;
  }

  .nav.is-open {
    display: flex;
	flex-direction: column;
    justify-content: center;
  }

  .nav__list {
    display: flex;
	flex-direction: column;
	align-items: center;
    gap: 16px;
	  text-align: center;
  }

  .nav__list a {
    display: block;
    padding: 14px 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
  }
}

/* ---------- Overlay ---------- */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 100000;
}

.overlay.is-active {
  opacity: 1;
  visibility: visible;
}

/* まず親の影響を消す */
.feature.section {
  display: block ;
  overflow: visible ;
}

.notice-box table a {
  text-decoration: none;
  transition: color 0.2s ease;
}

.notice-box table a:hover {
  color: #4a6b4a;
}

.scroll-area {
  max-height: 400px;       /* この高さを超えると */
  overflow-y: auto;        /* このエリアだけスクロール */
  padding: 16px;
  border: 1px solid #ddd;
  background: #fff;
  -webkit-overflow-scrolling: touch;
  box-shadow: inset 0 -20px 20px -20px rgba(0,0,0,0.15);
}

/* 中身の余白 */
.scroll-area__inner {
  padding: 4px 25px;
}

.scroll-area::-webkit-scrollbar {
  width: 8px;
}

.scroll-area::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
}
/* 卒業生店舗紹介上部のスクロール */
.slider {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  pointer-events: auto;
}

.slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  overflow: hidden;
}

.slide img {
  width: 100%;
  height: auto;
  display: block;
}

@media (min-width: 768px) {
  .slide {
    flex: 0 0 80%;
  }
}
/* 卒業生店舗紹介上部のスクロールここまで */
/* ===== iOS タップ遅延対策 ===== */
.hamburger,
.slider-btn {
  touch-action: manipulation;
-webkit-tap-highlight-color:transparent;
}

/* =========================
   Heading Base（全ページ共通）
========================= */

.heading-line {
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
}

.heading-line::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: #8c7a5e; /* 薄い茶金 */
}

.heading-line-full {
  position: relative;
  padding-bottom: 10px;
}

.heading-line-full::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: #c8b89a;
}

.heading-mark {
  position: relative;
  padding-left: 20px;
}

.heading-mark::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4em;
  width: 10px;
  height: 10px;
  background: #6b5f4b; /* 焦茶 */
}

.heading-bg {
  position: relative;
  display: inline-block;
  padding: 8px 16px;
}

.heading-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(200,184,154,0.4),
    rgba(200,184,154,0)
  );
  z-index: -1;
}

.heading-accent {
  color: #5a4b3c; /* 濃い茶 */
}
/*行間の調整（特定エリアの変更）*/
.text-loose {
  line-height: 2.4;
}

.text-tight {
  line-height: 1.5;
}

.text-body p {
  line-height: 1.75;
  margin-bottom: 1.2em;
}

.text-body .lead {
  line-height: 1.9;
  font-weight: 500;
}

@media (max-width: 767px) {
  .text-body p {
    line-height: 1.95;
  }
}



