@charset "UTF-8";

/* ============================================================
:root — デスクトップ基準（1440px超）
   ============================================================ */
:root {
	--font-base: 1.1rem;
	--font-sm: 0.875rem;
	--h1: 3.5rem;
	--h2: 2.5rem;
	--h3: 1.75rem;

	--space-xs: 0.5rem;
	--space-sm: 1rem;
	--space-md: 2rem;
	--space-lg: 4rem;
	--space-xl: 8rem;

	--container-width: 1100px;
	--article-width: 1024px;

	--color-primary-light: #e77bc3;
	--color-primary: #af5b9d;
	--color-base: #272727;
	--color-text: #707070;
	--color-black: #161616;
	--color-white: #fffcfd;
	--color-link: #286ef0;
	--color-important: #ee6363;
	--color-underline-primary: #ad46bb;
	--color-underline-secondary: #ffdffb;
	--color-1k: #1193d6;
	--color-2k: #44b856;
	--color-gold-light: #e8d995;
	--color-gold: #c9b764;
	--color-yellow: #ffdf53;
	--color-surface: #ffffff;
	--color-surface-alt: #f3f3f3;
	--color-bg: #f8f6f3;

	--text-size-10: clamp(0.6rem, 0.52vw, 0.7rem);
	--text-size-12: clamp(0.7rem, 0.625vw, 0.8rem);
	--text-size-14: clamp(0.75rem, 0.729vw, 0.9rem);
	--text-size-15: clamp(0.8rem, 0.781vw, 0.15rem);
	--text-size-16: clamp(1rem, 0.833vw, 1.2rem);
	--text-size-20: clamp(1rem, 1.04vw, 1.3rem);
	--text-size-22: clamp(1.15rem, 1.105vw, 1.4rem);
	--text-size-24: clamp(1.3rem, 1.25vw, 1.5rem);
	--text-size-26: clamp(1.4rem, 1.34vw, 1.7rem);
	--text-size-28: 1.9rem;
	--text-size-32: clamp(1.8rem, 1.666vw, 2rem);
	--text-size-64: clamp(3.6rem, 3.332vw, 4rem);
}

/* ============================================================
   :root — タブレット（〜1440px）
   ============================================================ */
@media screen and (max-width: 1440px) {
	:root {
		--font-base: 1rem;
		--h1: 2.75rem;
		--h2: 2rem;
		--h3: 1.5rem;

		--space-sm: 0.875rem;
		--space-md: 1.5rem;
		--space-lg: 3rem;
		--space-xl: 6rem;
	}
}

/* ============================================================
   :root — モバイル（〜767px）
   ============================================================ */
@media screen and (max-width: 767px) {
	:root {
		--font-base: 0.9375rem;
		--h1: 2rem;
		--h2: 1.5rem;
		--h3: 1.25rem;

		--space-sm: 0.75rem;
		--space-md: 1rem;
		--space-lg: 2rem;
		--space-xl: 3rem;
	}
}

/* ================================
   Global / Reset
================================ */
html {
	scroll-behavior: smooth;
}

body {
	background: var(--color-bg);
	font-family: "Noto Sans JP", sans-serif;
	font-optical-sizing: auto;
	font-style: normal;
	font-size: var(--text-size-16);
	color: var(--color-text);
}

img {
	display: block;
}

a {
	display: block;
}

li a {
	display: block;
	width: 100%;
	height: 100%;
	line-height: 35px;
}

h2 {
	display: block;
	font-size: var(--text-size-24);
	text-align: center;
}

/* ================================
   Utility Classes
================================ */
.noto-serif-jp {
	font-family: "Noto Serif JP", serif;
	font-optical-sizing: auto;
	font-style: normal;
}

/* テキスト補足・注釈 */
.text-note {
	font-size: var(--text-size-14);
}

/* 重要テキスト強調 */
.text-important {
	background: linear-gradient(
		rgba(0, 0, 0, 0) 70%,
		var(--color-underline-secondary) 71%
	);
	font-style: normal;
}

/* リンク */
.link {
	color: var(--color-link);
	display: inline;
}

.northEastArrow {
	display: inline-block;
	width: 1rem;
	height: 1rem;
	position: relative;
	align-content: center;
	margin-right: 0.5rem;
}

.northEastArrow::before {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 1rem;
	height: 1rem;
	border: 1px solid currentColor;
	border-radius: 1px;
	box-sizing: border-box;
}

.northEastArrow::after {
	content: "↗";
	position: absolute;
	top: -0.1em;
	right: -0.1em;
	font-size: 0.7em;
	line-height: 1;
	background-color: white;
	padding: 0;
}
.brsp {
	display: block;
}
@media screen and (min-width: 767px) {
	.brsp {
		display: none;
	}
}
/* ================================
   Site Header
================================ */
.site-header {
	position: relative;
	z-index: 100;
}

.site-header__inner {
	display: flex;
	align-items: center;
	width: 100%;
	background: linear-gradient(
		to bottom,
		rgba(249, 247, 244, 1) 0%,
		rgba(249, 247, 244, 0.9) 40%,
		rgba(249, 247, 244, 0.4) 70%,
		rgba(249, 247, 244, 0) 100%
	);
}

.site-header__logo-link {
	display: block;
}

.site-header__logo {
	display: block;
	width: 150px;
	margin-left: 8px;
}

/* ナビ：SP時はfixedでtranslateX(100%)で非表示 */
.site-header__nav {
	display: block;
	position: fixed;
	right: 0;
	top: 0;
	width: 80%;
	max-width: 320px;
	height: 100vh;
	padding: 40px 16px;
	border-radius: 0 0 0 8px;
	transition: 0.4s;
	z-index: 100;
	transform: translateX(100%);
}

.site-header__nav.is-active {
	transform: translateX(0);
	background: rgba(249, 247, 244, 1);
	box-shadow: -4px 0 16px rgba(0, 0, 0, 0.1);
}

