@charset "utf-8";
/* ==========================================================================
   AISE デザイン（本番用：新案6 ネイビー × 濃いオレンジ）
   レイアウトはすべて html.aise-new の下に書いてあり、色はファイル冒頭の変数と
   末尾の「新案6」ブロックの変数で決まります（<html class="aise-new aise-v6">）。
   ========================================================================== */

html.aise-new {
	--n-main: #0B7A6B;        /* メイン（濃い青緑）白文字とのコントラスト 5.2:1 */
	--n-main-dark: #075A4F;
	--n-main-tint: #EEF6F4;   /* 薄い面 */
	--n-main-line: #BFDCD6;
	--n-accent: #D9480F;      /* 申し込み系ボタンだけに使う */
	--n-accent-dark: #B53A0A;
	--n-text: #1F2933;
	--n-sub: #55606B;
	--n-line: #D9E0DF;
	--n-link: #0A58CA;
	--n-radius: 6px;
	--n-pop: #0B7A6B;         /* 見出しの縦線・行頭の点などの差し色 */
	--n-nav-line: #fff;       /* メニューにカーソルを当てたときの下線 */
	--n-on-accent: #fff;      /* 申し込みボタンの文字色 */
	--n-accent-ink: #D9480F;  /* 白地に置くアクセント色の文字（電話番号など） */
	--n-accent-tint: #FBE3D6;
	--n-accent-shadow: rgba(217,72,15,.18);
	--n-foot-bg: #18302C;
	--n-foot-line: #2A4440;
	--n-foot-text: #D3DEDB;
	--n-foot-h: #3A5550;
	--n-foot-strong: #FFB38A;
	--n-foot-muted: #9FB2AE;
}

