@charset "utf-8";
/* CSS Document */

.bg-base-grg1 {
	background-color: #F0EDE5;/*Base 明るめ【メイン】*/
}
.bg-base-grg2 {
	background-color: #DCD6D0;/*スモーキー*/
}
.bg-base-grg3 {
	background-color: #C8C2BC;/*ウォーム・グレージュ*/
}
.bg-base-grg4 {
	background-color: #f9f8f6;/*薄い　明るめ【サブ】*/
}

body {
  /* Noto Serif JP を最優先にし、予備として標準的な明朝体セットを指定 */
  font-family: "Noto Serif JP", "Shippori Mincho", "YuMincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
  
  /* 高級感を出すための微調整 */
  color: #161616;           /* 真っ黒(#000)より少しグレー */
  line-height: 1.8;      /* 行間を広めに取るとゆとりが出る */
  letter-spacing: 0.05em; /* 文字の間隔をわずかに広げるとより優雅 */
}

.font-black {
	color: #000;
}
.fw-bold {
	font-weight: bold;
}

h1 {
	font-family: YuMincho, 'Yu Mincho', 'Hiragino Mincho ProN', 'serif';
	font-size: 40px;
	text-align: center;
	margin-bottom: 16px;
}
@media(max-width:768px) {
	h1 {
		font-size: 20px;
	}
}

hr {
	border-width: 1px 0 0 0; /*線の太さの指定*/
	border-style: solid;/*線の種類の指定*/
	border-color: #00A651; /*線の色の指定*/
}

/* ********* */
/* Hero Area */
/* ********* */

.image-container {
  position: relative; /* 子要素の基準点 */
  width: 100%;
  height: auto;/*500px*/;/* max-width: 600px;*/
  overflow: hidden;
}
@media(max-width:768px) {
	.image-container {
		height: auto;
	}
}

.image-container img {
  width: 100%;
  display: block;
}

/* 画像の上に重ねる暗い膜 */
.image-container::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* 黒の40%透明度 */
	background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.7) 100%);
}
@media(max-width:768px) {
	.image-container::after {
		height: auto;
	}
}

/* 文字のスタイル */
.page-title {
	text-align: center;
	color: #000; /* テキストの色 */
	z-index: 1; /* 画像より前面に表示 */
	width: 80%;
	max-width: 800px;	
}
h1.text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  z-index: 1; /* オーバーレイより上に表示 */
  font-weight: bold;
  font-size: 3.5rem;
  width: 90%;
  text-align: left;
	line-height: 1.5;
	margin-left: 16%;
}
@media(max-width:768px) {
	h1.text {
		position: absolute;
		top: 50%;
		font-size: 1.6rem;
		margin-left: 4%;
		width: 100%;
	}
}

.h2-border-top {
	border-top: 1px solid #F0EDE5;
}

.hero-text {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
	color: #FFF/*#333*/; /* テキストの色 */
	z-index: 1; /* 画像より前面に表示 */
	width: 80%;
	max-width: 800px;
}

.role-contents {
	font-family: YuMincho, 'Yu Mincho', 'Hiragino Mincho ProN', 'serif';
	/*font-size: 24px;*/
	font-weight: 400;
	font-style: normal;
    font-size: 20px;
    line-height: 150%;
    text-align: justify;
}
@media(max-width:768px) {
	.role-contents {
		font-size: 16px;/*変更前14px*/
	    line-height: 130%;
	}
}


/* ***************** */
/*** 4-Model Image ***/
/* ***************** */
.img-box {
	display: flex;
	align-items: center;
	margin-bottom: 40px;
}
.img-box img {
	width: 60%;
	height: auto;
}
@media(max-width:768px) {
	.img-box img {
		width: 100%;
		margin-bottom: 30px;
	}
}
/* Proofページ用 */
.img-box-small { 
  margin: 10px auto 40px;
  border: 1px solid #d1c7bc; /* 硬質で上品な枠線 */
  background-color: #fcfbf9;
  text-align: center;
}
.img-box-small img {
	width: 40%;
	height: auto;
	vertical-align: middle;
}
@media(max-width:768px) {
	.img-box-small img {
		width: 60%;
	}
}/* Proofページ用　オワリ */

/* ***************** */
/*** Logo Name ***/
/* ***************** */
.logo-name {
	text-align: center;
	color: #000;
	font-weight: 600;
	font-size: var(--font-size-lg-size);
}
.logo-sub-name {
	font-weight: 300;
	font-size: var(--font-size-sm-size);
}

/* ***************** */
/*** G-navi-menu ***/
/* ***************** */
.g_navi_header {
	font-family: YuMincho, 'Yu Mincho', 'Hiragino Mincho ProN', 'serif';
	color: #000;
	background-color: #F0EDE5;
}
.g_navi_header .g_navi_list {
	color: #000;
}

/* ***************** */
/*** Inquiry Button ***/
/* ***************** */
.g_navi_header .inquiry_button {
	display: flex;
	flex-shrink: 0; /*縮まない*/
	align-items: center;
	align-self: stretch;
	justify-content: center;
	width: 100px;
	font-weight: 500;
	color: var(--white);
	background-color: var(--main-color);
}

.g_navi_header .inquiry_button::before {
	display: inline-block;
	width: 26px;
	height:  20px;
	padding-right: 4px;
	margin-right: 4px;
	content: "";
	background: url("../images/icon-email.svg") center center no-repeat;
}

@media (max-width: 1024px) {
	.g_navi_header .inquiry_button {
		display: none;
	}
}


/* ********************************** */
/*** Top コンセプト（コア）メッセージ ****/
/* ********************************** */

/* --- セクション全体の余白と背景 --- */
.core-message-section {
  background-color: #ffffff; /* 白背景 */
  padding: 120px 20px; /* 上下にたっぷりと余白（White Space）を取る */
  text-align: center; /* コンテナ内の要素を一旦すべて中央寄せ */
}

/* --- コンテナの幅制限 --- */
.core-message-container {
  max-width: 800px;
  margin: 0 auto;
}

/* --- 小さな英語のアクセント --- */
.core-message-en {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 0.2em; /* 文字間を広げて抜け感を出す */
  color: #999;
  margin-bottom: 30px;
}

/* --- 見出し（キャッチコピー） --- */
.core-message-title {
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif; /* 明朝体 */
  font-size: 28px; /* やや大きめ */
  font-weight: normal; /* 太字にせず、スッキリと */
  color: #161616/*#111*/;
  line-height: 1.6;
  letter-spacing: 0.1em;
  margin-bottom: 60px; /* 本文との間を大きく空ける */
}

