/* アラヤのオウンドメディアの見た目（このファイル 1 枚で完結。2026-10-29 作り直し）
 * アラヤ公式サイト（araya.org）に合わせる: 黒地にネットワーク図、細い字の見出し、差し色はオレンジのかぎ括弧
 * カテゴリごとにアラヤの 4 色（オレンジ・シアン・グリーン・ブルー）を割り当てる
 * 横幅はすべて .container（ヘッダーと同じ 1200px）に揃える。ページごとに幅を変えない
 */
:root {
  --ink: #080a10;                      /* 黒い面 */
  --ink-line: rgba(255, 255, 255, .14);
  --ink-sub: rgba(255, 255, 255, .74);
  --paper: #ffffff;
  --paper-2: #f3f5f8;
  --text: #11141b;
  --text-sub: #545c6b;
  --line: #e2e6ec;
  --link: #1f56c8;                     /* 白地の文字リンク（コントラスト 6:1） */
  --link-dark: #8cbcff;                /* 黒地の文字リンク */
  --orange: #f6a700; --cyan: #00a8e7; --green: #92db43; --blue: #5f96f7;
  --wrap: 1200px;                      /* 全ページ共通の横幅（ヘッダーと同じ） */
  --gutter: 32px;
  --measure: 760px;                    /* 記事本文 1 行の最大幅 */
  --font: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  --font-en: "Roboto", "Noto Sans JP", sans-serif;
}

/* ---------- 基本 ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--paper); color: var(--text); font-size: 16px; line-height: 1.8; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: var(--link); text-underline-offset: 3px; }
.container { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.ext::after { content: " ↗"; font-size: .8em; } /* ①-24 外部リンク */
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #fff; color: var(--text); padding: 8px 16px; }
.skip:focus { left: 16px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.ic { vertical-align: -3px; flex-shrink: 0; }
.m-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* 黒い面（ヒーロー・ページ見出し・相談・フッター）。背景はアラヤ公式サイトと同じネットワーク図 */
.is-dark { background: var(--ink) url(/assets/img/common/network.svg) center / cover no-repeat; color: #fff; }
.is-dark a:not(.btn) { color: var(--link-dark); }

/* カテゴリの色 */
.c-physical-ai { --cat: var(--orange); }
.c-generative-ai { --cat: var(--cyan); }
.c-ai-ready-data { --cat: var(--green); }
.c-neurotech { --cat: var(--blue); }
.m-cat { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 500; letter-spacing: .06em; color: var(--text-sub); text-decoration: none; line-height: 1.4; }
.m-cat::before { content: ""; width: 8px; height: 8px; background: var(--cat, var(--orange)); flex: none; }
.is-dark .m-cat, .is-dark a.m-cat { color: var(--ink-sub); }

/* 英字の小見出し */
.m-eyebrow { display: flex; align-items: center; gap: 12px; font-family: var(--font-en); font-size: 12px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--text-sub); }
.m-eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--orange); }
.is-dark .m-eyebrow { color: var(--ink-sub); }

