/*
	最新のリセットCSS（モダンリセット）
	- box-sizing を border-box に
	- ブラウザデフォルトのマージン/パディングをリセット
	- フォーム要素のフォント継承、画像の最大幅、アクセシビリティ配慮
	- 必要に応じて上書きしてください
*/

/* 1. 基本リセット */
:where(html, body, div, span, applet, object, iframe,
				h1, h2, h3, h4, h5, h6, p, blockquote, pre,
				a, abbr, acronym, address, big, cite, code,
				del, dfn, em, img, ins, kbd, q, s, samp,
				small, strike, strong, sub, sup, tt, var,
				b, u, i, center,
				dl, dt, dd, ol, ul, li,
				fieldset, form, label, legend,
				table, caption, tbody, tfoot, thead, tr, th, td,
				article, aside, canvas, details, embed,
				figure, figcaption, footer, header, hgroup,
				main, menu, nav, output, ruby, section, summary,
				time, mark, audio, video) {
	margin: 0;
	padding: 0;
	border: 0;
	vertical-align: baseline;
}

/* 2. ボックスサイズを扱いやすく */
*, *::before, *::after {
	box-sizing: border-box;
}

/* 3. HTML5要素のdisplayを確実に */
article, aside, details, figcaption, figure,
footer, header, hgroup, main, menu, nav, section {
	display: block;
}

/* 4. ページ全体の基準フォントと背景 */
html {
	font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
	line-height: 1.4;
	-webkit-text-size-adjust: 100%; /* モバイルの自動ズーム抑制 */
}

body {
	background: #fff;
	color: #000;
	min-height: 100vh;
	text-rendering: optimizeLegibility;
}

/* 5. 画像とメディア */
img, picture, video, svg {
	max-width: 100%;
	height: auto;
	display: block;
}

/* 6. リスト */
ol, ul {
	list-style: none;
}

/* 7. リンク */
a {
	color: inherit;
	text-decoration: none;
}

/* 8. フォーム要素の継承 */
input, button, textarea, select {
	font: inherit;
	color: inherit;
}

/* 9. ボタンとフォームの基本スタイル */
button {
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
}

/* 10. 視覚的フォーカス（アクセシビリティ） */
:focus {
	outline: 2px dashed Highlight;
	outline-offset: 2px;
}

/* 11. アニメーションを好まないユーザーのために */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
		scroll-behavior: auto !important;
	}
}

/* 12. 印刷時の調整 */
@media print {
	body {
		background: #fff;
		color: #000;
	}
	a::after {
		content: " (" attr(href) ")";
	}
}

/* ここからプロジェクト固有の基本ルールを追記してください */

body {
	display: flex;
	flex-direction: column;
	align-items: center;
}

header a img {
	width: 110px;
}

.main {
	/* background-color: #f0f0f0; */
	display: flex;
	flex-direction: column;
	position: absolute;
	top: 110px;
	width: 100%;
	max-width: 750px;
	padding-bottom: 1rem;
}

.biz, .info, .faq {
	position: relative;
	padding-bottom: 1px;
	min-height: 6rem;
}

.biz .image, .info .image, .faq .image {
	min-height: 7rem;
}

.biz .link_text, .info .link_text, .faq .link_text {
	position: absolute;
	bottom: 1rem;
	left: 1rem;
	display: flex;
	align-items: center;
	font-size: 1.4rem;
	color: #fff;
}

.link_text::after {
	content: url("/assets/img/bullet.svg");
	display: block;
	width: 12px;
	height: 12px;
	margin-left: 6px;
	margin-top: -15px;
}

.invert_color {
	filter: invert(1);
}

.white_text {
	color: #ffffff;
}

.biz .link_text img, .info .link_text img, .faq .link_text img {
	margin-right: 6px;
	width: 52px;
}

header {
	background-color: #ffffff;
	box-shadow: #666 0px 0px 16px;
	display: flex;
	position: fixed;
	z-index: 100;
	align-items: center; /* 垂直中央揃え */
	width: 100%;
	max-width: 1280px;
}

/* 左カラム（ロゴ等） */
header .mark {
	flex: 0 0 110px; /* 固定幅 */
	display: flex;
	align-items: center;
	justify-content: flex-start;
}

/* 中央カラム（リキッド） */
header .site_title {
	flex: 1 1 auto; /* リキッドに伸びる */
	display: flex;
	flex-direction: column;
	font-feature-settings: "palt";
}

header .site_title h1 {
	font-size: 1.6rem;
}

header .site_title p {
	font-size: 0.8rem;
}

/* 右カラム（メニュー等） */
header .menu {
	flex: 0 0 54px; /* 固定幅 */
	padding-right: 6px;
}

.page_image {
	width: 100%;
	max-width: 750px;
	margin-bottom: 2rem;
	background-size: cover;
	background-position: center;
	height: 10rem;
}

.page_image h2 {
	font-feature-settings: "palt";
	text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.8);
	display: flex;
	align-items: center;
	color: #ffffff;
	font-size: 1.4rem;
	padding-left: 1rem;
	padding-top: 1rem;
	gap: 0.5rem;
}

.page_image h2 img {
	filter: drop-shadow(2px 4px 6px black);
}

/* Biz page */
.biz_page_image {
	background-image: url("/assets/img/biz_photo.jpg");
}

.biz_wrapper, .faq_wrapper {
	margin: 0 1rem 2rem 1rem;
}
.biz_wrapper {
	background-color: #f5f5ef;
	border-radius: 10px;
}

.biz_wrapper .result {
	padding: 0 1rem 1rem 1rem;
}

