:root {
  --navy: #14233c;
  --navy-2: #1f3354;
  --blue: #2f5d8a;
  --gray-1: #f4f5f7;
  --gray-2: #e3e6eb;
  --gray-3: #8a93a3;
  --text: #2a2f38;
  --text-sub: #5b6372;
  --white: #fff;
  --wrap: 1120px;
  --ff: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  --ff-en: "Cormorant Garamond", "Times New Roman", serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--text); font-family: var(--ff); font-size: 16px; line-height: 1.9; letter-spacing: .04em; -webkit-text-size-adjust: 100%; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--gray-2); backdrop-filter: blur(6px); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 88px; }
.logo img { height: 54px; width: auto; }
.gnav ul { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; align-items: center; font-size: 16px; }
.gnav a:hover { color: var(--blue); }
.gnav .btn-contact { background: var(--navy); color: var(--white); padding: 12px 24px; }
.gnav .btn-contact:hover { background: var(--blue); color: var(--white); }
.gnav .lang { font-family: var(--ff-en); font-size: 18px; color: var(--text-sub); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: var(--navy); margin: 6px 8px; }

/* hero */
.hero { position: relative; background: var(--navy); color: var(--white); overflow: hidden; }
.hero .wrap { position: relative; padding: 120px 24px 130px; }
.hero-lines { position: absolute; inset: 0; opacity: .18; }
.hero .eyebrow { font-family: var(--ff-en); font-size: 18px; letter-spacing: .18em; color: #b9c6da; margin: 0 0 18px; }
.hero h1 { font-size: clamp(28px, 4.2vw, 46px); font-weight: 500; line-height: 1.6; margin: 0 0 28px; letter-spacing: .08em; }
.hero p.lead { max-width: 620px; color: #d5dceb; margin: 0 0 40px; }
.btn { display: inline-block; padding: 15px 34px; font-size: 15px; border: 1px solid currentColor; transition: .2s; }
.btn-light { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-light:hover { background: transparent; color: var(--white); }
.btn-ghost { color: var(--white); margin-left: 12px; }
.btn-ghost:hover { background: var(--white); color: var(--navy); }
.btn-navy { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-navy:hover { background: var(--white); color: var(--navy); }
.scroll { position: absolute; right: 24px; bottom: 28px; font-family: var(--ff-en); font-size: 13px; letter-spacing: .2em; color: #b9c6da; writing-mode: vertical-rl; }

/* sections */
section { padding: 110px 0; }
.bg-gray { background: var(--gray-1); }
.sec-head { margin-bottom: 56px; }
.sec-head .en { display: block; font-family: var(--ff-en); font-size: 42px; line-height: 1.2; color: var(--navy); letter-spacing: .04em; }
.sec-head h2 { margin: 8px 0 0; font-size: 16px; font-weight: 500; color: var(--text-sub); display: flex; align-items: center; gap: 14px; }
.sec-head h2::before { content: ""; width: 32px; height: 1px; background: var(--blue); }
.sec-head p { margin: 24px 0 0; max-width: 760px; color: var(--text-sub); }

/* values */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--gray-2); }
.value { padding: 40px 32px 8px 0; border-right: 1px solid var(--gray-2); }
.value + .value { padding-left: 32px; }
.value:last-child { border-right: 0; }
.value .num { font-family: var(--ff-en); font-size: 34px; color: var(--blue); line-height: 1; }
.value h3 { font-size: 19px; font-weight: 500; color: var(--navy); margin: 18px 0 12px; }
.value p { margin: 0; color: var(--text-sub); font-size: 15px; }

/* services */
.lines { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.line { background: var(--white); border-top: 3px solid var(--navy); padding: 44px 40px 40px; }
.line.intl { border-top-color: var(--blue); }
.line .tag { font-size: 13px; color: var(--blue); letter-spacing: .1em; }
.line h3 { font-size: 22px; font-weight: 500; color: var(--navy); margin: 8px 0 14px; line-height: 1.6; }
.line > p { color: var(--text-sub); font-size: 15px; margin: 0 0 24px; }
.svc-list { list-style: none; margin: 0 0 28px; padding: 0; border-top: 1px solid var(--gray-2); }
.svc-list li { border-bottom: 1px solid var(--gray-2); }
.svc-list a { display: flex; justify-content: space-between; align-items: center; padding: 15px 4px; font-size: 15px; }
.svc-list a::after { content: "→"; color: var(--gray-3); transition: .2s; }
.svc-list a:hover { color: var(--blue); }
.svc-list a:hover::after { color: var(--blue); transform: translateX(4px); }
.line .meta { font-size: 13px; color: var(--gray-3); margin: 0; }

/* knowledge */
.knowledge { display: grid; grid-template-columns: 1fr 2fr; gap: 64px; align-items: start; }
.k-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--gray-2); }
.k-list li { border-bottom: 1px solid var(--gray-2); }
.k-list a { display: grid; grid-template-columns: 110px 1fr; gap: 20px; padding: 22px 4px; }
.k-list time { font-family: var(--ff-en); font-size: 15px; color: var(--gray-3); }
.k-list .cat { display: inline-block; font-size: 12px; color: var(--blue); border: 1px solid var(--blue); padding: 0 8px; margin-right: 10px; line-height: 1.8; }
.k-list a:hover .ttl { color: var(--blue); }
.link-more { display: inline-flex; gap: 10px; align-items: center; font-size: 14px; color: var(--navy); border-bottom: 1px solid var(--navy); padding-bottom: 4px; margin-top: 28px; }

/* pricing */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.price { border: 1px solid var(--gray-2); padding: 36px 32px; background: var(--white); }
.price .kind { font-size: 13px; color: var(--blue); letter-spacing: .1em; }
.price h3 { font-size: 18px; font-weight: 500; margin: 6px 0 14px; color: var(--navy); }
.price .amt { font-family: var(--ff-en); font-size: 38px; color: var(--navy); line-height: 1.2; }
.price .amt small { font-family: var(--ff); font-size: 13px; color: var(--text-sub); margin-left: 4px; }
.price ul { margin: 18px 0 0; padding: 18px 0 0; border-top: 1px solid var(--gray-2); list-style: none; font-size: 14px; color: var(--text-sub); }
.price li::before { content: "・"; }
.note { font-size: 13px; color: var(--gray-3); margin-top: 20px; }

/* profile */
.profile { display: grid; grid-template-columns: 320px 1fr; gap: 64px; align-items: center; }
.photo { aspect-ratio: 4/5; background: var(--gray-2); display: grid; place-items: center; color: var(--gray-3); font-size: 13px; }
.profile .role { font-size: 14px; color: var(--blue); margin: 0; }
.profile .name { font-size: 28px; font-weight: 500; color: var(--navy); margin: 4px 0 4px; letter-spacing: .12em; }
.profile .name-en { font-family: var(--ff-en); font-size: 18px; color: var(--gray-3); margin: 0 0 24px; }
.career { list-style: none; padding: 0; margin: 24px 0 32px; border-left: 1px solid var(--gray-2); }
.career li { padding: 4px 0 4px 20px; font-size: 15px; color: var(--text-sub); }

/* contact */
.contact { background: var(--navy-2); color: var(--white); text-align: center; }
.contact .sec-head .en { color: var(--white); }
.contact .sec-head h2 { color: #c7d1e2; justify-content: center; }
.contact .sec-head h2::before { background: #c7d1e2; }
.contact p { color: #d5dceb; margin: 0 0 36px; }

/* footer */
.site-footer { background: var(--navy); color: #c7d1e2; font-size: 14px; padding: 64px 0 28px; }
.f-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 48px; }
.f-name { color: var(--white); font-size: 18px; letter-spacing: .1em; margin: 0; }
.f-name-en { font-family: var(--ff-en); font-size: 15px; letter-spacing: .1em; margin: 0 0 16px; }
.site-footer h4 { color: var(--white); font-weight: 500; font-size: 14px; margin: 0 0 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 4px 0; }
.site-footer a:hover { color: var(--white); }
.copy { border-top: 1px solid rgba(255,255,255,.12); margin-top: 48px; padding-top: 22px; font-size: 12px; color: #8f9bb0; text-align: center; }

/* responsive */
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .gnav { position: fixed; inset: 88px 0 auto 0; background: var(--white); border-bottom: 1px solid var(--gray-2); display: none; }
  .gnav.open { display: block; }
  .gnav ul { flex-direction: column; gap: 0; padding: 8px 24px 20px; align-items: stretch; }
  .gnav li a { display: block; padding: 12px 0; border-bottom: 1px solid var(--gray-1); }
  .gnav .btn-contact { text-align: center; margin-top: 12px; }
  .values, .lines, .prices, .knowledge, .profile, .f-grid { grid-template-columns: 1fr; }
  .value, .value + .value { padding: 32px 0 24px; border-right: 0; border-bottom: 1px solid var(--gray-2); }
  .profile { gap: 32px; }
  .photo { max-width: 260px; }
  .knowledge { gap: 8px; }
}
@media (max-width: 600px) {
  section { padding: 76px 0; }
  .wrap { padding: 0 16px; }
  .hero .wrap { padding: 84px 16px 96px; }
  .logo img { height: 42px; }
  .site-header .wrap { height: 72px; }
  .gnav { inset: 72px 0 auto 0; }
  .sec-head .en { font-size: 34px; }
  .line { padding: 32px 22px; }
  .btn-ghost { margin: 12px 0 0; }
  .k-list a { grid-template-columns: 1fr; gap: 2px; }
  .scroll { display: none; }
}

/* ---- 下層ページ ---- */
.gnav a[aria-current="page"] { color: var(--blue); }
.page-hero { position: relative; background: var(--navy); color: var(--white); overflow: hidden; }
.page-hero .wrap { position: relative; padding: 72px 24px 64px; }
.page-hero .eyebrow { font-family: var(--ff-en); font-size: 17px; letter-spacing: .18em; color: #b9c6da; margin: 0 0 10px; }
.page-hero h1 { font-size: clamp(24px, 3.2vw, 34px); font-weight: 500; line-height: 1.6; margin: 0; letter-spacing: .06em; }
.page-date { margin: 14px 0 0; font-family: var(--ff-en); color: #b9c6da; }
.breadcrumb { border-bottom: 1px solid var(--gray-2); font-size: 12px; color: var(--gray-3); }
.breadcrumb ol { list-style: none; margin: 0; padding: 12px 0; display: flex; flex-wrap: wrap; gap: 4px 0; }
.breadcrumb li + li::before { content: "/"; margin: 0 10px; color: var(--gray-2); }
.breadcrumb a:hover { color: var(--blue); }

.content { padding: 72px 0 96px; }
.content > .wrap, .narrow { max-width: 860px; }
.content .lead { font-size: 17px; color: var(--text); margin: 0 0 40px; }
.content h2 { font-size: 22px; font-weight: 500; color: var(--navy); margin: 64px 0 20px; padding-bottom: 12px; border-bottom: 1px solid var(--gray-2); position: relative; }
.content h2::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 56px; height: 1px; background: var(--blue); }
.content h2:first-child { margin-top: 0; }
.content h3 { font-size: 18px; font-weight: 500; color: var(--navy); margin: 36px 0 10px; }
.content p { margin: 0 0 18px; }
.content ul, .content ol { margin: 0 0 22px; padding-left: 1.4em; }
.content li { margin: 4px 0; }
.content a:not(.btn) { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.content strong { font-weight: 500; color: var(--navy); background: linear-gradient(transparent 70%, #dfe8f3 70%); }
.content table { width: 100%; border-collapse: collapse; margin: 8px 0 28px; font-size: 15px; }
.content th, .content td { border: 1px solid var(--gray-2); padding: 12px 14px; text-align: left; vertical-align: top; }
.content thead th { background: var(--gray-1); font-weight: 500; color: var(--navy); }
.content .table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.box { background: var(--gray-1); border-left: 3px solid var(--blue); padding: 22px 26px; margin: 0 0 28px; }
.box p:last-child, .box ul:last-child { margin-bottom: 0; }
.box-title { font-weight: 500; color: var(--navy); margin: 0 0 8px !important; }
.check { list-style: none; padding: 0 !important; }
.check li { position: relative; padding-left: 28px; }
.check li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 12px; height: 6px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }
.steps { counter-reset: s; list-style: none; padding: 0 !important; }
.steps li { counter-increment: s; position: relative; padding: 0 0 18px 56px; }
.steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: -4px; font-family: var(--ff-en); font-size: 26px; color: var(--blue); }
.steps b { display: block; font-weight: 500; color: var(--navy); }
details.faq { border-top: 1px solid var(--gray-2); }
details.faq:last-of-type { border-bottom: 1px solid var(--gray-2); }
details.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 34px; position: relative; font-weight: 500; color: var(--navy); }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::before { content: "Q"; position: absolute; left: 4px; font-family: var(--ff-en); font-size: 20px; color: var(--blue); line-height: 1.5; }
details.faq summary::after { content: "+"; position: absolute; right: 8px; color: var(--gray-3); font-size: 20px; line-height: 1.5; }
details.faq[open] summary::after { content: "−"; }
details.faq > div { padding: 0 8px 18px 34px; color: var(--text-sub); }
.disclaimer { font-size: 13px; color: var(--gray-3); margin-top: 40px !important; }
.related { padding: 0 24px 96px; }
.related h2 { font-size: 16px; font-weight: 500; color: var(--text-sub); margin: 0 0 12px; }

/* 業務一覧ページ */
.hub-line { margin: 0 0 72px; }
.hub-line .tag { font-size: 13px; color: var(--blue); letter-spacing: .1em; }
.hub-line h2 { margin-top: 4px; }
.hub-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hub-card { display: block; border: 1px solid var(--gray-2); padding: 24px 26px; text-decoration: none !important; color: var(--text) !important; transition: .2s; }
.hub-card:hover { border-color: var(--blue); }
.hub-card b { display: block; font-weight: 500; color: var(--navy); font-size: 17px; margin-bottom: 6px; }
.hub-card span { font-size: 14px; color: var(--text-sub); }

/* 料金表 */
.plan-table th:first-child { width: 34%; }
.plan-table td { text-align: center; }
.plan-table td:first-child, .plan-table th:first-child { text-align: left; }
.plan-table .amt { font-family: var(--ff-en); font-size: 26px; color: var(--navy); }
.fee { white-space: nowrap; }

/* 記事一覧 */
.content .k-list a { text-decoration: none; color: var(--text); }

/* フォーム */
.kk-inquiry label { display: block; font-size: 14px; font-weight: 500; color: var(--navy); margin: 22px 0 6px; }
.kk-inquiry .req { color: #b03a3a; font-size: 12px; margin-left: 6px; }
.kk-inquiry input[type=text], .kk-inquiry input[type=email], .kk-inquiry input[type=tel], .kk-inquiry select, .kk-inquiry textarea { width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid var(--gray-2); background: var(--white); color: var(--text); border-radius: 0; }
.kk-inquiry input:focus, .kk-inquiry select:focus, .kk-inquiry textarea:focus { outline: 2px solid var(--blue); outline-offset: -1px; }
.kk-inquiry .agree { display: flex; gap: 10px; align-items: center; margin: 28px 0 18px; font-size: 14px; }
.kk-inquiry .agree input { width: 18px; height: 18px; }
.kk-inquiry [type=submit] { font: inherit; cursor: pointer; margin-top: 8px; }
.kk-inquiry [type=submit]:disabled { opacity: .6; cursor: wait; }
.form-result { margin-top: 18px; padding: 14px 18px; background: var(--gray-1); border-left: 3px solid var(--blue); }

/* 旧ページから移した中身 */
.legacy { overflow-x: hidden; }

@media (max-width: 900px) {
  .hub-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .page-hero .wrap { padding: 52px 16px 44px; }
  .content { padding: 52px 0 72px; }
  .content h2 { font-size: 20px; margin-top: 52px; }
  .related { padding: 0 16px 72px; }
  .content table { font-size: 14px; }
  .content th, .content td { padding: 10px; }
}
.greeting { display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: start; }
.content .career { padding-left: 0; }
@media (max-width: 700px) { .greeting { grid-template-columns: 1fr; gap: 24px; } .greeting .photo { max-width: 220px; } }
@media (max-width: 1100px) and (min-width: 901px) {
  .gnav ul { gap: 20px; font-size: 15px; }
  .logo img { height: 46px; }
}
