@charset "utf-8";
/* =========================================================
   株式会社システム情報企画  サイト共通デザイン（2026年10月）
   ・このファイル1枚でヘッダー／メニュー／レイアウト／フッターを管理
   ・色や文字の大きさは、下の「:root」の値を変えると全ページに反映
   ========================================================= */

:root {
  --ink: #1b4f7a;        /* 青：見出し */
  --water: #1f78b4;      /* 水色系：リンク・ボタン */
  --water-dark: #17618f;
  --sky: #e2f1fb;        /* やわらかい水色：帯・背景 */
  --sky-soft: #f2f8fd;
  --stake: #c4561a;      /* 測量杭のオレンジ：お問い合わせボタン */
  --stake-dark: #a8460f;
  --text: #1f2b36;
  --muted: #566573;
  --line: #d3e4f0;
  --paper: #f2f8fd;      /* ごく薄い水色の背景 */
  --tint: #e2f1fb;       /* 薄い水色の背景 */
  --white: #ffffff;
  --radius: 6px;
  --wrap: 1180px;
  --font: "BIZ UDPGothic", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", Meiryo, sans-serif;
}

/* ---------- 基本 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.02em;
}
img { max-width: 100%; height: auto; }
a { color: var(--water); text-underline-offset: 3px; }
a:hover { color: var(--water-dark); }
:focus-visible { outline: 3px solid #f2a65a; outline-offset: 2px; }
h1, h2, h3, h4 { text-shadow: none !important; word-break: auto-phrase; }
.sip-skip {
  position: absolute; left: -9999px; top: 0; z-index: 1000;
  background: var(--ink); color: #fff; padding: 8px 14px;
}
.sip-skip:focus { left: 8px; top: 8px; }
.sip-wrap { width: min(100% - 32px, var(--wrap)); margin: 0 auto; }

/* ---------- 最上部の細い帯 ---------- */
.sip-util { background: var(--sky); color: var(--ink); font-size: 13px; line-height: 1.5; }
.sip-util .sip-wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 6px 0; }
.sip-util p { margin: 0; }
.sip-util ul { display: flex; gap: 20px; margin: 0; padding: 0; list-style: none; }
.sip-util a { color: var(--ink); text-decoration: none; }
.sip-util a:hover { color: var(--water-dark); text-decoration: underline; }
.sip-util .sip-tel { color: var(--ink); font-weight: 700; }

/* ---------- ヘッダー ---------- */
.sip-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
}
.sip-header .sip-wrap { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.sip-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.sip-logo img { width: 54px; height: auto; }
.sip-logo strong { display: block; font-size: 19px; line-height: 1.3; letter-spacing: 0.04em; }
.sip-logo small { display: block; font-size: 12px; color: var(--muted); letter-spacing: 0.02em; }

.sip-nav { margin-left: auto; }
.sip-nav > ul { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.sip-nav > ul > li { position: relative; }
.sip-nav > ul > li > a {
  display: block; padding: 10px 14px; border-radius: var(--radius);
  color: var(--ink); font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap;
}
.sip-nav > ul > li > a:hover,
.sip-nav > ul > li:focus-within > a,
.sip-nav > ul > li.is-current > a { background: var(--tint); color: var(--water-dark); }
.sip-nav .has-sub > a::after {
  content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 0 3px 8px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg);
}
.sip-sub-toggle { display: none; }

/* プルダウン */
.sip-drop {
  position: absolute; top: 100%; left: 0; z-index: 10;
  min-width: 260px; padding: 14px; margin-top: 6px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(20, 48, 79, 0.14);
  visibility: hidden; opacity: 0; transform: translateY(-4px);
  transition: opacity .15s, transform .15s, visibility .15s;
}
.sip-drop::before { content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 8px; }
.sip-nav li:hover > .sip-drop,
.sip-nav li:focus-within > .sip-drop { visibility: visible; opacity: 1; transform: none; }
.sip-drop.is-wide { display: grid; grid-template-columns: repeat(3, minmax(200px, 1fr)); gap: 6px 22px; width: 720px; left: 50%; transform: translate(-50%, -4px); }
.sip-nav li:hover > .sip-drop.is-wide,
.sip-nav li:focus-within > .sip-drop.is-wide { transform: translate(-50%, 0); }
.sip-drop p { margin: 0 0 6px; padding: 0 8px 6px; border-bottom: 2px solid var(--tint); color: var(--muted); font-size: 13px; font-weight: 700; }
.sip-drop ul { margin: 0 0 8px; padding: 0; list-style: none; }
.sip-drop a { display: block; padding: 6px 8px; border-radius: 4px; color: var(--text); font-size: 14px; line-height: 1.5; text-decoration: none; }
.sip-drop a:hover { background: var(--tint); color: var(--water-dark); }
.sip-drop .sip-drop-all { margin-top: 4px; color: var(--water); font-weight: 700; }

.sip-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: var(--radius);
  background: var(--stake); color: #fff !important; font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap;
}
.sip-cta:hover { background: var(--stake-dark); }
.sip-menu-btn { display: none; }

