@charset "UTF-8";
/* =========================================================
   いしかわ外国人材相談窓口 共通スタイル
   ※ ①トップ（index.html）用。②（work/）の追加時もこのファイルに追記します
   ========================================================= */

/* ---------- ベース ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #ffffff;
  color: #174f91;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 15px;
  line-height: 1.8;
}
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid #2e75bd; outline-offset: 3px; }
::selection { background: #f9c94d; color: #174f91; }

/* ---------- レイアウト ---------- */
.entry-page { min-height: 100vh; overflow: hidden; background: #f8fcfe; color: #174f91; }
.entry-container { width: min(1160px, calc(100% - 64px)); margin: 0 auto; }

/* ---------- ヘッダー ---------- */
.entry-header {
  position: relative; z-index: 10;
  border-bottom: 1px solid #d8eff9;
  background: rgba(255,255,255,.94);
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
}
.entry-header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 82px; }
.entry-brand { display: inline-flex; align-items: center; gap: 12px; color: #174f91; }
.entry-brand > span:last-child { display: flex; flex-direction: column; line-height: 1.25; }
.entry-brand strong { font-size: 16px; font-weight: 900; }
.entry-brand small { margin-top: 3px; color: #557085; font-size: 11px; font-weight: 700; }

.entry-language { display: flex; align-items: center; gap: 8px; color: #6f8b9d; font-size: 10px; }
.entry-language svg { color: #1f5fae; flex-shrink: 0; }
.entry-language span:first-of-type { color: #174f91; font-weight: 800; }
.entry-language b { color: #c5d8e3; font-weight: 400; }

/* ---------- ヒーロー ---------- */
.entry-hero { position: relative; isolation: isolate; overflow: hidden; background: #1faae5; }
.entry-hero::after {
  content: ''; position: absolute; z-index: -1;
  right: -9%; bottom: -280px; width: 66%; height: 520px;
  border-radius: 50% 50% 0 0;
  background: rgba(16,117,190,.28);
  transform: rotate(-7deg);
}
.entry-orbit { position: absolute; border: 18px solid rgba(255,255,255,.38); border-radius: 50%; }
.entry-orbit-one { width: 300px; height: 300px; right: -60px; top: -210px; }
.entry-orbit-two { width: 120px; height: 120px; left: 55%; bottom: -70px; border-width: 11px; }
.entry-hero-inner { position: relative; padding: 82px 0 92px; text-align: center; }

.entry-eyebrow {
  margin: 0; color: #f1b52e;
  font-family: 'DM Mono', monospace; font-size: 10px; font-weight: 500; letter-spacing: .14em;
}
.entry-hero .entry-eyebrow { color: #fff; opacity: .85; }
.entry-hero h1 {
  margin: 17px 0 15px; color: #fff;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: clamp(43px, 6vw, 76px); font-weight: 900;
  letter-spacing: -.08em; line-height: 1.25;
}
.entry-hero h1 span { color: #ffe27a; }
.entry-lead { margin: 0; color: #fff; font-size: 15px; font-weight: 600; line-height: 2; }

/* ---------- 相談内容の選択 ---------- */
.entry-choice-section { padding: 92px 0 108px; background: #f8fcfe; }
.entry-section-intro { margin-bottom: 34px; text-align: center; }
.entry-section-intro h2 {
  margin: 9px 0 8px; color: #174f91;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: clamp(28px, 4vw, 44px); font-weight: 900; letter-spacing: -.07em;
}
.entry-section-intro > p:last-child { margin: 0; color: #557085; font-size: 13px; }

.entry-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.entry-card {
  position: relative; display: flex; flex-direction: column;
  min-height: 340px; padding: 32px 34px 29px;
  border: 1px solid #d4eaf5; border-radius: 25px;
  box-shadow: 0 16px 34px rgba(40,125,160,.09);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.entry-card:hover { transform: translateY(-5px); border-color: #72c5e5; box-shadow: 0 24px 45px rgba(40,125,160,.16); }
.entry-card-sky { background: #eaf8fe; }
.entry-card-blue { background: #fff; }

.entry-card-top { display: flex; align-items: center; gap: 13px; }
.entry-card-icon {
  display: grid; place-items: center; flex-shrink: 0;
  width: 56px; height: 56px; border-radius: 18px;
  background: #fff; color: #1f5fae;
  box-shadow: 0 5px 15px rgba(40,125,160,.1);
}
.entry-card-blue .entry-card-icon { background: #eaf8fe; }
.entry-card-kicker { color: #66869b; font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: .1em; }

.entry-card h3 {
  margin: 25px 0 19px; color: #174f91;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: clamp(23px, 3vw, 31px); font-weight: 900; letter-spacing: -.06em;
}
.entry-card ul { display: grid; gap: 11px; margin: 0; padding: 0; list-style: none; color: #31576f; font-size: 13px; line-height: 1.7; }
.entry-card li { display: flex; gap: 8px; }
.entry-card li span { color: #1f5fae; font-weight: 900; }

.entry-card-link {
  display: inline-flex; align-items: center; gap: 9px;
  margin-top: auto; padding-top: 25px;
  color: #174f91; font-size: 12px; font-weight: 900;
}
.entry-card-link svg { color: #f0ad28; transition: transform .18s ease; }
.entry-card:hover .entry-card-link svg { transform: translateX(4px); }

.entry-note { margin: 28px 0 0; color: #78909e; text-align: center; font-size: 11px; }

/* ---------- フッター ---------- */
.entry-footer { padding: 26px 0; background: #174f91; color: rgba(255,255,255,.82); font-size: 11px; }
.entry-footer .entry-container { display: flex; justify-content: space-between; gap: 20px; }

/* ---------- スマホ（700px以下） ---------- */
@media (max-width: 700px) {
  .entry-container { width: min(100% - 34px, 560px); }
  .entry-header-inner { min-height: 70px; }
  .entry-language { max-width: 150px; flex-wrap: wrap; justify-content: flex-end; gap: 3px 6px; font-size: 8px; }
  .entry-hero-inner { padding: 62px 0 68px; }
  .entry-desktop-only { display: none; }
  .entry-lead { font-size: 13px; }
  .entry-choice-section { padding: 64px 0 74px; }
  .entry-card-grid { grid-template-columns: 1fr; gap: 15px; }
  .entry-card { min-height: 290px; padding: 25px 24px 23px; }
  .entry-card h3 { margin: 20px 0 16px; }
  .entry-footer .entry-container { flex-direction: column; gap: 5px; }
}

/* ---------- 動きを減らす設定の方へ ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition-duration: .01ms !important; }
}

/* =========================================================
   ②就労相談窓口（work/）
   ========================================================= */

/* ---------- ②用リセット（元のTailwind初期化相当） ---------- */
:where(.civic-site) :where(h1, h2, h3, p) { margin: 0; }
:where(.civic-site) :where(h1, h2, h3) { font-size: inherit; font-weight: inherit; }
:where(.civic-site) :where(button) { margin: 0; padding: 0; border: 0; background: transparent; color: inherit; font: inherit; line-height: inherit; cursor: pointer; }
:where(.civic-site) :where(img, svg) { display: block; }
:where(.civic-site) :where(img) { max-width: 100%; height: auto; }
:where(.civic-site) :where(svg) { flex-shrink: 0; }
.civic-site button:focus-visible { outline: 3px solid #2e75bd; outline-offset: 3px; }

/* ヒーロー見出し（元サイトではインライン指定の60px） */
.civic-hero .hero-copy h1 { font-size: 60px; }
@media (max-width: 640px) { .civic-hero .hero-copy h1 { font-size: clamp(39px, 11vw, 58px); } }

/* ---------- 共通パーツ・ヘッダー・ヒーロー・各セクション ---------- */
.civic-site { overflow: hidden; }
.civic-container { width: min(1160px, calc(100% - 64px)); margin: 0 auto; }
.skip-link { position: fixed; z-index: 100; left: 12px; top: -50px; padding: 8px 14px; background: #174f91; color: #fff; border-radius: 0 0 8px 8px; font-size: 12px; }
.skip-link:focus { top: 0; }
.civic-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid #d8eff9; background: rgba(255,255,255,.95); backdrop-filter: blur(16px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 76px; }
.civic-brand { display: inline-flex; align-items: center; gap: 10px; min-width: 240px; color: #174f91; font-size: 12px; line-height: 1.35; }
.civic-brand strong { font-size: 14px; font-weight: 900; }
.civic-brand small { color: #6f8b9d; font-size: 9px; font-weight: 500; }
.ishikawa-logo { position: relative; display: inline-block; width: 43px; height: 43px; flex: 0 0 43px; border: 3px solid #1f5fae; border-radius: 15px 15px 15px 4px; background: #eaf8fe; transform: rotate(-4deg); }
.logo-arch { position: absolute; left: 10px; top: 8px; width: 17px; height: 17px; border: 3px solid #1f5fae; border-bottom: 0; border-radius: 14px 14px 0 0; }
.logo-stem { position: absolute; left: 18px; bottom: 7px; width: 3px; height: 17px; border-radius: 3px; background: #1f5fae; }
.logo-chat { position: absolute; right: 4px; bottom: 1px; color: #f1ad2d; font-size: 21px; font-weight: 900; transform: rotate(4deg); }
.civic-nav { display: flex; align-items: center; gap: 25px; color: #31576f; font-size: 12px; font-weight: 700; }
.civic-nav a { position: relative; padding: 28px 0; }
.civic-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 19px; height: 3px; border-radius: 3px; background: #f9c94d; transform: scaleX(0); transition: transform .2s ease; }
.civic-nav a:hover::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.language-button, .header-cta, .menu-button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border-radius: 999px; }
.language-button { height: 40px; padding: 0 12px; border: 1px solid #b8d4ed; background: #fff; color: #31576f; font-size: 11px; font-weight: 700; }
.language-button svg:first-child { color: #1f5fae; }
.header-cta { height: 43px; padding: 0 17px; background: #f9c94d; color: #174f91; box-shadow: 0 8px 18px rgba(249,201,77,.25); font-size: 12px; font-weight: 900; transition: transform .18s ease, box-shadow .18s ease; }
.header-cta:hover, .primary-cta:hover, .contact-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(249,201,77,.34); }
.menu-button { display: none; padding: 8px; background: transparent; color: #174f91; }
.mobile-nav { display: none; }
.civic-hero { position: relative; isolation: isolate; overflow: hidden; background: #eaf8fe; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 48px; min-height: 645px; padding: 62px 0 106px; }
.hero-cloud { position: absolute; z-index: -1; border: 22px solid rgba(255,255,255,.62); border-radius: 50%; }
.hero-cloud-one { width: 260px; height: 260px; right: -80px; top: -120px; }
.hero-cloud-two { width: 92px; height: 92px; left: 47%; top: 74px; border-width: 12px; }
.hero-arc { position: absolute; z-index: -1; width: 790px; height: 790px; right: -210px; top: -210px; border: 1px solid rgba(84,185,232,.3); border-radius: 50%; }
.hero-copy { max-width: 540px; padding-top: 8px; animation: up .65s cubic-bezier(.23,1,.32,1) both; }
.service-pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px; border: 1px solid #b8d4ed; border-radius: 999px; background: rgba(255,255,255,.75); color: #1b5a9e; font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: .08em; }
.hero-copy h1 { margin: 24px 0 18px; color: #174f91; font-family: 'Zen Kaku Gothic New', sans-serif; font-size: clamp(43px, 5.2vw, 70px); font-weight: 900; letter-spacing: -.07em; line-height: 1.25; }
.hero-copy h1 span { color: #1b5a9e; }
.hero-copy > p { margin: 0; color: #45677c; font-size: 15px; font-weight: 500; line-height: 2; }
.route-note { display: flex; align-items: center; gap: 10px; margin-top: 23px; color: #557085; font-size: 11px; font-weight: 800; letter-spacing: .04em; }
.route-note span, .mini-route { display: inline-grid; place-items: center; width: 27px; height: 27px; border-radius: 50%; background: #f9c94d; color: #174f91; font-family: 'DM Mono', monospace; font-size: 10px; }
.route-note i { display: block; width: 45px; height: 1px; margin-left: 2px; background: #8dcfea; }
.hero-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 520px; margin-top: 12px; }
.hero-actions button { display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 56px; border-radius: 17px; font-size: 14px; font-weight: 900; transition: transform .18s ease, box-shadow .18s ease, gap .18s ease; }
.hero-actions button:hover { transform: translateY(-2px); }
.primary-cta { background: #f9c94d; color: #174f91; box-shadow: 0 12px 24px rgba(249,201,77,.3); }
.blue-cta { background: #1f5fae; color: #fff; box-shadow: 0 12px 24px rgba(39,158,206,.2); }
.outline-cta { grid-column: 1 / -1; min-height: 47px !important; border: 2px solid #2e75bd; background: rgba(255,255,255,.7); color: #1b5a9e; font-size: 12px !important; }
.mini-route { width: 23px; height: 23px; margin-right: 1px; background: #eaf8fe; color: #1b5a9e; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 13px 20px; margin-top: 18px; color: #4c758c; font-size: 10px; font-weight: 700; }
.hero-trust span { display: inline-flex; align-items: center; gap: 5px; }
.hero-trust svg { padding: 2px; border-radius: 50%; background: #fff; color: #1f5fae; }
.hero-visual { position: relative; max-width: 650px; justify-self: end; animation: up .7s .08s cubic-bezier(.23,1,.32,1) both; }
.hero-photo { overflow: hidden; border: 8px solid #fff; border-radius: 34px 34px 100px 34px; box-shadow: 0 25px 50px rgba(25,116,154,.18); }
.hero-photo img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.free-badge { position: absolute; z-index: 2; left: -27px; top: 22px; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 78px; height: 78px; border-radius: 23px; background: #f9c94d; color: #174f91; box-shadow: 0 15px 25px rgba(249,201,77,.25); font-family: 'Zen Kaku Gothic New', sans-serif; font-size: 17px; font-weight: 900; transform: rotate(-7deg); }
.free-badge strong { font-family: 'DM Mono', monospace; font-size: 9px; letter-spacing: .11em; }
.photo-note { position: absolute; right: 25px; bottom: -19px; padding: 10px 14px; border: 1px solid rgba(255,255,255,.8); border-radius: 15px; background: rgba(255,255,255,.95); box-shadow: 0 9px 20px rgba(36,97,119,.15); }
.photo-note span { display: block; color: #1f5fae; font-family: 'DM Mono', monospace; font-size: 8px; letter-spacing: .12em; }
.photo-note strong { display: block; margin-top: 2px; color: #174f91; font-size: 12px; }
.ridge-strip { position: absolute; z-index: 1; right: -60px; bottom: -155px; width: 55%; opacity: .23; mix-blend-mode: multiply; pointer-events: none; }
.ridge-strip img { width: 100%; }
.content-section { padding: 112px 0; }
.about-grid { display: grid; grid-template-columns: .83fr 1.17fr; gap: 78px; align-items: start; }
.section-heading .eyebrow { color: #1f5fae; }
.eyebrow { font-family: 'DM Mono', monospace; font-size: 10px; font-weight: 500; letter-spacing: .12em; }
.section-heading h2 { margin: 12px 0 0; color: #174f91; font-family: 'Zen Kaku Gothic New', sans-serif; font-size: clamp(30px, 4vw, 48px); font-weight: 900; letter-spacing: -.08em; line-height: 1.35; }
.section-copy { max-width: 520px; margin: 18px 0 0; color: #557085; font-size: 14px; line-height: 2.1; }
.section-heading.is-center .section-copy { margin-left: auto; margin-right: auto; }
.warm-note { margin-top: 26px; padding: 16px 0 16px 17px; border-left: 4px solid #f9c94d; color: #557085; font-size: 13px; line-height: 2; }
.text-cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 26px; background: transparent; color: #1b5a9e; font-size: 12px; font-weight: 900; text-decoration: underline; text-decoration-color: #9adcf4; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.text-cta:hover { color: #174f91; }
.theme-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.theme-card { display: flex; gap: 14px; padding: 20px; border: 1px solid #d7eff9; border-radius: 21px; background: #fff; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.theme-card:hover { transform: translateY(-3px); border-color: #a4dff5; box-shadow: 0 16px 30px rgba(55,155,198,.12); }
.theme-card-accent { background: #eaf8fe; }
.theme-icon { display: grid; place-items: center; width: 43px; height: 43px; flex: 0 0 43px; border-radius: 14px; background: #fff; color: #1f5fae; box-shadow: 0 3px 9px rgba(41,145,184,.08); }
.theme-card h3 { margin: 0; color: #174f91; font-size: 14px; font-weight: 900; }
.theme-card p { margin: 5px 0 0; color: #557085; font-size: 11px; line-height: 1.75; }
.services-section { position: relative; padding: 112px 0 126px; background: #f5fbfe; }
.services-section::before { content: ''; position: absolute; left: -90px; top: -120px; width: 290px; height: 290px; border: 45px solid #fff; border-radius: 50%; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-top: 48px; }
.service-card { position: relative; min-height: 210px; padding: 26px 23px; border: 1px solid #e0f2fa; border-radius: 23px; background: #fff; box-shadow: 0 8px 24px rgba(40,125,160,.07); transition: transform .2s ease, box-shadow .2s ease; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 16px 30px rgba(40,125,160,.12); }
.service-number { position: absolute; right: 22px; top: 17px; color: #abdced; font-family: 'DM Mono', monospace; font-size: 11px; }
.service-icon { display: grid; place-items: center; width: 47px; height: 47px; border-radius: 15px; background: #eaf8fe; color: #1f5fae; }
.service-card h3 { margin: 17px 0 0; color: #174f91; font-size: 16px; font-weight: 900; }
.service-card p { margin: 7px 0 0; color: #557085; font-size: 12px; line-height: 1.9; }
.service-footnote { margin: 27px 0 0; color: #557085; text-align: center; font-size: 12px; font-weight: 700; }
.flow-section { padding: 112px 0; background: #fff; }
.steps-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin-top: 54px; }
.step-item { position: relative; text-align: center; }
.step-circle { display: grid; place-items: center; width: 54px; height: 54px; margin: 0 auto 13px; border: 2px solid #2e75bd; border-radius: 50%; background: #eaf8fe; color: #1f5fae; }
.step-number { color: #f0ad28; font-family: 'DM Mono', monospace; font-size: 9px; font-weight: 500; letter-spacing: .12em; }
.step-item h3 { margin: 8px 0 4px; color: #174f91; font-size: 14px; font-weight: 900; }
.step-item p { margin: 0; color: #6b8595; font-size: 11px; line-height: 1.7; }
.step-arrow { position: absolute; right: -22px; top: 18px; color: #9adcf4; }
.free-banner { display: flex; align-items: center; gap: 14px; max-width: 780px; margin: 64px auto 0; padding: 17px 20px; border: 1px solid #f4d773; border-radius: 17px; background: #fffbe8; }
.free-banner-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: #f9c94d; color: #174f91; }
.free-banner div { display: flex; flex-direction: column; flex: 1; }
.free-banner strong { color: #174f91; font-size: 14px; }
.free-banner div span { color: #6f8190; font-size: 11px; }
.free-banner button { display: inline-flex; align-items: center; gap: 7px; padding: 10px 13px; border-radius: 10px; background: #174f91; color: #fff; font-size: 11px; font-weight: 800; }
.faq-section { padding: 112px 0; background: #eaf8fe; }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; align-items: start; }
.faq-list { border-top: 1px solid #b8d4ed; }
.faq-item { border-bottom: 1px solid #b8d4ed; }
.faq-item button { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 18px 4px; background: transparent; color: #174f91; text-align: left; font-size: 13px; font-weight: 800; }
.faq-item button svg { transition: transform .2s ease; }
.faq-item.is-open button svg { transform: rotate(180deg); }
.faq-item button b, .faq-item p b { margin-right: 10px; color: #1f5fae; font-family: 'DM Mono', monospace; font-size: 11px; }
.faq-item p { margin: -4px 24px 17px 4px; color: #557085; font-size: 12px; line-height: 1.9; }
.jobs-section { padding: 112px 0; background: #fff; }
.section-heading-row { display: flex; align-items: end; justify-content: space-between; gap: 25px; }
.outline-blue-button { display: inline-flex; align-items: center; gap: 9px; flex: 0 0 auto; margin-bottom: 4px; padding: 11px 14px; border: 1px solid #b8d4ed; border-radius: 999px; background: #fff; color: #1b5a9e; font-size: 11px; font-weight: 800; }
.outline-blue-button:hover { border-color: #2e75bd; background: #f3fbfe; }
.jobs-table-wrap { margin-top: 44px; border-top: 2px solid #1f5fae; }
.jobs-table-head, .job-row { display: grid; grid-template-columns: 1.3fr .72fr .74fr 1.6fr .8fr 30px; gap: 17px; align-items: center; }
.jobs-table-head { padding: 12px 15px; background: #f5fbfe; color: #6f8b9d; font-family: 'DM Mono', monospace; font-size: 9px; letter-spacing: .05em; }
.job-row { width: 100%; padding: 19px 15px; border-bottom: 1px solid #d8eff9; background: transparent; color: #557085; text-align: left; font-size: 11px; transition: background .2s ease; }
.job-row:hover { background: #f5fbfe; }
.job-row strong { color: #174f91; font-size: 13px; }
.job-row span { display: inline-flex; align-items: center; gap: 4px; }
.job-row time { color: #6f8b9d; font-family: 'DM Mono', monospace; font-size: 9px; }
.job-row > svg { color: #1f5fae; }
.events-section { padding: 110px 0; background: #f5fbfe; }
.events-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-top: 44px; }
.event-card { display: flex; align-items: center; gap: 15px; min-height: 145px; padding: 20px; border-radius: 22px; }
.event-sky { background: #e5f6fd; }
.event-yellow { background: #fff5c9; }
.event-mint { background: #eaf8f3; }
.event-date { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 52px; height: 70px; border-right: 1px solid rgba(18,59,93,.15); }
.event-date strong { color: #174f91; font-family: 'Zen Kaku Gothic New', sans-serif; font-size: 23px; line-height: 1; }
.event-date span { margin-top: 6px; color: #6f8b9d; font-family: 'DM Mono', monospace; font-size: 9px; }
.event-body { flex: 1; }
.event-category { color: #1f5fae; font-size: 10px; font-weight: 900; }
.event-body h3 { margin: 7px 0 5px; color: #174f91; font-size: 13px; font-weight: 900; line-height: 1.6; }
.event-body p { margin: 0; color: #557085; font-size: 10px; }
.event-card > button { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.65); color: #1b5a9e; }
.contact-section { padding: 112px 0; background: #174f91; color: #fff; }
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 90px; align-items: center; }
.contact-section .section-heading .eyebrow { color: #a7e0f5; }
.contact-section .section-heading h2 { color: #fff; }
.contact-section .section-copy { color: #c3dce9; }
.contact-cta { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; padding: 14px 20px; border-radius: 13px; background: #f9c94d; color: #174f91; box-shadow: 0 10px 24px rgba(249,201,77,.25); font-size: 14px; font-weight: 900; transition: transform .18s ease, box-shadow .18s ease; }
.contact-options { border: 1px solid rgba(167,224,245,.35); border-radius: 22px; overflow: hidden; }
.contact-option { display: flex; align-items: center; gap: 13px; padding: 19px; border-bottom: 1px solid rgba(167,224,245,.22); }
.contact-option:last-child { border-bottom: 0; }
.contact-option > span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: rgba(84,185,232,.18); color: #a7e0f5; }
.contact-option div { flex: 1; }
.contact-option strong { display: block; font-size: 13px; }
.contact-option p { margin: 2px 0 0; color: #b2cedc; font-size: 10px; }
.civic-footer { border-top: 1px solid #d8eff9; background: #fff; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 110px; }
.footer-brand { min-width: 220px; }
.footer-links { display: flex; gap: 19px; color: #557085; font-size: 10px; font-weight: 700; }
.footer-links a:hover { color: #1b5a9e; }
.footer-copy { color: #91a2ad; font-family: 'DM Mono', monospace; font-size: 9px; }
@keyframes up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } } @media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition-duration: .01ms !important; } }
@media (max-width: 900px) { .civic-container { width: min(100% - 42px, 680px); } .civic-nav, .language-button { display: none; } .menu-button { display: inline-flex; } .mobile-nav { display: flex; flex-direction: column; padding: 7px 21px 15px; border-top: 1px solid #d8eff9; background: #fff; box-shadow: 0 14px 25px rgba(18,59,93,.12); } .mobile-nav a, .mobile-nav button { display: flex; align-items: center; justify-content: space-between; padding: 13px 0; border-bottom: 1px solid #eaf5f9; background: transparent; color: #174f91; text-align: left; font-size: 13px; font-weight: 800; } .mobile-nav button { color: #1b5a9e; border-bottom: 0; } .hero-grid { grid-template-columns: 1fr; gap: 35px; padding: 52px 0 95px; } .hero-copy { max-width: 610px; } .hero-visual { width: min(100%, 630px); justify-self: center; } .about-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; gap: 44px; } .theme-grid { max-width: 650px; } .steps-row { gap: 12px; } .step-arrow { right: -17px; } .jobs-table-head, .job-row { grid-template-columns: 1.3fr .7fr .8fr 1.3fr 80px 20px; gap: 9px; } }
@media (max-width: 640px) { .civic-container { width: calc(100% - 34px); } .header-inner { min-height: 68px; } .civic-brand { min-width: 0; font-size: 10px; } .civic-brand strong { font-size: 11px; } .ishikawa-logo { width: 37px; height: 37px; flex-basis: 37px; } .logo-arch { left: 8px; top: 7px; transform: scale(.82); transform-origin: top left; } .logo-stem { left: 15px; bottom: 6px; height: 14px; } .logo-chat { font-size: 18px; } .header-cta { height: 38px; padding: 0 11px; font-size: 10px; } .hero-grid { padding-top: 40px; } .hero-copy h1 { font-size: clamp(39px, 11vw, 58px); } .hero-copy > p { font-size: 13px; } .hero-actions { gap: 8px; } .hero-actions button { min-height: 53px; font-size: 12px; } .hero-trust { gap: 9px 12px; font-size: 9px; } .free-badge { left: -8px; top: 14px; width: 65px; height: 65px; border-radius: 19px; font-size: 14px; } .photo-note { right: 10px; } .content-section, .services-section, .flow-section, .faq-section, .jobs-section, .events-section, .contact-section { padding: 77px 0; } .theme-grid, .service-grid, .events-grid { grid-template-columns: 1fr; } .section-heading h2 { font-size: 31px; } .steps-row { display: flex; flex-direction: column; gap: 22px; } .step-item { display: grid; grid-template-columns: 52px 1fr; column-gap: 14px; text-align: left; } .step-circle { grid-row: span 3; margin: 0; } .step-number { align-self: end; } .step-item h3 { margin: 2px 0 0; } .step-item p { margin-top: 2px; } .step-arrow { right: auto; left: 17px; top: auto; bottom: -22px; transform: rotate(90deg); } .free-banner { align-items: flex-start; flex-wrap: wrap; margin-top: 40px; } .free-banner button { width: 100%; justify-content: center; } .section-heading-row { align-items: flex-start; flex-direction: column; } .outline-blue-button { margin-top: -13px; } .jobs-table-wrap { overflow-x: auto; } .jobs-table-head, .job-row { min-width: 700px; } .event-card { min-height: 130px; } .contact-grid { gap: 35px; } .footer-inner { align-items: flex-start; flex-direction: column; padding: 26px 0; } .footer-links { flex-wrap: wrap; gap: 10px 16px; } .footer-copy { margin-top: 3px; } .desktop-only { display: none; } }

/* ---------- 言語メニュー ---------- */
.language-menu { display: inline-flex; align-items: center; gap: 5px; padding: 7px 10px; border: 1px solid #b8d4ed; border-radius: 999px; background: #fff; color: #6f8b9d; font-size: 9px; line-height: 1; white-space: nowrap; }
.language-menu > svg { margin-right: 2px; color: #1f5fae; }
.language-menu button { padding: 0; border: 0; background: transparent; color: #557085; font-size: 9px; font-weight: 700; }
.language-menu button:hover, .language-menu .language-active { color: #174f91; text-decoration: underline; text-underline-offset: 3px; }
.language-menu span { color: #b8d4ed; }
@media (max-width: 1100px) { .language-menu { gap: 4px; padding-inline: 8px; } .language-menu button, .language-menu span { font-size: 8px; } .civic-nav { gap: 14px; } }
@media (max-width: 900px) { .language-menu { max-width: 240px; overflow: hidden; } .language-menu button:nth-of-type(n+4), .language-menu span:nth-of-type(n+4) { display: none; } }

/* ---------- ヒーロー（鮮やかな青背景）用の文字色調整 ---------- */
.civic-hero.is-vivid .hero-copy h1 { color: #ffffff; }
.civic-hero.is-vivid .hero-copy h1 span { color: #fff3a8; }
.civic-hero.is-vivid .hero-copy > p, .civic-hero.is-vivid .route-note, .civic-hero.is-vivid .hero-trust { color: rgba(255,255,255,.94); }
.civic-hero.is-vivid .route-note i { background: rgba(255,255,255,.68); }
.civic-hero.is-vivid .service-pill { border-color: rgba(255,255,255,.75); background: rgba(255,255,255,.9); }

/* ---------- 対面相談日ボックス ---------- */
.contact-hours { margin: 24px 0 18px; padding: 16px 18px; border-left: 3px solid #f9c94d; background: rgba(255,255,255,.1); color: #fff; }
.contact-hours strong { display: block; margin-bottom: 7px; color: #fff3a8; font-size: 13px; letter-spacing: .06em; }
.contact-hours p { margin: 0; color: rgba(255,255,255,.94); font-size: 13px; line-height: 1.9; }
.contact-option p { line-height: 1.65; }

/* ---------- 関連リンク ---------- */
.related-links-section { padding: 84px 0 72px; background: #f7fbfe; }
.related-links-section .section-heading-row { margin-bottom: 28px; }
.related-links-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.related-links-grid a { position: relative; display: flex; min-height: 112px; flex-direction: column; justify-content: center; gap: 8px; padding: 20px 54px 20px 22px; border: 1px solid #d7eaf5; border-radius: 16px; background: #fff; color: #174f91; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.related-links-grid a:hover { transform: translateY(-3px); border-color: #2e75bd; box-shadow: 0 12px 24px rgba(31,95,174,.1); }
.related-links-grid a span { color: #6f8b9d; font-family: 'DM Mono', monospace; font-size: 9px; letter-spacing: .08em; }
.related-links-grid a strong { color: #174f91; font-size: 14px; line-height: 1.7; }
.related-links-grid a > svg { position: absolute; top: 22px; right: 20px; color: #f0ad28; }
@media (max-width: 700px) { .related-links-section { padding: 58px 0 52px; } .related-links-grid { grid-template-columns: 1fr; } .related-links-grid a { min-height: 94px; } }

/* ---------- 相談できること（コンパクトカード） ---------- */
.service-card-compact { min-height: 172px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.service-card-compact h3 { max-width: 100%; margin-top: 16px; line-height: 1.55; }
@media (max-width: 700px) { .service-card-compact { min-height: 132px; } .service-card-compact h3 { margin-top: 12px; font-size: 14px; } }

/* ---------- 相談フローの切替タブ ---------- */
.flow-tabs { display: flex; justify-content: center; gap: 10px; margin: 30px auto 32px; }
.flow-tabs button { min-width: 250px; padding: 13px 20px; border: 1px solid #b8d4ed; border-radius: 999px; background: #fff; color: #557085; font-size: 13px; font-weight: 800; transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease; }
.flow-tabs button:hover { transform: translateY(-2px); border-color: #2e75bd; }
.flow-tabs button.is-active { border-color: #174f91; background: #174f91; color: #fff; box-shadow: 0 8px 18px rgba(23,79,145,.2); }
@media (max-width: 700px) { .flow-tabs { flex-direction: column; align-items: stretch; margin-top: 22px; } .flow-tabs button { width: 100%; min-width: 0; font-size: 12px; } }

/* ---------- 新着情報・お知らせ ---------- */
.news-section { padding: 82px 0 78px; background: #f5fbfe; }
.news-section .section-heading-row { margin-bottom: 30px; }
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.news-card { position: relative; min-height: 150px; padding: 22px 48px 20px 22px; border: 1px solid #d7eff9; border-radius: 18px; background: #fff; box-shadow: 0 8px 22px rgba(40,125,160,.06); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.news-card:hover { transform: translateY(-3px); border-color: #a4dff5; box-shadow: 0 14px 28px rgba(40,125,160,.12); }
.news-card-meta { display: flex; align-items: center; gap: 10px; color: #6f8b9d; font-family: 'DM Mono', monospace; font-size: 9px; }
.news-card-meta span { padding: 4px 8px; border-radius: 999px; background: #eaf8fe; color: #1f5fae; font-family: 'Noto Sans JP', sans-serif; font-size: 10px; font-weight: 700; }
.news-card h3 { margin: 17px 0 0; color: #174f91; font-size: 14px; line-height: 1.7; }
.news-card > button { position: absolute; right: 18px; bottom: 19px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #f9c94d; color: #174f91; }
@media (max-width: 700px) { .news-section { padding: 60px 0 56px; } .news-section .section-heading-row { align-items: flex-start; flex-direction: column; gap: 14px; } .news-grid { grid-template-columns: 1fr; } .news-card { min-height: 124px; } }
.news-list { border-top: 2px solid #1f5fae; background: #fff; box-shadow: 0 8px 22px rgba(40,125,160,.06); }
.news-item { border-bottom: 1px solid #d7eff9; }
.news-trigger { display: grid; grid-template-columns: 170px minmax(0, 1fr) 28px; align-items: center; gap: 20px; width: 100%; padding: 18px 22px; background: transparent; color: #174f91; text-align: left; transition: background .18s ease; }
.news-trigger:hover, .news-item.is-open .news-trigger { background: #f5fbfe; }
.news-trigger .news-card-meta { display: flex; align-items: center; gap: 10px; }
.news-trigger strong { font-size: 14px; line-height: 1.6; }
.news-trigger > svg { justify-self: end; color: #1f5fae; transition: transform .2s ease; }
.news-item.is-open .news-trigger > svg { transform: rotate(180deg); }
.news-body { padding: 0 70px 19px 212px; background: #f5fbfe; }
.news-body p { margin: 0; color: #557085; font-size: 13px; line-height: 1.9; }
@media (max-width: 700px) { .news-trigger { grid-template-columns: 1fr 25px; gap: 7px; padding: 15px 16px; } .news-trigger .news-card-meta { grid-column: 1 / -1; } .news-trigger strong { grid-column: 1; font-size: 13px; } .news-trigger > svg { grid-column: 2; grid-row: 2; } .news-body { padding: 0 16px 17px; } .news-body p { font-size: 12px; } }

/* ---------- 相談窓口のご紹介 ---------- */
.contact-section { padding: 112px 0 120px; background: #2e98d1; color: #fff; }
.contact-heading .section-heading .eyebrow, .contact-heading .section-heading h2, .contact-heading .section-copy { color: #fff; }
.contact-heading .section-copy { opacity: .88; }
.contact-hours-centered { max-width: 560px; margin: 29px auto 30px; border-left-color: #f9c94d; background: rgba(255,255,255,.13); color: #fff; text-align: center; }
.contact-hours-centered strong, .contact-hours-centered p { color: #fff; }
.contact-method-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 9px; border-radius: 28px; background: rgba(255,255,255,.22); }
.contact-method { position: relative; display: flex; min-height: 255px; flex-direction: column; align-items: center; justify-content: center; padding: 24px 18px; border-radius: 21px; background: #fff; color: #174f91; text-align: center; transition: transform .18s ease, box-shadow .18s ease; }
.contact-method:hover { transform: translateY(-4px); box-shadow: 0 16px 28px rgba(12,82,137,.2); }
.contact-method-social { background: #f8fdff; }
.contact-method-icon { display: grid; place-items: center; width: 74px; height: 74px; margin-bottom: 12px; border-radius: 22px; background: #eaf8fe; color: #1f5fae; }
.contact-method-email .contact-method-icon { color: #1f5fae; }
.contact-method-phone .contact-method-icon { background: #fff0e8; color: #e35c17; }
.contact-method strong { font-family: 'Zen Kaku Gothic New', sans-serif; font-size: 24px; font-weight: 900; line-height: 1.15; }
.contact-method b { margin-top: 3px; color: #557085; font-family: 'DM Mono', monospace; font-size: 12px; }
.contact-method p { margin: 12px 0 0; color: #557085; font-size: 11px; line-height: 1.75; }
.contact-method-arrow { position: absolute; right: 16px; bottom: 16px; color: #f0ad28; }
.qr-pair { display: flex; align-items: flex-start; gap: 12px; margin-top: 10px; }
.qr-pair > div { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.qr-placeholder { display: grid; place-items: center; width: 58px; height: 58px; border: 2px dashed #7bbbd7; border-radius: 7px; background: repeating-linear-gradient(45deg, #f0fbfe, #f0fbfe 4px, #fff 4px, #fff 8px); color: #4c98ba; font-family: 'DM Mono', monospace; font-size: 9px; font-weight: 700; line-height: 1.2; }
.qr-pair small { color: #557085; font-size: 10px; font-weight: 800; }
.contact-qr-note { margin: 17px 0 0; color: rgba(255,255,255,.85); text-align: center; font-size: 11px; }
@media (max-width: 700px) { .contact-section { padding: 70px 0 78px; } .contact-method-grid { grid-template-columns: 1fr; gap: 8px; padding: 8px; } .contact-method { min-height: 190px; } .contact-method-social { min-height: 220px; } .contact-method-icon { width: 58px; height: 58px; border-radius: 18px; } .contact-method strong { font-size: 21px; } }
.contact-method-email p, .contact-method-phone p { margin-top: 14px; color: #123b70; font-size: 13px; font-weight: 900; line-height: 1.75; overflow-wrap: anywhere; }
.contact-method-email p { padding: 7px 10px; border-radius: 8px; background: #eaf8fe; }
.contact-method-phone p { padding: 7px 10px; border-radius: 8px; background: #fff3ed; color: #9d3f13; }

/* ---------- 相談窓口の場所・地図 ---------- */
.contact-location { display: grid; grid-template-columns: .78fr 1.22fr; gap: 18px; margin-top: 34px; padding: 10px; border-radius: 24px; background: rgba(255,255,255,.2); }
.contact-location-copy { padding: 28px 26px; border-radius: 17px; background: #fff; color: #174f91; }
.contact-location-copy .entry-eyebrow { color: #1f5fae; }
.contact-location-copy h3 { margin: 8px 0 12px; font-family: 'Zen Kaku Gothic New', sans-serif; font-size: 24px; font-weight: 900; }
.contact-location-copy p { margin: 0; color: #123b70; font-size: 14px; font-weight: 800; line-height: 2; }
.contact-location-copy a { display: inline-flex; align-items: center; gap: 7px; margin-top: 18px; color: #1f5fae; font-size: 12px; font-weight: 900; text-decoration: underline; text-underline-offset: 4px; }
.contact-map { min-height: 330px; overflow: hidden; border: 5px solid #fff; border-radius: 17px; background: #dceff5; }
.contact-map iframe { display: block; width: 100%; height: 100%; min-height: 320px; border: 0; }
@media (max-width: 700px) { .contact-location { grid-template-columns: 1fr; gap: 10px; } .contact-location-copy { padding: 23px 20px; } .contact-location-copy h3 { font-size: 21px; } .contact-location-copy p { font-size: 12px; } .contact-map { min-height: 270px; } .contact-map iframe { min-height: 260px; } }

/* ---------- 対面相談日（中央寄せ版） ---------- */
.contact-hours-centered > span { display: block; margin-top: 10px; color: rgba(255,255,255,.92); font-size: 12px; font-weight: 700; }
.contact-hours-centered > strong { display: block; color: #fff; font-size: 22px; font-weight: 900; letter-spacing: .04em; }
.contact-hours-centered > p { margin-top: 8px; color: #fff; font-size: 16px; font-weight: 800; line-height: 1.9; }
@media (max-width: 700px) { .contact-hours-centered > strong { font-size: 20px; } .contact-hours-centered > p { font-size: 14px; } }

/* ---------- フッターロゴ ---------- */
.footer-notice-image { display: flex; justify-content: center; padding: 18px 20px 26px; background: #174f91; }
.footer-notice-image img { display: block; width: min(803px, 100%); height: auto; max-height: 203px; object-fit: contain; }
@media (max-width: 700px) { .footer-notice-image { padding: 14px 16px 21px; } }
.footer-logo-row { display: flex; align-items: center; justify-content: center; gap: clamp(22px, 5vw, 64px); width: min(760px, 100%); }
.footer-notice-image .footer-logo-ishikawa { width: min(360px, 42vw); max-height: 82px; object-fit: contain; }
.footer-notice-image .footer-logo-ilac { width: min(300px, 36vw); max-height: 52px; object-fit: contain; }
@media (max-width: 700px) { .footer-logo-row { flex-direction: column; gap: 13px; } .footer-notice-image .footer-logo-ishikawa { width: min(260px, 72vw); max-height: 58px; } .footer-notice-image .footer-logo-ilac { width: min(245px, 70vw); max-height: 40px; } }

/* ---------- 準備中のお知らせ（トースト） ---------- */
.toast { position: fixed; z-index: 200; left: 50%; bottom: 24px; width: min(360px, calc(100% - 32px)); padding: 14px 18px; border: 1px solid #d8eff9; border-radius: 12px; background: #fff; color: #174f91; box-shadow: 0 12px 30px rgba(18,59,93,.18); font-size: 13px; line-height: 1.6; opacity: 0; transform: translate(-50%, 12px); transition: opacity .2s ease, transform .2s ease; pointer-events: none; }
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }
.toast strong { display: block; font-weight: 800; }
.toast span { color: #557085; font-size: 12px; }

/* ---------- HTML化に伴う調整 ---------- */
[hidden] { display: none !important; }
/* アイコン（SVGスプライト）の線設定 */
.ic { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* 「相談してみる」ボタン（元はbutton、ページ内リンクに変更） */
.free-banner-button { display: inline-flex; align-items: center; gap: 7px; padding: 10px 13px; border-radius: 10px; background: #174f91; color: #fff; font-size: 11px; font-weight: 800; }
@media (max-width: 640px) { .free-banner-button { width: 100%; justify-content: center; } }
/* スマホメニュー内の「無料で相談する」 */
.mobile-nav .mobile-nav-cta { color: #1b5a9e; border-bottom: 0; }
/* 画像が届くまでの下地色 */
.hero-photo { background: #cfe9f6; }
.hero-visual { width: 100%; }
/* 背景の装飾円より見出しを前面に */
.services-section > .civic-container { position: relative; }
/* ヒーロー右下の石川イラスト（差し替え素材に合わせて位置調整） */
.civic-hero .ridge-strip { right: 0; bottom: 0; width: min(64%, 980px); opacity: .32; }
.civic-hero .ridge-strip img { display: block; width: 100%; height: auto; }
@media (max-width: 900px) { .civic-hero .ridge-strip { width: 100%; opacity: .22; } }

/* ---------- イベント・セミナー情報（プルダウン型） ---------- */
.event-list { display: grid; gap: 12px; margin-top: 44px; }
.event-item { overflow: hidden; border: 1px solid #d8eff9; border-radius: 18px; background: #fff; box-shadow: 0 6px 18px rgba(40,125,160,.06); transition: border-color .2s ease, box-shadow .2s ease; }
.event-item:hover { border-color: #a4dff5; }
.event-item.is-open { border-color: #2e75bd; box-shadow: 0 12px 26px rgba(31,95,174,.1); }
.event-trigger { display: grid; grid-template-columns: 84px minmax(0, 1fr) 40px; align-items: center; gap: 20px; width: 100%; padding: 16px 22px 16px 16px; color: #174f91; text-align: left; }
.event-item .event-date { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 0; height: auto; padding: 12px 0; border: 0; border-radius: 14px; }
.event-item.event-sky .event-date { background: #e5f6fd; }
.event-item.event-yellow .event-date { background: #fff5c9; }
.event-item.event-mint .event-date { background: #eaf8f3; }
.event-head { display: flex; flex-direction: column; gap: 2px; }
.event-head .event-category { color: #1f5fae; font-size: 10px; font-weight: 900; }
.event-title { color: #174f91; font-size: 15px; font-weight: 900; line-height: 1.6; }
.event-meta { color: #557085; font-size: 11px; }
.event-toggle { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #eaf8fe; color: #1f5fae; transition: transform .2s ease, background .2s ease, color .2s ease; }
.event-item.is-open .event-toggle { transform: rotate(45deg); background: #174f91; color: #fff; }
.event-detail { padding: 0 26px 24px 120px; }
.event-detail p { color: #557085; font-size: 13px; line-height: 1.9; }
.event-detail dl { display: grid; gap: 6px; margin: 14px 0 0; padding: 14px 16px; border-radius: 12px; background: #f5fbfe; font-size: 12px; line-height: 1.7; }
.event-detail dl div { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 10px; }
.event-detail dt { color: #1f5fae; font-weight: 800; }
.event-detail dd { margin: 0; color: #31576f; }
.event-detail-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 16px; color: #1b5a9e; font-size: 12px; font-weight: 900; text-decoration: underline; text-decoration-color: #9adcf4; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.event-detail-link:hover { color: #174f91; }
@media (max-width: 640px) {
  .event-list { margin-top: 32px; }
  .event-trigger { grid-template-columns: 62px minmax(0, 1fr) 32px; gap: 12px; padding: 13px 14px 13px 12px; }
  .event-item .event-date strong { font-size: 18px; }
  .event-title { font-size: 13px; }
  .event-toggle { width: 32px; height: 32px; }
  .event-detail { padding: 0 16px 20px; }
  .event-detail dl div { grid-template-columns: 64px minmax(0, 1fr); }
}

/* ---------- イベント：1行レイアウト＋カレンダーアイコン ---------- */
.event-trigger { display: flex; align-items: center; gap: 18px; padding: 16px 22px 16px 18px; }
.event-cal { display: flex; flex: 0 0 58px; flex-direction: column; align-items: center; overflow: hidden; width: 58px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px #d8eff9, 0 4px 10px rgba(40,125,160,.1); line-height: 1; }
.event-cal-month { align-self: stretch; padding: 4px 0 3px; color: #fff; font-family: 'DM Mono', monospace; font-size: 9px; font-weight: 500; letter-spacing: .12em; text-align: center; }
.event-cal strong { margin-top: 5px; color: #174f91; font-family: 'Zen Kaku Gothic New', sans-serif; font-size: 22px; font-weight: 900; }
.event-cal-day { margin: 3px 0 6px; color: #6f8b9d; font-family: 'DM Mono', monospace; font-size: 8px; letter-spacing: .1em; }
.event-item.event-sky .event-cal-month { background: #1faae5; }
.event-item.event-yellow .event-cal-month { background: #f0ad28; }
.event-item.event-mint .event-cal-month { background: #36a67f; }
.event-head { display: flex; flex: 1; flex-direction: row; align-items: center; gap: 14px; min-width: 0; }
.event-head .event-category { flex: 0 0 auto; padding: 4px 11px; border-radius: 999px; font-size: 11px; font-weight: 800; line-height: 1.4; }
.event-item.event-sky .event-category { background: #e5f6fd; color: #1b5a9e; }
.event-item.event-yellow .event-category { background: #fff5c9; color: #8a5a00; }
.event-item.event-mint .event-category { background: #eaf8f3; color: #1f7a5a; }
.event-title { flex: 1; min-width: 0; font-size: 16px; }
.event-meta { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 5px; padding: 4px 11px; border: 1px solid #d8eff9; border-radius: 999px; color: #557085; font-size: 11px; font-weight: 700; line-height: 1.4; }
.event-meta svg { color: #1f5fae; }
.event-toggle { flex: 0 0 36px; }
.event-detail { padding: 0 26px 24px 94px; }
@media (max-width: 900px) {
  .event-head { flex-wrap: wrap; gap: 6px 10px; }
  .event-title { flex-basis: 100%; order: 2; }
  .event-meta { order: 3; }
}
@media (max-width: 640px) {
  .event-trigger { gap: 12px; padding: 13px 14px 13px 12px; }
  .event-cal { flex-basis: 50px; width: 50px; }
  .event-cal strong { font-size: 19px; }
  .event-title { font-size: 14px; }
  .event-toggle { flex-basis: 32px; }
  .event-detail { padding: 0 16px 20px; }
}
.event-head .event-category { min-width: 78px; text-align: center; }
@media (max-width: 900px) { .event-head .event-category { min-width: 0; } }

/* =========================================================
   ふりがな（ルビ）
   ========================================================= */
ruby { ruby-position: over; }
rt { font-family: 'Noto Sans JP', sans-serif; font-size: .5em; font-weight: 500; letter-spacing: 0; line-height: 1; -webkit-user-select: none; user-select: none; }
.ruby-off rt { display: none; }
/* flex内のテキストをまとめるための span（既存の span 用スタイルを打ち消す） */
.entry-card li span.fg { color: inherit; font-weight: inherit; }

/* 切替ボタン */
.ruby-toggle { display: inline-flex; flex-shrink: 0; align-items: center; gap: 6px; height: 32px; padding: 0 5px 0 11px; border: 1px solid #b8d4ed; border-radius: 999px; background: #fff; color: #174f91; font-family: inherit; font-size: 11px; font-weight: 800; line-height: 1; cursor: pointer; transition: border-color .18s ease; }
.ruby-toggle:hover { border-color: #2e75bd; }
.ruby-toggle:focus-visible { outline: 3px solid #2e75bd; outline-offset: 2px; }
.ruby-toggle-state { display: inline-grid; place-items: center; min-width: 34px; height: 22px; padding: 0 6px; border-radius: 999px; background: #174f91; color: #fff; font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: .04em; }
.ruby-toggle[aria-pressed="false"] .ruby-toggle-state { background: #d8e4ec; color: #557085; }
.entry-header-actions { display: flex; align-items: center; gap: 14px; }
/* ルビの大きさ：本文は読める大きさを確保、大見出しは控えめに上限を設ける */
rt { font-size: clamp(7.5px, .5em, 14px); letter-spacing: -.03em; }
:is(h1, h2, h3) rt { font-size: clamp(8px, .4em, 15px); font-weight: 700; }
/* ルビが漢字より長いときに、漢字の字間が広がりすぎないよう中央寄せ＋左右に少しはみ出させる */
ruby { ruby-align: center; }
rt { ruby-align: center; margin-inline: -.6em; }

/* ふりがなON時：行間が詰まった要素はルビ分の高さを確保 */
html:not(.ruby-off) :is(
  .entry-brand > span, .civic-brand > span, .footer-links,
  .theme-card h3, .theme-card p, .service-card h3, .service-footnote,
  .step-item h3, .step-item p, .free-banner strong, .free-banner div span,
  .news-trigger strong, .event-title, .qr-pair small, .entry-card li,
  .contact-hours-centered > span, .contact-location-copy p, .related-links-grid a strong
) { line-height: 2.1; }
html:not(.ruby-off) :is(.contact-method strong, .contact-hours-centered > strong) { line-height: 1.9; }
html:not(.ruby-off) .contact-hours-centered > p { line-height: 2.3; }
/* ラベル・ボタン類：ルビが枠内に収まるよう高さを確保 */
html:not(.ruby-off) :is(.news-card-meta span, .event-head .event-category, .event-meta, .outline-blue-button,
  .free-banner-button, .entry-card-link, .event-detail-link) { line-height: 2.2; }
html:not(.ruby-off) :is(.news-card-meta span, .event-head .event-category, .event-meta) { padding-top: 2px; padding-bottom: 1px; }
html:not(.ruby-off) :is(.outline-blue-button, .free-banner-button) { padding-top: 6px; padding-bottom: 6px; }
html:not(.ruby-off) .theme-card p { margin-top: 2px; }
html:not(.ruby-off) .step-item h3 { margin-bottom: 2px; }

/* スマホ：ヘッダーを2段に（1段目：ロゴ・ふりがな・メニュー／2段目：言語メニュー） */
@media (max-width: 640px) {
  .header-inner { flex-wrap: wrap; row-gap: 8px; min-height: 0; padding: 10px 0 9px; }
  .header-actions { display: contents; }
  .civic-brand { order: 1; }
  .civic-header .ruby-toggle { order: 2; margin-left: auto; }
  .menu-button { order: 3; }
  .language-menu { order: 4; flex-basis: 100%; max-width: none; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; }
  .language-menu::-webkit-scrollbar { display: none; }
  .language-menu button:nth-of-type(n+4), .language-menu span:nth-of-type(n+4) { display: inline-block; }
  .language-menu button, .language-menu span { flex-shrink: 0; font-size: 10px; }

  /* ① */
  .entry-header-inner { flex-wrap: wrap; row-gap: 8px; min-height: 0; padding: 10px 0 9px; }
  .entry-header-actions { display: contents; }
  .entry-header .ruby-toggle { order: 2; margin-left: auto; }
  .entry-language { order: 3; flex-basis: 100%; max-width: none; justify-content: flex-start; flex-wrap: nowrap; font-size: 10px; }
}

/* ①ヘッダーの言語メニュー（②と共通デザイン） */
.entry-header .language-menu > svg { display: block; flex-shrink: 0; }
.entry-header .language-menu button { margin: 0; cursor: pointer; }
@media (max-width: 640px) {
  .entry-header .language-menu { order: 3; }
}

/* ①「生活・法律相談」カードの画像アイコン */
.entry-card-icon-img { overflow: hidden; }
.entry-card-icon-img img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ①「相談窓口へ進む」をピル型ボタンに（カード内で中央揃え） */
.entry-card-link {
  align-self: center; justify-content: center; gap: 10px;
  min-width: 220px; margin-top: auto; padding: 15px 30px;
  border-radius: 999px; background: #174f91; color: #fff;
  font-size: 14px; font-weight: 900; letter-spacing: .02em;
  box-shadow: 0 10px 22px rgba(23,79,145,.22);
  transition: background .2s ease, box-shadow .2s ease, transform .2s ease;
}
.entry-card-link svg { color: #ffe27a; }
.entry-card:hover .entry-card-link { background: #1f5fae; box-shadow: 0 14px 28px rgba(23,79,145,.3); }
.entry-card ul { margin-bottom: 30px; }
html:not(.ruby-off) .entry-card-link { padding-top: 10px; padding-bottom: 10px; line-height: 2.2; }
@media (max-width: 700px) {
  .entry-card-link { min-width: 0; width: 100%; padding: 14px 20px; font-size: 13px; }
  html:not(.ruby-off) .entry-card-link { padding-top: 9px; padding-bottom: 9px; }
}

/* =========================================================
   外国語ページの文字組み
   ========================================================= */
html:not([lang="ja"]) body { font-family: 'Noto Sans', sans-serif; }
html[lang="zh-Hans"] body { font-family: 'Noto Sans SC', 'Noto Sans', sans-serif; }
html[lang="my"] body { font-family: 'Noto Sans Myanmar', 'Noto Sans', 'Myanmar Text', 'Padauk', sans-serif; line-height: 2; }
html:not([lang="ja"]) :is(.entry-hero h1, .entry-section-intro h2, .entry-card h3) { font-family: inherit; letter-spacing: -.02em; }
html:not([lang="ja"]) .entry-hero h1 { font-size: clamp(34px, 5vw, 64px); line-height: 1.25; }
html:not([lang="ja"]) .entry-section-intro h2 { font-size: clamp(24px, 3.2vw, 38px); line-height: 1.35; }
html:not([lang="ja"]) .entry-card h3 { font-size: clamp(20px, 2.4vw, 26px); line-height: 1.4; }
html:not([lang="ja"]) .entry-brand strong { font-size: 15px; }
html:not([lang="ja"]) .entry-card-link { text-align: center; }
html[lang="zh-Hans"] :is(.entry-hero h1, .entry-section-intro h2, .entry-card h3) { letter-spacing: -.04em; }
html[lang="zh-Hans"] .entry-hero h1 { font-size: clamp(43px, 6vw, 76px); }
/* ミャンマー文字は上下に長いので行間を広めに */
html[lang="my"] :is(.entry-hero h1, .entry-section-intro h2, .entry-card h3) { letter-spacing: 0; }
html[lang="my"] .entry-hero h1 { font-size: clamp(28px, 4.2vw, 52px); line-height: 1.7; }
html[lang="my"] .entry-section-intro h2 { font-size: clamp(22px, 2.8vw, 32px); line-height: 1.7; }
html[lang="my"] .entry-card h3 { font-size: clamp(18px, 2vw, 22px); line-height: 1.7; }
html[lang="my"] :is(.entry-brand strong, .entry-brand small) { line-height: 1.7; }
html[lang="my"] :is(.entry-card ul, .entry-lead) { line-height: 2.1; }

/* =========================================================
   言語メニュー（横並び・各言語ページへのリンク）
   ========================================================= */
.language-menu a { flex-shrink: 0; color: #557085; font-size: 9px; font-weight: 700; text-decoration: none; }
.language-menu a:hover, .language-menu a.language-active { color: #174f91; text-decoration: underline; text-underline-offset: 3px; }
.language-menu a:focus-visible { outline: 2px solid #2e75bd; outline-offset: 2px; border-radius: 2px; }
.entry-header .language-menu > svg { display: block; flex-shrink: 0; }
@media (max-width: 1100px) { .language-menu a { font-size: 8px; } }
/* タブレット：7言語すべてを横スクロールで選べるように（以前は4言語目以降が非表示） */
@media (max-width: 900px) {
  .language-menu { max-width: 300px; overflow-x: auto; scrollbar-width: none; }
  .language-menu::-webkit-scrollbar { display: none; }
  .language-menu :is(a, button, span):nth-of-type(n) { display: inline-block; flex-shrink: 0; }
}
/* スマホ：①も②と同じく2段ヘッダー（2段目に言語メニュー） */
@media (max-width: 640px) {
  .entry-header-actions { display: contents; margin-left: 0; }
  .entry-header .language-menu { order: 3; flex-basis: 100%; max-width: none; justify-content: flex-start; }
  .entry-header .ruby-toggle { order: 2; margin-left: auto; }
  .language-menu a { font-size: 10px; }
}

/* =========================================================
   ②外国語ページの文字組み
   ========================================================= */
html:not([lang="ja"]) :is(.hero-copy h1, .section-heading h2, .contact-location-copy h3, .contact-method strong, .free-badge) { font-family: inherit; letter-spacing: -.01em; }
html:not([lang="ja"]) .civic-hero .hero-copy h1 { font-size: clamp(32px, 4.2vw, 54px); line-height: 1.15; }
html:not([lang="ja"]) .section-heading h2 { font-size: clamp(28px, 3.6vw, 46px); line-height: 1.2; }
html:not([lang="ja"]) :is(.theme-card h3, .service-card h3, .step-item h3, .event-title, .news-trigger strong) { letter-spacing: 0; }
html[lang="zh-Hans"] :is(.hero-copy h1, .section-heading h2) { letter-spacing: -.04em; }
html[lang="zh-Hans"] .civic-hero .hero-copy h1 { font-size: clamp(39px, 5vw, 60px); line-height: 1.25; }
html[lang="zh-Hans"] .section-heading h2 { font-size: clamp(34px, 4.4vw, 56px); line-height: 1.25; }
/* ミャンマー文字：上下に長いので小さめ・行間広め */
html[lang="my"] :is(.hero-copy h1, .section-heading h2, .contact-location-copy h3, .contact-method strong) { letter-spacing: 0; }
html[lang="my"] .civic-hero .hero-copy h1 { font-size: clamp(26px, 3.4vw, 42px); line-height: 1.65; }
html[lang="my"] .section-heading h2 { font-size: clamp(24px, 3vw, 36px); line-height: 1.65; }
html[lang="my"] :is(.theme-card h3, .service-card h3, .step-item h3, .event-title, .news-trigger strong, .faq-item button, .contact-method strong) { line-height: 1.8; }
html[lang="my"] :is(.section-copy, .hero-copy p, .faq-item p, .news-body p, .step-item p, .theme-card p) { line-height: 2.1; }
/* 写真左上の「相談 FREE」バッジ：外国語は文字を小さく */
html:not([lang="ja"]):not([lang="zh-Hans"]) .free-badge { font-size: 13px; line-height: 1.2; text-align: center; }
html[lang="my"] .free-badge { font-size: 11px; }
/* お知らせの種別ラベル：外国語は1行で表示できるよう列を広げる */
html:not([lang="ja"]) .news-card-meta span { font-family: inherit; white-space: nowrap; }
@media (min-width: 701px) {
  html:not([lang="ja"]) .news-trigger { grid-template-columns: 270px minmax(0, 1fr) 28px; }
  html:not([lang="ja"]) .news-body { padding-left: 312px; }
}
html:not([lang="ja"]) .news-card-meta span { font-family: 'Noto Sans', sans-serif; }
html[lang="zh-Hans"] .news-card-meta span { font-family: 'Noto Sans SC', 'Noto Sans', sans-serif; }
html[lang="my"] .news-card-meta span { font-family: 'Noto Sans Myanmar', 'Noto Sans', sans-serif; }

/* 「窓口について」の4つのカード：通常は白、マウスを乗せると水色（4枚共通） */
.theme-card { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background-color .2s ease; }
.theme-card:hover { background: #eaf8fe; }

/* =========================================================
   「こんなことを相談できます」カード：左写真・右テキスト
   ========================================================= */
.service-grid { gap: 18px; }
.service-card-photo { display: grid; grid-template-columns: 44% minmax(0, 1fr); min-height: 190px; padding: 0; overflow: hidden; border-radius: 22px; }
.service-photo { position: relative; display: grid; place-items: center; min-height: 100%; overflow: hidden; background: linear-gradient(140deg, #d6eefa 0%, #eef9fe 100%); color: #9fcfe6; }
.service-photo img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.service-card-photo:hover .service-photo img { transform: scale(1.04); }
.service-body { display: flex; flex-direction: column; justify-content: center; padding: 18px 16px 20px 18px; }
.service-card-photo .service-number { position: static; align-self: center; margin-bottom: 12px; color: #1f5fae; font-family: 'Noto Sans JP', 'Noto Sans', sans-serif; font-size: 22px; font-weight: 800; line-height: 1; letter-spacing: .02em; }
.service-label { display: flex; align-items: center; gap: 7px; margin-bottom: 6px; }
.service-card-photo .service-icon { flex-shrink: 0; width: 24px; height: 24px; border-radius: 8px; }
.service-en { color: #1f5fae; font-family: 'Noto Sans', sans-serif; font-size: 10px; font-weight: 700; line-height: 1.35; }
.service-card-photo h3 { margin: 0; color: #eea61b; font-size: 17px; font-weight: 900; line-height: 1.45; }
html[lang="en"] .service-en { display: none; }
html[lang="en"] .service-label { margin-bottom: 8px; }
@media (max-width: 1000px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .service-grid { grid-template-columns: 1fr; gap: 12px; }
  .service-card-photo { grid-template-columns: 40% minmax(0, 1fr); min-height: 150px; }
  .service-card-photo .service-number { font-size: 19px; margin-bottom: 9px; }
  .service-card-photo h3 { font-size: 15px; }
}
/* ふりがなON時の行間 */
html[lang="ja"]:not(.ruby-off) .service-card-photo h3 { line-height: 2; }
html[lang="my"] .service-card-photo h3 { font-size: 14px; line-height: 1.8; }

/* 「窓口について」：見出しを上段に横いっぱい、下段に説明文（左）とカード（右） */
.about-heading { margin-bottom: 46px; }
.about-heading h2 { max-width: none; }
.about-grid { gap: 64px; }
.about-intro .section-copy { margin-top: 0; }
@media (max-width: 900px) { .about-heading { margin-bottom: 30px; } }
/* 次のセクション（相談できること）の装飾円が、カードに重ならないように */
.about-section { position: relative; z-index: 1; }

/* 「窓口について」カードの水彩アイコン */
.theme-icon-img { overflow: hidden; }
.theme-icon-img img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* 相談の流れ：水彩の丸アイコン（画像側に丸が描かれているので枠・背景は外す） */
.step-circle-img { width: 60px; height: 60px; overflow: hidden; border: 0; background: none; }
.step-circle-img img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }

/* ②各セクション見出し上の英字（NEWS & TOPICS など）をオレンジに統一 */
.civic-site .section-heading .eyebrow,
.contact-section .section-heading .eyebrow,
.contact-heading .section-heading .eyebrow { color: #f9c94d; }

/* 関連リンクのカード：マウスオン時は「窓口について」のカードと同じ薄い青に */
.related-links-grid a { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background-color .2s ease; }
.related-links-grid a:hover { background: #eaf8fe; border-color: #a4dff5; box-shadow: 0 16px 30px rgba(55,155,198,.12); }

/* =========================================================
   「相談は無料です」CTA（中央揃え・白背景・紺×オレンジ×薄い黄色）
   ========================================================= */
.free-cta { position: relative; overflow: hidden; max-width: 880px; margin: 58px auto 0; padding: 44px 32px 48px; border: 1px solid #f6e3a6; border-radius: 26px; background: #fff; text-align: center; box-shadow: 0 18px 40px rgba(240,173,40,.1); }
/* 四隅の斜めの帯（左上・右下） */
.free-cta::before, .free-cta::after { content: ''; position: absolute; width: 230px; height: 150px; pointer-events: none; }
.free-cta::before { top: 0; left: 0; background: linear-gradient(135deg, #f9c94d 0 16%, transparent 16% 22%, #fff3c4 22% 44%, transparent 44%); }
.free-cta::after { right: 0; bottom: 0; background: linear-gradient(315deg, #f9c94d 0 16%, transparent 16% 22%, #fff3c4 22% 44%, transparent 44%); }
.free-cta > * { position: relative; z-index: 1; }
.free-cta-eyebrow { margin: 0 0 8px; color: #f0ad28; font-family: 'DM Mono', monospace; font-size: 14px; font-weight: 500; letter-spacing: .3em; }
.free-cta-title { display: block; color: #174f91; font-family: 'Zen Kaku Gothic New', sans-serif; font-size: clamp(28px, 4vw, 42px); font-weight: 900; line-height: 1.35; letter-spacing: .08em; }
.free-cta-lead { margin: 10px 0 28px; color: #174f91; font-size: 15px; font-weight: 700; line-height: 1.8; letter-spacing: .04em; }
.free-cta-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 16px; min-width: 380px; padding: 14px 14px 14px 26px; border-radius: 999px; background: linear-gradient(90deg, #2266b8 0%, #174f91 100%); color: #fff; font-size: 16px; font-weight: 900; letter-spacing: .06em; box-shadow: 0 0 0 4px #fff, 0 0 0 5px #d9e7f3, 0 14px 28px rgba(23,79,145,.28); transition: transform .2s ease, box-shadow .2s ease, filter .2s ease; }
.free-cta-button:hover { transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 0 0 4px #fff, 0 0 0 5px #d9e7f3, 0 18px 34px rgba(23,79,145,.34); }
.free-cta-icon { color: #f9c94d; }
.free-cta-text { flex: 1; text-align: center; }
.free-cta-arrow { display: grid; place-items: center; width: 30px; height: 30px; flex: 0 0 30px; border-radius: 50%; background: #fff; color: #174f91; transition: transform .2s ease; }
.free-cta-button:hover .free-cta-arrow { transform: translateX(3px); }
@media (max-width: 640px) {
  .free-cta { margin-top: 40px; padding: 36px 18px 38px; border-radius: 20px; }
  .free-cta::before, .free-cta::after { width: 150px; height: 100px; }
  .free-cta-eyebrow { font-size: 12px; }
  .free-cta-lead { font-size: 13px; margin-bottom: 24px; }
  .free-cta-button { min-width: 0; width: 100%; font-size: 15px; padding-left: 20px; }
}
/* ふりがなON時 */
html[lang="ja"]:not(.ruby-off) .free-cta-title { line-height: 1.7; }
html[lang="ja"]:not(.ruby-off) .free-cta-lead { line-height: 2.2; }
html[lang="ja"]:not(.ruby-off) .free-cta-button { padding-top: 10px; padding-bottom: 10px; line-height: 2.1; }
/* 外国語ページ */
html:not([lang="ja"]) .free-cta-title { font-family: inherit; letter-spacing: .01em; }
html:not([lang="ja"]) :is(.free-cta-lead, .free-cta-button) { letter-spacing: .01em; }
html[lang="my"] .free-cta-title { font-size: clamp(22px, 3vw, 30px); line-height: 1.7; }
html[lang="my"] .free-cta-lead { line-height: 2.1; }
.free-cta::before, .free-cta::after { width: 210px; height: 210px; }
@media (max-width: 640px) { .free-cta::before, .free-cta::after { width: 130px; height: 130px; } }

/* 「窓口について」カードのアイコン：影を削除 */
.theme-icon, .theme-icon-img { box-shadow: none; }

/* =========================================================
   相談窓口のご紹介：見出し中央揃え＋対面相談日カード
   ========================================================= */
.contact-heading .section-heading { text-align: center; }
.contact-heading .section-copy { margin-left: auto; margin-right: auto; }

.hours-card { display: grid; grid-template-columns: 230px minmax(0, 1fr); max-width: 800px; margin: 36px auto 38px; overflow: hidden; border-radius: 24px; background: #fff; box-shadow: 0 24px 50px rgba(10,60,110,.22); }
.hours-card-head { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 32px 20px; overflow: hidden; background: #174f91; color: #fff; text-align: center; }
.hours-card-head::after { content: ''; position: absolute; right: -40px; bottom: -40px; width: 130px; height: 130px; border: 16px solid rgba(249,201,77,.18); border-radius: 50%; pointer-events: none; }
.hours-card-head > * { position: relative; z-index: 1; }
.hours-card-badge { display: grid; place-items: center; width: 66px; height: 66px; margin-bottom: 8px; border-radius: 50%; background: #f9c94d; color: #174f91; box-shadow: 0 0 0 7px rgba(249,201,77,.22); }
.hours-card-en { color: #f9c94d; font-family: 'DM Mono', monospace; font-size: 10px; font-weight: 500; letter-spacing: .26em; }
.hours-card-title { color: #fff; font-family: 'Zen Kaku Gothic New', sans-serif; font-size: 23px; font-weight: 900; line-height: 1.4; letter-spacing: .06em; }
.hours-card-body { display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 28px 30px; }
.hours-row { display: flex; align-items: center; gap: 14px; }
.hours-row + .hours-row { padding-top: 14px; border-top: 1px dashed #cfe6f3; }
.hours-row-icon { display: grid; place-items: center; width: 42px; height: 42px; flex: 0 0 42px; border-radius: 13px; background: #eaf8fe; color: #1f5fae; }
.hours-row p { margin: 0; color: #174f91; font-size: 16px; font-weight: 800; line-height: 1.6; }
.hours-note { display: flex; align-items: center; gap: 10px; margin-top: 4px; padding: 11px 14px; border-radius: 12px; background: #fff8e1; color: #7a5200; font-size: 12px; font-weight: 700; line-height: 1.7; }
.hours-note-icons { display: inline-flex; flex-shrink: 0; gap: 5px; color: #f0ad28; }
@media (max-width: 700px) {
  .hours-card { grid-template-columns: 1fr; margin: 28px auto 30px; border-radius: 20px; }
  .hours-card-head { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; row-gap: 2px; justify-items: start; padding: 18px 20px; text-align: left; }
  .hours-card-badge { grid-row: span 2; width: 50px; height: 50px; margin: 0; box-shadow: 0 0 0 5px rgba(249,201,77,.22); }
  .hours-card-en { align-self: end; }
  .hours-card-title { align-self: start; font-size: 19px; }
  .hours-card-body { padding: 20px 18px 22px; }
  .hours-row p { font-size: 14px; }
  .hours-note { align-items: flex-start; }
}
/* ふりがなON時 */
html[lang="ja"]:not(.ruby-off) .hours-card-title { line-height: 1.8; }
html[lang="ja"]:not(.ruby-off) .hours-row p { line-height: 2.2; }
html[lang="ja"]:not(.ruby-off) .hours-note { line-height: 2.1; }
/* 外国語ページ */
html:not([lang="ja"]) .hours-card-title { font-family: inherit; font-size: 20px; letter-spacing: .01em; }
html[lang="my"] .hours-card-title { font-size: 17px; line-height: 1.7; }
html[lang="my"] .hours-row p { font-size: 14px; line-height: 1.9; }
.hours-card-head::after { right: -58px; bottom: -64px; }

/* 対面相談日カード：下のメール（左端）・電話（右端）のカードとつらを揃える */
.hours-card { max-width: none; margin-left: 9px; margin-right: 9px; grid-template-columns: 260px minmax(0, 1fr); }
@media (max-width: 700px) { .hours-card { margin-left: 8px; margin-right: 8px; grid-template-columns: 1fr; } }

/* 「相談は無料です」枠：上のステップ5列の左端・右端とつらを揃える */
.free-cta { max-width: none; margin-left: 0; margin-right: 0; }

/* =========================================================
   連絡先の3枚：水彩アイコン／電話を青系に統一／見出し位置をそろえる
   ========================================================= */
/* 中身を上から並べ、アイコン・見出し・英字の高さを3枚でそろえる */
.contact-method { justify-content: flex-start; padding-top: 32px; }
.contact-method-social { background: #fff; }
.contact-method-icon-img { overflow: hidden; background: none; border-radius: 22px; }
.contact-method-icon-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* 電話：メールと同じ色・同じ枠 */
.contact-method-phone .contact-method-icon { background: none; }
.contact-method-phone p { background: #eaf8fe; color: #123b70; }
/* 受付曜日は枠の外に小さく */
.contact-method-sub { display: inline-flex; align-items: center; gap: 5px; margin-top: 9px; padding: 3px 11px; border: 1px solid #d8eff9; border-radius: 999px; color: #557085; font-size: 11px; font-weight: 700; line-height: 1.6; }
.contact-method-sub svg { color: #1f5fae; }
html[lang="ja"]:not(.ruby-off) .contact-method-sub { line-height: 2.1; padding-top: 1px; padding-bottom: 1px; }
@media (max-width: 700px) { .contact-method { padding-top: 26px; padding-bottom: 28px; } }
/* ふりがなON時：見出しの高さを固定して、ふりがなの有無で英字の位置がずれないように */
html[lang="ja"]:not(.ruby-off) .contact-method strong { display: block; height: 46px; }
html[lang="ja"]:not(.ruby-off) .contact-method-sub { padding-top: 6px; padding-bottom: 2px; line-height: 1.9; }

/* メールアドレス・電話番号の青い枠をカードの横幅いっぱいに */
.contact-method-email p, .contact-method-phone p { align-self: stretch; box-sizing: border-box; width: 100%; padding: 10px 12px; text-align: center; }

/* 英語の小見出し：指定の位置（and の後）だけで改行し、それ以外では折り返さない */
.service-en { white-space: nowrap; }
/* カード幅が狭くなる画面幅では、英字を少し小さくして2行に収める */
@media (min-width: 1001px) and (max-width: 1180px), (min-width: 641px) and (max-width: 900px) {
  .service-body { padding-left: 14px; padding-right: 12px; }
  .service-label { gap: 6px; }
  .service-en { font-size: 8.5px; letter-spacing: -.01em; }
}
/* 英字の大きさをカード幅に合わせて自動調整（どの画面幅でも「and」の後の改行位置だけで2行に収める） */
.service-label { container-type: inline-size; width: 100%; }
.service-en, :is(html) .service-en { font-size: clamp(7px, calc((100cqi - 32px) / 15.2), 10px); letter-spacing: 0; }
@media (min-width: 1001px) and (max-width: 1180px), (min-width: 641px) and (max-width: 900px) {
  .service-en { font-size: clamp(7px, calc((100cqi - 32px) / 15.2), 10px); letter-spacing: 0; }
}

/* 相談窓口の場所カード：右下に石川のハートイラスト（文字とは重ならない配置） */
.contact-location-copy { display: flex; flex-direction: column; align-items: flex-start; }
.access-deco { display: block; align-self: flex-end; width: 170px; height: auto; margin: auto -6px -8px 0; padding-top: 12px; mix-blend-mode: multiply; }
@media (max-width: 1000px) { .access-deco { width: 140px; } }
@media (max-width: 700px) { .access-deco { width: 120px; margin-top: -40px; } }

/* =========================================================
   各セクションのリード文（見出し下の説明文）を約2倍に
   ========================================================= */
.civic-site .section-copy { max-width: 920px; margin-top: 22px; font-size: clamp(17px, 2.2vw, 26px); font-weight: 500; line-height: 1.75; }
.civic-site .about-intro .section-copy { margin-top: 0; }
.civic-site .service-footnote { margin-top: 36px; font-size: clamp(16px, 1.9vw, 22px); line-height: 1.7; }
/* ふりがなON時は行間を広げる */
html[lang="ja"]:not(.ruby-off) .civic-site :is(.section-copy, .service-footnote) { line-height: 2.2; }
/* 外国語は文章が長くなるので少し控えめに */
html:not([lang="ja"]) .civic-site .section-copy { font-size: clamp(16px, 1.9vw, 22px); }
html:not([lang="ja"]) .civic-site .service-footnote { font-size: clamp(15px, 1.7vw, 19px); }
html[lang="my"] .civic-site :is(.section-copy, .service-footnote) { line-height: 2; }

/* 関連リンクのカード：文字を約1.5倍に */
.related-links-grid a { min-height: 140px; gap: 10px; padding: 24px 60px 24px 28px; }
.related-links-grid a span { font-family: 'Noto Sans JP', 'Noto Sans', sans-serif; font-size: 13px; letter-spacing: .04em; }
.related-links-grid a strong { font-size: 21px; line-height: 1.55; }
.related-links-grid a > svg { top: 24px; right: 22px; width: 24px; height: 24px; }
@media (max-width: 700px) {
  .related-links-grid a { min-height: 110px; padding: 20px 50px 20px 20px; }
  .related-links-grid a span { font-size: 12px; }
  .related-links-grid a strong { font-size: 17px; }
}
html[lang="ja"]:not(.ruby-off) .related-links-grid a strong { line-height: 2.1; }
html:not([lang="ja"]) .related-links-grid a strong { font-size: clamp(16px, 1.6vw, 19px); }
html[lang="zh-Hans"] .related-links-grid a span { font-family: 'Noto Sans SC', 'Noto Sans', sans-serif; }
html[lang="my"] .related-links-grid a span { font-family: 'Noto Sans Myanmar', 'Noto Sans', sans-serif; }
html[lang="my"] .related-links-grid a strong { line-height: 1.9; }


/* 対面相談日カード：水彩アイコン */
.hours-img { overflow: hidden; background: none; }
.hours-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hours-card-badge.hours-img { width: 76px; height: 76px; border-radius: 22px; box-shadow: 0 0 0 6px rgba(249,201,77,.22); }
.hours-row-icon.hours-img { width: 46px; height: 46px; flex-basis: 46px; border-radius: 12px; }
@media (max-width: 700px) {
  .hours-card-badge.hours-img { width: 54px; height: 54px; border-radius: 16px; box-shadow: 0 0 0 4px rgba(249,201,77,.22); }
}

/* 関連リンク「石川県内企業の…確保・／定着支援について…」：常に「確保・」の後で改行し、それ以外では折り返さない */
.related-links-grid a strong.rl-2line { container-type: inline-size; align-self: stretch; }
.related-links-grid a strong.rl-2line > span { color: inherit; font-family: inherit; font-weight: inherit; letter-spacing: inherit; white-space: nowrap; font-size: min(1em, calc(100cqi / 18.4)); }

/* ①カードの水彩アイコン：白い下地・影をなくし、カードの背景色になじませる */
.entry-card-icon.entry-card-icon-img { background: transparent; box-shadow: none; }
.entry-card-icon-img img { mix-blend-mode: multiply; }

/* ①の説明文：②のリード文と同じ大きさに */
.entry-section-intro > p:last-child, .entry-note { max-width: 920px; margin-left: auto; margin-right: auto; font-size: clamp(17px, 2.2vw, 26px); font-weight: 500; line-height: 1.75; }
.entry-section-intro > p:last-child { margin-top: 14px; }
.entry-note { margin-top: 40px; color: #557085; }
html[lang="ja"]:not(.ruby-off) :is(.entry-section-intro > p:last-child, .entry-note) { line-height: 2.2; }
html:not([lang="ja"]) :is(.entry-section-intro > p:last-child, .entry-note) { font-size: clamp(16px, 1.9vw, 22px); }
html[lang="my"] :is(.entry-section-intro > p:last-child, .entry-note) { line-height: 2; }

/* 指定位置でだけ改行する説明文（どの画面幅でも同じ改行位置に。狭い画面では文字が自動で縮む） */
.fixed-lines { container-type: inline-size; }
.fixed-lines > .fl { display: block; white-space: nowrap; font-size: min(1em, calc(100cqi / var(--fl-chars))); }

/* LINE・WhatsApp の QRコード */
.qr-pair { gap: 18px; margin-top: 14px; }
.qr-pair > div { gap: 6px; }
.qr-code { display: block; width: 104px; height: 104px; padding: 4px; border: 1px solid #d8eff9; border-radius: 10px; background: #fff; transition: box-shadow .2s ease, transform .2s ease; }
.qr-code:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(40,125,160,.15); }
.qr-code img { display: block; width: 100%; height: 100%; image-rendering: auto; }
.qr-pair small { font-size: 12px; }
@media (max-width: 700px) { .qr-code { width: 112px; height: 112px; } }

/* ①フッター：石川県・ILACロゴ（②と同じ帯） */
.entry-footer { padding-bottom: 0; }
.entry-footer-logos { margin-top: 22px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); }

/* 「窓口について」4つの問い（チラシに合わせた見出しのみのカード） */
.theme-card-q { align-items: center; }
.theme-card-q h3 { font-size: 16px; line-height: 1.55; }
html[lang="ja"]:not(.ruby-off) .theme-card-q h3 { line-height: 2.1; }
html:not([lang="ja"]) .theme-card-q h3 { font-size: 15px; }
/* ロゴ・フッターの小さな社名：ルビが本文より幅を取って字間が空かないように */
:is(.entry-brand, .civic-brand, .entry-footer) rt { font-size: .5em; letter-spacing: -.04em; }

/* 4つの問い：チラシと同じ水彩イラストを大きめに */
.theme-card-q { gap: 16px; padding: 14px 18px 14px 14px; }
.theme-card-q .theme-icon { width: 80px; height: 80px; flex: 0 0 80px; border-radius: 14px; background: transparent; box-shadow: none; }
.theme-card-q .theme-icon img { mix-blend-mode: multiply; }
@media (max-width: 640px) { .theme-card-q .theme-icon { width: 68px; height: 68px; flex-basis: 68px; } }

/* =========================================================
   ロゴ帯：白背景にして見やすく／石川県とILACの大きさのバランス調整（①②共通）
   ========================================================= */
.footer-notice-image { padding: 26px 20px 30px; background: #fff; border-top: 1px solid #d8eff9; }
.footer-logo-row { gap: clamp(28px, 6vw, 72px); }
.footer-notice-image .footer-logo-ishikawa { width: auto; height: 46px; max-height: none; }
.footer-notice-image .footer-logo-ilac { width: auto; height: 36px; max-height: none; }
.entry-footer-logos { margin-top: 22px; border-top: 0; }
@media (max-width: 700px) {
  .footer-notice-image { padding: 20px 16px 24px; }
  .footer-logo-row { gap: 16px; }
  .footer-notice-image .footer-logo-ishikawa { height: 38px; }
  .footer-notice-image .footer-logo-ilac { width: min(280px, 80vw); height: auto; }
}

/* お知らせ：チラシのダウンロード */
.news-flyer { margin-top: 14px; padding: 14px 16px; border-radius: 12px; background: #fff; border: 1px solid #d8eff9; }
.news-flyer .news-flyer-label { margin: 0 0 10px; color: #174f91; font-size: 13px; font-weight: 800; }
.news-flyer-links { display: flex; flex-wrap: wrap; gap: 8px; }
.news-flyer-links a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid #b8d4ed; border-radius: 999px; background: #f5fbfe; color: #174f91; font-size: 12px; font-weight: 800; line-height: 1.5; transition: background .15s ease, border-color .15s ease; }
.news-flyer-links a:hover { border-color: #2e75bd; background: #eaf8fe; }
.news-flyer-links a svg { color: #f0ad28; }
html[lang="ja"]:not(.ruby-off) .news-flyer-links a { line-height: 2.1; padding-top: 3px; padding-bottom: 2px; }

/* ②フッター：①と同じく青帯に白文字（ロゴ帯は白のまま） */
.civic-footer { border-top: 0; background: #174f91; }
.civic-footer .footer-brand, .civic-footer .footer-brand strong { color: #fff; }
.civic-footer .footer-links { color: rgba(255,255,255,.88); font-size: 12px; }
.civic-footer .footer-links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.civic-footer .footer-copy { color: rgba(255,255,255,.7); font-size: 10px; }
.civic-footer .footer-notice-image { border-top: 0; }

/* ①フッターの社名：②と同じ2段表記 */
.entry-footer-brand { color: #fff; font-size: 12px; line-height: 1.35; }
.entry-footer-brand strong { font-size: 14px; font-weight: 900; }
html[lang="ja"]:not(.ruby-off) .entry-footer-brand { line-height: 1.9; }
@media (max-width: 640px) { .entry-footer-brand { font-size: 10px; } .entry-footer-brand strong { font-size: 11px; } }
