@charset "utf-8";

/* 外部CSS・フォント
---------------------------------------------------------------------------*/
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css");
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css");
@import url("https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@200..900&display=swap");
@import url("slide.css");


/* CSSカスタムプロパティ
---------------------------------------------------------------------------*/
:root {
	--bg-color: #fff;
	--bg-inverse-color: #333;

	--primary-color: #05273f;
	--primary-inverse-color: #fff;

	--light-color: #ddecf7;
	--light-inverse-color: #333;

	--secondary-color: #43616d;
	--secondary-inverse-color: #fff;

	--accent-color: #9d8950;
	--accent-inverse-color: #fff;

	--content-space: 10px;
	--headerH: 70px;

	/* PCでもSP幅で見せる */
	--sp-view-width: 430px;
}


/* animation
---------------------------------------------------------------------------*/
@keyframes animation1 {
	0% {
		opacity: 0;
		transform: translateX(calc(-50% - 200px));
	}
	100% {
		opacity: 1;
		transform: translateX(-50%);
	}
}

@keyframes opa1 {
	0% { opacity: 0; }
	100% { opacity: 1; }
}

@keyframes blink-glow {
	0%, 100% {
		filter: brightness(1);
		transform: scale(1);
	}
	50% {
		filter: brightness(1.3);
		transform: scale(1.05);
	}
}


/* base
---------------------------------------------------------------------------*/
*,
*::before,
*::after {
	box-sizing: border-box;
}

html,
body {
	font-size: 13px;
}

body {
	margin: 0;
	padding: 0;
	font-family: "Noto Serif JP", "Hiragino Mincho Pro", "ヒラギノ明朝 Pro W3", "HGS明朝E", "ＭＳ Ｐ明朝", "MS PMincho", serif;
	font-optical-sizing: auto;
	-webkit-text-size-adjust: none;
	background: #f5f5f5;
	color: var(--bg-inverse-color);
	line-height: 2;
	overflow-x: hidden;
}

figure,
dd {
	margin: 0;
}

nav,
ul,
li,
ol {
	margin: 0;
	padding: 0;
}

nav ul {
	list-style: none;
}

table {
	border-collapse: collapse;
}

img {
	border: none;
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

video,
iframe {
	max-width: 100%;
}

iframe {
	width: 100%;
}

input {
	font-size: 1rem;
}

a {
	color: inherit;
	transition: 0.3s;
}

a:hover {
	text-decoration: none;
}


/* container
---------------------------------------------------------------------------*/
#container {
	animation: opa1 0.2s 0.4s both;
	display: grid;
	grid-template-rows: auto 1fr;
	width: 100%;
	max-width: var(--sp-view-width);
	min-height: 100vh;
	min-height: 100dvh;
	margin: 0 auto;
	background: #fff;
	overflow: hidden;
}


/* header
---------------------------------------------------------------------------*/
header {
	position: absolute;
	z-index: 100;
	top: 0;
	left: 50%;
	width: 100%;
	max-width: var(--sp-view-width);
	height: var(--headerH);
	padding: 0 var(--headerH) 0 1rem;
	background: var(--primary-color);
	color: var(--primary-inverse-color);
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 2rem;
	line-height: 1.5;
	transform: translateX(-50%);
	transition: transform 0.5s ease, opacity 0.5s ease;
}

.site-header.is-hide {
	opacity: 0;
	transform: translateX(-50%) translateY(-100%);
	pointer-events: none;
}

#logo {
	margin: 0;
	flex-shrink: 0;
}

#logo img {
	display: block;
	height: 35px;
}

/* PCでも通常ナビは非表示 */
header nav {
	display: none;
}


/* 開閉メニュー
---------------------------------------------------------------------------*/
#menubar {
	display: none;
	animation: animation1 0.2s both;
	position: fixed;
	overflow: auto;
	z-index: 100;
	top: 0;
	bottom: 0;
	left: 50%;
	width: 100%;
	max-width: var(--sp-view-width);
	transform: translateX(-50%);
	padding: 100px var(--content-space) 50px;
	background: var(--primary-color);
	color: var(--primary-inverse-color);
	line-height: 1.5;
	font-size: 1.2rem;
}

#menubar.display-block,
.small-screen #menubar.display-block,
.large-screen #menubar.display-block {
	display: block;
}

#menubar ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