/* --- 10行のメッセージ本文 --- */
.core-message-text {
  /* ここがポイント：ブロック自体は中央に置きつつ、中の文字は左揃えにする */
  display: inline-block; 
  text-align: left; 
  
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  /*font-size: 16px; /* 読みやすさを重視したサイズ（大きすぎると野暮ったくなります） */
	font-size: 20px;
  color: #161616;
  line-height: 2.2; /* 行間をたっぷりとる（上品さの要） */
  letter-spacing: 0.08em; /* 文字間を少し開けてゆとりを持たせる */
}

/* 段落間の余白 */
.core-message-text p {
  margin: 0 0 1.5em 0;
}
.core-message-text p:last-child {
  margin-bottom: 0;
}

/* --- モバイル（スマホ）対応 --- */
@media (max-width: 768px) {
  .core-message-section {
    padding: 80px 20px; /* スマホでは上下余白を少し縮める */
  }
  .core-message-title {
    font-size: 22px;
    margin-bottom: 40px;
  }
  .core-message-text {
    font-size: 18px;/*変更前15px*/
    line-height: 2.0;
    display: block; /* スマホ幅ではブロック要素に戻す */
    text-align: left;
  }
}



/* ****************** */
/* Top 入塾をご検討の方へ */
/* ****************** */

.cta-section {
  padding: 80px 20px;
  background-color: #f9f8f6; /* 上品なオフホワイト */
  text-align: center;
}
.cta-title {
  font-family: "Sawarabi Mincho", serif;
  font-size: 24px;
  margin-bottom: 40px;
  color: #161616/*#333*/;
}
.cta-grid {
  max-width: 800px;
  margin: 0 auto 16px;
  display: grid;
  grid-template-columns: 33.3% 33.3% 33.3%;
  gap: 20px;
}
.cta-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  border: 1px solid #d1c7bc;
  background: #fff;
  text-decoration: none;
  color: #555;
  transition: all 0.3s;
  font-size: 15px;
}
.cta-item:hover {
  background-color: #f0ede9;
  border-color: #a09384;
}
.cta-link-main {
  grid-column: 1 / -1;
  color: #555;
  border: 1px solid #d1c7bc;
  background: #fff;
  padding: 25px;
  text-decoration: none;
  letter-spacing: 0.1em;
  transition: opacity 0.3s;
	font-size: 18px;
}
.cta-link-main:hover { 
	/*opacity: 0.9; */
  background-color: #f0ede9;
  border-color: #a09384;
}

@media (max-width: 600px) {
	.cta-grid {		
		display: grid;
		grid-template-columns: 100%; /* 1frの代わりに100%を使うとエラーが出にくい */
		gap: 15px;
		max-width: 500px;
		margin: 0 auto;
	}
}

/* ****************** */
/*** 思想導線ブロック ***/
/* ****************** */
/* --- ベーススタイル --- */
.intro-section {
  padding: 60px 20px;
  /* CVエリアと同じ、または調和する背景色を設定 */
  /*background-color: #f9f8f6;*/
}

.intro-container {
  max-width: 900px; /* 直下のCVエリアと横幅を合わせると綺麗 */
  margin: 0 auto;
}

/* --- グリッドレイアウト --- */
.intro-grid {
  display: grid;
  /* スマホ・タブレット向け（1カラム） */
  grid-template-columns: 100%;
  gap: 20px;
}

/* PC向け（画面幅 768px以上で2カラム） */
@media (min-width: 768px) {
  .intro-grid {
    /* Dreamweaverでエラーが出にくい記述 */
    grid-template-columns: repeat(2, 1fr);
    gap: 30px; /* PCでは間隔を広めに */
  }
}

/* --- カードのデザイン --- */
.intro-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  padding: 30px;
  text-decoration: none;
  color: #161616;
  transition: all 0.3s ease;
  position: relative;
}

/* ホバー時のアクション：枠線の色が濃くなり、少し浮き上がる */
.intro-card:hover {
  border-color: #a09384;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transform: translateY(-2px);
  background-color: #f9f8f6;/*薄いグレージュ*/
}

.intro-card-body {
  flex: 1; /* 右側の矢印のためにスペースを確保 */
  padding-right: 20px;
}

/* --- タイポグラフィ --- */
.intro-title {
  margin: 0 0 15px 0;
  line-height: 1.2;
  /* 上品な明朝体を指定（游明朝などを優先） */
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
}

.intro-title .ja {
  display: block;
  font-size: 20px;
  font-weight: bold;
  color: #161616;
}

.intro-title .en {
	display: block;
	font-size: 16px;/*修正前 13px*/
	color: #397C76; /*メインカラー*/
	margin-top: 5px;
	letter-spacing: 0.05em;
	font-family: sans-serif; /* 英語はすっきりしたゴシック体で */
}

