@charset "UTF-8";

/* ============================================
   株式会社MG select  共通スタイル
   色：砂ベージュ／柿オレンジ／焦茶
   書体：Zen Maru Gothic（見出し）／Zen Kaku Gothic New（本文）
   ============================================ */

:root {
  /* 背景・文字 */
  --sand:       #f5f0e6;
  --sand-deep:  #eae0cd;
  --paper:      #fffdf8;
  --ink:        #33312d;
  --ink-soft:   #6b665e;
  --ink-faint:  #979086;
  --line:       #e3dccd;

  /* ロゴの青＝会社を表す色 */
  --blue:       #046fdb;   /* ロゴそのまま。面積の小さい箇所に */
  --blue-deep:  #0b57a8;   /* リンク・文字。可読性を確保した濃さ */
  --blue-tint:  #eaf2fc;

  /* オレンジ＝行動を促す色。電話とCTAだけに使う */
  --orange:     #e06a24;
  --orange-deep:#bc5217;
  --orange-tint:#fdf0e5;

  --moss:       #7a8b62;

  --radius-s: 8px;
  --radius-m: 16px;
  --radius-l: 28px;

  --shell: 1080px;
  --gutter: clamp(20px, 5vw, 40px);

  --font-round: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "ヒラギノ丸ゴ ProN", sans-serif;
  --font-body:  "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.9;
  font-feature-settings: "palt";
  -webkit-text-size-adjust: 100%;
}

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