#menubar a {
	display: block;
	text-decoration: none;
	background: var(--primary-inverse-color);
	color: #333;
	margin-bottom: 1rem;
	padding: 1rem 2rem;
}


/* ハンバーガーボタン
---------------------------------------------------------------------------*/
#menubar_hdr {
	display: flex;
	animation: opa1 0s 0.2s both;
	cursor: pointer;
	width: var(--headerH);
	height: var(--headerH);
	position: fixed;
	z-index: 101;
	top: 0;
	right: calc((100vw - var(--sp-view-width)) / 2);
}

@media screen and (max-width: 430px) {
	#menubar_hdr {
		right: 0;
	}
}

#menubar_hdr.display-none {
	display: none;
}

#menubar_hdr.ham {
	background: #ff0000;
}

#menubar_hdr span {
	display: block;
	position: absolute;
	left: 18px;
	transition: 0.3s;
	width: 35px;
	height: 2px;
	background: #fff;
	box-shadow: 1px 1px rgba(0,0,0,0.3);
}

#menubar_hdr span:nth-of-type(1) {
	top: 24px;
}

#menubar_hdr span:nth-of-type(2) {
	top: 34px;
}

#menubar_hdr span:nth-of-type(3) {
	top: 44px;
}

#menubar_hdr.ham span:nth-of-type(1) {
	transform: translateY(10px) rotate(-45deg);
}

#menubar_hdr.ham span:nth-of-type(2) {
	opacity: 0;
}

#menubar_hdr.ham span:nth-of-type(3) {
	transform: translateY(-10px) rotate(45deg);
}


/* main・section
---------------------------------------------------------------------------*/
main {
	overflow-x: clip;
	min-width: 0;
}

section {
	padding: 0 var(--content-space);
	margin: 35px 0;
}

.bg {
	padding-top: 35px;
	padding-bottom: 35px;
}

.bg + .bg {
	margin-top: -35px !important;
}

.bg-primary {
	background: var(--primary-color);
	color: var(--primary-inverse-color);
}

.bg-secondary {
	background: var(--secondary-color);
	color: var(--secondary-inverse-color);
}

.bg-light {
	background: var(--light-color);
	color: var(--light-inverse-color);
}


/* heading
---------------------------------------------------------------------------*/
main h2 {
	display: inline-flex;
	flex-direction: column-reverse;
	font-size: 1.8rem;
	font-weight: 400;
}

main h2.c {
	display: flex;
}

main h2 .small,
main h4 span {
	font-size: 0.8rem;
	opacity: 0.5;
	letter-spacing: 0.2em;
}

main h2.logo-mark {
	background: url("../images/logo02.png") no-repeat center top / 110px;
	padding-top: 30px !important;
}

#link1 h2.logo-mark {
	background-position: center top;
	padding-right: 0;
}


/* 留学コンシェルジュとは
---------------------------------------------------------------------------*/
#link1 {
	position: relative;
}

#link1 .flex1 {
	display: block;
}

#link1 .flex1 > * {
	margin-bottom: 2rem;
}

#link1 .flex1 > *:last-child {
	margin-bottom: 0;
}

#link1 .list-grid-menu {
	margin: 2rem 0 2.5rem;
	padding: 0;
	list-style: none;
	width: 100%;
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
}

#link1 .list-grid-menu li {
	border: 1px solid rgba(0,0,0,0.18);
	background: transparent;
	min-height: auto;
	padding: 1rem 1.2rem;
	display: flex;
	align-items: center;
	line-height: 1.7;
	font-size: 1.1rem;
}

#link1 .list-grid-menu i {
	display: inline-block;
	padding-right: 1.5rem;
	color: var(--accent-color);
	transform: scale(1.5);
	transform-origin: left center;
	flex-shrink: 0;
}


/* 比較表
---------------------------------------------------------------------------*/
.reason-compare {
	width: 100%;
	margin: 1.5rem 0 2.5rem;
	overflow-x: auto;
}

.reason-compare-table {
	width: 100%;
	min-width: 560px;
	border-collapse: collapse;
	table-layout: fixed;
	background: rgba(255,255,255,0.45);
	border: 1px solid rgba(5,39,63,0.14);
}

.reason-compare-table th,
.reason-compare-table td {
	padding: 0.65rem 0.8rem;
	border: 1px solid rgba(5,39,63,0.12);
	text-align: left;
	vertical-align: middle;
	line-height: 1.6;
	font-size: 0.85rem;
}