.intro-text {
  margin: 0;
  font-size: 18px;/*変更前14px*/
  line-height: 1.7;
  color: #666;
  /* 説明文は読みやすいゴシック体 */
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

/* --- 矢印の装飾 --- */
.intro-arrow {
  font-size: 18px;
  color: #a09384;
  transition: transform 0.3s ease;
}

/* ホバー時に矢印が少し右に動く */
.intro-card:hover .intro-arrow {
  transform: translateX(5px);
  /*color: #004098; /* 色もアクセントカラーに変化 */
	color: #397C76;
}


/* ********** */
/*** Top アクセス・塾概要 ***/
/* ********** */

/* --- セクション全体の余白 --- */
.access-section {
  padding: 100px 20px;
  background-color: #ffffff;
}

.access-container {
  max-width: 1000px; /* マップと並べるため少し広めに */
  margin: 0 auto;
}

/* --- タイトル周り（上品な明朝体と英字の組み合わせ） --- */
.section-title-wrap {
  text-align: center;
  margin-bottom: 60px;
}
.section-title-en {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 13px;
  letter-spacing: 0.15em;
  color: #999;
  margin: 0 0 5px 0;
}
.section-title-ja {
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  font-size: 26px;
  font-weight: normal;
  color: #161616;
  margin: 0;
  letter-spacing: 0.05em;
}

/* --- レイアウト（FlexboxでPC時は左右に分割） --- */
.access-layout {
  display: flex;
  gap: 50px;
  align-items: flex-start; /* 上端を揃える */
}
.access-info {
  flex: 1; /* 左側を1の比率に */
}
.access-map {
  flex: 1; /* 右側を1の比率に（1:1の割合） */
  height: 300px; /* マップの高さを固定 */
}

/* --- マップのプレースホルダー装飾 --- */
.map-placeholder {
  width: 100%;
  height: 100%;
  background: #f4f4f4;
  /* Googleマップを埋め込んだ際、角を少し丸めると上品に */
  border-radius: 4px;
  overflow: hidden;
}

/* --- アクセステーブル設計 --- */
.access-table {
  width: 100%;
  border-collapse: collapse; /* セルの隙間をなくす */
  border-top: 1px solid #e0d8d0; /* 一番上のライン */
}

.access-table th,
.access-table td {
  /* 縦線は入れず、下線のみのシンプルな構成 */
  border-bottom: 1px solid #e0d8d0; 
  padding: 24px 0; /* セル内の上下余白をたっぷりとる */
  vertical-align: top; /* 複数行になった時、上揃えにして美しく保つ */
  line-height: 1.8;
}

.access-table th {
  width: 25%; /* 見出しの幅を固定 */
  text-align: left;
  font-weight: normal; /* 太字にしないのが上品さのコツ */
  color: #777;
  font-size: 16px;
  letter-spacing: 0.05em;
}

.access-table td {
  color: #161616;
  font-size: 16px;
  letter-spacing: 0.03em;
}

/* --- 電話番号リンクの装飾 --- */
.tel-number {
  text-decoration: none;
  font-size: 18px;
  letter-spacing: 0.05em;
  transition: opacity 0.3s;
}
.tel-number:hover {
  opacity: 0.7;
}

/* --- モバイル（スマホ）対応 --- */
@media (max-width: 768px) {
  .access-section {
    padding: 60px 20px;
  }
  .access-layout {
    flex-direction: column; /* スマホでは縦並びに変更 */
    gap: 40px;
  }
  .access-info,
  .access-map {
    width: 100%; /* 横幅いっぱいに広げる */
  }
  .access-table th {
    width: 30%; /* スマホ画面では見出し幅を少し広げる */
  }
}

/* *************** */
/* Sectionn Spacer */
/* *************** */

/* --- セクション共通の余白設定 --- */

/* 基本（PC向け：思い切って160px〜200px程度とる） */
.section-spacer {
  padding-top: 180px;
  padding-bottom: 180px;
}
.section-spacer-bottom {
  padding-bottom: 180px;
}

/* モバイル（スマホ）向け */
@media (max-width: 768px) {
  .section-spacer {
	  /* スマホは画面が小さいため、PCの半分〜6割程度に抑えるのが美しく見せるコツ */
	  padding-top: 100px;
	  padding-bottom: 100px;
  }
  .section-spacer-bottom {
	  padding-bottom: 100px;
	}
}


/* *************** */
/* 下層ページSectionn シンプル版　Philosophy */
/* *************** */

/* --- 全体設定 --- */
.page-philosophy {
  background-color: #ffffff;
  padding: 120px 20px;
  color: #161616/*#222*/;
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif; /* 明朝体ベース */
  line-height: 2.2; /* たっぷりとした行間 */
  letter-spacing: 0.08em;
	font-size: 18px;
}

.philosophy-container {
  max-width: 680px; /* 1行を長くしすぎない（読書体験の向上） */
  margin: 0 auto;
}

.text-center {
  text-align: left/*center*/;
}

/* --- 見出し --- */
.page-title {
  font-size: 32px;
  font-weight: normal;
  text-align: center;
  margin-bottom: 120px;
  letter-spacing: 0.15em;
}

.block-title {
  font-size: 24px;
  font-weight: normal;
  margin-bottom: 40px;
  color: #161616;
  /* 装飾はあえてせず、文字のサイズと余白のみで階層を表現 */
}

/* --- 本文・段落 --- */
.philosophy-block {
  margin-bottom: 120px; /* セクション間の大きな余白 */
}

.philosophy-block p {
  margin: 0 0 2em 0;
}
.philosophy-block p:last-child {
  margin-bottom: 0;
}

/* --- 区切り線 --- */
.philosophy-divider {
  border: none;
  border-top: 1px solid #e8e4df; /* 極めて薄く上品なライン */
  margin: 80px 0;
}

/* --- 箇条書きリスト --- */
.philosophy-list {
  list-style: none;
  padding: 0 0 0 1.5em;
  margin: 0 0 2.5em 0;
	line-height: 1.5;
}
.philosophy-list li {
  position: relative;
  margin-bottom: 0.8em;
  color: #000/*#333*/;
}
.philosophy-list li::before {
  content: "・";
  position: absolute;
  left: -1.2em;
  color: #888/;
}

/* --- 定義リスト（戦略・計画など） --- */
.structure-list {
  margin: 0 0 2.5em 0;
  padding: 30px;
  background-color: #fcfbf9; /* ほんの少しだけ色を敷き、まとまりを出す */
  border: 1px solid #f0ede9;
}
.structure-item {
  display: flex;
  margin-bottom: 1em;
}
.structure-item:last-child {
  margin-bottom: 0;
}
.structure-item dt {
  font-weight: bold;
  width: 5em; /* 「戦略」などの文字幅を固定 */
  flex-shrink: 0;
  color: #161616;
}
.structure-item dd {
  margin: 0;
  color: #161616;
}

/* --- 合う人・合わない人 --- */
.target-title {
  font-size: 20px;
  font-weight: bold;
  margin: 2.5em 0 1em 0;
  color: #161616;
}

/* --- 次のページへのリンク --- */
.next-page-link {
  display: inline-block;
  margin-top: 40px;
  padding: 20px 40px;
  color: #161616;
  text-decoration: none;
  border: 1px solid #161616;
  font-size: 18px;
  transition: all 0.3s ease;
}
.next-page-link:hover {
  background-color: #397c76;
  color: #fff;
}
.next-page-link .arrow {
  margin-left: 10px;
  transition: transform 0.3s ease;
}
.next-page-link:hover .arrow {
  display: inline-block;
  transform: translateX(5px);
}

/* --- モバイル対応 --- */
@media (max-width: 768px) {
  .page-philosophy { padding: 80px 20px; }
  .page-title { font-size: 26px; margin-bottom: 80px; }
  .block-title { font-size: 22px; margin-bottom: 30px; }
  .philosophy-block { margin-bottom: 80px; }
  .structure-item {
    flex-direction: column; /* スマホでは縦並びに */
    margin-bottom: 1.5em;
  }
  .structure-item dt { margin-bottom: 0.3em; }
	}


/* --- スマホ（SP）対応 --- */
/* PCでは改行させないが、スマホでは改行させるためのクラス */
.sp-only {
	display: none;
}

@media (max-width: 768px) {
	.sp-only {
		display: block;
	}
}


/* *************** */
/* 下層ページSectionn シンプル版　Theory */
/* *************** */

/* --- 全体設定（Philosophyと共通） --- */
.page-theory {
  background-color: #ffffff;
  padding: 120px 20px;
  color: #161616/*#222*/;
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  line-height: 2.2;
  letter-spacing: 0.08em;
}
article.page-theory {
	font-size: 18px;
}

.theory-container {
  max-width: 680px; 
  margin: 0 auto;
}

.text-center { text-align: left/*center*/; }

/* ブロックを中央に置きつつ、中身のテキストは左揃えにするためのクラス */
.text-left-inline {
  display: inline-block;
  text-align: left;
}

/* --- タイトル周り --- */
.page-title {
  font-size: 32px;
  font-weight: normal;
  text-align: center;
  margin-bottom: 120px;
  letter-spacing: 0.15em;
  line-height: 1.6;
	width: 100%;
}
.page-title .sub-title {
  display: block;
  font-size: 20px;
  margin-top: 15px;
  color: #555;
}

.block-title {
  font-size: 24px;
  font-weight: normal;
  margin-bottom: 40px;
  color: #161616;
}

/* --- 本文・段落 --- */
.theory-block {
  margin-bottom: 120px;
}
.theory-block p {
  margin: 0 0 2em 0;
}
.theory-block p.margin-large {
  margin-top: 3.5em; /* 意味の切れ目を大きく空ける */
}

/* --- 区切り線 --- */
.theory-divider {
  border: none;
  border-top: 1px solid #e8e4df;
  margin: 80px 0;
}

/* --- 箇条書き --- */
.theory-list {
  list-style: none;
  padding: 0 0 0 1.5em;
  margin: 0 0 2.5em 0;
}
.theory-list li {
  position: relative;
  margin-bottom: 0.8em;
  color: #161616/*#333*/;
}
.theory-list li::before {
  content: "・";
  position: absolute;
  left: -1.2em;
  color: #888;
}

/* --- 4役のリスト（デザインの核） --- */
.roles-wrapper {
  margin: 3em 0;
  padding-left: 20px;
  border-left: 1px solid #e0d8d0; /* 左側に繊細な縦線を引き、まとまりを表現 */
}
.role-item {
  margin-bottom: 2.5em;
}
.role-item:last-child {
  margin-bottom: 0;
}
.role-name {
  font-size: 18px;
  font-weight: bold;
  color: #161616;
  margin: 0 0 0.5em 0;
}
.role-sub {
  font-size: 16px;
  font-weight: normal;
  color: #666;
  /*font-family: "Helvetica Neue", Arial, sans-serif; /* カタカナ部分はスッキリと */
}
.role-desc {
  margin: 0 !important;
  color: #444;
  font-size: 18px;
}

/* --- 【役割の同期】【密度の向上】の定義リスト --- */
.integration-list {
  margin: 2.5em 0;
}
.integration-list dt {
  font-weight: bold;
  color: #161616/*#222*/;
  margin-bottom: 0.5em;
}
.integration-list dd {
  margin: 0 0 2em 0;
  padding-left: 1em;
  color: #444;
}

/* --- イメージ図のラッパー --- */
.theory-image-wrapper {
  margin: 10px 0;
  text-align: center;
	/*background-color: #F9F8F6;*/
}
/* 画像自体は、最大幅をコンテナに合わせ、美しく配置します */
.theory-image-wrapper img {
  max-width: 100%;
  height: auto;
  border-radius: 4px; /* ほんの少し角を丸める */
}

/* --- 次のページへのリンク（Philosophyと共通） --- */
.next-page-link {
  /*display: inline-block;
  margin-top: 40px;
  padding: 20px 40px;
  color: #161616/*#111;*/
  text-decoration: none;
  border: 1px solid #161616;
  font-size: 18px;
  transition: all 0.3s ease;
}
.next-page-link:hover {
  background-color: #161616;
  color: #fff;
}
.next-page-link .arrow {
  margin-left: 10px;
  transition: transform 0.3s ease;
}
.next-page-link:hover .arrow {
  display: inline-block;
  transform: translateX(5px);
}

/* --- モバイル対応 --- */
@media (max-width: 768px) {
  .page-theory { padding: 80px 20px; }
  .page-title { font-size: 26px; margin-bottom: 80px; }
  .block-title { font-size: 22px; margin-bottom: 30px; }
  .theory-block { margin-bottom: 80px; }
  .roles-wrapper { padding-left: 15px; margin: 2em 0; }
  .text-left-inline { display: block; }
}


/* *********** */
/* Proofページテスト */
/* *********** */

/* --- 全体設定（Philosophy/Theoryと共通） --- */
.page-proof {
  background-color: #ffffff;
  padding: 120px 20px;
  color: #161616/*#222*/;
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  line-height: 2.2;
  letter-spacing: 0.08em;
}
article.page-proof {
	font-size: 18px;
}
.proof-container {
  max-width: 680px; 
  margin: 0 auto;
}
.text-center { text-align: center; }
.text-center-block { text-align: center; }
.text-left-inline {
  display: inline-block;
  text-align: left;
}

/* --- タイトル・見出し --- */
.page-title {
  font-size: 32px;
  font-weight: normal;
  text-align: center;
  margin-bottom: 120px;
  letter-spacing: 0.15em;
  line-height: 1.6;
}
.page-title .sub-title {
  display: block;
  font-size: 20px;
  margin-top: 15px;
  color: #555;
}
.block-title {
  font-size: 24px;
  font-weight: normal;
  margin-bottom: 40px;
  color: #161616;
}

/* --- 本文・段落・区切り線 --- */
.proof-block { margin-bottom: 120px; }
.proof-block p { margin: 0 0 2em 0; }
.margin-large { margin-top: 3.5em; }
.proof-divider {
  border: none;
  border-top: 1px solid #e8e4df;
  margin: 80px 0;
}
.proof-list {
  list-style: none;
  padding: 0 0 0 1.5em;
  margin: 0 0 2.5em 0;
}
.proof-list li {
  position: relative;
  margin-bottom: 0.8em;
  color: #161616/*#333*/;
}
.proof-list li::before {
  content: "・";
  position: absolute;
  left: -1.2em;
  color: #888;
}

/* --- S2: 数値で確認する（データボックス） --- */
.fact-data-box {
  margin: 40px auto;
  padding: 40px;
  border: 1px solid #d1c7bc; /* 硬質で上品な枠線 */
  background-color: #fcfbf9;
  text-align: center;
}
.fact-data-title {
  font-size: 18px;
  margin: 0 0 30px 0;
  color: #555;
  letter-spacing: 0.1em;
}
.fact-data-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 40px; /* PCでは横並び */
}
.fact-data-list li {
  font-size: 18px;
  color: #161616/*#333*/;
  display: flex;
  flex-direction: column;
}
.fact-data-list .number {
  /*font-family: "Helvetica Neue", Arial, sans-serif;*/
  font-size: 28px;
  color: #161616;
  font-weight: bold;
  margin-top: 10px;
  letter-spacing: 0;
}