/* ---------- トップページのワイド写真＋キャッチフレーズ ---------- */
.sip-visual { position: relative; height: clamp(240px, 30vw, 560px); overflow: hidden; background: var(--sky); }
.sip-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.sip-visual::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(242,248,253,.92) 0%, rgba(242,248,253,.78) 30%, rgba(242,248,253,0) 62%);
}
.sip-visual .sip-wrap { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; }
.sip-catch { margin: 0; color: var(--ink); font-size: clamp(28px, 4.2vw, 60px); font-weight: 700; line-height: 1.35; letter-spacing: 0.08em; }
.sip-catch-sub { margin: 16px 0 0; color: var(--ink); font-size: clamp(13px, 1.2vw, 17px); letter-spacing: 0.06em; }

/* ---------- ページの見出し帯（道路・河川の線形＋斜めの切り口） ---------- */
.sip-pagehead-wrap { position: relative; z-index: 1; filter: drop-shadow(0 10px 0 rgba(31, 120, 180, .16)); margin-bottom: 10px; }
.sip-pagehead {
  position: relative; color: var(--ink);
  background-color: var(--sky);
  background-image: url("sip-lines.svg"), linear-gradient(165deg, #d6ecfa 0%, #e8f4fc 55%, #f6fbfe 100%);
  background-size: cover, auto; background-position: center, center;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 44px), 0 100%);
}
.sip-pagehead .sip-wrap { padding: 30px 0 80px; }
.sip-crumb { margin: 0 0 14px; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 13px; color: var(--muted); }
.sip-crumb li + li::before { content: "›"; margin: 0 10px; color: #8fb0c9; }
.sip-crumb a { color: var(--water-dark); text-decoration: none; }
.sip-crumb a:hover { text-decoration: underline; }
.sip-pagehead h1 { margin: 0; color: var(--ink); font-size: clamp(24px, 3.2vw, 36px); line-height: 1.4; letter-spacing: 0.05em; font-weight: 700; }
.sip-pagehead .sip-lead { margin: 10px 0 0; max-width: 46em; color: #3c5a74; font-size: 15px; }

/* トップページ用：見出しと説明を左右に */
.sip-hero .sip-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: end; gap: 24px 56px; padding: 44px 0 96px; }
.sip-hero h1 { font-size: clamp(26px, 2.8vw, 38px); line-height: 1.45; }
.sip-hero .sip-lead { margin: 0; font-size: 16px; max-width: 40em; }
.sip-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.sip-btn-ghost {
  display: inline-flex; align-items: center; padding: 11px 20px; border-radius: var(--radius);
  border: 1px solid var(--water); background: rgba(255,255,255,.7); color: var(--water-dark) !important; font-weight: 700; text-decoration: none;
}
.sip-btn-ghost:hover { background: #fff; }
.sip-hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.sip-hero-tags a {
  display: inline-block; padding: 5px 12px; border-radius: 999px;
  background: rgba(255,255,255,.75); border: 1px solid var(--line);
  color: var(--ink); font-size: 13px; text-decoration: none;
}
.sip-hero-tags a:hover { border-color: var(--water); color: var(--water-dark); }

/* ---------- 本文（1列） ---------- */
#wrapper { width: min(100% - 32px, 920px); margin: 36px auto 72px; padding: 0; float: none; background: none; }
.sip-top #wrapper { width: min(100% - 32px, var(--wrap)); }
#wrapper::after { content: none; }
#content { float: none !important; width: auto !important; margin: 0 !important; padding: 0 !important; background: none; }
#content > section, #content article { margin: 0; padding: 0; }
.clear-both { display: none; }

/* 本文：古い固定幅（700px など）を解除 */
#content [class$="Wrap"], #content #formWrap { width: auto !important; max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; font-size: 16px; color: var(--text); }
#content p, #content li, #content td, #content th { line-height: 1.85; }
#content img { max-width: 100%; height: auto; }

/* 見出し帯と重なる本文中の大見出しは隠して、説明文だけ残す */
#content div[class$="Hero"] > h2,
#content div[class$="Hero"] > [class$="HeroLabel"],
#content .contactTitleBox { display: none; }
#content div[class$="Hero"] { padding: 0 !important; margin: 0 0 20px !important; background: none !important; border: 0 !important; }
#content div[class$="Hero"] > [class$="HeroLead"] { margin: 0 !important; font-size: 17px !important; line-height: 1.9 !important; color: var(--ink) !important; }

/* 説明ボックス */
#content [class$="LeadBox"] {
  padding: 18px 22px !important; margin: 0 0 28px !important;
  background: var(--paper) !important; border: 0 !important; border-left: 4px solid var(--water) !important; border-radius: 0 var(--radius) var(--radius) 0 !important;
  color: var(--text);
}

/* 本文中の章見出し */
#content [class$="SectionTitle"], #content .top-section-title, #content .sub-section-title {
  margin: 44px 0 16px !important; padding: 0 0 10px !important;
  background: none !important; border: 0 !important; border-bottom: 2px solid var(--sky) !important; border-radius: 0 !important;
  color: var(--ink) !important; font-size: 21px !important; font-weight: 700; line-height: 1.5; letter-spacing: 0.04em;
  position: relative;
}
#content [class$="SectionTitle"]::after, #content .top-section-title::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 88px; height: 2px; background: var(--water);
}

