/* One's アドバイザリー / 田内公認会計士事務所
   配色は事務所PPTテンプレート（ネイビー #072B62・LightBlue系・ゴールド #FFC000）に準拠 */
:root {
  --navy: #072B62;
  --navy-2: #242852;
  --blue: #629DD1;
  --tint: #F4F7FC;
  --tint-2: #EAF0FA;
  --gray: #7F8FA9;
  --line: #C2C8D2;
  --gold: #FFC000;
  --text: #1A2233;
  --wrap: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; color-scheme: light; background: #fff; }
body {
  margin: 0;
  background: #fff;
  font-family: "Yu Gothic UI", "Yu Gothic", "游ゴシック", YuGothic, "Hiragino Sans", "Noto Sans JP", Meiryo, sans-serif;
  color: var(--text);
  line-height: 1.8;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--navy); }
h1, h2, h3, h4 { line-height: 1.45; margin: 0; word-break: auto-phrase; text-wrap: balance; }
p, li, dd { margin: 0; text-wrap: pretty; overflow-wrap: anywhere; }
/* PCのみ効かせる改行。スマホでは幅に任せる */
.br-pc { display: none; }
@media (min-width: 901px) { .br-pc { display: inline; } }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--tint-2);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { text-decoration: none; display: flex; flex-direction: column; line-height: 1.25; }
.logo-main { font-weight: 700; color: var(--navy); font-size: 18px; letter-spacing: .02em; }
.logo-sub { font-size: 11px; color: var(--gray); }
.nav { display: flex; gap: 22px; align-items: center; }
.nav a { text-decoration: none; font-size: 14px; color: var(--text); }
.nav a:hover { color: var(--blue); }
.nav .nav-cta { background: var(--navy); color: #fff; padding: 8px 18px; }
.nav .nav-cta:hover { background: var(--navy-2); color: #fff; }
.nav-toggle, .nav-btn { display: none; }

/* Hero */
.hero {
  background: var(--navy);
  color: #fff;
  padding: 112px 0 104px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: -120px; top: -80px;
  width: 520px; height: 520px; border: 1px solid rgba(98,157,209,.35);
  transform: rotate(45deg);
}
.hero .wrap { position: relative; z-index: 1; }
.hero-eyebrow { color: var(--gold); font-size: 14px; letter-spacing: .15em; margin-bottom: 16px; }
.hero h1 { font-size: clamp(30px, 5vw, 48px); font-weight: 700; letter-spacing: .02em; }
.hero-lead { margin-top: 24px; font-size: 17px; color: #DCE6F5; }
.hero-actions { margin-top: 40px; display: flex; gap: 16px; flex-wrap: wrap; }

/* Buttons */
.btn {
  display: inline-block; text-decoration: none; padding: 14px 32px;
  font-weight: 700; font-size: 15px; letter-spacing: .04em; transition: opacity .2s;
}
.btn:hover { opacity: .85; }
.btn-primary { background: #fff; color: var(--navy); }
.btn-ghost { border: 1px solid #fff; color: #fff; }
.btn-gold { background: var(--gold); color: var(--navy); }

/* Sections */
.section { padding: 88px 0; }
.section-tint { background: var(--tint); }
.section-navy { background: var(--navy); color: #fff; }
.section-label {
  font-size: 13px; letter-spacing: .2em; color: var(--blue);
  text-transform: uppercase; margin-bottom: 8px;
}
.section h2 {
  font-size: clamp(22px, 3vw, 30px); color: var(--navy);
  padding-bottom: 20px; margin-bottom: 40px; position: relative;
}
.section h2::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 48px; height: 3px; background: var(--gold);
}
.section-navy h2 { color: #fff; }
.section-lead { font-size: 16px; color: #3B4658; margin: -16px 0 36px; }
.section-note { margin-top: 32px; color: #3B4658; font-size: 15px; }
.section-note strong { color: var(--navy); }
.sub-h { margin: 64px 0 24px; color: var(--navy); font-size: 20px; }

/* Grid */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--tint-2); border-top: 3px solid var(--navy);
  padding: 28px 22px;
}
.section-tint .card { border-color: #fff; border-top-color: var(--navy); }
.card .num { font-size: 13px; color: var(--blue); font-weight: 700; letter-spacing: .1em; }
.card h3 { font-size: 17px; color: var(--navy); margin: 6px 0 12px; }
.card p { font-size: 14px; color: #3B4658; }
.card .card-q { color: var(--blue); font-weight: 700; margin-bottom: 8px; }

/* Policy: バイサイドの役割 ⇄ 当社の役割 */
.policy { display: grid; grid-template-columns: 1fr 56px 1fr; align-items: stretch; }
.policy-col { padding: 32px 32px 28px; }
.policy-you { background: var(--tint); border-top: 3px solid var(--blue); }
.policy-us { background: var(--navy); color: #fff; border-top: 3px solid var(--gold); }
.policy-head { font-size: 19px; font-weight: 700; margin-bottom: 16px; line-height: 1.4; }
.policy-you .policy-head { color: var(--navy); }
.policy-head span { display: block; font-size: 13px; font-weight: 400; margin-top: 4px; }
.policy-you .policy-head span { color: var(--blue); }
.policy-us .policy-head span { color: var(--gold); }
.policy ul { margin: 0; padding: 0; list-style: none; }
.policy li { padding: 9px 0 9px 20px; font-size: 15px; position: relative; border-top: 1px solid rgba(7,43,98,.1); }
.policy-us li { border-top-color: rgba(255,255,255,.18); }
.policy li::before { content: ""; position: absolute; left: 2px; top: 20px; width: 8px; height: 2px; background: var(--blue); }
.policy-us li::before { background: var(--gold); }
.policy-arrow { position: relative; }
.policy-arrow::before {
  content: ""; position: absolute; top: 50%; left: 50%; width: 16px; height: 16px;
  border-top: 2px solid var(--gray); border-right: 2px solid var(--gray);
  transform: translate(-70%, -50%) rotate(45deg);
}

.point { background: var(--tint); padding: 32px 28px; border-left: 3px solid var(--blue); }
.point h3 { font-size: 18px; color: var(--navy); margin-bottom: 12px; }
.point p { font-size: 15px; color: #3B4658; }

.service { background: #fff; border: 1px solid var(--line); padding: 32px 28px; position: relative; }
.service-no { font-size: 40px; font-weight: 700; color: var(--tint-2); position: absolute; right: 24px; top: 12px; line-height: 1; }
.service h3 { font-size: 21px; color: var(--navy); margin-bottom: 16px; }
.service h3 span { display: block; font-size: 13px; color: var(--blue); font-weight: 400; margin-top: 2px; }
.service ul { margin: 0; padding: 0; list-style: none; }
.service li { padding: 8px 0 8px 20px; border-top: 1px solid var(--tint-2); font-size: 15px; position: relative; }
.service li::before { content: ""; position: absolute; left: 2px; top: 18px; width: 8px; height: 2px; background: var(--gold); }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.steps li { background: #fff; padding: 20px 14px; font-size: 13px; color: #3B4658; position: relative; }
.steps li span { display: block; font-size: 22px; font-weight: 700; color: var(--blue); line-height: 1; margin-bottom: 8px; }
.steps li b { display: block; color: var(--navy); font-size: 14px; margin-bottom: 6px; }

/* Cases */
.case { border-top: 3px solid var(--navy); padding-top: 20px; }
.case-tag { font-size: 12px; color: var(--blue); font-weight: 700; letter-spacing: .05em; margin-bottom: 8px; }
.case h3 { font-size: 17px; color: var(--navy); margin-bottom: 12px; }
.case p { font-size: 14px; color: #3B4658; }

/* FAQ */
.faq { margin: 0; border-top: 1px solid var(--navy); counter-reset: faq; }
.faq-item { border-bottom: 1px solid var(--line); padding: 22px 0; counter-increment: faq; }
.faq dt { font-size: 17px; font-weight: 700; color: var(--navy); padding-left: 48px; position: relative; }
.faq dt strong { font-weight: 700; }
.faq dt::before {
  content: "Q" counter(faq); position: absolute; left: 0; top: 0; min-width: 38px; height: 26px; line-height: 26px;
  text-align: center; background: var(--navy); color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .02em;
}
.faq dd { margin: 12px 0 0; padding-left: 48px; font-size: 15px; color: #3B4658; position: relative; }
.faq dd::before {
  content: "A" counter(faq); position: absolute; left: 0; top: 0; min-width: 38px; height: 26px; line-height: 26px;
  text-align: center; border: 1px solid var(--gold); color: var(--navy); font-size: 13px; font-weight: 700; letter-spacing: .02em;
}

/* Profile */
.profile { display: grid; grid-template-columns: 320px 1fr; gap: 48px; background: var(--tint); padding: 40px; }
.profile-name { font-size: 28px; font-weight: 700; color: var(--navy); }
.profile-title { margin-top: 12px; font-size: 14px; color: #3B4658; }
.profile-roles { margin: 24px 0 0; padding-top: 16px; border-top: 1px solid var(--tint-2); font-size: 14px; }
.profile-roles dt { color: var(--blue); font-weight: 700; margin-bottom: 4px; font-size: 13px; }
.profile-roles dd { margin: 0; }
.profile-lead { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 16px; }
.profile-list { margin: 0 0 24px; padding-left: 1.2em; font-size: 15px; }
.profile-list li { margin-bottom: 6px; }
.profile-exp > div { background: #fff; padding: 16px 18px; }
.profile-exp h4 { font-size: 14px; color: var(--navy); margin-bottom: 4px; }
.profile-exp p { font-size: 13px; color: #3B4658; }

/* Company */
.company-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.company-table th, .company-table td { padding: 18px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.company-table tr:first-child th, .company-table tr:first-child td { border-top: 1px solid var(--navy); }
.company-table th { width: 180px; color: var(--navy); font-weight: 700; }

/* Contact */
.contact { text-align: center; }
.contact h2::after { left: 50%; margin-left: -24px; }
.contact > p { color: #DCE6F5; }
.topics { list-style: none; margin: 32px auto 40px; padding: 0; max-width: 720px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.topics li { border: 1px solid rgba(255,255,255,.3); padding: 14px; font-size: 14px; }
.contact-small { margin-top: 20px; font-size: 13px; color: #A9B8D0 !important; }

/* Footer */
.site-footer { background: var(--navy-2); color: #A9B8D0; font-size: 12px; padding: 24px 0; text-align: center; }

/* Responsive */
@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .profile { grid-template-columns: 1fr; gap: 24px; padding: 28px; }
  .topics { grid-template-columns: repeat(2, 1fr); }
  .policy { grid-template-columns: 1fr; }
  .policy-arrow { height: 40px; }
  .policy-arrow::before { transform: translate(-50%, -70%) rotate(135deg); }
  .policy-col { padding: 24px 22px 20px; }

  .nav-btn { display: block; width: 32px; height: 32px; position: relative; cursor: pointer; }
  .nav-btn span, .nav-btn span::before, .nav-btn span::after {
    position: absolute; left: 4px; width: 24px; height: 2px; background: var(--navy); content: "";
  }
  .nav-btn span { top: 15px; }
  .nav-btn span::before { top: -8px; left: 0; }
  .nav-btn span::after { top: 8px; left: 0; }
  .nav {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--tint-2);
  }
  .nav a { padding: 14px 24px; width: 100%; border-top: 1px solid var(--tint); }
  .nav-toggle:checked ~ .nav { display: flex; }
}
@media (max-width: 600px) {
  .section { padding: 64px 0; }
  .hero { padding: 72px 0 64px; }
  .grid-2, .grid-4, .topics { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .company-table th { width: 100px; }
}