.site-header__nav-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.site-header__nav-item {
	padding: 8px;
	color: var(--color-base);
}

.site-header__nav-item--cta {
	background: linear-gradient(180deg, #e295d8 0%, #c04cad 100%);
	text-align: center;
	margin-top: 16px;
	border-radius: 4px;
}

.site-header__nav-item--cta a {
	color: var(--color-bg);
}

.nav-cta__button {
	display: flex;
	align-items: center;
	justify-content: space-between;
	text-decoration: none;
	background: linear-gradient(45deg, #a68d5e 0%, #d4c391 50%, #8e794e 100%);
	border: 2px solid rgba(255, 255, 255, 0.3);
	width: 100%;
	padding: 8px 8px;
	color: var(--color-black) !important;
	transition: all 0.3s ease;
	position: relative;
}

.nav-cta__button:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}
.nav__button-text {
	font-family: "Noto Serif JP", serif;
	font-size: var(--text-size-18);
	font-weight: bold;
	display: block;
}
.nav__button-sub {
	display: block;
	font-size: var(--text-size-14);
	font-weight: 500;
	background: white;
	color: var(--color-important);
	border-radius: 2px;
	padding: 0 0.5rem;
}

/* ハンバーガーボタン */
.site-header__hamburger {
	display: block;
	position: relative;
	width: 40px;
	height: 40px;
	background: transparent;
	cursor: pointer;
	margin-left: auto;
	border: none;
	flex-shrink: 0;
	z-index: 1000;
	background: var(--color-black);
}

.site-header__hamburger-line {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	width: 30px;
	height: 2px;
	background-color: var(--color-white);
	transition: all 0.4s;
}

.site-header__hamburger-line:nth-of-type(1) {
	top: 20%;
}
.site-header__hamburger-line:nth-of-type(2) {
	top: 50%;
}
.site-header__hamburger-line:nth-of-type(3) {
	top: 80%;
}

.site-header__hamburger.is-active {
	background: none;
}

.site-header__hamburger.is-active .site-header__hamburger-line:nth-of-type(1) {
	top: 50%;
	transform: translateX(-50%) rotate(-45deg);
	background-color: var(--color-black);
}
.site-header__hamburger.is-active .site-header__hamburger-line:nth-of-type(2) {
	transform: translateX(-60%);
	opacity: 0;
}
.site-header__hamburger.is-active .site-header__hamburger-line:nth-of-type(3) {
	top: 50%;
	transform: translateX(-50%) rotate(45deg);

	background-color: var(--color-black);
}

/* ================================
   First View (FV)
================================ */
.fv {
	position: relative;
	display: block;
	width: 100%;
}

.fv__image {
	position: relative;
}

.fv__heading {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	overflow: hidden;
	border-top: var(--color-black) solid 2px;
	border-bottom: var(--color-black) solid 2px;
}

/* タイトルブロック（中央縦積み） */
.fv-title {
	position: relative;
	z-index: 1;
	width: 100%;
	height: 100%;
	background: var(--color-bg);
}

.fv-titleimg {
	object-fit: contain;
	width: 100%;
	display: block;
	padding: var(--space-md) var(--space-xs) 0;
}

/* 背景左：kaijo */
.fv-kaijo {
	display: none;
}

/* 背景右：web */
.fv-web {
	display: none;
}

/* spのみ背景 */
.sp-img-wrap {
	display: block;
	position: relative;
	height: 40vw;
	width: auto;
}

.sp-img-wrap img {
	display: block;
	position: absolute;
	height: 40vw;
}

.fv-kaijo-sp {
	top: 0;
	left: 0;
}

.fv-web-sp {
	top: 0;
	right: 0;
}

.fv-tokuten--pc {
	display: none;
}
.fv-tokuten--sp {
	display: block;
	padding: var(--space-sm) var(--space-md);
}

/* CTAはfv-titleの直下に自然に続く */
.cta-hero__title {
	font-size: var(--text-size-24);
	text-align: center;
	width: fit-content;
	margin: 0 auto var(--space-md);
	color: var(--color-white);
	position: relative;
}

/* 共通設定 */
.cta-hero__title::before,
.cta-hero__title::after {
	content: "";
	position: absolute;
	top: 0rem;
	width: 4rem;
	border: 2px dotted var(--color-white);
}

/* 左側の線（ \ ） */
.cta-hero__title::before {
	left: -2rem;
	transform: rotate(90deg);
	transform-origin: left bottom;
}

/* 右側の線（ / ） */
.cta-hero__title::after {
	right: -2rem;
	transform: rotate(-90deg);
	transform-origin: right bottom;
}
.cta-hero {
	display: block;
	width: 100%;
	background: var(--color-primary-light);
	padding: var(--space-md) var(--space-lg);
}

.cta-hero__inner {
	display: flex;
	flex-direction: column;
	gap: var(--space-sm);
	align-items: center;
	width: 100%;
}

/* ボタン系はそのまま維持 */
.cta-hero__button {
	display: flex;
	align-items: center;
	justify-content: space-between;
	text-decoration: none;
	background: linear-gradient(45deg, #a68d5e 0%, #d4c391 50%, #8e794e 100%);
	border: 4px solid var(--color-black);
	border-radius: 8px;
	width: 100%;
	padding: var(--space-sm) var(--space-md);
	color: var(--color-black) !important;
}

.cta-hero__button--secondary {
	/* pointer-events: none; */
	/* background: #858585; */
	background: linear-gradient(
		45deg,
		#999999 0%,
		#cccccc 20%,
		#f2f2f2 50%,
		#cccccc 80%,
		#999999 100%
	);
	color: var(--color-black) !important;
	border-color: var(--color-black);
}

.cta-hero__button--secondary .cta-hero__button-icon::after {
	border-color: var(--color-base);
}

.cta-hero__button:nth-child(1) {
	animation: shadowAnimation 1.4s ease-in-out infinite;
}
.cta-hero__button:nth-child(2) {
	animation: shadowAnimation 1.4s 0.7s ease-in-out infinite;
}

.cta-hero__button-content {
	display: flex;
	flex-direction: column;
	text-align: left;
}

.cta-hero__button-text {
	font-family: "Noto Serif JP", serif;
	font-size: var(--text-size-20);
	font-weight: bold;
	display: block;
}

.cta-hero__button--secondary .cta-hero__button-text {
	color: var(--color-black);
}

.cta-hero__button-sub {
	font-size: var(--text-size-20);
	margin-top: 4px;
	display: block;
	font-weight: 500;
	background: white;
	color: var(--color-important);
	border-radius: 2px;
	padding: 0 0.5rem;
}

.cta-hero__button--secondary .cta-hero__button-sub {
	display: block;
	font-size: var(--text-size-20);
	font-weight: 500;
	background: white;
	color: var(--color-important);
	border-radius: 2px;
	padding: 0 0.5rem;
}

.cta-hero__button-icon {
	width: 28px;
	height: 28px;
	border: 1px solid rgba(255, 255, 255, 0.5);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.15);
	flex-shrink: 0;
	margin-left: 4px;
	transition: transform 0.3s ease;
}

.cta-hero__button-icon::after {
	content: "";
	width: 7px;
	height: 7px;
	border-top: 2px solid var(--color-white);
	border-right: 2px solid var(--color-white);
	transform: rotate(45deg);
	margin-left: -2px;
}

.cta-hero__button:hover .cta-hero__button-icon {
	transform: translateX(4px);
}
@media screen and (min-width: 767px) {
	.cta-hero__title::before,
	.cta-hero__title::after {
		width: 2rem;
	}
}
@media screen and (min-width: 769px) {
	.fv-tokuten--pc {
		display: block;
		padding: 0 var(--space-lg) var(--space-md);
		width: 100%;
	}
	.fv-tokuten--sp {
		display: none;
	}
	.site-header__hamburger {
		width: 62px;
		height: 62px;
	}
	.site-header__logo {
		width: 15vw;
		margin-left: 24px;
		padding: 8px 0;
	}

	.fv-titleimg {
		object-fit: contain;
		width: 100%;
		display: block;
		padding: var(--space-md) calc(var(--space-lg)) var(--space-md);
	}

	.fv__heading {
		padding-bottom: 0;
		justify-content: center;
	}

	.fv-kaijo {
		display: block;
		position: absolute;
		object-fit: cover;
		width: 50%;
		height: auto;
		top: 0;
		bottom: auto;
		left: 0;
		aspect-ratio: 7 / 10;
		object-position: bottom 0 left -230px;
		z-index: 0;
	}

	.fv-web {
		display: block;
		position: absolute;
		object-fit: cover;
		z-index: 0;
		width: 50%;
		height: auto;
		top: 0;
		bottom: auto;
		right: 0;
		aspect-ratio: 7 / 10;
		object-position: bottom 0 right -190px;
		z-index: 0;
	}

	.fv-title {
		width: 50vw;
		max-width: 1000px;
		margin: 0 auto;
		border-right: solid 2px var(--color-black);
		border-left: solid 2px var(--color-black);
	}

	.sp-img-wrap {
		display: block;
		position: relative;
		height: 40vw;
		width: auto;
	}

	.sp-img-wrap {
		display: none;
	}
	.sp-img-wrap img {
		display: none;
	}

	.cta-hero {
		padding: var(--space-lg) var(--space-md) var(--space-lg);
	}

	.cta-hero__inner {
		flex-direction: row;
		max-width: 100%;
	}

	.cta-hero__button {
		flex: 1;
	}

	.cta-hero__button-text {
		font-size: var(--text-size-22);
	}
}
@keyframes shadowAnimation {
	0% {
		transform: translateY(0);
		box-shadow: none;
	}
	50% {
		transform: translateY(-3px);
		box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3);
	}

	100% {
		transform: translateY(0);
		box-shadow: none;
	}
}
/* ================================
   Intro Section
================================ */
.no1 {
	width: 150px;
	margin: auto;
}
.intro {
	text-align: center;
	border-bottom: 2px solid var(--color-primary);
	margin: 0 auto var(--space-lg);
	padding: var(--space-lg) var(--space-sm);
	background: var(--color-white);
}

