@charset "UTF-8";

/* =========================================================
   合同会社 中小企業自主申告会 — サイト共通スタイル
   ========================================================= */

:root {
  --navy: #0b3d75;
  --navy-dark: #082c56;
  --navy-light: #12508f;
  --gold: #c19a3e;
  --gold-light: #d8b968;
  --ink: #23303d;
  --ink-soft: #4a5b6b;
  --line: #e2e7ec;
  --bg: #ffffff;
  --bg-alt: #f4f7fa;
  --bg-navy-tint: #eef3f8;
  --shadow: 0 10px 30px rgba(11, 61, 117, .08);
  --shadow-lg: 0 18px 50px rgba(11, 61, 117, .14);
  --maxw: 1080px;
  --radius: 10px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans",
    "Yu Gothic", Meiryo, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.9;
  font-size: 16px;
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--navy-light); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------------- Header / Nav ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 74px;
}
.brand { display: flex; flex-direction: column; line-height: 1.3; }
.brand .brand-sub {
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--gold);
  font-weight: 700;
}
.brand .brand-name {
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
  font-family: "Noto Serif JP", serif;
  white-space: nowrap;
}
@media (max-width: 1060px) {
  .brand .brand-name { font-size: 16px; }
}
.brand a { color: inherit; }

.nav ul {
  display: flex;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}
.nav a {
  display: block;
  padding: 10px 14px;
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 500;
  border-radius: 6px;  white-space: nowrap;
}
.nav a:hover { background: var(--bg-navy-tint); color: var(--navy); }
.nav a.nav-cta {
  background: var(--navy);
  color: #fff;
  font-weight: 700;
}
.nav a.nav-cta:hover { background: var(--gold); color: #fff; }

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 6px;
  padding: 8px 10px;
  cursor: pointer;
  font-size: 13px;
  color: var(--navy);
}

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 55%, var(--navy-light) 100%);
  color: #fff;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 85% 20%, rgba(216,185,104,.16), transparent 40%),
    radial-gradient(circle at 10% 90%, rgba(255,255,255,.06), transparent 45%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 48px;
  align-items: center;
  padding: 72px 24px 78px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 12.5px;
  letter-spacing: .22em;
  color: var(--gold-light);
  font-weight: 700;
  margin-bottom: 18px;
}
.hero h1 {
  font-family: "Noto Serif JP", serif;
  font-size: 40px;
  line-height: 1.4;
  margin: 0 0 22px;
  font-weight: 700;
}
.hero h1 .accent { color: var(--gold-light); }
.hero p.lead {
  font-size: 16.5px;
  color: rgba(255,255,255,.9);
  margin: 0 0 32px;
  max-width: 34em;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  transition: transform .15s, box-shadow .2s, background .2s;
}
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-light); color: #fff; transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.4); }
.btn-ghost:hover { background: rgba(255,255,255,.16); color: #fff; }

.hero-photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid rgba(255,255,255,.9);
}
.hero-photo img { width: 100%; }

