@charset "UTF-8";

/*------------------------------------------------
	Reset
------------------------------------------------*/

/* Universal */
*,
::before,
::after {
	box-sizing: border-box;
	min-inline-size: 0;
}

/* Document */
:where(:root) {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

/* Sections */
:where(body) {
	min-block-size: 100svb;
	margin-block: unset;
	margin-inline: unset;
}

:where(h1, h2, h3, h4, h5, h6) {
	margin-block: unset;
	font-size: unset;
	line-height: 1.4;
}

/* Grouping Contents */
:where(p, blockquote, figure, pre, address, ul, ol, dl) {
	margin-block: unset;
}

:where(blockquote, figure) {
	margin-inline: unset;
}

:where(address) {
	font-style: unset;
}

:where(ul, ol) {
	padding-inline-start: 1.5em;
}

:where(dt) {
	font-weight: 700;
}

:where(dd) {
	margin-inline-start: unset;
}

:where(hr) {
	inline-size: 100%;
	margin-block: unset;
	border-width: 0;
	border-block-start-width: 1px;
	border-style: solid;
}

/* Text-level Semantics */
:where(em) {
	font-weight: 700;
}

:where(i, em, cite) {
	font-style: unset;
}

/* Links */
:where(:any-link) {
	text-underline-offset: 0.25em;
}

/* Embedded Contents */
:where(img, video, canvas, audio, iframe, embed, object) {
	display: block flow;
	vertical-align: middle;
}

:where(img, svg, video) {
	max-inline-size: 100%;
}

:where(svg) {
	vertical-align: middle;
}

/* Tabular Data */
:where(table) {
	border-collapse: collapse;
}

:where(caption) {
	text-align: start;
}

:where(td, th) {
	padding: unset;
	vertical-align: top;
}

:where(th) {
	font-weight: 700;
	text-align: start;
}

/* Forms */
:where(button, input, select, textarea),
::file-selector-button {
	padding: unset;
	font: unset;
}

:where([type="radio" i], [type="checkbox" i]) {
	margin-block: unset;
	margin-inline-start: 0.25em;
	margin-inline-end: 0.25em;
}

:where([type="file" i]) {
	cursor: unset;
}

:where(textarea) {
	margin-block: unset;
	resize: block;
}

:where(button),
::file-selector-button {
	inline-size: fit-content;
	touch-action: manipulation;
}

:where(fieldset) {
	margin-inline: unset;
	padding-block: unset;
	padding-inline: unset;
}

:where(legend) {
	padding-inline: unset;
}

:where(optgroup) {
	font: unset;
}

/* Focus Styles */
[tabindex="-1"]:focus-visible {
	outline: none !important;
}


/*------------------------------------------------
	Variable
------------------------------------------------*/

:root {
	/* Color Product */
	--color-product: hsla(0, 0%, 0%, 1);

	/* Color Black and White */
	--color-text: hsla(0, 0%, 20%, 1);
	--color-black: hsla(0, 0%, 0%, 1);
	--color-white: hsla(0, 0%, 100%, 1);

	/* Color Gray */
	--color-gray-lighter: hsla(0, 0%, 98%, 1);
	--color-gray-light: hsla(0, 0%, 94%, 1);
	--color-gray: hsla(0, 0%, 80%, 1);
	--color-gray-dark: hsla(0, 0%, 60%, 1);
	--color-gray-darker: hsla(0, 0%, 40%, 1);
}


/*------------------------------------------------
	Base
------------------------------------------------*/

body {
	color: #333;
	font-family: "Noto Sans JP", sans-serif;
	font-size: clamp(0.875rem, 0.83rem + 0.23vw, 1rem);
	line-height: 1.6;
}

hr {
	border-color: var(--color-gray-light);
}

a {
	color: hsla(200, 80%, 60%, 1);
	text-decoration: underline;
}


/*------------------------------------------------
	Layout
------------------------------------------------*/

body {
	display: grid;
	grid-template-rows: auto 1fr auto;
	background-color: var(--color-gray-lighter);
}

.main-container {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	max-inline-size: 1200px;
	/* min-height: 100%; */
	margin-inline: auto;
}

.main-container.--1column {
	grid-template-columns: unset;
	max-inline-size: 800px;
	padding-block-end: clamp(1rem, 0.318rem + 2.91vw, 2.5rem);
}

.main-inner {
	display: grid;
	align-content: start;
	row-gap: 16px;
	min-height: 100%;
	padding: clamp(1rem, 0.318rem + 2.91vw, 2.5rem);
}

.main-inner:nth-of-type(2) {
	background-color: var(--color-white);
}

.main-inner h1 + p {
	margin-block-start: 24px;
}

@media (width < 1024px) {
	.main-container {
		grid-template-columns: unset;
	}

	.main-inner {
		display: grid;
		align-self: start;
		row-gap: 24px;
	}
}


/*------------------------------------------------
	Component
------------------------------------------------*/

.text-link {
	color: inherit;
}

.text-link-icon {
	max-block-size: 20px;
	max-inline-size: 20px;
	margin-inline-start: 0.2em;
}

@media (hover: hover) {
	.text-link:hover {
		color: var(--color-product);
	}

	.text-link:hover svg * {
		fill: var(--color-product);
	}
}

.card {
	padding: 24px;
	border: 1px solid hsla(0, 0%, 92%, 1);
	border-radius: 4px;
	background-color: hsla(0, 0%, 96%, 1);
}

.card.--emergency {
	border-color: hsla(0, 40%, 94%, 1);
	background-color: hsla(0, 40%, 98%, 1);
}

.card h3 {
	margin-block-end: 8px;
	font-size: clamp(1rem, 0.955rem + 0.23vw, 1.125rem);
}

.card h3 > svg {
	margin-block-end: 4px;
	margin-inline-end: 4px;
}

.card h3 > a {
	text-decoration: underline;
}


/*------------------------------------------------
	Header
------------------------------------------------*/

.header {
	border-bottom: 1px solid var(--color-gray-light);
	background-color: var(--color-white);
}

.header-container {
	max-inline-size: 1200px;
	margin-inline: auto;
	padding-block: 16px;
	padding-inline: clamp(1rem, 0.318rem + 2.91vw, 2.5rem);
}

.header-link a {
	font-size: 14px;
	text-decoration: underline;
}


/*------------------------------------------------
	Footer
------------------------------------------------*/

.footer {
	border-top: 1px solid var(--color-gray-light);
	background-color: var(--color-white);
}

.footer-container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	column-gap: 24px;
	max-width: 1200px;
	margin-inline: auto;
	padding-block: 24px;
	padding-inline: clamp(1rem, 0.318rem + 2.91vw, 2.5rem);
}

