@charset "utf-8";
/*
Theme Name: FreeSchool GENKAI
Description: フリースクール玄海 WordPressテーマ
Author: CUBIC-DESIGN
Version: 1.0
*/

/* ==========================================================================
   画面の表示に関するCSS（最上部）
   ========================================================================== */
* {
    margin: 0px;
    padding: 0px;
    text-decoration: none;
}

html,
body {
    width: 100%;
}

.clear_fix:after {
	 content:".";
	 display: block;
	 height: 0px;
	 clear: both;
	 line-height: 0;
	 visibility: hidden;
}

.clear {
	line-height: 0px;
	background-color: #00ffff;
	clear: both;
	height: 0px;
	visibility: hidden;
}

body {
	font-size: 16px;
	font-family: "M PLUS Rounded 1c", sans-serif;
	line-height: 1.8;
	margin: 0px;
	padding: 0px;
	/* ▼修正：1700px固定を廃止し、一般的なデスクトップ・ノートPCの最小幅（1200px）を設定 */
	min-width: 1200px;
	scrollbar-width: none;
}

/*body main {
	transform: rotate(0.001deg);
}*/

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

img {
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
	margin: 0px;
	padding: 0px;
	display: block;
}

a {
	text-decoration: none;
}
p {
    transform: rotate(0.03deg);
}

.left {
	float: left;
}

.right {
	float: right;
}

.center,
.aligncenter {
	margin-right: auto;
	margin-left: auto;
	text-align: center;
}

.align_center {
	text-align: center;
}

.align_left {
	text-align: left;
}

.align_right {
	text-align: right;
}

.wf-mplus1p {
	font-family: 'Open Sans', sans-serif;
}

/* ▼今回の条件（640px切り替え）に合わせたメディアクエリ */
@media screen and (min-width: 641px){	
  .br-pc { display:block; }
  .br-sp { display:none; }
  .pc_none { display:none; }
}

@media screen and (max-width: 640px){	
  .br-pc { display:none; }
  .br-sp { display:block; }
  .sp_none { display:none; }
}

b, strong {
   font-weight: normal;
}

i, em {
   font-style: normal;
}

.fadein {
    opacity: 0;
    transition: all 1.5s;
}

.fadein-left {
    transform: translate(-30px,0);
}

.fadein-right {
    transform: translate(30px,0);
}

.fadein-up {
    transform: translate(0,-30px);
}

.fadein-bottom {
    transform: translate(0,30px);
}

.scrollin {
    opacity: 1 !important;
}

/* ▼修正：ノートPCでも綺麗に収まるように、コンテンツ最大幅を1200px〜1300px前後に調整します */
.container{
    width: 1200px;
    max-width: 95%;
    margin: auto;
}

#top_arrow {
    position: fixed;
    bottom: 25px;
    right: 10px;
    z-index: 9999; /* 確実に最前面へ */
    cursor: pointer;
}

#top_arrow img {
    display: block;
    width: 61px;          
    height: auto;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

#top_arrow:hover img {
    transform: translateY(-10px);
    opacity: 0.8;
}

/***************************************************************
/*****ヘッダーのスタイル
/****************************************************************/

header{
	text-align: center;
	border-top-width: 9px;
	border-top-style: solid;
	border-top-color: #34399F;
}

.logo {
    position: fixed;
    top: 18px;
    left: 8%;
    z-index: 10001;
}

.logo h1 img {

}
/* --------------------------------------------------
   メニューバー（ナビゲーション）本体
-------------------------------------------------- */
.navbar {
    width: 100%;
    background-color: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(1px); /* 背景を少しぼかすと文字が見やすくなります（任意） */
    padding: 15px 0 0;
    padding-left: 40%;
    box-sizing: border-box;
}
.nav-list {
  display: flex;
  justify-content: center; /* 中央揃え */
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 40px; /* メニュー間の余白 */
}
nav.navbar {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    box-sizing: border-box;
    z-index: 10000;
}
.nav-item {
	padding-bottom:15px;
}
/* --------------------------------------------------
   各メニューリンクのスタイル
-------------------------------------------------- */
.nav-item a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #ffffff; /* 文字色：白 */
  position: relative;
  padding-bottom: 8px; /* 下線との余白 */
}

/* 英語テキスト */
.nav-item .en {
    font-size: 17px;
    font-weight: bold;
    letter-spacing: 0.05em;
    margin-bottom: 2px;
    font-family: "Noto Serif JP", serif;
}

/* 日本語テキスト */
.nav-item .ja {
  font-size: 12px;
  opacity: 0.8;
}

/* -----------------
グローバルメニュー 子メニュー
------------------*/

.nav-parent {
    position: relative;
}

.sub-nav-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    width: 180px;
    margin: 0;
    padding: 10px 0;
	border-radius: 10px;
    background-color: #34399F;
    transform: translateX(-50%);
    list-style: none;
    box-sizing: border-box;
    z-index: 10001;
}

.nav-parent:hover .sub-nav-list {
    display: block;
}

.sub-nav-item {
    width: 100%;
}

.sub-nav-item a {
    display: block;
    padding: 12px 15px;
    color: #fff;
    font-size: 14px;
    text-align: center;
    white-space: nowrap;
    transition: .3s;
}

.sub-nav-item a:hover {
    background-color: rgba(255,255,255,0.15);
}



/* --------------------------------------------------
   下線（スムーズなアニメーション）
-------------------------------------------------- */
/* すべてのアイテムに共通の疑似要素（下線の土台） */
.nav-item a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px; /* 線の太さ */
  background-color: #ffffff; /* 線の色：白 */
  transform: scaleX(0); /* 初期状態は幅をゼロに */
  transform-origin: center;
  transition: transform 0.3s ease; /* 0.3秒かけてスムーズに動く */
}

/* 現在地（HOME）の初期表示用スタイル */
.nav-item.active a::after {
  transform: scaleX(1);
}

/* マウスオーバー時のアニメーション挙動 */
.nav-item:hover a::after {
  transform: scaleX(1);
}

/* マウスオーバー時に他のアクティブ線の干渉を防ぐ（任意） */
.nav-list:hover .nav-item.active:not(:hover) a::after {
  transform: scaleX(0);
}







/* --------------------------------------------------
   右側の固定ボタン
-------------------------------------------------- */
.fix_button {
    position: fixed;
    z-index: 10;
    right: 0px;
    top: 120px;
    -webkit-transition: bottom .3s ease;
    transition: bottom .3s ease;
}

.fix_button_item {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    text-decoration: none;
    position: relative;
	transition: .3s;
	width: 87px;
}

.fix_button_item:hover {
	transform: translateX(-20px);
}

.fix_button_item img {
    position: relative;
    z-index: 1;
    -webkit-transform-origin: top;
    transform-origin: top;
    -webkit-transition: -webkit-transform .3s ease;
    transition: -webkit-transform .3s ease;
    transition: transform .3s ease;
    transition: transform .3s ease, -webkit-transform .3s ease;
}

.fix_button_item.fix_tel::before {
    background-color: #3E6B93;
}

.fix_button_item:not(:first-child)::before {
    content: "";
    width: 117px;
    height: 113px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    -webkit-transition: -webkit-transform .3s ease;
    transition: -webkit-transform .3s ease;
    transition: transform .2s ease;
    transition: transform .2s ease, -webkit-transform .3s ease;
}

.fix_button_item.fix_tel::before {
    content: "";
    width: 117px;
    height: 420px;
	overflow: hidden;
    position: absolute;
    top: 0px;
    left: 0;
    z-index: 0;
    -webkit-transition: -webkit-transform .3s ease;
    transition: -webkit-transform .3s ease;
    transition: transform .2s ease;
    transition: transform .2s ease, -webkit-transform .3s ease;
}

.fix_button_item.fix_tel img {
    width: 41px;
    height: 41px;
}

.fix_button_text {
    color: #fff;
	font-weight: bold;
    margin-top: min(.3846153846vw,.5rem);
    position: relative;
    z-index: 2;
    transition: margin-top .2s ease;
}

.fix_tel {
	height: 420px;
	font-size: 27px;
	color: #FFF;
	writing-mode: vertical-rl;
	box-sizing: border-box;
	align-content: flex-start!important;
	padding-top: 15px;
	letter-spacing: 4px;
}

.fix_contact {
	height: 113px;
	font-size: 15px;
	color: #FFF;
	padding-top: 13px;
	box-sizing: border-box;
}

.fix_line {
	height: 113px;
	font-size: 18px;
	color: #FFF;
	padding-top: 13px;
	box-sizing: border-box;
}

.fix_button_item.fix_tel::before {
    background-color: #34399F;
}

.fix_button_item.fix_contact::before {
    background-color: #2488C0;
}

.fix_button_item.fix_contact img {
    width: 39px;
    height: 29px;
}

.fix_button_item.fix_line::before {
    background-color: #06C755;
}

.fix_button_item.fix_line img {
    width: 46px;
    height: 47px;
}

.sp_menu_btn,
.sp_menu_overlay {
	display: none;
}

