/* ==========================================================================
   base.css - リセット / CSS変数 / 基本タグ
   ========================================================================== */

:root {
	/* カラー */
	--color-primary: #00bfd3;
	--color-bg: #ffffff;
	--color-text: #000000;
	--color-heading: #000000;
	--color-subtext: #6d6d6d;
	--color-border: #e6e6e6;
	--color-gray-light: #d9d9d9;

	/* フォント */
	--font-jp: "Noto Sans JP", sans-serif;
	--font-en: "Zalando Sans SemiExpanded", sans-serif;

	/* レイアウト */
	--container-max: 1180px;
	--container-padding: clamp(20px, 3vw, 40px);
	--header-height: 80px;

	/* 影 */
	--shadow-cta: 0 5px 20px rgba(0, 191, 211, 0.2);
	--shadow-cta-lg: 0 5px 30px rgba(0, 191, 211, 0.3);
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--font-jp);
	font-weight: 400;
	color: var(--color-text);
	background: var(--color-bg);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
p,
figure {
	margin: 0;
}

ul,
ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

a {
	color: inherit;
	text-decoration: none;
}

img {
	max-width: 100%;
	display: block;
}

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

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

.container {
	max-width: var(--container-max);
	margin-inline: auto;
	padding-inline: var(--container-padding);
}

.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.js-reveal {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

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

@media (prefers-reduced-motion: reduce) {
	.js-reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

@media (max-width: 900px) {
	:root {
		--header-height: 55px;
	}
}