/* ---------------- Section base ---------------- */
.section { padding: 82px 0; }
.section.alt { background: var(--bg-alt); }
.section.navy { background: var(--navy); color: #fff; }

.section-head { text-align: center; max-width: 46em; margin: 0 auto 52px; }
.section-head .eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: .22em;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 12px;
}
.section.navy .section-head .eyebrow { color: var(--gold-light); }
.section-head h2 {
  font-family: "Noto Serif JP", serif;
  font-size: 30px;
  color: var(--navy);
  margin: 0 0 16px;
  font-weight: 700;
  line-height: 1.4;
}
.section.navy .section-head h2 { color: #fff; }
.section-head p { color: var(--ink-soft); margin: 0; font-size: 15.5px; }
.section.navy .section-head p { color: rgba(255,255,255,.85); }

/* ---------------- Greeting ---------------- */
.greeting {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.greeting .lead-copy p { margin: 0 0 20px; }
.greeting .lead-copy p:last-child { margin-bottom: 0; }
.greeting-figure {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.pull {
  font-family: "Noto Serif JP", serif;
  font-size: 22px;
  line-height: 1.7;
  color: var(--navy);
  border-left: 4px solid var(--gold);
  padding-left: 22px;
  margin: 0 0 28px;
  font-weight: 500;
}

/* ---------------- Service cards ---------------- */
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 32px;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card .card-no {
  font-family: "Noto Serif JP", serif;
  font-size: 14px;
  letter-spacing: .1em;
  color: var(--gold);
  font-weight: 700;
}
.card h3 {
  font-size: 20px;
  color: var(--navy);
  margin: 6px 0 14px;
  font-weight: 700;
}
.card p { margin: 0; color: var(--ink-soft); font-size: 15px; }
.card .tags {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.card .tags span {
  font-size: 12.5px;
  background: var(--bg-navy-tint);
  color: var(--navy);
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 500;
}

/* value chips row */
.values {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 46px;
}
.values .chip {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 40px;
  padding: 12px 26px;
  font-weight: 700;
  color: var(--navy);
  box-shadow: var(--shadow);
  font-size: 15px;
}
.values .chip b { color: var(--gold); }

/* ---------------- Experts ---------------- */
.experts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.expert {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 26px 20px;
  text-align: center;
  box-shadow: var(--shadow);
}
.expert .role {
  font-size: 13px;
  color: #fff;
  background: var(--navy);
  display: inline-block;
  padding: 4px 16px;
  border-radius: 20px;
  font-weight: 700;
  margin-bottom: 16px;
}
.expert .names { color: var(--ink); font-weight: 500; font-size: 15.5px; line-height: 1.9; }

/* ---------------- Profile table ---------------- */
.profile-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.profile-table th, .profile-table td {
  text-align: left;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  vertical-align: top;
}
.profile-table tr:last-child th,
.profile-table tr:last-child td { border-bottom: none; }
.profile-table th {
  width: 200px;
  background: var(--bg-navy-tint);
  color: var(--navy);
  font-weight: 700;
  white-space: nowrap;
}
.profile-table td { color: var(--ink-soft); }
.profile-table td strong { color: var(--ink); font-weight: 700; }

/* two office block layout */
.offices { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.office-box {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--navy);
  border-radius: var(--radius);
  padding: 30px 32px;
  box-shadow: var(--shadow);
}
.office-box.accent { border-top-color: var(--gold); }
.office-box h3 {
  margin: 0 0 6px;
  color: var(--navy);
  font-size: 19px;
}
.office-box .badge {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--gold);
  display: block;
  margin-bottom: 14px;
}
.office-box dl { margin: 0; display: grid; grid-template-columns: 68px 1fr; row-gap: 10px; }
.office-box dt { color: var(--navy); font-weight: 700; font-size: 14px; }
.office-box dd { margin: 0; color: var(--ink-soft); font-size: 14.5px; }
.office-box .tel { font-size: 18px; color: var(--ink); font-weight: 700; }

/* ---------------- CTA / Contact ---------------- */
.contact-cta { text-align: center; }
.contact-cta h2 {
  font-family: "Noto Serif JP", serif;
  font-size: 28px;
  margin: 0 0 14px;
}
.contact-cta p { color: rgba(255,255,255,.88); margin: 0 auto 30px; max-width: 40em; }
.tel-hero {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: var(--radius);
  padding: 22px 48px;
  margin-bottom: 10px;
}
.tel-hero .label { font-size: 13px; letter-spacing: .2em; color: var(--gold-light); font-weight: 700; }
.tel-hero .num {
  font-family: "Noto Serif JP", serif;
  font-size: 38px;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.2;
}
.tel-hero .hours { font-size: 13px; color: rgba(255,255,255,.75); }

/* ---------------- Cross link band ---------------- */
.crosslink {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 40px;
  box-shadow: var(--shadow);
}
.crosslink .cl-text h3 { margin: 0 0 8px; color: var(--navy); font-size: 21px; }
.crosslink .cl-text p { margin: 0; color: var(--ink-soft); font-size: 15px; }

/* ---------------- Footer ---------------- */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,.75);
  padding: 54px 0 30px;
  font-size: 14px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.footer-brand .fb-sub { font-size: 11px; letter-spacing: .18em; color: var(--gold-light); font-weight: 700; }
.footer-brand .fb-name { font-family: "Noto Serif JP", serif; font-size: 20px; color: #fff; margin: 4px 0 14px; }
.footer-col h4 { color: #fff; font-size: 14px; margin: 0 0 14px; letter-spacing: .06em; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { color: rgba(255,255,255,.75); }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom { padding-top: 22px; text-align: center; font-size: 12.5px; color: rgba(255,255,255,.55); }

/* ---------------- Sub-page hero ---------------- */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  color: #fff;
  padding: 60px 0 64px;
  text-align: center;
}
.page-hero .eyebrow { font-size: 12px; letter-spacing: .22em; color: var(--gold-light); font-weight: 700; }
.page-hero h1 { font-family: "Noto Serif JP", serif; font-size: 34px; margin: 14px 0 10px; }
.page-hero p { color: rgba(255,255,255,.85); margin: 0; }
.breadcrumb { font-size: 13px; color: rgba(255,255,255,.6); margin-top: 20px; }
.breadcrumb a { color: rgba(255,255,255,.8); }

/* ---------------- Responsive ---------------- */
@media (max-width: 900px) {
  .nav {
    display: none;
    position: absolute;
    top: 74px; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; padding: 12px; gap: 4px; }
  .nav a { padding: 12px; }
  .nav-toggle { display: block; }
  .header-inner { position: relative; }
  .hero-inner { grid-template-columns: 1fr; gap: 34px; padding: 54px 24px 60px; }
  .hero-photo { max-width: 340px; }
  .hero h1 { font-size: 32px; }
  .greeting { grid-template-columns: 1fr; gap: 34px; }
  .cards { grid-template-columns: 1fr; }
  .experts { grid-template-columns: repeat(2, 1fr); }
  .offices { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .crosslink { grid-template-columns: 1fr; text-align: center; }
}

/* ---------------- Rich touches & animation ---------------- */

/* nav: 社労士事務所への強調リンク */
.nav a.nav-jimusho {
  border: 1.5px solid var(--gold);
  color: var(--gold);
  font-weight: 700;
  border-radius: 40px;
  padding: 8px 18px;
}
.nav a.nav-jimusho:hover { background: var(--gold); color: #fff; }

/* hero内 社労士事務所バナー */
.hero-jimusho {
  margin-top: 30px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 14px 24px;
  border-radius: 12px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(216,185,104,.55);
  color: #fff;
  backdrop-filter: blur(4px);
  transition: background .25s, transform .2s, box-shadow .25s;
}
.hero-jimusho:hover {
  background: rgba(216,185,104,.18);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0,0,0,.25);
}
.hero-jimusho .hj-icon { font-size: 26px; }
.hero-jimusho .hj-body { display: flex; flex-direction: column; line-height: 1.5; }
.hero-jimusho .hj-label { font-size: 12px; color: var(--gold-light); font-weight: 700; letter-spacing: .06em; }
.hero-jimusho .hj-name { font-family: "Noto Serif JP", serif; font-size: 17px; font-weight: 700; }
.hero-jimusho .hj-arrow { font-size: 20px; color: var(--gold-light); transition: transform .25s; }
.hero-jimusho:hover .hj-arrow { transform: translateX(6px); }

/* 浮遊する金色のオーブ（ヒーロー装飾） */
.hero, .page-hero { position: relative; overflow: hidden; }
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}
.orb-a {
  width: 380px; height: 380px;
  right: -80px; top: -120px;
  background: radial-gradient(circle, rgba(216,185,104,.4), transparent 70%);
  animation: float-a 14s ease-in-out infinite alternate;
}
.orb-b {
  width: 300px; height: 300px;
  left: -100px; bottom: -120px;
  background: radial-gradient(circle, rgba(255,255,255,.16), transparent 70%);
  animation: float-b 18s ease-in-out infinite alternate;
}
.orb-c {
  width: 260px; height: 260px;
  right: -60px; top: -80px;
  background: radial-gradient(circle, rgba(216,185,104,.3), transparent 70%);
  animation: float-a 16s ease-in-out infinite alternate;
}
@keyframes float-a { to { transform: translate(-40px, 50px) scale(1.15); } }
@keyframes float-b { to { transform: translate(60px, -40px) scale(1.1); } }

/* ヒーロー登場アニメーション */
.hero-copy > * , .hero-photo, .page-hero .wrap > * {
  opacity: 0;
  transform: translateY(28px);
  animation: rise .9s cubic-bezier(.22,.61,.36,1) forwards;
}
.hero-copy > *:nth-child(1) { animation-delay: .05s; }
.hero-copy > *:nth-child(2) { animation-delay: .18s; }
.hero-copy > *:nth-child(3) { animation-delay: .32s; }
.hero-copy > *:nth-child(4) { animation-delay: .46s; }
.hero-copy > *:nth-child(5) { animation-delay: .60s; }
.hero-photo { animation-delay: .35s; }
.page-hero .wrap > *:nth-child(1) { animation-delay: .05s; }
.page-hero .wrap > *:nth-child(2) { animation-delay: .18s; }
.page-hero .wrap > *:nth-child(3) { animation-delay: .32s; }
.page-hero .wrap > *:nth-child(4) { animation-delay: .46s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* スクロール連動の出現アニメーション */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.22,.61,.36,1);
  transition-delay: var(--rd, 0s);
}
.reveal.in { opacity: 1; transform: none; }

/* 見出し下の金ライン */
.section-head h2::after {
  content: "";
  display: block;
  width: 52px;
  height: 3px;
  margin: 18px auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
}

/* ボタンの光沢スイープ */
.btn { position: relative; overflow: hidden; }
.btn::after {
  content: "";
  position: absolute;
  top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,.4), transparent);
  transform: skewX(-20deg);
  pointer-events: none;
}
.btn:hover::after { animation: sheen .7s ease; }
@keyframes sheen { to { left: 130%; } }
.btn-lg { padding: 16px 34px; font-size: 16px; }
.btn .arr { display: inline-block; transition: transform .25s; }
.btn:hover .arr { transform: translateX(5px); }

