/* =========================================================
   Blanc Noeria - Main Stylesheet
   目次
   1. Reset / Base
   2. CSS変数
   3. レイアウト共通 (container, section, grid)
   4. タイポグラフィ共通
   5. ボタン
   6. ヘッダー / ナビゲーション
   7. フッター
   8. ヒーロー / ページヒーロー
   9. パンくず
   10. カード共通 (service / industry / work / news)
   11. 課題提起リスト
   12. 制作の流れ
   13. CTA
   14. ニュース詳細 / 汎用ページ本文
   15. ユーティリティ
   16. 本文用テーブル (table-scroll / table-basic)
   17. 本文用リスト (list-*)
   18. 本文用 dl レイアウト (definition-list)
   19. 本文用汎用パーツ (box / note / lead / marker / badge 他)
   20. レスポンシブ
   ========================================================= */

/* 1. Reset / Base
   ========================================================= */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	color: var(--color-text);
	background-color: var(--color-bg);
	line-height: 1.8;
	font-size: 16px;
	-webkit-font-smoothing: antialiased;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

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

ul,
ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

h1, h2, h3, h4, h5, h6 {
	margin: 0;
	line-height: 1.5;
}

p {
	margin: 0;
}

button {
	font-family: inherit;
	cursor: pointer;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

/* 2. CSS変数
   ========================================================= */
:root {
	--color-primary: #8fd8f8;
	--color-primary-dark: #2f8fb8;
	--color-navy: #102a43;
	--color-text: #1f2933;
	--color-bg: #ffffff;
	--color-bg-soft: #f3f9fc;
	--color-border: #d8eaf2;
	--color-gray: #6b7280;
	--color-white: #ffffff;

	--radius-sm: 6px;
	--radius-md: 12px;
	--radius-lg: 20px;

	--shadow-sm: 0 2px 8px rgba(16, 42, 67, 0.06);
	--shadow-md: 0 6px 20px rgba(16, 42, 67, 0.08);

	--container-width: 1120px;
	--container-padding: 24px;

	--space-sm: 16px;
	--space-md: 32px;
	--space-lg: 64px;
	--space-xl: 96px;

	--transition-base: 0.2s ease;
}

/* 3. レイアウト共通
   ========================================================= */
.container {
	width: 100%;
	max-width: var(--container-width);
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--container-padding);
	padding-right: var(--container-padding);
}

.container--narrow {
	max-width: 840px;
}

.section {
	padding-top: var(--space-lg);
	padding-bottom: var(--space-lg);
}

.section-bg-soft {
	background-color: var(--color-bg-soft);
}

.section-head {
	margin-bottom: var(--space-md);
}

.section-label {
	display: inline-block;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.12em;
	color: var(--color-primary-dark);
	margin-bottom: 8px;
}

.section-title {
	font-size: clamp(22px, 3vw, 32px);
	font-weight: 700;
	color: var(--color-navy);
	margin-bottom: 12px;
}

.section-text {
	color: var(--color-gray);
	font-size: 15px;
}

.grid {
	display: grid;
	gap: var(--space-sm);
}

.card-grid {
	display: grid;
	gap: 24px;
	grid-template-columns: repeat(2, 1fr);
}

.card-grid--3 {
	grid-template-columns: repeat(3, 1fr);
}

.card-grid--4 {
	grid-template-columns: repeat(4, 1fr);
}

/* 4. タイポグラフィ共通（固定ページ本文） */
.entry-content h2 {
	font-size: 24px;
	color: var(--color-navy);
	margin-top: var(--space-md);
	margin-bottom: 16px;
	padding-bottom: 8px;
	border-bottom: 2px solid var(--color-border);
}

.entry-content h3 {
	font-size: 19px;
	color: var(--color-navy);
	margin-top: var(--space-md);
	margin-bottom: 12px;
}

.entry-content p {
	margin-bottom: 1.4em;
}

