/* PHMS Gradient Flow v0 — 原情報を保持 */
:root {
  --navy: #0d2b4e;
  --blue: #1a6fb5;
  --cyan: #00b4d8;
  --aqua: #48cae4;
  --ink: #18364f;
  --muted: #53687c;
  --pale: #eff7fc;
  --line: #d4e3ef;
  --white: #fff;
  --radius: 16px;
  --max: 1200px;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 110px; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: 'Hiragino Kaku Gothic ProN', 'Meiryo', 'Noto Sans', sans-serif; font-size: 16px; line-height: 1.85; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 5px; }
a:hover { text-decoration-thickness: 2px; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 5px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.5; letter-spacing: .025em; text-wrap: pretty; }
h1 { font-size: clamp(30px, 4.6vw, 60px); }
h2 { font-size: clamp(24px, 2.8vw, 38px); margin-bottom: 24px; }
h3 { font-size: 21px; margin-bottom: 16px; }
p { margin-bottom: 20px; text-wrap: pretty; }
ul, ol { padding-left: 1.5em; }
.container { width: min(var(--max), calc(100% - 80px)); margin-inline: auto; }
.section { padding-block: 88px; }
.section.pale { background: var(--pale); }
.eyebrow { display: block; font-family: inherit; font-size: 12px; font-weight: 700; letter-spacing: .17em; color: var(--blue); margin-bottom: 18px; }
.lead { color: var(--muted); font-size: 17px; max-width: 760px; }
.section-heading { margin-bottom: 40px; }
.section-heading h2 { margin-bottom: 16px; }
.section-heading .lead { margin-bottom: 0; }
.skip-link { position: fixed; left: 20px; top: -200px; z-index: 999; padding: 12px 20px; color: var(--navy); background: #fff; }
.skip-link:focus { top: 10px; }
.review-bar { background: var(--pale); border-bottom: 1px solid var(--line); color: var(--muted); padding: 5px 24px; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 11px; line-height: 1.6; }
.review-bar a { white-space: nowrap; color: var(--navy); }
.site-header { position: sticky; top: 0; z-index: 30; background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner { width: min(1440px, calc(100% - 64px)); margin: auto; min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { flex: 0 0 230px; display: inline-block; background: #fff; }
.brand img { width: 230px; }
.site-nav { display: flex; align-items: center; gap: 22px; font-size: 13px; line-height: 1.4; }
.site-nav > a, .site-nav summary { color: var(--navy); text-decoration: none; font-weight: 700; padding-block: 13px; }
.site-nav .current { border-bottom: 2px solid var(--blue); }
.nav-group { position: relative; }
.nav-group summary { cursor: pointer; list-style: none; }
.nav-group summary::-webkit-details-marker { display: none; }
.nav-group summary::after { content: '⌄'; padding-left: 6px; }
.nav-panel { position: absolute; top: 100%; left: -18px; width: 250px; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 10px 30px rgb(13 43 78 / 12%); }
.nav-panel a { display: block; color: var(--navy); text-decoration: none; padding: 10px; font-size: 13px; }
.nav-panel a:hover { background: var(--pale); }
.nav-phone { font-size: 12px; white-space: nowrap; }
.nav-secondary { display: none; }
.site-nav a.nav-contact { color: #fff; background: var(--blue); border-radius: 24px; padding: 12px 21px; white-space: nowrap; }
.menu-toggle { display: none; background: #fff; border: 1px solid var(--line); border-radius: 8px; color: var(--navy); min-height: 44px; padding: 8px 14px; }
.hero { display: grid; grid-template-columns: 1fr 1fr; background: linear-gradient(120deg, var(--navy), var(--blue) 64%, var(--cyan)); color: #fff; overflow: hidden; }
.hero-copy { padding: 96px 56px 112px max(40px, calc((100vw - 1200px) / 2)); align-self: center; }
.hero .eyebrow { color: #d7f2fc; font-size: 12px; letter-spacing: .13em; }
.hero h1 { margin-bottom: 28px; line-height: 1.45; font-weight: 800; font-size: clamp(34px, 3.75vw, 54px); }
.hero p { font-size: 16px; color: #f0f6fc; max-width: 520px; line-height: 2; }
.hero-photo { position: relative; min-height: 620px; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.hero-photo::after { position: absolute; inset: 0; content: ''; background: linear-gradient(90deg, rgb(26 111 181 / 35%), transparent 30%); pointer-events: none; }
.hero-actions, .actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-top: 32px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 14px; padding: 11px 27px; border-radius: 28px; background: var(--blue); color: #fff; border: 1px solid var(--blue); text-decoration: none; font-size: 14px; font-weight: 700; line-height: 1.6; transition: background 160ms, transform 160ms; cursor: pointer; }
.button::after { content: '→'; }
.button:hover { background: var(--navy); color: #fff; text-decoration: none; transform: translateY(-1px); }
.button.secondary { background: transparent; color: var(--blue); border-color: var(--blue); }
.button.secondary:hover { background: var(--pale); }
.hero .button, .cta .button { color: var(--navy); border-color: #fff; background: #fff; }
.hero .button.secondary, .cta .button.secondary { background: transparent; color: #fff; border-color: #fff; }
.hero .button:hover, .cta .button:hover { background: var(--pale); color: var(--navy); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.two-col > * { min-width: 0; }
.two-col p:last-child { margin-bottom: 0; }
.solutions-photo { border-radius: var(--radius); max-height: 380px; width: 100%; object-fit: cover; }
.solution-figure { margin: 52px auto 0; max-width: 760px; padding: 20px; }
.solution-figure figcaption { text-align: center; font-size: 12px; letter-spacing: .15em; color: var(--muted); margin-top: 15px; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; min-width: 0; }
.product-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 8px 24px rgb(13 43 78 / 4%); }
.product-visual { background: #fff; padding: 30px 24px 10px; }
.product-visual img { width: 100%; height: 178px; object-fit: contain; }
.product-body { padding: 24px 28px 30px; display: flex; flex: 1; flex-direction: column; }
.product-type { font-size: 12px; line-height: 1.6; color: var(--blue); margin-bottom: 8px; }
.product-body h3 { font-size: 25px; letter-spacing: .01em; }
.product-desc { font-size: 14px; line-height: 1.9; }
.feature-list { font-size: 14px; margin: 0 0 25px; padding-left: 1.3em; }
.feature-list li { margin-bottom: 4px; }
.product-body .button { margin-top: auto; width: fit-content; }
.center-actions { display: flex; justify-content: center; margin-top: 40px; }
.figure-box { margin: 0; border-radius: var(--radius); border: 1px solid var(--line); padding: 28px; background: #fff; }
.figure-box img { width: 100%; object-fit: contain; }
.figure-box figcaption { font-size: 12px; color: var(--muted); margin-top: 16px; }
.benefit-list { list-style: none; margin: 0; padding: 0; }
.benefit-list li { display: flex; gap: 18px; align-items: baseline; padding: 19px 0; border-bottom: 1px solid var(--line); font-size: 19px; font-weight: 700; }
.benefit-list span { color: var(--blue); font-size: 13px; font-weight: 700; }
.dark { background: var(--navy); color: #fff; }
.dark .eyebrow { color: var(--aqua); }
.dark .lead { color: #d5e1ed; }
.expertise-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.expertise-card { border: 1px solid #45627d; border-radius: var(--radius); padding: 30px 32px; background: #153655; }
.expertise-card h3 { color: #fff; font-size: 22px; }
.expertise-card p { color: #dce8f4; font-size: 15px; margin-bottom: 0; }
.policy-card { background: var(--pale); border: 0; }
.policy-number { display: block; font-size: 40px; color: var(--blue); margin-bottom: 22px; line-height: 1.2; font-weight: 700; }
.policy-card p { font-size: 15px; margin-bottom: 0; }
.recruit-section { padding: 12px 0 72px; }
.recruit-banner { display: block; border-radius: var(--radius); overflow: hidden; }
.recruit-banner img { width: 100%; height: auto; }
.cta { padding: 78px 0; color: #fff; background: linear-gradient(118deg, var(--navy), var(--blue) 67%, var(--cyan)); }
.cta .container { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta h2 { font-size: clamp(26px, 3vw, 38px); margin-bottom: 12px; }
.cta p { margin-bottom: 0; color: #edf6fc; }
.cta .actions { margin-top: 0; flex-shrink: 0; flex-direction: column; align-items: stretch; }
.product-return { padding: 40px 0; }
.product-banners { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.product-banners a { border-radius: 10px; overflow: hidden; display: block; border: 1px solid var(--line); }
.product-banners img { width: 100%; height: auto; }
.site-footer { background: var(--navy); color: #d4e3ef; padding: 64px 0 25px; font-size: 13px; }
.footer-grid { display: grid; grid-template-columns: 1.65fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand { background: #fff; padding: 10px; width: min(285px, 100%); border-radius: 4px; margin-bottom: 23px; }
.footer-grid h2 { font-size: 15px; color: #fff; margin-bottom: 18px; }
.footer-grid a { color: #e4eef7; text-decoration: none; display: block; margin-bottom: 9px; }
.footer-grid a:hover { text-decoration: underline; }
.footer-grid address { font-style: normal; margin-bottom: 16px; line-height: 2; }
.footer-grid .company-name { font-size: 13px; margin-bottom: 13px; }
.footer-base { border-top: 1px solid #45627d; padding-top: 20px; margin-top: 38px; display: flex; justify-content: space-between; gap: 24px; font-size: 11px; }
.footer-base p { margin-bottom: 0; }
.page-hero { background: var(--pale); padding: 62px 0 50px; }
.page-hero h1 { font-size: clamp(30px, 4vw, 46px); margin-bottom: 18px; }
.page-toc { display: flex; flex-wrap: wrap; gap: 10px 20px; margin: 24px 0; padding: 20px 24px; border: 1px solid var(--line); background: var(--pale); border-radius: 12px; }
.breadcrumbs { padding-block: 15px; border-bottom: 1px solid var(--line); font-size: 12px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px 14px; padding: 0; margin: 0; list-style: none; }
.breadcrumbs li + li::before { content: '/'; margin-right: 14px; color: var(--muted); }
.breadcrumbs [aria-current='page'] { color: var(--ink); font-weight: 700; }
.page-toc a { font-weight: 700; font-size: 14px; }
.notice { padding: 18px 22px; border-left: 4px solid var(--blue); background: var(--pale); color: var(--muted); font-size: 13px; margin: 24px 0; line-height: 1.8; }
.data-list { margin: 30px 0; }
.data-list dt { font-weight: 700; padding-top: 18px; border-top: 1px solid var(--line); }
.data-list dd { margin: 0; padding: 8px 0 18px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.full { grid-column: 1 / -1; }
form { max-width: 900px; margin: 32px auto; }
fieldset { margin: 0 0 28px; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
legend { font-weight: 700; font-size: 19px; padding-inline: 12px; }
.field label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 8px; }
input:not([type='checkbox']):not([type='radio']), select, textarea { width: 100%; padding: 10px 12px; border: 1px solid #9bb1c4; border-radius: 6px; color: var(--ink); background: #fff; min-height: 46px; }
textarea { min-height: 130px; resize: vertical; }
input[type='checkbox'], input[type='radio'] { width: 18px; height: 18px; vertical-align: middle; margin-right: 6px; }
fieldset:disabled, fieldset:disabled input, fieldset:disabled select, fieldset:disabled textarea { opacity: 1; color: var(--muted); }
button:disabled { cursor: not-allowed; opacity: .8; transform: none; background: #53687c; border-color: #53687c; }
.required { font-size: 11px; margin-left: 6px; color: var(--blue); }
.phone-fields, .date-fields { display: flex; gap: 8px; align-items: center; }
.phone-fields input, .date-fields select { min-width: 0; }
.steps li { margin-bottom: 18px; }
section[id], article[id], h2[id] { scroll-margin-top: 110px; }
@media (max-width: 1240px) {
  .header-inner { width: calc(100% - 40px); gap: 20px; }
  .site-nav { gap: 14px; font-size: 12px; }
  .brand, .brand img { width: 205px; flex-basis: 205px; }
  .nav-phone { display: none; }
  .hero-copy { padding-inline: 40px; }
  .hero-photo { min-height: 550px; }
}
@media (max-width: 960px) {
  .container { width: calc(100% - 48px); }
  .section { padding-block: 60px; }
  .header-inner { min-height: 72px; flex-wrap: wrap; }
  .menu-toggle { display: block; }
  .site-nav { width: 100%; flex-wrap: wrap; padding-bottom: 20px; }
  .js .site-nav { display: none; }
  .js .site-nav.is-open { display: flex; }
  .site-nav .nav-secondary { display: block; }
  .nav-panel { z-index: 40; }
  .hero-copy { padding: 62px 30px 68px; }
  .hero-photo { min-height: 500px; }
  .hero h1 { font-size: 34px; }
  .two-col { gap: 30px; }
  .cards { gap: 16px; }
  .product-body { padding: 20px; }
  .product-visual { padding: 20px 15px 0; }
  .product-visual img { height: 135px; }
  .product-body h3 { font-size: 21px; }
  .cta .container { display: block; }
  .cta .actions { flex-direction: row; margin-top: 28px; }
  .footer-grid { grid-template-columns: 1.3fr 1fr; }
}
@media (max-width: 700px) {
  .container { width: calc(100% - 40px); }
  .review-bar { padding: 6px 16px; font-size: 10px; }
  .review-bar span { max-width: 62%; }
  .header-inner { width: calc(100% - 32px); min-height: 68px; gap: 12px; }
  .brand, .brand img { width: 195px; flex-basis: 195px; }
  .site-nav { flex-direction: column; align-items: stretch; gap: 0; font-size: 14px; }
  .site-nav > a, .site-nav summary { display: block; padding: 14px 4px; }
  .nav-panel { position: static; width: 100%; box-shadow: none; margin-bottom: 12px; }
  .nav-phone { display: block; }
  .site-nav a.nav-contact { text-align: center; margin-top: 8px; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 54px 24px 46px; }
  .hero h1 { font-size: 34px; line-height: 1.45; }
  .hero p { font-size: 14px; }
  .hero .eyebrow { font-size: 10px; letter-spacing: .1em; }
  .hero-actions { gap: 10px; }
  .hero-actions .button { font-size: 12px; padding: 11px 20px; }
  .hero-photo { min-height: 0; height: 270px; }
  .hero-photo::after { background: linear-gradient(180deg, rgb(26 111 181 / 20%), transparent 35%); }
  .section { padding-block: 50px; }
  .section-heading { margin-bottom: 28px; }
  .two-col, .cards, .expertise-grid, .product-banners { grid-template-columns: 1fr; }
  .two-col { gap: 28px; }
  .solutions-photo { max-height: 260px; }
  .solution-figure { margin-top: 28px; padding: 0; }
  .solution-figure figcaption { font-size: 10px; }
  .product-visual img { height: 195px; }
  .product-visual { padding: 28px 26px 4px; }
  .product-body { padding: 24px 26px 28px; }
  .product-body h3 { font-size: 25px; }
  .product-desc, .feature-list { font-size: 14px; }
  .card { padding: 26px; }
  .product-card { padding: 0; }
  .figure-box { padding: 16px; }
  .benefit-list li { font-size: 17px; }
  .expertise-card { padding: 26px; }
  .policy-number { font-size: 32px; margin-bottom: 15px; }
  .recruit-section { padding-bottom: 42px; }
  .cta { padding: 55px 0; }
  .cta .actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .product-return { padding: 26px 0; }
  .product-banners { gap: 12px; }
  .site-footer { padding-top: 44px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px 24px; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .footer-base { flex-direction: column; gap: 12px; }
  .page-hero { padding: 42px 0 35px; }
  .form-grid { grid-template-columns: 1fr; }
  fieldset { padding: 20px 16px; }
  legend { font-size: 17px; }
  .page-toc { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