/* --- S3: ケーススタディ（カルテ風デザイン） --- */
.case-study-card {
  margin-bottom: 60px;
  /*border-top: 2px solid #161616; /* 上部の太い黒線でカルテのような厳格さを */
  border-top: 2px solid #397C76; /* 上部の太い黒線でカルテのような厳格さを */
  padding-top: 30px;
}
.case-header {
  margin-bottom: 30px;
}
.case-label {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 13px;
  color: #777;
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 5px;
}
.case-title {
  font-size: 20px;
  color: #161616;
  margin: 0;
}
.case-details dt {
  font-weight: bold !important;
  color: #161616/*#222*/;
  margin-top: 2.5em;
  margin-bottom: 1em;
  /*border-bottom: 1px solid #e0d8d0; /* 項目の区切り線 */
  padding-bottom: 5px;
  border-left: 6px solid #F0EDE5;
  padding-left: 15px;
}
dt.result-highlight {
	border-left: 4px solid #397C76;
}
.case-details dd {
  margin: 0;
}
.case-list {
  list-style: none;
  padding: 0 0 0 1.2em;
}
.case-list li {
  position: relative;
  margin-bottom: 0.8em;
  color: #444;
  font-size: 18px;
}
.case-list li::before {
  content: "―"; /* 点ではなく「横線」でリスト化し、分析レポート感を出す */
	font-weight: bold;
  position: absolute;
  left: -1.2em;
  color: #999;
}
.case-list strong {
  color: #161616;
}