.reason-compare-table th {
	font-weight: 700;
	background: rgba(255,255,255,0.6);
	color: var(--primary-color);
}

.reason-compare-table td {
	background: rgba(255,255,255,0.35);
}

.reason-compare-table td:nth-child(2) {
	font-weight: 600;
	background: rgba(255,255,255,0.58);
	color: var(--primary-color);
}


/* Flow
---------------------------------------------------------------------------*/
.text-kazari {
	line-height: 1;
	font-size: 4.6rem;
	margin-bottom: -3.2rem;
	background: linear-gradient(var(--light-color), var(--secondary-color));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.border-radius1 {
	border-radius: 130px 0 130px 0;
}

#link2 {
	overflow: hidden;
}

#link2 h2.c {
	text-align: center;
	justify-content: center;
	margin-left: auto;
	margin-right: auto;
}

#link2 picture,
#link2 picture img {
	display: block;
	width: 100%;
	height: auto;
}

.list-normal * {
	margin: 0;
	padding: 0;
}

.list-normal .list {
	display: block;
	gap: 2rem;
	background: var(--bg-color);
	color: var(--bg-inverse-color);
	padding: 20px;
	margin-bottom: 35px;
	border: 4px solid #eee;
	position: relative;
}

.list-normal .text {
	flex: 1;
}

.list-normal h4 {
	font-size: 1.2rem;
	margin-bottom: 1rem;
}

.office {
	text-align: center;
}

.office figure {
	display: none;
}

.office-table {
	max-width: 800px;
	margin: 30px auto 0;
	display: flex;
	flex-wrap: wrap;
}

.office-table dt {
	width: 40%;
	font-weight: bold;
	padding: 12px 0;
	border-bottom: 1px solid #ddd;
	font-size: 0.9rem;
}

.office-table dd {
	width: 60%;
	padding: 12px 0;
	border-bottom: 1px solid #ddd;
	margin: 0;
	text-align: left;
	font-size: 0.9rem;
}


/* 画像セクション・キャンペーン
---------------------------------------------------------------------------*/
.image-stack {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
}

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

.campaign {
	background-color: #072039;
	text-align: center;
}

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

.line-button-wrapper {
	position: relative;
	display: inline-block;
	background-color: #07203d;
	width: 100%;
	text-align: center;
}

.line-button-wrapper img {
	max-width: 100%;
	height: auto;
}

.line-button {
	cursor: pointer;
	transition: opacity 0.3s ease;
	animation: blink-glow 1.2s infinite;
	border-radius: 8px;
	width: 90%;
	display: block;
	margin: 0 auto;
}

.line-button:hover {
	opacity: 0.8;
}


/* footer
---------------------------------------------------------------------------*/
.site-footer {
	text-align: center;
	padding: 20px;
	background-color: #07203d;
	font-size: 14px;
	width: 100%;
	color: #fff;
}

.site-footer a {
	text-decoration: none;
	color: #fff;
}


/* page top
---------------------------------------------------------------------------*/
.pagetop-show {
	display: block;
}

.pagetop a {
	display: block;
	text-decoration: none;
	text-align: center;
	z-index: 99;
	animation: opa1 1s 0.4s both;
	position: fixed;
	right: calc((100vw - var(--sp-view-width)) / 2 + 20px);
	bottom: 50px;
	color: #fff;
	font-size: 1.5rem;
	background: rgba(0,0,0,0.2);
	width: 60px;
	line-height: 60px;
	border-radius: 50%;
}

@media screen and (max-width: 430px) {
	.pagetop a {
		right: 20px;
	}
}


/* utility
---------------------------------------------------------------------------*/
.clearfix::after {
	content: "";
	display: block;
	clear: both;
}

.color-check,
.color-check a {
	color: #c02340 !important;
}

.l {
	text-align: left !important;
}

.c {
	text-align: center !important;
}

.r {
	text-align: right !important;
}

.ws,
.wl {
	width: 95%;
	display: block;
}

.mt0 {
	margin-top: 0 !important;
}

.mb0 {
	margin-bottom: 0 !important;
}

.mb3rem {
	margin-bottom: 3rem !important;
}

.mb30 {
	margin-bottom: 30px !important;
}

