@charset "UTF-8";

/* ========================================
   Base
======================================== */
:root {
	--black: #000;
	--white: #fff;
	--gray: #9d9d9d;
	--border: #000;
	--content-width: 1400px;
	--header-height: 90px;
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	min-width: 320px;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	color: var(--black);
	background: var(--white);
	font-family: "Noto Sans JP", sans-serif;
	font-size: 18px;
	line-height: 1.7;
}

main {
	flex: 1;
}

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

button,
input {
	font: inherit;
}

button {
	border: 0;
}

img {
	max-width: 100%;
	height: auto;
	vertical-align: bottom;
}

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

/* ========================================
   Header
======================================== */
.site-header {
	height: var(--header-height);
	padding: 0 49px 0 58px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	border: 1px solid #d7d7d7;
	background: var(--white);
}

.logo {
	display: inline-flex;
	align-items: center;
	gap: 19px;
	line-height: 1;
}

.logo strong {
	font-family: "Montserrat", sans-serif;
	font-size: 56px;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.logo span {
	margin-top: 8px;
	font-size: 20px;
	font-weight: 700;
}

.site-header nav a {
	font-size: 19px;
	font-weight: 500;
	transition: opacity 0.2s ease;
}

.site-header nav a:hover,
.site-header nav a:focus-visible {
	opacity: 0.6;
}

/* ========================================
   Search
======================================== */
.search-form {
	width: 993px;
	max-width: calc(100vw - 40px);
	height: 69px;
	margin: 31px auto 0;
	display: flex;
	overflow: hidden;
	border-radius: 999px;
	background: var(--white);
}

.search-form input {
	min-width: 0;
	flex: 1;
	padding: 0 45px;
	border: 0;
	outline: none;
	background: transparent;
	color: #222;
	font-size: 18px;
}

.search-form input::placeholder {
	color: #9b9b9b;
}

.search-form button {
	flex: 0 0 95px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	background: var(--gray);
	transition: opacity 0.2s ease;
}

.search-form button:hover,
.search-form button:focus-visible {
	opacity: 0.8;
}

.search-icon {
	width: 38px;
	height: 38px;
	display: block;
	object-fit: contain;
}

/* ========================================
   Hero
======================================== */
.hero {
	height: 369px;
	padding: 108px 20px 90px;
	background: var(--black);
	color: var(--white);
	text-align: center;
}

.hero h1 {
	margin: 0;
	font-size: 48px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.02em;
}

/* ========================================
   Top page
======================================== */
.top-content {
	width: min(var(--content-width), calc(100% - 80px));
	margin: 0 auto;
	padding: 67px 0 75px;
}

.top-section + .top-section {
	margin-top: 91px;
}

.top-section h2 {
	margin: 0 0 31px;
	padding-bottom: 9px;
	display: flex;
	align-items: center;
	gap: 7px;
	border-bottom: 1px solid var(--border);
	font-size: 36px;
	line-height: 1.25;
}

.section-icon {
	width: 32px;
	height: 32px;
	flex: 0 0 32px;
	display: block;
	object-fit: contain;
}

.faq-list {
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 160px;
	row-gap: 20px;
	list-style: none;
}

.faq-list a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 18px;
	line-height: 1.5;
}

.faq-list a:hover,
.faq-list a:focus-visible {
	text-decoration: underline;
	text-underline-offset: 8px;
}

.faq-icon {
	width: 18px;
	height: 18px;
	flex: 0 0 18px;
	display: block;
	object-fit: contain;
}

.category-list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	column-gap: 40px;
	row-gap: 23px;
}

.category-list a {
	min-height: 75px;
	padding: 15px 20px;
	display: grid;
	place-items: center;
	border: 1px solid var(--border);
	background: var(--white);
	font-size: 18px;
	text-align: center;
	transition:
		background-color 0.2s ease,
		color 0.2s ease;
}

.category-list a:hover,
.category-list a:focus-visible,
.category-list .is-current {
	background: var(--black);
	color: var(--white);
}

/* ========================================
   Footer
======================================== */
.site-footer {
	min-height: 153px;
	padding: 0 max(49px, calc((100% - var(--content-width)) / 2));
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	gap: 80px;
	background: var(--black);
	color: var(--white);
}

.site-footer nav {
	display: grid;
	grid-template-columns: repeat(4, auto);
	gap: 85px;
	margin-left: 240px;
}