.intro__container {
	max-width: 1440px;
	margin: 0 auto;
	text-align: center;
}

.intro__header {
	margin-bottom: 0;
}

.intro__headline {
	font-size: var(--text-size-20);
	color: var(--color-text);
	line-height: 1.4;
	margin: var(--space-sm);
	position: relative;
	display: inline-block;
}

.intro__headline::after {
	content: "";
	position: absolute;
	bottom: -10px;
	left: 50%;
	transform: translateX(-50%);
	width: 60px;
	height: 3px;
	background: var(--color-surface-alt);
}

.intro__points {
	margin-top: 2.5rem;
	margin-bottom: 2.5rem;
}

.intro__points-title {
	display: block;
	max-width: 520px;
	margin: 0 auto 1rem;
	font-size: var(--text-size-20);
	font-weight: bold;
	color: var(--color-primary);
	letter-spacing: 0.05em;
	padding: 0.4em 1em 0.4em 1.2em;
	border-left: 4px solid var(--color-primary);
	background: linear-gradient(
		90deg,
		rgba(4, 123, 187, 0.08) 0%,
		transparent 100%
	);
	box-sizing: border-box;
}

.intro__points-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	text-align: left;
	max-width: 520px;
	margin: 0 auto;
}

.intro__point {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	color: var(--color-text);
}

