/* =====================================================================
   DenGX エディトリアル版（2026-10 リデザイン）
   白・生成り・墨の静かな配色に、ロゴの赤を「番号・矢印・現在地」だけに使う。
   見出し=明朝（Noto Serif JP）／本文=ゴシック（Noto Sans JP）／英字の番号=Cormorant
   ===================================================================== */
:root {
  --ed-paper: #f6f4ef;
  --ed-white: #ffffff;
  --ed-ink: #161616;
  --ed-sub: #5f5c56;
  --ed-mute: #8d8982;
  --ed-line: #dcd8cf;
  --ed-red: #c4001d;
  --ed-dark: #0f1012;
  --ed-serif: 'Noto Serif JP', 'Yu Mincho', 'Hiragino Mincho ProN', serif;
  --ed-sans: 'Noto Sans JP', 'Hiragino Sans', 'Yu Gothic', sans-serif;
  --ed-en: 'Cormorant Garamond', 'Times New Roman', serif;
  --ed-wrap: 1240px;
  --ed-gutter: clamp(20px, 5vw, 64px);
  --ed-header-h: 76px;
  --ed-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html { scroll-behavior: smooth; scroll-padding-top: var(--ed-header-h); }
body { margin: 0; background: var(--ed-white); }
.ed { color: var(--ed-ink); font-family: var(--ed-sans); font-size: 15px; line-height: 1.9; letter-spacing: 0.04em; -webkit-font-smoothing: antialiased; font-feature-settings: 'palt' 1; }
.ed *, .ed *::before, .ed *::after { box-sizing: border-box; }
.ed img { display: block; max-width: 100%; }
.ed a { color: inherit; text-decoration: none; }
.ed p, .ed h1, .ed h2, .ed h3, .ed ul, .ed ol, .ed dl, .ed dd, .ed figure { margin: 0; padding: 0; }
.ed ul, .ed ol { list-style: none; }
.ed button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
.ed :focus-visible { outline: 2px solid var(--ed-red); outline-offset: 3px; }

.ed-wrap { width: 100%; max-width: calc(var(--ed-wrap) + var(--ed-gutter) * 2); margin: 0 auto; padding: 0 var(--ed-gutter); }
.ed-main { display: block; }

/* ---- タイポグラフィ ---- */
.ed-eyebrow { display: block; font-family: var(--ed-sans); font-size: 11px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ed-sub); margin-bottom: 18px; }
.ed-eyebrow--inline { display: inline; margin: 0; }
.ed-num { font-family: var(--ed-en); font-size: 15px; font-weight: 500; letter-spacing: 0.06em; color: var(--ed-red); margin-right: 12px; font-variant-numeric: lining-nums; }
.ed-h1 { font-family: var(--ed-serif); font-weight: 500; font-size: clamp(34px, 5vw, 58px); line-height: 1.35; letter-spacing: 0.08em; }
.ed-h2 { font-family: var(--ed-serif); font-weight: 500; font-size: clamp(28px, 3.6vw, 42px); line-height: 1.45; letter-spacing: 0.1em; }
.ed-h3 { font-family: var(--ed-serif); font-weight: 500; font-size: clamp(26px, 3vw, 36px); line-height: 1.45; letter-spacing: 0.1em; margin: 6px 0 22px; }
.ed-display { font-family: var(--ed-serif); font-weight: 500; font-size: clamp(32px, 4.4vw, 54px); line-height: 1.55; letter-spacing: 0.1em; }
.ed-en { font-family: var(--ed-en); font-style: italic; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; color: var(--ed-sub); margin-top: 28px; letter-spacing: 0.02em; }
.ed-lead { font-size: 14px; line-height: 2; color: var(--ed-ink); max-width: 360px; }
.ed-prose { font-size: 15px; line-height: 2.1; }
.ed-prose p + p { margin-top: 1.6em; }
.ed-prose--loose { line-height: 2.3; }
@media (max-width: 600px) { .ed-prose--loose { line-height: 2.05; } }
.ed-badge { display: inline-block; font-size: 11px; letter-spacing: 0.16em; padding: 4px 12px; border: 1px solid var(--ed-ink); margin-bottom: 18px; }

/* ---- セクション共通 ---- */
.ed-sec { padding: clamp(88px, 11vw, 160px) 0; }
.ed-sec + .ed-sec:not(.ed-sec--tint) { border-top: 1px solid var(--ed-line); }
.ed-sec--tint { background: var(--ed-paper); }
.ed-sec--tint + .ed-sec { border-top: 0; }
.ed-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: clamp(48px, 6vw, 80px); }
.ed-head__aside { flex: 0 0 auto; }

