@font-face {
  font-family: "Editorial JP"; src: url("/assets/heading-jp.woff2") format("woff2"); font-style: normal; font-weight: 500; font-display: swap;
}
@font-face {
  font-family: "Instrument Serif"; src: url("/assets/instrument.woff2") format("woff2"); font-style: normal; font-weight: 400; font-display: swap;
}
:root {
  --ink: #173443; --night: #183543; --body: #34474b; --muted: #586968; --paper: #faf9f5;
  --rule: #cad1cc; --rust: #935535; --copper: #dca77e; --pale: #e7ece7;
  --mincho: "Editorial JP","Hiragino Mincho ProN","Yu Mincho",serif;
  --latin: "Instrument Serif",Georgia,serif;
  font-family: "Inter",-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;
  color: var(--ink); background: var(--paper); font-synthesis: none; color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, p, figure, dl, dd { margin: 0; }
a { color: inherit; text-decoration: none; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
button { color: inherit; font: inherit; }
:where(a,button,summary):focus-visible { outline: 3px solid #b37445; outline-offset: 4px; }
:where(section,main)[id] { scroll-margin-top: 24px; }
::selection { background: #ead1af; color: var(--ink); }
.shell { width: min(1160px,calc(100% - clamp(44px,10vw,160px))); margin-inline: auto; }
.skip { position: fixed; top: -90px; left: 12px; z-index: 50; padding: 12px; background: white; }
.skip:focus { top: 12px; }
.preview { font-size: 11px; letter-spacing: .035em; color: #3d5054; background: #e9eeea; }
.preview .shell { display: flex; align-items: center; min-height: 30px; gap: 12px; }
.preview b { font-weight: 650; padding-right: 12px; border-right: 1px solid #a6b7b3; }
.mast { position: relative; z-index: 5; }
.mast-inner, .brand, .main-nav, .footer-inner, .footer nav { display: flex; align-items: center; }
.mast-inner { position: relative; justify-content: space-between; min-height: 87px; gap: 20px; }
.brand { gap: 12px; white-space: nowrap; }
.brand > span { display: block; font: 400 clamp(25px,2.3vw,35px)/1 var(--latin); letter-spacing: -.035em; }
.brand small { display: block; font: 500 9px/1.2 sans-serif; letter-spacing: .2em; margin-top: 4px; }
.mark { width: 31px; height: 33px; display: inline-block; position: relative; }
.mark::before,.mark::after { content: ""; position: absolute; top: 3px; left: 0; width: 19px; height: 23px; border-top: 2px solid; border-left: 2px solid; transform: skewY(-22deg); }
.mark::after { top: 10px; left: 10px; color: var(--rust); }
.main-nav { gap: clamp(15px,2.25vw,36px); font-weight: 550; font-size: 13px; }
.main-nav a { padding-block: 9px; }
.main-nav a:hover, .footer a:hover, .back:hover { text-decoration: underline; text-underline-offset: 5px; }
.main-nav .nav-contact { padding: 11px 17px; border: 1px solid #95a3a3; border-radius: 2px; }
.nav-contact span { margin-left: 12px; }
.menu-toggle { display: none; }
.hero { position: relative; max-width: 1700px; margin: 0 auto; min-height: clamp(485px,42vw,670px); isolation: isolate; }
.hero-photo { position: absolute; inset: 0 clamp(16px,2vw,42px) 15px 24%; overflow: hidden; background: #c3b8a6; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 49%; }
.hero-photo figcaption { position: absolute; right: 12px; bottom: 12px; background: #17282bc9; color: #fff; padding: 4px 7px; font-size: 10px; letter-spacing: .08em; }
.hero-note { position: relative; display: flex; flex-direction: column; align-items: flex-start; width: fit-content; max-width: 65%; top: clamp(46px,5.5vw,92px); margin-left: max(4vw,calc((100% - 1220px)/2)); padding: clamp(28px,3.35vw,64px) clamp(30px,4.2vw,80px) clamp(26px,3.15vw,56px); color: var(--paper); background: var(--night); box-shadow: -7px 7px 0 #d7c9ae; }
.hero-note::before, .services-intro h2::before, .company > h2::before { content: ""; display: block; width: 39px; height: 2px; background: var(--copper); margin-bottom: 19px; }
h1,h2,h3 { font-family: var(--mincho); font-weight: 500; }
.hero h1 { white-space: nowrap; font-size: clamp(54px,5.9vw,96px); line-height: 1.22; letter-spacing: -.053em; }
.period { margin-right: -.58em; }
.hero-note p { margin-top: 21px; font-size: clamp(14px,1.16vw,17px); line-height: 1.9; letter-spacing: .025em; color: #e9ece8; }
.hero-action { display: inline-flex; align-items: center; gap: 11px; margin-top: 25px; font-size: 13px; letter-spacing: .045em; }
.hero-action i, .arrow-link i { display: inline-grid; flex: none; place-items: center; width: 32px; height: 32px; border: 1px solid currentColor; border-radius: 50%; font: 400 16px/1 Arial,sans-serif; transition: background .2s,color .2s,transform .2s; }
.hero-action i { border-color: #9eaeaa; }
.hero-action:hover i, .arrow-link:hover i { transform: translateY(2px); background: var(--paper); color: var(--ink); }
.services, .company, .clinic-inner, .contact-inner { display: grid; grid-template-columns: .9fr 1.1fr; column-gap: clamp(40px,8.5vw,125px); }
.services { padding-block: clamp(62px,7vw,108px); }
.services-intro h2, .company > h2, .contact h2 { font-size: clamp(35px,3.5vw,54px); line-height: 1.35; letter-spacing: -.03em; }
.services-intro h2::before, .company > h2::before { background: #a06b48; width: 28px; margin-bottom: 15px; }
.intro,.service-list p,.clinic-link p,.contact p,.articles p,.policy-hero p { color: var(--body); line-height: 1.95; font-size: clamp(15px,1.1vw,17px); }
.intro { margin-top: 14px; }
.study { display: block; width: min(100%,300px); height: auto; aspect-ratio: 2.25/1; object-fit: cover; object-position: 50% 54%; margin-top: 26px; }
.service-list { border-top: 1px solid #667879; align-self: start; }
.service-list article { padding-block: clamp(20px,2vw,30px); border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: 35px 1fr; gap: 19px; }
.service-list h3 { font-size: clamp(23px,2vw,31px); line-height: 1.45; letter-spacing: -.02em; }
.service-list p { margin-top: 7px; }
.service-icon { color: #91694c; width: 30px; height: 30px; align-self: start; position: relative; margin-top: 5px; }
.icon-doc::before,.icon-doc::after,.icon-news::before,.icon-news::after,.icon-stock::before,.icon-stock::after { content: ""; position: absolute; }
.icon-doc::before { inset: 1px 6px 5px 2px; border: 1.4px solid; }
.icon-doc::after { inset: 6px 1px 0 7px; border-right: 1.4px solid; border-bottom: 1.4px solid; }
.icon-news::before { inset: 4px 0 5px; border: 1.4px solid; }
.icon-news::after { top: 7px; left: 6px; width: 17px; height: 12px; border-left: 1.4px solid; border-bottom: 1.4px solid; transform: rotate(-43deg) skewX(6deg); }
.icon-stock::before { inset: 5px 1px 3px; border: 1.4px solid; }
.icon-stock::after { top: 9px; left: 1px; right: 1px; height: 2px; border-bottom: 1.4px solid; }
.clinic { background: #dae5e5; border-block: 1px solid #becdce; position: relative; isolation: isolate; overflow: hidden; }
.clinic::before { content: ""; position: absolute; top: 0; bottom: 0; left: 48%; width: 25%; background: repeating-linear-gradient(100deg,transparent 0 11px,#77969b21 12px,#ffffff50 14px,transparent 17px); mask-image: linear-gradient(90deg,transparent,#000 45%,transparent); z-index: -1; }
.clinic-inner { align-items: end; padding-block: clamp(38px,5vw,80px); }
.clinic-name h2 { font: 600 14px/1.5 sans-serif; letter-spacing: .08em; }
.clinic-name h3 { font: 400 clamp(55px,6.5vw,99px)/1.05 var(--latin); letter-spacing: -.044em; margin: 15px 0 4px; }
.clinic-name em { font-style: normal; }
.clinic-name p { font-size: 12px; letter-spacing: .1em; }
.clinic-link { align-self: center; }
.clinic-link .arrow-link { margin-top: 16px; }
.arrow-link { display: inline-flex; gap: 22px; align-items: center; font-size: 14px; font-weight: 600; }
.company { padding-block: clamp(60px,7vw,110px); }
.facts { margin: 0; border-top: 1px solid #728080; }
.facts > div { display: grid; grid-template-columns: 100px 1fr; gap: 14px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--rule); line-height: 1.85; }
.facts dt { font-size: 13px; color: var(--muted); }
.facts dd { font-size: 15px; color: var(--ink); overflow-wrap: anywhere; }
.contact { background: var(--night); color: var(--paper); }
.contact-inner { padding-block: clamp(48px,6vw,90px); align-items: center; }
.contact h2 { color: var(--paper); }
.contact p { color: #d9e2df; margin-top: 15px; }
.contact-links { border-top: 1px solid #72898d; }
.contact-links > .arrow-link, .demo-contact summary { width: 100%; min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--paper); font-size: 15px; font-weight: 500; }
.contact-links > .arrow-link,.demo-contact { border-bottom: 1px solid #72898d; }
.contact-links .arrow-link i { border: 0; }
.demo-contact summary { cursor: pointer; list-style: none; }
.demo-contact summary::-webkit-details-marker { display: none; }
.demo-contact summary i { width: 20px; height: 20px; margin-right: 6px; position: relative; }
.demo-contact summary i::before,.demo-contact summary i::after { content: ""; position: absolute; background: #ebece5; inset: 9px 3px auto; height: 1.5px; }
.demo-contact summary i::after { transform: rotate(90deg); }
.demo-contact[open] summary i::after { transform: none; }
.demo-contact p { margin: 0; padding-bottom: 20px; }
.footer { background: var(--paper); border-top: 1px solid var(--rule); }
.footer-inner { padding-block: 26px; flex-wrap: wrap; gap: 16px; justify-content: space-between; }
.footer-brand { font-weight: 600; font-size: 14px; }
.footer nav { gap: 22px; color: var(--muted); font-size: 12px; }
.back { font-size: 13px; }
.policy-hero { position: relative; overflow: hidden; isolation: isolate; background: var(--night); color: var(--paper); }
.policy-hero::after { content: ""; position: absolute; z-index:-1; inset: 0 0 0 auto; width: 26%; background: linear-gradient(90deg,var(--night),rgba(24,53,67,.28)),url('/assets/office-study.webp') center / cover; }
.policy-hero .shell { padding-block: clamp(28px,4vw,64px); }
.policy-hero .back { color: #e5ecea; }
.policy-hero h1 { font-size: clamp(39px,4.6vw,76px); line-height: 1.35; margin: 22px 0 13px; letter-spacing: -.046em; }
.policy-hero p { color: #dce6e4; max-width: 76%; }
.policy-layout { display: grid; grid-template-columns: minmax(210px,.57fr) minmax(0,1.43fr); gap: clamp(35px,6vw,94px); align-items: start; padding-block: clamp(42px,5.5vw,90px); }
.contents { position: sticky; top: 26px; border-top: 2px solid var(--ink); background: #eeefe9; padding: 19px 19px 17px; }
.contents h2 { font-size: 19px; }
.contents ol { padding-left: 1.5em; margin: 14px 0 0; }
.contents li { padding: 5px 0; font-size: 13px; line-height: 1.65; }
.contents li::marker { color: var(--rust); }
.contents a:hover,.articles .text-link:hover,.policy-end .text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.articles { counter-reset: policy; }
.articles section { counter-increment: policy; border-top: 1px solid var(--rule); padding-block: 25px 31px; }
.articles section:first-child { border-color: var(--ink); }
.articles h2 { font-size: clamp(22px,2.2vw,33px); line-height: 1.5; margin-bottom: 12px; }
.articles h2::before { content: counter(policy,decimal-leading-zero) " / "; vertical-align: middle; display: inline-block; margin-right: 10px; font: 500 12px/1.5 Arial,sans-serif; color: var(--rust); letter-spacing: .1em; }
.articles p + p, .articles .text-link, .policy-facts { margin-top: 13px; }
.text-link { display: inline-block; color: #345b64; border-bottom: 1px solid #92aba9; font-size: 14px; line-height: 1.8; }
.policy-end { padding-top: 21px; border-top: 1px solid var(--rule); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 13px; color: var(--muted); }
.policy-end .text-link { margin: 0; }
@media (min-width: 701px) and (max-width: 870px) {
  .mast-inner { min-height: 73px; }
  .main-nav { gap: 12px; font-size: 12px; }
  .main-nav .nav-contact { padding: 8px 10px; }
  .services,.company,.clinic-inner,.contact-inner { column-gap: 34px; grid-template-columns: .78fr 1.22fr; }
}
@media (max-width: 700px) {
  .shell { width: calc(100% - 44px); }
  .mast-inner { min-height: 66px; flex-wrap: wrap; gap: 0; }
  .brand { gap: 7px; }
  .brand > span { font-size: 26px; }
  .brand small { font-size: 8px; }
  .mark { transform: scale(.8); transform-origin: left center; width: 24px; }
  .preview { font-size: 10px; }
  .preview .shell { min-height: 27px; }
  .main-nav { width: 100%; flex-wrap: wrap; gap: 6px 15px; padding: 6px 0 10px; font-size: 12px; }
  .has-menu .menu-toggle { display: flex; align-items: center; gap: 8px; min-height: 44px; border: 0; padding: 0 2px; background: none; font-size: 12px; cursor: pointer; }
  .menu-toggle i { width: 16px; height: 8px; border-block: 1px solid var(--ink); }
  .has-menu .main-nav { display: none; }
  .has-menu .main-nav.open { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; padding-bottom: 14px; }
  .main-nav a,.main-nav .nav-contact { padding: 12px 0; border: 0; border-top: 1px solid var(--rule); }
  .hero { min-height: 0; padding-bottom: 0; }
  .hero-photo { position: relative; inset: auto; width: calc(100% - 18px); margin-left: auto; height: clamp(208px,59vw,338px); }
  .hero-photo figcaption { top: 9px; right: 8px; bottom: auto; }
  .hero-photo img { object-position: 56% 55%; }
  .hero-note { position: relative; top: 0; max-width: none; width: min(480px,calc(100% - 32px)); margin: -50px 0 0; padding: 23px 24px 25px; box-shadow: 4px 4px 0 #d7c9ae; }
  .hero-note::before { width: 26px; margin-bottom: 10px; }
  .hero h1 { font-size: clamp(34px,10.7vw,60px); }
  .hero-note p { margin-top: 11px; font-size: 13px; line-height: 1.85; }
  .hero-action { margin-top: 14px; min-height: 40px; }
  .hero-action i { width: 27px; height: 27px; }
  .services,.company,.clinic-inner,.contact-inner,.policy-layout { grid-template-columns: 1fr; row-gap: 26px; }
  .services,.company { padding-block: 49px; }
  .services-intro { display: grid; grid-template-columns: minmax(0,1fr) 30%; column-gap: 12px; align-items: start; }
  .services-intro h2 { grid-column: 1; }
  .intro { grid-column: 1; margin-top: 8px; font-size: 14px; }
  .study { grid-column: 2; grid-row: 1 / 3; width: 100%; height: 100%; max-height: 118px; aspect-ratio: auto; margin: 0; }
  .service-list article { grid-template-columns: 28px 1fr; gap: 16px; padding-block: 20px; }
  .service-icon { transform: scale(.83); transform-origin: left top; }
  .clinic-inner,.contact-inner { padding-block: 43px; }
  .clinic-name h3 { margin-top: 9px; }
  .clinic::before { left: 64%; width: 40%; }
  .facts > div { grid-template-columns: 75px 1fr; gap: 10px; padding-block: 12px; }
  .facts dd { font-size: 14px; }
  .contact h2 br { display: none; }
  .footer nav { flex-wrap: wrap; gap: 15px; }
  .policy-hero::after { width: 21%; opacity: .35; }
  .policy-hero h1 { font-size: clamp(29px,6.7vw,46px); }
  .policy-hero p { max-width: 100%; font-size: 14px; }
  .policy-hero p br { display: none; }
  .contents { position: static; }
  .contents li { padding-block: 7px; }
  .policy-layout { row-gap: 30px; }
  .articles h2 { font-size: 23px; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-note { animation: appear .6s ease-out both; }
  @keyframes appear { from { opacity: .15; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *,*::before,*::after { transition: none !important; } }
