@charset "UTF-8";
/* トップページ専用。2026年9月15日にワイヤーフレーム3a（課題から選ぶ＋接続サービス導線）へ組み替え。
   共通ページのスタイルは変更しない。変更前は _資料/20260915 トップ3a適用/100 変更前/ にある。 */
body.gi-home {
  --gh-brand: #e5231f; /* ロゴの赤。装飾に使用 */
  --gh-brand-ink: #c51f1b; /* 小さな文字・白文字ボタンのコントラストを確保 */
  --gh-panel-line: #d7e0e9;
  --gh-soft: #f4f7fa;
  --gi-accent: var(--gh-brand-ink);
  --gi-accent-line: #e4b9b7;
  --gi-sub: #566574;
  font-size: 1rem;
  line-height: 1.9;
}

/* --------------------------------------------------------------------------
   土台（AIセミナー・AI・DX支援と共通する、項目ごとの面と余白）
   -------------------------------------------------------------------------- */
.gi-home main { background: #f0f3f6; padding-bottom: 56px; }
.gi-home main [id] { scroll-margin-top: 24px; }
.gi-home .gh-phrase { display: inline-block; max-width: 100%; }
.gi-home main a:focus-visible { outline: 3px solid var(--gi-accent); outline-offset: 4px; }

.gi-home .gi-section { padding: 0; }
.gi-home .gh-chapter { padding: 0 20px; margin-top: 48px; background: transparent; border: 0; }
.gi-home .gh-chapter__panel { padding: 36px 40px 40px; border: 1px solid var(--gh-panel-line); border-top: 4px solid var(--gi-navy); background: #fff; border-radius: 0 0 6px 6px; }
.gi-home .gh-chapter__panel > .gi-eyebrow { margin: 0 0 10px; }
.gi-home .gh-chapter__panel > .gi-h2 { margin-top: 0; }
.gi-home .gh-chapter__panel > :last-child { margin-bottom: 0; }

.gi-home .gi-h2 { font-size: clamp(24px, 2.6vw, 30px); line-height: 1.6; }
.gi-home .gi-eyebrow { font-size: 12px; letter-spacing: .14em; }
.gi-home .gh-section-lead { margin: 12px 0 0; font-size: 1rem; }

.gi-home .gi-btn { font-size: 14px; padding: 12px 22px; }
.gi-home .gi-btn--brand { color: #fff; background: var(--gh-brand-ink); border-color: var(--gh-brand-ink); }
.gi-home .gi-btn--brand:hover { color: #fff; background: #a71916; border-color: #a71916; }
/* 外部サイトへ行くボタンは › の代わりに ↗ */
.gi-home .gi-btn.gh-btn-ext::after { content: " ↗"; }

.gi-home .gh-link { color: var(--gi-navy); font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.gi-home .gh-linkrow { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; }

/* --------------------------------------------------------------------------
   02 ファーストビュー
   -------------------------------------------------------------------------- */
.gi-home .gh-hero { padding: 44px 0 40px; background: var(--gi-bg-alt); border-bottom: 1px solid var(--gi-line); }
.gi-home .gh-hero h1 { margin: 0; color: var(--gi-navy); font-size: clamp(30px, 3.4vw, 42px); font-weight: 700; line-height: 1.5; letter-spacing: .02em; }
.gi-home .gh-hero__em { color: var(--gh-brand-ink); }
.gi-home .gh-hero__lead { margin: 14px 0 0; color: var(--gi-sub); font-size: 16px; }

/* 3つの事業のカード。カード全体が各事業のページへのリンク */
.gi-home .gh-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 28px 0 0; padding: 0; list-style: none; }
.gi-home .gh-cards li { display: flex; min-width: 0; }
.gi-home .gh-card {
  position: relative; display: flex; flex-direction: column; width: 100%; overflow: hidden;
  border: 1px solid var(--gh-panel-line); border-radius: 6px; background: #fff; color: var(--gi-text);
  transition: border-color .15s, box-shadow .15s;
}
.gi-home .gh-card:hover { border-color: var(--gi-navy); box-shadow: 0 4px 14px rgba(15, 47, 86, .14); text-decoration: none; }
.gi-home .gh-card img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.gi-home .gh-card__body { display: flex; flex-direction: column; flex: 1 1 auto; padding: 16px 20px 18px; }
.gi-home .gh-card__number { color: var(--gi-accent); font-size: 13px; font-weight: 700; }
.gi-home .gh-card__title { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 2px 0 6px; color: var(--gi-navy); font-size: 22px; font-weight: 700; line-height: 1.5; }
/* 「›」は事業名の右に置き、説明文が横幅いっぱいを使えるようにする */
.gi-home .gh-card__title::after { content: "›"; flex: 0 0 auto; font-size: 26px; font-weight: 400; line-height: 1; }
.gi-home .gh-card:hover .gh-card__title { text-decoration: underline; text-underline-offset: 4px; }
.gi-home .gh-card__text { font-size: 15px; line-height: 1.8; }
/* 事業のページごとに写真の見せたい位置を合わせる */
.gi-home .gh-cards li:nth-child(2) .gh-card img { object-position: center top; }

/* カードの下の入口。カードとは性格が違うため一回り小さくし、横長の枠で並べる */
.gi-home .gh-subentry { display: flex; flex-wrap: wrap; align-items: stretch; gap: 16px 20px; margin-top: 18px; }
.gi-home .gh-subentry__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; flex: 1 1 520px; margin: 0; padding: 0; list-style: none; }
.gi-home .gh-subentry__list li { display: flex; min-width: 0; }
.gi-home .gh-subcard {
  position: relative; display: flex; flex-direction: column; justify-content: center; width: 100%;
  padding: 12px 44px 12px 18px;
  border: 1px solid var(--gh-panel-line); border-left: 4px solid var(--gi-navy); border-radius: 4px;
  background: #fff; color: var(--gi-text); line-height: 1.6;
}
.gi-home .gh-subcard:hover { border-color: var(--gi-navy); background: var(--gh-soft); text-decoration: none; }
.gi-home .gh-subcard::after { content: "›"; position: absolute; right: 16px; top: 50%; transform: translateY(-52%); color: var(--gi-navy); font-size: 24px; line-height: 1; }
.gi-home .gh-subcard--ext::after { content: "↗"; font-size: 17px; }
.gi-home .gh-subcard__label { color: var(--gi-sub); font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.gi-home .gh-subcard__title { color: var(--gi-navy); font-size: 17px; font-weight: 700; }
.gi-home .gh-subcard:hover .gh-subcard__title { text-decoration: underline; text-underline-offset: 4px; }
.gi-home .gh-subcard__text { color: var(--gi-sub); font-size: 13px; }
.gi-home .gh-consult {
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; align-self: center;
  min-height: 56px; padding: 12px 34px; border-radius: 999px;
  background: var(--gh-brand-ink); color: #fff; font-size: 16px; font-weight: 700; letter-spacing: .04em;
}
.gi-home .gh-consult::after { content: " ›"; margin-left: 6px; }
.gi-home .gh-consult:hover { background: #a71916; color: #fff; text-decoration: none; }
.gi-home .gh-card:focus-visible, .gi-home .gh-subcard:focus-visible, .gi-home .gh-consult:focus-visible { outline: 3px solid var(--gi-accent); outline-offset: 3px; }

/* --------------------------------------------------------------------------
   03 どんな会社か
   -------------------------------------------------------------------------- */
.gi-home .gh-about { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px; align-items: center; margin-top: 20px; }
.gi-home .gh-about__body p { margin: 0 0 14px; }
.gi-home .gh-about__body .gh-linkrow { margin-top: 18px; }
.gi-home .gh-about__photo { margin: 0; }
.gi-home .gh-about__photo img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 4px; }
.gi-home .gh-about__photo figcaption { margin-top: 8px; color: var(--gi-sub); font-size: 13px; }

/* --------------------------------------------------------------------------
   04 事業のご案内
   -------------------------------------------------------------------------- */
.gi-home .gh-biz {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: start;
  margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--gh-panel-line);
}
.gi-home .gi-h2 + .gh-biz { margin-top: 20px; padding-top: 0; border-top: 0; }
.gi-home .gh-biz__body { min-width: 0; }
.gi-home .gh-biz__body > p { margin: 0 0 14px; }
.gi-home .gh-biz__number { color: var(--gi-accent); font-size: 14px; font-weight: 700; margin: 0 0 6px; }
.gi-home .gh-biz h3 { margin: 0 0 12px; color: var(--gi-navy); font-size: 24px; line-height: 1.5; }
.gi-home .gh-biz__body > .gh-linkrow { margin-top: 18px; }

/* 担当者。トップでは名前と一文だけにし、写真と経歴は各事業のページに任せる */
.gi-home .gh-biz__body > .gh-staff { margin: 16px 0 0; padding: 12px 16px; border-left: 3px solid var(--gi-navy); background: var(--gh-soft); border-radius: 0 4px 4px 0; font-size: 15px; }
.gi-home .gh-staff b { margin-right: 10px; color: var(--gi-navy); font-size: 17px; }
.gi-home .gh-staff span { display: inline-block; margin-right: 12px; color: var(--gi-sub); font-size: 13px; }

/* 事例 */
.gi-home .gh-case { min-width: 0; padding: 22px 24px; border: 1px solid var(--gh-panel-line); border-top: 3px solid var(--gi-navy); border-radius: 0 0 4px 4px; background: var(--gh-soft); }
.gi-home .gh-case > p { margin: 0 0 14px; font-size: 15px; }
.gi-home .gh-case > :last-child { margin-bottom: 0; }
.gi-home .gh-case .gh-case__meta { margin-bottom: 8px; color: var(--gi-sub); font-size: 13px; font-weight: 700; }
.gi-home .gh-case .gh-case__title { color: var(--gi-navy); font-size: 19px; font-weight: 700; line-height: 1.65; }
.gi-home .gh-case .gh-case__status { color: var(--gi-sub); font-size: 13px; }
.gi-home .gh-case__screen { margin: 0 0 16px; }
.gi-home .gh-case__screen img { display: block; width: 100%; height: auto; border: 1px solid var(--gi-line); border-radius: 4px; }
.gi-home .gh-case__screen figcaption { margin-top: 8px; color: var(--gi-sub); font-size: 13px; line-height: 1.7; }
.gi-home .gh-case .gh-linkrow { flex-direction: column; gap: 8px; }
.gi-home .gh-shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 16px; }
.gi-home .gh-shots figure { margin: 0; min-width: 0; }
.gi-home .gh-shots a { display: block; }
.gi-home .gh-shots img { display: block; width: 100%; height: auto; border: 1px solid var(--gi-line); }
.gi-home .gh-shots a:hover img { border-color: var(--gi-navy); }
.gi-home .gh-shots figcaption { margin-top: 6px; font-size: 13px; line-height: 1.7; }

/* 研修・セミナーの3つの形。横に3枚並べ、カード全体を AIセミナーのページの各節へのリンクにする */
.gi-home .gh-biz--wide { grid-template-columns: 1fr; gap: 16px; }
.gi-home .gh-biz--wide .gh-biz__body > p:last-child { margin-bottom: 0; }
.gi-home .gh-learn { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.gi-home .gh-learn li { display: flex; min-width: 0; }
.gi-home .gh-learn__card {
  display: flex; flex-direction: column; width: 100%;
  padding: 18px 20px 16px;
  border: 1px solid var(--gh-panel-line); border-top: 3px solid var(--gi-navy); border-radius: 0 0 4px 4px;
  background: var(--gh-soft); color: var(--gi-text);
}
.gi-home .gh-learn__card:hover { border-color: var(--gi-navy); background: #fff; text-decoration: none; }
.gi-home .gh-learn__card:focus-visible { outline: 3px solid var(--gi-accent); outline-offset: 3px; }
.gi-home .gh-learn__for { align-self: flex-start; padding: 0 10px; border: 1px solid var(--gi-line); border-radius: 999px; background: #fff; color: var(--gi-navy); font-size: 12px; font-weight: 700; line-height: 22px; }
.gi-home .gh-learn__title { margin: 10px 0 6px; color: var(--gi-navy); font-size: 18px; font-weight: 700; line-height: 1.5; }
.gi-home .gh-learn__text { flex: 1 1 auto; font-size: 15px; line-height: 1.8; }
.gi-home .gh-learn__more { margin-top: 14px; color: var(--gi-navy); font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.gi-home .gh-learn__more::after { content: " →"; }
.gi-home .gh-learn__card:hover .gh-learn__title { text-decoration: underline; text-underline-offset: 4px; }

/* ドローンは1行の案内 */
.gi-home .gh-biz--compact { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
.gi-home .gh-biz--compact .gh-biz__body > p:last-child { margin-bottom: 0; }
.gi-home .gh-biz__act .gi-btn { margin: 0; }
.gi-home .gh-biz__note { margin: 8px 0 0; color: var(--gi-sub); font-size: 13px; }

/* --------------------------------------------------------------------------
   05 接続サービス
   -------------------------------------------------------------------------- */
.gi-home .gh-ispgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 24px 0 0; padding: 0; list-style: none; }
.gi-home .gh-ispgrid li { display: flex; min-width: 0; }
.gi-home .gh-ispcard { position: relative; display: block; width: 100%; padding: 16px 36px 16px 18px; border: 1px solid var(--gh-panel-line); border-top: 3px solid var(--gi-navy); border-radius: 0 0 4px 4px; background: var(--gh-soft); }
.gi-home .gh-ispcard:hover { border-color: var(--gi-navy); background: #fff; text-decoration: none; }
.gi-home .gh-ispcard::after { content: "›"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--gi-navy); font-size: 22px; line-height: 1; }
.gi-home .gh-ispcard__title { display: block; color: var(--gi-navy); font-size: 17px; font-weight: 700; line-height: 1.6; }
.gi-home .gh-ispcard__text { display: block; margin-top: 4px; color: var(--gi-sub); font-size: 14px; line-height: 1.7; }
.gi-home .gi-renew { border-radius: 4px; }
.gi-home .gi-renew__txt, .gi-home .gi-list { font-size: 1rem; }
.gi-home .gi-list li::before { top: calc(5px + .95em); }
.gi-home .gi-renew__hours, .gi-home .gi-renew__note { font-size: 14px; }

/* --------------------------------------------------------------------------
   06 お知らせ（タブ）
   JSが動くと .is-ready が付き、タブの見た目になる。付かないときは縦に並ぶ
   -------------------------------------------------------------------------- */
.gi-home .gh-news-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 24px; }
.gi-home .gh-news-head .gi-eyebrow { margin: 0 0 10px; }
.gi-home .gh-news-head .gi-h2 { margin: 0; }
.gi-home .gh-news-head__links { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 20px; margin: 0; }
.gi-home .gh-news-head__links span { color: var(--gi-sub); font-size: 13px; }
.gi-home .gh-tabs { margin-top: 20px; }
.gi-home .gh-tabs__list { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0 0 12px; padding: 0; list-style: none; font-size: 14px; }
.gi-home .gh-tabs__list a { color: var(--gi-navy); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.gi-home .gh-tabs__panel + .gh-tabs__panel { margin-top: 28px; }
.gi-home .gh-tabs__heading { margin: 0 0 6px; color: var(--gi-navy); font-size: 17px; }
.gi-home .gh-tabs__panel[hidden] { display: none; }
.gi-home .gh-tabs__panel:focus { outline: none; }

.gi-home .gh-tabs.is-ready .gh-tabs__list { gap: 0; margin: 0; border-bottom: 2px solid var(--gi-navy); }
.gi-home .gh-tabs.is-ready .gh-tabs__list a {
  display: block; padding: 10px 20px;
  border: 1px solid transparent; border-bottom: 0; border-radius: 4px 4px 0 0;
  color: var(--gi-sub); text-decoration: none; white-space: nowrap;
}
.gi-home .gh-tabs.is-ready .gh-tabs__list a:hover { color: var(--gi-navy); background: var(--gh-soft); }
.gi-home .gh-tabs.is-ready .gh-tabs__list a.is-active { background: var(--gi-navy); border-color: var(--gi-navy); color: #fff; }
.gi-home .gh-tabs.is-ready .gh-tabs__panel { margin-top: 0; padding-top: 6px; }
.gi-home .gh-tabs.is-ready .gh-tabs__heading { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.gi-home .gh-news { list-style: none; margin: 0; padding: 0; font-size: 15px; }
.gi-home .gh-news:empty { display: none; }
.gi-home .gh-news li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 12px 0; border-bottom: 1px solid var(--gi-line-soft); line-height: 1.8; }
.gi-home .gh-news time { flex: 0 0 auto; color: var(--gi-sub); font-size: 14px; }
.gi-home .gh-news li > a, .gi-home .gh-news li > span:last-child, .gi-home .gh-news details { flex: 1 1 320px; min-width: 0; }
.gi-home .gh-news a { text-decoration: underline; text-underline-offset: 4px; }
.gi-home .gh-news summary { cursor: pointer; }
.gi-home .gh-news-detail { margin: 8px 0 0; font-size: 14px; line-height: 1.9; }
.gi-home .gh-badge { flex: 0 0 auto; padding: 0 10px; border: 1px solid var(--gi-line); border-radius: 999px; background: #fff; color: var(--gi-navy); font-size: 12px; font-weight: 700; line-height: 22px; white-space: nowrap; }
.gi-home .gh-badge--alert { border-color: var(--gi-alert); color: var(--gi-alert); }
.gi-home .gh-tabs__more { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 24px; margin: 14px 0 0; }

.gi-home .gh-status { margin: 12px 0 0; padding: 10px 14px; border-radius: 4px; background: var(--gh-soft); font-size: 15px; }
.gi-home .gh-status--alert { background: #fbeceb; color: #8f2a20; }
.gi-home .gh-status--maintenance { background: #fbf1e4; color: #7c4a0c; }
.gi-home .gh-status__label { display: inline-block; margin-right: 10px; padding: 0 8px; border-radius: 3px; background: var(--gi-alert); color: #fff; font-size: 12px; font-weight: 700; line-height: 22px; }
.gi-home .gh-status--maintenance .gh-status__label { background: var(--gi-maint); }
.gi-home .gh-status a { text-decoration: underline; }

/* --------------------------------------------------------------------------
   07 AIセミナーの細い帯
   -------------------------------------------------------------------------- */
.gi-home .gh-strip-wrap { max-width: calc(var(--gi-wrap) + 40px); margin-top: 24px; padding: 0 20px; }
.gi-home .gh-strip {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px;
  margin: 0; padding: 14px 20px;
  border: 1px solid var(--gh-panel-line); border-left: 4px solid var(--gh-brand); border-radius: 0 4px 4px 0;
  background: #fff;
}
.gi-home .gh-strip__label { color: var(--gi-accent); font-size: 13px; font-weight: 700; white-space: nowrap; }
.gi-home .gh-strip__title { color: var(--gi-navy); font-size: 17px; font-weight: 700; white-space: nowrap; }
.gi-home .gh-strip__text { color: var(--gi-sub); font-size: 15px; }
.gi-home .gh-strip__link { margin-left: auto; white-space: nowrap; }

/* --------------------------------------------------------------------------
   08 お問い合わせ
   -------------------------------------------------------------------------- */
.gi-home .gh-contact-lead { margin: 12px 0 24px; font-size: 16px; }
.gi-home #contact .gi-consult { border-top: 3px solid var(--gi-accent); }
.gi-home .gi-note, .gi-home .gi-tel__hours { font-size: 14px; }
.gi-home .gh-contact-isp { margin: 16px 0 0; color: var(--gi-sub); font-size: 14px; }
.gi-home .gh-contact-isp a { color: var(--gi-navy); font-weight: 700; white-space: nowrap; }

/* 共通フッター内の文字 */
.gi-home .gi-footer, .gi-home .gi-footer__addr, .gi-home .gi-footer h4 { font-size: 14px; }
.gi-home .gi-footer li { padding: 6px 0; }

/* ヘッダー上段の会員サポート（狭い画面での並び） */
.gi-home .gh-memberlinks { display: flex; gap: 14px; margin-left: auto; font-size: 14px; color: var(--gi-sub); }
.gi-home .gh-memberlinks a { padding: 8px 0; white-space: nowrap; }

/* --------------------------------------------------------------------------
   中間幅
   -------------------------------------------------------------------------- */
@media (min-width: 768px) and (max-width: 1000px) {
  .gi-home .gh-learn { gap: 12px; }
  .gi-home .gh-learn__card { padding: 14px 14px 12px; }
  .gi-home .gh-learn__title { font-size: 16px; }
  .gi-home .gh-learn__text { font-size: 14px; line-height: 1.75; }
  .gi-home .gh-cards { gap: 14px; }
  .gi-home .gh-card__body { padding: 14px 16px 16px; }
  .gi-home .gh-card__title { font-size: 19px; }
  .gi-home .gh-card__text { font-size: 14px; }
  .gi-home .gh-consult { margin-left: auto; }
  .gi-home .gh-chapter__panel { padding-left: 28px; padding-right: 28px; }
  .gi-home .gh-biz { grid-template-columns: 1fr; gap: 20px; }
  .gi-home .gh-biz--compact { grid-template-columns: minmax(0, 1fr) auto; }
  .gi-home .gh-ispgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* --------------------------------------------------------------------------
   スマートフォン
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  .gi-home main { padding-bottom: 32px; }
  /* カードは写真を左に小さく置いた横長にし、3枚を縦に並べても長くなりすぎないようにする */
  .gi-home .gh-cards { grid-template-columns: 1fr; gap: 10px; margin-top: 20px; }
  .gi-home .gh-learn { grid-template-columns: 1fr; gap: 10px; }
  .gi-home .gh-learn__card { padding: 16px; }
  .gi-home .gh-card { display: grid; grid-template-columns: 112px minmax(0, 1fr); }
  .gi-home .gh-card img { height: 100%; aspect-ratio: auto; }
  .gi-home .gh-cards li:nth-child(2) .gh-card img { object-position: left top; }
  .gi-home .gh-card__body { padding: 10px 14px 12px; }
  .gi-home .gh-card__title::after { font-size: 22px; }
  .gi-home .gh-card__number { font-size: 12px; }
  .gi-home .gh-card__title { margin: 0 0 2px; font-size: 18px; }
  .gi-home .gh-card__text { font-size: 13px; line-height: 1.7; }
  .gi-home .gh-subentry { margin-top: 10px; gap: 10px; }
  .gi-home .gh-subentry__list { grid-template-columns: 1fr; gap: 10px; flex-basis: 100%; }
  .gi-home .gh-consult { flex: 1 1 100%; min-height: 50px; font-size: 15px; }
  .gi-home .gh-chapter { padding: 0 12px; margin-top: 32px; }
  .gi-home .gh-chapter__panel { padding: 24px 18px 28px; }

  .gi-home .gh-memberlinks { order: 3; flex: 0 0 auto; margin-left: 0; gap: 10px; }
  .gi-home .gi-search { order: 4; flex: 1 1 140px; min-width: 130px; }

  .gi-home .gh-hero { padding: 30px 0 28px; }
  .gi-home .gh-hero h1 { font-size: clamp(24px, 6.6vw, 32px); letter-spacing: 0; }
  .gi-home .gh-hero__lead { font-size: 15px; }
  .gi-home .gh-news-head { display: block; }
  .gi-home .gh-news-head__links { margin-top: 10px; }

  .gi-home .gh-about { grid-template-columns: 1fr; gap: 20px; }
  .gi-home .gh-biz { grid-template-columns: 1fr; gap: 20px; }
  .gi-home .gh-biz--compact { grid-template-columns: 1fr; align-items: start; }
  .gi-home .gh-biz h3 { font-size: 22px; }
  .gi-home .gh-case { padding: 20px 18px; }
  .gi-home .gh-shots { grid-template-columns: 1fr; gap: 16px; }
  .gi-home .gh-ispgrid { grid-template-columns: 1fr; gap: 10px; }

  /* タブは3等分にし、長い名前は2行に折り返す（横に隠れるタブを作らない） */
  .gi-home .gh-tabs.is-ready .gh-tabs__list { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.1fr) minmax(0, 1.15fr); gap: 4px; }
  .gi-home .gh-tabs.is-ready .gh-tabs__list li { display: flex; }
  .gi-home .gh-tabs.is-ready .gh-tabs__list a { display: flex; align-items: center; justify-content: center; width: 100%; padding: 8px 6px; font-size: 13px; line-height: 1.5; text-align: center; white-space: normal; background: var(--gh-soft); }
  .gi-home .gh-news li > a, .gi-home .gh-news li > span:last-child, .gi-home .gh-news details { flex-basis: 100%; }
  .gi-home .gh-tabs__more { justify-content: flex-start; }

  .gi-home .gh-strip-wrap { margin-top: 20px; padding: 0 12px; }
  .gi-home .gh-strip { padding: 12px 16px; }
  .gi-home .gh-strip__link { margin-left: 0; }
}
@media (max-width: 359px) {
  .gi-home .gi-header__logo { max-width: calc(100% - 56px); }
  .gi-home .gi-header__logo img { width: 100%; height: auto; }
  .gi-home .gh-memberlinks { flex-basis: 100%; }
  .gi-home .gi-search { flex-basis: 100%; }
}
