@charset "utf-8";
/* ==========================================================================
   AISE テーマ追加 CSS
   画像だったボタン・見出し・バナーを、文字＋CSS＋SVG でくっきり表示する
   （色・寸法は現行の画像から測って合わせています）
   ========================================================================== */

/* ---------- コース枠：緑のリボン見出し ---------- */
.aise-course-head { display: flex; align-items: center; gap: 14px; margin: -5px 0 8px -13px; }
.course .aise-course-head, .course2 .aise-course-head { float: none; }
.aise-ribbon {
	position: relative; margin: 0 !important; padding: 0 0 0 13px !important; float: none !important;
	height: 45px; width: 240px; box-sizing: border-box; display: flex; align-items: center; gap: 8px;
	background: linear-gradient(#86D9C3, #55CAAB 45%); color: #fff;
	font-family: "M PLUS Rounded 1c", sans-serif; font-weight: 700; font-size: 20px; letter-spacing: 0; line-height: 1; white-space: nowrap;
}
.aise-ribbon.is-long { font-size: 18px; letter-spacing: -.02em; }
.aise-ribbon::after { content: ""; position: absolute; left: 0; bottom: -8px; border-style: solid; border-width: 0 8px 8px 0; border-color: transparent #3C7F72 transparent transparent; }
.aise-ico { width: 24px; height: 24px; flex: none; }
.aise-sub { margin: 4px 0 0 !important; padding: 0 !important; display: flex; align-items: center; gap: 3px; color: #55CAAB !important; font-family: "M PLUS Rounded 1c", sans-serif; font-weight: 700; font-size: 14.5px !important; line-height: 1.2 !important; clear: none !important; }
.aise-star { width: 15px; height: 15px; }

/* ---------- コース枠：ボタン ---------- */
.course .aise-prg, .course2 .aise-prg { display: flex; flex-wrap: wrap; gap: 3px 10px; justify-content: center; max-width: 390px; margin: 0 auto; padding: 0; }
.course .aise-prg li, .course2 .aise-prg li { width: 190px; }
.course .aise-prg li, .course2 .aise-prg li { margin: 0 !important; display: block; }
.aise-prg-btn {
	display: flex; align-items: center; gap: 6px; height: 27px; box-sizing: border-box; padding: 0 9px 0 8px;
	border: 1px solid #E3E3E3; background: linear-gradient(#FDFDFD, #F7F7F7 50%, #F1F1F1);
	color: #5E6680 !important; font-weight: 700; font-size: 12px; line-height: 1.2; text-decoration: none !important; white-space: nowrap; text-align: left;
}
.aise-prg-btn::before { content: ""; width: 0; height: 0; border-style: solid; border-width: 3.5px 0 3.5px 4px; border-color: transparent transparent transparent #7CC8E3; flex: none; }
.aise-prg-btn:hover { background: linear-gradient(#F4F9FB, #E9F3F7); color: #3E4A66 !important; }
.aise-prg-btn .flag { width: 22px; height: 14.7px; margin-left: auto; box-shadow: 0 0 0 1px rgba(0,0,0,.15); flex: none; }
.aise-prg-btn.is-2line { height: 45px; flex-wrap: wrap; align-content: center; row-gap: 2px; }
.aise-prg-btn.is-2line .aise-prg-btn__label { flex: 1 1 auto; }
.aise-prg-btn__note { flex-basis: 100%; padding-left: 10px; font-weight: 500; font-size: 11px; color: #5E6680; }

/* ---------- 「Information」「What's new」見出し ---------- */
.aise-box-h { display: flex; align-items: center; gap: 8px; height: 26px; margin-top: 10px; font-family: "M PLUS Rounded 1c", sans-serif; font-weight: 500; font-size: 22px; color: #7FD5BF; line-height: 1; }
.aise-hico { height: 24px; width: auto; }

/* ---------- What's new（iframe の代わり） ---------- */
.aise-news-scroll { overflow-y: auto; max-height: 520px; -webkit-overflow-scrolling: touch; }
dl.aise-news { margin: 8px 10px 0 5px; }
.aise-news dt { color: #000; font-size: .85em; line-height: 1.6em; margin: 0; font-weight: bold; background: url(/images/common/maru_green.png) no-repeat 0 10px; padding-left: 10px; padding-top: 5px; }
.aise-news dt.is-highlight { color: #ff0000; }
.aise-news dd { font-size: .85em; line-height: 1.6em; color: #000; margin: 0 0 5px; padding-bottom: 6px; border-bottom: 1px dashed #c6c8ce; }
.aise-news dd p { margin: 0 0 .4em; font-size: 1em; }
.aise-news dd a:link, .aise-news dd a:visited { color: #4B8CF7; }
.aise-news dd a:hover { color: #ffb005; }
.aise-news-more { text-align: right; font-size: .8em; margin: 6px 10px 0 0; }
.aise-news--page dt, .aise-news--page dd { font-size: 1em; }

/* ---------- トップのヒーローエリア（背景写真＋キャッチコピー。全デザイン共通） ---------- */
.aise-hero { position: relative; overflow: hidden; margin: 0 0 10px; }
.aise-hero__img { display: block; width: 100%; height: 440px; object-fit: cover; object-position: 50% 40%; }
/* 写真の上部を少し暗くして、白いキャッチコピーを読みやすくする */
.aise-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,25,45,.45) 0%, rgba(10,25,45,.12) 38%, rgba(10,25,45,0) 55%); pointer-events: none; }
.aise-hero__copy { z-index: 1; }
.aise-hero__copy { position: absolute; top: 9%; right: 4%; max-width: 58%; text-align: right; }
.aise-hero__catch {
	margin: 0; color: #fff; font-family: "M PLUS Rounded 1c", sans-serif; font-weight: 800; font-size: 40px; line-height: 1.3; letter-spacing: .03em;
	text-shadow: 0 2px 12px rgba(0, 45, 90, .55), 0 0 2px rgba(0, 30, 60, .35);
}
.aise-hero__badge {
	display: inline-flex; align-items: baseline; gap: 10px; margin: 14px 0 0; padding: 8px 22px; border-radius: 999px;
	background: #1E73BE; color: #fff; font-family: "M PLUS Rounded 1c", sans-serif; font-weight: 800; font-size: 22px; line-height: 1.2;
	box-shadow: 0 4px 14px rgba(0, 40, 80, .25);
}
.aise-hero__badge span { font-size: 14px; color: #FFE36E; }
@media only screen and (max-width: 639px) {
	.aise-hero__img { height: 230px; object-position: 50% 40%; }
	.aise-hero__copy { top: 10px; right: 10px; max-width: 62%; }
	.aise-hero__catch { font-size: 21px; }
	.aise-hero__badge { margin-top: 8px; padding: 5px 12px; font-size: 13px; gap: 6px; }
	.aise-hero__badge span { font-size: 10px; }
}

/* ---------- ヘッダー：Instagram アイコン（Facebook・X の画像アイコンと同じ 30px の角丸） ---------- */
.aise-sns-insta {
	display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 4px; box-sizing: border-box;
	background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
	color: #fff !important; text-decoration: none !important; vertical-align: bottom;
}
.aise-sns-insta i { font-size: 20px; line-height: 1; color: #fff; }
.aise-sns-insta:hover { opacity: .85; }

/* ---------- ヘッダー「お問い合わせ・資料請求」 ---------- */
.aise-apply-btn { display: inline-flex !important; align-items: center; gap: 8px; height: 30px; width: 194px; box-sizing: border-box; padding: 0 12px; border-radius: 3px; background: linear-gradient(#6CD0B6, #54CAAA); color: #fff !important; font-weight: 700; font-size: 14px; text-decoration: none !important; justify-content: center; white-space: nowrap; }
.aise-apply-btn:hover { background: #48B898; }
.aise-ico-s { width: 20px; height: 17px; flex: none; }

/* ---------- 本文下のお問い合わせ ---------- */
.aise-contact-btns { display: flex; justify-content: center; gap: 15px 35px; flex-wrap: wrap; padding-bottom: 16px; }
.aise-pink-btn {
	position: relative; display: inline-flex; align-items: center; justify-content: center; width: 300px; height: 44px; box-sizing: border-box;
	border-radius: 3px; padding: 0 36px 0 16px; background: #ED5D85; color: #fff !important; font-size: 17px; font-weight: 500; letter-spacing: .04em; text-decoration: none !important;
}
.aise-pink-btn::after { content: ""; position: absolute; right: 20px; top: 50%; width: 10px; height: 10px; border-top: 1.5px solid #fff; border-right: 1.5px solid #fff; transform: translateY(-50%) rotate(45deg); }
.aise-pink-btn:hover { background: #E04876; }
.aise-freedial { display: inline-block; text-align: left; }
.aise-freedial__label { margin: 0; font-size: 12px; color: #666; }
.aise-freedial__row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.aise-freedial__num { display: inline-flex; align-items: center; gap: 6px; color: #ED5D85 !important; text-decoration: none !important; font-size: 38px; font-weight: 300; letter-spacing: .04em; line-height: 1; font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif; }
.aise-fd { width: 40px; height: 26px; }
.aise-freedial__hours { margin: 0; font-size: 11.5px; line-height: 1.5; color: #222; }
.aise-indent { padding-left: 4.5em; }

/* ---------- 右カラム：無料の個別カウンセリング ---------- */
.aise-counsel { display: block; width: 275px; max-width: 100%; box-sizing: border-box; border: 3px solid #FFA500; background: #fff; text-decoration: none !important; padding: 0 0 6px; margin: 0 auto; }
.aise-counsel__title { display: block; margin: 0 8px; padding: 6px 0 4px; border-bottom: 1.5px dashed #FFA500; text-align: center; color: #FFA500; font-family: "M PLUS Rounded 1c", sans-serif; font-weight: 800; font-size: 17px; }
.aise-counsel__body { display: flex; align-items: flex-start; gap: 6px; padding: 8px 6px 0 8px; }
.aise-counsel__way { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 76px; flex: none; }
.aise-counsel__ico { width: 56px; height: 56px; }
.aise-counsel__pill { display: block; width: 100%; text-align: center; border-radius: 3px; color: #fff; font-weight: 700; font-size: 11.5px; line-height: 20px; }
.aise-counsel__pill.is-green { background: #5CC96C; }
.aise-counsel__pill.is-pink { background: #F3ABC2; }
.aise-counsel__hours { flex: 1; font-size: 10.5px; line-height: 1.35; color: #455A64; white-space: nowrap; }
.aise-counsel:hover { box-shadow: 0 0 0 2px rgba(255,165,0,.25); }

/* ---------- 右カラム：アメリカのバナー ---------- */
.ba_area .bnr { margin: 12px auto 0; }
.bnr {
	position: relative; display: flex; align-items: center; width: 275px; max-width: 100%; height: 70px; box-sizing: border-box;
	border: 1px solid #C8C9CD; background: #fff; text-decoration: none !important; overflow: hidden;
	font-family: "M PLUS Rounded 1c", sans-serif; font-weight: 800; padding-left: 26px; text-align: left;
}
.bnr::before { content: ""; position: absolute; left: 8px; top: 50%; width: 6px; height: 6px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: translateY(-50%) rotate(45deg); }
.bnr .bt { position: relative; z-index: 1; display: flex; flex-direction: column; line-height: 1.22; }
.bnr .wflag { position: absolute; right: 2px; top: 2px; width: 78px; height: 62px; }
.bnr .ill { position: absolute; right: 1px; top: 50%; transform: translateY(-50%); max-width: none; }
.bnr-blue { color: #4FBFF5 !important; font-size: 15.5px; }
.bnr-blue .s { font-size: 12.5px; }
.bnr-blue b { font-weight: 800; }
.bnr-teal { color: #4FC2BE !important; font-size: 16.5px; }
.bnr-utah { background: #FFFFCC; border-color: #F0D6A6; color: #66CCFF !important; }
.bnr-utah .u1 { color: #FF8C00; font-size: 15px; letter-spacing: .02em; }
.bnr-utah .u2 { color: #FF8C00; font-size: 13.5px; }
.bnr-utah .pill { margin-top: 3px; background: #66CCFF; color: #fff; font-size: 10px; padding: 1px 9px; border-radius: 999px; white-space: nowrap; }
.bnr-utah .ill { width: 76px; height: 62px; }
.bnr-pass { background: #E1E8FF; border-color: #C7DEFE; color: #4F8BEF !important; font-size: 14.5px; font-weight: 700; }
.bnr-pass .k1 { font-size: 14px; }
.bnr-pass .k1 b { font-size: 21px; font-weight: 800; }
.bnr-pass .ill { width: 104px; height: 68px; right: 0; }
.bnr:hover { filter: brightness(.98); box-shadow: 0 0 0 2px rgba(79,191,245,.25); }
.aise-side-widget { margin-top: 12px; }
.aise-side-widget img { max-width: 100%; height: auto; }

/* ---------- 学校情報 ---------- */
.aise-school-item { margin-bottom: 10px; }
.school_h4 a { color: inherit; text-decoration: none; }
.school_h4 a:hover { text-decoration: underline; }
.aise-school-more { text-align: right; margin: -4px 0 26px; font-size: .9em; }
.aise-school-more a::before { content: "▶ "; color: #55CAAB; font-size: .8em; }
.aise-school-photo img { max-width: 100%; height: auto; }
.aise-school-cta { margin: 30px 0 10px; padding: 18px 20px; background: #F6FBF9; border: 1px solid #CDEBE2; }
.aise-school-cta p { margin: 0 0 10px; }
.aise-school-cta p:last-child { margin: 0; }
.aise-back { display: inline-block; margin: 20px 0 30px; padding: 8px 18px; border: 1px solid #55CAAB; border-radius: 3px; color: #2E9C80 !important; text-decoration: none !important; }
.aise-back::before { content: "‹ "; }
.aise-back:hover { background: #F0FAF7; }
.aise-country-list .aise-prg { display: grid; grid-template-columns: repeat(2, 240px); gap: 6px 14px; padding: 0; list-style: none; }
.aise-country-list .aise-prg li { margin: 0; }
.aise-country-list .aise-prg-btn { height: 36px; font-size: 14px; }

/* ---------- HubSpot フォーム ---------- */
.aise-hubspot-form { margin: 10px 0 20px; }

/* ---------- スマホ ---------- */
@media only screen and (max-width: 639px) {
	/* 現行サイトと同じく、スマホではボタンを1列・見出しと一言を縦に並べる */
	.aise-course-head { flex-direction: column; align-items: flex-start; gap: 6px; }
	.course .aise-prg, .course2 .aise-prg { flex-direction: column; align-items: center; }
	.aise-ribbon { width: auto; max-width: 100%; }
	.aise-pink-btn { width: 100%; }
	.aise-country-list .aise-prg { grid-template-columns: 1fr; }
	.aise-freedial__num { font-size: 28px; }
	.aise-news-scroll { max-height: 390px; }
	.aise-news dt, .aise-news dd { font-size: 1em; }
}