/* 電話番号ボックスの金色グロー */
.tel-hero { animation: glow 3.2s ease-in-out infinite; }
@keyframes glow {
  0%, 100% { box-shadow: 0 0 0 rgba(216,185,104,0); }
  50% { box-shadow: 0 0 42px rgba(216,185,104,.28); }
}

/* クロスリンク帯のゴージャス版 */
.crosslink.fancy {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, var(--navy-dark), var(--navy) 60%, var(--navy-light));
  border: 1px solid rgba(216,185,104,.5);
  color: #fff;
}
.crosslink.fancy .cl-eyebrow {
  display: inline-block;
  font-size: 11.5px;
  letter-spacing: .22em;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 8px;
}
.crosslink.fancy .cl-text h3 { color: #fff; }
.crosslink.fancy .cl-text p { color: rgba(255,255,255,.85); }
.crosslink.fancy > * { position: relative; z-index: 1; }
.crosslink.fancy .orb-c { z-index: 0; }

/* カードの上辺ゴールドライン（ホバーで出現） */
.card { position: relative; }
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}
.card:hover::before { transform: scaleX(1); }

@media (prefers-reduced-motion: reduce) {
  .hero-copy > *, .hero-photo, .page-hero .wrap > * { animation: none; opacity: 1; transform: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .orb, .tel-hero { animation: none; }
  .btn:hover::after { animation: none; }
}

@media (max-width: 640px) {
  .section { padding: 58px 0; }
  .hero-jimusho { width: 100%; }
  .hero h1 { font-size: 27px; }
  .section-head h2 { font-size: 24px; }
  .experts { grid-template-columns: 1fr; }
  .profile-table th { width: 116px; padding: 14px 14px; }
  .profile-table td { padding: 14px; }
  .tel-hero { padding: 20px 28px; }
  .tel-hero .num { font-size: 30px; }
}