/* -----------------
HERO
------------------*/
body.home .eyecatch{
    /*height:970px;*/
    position:relative;
	margin-bottom: 88px;
}
body.home .eyecatch:after {
	content:"";
	display:block;
	position:absolute;
	bottom:-1px;
	width:100%;
	padding-top:3.74%;
	background-image:url(images/mainimage_wave.png);
	background-repeat:no-repeat;
	background-size:cover;
}
body.home .eyecatch > img {
	width:100%;
	height:auto;
}
body.home .eyecatch-message{
    position: absolute;
    width: 100%;
    top: 45%;
    text-align: center;
}

body.home .eyecatch-message h2{
	font-family: "Noto Serif JP", serif;
    font-size: 59px;
    font-weight: 700;
    line-height: 1.6;
    color: #FFFFFF;
    text-align: center;
    letter-spacing: 0rem;
	text-shadow:0 0 15px #000000;
}
body.home .eyecatch-message span {
    display: block;
    background-color: rgba(0,0,0,0.3);
    font-family: "Noto Serif JP", serif;
    font-size: 35px;
    letter-spacing: 0.2rem;
    font-weight: 300;
    line-height: 1;
    color: #FFFFFF;
    padding: 0.5rem;
    margin-top: 0.4rem;
}
body.home .eyecatch-message a {
    display: inline-block;
    background-color: #B8A76D;
    font-family: 'M PLUS Rounded 1c';
    font-size: 25px;
    letter-spacing: 0.1rem;
    font-weight: 300;
    line-height: 1;
    color: #FFFFFF;
    padding: 0.7rem  2rem;
    margin-top: 0.4rem;
    border-radius: 50px;
	box-shadow: 0px 2px 15px 1px rgba(255, 255, 255, 1);
	text-indent:0;
}

/* -----------------
TITLE
------------------*/
h2.section-title{
    font-family: "Noto Serif JP", serif;
    font-weight: 800 !important;
    font-size: 2.7rem;
	color:#3B3F74;
}
section:not(.intro-section) h2 {
	color:#33399F;
}
h2.section-title span {
	color:#33399F;
	font-size:1.3em;
}
/* -----------------
INTRODUCTION
------------------*/
.intro-section{
    max-width:1000px;
    margin: 120px auto 190px auto;
    padding:0 20px;
}

/* タイトル */
.intro-heading{
    text-align:center;
    position:relative;
    margin-bottom:70px;
}
.intro-heading::after{
    content: "";
    position: absolute;
    bottom: -10%;
    width: 100%;
    height: 1px;
    background: #34399F;
    right: 0; /* 記述をひとまとめに整理 */
}
/* 本文 */
.intro-text {
    max-width: 100%;
    line-height: 1.4;
    font-size:19px;
    color:#666;
    margin-bottom:30px;
}
.intro-text p{
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 28px;
    color: #444;
    transform: rotate(0.03deg);
}
/* -----------------
TOKUCHO
------------------*/
.tokucho-section{
    max-width:1200px;
    margin: 120px auto 145px auto;
    padding:0 20px;
	text-align:center;
}

/* タイトル */
.tokucho-heading{
    text-align:center;
    position:relative;
    margin-bottom:70px;
	display:inline-block;
	letter-spacing:1.2em;
	text-indent:1.2em;
}
.tokucho-heading::after{
    content: "";
    position: absolute;
    bottom: -10%;
    width: 60%;
    height: 3px;
    background: #34399F;
    left: 50%;
    transform: translate(-50%,0%);
}

/* 内容 */
.tokucho-box p {
	text-align:left;
}
.tokucho-list {
    display: flex;
    list-style: none;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
}
.tokucho-list li {
    width: 22%;
    display: flex;
    justify-content: center;
    flex-direction: column;
}
.tokucho-list li h3 {
    font-family: "Noto Serif JP", serif;
    font-weight: 800 !important;
    font-size: 2.3rem;
	color:#3B3F74;
	text-align:center;
}
.tokucho-link{
    display: inline-block;
    background-color: #B8A76D;
    font-family: 'M PLUS Rounded 1c';
    font-size: 25px;
    letter-spacing: 0.1rem;
    font-weight: 300;
    line-height: 1;
    color: #FFFFFF;
    padding: 0.7rem  2rem;
    border-radius: 50px;
	box-shadow: 0px 2px 15px 1px rgba(255, 255, 255, 1);
	margin-top:4rem;
}
/* -----------------
GREETING
------------------*/
.greeting-section{
	background-image:url(images/greeting_bg.png);
	background-repeat:no-repeat;
	background-position:center top;
	background-size:cover;
    padding:87px 0;
}
/* タイトル */
.greeting-content > h2.section-title{
	letter-spacing:0.2rem !important;
	text-indent:0 !important;
	position:relative;
}
.greeting-content > h2.section-title::after{
    content: "";
    position: absolute;
    bottom: 10%;
    width: 16%;
    height: 2px;
    background: #34399F;
    left: 0;
}
/* 挨拶文 */
.greeting-inner {
    width: 1200px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.profile-circle {
	width:35%;
	padding-top:3%;
}
.profile-circle img {
	width:100%;
	height:auto;
}
.greeting-content {
    width: 60%;
    background-color: rgb(255,255,255,0.5);
    padding: 0% 3%;
    box-sizing: border-box;
    border-radius: 20px;
}
.greeting-text p{
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 1.9rem;
    transform: rotate(0.03deg);
    color: #292e87;
}
.greeting-text p:first-child {
    margin-bottom: 0.7rem;	
    color: #292e87;
	font-weight:800;
}
.representative {
    color: #33399F;
    margin: 0.5rem 0rem 1rem 0rem;
    font-size: 1.2rem;
    transform: rotate(0.03deg);
}
.representative span {
	font-size:1.5rem;
	margin-left:1rem;
}
/* -----------------
NEWS
------------------*/
.news-section{
    max-width: 1000px;
    margin: 120px auto;
    padding: 0 20px;
    text-align: center;
}

/* タイトル */
.news-heading{
    text-align:center;
    position:relative;
    margin-bottom:70px;
	display:inline-block;
}

.news-heading > .section-title span::before{
    content: "";
    position: absolute;
    bottom: 30%;
    width: 60%;
    height: 3px;
    background: #34399F;
    left: 50%;
    transform: translate(-50%,0%);
}
.news-heading p{
    font-size:18px;
    color:#777;
    margin-top:10px;
}

/* 一覧 */
.news-item{
    display: grid;
    grid-template-columns: 100px
        230px
        1fr
        85px;
    align-items: center;
    gap: 10px;
    padding: 15px 0;
	transform: rotate(0.03deg);
	border-bottom:dotted 1px #CCCCCC;
}
.news-item time{
    color:#33399F;
    font-size:18px;
    letter-spacing:1px;
	
	font-family: "Antonio", sans-serif;
	font-optical-sizing: auto;
	font-weight: 600;
	font-style: normal;
}
.cat {
    background: #CDDCEF;
    text-align: center;
    padding: 3px 3px;
    font-size: 14px;
	border-radius: 20px;
}
.cat a{
    color:#000;
}
.cat.gennews{
    background:#F4D7EB;
}
.title{
    color: #444;
    font-size: 18px;
    transition: .3s;
    text-align: left;
}

.title:hover {
    color:#4d84c7;
}

.more {
    display: flex;
	align-items: center;
    background: #DDD;
    color: #444;
    padding: 1px 10px;
    transition: .3s;    
}

.more::after {
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 7px solid #333;
	margin-left: 8px;
}

.more:hover{
    background:#4d84c7;
    color:#fff;
}
.news-more{
    display: inline-block;
    background-color: #B8A76D;
    font-family: 'M PLUS Rounded 1c';
    font-size: 20px;
    letter-spacing: 0.1rem;
    font-weight: 300;
    line-height: 1;
    color: #FFFFFF;
    padding: 0.7rem  2.5rem;
    border-radius: 50px;
	box-shadow: 0px 2px 15px 1px rgba(255, 255, 255, 1);
	margin-top:4rem;
}
/* -----------------
POSSIBLE
------------------*/
.possible{
	background-image:url(images/dekirukoto_bg.png);
	background-repeat:no-repeat;
	background-position:center top;
	background-size:cover;
    color:#fff;
    padding:77px 0 70px;
	margin-bottom: 100px;
}
/* ▼修正：固定幅から可変幅（最大970px）に変更 */
.possible-inner{
    width: 100%;
    max-width: 970px;
    margin: auto;
    padding: 0 5%;
	position:relative;
}
/* タイトル */
.possible-title{
    text-align:center;
    color:#33399F;
	margin-bottom:65px;
}

.possible-title span{
    color:#3A3F73 !important;
	font-size:2.7rem !important;
}
/* リスト */
.possible-list{
    list-style:none;
	color:#129FB8;
    margin:0;
    padding:0;
}
.possible-list li{
    display: block;
    font-size: 24px;
    padding: 10px 19%;
    margin-bottom: 25px;
    margin-top: 25px;
    background-color: rgba(255,255,255,.5);
    border-radius: 60px;
	font-weight:700;
}
.possible-list li span {
	color:#135AB6;
}
.link_box {
	text-align:center;
}
.admissions_link {
    display: inline-block;
    background-color: #33399F;
    font-family: 'M PLUS Rounded 1c';
    font-size: 25px;
    letter-spacing: 0.1rem;
    font-weight: 300;
    line-height: 1;
    color: #FFFFFF;
    padding: 0.7rem  2.5rem;
    border-radius: 50px;
	box-shadow: 0px 2px 15px 1px rgba(255, 255, 255, 1);
	margin-top:4rem;
}
.possible_img01 {
	position:absolute;
	bottom:0;
	left:0;
	transform: translate(-30%, 55%);
}
.possible_img02 {
	position:absolute;
	bottom:0;
	right:0;
	transform: translate(30%, 55%);
}
.problem-btn:hover{
    background:#f7f7f7;
    transform:translateY(-3px);
}
/* -----------------
CONTENTS MENU
------------------*/
.contents_menu {
    width:100%;
    margin: 136px auto;
}
/* ==========================
   カードエリア
========================== */
.c_menu-grid {
    width: 100%;
    max-width: 1282px;
    margin: 0 auto;
    padding: 0 20px;
    /* ▼ここを修正：GridからFlexboxに変更します */
    display: flex;
    /* カードが3枚の時は両端揃え、2枚の時は中央に寄る魔法の設定です */
    justify-content: center; 
    gap: 6px;
}
/* 各カードの横幅が縮みすぎたり広がりすぎたりしないよう調整 */
.c_menu-grid .contents-card {
    /* 4枚の時と同じサイズ感（最大幅）を維持します */
    width: calc((100% - 20px) / 4); 
    min-width: 280px; /* 崩れ防止の最小幅 */
}
/* ==========================
   カード
========================== */
.menu-card{
    display:flex;
    flex-direction:column;
    transition:.3s; /* 共通化のためここに集約 */
}
.menu-card-top{
	background: #34399F;
	border-radius: 25px;
	padding: 7px 7px;
	text-align: center;
	border: 1px solid #CCC;
    transition: .3s;  
}
.menu-card-top_imgbox {
   margin:0 auto 13px;
   overflow:hidden;
   border-radius:25px;
}
.menu-card-top img{
	width:100%;
    height:auto;
 }
.menu-card-top h3{
    position:relative;
    display:inline-block;
    font-size:28px;
    font-weight:600;
	letter-spacing: 2px;
    color:#FFF;
    z-index:1;
	line-height:1.5rem;
}
.menu-card-top h3 span{
    color:#1ACAE9;
    font-size:14px;
    letter-spacing:1px;
	font-family: "Antonio", sans-serif;
	font-optical-sizing: auto;
	font-weight: 500;
	font-style: normal;
	display:block;
	line-height: 1.5rem;
}
/* ==========================
   ホバー
========================== */
.menu-card-top:hover{
    transform:translateY(-8px);
}

.menu-card-top:hover .menu-card-top{
    box-shadow: 0 15px 30px rgba(0,0,0,.08);
}

/* -----------------
ACCESS
------------------*/
.access-section{
	background: #ECF3F9;
	padding-top: 70px;
	padding-right: 0;
	padding-bottom: 47px;
	padding-left: 0;
	margin-bottom: 144px;
	text-align:center;
}

/* タイトル */
.access-heading{
    text-align:center;
    position:relative;
    margin-bottom:70px;
	display:inline-block;
}

.access-heading > .section-title span::before{
    content: "";
    position: absolute;
    bottom: 30%;
    width: 60%;
    height: 3px;
    background: #34399F;
    left: 50%;
    transform: translate(-50%,0%);
}
.access-heading p{
    font-size:18px;
    color:#777;
    margin-top:10px;
}







/* 下ボタン */
.access-bottom{
    text-align:center;
    margin-top:47px;
}

.access-btn{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 240px;
	height: 59px;
	border-radius: 999px;
	background: #FFF;
	color: #528DC4;
	position: relative;
	font-size: 18px;
	padding-right: 40px;
	padding-left: 40px;
	transition: .3s;
}

.access-btn:hover{
	background: #DDD;
}

.access-btn::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translate(0,-50%);
    background-image: url(images/access_yazirushi.png);
    background-repeat: no-repeat;
    background-position: center center;
    height: 11px;
    width: 17px;
}