.entry-content ul,
.entry-content ol {
	margin: 0 0 1.4em;
	padding-left: 1.4em;
}

.entry-content ul {
	list-style: disc;
}

.entry-content ol {
	list-style: decimal;
}

.entry-content li {
	margin-bottom: 0.5em;
}

.entry-content img {
	border-radius: var(--radius-md);
	margin: 1.4em 0;
}

.entry-content table {
	width: 100%;
	border-collapse: collapse;
	margin: 1.4em 0;
	font-size: 15px;
}

.entry-content table th,
.entry-content table td {
	border: 1px solid var(--color-border);
	padding: 12px 16px;
	text-align: left;
}

.entry-content table th {
	background-color: var(--color-bg-soft);
	color: var(--color-navy);
}

.entry-content blockquote {
	margin: 1.4em 0;
	padding: 16px 24px;
	background-color: var(--color-bg-soft);
	border-left: 4px solid var(--color-primary);
	border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
	color: var(--color-gray);
}

.entry-content a {
	color: var(--color-primary-dark);
	text-decoration: underline;
}

.page-links {
	margin-top: var(--space-md);
	font-size: 14px;
	color: var(--color-gray);
}

/* 5. ボタン
   ========================================================= */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 28px;
	border-radius: 999px;
	font-weight: 700;
	font-size: 15px;
	border: 2px solid transparent;
	transition: background-color var(--transition-base), color var(--transition-base), border-color var(--transition-base), transform var(--transition-base);
	min-height: 48px;
	line-height: 1.2;
}

.btn:hover {
	transform: translateY(-2px);
}

.btn-primary {
	background-color: var(--color-primary-dark);
	color: var(--color-white);
}

.btn-primary:hover {
	background-color: var(--color-navy);
	color: var(--color-white);
}

.btn-secondary {
	background-color: var(--color-white);
	color: var(--color-primary-dark);
	border-color: var(--color-primary-dark);
}

.btn-secondary:hover {
	background-color: var(--color-bg-soft);
}

.btn-large {
	padding: 16px 36px;
	font-size: 16px;
}

.btn-small {
	padding: 10px 20px;
	font-size: 13px;
	min-height: 40px;
}

/* 6. ヘッダー / ナビゲーション
   ========================================================= */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background-color: rgba(255, 255, 255, 0.96);
	backdrop-filter: blur(6px);
	border-bottom: 1px solid var(--color-border);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding-top: 12px;
	padding-bottom: 12px;
}

.site-header__brand {
	flex-shrink: 0;
}

.site-header__logo img {
	max-height: 48px;
	width: auto;
}

.site-header__site-title {
	font-size: 18px;
	font-weight: 700;
	color: var(--color-navy);
}

.site-header__cta {
	flex-shrink: 0;
}

.global-nav {
	flex-grow: 1;
	display: flex;
	justify-content: center;
}

.global-nav__toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 5px;
	width: 44px;
	height: 44px;
	background: none;
	border: none;
	border-radius: var(--radius-sm);
}

.global-nav__toggle-bar {
	display: block;
	width: 24px;
	height: 2px;
	background-color: var(--color-navy);
	transition: transform var(--transition-base), opacity var(--transition-base);
}

.global-nav__toggle[aria-expanded="true"] .global-nav__toggle-bar:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.global-nav__toggle[aria-expanded="true"] .global-nav__toggle-bar:nth-child(2) {
	opacity: 0;
}

.global-nav__toggle[aria-expanded="true"] .global-nav__toggle-bar:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

.global-nav__menu {
	display: flex;
	align-items: center;
}

.global-nav__list {
	display: flex;
	align-items: center;
	gap: 4px;
}

.global-nav__item {
	position: relative;
}

.global-nav__link {
	display: block;
	padding: 10px 14px;
	font-size: 14px;
	font-weight: 600;
	color: var(--color-navy);
	border-radius: var(--radius-sm);
	transition: color var(--transition-base), background-color var(--transition-base);
}