.biz_wrapper .result h4 {
	font-feature-settings: "palt";
	/* font-size: 1.2rem; */
	color: #38462c;
	padding-left: 0.25rem;
	padding-bottom: 0.25rem;
	border-bottom: #38462c 1px solid;
	margin-bottom: 0.25rem;
	font-weight: normal;
}

.biz_wrapper .result ul {
	list-style: url("/assets/img/biz_bullet.svg");
	margin-left: 1.5rem;
}

.apply_mail {
	margin: 0 auto 2rem;
	width: 20rem;
	background-color: #556a43;
	border-radius: 2rem;
}

.apply_mail a {
	display: block;
	color: #fff;
	padding: 12px;
	text-align: center;
}

.apply_mail a::before {
	content: url("/assets/img/mail.svg");
	display: inline-block;
	width: 20px;
	height: 20px;
	margin-right: 6px;
	vertical-align: middle;
}

.apply_mail a::after {
  content: "";
}

.map_links {
	display: flex;
	gap: 4px;
	align-items: center;
}

.small_red {
	background-color: #c00;
	color: #fff;
	border-radius: 4px;
	display: inline-block;
	font-size: 0.5rem;
	text-align: center;
	line-height: 1;
	padding: 4px;
}

@media screen and (min-width: 420px) {
  /* ここに420px以上で適用したいスタイルを記述 */
	.biz_wrapper .column {
		display: flex;
		gap: 0.5rem;
	}

	.biz_wrapper .column img {
		/* width: 100%; */
		aspect-ratio: 1 / 1;
	}
	
	.column .image_fixed {
		flex: 0 0 160px;
	}
}

.biz_wrapper .column {
	padding: 1rem;
}

.column img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	/* max-width: 160px; */
	display: block;
	margin: auto 0 0.5rem;
}

.biz_wrapper h3 {
	background-color: #556a43;
	color: #ffffff;
	font-weight: normal;
	padding: 0.5rem 0 0.25rem;
	border-radius: 10px 10px 0 0;
	text-align: center;
	letter-spacing: 1rem;
}

.biz_wrapper p {
	line-height: 1.6;
	text-align: justify;
}

/* info page */
.info_page_image {
	background-image: url("/assets/img/info_photo.jpg");
}

.info_wrapper {
	margin: 0 1rem 2rem 1rem;
	padding: 1rem;
}

table.company_info {
	width: 100%;
	max-width: 750px;
	border-collapse: collapse;
	/* margin: 0 1rem 2rem 1rem; */
	display: flex;
	align-items: center;
}

table.company_info tr, table.company_info tbody {
	width: 100%;
}

table.company_info th, table.company_info td {
	color: #666;
	display: block;
	width: 100%;
}

@media screen and (min-width: 420px) {
	table.company_info tr {
		display: flex;
	}

	table.company_info th {
		padding-bottom: 1rem;
		border-bottom: 1px solid #556a43;
		margin-bottom: 2.5rem;
		flex: 0 0 40%;
	}
	table.company_info tr:last-child th {
		margin-bottom: 0;
	}

}

table.company_info th {
	font-feature-settings: "palt";
	color: #38462c;
	font-weight: normal;
	text-align: left;
	padding-bottom: 1rem;
}

table.company_info td {
	padding-bottom: 2.5rem;
	border-bottom: 1px solid #556a43;
	margin-bottom: 2.5rem;
}

table.company_info tr:last-child td {
	margin-bottom: 0;
}

ul.biz_partner {
	display: flex;
	flex-wrap: wrap;
	gap: 0 2rem;
	line-height: 1.6rem;
}

/* faq */
.faq_wrapper dl {
	margin: 0 1rem 2rem 1rem;
}

.faq_wrapper dt {
	color: #38462c;
	margin: 0 0 0.5rem 0;
	margin-left: 30px;
	font-feature-settings: "palt";
}

.faq_wrapper dt::before {
	content: url("/assets/img/faq_bullet.svg");
	display: inline-block;
	width: 24px;
	margin-right: -24px;
	vertical-align: middle;
	text-indent: -30px;
}

.faq_wrapper dd {
	color: #666;
	padding: 1rem 0 2rem;
	border-bottom: #38462c 1px solid;
	margin-bottom: 1rem;
	text-align: justify;
}

@media screen and (min-width: 420px) {
	.faq_wrapper dd {
		padding: 1rem 3rem 2rem;
	}
	
}


.faq_wrapper dd:last-child {
	border-bottom: none;
}

.faq_wrapper img {
	max-width: 320px;
	width: 100%;
	display: block;
	margin: auto;
}

/* menu */
.overlay_menu {
	position: fixed;
	top: 0;
	left: 0;
	width: calc( 100% - 100px );
	height: 100%;
	background-color: rgba(250, 250, 250, 0.7);
	backdrop-filter: blur(12px);
	box-shadow: #333 0px 0px 48px;
	z-index: 200;
	display: none; /* 初期状態では非表示 */
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.overlay_menu .close_btn {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 48px;
	height: 48px;
	cursor: pointer;
}

aside nav ul {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

aside nav ul li a {
	display: flex;
	align-items: center;
	gap: 1rem;
}

aside .real_contact {
	margin-top: 3rem;
}

aside .real_contact ul {
	display: flex;
	gap: 1rem;
	align-items: flex-end;
}

aside .real_contact li a {
	margin-bottom: 0.5rem;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	align-items: center;
}

aside nav img {
	width: 32px;
}

aside .real_contact img {
	width: 48px;
}