.access-section iframe{
    width:100%;
    height:400px;
    border:none;
}

/* -----------------
FOOTER
------------------*/

.footer{
	margin-top: 0;
	background: #34399F;
	box-sizing: border-box;
	width: 100%;
	padding-top: 30px;
}

.sp_fix_nav {
	display: none;
}
/* =====================
   FOOTER 上段
===================== */
.footer-top{
	color: #fff;
	display: grid;
	grid-template-columns: 2fr 1fr 0.7fr;
	gap: 40px;
	align-items: start;
	/* ▼修正：1526px固定を廃止し、ノートPCでもはみ出さない可変（最大1200px〜1350px）に変更 */
	width: 100%;
	max-width: 1350px;
	margin-bottom: 30px;
	margin-right: auto;
	margin-left: auto;
	padding: 0 20px; /* 画面端の衝突を防ぐ余白を追加 */
}

.footer-info {
    padding: 20px;
    max-height: 220px;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
}
.footer-info h2{
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,.5);
    padding-bottom: 15px;
    width: 100%;
}
.footer-info h2 img {
	display:inline-block;
	margin-right:0.5rem;
}
.footer-info h2 a {
	color:#FFFFFF;
	transition: .3s;
}
.footer-info h2 a:hover {
	opacity:0.8;
}
.footer-address {
    display: flex;
    line-height: 1.4;
    align-items: center;
    width: 286px;
    font-size: 15px;
    padding-left: 4px;
    gap: 15px;
}

.footer-parking{
    display:flex;
    align-items:center;
    gap:10px;
}

.parking-icon {
	width: 28px;
	height: 30px;
	border: 3px double #528FC4;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 4px;
	color: #528FC4;
	background-color: #FFF;
	box-sizing: border-box;
	font-size: 22px;
	font-weight: bold;
}

/* =====================
   中央
===================== */

.footer-contact{
	border: 1px solid rgba(255,255,255,.8);
	border-radius: 25px;
	padding: 17px;
	text-align: center;
	width: 423px;
	box-sizing: border-box;
}

.contact-title{
    font-size:20px;
}

/* =====================
   バナーエリア
===================== */

.footer-banner ul{
    width:100%;
	display:block;
	margin:0px;
}
.footer-banner li {
	margin-bottom:0.5rem;
	list-style:none;
}
.footer-banner li a img {
	transition: transform .6s ease; /* ゆっくり変化させる */
}
.footer-banner li a img:hover {
	transform:scale(1.05);
}

/* =====================
   下段
===================== */

.footer-nav-wrap{
	background: #FFF;
	text-align: center;
	padding-top: 14px;
	padding-right: 20px;
	padding-bottom: 16px;
	padding-left: 20px;
}

.footer-nav{
    max-width:1350px;
    margin:0 auto 50px;
    padding:0;
    list-style:none;
    display:flex;
    justify-content:space-around;
    align-items:center;
}

.footer-nav li{
    flex:1;
}

.footer-nav a{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:12px;
    text-decoration:none;
    color:#666;
    transition:.3s;
}

.footer-nav a:hover{
    opacity:.7;
}

.footer-nav img{
    max-width:52px;
    max-height:53px;
    flex-shrink:0;
}

.footer-nav span{
    font-size:14px;
    white-space:nowrap;
}

.copyright{
    font-size:12px;
    color:#31628E;
}

/* ==========================================================================
   中央（お問い合わせエリア）のホバーアクション追加
   ========================================================================== */

/* 電話ボタン（初期設定の微調整とアニメーションの準備） */
.footer-tel {
    font-family: 'Noto Sans JP', sans-serif;
    color: #FFF;
    font-size: 39px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    text-decoration: none; 
    transition: transform 0.3s ease, opacity 0.3s ease; 
}

/* 電話ボタンホバー時 */
.footer-tel:hover {
    transform: translateY(-3px);
    opacity: 0.85;
}

/* LINEボタン */
.line-btn {
    display: flex;
    background: #f4f4f4;
    color: #5d93c9;
    text-decoration: none;
    border-radius: 12px;
    font-size: 22px;
    font-weight: bold;
    justify-content: space-evenly;
    align-items: center;
    padding: 18px 50px 18px 20px; 
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease; 
}

/* LINEボタンホバー時 */
.line-btn:hover {
    background-color: #06C755; 
    color: #FFF;                
    transform: translateY(-3px); 
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); 
}

/* LINEボタンホバー時に中のアイコンを白に反転 */
.line-btn:hover img {
    filter: brightness(0) invert(1); 
}

/* ==========================================================================
   下段（ナビゲーションメニュー）のホバーアクション最適化
   ========================================================================== */

/* ナビゲーションのaタグの初期設定 */
.footer-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-decoration: none;
    color: #666;
    transition: transform 0.3s ease, color 0.3s ease; 
}

/* ナビゲーションホバー時 */
.footer-nav a:hover {
    opacity: 1;                 
    transform: translateY(-3px); 
    color: #5d93c9;             
}






/* ==========================================================================
   学園の特徴
   ========================================================================== */


/* -----------------
SUB PAGE HERO
------------------*/

.sub_eyecatch {
    position: relative;
    width: 100%;
    height: 440px;
    overflow: hidden;
}

.sub_eyecatch > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sub_eyecatch-message {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    text-align: center;
}

.sub_eyecatch-message:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 105px;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.35);
}