/* 結果部分のハイライト */
.result-highlight {
  color: #397C76 !important; /* スクールカラー等で強調 */
  border-bottom-color: #397C76 !important;
	font-weight: bold;
}
.result-list li {
  font-size: 18px;
  color: #161616;
  font-weight: bold;
}
.result-list li::before {
  color: #397C76;
}

/* ***************** */	
/* --- S4: 累計合格実績 --- */
/* --- S5: アコーディオンのカテゴリタイトル --- */
.accordion-category-title {
  font-size: 18px;
  color: #111;
  margin: 24px 0 8px 0; /* 上に大きな余白、下に少しの余白 */
  border-left: 3px solid #161616; /* S4実績部分と同じ、引き締まる左ライン */
  padding-left: 15px;
}

/* 既存の .mt-large (margin-top: 40px;) が効くように、
   カテゴリ間の余白を広げたい場合はこちらを使います（HTMLで付与済み） */
.mt-large { 
  margin-top: 60px; /* ここを少し広げて60pxにするのもお勧めです */
}

.achievement-wrapper {
  margin-top: 0px;
  padding: 40px;
  background-color: #f9f8f6;
	width: 100%;
	justify-content: center;
  border-top: 1px solid #e0d8d0;
}
@media(max-width: 768px){
	.achievement-wrapper {
		width: 100%;
	}
}
.achievement-category {
  font-size: 18px;
  color: #161616;
  margin: 0 0 15px 0;
  border-left: 3px solid #161616;
  padding-left: 15px;
}
.mt-large { margin-top: 40px; }
.achievement-list-box {
}
.achievement-list {
  list-style: none;
  padding: 0 0 0 18px;
}
.achievement-list li {
  color: #161616/*#333*/;
  margin-bottom: 0.5em;
}

/* --- S5: アコーディオン（JS不要のHTML5標準実装） --- */
.accordion-wrapper {
  margin-top: 40px;
  border-top: 1px solid #e0d8d0;
}
.accordion-item {
  border-bottom: 1px solid #e0d8d0;
}
/* デフォルトの三角マークを消す */
.accordion-title {
  list-style: none;
  cursor: pointer;
  padding: 25px 40px 25px 16px;
  position: relative;
}
.accordion-title::-webkit-details-marker { display: none; }

.student-info {
  display: block;
  font-weight: bold;
  font-size: 18px;
  color: #161616;
  margin-bottom: 8px;
}
.student-summary {
  display: block;
  font-size: 18px;
  color: #555;
  line-height: 1.6;
}

/* ＋/－ アイコンの作成 */
.icon-plus {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
}
.icon-plus::before, .icon-plus::after {
  content: '';
  position: absolute;
  background-color: #161616;
  transition: transform 0.3s;
}
.icon-plus::before { top: 6px; left: 0; width: 14px; height: 1px; }
.icon-plus::after { top: 0; left: 6px; width: 1px; height: 14px; }