.intro__point-num {
	display: inline-block;
	flex-shrink: 0;
	font-size: var(--text-size-14);
	font-weight: bold;
	color: var(--color-white);
	background: var(--color-primary);
	min-width: 2.2em;
	text-align: center;
	padding: 0.15em 0.4em;
	border-radius: 2px;
	margin-bottom: 0.5em;
}

.intro__point-body {
	flex: 1;
	min-width: 0;
}

.intro__point-heading {
	font-size: var(--text-size-20);
	font-weight: bold;
	color: var(--color-base);
	margin: 0 0 0.5em;
	line-height: 1.4;
}

.intro__point-text {
	font-size: var(--text-size-16);
	line-height: 1.65;
	margin: 0;
	color: var(--color-text);
}

.intro__point-text em {
	font-style: normal;
	color: var(--color-primary);
}

@media screen and (min-width: 769px) {
	.intro__headline {
		font-size: var(--text-size-26);
	}

	.intro__points-title {
		padding-left: calc(1.2em + 2vw);
		padding-right: 2vw;
	}
}

/* ================================
   Exam Tab
================================ */
.exam-tab {
	margin: var(--space-xl) var(--space-md);
}

.exam-tab__heading {
	margin: 0 0 1.5vh;
	font-size: clamp(1rem, 2.2vw, 1.25rem);
	font-weight: bold;
	color: var(--color-base);
	text-align: center;
}

.exam-tab__buttons {
	display: grid;
	grid-auto-flow: column;
	grid-template-columns: 100%;
	grid-template-rows: 1fr 1fr 1fr 1fr 1fr 1fr;
	justify-content: center;
	row-gap: 8px;
	column-gap: 56px;
	margin-bottom: 1vh;
	text-align: center;
}

.exam-tab__category-title {
	font-size: var(--text-size-32);
	align-content: center;
	color: var(--color-primary);
	font-weight: bold;
}

.exam-tab__btn {
	padding: 16px 40px;
	font-size: clamp(1rem, 2vw, 1.25rem);
	font-weight: bold;
	color: var(--color-base);
	background: var(--color-surface);
	border: 1px solid var(--color-text);
	cursor: pointer;
	transition:
		background 0.2s,
		color 0.2s;
	min-width: 160px;
}

.exam-tab__btn.is-active {
	background: var(--color-primary);
	color: var(--color-surface);
	border-color: var(--color-primary);
}

.exam-tab__btn:not(.is-active):hover {
	background: #e8e4e4;
}

.exam-tab__note {
	margin: 0 0 2vh;
	font-size: var(--text-size-12);
	color: var(--color-base);
	text-align: center;
}

.exam-tab__content {
	margin-bottom: var(--space-md);
}

/* JS無効時：すべて表示 */
.no-js .exam-tab__content {
	display: block;
}
.no-js .exam-tab__content + .exam-tab__content {
	margin-top: 2vh;
}

/* JS有効時：タブで切り替え */
.js .exam-tab__content {
	display: none;
}
.js .exam-tab__content.is-active {
	display: block;
}

@media screen and (min-width: 769px) {
	.exam-tab__buttons {
		grid-template-columns: 240px 240px;
		grid-template-rows: 1fr 1fr 1fr;
	}
}

/* ================================
   Summary Section
================================ */
.summary {
	display: block;
	margin: 0 auto 3vw;
	padding: 0 3vw 0;
}

.summary__title {
	font-size: var(--text-size-24);
	text-align: center;
	margin-bottom: var(--h2);
}

.summary__table {
	width: 100%;
	border-collapse: collapse;
	color: var(--color-base);
	max-width: 440px;
	margin: 0 auto;
}

.summary__row {
	border-bottom: solid 1px var(--color-text);
}

.summary__row:last-of-type {
	border: none;
}

.summary__row td {
	padding: 16px;
}

.summary__head {
	/* th/td共通 */
}

.summary__data {
	/* td */
}

.summary__fee {
	font-weight: bold;
	color: var(--color-2k);
	background: linear-gradient(
		180deg,
		transparent 60%,
		rgba(68, 184, 86, 0.15) 60%
	);
	padding: 0 0.1em;
}

@media screen and (min-width: 769px) {
	.summary__table {
		font-size: var(--text-size-20);
		max-width: 640px;
	}
}

/* ================================
   Flow Section
================================ */
.flow {
	color: var(--color-text);
	margin: var(--space-xl) auto;
}

.flow__title {
	font-size: var(--text-size-24);
	text-align: center;
	margin-bottom: 2vh;
}

.flow__timeline-line {
	border-top: var(--color-primary-light) 1px solid;
	position: absolute;
	top: 16px;
	width: 1280px;
}

.flow__table {
	margin: 0 auto;
}

.flow__list {
	display: flex;
	gap: 24px;
	padding: 0px 16px 24px;
	list-style: none;
	margin: 0;
	width: 1300px;
}

.flow__item {
	position: relative;
	flex: 1;
	margin-bottom: 50px;
}

.flow__dot {
	position: relative;
	width: 100%;
	height: 16px;
	margin-bottom: 8px;
}

.flow__dot::before,
.flow__dot::after {
	content: "";
	position: absolute;
	border-radius: 50%;
}

.flow__dot::before {
	width: 16px;
	height: 16px;
	background: var(--color-primary-light);
	top: 9px;
	left: 50%;
	transform: translateX(-50%);
}

.flow__dot::after {
	width: 8px;
	height: 8px;
	background: var(--color-primary);
	top: 13px;
	left: 50%;
	transform: translateX(-50%);
}

.flow__date {
	font-size: var(--text-size-16);
	margin-bottom: 8px;
	color: var(--color-primary);
	text-align: center;
}

.flow__card {
	background: var(--color-surface);
	border-radius: 8px;
	height: 100%;
}

.flow__card-media {
	position: relative;
}

.flow__card-img {
	width: 100%;
	display: block;
	border-radius: 8px 8px 0 0;
	aspect-ratio: 10/6;
}