.global-nav__link:hover {
	color: var(--color-primary-dark);
	background-color: var(--color-bg-soft);
}

.global-nav__submenu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 200px;
	background-color: var(--color-white);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-sm);
	box-shadow: var(--shadow-md);
	padding: 8px;
}

.global-nav__item--has-children:hover .global-nav__submenu {
	display: block;
}

.global-nav__menu-cta {
	display: none;
}

/* 7. フッター
   ========================================================= */
.site-footer {
	background-color: var(--color-navy);
	color: rgba(255, 255, 255, 0.85);
}

.site-footer__top {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr;
	gap: var(--space-md);
	padding-top: var(--space-lg);
	padding-bottom: var(--space-md);
}

.site-footer__logo img {
	max-height: 40px;
	width: auto;
}

.site-footer__site-title {
	font-size: 18px;
	font-weight: 700;
	color: var(--color-white);
}

.site-footer__desc {
	margin-top: 12px;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.65);
}

.site-footer__list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.site-footer__list a {
	font-size: 14px;
	color: rgba(255, 255, 255, 0.8);
}

.site-footer__list a:hover {
	color: var(--color-primary);
}

.footer-widget__title {
	font-size: 14px;
	color: var(--color-white);
	margin-bottom: 8px;
}

.site-footer__cta {
	background-color: rgba(255, 255, 255, 0.06);
	padding: var(--space-md) 0;
	text-align: center;
}

.site-footer__cta-text {
	margin-bottom: 16px;
	font-size: 15px;
}

.site-footer__cta-buttons {
	display: flex;
	justify-content: center;
	gap: 16px;
	flex-wrap: wrap;
}

.site-footer__cta .btn-secondary {
	background-color: transparent;
	color: var(--color-white);
	border-color: rgba(255, 255, 255, 0.4);
}

.site-footer__cta .btn-secondary:hover {
	background-color: rgba(255, 255, 255, 0.1);
}

.site-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding: 20px 0;
}

.site-footer__copyright {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.5);
	text-align: center;
}

/* 8. ヒーロー / ページヒーロー
   ========================================================= */
.hero {
	position: relative;
	overflow: hidden;
	padding-top: var(--space-xl);
	padding-bottom: var(--space-xl);
	background-color: var(--color-bg-soft);
}

.hero__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.hero__bg-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero__inner {
	position: relative;
	z-index: 1;
	max-width: 760px;
}

.hero__title {
	font-size: clamp(28px, 4vw, 44px);
	font-weight: 700;
	color: var(--color-navy);
	margin-bottom: 24px;
}

.hero__lead {
	font-size: 16px;
	color: var(--color-gray);
	margin-bottom: 32px;
}

.hero__buttons {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
}

.page-hero {
	background-color: var(--color-bg-soft);
	padding-top: var(--space-md);
	padding-bottom: var(--space-md);
	text-align: center;
}

.page-title {
	font-size: clamp(24px, 3vw, 34px);
	font-weight: 700;
	color: var(--color-navy);
}

.page-hero__lead {
	margin-top: 12px;
	color: var(--color-gray);
	font-size: 15px;
}

/* 9. パンくず
   ========================================================= */
.breadcrumb-wrap {
	border-bottom: 1px solid var(--color-border);
}

.breadcrumb__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	padding: 14px 0;
	font-size: 12px;
	color: var(--color-gray);
}

.breadcrumb__item:not(:last-child)::after {
	content: "/";
	margin-left: 6px;
	color: var(--color-border);
}

.breadcrumb__item a {
	color: var(--color-primary-dark);
}

/* 10. カード共通
   ========================================================= */