/* ボタン */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 32px; font: inherit; font-size: 15px; font-weight: 700; letter-spacing: .06em; text-decoration: none; text-align: center; border: 1px solid transparent; border-radius: 2px; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn-primary { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.btn-primary:hover { background: #ffbe33; border-color: #ffbe33; }
.btn-outline { background: transparent; border-color: currentColor; color: var(--text); }
.btn-outline:hover { background: var(--text); color: #fff; }
.is-dark .btn-outline { color: #fff; }
.is-dark .btn-outline:hover { background: #fff; color: var(--ink); }
.btn-sm { min-height: 40px; padding: 8px 18px; font-size: 13px; }
.btn-lg { min-height: 56px; padding: 16px 40px; font-size: 16px; }
.beginner { display: inline-block; width: 14px; height: 18px; margin-right: 8px; vertical-align: -3px; } /* ⑤-1 初心者（若葉）マーク */

/* ---------- ヘッダー ---------- */
.m-header { position: sticky; top: 0; z-index: 50; background: rgba(8, 10, 16, .94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid var(--ink-line); color: #fff; }
.header-inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font-family: var(--font-en); font-size: 15px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; white-space: nowrap; }
.logo__mark { width: 38px; height: 28px; flex: none; }
.m-header nav { margin-left: auto; }
.m-header nav ul { display: flex; align-items: center; gap: 28px; list-style: none; }
.m-header nav a:not(.btn) { white-space: nowrap; color: rgba(255, 255, 255, .86); text-decoration: none; font-size: 14px; font-weight: 500; letter-spacing: .04em; padding: 8px 0; }
.m-header nav a:not(.btn):hover { color: #fff; }
.m-header nav a[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px var(--orange); }
.m-menu-btn { display: none; margin-left: auto; align-items: center; gap: 6px; min-height: 44px; padding: 8px 12px; font: inherit; font-size: 13px; color: #fff; background: none; border: 1px solid var(--ink-line); border-radius: 2px; cursor: pointer; }

/* ---------- ページ上部の黒帯 ---------- */
.m-crumb { padding-top: 20px; font-size: 12px; }
.m-crumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 10px; color: var(--ink-sub); }
.m-crumb li + li::before { content: "/"; margin-right: 10px; opacity: .5; }
.m-pagehead .m-crumb a { color: var(--ink-sub); text-decoration: none; }
.m-pagehead .m-crumb a:hover { color: #fff; text-decoration: underline; }
.m-pagehead { padding-bottom: 56px; }
.m-pagehead__inner { padding-top: 40px; }
.m-h1 { font-size: 40px; font-weight: 300; letter-spacing: .1em; line-height: 1.45; margin-top: 16px; }
.m-pagehead .m-lead { color: var(--ink-sub); margin-top: 16px; max-width: var(--measure); }
.m-article__head { padding-top: 40px; }
.m-article__head h1 { max-width: 920px; font-size: 34px; font-weight: 500; letter-spacing: .04em; line-height: 1.55; margin: 16px 0 20px; }
.m-article__meta { display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: 13px; color: var(--ink-sub); }

/* ---------- TOP ---------- */
.m-hero { padding: 104px 0 80px; }
.m-hero__title { position: relative; font-size: clamp(34px, 5vw, 64px); font-weight: 300; line-height: 1.35; letter-spacing: .12em; margin: 28px 0 24px; }
.m-hero__title span { display: inline-block; }
.m-hero__sub { color: var(--ink-sub); max-width: 620px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }

.m-feature { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 24px 48px; margin-top: 88px; }
.m-feature__label { grid-column: 1 / -1; }
.is-dark .m-feature a { color: #fff; text-decoration: none; }
.m-feature__main img { display: block; width: 100%; height: auto; aspect-ratio: 640 / 426; object-fit: cover; }
.m-feature__body { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.m-feature__main h3 { font-size: 24px; font-weight: 500; line-height: 1.55; }
.m-feature__main p { color: var(--ink-sub); font-size: 14px; }
.m-feature__list { list-style: none; border-top: 1px solid var(--ink-line); }
.m-feature__list li { border-bottom: 1px solid var(--ink-line); }
.m-feature__list a { display: grid; grid-template-columns: 136px minmax(0, 1fr); gap: 20px; padding: 20px 0; }
.m-feature__list img { display: block; width: 136px; height: auto; aspect-ratio: 640 / 426; object-fit: cover; }
.m-feature__list a > span { display: flex; flex-direction: column; gap: 8px; }
.m-feature__list h3 { font-size: 15px; font-weight: 500; line-height: 1.6; }
.m-feature a:hover h3 { text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 4px; }

/* セクション */
.m-section { padding: 104px 0; }
.section-alt { background: var(--paper-2); }
.m-sechead { margin-bottom: 48px; }
.m-h2 { font-size: 32px; font-weight: 300; letter-spacing: .1em; line-height: 1.45; margin-top: 14px; }
.section-lead { color: var(--text-sub); font-size: 15px; margin-top: 10px; }
.m-more { margin-top: 40px; text-align: right; }
.m-more a { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-weight: 700; font-size: 14px; text-decoration: none; padding-bottom: 4px; border-bottom: 1px solid var(--text); }
.m-more a:hover { color: var(--link); border-color: var(--link); }
.m-bottom { padding-bottom: 104px; }

/* テーマ（カテゴリ） */
.m-cats { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.m-cats .card { position: relative; display: flex; flex-direction: column; height: 100%; min-height: 300px; padding: 40px 32px 32px; background: var(--ink) url(/assets/img/common/network.svg) center / cover; color: #fff; text-decoration: none; border-top: 3px solid var(--cat); transition: transform .2s; }
.m-cats .card:hover { transform: translateY(-4px); }
.m-cats .num { font-family: var(--font-en); font-size: 52px; font-weight: 300; line-height: 1; color: var(--cat); }
.m-cats h3 { font-size: 22px; font-weight: 500; letter-spacing: .06em; margin: 28px 0 12px; }
.m-cats p { flex: 1; color: var(--ink-sub); font-size: 14px; }
.m-cats__count { display: flex; align-items: center; justify-content: space-between; margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--ink-line); font-family: var(--font-en); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }

/* 記事カード */
.m-cards { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 32px; }
.m-cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.m-card a { display: flex; flex-direction: column; height: 100%; color: var(--text); text-decoration: none; }
.m-card__thumb { position: relative; display: block; aspect-ratio: 640 / 426; overflow: hidden; background: var(--paper-2); }
.m-card__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.m-card a:hover .m-card__thumb img { transform: scale(1.04); }
.m-card__thumb .num { position: absolute; left: 0; top: 0; padding: 6px 12px; background: var(--ink); color: #fff; font-family: var(--font-en); font-size: 13px; letter-spacing: .12em; }
.m-card__body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding-top: 18px; }
.m-card h2, .m-card h3 { font-size: 18px; font-weight: 700; line-height: 1.6; }
.m-card a:hover h2, .m-card a:hover h3 { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.m-card p { font-size: 14px; line-height: 1.75; color: var(--text-sub); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.m-card time { font-family: var(--font-en); font-size: 12px; letter-spacing: .06em; color: var(--text-sub); }

/* ---------- 本文＋サイドカラム ---------- */
.m-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 64px; align-items: start; padding-top: 56px; padding-bottom: 104px; }
.m-article__eyecatch { display: block; width: 100%; height: auto; aspect-ratio: 640 / 426; object-fit: cover; margin-bottom: 48px; }

/* 記事本文 */
.m-prose { font-size: 17px; line-height: 2; }
.m-prose > * { max-width: var(--measure); }
.m-prose > * + * { margin-top: 1.3em; }
.m-prose h2 { position: relative; font-size: 26px; font-weight: 700; line-height: 1.55; letter-spacing: .02em; margin-top: 3em; padding: 18px 0 16px 30px; border-bottom: 1px solid var(--text); scroll-margin-top: 96px; }
.m-prose h2::before { content: ""; position: absolute; left: 0; top: 18px; width: 18px; height: 18px; border-left: 3px solid var(--orange); border-top: 3px solid var(--orange); }
.m-prose h3 { font-size: 20px; font-weight: 700; line-height: 1.6; margin-top: 2.2em; padding-left: 16px; border-left: 3px solid var(--ink); }
.m-prose h4 { font-size: 17px; margin-top: 1.8em; }
.m-prose ul, .m-prose ol { padding-left: 1.5em; }
.m-prose li + li { margin-top: .5em; }
.m-prose ul li::marker { color: var(--orange); }
.bold { font-weight: 700; } /* 太字（strong・b は使わない） */
.marker-under { background: linear-gradient(transparent 64%, rgba(246, 167, 0, .3) 64%); } /* マーカー */
.m-prose code { font-size: .9em; background: var(--paper-2); padding: 1px 6px; }
.m-prose .source { font-size: 13px; line-height: 1.7; color: var(--text-sub); word-break: break-all; }
.m-prose blockquote { border-left: 3px solid var(--line); padding: 4px 20px; color: var(--text-sub); }
.m-prose figure { margin-top: 2em; margin-bottom: 2em; }
.m-prose figure img { display: block; width: auto; max-width: 100%; height: auto; margin: 0 auto; border: 1px solid var(--line); } /* 原寸以上に引き伸ばさない */
.img-ph { display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 9; padding: 16px; background: var(--paper-2); border: 1px dashed var(--line); color: var(--text-sub); font-size: 14px; text-align: center; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.m-prose table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 15px; line-height: 1.7; }
.m-prose th, .m-prose td { border: 1px solid var(--line); padding: 12px 14px; text-align: left; vertical-align: top; }
.m-prose thead th { background: var(--ink); color: #fff; font-weight: 500; }
.m-prose tbody th { background: var(--paper-2); white-space: nowrap; }

/* 目次（折りたたまない） */
.m-toc { padding: 28px 32px; background: var(--paper-2); border-top: 3px solid var(--ink); }
.m-toc__h { display: flex; align-items: baseline; gap: 14px; font-size: 15px; font-weight: 700; margin-bottom: 14px; }
.m-toc__en { font-family: var(--font-en); font-size: 12px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--text-sub); }
.m-toc ol { list-style: none; counter-reset: toc; font-size: 15px; line-height: 1.7; }
.m-toc li { counter-increment: toc; display: grid; grid-template-columns: 36px minmax(0, 1fr); }
.m-toc li::before { content: counter(toc, decimal-leading-zero); font-family: var(--font-en); font-size: 13px; color: var(--text-sub); padding-top: 1px; }
.m-toc li + li { margin-top: 8px; }
.m-toc a { color: var(--text); text-decoration: none; }
.m-toc a:hover { color: var(--link); text-decoration: underline; }

/* リンクカード（1 行だけのリンクをカードにする） */
.m-linkcard a { position: relative; display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 20px; padding: 20px; border: 1px solid var(--line); background: var(--paper); color: var(--text); text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.m-linkcard a:hover { border-color: var(--ink); box-shadow: 0 6px 20px rgba(8, 10, 16, .08); }
.m-linkcard a.ext::after { content: none; }
.m-linkcard__label { position: absolute; top: -11px; left: 16px; padding: 2px 10px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; line-height: 1.6; letter-spacing: .06em; }
.m-linkcard__thumb { align-self: start; }
.m-linkcard__thumb img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border: 1px solid var(--line); }
.m-linkcard__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.m-linkcard__title { font-size: 16px; font-weight: 700; line-height: 1.6; }
.m-linkcard a:hover .m-linkcard__title { color: var(--link); text-decoration: underline; }
.m-linkcard__desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 13px; line-height: 1.7; color: var(--text-sub); }
.m-linkcard__site { margin-top: auto; font-size: 12px; color: var(--text-sub); }
.m-linkcard__site::after { content: " ↗"; }
.m-linkcard a:not(.ext) .m-linkcard__site::after { content: none; }
@media (max-width: 767px) {
  .m-linkcard a { grid-template-columns: 112px minmax(0, 1fr); gap: 14px; padding: 16px 14px; }
  .m-linkcard__title { font-size: 14px; }
  .m-linkcard__desc { display: none; }
}

/* 記事末尾の執筆監修 */
.m-author { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 24px; margin-top: 3em; padding: 28px 32px; border: 1px solid var(--line); background: var(--paper-2); }
.m-author__logo { width: 88px; height: 88px; padding: 24px 18px; background: var(--ink); object-fit: contain; }
.m-author__label { font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--text-sub); }
.m-author__name { font-size: 18px; font-weight: 700; margin: 2px 0 10px; }
.m-author__body p:not([class]) { font-size: 15px; line-height: 1.8; }
.m-author__info { margin-top: 12px; font-size: 14px; line-height: 1.8; }
.m-author__info dd + dt { margin-top: 8px; }
.m-author__link { margin-top: 10px; font-size: 14px; }
@media (max-width: 767px) { .m-author { grid-template-columns: 1fr; gap: 16px; padding: 24px 20px; } }

/* 本文中の相談導線 */
.m-inline-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 3em; padding: 24px 28px; background: var(--ink); color: #fff; border-left: 3px solid var(--orange); font-size: 15px; line-height: 1.8; }
.m-inline-cta .btn { flex-shrink: 0; }

/* 相談ボックス（かぎ括弧で囲む） */
.m-contact { position: relative; margin-top: 80px; padding: 64px 48px; text-align: center; }
.m-contact::before, .m-contact::after { content: ""; position: absolute; width: 40px; height: 40px; border: 0 solid var(--orange); }
.m-contact::before { left: 20px; top: 20px; border-left-width: 2px; border-top-width: 2px; }
.m-contact::after { right: 20px; bottom: 20px; border-right-width: 2px; border-bottom-width: 2px; }
.m-contact__eyebrow { font-size: 13px; letter-spacing: .1em; color: var(--ink-sub); }
.m-contact h2 { font-size: 28px; font-weight: 300; letter-spacing: .1em; line-height: 1.5; margin: 12px 0 16px; }
.m-contact p:not(.m-contact__eyebrow) { max-width: 600px; margin: 0 auto 32px; font-size: 15px; color: var(--ink-sub); }

.m-related { margin-top: 80px; }
.m-related .m-h2 { font-size: 26px; }
.m-article > .m-tags--inline { margin-top: 48px; }

/* ---------- サイドカラム ---------- */
.m-side { display: flex; flex-direction: column; gap: 48px; align-self: stretch; }
.m-side__h { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; letter-spacing: .08em; line-height: 1.4; padding-bottom: 12px; margin-bottom: 16px; border-bottom: 1px solid var(--text); }
.m-side__h::before { content: ""; width: 8px; height: 8px; background: var(--orange); }
.m-side__sticky { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 10px; } /* 送客バナーは画面に追従させる */
.m-banner img { display: block; width: 100%; height: auto; transition: opacity .15s; }
.m-banner:hover img { opacity: .85; }
.m-banner.ext::after { content: none; }
.m-banner__text { font-size: 14px; font-weight: 700; text-align: center; } /* ⑤-12 画像リンクにテキストリンクを併設 */

.m-mini { list-style: none; counter-reset: rank; }
.m-mini li + li { margin-top: 16px; }
.m-mini a { position: relative; display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; align-items: start; color: var(--text); text-decoration: none; font-size: 14px; line-height: 1.6; }
.m-mini a:hover span { text-decoration: underline; }
.m-mini img { display: block; width: 96px; height: auto; aspect-ratio: 640 / 426; object-fit: cover; }
.m-mini--rank li { counter-increment: rank; }
.m-mini--rank a::before { content: counter(rank); position: absolute; left: 0; top: 0; width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; background: var(--ink); color: #fff; font-family: var(--font-en); font-size: 12px; }
.m-mini--rank li:first-child a::before { background: var(--orange); color: var(--ink); }

.m-side__cats { list-style: none; }
.m-side__cats a { display: flex; justify-content: space-between; padding: 12px 2px; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none; font-size: 15px; }
.m-side__cats a:hover { color: var(--link); }
.m-side__cats span { font-family: var(--font-en); font-size: 13px; color: var(--text-sub); }

.m-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.m-tags a { display: inline-flex; align-items: center; gap: 4px; padding: 4px 12px; border: 1px solid var(--line); background: #fff; color: var(--text); text-decoration: none; font-size: 13px; }
.m-tags a:hover, .m-tags a[aria-current="page"] { border-color: var(--text); }
.m-tags__n { margin-left: 2px; font-family: var(--font-en); font-size: 12px; color: var(--text-sub); }
.m-tags--inline { margin-top: 24px; }
.is-dark .m-tags a { background: transparent; border-color: var(--ink-line); color: #fff; }
.is-dark .m-tags a:hover { border-color: #fff; }

.m-search { display: flex; }
.m-search input { flex: 1; min-width: 0; padding: 10px 12px; font: inherit; font-size: 15px; border: 1px solid var(--line); border-right: 0; background: #fff; color: var(--text); border-radius: 0; }
.m-search button { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 16px; font: inherit; font-size: 14px; font-weight: 700; border: 1px solid var(--ink); background: var(--ink); color: #fff; cursor: pointer; }
.m-search--lg { max-width: 640px; margin-bottom: 16px; }
.m-layout__main > .m-lead { color: var(--text-sub); margin-bottom: 32px; }

/* ---------- フッター ---------- */
.m-footer { padding: 80px 0 32px; font-size: 14px; color: var(--ink-sub); }
.m-footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.m-footer .logo { margin-bottom: 16px; }
.m-footer p + p { margin-top: 4px; }
.m-footer__h { margin-bottom: 12px; font-size: 13px; font-weight: 700; letter-spacing: .1em; color: #fff; }
.m-footer ul { list-style: none; }
.m-footer li + li { margin-top: 8px; }
.m-footer.is-dark a:not(.btn) { color: var(--ink-sub); text-decoration: none; }
.m-footer.is-dark a:not(.btn):hover { color: #fff; text-decoration: underline; }
.m-footer__copy { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--ink-line); font-family: var(--font-en); font-size: 12px; letter-spacing: .1em; }

/* ---------- ヘッダーのメニューが 1 行に収まらない幅（1200px 未満）はボタンで開閉 ---------- */
@media (max-width: 1199px) {
  .m-menu-btn { display: inline-flex; }
  .m-header .header-inner { position: relative; }
  .m-header nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--ink); border-bottom: 1px solid var(--ink-line); padding: 8px var(--gutter) 24px; }
  .m-header nav.is-open { display: block; }
  .m-header nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .m-header nav li a:not(.btn) { display: block; padding: 14px 0; border-bottom: 1px solid var(--ink-line); }
  .m-header nav a[aria-current="page"] { box-shadow: inset 3px 0 var(--orange); padding-left: 12px; }
  .m-header nav li:last-child { margin-top: 20px; }
  .m-header nav .btn { width: 100%; }
}
/* ---------- タブレット以下 ---------- */
@media (max-width: 1023px) {
  .m-cards, .m-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .m-layout { grid-template-columns: minmax(0, 1fr); }
  .m-side__sticky { position: static; max-width: 300px; }
  .m-feature { grid-template-columns: minmax(0, 1fr); }
}
/* ---------- スマホ ---------- */
@media (max-width: 767px) {
  :root { --gutter: 16px; }
  .header-inner { height: 60px; }
  .logo { font-size: 13px; letter-spacing: .14em; gap: 10px; }
  .logo__mark { width: 32px; height: 24px; }
  .m-cards, .m-cards--2, .m-cats, .m-footer__grid { grid-template-columns: minmax(0, 1fr); }
  .m-section { padding: 72px 0; }
  .m-bottom { padding-bottom: 72px; }
  .m-hero { padding: 64px 0 56px; }
  .m-hero__title { letter-spacing: .06em; }
  .hero-cta .btn { width: 100%; }
  .m-feature { margin-top: 56px; }
  .m-feature__main h3 { font-size: 20px; }
  .m-feature__list a { grid-template-columns: 104px minmax(0, 1fr); gap: 14px; }
  .m-feature__list img { width: 104px; }
  .m-h1 { font-size: 28px; letter-spacing: .06em; }
  .m-h2 { font-size: 24px; letter-spacing: .06em; }
  .m-article__head h1 { font-size: 23px; }
  .m-pagehead { padding-bottom: 40px; }
  .m-layout { padding-top: 32px; padding-bottom: 72px; }
  .m-article__eyecatch { margin-bottom: 32px; }
  .m-prose { font-size: 16px; line-height: 1.9; }
  .m-prose h2 { font-size: 21px; padding-left: 26px; }
  .m-prose h3 { font-size: 18px; }
  .m-toc { padding: 24px 20px; }
  .m-inline-cta { flex-direction: column; align-items: stretch; }
  .m-contact { padding: 56px 20px; }
  .m-contact h2 { font-size: 22px; letter-spacing: .06em; }
  .m-contact .btn-lg { width: 100%; padding-left: 16px; padding-right: 16px; }
}