.flow__card-step {
	position: absolute;
	bottom: 0px;
	left: 8px;
	font-size: var(--text-size-64);
	font-weight: bold;
	color: var(--color-primary-light);
}

.flow__card-title {
	font-size: var(--text-size-24);
	color: var(--color-primary-light);
	margin: 8px;
}

.flow__card-text {
	font-size: var(--text-size-16);
	margin: 8px;
}

@media screen and (min-width: 800px) {
	.flow {
		max-width: 1500px;
	}

	.flow__list {
		display: flex;
		justify-content: center;
		margin: 0 auto;
		width: 100% !important;
		max-width: 1400px;
	}

	.flow__item {
		flex: 1;
	}

	.flow__timeline-line {
		width: 97%;
		left: 50%;
		transform: translateX(-50%);
	}

	.flow__card-text {
		font-size: var(--text-size-16);
	}

	.flow__card-title {
		font-size: var(--text-size-24);
	}
}

/* ================================
   CTA Block（共通：2つ目以降）
================================ */
.cta-block {
	max-width: 440px;
	margin: var(--space-lg) auto;
	padding: 0 var(--space-md);
	text-align: center;
}

.cta-block__inner {
	display: flex;
	flex-direction: column;
	gap: var(--space-md);
	align-items: center;
}

.cta-block__button {
	display: flex;
	align-items: center;
	justify-content: space-between;
	text-decoration: none;
	background: linear-gradient(45deg, #a68d5e 0%, #d4c391 50%, #8e794e 100%);
	border-radius: 40px;
	width: 100%;
	max-width: 400px;
	padding: var(--space-sm) var(--space-lg);
	color: var(--color-black) !important;
	box-shadow: 0 4px 0 var(--color-base);
	position: relative;
	transition: all 0.3s ease;
	margin: 0 auto;
	border: solid 1px var(--color-black);
	animation: cta-pulse 2s infinite;
}

.cta-block__button--secondary {
	/* pointer-events: none;
	background: #858585; */
	background: linear-gradient(
		45deg,
		#999999 0%,
		#cccccc 20%,
		#f2f2f2 50%,
		#cccccc 80%,
		#999999 100%
	);
	color: var(--color-black) !important;
	animation: cta-pulse 2s infinite;
}

.cta-block__button--secondary .cta-block__button-icon::after {
	border-color: var(--color-base);
}

.cta-block__button:hover {
	transform: translateY(2px);
	box-shadow: 0 2px 0 var(--color-base);
}

.cta-block__button-content {
	display: flex;
	flex-direction: column;
	text-align: left;
}

.cta-block__button-text {
	font-family: "Noto Serif JP", serif;
	font-size: var(--text-size-20);
	font-weight: bold;
	display: block;
}

.cta-block__button-sub {
	font-size: var(--text-size-20);
	display: block;
	margin-top: 4px;
}

.cta-block__button--secondary .cta-block__button-text,
.cta-block__button--secondary .cta-block__button-sub {
	color: var(--color-black);
}

.cta-block__button-icon {
	position: absolute;
	right: 15px;
	top: 50%;
	transform: translateY(-50%);
	width: 24px;
	height: 24px;
	border: 1px solid rgba(255, 255, 255, 0.4);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--color-surface);
	transition: transform 0.3s ease;
}

.cta-block__button-icon::after {
	content: "";
	width: 6px;
	height: 6px;
	border-top: 2px solid var(--color-base);
	border-right: 2px solid var(--color-base);
	transform: rotate(45deg);
	margin-left: -2px;
}

.cta-block__button:hover .cta-block__button-icon {
	transform: translateY(-50%) translateX(5px);
}

@keyframes cta-pulse {
	0% {
		box-shadow: 0 4px 2px rgba(107, 107, 107, 0.4);
	}
	50% {
		box-shadow: 0 4px 12px rgba(107, 107, 107, 0.4);
	}
	100% {
		box-shadow: 0 4px 2px rgba(107, 107, 107, 0.4);
	}
}

@media screen and (min-width: 769px) {
	.cta-block {
		max-width: 1000px;
	}

	.cta-block__button {
		max-width: 560px;
		border-radius: 100vh;
	}

	.cta-block__button-icon {
		right: 40px;
		width: 32px;
		height: 32px;
	}

	.cta-block__button-text {
		font-size: var(--text-size-24);
	}
}

/* ================================
   Tokuten（お申込み者特典）
================================ */
.tokuten {
	max-width: 440px;
	margin: 0 auto var(--space-xl);
	padding: 0 var(--space-md);
}

.tokuten__inner {
	background: var(--color-surface);
	border-radius: 8px;
	padding: 1.5rem;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
	border: 2px solid var(--color-primary);
}

.tokuten__title {
	font-size: var(--text-size-22);
	font-weight: bold;
	color: var(--color-primary);
	text-align: center;
	margin: 0 0 1rem;
}

.tokuten__card {
	color: var(--color-base);
}

.tokuten__ribbon-wrap {
	position: relative;
	text-align: center;
	margin-bottom: 1rem;
	padding: 0.6rem 0;
	min-height: 3.5em;
	display: flex;
	align-items: center;
	justify-content: center;
}

.tokuten__ribbon {
	position: absolute;
	left: 0;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	height: 2.4em;
	background: linear-gradient(
		135deg,
		var(--color-2k) 0%,
		#3a9e4a 50%,
		var(--color-2k) 100%
	);
	box-shadow:
		0 2px 6px rgba(0, 0, 0, 0.2),
		inset 0 1px 0 rgba(255, 255, 255, 0.2);
	z-index: 0;
}