/* アコーディオンが開いた時（<details open>）にアイコンを「－」にする */
details[open] .icon-plus::after {
  transform: rotate(90deg);
  opacity: 0;
}
.accordion-content {
  padding: 0 0 30px 0;
  color: #444;
  font-size: 18px;
  animation: fade-in 0.4s ease-in-out;
}
@keyframes fade-in {
  0% { opacity: 0; transform: translateY(-10px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* --- 次のページへのリンク --- */
.next-page-link {
  display: inline-block;
  margin-top: 60px;
  padding: 20px;
  color: #161616;
  text-decoration: none;
  border: 1px solid #161616;
  font-size: 18px;
  transition: all 0.3s ease;
}
.next-page-link:hover {
  background-color: #397C76;
  color: #fff;
}
.next-page-link .arrow { margin-left: 10px; transition: transform 0.3s ease; }
.next-page-link:hover .arrow { display: inline-block; transform: translateX(5px); }

/* --- モバイル対応 --- */
@media (max-width: 768px) {
  .page-proof { padding: 80px 20px; }
  .fact-data-list { flex-direction: column; gap: 20px; } /* スマホでは数値を縦並びに */
  .case-study-card { padding-top: 20px; }
  .accordion-title { padding-right: 30px; }
}


/* *************** */
/* 塾長メッセージ　テスト */
/* *************** */

/* --- 全体設定（共通） --- */
.page-message {
  background-color: #ffffff;
  padding: 120px 20px;
  color: #161616;
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  line-height: 2.2;
  letter-spacing: 0.08em;
}
article.page-message {
	font-size: 18px;
}
.message-container {
  max-width: 680px; 
  margin: 0 auto;
}
.text-center { text-align: center; }
.text-center-block { text-align: center; }
.text-left-inline {
  display: inline-block;
  text-align: left;
}

/* --- タイトル周り --- */
.page-title {
  font-size: 30px;
  font-weight: normal;
  text-align: center;
  margin-bottom: 80px;
  letter-spacing: 0.1em;
  line-height: 1.6;
  color: #161616;
}

/* --- ポートレート（顔写真） --- */
.portrait-wrapper {
  margin-bottom: 60px;
}
.portrait-image {
  width: 100%;
  max-width: 320px; /* 大きすぎない上品なサイズ感 */
  height: auto;
  border-radius: 4px; /* ほんの少し角を丸めて柔らかさを出す */
  
  /* 写真のトーンをサイトに馴染ませる魔法のCSS */
  /* 彩度を少し落とし、コントラストを調整することで高級感が出ます */
  filter: grayscale(40%) contrast(1.1); 
  transition: filter 0.5s ease;
}
/* ホバー時に元の色に戻るさりげない演出 */
.portrait-wrapper:hover .portrait-image {
  filter: grayscale(0%) contrast(1);
}

/* --- 本文・段落 --- */
.message-body p {
  margin: 0 0 2em 0;
  color: #161616;
  font-size: 18px;
}
.message-body p.margin-large {
  margin-top: 3.5em; 
}

/* --- 署名 --- */
.signature-block {
  margin-top: 60px;
  margin-bottom: 80px;
  /* 全体は中央揃えですが、署名自体は右側に寄せるテクニック */
  display: flex;
  justify-content: flex-end; 
}
.signature-content {
  text-align: right;
}
.signature-title {
  font-size: 14px;
  color: #161616;
  margin: 0 0 5px 0;
  letter-spacing: 0.05em;
}
.signature-name {
  font-size: 22px;
  color: #161616;
  margin: 0;
  letter-spacing: 0.2em; /* 名前は字間を広くして威厳を出す */
}
@media(max-width: 768px) {
	.signature-name {
		font-size: 20px;
	}
}

/* --- 区切り線 --- */
.message-divider {
  border: none;
  border-top: 1px solid #e8e4df;
  margin: 80px 0;
}

/* --- アクションボタンエリア --- */
.action-area {
  text-align: center;
  margin-top: 60px;
}
.action-title {
  font-size: 18px;
  color: #555;
  margin-bottom: 30px;
  font-weight: normal;
  letter-spacing: 0.1em;
}

.button-group {
  display: flex;
  justify-content: center;
  gap: 20px; /* ボタン同士の間隔 */
}

/* ボタン共通設定 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 20px 40px;
  font-size: 18px;
  text-decoration: none;
  transition: all 0.3s ease;
  letter-spacing: 0.05em;
  /* ボタンの文字はスッキリと読みやすいゴシック体に */
  /*font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;*/
}

/* セカンダリボタン（入塾までの流れ）: 白抜き */
.btn-secondary {
  color: #333;
  background-color: #fff;
  border: 1px solid #ccc;
}
.btn-secondary:hover {
  border-color: #F0EDE5;
  background-color: #f9f9f9;
}

/* プライマリボタン（お問い合わせ）: 塗りつぶし */
.btn-primary {
  color: #fff;
  background-color: #397C76; /* 黒に近い墨色で引き締める */
  border: 1px solid #397C76;
}
.btn-primary:hover {
	opacity: 0.7;
  /*background-color: #F9F8F6;*/
  border-color: #F0EDE5;
}
.btn-primary .arrow {
  margin-left: 10px;
  transition: transform 0.3s ease;
}
.btn-primary:hover .arrow {
  transform: translateX(5px);
}

/* --- モバイル対応 --- */
@media (max-width: 768px) {
  .page-message { padding: 80px 20px; }
  .page-title { font-size: 24px; margin-bottom: 60px; }
  .portrait-image { max-width: 240px; }
  
  .button-group {
    flex-direction: column; /* スマホではボタンを縦並びに */
    gap: 15px;
  }
  .btn { width: 100%; box-sizing: border-box; } /* スマホでは横幅いっぱいに */
}


/* *************** */
/* 塾長メッセージ　丸く */
/* *************** */
/* --- 文章 --- */
.message-body {
	 letter-spacing: 0.06em/*0.08em*/; /* 文字間を少し狭めて文字間を細く（思想所感）する代用 */
}
/* --- ポートレート（顔写真） --- */
.portrait-wrapper {
  margin-bottom: 60px;
  display: flex;
  justify-content: center;
}

.portrait-image {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center center;
  
  /* --- ここからBorderの美しい設定 --- */
  /*border: 1px solid #F9F8F6;  サイトに馴染む、細く上品なベージュグレーの線 */
  padding: 6px; /* 写真と枠線の間に「8pxの余白」を作ります */
  background-color: #F0EDE5; /* 余白部分を白で塗りつぶし、フチ取り効果を出します */
  box-shadow: none; /* 影は完全に削除します */

  /* 写真のトーンをサイトに馴染ませるフィルタ */
  filter: grayscale(40%) contrast(1.1);
  transition: all 0.5s ease;
}

/* ホバー時の演出（影ではなく、線の色で変化をつけます） */
.portrait-wrapper:hover .portrait-image {
  filter: grayscale(0%) contrast(1);
  /* マウスを乗せると、枠線がスッと黒に近い色に引き締まります 
  border-color: #333333; */
}

/* --- モバイル対応の微調整 --- */
@media (max-width: 768px) {
  .portrait-image {
    width: 220px;
    height: 220px;
    padding: 6px; /* スマホでは白フチの余白も少し細くしてバランスを取ります */
  }
}

/* 塾名と役職名の間に余白をem（文字サイズを基準とした単位）で指定する */
.signature-line {
  font-size: 18px;
  color: #161616;
}
/* 余白をem（文字サイズを基準とした単位）で指定する */
.job-title {
  /* ここで右側に余白を作ります。1.5em = 1.5文字分の空白 */
  margin-right: 0.5em; 
}

.job-name {
  letter-spacing: 0.2em; /* 氏名自体の字間を少し広げて威厳を出す */
}

/* *************** */
/* 目次　テスト */
/* *************** */

/* --- さりげない目次（インデックス） --- */
.page-index {
  margin-bottom: 80px; /* 目次と本文の間にしっかり余白を取る */
}

.index-list {
  list-style: none;
  padding: 30px 40px;
  margin: 0;
  border-top: 1px solid #111; /* 上部に黒い細線を1本だけ引いて引き締める */
  border-bottom: 1px solid #e8e4df; /* 下部は薄いグレーで柔らかく */
}

.index-list li {
  margin-bottom: 15px;
}
.index-list li:last-child {
  margin-bottom: 0;
}

.index-list a {
  display: inline-block;
  color: #555; /* 真っ黒ではなく、少しトーンを落とした上品なグレー */
  text-decoration: none;
  font-size: 15px;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
}

/* 番号（01, 02...）のデザイン */
.index-list a span {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  color: #999;
  margin-right: 16px;
  letter-spacing: 0.1em;
}

/* ホバー時の美しいアクション */
.index-list a:hover {
  color: #111;
  transform: translateX(5px); /* スッと右に5px動いてクリックを促す */
}
.index-list a:hover span {
  color: #397C76; /* メインカラー（アクセントカラー） */
}

/* --- モバイル対応 --- */
@media (max-width: 768px) {
  .index-list {
    padding: 20px 8px;
    width: 100%;
    box-sizing: border-box;
  }
  .index-list a {
    font-size: 16px;/*変更前14px*/
    display: flex; /* スマホで長文になった時に番号とテキストを揃える */
  }
  .index-list a span {
    margin-right: 10px;
  }
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* 固定ヘッダーの高さ＋少しの余白分を指定 */
}


/* ************* */
/* 上へ戻るボタン */
/* ************* */
/* --- 控えめなPAGE TOPボタン --- */
.page-top-btn {
  position: fixed;
  right: 30px;
  bottom: 30px;
  width: 50px;
  height: 50px;
  background-color: #ffffff;
  border: 1px solid #d1c7bc; /* 上品なベージュグレーの線 */
  border-radius: 50%; /* 正円にする */
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  z-index: 100; /* 他の要素より手前に表示 */
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05); /* ほんのりとだけ影を落とす */
}

/* 上向きの繊細な矢印（画像を使わずCSSの線で描画します） */
.page-top-btn .arrow-up {
  width: 10px;
  height: 10px;
  border-top: 1px solid #555;
  border-left: 1px solid #555;
  transform: translateY(2px) rotate(45deg); /* ひし形を半分にして上矢印にする */
  transition: border-color 0.3s ease;
}

/* ホバー時の美しいアクション */
.page-top-btn:hover {
  background-color: #397C76;
  border-color: #397C76;
  transform: translateY(-3px); /* 少しだけフワッと浮き上がる */
}
.page-top-btn:hover .arrow-up {
  border-color: #ffffff; /* 矢印が白に反転 */
}

/* --- モバイル対応 --- */
@media (max-width: 768px) {
  .page-top-btn {
    right: 15px;
    bottom: 15px;
    width: 44px;
    height: 44px;
  }
}


/* *************** */
/* お問い合わせ　テスト */
/* *************** */


/* --- 全体設定（共通） --- */
.page-contact {
  background-color: #ffffff;
  padding: 120px 20px;
  color: #222;
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  letter-spacing: 0.08em;
}
.contact-container {
  max-width: 720px; /* フォームが横に広がりすぎないように制限 */
  margin: 0 auto;
}
.text-center { text-align: center; }
.text-center-block { text-align: center; }
.text-left-inline { display: inline-block; text-align: left; }

/* --- タイトル・導入文 --- */
.section-title-en {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  letter-spacing: 0.15em;
  color: #999;
  margin-bottom: 20px;
}
.page-title {
  font-size: 30px;
  font-weight: normal;
  text-align: center;
  margin-bottom: 60px;
  letter-spacing: 0.1em;
  color: #111;
}
.contact-intro {
  margin-bottom: 80px;
  line-height: 2.0;
  color: #444;
}

/* --- エレガントなフォーム設計 --- */
.elegant-form {
  background-color: #fcfbf9; /* 真っ白ではなく、極めて薄い温かみのある背景を敷く */
  padding: 60px 80px;
  border: 1px solid #e0d8d0; /* 上品な枠線 */
}

.form-group {
  margin-bottom: 40px;
}
.form-group:last-of-type {
  margin-bottom: 40px;/*修正前0*/
}

/* --- ラベル（見出し）とバッジ --- */
.form-label {
  display: flex;
  align-items: center;
  font-size: 18px;
  color: #111;
  margin-bottom: 15px;
  font-weight: bold;
}
.form-label .small-text {
	font-size: 13px;
}
.form-note {
  font-size: 16px;
  color: #666;
  margin: -5px 0 10px 0;
  line-height: 1.5;
}

/* 必須・任意バッジを上品に */
.badge-req, .badge-any {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 11px;
  padding: 3px 8px;
  margin-left: 15px;
  letter-spacing: 0.05em;
  font-weight: normal;
}
.badge-req {
  background-color: #111;
  color: #fff;
}
.badge-any {
  background-color: #e0d8d0;
  color: #555;
}

/* --- 入力フィールド（美しい枠線と余白） --- */
.form-control {
  width: 100%;
  box-sizing: border-box;
  padding: 18px 20px;
  font-size: 18px;
  color: #333;
  background-color: #fff;
  border: 1px solid #ccc; /* 基本は薄いグレー */
  border-radius: 0; /* 角丸をなくし、シャープで知的な印象に */
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif; /* 入力文字はゴシック体で読みやすく */
  transition: all 0.3s ease;
  appearance: none; /* デフォルトのスタイルをリセット */
}

/* プレースホルダー（例：山田太郎）の色を薄く */
.form-control::placeholder {
  color: #aaa;
}

/* 入力中（フォーカス時）の美しい変化 */
.form-control:focus {
  outline: none;
  border-color: #111; /* 枠線が黒くなり、入力箇所を明確にする */
  box-shadow: 0 0 0 1px #111; /* 枠線を少し太く見せる効果 */
  background-color: #fff;
}

.textarea-tall {
  height: 200px;
  resize: vertical; /* 縦方向のみリサイズ可能に */
  line-height: 1.8;
}

/* --- セレクトボックスの矢印カスタマイズ --- */
.select-wrapper {
  position: relative;
}
.select-wrapper::after {
  content: "▼";
  font-size: 13px;
  color: #999;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none; /* クリックの邪魔にならないように */
}

/* --- プライバシーポリシー同意（カスタムチェックボックス） --- */
.agreement-group {
  margin: 60px 0 40px 0;
}
.custom-checkbox {
  display: inline-flex;
  align-items: center;
  position: relative;
  padding-left: 35px;
  cursor: pointer;
  font-size: 18px;
  color: #333;
}
.custom-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}
/* 四角いチェックボックスの枠 */
.checkmark {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  height: 22px;
  width: 22px;
  background-color: #fff;
  border: 1px solid #ccc;
  transition: all 0.2s;
}
.custom-checkbox:hover input ~ .checkmark {
  border-color: #111;
}
.custom-checkbox input:checked ~ .checkmark {
  background-color: #111;
  border-color: #111;
}
/* チェックマーク（✓） */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
  left: 7px;
  top: 3px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.custom-checkbox input:checked ~ .checkmark:after {
  display: block;
}

