@charset "UTF-8";

/* ==========================================================================
   デザイントークン
   ========================================================================== */

:root {
	/* カラー */
	--color-primary: #1C3557;
	--color-primary-dark: #122338;
	--color-primary-light: #E6ECF4;
	--color-accent: #C0392B;
	--color-accent-dark: #A93226;
	--color-steel: #6B7B8D;
	--color-steel-light: #B0BEC5;
	--color-text: #333333;
	--color-text-light: #666666;
	--color-text-on-dark: #FFFFFF;
	--color-bg: #FFFFFF;
	--color-bg-alt: #F4F6F8;
	--color-bg-dark: #1C3557;
	--color-border: #DEE2E6;

	/* フォント */
	--font-heading: "Noto Sans JP", sans-serif;
	--font-body: "Noto Sans JP", sans-serif;
	--font-number: "Helvetica Neue", Arial, sans-serif;
	--font-english: "Oswald", sans-serif;

	/* サイズ */
	--content-width: 1180px;
	--content-narrow: 960px;
	--header-height: 80px;
	--header-height-sp: 60px;

	/* 角丸（4px以下厳守） */
	--radius: 2px;
	--radius-lg: 4px;

	/* セクション余白 */
	--section-padding: 100px 0;
	--section-padding-sp: 64px 0;

	/* トランジション */
	--transition: 0.25s ease;
	--transition-slow: 0.4s ease;
}


/* ==========================================================================
   リセット
   ========================================================================== */

*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	font-size: 100%;
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.8;
	color: var(--color-text);
	background-color: var(--color-bg);
	word-break: break-all;
	overflow-wrap: break-word;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* スクロールロック用 */
body.is-menu-open {
	overflow: hidden;
}

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

a {
	color: inherit;
	text-decoration: none;
	transition: var(--transition);
}

a:hover {
	color: var(--color-accent);
}

ul,
ol {
	list-style: none;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

button {
	border: 0;
	background: none;
	cursor: pointer;
	font-family: inherit;
}

input,
textarea,
select {
	font-family: inherit;
	font-size: inherit;
}


/* ==========================================================================
   ベース要素
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-heading);
	font-weight: 700;
	line-height: 1.4;
}

h1 { font-size: 2.25rem; }
h2 { font-size: 1.875rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
	margin-bottom: 1em;
}

p:last-child {
	margin-bottom: 0;
}

strong {
	font-weight: 700;
}


/* ==========================================================================
   ユーティリティ
   ========================================================================== */

/* スクリーンリーダー専用 */
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* コンテンツ幅 */
.l-inner {
	width: 100%;
	max-width: var(--content-width);
	margin: 0 auto;
	padding: 0 20px;
}

.l-inner--narrow {
	max-width: var(--content-narrow);
}

/* PC/SP表示切り替え */
.u-pc-only {
	display: block;
}

.u-sp-only {
	display: none;
}


/* ==========================================================================
   スクロールアニメーション
   ========================================================================== */

.js-scroll-fade {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

.js-scroll-fade.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.js-scroll-slide-left {
	opacity: 0;
	transform: translateX(-40px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

.js-scroll-slide-left.is-visible {
	opacity: 1;
	transform: translateX(0);
}

.js-scroll-slide-right {
	opacity: 0;
	transform: translateX(40px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

.js-scroll-slide-right.is-visible {
	opacity: 1;
	transform: translateX(0);
}

/* 遅延クラス */
.js-delay-1 { transition-delay: 0.1s; }
.js-delay-2 { transition-delay: 0.2s; }
.js-delay-3 { transition-delay: 0.3s; }
.js-delay-4 { transition-delay: 0.4s; }
.js-delay-5 { transition-delay: 0.5s; }


/* ==========================================================================
   レスポンシブ
   ========================================================================== */

@media screen and (max-width: 768px) {
	h1 { font-size: 1.75rem; }
	h2 { font-size: 1.5rem; }
	h3 { font-size: 1.25rem; }
	h4 { font-size: 1.125rem; }

	.u-pc-only {
		display: none;
	}

	.u-sp-only {
		display: block;
	}

	.l-inner {
		padding: 0 16px;
	}
}
