@charset "UTF-8";
/* ==========================================================================
   base.css : 変数・リセット・レイアウト
   ========================================================================== */

:root {
	--color-heading: #747476;
	--color-text: #7a7a7a;
	--color-body: #3c4858;
	--color-link: #333;
	--color-blue: #6ec1e4;
	--color-blue-dark: #036b9c;
	--color-button: #5bc0de;
	--color-accent: #e91e63;
	--color-red: #f5011c;
	--color-border: #ddd;
	--color-bg-gray: #f7f7f7;
	--color-bg-footer: #f3f6f8;

	--font-base: "Roboto", "Helvetica", "Arial", sans-serif;
	--font-serif: "Roboto Slab", "Times New Roman", serif;

	--container: 1140px;
	--gutter: 15px;
	--header-height: 70px;
	--section-space: 50px;
}

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

html {
	/* 本番（Hestia / Bootstrap）と同じく 1rem = 10px。CF7フォームや移植したCSSの rem 指定がこの前提のため */
	font-size: 10px;
	scroll-behavior: smooth;
	/* 固定ヘッダーの分だけアンカー位置をずらす */
	scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
	margin: 0;
	background: #fff;
	color: var(--color-body);
	font-family: var(--font-base);
	font-size: 14px;
	font-weight: 300;
	line-height: 1.618;
	-webkit-font-smoothing: antialiased;
	overflow-wrap: anywhere;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0;
	color: var(--color-heading);
	font-weight: 600;
	line-height: 1.3;
}

p,
ul,
ol,
dl,
figure,
table {
	margin: 0;
}

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

img,
iframe,
video {
	max-width: 100%;
	vertical-align: bottom;
}

img {
	height: auto;
}

a {
	color: var(--color-accent);
	text-decoration: none;
	transition: color 0.2s, opacity 0.2s;
}

a:hover {
	opacity: 0.8;
}

table {
	width: 100%;
	border-collapse: collapse;
}

strong {
	font-weight: 700;
}

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

/* ---------- Layout ---------- */

.container {
	width: 100%;
	max-width: calc(var(--container) + var(--gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.container--narrow {
	max-width: calc(760px + var(--gutter) * 2);
}

.site-main {
	padding-top: var(--header-height);
}

.section {
	padding-block: var(--section-space);
}

.section--gray {
	background: var(--color-bg-gray);
}

@media (max-width: 767px) {
	:root {
		--header-height: 60px;
		--section-space: 40px;
	}

	.sp-hidden {
		display: none;
	}
}

@media (min-width: 768px) {
	.pc-hidden {
		display: none;
	}
}
