*,
::before,
::after {
	box-sizing: border-box;
	border-style: solid;
	border-width: 0;
}

html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
	-webkit-tap-highlight-color: transparent;
	font-feature-settings: 'palt';
	background: #fff;
}

body {
	margin: 0;
}

/* SEO: 見た目を変えずクローラー/スクリーンリーダーにだけ内容を伝えるためのクラス */
.visually-hidden {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

main {
	display: block;
}

p,
table,
blockquote,
address,
pre,
iframe,
form,
figure,
dl {
	margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-size: inherit;
	font-weight: inherit;
	margin: 0;
}

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

dt {
	font-weight: bold;
}

dd {
	margin-left: 0;
}

hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
	border-top-width: 1px;
	margin: 0;
	clear: both;
	color: inherit;
}

pre {
	font-family: monospace, monospace;
	font-size: inherit;
}

address {
	font-style: inherit;
}

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

abbr[title] {
	text-decoration: underline dotted;
}

b,
strong {
	font-weight: bolder;
}

code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: inherit;
}

small {
	font-size: 80%;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

svg,
img,
embed,
object,
iframe {
	vertical-align: bottom;
}

button,
input,
optgroup,
select,
textarea {
	-webkit-appearance: none;
	appearance: none;
	vertical-align: middle;
	color: inherit;
	font: inherit;
	background: transparent;
	padding: 0;
	margin: 0;
	border-radius: 0;
	text-align: inherit;
	text-transform: inherit;
}

button,
[type='button'],
[type='reset'],
[type='submit'] {
	cursor: pointer;
}

button:disabled,
[type='button']:disabled,
[type='reset']:disabled,
[type='submit']:disabled {
	cursor: default;
}

:-moz-focusring {
	outline: auto;
}

select:disabled {
	opacity: inherit;
}

option {
	padding: 0;
}

fieldset {
	margin: 0;
	padding: 0;
	min-width: 0;
}

legend {
	padding: 0;
}

progress {
	vertical-align: baseline;
}

textarea {
	overflow: auto;
}

[type='number']::-webkit-inner-spin-button,
[type='number']::-webkit-outer-spin-button {
	height: auto;
}

[type='search'] {
	outline-offset: -2px;
}

[type='search']::-webkit-search-decoration {
	-webkit-appearance: none;
}

::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

[type='number'] {
	-moz-appearance: textfield;
}

label[for] {
	cursor: pointer;
}

details {
	display: block;
}

summary {
	display: list-item;
}

[contenteditable]:focus {
	outline: auto;
}

table {
	border-color: inherit;
	border-collapse: collapse;
}

caption {
	text-align: left;
}

td,
th {
	vertical-align: top;
	padding: 0;
}

th {
	text-align: left;
	font-weight: bold;
}
/*リセット　ここまで*/

html,
body {
	width: 100%;
	font-family: 'zen-maru-gothic', sans-serif;
	font-weight: 500;
	font-style: normal;
	color: #000;
	scroll-behavior: smooth;
}

.bold {
	font-family: 'zen-maru-gothic', sans-serif;
	font-weight: 700;
	font-style: normal;
}

.black {
	font-family: 'zen-maru-gothic', sans-serif;
	font-weight: 900;
	font-style: normal;
}

.mizolet {
	font-family: 'mizoletbokutoh', sans-serif;
	font-weight: 400;
	font-style: normal;
}

.heisei {
	font-family: 'heisei-maru-gothic-std', sans-serif;
	font-weight: 800;
	font-style: normal;
}

/* ===== header ===== */
.header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 100;
	display: flex;
	justify-content: flex-end;
	pointer-events: none;
}

.gnav {
	pointer-events: none;
}

/* ハンバーガーボタン */
.hamburger {
	position: relative;
	z-index: 3;
	pointer-events: auto;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 7px;
	width: 64px;
	height: 64px;
	padding: 0 14px;
	margin: 20px 26px 0 0;
	cursor: pointer;
	background: transparent;
}

.hamburger span {
	display: block;
	width: 100%;
	height: 5px;
	border-radius: 3px;
	background: #ea5514;
	transition:
		transform 0.3s ease,
		opacity 0.2s ease;
}

/* 開いたとき：×印に変形 */
.gnav.is-open .hamburger span:nth-child(1) {
	transform: translateY(12px) rotate(45deg);
}
.gnav.is-open .hamburger span:nth-child(2) {
	opacity: 0;
}
.gnav.is-open .hamburger span:nth-child(3) {
	transform: translateY(-12px) rotate(-45deg);
}