.privacy-link {
  color: #111;
  text-decoration: underline;
}
.privacy-link:hover {
  text-decoration: none;
}

/* --- 送信ボタン --- */
.form-submit {
  margin-top: 40px;
}
.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 20px 30px;
  background-color: #111;
  color: #fff;
  font-size: 18px;
  border: 1px solid #111;
  cursor: pointer;
  font-family: "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0.1em;
  transition: all 0.3s ease;
}
.btn-submit:hover {
  background-color: #333;
  border-color: #333;
}
.btn-submit .arrow {
  margin-left: 15px;
  transition: transform 0.3s ease;
}
.btn-submit:hover .arrow {
  transform: translateX(5px);
}

/* --- モバイル対応 --- */
@media (max-width: 768px) {
  .page-contact { padding: 80px 15px; }
  .elegant-form { padding: 40px 10px; }
  .btn-submit { width: 100%; box-sizing: border-box; }
}
/* --- 注意事項エリア --- */
.contact-notes {
  background-color: #fcfbf9;
  border: 1px solid #d1c7bc;
  padding: 30px 40px;
  margin-bottom: 60px;
}
.notes-list p {
	font-size: 18px;
}
.notes-title {
  font-size: 18px;
  color: #111;
  margin: 0 0 15px 0;
  letter-spacing: 0.1em;
}
.notes-list {
  list-style: none;
  padding: 0 0 0 1.2em;
  margin: 0;
}
.notes-list li {
  position: relative;
  font-size: 18px;
  color: #444;
  line-height: 1.8;
  margin-bottom: 10px;
}
.notes-list li:last-child {
  margin-bottom: 0;
}
.notes-list li::before {
  content: "・";/*"※"*/
  position: absolute;
  left: -1.2em;
  color: #999;
}
.tel-link {
  color: #004098;
  text-decoration: none;
}
.tel-link:hover {
  text-decoration: underline;
}