a { color: var(--blue-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

h1, h2, h3, h4 {
  font-family: var(--font-round);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.01em;
  margin: 0;
}

p { margin: 0 0 1.2em; }
p:last-child { margin-bottom: 0; }

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.shell--narrow { max-width: 800px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- ヘッダー ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 253, 249, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 72px;
}
.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  white-space: nowrap;
  text-decoration: none;
  color: inherit;
  margin-right: auto;
}
.brand-name {
  font-family: var(--font-round);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: 0.02em;
}
.brand-name span { color: var(--orange); }
.brand-sub {
  font-size: 12px;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list a {
  color: var(--ink);
  text-decoration: none;
  font-size: 14.5px;
  white-space: nowrap;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.nav-list a:hover { border-bottom-color: var(--blue); }
.nav-list a[aria-current="page"] {
  color: var(--blue-deep);
  border-bottom-color: var(--blue);
}

.header-tel {
  text-align: right;
  line-height: 1.3;
  text-decoration: none;
  color: inherit;
}
.header-tel .num {
  display: block;
  white-space: nowrap;
  font-family: var(--font-round);
  font-size: 20px;
  font-weight: 700;
  color: var(--blue-deep);
}
.header-tel .hours { display: block; white-space: nowrap; font-size: 11px; color: var(--ink-soft); }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  background: var(--paper);
  cursor: pointer;
  padding: 0;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 20px; height: 2px;
  background: var(--ink);
  margin-inline: auto;
  border-radius: 2px;
  content: "";
  position: relative;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after  { position: absolute; top: 6px; }

@media (max-width: 1120px) {
  .header-tel { display: none; }
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    inset: 100% 0 auto 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    display: none;
    padding: 8px var(--gutter) 22px;
  }
  .site-nav.is-open { display: block; }
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav-list a {
    display: block;
    padding: 14px 4px;
    border-bottom: 1px solid var(--line);
  }
  .nav-list a:hover { border-bottom-color: var(--line); }
}

/* ---------- ボタン ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-round);
  font-weight: 700;
  font-size: 16px;
  padding: 15px 30px;
  border-radius: 999px;
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--tel {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 6px 0 var(--orange-deep);
}
.btn--tel:hover { background: var(--orange-deep); box-shadow: 0 4px 0 var(--orange-deep); }
.btn--line {
  background: #06c755;
  color: #fff;
  box-shadow: 0 6px 0 #049c43;
}
.btn--line:hover { box-shadow: 0 4px 0 #049c43; }
.btn--ghost {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--blue); color: var(--blue-deep); }
.btn--wide { width: 100%; max-width: 340px; }

/* ---------- ヒーロー（トップ） ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 88% 8%, #fbeedd 0%, rgba(251,238,221,0) 60%),
    var(--sand);
  padding: clamp(48px, 8vw, 84px) 0 clamp(56px, 8vw, 96px);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
}
.hero-lead {
  display: inline-block;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 18px;
  font-size: 13.5px;
  color: var(--ink-soft);
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(27px, 4.3vw, 44px);
  line-height: 1.42;
  letter-spacing: -0.01em;
  margin-bottom: 22px;
}
.hero h1 .quiet { color: var(--ink-soft); font-size: 0.62em; display: block; margin-top: 14px; letter-spacing: 0.02em; }
.hero-text { font-size: 16.5px; color: var(--ink-soft); max-width: 34em; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}
.hero-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--ink-soft);
}

.hero-art {
  background: var(--paper);
  border-radius: var(--radius-l);
  border: 1px solid var(--line);
  padding: 22px;
}
.hero-art svg { width: 100%; height: auto; }
.hero-art figcaption {
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--ink-faint);
  text-align: center;
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
}

/* ---------- セクション共通 ---------- */

.section { padding: clamp(56px, 8vw, 96px) 0; }
.section--paper { background: var(--paper); }
.section--tint  { background: var(--orange-tint); }

.section-head { margin-bottom: clamp(28px, 4vw, 48px); }
.section-head h2 {
  font-size: clamp(23px, 3.4vw, 33px);
  line-height: 1.5;
}
.section-head p {
  margin-top: 14px;
  color: var(--ink-soft);
  max-width: 40em;
}

.page-head {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: clamp(38px, 6vw, 66px) 0 clamp(30px, 5vw, 50px);
}
.page-head h1 {
  font-size: clamp(26px, 4.4vw, 40px);
  margin-bottom: 14px;
}
.page-head p { color: var(--ink-soft); max-width: 42em; }

.crumbs {
  font-size: 12.5px;
  color: var(--ink-faint);
  margin-bottom: 16px;
}
.crumbs a { color: var(--ink-soft); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* ---------- 吹き出し ---------- */

.bubbles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px 26px;
}
.bubble {
  position: relative;
  background: var(--paper);
  border: 2px solid var(--line);
  border-radius: 22px;
  padding: 22px 24px;
  font-size: 16px;
}
.bubble::after,
.bubble::before {
  content: "";
  position: absolute;
  bottom: -14px;
  left: 34px;
  width: 0; height: 0;
  border-style: solid;
}
.bubble::before {
  border-width: 14px 12px 0 0;
  border-color: var(--line) transparent transparent transparent;
}
.bubble::after {
  bottom: -11px;
  border-width: 12px 10px 0 0;
  border-color: var(--paper) transparent transparent transparent;
}
.bubble-who {
  display: block;
  margin-top: 20px;
  margin-left: 12px;
  font-size: 13px;
  color: var(--ink-faint);
}
.bubble--tint { background: var(--blue-tint); border-color: #d5e4f6; }
.bubble--tint::after { border-top-color: var(--blue-tint); }
.bubble--tint::before { border-top-color: #d5e4f6; }

/* 返答（オレンジの吹き出し・右向き） */
.reply {
  position: relative;
  background: var(--blue);
  color: #fff;
  border-radius: 22px;
  padding: 24px 26px;
  font-family: var(--font-round);
  font-weight: 700;
  font-size: clamp(17px, 2.4vw, 21px);
  line-height: 1.7;
  max-width: 30em;
  margin-left: auto;
}
.reply::after {
  content: "";
  position: absolute;
  top: -13px;
  right: 40px;
  border-style: solid;
  border-width: 0 0 14px 12px;
  border-color: transparent transparent var(--blue) transparent;
}

/* ---------- カード ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 28px 26px;
}
.card h3 {
  font-size: 19px;
  margin-bottom: 12px;
}
.card p { font-size: 15px; color: var(--ink-soft); }
.card-mark {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--blue-tint);
  color: var(--blue-deep);
  margin-bottom: 16px;
}
.card-mark svg { width: 22px; height: 22px; }

/* サービス一覧 */
.service-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.service-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 5px solid var(--blue);
  border-radius: var(--radius-m);
  padding: 26px 26px 24px;
}
.service-item h3 { font-size: 19px; margin-bottom: 10px; }
.service-item p { font-size: 15px; color: var(--ink-soft); margin-bottom: 14px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  font-size: 12.5px;
  background: var(--sand);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  border-radius: 999px;
  padding: 4px 12px;
}

/* 施工事例 */
.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
}
.work {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.work-body { padding: 22px 24px 26px; }
.work-body h3 { font-size: 18px; margin-bottom: 10px; }
.work-meta {
  font-size: 12.5px;
  color: var(--ink-faint);
  margin-bottom: 12px;
}
.work-body p { font-size: 15px; color: var(--ink-soft); }

/* 写真プレースホルダー */
.photo-slot {
  aspect-ratio: 4 / 3;
  background:
    repeating-linear-gradient(135deg, #f2e9da 0 12px, #efe4d2 12px 24px);
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--ink-faint);
  font-size: 13px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}
.photo-slot--wide { aspect-ratio: 16 / 9; border-radius: var(--radius-m); border: 1px dashed var(--line); }
.photo-slot--square { aspect-ratio: 1 / 1; border-radius: 50%; border: 1px dashed var(--line); }

/* ---------- 流れ（ステップ） ---------- */

.steps {
  display: grid;
  gap: 0;
  counter-reset: step;
}
.step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 22px;
  padding: 0 0 34px;
  position: relative;
}
.step:last-child { padding-bottom: 0; }
.step::before {
  counter-increment: step;
  content: counter(step);
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-round);
  font-weight: 700;
  font-size: 18px;
}
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 22px;
  top: 52px;
  bottom: 8px;
  width: 2px;
  background: var(--line);
}
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { font-size: 15px; color: var(--ink-soft); }