/* 矢印つきリンク（MISAKI 調の下線リンク） */
.ed-arrow { display: inline-block; font-family: var(--ed-sans); transition: transform 0.4s var(--ed-ease); }
.ed-more { display: inline-flex; align-items: center; justify-content: space-between; gap: 40px; min-width: 210px; padding: 10px 0; border-bottom: 1px solid var(--ed-ink); font-size: 13px; letter-spacing: 0.1em; }
.ed-more:hover .ed-arrow, .ed-card--link:hover .ed-arrow, .ed-news__row:hover .ed-arrow, .ed-next a:hover .ed-arrow, .ed-contact__inner:hover .ed-arrow { transform: translate(3px, -3px); color: var(--ed-red); }
.ed-more--small { min-width: 0; margin-top: 18px; border-bottom-color: var(--ed-line); }

/* 画像が無いときの置き場所 */
.ed-ph { background: linear-gradient(135deg, #ebe8e1, #f6f4ef); }

/* ---- ヘッダー ---- */
.ed-header { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--ed-header-h); display: flex; align-items: center; justify-content: space-between; padding: 0 var(--ed-gutter); background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--ed-line); transition: background 0.5s var(--ed-ease), border-color 0.5s var(--ed-ease), color 0.5s var(--ed-ease); }
.ed-header__logo { position: relative; display: block; width: 92px; height: 27px; }
.ed-logo { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity 0.5s var(--ed-ease); }
.ed-logo--light { opacity: 0; }
.ed-header__nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); font-size: 13px; letter-spacing: 0.1em; }
.ed-header__nav a { position: relative; padding: 6px 0; }
.ed-header__nav a:not(.ed-header__contact)::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 0.5s var(--ed-ease); }
.ed-header__nav a:hover::after, .ed-header__nav a[aria-current='page']::after { transform: scaleX(1); transform-origin: left; }
.ed-header__contact { border: 1px solid currentColor; padding: 8px 18px !important; border-radius: 2px; transition: background 0.3s, color 0.3s; }
.ed-header__contact:hover { background: var(--ed-ink); color: var(--ed-white); border-color: var(--ed-ink); }
.ed-header__menu { display: none; align-items: center; gap: 12px; font-size: 13px; letter-spacing: 0.1em; }
.ed-header__menu-lines { position: relative; width: 26px; height: 1px; background: currentColor; }
.ed-header__menu-lines::before { content: ''; position: absolute; left: 0; top: -7px; width: 26px; height: 1px; background: currentColor; transition: transform 0.4s var(--ed-ease), top 0.4s var(--ed-ease); }
.ed-header__menu[aria-expanded='true'] .ed-header__menu-lines { background: transparent; }
.ed-header__menu[aria-expanded='true'] .ed-header__menu-lines::before { top: 0; transform: rotate(45deg); }
.ed-header__menu[aria-expanded='true'] .ed-header__menu-lines::after { content: ''; position: absolute; left: 0; top: 0; width: 26px; height: 1px; background: currentColor; transform: rotate(-45deg); }

/* ヒーローの上ではヘッダーを透明・白文字に */
.ed[data-overlay-header] .ed-header:not(.is-solid) { background: transparent; border-bottom-color: transparent; color: var(--ed-white); backdrop-filter: none; -webkit-backdrop-filter: none; }
.ed[data-overlay-header] .ed-header:not(.is-solid) .ed-logo--dark { opacity: 0; }
.ed[data-overlay-header] .ed-header:not(.is-solid) .ed-logo--light { opacity: 1; }
.ed[data-overlay-header] .ed-header:not(.is-solid) .ed-header__contact:hover { background: var(--ed-white); color: var(--ed-ink); border-color: var(--ed-white); }
.ed:not([data-overlay-header]) .ed-main { padding-top: var(--ed-header-h); }

/* スマホ用メニュー */
.ed-drawer { position: fixed; inset: var(--ed-header-h) 0 0 0; z-index: 49; background: var(--ed-white); overflow-y: auto; }
.ed-drawer[hidden] { display: none; }
.ed-drawer__inner { padding: 40px var(--ed-gutter) 60px; }
.ed-drawer__biz { border-top: 1px solid var(--ed-line); margin-bottom: 36px; }
.ed-drawer__biz a { display: flex; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--ed-line); font-family: var(--ed-serif); font-size: 20px; letter-spacing: 0.1em; }
.ed-drawer__links a { display: block; padding: 10px 0; font-size: 14px; letter-spacing: 0.1em; }
.ed.is-menu-open .ed-header { background: var(--ed-white) !important; color: var(--ed-ink) !important; border-bottom-color: var(--ed-line) !important; }
.ed.is-menu-open .ed-logo--dark { opacity: 1 !important; }
.ed.is-menu-open .ed-logo--light { opacity: 0 !important; }