.footer-link {
	display: flex;
	flex-wrap: wrap;
	gap: 1em;
	padding: unset;
	list-style: none;
	font-size: 12px;
}

.footer-link a {
	font-size: 12px;
	text-decoration: underline;
}

.copyright {
	color: var(--color-gray-dark);
	font-size: 12px;
}

@media (width < 1024px) {
	.footer-container {
		display: grid;
		row-gap: 16px;
	}
}


/*------------------------------------------------
	Content
------------------------------------------------*/

h1 {
	font-size: clamp(1.5rem, 1.318rem + 0.91vw, 2rem);
}

h2 {
	font-size: clamp(1.125rem, 1.08rem + 0.23vw, 1.25rem);
}

/* Phone */
.phone {
	display: grid;
	row-gap: 8px;
}

.phone-number a {
	color: inherit;
	text-decoration: none;
}

.phone-number span:nth-of-type(1) {
	margin-inline-end: 0.5em;
	font-size: 20px;
	font-weight: 700;
}

.phone-number span:nth-of-type(1) svg {
	margin-block-end: 4px;
	margin-inline-end: 4px;
}

.phone-number span:nth-of-type(2) {
	font-size: 14px;
}

/* Customer */
.customer {
	display: grid;
	row-gap: 16px;
}

/* Emergency */
.--emergency strong {
	color: hsla(0, 60%, 60%, 1);
}

.emergency-contact-list {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 10px;
	margin-block-start: 10px;
}

@media (width < 768px) {
	.emergency-contact-list {
		grid-template-columns: unset;
	}
}

.emergency-contact-item {
	display: grid;
	grid-template-rows: subgrid;
	grid-row: span 2;
	row-gap: 4px;
	padding: 20px;
	border-radius: 8px;
	background-color: var(--color-white);
}

.emergency-contact-item a {
	color: inherit;
	text-decoration: underline;
}

.emergency-contact-item p {
	font-size: 14px;
}

.emergency-phone,
.emergency-mail {
	align-self: center;
}

.emergency-phone {
	font-size: 20px;
	font-weight: 700;
	line-height: 1.2;
}

.emergency-phone svg {
	margin-block-end: 4px;
	margin-inline-end: 4px;
}