/* ---------- 定義リスト（会社概要） ---------- */

.info-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  overflow: hidden;
}
.info-table th,
.info-table td {
  text-align: left;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  font-size: 15.5px;
  vertical-align: top;
}
.info-table th {
  width: 190px;
  font-family: var(--font-round);
  font-weight: 700;
  background: var(--sand);
  white-space: nowrap;
}
.info-table tr:last-child th,
.info-table tr:last-child td { border-bottom: 0; }
@media (max-width: 640px) {
  .info-table th, .info-table td { display: block; width: auto; }
  .info-table th { border-bottom: 0; padding-bottom: 6px; }
  .info-table td { padding-top: 0; }
}

/* ---------- FAQ ---------- */

.faq { border-top: 1px solid var(--line); }
.faq details {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 52px 20px 24px;
  font-family: var(--font-round);
  font-weight: 700;
  font-size: 16.5px;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 24px; top: 50%;
  width: 11px; height: 11px;
  border-right: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .faq-body {
  padding: 0 24px 24px;
  font-size: 15px;
  color: var(--ink-soft);
}

/* ---------- フォーム ---------- */

.form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: clamp(24px, 4vw, 40px);
}
.field { margin-bottom: 24px; }
.field label {
  display: block;
  font-family: var(--font-round);
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 8px;
}
.req {
  font-size: 11.5px;
  background: var(--blue);
  color: #fff;
  border-radius: 4px;
  padding: 2px 7px;
  margin-left: 8px;
  vertical-align: 2px;
}
.opt {
  font-size: 11.5px;
  background: var(--sand-deep);
  color: var(--ink-soft);
  border-radius: 4px;
  padding: 2px 7px;
  margin-left: 8px;
  vertical-align: 2px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 16px;
  color: var(--ink);
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  padding: 13px 14px;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 3px solid var(--blue);
  outline-offset: 1px;
  background: var(--paper);
}
.field-help { font-size: 13px; color: var(--ink-soft); margin-top: 8px; }

/* ---------- CTA帯 ---------- */

.cta {
  background: var(--ink);
  color: #fff;
  padding: clamp(48px, 7vw, 78px) 0;
}
.cta h2 {
  font-size: clamp(22px, 3.4vw, 32px);
  margin-bottom: 16px;
}
.cta p { color: #ded4c7; max-width: 38em; }
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}
.cta-tel {
  margin-top: 26px;
  font-size: 14px;
  color: #cfc4b5;
}
.cta-tel strong {
  font-family: var(--font-round);
  font-size: 27px;
  color: #fff;
  display: block;
  letter-spacing: 0.02em;
}

/* ---------- フッター ---------- */

.site-footer {
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding: 54px 0 110px;
  font-size: 14.5px;
}
@media (min-width: 1121px) { .site-footer { padding-bottom: 40px; } }
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 36px;
  margin-bottom: 32px;
}
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .brand-name { font-size: 22px; }
.footer-address { color: var(--ink-soft); margin-top: 14px; line-height: 1.9; }
.footer-links {
  list-style: none;
  margin: 0; padding: 0;
  columns: 2;
  gap: 20px;
}
.footer-links li { margin-bottom: 10px; break-inside: avoid; }
.footer-links a { color: var(--ink); text-decoration: none; }
.footer-links a:hover { color: var(--blue-deep); text-decoration: underline; }
.copyright {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  font-size: 12.5px;
  color: var(--ink-faint);
}

/* ---------- スマホ固定バー ---------- */

.sticky-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
}
.sticky-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 8px;
  font-family: var(--font-round);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  color: #fff;
}
.sticky-bar .b-tel  { background: var(--orange); }
.sticky-bar .b-line { background: #06c755; }
.sticky-bar svg { width: 19px; height: 19px; }
@media (min-width: 1121px) { .sticky-bar { display: none; } }

/* ---------- 汎用 ---------- */

.stack > * + * { margin-top: 22px; }
.center { text-align: center; }
.mt-l { margin-top: clamp(32px, 5vw, 52px); }
.lead { font-size: 17px; }
.note {
  font-size: 13.5px;
  color: var(--ink-soft);
  background: var(--sand);
  border: 1px dashed var(--line);
  border-radius: var(--radius-s);
  padding: 14px 16px;
}
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  font-size: 15.5px;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 4px; top: 0.62em;
  width: 11px; height: 6px;
  border-left: 2.5px solid var(--moss);
  border-bottom: 2.5px solid var(--moss);
  transform: rotate(-45deg);
}
.map-frame {
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  overflow: hidden;
  background: var(--paper);
}
.map-frame iframe { width: 100%; height: 380px; border: 0; display: block; }