/* ---- TOP: ヒーロー ---- */
.ed-hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; background: var(--ed-dark); color: var(--ed-white); overflow: hidden; }
.ed-hero__stage, .ed-hero__slide { position: absolute; inset: 0; }
.ed-hero__slide { opacity: 0; transition: opacity 1.6s var(--ed-ease); }
.ed-hero__slide.is-active { opacity: 1; }
.ed-hero__img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
.ed-hero__slide.is-active .ed-hero__img { animation: ed-zoom 9s linear forwards; }
@keyframes ed-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.ed-hero__slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0) 22%, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.55) 100%); }
.ed-hero__caption { position: absolute; z-index: 2; left: var(--ed-gutter); bottom: 128px; font-family: var(--ed-serif); font-size: clamp(22px, 2.6vw, 34px); line-height: 1.6; letter-spacing: 0.12em; opacity: 0; transform: translateY(16px); transition: opacity 1.2s 0.5s var(--ed-ease), transform 1.2s 0.5s var(--ed-ease); }
.ed-hero__slide.is-active .ed-hero__caption { opacity: 1; transform: none; }
.ed-hero__bar { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px var(--ed-gutter) 26px; background: linear-gradient(0deg, rgba(10, 11, 12, 0.85), rgba(10, 11, 12, 0)); }
.ed-hero__chapters { display: flex; flex-wrap: wrap; gap: 6px 28px; }
.ed-hero__chapters button { position: relative; font-size: 13px; letter-spacing: 0.12em; color: rgba(255, 255, 255, 0.6); padding: 6px 0 10px; transition: color 0.4s; }
.ed-hero__chapters button::before { content: '\25E6'; margin-right: 6px; color: rgba(255, 255, 255, 0.5); }
.ed-hero__chapters button.is-active, .ed-hero__chapters button:hover { color: var(--ed-white); }
.ed-hero__chapters button.is-active::before { content: '\2022'; color: var(--ed-red); }
.ed-hero__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: rgba(255, 255, 255, 0.18); overflow: hidden; }
.ed-hero__progress::after { content: ''; position: absolute; inset: 0; background: var(--ed-white); transform: scaleX(0); transform-origin: left; }
.ed-hero__chapters button.is-active .ed-hero__progress::after { animation: ed-progress var(--ed-interval, 6s) linear forwards; }
.ed-hero.is-paused .ed-hero__chapters button.is-active .ed-hero__progress::after { animation-play-state: paused; }
@keyframes ed-progress { to { transform: scaleX(1); } }
.ed-hero__pause { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: 0.12em; color: rgba(255, 255, 255, 0.85); padding: 8px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.4); }
.ed-hero__pause-icon { width: 8px; height: 10px; border-left: 2px solid currentColor; border-right: 2px solid currentColor; }
.ed-hero.is-paused .ed-hero__pause-icon { width: 0; height: 0; border-style: solid; border-width: 5px 0 5px 9px; border-color: transparent transparent transparent currentColor; }

/* ---- TOP: ビジョン ---- */
.ed-vision__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(48px, 8vw, 140px); align-items: start; }
.ed-vision__title { position: sticky; top: calc(var(--ed-header-h) + 40px); }
.ed-vision__sign { margin-top: 48px; font-family: var(--ed-serif); font-size: 15px; letter-spacing: 0.14em; color: var(--ed-sub); }

/* ---- TOP: 事業一覧 ---- */
.ed-biz__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); }
.ed-biz__visual { position: sticky; top: calc(var(--ed-header-h) + 32px); align-self: start; }
.ed-biz__frame { position: relative; aspect-ratio: 4 / 5; max-height: calc(100vh - var(--ed-header-h) - 170px); width: 100%; overflow: hidden; background: var(--ed-paper); }
.ed-biz__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity 1s var(--ed-ease), transform 1.6s var(--ed-ease); }
.ed-biz__img.is-active { opacity: 1; transform: none; }
.ed-biz__tabs { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 18px; font-size: 12px; letter-spacing: 0.08em; color: var(--ed-mute); }
.ed-biz__tabs li { padding: 10px 0 0; border-top: 1px solid var(--ed-line); transition: color 0.4s, border-color 0.4s; }
.ed-biz__tabs li .ed-num { display: block; font-size: 13px; margin: 0 0 2px; color: inherit; }
.ed-biz__tabs li.is-active { color: var(--ed-ink); border-top-color: var(--ed-ink); }
.ed-biz__tabs li.is-active .ed-num { color: var(--ed-red); }
.ed-biz__foot { margin-top: 14px; font-size: 11px; letter-spacing: 0.18em; color: var(--ed-mute); }
.ed-biz__item { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; padding: 40px 0; border-bottom: 1px solid var(--ed-line); }
.ed-biz__item:last-child { border-bottom: 0; }
.ed-biz__meta { display: flex; align-items: baseline; margin-bottom: 4px; }
.ed-biz__catch { font-family: var(--ed-serif); font-size: 18px; line-height: 1.9; letter-spacing: 0.1em; margin-bottom: 18px; }
.ed-biz__text { color: var(--ed-sub); line-height: 2.1; margin-bottom: 36px; max-width: 520px; }
.ed-biz__item .ed-more, .ed-biz__item .ed-badge { align-self: flex-start; }
.ed-biz__img-sp { display: none !important; }

/* ---- TOP: 歩み ---- */
.ed-history__list { border-top: 1px solid var(--ed-line); }
.ed-history__list li { display: grid; grid-template-columns: 200px 1fr; gap: 32px; padding: 26px 0; border-bottom: 1px solid var(--ed-line); align-items: baseline; }
.ed-history__year { font-family: var(--ed-en); font-size: 30px; letter-spacing: 0.04em; line-height: 1; }
.ed-history__text { font-size: 15px; line-height: 2; }