/* カード */
#content [class$="Card"], #content .card-box {
  background: #fff !important; border: 1px solid var(--line) !important; border-radius: var(--radius) !important; box-shadow: none !important;
}
#content .featureTitle, #content [class$="SubTitle"] { color: var(--ink) !important; }

/* 表 */
#content table { border-collapse: collapse; width: 100%; }
#content table th { background: var(--paper); color: var(--ink); }
#content table th, #content table td { border-color: var(--line) !important; }

/* 注意書き */
#content .noteBox, #content .warningBox, #content [class$="Notice"] { border-radius: var(--radius); }

/* ---------- トップページの本文 ---------- */
.top-section { margin: 0 0 8px; }
.top-section-title .top2, .top-section-title span { display: block; margin-top: 4px; font-size: 13px; font-weight: 400; color: var(--muted); }
.card-grid, .card-grid-stretch { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.mb16 { margin-bottom: 18px !important; }
.mt18 { margin-top: 18px !important; }
.card-box { display: flex; flex-direction: column; padding: 20px 22px 22px; }
.card-box.soft { background: var(--paper) !important; border-color: transparent !important; }
.card-title { margin: 0 0 10px; padding: 0 !important; background: none !important; color: var(--ink); font-size: 18px; line-height: 1.5; text-align: left; }
.card-title::before, .card-title::after { content: none !important; }
.card-text { margin: 0 0 16px; color: var(--text); font-size: 15px; }
.card-image-wrap { margin: 0 0 14px; }
.card-image-frame { overflow: hidden; border-radius: 4px; border: 1px solid var(--line); aspect-ratio: 16 / 9; background: var(--paper); }
.card-image-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.card-button-row { margin: auto 0 0; }
.btn-primary, .btn-primary-sm, .btn-primary-wide {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 18px; border-radius: var(--radius);
  background: var(--water); color: #fff !important; font-size: 15px; font-weight: 700; text-decoration: none; line-height: 1.4;
  border: 0; box-shadow: none;
}
.btn-primary:hover, .btn-primary-sm:hover, .btn-primary-wide:hover { background: var(--water-dark); }
.card-button-row .btn-primary { width: 100%; }
.release-box { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); }
.release-image img { border-radius: 4px; }
.release-lead { color: var(--ink); font-weight: 700; font-size: 17px; }
.contact-box { padding: 26px; background: var(--paper); border-radius: var(--radius); }
.contact-box .text-center { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.campaign-ended-inline, .campaignClosedNotice { color: #9a3b12; font-size: 14px; }
.note { color: var(--muted); font-size: 14px; }

/* ---------- ご案内（旧サイドメニュー）：フッターの上に横並び ---------- */
.sip-related { background: var(--sky-soft); border-top: 1px solid var(--line); }
.sip-related > .sip-wrap { padding: 44px 0 52px; }
.sip-related-title { margin: 0 0 20px; color: var(--ink); font-size: 20px; letter-spacing: 0.04em; }
#sidebar {
  float: none !important; width: auto !important; margin: 0 !important; padding: 0 !important; background: none !important; border: 0 !important;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; align-items: start; font-size: 14px;
}
#sidebar .aside-card {
  margin: 0 !important; padding: 18px !important;
  background: #fff !important; border: 1px solid var(--line) !important; border-radius: var(--radius) !important; box-shadow: none !important;
}
#sidebar .aside-heading {
  margin: 0 0 10px !important; padding: 0 0 8px !important;
  background: none !important; border: 0 !important; border-bottom: 2px solid var(--sky) !important; border-radius: 0 !important;
  color: var(--ink) !important; font-size: 15px !important; text-align: left !important; box-shadow: none !important;
}
#sidebar .aside-heading::before, #sidebar .aside-heading::after { content: none !important; }
#sidebar .aside-quick-links { display: grid; gap: 4px; }
#sidebar .aside-quick-link {
  display: block; position: relative; padding: 8px 28px 8px 10px !important; margin: 0 !important;
  background: none !important; border: 0 !important; border-radius: 4px !important; box-shadow: none !important;
  text-decoration: none; color: var(--text);
}
#sidebar .aside-quick-link::after {
  content: ""; position: absolute; right: 10px; top: 50%; width: 7px; height: 7px; margin-top: -4px;
  border-top: 2px solid #8fb0c9; border-right: 2px solid #8fb0c9; transform: rotate(45deg);
}
#sidebar .aside-quick-link:hover { background: var(--sky-soft) !important; }
#sidebar .aside-quick-link:hover::after { border-color: var(--water); }
#sidebar .aside-quick-title { display: block; color: var(--ink); font-weight: 700; font-size: 14px; line-height: 1.5; }
#sidebar .aside-quick-meta {
  display: inline-block; margin: 2px 6px 0 0; padding: 0 !important; background: none !important; border-radius: 0 !important;
  color: var(--muted) !important; font-size: 12px !important; font-weight: 400 !important; line-height: 1.6;
}
#sidebar .aside-quick-sub { display: block; color: var(--muted); font-size: 12px; }
#sidebar .aside-subhead { margin: 12px 0 6px; color: var(--muted); font-size: 12px; font-weight: 700; }
#sidebar .aside-year-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 6px; }
#sidebar .aside-year-link {
  display: block; padding: 5px 6px !important; margin: 0 !important; text-align: center;
  background: var(--sky-soft) !important; border: 1px solid var(--line) !important; border-radius: 999px !important; box-shadow: none !important;
  color: var(--ink) !important; font-size: 13px; text-decoration: none;
}
#sidebar .aside-year-link:hover { border-color: var(--water) !important; color: var(--water-dark) !important; }