.look {
	display: inline-block;
	padding: 0 10px;
	background: rgba(0,0,0,0.7);
	color: #fff;
	border-radius: 3px;
	margin: 5px 0;
	word-break: break-all;
}

.look .color-check {
	color: yellow !important;
}

.small {
	font-size: 0.75em;
}

.large {
	font-size: 2em;
	letter-spacing: 0.1em;
}

.block {
	display: block !important;
}

.marker {
	background: linear-gradient(transparent 70%, yellow 70%);
}


/* Aboutセクション調整
---------------------------------------------------------------------------*/
.about-section {
	padding: 55px 22px 60px;
	background: var(--light-color);
}

.about-inner {
	width: 100%;
	margin: 0 auto;
}

.about-head {
	margin-bottom: 34px;
}

.section-en {
	margin: 0 0 8px;
	color: rgba(5,39,63,0.45);
	font-size: 0.85rem;
	letter-spacing: 0.22em;
	line-height: 1.4;
}

.about-title,
.reason-title {
	display: block;
	margin: 0 0 24px;
	color: var(--primary-color);
	font-size: 1.75rem;
	font-weight: 500;
	line-height: 1.55;
	letter-spacing: 0.05em;
}

.about-lead {
	margin: 0 0 24px;
	color: #1e2f3d;
	font-size: 1.65rem;
	font-weight: 500;
	line-height: 1.9;
	letter-spacing: 0.05em;
}

.about-text,
.about-message p,
.about-note p {
	margin: 0 0 1.2rem;
	font-size: 1rem;
	line-height: 2.1;
	letter-spacing: 0.03em;
}

.purpose-box {
	margin: 0px 0 34px;
}

.purpose-title {
	margin: 0 0 14px;
	color: var(--primary-color);
	font-size: 1.15rem;
	font-weight: 600;
	letter-spacing: 0.04em;
}