/* ---- TOP: ニュース ---- */
.ed-news__list { border-top: 1px solid var(--ed-line); }
.ed-news__row { display: grid; grid-template-columns: 120px 110px 1fr 24px; gap: 24px; align-items: baseline; padding: 30px 0; border-bottom: 1px solid var(--ed-line); transition: background 0.4s; }
.ed-news__date { font-family: var(--ed-en); font-size: 17px; letter-spacing: 0.06em; }
.ed-news__cat { font-size: 11px; letter-spacing: 0.18em; color: var(--ed-sub); text-transform: uppercase; }
.ed-news__title { display: block; font-size: 16px; font-weight: 500; line-height: 1.8; }
.ed-news__excerpt { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; margin-top: 4px; font-size: 13px; color: var(--ed-sub); }
.ed-news__row:hover .ed-news__title { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }

/* ---- TOP: 会社情報 ---- */
.ed-company__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.ed-company__name { font-family: var(--ed-serif); font-size: clamp(22px, 2.2vw, 28px); letter-spacing: 0.1em; line-height: 1.6; }
.ed-company__en { margin-top: 4px; font-family: var(--ed-en); font-size: 17px; color: var(--ed-sub); letter-spacing: 0.04em; }
.ed-dl { margin-top: 36px; border-top: 1px solid var(--ed-line); }
.ed-dl > div { display: grid; grid-template-columns: 120px 1fr; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--ed-line); }
.ed-dl dt { font-size: 12px; letter-spacing: 0.14em; color: var(--ed-sub); padding-top: 3px; }
.ed-dl dd { font-size: 15px; line-height: 1.9; }
.ed-company__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* ---- お問い合わせ導線 ---- */
.ed-contact { background: var(--ed-dark); color: var(--ed-white); }
.ed-contact__inner { display: flex !important; align-items: flex-end; justify-content: space-between; gap: 40px; padding-top: clamp(80px, 10vw, 140px) !important; padding-bottom: clamp(80px, 10vw, 140px) !important; }
.ed-contact .ed-eyebrow { color: rgba(255, 255, 255, 0.6); }
.ed-contact__title { display: block; font-family: var(--ed-serif); font-weight: 500; font-size: clamp(28px, 4vw, 48px); line-height: 1.5; letter-spacing: 0.1em; }
.ed-contact__text { display: block; margin-top: 18px; font-size: 14px; color: rgba(255, 255, 255, 0.75); }
.ed-contact__btn { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 40px; padding: 14px 0; min-width: 240px; justify-content: space-between; border-bottom: 1px solid rgba(255, 255, 255, 0.7); font-size: 14px; letter-spacing: 0.12em; }

/* ---- フッター ---- */
.ed-footer { background: var(--ed-dark); color: rgba(255, 255, 255, 0.82); border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 13px; }
.ed-footer__grid { display: flex; justify-content: space-between; gap: 48px; padding-top: 64px; padding-bottom: 48px; }
.ed-footer__tagline { margin-top: 16px; font-family: var(--ed-serif); letter-spacing: 0.14em; color: rgba(255, 255, 255, 0.7); }
.ed-footer__cols { display: grid; grid-template-columns: repeat(4, auto); gap: 48px; }
.ed-footer__cols li + li { margin-top: 10px; }
.ed-footer__cols a { letter-spacing: 0.08em; transition: color 0.3s; }
.ed-footer__cols a:hover { color: var(--ed-white); }
.ed-footer__bottom { padding-top: 22px; padding-bottom: 28px; border-top: 1px solid rgba(255, 255, 255, 0.12); color: rgba(255, 255, 255, 0.5); font-size: 11px; letter-spacing: 0.12em; }

/* ---- 事業ページ: 見出し ---- */
.ed-phero { padding: clamp(56px, 7vw, 100px) 0 0; }
.ed-crumb { display: flex; gap: 12px; font-size: 11px; letter-spacing: 0.16em; color: var(--ed-mute); margin-bottom: clamp(40px, 6vw, 72px); }
.ed-crumb a:hover { color: var(--ed-ink); }
.ed-phero__head { margin-bottom: 40px; }
.ed-phero__head .ed-h1 { margin-top: 10px; }
.ed-phero__head .ed-badge { margin-top: 20px; }
.ed-phero__lead { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); padding-top: 40px; border-top: 1px solid var(--ed-line); margin-bottom: clamp(56px, 7vw, 96px); }
.ed-phero__catch { font-family: var(--ed-serif); font-size: clamp(20px, 2.2vw, 28px); line-height: 1.8; letter-spacing: 0.12em; }
.ed-phero__visual { overflow: hidden; }
.ed-phero__img { width: 100%; height: clamp(320px, 62vh, 680px); object-fit: cover; }