/* ---------- フッター ---------- */
.sip-footer { background: linear-gradient(180deg, #2a72a8 0%, #1f5f8f 100%); color: #e3eef7; font-size: 14px; line-height: 1.7; }
.sip-footer .sip-wrap { padding: 48px 0 32px; }
.sip-footer-top { display: grid; grid-template-columns: 1.2fr 2fr; gap: 48px; }
.sip-footer-brand strong { display: block; color: #fff; font-size: 18px; letter-spacing: 0.04em; }
.sip-footer-brand p { margin: 10px 0 0; }
.sip-offices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.sip-offices h2 { margin: 0 0 6px; color: #fff; font-size: 14px; }
.sip-offices p { margin: 0; font-size: 13px; }
.sip-offices a { color: #fff; }
.sip-footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 36px 0 0; padding: 20px 0 0; border-top: 1px solid rgba(255,255,255,.25); list-style: none; }
.sip-footer-links a { color: #e6eef6; text-decoration: none; }
.sip-footer-links a:hover { color: #fff; text-decoration: underline; }
.sip-copy { margin: 20px 0 0; font-size: 12px; color: #bcd3e6; }

/* ページ上部へ戻る */
.sip-totop {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  width: 48px; height: 48px; border-radius: 50%; border: 0;
  background: var(--water); color: #fff; font-size: 20px; cursor: pointer;
  box-shadow: 0 6px 16px rgba(0,0,0,.2);
  opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s;
}
.sip-totop.is-show { opacity: 1; visibility: visible; }

/* 画像の拡大表示 */
.sip-lightbox {
  position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center;
  padding: 56px 16px; background: rgba(10, 22, 36, .88);
}
.sip-lightbox.is-open { display: flex; }
.sip-lightbox figure { margin: 0; max-width: min(1100px, 100%); text-align: center; }
.sip-lightbox img { max-height: calc(100vh - 150px); width: auto; border-radius: 4px; background: #fff; }
.sip-lightbox figcaption { margin-top: 10px; color: #e6eef6; font-size: 14px; }
.sip-lightbox button {
  position: absolute; border: 0; background: rgba(255,255,255,.12); color: #fff; cursor: pointer;
  width: 48px; height: 48px; border-radius: 50%; font-size: 22px; line-height: 1;
}
.sip-lightbox button:hover { background: rgba(255,255,255,.25); }
.sip-lb-close { top: 14px; right: 14px; }
.sip-lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.sip-lb-next { right: 14px; top: 50%; transform: translateY(-50%); }

/* ---------- タブレット・スマートフォン ---------- */
@media (max-width: 1100px) {
  .sip-nav > ul > li > a { padding: 10px 10px; font-size: 14px; }
  .sip-logo small { display: none; }
}
@media (max-width: 960px) {
  .sip-util { display: none; }
  .sip-header .sip-wrap { min-height: 60px; gap: 12px; }
  .sip-logo img { width: 44px; }
  .sip-logo strong { font-size: 16px; }
  .sip-header .sip-cta { margin-left: auto; padding: 9px 14px; font-size: 14px; }
  .sip-menu-btn {
    display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 4px;
    width: 48px; height: 48px; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; cursor: pointer;
    color: var(--ink); font-size: 10px; font-family: inherit;
  }
  .sip-menu-btn span { display: block; width: 20px; height: 2px; background: var(--ink); transition: transform .2s, opacity .2s; }
  .sip-menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .sip-menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .sip-menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  .sip-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    max-height: calc(100vh - 60px); overflow-y: auto;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 16px 24px rgba(20,48,79,.12);
  }
  .sip-nav.is-open { display: block; }
  .sip-nav > ul { display: block; padding: 8px 16px 16px; }
  .sip-nav > ul > li { display: flex; flex-wrap: wrap; align-items: center; border-bottom: 1px solid var(--paper); }
  .sip-nav > ul > li > a { flex: 1; padding: 14px 4px; font-size: 16px; border-radius: 0; }
  .sip-nav > ul > li > a:hover, .sip-nav > ul > li:focus-within > a { background: none; }
  .sip-nav .has-sub > a::after { content: none; }
  .sip-sub-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border: 0; background: var(--paper); border-radius: var(--radius); cursor: pointer; color: var(--ink);
  }
  .sip-sub-toggle::before { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
  .sip-sub-toggle[aria-expanded="true"]::before { transform: translateY(2px) rotate(-135deg); }
  .sip-drop, .sip-drop.is-wide {
    position: static; display: none; width: 100%; min-width: 0; margin: 0 0 12px; padding: 4px 0 4px 12px;
    border: 0; border-left: 2px solid var(--tint); border-radius: 0; box-shadow: none;
    visibility: visible; opacity: 1; transform: none !important; transition: none;
  }
  .sip-nav li:hover > .sip-drop, .sip-nav li:focus-within > .sip-drop { transform: none; }
  .sip-nav li.is-open > .sip-drop { display: block; }
  .sip-drop p { margin-top: 8px; border: 0; padding-bottom: 0; }
  .sip-drop a { padding: 8px; font-size: 15px; }
  .sip-nav-extra { padding: 12px 16px 20px; display: grid; gap: 8px; }
  .sip-nav-extra a { color: var(--ink); font-size: 14px; }

  .sip-hero .sip-wrap { grid-template-columns: 1fr; gap: 18px; padding: 32px 0 72px; }
  #wrapper { margin: 28px auto 48px; }
  .sip-footer-top { grid-template-columns: 1fr; gap: 28px; }
}
@media (min-width: 961px) { .sip-nav-extra { display: none; } }
@media (max-width: 640px) {
  body { font-size: 15px; }
  .sip-header .sip-wrap { width: calc(100% - 24px); gap: 8px; }
  .sip-logo { gap: 8px; }
  .sip-logo img { width: 38px; }
  .sip-logo strong { font-size: 14px; letter-spacing: 0; }
  .sip-header .sip-cta { padding: 8px 10px; font-size: 13px; }
  .sip-pagehead .sip-wrap { padding: 20px 0 52px; }
  .sip-pagehead { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 24px), 0 100%); }
  .sip-pagehead-wrap { filter: drop-shadow(0 6px 0 rgba(31, 120, 180, .16)); }
  .sip-visual { height: 220px; }
  .sip-visual::before { background: linear-gradient(90deg, rgba(242,248,253,.9) 0%, rgba(242,248,253,.7) 55%, rgba(242,248,253,.15) 100%); }
  .sip-offices { grid-template-columns: 1fr; gap: 16px; }
  #content [class$="SectionTitle"], #content .top-section-title { font-size: 18px !important; margin-top: 34px !important; }
  #content div[class$="Hero"] > [class$="HeroLead"] { font-size: 16px !important; }
  /* フォームの表を縦並びに */
  #content table[class$="ormTable"], #content table[class$="ormTable"] > tbody, #content table[class$="ormTable"] tr,
  #content table[class$="ormTable"] th, #content table[class$="ormTable"] td { display: block; width: 100% !important; box-sizing: border-box; }
  #content table[class$="ormTable"] th { border-bottom: 0 !important; }
  #content table[class$="ormTable"] input[type="text"], #content table[class$="ormTable"] input[type="email"], #content table[class$="ormTable"] input[type="tel"],
  #content table[class$="ormTable"] textarea, #content table[class$="ormTable"] select { width: 100% !important; max-width: 100%; font-size: 16px; }
}

/* 印刷 */
@media print {
  .sip-util, .sip-header, .sip-totop, .sip-related, .sip-footer-links, .sip-visual { display: none !important; }
  .sip-pagehead { background: none; color: #000; clip-path: none; }
}

/* ---------- フォーム ---------- */
#content input[type="text"], #content input[type="email"], #content input[type="tel"],
#content select, #content textarea {
  padding: 8px 10px; border: 1px solid #b8c6d3; border-radius: 4px; background: #fff;
  font-family: inherit; font-size: 15px; color: var(--text); line-height: 1.5;
}
#content input[type="text"]:focus, #content input[type="email"]:focus, #content select:focus, #content textarea:focus {
  border-color: var(--water); outline: 2px solid rgba(29, 111, 165, .25); outline-offset: 0;
}
#content input[type="checkbox"], #content input[type="radio"] { width: 18px; height: 18px; margin: 0 6px 0 0; vertical-align: -3px; accent-color: var(--water); }
#content .formButtonArea { margin-top: 28px; text-align: center; }
#content .formButtonArea input[type="submit"], #content .formButtonArea input[type="button"], #content .formButtonArea input[type="reset"] {
  min-width: 180px; margin: 4px 6px; padding: 13px 28px; border: 0; border-radius: var(--radius);
  background: var(--water); color: #fff; font-family: inherit; font-size: 16px; font-weight: 700; cursor: pointer;
}
#content .formButtonArea input[type="submit"] { background: var(--stake); }
#content .formButtonArea input[type="submit"]:hover { background: var(--stake-dark); }
#content .formButtonArea input[type="reset"] { background: #fff; color: var(--muted); border: 1px solid var(--line); }

@media (max-width: 440px) {
  .sip-header .sip-cta { display: none; }
  .sip-menu-btn { margin-left: auto; }
}
.sip-nav-extra .sip-cta { justify-self: start; color: #fff; }

/* 見出し帯の文字を本文の幅にそろえる（トップページ以外） */
.sip-pagehead:not(.sip-hero) .sip-wrap { width: min(100% - 32px, 920px); }

/* 横に広い画面（ワイドモニター）向け：全体を少し大きく、広く */
@media (min-width: 2000px) {
  :root { --wrap: 1440px; }
  body { font-size: 17px; }
  #wrapper, .sip-pagehead:not(.sip-hero) .sip-wrap { width: min(100% - 32px, 1040px); }
  .sip-nav > ul > li > a { font-size: 16px; }
}
@media (max-width: 640px) { .sip-catch-sub { display: none; } }
/* 本文中に残っている旧ヘッダー画像（地球儀のバナー）は表示しない */
#content img[src$="banners/mainImage.jpg"] { display: none; }

/* トップページの写真（キャッチフレーズ入りの画像）：どの画面幅でも画像全体をそのまま表示（切り取りなし） */
.sip-visual.is-image { height: auto; background: #eaf5fc; }
.sip-visual.is-image::before, .sip-visual.is-image::after { content: none; }
.sip-visual.is-image img { position: static; display: block; width: 100%; height: auto; max-height: none; object-fit: fill; }

/* トップページ：Ver7.0／Ver6.0 のボタンを中央にそろえる */
.release-actions { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 22px; }
.release-actions a { width: min(100%, 420px); text-align: center; }
.btn-outline { background: #fff !important; color: var(--water-dark) !important; border: 1px solid var(--water) !important; }
.btn-outline:hover { background: var(--sky-soft) !important; }

/* ---------- ご案内・お知らせ：項目ごとの横帯（全ページ共通・2026年10月29日） ---------- */
.sip-related #sidebar {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
}
.sip-related #sidebar .aside-card {
  display: grid;
  grid-template-columns: 172px minmax(0, 1fr);
  column-gap: 24px;
  align-items: start;
  padding: 20px 24px !important;
}
/* 見出しは左側の列 */
.sip-related #sidebar .aside-heading {
  grid-column: 1;
  grid-row: 1 / span 3;
  align-self: stretch;
  margin: 0 !important;
  padding: 4px 0 0 14px !important;
  border-bottom: 0 !important;
  border-left: 4px solid var(--water) !important;
  font-size: 16px !important;
  line-height: 1.5;
  white-space: nowrap;
}
/* 中身は右側の列 */
.sip-related #sidebar .aside-card > :not(.aside-heading) { grid-column: 2; }

/* 各リンクを横に並べるタイル */
.sip-related #sidebar .aside-quick-links {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 10px;
}
.sip-related #sidebar .aside-quick-link {
  height: 100%;
  padding: 10px 24px 10px 11px !important;
  background: var(--sky-soft) !important;
  border: 1px solid var(--line) !important;
  border-radius: var(--radius) !important;
}
.sip-related #sidebar .aside-quick-link:hover {
  background: #fff !important;
  border-color: var(--water) !important;
}

/* ご案内（5項目）は1行に5つ並べる */
@media (min-width: 1000px) {
  .sip-related #sidebar .aside-card:first-child .aside-quick-links { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* メンテナンス情報：月別情報も横一列に */
.sip-related #sidebar .aside-subhead { margin: 14px 0 6px; }
.sip-related #sidebar .aside-year-grid { grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); }

/* タブレット・スマートフォン：見出しを上に */
@media (max-width: 760px) {
  .sip-related #sidebar .aside-card { grid-template-columns: 1fr; padding: 16px !important; }
  .sip-related #sidebar .aside-heading {
    grid-row: auto;
    margin: 0 0 10px !important;
    padding: 0 0 0 10px !important;
  }
  .sip-related #sidebar .aside-card > :not(.aside-heading) { grid-column: 1; }
  .sip-related #sidebar .aside-quick-links { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
}
@media (max-width: 480px) {
  .sip-related #sidebar .aside-quick-links { grid-template-columns: 1fr; gap: 8px; }
}
.sip-related #sidebar .aside-quick-link::after { right: 9px; }
.sip-related #sidebar .aside-quick-meta, .sip-related #sidebar .aside-quick-sub { letter-spacing: 0; }