.sub_eyecatch-message h2 {
    position: relative;
    z-index: 1;
    color: #fff !important;
    font-family: "Noto Serif JP", serif;
    font-size: 2.7rem;
    font-weight: 800;
    line-height: 1.4;
    text-shadow: 2px 2px 3px rgba(0,0,0,0.6);
}

.sub_eyecatch-message h2 span {
    display: block;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: 0.05em;
}


/* 波型 */

.sub_eyecatch-wave {
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 110px;
    z-index: 2;
    line-height: 0;
}

.sub_eyecatch-wave svg {
    display: block;
    width: 100%;
    height: 100%;
}

.sub_eyecatch-wave path {
    fill: #fff;
}


/* -----------------
BREADCRUMB
------------------*/

.breadcrumb {
    position: relative;
    z-index: 2;
    padding-top: 15px;
    padding-bottom: 65px;
    font-size: 11px;
    color: #888;
}

.breadcrumb a {
    color: #888;
}

.breadcrumb-logo {
    display: inline-block;
    margin-right: 4px;
    color: #34399F;
    font-size: 16px;
    font-weight: 700;
}

.breadcrumb-arrow {
    margin: 0 10px;
    color: #bbb;
}


/* -----------------
CHARACTERISTICS INTRO
------------------*/

.characteristics-intro {
    position: relative;
    overflow: hidden;
    padding: 35px 0 125px;
    background:
        radial-gradient(circle at 5% 48%, rgba(255,255,255,0.75) 0px, rgba(255,255,255,0.75) 65px, transparent 66px),
        radial-gradient(circle at 13% 73%, rgba(255,255,255,0.7) 0px, rgba(255,255,255,0.7) 75px, transparent 76px),
        radial-gradient(circle at 87% 68%, rgba(255,255,255,0.7) 0px, rgba(255,255,255,0.7) 75px, transparent 76px),
        radial-gradient(circle at 96% 45%, rgba(255,255,255,0.8) 0px, rgba(255,255,255,0.8) 45px, transparent 46px),
        linear-gradient(to bottom, #fffdf7 0%, #fff5da 55%, #fff 100%);
}

.characteristics-intro-inner {
    width: 1100px;
    max-width: 90%;
    margin: 0 auto;
}

.characteristics-intro-inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 55px;
}


/* 本文 */

.characteristics-intro-text {
    width: calc(100% - 365px);
    padding-top: 8px;
}

.characteristics-intro-text p {
    margin-bottom: 10px;
    color: #754615;
    font-family: "Noto Serif JP", serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 2;
    letter-spacing: 0.03em;
}


/* 写真 */

.characteristics-intro-image {
    width: 315px;
    flex-shrink: 0;
}

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


/* -----------------
PHILOSOPHY
------------------*/

.philosophy-section {
    padding: 115px 0 115px;
    background-color: #fff;
}

.philosophy-inner {
    width: 950px;
    max-width: 90%;
    margin: 0 auto;
}


/* -----------------
SUB SECTION TITLE
------------------*/

.sub-section-title {
    margin-bottom: 80px;
    text-align: center;
}

.sub-section-title h2 {
    display: inline-block;
    color: #34399F;
    font-family: "Noto Serif JP", serif;
    font-size: 2.7rem;
    font-weight: 700;
    line-height: 1.3;
}

.sub-section-title h2 span {
    display: block;
    width: fit-content;
    margin: 10px auto 0;
    padding-top: 7px;
    border-top: 2px solid #34399F;
    color: #888;
    font-family: "M PLUS Rounded 1c", sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.5;
}


/* -----------------
PHILOSOPHY CONTENT
------------------*/

.philosophy-block h3 {
    margin-bottom: 20px;
    color: #3B3F74;
    font-family: "Noto Serif JP", serif;
    font-size: 1.65rem;
    font-weight: 700;
}

.philosophy-block p,
.philosophy-message p {
    color: #444;
    font-size: 16px;
    line-height: 2;
    letter-spacing: 0.02em;
}

.philosophy-block p {
    margin-bottom: 28px;
}


/* 区切り */

.philosophy-line {
    width: 100%;
    margin: 35px 0 60px;
    border-top: 1px dotted #6f8ed1;
}


/* 人生は美しく、意味がある */

.philosophy-message {
    text-align: left;
}

.philosophy-message h3 {
    margin-bottom: 28px;
    color: #3B3F74;
    font-family: "Noto Serif JP", serif;
    font-size: 1.7rem;
    font-weight: 700;
    text-align: center;
}

.philosophy-message p {
    margin-bottom: 5px;
}


/* -----------------
PARENTING
------------------*/

.parenting-section {
    padding: 105px 0 130px;
    background-color: #fff;
}

.parenting-inner {
    width: 950px;
    max-width: 90%;
    margin: 0 auto;
}

.parenting-section .sub-section-title {
    margin-bottom: 45px;
}

.parenting-section .sub-section-title h2 span {
    border-top: none;
    padding-top: 0px;
    font-size: 0.75rem;
}


/* -----------------
PARENTING ITEM
------------------*/

.parenting-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    width: 100%;
    margin-bottom: 10px;
    padding: 7px 15px 15px 10px;
    box-sizing: border-box;
    border: 1px solid #9ed6f3;
    border-radius: 5px;
    background-color: #f1f9fd;
}


/* 番号 */

.parenting-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    flex-shrink: 0;
    margin-right: 10px;
    border-radius: 4px;
    background-color: #3c80c9;
    color: #fff;
    font-family: "Noto Serif JP", serif;
    font-size: 21px;
    font-weight: 700;
    line-height: 1;
}


/* 内容 */

.parenting-content {
    flex: 1;
    padding-top: 2px;
}

.parenting-content h3 {
    margin-bottom: 6px;
    color: #2671b9;
    font-family: "Noto Serif JP", serif;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.6;
}

.parenting-content p {
    margin-bottom: 3px;
    color: #666;
    font-size: 13px;
    line-height: 1.75;
    letter-spacing: 0.01em;
}




/* ==========================================================================
   学園紹介
   ========================================================================== */

.school_page .sub-section-title {
    text-align: center;
    margin-bottom: 70px;
}

.school_page .sub-section-title h2 {
    position: relative;
    color: #34399F;
    font-family: "Noto Serif JP", serif;
    font-size: 46px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.03em;
    margin-bottom: 18px;
    padding-bottom: 18px;
}

.school_page .sub-section-title h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 80px;
    height: 2px;
    background-color: #34399F;
    transform: translateX(-50%);
}

.school_page .sub-section-title span {
    display: block;
    color: #777;
    font-size: 15px;
    line-height: 1.5;
}


/* --------------------------------------------------
   GREETING
-------------------------------------------------- */

.school-greeting {
    position: relative;
    padding: 70px 0 120px;
    overflow: hidden;
    background-image: url("images/greeting_wave.png");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}


.school-greeting .container {
    position: relative;
    z-index: 1;
}

.school-greeting-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 1000px;
    max-width: 100%;
    margin: 0 auto 45px;
}

.school-greeting-photo {
    width: 320px;
    text-align: center;
    flex-shrink: 0;
}

.school-greeting-photo img {
    width: 320px;
    height: 320px;
    margin: 0 auto 18px;
    border: 6px solid #fff;
    border-radius: 50%;
    object-fit: cover;
    box-sizing: border-box;
}

.school-greeting-photo p {
    color: #333;
    font-family: "Noto Serif JP", serif;
    font-size: 14px;
    text-align: center;
}

.school-greeting-photo strong {
    margin-left: 10px;
    font-size: 18px;
    font-weight: 600;
}

.school-greeting-message {
    width: 650px;
}

.school-greeting-message h3 {
    color: #3B3F74;
    font-family: "Noto Serif JP", serif;
    font-size: 25px;
    font-weight: 800;
    line-height: 1.7;
    letter-spacing: 0.04em;
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid #777BB5;
}

.school-greeting-message p {
    color: #333;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.school-greeting-text {
    width: 1000px;
    max-width: 100%;
    margin: 0 auto;
}

.school-greeting-text p {
    color: #333;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 18px;
}


/* --------------------------------------------------
   PROFILE
-------------------------------------------------- */

.school-profile {
    padding: 90px 0 110px;
    background-color: #fff;
}

.school-profile-inner {
    width: 1000px;
    max-width: 100%;
    margin: 0 auto;
}

.school-profile-lead {
    color: #444;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 40px;
}

.school-profile-list {
    width: 100%;
}

.school-profile-list dl {
    display: flex;
    width: 100%;
    margin-bottom: 10px;
}

.school-profile-list dt,
.school-profile-list dd {
    box-sizing: border-box;
}

.school-profile-list dt {
    width: 260px;
    padding: 8px 20px;
    color: #34399F;
    background-color: #F0FAFD;
    border-left: 5px solid #34399F;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
}

.school-profile-list dd {
    width: calc(100% - 270px);
    margin-left: 10px;
    padding: 8px 20px;
    color: #555;
    background-color: #F7F7F7;
    font-size: 17px;
    line-height: 1.5;
}


/* --------------------------------------------------
   HISTORY
-------------------------------------------------- */

.school-history {
    padding: 90px 0 120px;
    background-color: #fff;
}