/* ---- 事業ページ: 本文 ---- */
.ed-text__grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.ed-text__img { margin-top: 48px; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

/* ---- カード ---- */
.ed-cards { display: grid; gap: clamp(28px, 3vw, 48px) clamp(20px, 2.4vw, 36px); }
.ed-cards--2 { grid-template-columns: repeat(2, 1fr); }
.ed-cards--3 { grid-template-columns: repeat(3, 1fr); }
.ed-cards--4 { grid-template-columns: repeat(4, 1fr); }
.ed-card { display: flex; flex-direction: column; }
.ed-card__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--ed-paper); margin-bottom: 22px; transition: opacity 0.5s; }
.ed-card__img--contain { object-fit: contain; padding: 8%; background: var(--ed-white); border: 1px solid var(--ed-line); }
.ed-sec--tint .ed-card__img--contain { border-color: transparent; }
.ed-card--link:hover .ed-card__img { opacity: 0.85; }
.ed-card__body { display: flex; flex-direction: column; flex: 1; }
.ed-card__body .ed-num { margin-bottom: 6px; }
.ed-card__title { font-family: var(--ed-serif); font-size: 19px; font-weight: 500; letter-spacing: 0.1em; line-height: 1.7; }
.ed-card__text { margin-top: 12px; font-size: 14px; line-height: 2; color: var(--ed-sub); }
.ed-card__more { margin-top: auto; padding-top: 22px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; letter-spacing: 0.1em; }
.ed-card__more { border-bottom: 1px solid var(--ed-ink); padding-bottom: 10px; }

/* ---- 一覧表 ---- */
.ed-list__group + .ed-list__group { margin-top: 72px; }
.ed-list__heading { display: flex; align-items: baseline; gap: 16px; font-family: var(--ed-serif); font-size: 20px; font-weight: 500; letter-spacing: 0.12em; padding-bottom: 18px; border-bottom: 1px solid var(--ed-ink); }
.ed-list__count { font-family: var(--ed-sans); font-size: 12px; color: var(--ed-mute); letter-spacing: 0.1em; }
.ed-list__rows { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(32px, 5vw, 80px); }
.ed-list__rows li { display: grid; grid-template-columns: minmax(180px, 1fr) 1.2fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--ed-line); align-items: baseline; }
.ed-list__name { font-size: 15px; font-weight: 500; }
.ed-list__detail { font-size: 13px; color: var(--ed-sub); line-height: 1.8; }

/* ---- ほかの事業 ---- */
.ed-next__list { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ed-line); }
.ed-next__list a { display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto; align-items: baseline; column-gap: 4px; padding: 30px 28px 30px 0; border-bottom: 1px solid var(--ed-line); }
.ed-next__list li + li a { padding-left: 28px; border-left: 1px solid var(--ed-line); }
.ed-next__list .ed-eyebrow--inline { font-size: 10px; }
.ed-next__label { grid-column: 1 / 3; grid-row: 2; margin-top: 10px; font-family: var(--ed-serif); font-size: 20px; letter-spacing: 0.1em; }
.ed-next__list .ed-arrow { grid-column: 3; grid-row: 2; }

/* ---- 表示演出（ed.js が .is-in を付ける） ---- */
.ed.has-js [data-ed-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 1.1s var(--ed-ease), transform 1.1s var(--ed-ease); }
.ed.has-js [data-ed-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .ed *, .ed *::before, .ed *::after { animation: none !important; transition: none !important; }
  .ed.has-js [data-ed-reveal] { opacity: 1; transform: none; }
}

/* ---- タブレット以下 ---- */
@media (max-width: 991px) {
  :root { --ed-header-h: 64px; }
  .ed-header__nav { display: none; }
  .ed-header__menu { display: inline-flex; }
  .ed-head { flex-direction: column; align-items: flex-start; gap: 24px; }
  .ed-vision__grid, .ed-company__grid, .ed-text__grid, .ed-phero__lead { grid-template-columns: 1fr; }
  .ed-vision__title { position: static; }
  .ed-biz__grid { grid-template-columns: 1fr; }
  .ed-biz__visual { display: none; }
  .ed-biz__item { min-height: 0; padding: 0 0 56px; margin-bottom: 56px; }
  .ed-biz__img-sp { display: block !important; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 24px; }
  .ed-cards--3, .ed-cards--4 { grid-template-columns: repeat(2, 1fr); }
  .ed-list__rows { grid-template-columns: 1fr; }
  .ed-next__list { grid-template-columns: 1fr; }
  .ed-next__list li + li a { padding-left: 0; border-left: 0; }
  .ed-footer__grid { flex-direction: column; }
  .ed-contact__inner { flex-direction: column; align-items: flex-start; }
}

