@charset "utf-8";

/* メーカーペース（tire/maker/assets/css/style.css）と色・単位・角丸・ボタン語彙を揃える */

.guidepage {
}

.small {
	font-size: 0.84375em;
}

.right {
	text-align: right;
}

.guidepage .tabs__content h2 {
	margin-top: 0 !important;
}

.guideblock,
.orderblock,
.searchblock {
	width: 100%;
	margin: 0 auto 3.125em;
	padding: 0;
	box-sizing: border-box;
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	align-items: stretch;
	text-align: left;
	font-size: 0.9375em;
}

.guide-card,
.order-card,
.search-card {
	width: calc((100% / 3) - 1em);
	margin: 0 0.5em 1em;
	padding: 1em;
	box-sizing: border-box;
	border: 1px solid #ddd;
	border-radius: 0.25em;
	background: #fff;
	transition: box-shadow 0.2s;
}

.guide-card:hover,
.order-card:hover,
.search-card:hover {
	box-shadow: 0 4px 14px rgba(0, 0, 0, .09);
}

.guideblock .thumb,
.orderblock .thumb,
.searchblock .thumb {
	text-align: center;
	padding: 1em;
	box-sizing: border-box;
	margin: 0 auto 1.25em;
	border: 1px solid #ddd;
	aspect-ratio: 1;
	overflow: hidden;
}

.guideblock .caption,
.orderblock .caption {
	text-align: left;
	padding: 0 0.75em;
	box-sizing: border-box;
}

.guideblock .thumb img,
.orderblock .thumb img,
.searchblock .thumb img {
	min-height: 100%;
	min-width: 100%;
	height: auto;
	width: auto;
	object-fit: cover;
}

.order-card h3 {
	font-size: 1em;
	text-align: center;
	margin-top: 0;
	color: #1a1a1a;
}

.order-card h3 span {
	font-size: 0.84375em;
	display: block;
	padding: 0.5em 0.75em;
	background-color: #f5f5f5;
	border: 1px solid #ddd;
	border-radius: 0.138em;
	margin-bottom: 0.5em;
	font-weight: 700;
	letter-spacing: .04em;
	color: #1a1a1a;
}

.orderblock .read {
	font-family: "Noto Sans JP", sans-serif;
	font-size: 0.9375em;
	font-weight: 700;
	text-align: center;
	color: #333;
}

.orderblock .notice {
	color: #a40000;
}

.search-card-wide {
	width: 100%;
	text-align: center;
}

.search-card h3 {
	font-size: 1.0625em;
	text-align: center;
	margin-top: 0;
	color: #1a1a1a;
	font-weight: 700;
}

.search-card .button {
	text-align: center;
}

.search-card .button a {
	display: block;
	width: 90%;
	margin: 0.5em auto;
	padding: 0.667em 0.625em;
	box-sizing: border-box;
	text-decoration: none;
	background-color: #1a1a1a;
	color: #fff;
	border-radius: 0.258em;
	font-size: 0.84375em;
	font-weight: 700;
	transition: opacity 0.15s;
}

.search-card .button a:hover {
	opacity: 0.85;
	background-color: #1a1a1a;
	color: #fff;
}

.quick_nav {
	margin-bottom: 0;
}

.quick_nav ul {
	list-style: none;
	margin: 0.75em 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.625em;
	align-items: stretch;
	font-size: 0.84375em;
}

.quick_nav li {
	width: calc((100% / 3) - 0.5em);
	box-sizing: border-box;
	min-width: 11em;
}

.quick_nav li a {
	display: block;
	padding: 0.667em 1.125em;
	border: 1px solid #1a1a1a;
	color: #1a1a1a;
	text-align: center;
	text-decoration: none;
	border-radius: 0.148em;
	transition: background 0.15s, color 0.15s;
}

.quick_nav li a:hover {
	background: #1a1a1a;
	color: #fff;
}

.quick_nav li a i {
	color: #1a1a1a;
	margin-right: 0.35em;
}

.quick_nav li a:hover i {
	color: inherit;
}

.search-button-colum {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: stretch;
}

.search-button-colum .button {
	width: calc((100% / 2) - 1em);
}