.site-footer a {
	font-size: 18px;
	transition: opacity 0.2s ease;
}

.site-footer a:hover,
.site-footer a:focus-visible {
	opacity: 0.6;
}

.site-footer p {
	margin: 0;
	font-size: 19px;
	font-weight: 700;
	white-space: nowrap;
}

/* ========================================
   Manual common layout
   PC PSD: 2000px actual size
======================================== */
.manual-page {
	width: calc(100% - 80px);
	max-width: 1600px;
	margin: 0 auto;
	padding: 24px 0 72px;
	display: grid;
	grid-template-columns: 240px minmax(0, 1fr);
	column-gap: 40px;
	align-items: start;
}

.manual-content {
	min-width: 0;
}

.manual-head {
	min-height: 86px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
	margin-bottom: 50px;
}

.breadcrumb {
	font-size: 18px;
	line-height: 1.5;
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
	text-decoration: underline;
	text-underline-offset: 4px;
}

.search-form.small {
	width: 496px;
	max-width: 45%;
	height: 59px;
	margin: 0;
	border: 1px solid #999;
}

.search-form.small input {
	padding: 0 28px;
	font-size: 16px;
}

.search-form.small button {
	flex-basis: 86px;
}

.search-form.small .search-icon {
	width: 38px;
	height: 38px;
}

/* ========================================
   Side menu
======================================== */
.side-menu {
	width: 240px;
	align-self: start;
	overflow: hidden;
	border: 1px solid #000;
	border-radius: 10px;
	color: #7d7d7d;
}

@media (min-width: 901px) {
	.side-menu {
		position: sticky;
		top: 30px;
	}
}

.side-menu-title {
	min-height: 45px;
	margin: 0;
	padding: 8px 12px;
	border-bottom: 1px solid #aaa;
	color: #111;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.5;
	text-align: center;
}

.side-menu-list,
.menu-children,
.menu-links {
	margin: 0;
	padding: 0;
	list-style: none;
}

.side-menu-list > .menu-group + .menu-group,
.side-menu-link {
	border-top: 1px solid #aaa;
}

.menu-toggle {
	position: relative;
	width: 100%;
	min-height: 35px;
	padding: 5px 38px 5px 13px;
	display: block;
	background: transparent;
	color: inherit;
	cursor: pointer;
	font-size: 18px;
	line-height: 1.55;
	text-align: left;
}

.menu-toggle::after {
	content: "+";
	position: absolute;
	top: 50%;
	right: 14px;
	color: #777;
	font-size: 21px;
	line-height: 1;
	transform: translateY(-50%);
}

.menu-toggle[aria-expanded="true"]::after {
	content: "−";
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
	color: #000;
}

.menu-toggle:focus-visible {
	outline: 2px solid #000;
	outline-offset: -2px;
}

.menu-children > .menu-group > .menu-toggle {
	padding-left: 29px;
}

.menu-links {
	padding: 0 12px 8px 47px;
}

.menu-links li + li {
	margin-top: 14px;
}

.menu-links a {
	display: block;
	font-size: 16px;
	line-height: 1.5;
}

.menu-links a:hover,
.menu-links a:focus-visible,
.menu-links a[aria-current="page"] {
	color: #000;
	text-decoration: underline;
	text-underline-offset: 4px;
}

.side-menu-link a {
	position: relative;
	min-height: 36px;
	padding: 5px 38px 5px 13px;
	display: block;
	font-size: 18px;
	line-height: 1.55;
}

.side-menu-link a::after {
	content: none;
}

.side-menu [hidden] {
	display: none;
}

/* ========================================
   Category page
======================================== */
.category-page h1 {
	margin: 0 0 22px;
	padding: 10px 24px;
	border-radius: 8px;
	background: #dedede;
	font-size: 36px;
	line-height: 1.5;
}

.category-page .category-list {
	gap: 20px 70px;
}

.category-page .category-list a {
	min-height: 66px;
	font-size: 18px;
}

/* ========================================
   Detail page
======================================== */
.detail-page {
	position: relative;
}

.detail-page h1 {
	margin: 0 0 22px;
	padding: 10px 20px;
	background: #dedede;
	font-size: 36px;
	line-height: 1.5;
	border-radius: 10px;
}