/* ---- スマホ ---- */
@media (max-width: 600px) {
  .ed { font-size: 14px; }
  .ed-hero__chapters { gap: 4px 18px; }
  .ed-hero__chapters button { font-size: 12px; }
  .ed-hero__bar { flex-direction: column; align-items: flex-start; gap: 10px; }
  .ed-hero__caption { bottom: 150px; }
  .ed-cards--2, .ed-cards--3, .ed-cards--4 { grid-template-columns: 1fr; }
  .ed-history__list li { grid-template-columns: 1fr; gap: 6px; }
  .ed-news__row { grid-template-columns: 1fr 20px; gap: 6px 12px; }
  .ed-news__date, .ed-news__cat { grid-column: 1; }
  .ed-news__date { display: inline; }
  .ed-news__body { grid-column: 1; }
  .ed-news__row .ed-arrow { grid-column: 2; grid-row: 1; }
  .ed-dl > div { grid-template-columns: 1fr; gap: 4px; }
  .ed-list__rows li { grid-template-columns: 1fr; gap: 4px; }
  .ed-footer__cols { grid-template-columns: 1fr 1fr; gap: 32px; }
  .ed-more { min-width: 180px; }
}

/* =====================================================================
   2026-10 AIO 対応で追加（製品の特設ページ・よくある質問・表など）
   ===================================================================== */

/* ヘッダー: 製品は赤字で先頭に */
.ed .ed-header__product { color: var(--ed-red); }
.ed[data-overlay-header] .ed-header:not(.is-solid) .ed-header__product, .ed.is-menu-open .ed-header__product { color: inherit; }
.ed-drawer__biz + .ed-eyebrow { margin-top: 8px; }

/* ヒーロー: 製品スライドの小見出し・説明・リンク */
.ed-hero__slide:not(.is-active) { pointer-events: none; }
.ed-hero__caption { right: var(--ed-gutter); display: grid; justify-items: start; gap: 12px; }
.ed-hero__kicker { font-family: var(--ed-sans); font-size: 12px; letter-spacing: 0.2em; opacity: 0.85; }
.ed-hero__title { display: block; }
.ed-hero__text { max-width: 34em; font-family: var(--ed-sans); font-size: 14px; line-height: 1.9; letter-spacing: 0.06em; opacity: 0.9; }
.ed-hero__link { display: inline-flex; gap: 14px; align-items: center; margin-top: 4px; padding-bottom: 6px; border-bottom: 1px solid rgba(255, 255, 255, 0.7); font-family: var(--ed-sans); font-size: 13px; letter-spacing: 0.12em; }
.ed-hero__link:hover .ed-arrow { transform: translate(3px, -3px); }

/* 文中リンク */
.ed-inline-link { border-bottom: 1px solid currentColor; padding-bottom: 1px; transition: color 0.3s; }
.ed-inline-link:hover { color: var(--ed-red); }

/* 見出し下の数字欄 */
.ed-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); border-top: 1px solid var(--ed-ink); border-bottom: 1px solid var(--ed-line); margin: -24px 0 clamp(56px, 7vw, 96px); }
.ed-facts > div { padding: 18px 20px 16px 0; }
.ed-facts > div + div { padding-left: 20px; border-left: 1px solid var(--ed-line); }
.ed-facts dt { font-size: 11px; letter-spacing: 0.16em; color: var(--ed-sub); }
.ed-facts dd { margin-top: 6px; font-family: var(--ed-en); font-size: clamp(28px, 3vw, 38px); line-height: 1.15; letter-spacing: 0.02em; font-variant-numeric: lining-nums tabular-nums; }
.ed-facts dd small { font-family: var(--ed-sans); font-size: 12px; margin-left: 4px; letter-spacing: 0.08em; }

/* こんなお悩みに */
.ed-pains__list { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ed-ink); }
.ed-pains__list li { padding: 26px 24px 26px 0; border-bottom: 1px solid var(--ed-line); font-family: var(--ed-serif); font-size: 18px; line-height: 1.8; letter-spacing: 0.06em; }
.ed-pains__list li + li { padding-left: 24px; border-left: 1px solid var(--ed-line); }
.ed-pains__list li::before { content: '「'; color: var(--ed-red); }
.ed-pains__list li::after { content: '」'; color: var(--ed-red); }

/* 手順・しくみ */
.ed-steps__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.ed-steps__list { border-top: 1px solid var(--ed-ink); }
.ed-steps__list li { display: grid; grid-template-columns: 3em 1fr; gap: 8px; padding: 22px 0; border-bottom: 1px solid var(--ed-line); }
.ed-steps__list .ed-num { margin: 0; font-size: 20px; line-height: 1.5; }
.ed-steps__title { font-size: 16px; font-weight: 500; letter-spacing: 0.06em; line-height: 1.7; }
.ed-steps__text { margin-top: 6px; font-size: 14px; line-height: 2; color: var(--ed-sub); }
.ed-figure { background: var(--ed-white); border: 1px solid var(--ed-line); padding: clamp(14px, 2vw, 24px); }
.ed-sec--tint .ed-figure { border-color: transparent; }
.ed-figure img { width: 100%; height: auto; }
.ed-figure figcaption { margin-top: 12px; font-size: 12px; line-height: 1.8; color: var(--ed-sub); }
.ed-note { margin-top: 24px; padding-left: 14px; border-left: 2px solid var(--ed-line); font-size: 13px; line-height: 1.9; color: var(--ed-sub); max-width: 52em; }

