/*
Theme Name: Hinnyudouga
Description: Twenty Twenty-Five child theme for hinnyudouga.com.
Author: hinnyudouga.com
Template: twentytwentyfive
Version: 1.0.0
Text Domain: hinnyudouga
*/

.hd-age-gate {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: grid;
	place-items: center;
	padding: 24px;
	background: rgba(60, 39, 49, 0.7);
	color: var(--hd-ink);
}

.hd-age-gate__panel {
	width: min(100%, 520px);
	padding: clamp(28px, 6vw, 48px);
	border: 1px solid rgba(138, 83, 107, 0.35);
	background: #fff8fb;
	box-shadow: 0 20px 60px rgba(55, 35, 45, 0.18);
	text-align: center;
}

.hd-age-gate__eyebrow {
	margin: 0 0 12px;
	color: #ad526f;
	font-size: 0.8rem;
	font-weight: 700;
}

.hd-age-gate__title {
	margin: 0;
	color: inherit;
	font-size: clamp(1.7rem, 5vw, 2.25rem);
	line-height: 1.3;
}

.hd-age-gate__message {
	margin: 20px 0 0;
	font-size: 1rem;
	line-height: 1.9;
}

.hd-age-gate__form {
	margin: 28px 0 0;
}

.hd-age-gate__actions {
	display: grid;
	gap: 12px;
}

.hd-age-gate__submit {
	width: 100%;
	min-height: 52px;
	border: 0;
	background: var(--hd-lime);
	color: var(--hd-ink);
	cursor: pointer;
	font: inherit;
	font-weight: 700;
}

.hd-age-gate__decline {
	display: grid;
	min-height: 52px;
	place-items: center;
	border: 1px solid rgba(138, 83, 107, 0.55);
	color: var(--hd-ink);
	font-weight: 700;
	text-decoration: none;
}

.hd-age-gate__submit:hover,
.hd-age-gate__submit:focus-visible {
	background: #eab6c9;
}

.hd-age-gate__decline:hover,
.hd-age-gate__decline:focus-visible {
	background: #f8ebf1;
	color: var(--hd-ink);
}

.hd-age-gate__submit:focus-visible {
	outline: 3px solid var(--hd-forest);
	outline-offset: 3px;
}

.hd-age-gate__decline:focus-visible {
	outline: 3px solid var(--hd-forest);
	outline-offset: 3px;
}

.hd-age-gate__exit {
	margin: 18px 0 0;
	color: var(--hd-muted);
	font-size: 0.9rem;
}

:root {
	--hd-ink: #49373f;
	--hd-muted: #806d76;
	--hd-paper: #fff8fb;
	--hd-white: #ffffff;
	--hd-forest: #8a536b;
	--hd-lime: #f3d6e1;
	--hd-coral: #ad526f;
	--hd-line: #f0dfe6;
}

body {
	background: var(--hd-paper);
	color: var(--hd-ink);
}

.hd-site-header {
	max-width: none !important;
	border-bottom: 1px solid var(--hd-line);
	background: var(--hd-white);
}

.hd-site-header__top,
.hd-site-categories {
	max-width: 1280px;
	margin-inline: auto !important;
	padding-inline: 28px;
}

.hd-site-header__top {
	min-height: 82px;
	gap: 18px 28px;
}

.hd-site-title {
	margin: 0;
	font-size: 1.35rem;
	font-weight: 800;
}

.hd-site-title a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--hd-forest);
	text-decoration: none;
}

.hd-site-title a::before {
	content: "";
	flex: none;
	width: 36px;
	height: 36px;
	background: url("assets/logo.svg") center / contain no-repeat;
}

.hd-site-search {
	width: min(100%, 370px);
	margin: 0;
}

.hd-site-search .wp-block-search__inside-wrapper {
	min-height: 44px;
	border: 1px solid var(--hd-line);
	border-radius: 4px;
	background: var(--hd-paper);
}

.hd-site-search .wp-block-search__input {
	min-width: 0;
	border: 0;
	background: transparent;
	font-size: 0.95rem;
}

.hd-site-search .wp-block-search__button {
	min-width: 44px;
	min-height: 42px;
	margin: 0;
	border: 0;
	border-radius: 0 3px 3px 0;
	background: var(--hd-forest);
	color: var(--hd-white);
}

.hd-site-categories {
	padding-top: 0;
	padding-bottom: 16px;
}