.manual-step + .manual-step {
	margin-top: 22px;
}

.manual-step h2 {
	margin: 40px 0 10px;
	display: flex;
	align-items: center;
	gap: 0;
	font-size: 18px;
	line-height: 1.7;
	font-weight: 400;
}

.step-number {
	min-width: 74px;
	margin-right: 9px;
	padding: 5px 11px 9px;
	display: flex;
	align-items: center;
	background: #000;
	color: #fff;
	font-size: 24px;
	line-height: 1;
	clip-path: polygon(0 0, 80% 0, 100% 50%, 80% 100%, 0 100%);
}

.manual-step p {
	margin: 0 0 12px;
}

.manual-step .underline {
	text-decoration: underline;
	font-weight: bold;
	text-underline-offset: 8px;
}

.manual-step .strong {
	font-weight: 600;
}

.manual-step .note {
	display:inline-block;
	margin-top: 10px;
}

.manual-step img {
	width: 100%;
	max-width: 937px;
	height: auto;
	margin-right: auto;
	display: block;
	border: solid 1px #ccc;
}

.manual-step img.sp-img {
	max-width: 396px;
}

.manual-note {
	margin: 12px 0 0;
	padding: 0;
	list-style: none;
}

.manual-note li {
	position: relative;
	padding-left: 18px;
}

.manual-note li::before {
	content: "◆";
	position: absolute;
	top: 0;
	left: 0;
	font-size: 10px;
}

.manual-note li + li {
	margin-top: 4px;
}

/* ========================================
   FAQ page
======================================== */
.faq-page {
	width: 100%;
	max-width: none;
}

.faq-accordion {
	margin: 0;
	padding: 0;
	list-style: none;
}

.faq-item {
	scroll-margin-top: 20px;
}

.faq-item + .faq-item {
	margin-top: 39px;
}

.faq-item h2 {
	margin: 0;
	font-size: inherit;
}

.faq-toggle {
	position: relative;
	width: 100%;
	min-height: 80px;
	padding: 10px 72px 10px 17px;
	display: flex;
	align-items: center;
	gap: 16px;
	border: 1px solid #000;
	border-radius: 9px;
	background: #fff;
	color: #111;
	cursor: pointer;
	text-align: left;
	transition:
		background-color 0.2s ease,
		box-shadow 0.2s ease;
}

.faq-toggle:hover,
.faq-toggle:focus-visible {
	background: #f7f7f7;
}

.faq-toggle:focus-visible {
	outline: 2px solid #000;
	outline-offset: 2px;
}

.faq-mark {
	width: 56px;
	height: 56px;
	flex: 0 0 59px;
	display: inline-grid;
	place-items: center;
	border-radius: 50%;
	background: #000;
	color: #fff;
	font-size: 36px;
	font-weight: 900;
	line-height: 1;
	font-family: "Montserrat", sans-serif;
}

.faq-question {
	font-size: 20px;
	font-weight: 700;
	line-height: 1.5;
}

.faq-arrow {
	position: absolute;
	top: 50%;
	right: 25px;
	width: 0;
	height: 0;
	border-right: 9px solid transparent;
	border-top: 15px solid #aaa;
	border-left: 9px solid transparent;
	transform: translateY(-50%);
	transition: transform 0.2s ease;
}

.faq-toggle[aria-expanded="true"] .faq-arrow {
	transform: translateY(-50%) rotate(180deg);
}

.faq-answer {
	padding: 19px 20px 0 28px;
	display: grid;
	grid-template-columns: 42px minmax(0, 1fr);
	gap: 12px;
	align-items: center;
}

.faq-answer[hidden] {
	display: none;
}

.answer-mark {
	color: #000;
	font-size: 35px;
	font-weight: 900;
	line-height: 1.25;
	text-align: center;
	font-family: "Montserrat", sans-serif;
}

.faq-answer p {
	margin: 0;
	font-size: 18px;
	line-height: 1.8;
}

/* ========================================
   Search results page
======================================== */
.search-page {
	max-width: 1180px;
}

.search-page h1 {
	margin: 42px 0 0;
	padding: 0 0 14px;
	border-bottom: 1px solid #aaa;
	font-size: 21px;
	line-height: 1.5;
}

.search-keyword {
	font-weight: 700;
}

.search-result-list {
	margin-top: 0;
}