.emergency-phone a {
	text-decoration: none;
}

.emergency-mail {
	font-size: 14px;
}


.emergency-mail svg {
	margin-block-end: 1px;
	margin-inline-end: 4px;
}


/*------------------------------------------------
	Form
------------------------------------------------*/

/* .form-wrapper {
	padding: clamp(1rem, 0.318rem + 2.91vw, 2.5rem);
	background-color: var(--color-white);
} */

.form-content {
	display: grid;
	row-gap: 24px;
}

#lw-form .wpcf7 .sent .form-content {
	display: none;
	visibility: hidden;
}

.form-group {
	display: grid;
	row-gap: 8px;
}

.form-label > label {
	font-weight: 700;
}

.form-label.--optional::after,
.form-label.--required::after {
	font-size: 14px;
	margin-inline-start: 0.5em;
}

.form-label.--required::after {
	color: hsla(0, 60%, 60%, 1);
	content: "※必須";
}

.form-label.--optional::after {
	color: var(--color-gray-dark);
	content: "※任意";
}

.form-annotation {
	display: block;
	margin-block-start: 4px;
	color: var(--color-gray-dark);
	font-size: 12px;
}

.form-privacy p {
	color: var(--color-gray-darker);
	font-size: 14px
}

.form-privacy p a {
	text-decoration: underline;
}

.form-field fieldset {
	padding: 16px;
}

.form-field fieldset + fieldset {
	margin-block-start: 16px;
}

.form-field fieldset legend {
	padding-inline: 8px;
}

#lw-form .wpcf7-free-text,
#lw-form .wpcf7-select,
#lw-form .wpcf7-text,
#lw-form .wpcf7-textarea {
	width: 100%;
	padding: 10px;
	border: 1px solid var(--color-gray);
	border-radius: 4px;
}

#lw-form .wpcf7-textarea {
	height: 160px;
	min-height: 160px;
}

#lw-form .wpcf7-checkbox,
#lw-form .wpcf7-radio {
	display: grid;
	gap: 8px 16px;
}

#lw-form .wpcf7-checkbox.--2col,
#lw-form .wpcf7-radio.--2col {
	grid-template-columns: repeat(2, 1fr);
}

@media (width < 768px) {
	#lw-form .wpcf7-checkbox.--2col,
	#lw-form .wpcf7-radio.--2col {
		grid-template-columns: unset;
	}
}

#lw-form .wpcf7-list-item {
	margin: unset !important;
}

#lw-form .wpcf7-submit {
	display: grid;
	place-content: center;
	width: 100%;
	padding: 1em;
	color: var(--color-white);
	font-size: clamp(1rem, 0.955rem + 0.23vw, 1.125rem);
	border: 0;
	border-radius: 4px;
	outline: none;
	background-color: var(--color-product);
	cursor: pointer;
	transition: opacity 0.3s;
}

@media (hover: hover) {
	#lw-form .wpcf7-submit:hover {
		opacity: 0.8;
	}
}

#lw-form .wpcf7-not-valid {
	border-color: hsla(0, 80%, 40%, 1);
}

#lw-form .wpcf7-not-valid-tip {
	display: block;
	margin-block-start: 4px;
	color: hsla(0, 80%, 40%, 1);
	font-size: 14px;
	font-weight: 400;
	border-color: transparent;
	background-color: transparent;
}

#lw-form .wpcf7-response-output {
	margin: unset;
	padding: 0.5em 1em;
	font-size: 14px;
	border-radius: 4px;
	background-color: var(--color-white);
}

#lw-form .wpcf7-spinner {
	display: block;
	margin: unset;
	margin-block-start: 10px;
}

.form-thanks {
	display: none;
	visibility: hidden;
}

#lw-form .wpcf7 .sent .form-thanks {
	display: block;
	visibility: visible;
}

.form-thanks-inner {
	display: grid;
	row-gap: 16px;
}

.form-thanks-inner h2 {
	margin-block-end: 16px;
	padding: 16px 24px;
	color: hsla(160, 60%, 50%, 1);
	font-size: 20px;
	text-align: center;
	border: 1px solid hsla(160, 80%, 90%, 1);
	border-radius: 4px;
	background-color: hsla(160, 80%, 96%, 1);
}

.form-thanks-inner p {
	line-height: 1.8;
}

.form-thanks-inner p a {
	color: hsla(200, 80%, 60%, 1);
	text-decoration: underline;
}