.hd-site-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.hd-site-nav a {
	display: inline-flex;
	min-height: 34px;
	align-items: center;
	padding: 5px 12px;
	border: 1px solid var(--hd-line);
	border-radius: 3px;
	background: var(--hd-paper);
	color: var(--hd-ink);
	font-size: 0.86rem;
	text-decoration: none;
}

.hd-site-nav a:hover,
.hd-site-nav a:focus-visible {
	border-color: var(--hd-forest);
	background: var(--hd-forest);
	color: var(--hd-white);
}

.hd-home {
	padding: 30px 28px 72px;
}

.hd-home__intro {
	position: relative;
	margin: 0 0 42px !important;
	padding: clamp(26px, 5vw, 48px);
	border-left: 6px solid var(--hd-coral);
	background: var(--hd-lime);
	color: var(--hd-ink);
	overflow: hidden;
}

.hd-home__intro::after {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 30%;
	height: 8px;
	background: #e8b8c9;
	content: "";
}

.hd-home__eyebrow {
	margin: 0 0 12px;
	color: var(--hd-forest);
	font-size: 0.78rem;
	font-weight: 700;
}

.hd-home__title {
	margin: 0;
	color: inherit;
	font-size: clamp(1.9rem, 4vw, 2.8rem);
	line-height: 1.3;
}

.hd-home__lead {
	margin: 12px 0 0;
	color: var(--hd-ink);
	font-size: 1rem;
}

.hd-archive__description {
	max-width: 72ch;
	margin-top: 16px;
	color: var(--hd-ink);
	font-size: 0.98rem;
	line-height: 1.8;
}

.hd-archive__description > :first-child {
	margin-top: 0;
}

.hd-archive__description > :last-child {
	margin-bottom: 0;
}

.hd-home__section-head {
	margin: 0 0 18px !important;
	gap: 8px 16px;
}

.hd-home__section-title {
	margin: 0;
	font-size: 1.45rem;
}

.hd-home__section-note {
	margin: 0;
	color: var(--hd-muted);
	font-size: 0.75rem;
	font-weight: 700;
}

.hd-post-grid {
	gap: 22px !important;
}

.hd-related-posts {
	margin: 48px 0;
}

.hd-related-posts__title {
	margin: 0 0 18px;
	font-size: 1.45rem;
}

.hd-related-posts__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

.hd-post-card {
	min-width: 0;
	border: 1px solid var(--hd-line);
	border-radius: 4px;
	background: var(--hd-white);
	overflow: hidden;
	transition: transform 160ms ease, border-color 160ms ease;
}

.hd-post-card:hover {
	transform: translateY(-3px);
	border-color: #d4a4b5;
}

.hd-post-card__media {
	margin: 0 !important;
	overflow: hidden;
}

.hd-post-card__media > * {
	display: none !important;
}

.hd-post-card__media > figure:first-child {
	position: relative;
	display: block !important;
	margin: 0 !important;
}

.hd-post-card__media img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

.hd-post-card__new {
	position: absolute;
	top: 8px;
	left: 8px;
	z-index: 1;
	padding: 4px 8px;
	border-radius: 3px;
	background: var(--hd-coral);
	color: #ffffff;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.2;
	pointer-events: none;
}

/* 掲載元バッジ(FANZA / XVideos / Senzuri)。アイコンは ::before の SVG */
.hd-source {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 3px 8px 3px 6px;
	border-radius: 3px;
	color: #ffffff;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1.2;
	pointer-events: none;
}

.hd-source::before {
	content: "";
	width: 12px;
	height: 12px;
	background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-2 14.5v-9l7 4.5-7 4.5z'/%3E%3C/svg%3E");
}

.hd-source--fanza {
	background: #d6336c;
}

.hd-source--xvideos {
	background: #1f1f1f;
}

.hd-source--senzuri {
	background: #2b7de9;
}

/* 一覧カードの投稿日の行: 日付は左、掲載元バッジは右寄せ */
.hd-post-card__date {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}

.hd-post-card__duration {
	position: absolute;
	right: 8px;
	bottom: 8px;
	z-index: 1;
	padding: 4px 7px;
	border-radius: 3px;
	background: rgba(73, 55, 63, 0.9);
	color: #ffffff;
	font-size: 0.75rem;
	font-weight: 700;
	line-height: 1.2;
	pointer-events: none;
}

.hd-post-card__body {
	padding: 16px 18px 18px;
}