.search-result {
	padding: 22px 0 20px;
	border-bottom: 1px solid #aaa;
}

.search-result h2 {
	margin: 0 0 4px;
	font-size: 24px;
	line-height: 1.45;
}

.search-result h2 a:hover,
.search-result h2 a:focus-visible {
	text-decoration: underline;
	text-underline-offset: 4px;
}

.search-result-path {
	margin: 0 0 5px;
	color: #999;
	font-size: 18px;
	line-height: 1.5;
}

.search-result-excerpt {
	margin: 0;
	font-size: 18px;
	line-height: 1.65;
}

.search-limit {
	margin: 70px 0 26px;
	color: #f00;
	font-size: 14px;
	font-weight: 700;
	text-align: center;
}

.pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 5px;
	margin-top: 20px;
}

.pagination a {
	min-width: 30px;
	height: 34px;
	padding: 4px 9px;
	display: inline-grid;
	place-items: center;
	border: 1px solid #333;
	border-radius: 4px;
	background: #fff;
	font-size: 18px;
	line-height: 1;
}

.pagination a:hover,
.pagination a:focus-visible {
	background: #000;
	color: #fff;
}

.pagination .page-text {
	min-width: 52px;
}

/* ========================================
   Tablet
======================================== */
@media (max-width: 900px) {
	body {
		font-size: 16px;
	}

	.manual-page {
		width: calc(100% - 40px);
		max-width: none;
		padding: 24px 0 48px;
		grid-template-columns: 210px minmax(0, 1fr);
		column-gap: 28px;
	}

.manual-head {
	min-height: auto;
	margin-bottom: 24px;
	display: grid;
	gap: 15px;
	justify-content: unset;
}

	.search-form.small {
		width: 100%;
		max-width: none;
		height: 52px;
	}

	.side-menu {
		width: 210px;
	}

	.side-menu-title {
		font-size: 20px;
	}

	.menu-toggle {
		font-size: 16px;
	}

	.menu-links a {
		font-size: 14px;
	}

	.faq-item + .faq-item {
		margin-top: 24px;
	}

	.faq-toggle {
		min-height: 68px;
		padding: 9px 54px 9px 12px;
		gap: 12px;
	}

	.faq-mark {
		width: 46px;
		height: 46px;
		flex-basis: 46px;
		font-size: 24px;
	}

	.faq-question {
		font-size: 17px;
	}

	.faq-arrow {
		right: 19px;
		border-right-width: 7px;
		border-bottom-width: 11px;
		border-left-width: 7px;
	}

	.faq-answer {
		padding: 16px 14px 0 20px;
		grid-template-columns: 38px minmax(0, 1fr);
	}

	.answer-mark {
		font-size: 25px;
	}

	.category-page .category-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px;
	}

	.detail-page {
		max-width: none;
	}

	.search-page {
		max-width: none;
	}
}

/* ========================================
   Smartphone
======================================== */
@media (max-width: 767px) {
	:root {
		--header-height: 75px;
	}

	body {
		font-size: 16px;
	}

	.site-header {
		padding: 0 18px 0 15px;
	}

	.logo {
		gap: 8px;
	}

	.logo strong {
		font-size: 30px;
		letter-spacing: -0.03em;
	}

	.logo span {
		margin-top: 4px;
		font-size: 10px;
	}

	.site-header nav a {
		font-size: 12px;
	}

	.hero {
		height: 220px;
		padding: 62px 15px 47px;
	}

	.hero h1 {
		font-size: 23px;
		line-height: 1.4;
	}

	.search-form {
		width: 399.5px;
		max-width: calc(100vw - 30px);
		height: 48.5px;
		margin-top: 21.5px;
	}

	.search-form input {
		padding: 0 25px;
		font-size: 14.5px;
	}

	.search-form button {
		flex-basis: 66px;
	}

	.search-icon {
		width: 24px;
		height: 24px;
	}

	.top-content {
		width: calc(100% - 14px);
		padding: 18px 0 28.5px;
	}

	.top-section + .top-section {
		margin-top: 59px;
	}

	.top-section h2 {
		margin-bottom: 8.5px;
		padding: 0 1.5px 4px;
		gap: 5px;
		border-bottom-width: 2px;
		font-size: 20px;
		line-height: 1.25;
	}

	.section-icon {
		width: 24px;
		height: 24px;
		flex-basis: 24px;
	}

	.faq-list {
		grid-template-columns: 1fr;
		row-gap: 17px;
	}

	.faq-list a {
		gap: 4px;
		font-size: 15px;
		line-height: 1.55;
	}

	.category-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px 4.5px;
	}

	.category-list a {
		min-height: 60px;
		padding: 10px;
		font-size: 15px;
	}

	.site-footer {
		min-height: 150px;
		padding: 25px 15px 22px;
		grid-template-columns: 1fr;
		gap: 20px;
	}

