/* 北の暮らしラボ — 北海道で使える？
   構成・余白・文字の大きさは参考サイトの寸法に合わせる（コンテナ1232px／セクション上下60px／カード間30px／本文幅732px・行間1.8）
   色: 夜明けの雪原（藍）＋白樺の白＋灯り（オレンジ） */
:root {
	--c-main: #2d5d9f;
	--c-main-2: #4a8ad1;
	--c-main-dark: #233c63;
	--c-main-pale: #eaf1fa;
	--c-grad: linear-gradient(90deg, #2d5d9f 0%, #4a8ad1 100%);
	--c-accent: #e0792e;
	--c-text: #2b3a4c;
	--c-head: #233c63;
	--c-sub: #66727f;
	--c-line: #dde4ec;
	--c-bg: #f3f6fa;
	--c-chip: #eceff3;
	--c-white: #fff;
	--c-caution: #fff6e8;
	--c-footer: #eef1f5;
	--w-container: 1280px;
	--w-article: 780px;
	--radius: 12px;
	--font: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic UI", "Meiryo", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.8;
	color: var(--c-text);
	background: var(--c-bg);
	overflow-wrap: anywhere;
	-webkit-font-smoothing: antialiased;
}
body.single, body.page:not(.home) { background: var(--c-white); }
img { max-width: 100%; height: auto; vertical-align: middle; }
a { color: var(--c-main); }
a:hover { color: var(--c-main-dark); }
p { margin: 0; }

.hp-skip { position: absolute; left: -9999px; }
.hp-skip:focus { left: 8px; top: 8px; background: #fff; padding: 8px 12px; z-index: 100; }

/* ボタン（丸）: 260×56、余白15/40 */
.hp-pill {
	display: inline-flex; align-items: center; justify-content: center; position: relative;
	min-width: 260px; padding: 15px 40px; border: 2px solid var(--c-main-2); border-radius: 32px;
	background: var(--c-white); color: var(--c-main); font-weight: 700; font-size: 16px; line-height: 1.4; text-decoration: none;
	transition: background .2s, color .2s;
}
.hp-pill::after { content: ""; position: absolute; right: 24px; top: 50%; width: 7px; height: 7px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: translateY(-50%) rotate(45deg); }
.hp-pill:hover { background: var(--c-main-pale); color: var(--c-main-dark); }

/* ヘッダー: 高さ90、全幅、影 */
.hp-header {
	position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 16px;
	height: 90px; padding: 0 24px 0 10px; background: var(--c-white); box-shadow: 0 2px 10px rgba(0, 0, 0, .05);
}
.admin-bar .hp-header { top: 32px; }
.hp-brand { display: flex; align-items: center; min-width: 0; }
.hp-logo { display: flex; margin: 0 10px; line-height: 1; }
.hp-logo a, .hp-footer__logo a { display: inline-flex; align-items: center; gap: 10px; color: var(--c-head); text-decoration: none; }
.hp-logo__mark { position: relative; width: 40px; height: 40px; flex: 0 0 40px; border-radius: 50%; background: var(--c-grad); }
.hp-logo__mark::before { content: ""; position: absolute; left: 8px; right: 8px; bottom: 11px; height: 13px; background: #fff; clip-path: polygon(0 100%, 30% 30%, 46% 62%, 70% 0, 100% 100%); }
.hp-logo__mark::after { content: ""; position: absolute; right: 10px; top: 8px; width: 5px; height: 5px; border-radius: 50%; background: #fff; }
.hp-logo__text { display: flex; flex-direction: column; font-size: 22px; font-weight: 800; line-height: 1.1; letter-spacing: .04em; white-space: nowrap; }
.hp-logo__text small { margin-top: 4px; font-size: 10px; font-weight: 700; letter-spacing: .12em; color: var(--c-main-2); }
.hp-logo__img { display: block; width: auto; height: 80px; }
.hp-footer__logo .hp-logo__img { height: 72px; }
.hp-tagline { margin-left: 8px; font-size: 16px; font-weight: 700; line-height: 1.4; color: var(--c-head); }
.hp-gnav { flex: 0 1 auto; min-width: 0; }
.hp-gnav__list { display: flex; align-items: center; margin: 0; padding: 0; list-style: none; }
.hp-gnav__link { position: relative; display: block; padding: 10px 12px; font-size: 15px; font-weight: 700; line-height: 1.4; color: var(--c-head); text-decoration: none; white-space: nowrap; }
.hp-gnav__link::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; border-radius: 1px; background: var(--c-main-2); transform: scaleX(0); transition: transform .2s; }
.hp-gnav__link:hover { color: var(--c-main-2); }
.hp-gnav__link:hover::after, .hp-gnav__link.is-current::after { transform: scaleX(1); }
.hp-gnav__link.is-current { color: var(--c-main); }
.hp-gnav__sub { margin-left: 12px; padding-left: 12px; border-left: 1px solid var(--c-line); }
.hp-gnav__sub .hp-gnav__link { font-size: 14px; font-weight: 500; color: var(--c-sub); }
.hp-menu-btn, .hp-drawer-overlay, .hp-drawer-head, .hp-drawer-label, .hp-gnav__more { display: none; }

.hp-main { display: block; }

/* スライダー: 高さ504、中央の1枚は896px、左右が見える */
.hp-slider { position: relative; height: 504px; overflow: hidden; background: var(--c-white); }
.hp-slider__track {
	display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
	padding-inline: calc((100% - 896px) / 2); scroll-padding-inline: calc((100% - 896px) / 2);
}
.hp-slider__track::-webkit-scrollbar { display: none; }
.hp-slide { position: relative; flex: 0 0 896px; height: 100%; scroll-snap-align: start; overflow: hidden; color: #fff; text-decoration: none; }
.hp-slide__img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.hp-slide__img--none { background: linear-gradient(135deg, #b9cde6, #e6eef8); }
.hp-slide::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, rgba(16, 28, 46, .62)); }
.hp-slide:hover .hp-slide__img { transform: scale(1.03); }
.hp-slide:hover { color: var(--c-main-2); }
.hp-slide__title { position: absolute; left: 24px; right: 24px; bottom: 54px; z-index: 1; font-size: 28px; font-weight: 800; line-height: 1.2; text-align: center; text-shadow: 0 2px 8px rgba(0, 0, 0, .35); transition: color .2s; }
.hp-slider__prev, .hp-slider__next {
	position: absolute; top: 50%; z-index: 2; width: 38px; height: 38px; margin-top: -19px; padding: 0; border: 0; border-radius: 50%;
	background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .15); cursor: pointer;
}
.hp-slider__prev { left: calc(50% - 448px - 19px); }
.hp-slider__next { right: calc(50% - 448px - 19px); }
.hp-slider__prev::before, .hp-slider__next::before { content: ""; position: absolute; top: 50%; left: 50%; width: 8px; height: 8px; border-top: 2px solid var(--c-head); border-right: 2px solid var(--c-head); }
.hp-slider__prev::before { transform: translate(-30%, -50%) rotate(-135deg); }
.hp-slider__next::before { transform: translate(-70%, -50%) rotate(45deg); }
.hp-slider.is-single .hp-slider__prev, .hp-slider.is-single .hp-slider__next { display: none; }

/* セクション: 最大1280・上下60・左右24 */
.hp-sec { max-width: var(--w-container); margin: 0 auto; padding: 60px 24px; }
.hp-shead { margin: 0 0 30px; }
.hp-shead__en { display: flex; align-items: center; gap: 8px; margin: 0 0 5px; font-size: 40px; font-weight: 700; line-height: 1; color: var(--c-head); }
.hp-shead__icon { width: 34px; height: 34px; color: var(--c-main-2); flex: 0 0 auto; }
.hp-shead__ja { margin-top: 8px; font-size: 16px; font-weight: 500; line-height: 1.4; color: var(--c-head); }

/* カード: 3列・間30・角12・影なし、画像2:1、本文余白20 */
.hp-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.hp-card { position: relative; background: var(--c-white); border-radius: var(--radius); }
.hp-card a { display: flex; flex-direction: column; height: 100%; color: var(--c-text); text-decoration: none; border-radius: var(--radius); }
.hp-card__media { display: block; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; }
.hp-card__img { display: block; width: 100%; aspect-ratio: 2 / 1; object-fit: cover; transition: transform .4s; }
.hp-card a:hover .hp-card__img { transform: scale(1.04); }
.hp-card__img--none { background: linear-gradient(135deg, #cfdcee 0%, #eef3fa 100%); }
.hp-card__new {
	position: absolute; top: -12px; left: -12px; z-index: 2; width: 58px; height: 58px;
	background: url("../img/badge-new.svg") center / contain no-repeat; filter: drop-shadow(0 3px 6px rgba(16, 28, 46, .25));
	overflow: hidden; color: transparent; font-size: 0; transition: transform .3s;
}
.hp-card a:hover .hp-card__new { transform: rotate(-10deg) scale(1.06); }
.hp-card__body { display: flex; flex-direction: column; flex: 1; padding: 20px; }
.hp-card__title { display: block; font-size: 18px; font-weight: 700; line-height: 1.4; color: var(--c-head); }
.hp-card a:hover .hp-card__title { color: var(--c-main); }
.hp-card__desc { display: block; margin-top: 5px; font-size: 14px; line-height: 1.4; color: var(--c-sub); }
.hp-card__tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 12px; }
.hp-chip { display: inline-block; padding: 4px 10px; border-radius: 4px; background: var(--c-chip); color: var(--c-text); font-size: 12px; font-weight: 700; line-height: 1.4; }
.hp-more { margin-top: 25px; text-align: center; }

/* カテゴリー */
.hp-catttl { margin: 60px 0 20px; font-size: 20px; font-weight: 800; line-height: 1.4; text-align: center; color: var(--c-head); }
.hp-catlist { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; list-style: none; margin: 0; padding: 0; }
.hp-catlist a { display: flex; align-items: center; height: 40px; padding: 0 18px; border-radius: 4px; background: var(--c-white); color: var(--c-head); font-size: 14px; font-weight: 700; text-decoration: none; transition: background .2s, color .2s; }
.hp-catlist a:hover { background: var(--c-main); color: #fff; }

/* About: 白い帯、2カラム */
.hp-about { background: var(--c-white); }
.hp-about__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; max-width: var(--w-container); margin: 0 auto; padding: 60px 24px; }
.hp-about__lead { margin: 30px 0 15px; font-size: 32px; font-weight: 700; line-height: 1.4; color: var(--c-head); }
.hp-about__text { margin-bottom: 30px; font-size: 16px; line-height: 1.6; color: var(--c-text); }
.hp-about__visual img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.hp-about__noimg { display: block; aspect-ratio: 3 / 2; border-radius: var(--radius); background: linear-gradient(135deg, #cfdcee, #eef3fa); }

/* Policy（3つの約束） */
.hp-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; list-style: none; margin: 0; padding: 0; }
.hp-points li { padding: 30px; background: var(--c-white); border-radius: var(--radius); }
.hp-points__no { display: block; font-size: 32px; font-weight: 800; line-height: 1; color: var(--c-main-2); }
.hp-points__ttl { margin: 15px 0 10px; font-size: 20px; font-weight: 700; line-height: 1.4; color: var(--c-head); }
.hp-points p:not(.hp-points__ttl) { font-size: 14px; line-height: 1.7; color: var(--c-sub); }

/* 一覧ページ */
.hp-archive__title { margin: 0 0 8px; font-size: 32px; font-weight: 700; line-height: 1.4; color: var(--c-head); }
.hp-archive__desc { margin-bottom: 30px; color: var(--c-sub); }
.hp-archive__head { margin-bottom: 30px; }
.pagination .nav-links { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.pagination .page-numbers { min-width: 44px; padding: 8px 14px; border-radius: 22px; background: var(--c-white); text-align: center; text-decoration: none; font-weight: 700; }
.pagination .current { background: var(--c-grad); color: #fff; }

/* 記事: 戻るリンク→全幅画像500→本文780（余白40/24） */
.hp-backbar { max-width: var(--w-article); margin: 0 auto; padding: 20px 24px 12px; }
.hp-back { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--c-main); text-decoration: none; }
.hp-back::before { content: ""; width: 7px; height: 7px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
.hp-eyecatch { margin: 0; }
.hp-eyecatch img { display: block; width: 100%; height: 500px; object-fit: cover; object-position: center 65%; }
.hp-eyecatch figcaption { margin-top: 8px; font-size: 12px; color: var(--c-sub); text-align: center; }
.hp-article { max-width: var(--w-article); margin: 0 auto; padding: 40px 24px; }
.hp-article__head { margin-bottom: 20px; }
.hp-article__title { margin: 0; font-size: 28px; font-weight: 700; line-height: 1.4; color: var(--c-main); }
.hp-article__sub { margin-top: 5px; font-size: 16px; line-height: 1.4; color: var(--c-head); }
.hp-article__meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 16px; margin-top: 15px; }
.hp-article__tags { display: flex; flex-wrap: wrap; }
.hp-tag { display: inline-block; margin: 0 10px 10px 0; padding: 6px 12px; border: 1px solid var(--c-main-2); border-radius: 2px; font-size: 14px; font-weight: 500; line-height: 1; color: var(--c-main); text-decoration: none; }
.hp-tag:hover { background: var(--c-main-pale); }
.hp-dates { display: flex; flex-wrap: wrap; gap: 0 14px; margin-bottom: 10px; font-size: 13px; color: var(--c-sub); }
.hp-crumbs ol { display: flex; flex-wrap: wrap; list-style: none; margin: 0 0 15px; padding: 0; font-size: 12px; color: var(--c-sub); }
.hp-crumbs li + li::before { content: "›"; margin: 0 6px; }
.hp-crumbs a { color: var(--c-sub); }

/* 本文: 16px・行間1.8、段落の上20、h2は上50下20 */
.hp-content { color: var(--c-text); }
.hp-content > * { margin-top: 20px; margin-bottom: 0; }
.hp-content > :first-child { margin-top: 0; }
.hp-content h2 { margin: 50px 0 20px; font-size: 24px; font-weight: 700; line-height: 1.4; color: var(--c-main); }
.hp-content h2 + * { margin-top: 0; }
.hp-content h3 { margin: 40px 0 15px; padding-left: 12px; border-left: 4px solid var(--c-main-2); font-size: 20px; font-weight: 700; line-height: 1.4; color: var(--c-head); }
.hp-content h3 + * { margin-top: 0; }
.hp-content h4 { margin: 30px 0 10px; font-size: 18px; line-height: 1.4; }
.hp-content ul, .hp-content ol { padding-left: 1.4em; }
.hp-content li + li { margin-top: .3em; }
.hp-content strong { font-weight: 700; background: linear-gradient(transparent 65%, #ffe2b8 65%); }
.hp-content figure { margin-left: 0; margin-right: 0; }
.hp-content figcaption { margin-top: 8px; font-size: 12px; line-height: 1.6; color: var(--c-sub); }

/* PR表記・調査時点・目次 */
.hp-pr { padding: 10px 15px; border-radius: 4px; background: var(--c-bg); font-size: 12px; line-height: 1.6; color: var(--c-sub); }
.hp-checked { padding: 15px 20px; border-radius: 4px; background: var(--c-main-pale); font-size: 14px; line-height: 1.7; }
.hp-toc { padding: 5px 24px; border: 1px solid var(--c-line); border-radius: 4px; font-size: 14px; }
.hp-toc summary { padding: 12px 0; font-weight: 700; color: var(--c-head); cursor: pointer; }
.hp-toc ol { margin: 0 0 15px; padding-left: 1.3em; }
.hp-toc ol ol { margin: 2px 0 4px; list-style: disc; }
.hp-toc a { color: var(--c-text); text-decoration: none; }
.hp-toc a:hover { color: var(--c-main); text-decoration: underline; }

/* 表 */
.wp-block-table { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.hp-content table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.6; background: var(--c-white); }
.hp-content th, .hp-content td { padding: 10px 12px; border: 1px solid var(--c-line); text-align: left; vertical-align: top; }
.hp-content thead th { background: var(--c-head); border-color: var(--c-head); color: #fff; font-weight: 700; }
.hp-content tbody th { background: var(--c-main-pale); font-weight: 700; }
.hp-content .wp-block-table thead { border-bottom: 0; }
.hp-content .wp-block-table figcaption { text-align: left; }
.is-style-compare table { min-width: 680px; }
.is-style-compare tbody td:first-child { position: sticky; left: 0; z-index: 1; min-width: 7em; background: var(--c-main-pale); font-weight: 700; color: var(--c-head); }
.is-style-compare thead th:first-child { position: sticky; left: 0; z-index: 2; }

/* 囲み */
.is-style-point { padding: 20px 24px; border: 2px solid var(--c-main-2); border-radius: var(--radius); background: var(--c-white); }
.is-style-caution { padding: 20px 24px; border-radius: var(--radius); background: var(--c-caution); }
.is-style-point > *, .is-style-caution > * { margin: 0; }
.is-style-point > * + *, .is-style-caution > * + * { margin-top: 10px; }

/* FAQ */
.is-style-faq { padding: 0 20px; border-radius: var(--radius); background: var(--c-bg); }
.hp-content .is-style-faq + .is-style-faq { margin-top: 10px; }
.is-style-faq summary { position: relative; padding: 16px 28px 16px 34px; list-style: none; font-weight: 700; color: var(--c-head); cursor: pointer; }
.is-style-faq summary::-webkit-details-marker { display: none; }
.is-style-faq summary::before { content: "Q"; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; border-radius: 50%; background: var(--c-main); color: #fff; font-size: 13px; line-height: 24px; text-align: center; }
.is-style-faq summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--c-main); border-bottom: 2px solid var(--c-main); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.is-style-faq[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.is-style-faq > :not(summary) { margin: 0; padding: 0 0 16px 34px; }

/* 公式サイトボタン（アフィリエイト） */
.is-style-cta .wp-block-button__link, .hp-btn {
	display: flex; align-items: center; justify-content: center; position: relative; width: 100%; max-width: 400px; margin: 0 auto; padding: 16px 48px;
	border-radius: 32px; background: var(--c-accent); color: #fff; font-size: 16px; font-weight: 700; line-height: 1.4; text-align: center; text-decoration: none;
	box-shadow: 0 4px 10px rgba(224, 121, 46, .28); transition: filter .2s;
}
.is-style-cta .wp-block-button__link::after, .hp-btn::after { content: ""; position: absolute; right: 24px; top: 50%; width: 7px; height: 7px; border-top: 2px solid #fff; border-right: 2px solid #fff; transform: translateY(-50%) rotate(45deg); }
.is-style-cta .wp-block-button__link:hover, .hp-btn:hover { color: #fff; filter: brightness(1.06); }
.wp-block-buttons:has(.is-style-cta) { justify-content: center; }
.is-style-cta { width: 100%; }

/* 出典・著者 */
.hp-sources { margin-top: 50px; padding: 20px 24px; border-radius: 4px; background: var(--c-bg); font-size: 14px; }
.hp-content .hp-sources h2 { margin: 0 0 10px; font-size: 16px; color: var(--c-head); }
.hp-sources ul { margin: 0; }
.hp-author { display: flex; gap: 20px; align-items: flex-start; margin-top: 50px; padding: 24px; border-radius: var(--radius); background: var(--c-bg); }
.hp-author__img { flex: 0 0 72px; width: 72px; height: 72px; border-radius: 50%; object-fit: cover; background: #fff; }
.hp-author p { margin: 0; }
.hp-author__label { font-size: 12px; font-weight: 700; color: var(--c-main); }
.hp-author__name { font-weight: 700; color: var(--c-head); }
.hp-author__name a { color: var(--c-head); }
.hp-author__name span { font-size: 13px; font-weight: 400; color: var(--c-sub); }
.hp-author__text { margin-top: 5px !important; font-size: 14px; line-height: 1.7; }
.hp-related { border-top: 1px solid var(--c-line); }

/* フッター: 上下50・中央寄せ */
.hp-footer { padding: 50px 24px; background: var(--c-footer); text-align: center; }
.hp-footer__logo { display: flex; justify-content: center; }
.hp-footer__mission { margin-top: 15px; font-size: 13px; color: var(--c-sub); }
.hp-footer__nav ul { display: flex; flex-wrap: wrap; justify-content: center; list-style: none; margin: 25px 0 0; padding: 0; }
.hp-footer__nav a { display: block; padding: 5px 15px; font-size: 13px; font-weight: 700; line-height: 1.4; color: var(--c-head); text-decoration: none; }
.hp-footer__nav a:hover { color: var(--c-main-2); }
.hp-copy { margin-top: 50px; font-size: 12px; color: var(--c-sub); }

@media (max-width: 1240px) {
	.hp-tagline { display: none; }
}
/* 960px以下: カテゴリーと運営者は右から出るドロワー */
@media (max-width: 960px) {
	.hp-menu-btn {
		display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; width: 52px; height: 52px; margin-left: auto; padding: 0;
		border: 0; border-radius: 10px; background: transparent; color: var(--c-head); cursor: pointer; font-family: inherit;
	}
	.hp-menu-btn__bar, .hp-menu-btn__bar::before, .hp-menu-btn__bar::after { display: block; width: 24px; height: 2px; border-radius: 1px; background: currentColor; }
	.hp-menu-btn__bar { position: relative; margin: 6px 0 9px; }
	.hp-menu-btn__bar::before, .hp-menu-btn__bar::after { content: ""; position: absolute; left: 0; }
	.hp-menu-btn__bar::before { top: -7px; }
	.hp-menu-btn__bar::after { top: 7px; }
	.hp-menu-btn__text { font-size: 10px; font-weight: 700; letter-spacing: .08em; line-height: 1; }
	.hp-menu-btn:hover { color: var(--c-main-2); }
	.hp-drawer-overlay { display: block; position: fixed; inset: 0; z-index: 90; background: rgba(16, 28, 46, .45); opacity: 0; transition: opacity .25s; }
	.hp-drawer-overlay[hidden] { display: none; }
	.is-drawer-open .hp-drawer-overlay { opacity: 1; }
	.hp-gnav {
		position: fixed; top: 0; right: 0; bottom: 0; z-index: 100; width: min(84vw, 340px); padding: 0 0 32px;
		background: var(--c-white); box-shadow: -8px 0 24px rgba(16, 28, 46, .15); overflow-y: auto; overscroll-behavior: contain;
		transform: translateX(100%); visibility: hidden; transition: transform .28s ease, visibility 0s linear .28s;
	}
	.is-drawer-open .hp-gnav { transform: none; visibility: visible; transition: transform .28s ease; }
	.admin-bar .hp-gnav { top: 46px; }
	.hp-drawer-head { display: flex; align-items: center; justify-content: space-between; height: 64px; padding: 0 8px 0 24px; border-bottom: 1px solid var(--c-line); }
	.hp-drawer-head__title { font-size: 16px; font-weight: 800; color: var(--c-head); }
	.hp-drawer-close { position: relative; width: 48px; height: 48px; padding: 0; border: 0; background: transparent; color: var(--c-head); cursor: pointer; }
	.hp-drawer-close span::before, .hp-drawer-close span::after { content: ""; position: absolute; left: 13px; top: 23px; width: 22px; height: 2px; border-radius: 1px; background: currentColor; transform: rotate(45deg); }
	.hp-drawer-close span::after { transform: rotate(-45deg); }
	.hp-drawer-close:hover { color: var(--c-main-2); }
	.hp-drawer-label { display: block; padding: 22px 24px 8px; font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--c-sub); }
	.hp-gnav__list { display: block; padding: 0; }
	.hp-gnav__list li { border-bottom: 1px solid var(--c-line); }
	.hp-gnav__link { display: flex; align-items: center; padding: 16px 48px 16px 24px; font-size: 16px; white-space: normal; }
	.hp-gnav__link::after { left: auto; right: 24px; top: 50%; bottom: auto; width: 8px; height: 8px; margin-top: -4px; border-top: 2px solid var(--c-main-2); border-right: 2px solid var(--c-main-2); border-radius: 0; background: none; transform: rotate(45deg); }
	.hp-gnav__link:hover::after, .hp-gnav__link.is-current::after { transform: rotate(45deg); }
	.hp-gnav__link.is-current { background: var(--c-main-pale); }
	.hp-gnav__sub { margin: 28px 0 0; padding: 0; border-top: 1px solid var(--c-line); border-left: 0; }
	.hp-gnav__sub .hp-gnav__link { flex-direction: column; align-items: flex-start; gap: 2px; font-size: 16px; font-weight: 700; color: var(--c-head); }
	.hp-gnav__more { display: block; font-size: 12px; font-weight: 500; color: var(--c-sub); }
	.is-drawer-open { overflow: hidden; }
}
@media (max-width: 960px) {
	.hp-slider { height: 380px; }
	.hp-slider__track { padding-inline: 24px; scroll-padding-inline: 24px; }
	.hp-slide { flex-basis: 100%; }
	.hp-slider__prev { left: 8px; }
	.hp-slider__next { right: 8px; }
	.hp-cards, .hp-points { grid-template-columns: repeat(2, 1fr); gap: 20px; }
	.hp-about__inner { grid-template-columns: 1fr; }
}
@media (max-width: 782px) {
	.admin-bar .hp-header { top: 46px; }
}
@media (max-width: 640px) {
	.hp-header { padding: 0 12px 0 4px; }
	.hp-header { height: 64px; }
	.hp-logo__mark { width: 32px; height: 32px; flex-basis: 32px; }
	.hp-logo__mark::before { left: 6px; right: 6px; bottom: 8px; height: 10px; }
	.hp-logo__text { font-size: 18px; }
	.hp-logo { margin: 0 6px; }
	.hp-logo__img { height: 56px; }
	.hp-slider { height: 260px; }
	.hp-slide__title { bottom: 28px; font-size: 20px; }
	.hp-sec, .hp-about__inner { padding: 40px 16px; }
	.hp-shead__en { font-size: 32px; }
	.hp-shead__icon { width: 28px; height: 28px; }
	.hp-cards, .hp-points { grid-template-columns: 1fr; }
	.hp-catttl { margin-top: 40px; }
	.hp-about__lead { font-size: 24px; }
	.hp-eyecatch img { height: 240px; }
	.hp-article { padding: 24px 16px; }
	.hp-backbar { padding: 16px 16px 8px; }
	.hp-article__title { font-size: 24px; }
	.hp-content h2 { font-size: 21px; }
	.hp-content h3 { font-size: 18px; }
	.hp-author { flex-direction: column; align-items: center; text-align: center; }
	.hp-author__img { flex-basis: auto; width: 96px; height: 96px; }
}

/* エディター（add_editor_style で読み込まれる） */
.editor-styles-wrapper { font-family: var(--font); color: var(--c-text); }

/* お問い合わせ: 冒頭（こんなときに） */
.hp-contact-topics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 20px 0 8px !important; padding: 0 !important; list-style: none; }
.hp-contact-topics li { position: relative; margin: 0 !important; padding: 12px 14px 12px 40px; border: 1px solid var(--c-line); border-radius: 8px; background: var(--c-white); font-size: 15px; font-weight: 700; line-height: 1.5; color: var(--c-head); }
.hp-contact-topics li::before { content: ""; position: absolute; left: 14px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 50%; background: var(--c-main-pale); box-shadow: inset 0 0 0 5px var(--c-main-2); }
.hp-contact-note { font-size: 14px; color: var(--c-sub); }

/* お問い合わせフォーム */
.hp-form { margin-top: 28px; padding: 36px 40px 32px; border-radius: var(--radius); background: var(--c-bg); }
.hp-form p { margin: 0 0 24px; }
.hp-form label { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-weight: 700; color: var(--c-head); }
.hp-form input[type="text"], .hp-form input[type="email"], .hp-form select, .hp-form textarea {
	width: 100%; padding: 13px 16px; border: 1px solid #c9d3e0; border-radius: 8px; font: inherit; color: var(--c-text); background-color: #fff;
	transition: border-color .2s, box-shadow .2s;
}
.hp-form input::placeholder, .hp-form textarea::placeholder { color: #9aa6b4; }
.hp-form input:focus, .hp-form select:focus, .hp-form textarea:focus { outline: none; border-color: var(--c-main-2); box-shadow: 0 0 0 3px rgba(74, 138, 209, .2); }
.hp-form select { appearance: none; padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%232d5d9f' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; cursor: pointer; }
.hp-form textarea { min-height: 200px; resize: vertical; line-height: 1.7; }
.hp-form__req, .hp-form__opt { display: inline-block; padding: 2px 8px; border-radius: 3px; font-size: 12px; font-weight: 700; line-height: 1.5; }
.hp-form__req { background: var(--c-accent); color: #fff; }
.hp-form__opt { background: #dfe5ec; color: var(--c-sub); }
.hp-form__help { display: block; margin-top: 6px; font-size: 13px; color: var(--c-sub); }
.hp-form__note { padding-top: 4px; font-size: 13px; line-height: 1.7; color: var(--c-sub); text-align: center; }
.hp-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.hp-form__turnstile { display: flex; justify-content: center; min-height: 65px; margin: 0 0 20px; }
.hp-form__submit { margin: 0 !important; text-align: center; }
.hp-form button { border: 0; cursor: pointer; font-family: inherit; }
.hp-form__done, .hp-form__error { margin: 24px 0; padding: 18px 22px; border-left: 4px solid; border-radius: 8px; }
.hp-form__done { border-color: #3c9a5f; background: #eef7f1; }
.hp-form__done p { margin: 0 0 8px; }
.hp-form__done p:last-child { margin-bottom: 0; }
.hp-form__done-title { font-size: 18px; font-weight: 800; color: #276b40; }
.hp-form__error { border-color: #d0463c; background: #fdeeee; color: #8f2a22; font-weight: 700; }
@media (max-width: 640px) {
	.hp-contact-topics { grid-template-columns: 1fr; }
	.hp-form { padding: 24px 18px 22px; }
}