/* --- プライバシーポリシーのスクロールボックス --- */
.privacy-policy-group {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid #e0d8d0; /* 上に区切り線を引いて独立させる */
}
.privacy-policy-hr {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #e0d8d0;
}

.privacy-scroll-box {
  height: 180px; /* ボックスの高さを固定 */
  overflow-y: scroll; /* 縦スクロールを有効にする */
  background-color: #ffffff;
  border: 1px solid #ccc;
  padding: 20px;
  margin-bottom: 25px;
}

/* Windows等の太いスクロールバーを細く上品にカスタマイズ（Webkit系ブラウザ用） */
.privacy-scroll-box::-webkit-scrollbar {
  width: 6px;
}
.privacy-scroll-box::-webkit-scrollbar-track {
  background: #f1f1f1;
}
.privacy-scroll-box::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 3px;
}
.privacy-scroll-box::-webkit-scrollbar-thumb:hover {
  background: #aaa;
}

.privacy-text {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: 18px; /* 少し小さめの文字で規約感を出す */
  color: #555;
  line-height: 1.8;
  margin: 0;
	margin-left: 16px;	
}
.privacy-text-contact {
	margin-left: 16px;
}
h4.privacy-h4-contact {
	letter-spacing: 0.1em;
}
.privacy-text strong {
  color: #333;
}
.privacy-text a,
.privacy-text-privacylink a {
  color: #111;
  text-decoration: underline;
}
.privacy-text-privacylink {
  font-size: 18px; /* 少し小さめの文字で規約感を出す */
	margin: 16px 8px 32px;
	text-align: center;
}

/* --- 同意チェックボックス周り --- */
.agreement-wrapper {
  margin-bottom: 20px;
}

/* (※ .custom-checkbox や .checkmark の設定は前回のコードをそのままお使いください) */

/* --- モバイル対応 --- */
@media (max-width: 768px) {
  .contact-notes {
    padding: 20px;
  }
  .privacy-scroll-box {
    height: 150px; /* スマホでは少し高さを抑える */
    padding: 15px;
  }
}


/* --- 「その他」の自由入力欄の初期状態とアニメーション --- */
.other-input-wrapper {
  display: none; /* 初期状態では完全に隠す */
  margin-top: 15px; /* セレクトボックスとの隙間 */
}

/* JSでこのクラスが付与されたら表示する */
.other-input-wrapper.is-active {
  display: block;
  animation: slide-down-fade 0.4s ease forwards;
}

/* フワッと降りてくる美しいアニメーション */
@keyframes slide-down-fade {
  0% {
    opacity: 0;
    transform: translateY(-10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- 動的に表示する項目の初期状態とアニメーション --- */
.hidden-input-wrapper {
  display: none; /* 初期状態では完全に隠す */
}

/* JSでこのクラスが付与されたら表示する */
.hidden-input-wrapper.is-active {
  display: block;
  animation: slide-down-fade 0.5s ease forwards;
}

/* 枠内の微調整 */
.margin-top-small {
  margin-top: 25px;
}

@keyframes slide-down-fade {
  0% {
    opacity: 0;
    transform: translateY(-15px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- エラー表示のデザイン --- */
/* 未入力だった入力欄の枠線を赤くする */
.form-control.is-error {
  border-color: #c0392b !important;
  background-color: #fdf5f5; /* 背景もほんのり赤くして気づきやすく */
}

/* エラーメッセージのテキスト */
.error-message {
  color: #c0392b;
  font-size: 13px;
  margin-top: 8px;
  font-family: "Helvetica Neue", Arial, sans-serif;
  animation: fade-in-error 0.3s ease forwards;
}

@keyframes fade-in-error {
  0% { opacity: 0; transform: translateY(-5px); }
  100% { opacity: 1; transform: translateY(0); }
}


/* --- さりげない目次（インデックス） --- */
.theory-index {
  margin-bottom: 80px;
}

.index-list {
  list-style: none;
  padding: 30px 40px;
  margin: 0;
  border-top: 1px solid #111;
  border-bottom: 1px solid #e8e4df;
	font-size: 18px;
}

.index-list li {
  margin-bottom: 20px; /* 少し行間を広げて上品に */
}
.index-list li:last-child {
  margin-bottom: 0;
}

/* PC表示：Flexboxで横並びにする */
.index-list a {
  display: flex;
  align-items: baseline; /* 文字の底辺（ベースライン）を綺麗に揃える */
  text-decoration: none;
  transition: all 0.3s ease;
}

/* SECTION-01 のデザイン */
.index-label {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 13px;
  color: #999;
  letter-spacing: 0.1em;
  margin-right: 20px; /* PCでは右側に余白を空ける */
  white-space: nowrap; /* SECTION-01 が途中で改行されるのを防ぐ */
  transition: color 0.3s ease;
}

/* 本文タイトルのデザイン */
.index-text {
  font-size: 18px;
  color: #555;
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
}

/* ホバー時の美しいアクション */
.index-list a:hover {
  transform: translateX(5px);
}
.index-list a:hover .index-label {
  color: #397C76; /* スクールカラーなどに変化 */
}
.index-list a:hover .index-text {
  color: #111;
}

/* --- モバイル対応（100%確実に2行にする安全な方法） --- */
@media (max-width: 768px) {
  .index-list {
    padding: 20px 8px;
    width: 100%;
    box-sizing: border-box;
  }
  
  .index-list a {
    /* Flexboxを解除し、通常のブロック要素に戻す */
    display: block; 
  }

  .index-label {
    /* SECTION部分をブロック要素にすることで、確実にここで「改行」させる */
    display: block; 
    margin-right: 0;
    margin-bottom: 4px; /* SECTIONとタイトルの間の隙間 */
    font-size: 12px;
  }

  .index-text {
    /* タイトル部分もブロック要素にする */
    display: block;
    font-size: 18px;/*変更前15px*/
    line-height: 1.5;
  }
}