/* ==========================================================
   HSPランドとは（固定ページ /hspland/）
   - functions.php で is_page('hspland') のときだけ読み込む
   - 色・書体は shiru.css と同じトークンをベースにしている
   ========================================================== */

:root {
	--hl-ink: #2c5670;          /* 見出し（知る＝藍） */
	--hl-ink-sub: #3e5563;      /* 本文 */
	--hl-blue: #3d6f8c;
	--hl-blue-pale: #eef4f8;
	--hl-blue-line: #cfe3ec;
	--hl-teal: #25808a;         /* 診断ボタンと同じ */
	--hl-hanbo: #2ec9bb;        /* ハンボーの体色（装飾のみ・文字には使わない） */
	--hl-yellow: #dcd52a;       /* センサー */
	--hl-beige: #fbf7ef;
	--hl-beige-line: #ece2cc;
	--hl-gold: #86661a;
	--hl-gold-pale: #faf5e6;
	--hl-pink: #9a4859;
	--hl-pink-pale: #fbeff1;
	--hl-green: #357553;
	--hl-green-pale: #ebf6ef;
	--hl-round: "Zen Maru Gothic", "Noto Sans JP", sans-serif;
}

/* ---------- SWELL 既存要素の調整（このページだけ） ---------- */
.c-pageTitle { display: none !important; }
#sidebar { display: none !important; }
.l-mainContent { width: 100% !important; max-width: none !important; }
.l-content { padding-top: 24px !important; }
.l-mainContent__inner > .post_content { margin-top: 0 !important; }
body { overflow-x: clip; }

/* SWELL の本文見出し装飾を打ち消す */
.post_content .hl h1,
.post_content .hl h2,
.post_content .hl h3 {
	background: none !important;
	border: 0 !important;
	box-shadow: none !important;
	border-radius: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
	color: var(--hl-ink) !important;
	font-family: var(--hl-round);
	font-weight: 700;
	letter-spacing: .04em;
	text-wrap: balance;
}
.post_content .hl h1::before, .post_content .hl h1::after,
.post_content .hl h2::before, .post_content .hl h2::after,
.post_content .hl h3::before, .post_content .hl h3::after { content: none !important; }
.post_content .hl p { margin: 0; }
.post_content .hl a { text-decoration: none; }
.post_content .hl img { display: block; height: auto; max-width: 100%; border-radius: 0; box-shadow: none; }

.hl { font-family: var(--hl-round); color: var(--hl-ink-sub); }
.hl-full { width: 100vw; margin-left: calc(50% - 50vw); box-sizing: border-box; }
.hl-wrap { max-width: 1040px; margin: 0 auto; box-sizing: border-box; }

/* 共通：セクション見出し */
.hl-head { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; margin-bottom: 40px; }
.hl-head__en { font-size: 13px; font-weight: 700; letter-spacing: .18em; color: var(--hl-blue); }
.post_content .hl .hl-head__title { font-size: 30px !important; line-height: 1.5; }
.hl-head__sub { font-size: 15px; line-height: 1.9; }

/* ==========================================================
   1. ヒーロー
   ========================================================== */
