@font-face {
  font-family: "Renewal Japanese Guide";
  src: url("/assets/fonts/ydtour-renewal.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Renewal Japanese Fallback";
  src: url("/assets/fonts/ydtour-japanese.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --sans: "Renewal Japanese Guide", "Renewal Japanese Fallback", "Apple SD Gothic Neo", system-ui, sans-serif;
  --serif: "Renewal Japanese Guide", "Renewal Japanese Fallback", "Apple SD Gothic Neo", system-ui, sans-serif;
  --paper: #f7f5ef;
  --paper-2: #ebe8df;
  --white: #fffefb;
  --red: #a93e30;
  --red-dark: #823022;
  --red-soft: #f4e5dc;
  --ink-600: #536475;
  --line: #d7d8d0;
  --shadow-soft: 0 6px 20px rgb(8 19 33 / 4%);
}

body { font-family: var(--sans); overflow-wrap: anywhere; }
input, select, textarea, button { font: inherit; }
h1, h2, h3 { word-break: keep-all; overflow-wrap: anywhere; }
button, input, select, summary, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #286e76; outline-offset: 4px; }
button { cursor: pointer; }
[hidden] { display: none !important; }
.site-header { position: relative; background: #f7f5eff5; }
.header-inner { min-height: 82px; }
.brand-mark { border-radius: 8px; font-size: 18px; }
.brand-copy strong { font-size: 20px; letter-spacing: -.035em; }
.brand-copy small { letter-spacing: .1em; }
.site-nav a { font-size: 13px; }
.site-nav a[aria-current="page"] { background: #f1e5da; }
.mobile-nav summary { min-height: 44px; display: flex; align-items: center; }
.mobile-nav nav { z-index: 60; max-width: calc(100vw - 28px); }
.notice-bar { background: #283c45; }

.renew-hero { background: var(--paper); border-bottom: 1px solid var(--line); }
.renew-hero-grid { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); gap: clamp(32px,5vw,72px); align-items: center; padding-block: 67px 62px; }
.renew-hero-grid > * { min-width: 0; }
.renew-hero .eyebrow { color: #91402c; font-size: 11px; letter-spacing: .14em; margin-bottom: 22px; }
.renew-hero h1 { font-size: clamp(36px,4.4vw,60px); line-height: 1.22; letter-spacing: -.05em; margin-bottom: 24px; font-weight: 820; }
.renew-hero h1 span { display: block; color: #a74331; }
.renew-lead { max-width: 600px; color: #536273; font-size: 17px; line-height: 1.95; }
.renew-search { display: flex; align-items: stretch; flex-wrap: wrap; gap: 6px; margin-top: 26px; padding: 7px; background: #fff; border: 1px solid #bfc6bf; border-radius: 7px; box-shadow: 0 6px 18px rgb(18 37 44 / 4%); }
.renew-search label:not(.sr-only) { width: 100%; padding: 4px 9px 0; color: #465c60; font-size: 12px; font-weight: 750; }
.renew-search > div { display: flex; align-items: stretch; gap: 6px; width: 100%; min-width: 0; }
.renew-search input { flex: 1 1 160px; width: 0; min-width: 0; padding: 12px 10px; border: 0; border-radius: 4px; background: transparent; color: #182e3d; font-size: 16px; }
.renew-search input::placeholder { color: #657474; opacity: 1; }
.renew-search button { min-height: 46px; flex: 0 0 auto; padding: 10px 18px; border: 1px solid #a53d2c; border-radius: 5px; background: #a53d2c; color: #fff; font-size: 14px; font-weight: 750; }
.renew-search button:hover { background: #873021; }
.renew-hero-links { display: flex; flex-wrap: wrap; align-items: center; gap: 9px 18px; margin-top: 19px; color: #3e5c62; font-size: 13px; }
.renew-hero-links a { display: inline-flex; align-items: center; min-height: 38px; text-decoration-thickness: 1px; }
.renew-visual { margin: 0; background: #142533; border-radius: 7px; overflow: hidden; border: 1px solid #183341; }
.renew-visual img { width: 100%; height: auto; aspect-ratio: 1.08; object-fit: cover; object-position: center; }
.renew-visual figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 17px 20px; background: #162b39; color: #e7e1d5; font-size: 11px; line-height: 1.8; letter-spacing: .04em; }
.renew-summary { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 18px 36px; padding-block: 21px; color: #536671; font-size: 13px; }
.renew-summary > * { min-width: 0; margin: 0; }
.renew-summary > .container { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-inline: auto; }
.renew-summary p { margin: 0; }
.renew-summary strong { color: #173d46; margin-right: 6px; font-weight: 800; }
.renew-summary small { color: #586b73; }

.section { padding-block: 70px; }
.section-compact { padding-block: 48px; }
.section-head { margin-bottom: 30px; }
.section-head h2 { font-size: clamp(27px,3vw,38px); line-height: 1.35; }
.section-head > p:last-child { font-size: 16px; line-height: 1.85; }
.card, .service-card, .work-card { border-radius: 8px; box-shadow: none; }
.category-card { min-height: 260px; border-top: 5px solid var(--red); }
.category-card::before { display: none; }
.category-card:nth-child(3n+2) { border-top-color: var(--cyan); }
.category-card:nth-child(3n+3) { border-top-color: var(--amber); }
.card p, .service-card p { line-height: 1.9; }
.button { min-height: 46px; border-radius: 6px; font-size: 14px; }
.button-red:hover { background: #873021; }
.button-outline:hover { background: #eee8dd; }
.page-hero { padding-block: 48px 45px; }
.page-hero h1 { font-size: clamp(32px,4.1vw,48px); line-height: 1.3; text-wrap: balance; }
.page-hero::after { font-size: 15rem; }
.page-lead { font-size: 16px; line-height: 1.9; color: #d3dce0; }
.page-meta, .breadcrumbs { color: #becdd2; }
.page-hero .eyebrow { color: #f2b39f; }
.page-hero .page-actions .button-outline { border-color: #a9b7bd; color: #fff; }
.page-hero .page-actions .button-outline:hover { background: #254451; }
.article-layout { gap: 34px; }
.toc { border-radius: 8px; }
.prose h2 { line-height: 1.4; }
.prose p, .prose li { line-height: 1.95; }
.prose .table-wrap { margin-block: 24px; }
.table-wrap { min-width: 0; }
.service-domain { overflow-wrap: anywhere; }
.footer-copy { color: #c3cdd3; }
.footer-links a { display: inline-flex; align-items: center; min-height: 36px; color: #c8d2d7; }
.footer-bottom { color: #b2c0c8; }
.site-footer .brand-copy small { color: #b8c6cd; }
.method-grid p, .section-dark .section-head > p:last-child { color: #c2cdd3; }
.section-dark .eyebrow { color: #f2b39f; }
.feature-panel p, .fact-list span { color: #c9d5dc; }

.renew-directory { padding: 0; }
.renew-filter-form { min-width: 0; }
.renew-filters { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(0,1fr) minmax(0,1fr); gap: 18px; padding: 25px; background: #e9eee8; border: 1px solid #ccd7cd; border-radius: 9px; }
.renew-filters label { display: grid; align-content: start; gap: 8px; min-width: 0; color: #344d47; font-size: 13px; font-weight: 750; }
.renew-filters input, .renew-filters select { width: 100%; min-width: 0; min-height: 48px; padding: 11px 13px; background: #fffefb; border: 1px solid #a9beb0; border-radius: 5px; color: #17372c; font-size: 15px; font-weight: 450; }
.renew-filters input::placeholder { color: #60746a; opacity: 1; }
.renew-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; padding-block: 19px 24px; }
.renew-toolbar button, .renew-filter-form > button, .renew-comparison button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 11px 17px; border: 1px solid #203e40; border-radius: 5px; background: #203e40; color: #fff; font-size: 14px; font-weight: 750; }
.renew-toolbar button:hover, .renew-filter-form > button:hover { background: #315755; }
.renew-toolbar a { display: inline-flex; align-items: center; min-height: 44px; color: #425d56; font-size: 13px; }
.renew-result-count, .renew-selection-count { margin: 0; color: #425d52; font-size: 13px; line-height: 1.8; }
.renew-result-count { font-weight: 750; }
.renew-service-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; margin-block: 22px 36px; }
.renew-service-card { display: flex; flex-direction: column; min-width: 0; padding: 25px; background: #fffefb; border: 1px solid #ccd6cc; border-radius: 8px; }
.renew-service-card > label, .renew-service-card .renew-select { display: inline-flex; align-items: center; align-self: flex-start; min-height: 44px; gap: 9px; color: #385748; font-size: 13px; cursor: pointer; }
.renew-service-card input[type="checkbox"] { width: 19px; height: 19px; flex-shrink: 0; accent-color: #a53d2c; margin: 0; }
.renew-service-card h2 { margin: 14px 0 6px; font-size: 23px; line-height: 1.35; font-weight: 780; }
.renew-service-card .domain, .renew-service-card .service-domain { margin: 0 0 12px; color: #596d6a; font-family: var(--sans); font-size: 12px; overflow-wrap: anywhere; }
.renew-service-card > p { color: #4b6360; font-size: 14px; line-height: 1.9; }
.renew-service-card dl { display: grid; gap: 13px; margin: 14px 0 22px; padding-top: 17px; border-top: 1px solid #dde3db; }
.renew-service-card dl > div { display: grid; gap: 4px; min-width: 0; }
.renew-service-card .service-facts > div { grid-template-columns: minmax(0,1fr); }
.renew-service-card dt { color: #58705e; font-size: 11px; font-weight: 750; }
.renew-service-card dd { margin: 0; color: #2f4d3f; font-size: 13px; line-height: 1.8; }
.renew-service-card .service-links { margin-top: auto; padding-top: 16px; border-top: 1px solid #dde3db; gap: 10px 15px; }
.renew-service-card .service-links a { display: inline-flex; align-items: center; min-height: 38px; color: #873424; font-size: 13px; font-weight: 750; }
.renew-service-card:has(input:checked) { border-color: #a84a37; box-shadow: inset 0 0 0 1px #a84a37; }
.renew-comparison { min-width: 0; max-width: 100%; padding-top: 16px; margin-block: 24px 36px; scroll-margin-top: 24px; }
.renew-comparison h2 { font-size: 30px; line-height: 1.35; margin-bottom: 15px; }
.renew-comparison > p { color: #4c675b; font-size: 14px; }
.renew-comparison .table-wrap { max-width: 100%; overflow-x: auto; border-radius: 8px; overscroll-behavior-inline: contain; }
.renew-comparison table { min-width: 650px; table-layout: fixed; }
.renew-comparison th, .renew-comparison td { overflow-wrap: anywhere; word-break: keep-all; padding: 17px; font-size: 13px; line-height: 1.85; }
.renew-comparison thead th { color: #203f31; background: #e5ece0; font-size: 14px; }
.renew-comparison tbody th { background: #f0f3eb; color: #44604b; width: 135px; }
.renew-comparison td { color: #355443; background: #fffefb; }
.renew-comparison a { color: #873424; }
.renew-empty { padding: 38px 26px; margin-block: 24px; background: #ecf1e7; border: 1px solid #d0deca; border-radius: 8px; color: #34503d; }
.renew-empty h2 { margin-bottom: 14px; font-size: 27px; }
.renew-empty p { color: #49674e; }
.renew-directory .notice { font-size: 13px; line-height: 1.85; }
.renew-form-status:not(:empty) { padding: 14px 17px; background: #f4e5dc; border-left: 3px solid #a93e30; color: #71392c; font-size: 14px; }
.renew-query-note { margin-block: 24px 32px; color: #536475; font-size: 13px; line-height: 1.9; }
.renew-query-note a { color: #873424; }
.renew-directory .section-action p { margin-top: 12px; color: #536475; font-size: 13px; }
main [id] { scroll-margin-top: 24px; }

@media (max-width: 1100px) {
  .renew-hero-grid { gap: 35px; padding-block: 50px; }
  .renew-hero h1 { font-size: 43px; }
  .renew-service-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .renew-service-card { padding: 23px; }
  .renew-filters { gap: 12px; }
}

@media (max-width: 800px) {
  .renew-hero-grid { grid-template-columns: 1fr; padding-block: 36px 40px; gap: 30px; }
  .renew-hero h1 { max-width: 650px; font-size: 43px; }
  .renew-lead { max-width: 680px; font-size: 16px; }
  .renew-visual img { aspect-ratio: 1.85; }
  .renew-summary { gap: 12px 24px; font-size: 12px; padding-block: 18px; }
  .renew-filters { grid-template-columns: repeat(2,minmax(0,1fr)); padding: 22px; }
  .renew-filters > label:first-child { grid-column: 1 / -1; }
  .renew-toolbar { gap: 10px 16px; }
  .renew-toolbar .renew-selection-count { flex-basis: 100%; }
  .section { padding-block: 48px; }
  .page-hero h1 { max-width: 680px; font-size: 38px; }
  .footer-grid { gap: 28px; }
}

@media (max-width: 600px) {
  .container, .narrow { width: calc(100% - 32px); }
  .header-inner { gap: 14px; min-height: 72px; }
  .brand-copy strong { font-size: 18px; }
  .brand-mark { width: 35px; height: 35px; }
  .renew-hero .eyebrow { margin-bottom: 16px; font-size: 10px; letter-spacing: .1em; }
  .renew-hero h1 { font-size: 36px; line-height: 1.3; margin-bottom: 20px; }
  .renew-lead { font-size: 15px; }
  .renew-search { margin-top: 22px; }
  .renew-search input { flex-basis: 150px; font-size: 16px; padding: 10px 8px; }
  .renew-search button { padding: 10px 14px; font-size: 13px; }
  .renew-hero-links { margin-top: 12px; gap: 6px 15px; font-size: 12px; }
  .renew-visual figcaption { padding: 12px 15px; font-size: 10px; }
  .renew-summary { display: grid; grid-template-columns: 1fr; gap: 9px; }
  .renew-summary > .container { display: grid; grid-template-columns: 1fr; gap: 9px; }
  .section { padding-block: 40px; }
  .section-head h2 { font-size: 27px; }
  .section-head > p:last-child { font-size: 14px; }
  .page-hero { padding-block: 35px; }
  .page-hero h1 { font-size: 32px; }
  .page-lead { font-size: 15px; }
  .page-meta, .breadcrumbs { font-size: 12px; }
  .card, .service-card, .work-card { padding: 22px; }
  .service-facts > div { grid-template-columns: 73px minmax(0,1fr); gap: 9px; }
  .toc { flex-wrap: wrap; overflow: visible; gap: 3px; }
  .toc strong { display: block; width: 100%; padding-bottom: 5px; }
  .toc a { flex: 0 1 auto; font-size: 12px; min-height: 40px; display: inline-flex; align-items: center; }
  .renew-filters { grid-template-columns: 1fr; padding: 19px; gap: 15px; }
  .renew-filters > label:first-child { grid-column: auto; }
  .renew-filters input, .renew-filters select { font-size: 16px; }
  .renew-toolbar { padding-block: 15px 18px; }
  .renew-result-count, .renew-selection-count { font-size: 12px; }
  .renew-service-grid { grid-template-columns: 1fr; gap: 15px; margin-top: 17px; }
  .renew-service-card { padding: 23px; }
  .renew-service-card h2 { font-size: 23px; }
  .renew-service-card > p { font-size: 14px; }
  .renew-comparison h2 { font-size: 27px; }
  .renew-comparison th, .renew-comparison td { padding: 14px; font-size: 12px; }
  .renew-empty { padding: 27px 22px; }
  .renew-empty h2 { font-size: 24px; }
  .site-footer { padding-top: 40px; }
  .footer-copy { font-size: 14px; }
  .footer-bottom { margin-top: 30px; }
}

@media (max-width: 370px) {
  .container, .narrow { width: calc(100% - 28px); }
  .renew-hero h1 { font-size: 32px; }
  .renew-search input { flex-basis: 130px; padding-inline: 6px; }
  .renew-search button { padding-inline: 12px; }
  .renew-filters, .renew-service-card { padding: 18px; }
  .renew-toolbar { gap: 9px 13px; }
  .renew-toolbar button { padding: 10px 14px; font-size: 13px; }
  .page-hero h1 { font-size: 29px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

@media print {
  .renew-search, .renew-filters, .renew-toolbar, .renew-service-card > label { display: none !important; }
  .renew-hero-grid, .renew-service-grid { display: block; }
  .renew-visual { display: none; }
  .renew-service-card { break-inside: avoid; margin-bottom: 16px; }
  .renew-comparison .table-wrap { overflow: visible; }
  .renew-comparison table { min-width: 0; }
}