.school-history-list {
    position: relative;
    width: 850px;
    max-width: 100%;
    margin: 0 auto;
}

.school-history-list::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 180px;
    border-left: 2px dotted #A7B1DC;
}

.school-history-item {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 50px;
    margin-bottom: 10px;
}

.school-history-year {
    width: 160px;
    padding-right: 40px;
    color: #009BC2;
    font-size: 16px;
    font-weight: 500;
    text-align: left;
    box-sizing: border-box;
    flex-shrink: 0;
}

.school-history-point {
    position: relative;
    width: 50px;
    height: 100%;
    flex-shrink: 0;
}

.school-history-point::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 20px;
    width: 10px;
    height: 10px;
    background-color: #34399F;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.school-history-content {
    width: calc(100% - 210px);
    min-height: 42px;
    padding: 8px 18px;
    color: #555;
    background-color: #F0FAFD;
    font-size: 14px;
    line-height: 1.5;
    box-sizing: border-box;
}


/* --------------------------------------------------
   ACCESS
-------------------------------------------------- */

.school-access {
    padding: 90px 0 120px;
    background-color: #fff;
}

.school-access-map {
    width: 1000px;
    max-width: 100%;
    height: 500px;
    margin: 0 auto;
}

.school-access-map iframe {
    display: block;
    width: 100%;
    height: 500px;
    border: 0;
}


/* --------------------------------------------------
   MEMBER
-------------------------------------------------- */

.school-member {
    padding: 90px 0 130px;
    background-color: #fff;
}

.school_page .member-title h2 {
    color: #A82A98;
}

.school_page .member-title h2::after {
    background-color: #A82A98;
}

.school-member-inner {
    width: 850px;
    max-width: 100%;
    margin: 0 auto;
}

.school-member-lead {
    color: #333;
    font-size: 16px;
    line-height: 1.8;
    text-align: center;
    margin-bottom: 55px;
}

.school-member-lead a {
    color: #009BC2;
}

.school-member-list {
    width: 740px;
    max-width: 100%;
    margin: 0 auto 70px;
}

.school-member-list dl {
    display: flex;
    width: 100%;
    margin-bottom: 8px;
}

.school-member-list dt,
.school-member-list dd {
    box-sizing: border-box;
}

.school-member-list dt {
    width: 280px;
    padding: 8px 20px;
    color: #fff;
    background-color: #A82A98;
    font-family: "Noto Serif JP", serif;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.5;
    text-align: center;
}

.school-member-list dd {
    width: calc(100% - 288px);
    margin-left: 8px;
    padding: 8px 35px;
    color: #333;
    background-color: #F0F0F0;
    font-family: "Noto Serif JP", serif;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.5;
}

.school-member-button {
    text-align: center;
}

.school-member-button a {
    display: inline-block;
    width: 310px;
    padding: 12px 20px;
    color: #A82A98;
    background-color: #fff;
    border: 1px solid #A82A98;
    font-size: 16px;
    text-align: center;
    box-sizing: border-box;
    transition: 0.3s;
}

.school-member-button a:hover {
    color: #fff;
    background-color: #A82A98;
}


/* --------------------------------------------------
   /学園紹介
-------------------------------------------------- */

/* ==========================================================================
   入園案内（frequently.html）
   ========================================================================== */

.admission-inner {
    width: 1100px;
    max-width: 90%;
    margin: 0 auto;
}

.admission-requirements {
    padding: 20px 0 0;
}

.admission-bar-title {
    padding: 5px 15px;
    border-radius: 5px;
    background-color: #34399F;
    color: #fff !important;
    font-family: "Noto Serif JP", serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.6;
    text-align: center;
}

.admission-notice {
    margin-top: 20px;
    padding: 4px 15px;
    border-radius: 5px;
    background-color: #ed3c06;
    color: #fff;
    font-size: 16px;
    line-height: 1.7;
    text-align: center;
}

.admission-block {
    margin-top: 65px;
}

.admission-separated {
    margin-top: 85px;
    padding-top: 24px;
    border-top: 1px dotted #a8aee3;
}

.admission-heading {
    margin-bottom: 28px;
    color: #3B3F74;
    font-family: "Noto Serif JP", serif;
    font-size: 23px;
    font-weight: 700;
    text-align: center;
}

.admission-table-scroll {
    width: 100%;
    overflow-x: auto;
}

.admission-table {
    width: 100%;
    border-collapse: collapse;
    color: #444;
    font-size: 16px;
    line-height: 1.65;
}

.admission-table th,
.admission-table td {
    padding: 11px 12px;
    border: 1px solid #c9c9c9;
    font-weight: 400;
}

.admission-table thead tr:not(.admission-table-caption) th {
    background-color: #f0f9fc;
    font-size: 16px;
    text-align: center;
}

.admission-table .admission-table-caption th {
    padding: 7px 10px;
    background-color: #3B3F74;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
}

.admission-table thead tr:not(.admission-table-caption) .admission-total-heading,
.admission-bank-table thead tr th {
    background-color: #aee1ee;
}

.admission-table .admission-total {
    background-color: #ffffbb;
}

.admission-course-table th:nth-child(1) { width: 26%; }
.admission-course-table th:nth-child(2) { width: 48%; }
.admission-course-table th:nth-child(3) { width: 26%; }
.admission-course-table td:nth-child(2),
.admission-course-table td:nth-child(3) { text-align: center; }

.admission-fees-table { table-layout: fixed; }
.admission-fees-table td:not(:first-child),
.admission-plan-table td:not(:first-child) { text-align: right; }
.admission-fees-table td:first-child { text-align: center; }
.admission-table small { font-size: 13px; }
.admission-plan-table th:first-child { width: 24%; }

.admission-notes {
    margin: 20px 10px 0;
    color: #07529e;
    font-size: 14px;
    line-height: 1.85;
}

.admission-description {
    padding: 0 50px;
    color: #777;
    font-size: 16px;
    line-height: 1.9;
}

.admission-description .admission-emphasis {
    margin-bottom: 12px;
    color: #2982c4;
    font-family: "Noto Serif JP", serif;
    font-size: 20px;
    font-weight: 700;
}

.admission-fee-information {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 50px;
}

.admission-fee-information .admission-notes {
    flex: 1;
}
/* --------------------------------------------------
   入園案内 教育ローンバナー
-------------------------------------------------- */
.admission-loan-banners {
    width: 260px;
    flex-shrink: 0;
    margin-top: 22px;
}

.admission-loan-banners {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.admission-loan-banners a {
    display: block;
    line-height: 0;
}

.admission-loan-banners img {
    display: block;
    width: 100%;
    height: auto;
}

.admission-loan-placeholder {
    margin-bottom: 5px;
    padding: 7px;
    border: 1px solid #bbb;
    color: #555;
    font-size: 14px;
    text-align: center;
}

.admission-monthly-table td:first-child { width: 45%; }
.admission-monthly-table td:last-child { text-align: right; }

.admission-transfer {
    padding-top: 100px;
}

.admission-transfer .admission-bar-title,
.admission-trial .admission-bar-title {
    margin-bottom: 28px;
}

.admission-bank-table thead th {
    padding: 8px 10px;
    background-color: #aee1ee;
    text-align: center;
}

.admission-bank-table tbody th {
    width: 24%;
    background-color: #f0f9fc;
    text-align: center;
}

.admission-bank-table tbody td {
    padding-left: 25px;
}

.admission-trial {
    padding: 100px 0 110px;
}

.admission-trial-box {
    padding: 8px 20px;
    border: 1px solid #9ed6f3;
    border-radius: 5px;
    background-color: #f1f9fd;
}

.admission-trial-box dl {
    display: flex;
    align-items: stretch;
    border-bottom: 1px solid #9ed6f3;
}

.admission-trial-box dl:last-child { border-bottom: 0; }
.admission-trial-box dt,
.admission-trial-box dd { padding: 15px 20px;
    font-size: 16px;
    line-height: 1.8; }
.admission-trial-box dt {
    width: 145px;
    flex-shrink: 0;
    border-right: 1px solid #9ed6f3;
    box-sizing: border-box;
    text-align: center;
}
.admission-trial-box dd { flex: 1; }
.admission-prohibited { color: #f33; }

.admission-trial-description {
    margin: 28px 22px 0;
    color: #777;
    font-size: 16px;
    line-height: 1.95;
}

.admission-trial-description p { margin-bottom: 22px; }

.admission-contact-button {
    margin-top: 55px;
    text-align: center;
}

.admission-contact-button a {
    display: inline-block;
    padding: 6px 22px;
    border-radius: 30px;
    background-color: #34399F;
    color: #fff;
    font-size: 16px;
    transition: opacity .3s;
}

.admission-contact-button a:hover { opacity: .75; }

/* --------------------------------------------------
   ADMISSION TABLE TITLE（PC/SP共通）
-------------------------------------------------- */
.admission-table-title {
    width: 100%;
    box-sizing: border-box;
    padding: 7px 10px;
    border: 1px solid #c9c9c9;
    border-bottom: 0;
    background-color: #3B3F74;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
}


/* --------------------------------------------------
    EDUCATION LOAN BANNER PC
-------------------------------------------------- */
.admission-fee-information {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    width: 100%;
    margin-bottom: 50px;
    box-sizing: border-box;
}

.admission-fee-information .admission-notes {
    flex: 1 1 0;
    min-width: 0;
}

.admission-fee-information .admission-loan-banners {
    flex: 0 0 360px;
    width: 360px;
    max-width: 100%;
    min-width: 0;
    margin-top: 22px;
}

.admission-fee-information .admission-loan-banners a {
    display: block;
    margin-bottom: 8px;
}

.admission-fee-information .admission-loan-banners a:last-child {
    margin-bottom: 0;
}

.admission-fee-information .admission-loan-banners img {
    display: block;
    width: 100%;
    height: auto;
}


/* ==========================================================================
   CURRICULUM PAGE
   ========================================================================== */

/* -----------------
COMMON
------------------*/
.curriculum_page .curriculum-section {
    width: 100%;
    box-sizing: border-box;
}

.curriculum_page .curriculum-inner {
    width: 1100px;
    max-width: 90%;
    margin: 0 auto;
}

.curriculum_page .curriculum-section-heading {
    text-align: center;
    margin-bottom: 70px;
}

.curriculum_page .curriculum-section-heading h2 {
    color: #34399F;
    font-family: "Noto Serif JP", serif;
    font-size: 38px;
    font-weight: 700;
    line-height: 1.3;
}

.curriculum_page .curriculum-section-heading span {
    display: inline-block;
    border-top: 2px solid #34399F;
    padding-top: 5px;
    margin-top: 8px;
    color: #888;
    font-size: 13px;
}

/* -----------------
DAILY SCHEDULE
------------------*/
.curriculum_page .curriculum-daily {
    margin: 45px auto 130px;
}

.curriculum_page .curriculum-daily-layout,
.curriculum_page .curriculum-annual-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 50px;
    align-items: start;
}

.curriculum_page .curriculum-daily-item {
    display: flex;
    align-items: center;
    gap: 22px;
    min-height: 40px;
    margin-bottom: 2px;
    font-size: 15px;
}

.curriculum_page .curriculum-daily-time {
    position: relative;
    flex: 0 0 145px;
    padding: 3px 6px;
    border-radius: 4px 0 0 4px;
    box-sizing: border-box;
    background: #ff7c80;
    color: #fff;
    font-family: "Noto Serif JP", serif;
    font-size: 17px;
    font-weight: 700;
    text-align: center;
    line-height: 1.6;
}

.curriculum_page .curriculum-daily-time::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translateY(-50%);
    border-top: 9px solid transparent;
    border-bottom: 9px solid transparent;
    border-left: 10px solid #ff7c80;
}