.about-section .list-grid-menu {
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.about-section .list-grid-menu li {
	display: flex;
	align-items: center;
	gap: 14px;
	min-height: 58px;
	padding: 14px 16px;
	border: 1px solid rgba(5,39,63,0.18);
	background: rgba(255,255,255,0.35);
	color: #1f3040;
	font-size: 1.05rem;
	line-height: 1.6;
}

.about-section .list-grid-menu i {
	width: 26px;
	color: var(--accent-color);
	font-size: 1.35rem;
	line-height: 1;
	text-align: center;
	flex-shrink: 0;
}

.about-message {
	margin: 34px 0 52px;
}

.reason-box {
	margin: 0 0 34px;
}

.reason-title {
	margin-bottom: 24px;
}

.reason-compare {
	width: 100%;
	margin: 0;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.reason-compare-table {
	width: 100%;
	min-width: 520px;
	border-collapse: collapse;
	background: rgba(255,255,255,0.55);
	border: 1px solid rgba(5,39,63,0.14);
}

.reason-compare-table th,
.reason-compare-table td {
	padding: 13px 14px;
	border: 1px solid rgba(5,39,63,0.13);
	text-align: left;
	vertical-align: top;
	font-size: 0.9rem;
	line-height: 1.65;
}

.reason-compare-table th {
	background: rgba(255,255,255,0.75);
	color: var(--primary-color);
	font-weight: 700;
}

.reason-compare-table td:nth-child(2) {
	background: rgba(255,255,255,0.55);
	color: var(--primary-color);
	font-weight: 600;
}

.about-note {
	margin-top: 34px;
	padding: 24px 20px;
	background: rgba(255,255,255,0.35);
	border-left: 4px solid var(--accent-color);
}

.about-note p:last-child {
	margin-bottom: 0;
}

.free-note {
	color: var(--primary-color);
	font-weight: 700;
}

/* 既存のlogo-mark背景をこのセクションでは使わない */
.about-section .logo-mark {
	background: none;
	padding-top: 0 !important;
}

/* Aboutセクション調整
---------------------------------------------------------------------------*/
.about-section {
	padding: 55px 22px 60px;
	background: var(--light-color);
}

.about-inner {
	width: 100%;
	margin: 0 auto;
}

/* ロゴ中央配置 */
.about-logo {
	text-align: center;
	margin: 0 auto 24px;
}

.about-logo img {
	display: inline-block;
	width: 300px;
	max-width: 60%;
	height: auto;
}

.about-head {
	margin-bottom: 34px;
}

.section-en {
	margin: 0 0 8px;
	color: rgba(5,39,63,0.45);
	font-size: 0.85rem;
	letter-spacing: 0.22em;
	line-height: 1.4;
}

.about-title,
.reason-title {
	display: block;
	margin: 0 0 24px;
	color: var(--primary-color);
	font-size: 1.75rem;
	font-weight: 500;
	line-height: 1.55;
	letter-spacing: 0.05em;
}

.about-lead {
	margin: 0 0 24px;
	color: #1e2f3d;
	font-size: 1.65rem;
	font-weight: 500;
	line-height: 1.9;
	letter-spacing: 0.05em;
}

.about-text,
.about-message p,
.about-note p {
	margin: 0 0 1.2rem;
	font-size: 1rem;
	line-height: 2.1;
	letter-spacing: 0.03em;
}

.purpose-box {
	margin: 0px 0 34px;
}

.purpose-title {
	margin: 0 0 14px;
	color: var(--primary-color);
	font-size: 1.15rem;
	font-weight: 600;
	letter-spacing: 0.04em;
}

.about-section .list-grid-menu {
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.about-section .list-grid-menu li {
	display: flex;
	align-items: center;
	gap: 14px;
	min-height: 58px;
	padding: 14px 16px;
	border: 1px solid rgba(5,39,63,0.18);
	background: rgba(255,255,255,0.35);
	color: #1f3040;
	font-size: 1.05rem;
	line-height: 1.6;
}

.about-section .list-grid-menu i {
	width: 26px;
	color: var(--accent-color);
	font-size: 1.35rem;
	line-height: 1;
	text-align: center;
	flex-shrink: 0;
}

.about-message {
	margin: 34px 0 52px;
}

.reason-box {
	margin: 0 0 34px;
}

.reason-title {
	margin-bottom: 24px;
}

.reason-compare {
	width: 100%;
	margin: 0;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

/* 比較表 */
.reason-compare-table {
	width: 100%;
	min-width: 540px;
	border-collapse: collapse;
	table-layout: fixed;
	border: 1px solid rgba(5,39,63,0.16);
	box-shadow: 0 8px 18px rgba(5,39,63,0.06);
}

.reason-compare-table th,
.reason-compare-table td {
	padding: 14px 14px;
	border: 1px solid rgba(5,39,63,0.12);
	text-align: left;
	vertical-align: top;
	font-size: 0.9rem;
	line-height: 1.7;
}

/* 左側：一般的なエージェント */
.reason-compare-table .compare-normal {
	background: rgba(255,255,255,0.65);
	color: #425160;
}

/* 右側：留学コンシェルジュ */
.reason-compare-table .compare-concierge {
	background: rgba(5,39,63,0.08);
	color: var(--primary-color);
	font-weight: 600;
}

/* 見出し行 */
.reason-compare-table th.compare-normal {
	background: #f7fafc;
	color: #425160;
	font-weight: 700;
}

.reason-compare-table th.compare-concierge {
	background: var(--primary-color);
	color: #fff;
	font-weight: 700;
}

/* 右側を少し強調 */
.reason-compare-table td.compare-concierge {
	border-left: 2px solid rgba(157,137,80,0.45);
}

/* 偶数行で少し変化 */
.reason-compare-table tbody tr:nth-child(even) .compare-normal {
	background: rgba(255,255,255,0.45);
}

.reason-compare-table tbody tr:nth-child(even) .compare-concierge {
	background: rgba(5,39,63,0.12);
}

.about-note {
	margin-top: 34px;
	padding: 24px 20px;
	background: rgba(255,255,255,0.35);
	border-left: 4px solid var(--accent-color);
}

.about-note p:last-child {
	margin-bottom: 0;
}

.free-note {
	color: var(--primary-color);
	font-weight: 700;
}

/* 既存のlogo-mark背景をこのセクションでは使わない */
.about-section .logo-mark {
	background: none;
	padding-top: 0 !important;
}

/* link3・link4 画像セクションの余白削除
---------------------------------------------------------------------------*/
#link3,
#link4 {
	margin: 0;
	padding: 0;
	line-height: 0;
}

#link3 picture,
#link4 picture,
#link3 img,
#link4 img {
	display: block;
	width: 100%;
	height: auto;
}

/* link3/link4の前後にsection共通余白が残らないようにする */
#link3 + #link4 {
	margin-top: 0;
}