.tokuten__ribbon::before {
	content: "";
	position: absolute;
	left: -0.6em;
	top: 0;
	bottom: 0;
	width: 1.2em;
	background: linear-gradient(135deg, var(--color-2k) 0%, #2d8a3a 100%);
	transform: skewX(-12deg);
	box-shadow: 2px 0 4px rgba(0, 0, 0, 0.2);
}

.tokuten__ribbon::after {
	content: "";
	position: absolute;
	right: -0.6em;
	top: 0;
	bottom: 0;
	width: 1.2em;
	background: linear-gradient(135deg, #2d8a3a 0%, var(--color-2k) 100%);
	transform: skewX(12deg);
	box-shadow: -2px 0 4px rgba(0, 0, 0, 0.2);
}

.tokuten__card-title {
	position: relative;
	z-index: 1;
	display: inline-block;
	font-size: var(--text-size-20);
	font-weight: bold;
	color: var(--color-primary);
	margin: 0;
	padding: 0.2em 1em;
	background: #e8f4fc;
	box-shadow: 0 0 0 5px #e8f4fc;
}

.tokuten__figure {
	margin: 0 0 1.25rem;
}

.tokuten__img-trigger {
	display: block;
	width: 100%;
	padding: 0;
	border: none;
	background: none;
	cursor: pointer;
}

.tokuten__img {
	width: 100%;
	height: auto;
	border-radius: 4px;
	border: 1px solid #e0e0e0;
}

.tokuten__caption {
	font-size: var(--text-size-12);
	color: var(--color-base);
	text-align: center;
	margin-top: 0.5rem;
}

.tokuten__description {
	line-height: 1.7;
}

.tokuten__text {
	font-size: var(--text-size-16);
	margin: 0;
}

@media screen and (min-width: 769px) {
	.tokuten {
		max-width: 680px;
	}

	.tokuten__title {
		font-size: var(--text-size-28);
	}

	.tokuten__card-title {
		font-size: var(--text-size-24);
	}

	.tokuten__text {
		font-size: var(--text-size-16);
	}
}

/* ================================
   Voices（合格者の声）
================================ */
.voices {
	color: var(--color-text);
	max-width: 440px;
	margin: var(--space-xl) auto;
}

.voices__title {
	font-size: var(--text-size-24);
	text-align: center;
	margin-bottom: var(--h2);
}

.voices__list {
	display: flex;
	flex-direction: column;
	gap: var(--space-md);
	margin-bottom: var(--space-lg);
}

.voices__item {
	display: flex;
	gap: 2vw;
	padding: 10px;
	background: var(--color-surface);
}

.voices__photo {
	width: 60px !important;
	height: 80px !important;
	flex: none !important;
	object-fit: cover;
	border: 1px solid var(--color-text);
	background-color: var(--color-bg);
	align-self: flex-start;
}

.voices__body {
	flex: 4;
	display: flex;
	flex-direction: column;
	gap: var(--space-sm);
}

.voices__heading {
	color: var(--color-primary-light);
	font-size: var(--text-size-20);
	font-weight: bold;
}

.voices__text {
	font-size: var(--text-size-16);
	line-height: 1.6;
}

.voices__name {
	font-size: var(--text-size-14);
	color: var(--color-black);
	font-weight: bold;
	text-align: right;
}

@media screen and (min-width: 769px) {
	.voices {
		max-width: 1000px;
	}

	.voices__item {
		border: 1px solid #dcdcdc;
		border-radius: 2px;
	}

	.voices__photo {
		width: 100px !important;
		height: 130px !important;
	}

	.voices__heading {
		font-size: var(--text-size-22);
		border-bottom: 1px solid var(--color-base);
		padding-bottom: 8px;
		margin-bottom: 8px;
		display: inline-block;
	}

	.voices__text {
		font-size: var(--text-size-16);
	}

	.voices__name {
		font-size: var(--text-size-14);
		margin-top: 10px;
	}
}

/* ================================
   FAQ Section
================================ */
.faq {
	color: var(--color-text);
	max-width: 440px;
	margin: var(--space-xl) var(--space-md);
}

.faq__title {
	font-size: var(--text-size-24);
	text-align: center;
	margin-bottom: var(--space-md);
}

.faq__list {
	/* コンテナ */
}

.faq__item {
	border-bottom: var(--color-text) solid 1px;
}

.faq__question {
	cursor: pointer;
	display: flex;
	gap: 8px;
	padding: 32px 5px;
	align-items: center;
	position: relative;
}

.faq__question-text {
	font-size: var(--text-size-16);
	display: block;
}

.faq__answer {
	height: 0;
	overflow: hidden;
	transition: height 0.35s ease;
}

.faq__answer-head {
	cursor: pointer;
	display: flex;
	gap: 8px;
	align-items: center;
}

.faq__answer-body {
	font-size: var(--text-size-16);
	margin: var(--space-md) var(--space-sm);
}

.faq__label {
	font-weight: bold;
}

.faq__label--q {
	color: var(--color-primary-light);
	font-size: var(--text-size-24);
	padding: 0 6px;
}

.faq__label--a {
	color: var(--color-primary);
	font-size: var(--text-size-24);
	padding: 0 6px;
}

.faq__toggle-icon {
	content: "";
	right: 0;
	height: 20px;
	width: 20px !important;
	margin: auto;
	margin-right: 0;
	position: relative;
}

.faq__toggle-icon::before,
.faq__toggle-icon::after {
	content: "";
	height: 1px;
	width: 20px;
	position: absolute;
	background: var(--color-primary-light);
	z-index: 1;
	right: 0;
	top: 50%;
	transition: 0.5s;
}

.faq__toggle-icon::after {
	transform: rotate(90deg);
}

.faq__item.is-open .faq__toggle-icon::after {
	transform: rotate(0deg);
	opacity: 0;
}

.faq__steps {
	padding-left: 1em;
}

.faq__support {
	margin-top: 2vh;
}

.faq__support-lead {
	margin-bottom: 1rem;
	font-size: var(--text-size-16);
	line-height: 1.6;
}

.faq__support-links {
	color: var(--color-link);
	font-size: var(--text-size-16);
}

.faq__support-links a {
	color: var(--color-link);
	display: block;
	margin-bottom: 0.5em;
}

@media screen and (min-width: 769px) {
	.faq {
		max-width: 1000px;
		margin: var(--space-xl) auto;
	}

	.faq__question-text {
		font-size: var(--text-size-20);
	}

	.faq__answer-head p {
		font-size: var(--text-size-16);
	}

	.faq__answer-body {
		font-size: var(--text-size-16);
	}
}

/* ================================
   Achievement Banner
================================ */
.achievement-banner {
	max-width: 500px;
	margin: 0 auto 3vw;
}

@media screen and (min-width: 769px) {
	.achievement-banner {
		max-width: 1000px;
	}
}

/* ================================
   Recommend Section
================================ */
.recommend {
	background: var(--color-primary);
	color: var(--color-bg);
	padding: var(--space-lg) var(--space-md);
	margin: 0 auto;
}

.recommend__title {
	font-size: var(--text-size-24);
	text-align: center;
	margin: 0 auto var(--h2);
}

.recommend__container {
	display: flex;
	justify-content: center;
	flex-direction: column;
	gap: var(--space-lg);
	align-items: center;
	margin: var(--space-xl) auto;
}

.recommend__item {
	display: block;
	max-width: 440px;
}

.recommend__item-title {
	display: flex;
	justify-content: space-between;
	font-size: var(--text-size-24);
	margin-bottom: 8px;
	background: var(--color-white);
	color: var(--color-primary);
	padding: var(--space-xs);
	align-items: center;
}

.recommend__item p {
	font-size: var(--text-size-16);
}

.recommend__subsidy-badge {
	background: var(--color-black);
	text-align: center;
	font-size: var(--text-size-16);
	padding: 0 8px;
	display: flex;
	justify-content: center;
	align-items: center;
	height: 40px;
}

.recommend__tags {
	display: flex;
	flex-direction: column;
	/* justify-content: flex-end; */
	gap: 15px;
	margin: 8px 0;
}

.recommend__tag {
	border-radius: 100vh;
	text-align: center;
	padding: 0 15px;
	font-size: var(--text-size-16);
}

.recommend__tag--gakka {
	background: var(--color-black);
}

.recommend__tag--1k {
	background: var(--color-1k);
}

.recommend__tag--2k {
	background: var(--color-2k);
}

.recommend__cta {
	/* wrapper */
}

.recommend__cta-container {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: var(--space-md);
	margin: auto;
}

.recommend__cta-item {
	display: block;
	text-align: center;
	flex: 1;
}

.recommend__cta-item p {
	font-size: var(--text-size-16);
	font-weight: 300;
}

.recommend__cta-btn {
	display: inline-block;
	margin-top: 8px;
	background: linear-gradient(
		180deg,
		var(--color-surface),
		var(--color-surface-alt)
	);
	color: var(--color-base);
	border-radius: 100vh;
	padding: 16px 32px;
	width: 280px;
	font-size: var(--text-size-16);
	text-align: center;
}

@media screen and (min-width: 769px) {
	.recommend__container {
		flex-direction: row;
		max-width: 1000px;
		/* gap: var(--space-md); */
		padding: 0;
		align-items: first baseline;
		margin: var(--space-lg) auto;
	}

	.recommend__item {
		flex: 1;
	}

	.recommend__item-title {
		font-size: var(--text-size-24);
	}

	.recommend__cta-container {
		flex-direction: row;
		max-width: 1000px;
	}

	.recommend__cta-btn {
		width: 100%;
		font-size: var(--text-size-24);
	}

	.recommend__cta-item p {
		font-size: var(--text-size-16);
	}
	.recommend__tags {
		flex-direction: row;
	}
}

/* ================================
   Floating CTA
================================ */
.floating-cta {
	position: fixed;
	z-index: 95;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition:
		opacity 0.3s ease,
		visibility 0.3s ease;
}

.floating-cta.is-visible {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.floating-cta__inner {
	position: fixed;
	left: 50%;
	transform: translateX(-50%);
	bottom: 28px;
	width: calc(100% - 32px);
	max-width: 400px;
}

.floating-cta__button {
	display: flex;
	align-items: center;
	justify-content: space-between;
	text-decoration: none;
	background: linear-gradient(
		180deg,
		var(--color-primary-light),
		var(--color-primary)
	);
	border-radius: 100vh;
	width: 100%;
	padding: 15px 20px;
	color: var(--color-white) !important;
	margin: 0 auto;
	animation: cta-pulse 2s infinite;
}

.floating-cta__button-content {
	display: flex;
	flex-direction: column;
}

.floating-cta__button-text {
	font-family: "Noto Serif JP", serif;
	font-size: var(--text-size-20);
	font-weight: bold;
	display: block;
}

.floating-cta__button-sub {
	font-size: var(--text-size-14);
	display: block;
	margin-top: 4px;
}

.floating-cta__button-icon {
	width: 24px;
	height: 24px;
	border: 1px solid rgba(255, 255, 255, 0.4);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--color-surface);
	flex-shrink: 0;
	margin-left: 12px;
}

.floating-cta__button-icon::after {
	content: "";
	width: 6px;
	height: 6px;
	border-top: 2px solid var(--color-base);
	border-right: 2px solid var(--color-base);
	transform: rotate(45deg);
	margin-left: -2px;
}

@media screen and (min-width: 769px) {
	.floating-cta {
		display: none !important;
	}
}

/* ================================
   Modal
================================ */
.modal {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 9999;
	background: rgba(0, 0, 0, 0.85);
	align-items: center;
	justify-content: center;
	padding: 2rem;
	box-sizing: border-box;
}

.modal.is-open {
	display: flex;
}

.modal__inner {
	max-width: 95vw;
	max-height: 90vh;
	display: flex;
	align-items: center;
	justify-content: center;
}

.modal__img {
	max-width: 100%;
	max-height: 90vh;
	width: auto;
	height: auto;
	object-fit: contain;
	border-radius: 4px;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}
/* ================================
   TO TOP
================================ */
.toTop {
	position: fixed;
	bottom: var(--space-md);
	right: var(--space-md);
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--color-primary);
	border: 2px solid var(--color-white);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
	transition:
		transform 0.3s ease,
		opacity 0.3s ease;
	opacity: 0;
	pointer-events: none;
	z-index: 100;
}

.toTop.is-visible {
	opacity: 1;
	pointer-events: auto;
}

.toTop:hover {
	transform: translateY(-4px);
}

.toTop__arrow {
	width: 10px;
	height: 10px;
	border-top: 2px solid var(--color-white);
	border-right: 2px solid var(--color-white);
	transform: rotate(-45deg);
	margin-top: 4px; /* 矢印を視覚的に中央に補正 */
}

/* ================================
   Site Footer
================================ */
.site-footer {
	background: var(--color-primary);
	padding: var(--space-md);
}

.site-footer__copy {
	font-size: var(--text-size-12);
	color: var(--color-surface);
	width: fit-content;
	margin: auto;
}

@media screen and (min-width: 769px) {
}

/* 高さは増やさず、上段とCTAの境界に帯を重ねて「浮いている」ように見せる（PC） */
.fv-title__band-hold {
	display: block;
	position: relative;
	height: 0;
	overflow: visible;
	z-index: 2;
}

.fv-title__band-hold .cta-hero__title--bands {
	position: absolute;
	left: 50%;
	top: 0;
	transform: translate(-50%, -50%);
	margin: 0;
	padding: 0 var(--space-sm);
	width: max-content;
	max-width: min(100%, calc(100% - 1rem));
	text-align: center;
	box-sizing: border-box;
	pointer-events: none;
}

/* スマホ：FVタイトル画像の直下に帯→特典SP画像（やや下げ）→CTA→特典SP下段 */
@media screen and (max-width: 768px) {
	.fv-title {
		display: grid;
		grid-template-columns: 1fr;
		grid-template-areas:
			"fvtitleimg"
			"fvband"
			"fvsp"
			"fvcta"
			"fvtokuten";
		height: auto;
		align-items: stretch;
	}

	.fv-title > .fv-titleimg {
		grid-area: fvtitleimg;
	}

	.fv-title > .fv-title__band-hold {
		grid-area: fvband;
		position: relative;
		height: auto;
		min-height: 0;
		z-index: auto;
		display: flex;
		align-items: center;
		justify-content: center;
		align-self: stretch;
		width: 100%;
		overflow: visible;
		pointer-events: none;
		padding: 0.5rem var(--space-sm) 0;
	}

	.fv-title > .sp-img-wrap {
		grid-area: fvsp;
		margin-top: -50px;
		height: calc(40vw + 20px);
		overflow: visible;
	}

	.fv-title > .sp-img-wrap .fv-kaijo-sp,
	.fv-title > .sp-img-wrap .fv-web-sp {
		top: 30px;
	}

	.fv-title > .cta-hero {
		grid-area: fvcta;
		position: relative;
	}

	.fv-title > .fv-tokuten--sp {
		grid-area: fvtokuten;
	}

	.fv-title__band-hold .cta-hero__title--bands {
		position: relative;
		left: auto;
		top: auto;
		transform: none;
		width: auto;
		max-width: calc(100% - 1rem);
	}
}

@media screen and (min-width: 769px) {
	.fv-title {
		display: block;
		height: 100%;
	}

	.fv-title > .fv-titleimg,
	.fv-title > .sp-img-wrap,
	.fv-title > .fv-title__band-hold,
	.fv-title > .cta-hero,
	.fv-title > .fv-tokuten--sp {
		grid-area: unset;
	}

	.fv-title > .sp-img-wrap {
		margin-top: 0;
		top: 0;
		height: 40vw;
		overflow: visible;
	}

	.fv-title > .sp-img-wrap .fv-kaijo-sp,
	.fv-title > .sp-img-wrap .fv-web-sp {
		top: 0;
	}

	.fv-title__band-hold {
		display: block;
		position: relative;
		height: 0;
		overflow: visible;
		z-index: 2;
	}

	.fv-title__band-hold .cta-hero__title--bands {
		position: absolute;
		left: 50%;
		top: 0;
		transform: translate(-50%, -50%);
		width: max-content;
		max-width: min(100%, calc(100% - 1rem));
	}

	.fv-title > .cta-hero {
		z-index: auto;
	}
}

.cta-hero__title--bands.cta-hero__title::before,
.cta-hero__title--bands.cta-hero__title::after {
	display: none;
}

.cta-hero__title--bands .cta-hero__title-line {
	display: inline-block;
	width: fit-content;
	max-width: 100%;
	margin: 0;
	padding: 0.42em 0.75em;
	background: #000;
	color: #fff;
	font-family: "Noto Serif JP", serif;
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: 0.06em;
	transform: skewX(-11deg);
	box-shadow:
		0 8px 20px rgba(0, 0, 0, 0.35),
		0 3px 6px rgba(0, 0, 0, 0.22),
		2px 2px 0 rgba(0, 0, 0, 0.2);
}

.cta-hero__title--bands .cta-hero__title-line-inner {
	display: block;
	transform: skewX(11deg);
}

/* スマホのみ <br class="brsp"> で改行、767px以上では改行しない */
.brsp {
	display: block;
}

@media screen and (min-width: 767px) {
	.cta-hero__title--bands .cta-hero__title-line {
		padding: 0.38em 1.5em;
		font-size: 1.05em;
	}

	.brsp {
		display: none;
	}
}