/* 表 */
.ed-table__wrap { overflow-x: auto; }
.ed-table { width: 100%; border-collapse: collapse; font-size: 15px; border-top: 1px solid var(--ed-ink); }
.ed-table th, .ed-table td { text-align: left; vertical-align: top; padding: 18px 20px 18px 0; border-bottom: 1px solid var(--ed-line); font-weight: 400; line-height: 1.8; }
.ed-table thead th { font-size: 11px; letter-spacing: 0.16em; color: var(--ed-sub); padding-top: 14px; padding-bottom: 14px; }
.ed-table tbody th { font-weight: 500; white-space: nowrap; width: 1%; padding-right: 40px; }
.ed-table .is-num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ed-table td.is-num { font-family: var(--ed-en); font-size: 22px; line-height: 1.4; font-variant-numeric: lining-nums tabular-nums; }
.ed-table tfoot td { border-bottom: 0; color: var(--ed-sub); font-size: 13px; }
.ed-table tfoot td.is-num { color: var(--ed-ink); }
.ed-tags { display: flex; flex-wrap: wrap; gap: 8px 10px; }
.ed-tags li { padding: 4px 14px; border: 1px solid var(--ed-ink); font-size: 12px; letter-spacing: 0.1em; }
.ed-tags--lg li { border-color: var(--ed-line); background: var(--ed-white); font-size: 13px; }

/* 比較 */
.ed-compare__box { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); border: 1px solid var(--ed-line); background: var(--ed-white); }
.ed-compare__col { padding: clamp(24px, 3vw, 40px); display: grid; gap: 12px; align-content: start; }
.ed-compare__col + .ed-compare__col { border-left: 1px solid var(--ed-line); }
.ed-compare__label { font-size: 12px; letter-spacing: 0.1em; color: var(--ed-sub); }
.ed-compare__title { font-family: var(--ed-serif); font-size: clamp(19px, 2vw, 24px); line-height: 1.7; letter-spacing: 0.06em; }
.ed-compare__col:not(.is-ours) .ed-compare__title { color: var(--ed-sub); }
.ed-compare__col.is-ours { box-shadow: inset 0 3px 0 var(--ed-red); }
.ed-compare__col.is-ours .ed-compare__label { color: var(--ed-red); }
.ed-compare__text { font-size: 13px; line-height: 1.9; color: var(--ed-sub); }

/* よくある質問 */
.ed-faq__grid { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(40px, 6vw, 120px); align-items: start; }
.ed-faq__list { border-top: 1px solid var(--ed-ink); }
.ed-faq__list details { border-bottom: 1px solid var(--ed-line); }
.ed-faq__list summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 2em 1fr 1.5em; gap: 8px; align-items: baseline; padding: 22px 0; font-family: var(--ed-serif); font-size: 17px; line-height: 1.7; letter-spacing: 0.06em; }
.ed-faq__list summary::-webkit-details-marker { display: none; }
.ed-faq__q { font-family: var(--ed-en); font-size: 22px; color: var(--ed-red); }
.ed-faq__pm { text-align: right; color: var(--ed-sub); font-family: var(--ed-sans); transition: transform 0.3s; }
.ed-faq__list details[open] .ed-faq__pm { transform: rotate(45deg); }
.ed-faq__list details p { padding: 0 2em 24px 2.5em; font-size: 14px; line-height: 2; color: var(--ed-sub); }

@media (max-width: 991px) {
  .ed-steps__grid, .ed-faq__grid { grid-template-columns: 1fr; }
  .ed-pains__list { grid-template-columns: 1fr; }
  .ed-pains__list li + li { padding-left: 0; border-left: 0; }
  .ed-footer__cols { grid-template-columns: repeat(2, auto); }
}
@media (max-width: 600px) {
  .ed-hero__caption { bottom: 120px; }
  .ed-hero__text { font-size: 13px; }
  .ed-compare__box { grid-template-columns: 1fr; }
  .ed-compare__col + .ed-compare__col { border-left: 0; border-top: 1px solid var(--ed-line); }
  .ed-facts { grid-template-columns: 1fr 1fr; }
  .ed-facts > div:nth-child(odd) { padding-left: 0; border-left: 0; }
  .ed-facts > div:nth-child(n+3) { border-top: 1px solid var(--ed-line); }
  .ed-table { font-size: 14px; }
  .ed-table tbody th { white-space: normal; width: auto; padding-right: 16px; }
  .ed-faq__list details p { padding-left: 0; padding-right: 0; }
}

/* ---- 学びのページ（デングの節電）: キャラクターの吹き出し・イラストつきの項目 ----
   サイトの枠や書体は刷新版のまま。イラストは白い枠に収め、色はイラスト自身の色だけにする */