.hl-hero {
	position: relative;
	overflow: hidden;
	background: var(--hl-blue-pale);
	padding: 72px 24px 160px;
	text-align: center;
}
.hl-hero__inner { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.hl-hero__badge {
	display: inline-block; padding: 6px 16px; border-radius: 999px;
	background: #fff; color: var(--hl-ink); font-size: 13px; font-weight: 700; letter-spacing: .08em;
}
.post_content .hl .hl-hero__title { font-size: 52px !important; line-height: 1.3; font-weight: 900; }
.hl-hero__lead { font-size: 21px; font-weight: 700; line-height: 1.9; color: #2f4a5a; }
.hl-hero__text { font-size: 16px; font-weight: 500; line-height: 2.1; max-width: 640px; }
.hl-hero__hanbo { position: absolute; z-index: 0; pointer-events: none; }
.post_content .hl .hl-hero__hanbo--r { width: 200px; right: max(24px, calc(50% - 520px)); bottom: 22px; }
.hl-hero__dot { position: absolute; border-radius: 50%; }
.hl-hero__dot--1 { width: 14px; height: 14px; background: #87c9d4; left: 18%; top: 42%; }
.hl-hero__dot--2 { width: 18px; height: 18px; background: var(--hl-yellow); opacity: .65; right: 22%; top: 30%; }

/* ==========================================================
   2. ミッション（白いボードがヒーローに重なる）
   ========================================================== */
.hl-board {
	position: relative; z-index: 2;
	max-width: 1040px; margin: -48px auto 0;
	background: #fff; border-radius: 28px;
	padding: 56px 56px 60px;
	box-shadow: 0 10px 30px rgba(44, 86, 112, .08);
	box-sizing: border-box;
}
.hl-mission { max-width: 760px; margin: 0 auto; text-align: center; }
.hl-mission__body { display: flex; flex-direction: column; align-items: center; gap: 16px; min-width: 0; }
.hl-mission__en { font-size: 13px; font-weight: 700; letter-spacing: .18em; color: var(--hl-blue); }
.post_content .hl .hl-mission__title { font-size: 30px !important; line-height: 1.5; }
.hl-mission__text { font-size: 16px; line-height: 2.05; }
.hl-mission__text strong { color: var(--hl-ink); background: linear-gradient(transparent 62%, rgba(220, 213, 42, .45) 62%); }

.hl-places { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.hl-place { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 26px 20px 24px; border: 2px solid var(--hl-blue-line); border-radius: 20px; text-align: center; }
.hl-place__icon { width: 56px; height: 56px; border-radius: 50%; background: var(--hl-blue-pale); display: grid; place-items: center; color: var(--hl-blue); }
.hl-place__icon svg { width: 28px; height: 28px; }
.post_content .hl .hl-place__title { font-size: 18px !important; }
.hl-place__text { font-size: 14px; line-height: 1.85; }

.post_content .hl .hl-member { margin-top: 44px; }
.hl-member { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; font-size: 15px; font-weight: 700; color: var(--hl-ink); }
.post_content .hl .hl-member img { width: 46px; }
.post_content .hl .hl-link { color: var(--hl-blue); font-weight: 700; border-bottom: 2px solid var(--hl-blue-line); padding-bottom: 1px; }
.post_content .hl .hl-link:hover { border-color: var(--hl-blue); }

/* ==========================================================
   3. 4つの入り口
   ========================================================== */
.hl-gates { padding: 88px 24px 24px; }
.hl-gates__grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.hl-gates__grid::before {
	content: ""; position: absolute; left: 6%; right: 6%; top: 46px; border-top: 2px dashed var(--hl-blue-line); z-index: 0;
}
.post_content .hl .hl-gate {
	position: relative; z-index: 1;
	display: flex; flex-direction: column; gap: 12px;
	padding: 24px 22px 22px; border-radius: 22px;
	background: var(--g-pale); color: var(--g-ink);
	transition: transform .2s ease, box-shadow .2s ease;
}
.post_content .hl .hl-gate:hover { transform: translateY(-4px); box-shadow: 0 10px 22px rgba(44, 86, 112, .10); }
.hl-gate--shiru   { --g-ink: var(--hl-blue);  --g-pale: var(--hl-blue-pale); }
.hl-gate--ikasu   { --g-ink: var(--hl-gold);  --g-pale: var(--hl-gold-pale); }
.hl-gate--itawaru { --g-ink: var(--hl-pink);  --g-pale: var(--hl-pink-pale); }
.hl-gate--tips    { --g-ink: var(--hl-green); --g-pale: var(--hl-green-pale); }
.hl-gate__icon { width: 44px; height: 44px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.hl-gate__icon svg { width: 22px; height: 22px; }
.hl-gate__step { font-size: 12px; font-weight: 700; letter-spacing: .14em; }
.post_content .hl .hl-gate__title { font-size: 22px !important; color: var(--g-ink) !important; }
.hl-gate__text { font-size: 14px; line-height: 1.85; color: var(--hl-ink-sub); flex: 1; }
.hl-gate__more { align-self: flex-end; font-size: 14px; font-weight: 700; }

.hl-sublinks { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.post_content .hl .hl-pill {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 10px 20px; border-radius: 999px; border: 2px solid var(--hl-blue-line);
	background: #fff; color: var(--hl-ink); font-size: 14px; font-weight: 700;
}
.post_content .hl .hl-pill:hover { border-color: var(--hl-blue); }

/* ==========================================================
   4. ハンボーについて
   ========================================================== */
.hl-hanbo { background: var(--hl-beige); padding: 88px 24px 96px; margin-top: 88px; position: relative; }
.hl-hanbo::before {
	/* 上端のゆるい波 */
	content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 28px;
	background: radial-gradient(28px 20px at 50% 0, #fff 98%, transparent 100%) 0 0 / 56px 28px repeat-x;
}
.hl-hanbo .hl-head__en { color: var(--hl-gold); }

/* 4-1 自己紹介 */
.hl-intro { display: grid; grid-template-columns: 360px 1fr; gap: 48px; align-items: center; }
.hl-intro__visual { position: relative; padding-top: 56px; }
.post_content .hl .hl-intro__visual img { width: 300px; margin: 0 auto; }
.hl-bubble {
	position: absolute; top: 0; left: 0;
	background: #fff; border: 2px solid var(--hl-beige-line); border-radius: 18px;
	padding: 10px 16px; font-size: 15px; font-weight: 700; color: var(--hl-ink);
}
.hl-bubble::after { content: ""; position: absolute; left: 48px; bottom: -9px; width: 14px; height: 14px; background: #fff; border-right: 2px solid var(--hl-beige-line); border-bottom: 2px solid var(--hl-beige-line); transform: rotate(45deg); }
.hl-profile { background: #fff; border-radius: 24px; padding: 32px 36px; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.hl-profile__lead { font-size: 16px; line-height: 2; }
.hl-profile__list { display: grid; grid-template-columns: auto 1fr; gap: 12px 20px; margin: 0; padding: 18px 0 0; border-top: 2px dashed var(--hl-beige-line); }
.hl-profile__list dt { font-size: 13px; font-weight: 700; color: var(--hl-gold); letter-spacing: .08em; padding-top: 2px; }
.hl-profile__list dd { margin: 0; font-size: 15px; line-height: 1.8; color: var(--hl-ink); font-weight: 500; }

/* 共通：小見出し・結びの一文 */
.post_content .hl .hl-sub-title { font-size: 22px !important; text-align: center; margin-bottom: 28px !important; }
.post_content .hl .hl-origin__note { margin-top: 24px; }
.hl-origin__note { text-align: center; font-size: 14px; line-height: 1.9; }

/* 4-3 センサーと息抜き */
.hl-sensor { margin-top: 72px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.hl-card { background: #fff; border-radius: 24px; padding: 28px 24px; display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.post_content .hl .hl-card img { width: auto; max-width: 170px; height: 140px; object-fit: contain; }
.hl-card__body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.hl-card__label { font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--hl-gold); }
.post_content .hl .hl-card__title { font-size: 20px !important; }
.hl-card__text { font-size: 14px; line-height: 1.95; text-align: left; }

/* 4-4 表情いろいろ */
.hl-faces { margin-top: 72px; }
.hl-faces__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.hl-face { margin: 0; background: #fff; border-radius: 20px; padding: 18px 12px 14px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.post_content .hl .hl-face img { width: 100%; max-width: 120px; aspect-ratio: 1 / 1; object-fit: contain; transition: transform .25s ease; }
.hl-face:hover img { transform: translateY(-4px) rotate(-3deg); }
.hl-face figcaption { font-size: 13px; font-weight: 700; color: var(--hl-ink); }

/* ==========================================================
   5. はじめての方へ
   ========================================================== */
.hl-start { padding: 88px 24px 24px; }
.hl-start__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.hl-cta { border-radius: 24px; padding: 32px 34px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.hl-cta--test { background: var(--hl-blue-pale); }
.hl-cta--list { background: var(--hl-beige); }
.hl-cta__label { font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--hl-blue); }
.post_content .hl .hl-cta__title { font-size: 22px !important; }
.hl-cta__text { font-size: 14px; line-height: 1.9; }
.hl-cta__meta { display: flex; gap: 8px; flex-wrap: wrap; }
.hl-cta__meta span { font-size: 12px; font-weight: 700; color: var(--hl-ink); background: #fff; border-radius: 999px; padding: 4px 12px; }
.post_content .hl .hl-btn {
	margin-top: 6px; display: inline-flex; align-items: center; gap: 8px;
	padding: 14px 28px; border-radius: 999px; font-size: 15px; font-weight: 700;
	background: var(--hl-teal); color: #fff; box-shadow: 0 4px 0 #1b5e66;
	transition: transform .15s ease, box-shadow .15s ease;
}
.post_content .hl .hl-btn:hover { transform: translateY(2px); box-shadow: 0 2px 0 #1b5e66; }
.post_content .hl .hl-btn--ghost { background: #fff; color: var(--hl-ink); box-shadow: 0 4px 0 var(--hl-beige-line); }
.post_content .hl .hl-btn--ghost:hover { box-shadow: 0 2px 0 var(--hl-beige-line); }

/* ==========================================================
   6. 注記
   ========================================================== */
.hl-note { padding: 48px 24px 32px; }
.hl-note__box { border: 2px solid var(--hl-blue-line); border-radius: 20px; padding: 24px 28px; display: flex; flex-direction: column; gap: 12px; font-size: 13px; line-height: 1.95; }
.hl-note__box strong { color: var(--hl-ink); }
.post_content .hl .hl-company { margin-top: 20px; }
.hl-company { text-align: center; font-size: 13px; color: var(--hl-ink-sub); }

/* キーボード操作 */
.post_content .hl a:focus-visible { outline: 3px solid var(--hl-yellow); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
	.hl *, .hl *::before { transition: none !important; }
}

/* ==========================================================
   タブレット・スマホ
   ========================================================== */
@media (max-width: 1000px) {
	.hl-gates__grid { grid-template-columns: repeat(2, 1fr); }
	.hl-gates__grid::before { display: none; }
	.hl-faces__grid { grid-template-columns: repeat(3, 1fr); }
	.hl-sensor { grid-template-columns: 1fr; gap: 14px; }
	.hl-card { flex-direction: row; align-items: center; text-align: left; padding: 20px 24px; gap: 20px; }
	.post_content .hl .hl-card img { flex: 0 0 120px; width: 120px; height: 110px; }
}

@media (max-width: 820px) {
	.l-content { padding-top: 16px !important; }
	.hl-hero { padding: 40px 20px 150px; }
	.post_content .hl .hl-hero__title { font-size: 36px !important; }
	.hl-hero__dot--1 { left: 6%; top: 18%; }
	.hl-hero__dot--2 { right: 8%; top: 12%; width: 12px; height: 12px; }
	.hl-hero__lead { font-size: 17px; }
	.hl-hero__text { font-size: 14px; line-height: 2; text-align: left; }
	.hl-hero__text br, .hl .hl-pc { display: none; }
	.post_content .hl .hl-hero__hanbo--r { width: 120px; right: 16px; bottom: 14px; }

	.hl-board { margin: -48px 0 0; border-radius: 22px; padding: 36px 20px 40px; }
	.hl-mission { text-align: left; }
	.hl-mission__body { align-items: flex-start; }
	.post_content .hl .hl-mission__title,
	.post_content .hl .hl-head__title { font-size: 23px !important; }
	.hl-mission__text { font-size: 15px; }
	.hl-places { grid-template-columns: 1fr; gap: 12px; margin-top: 32px; }
	.hl-place { flex-direction: row; text-align: left; padding: 18px; gap: 16px; }
	.hl-place__icon { flex: 0 0 48px; width: 48px; height: 48px; }
	.hl-place > div { display: flex; flex-direction: column; gap: 4px; }

	.hl-gates { padding: 64px 0 16px; }
	.hl-gates__grid { gap: 12px; }
	.post_content .hl .hl-gate { padding: 18px 16px; gap: 8px; }
	.post_content .hl .hl-gate__title { font-size: 18px !important; }
	.hl-gate__text { font-size: 13px; }

	.hl-hanbo { padding: 64px 16px 72px; margin-top: 64px; }
	.hl-intro { grid-template-columns: 1fr; gap: 24px; }
	.post_content .hl .hl-intro__visual img { width: 220px; }
	.hl-intro__visual { padding-top: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
	.hl-bubble { position: relative; top: auto; left: auto; }
	.hl-bubble::after { left: 50%; margin-left: -7px; }
	.hl-profile { padding: 24px 20px; }
	.hl-sensor, .hl-faces { margin-top: 56px; }
	.hl-faces__grid { gap: 10px; }
	.hl-card { padding: 18px; gap: 14px; }
	.post_content .hl .hl-card img { flex-basis: 88px; width: 88px; height: 88px; }

	.hl-start { padding: 64px 0 16px; }
	.hl-start__grid { grid-template-columns: 1fr; gap: 16px; }
	.hl-cta { padding: 26px 22px; }
	.hl-note { padding: 40px 0 24px; }
}

@media (max-width: 480px) {
	.hl-gates__grid { grid-template-columns: 1fr; }
	.hl-faces__grid { grid-template-columns: repeat(2, 1fr); }
}