/* 外側の黒い透過フィルター */
.gnav__overlay {
	position: fixed;
	inset: 0;
	z-index: 1;
	background: rgba(0, 0, 0, 0.45);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.4s ease;
}

.gnav.is-open .gnav__overlay {
	opacity: 1;
	pointer-events: auto;
}

/* メニューパネル（右からスライドイン・最大幅600px） */
.gnav__list {
	position: fixed;
	top: 0;
	right: 0;
	z-index: 2;
	width: 100%;
	max-width: 600px;
	height: 100dvh;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	padding: 120px 32px 60px;
	background: #fff;
	transform: translateX(100%);
	pointer-events: none;
	transition: transform 0.4s ease;
	overflow-y: auto;
}

.gnav.is-open .gnav__list {
	transform: translateX(0);
	pointer-events: auto;
}

/* メニュー展開中は背景をスクロールさせない */
body:has(.gnav.is-open) {
	overflow: hidden;
}

.gnav__logo {
	display: block;
	margin-top: 48px;
	line-height: 0;
}

.gnav__logo img {
	width: 240px;
	max-width: 62vw;
	height: auto;
}

.gnav__menu {
	list-style: none;
	margin: 0;
	padding: 0;
	text-align: center;
}

.gnav__menu li + li {
	margin-top: 6px;
}

.gnav__link {
	position: relative;
	display: inline-block;
	padding: 14px 8px;
	color: #f15a24;
	font-weight: 700;
	font-size: 20px;
	letter-spacing: 0.08em;
	text-decoration: none;
	transition: opacity 0.2s ease;
}

.gnav__link::after {
	content: '';
	position: absolute;
	left: 8px;
	right: 8px;
	bottom: 8px;
	height: 2px;
	border-radius: 2px;
	background: #f15a24;
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 0.25s ease;
}

.gnav__link:hover::after {
	transform: scaleX(1);
	transform-origin: left;
}

.gnav__link--ext {
	margin-top: 18px;
	font-size: 18px;
}

@media (max-width: 767px) {
	.hamburger {
		width: 48px;
		height: 48px;
		gap: 5px;
		padding: 0 10px;
		margin: 14px 14px 0 0;
	}
	.hamburger span {
		height: 4px;
	}
	.gnav.is-open .hamburger span:nth-child(1) {
		transform: translateY(9px) rotate(45deg);
	}
	.gnav.is-open .hamburger span:nth-child(3) {
		transform: translateY(-9px) rotate(-45deg);
	}

	.gnav__list {
		padding-top: 75px;
	}

	.gnav__logo {
		margin-top: 40px;
	}
	.gnav__logo img {
		width: 200px;
	}
	.gnav__link {
		font-size: 16px;
		padding: 10px 8px;
	}
	.gnav__link--ext {
		font-size: 16px;
	}
}

/* ===== footer ===== */
.footer {
	position: relative;
	background: #fff3c2 url(../img/bg_dot.png) repeat;
	background-size: 23px 22px;
	padding: 90px 20px 70px;
	text-align: center;
}

.footer__top {
	position: absolute;
	top: -46px;
	left: 50%;
	transform: translateX(-50%);
	display: block;
	width: 92px;
}

.footer__top img {
	width: 100%;
	height: auto;
}

.footer__inner {
	max-width: 600px;
	margin: 0 auto;
}

.footer__logo {
	max-width: 310px;
	width: 75%;
	height: auto;
	margin-bottom: 28px;
}

.footer__lead {
	color: #ea5514;
	font-weight: 700;
	font-size: 20px;
	letter-spacing: 0;
	margin-bottom: 14px;
}

.footer__info {
	color: #4a3b2a;
	font-size: 14px;
	line-height: 32px;
	letter-spacing: 0.04em;
	margin-bottom: 44px;
}

.footer__iehime {
	max-width: 230px;
	width: 70%;
	height: auto;
}

@media (max-width: 767px) {
	.footer {
		padding: 70px 18px 54px;
	}
	.footer__top {
		width: 74px;
		top: -37px;
	}
	.footer__lead {
		font-size: 15px;
	}
	.footer__info {
		font-size: 13px;
		margin-bottom: 34px;
	}
}