/* ---------- 文字 ---------- */
html.aise-new body { background: #fff !important; color: var(--n-text); }
html.aise-new body,
html.aise-new #content *:not(i):not([class*="fa"]):not(.glyphicon):not(code),
html.aise-new footer *:not(i):not([class*="fa"]) {
	font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}
html.aise-new #content { -webkit-font-smoothing: antialiased; }
html.aise-new #left_main p,
html.aise-new #left_main li,
html.aise-new #left_main dd,
html.aise-new #left_main td { color: var(--n-text); }
html.aise-new div#left_main p { font-size: 15px; line-height: 1.9; }
html.aise-new #left_main a:not([class*="btn"]):not(.bnr):not(.aise-back) { color: var(--n-link); }
html.aise-new #left_main a:not([class*="btn"]):hover { color: var(--n-main-dark); }

/* ---------- ヘッダー ---------- */
html.aise-new header#top h1 { color: var(--n-sub); }
html.aise-new #gnav li a, html.aise-new #gnav li a:hover { color: var(--n-sub); font-weight: 500; }
html.aise-new #sub_nav a, html.aise-new #sub_nav a:hover { color: var(--n-main); }
html.aise-new #sub_nav .sub_navi_txt a:hover { text-decoration: underline !important; }
html.aise-new .aise-apply-btn { background: var(--n-accent) !important; border-radius: var(--n-radius); height: 36px; width: 210px; font-size: 14.5px; }
html.aise-new .aise-apply-btn:hover { background: var(--n-accent-dark) !important; }

/* グローバルメニュー：画面幅いっぱいの濃い青緑の帯 */
html.aise-new .jumbotron { position: relative; background: transparent; }
html.aise-new .jumbotron::before {
	content: ""; position: absolute; inset: 0; z-index: 0;
	background: var(--n-main); box-shadow: 0 0 0 100vmax var(--n-main); clip-path: inset(0 -100vmax);
}
html.aise-new .jumbotron > .container { position: relative; z-index: 1; }
/* PC：帯の高さをメニュー項目（区切り線）に合わせ、ロゴとの間をあける
   （元の CSS ではメニューの上に 15px の余白があり、その分だけ帯が上に伸びていた） */
@media (min-width: 768px) {
	html.aise-new .jumbotron { margin-top: 18px; }
	html.aise-new #navbar-collapse-grid { margin-top: 0 !important; }
}
html.aise-new .navbar-default { background: transparent !important; border: 0 !important; box-shadow: none !important; }
/* メニューの区切り線（旧サイトの白っぽい縦線）は、帯の色になじむ薄い線にする */
html.aise-new .navbar-default .navbar-nav,
html.aise-new .navbar-default .navbar-nav > li { border-color: rgba(255,255,255,.14) !important; }
html.aise-new .navbar-default .navbar-nav > li > a {
	color: #fff !important; font-size: 14px; font-weight: 700; letter-spacing: .02em; text-shadow: none;
	border-bottom: 3px solid transparent; padding-bottom: 12px;
}
html.aise-new .navbar-default .navbar-nav > li > a:hover,
html.aise-new .navbar-default .navbar-nav > li > a:focus,
html.aise-new .navbar-default .navbar-nav > .open > a,
html.aise-new .navbar-default .navbar-nav > .open > a:hover {
	background: var(--n-main-dark) !important; color: #fff !important; border-bottom-color: var(--n-nav-line);
}
html.aise-new .navbar-default .navbar-nav > li > a .caret { border-top-color: #fff; border-bottom-color: #fff; }
html.aise-new .navbar-default .navbar-toggle { border-color: #fff; background: transparent; }
html.aise-new .navbar-default .navbar-toggle .icon-bar { background: #fff; }
html.aise-new .navbar-default .navbar-toggle:hover, html.aise-new .navbar-default .navbar-toggle:focus { background: var(--n-main-dark); }
html.aise-new .yamm .dropdown-menu { border: 0; border-top: 3px solid var(--n-main-dark); border-radius: 0 0 var(--n-radius) var(--n-radius); box-shadow: 0 10px 24px rgba(16,40,36,.18); }
html.aise-new .yamm .dropdown-menu a { color: var(--n-text) !important; }
html.aise-new .yamm .dropdown-menu a:hover { color: var(--n-main) !important; }
html.aise-new .submenu_h3 { color: var(--n-main) !important; }

/* ---------- トップのヒーローエリア：バッジを各案の申し込みボタンの色に ---------- */
html.aise-new .aise-hero { border-radius: var(--n-radius); margin-top: 24px; }
html.aise-new .aise-hero__catch, html.aise-new .aise-hero__badge { font-family: "Noto Sans JP", sans-serif; font-weight: 900; }
html.aise-new .aise-hero__badge { background: var(--n-accent); color: var(--n-on-accent); }
html.aise-new .aise-hero__badge span { color: inherit; opacity: .9; font-weight: 700; }
@media only screen and (max-width: 639px) { html.aise-new .aise-hero { margin-top: 10px; border-radius: 0; } }

/* ---------- ページタイトル（画像 → 文字の帯） ---------- */
html.aise-new .main_img.is-title { display: none !important; }
.aise-pagehead { display: none; }
html.aise-new .aise-pagehead {
	display: flex; align-items: center; justify-content: space-between; gap: 20px;
	margin: 24px 0 0; padding: 26px 36px; min-height: 100px; box-sizing: border-box;
	background: var(--n-main); color: #fff; border-radius: var(--n-radius) var(--n-radius) 0 0;
	background-image: radial-gradient(circle at 92% 50%, rgba(255,255,255,.10) 0 70px, transparent 71px), radial-gradient(circle at 99% 10%, rgba(255,255,255,.07) 0 50px, transparent 51px);
}
html.aise-new .aise-pagehead__en { margin: 0 0 4px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; opacity: .8; }
html.aise-new .aise-pagehead__title { margin: 0; font-size: 28px; font-weight: 700; line-height: 1.35; letter-spacing: .04em; color: #fff; }
html.aise-new .content_slicks { margin-top: 0; }
html.aise-new .aise-pagehead + .content_slicks .slick-slide img,
html.aise-new .content_slicks img { filter: saturate(1.05) contrast(1.03); }

/* パンくず */
html.aise-new #topicpath { margin-top: 14px; font-size: 13px; color: var(--n-sub); }
html.aise-new #topicpath a, html.aise-new #topicpath a:visited { color: var(--n-main); }
html.aise-new #topicpath a:hover { color: var(--n-main-dark); text-decoration: underline; }

/* ---------- 本文の見出し ---------- */
html.aise-new div#left_main h2 {
	background: var(--n-main-tint) !important; border: 0 !important; border-left: 6px solid var(--n-pop) !important; border-radius: 0 var(--n-radius) var(--n-radius) 0;
	color: var(--n-text) !important; font-size: 22px !important; font-weight: 700 !important; line-height: 1.5 !important;
	padding: 12px 18px !important; margin-bottom: 24px;
}
html.aise-new div#left_main h2 span { color: var(--n-sub); }
html.aise-new #left_main h3.program_h3,
html.aise-new #left_main h3.support_h3,
html.aise-new #left_main h3.types_h3,
html.aise-new #left_main h3.training_h3 {
	background: none !important; text-shadow: none !important; color: var(--n-main) !important;
	font-size: 18px !important; font-weight: 700 !important; padding: 0 0 8px !important; border-bottom: 2px solid var(--n-main);
}
html.aise-new #left_main h3.training_h3_2, html.aise-new #left_main h3.p_type_h3 { background: var(--n-main) !important; color: #fff !important; border-radius: 4px; }
html.aise-new #left_main h3 .fa-stack, html.aise-new #left_main h3 .program_txt { color: var(--n-main) !important; }
html.aise-new h4.school_h4 { color: var(--n-text) !important; font-size: 17px !important; border-bottom: 2px solid var(--n-main-line) !important; padding-bottom: 6px; }
html.aise-new h4.school_h4 a { color: var(--n-text) !important; }
html.aise-new h4.school_h4 a:hover { color: var(--n-main) !important; }
html.aise-new .type_area { background: var(--n-main-tint) !important; border-color: var(--n-main-line) !important; border-radius: var(--n-radius); }
/* 「Type1 ボーディングスクール」などの見出しは画像（文字が淡い色）なので、濃い地にして読みやすくする */
html.aise-new .private_type { background: var(--n-main) !important; border-color: var(--n-main) !important; border-radius: var(--n-radius); }
html.aise-new .private_txt { border-radius: 4px; }

/* ---------- 表 ---------- */
html.aise-new #left_main table { border-collapse: collapse; }
html.aise-new #left_main table th,
html.aise-new #left_main table td { border-color: var(--n-line) !important; font-size: 14px !important; color: var(--n-text) !important; }
html.aise-new #left_main table th { background: var(--n-main-tint) !important; font-weight: 700 !important; }
html.aise-new #left_main table { border-color: var(--n-line) !important; }
html.aise-new .type_table_th1 { color: var(--n-main) !important; }
html.aise-new .type_table_th2, html.aise-new .acc th { color: var(--n-text) !important; }

/* ---------- トップ：枠 ---------- */
html.aise-new .info_left, html.aise-new .info_right {
	background: #fff !important; border: 1px solid var(--n-line) !important; border-radius: 10px !important;
}
html.aise-new .aise-box-h { color: var(--n-main); font-weight: 700; font-size: 21px; }
html.aise-new .aise-hico [fill="#55CAAB"] { fill: var(--n-main); }
html.aise-new .aise-hico [stroke="#55CAAB"] { stroke: var(--n-main); }
html.aise-new .whatsnew li { color: var(--n-text); }
html.aise-new .whatsnew li a { color: var(--n-link); font-weight: 700; }
html.aise-new .span_pink, html.aise-new .span_pink_big { color: var(--n-accent-ink) !important; }
html.aise-new .aise-news dt { color: var(--n-text); background: none; padding-left: 0; font-size: 14px; }
html.aise-new .aise-news dt::before { content: ""; display: inline-block; width: 7px; height: 7px; margin: 0 7px 2px 0; border-radius: 50%; background: var(--n-pop); }
html.aise-new .aise-news dt.is-highlight { color: #C62828; }
html.aise-new .aise-news dd { color: var(--n-text); border-bottom: 1px solid var(--n-line); font-size: 14px; }
html.aise-new .aise-news dd a:link, html.aise-new .aise-news dd a:visited { color: var(--n-link); }

/* コース枠のリボン見出し・ボタン */
html.aise-new .aise-ribbon { background: var(--n-main); font-family: "Noto Sans JP", sans-serif; }
html.aise-new .aise-ribbon::after { border-right-color: var(--n-main-dark); }
html.aise-new .aise-ribbon .aise-ico [stroke="#55CAAB"] { stroke: var(--n-main); }
html.aise-new .aise-ribbon .aise-ico [fill="#55CAAB"] { fill: var(--n-main); }
html.aise-new .aise-sub { color: var(--n-main) !important; font-family: "Noto Sans JP", sans-serif; }
html.aise-new .aise-prg-btn {
	height: 32px; background: #fff; border: 1px solid #C9D3D1; border-radius: 4px; color: var(--n-text) !important; font-size: 13px;
	transition: border-color .15s, background-color .15s;
}
html.aise-new .aise-prg-btn::before { border-left-color: var(--n-pop); border-width: 4px 0 4px 5px; }
html.aise-new .aise-prg-btn:hover { background: var(--n-main-tint); border-color: var(--n-main); color: var(--n-main-dark) !important; }
html.aise-new .aise-prg-btn.is-2line { height: 50px; }
html.aise-new .aise-prg-btn__note { color: var(--n-sub); }
html.aise-new .course .aise-prg, html.aise-new .course2 .aise-prg { gap: 6px 10px; }

/* ---------- お問い合わせ枠 ---------- */
html.aise-new .contacts_area { background: var(--n-main-tint) !important; border: 0 !important; border-radius: 10px; }
html.aise-new .aise-pink-btn { color: var(--n-on-accent) !important; background: var(--n-accent); border-radius: var(--n-radius); font-weight: 700; height: 52px; font-size: 17px; }
html.aise-new .aise-pink-btn:hover { background: var(--n-accent-dark); }
html.aise-new .aise-freedial__num { color: var(--n-accent-ink) !important; font-weight: 700; }
html.aise-new .aise-fd rect[fill="#ED5D85"] { fill: var(--n-accent); }
html.aise-new .aise-freedial__label, html.aise-new .aise-freedial__hours { color: var(--n-sub); }

/* ---------- 右カラム ---------- */
html.aise-new .ba_area { border-color: transparent !important; }
html.aise-new .aise-counsel { border: 2px solid var(--n-accent); border-radius: 10px; overflow: hidden; padding-bottom: 10px; }
html.aise-new .aise-counsel__title { margin: 0; padding: 9px 0; border: 0; background: var(--n-accent); color: var(--n-on-accent); font-family: "Noto Sans JP", sans-serif; font-weight: 700; }
html.aise-new .aise-counsel__pill.is-green { background: var(--n-main); }
html.aise-new .aise-counsel__pill.is-pink { background: var(--n-accent); color: var(--n-on-accent); }
html.aise-new .aise-counsel__ico circle[fill="#5CC96C"] { fill: var(--n-main); }
html.aise-new .aise-counsel__ico circle[fill="#F3ABC2"] { fill: var(--n-accent-tint); }
html.aise-new .aise-counsel__hours { color: var(--n-text); }
html.aise-new .aise-counsel:hover { box-shadow: 0 4px 14px var(--n-accent-shadow); }

html.aise-new .bnr {
	border: 1px solid var(--n-line); border-left: 5px solid currentColor; border-radius: var(--n-radius);
	font-family: "Noto Sans JP", sans-serif; font-weight: 700; background: #fff; padding-left: 24px;
}
html.aise-new .bnr-blue { color: #0B5CAD !important; }
html.aise-new .bnr-teal { color: var(--n-main) !important; }
html.aise-new .bnr-utah { background: #FFF9E6; color: #A45A00 !important; }
html.aise-new .bnr-utah .u1, html.aise-new .bnr-utah .u2 { color: #A45A00; }
html.aise-new .bnr-utah .pill { background: #A45A00; }
html.aise-new .bnr-pass { background: #F1F5FF; color: #1D4ED8 !important; }
html.aise-new .bnr b { font-weight: 900; }
html.aise-new .bnr:hover { filter: none; box-shadow: 0 4px 14px rgba(16,40,36,.12); }

/* ---------- 学校ページ ---------- */
html.aise-new .aise-school-cta { background: var(--n-main-tint); border: 0; border-radius: 10px; }
html.aise-new .aise-back { border-color: var(--n-main); color: var(--n-main) !important; border-radius: var(--n-radius); font-weight: 700; }
html.aise-new .aise-back:hover { background: var(--n-main-tint); }
html.aise-new .aise-school-more a::before { color: var(--n-main); }

/* ---------- フッター ---------- */
html.aise-new footer { background: var(--n-foot-bg); }
html.aise-new #footer_area { border-top-color: var(--n-foot-line); }
html.aise-new div#footer_link p, html.aise-new footer li, html.aise-new footer li a { color: var(--n-foot-text) !important; }
html.aise-new footer li a:hover { color: #fff !important; text-decoration: underline; }
html.aise-new div#footer_link h2 { border-bottom-color: var(--n-foot-h); color: #fff; }
html.aise-new span.footer_orange { color: var(--n-foot-strong); }
html.aise-new .copyright small { color: var(--n-foot-muted); }

/* ---------- スマホ ---------- */
.aise-spbar { display: none; }
@media only screen and (max-width: 639px) {
	html.aise-new .aise-pagehead { margin-top: 10px; padding: 18px 20px; min-height: 0; border-radius: 0; }
	html.aise-new .aise-pagehead__title { font-size: 21px; }
	html.aise-new h2#title_sp { border-bottom: 3px solid var(--n-main); color: var(--n-text); font-size: 18px; }
	html.aise-new .aise-pagehead ~ * h2#title_sp, html.aise-new .hidden_pc #title_sp.is-dup { display: none; }
	html.aise-new div#left_main h2 { font-size: 18px !important; }
	html.aise-new div#left_main p { font-size: 15px; }

	/* 画面下に固定のお問い合わせバー */
	html.aise-new .aise-spbar {
		display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000; gap: 8px;
		padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); border-top: 1px solid var(--n-line);
		box-shadow: 0 -4px 16px rgba(0,0,0,.08);
	}
	html.aise-new .aise-spbar a {
		flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; height: 46px; border-radius: var(--n-radius);
		font-weight: 700; font-size: 15px; text-decoration: none !important;
	}
	html.aise-new .aise-spbar .is-tel { background: #fff; color: var(--n-main) !important; border: 2px solid var(--n-main); }
	html.aise-new .aise-spbar .is-cta { background: var(--n-accent); color: var(--n-on-accent) !important; }
	html.aise-new body { padding-bottom: 70px; }
	html.aise-new #pagetop { bottom: 80px !important; }
}

/* ---------- 本文中の画像ボタン → 文字ボタン（inc/design.php で追加） ---------- */
.aise-txtbtn { display: none; }
html.aise-new img[data-aise-imgbtn] { display: none !important; }
html.aise-new .aise-txtbtn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 150px; height: 42px; margin: 4px 0 4px 10px; padding: 0 22px;
	box-sizing: border-box; border-radius: var(--n-radius); font-size: 15px; font-weight: 700; line-height: 1; vertical-align: middle;
	transition: background-color .15s, color .15s;
}
html.aise-new .aise-txtbtn::after { content: ""; width: 7px; height: 7px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); }
html.aise-new .aise-txtbtn.is-main { background: var(--n-main); color: #fff; }
html.aise-new a:hover > .aise-txtbtn.is-main { background: var(--n-main-dark); }
html.aise-new .aise-txtbtn.is-outline { background: #fff; color: var(--n-main); border: 2px solid var(--n-main); }
html.aise-new a:hover > .aise-txtbtn.is-outline { background: var(--n-main-tint); }
html.aise-new .aise-txtbtn.is-back { background: #fff; color: var(--n-text); border: 1px solid #B8C2C0; flex-direction: row-reverse; }
html.aise-new .aise-txtbtn.is-back::after { transform: rotate(-135deg); }
html.aise-new a:hover > .aise-txtbtn.is-back { background: #F3F5F5; }
html.aise-new #left_main a:hover { text-decoration: none; }

/* スマホ：本文上のお問い合わせ枠は、画面下の固定バーがあるので隠す */
@media only screen and (max-width: 639px) {
	html.aise-new #left_main > .contacts_area.hidden_pc { display: none !important; }
	html.aise-new .aise-txtbtn { margin-left: 0; min-width: 0; width: 100%; margin-bottom: 8px; }
}

/* 申し込みボタン類の文字色・矢印・アイコン（アクセント色の上に乗るもの） */
html.aise-new .aise-pink-btn::after { border-color: var(--n-on-accent); }
html.aise-new .aise-apply-btn { color: var(--n-on-accent) !important; }
html.aise-new .aise-apply-btn .aise-ico-s path { stroke: var(--n-on-accent); }

/* ==========================================================================
   新案6：ネイビー #1F3A68 × 濃いオレンジ #D9500F（本番で採用）
   深いネイビーの帯に空色の差し色、申し込みボタンは濃いオレンジ。
   色を変えるときは、ここの変数を書き換えます。
   ========================================================================== */
html.aise-new.aise-v6 {
	--n-main: #1F3A68;
	--n-main-dark: #142849;
	--n-main-tint: #F1F5FB;
	--n-main-line: #CBD7EA;
	--n-text: #1C2536;
	--n-pop: #3C9BE0;
	--n-nav-line: #7CC0F2;
	--n-on-accent: #fff;
	--n-link: #1F5FB8;
	--n-foot-bg: #13233F;
	--n-foot-line: #23375C;
	--n-foot-text: #D5DEEC;
	--n-foot-h: #2E4670;
	--n-foot-muted: #93A5C4;
	--n-accent: #D9500F;
	--n-accent-dark: #B5420B;
	--n-accent-ink: #C8490D;
	--n-accent-tint: #FDE7DA;
	--n-accent-shadow: rgba(217,80,15,.22);
	--n-foot-strong: #FFB38A;
}
html.aise-new.aise-v6 .aise-pagehead { border-bottom: 5px solid var(--n-pop); }

/* ---------- スマホ・タブレット：ハンバーガーメニューを開いたとき ----------
   旧CSS（yamm.css）が幅880px以下でメニュー項目（.yamm .dropdown）に薄いグレー #f5f5f5 の背景を付けるため、
   白文字が読めなくなっていた。項目は帯と同じネイビー、開いたサブメニューは白地に濃い文字にする。 */
@media only screen and (max-width: 880px) {
	html.aise-new #navbar-collapse-grid { background: var(--n-main); }
	html.aise-new .yamm .dropdown,
	html.aise-new .yamm .navbar-nav > li { background: transparent !important; }
	html.aise-new .navbar-default .navbar-nav { border: 0 !important; }
	html.aise-new .navbar-default .navbar-nav > li { border: 0 !important; border-bottom: 1px solid rgba(255,255,255,.14) !important; }
	html.aise-new .yamm .navbar-nav .open .dropdown-menu { background: #fff !important; border-radius: 0; box-shadow: none; }
}