.curriculum_page .curriculum-daily-item.afternoon .curriculum-daily-time {
    background: #e88629;
}

.curriculum_page .curriculum-daily-item.afternoon .curriculum-daily-time::after {
    border-left-color: #e88629;
}

.curriculum_page .curriculum-daily-item.evening .curriculum-daily-time {
    background: #4b4ec7;
}

.curriculum_page .curriculum-daily-item.evening .curriculum-daily-time::after {
    border-left-color: #4b4ec7;
}

.curriculum_page .curriculum-daily-text {
    min-width: 0;
}

/* Plugin insertion area: no slider internals are styled here */
.curriculum_page .curriculum-slider-area {
    width: 100%;
    min-height: 245px;
    margin-bottom: 55px;
    box-sizing: border-box;
}

/* -----------------
WEEKLY SCHEDULE
------------------*/
.curriculum_page .curriculum-weekly {
    margin: 0 auto 130px;
}

.curriculum_page .curriculum-weekly-scroll {
    overflow-x: auto;
    max-width: 100%;
}

.curriculum_page .curriculum-weekly-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 4px;
    table-layout: fixed;
    text-align: center;
    font-family: "Noto Serif JP", serif;
    font-size: 13px;
    font-weight: 700;
}

.curriculum_page .curriculum-weekly-table th,
.curriculum_page .curriculum-weekly-table td {
    padding: 7px 3px;
    line-height: 1.4;
    border-radius: 3px;
}

.curriculum_page .curriculum-weekly-table thead th,
.curriculum_page .curriculum-weekly-table .curriculum-period {
    background: #34399F;
    color: #fff;
}

.curriculum_page .curriculum-weekly-table .curriculum-weekly-corner {
    background: transparent;
}

.curriculum_page .curriculum-weekly-table .curriculum-period {
    width: 80px;
}

.curriculum_page .curriculum-weekly-table .curriculum-grade {
    width: 80px;
    color: #fff;
}

.curriculum_page .curriculum-weekly-table .curriculum-grade.junior {
    background: #ff7478;
}

.curriculum_page .curriculum-weekly-table .curriculum-grade.senior {
    background: #078a9b;
}

.curriculum_page .curriculum-weekly-table td.junior {
    background: #ffe4e5;
}

.curriculum_page .curriculum-weekly-table td.senior {
    background: #a8dce3;
}

/* -----------------
ANNUAL SCHEDULE
------------------*/
.curriculum_page .curriculum-annual {
    margin: 0 auto 140px;
}

.curriculum_page .curriculum-annual-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 9px 12px;
    min-height: 40px;
    box-sizing: border-box;
    border-bottom: 1px solid #fff;
    font-size: 15px;
}

.curriculum_page .curriculum-annual-month {
    flex: 0 0 42px;
    font-family: "Noto Serif JP", serif;
    font-size: 19px;
    font-weight: 700;
}

.curriculum_page .curriculum-annual-item.spring {
    background: #ffd0c2;
}

.curriculum_page .curriculum-annual-item.spring .curriculum-annual-month {
    color: #fa555a;
}

.curriculum_page .curriculum-annual-item.summer {
    background: #bfefff;
}

.curriculum_page .curriculum-annual-item.summer .curriculum-annual-month {
    color: #0088df;
}

.curriculum_page .curriculum-annual-item.autumn {
    background: #ffcc9c;
}

.curriculum_page .curriculum-annual-item.autumn .curriculum-annual-month {
    color: #e57b08;
}

.curriculum_page .curriculum-annual-item.winter {
    background: #eaeaea;
}

.curriculum_page .curriculum-annual-item.winter .curriculum-annual-month {
    color: #006180;
}


/* ==========================================================================
   TEACHERS　先生紹介（ここから都度更新箇所）
   ========================================================================== */