.hd-post-card__date {
	margin: 0 0 8px !important;
	color: var(--hd-coral);
	font-size: 0.78rem;
	font-weight: 700;
}

.hd-post-card__title {
	display: -webkit-box;
	margin: 0 !important;
	overflow: hidden;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.65;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.hd-post-card__title a {
	color: var(--hd-ink);
	text-decoration: none;
}

.hd-post-card__title a:hover {
	color: var(--hd-coral);
}

.hd-post-card__excerpt {
	display: -webkit-box;
	margin: 9px 0 0 !important;
	overflow: hidden;
	color: var(--hd-muted);
	font-size: 0.86rem;
	line-height: 1.7;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.hd-post-card__excerpt a {
	color: var(--hd-forest);
	font-weight: 700;
	text-decoration: underline;
}

.hd-post-card__meta {
	display: flex !important;
	flex-wrap: wrap;
	gap: 6px;
	margin: 12px 0 0 !important;
	overflow: visible;
	font-size: 0.78rem;
	line-height: 1.5;
}


.hd-post-card__meta a {
	display: inline-flex;
	max-width: 100%;
	align-items: center;
	padding: 4px 8px;
	border: 1px solid var(--hd-line);
	border-radius: 3px;
	background: #fff8fb;
	color: var(--hd-forest);
	font-weight: 400;
	text-decoration: none;
}

.hd-post-card__meta a:hover,
.hd-post-card__meta a:focus-visible {
	border-color: var(--hd-coral);
	background: #f8ebf1;
}

/* カップ数タグは一覧・詳細で先頭に出し、他のタグより目立たせる */
.hd-post-card__meta a.hd-tag--cup,
.hd-single__content .hd-detail-taxonomy a.hd-tag--cup {
	border-color: var(--hd-coral);
	background: #f8ebf1;
	font-weight: 600;
}

.hd-post-card__terms {
	margin: 12px 0 0 !important;
	color: var(--hd-muted);
	font-size: 0.76rem;
}

.hd-post-card__terms a {
	color: var(--hd-forest);
	text-decoration: none;
}

.hd-pagination {
	gap: 8px;
	margin-top: 36px !important;
}

.hd-pagination a,
.hd-pagination .current {
	display: inline-grid;
	min-width: 40px;
	min-height: 40px;
	place-items: center;
	padding: 0 10px;
	border: 1px solid var(--hd-line);
	border-radius: 3px;
	background: var(--hd-white);
	color: var(--hd-ink);
	text-decoration: none;
	white-space: nowrap;
}

/* 前へ/次へはアイコンのみ(ラベルは aria-label として出力される) */
.hd-pagination .wp-block-query-pagination-previous-arrow,
.hd-pagination .wp-block-query-pagination-next-arrow {
	margin: 0;
	font-size: 1.1rem;
	line-height: 1;
}

.hd-pagination .current {
	border-color: var(--hd-forest);
	background: var(--hd-lime);
	color: var(--hd-ink);
}

.hd-site-footer {
	max-width: none !important;
	border-top: 1px solid var(--hd-line);
	background: var(--hd-lime);
	color: var(--hd-ink);
}

.hd-site-footer__inner {
	max-width: 1280px;
	min-height: 136px;
	margin-inline: auto !important;
	padding: 28px;
	gap: 18px 24px;
}

.hd-site-footer .wp-block-site-title {
	margin: 0;
	font-size: 1.1rem;
}

.hd-site-footer .wp-block-site-title a {
	color: var(--hd-forest);
	text-decoration: none;
}

.hd-site-footer__note,
.hd-site-footer__copy {
	margin: 8px 0 0 !important;
	color: var(--hd-ink);
	font-size: 0.82rem;
}

.hd-single {
	padding: 24px 28px 72px;
}

.hd-single__header {
	margin: 0 0 28px !important;
}

.hd-single__date {
	margin: 0 0 12px !important;
	color: var(--hd-coral);
	font-size: 0.85rem;
	font-weight: 700;
}

.hd-single__title {
	width: 100%;
	max-width: none !important;
	margin: 0 !important;
	color: var(--hd-ink);
	font-size: clamp(1.35rem, 3vw, 2rem);
	line-height: 1.45;
	white-space: normal;
	text-wrap: pretty;
	word-break: normal;
	word-break: auto-phrase;
}

.hd-single__disclosure {
	margin: 0 0 24px;
	padding: 12px 16px;
	border-left: 3px solid var(--hd-coral);
	background: var(--hd-white);
	color: var(--hd-muted);
	font-size: 0.88rem;
	line-height: 1.75;
}

.hd-single__content {
	padding: clamp(20px, 4vw, 42px);
	border: 1px solid var(--hd-line);
	border-radius: 4px;
	background: var(--hd-white);
}

.hd-single__content > figure:first-child {
	margin: 0 auto 30px;
	text-align: center;
}

.hd-single__content figure img {
	display: block;
	max-width: 100%;
	height: auto;
	margin-inline: auto;
}

.hd-single__content table {
	width: 100%;
	margin: 24px 0;
	border-collapse: collapse;
	font-size: 0.95rem;
}

.hd-single__content th,
.hd-single__content td {
	padding: 12px 14px;
	border: 1px solid var(--hd-line);
	text-align: left;
	vertical-align: top;
}

.hd-single__content th {
	width: 24%;
	background: #f8ebf1;
	font-weight: 700;
}

.hd-single__content .hd-detail-taxonomy {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.hd-single__content .hd-detail-taxonomy a,
.hd-single__content .hd-detail-taxonomy span {
	display: inline-flex;
	max-width: 100%;
	align-items: center;
	padding: 4px 8px;
	border: 1px solid var(--hd-line);
	border-radius: 3px;
	background: #fff8fb;
	color: var(--hd-forest);
	line-height: 1.5;
	text-decoration: none;
}

.hd-single__content .hd-detail-taxonomy a:hover,
.hd-single__content .hd-detail-taxonomy a:focus-visible {
	border-color: var(--hd-coral);
	background: #f8ebf1;
}

.hd-single__content h2 {
	margin: 38px 0 16px;
	padding-left: 14px;
	border-left: 4px solid var(--hd-coral);
	font-size: 1.35rem;
}

.hd-single__content .hnd-movie iframe {
	display: block;
	width: 100%;
	max-width: 800px;
	aspect-ratio: 3 / 2;
	height: auto;
	margin: 0 auto;
	border: 0;
}

.hd-single__content .hd-detail-hero {
	margin: 0 0 30px;
}

.hd-single__content .hd-detail-hero .hnd-movie {
	margin-block: 0 12px;
}

.hd-single__content .hd-detail-hero .hnd-movie:last-child {
	margin-bottom: 0;
}

/* サムネイルは横スクロールで3件ずつ表示し、左右のボタンで切り替える */
.hd-single__content .hd-samples-carousel {
	display: flex;
	align-items: center;
	gap: 8px;
}

.hd-single__content .hd-samples-carousel .hnd-samples {
	flex: 1 1 auto;
	min-width: 0;
}

.hd-samples-carousel__button {
	flex: 0 0 auto;
	width: 36px;
	height: 56px;
	padding: 0;
	border: 1px solid var(--hd-line);
	border-radius: 4px;
	background: var(--hd-white);
	color: inherit;
	font-size: 1.6rem;
	line-height: 1;
	cursor: pointer;
}

.hd-samples-carousel__button[hidden] {
	display: none;
}

.hd-samples-carousel__button:disabled {
	opacity: 0.3;
	cursor: default;
}

.hd-samples-carousel__button:focus-visible {
	outline: 3px solid var(--hd-coral);
	outline-offset: 2px;
}

.hd-single__content .hnd-samples {
	display: flex;
	gap: 12px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-ms-overflow-style: none;
	overscroll-behavior-x: contain;
	-webkit-overflow-scrolling: touch;
}

.hd-single__content .hnd-samples::-webkit-scrollbar {
	display: none;
}

.hd-single__content .hnd-samples figure {
	flex: 0 0 calc((100% - 24px) / 3);
	min-width: 0;
	margin: 0;
	scroll-snap-align: start;
}

.hd-single__content .hnd-samples img {
	cursor: zoom-in;
}

.hd-single__content .hd-sample-cover img {
	cursor: pointer;
}

.hd-single__content .hnd-samples img:focus-visible {
	outline: 3px solid var(--hd-coral);
	outline-offset: 3px;
}

.hd-sample-lightbox {
	position: fixed;
	inset: 0;
	display: none;
	width: 100vw;
	height: 100vh;
	box-sizing: border-box;
	max-width: none;
	max-height: none;
	margin: 0;
	padding: 24px;
	border: 0;
	background: transparent;
	overflow: hidden;
}

.hd-sample-lightbox[open] {
	display: grid;
	place-items: center;
}

.hd-sample-lightbox::backdrop {
	background: rgba(46, 31, 39, 0.9);
}

.hd-sample-lightbox__image {
	display: block;
	max-width: 100%;
	max-height: calc(100vh - 120px);
	max-height: calc(100dvh - 120px);
	margin: 0;
	object-fit: contain;
	box-shadow: 0 18px 64px rgba(0, 0, 0, 0.35);
}

.hd-sample-lightbox__previous,
.hd-sample-lightbox__next {
	position: absolute;
	top: 50%;
	z-index: 1;
	display: grid;
	width: 48px;
	height: 56px;
	place-items: center;
	padding: 0;
	transform: translateY(-50%);
	border: 1px solid rgba(255, 255, 255, 0.65);
	border-radius: 3px;
	background: #fff8fb;
	color: var(--hd-ink);
	cursor: pointer;
	font: inherit;
	font-size: 1.8rem;
	line-height: 1;
}

.hd-sample-lightbox__previous { left: 16px; }
.hd-sample-lightbox__next { right: 16px; }

.hd-sample-lightbox__close {
	position: absolute;
	top: 12px;
	right: 12px;
	min-width: 44px;
	min-height: 44px;
	padding: 8px 12px;
	border: 1px solid rgba(255, 255, 255, 0.65);
	border-radius: 3px;
	background: #fff8fb;
	color: var(--hd-ink);
	cursor: pointer;
	font: inherit;
	font-size: 0.9rem;
	font-weight: 700;
}

.hd-sample-lightbox__counter {
	position: absolute;
	bottom: 12px;
	left: 50%;
	margin: 0;
	transform: translateX(-50%);
	color: #ffffff;
	font-size: 0.85rem;
	font-weight: 700;
}

.hd-sample-lightbox__previous:focus-visible,
.hd-sample-lightbox__next:focus-visible,
.hd-sample-lightbox__close:focus-visible {
	outline: 3px solid var(--hd-coral);
	outline-offset: 3px;
}

.hd-single__content p:has(> a[rel~="sponsored"]) {
	margin: 28px 0;
	text-align: center;
}

.hd-single__content p:has(> a[rel~="sponsored"]) a {
	display: inline-flex;
	min-height: 50px;
	align-items: center;
	justify-content: center;
	padding: 10px 28px;
	border-radius: 3px;
	background: var(--hd-coral);
	color: var(--hd-white);
	font-weight: 700;
	text-decoration: none;
}

.hd-single__content p:has(> a[rel~="sponsored"]) a:hover,
.hd-single__content p:has(> a[rel~="sponsored"]) a:focus-visible {
	background: #923456;
}

@media (max-width: 760px) {
	.hd-site-header__top,
	.hd-site-categories {
		padding-inline: 18px;
	}

	.hd-site-header__top {
		padding-top: 14px;
		padding-bottom: 14px;
	}

	.hd-site-search {
		width: 100%;
		max-width: none;
	}

	.hd-site-nav {
		flex-wrap: wrap;
		overflow: visible;
	}
	.hd-site-nav a { flex: 0 0 auto; max-width: 100%; }

	.hd-home {
		padding: 20px 18px 48px;
	}

	.hd-site-footer__inner {
		padding-inline: 18px;
	}

	.hd-single {
		padding: 32px 18px 48px;
	}

	.hd-single__title {
		font-size: 1.2rem;
	}

	.hd-single__content {
		padding: 20px 16px;
	}

	@supports (width: 1cqw) and (transform: scale(calc(100cqw / 720px))) {
		.hd-single__content .hnd-movie {
			position: relative;
			width: 100%;
			aspect-ratio: 720 / 482;
			container-type: inline-size;
			overflow: hidden;
		}

		.hd-single__content .hnd-movie iframe {
			position: absolute;
			top: 0;
			left: 0;
			width: 720px;
			max-width: none;
			height: 482px;
			aspect-ratio: auto;
			transform: scale(calc(100cqw / 720px));
			transform-origin: top left;
		}
	}

	.hd-single__content .hnd-samples {
		gap: 8px;
	}

	.hd-single__content .hnd-samples figure {
		flex-basis: calc((100% - 16px) / 3);
	}

	@supports (width: 1cqw) and (transform: scale(calc(100cqw / 720px))) {
		.hd-single__content .hnd-movie {
			position: relative;
			width: 100%;
			aspect-ratio: 720 / 482;
			container-type: inline-size;
			overflow: hidden;
		}

		.hd-single__content .hnd-movie iframe {
			position: absolute;
			top: 0;
			left: 0;
			width: 720px;
			max-width: none;
			height: 482px;
			aspect-ratio: auto;
			transform: scale(calc(100cqw / 720px));
			transform-origin: top left;
		}
	}

	.hd-home__intro {
		margin-bottom: 32px !important;
	}

	.hd-post-grid {
		grid-template-columns: 1fr !important;
		gap: 18px !important;
	}

	.hd-related-posts__grid {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.hd-post-card__body {
		padding: 12px;
	}

	.hd-post-card__title {
		font-size: 0.9rem;
	}

	.hd-post-card__excerpt {
		font-size: 0.8rem;
	}
}

@media (max-width: 420px) {
	.hd-single__content table {
		display: block;
		overflow-x: auto;
	}

	.hd-single__content th,
	.hd-single__content td {
		min-width: 105px;
		padding: 10px;
	}


	.hd-post-grid {
		grid-template-columns: 1fr !important;
	}

	.hd-post-card__excerpt {
		-webkit-line-clamp: 2;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hd-post-card {
		transition: none;
	}
}
.hd-breadcrumbs {
	max-width: none !important;
	margin: 0 0 16px !important;
	font-size: 0.8125rem;
	line-height: 1.6;
	opacity: 0.8;
}

.hd-breadcrumbs .aioseo-breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: flex-end;
	gap: 2px 8px;
}

.hd-breadcrumbs br,
.hd-breadcrumbs p:empty {
	display: none;
}

.hd-breadcrumbs .aioseo-breadcrumbs span,
.hd-breadcrumbs .aioseo-breadcrumbs a {
	margin: 0;
	padding: 0;
	line-height: inherit;
	vertical-align: baseline;
}

.hd-breadcrumbs a {
	text-decoration: none;
}

.hd-breadcrumbs a:hover,
.hd-breadcrumbs a:focus-visible {
	text-decoration: underline;
}

/* 固定ページ(運営者情報・規約など) */
.hd-page__content {
	line-height: 1.9;
}

.hd-page__content h2 {
	margin: 2em 0 0.6em;
	padding-left: 12px;
	border-left: 4px solid var(--hd-coral);
	font-size: 1.15rem;
}

.hd-page__content h2:first-child {
	margin-top: 0;
}

.hd-page__content table {
	width: 100%;
	border-collapse: collapse;
}

.hd-page__content th,
.hd-page__content td {
	padding: 10px 12px;
	border: 1px solid var(--hd-line);
	text-align: left;
	vertical-align: top;
}

.hd-page__content th {
	width: 8em;
	background: var(--hd-paper);
	white-space: nowrap;
}

/* フッターのリンク */
.hd-site-footer__credit {
	margin: 12px 0 0;
}

.hd-site-footer__credit img {
	display: block;
}

.hd-footer-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 18px;
	margin-top: 12px;
	font-size: 0.82rem;
}

.hd-footer-nav a {
	color: var(--hd-ink);
	text-decoration: none;
}

.hd-footer-nav a:hover,
.hd-footer-nav a:focus-visible {
	text-decoration: underline;
}

/* お問い合わせフォーム */
.hd-contact p {
	margin: 0 0 18px;
}

.hd-contact label {
	display: block;
	margin-bottom: 6px;
	font-weight: 700;
}

.hd-contact input[type="text"],
.hd-contact input[type="email"],
.hd-contact textarea {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid var(--hd-line);
	border-radius: 3px;
	background: var(--hd-paper);
	color: var(--hd-ink);
	font: inherit;
}

.hd-contact__submit {
	min-width: 160px;
	padding: 12px 24px;
	border: 0;
	border-radius: 3px;
	background: var(--hd-forest);
	color: #ffffff;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.hd-contact__submit:hover,
.hd-contact__submit:focus-visible {
	background: var(--hd-coral);
}

/* ボット用の見えない欄(画面外へ退避。display:none だと見抜かれやすい) */
.hd-contact__trap {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.hd-contact__notice {
	margin: 0 0 20px;
	padding: 12px 16px;
	border-left: 4px solid var(--hd-forest);
	background: var(--hd-paper);
}

.hd-contact__notice--error {
	border-left-color: var(--hd-coral);
}

.hd-contact__note {
	margin-top: 24px;
	color: var(--hd-muted);
	font-size: 0.85rem;
}
