@charset "UTF-8";
:root {
  color-scheme: light;
  --paper: #faf8f2;
  --white: #fffefa;
  --ink: #242923;
  --sub: #535a51;
  --line: #d6d6ca;
  --clay: #913a24;
  --deep: #303e34;
  --tint: #efeee4;
  --serif: "Yu Mincho", "Hiragino Mincho ProN", "BIZ UDPMincho", "MS PMincho", serif;
  --sans: "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Meiryo", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 98px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.85 var(--sans); }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure, dl, dd, pre { margin: 0; }
h1, h2, h3 { line-break: strict; text-wrap: pretty; }
h1, h2 { font-family: var(--serif); font-weight: 600; }
h2 { font-size: clamp(1.85rem, 3.2vw, 3rem); line-height: 1.45; letter-spacing: .035em; }
h3 { font-size: 1.3rem; line-height: 1.5; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .27em; }
button, select, input { font: inherit; color: inherit; }
button, select, label:has(input) { cursor: pointer; }
:focus-visible { outline: 3px solid #166b88; outline-offset: 4px; }
.wrap { width: min(1200px, calc(100% - clamp(44px, 10vw, 160px))); margin-inline: auto; }
.skip { position: fixed; z-index: 15; top: 4px; left: 12px; padding: 8px 16px; background: white; transform: translateY(-160%); }
.skip:focus { transform: translateY(0); }
.notice { background: #ece9df; color: #444a42; padding: 5px 20px; text-align: center; font-size: .81rem; }
.notice span { margin-left: 12px; padding-left: 12px; border-left: 1px solid #9f9f91; white-space: nowrap; }
.masthead { position: sticky; top: 0; z-index: 6; background: var(--paper); border-bottom: 1px solid var(--line); }
.mast-inner { min-height: 76px; display: flex; align-items: center; gap: 28px; }
.wordmark { display: inline-flex; gap: 12px; align-items: center; text-decoration: none; white-space: nowrap; }
.wordmark strong { font: 700 clamp(19px, 2vw, 25px)/1.2 var(--serif); letter-spacing: .07em; }
.wide-nav { margin-left: auto; display: flex; gap: 30px; }
.wide-nav a, .nav-cta, .mobile-nav a { font-weight: 650; font-size: .91rem; text-decoration: none; }
.wide-nav a { padding-block: 12px; }
.wide-nav a:hover, .underlink:hover, .text-button:hover { color: var(--clay); }
.nav-cta { padding: 8px 16px; border: 1px solid var(--ink); border-radius: 3px; }
.nav-cta:hover { background: var(--ink); color: white; }
.menu-toggle { display: none; }
.mobile-nav { position: absolute; inset: 100% 0 auto; background: var(--white); padding: 8px 5vw 18px; box-shadow: 0 10px 20px #262d2520; max-height: calc(100dvh - 80px); overflow-y: auto; }
.mobile-nav a { display: block; padding: 12px; border-bottom: 1px solid var(--line); }
.mobile-nav a:hover { background: var(--tint); }
.hero { padding-top: clamp(16px, 2.1vw, 34px); }
.hero-stage { width: min(1440px, 97%); margin: 0 auto; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); }
.hero-photo { grid-column: 5 / -1; grid-row: 1; position: relative; background: #4a4032; min-height: clamp(420px, 37vw, 560px); }
.hero-photo img, .company-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo img { position: absolute; inset: 0; object-position: 57% 47%; }
figcaption { position: absolute; right: 10px; bottom: 9px; padding: 2px 8px; color: white; background: #222820b8; border-radius: 2px; font-size: .75rem; line-height: 1.65; }
.hero-card { grid-column: 1 / 7; grid-row: 1; align-self: end; z-index: 1; margin: 30px 0 28px clamp(10px, 4.2vw, 70px); width: fit-content;
  max-width: calc(100% - clamp(10px, 4.2vw, 70px)); padding: clamp(24px, 2.8vw, 46px) clamp(24px, 3.4vw, 58px) clamp(26px, 2.7vw, 45px) 0; background: var(--paper); }
.place, .section-label { color: var(--clay); font-size: .88rem; font-weight: 700; letter-spacing: .075em; }
.place { display: flex; gap: 12px; align-items: center; }
.place::before { content: ""; width: 34px; height: 2px; background: var(--clay); }
.hero h1 { margin: 15px 0 18px; font-size: clamp(2.4rem, 3.7vw, 3.75rem); line-height: 1.38; letter-spacing: .025em; }
.hero h1 span { display: block; }
.hero-lead { color: var(--sub); max-width: 28em; line-height: 1.95; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 10px 25px; border-radius: 3px; border: 1px solid transparent; font-weight: 650; text-decoration: none; font-size: 1rem; }
.primary { background: var(--clay); color: white; }
.primary:hover { background: #742c1b; }
.hero-card .button { margin-top: 23px; }
.section, .memo-section { padding-block: clamp(62px, 7.5vw, 114px); }
.section-head { display: grid; grid-template-columns: 1fr minmax(240px, .72fr); align-items: end; gap: 30px; margin-bottom: clamp(24px, 3.5vw, 50px); }
.section-head > p { color: var(--sub); max-width: 36em; }
.section-label { margin-bottom: 9px; }
.service-grid { border-top: 1px solid #8c9388; display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(28px, 5vw, 75px); }
.service { position: relative; padding: 28px 46px 24px 0; text-decoration: none; border-bottom: 1px solid var(--line); }
.service h3 { font-family: var(--serif); font-size: clamp(1.35rem, 1.85vw, 1.65rem); letter-spacing: .025em; }
.service p { margin-top: 7px; color: var(--sub); }
.service-kind { display: block; margin-top: 10px; color: #5a6256; font-size: .8125rem; }
.service::after { content: "+"; position: absolute; top: 29px; right: 0; display: grid; place-items: center; width: 31px; height: 31px; background: transparent; color: var(--clay); border: 1px solid #bca596; border-radius: 50%; font: 22px/1 Arial,sans-serif; }
.service:hover h3, .service:focus-visible h3 { color: var(--clay); text-decoration: underline; text-underline-offset: .22em; }
.service:hover::after, .service:focus-visible::after { background: var(--clay); border-color: var(--clay); color: white; }
.memo-section { background: var(--tint); border-block: 1px solid var(--line); }
.memo-layout { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(255px,.85fr); align-items: start; gap: clamp(28px, 5vw, 82px); }
fieldset { border: 0; margin: 0; padding: 0; min-inline-size: 0; }
legend, .form-heading { font-size: 1.08rem; font-weight: 700; padding: 0; }
legend small, .form-heading small, .common-fields small { font-size: .8rem; font-weight: 500; color: var(--sub); margin-left: .4em; }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin: 12px 0 6px; }
.choices label, .unsure { display: flex; align-items: center; gap: 10px; min-height: 48px; }
.choices label { padding: 9px 12px; border: 1px solid #a8ad9f; border-radius: 3px; background: var(--white); }
.choices label:has(:checked) { border-color: var(--deep); box-shadow: inset 0 0 0 1px var(--deep); background: #e4eadd; }
input[type="checkbox"] { width: 19px; height: 19px; margin: 0; accent-color: var(--deep); flex: none; }
.unsure { width: fit-content; font-size: .95rem; }
.topic-details, .common-fields { margin-top: 18px; }
.topic-details { border-block: 1px solid #c1c5b8; padding: 18px 0 20px; }
#topic-selects, .common-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
#topic-selects { margin-top: 12px; }
#topic-selects label, .common-fields label { display: block; min-width: 0; font-size: .95rem; font-weight: 650; }
select { display: block; width: 100%; min-width: 0; margin-top: 5px; padding: 9px 7px; min-height: 48px; line-height: 1.5; font-size: 16px; background: var(--white); border: 1px solid #9bA18f; border-radius: 3px; }
.form-actions { display: flex; align-items: center; gap: 17px; flex-wrap: wrap; margin-top: 24px; }
.text-button { min-height: 44px; background: transparent; border: 0; padding: 6px 3px; text-decoration: underline; text-underline-offset: .25em; font-size: .91rem; }
.error { margin: 10px 0; color: #8d2e19; font-weight: 650; }
.note-card { background: var(--white); border-top: 3px solid var(--deep); box-shadow: 0 7px 22px #303e340a; padding: clamp(20px, 2.7vw, 38px); }
.note-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 13px; }
.note-top h3, .confirmation h3 { font-family: var(--serif); }
.note-top span, .note-bottom { font-size: .82rem; color: var(--sub); }
#live-note { margin-block: 16px; }
#live-note ul { padding-left: 1.3em; margin: 0; }
#live-note li + li { margin-top: 3px; }
#live-note p + p, #live-note ul + p { margin-top: 9px; }
.note-bottom { border-top: 1px solid var(--line); padding-top: 14px; }
.confirmation { margin-top: 30px; padding: clamp(20px, 3.5vw, 48px); background: var(--white); border: 1px solid #a4b29f; scroll-margin-top: 12px; }
.confirmation h3 { font-size: 1.6rem; margin-bottom: 8px; }
.confirmation pre { margin-top: 16px; padding: 16px; background: var(--paper); white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; }
#copy-status:not(:empty) { margin-top: 12px; color: var(--deep); font-weight: 650; }
.company { display: grid; grid-template-columns: minmax(0,.92fr) minmax(0,1fr); gap: clamp(34px, 6vw, 90px); align-items: center; }
.company-photo { position: relative; min-height: 0; height: clamp(320px, 38vw, 520px); }
.company-photo img { object-position: 52% center; }
.facts { margin: 26px 0 20px; border-top: 1px solid var(--line); }
.facts > div { display: grid; grid-template-columns: minmax(82px, .38fr) 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: .87rem; padding-top: 2px; color: var(--sub); }
.facts small { font-size: .87rem; color: var(--sub); }
.underlink { display: inline-flex; min-height: 44px; align-items: center; font-weight: 650; color: var(--clay); }
footer { background: var(--deep); color: #fffdf6; padding: clamp(42px, 5.2vw, 84px) 0 20px; }
.footer-grid { display: grid; grid-template-columns: .9fr 1.2fr; gap: 36px; }
footer .section-label { color: #e4c9a5; }
footer h2 { font-size: clamp(1.55rem,2.5vw,2.1rem); }
.footer-copy p + p { margin-top: 13px; }
.credit, .footer-base { font-size: .85rem; }
.footer-base { margin-top: 30px; border-top: 1px solid #828c7f; padding-top: 15px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.footer-base a { display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; }
.not-found { max-width: 660px; padding: 7vh 22px; margin: auto; }
.not-found h1 { font-size: clamp(1.7rem,4vw,2.6rem); }
.not-found .button { margin-top: 24px; }
@media (max-width: 900px) {
  .mast-inner { gap: 16px; }
  .wide-nav { gap: 14px; }
  .hero-card { grid-column-end: 8; }
  .section-head { grid-template-columns: 1.1fr 1fr; }
  .memo-layout { grid-template-columns: minmax(0,1.45fr) minmax(215px,.8fr); gap: 24px; }
  #topic-selects, .common-fields { grid-template-columns: 1fr; gap: 12px; }
  .choices label { padding-inline: 9px; }
}
@media (max-width: 720px) {
  html { scroll-padding-top: 74px; }
  .wrap { width: calc(100% - 40px); }
  .notice { padding: 5px 10px; font-size: .75rem; }
  .notice span { margin-left: 5px; padding-left: 7px; }
  .mast-inner { min-height: 62px; gap: 10px; }
  .wordmark { gap: 8px; margin-right: auto; }
  .wordmark img { width: 31px; height: 31px; }
  .wide-nav { display: none; }
  .nav-cta { font-size: .86rem; }
  .menu-toggle { display: inline-flex; flex-direction: column; gap: 3px; justify-content: center; align-items: center; padding: 4px; min-width: 48px; min-height: 44px; border: 0; background: transparent; font-size: .75rem; line-height: 1.2; }
  .menu-lines { position: relative; width: 23px; height: 11px; border-block: 1.5px solid currentColor; }
  .menu-toggle[aria-expanded="true"] .menu-lines { border: 0; }
  .menu-toggle[aria-expanded="true"] .menu-lines::before, .menu-toggle[aria-expanded="true"] .menu-lines::after { content: ""; position: absolute; inset: 50% 0 auto; height: 1.5px; background: var(--ink); transform: rotate(28deg); }
  .menu-toggle[aria-expanded="true"] .menu-lines::after { transform: rotate(-28deg); }
  .hero { padding-top: 0; }
  .hero-stage { display: flex; flex-direction: column; width: 100%; }
  .hero-photo { min-height: 0; height: clamp(203px, 53vw, 330px); margin-left: 14px; }
  figcaption { right: 6px; bottom: 5px; font-size: .75rem; }
  .hero-photo figcaption { top: 8px; bottom: auto; right: 8px; }
  .hero-card { align-self: start; margin: -18px 0 0 0; padding: 24px 18px 0 20px; max-width: 94%; width: auto; }
  .hero h1 { font-size: clamp(2.15rem, 7.6vw, 3.15rem); line-height: 1.38; margin: 13px 0; }
  .hero-lead { line-height: 1.85; }
  .hero-card .button { margin-top: 17px; }
  .section, .memo-section { padding-block: 54px; }
  .section-head { display: block; margin-bottom: 23px; }
  .section-head > p { margin-top: 12px; }
  .service-grid { grid-template-columns: 1fr; }
  .service { padding: 20px 40px 18px 0; }
  .service p { margin-top: 4px; }
  .service-kind { margin-top: 6px; }
  .service::after { top: 20px; }
  .memo-layout { grid-template-columns: 1fr; }
  .note-card { padding: 20px; }
  #topic-selects, .common-fields { grid-template-columns: 1fr 1fr; }
  .company { grid-template-columns: 1fr; gap: 27px; }
  .company-photo { height: clamp(200px,52vw,300px); }
  .facts { margin-block: 17px 10px; }
  .footer-grid { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 520px) {
  .nav-cta { display: none; }
  .notice span { display: inline-block; border: 0; padding: 0; }
  #topic-selects, .common-fields { grid-template-columns: 1fr; }
  .choices { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .choices label { font-size: .94rem; padding: 9px; gap: 7px; }
  .company h2 { font-size: 1.75rem; }
  .footer-base { align-items: flex-start; }
}
@media (max-width: 355px) {
  .wrap { width: calc(100% - 32px); }
  .choices { grid-template-columns: 1fr; }
  .hero-card { padding-left: 16px; max-width: 100%; }
  .hero-card h1 { font-size: 2rem; }
  .notice { padding-inline: 16px; }
}
@media print {
  @page { size: A4; margin: 14mm; }
  body { font-size: 11pt; background: white; }
  .wrap, .hero-stage { width: 100%; }
  .masthead { position: static; border: 0; }
  .mast-inner { min-height: 50px; }
  nav, .nav-cta, .menu-toggle, .button, .footer-base a, .service::after, .memo-layout, .noscript { display: none !important; }
  .notice { color: black; background: white; text-align: left; padding: 0; }
  .hero-stage { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
  .hero-photo { grid-column: 2; grid-row: 1; margin: 0; height: 225px; min-height: 0; }
  .hero-card { grid-column: 1; grid-row: 1; align-self: center; margin: 0; padding: 0; max-width: 100%; background: white; }
  .hero h1 { font-size: 24pt; }
  h2 { font-size: 19pt; }
  .section, .memo-section, footer { padding-block: 16px; }
  .section-head, .footer-grid { display: block; margin-bottom: 12px; }
  .section-head > p { margin-top: 6px; }
  .service-grid { grid-template-columns: 1fr 1fr; gap: 0 20px; }
  .service { padding: 10px 0; break-inside: avoid; }
  .service h3 { font-size: 14pt; }
  .service-kind { margin-top: 3px; }
  .memo-section:not(:has(.confirmation:not([hidden]))) { display: none; }
  .memo-section { background: white; }
  .confirmation { padding: 12px; margin: 0; }
  .confirmation .form-actions, #copy-status, .confirmation > p:first-of-type { display: none; }
  .company { grid-template-columns: .8fr 1.2fr; gap: 20px; break-inside: avoid; }
  .company-photo { height: 210px; }
  .facts { margin: 10px 0 0; }
  .facts > div { padding: 5px 0; }
  footer { color: black; background: white; border-top: 1px solid var(--line); }
  footer .section-label, .footer-copy { color: #333; }
  .footer-base { margin-top: 12px; }
}