.teacher_page .teacher-section {
    max-width: 1050px;
    margin: 70px auto 145px;
    padding: 0 20px;
    box-sizing: border-box;
}
.teacher_page .teacher-section-heading { text-align: center; margin-bottom: 42px; }
.teacher_page .teacher-section-heading h2 {
    display: inline-block; position: relative; font-family: "Noto Serif JP", serif;
    font-size: 42px; font-weight: 800; color: #34399F;
}
.teacher_page .teacher-section-heading h2::after {
    content: ""; display: block; width: 80px; height: 2px;
    background: #34399F; margin: 8px auto 0;
}
.teacher_page .teacher-section-heading span { display: block; color: #888; font-size: 14px; margin-top: 5px; }
.teacher_page .teacher-list { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 38px; row-gap: 62px; }
.teacher_page .teacher-card {
    display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
    border: 0; padding: 0; margin: 0; background: transparent; cursor: pointer;
    font-family: inherit; transition: transform .3s ease;
}
.teacher_page .teacher-card:hover { transform: scale(1.05); }
.teacher_page .teacher-card:focus-visible { outline: 3px solid #ff8d1b; outline-offset: 6px; }
.teacher_page .teacher-photo {
    display: block; width: 100%; max-width: 285px; aspect-ratio: 1;
    overflow: hidden; border: 8px solid #34399F; border-radius: 50%; box-sizing: border-box;
}
.teacher_page .teacher-card.orange .teacher-photo { border-color: #ff8c1c; }
.teacher_page .teacher-photo img { width: 100%; height: 100%; object-fit: cover; }
.teacher_page .teacher-nameplate {
    position: relative; display: flex; flex-direction: column; align-items: center;
    min-width: 160px; max-width: 94%; box-sizing: border-box;
    margin-top: -20px; padding: 2px 12px 5px; border-radius: 4px;
    background: #34399F; color: #fff; z-index: 1;
}
.teacher_page .teacher-card.orange .teacher-nameplate { background: #ff8c1c; }
.teacher_page .teacher-role { font-size: 13px; line-height: 1.4; font-weight: 700; }
.teacher_page .teacher-name { font-family: "Noto Serif JP", serif; font-size: 19px; font-weight: 800; line-height: 1.4; }

/* -----------------
先生紹介 モーダル
------------------*/
.teacher-modal { position: fixed; inset: 0; z-index: 20000; display: none; align-items: center; justify-content: center; padding: 25px; box-sizing: border-box; }
.teacher-modal.is-open { display: flex; }
.teacher-modal-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.42); }
.teacher-modal-dialog {
    position: relative; z-index: 1; width: min(830px, 100%); max-height: calc(100vh - 50px);
    overflow-y: auto; display: grid; grid-template-columns: 240px minmax(0,1fr);
    align-items: start; gap: 28px; padding: 24px 22px 32px;
    box-sizing: border-box; background: #fff; border-radius: 13px;
}
.teacher-modal-close {
    position: absolute; right: 5px; top: 5px; width: 42px; height: 42px;
    background: #ff8a00; color: #fff; border: 1px solid #fff;
    border-radius: 50%; font-size: 35px; font-weight: 200; line-height: 1;
    cursor: pointer; z-index: 3;
}
.teacher-modal-photo { width: 100%; aspect-ratio: 1; overflow: hidden; border-radius: 50%; }
.teacher-modal-photo img { width: 100%; height: 100%; object-fit: cover; }
.teacher-modal-profile { min-width: 0; padding-top: 4px; }
.teacher-modal-profile h3 {
    background: #064987; color: #fff; padding: 7px 11px;
    font-family: "Noto Serif JP", serif; font-size: 18px; font-weight: 800; line-height: 1.5;
}
.teacher-modal-profile h3 span { font-family: Arial, sans-serif; font-size: 12px; margin-right: 6px; }
.teacher-profile-table { margin-top: 5px; }
.teacher-profile-row { display: grid; grid-template-columns: 96px minmax(0,1fr); gap: 5px; margin-bottom: 5px; }
.teacher-profile-row dt {
    background: #064987; color: #fff; padding: 7px 9px;
    text-align: center; font-size: 15px; font-weight: 700;
}
.teacher-profile-row dd {
    background: #cde4fa; color: #222; padding: 7px 12px;
    font-size: 14px; line-height: 1.4; overflow-wrap: anywhere;
}
.teacher-profile-row.comment dt { text-align: center; }
body.teacher-modal-open { overflow: hidden; }


/* ==========================================================================
   QUESTION　よくある質問（ここから都度更新箇所）
   ========================================================================== */

.qa_page .qa-section {
    max-width: 1050px;
    margin: 75px auto 140px;
    padding: 0 20px;
    box-sizing: border-box;
}

.qa_page .qa-inner {
    max-width: 840px;
    margin: 0 auto;
}

.qa_page .qa-section-heading {
    text-align: center;
    margin-bottom: 48px;
}

.qa_page .qa-section-heading h2 {
    font-family: "Noto Serif JP", serif;
    font-size: 42px;
    font-weight: 800;
    color: #34399F;
}

.qa_page .qa-section-heading h2::after {
    content: "";
    display: block;
    width: 80px;
    height: 2px;
    margin: 8px auto 0;
    background: #34399F;
}

.qa_page .qa-section-heading span {
    display: block;
    color: #888;
    font-size: 14px;
    margin-top: 5px;
}

.qa_page .qa-item {
    border-bottom: 2px solid #7979ec;
}

.qa_page .qa-question-heading { margin: 0; }

.qa_page .qa-question {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 80px;
    padding: 12px 12px 12px 3px;
    border: 0;
    background: #fff;
    text-align: left;
    font-family: "M PLUS Rounded 1c", sans-serif;
    cursor: pointer;
    box-sizing: border-box;
    transition: background-color .25s ease;
}

.qa_page .qa-question[aria-expanded="true"] { background: #e3f1ff; }
.qa_page .qa-question:focus-visible { outline: 3px solid #34399F; outline-offset: -3px; }

.qa_page .qa-icon,
.qa_page .qa-answer-icon {
    display: flex;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    font-family: "Noto Serif JP", serif;
    font-size: 19px;
    font-weight: 700;
}

.qa_page .qa-icon { background: #34399F; }
.qa_page .qa-answer-icon { background: #31a692; }

.qa_page .qa-question-text {
    flex: 1;
    min-width: 0;
    padding: 0 14px;
    color: #555;
    font-size: 15px;
    line-height: 1.6;
}

.qa_page .qa-toggle {
    display: block;
    position: relative;
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
}

.qa_page .qa-toggle::before,
.qa_page .qa-toggle::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    background: #444;
    transform: translate(-50%, -50%);
    transition: transform .25s ease, opacity .25s ease;
}

.qa_page .qa-toggle::before { width: 22px; height: 3px; }
.qa_page .qa-toggle::after { width: 3px; height: 22px; }
.qa_page .qa-question[aria-expanded="true"] .qa-toggle::after { opacity: 0; transform: translate(-50%, -50%) rotate(90deg); }

.qa_page .qa-answer {
    overflow: hidden;
    height: 0;
    transition: height .32s ease;
}

.qa_page .qa-answer-inner {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px 12px 24px 3px;
}

.qa_page .qa-answer-inner p {
    flex: 1;
    min-width: 0;
    margin: 0;
    color: #555;
    font-size: 15px;
    line-height: 1.65;
}

@media (prefers-reduced-motion: reduce) {
    .qa_page .qa-question,
    .qa_page .qa-toggle::before,
    .qa_page .qa-toggle::after,
    .qa_page .qa-answer { transition: none; }
}

/* --------------------------------------------------
   NEWS LIST（ここからWordPress用追加）
-------------------------------------------------- */
.news-layout { display: grid; grid-template-columns: minmax(0, 1fr) 245px; gap: 35px; align-items: start; padding-bottom: 90px; }
.news-list { min-width: 0; }
.news-entry { display: grid; grid-template-columns: 32% minmax(0, 1fr); gap: 22px; padding: 0 10px 20px; margin-bottom: 40px; border-bottom: 1px solid #ddd; min-height: 180px; }
.news-entry-thumb { display: block; align-self: start; }
.news-entry-thumb img { width: 100%; height: 155px; object-fit: cover; }
.news-entry-body { position: relative; min-height: 155px; padding-bottom: 40px; }
.news-entry-title { font-size: 17px; line-height: 1.5; font-weight: 700; margin: 0 0 15px; }
.news-entry-title a { color: #111; }
.news-entry-date { display: block; color: #1595dc; font-family: Antonio, sans-serif; font-size: 13px; letter-spacing: .06em; }
.news-read-more { position: absolute; right: 0; bottom: 0; display: inline-block; background: #2497db; color: #fff; padding: 7px 11px; font-size: 12px; letter-spacing: .08em; }
.news-sidebar .widget { border: 1px solid #ededed; padding: 12px 14px; margin-bottom: 30px; font-size: 13px; }
.news-sidebar .widgettitle, .news-sidebar .wp-block-heading { font-weight: 700; font-size: 15px; margin-bottom: 8px; }
.news-sidebar ul { list-style: none; margin: 0; padding: 0; }
.news-sidebar li { margin: 4px 0; }
.news-sidebar li a { color: #222; }
.news-sidebar li a:before { content: '●'; margin-right: 4px; color: #000; font-size: 10px; }
.news-sidebar #wp-calendar, .news-sidebar .wp-calendar-table { width: 100%; text-align: center; border-collapse: collapse; font-size: 12px; }
.news-sidebar #wp-calendar td, .news-sidebar #wp-calendar th, .news-sidebar .wp-calendar-table td, .news-sidebar .wp-calendar-table th { border: 1px solid #eee; padding: 4px 1px; }
.news-all-link { display: block; background: #555; color: #fff; font-size: 13px; text-align: center; font-weight: 700; padding: 12px 8px; margin: 10px 0 30px; }
.pagenation { margin: 100px 0 20px; }
.pagenation ul { display: flex; justify-content: center; list-style: none; margin: 0; padding: 0; }
.pagenation li { margin: 0; }
.pagenation a, .pagenation span { display: flex; align-items: center; justify-content: center; min-width: 39px; height: 39px; box-sizing: border-box; border: 1px solid #e1e1e1; color: #333; font-size: 12px; }
.pagenation .current { color: #fff; background: #173e94; border-color: #173e94; }
.news-single { padding: 0 10px 50px; }
.news-single h1 { font-size: 24px; margin-bottom: 15px; }
.news-single-body { margin-top: 30px; }
/* --------------------------------------------------
   TOP SLIDER（6枚・36秒）
-------------------------------------------------- */
.main-visual { position: relative; width: 100%; min-height: 600px; height: 75vh; overflow: hidden; background: #000; }
.mv-bg { position: absolute; inset: 0; }
.mv-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; animation: genkaiSlide 36s linear infinite; }
.mv-bg img:nth-child(1) { animation-delay: 0s; }
.mv-bg img:nth-child(2) { animation-delay: 6s; }
.mv-bg img:nth-child(3) { animation-delay: 12s; }
.mv-bg img:nth-child(4) { animation-delay: 18s; }
.mv-bg img:nth-child(5) { animation-delay: 24s; }
.mv-bg img:nth-child(6) { animation-delay: 30s; }
@keyframes genkaiSlide { 0% { opacity: 0; transform: scale(1); } 2.78% { opacity: 1; } 16.67% { opacity: 1; } 22.22% { opacity: 0; } 100% { opacity: 0; transform: scale(1.35); } }

/* --------------------------------------------------
   NEWS SINGLE（記事詳細・PC ここから都度更新箇所）
-------------------------------------------------- */
.news-single-layout { padding-top: 5px; }
.news-single-layout .news-single { padding: 0 0 50px; border-bottom: 1px solid #d9d9d9; }
.news-single-layout .news-single-title { margin: 0 0 9px; padding: 0 0 10px; border-bottom: 1px solid #d9d9d9; color: #111; font-size: 21px; font-weight: 700; line-height: 1.55; }
.news-single-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-bottom: 15px; color: #333; font-size: 12px; font-weight: 700; }
.news-single-meta time::before { content: '▦'; margin-right: 6px; color: #1c98ce; font-size: 16px; vertical-align: -1px; }
/*.news-single-category::before { content: '■'; margin-right: 6px; color: #ccccccF; font-size: 12px; }*/

.news-single-category a::before {
    content: "■";
    display: inline-block;
    margin-right: 5px;
    color: #CCCCCC;
}

/* お知らせ */
.news-single-category a.cate-topics::before {
    color: #CDEC9F;
}

/* フリースクール玄海の日常 */
.news-single-category a.cate-days::before {
    color: #CDDCEF;
}

/* 嶋田聡の今週の一言 */
.news-single-category a.cate-qow::before {
    color: #EAD0A2;
}

/* 未分類 */
.news-single-category a.cate-uncategorized::before {
    color: #CCCCCC;
}

/* 父母の言葉 */
.news-single-category a.cate-parents::before {
    color: #D7CCF0;
}

/* 玄海NEWS */
.news-single-category a.cate-genkai-news::before {
    color: #F4D7EB;
}

/* 生徒の言葉 */
.news-single-category a.cate-students::before {
    color: #E4E86A;
}

.news-single-category a { color: #333; text-decoration: none; }
.news-single-thumb { width: 65%; max-width: 100%; margin: 0 0 30px; }
.news-single-thumb img { display: block; width: 100%; height: auto; }
.news-single-layout .news-single-body { margin: 0; color: #222; font-size: 14px; line-height: 2.1; overflow-wrap: anywhere; }
.news-single-body p { margin: 0 0 24px; }
.news-single-body img { max-width: 100%; height: auto; }
.news-single-body a { overflow-wrap: anywhere; }
.news-single-pager { display: flex; justify-content: space-between; gap: 20px; margin: 62px 0 0; }
.news-single-pager-prev, .news-single-pager-next { max-width: 46%; }
.news-single-pager-next { margin-left: auto; text-align: right; }
.news-single-pager a { display: inline-block; max-width: 100%; padding: 8px 13px; background: #2497db; color: #fff; font-size: 12px; line-height: 1.5; text-decoration: none; overflow-wrap: anywhere; }
.news-single-pager a:hover { background: #1475b2; }

/* --------------------------------------------------
   TOP メインビジュアル（6枚・36秒ループ）
   ここから都度更新箇所
-------------------------------------------------- */
body.home .eyecatch {
    height: clamp(600px, 54vw, 970px);
    overflow: hidden;
    background: #000 url("images/hero.jpg") center center / cover no-repeat;
}
body.home .eyecatch .mv-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
body.home .eyecatch .mv-bg img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    animation: genkaiSlide 36s linear infinite;
}
body.home .eyecatch .mv-bg img:nth-child(1) { animation-delay: 0s; }
body.home .eyecatch .mv-bg img:nth-child(2) { animation-delay: 6s; }
body.home .eyecatch .mv-bg img:nth-child(3) { animation-delay: 12s; }
body.home .eyecatch .mv-bg img:nth-child(4) { animation-delay: 18s; }
body.home .eyecatch .mv-bg img:nth-child(5) { animation-delay: 24s; }
body.home .eyecatch .mv-bg img:nth-child(6) { animation-delay: 30s; }
body.home .eyecatch .eyecatch-message { z-index: 2; }

/* --------------------------------------------------
   NEWS カテゴリー色（スラッグ別・PC/SP共通）
-------------------------------------------------- */

/* NEWS一覧（index.php）・トップページ（page-top.php）カテゴリー */
.post-category, .news-category { display: inline-block; padding: 3px 10px; border-radius: 20px; background-color: #CDDCEF; color: #333; font-size: 13px; line-height: 1.5; }
.post-category.cate-topics, .news-category.cate-topics { background-color: #CDEC9F; }
.post-category.cate-days, .news-category.cate-days { background-color: #CDDCEF; }
.post-category.cate-qow, .news-category.cate-qow { background-color: #EAD0A2; }
.post-category.cate-uncategorized, .news-category.cate-uncategorized { background-color: #CCCCCC; }
.post-category.cate-parents, .news-category.cate-parents { background-color: #D7CCF0; }
.post-category.cate-genkai-news, .news-category.cate-genkai-news { background-color: #F4D7EB; }
.post-category.cate-students, .news-category.cate-students { background-color: #E4E86A; }

.news-section .cat.cate-topics { background-color: #CDEC9F; }
.news-section .cat.cate-days { background-color: #CDDCEF; }
.news-section .cat.cate-qow { background-color: #EAD0A2; }
.news-section .cat.cate-uncategorized { background-color: #CCCCCC; }
.news-section .cat.cate-parents { background-color: #D7CCF0; }
.news-section .cat.cate-genkai-news { background-color: #F4D7EB; }
.news-section .cat.cate-students { background-color: #E4E86A; }


/* --------------------------------------------------
   ここから都度更新箇所：NEWSタイトル 2026-10-16
-------------------------------------------------- */
.news-section .news-item a.title,
.news-section .news-item a.title:visited {
    color: #34399F;
}
.news-section .news-item a.title:hover,
.news-section .news-item a.title:focus-visible {
    color: #2876B9;
}
/* --------------------------------------------------
   NEWS 記事情報
-------------------------------------------------- */

.news-entry-title {
    margin-bottom: 8px;
}

.news-entry-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
}

.news-entry-category {
    display: inline-block;
    padding: 4px 10px;
    background: #CDDCEF;
    color: #34399F;
    font-size: 11px;
    line-height: 1.4;
    border-radius: 3px;
}
/* お知らせ */
.news-entry-category.cate-topics {
    background: #CDEC9F;
}

/* フリースクール玄海の日常 */
.news-entry-category.cate-days {
    background: #CDDCEF;
}

/* 嶋田聡の今週の一言 */
.news-entry-category.cate-qow {
    background: #EAD0A2;
}

/* 未分類 */
.news-entry-category.cate-uncategorized {
    background: #CCCCCC;
}

/* 父母の言葉 */
.news-entry-category.cate-parents {
    background: #D7CCF0;
}

/* 玄海NEWS */
.news-entry-category.cate-genkai-news {
    background: #F4D7EB;
}

/* 生徒の言葉 */
.news-entry-category.cate-students {
    background: #E4E86A;
}

.news-entry-excerpt {
    margin: 0 0 12px;
    font-size: 15px;
    line-height: 1.8;
    color: #555;
}
/* --------------------------------------------------
   CONTACT FORM 7 お問い合わせフォーム
-------------------------------------------------- */
.page-id-248 .wpcf7 {
    width: 100%;
    max-width: 1000px;
    margin: 40px auto 100px;
    color: #444;
}

.page-id-248 .wpcf7 .inquiry {
    width: 100%;
    border-collapse: collapse;
    border-top: 1px solid #ddd;
}

.page-id-248 .wpcf7 .inquiry th,
.page-id-248 .wpcf7 .inquiry td {
    padding: 24px 25px;
    border-bottom: 1px solid #ddd;
    vertical-align: middle;
    box-sizing: border-box;
}

.page-id-248 .wpcf7 .inquiry th {
    width: 32%;
    background-color: #F2F5FA;
    font-weight: 700;
    text-align: left;
}

.page-id-248 .wpcf7 .inquiry td {
    width: 68%;
    background-color: #fff;
}

.page-id-248 .wpcf7 input[type="text"],
.page-id-248 .wpcf7 input[type="email"],
.page-id-248 .wpcf7 input[type="tel"],
.page-id-248 .wpcf7 input[type="number"],
.page-id-248 .wpcf7 textarea,
.page-id-248 .wpcf7 select {
    width: 100%;
    max-width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    font: inherit;
    font-size: 15px;
    line-height: 1.6;
    box-sizing: border-box;
}

.page-id-248 .wpcf7 textarea {
    min-height: 180px;
    resize: vertical;
}

.page-id-248 .wpcf7 input:focus,
.page-id-248 .wpcf7 textarea:focus,
.page-id-248 .wpcf7 select:focus {
    outline: 2px solid #9DA6E0;
    outline-offset: 1px;
}

.page-id-248 .wpcf7 .privacy {
    margin: 45px auto 25px;
    padding: 25px 30px;
    background-color: #F7F8FB;
    border: 1px solid #ddd;
    box-sizing: border-box;
}

.page-id-248 .wpcf7 .check_submit {
    margin: 25px auto 0;
    text-align: center;
}

.page-id-248 .wpcf7 .check_submit input[type="submit"],
.page-id-248 .wpcf7 input[type="submit"] {
    display: inline-block;
    min-width: 260px;
    padding: 15px 35px;
    border: 0;
    border-radius: 40px;
    background-color: #34399F;
    color: #fff;
    font: inherit;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity .3s;
}

.page-id-248 .wpcf7 input[type="submit"]:hover {
    opacity: .75;
}

.page-id-248 .wpcf7 .wpcf7-form-control-wrap {
    display: inline-block;
    max-width: 100%;
}

.page-id-248 .wpcf7 .inquiry .wpcf7-form-control-wrap {
    display: block;
}

.page-id-248 .wpcf7 .wpcf7-not-valid-tip {
    margin-top: 5px;
    font-size: 13px;
}

/* --------------------------------------------------
   ここまで都度更新箇所
-------------------------------------------------- */