.ed-phero__illust { width: 100%; height: auto; border-radius: 8px; border: 1px solid var(--ed-line); margin-bottom: clamp(48px, 6vw, 88px); }
.ed-talk { display: flex; align-items: flex-start; gap: 18px; max-width: 760px; margin-bottom: clamp(32px, 4vw, 48px); }
.ed-talk__face { flex: 0 0 auto; width: 76px; height: 76px; border-radius: 50%; object-fit: cover; border: 1px solid var(--ed-line); background: var(--ed-white); }
.ed-talk__bubble { position: relative; flex: 1; padding: 18px 24px 20px; background: var(--ed-white); border: 1px solid var(--ed-line); border-radius: 18px; font-size: 16px; line-height: 1.9; letter-spacing: 0.04em; }
.ed-talk__bubble::before { content: ''; position: absolute; left: -9px; top: 28px; width: 16px; height: 16px; background: inherit; border-left: 1px solid var(--ed-line); border-bottom: 1px solid var(--ed-line); transform: rotate(45deg); }
.ed-talk__name { display: block; margin-bottom: 2px; font-size: 11px; letter-spacing: 0.16em; color: var(--ed-sub); }
.ed-lesson .ed-talk + .ed-lesson__items, .ed-lesson__main + .ed-lesson__items { margin-top: clamp(32px, 4vw, 48px); }
.ed-lesson__main:empty { display: none; }
.ed-lesson__items + .ed-talk { margin-top: clamp(40px, 5vw, 64px); margin-bottom: 0; }
.ed-lesson__items { display: grid; gap: clamp(20px, 2.4vw, 32px); }
.ed-lesson__item { display: flex; flex-direction: column; height: 100%; padding: clamp(20px, 2.4vw, 28px); background: var(--ed-white); border: 1px solid var(--ed-line); border-radius: 8px; transition: border-color 0.3s; }
a.ed-lesson__item:hover { border-color: var(--ed-ink); }
.ed-lesson__img { width: 100%; max-width: 220px; aspect-ratio: 4 / 3; object-fit: contain; margin: 0 auto 18px; }
.ed-lesson__title { font-family: var(--ed-serif); font-size: 18px; font-weight: 500; letter-spacing: 0.08em; line-height: 1.7; }
.ed-lesson__text { margin-top: 10px; font-size: 14px; line-height: 2; color: var(--ed-sub); }
.ed-lesson__rows { border-top: 1px solid var(--ed-ink); margin-top: 8px; }
.ed-lesson__rows > div { display: grid; grid-template-columns: 11em 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--ed-line); font-size: 14.5px; line-height: 1.9; }
.ed-lesson__rows dt { font-weight: 500; }
.ed-lesson__rows dd { color: var(--ed-sub); }
.ed-lesson .ed-prose + .ed-lesson__rows { margin-top: 24px; }
@media (max-width: 600px) {
  .ed-talk__face { width: 56px; height: 56px; }
  .ed-talk__bubble { font-size: 15px; padding: 14px 18px 16px; }
  .ed-lesson__rows > div { grid-template-columns: 1fr; gap: 4px; }
  .ed-phero__illust { border-radius: 4px; }
}

/* ---- 導入実績（施設ごとの写真つきカード） ---- */
.ed-cases__aside { display: grid; gap: 16px; justify-items: start; }
.ed-cases__total { display: flex; align-items: baseline; gap: 6px; font-family: var(--ed-en); font-size: clamp(34px, 3.6vw, 46px); line-height: 1; font-variant-numeric: lining-nums tabular-nums; }
.ed-cases__total span { font-family: var(--ed-sans); font-size: 12px; letter-spacing: 0.12em; color: var(--ed-sub); margin-right: 8px; }
.ed-cases__total small { font-family: var(--ed-sans); font-size: 13px; letter-spacing: 0.08em; }
.ed-cases__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 3vw, 44px) clamp(20px, 2.4vw, 32px); }
.ed-cases__item { display: flex; flex-direction: column; }
.ed-cases__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--ed-paper); }
.ed-sec--tint .ed-cases__img.ed-ph { background: var(--ed-white); }
.ed-cases__body { padding-top: 16px; border-bottom: 1px solid var(--ed-line); padding-bottom: 16px; flex: 1; }
.ed-cases__title { font-family: var(--ed-serif); font-size: 18px; letter-spacing: 0.08em; line-height: 1.6; }
.ed-cases__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 6px; font-size: 13px; color: var(--ed-sub); letter-spacing: 0.08em; }
.ed-cases__value { font-family: var(--ed-en); font-size: 24px; color: var(--ed-ink); font-variant-numeric: lining-nums tabular-nums; letter-spacing: 0.02em; }
.ed-cases__note { margin-top: 6px; font-size: 12px; color: var(--ed-sub); }
@media (max-width: 991px) { .ed-cases__list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .ed-cases__list { grid-template-columns: 1fr; } }

/* フッター: 情報セキュリティの下の文書（JC-STAR 等で公開が必要な文書） */
.ed-footer__cols li.ed-footer__sub { margin-top: 6px; padding-left: 1em; font-size: 12px; }
.ed-footer__cols li.ed-footer__sub a::before { content: "\2514\00a0"; color: rgba(255, 255, 255, 0.4); }
