/* =========================================================
   マネータックス 共通スタイル
   色や文字の太さを変えたいときは、まずこの :root を編集します
   ========================================================= */
:root {
  --teal: #05aab2;        /* ティファニーブルー（ロゴ・アクセント） */
  --teal-dark: #008b90;
  --teal-light: #e7fafa;  /* 薄いティファニーブルー（背景） */
  --navy: #12253e;        /* 文字色 */
  --orange: #f7931e;      /* ボタン・強調 */
  --orange-dark: #f06f02;
  --yellow: #fbc62c;
  --gray: #536b72;
  --header-h: max(60px, 4.2vw);
  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--navy);
  background: #fff;
  font-family: 'Noto Sans JP', 'Noto Sans CJK JP', -apple-system, BlinkMacSystemFont, 'Hiragino Sans', sans-serif;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  border-radius: 999px; font-weight: 900; padding: 15px 28px;
  transition: transform .2s, box-shadow .2s, background-color .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-orange { background: linear-gradient(100deg, var(--orange), var(--orange-dark)); color: #fff; box-shadow: 0 8px 18px rgba(240,111,2,.28); }
.btn-orange:hover { box-shadow: 0 12px 24px rgba(240,111,2,.36); }
.btn-outline { border: 2px solid var(--teal); color: var(--teal-dark); background: #fff; }
.btn-outline:hover { background: var(--teal); color: #fff; }
.btn-white { background: #fff; color: #f36e00; }
.btn-white:hover { box-shadow: 0 10px 22px rgba(0,0,0,.15); }

/* ---------- ヘッダー（1段・9項目） ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  border-bottom: 4px solid var(--teal);
}
.header-inner {
  height: var(--header-h);
  /* 承認デザインに合わせ、ロゴは左から約14.5%、ボタンは右から約9.4%の位置 */
  padding: 0 9.33vw 0 14.9vw;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand { display: flex; align-items: center; gap: max(8px, .45vw); flex-shrink: 0; }
.brand-mark { width: 2.6vw; min-width: 34px; height: auto; }
.brand-text { font-weight: 900; font-size: max(14px, 1.06vw); line-height: 1.25; letter-spacing: .02em; }
.brand-text small { display: block; font-size: max(11px, .86vw); font-weight: 900; letter-spacing: .18em; }
.global-nav { display: flex; align-items: center; gap: 1.01vw; margin-left: auto; }
.global-nav > a:not(.nav-contact) {
  font-size: 1.03vw; font-weight: 800; white-space: nowrap;
  padding: 6px 0; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s;
}
.global-nav > a:not(.nav-contact):hover,
.global-nav > a[aria-current="page"]:not([href="/"]) { color: var(--teal); border-color: var(--teal); }
.nav-contact {
  display: inline-flex; align-items: center; gap: .45vw; margin-left: .2vw;
  background: linear-gradient(100deg, #fe981b, var(--orange-dark)); color: #fff;
  font-weight: 900; font-size: 1.03vw; white-space: nowrap;
  padding: .5vw .6vw .5vw .62vw; min-width: 10.25vw; justify-content: center; border-radius: 999px; box-shadow: 0 6px 14px rgba(240,111,2,.25);
  transition: transform .2s, box-shadow .2s;
}
.nav-contact:hover { transform: translateY(-1px); box-shadow: 0 9px 18px rgba(240,111,2,.35); }
.nav-contact svg { width: 1em; height: 1em; }
.nav-toggle { display: none; }

@media (max-width: 1279px) and (min-width: 1081px) {
  .header-inner { padding: 0 24px; }
  .global-nav { gap: 14px; }
  .global-nav > a:not(.nav-contact) { font-size: 13px; }
  .nav-contact { font-size: 14px; padding: 10px 18px; }
}
@media (max-width: 1080px) {
  :root { --header-h: 64px; }
  .header-inner { padding: 0 16px; }
  .nav-toggle {
    display: grid; gap: 5px; place-content: center;
    width: 44px; height: 44px; border: 0; border-radius: 10px; background: var(--teal); cursor: pointer;
  }
  .nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s, opacity .25s; }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .global-nav {
    position: fixed; inset: calc(var(--header-h) + 4px) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: 8px 20px 24px; box-shadow: 0 16px 30px rgba(0,60,70,.15);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: .25s;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav-open .global-nav { transform: none; opacity: 1; visibility: visible; }
  .global-nav > a:not(.nav-contact) { font-size: 16px; padding: 14px 4px; border-bottom: 1px solid #e0f1f1; }
  .nav-contact { margin: 18px 0 0; justify-content: center; font-size: 16px; padding: 14px; }
}
@media (max-width: 420px) {
  .brand-mark { width: 34px; }
  .brand-text { font-size: 14px; }
  .brand-text small { font-size: 11px; }
}

/* ---------- フッター ---------- */
.site-footer { background: #e8f9f9; padding: 26px 0 16px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-brand { display: flex; align-items: center; gap: 12px; font-weight: 900; font-size: 15px; line-height: 1.3; }
.footer-brand img { width: 44px; }
.footer-brand small { display: block; font-size: 11px; font-weight: 500; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13px; font-weight: 800; }
.footer-links a:hover { color: var(--teal); }
.copyright { text-align: center; font-size: 11px; color: #5c7a80; margin: 16px auto 0; }
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

/* ---------- パンくず（ページ上部の「ホーム ＞ ○○」） ---------- */
.breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; padding-top: 14px; padding-bottom: 6px; }
.breadcrumb a { display: inline-flex; align-items: center; gap: 6px; }
.breadcrumb a:hover { color: var(--teal); }
.bc-home, .bc-sep { display: inline-block; width: 15px; height: 15px; }
.bc-sep { width: 13px; height: 13px; opacity: .7; }
mark { background: linear-gradient(transparent 12%, #fff13a 12%, #fff13a 88%, transparent 88%); color: inherit; padding: 0 .1em; }

/* ---------- お問い合わせへの誘導帯（会社案内・お知らせなどで共通） ---------- */
.contact-band {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 30px; margin-top: 60px; padding: 24px 22px 24px 48px;
  border-radius: 22px; background: linear-gradient(100deg, #12aaa8, #0e9ea0 50%, #13b7b4); color: #fff; box-shadow: 0 10px 26px rgba(0,130,130,.25);
}
.contact-band-title { margin: 0; display: flex; align-items: center; gap: 20px; font-size: 32px; font-weight: 900; white-space: nowrap; }
.contact-band-title span { display: block; width: 50px; height: 50px; }
.contact-band-text { margin: 0; padding-left: 30px; border-left: 2px solid rgba(255,255,255,.55); font-size: 15.5px; font-weight: 600; line-height: 1.75; }
.contact-band-btn {
  display: inline-flex; align-items: center; gap: 14px; padding: 16px 30px; border-radius: 999px; background: #fff; color: #f36b00;
  font-size: 19px; font-weight: 900; white-space: nowrap; box-shadow: 0 6px 16px rgba(0,60,60,.18); transition: transform .2s, box-shadow .2s;
}
.contact-band-btn:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(0,60,60,.26); }
.contact-band-btn span { display: block; width: 22px; height: 22px; }
.contact-band-btn svg { display: block; width: 100%; height: 100%; }
@media (max-width: 1080px) {
  .contact-band { grid-template-columns: 1fr; text-align: center; justify-items: center; gap: 14px; padding: 28px 20px; }
  .contact-band-text { border-left: 0; padding-left: 0; }
}
@media (max-width: 640px) {
  .contact-band { margin-top: 40px; }
  .contact-band-title { font-size: 26px; gap: 12px; }
  .contact-band-title span { width: 40px; height: 40px; }
  .contact-band-text { font-size: 15px; }
  .contact-band-text br { display: none; }
  .contact-band-btn { font-size: 18px; padding: 16px 26px; }
}