@media screen and (max-width: 37.5em) {
	.guide-card,
	.order-card,
	.search-card {
		width: 100%;
	}

	.quick_nav li {
		width: 100%;
		min-width: 0;
	}
}

/* ----- タブ（type02） ----- */
.tabs {
	margin-top: 2.5em;
	margin-bottom: 2.5em;
	background-color: #fff;
}

.tabs .tabs__item {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 3.125em;
	padding: 0.5em 0.375em;
	background-color: #f5f5f5;
	color: #333;
	font-size: clamp(0.6875rem, 3.5vw, 1em);
	font-weight: 700;
	transition: background 0.2s ease, color 0.2s ease;
	cursor: pointer;
	border: 1px solid transparent;
	box-sizing: border-box;
}

.tabs.tabs--type02 .tabs__list {
	width: 100%;
	display: flex;
	align-items: stretch;
	justify-content: space-between;
	gap: 0;
	border-bottom: 3px solid #1a1a1a;
}

.tabs.tabs--type02 .tabs__item {
	position: relative;
	overflow: hidden;
	flex-grow: 1;
	flex-basis: 0;
	border-right: 1px solid #ddd;
	border-left: none;
	border-top: 1px solid #ddd;
}

.tabs.tabs--type02 .tabs__item:first-child {
	border-left: 1px solid #ddd;
}

.tabs.tabs--type02 .tabs__item:last-child {
	border-right: 1px solid #ddd;
}

.tabs.tabs--type02 .tabs__item:hover,
.tabs.tabs--type02 .tabs__item:has(input:focus) {
	background-color: #eee;
	color: #1a1a1a;
}

.tabs.tabs--type02 input {
	border: 0 !important;
	clip: rect(0, 0, 0, 0) !important;
	height: 1px !important;
	margin: -1px !important;
	overflow: hidden !important;
	padding: 0 !important;
	position: absolute !important;
	white-space: nowrap !important;
	width: 1px !important;
}

.tabs.tabs--type02 .tabs__content {
	overflow: hidden;
	position: absolute;
	height: 0;
}

.tabs.tabs--type02 .tabs__list:has(#type02-members > input:checked) ~ #type02-members__content,
.tabs.tabs--type02 .tabs__list:has(#type02-orderflow > input:checked) ~ #type02-orderflow__content,
.tabs.tabs--type02 .tabs__list:has(#type02-search > input:checked) ~ #type02-search__content {
	overflow: visible;
	position: static;
	height: auto;
	padding: 2em 1.25em;
	border: 1px solid #ddd;
	border-top: none;
	border-radius: 0 0 0.25em 0.25em;
}

.tabs.tabs--type02 .tabs__item:has(input:checked),
.tabs.tabs--type02 .tabs__item:has(input:focus:checked) {
	background-color: #1a1a1a;
	color: #fff;
}

.guide-signup {
	margin: 1.5em auto 2em;
	text-align: center;
}

.guide-signup a {
	display: inline-block;
	min-width: 16em;
	max-width: 100%;
	padding: 1em 1.5em;
	box-sizing: border-box;
	background-color: #638c0b;
	border-radius: 10px;
	color: #fff;
	font-size: 1.0625em;
	font-weight: 700;
	line-height: 1.5;
	text-decoration: none;
	transition: background-color 0.15s;
}

.guide-signup a:hover {
	background-color: #d9534f;
	color: #fff;
}

/* 「その他のご利用ガイド」一覧 */
.more_guide ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	align-items: stretch;
	font-size: 0.84375em;
	gap: 0.625em;
}

.more_guide ul li {
	padding: 0;
	box-sizing: border-box;
	flex: 1 1 calc((100% / 3) - 0.5em);
	min-width: 12em;
}

.more_guide ul li a {
	display: block;
	padding: 0.8em 0.625em;
	box-sizing: border-box;
	text-decoration: none;
	background-color: #1a1a1a;
	color: #fff;
	text-align: center;
	border-radius: 0.258em;
	font-weight: 500;
	transition: opacity 0.15s;
}

.more_guide ul li a:hover {
	opacity: 0.85;
	background-color: #1a1a1a;
	color: #fff;
}

@media screen and (max-width: 37.5em) {
	.more_guide ul li {
		flex: 1 1 100%;
		min-width: 0;
	}
}