.site-footer nav {
	grid-template-columns: repeat(4, auto);
	justify-content: space-between;
	gap: 10px;
	margin-left: unset;
}

	.site-footer a {
		font-size: 12px;
	}

.site-footer p {
	font-size: 11px;
	text-align: left;
}

	.manual-page {
		width: calc(100% - 30px);
		padding: 20px 0 42px;
		grid-template-columns: minmax(0, 1fr);
		column-gap: 0;
		row-gap: 22px;
	}

	.manual-content {
		order: 1;
	}

.side-menu {
	width: 100%;
	order: 2;
	border-radius: unset;
	border: unset;
	border-top: solid 1px #aaa;
	border-bottom: solid 1px #aaa;
}

	.manual-head {
		margin-bottom: 20px;
	}

	.breadcrumb {
		padding-top: 0;
		font-size: 13px;
	}

	.search-form.small {
		height: 48px;
	}

.search-form.small input {
	padding: 0 20px;
	font-size: 16px;
}

	.search-form.small button {
		flex-basis: 66px;
	}

.search-form.small .search-icon {
	width: 24px;
	height: 24px;
}

.side-menu-title {
	min-height: 42px;
	font-size: 15px;
	padding: 12px 12px;
}

	.menu-toggle {
		min-height: 42px;
		padding: 7px 38px 7px 12px;
		font-size: 15px;
	}

	.menu-children > .menu-group > .menu-toggle {
		padding-left: 28px;
	}

	.menu-links {
		padding: 0 12px 10px 42px;
	}

	.menu-links li + li {
		margin-top: 9px;
	}

	.menu-links a {
		font-size: 14px;
	}

	.side-menu-link a {
		min-height: 42px;
		padding: 7px 38px 7px 12px;
		font-size: 15px;
	}

.category-page h1, .detail-page h1 {
	padding: 7px 16px;
	font-size: 20px;
	margin: 0 0 12px;
	border-radius: 6px;
}

.category-page .category-list {
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
}

.category-page .category-list a {
	min-height: 56px;
	font-size: 14px;
}

.manual-step h2 {
	font-size: 19px;
	margin: 30px 0 10px;
	align-items: start;
	line-height: 1.4;
}

.step-number {
	min-width: 34px;
	padding: 2px 8px 5px;
	font-size: 14px;
	margin-top: 4px;
}

.manual-step + .manual-step {
	margin-top: 10px;
}

.manual-step .note {
	font-size: 14px;
  }

  .manual-step img {
	margin-bottom: 40px;
}

	.faq-item + .faq-item {
		margin-top: 13px;
	}

	.faq-toggle {
		min-height: 58px;
		padding: 9px 43px 9px 10px;
		gap: 10px;
		border-radius: 6px;
	}

.faq-mark {
	width: 24px;
	height: 24px;
	flex-basis: 24px;
	font-size: 15px;
}

	.faq-question {
		font-size: 14px;
	}

.faq-arrow {
	right: 15px;
	border-right-width: 6px;
	border-bottom-width: 6px;
	border-left-width: 6px;
}

.faq-answer {
	padding: 14px 10px 2px 14px;
	grid-template-columns: 27px minmax(0, 1fr);
	gap: 8px;
	align-items: start;
}

	.answer-mark {
		font-size: 21px;
	}

	.faq-answer p {
		font-size: 14px;
	}

	.search-page h1 {
		margin-top: 8px;
		font-size: 18px;
	}

	.search-result {
		padding: 18px 0;
	}

	.search-result h2 {
		font-size: 17px;
	}

	.search-result-path,
	.search-result-excerpt {
		font-size: 13px;
	}

	.search-limit {
		margin-top: 45px;
	}

	.pagination {
		flex-wrap: wrap;
	}

	.pagination a {
	font-size: 14px;
}
}