/* ---------- 2カラム（写真＋文章 / 並列カード） ---------- */

.split-media {
  display: grid;
  grid-template-columns: minmax(200px, 290px) 1fr;
  gap: clamp(24px, 4vw, 44px);
  align-items: start;
}
.split-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 760px) {
  .split-media, .split-2 { grid-template-columns: 1fr; }
}
.photo-caption {
  text-align: center;
  margin-top: 14px;
  font-size: 14px;
  color: var(--ink-soft);
}
.tel-big {
  font-family: var(--font-round);
  font-size: 30px;
  font-weight: 700;
  color: var(--blue-deep);
  margin: 10px 0 4px;
  line-height: 1.3;
}
.qr-slot {
  max-width: 150px;
  margin: 14px auto 0;
  border-radius: var(--radius-s);
  aspect-ratio: 1 / 1;
}
.mt-cta { margin-top: 14px; }
.tag-row--spaced { margin-top: 14px; }
.note--lead { margin-bottom: 32px; }

/* 見出しの改行位置を意図どおりに（日本語の途中で折らない） */
.hero h1 .line {
  display: block;
  word-break: keep-all;
}

/* 中間幅ではキャッチコピーを省いてヘッダーを一行に保つ */
@media (max-width: 1240px) {
  .brand-sub { display: none; }
}

/* 並列カード内のボタンを下端で揃える */
.split-2 .card {
  display: flex;
  flex-direction: column;
}
.split-2 .card .btn--wide {
  margin-top: auto;
  margin-inline: auto;
}


/* ---------- ロゴ ---------- */

.brand-logo {
  width: auto;
  height: 46px;
  display: block;
  flex: none;
}
.footer-brand .brand-logo { height: 62px; margin-bottom: 4px; }
@media (max-width: 520px) { .brand-logo { height: 40px; } }

/* ---------- イラスト差し込み枠（発注用の指示つき） ---------- */

.illus-slot {
  border: 2px dashed #bcd0ea;
  border-radius: var(--radius-m);
  background:
    repeating-linear-gradient(135deg, #f2f6fc 0 14px, #eaf1fa 14px 28px);
  padding: 26px 24px;
  text-align: center;
  display: grid;
  place-content: center;
  gap: 8px;
  min-height: 200px;
}
.illus-slot .il-code {
  font-family: var(--font-round);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #fff;
  background: var(--blue);
  border-radius: 999px;
  padding: 3px 12px;
  justify-self: center;
}
.illus-slot .il-what {
  font-family: var(--font-round);
  font-weight: 700;
  font-size: 15.5px;
  color: var(--ink);
  line-height: 1.7;
}
.illus-slot .il-spec {
  font-size: 12.5px;
  color: var(--ink-soft);
  line-height: 1.8;
}
.illus-slot--wide { min-height: 240px; }
.illus-slot--square { aspect-ratio: 1 / 1; min-height: 0; }

/* マークと社名を並べる形。マークだけにしたい場合は .brand-text を display:none に */
.brand { align-items: center; gap: 11px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-name span { color: var(--blue); }
.footer-brand .brand-logo { height: 62px; }
@media (max-width: 400px) { .brand-name { font-size: 18px; } }


/* ---------- 線画イラスト ---------- */

.illus { margin: 0; }
.illus img { width: 100%; height: auto; display: block; }
.illus--c { margin-inline: auto; max-width: 620px; }
.illus--m { max-width: 540px; }
.illus--s { max-width: 480px; }

/* 吹き出しの話し手として置く場合 */
.says {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 32px);
}
.says .illus { flex: 0 0 clamp(140px, 24%, 220px); }
.says .reply { margin-left: 0; }
@media (max-width: 640px) {
  .says { flex-direction: column; align-items: flex-start; gap: 4px; }
  .says .illus { flex: none; width: 150px; margin-left: 8px; }
  .says .reply { max-width: none; }
}

/* 写真＋文章の2カラムを左右入れ替える */
.split-media--rev { grid-template-columns: 1fr minmax(200px, 290px); align-items: center; }
.split-media--rev > .illus { order: 2; }
@media (max-width: 760px) {
  .split-media--rev { grid-template-columns: 1fr; }
  .split-media--rev > .illus { order: -1; max-width: 260px; }
}