.card {
	background-color: var(--color-white);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	padding: 28px;
	box-shadow: var(--shadow-sm);
	transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.card:hover {
	box-shadow: var(--shadow-md);
	transform: translateY(-2px);
}

.card-icon {
	width: 48px;
	height: 48px;
	margin-bottom: 16px;
}

.card-title {
	font-size: 17px;
	font-weight: 700;
	color: var(--color-navy);
	margin-bottom: 8px;
}

.card-text {
	font-size: 14px;
	color: var(--color-gray);
}

/* サービス／業種カード */
.service-card,
.industry-card,
.reason-card {
	display: flex;
	flex-direction: column;
}

.industry-card {
	background-color: var(--color-bg-soft);
	border-color: var(--color-border);
}

/* ニュースカード */
.news-card {
	background-color: var(--color-white);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
	transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.news-card:hover {
	box-shadow: var(--shadow-md);
	transform: translateY(-2px);
}

.news-card__link {
	display: block;
}

.news-card__thumb {
	aspect-ratio: 3 / 2;
	overflow: hidden;
	background-color: var(--color-bg-soft);
}

.news-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.news-card__body {
	padding: 20px;
}

.news-card__date {
	font-size: 12px;
	color: var(--color-gray);
	margin-bottom: 8px;
}

.news-card__title {
	font-size: 16px;
	font-weight: 700;
	color: var(--color-navy);
	margin-bottom: 8px;
}

.news-card__excerpt {
	font-size: 13px;
	color: var(--color-gray);
}

/* 制作実績カード */
.work-card {
	padding: 0;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.work-card__thumb {
	position: relative;
	aspect-ratio: 3 / 2;
	background-color: var(--color-bg-soft);
	overflow: hidden;
}

.work-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.work-card__badge {
	position: absolute;
	top: 12px;
	right: 12px;
	background-color: rgba(16, 42, 67, 0.85);
	color: var(--color-white);
	font-size: 11px;
	font-weight: 700;
	padding: 6px 12px;
	border-radius: 999px;
}

.work-card__body {
	padding: 24px;
	flex-grow: 1;
	display: flex;
	flex-direction: column;
}

.work-card__meta {
	margin-bottom: 12px;
}

.work-card__meta-row {
	display: flex;
	gap: 12px;
	font-size: 13px;
	padding: 6px 0;
	border-bottom: 1px dashed var(--color-border);
}

.work-card__meta-row dt {
	flex-shrink: 0;
	width: 72px;
	color: var(--color-gray);
	font-weight: 700;
}

.work-card__meta-row dd {
	margin: 0;
	color: var(--color-text);
}

.work-card__summary {
	margin-bottom: 16px;
}

.work-card__private-label {
	display: inline-block;
	font-size: 13px;
	color: var(--color-gray);
	padding: 10px 0;
}

/* 11. 課題提起リスト
   ========================================================= */
.problem-list {
	grid-template-columns: repeat(2, 1fr);
}

.problem-item {
	display: flex;
	align-items: center;
	gap: 12px;
	background-color: var(--color-bg-soft);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	padding: 18px 20px;
	font-size: 15px;
	color: var(--color-navy);
	font-weight: 600;
}

.problem-item__icon {
	flex-shrink: 0;
	width: 28px;
	height: 28px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background-color: var(--color-primary);
	color: var(--color-white);
	border-radius: 50%;
	font-size: 14px;
}

/* 12. 制作の流れ
   ========================================================= */
.flow-list {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.flow-item {
	display: flex;
	gap: 24px;
	align-items: flex-start;
	background-color: var(--color-white);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	padding: 24px;
}

.flow-item__step {
	flex-shrink: 0;
	font-size: 26px;
	font-weight: 700;
	color: var(--color-primary-dark);
	width: 56px;
}

.flow-item__title {
	font-size: 17px;
	font-weight: 700;
	color: var(--color-navy);
	margin-bottom: 6px;
}

.flow-item__text {
	font-size: 14px;
	color: var(--color-gray);
}

/* 13. CTA
   ========================================================= */
.cta {
	background: linear-gradient(135deg, var(--color-bg-soft) 0%, var(--color-white) 100%);
	border-top: 1px solid var(--color-border);
	border-bottom: 1px solid var(--color-border);
	text-align: center;
}

.cta__title {
	font-size: clamp(22px, 3vw, 30px);
	font-weight: 700;
	color: var(--color-navy);
	margin-bottom: 12px;
}

.cta__text {
	font-size: 15px;
	color: var(--color-gray);
	margin-bottom: 28px;
	max-width: 560px;
	margin-left: auto;
	margin-right: auto;
}

.cta__buttons {
	display: flex;
	justify-content: center;
	gap: 16px;
	flex-wrap: wrap;
}

/* 14. ニュース詳細
   ========================================================= */
.single-news__date {
	font-size: 13px;
	color: var(--color-gray);
	margin-bottom: 8px;
}

.single-news__title {
	font-size: clamp(22px, 3vw, 30px);
	font-weight: 700;
	color: var(--color-navy);
	margin-bottom: 12px;
}

.single-news__cats {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	margin-bottom: 24px;
}

.tag {
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	padding: 6px 14px;
	border-radius: 999px;
	background-color: var(--color-primary-dark);
	color: var(--color-white);
}

.tag--outline {
	background-color: transparent;
	border: 1px solid var(--color-border);
	color: var(--color-gray);
	font-weight: 400;
}

.single-news__thumb {
	margin-bottom: var(--space-md);
	border-radius: var(--radius-md);
	overflow: hidden;
}

.single-news__img {
	width: 100%;
}

.single-news__tags {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	margin-top: var(--space-md);
}

.single-news__pager {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	margin-top: var(--space-md);
	padding-top: var(--space-md);
	border-top: 1px solid var(--color-border);
	font-size: 14px;
}

.single-news__pager a {
	color: var(--color-primary-dark);
}

.pagination {
	display: flex;
	justify-content: center;
	gap: 8px;
}

.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border-radius: var(--radius-sm);
	border: 1px solid var(--color-border);
	font-size: 14px;
	color: var(--color-navy);
}

.pagination .page-numbers.current {
	background-color: var(--color-primary-dark);
	color: var(--color-white);
	border-color: var(--color-primary-dark);
}

/* 検索フォーム */
.search-form {
	display: flex;
	gap: 8px;
	justify-content: center;
}

.search-form__input {
	padding: 12px 16px;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-sm);
	font-size: 14px;
	min-width: 240px;
}

.search-form__submit {
	padding: 12px 20px;
	background-color: var(--color-primary-dark);
	color: var(--color-white);
	border: none;
	border-radius: var(--radius-sm);
	font-weight: 700;
}

/* 15. ユーティリティ
   ========================================================= */
.u-text-center {
	text-align: center;
}

.u-text-left {
	text-align: left;
}

.u-text-right {
	text-align: right;
}

.u-mt-0 {
	margin-top: 0;
}

.u-mt-sm {
	margin-top: 16px;
}

.u-mt-md {
	margin-top: 32px;
}

.u-mt-lg {
	margin-top: 48px;
}

.u-mb-0 {
	margin-bottom: 0;
}

.u-mb-sm {
	margin-bottom: 16px;
}

.u-mb-md {
	margin-bottom: 32px;
}

.u-mb-lg {
	margin-bottom: 48px;
}

.u-only-sp {
	display: none;
}

/* 16. 本文用テーブル (table-scroll / table-basic)
   固定ページ・投稿本文でも使い回せる、横スクロール対応テーブル
   使用イメージ:
   <div class="table-scroll">
     <table class="table-basic">...</table>
   </div>
   ========================================================= */
.table-scroll {
	width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	margin: 1.4em 0;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
}

.table-basic {
	width: 100%;
	min-width: 560px;
	border-collapse: collapse;
	font-size: 15px;
	background-color: var(--color-white);
}

.table-basic th,
.table-basic td {
	padding: 14px 20px;
	border-bottom: 1px solid var(--color-border);
	text-align: left;
	vertical-align: top;
}

.table-basic thead th {
	background-color: var(--color-bg-soft);
	color: var(--color-navy);
	font-weight: 700;
	white-space: nowrap;
}

.table-basic tbody tr:last-child th,
.table-basic tbody tr:last-child td {
	border-bottom: none;
}

.table-basic tbody tr:nth-child(even) {
	background-color: var(--color-bg-soft);
}

/* WordPress本文内の通常tableにも最低限のスタイルを付与 */
.entry-content table:not(.table-basic) {
	width: 100%;
	min-width: 480px;
}

/* 17. 本文用リスト (list-*)
   ul / ol に直接classを付けて使用
   ========================================================= */
.list {
	margin: 1.2em 0;
	padding-left: 1.4em;
}

.list-disc {
	margin: 1.2em 0;
	padding-left: 1.4em;
	list-style: disc;
}

.list-disc li {
	margin-bottom: 0.5em;
}

.list-number {
	margin: 1.2em 0;
	padding-left: 1.4em;
	list-style: decimal;
}

.list-number li {
	margin-bottom: 0.5em;
}

.list-check {
	margin: 1.2em 0;
	padding-left: 0;
}

.list-check li {
	position: relative;
	padding-left: 28px;
	margin-bottom: 0.6em;
}

.list-check li::before {
	content: "✓";
	position: absolute;
	left: 0;
	top: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background-color: var(--color-primary);
	color: var(--color-white);
	font-size: 12px;
	line-height: 20px;
}

.list-note {
	margin: 1em 0;
	padding-left: 1.2em;
	font-size: 13px;
	color: var(--color-gray);
}

.list-note li {
	margin-bottom: 0.4em;
	list-style: disc;
}

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

.list-none li {
	margin-bottom: 0;
}

/* 18. 本文用 dl レイアウト (definition-list)
   会社概要、制作実績、対応範囲などに使用
   使用イメージ:
   <dl class="definition-list">
     <div class="definition-list__item">
       <dt class="definition-list__term">会社名</dt>
       <dd class="definition-list__desc">株式会社ブラン・ノエリア</dd>
     </div>
   </dl>
   ========================================================= */
.definition-list {
	margin: 1.4em 0;
	border-top: 1px solid var(--color-border);
}

.definition-list__item {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
	padding: 16px 0;
	border-bottom: 1px solid var(--color-border);
}

.definition-list__term {
	flex: 0 0 160px;
	width: 160px;
	margin: 0;
	font-weight: 700;
	color: var(--color-navy);
}

.definition-list__desc {
	flex: 1 1 320px;
	margin: 0;
	color: var(--color-text);
}

/* class指定がない dl / dt / dd でも最低限の見た目を整える */
dl:not(.definition-list) {
	margin: 1.4em 0;
	border-top: 1px solid var(--color-border);
}

dl:not(.definition-list) dt {
	margin-top: 16px;
	font-weight: 700;
	color: var(--color-navy);
}

dl:not(.definition-list) dd {
	margin: 4px 0 16px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--color-border);
	color: var(--color-text);
}

/* 19. 本文用汎用パーツ (box / note / lead / marker / badge 他)
   ========================================================= */
.box {
	margin: 1.4em 0;
	padding: 24px;
	border-radius: var(--radius-md);
	background-color: var(--color-white);
}

.box-soft {
	margin: 1.4em 0;
	padding: 24px;
	border-radius: var(--radius-md);
	background-color: var(--color-bg-soft);
}

.box-border {
	margin: 1.4em 0;
	padding: 24px;
	border-radius: var(--radius-md);
	background-color: var(--color-white);
	border: 1px solid var(--color-border);
}

.note {
	margin: 1.2em 0;
	padding: 14px 20px;
	border-left: 4px solid var(--color-primary);
	background-color: var(--color-bg-soft);
	border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
	font-size: 13px;
	color: var(--color-gray);
}

.lead {
	font-size: 18px;
	line-height: 1.9;
	color: var(--color-navy);
	margin-bottom: 1.4em;
}

.text-small {
	font-size: 13px;
}

.text-muted {
	color: var(--color-gray);
}

.marker {
	background: linear-gradient(transparent 60%, var(--color-primary) 60%);
	font-weight: 700;
}

.badge {
	display: inline-flex;
	align-items: center;
	padding: 4px 12px;
	border-radius: 999px;
	background-color: var(--color-primary-dark);
	color: var(--color-white);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.6;
}

.label {
	display: inline-flex;
	align-items: center;
	padding: 4px 12px;
	border-radius: var(--radius-sm);
	background-color: var(--color-bg-soft);
	border: 1px solid var(--color-border);
	color: var(--color-navy);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.6;
}

.inline-link {
	color: var(--color-primary-dark);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.inline-link:hover {
	color: var(--color-navy);
}

/* 20. レスポンシブ
   ========================================================= */

/* タブレット以下: 1023px以下 */
@media (max-width: 1023px) {
	.card-grid--4 {
		grid-template-columns: repeat(3, 1fr);
	}

	.site-footer__top {
		grid-template-columns: 1fr 1fr;
	}
}

/* スマートフォン: 767px以下 */
@media (max-width: 767px) {
	:root {
		--space-lg: 48px;
		--space-xl: 64px;
	}

	.u-only-sp {
		display: inline;
	}

	.card-grid,
	.card-grid--3,
	.card-grid--4 {
		grid-template-columns: 1fr;
	}

	.problem-list {
		grid-template-columns: 1fr;
	}

	.global-nav__toggle {
		display: flex;
	}

	.global-nav {
		justify-content: flex-end;
	}

	.global-nav__menu {
		position: fixed;
		top: 0;
		right: 0;
		height: 100vh;
		width: 84%;
		max-width: 320px;
		background-color: var(--color-white);
		flex-direction: column;
		align-items: flex-start;
		padding: 90px 24px 24px;
		transform: translateX(100%);
		transition: transform 0.25s ease;
		overflow-y: auto;
		box-shadow: var(--shadow-md);
	}

	.global-nav__menu.is-open {
		transform: translateX(0);
	}

	.global-nav__list {
		flex-direction: column;
		align-items: stretch;
		width: 100%;
		gap: 0;
	}

	.global-nav__item {
		width: 100%;
		border-bottom: 1px solid var(--color-border);
	}

	.global-nav__link {
		padding: 16px 4px;
	}

	.global-nav__submenu {
		position: static;
		border: none;
		box-shadow: none;
		padding-left: 12px;
		display: none;
	}

	.global-nav__item--has-children.is-submenu-open .global-nav__submenu {
		display: block;
	}

	.global-nav__menu-cta {
		display: flex;
		flex-direction: column;
		gap: 12px;
		width: 100%;
		margin-top: 24px;
	}

	.site-header__cta {
		display: none;
	}

	.site-footer__top {
		grid-template-columns: 1fr;
		gap: var(--space-md);
	}

	.hero__buttons,
	.cta__buttons,
	.site-footer__cta-buttons {
		flex-direction: column;
		align-items: stretch;
	}

	.flow-item {
		flex-direction: column;
		gap: 8px;
	}

	.flow-item__step {
		width: auto;
	}

	.single-news__pager {
		flex-direction: column;
	}

	.search-form {
		flex-direction: column;
	}

	.search-form__input {
		min-width: 0;
	}

	.definition-list__item {
		flex-direction: column;
		gap: 4px;
	}

	.definition-list__term {
		width: 100%;
		flex-basis: auto;
	}
}

/* 大画面: 1280px以上 */
@media (min-width: 1280px) {
	:root {
		--container-width: 1200px;
	}
}
