/* 06 / PARCO DIGITAL — all overrides are limited to the home page. */
body.home {
  --ink: #171717; --dark: #171717; --line: #d1d1d1; --light: #f1f1f1;
  --tag: #e7e7e7; --tag-text: #303030; --container: 1120px;
  --edge: clamp(20px, 2.4vw, 48px);
  color: var(--ink);
  font-family: "Helvetica Neue", Arial, "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.8;
}
body.home a, body.home button { transition: background-color .2s, color .2s, opacity .2s; }
body.home :is(a, button, input):focus-visible { outline: 3px solid #3562b0; outline-offset: 5px; }
body.home .skip-link { z-index: 30; }
body.home #main { scroll-margin-top: 110px; }
body.home .container { width: min(var(--container), calc(100% - 96px)); }
body.home .button { border-radius: 4px; font-size: 14px; font-weight: 600; min-height: 48px; }
body.home .button:hover { background: #444; color: white; opacity: 1; }

/* Compact header and expandable category navigation. */
body.home .site-header { position: sticky; top: 0; z-index: 20; background: white; color: var(--ink); }
body.home .header-top { max-width: none; min-height: 88px; padding: 16px var(--edge); gap: 24px; }
body.home .brand { flex: 0 0 194px; }
body.home .brand img { width: 194px; filter: brightness(0); }
body.home .header-utilities { margin-left: auto; gap: 24px; font-size: 14px; }
body.home .header-utilities > button:first-child { display: block; }
body.home .header-utilities .utility-box { border: 1px solid var(--ink); border-radius: 3px; padding: 7px 15px; font-size: 13px; font-weight: 500; }
body.home .header-utilities .utility-box:last-of-type { background: var(--ink); color: white; }
body.home .header-search { width: 36px; height: 40px; margin-left: 0; }
body.home .search-icon { width: 16px; height: 16px; }
body.home .search-icon:after { width: 7px; right: -5px; bottom: -3px; }
body.home .mobile-menu { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 40px; padding: 6px 12px; border-radius: 3px; background: var(--ink); color: white; font-size: 12px; }
body.home .site-nav { display: none; background: #f1f1f1; padding: 20px var(--edge); }
body.home .site-nav.is-open { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 24px; }
body.home .site-nav a { white-space: normal; border: 0; border-bottom: 1px solid #ccc; padding: 20px 0; font-size: 14px; line-height: 1.6; }

/* Asymmetric main visual, stacked previews and white-strip headline. */
body.home .home-hero { padding: 0 var(--edge); overflow: visible; color: var(--ink); background: white; }
body.home .brand-copy { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding: 18px 26px; margin-bottom: 18px; border-radius: 14px; background: #ededed; white-space: normal; }
body.home .audiences { flex-wrap: wrap; gap: 7px; }
body.home .audiences span { padding: 1px 9px; font-size: 12px; font-weight: 500; border: 1px solid #a9a9a9; border-radius: 3px; background: transparent; }
body.home .audiences small { display: none; }
body.home .brand-copy p { margin: 0; font-size: 12px; }
body.home .hero-composition { position: relative; padding-bottom: 36px; }
body.home .hero-window { overflow: visible; }
body.home .hero-track { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); grid-template-rows: repeat(2, minmax(220px, 19vw)); gap: 16px; width: auto; position: static; transform: none; transition: none; }
body.home .hero-slide { display: flex; flex-direction: column; position: relative; min-width: 0; border-radius: 14px; overflow: hidden; background: var(--gray); }
body.home .hero-slide:hover { opacity: .83; }
body.home .hero-slide.is-main { grid-column: 1; grid-row: 1 / 3; }
body.home .hero-slide.is-upper { grid-column: 2; grid-row: 1; }
body.home .hero-slide.is-lower { grid-column: 2; grid-row: 2; }
body.home .hero-image { flex: 1; aspect-ratio: auto; min-height: 0; background: var(--gray); }
body.home .hero-slide h2 { margin: 0; padding: 16px; font-size: 14px; line-height: 1.65; background: #e9e9e9; font-weight: 600; }
body.home .hero-slide.is-main h2 { position: absolute; right: 26px; top: 24px; max-width: 340px; padding: 14px 18px; border-radius: 4px; background: white; font-size: 15px; }
body.home .hero-statement { position: absolute; left: -2px; bottom: 3px; margin: 0; font-size: clamp(28px, 3.45vw, 64px); line-height: 1.4; letter-spacing: -.045em; font-style: italic; font-weight: 500; pointer-events: none; }
body.home .hero-statement span { background: white; padding: 1px 14px 5px 2px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
body.home .hero-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 76px; padding: 5px 0 24px; border-bottom: 1px solid #ccc; }
body.home .hero-kicker { font: 600 14px Arial, sans-serif; letter-spacing: .04em; }
body.home .hero-kicker span { display: inline-block; margin-left: 16px; padding-left: 16px; border-left: 1px solid #aaa; font-size: 12px; font-weight: 400; letter-spacing: 0; }
body.home .hero-controls { display: flex; align-items: center; gap: 14px; }
body.home .hero-count { display: flex; gap: 14px; font: 14px Arial, sans-serif; font-variant-numeric: tabular-nums; }
body.home .hero-count [data-feature-index] { font-weight: 700; }
body.home .count-divider { color: #929292; }
body.home .arrow { position: static; width: 40px; height: 40px; border-radius: 50%; font-size: 27px; background: var(--ink); color: white; }
body.home .arrow:hover { background: #555; opacity: 1; }
body.home .carousel-dots { display: flex; margin: 0 0 0 4px; gap: 3px; }
body.home .carousel-dots button { position: relative; width: 24px; height: 36px; border-radius: 0; background: transparent; opacity: 1; }
body.home .carousel-dots button:after { content: ""; position: absolute; inset: 15px 9px; background: #c6c6c6; border-radius: 50%; }
body.home .carousel-dots button[aria-pressed="true"]:after { background: var(--ink); }

/* Small Japanese labels and generous English headings. */
body.home .section-title { text-align: left; margin: 0 0 48px; }
body.home .section-jp { display: block; position: relative; padding-left: 16px; font-size: 14px; font-weight: 600; line-height: 1.8; }
body.home .section-jp:before { content: ""; position: absolute; width: 7px; height: 7px; border-radius: 50%; background: currentColor; top: .65em; left: 0; }
body.home .section-en { display: block; margin-top: 16px; font-family: "Helvetica Neue", Arial, sans-serif; font-size: clamp(38px, 4.2vw, 62px); line-height: .98; letter-spacing: -.055em; font-weight: 500; }
body.home .home-finder { margin-top: 82px; padding: 84px 0 88px; border-radius: 28px 28px 0 0; background: #f2f2f2; color: var(--ink); }
body.home .category-tabs { gap: 16px; }
body.home .category-tabs button { border-radius: 10px 10px 0 0; padding-bottom: 7px; border-bottom: 2px solid #ccc; }
body.home .category-image { position: relative; aspect-ratio: 2.4; background: #bfbdbd; border-radius: 10px 10px 0 0; }
body.home .category-number { position: absolute; top: 12px; left: 12px; padding: 0 8px; border: 1px solid #555; border-radius: 50%; font: 13px/1.6 Arial, sans-serif; }
body.home .category-label { min-height: 74px; background: transparent; padding: 14px 4px; font-size: 15px; text-align: left; justify-content: flex-start; line-height: 1.6; }
body.home .category-tabs button[aria-selected="true"] { border-bottom-color: var(--ink); }
body.home .category-tabs button[aria-selected="true"] .category-label { font-weight: 800; }
body.home .category-tabs button[aria-selected="true"]:after { display: none; }
body.home .category-panel { border-radius: 12px; margin-top: 26px; padding: 28px 32px 30px; }
body.home .category-panel-title { padding-bottom: 20px; border-color: #d5d5d5; gap: 20px; }
body.home .category-panel-title h3 { font-size: 20px; }
body.home .category-panel-title a { font-size: 14px; font-weight: 500; }
body.home .genre-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 32px; margin-top: 6px; }
body.home .genre-grid a, body.home .genre-grid a:nth-last-child(-n+4) { padding: 13px 0; font-size: 14px; font-weight: 500; border-bottom: 1px solid #dedede; }
body.home .genre-grid a:nth-last-child(-n+3) { border-bottom: 0; }
body.home .genre-grid a span { color: var(--ink); font-size: 20px; margin-left: 10px; }
body.home .facility-links { margin-top: 32px; gap: 16px; }
body.home .facility-links .button { border-radius: 4px; background: transparent; color: var(--ink); padding: 14px 8px; font-size: 14px; }
body.home .facility-links .button:hover { color: white; background: var(--ink); }
body.home .home-finder .keyword-form { max-width: none; margin-top: 28px; gap: 12px; }
body.home .keyword-form input { border-radius: 4px; border: 1px solid #c8c8c8; padding: 17px 20px; font-size: 16px; }
body.home .keyword-form .button { min-width: 150px; }
body.home .pr-strip { padding: 30px var(--edge); background: #fff; border-bottom: 1px solid #e6e6e6; }
body.home .pr-strip > div { justify-content: flex-start; overflow-x: auto; gap: 14px; padding-bottom: 8px; scrollbar-width: thin; }
body.home .pr-label { top: 8px; left: var(--edge); padding: 0; font: 12px Arial, sans-serif; background: transparent; border: 0; }
body.home .banner-box { min-width: 205px; height: 92px; border: 0; border-radius: 5px; background: #e9e9e9; font-size: 13px; font-weight: 500; }

/* Two-column product panels echo the reference's service blocks. */
body.home .home-products { padding-top: 100px; padding-bottom: 100px; }
body.home .home-products .cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
body.home .home-products .content-card { padding: 30px; background: #f1f1f1; position: relative; }
body.home .home-products .card-image { aspect-ratio: 16/9; }
body.home .card-visual { border-radius: 8px; overflow: hidden; }
body.home .card-image { background: var(--gray); }
body.home .new-badge { top: 12px; left: 12px; border-radius: 3px; width: auto; height: auto; padding: 5px 10px; outline: none; background: white; color: var(--ink); font: 12px Arial, sans-serif; }
body.home .card-meta { font-size: 12px; margin-top: 18px; margin-bottom: 5px; color: #555; }
body.home .content-card h3 { font-size: 20px; font-weight: 600; line-height: 1.6; }
body.home .card-description { font-size: 16px; margin-top: 8px; line-height: 1.8; }
body.home .content-card .tags { max-height: none; margin-top: 18px; gap: 6px; overflow: visible; }
body.home .content-card .tag { font-size: 12px; border-radius: 20px; padding: 3px 11px; background: #e2e2e2; color: #333; }
body.home .card-facilities { font-size: 12px; margin-top: 12px; color: #555; }
body.home .more-link { display: flex; justify-content: flex-end; margin-top: 40px; }
body.home .more-link .button { border: 0; padding: 4px 0 4px 22px; background: transparent; color: var(--ink); gap: 35px; font-size: 14px; }
body.home .more-link .button:after { content: "›"; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: white; font: 24px Arial, sans-serif; }
body.home .more-link .button:hover:after { background: #555; }
body.home .home-articles { background: #f1f1f1; padding: 90px 0; border-radius: 28px 28px 0 0; }
body.home .home-articles .cards-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
body.home .home-articles .card-image { aspect-ratio: 4/3; }
body.home .home-articles .content-card h3 { font-size: 16px; line-height: 1.75; }
body.home .card-carousel > .arrow { position: absolute; top: -94px; }
body.home .card-carousel > .previous { left: auto; right: 54px; }
body.home .card-carousel > .next { right: 0; }

/* Closing sections retain the same white / black / grey rhythm. */
body.home .home-line { background: white; color: var(--ink); padding: 90px 0 70px; }
body.home .home-line .section-en { font-size: clamp(32px, 4vw, 58px); }
body.home .line-grid { grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: stretch; }
body.home .doctor-mosaic { gap: 7px; min-height: 180px; }
body.home .doctor-mosaic i { background: #bfbdbd; border-radius: 5px; }
body.home .line-promo { padding: 0; border: 0; gap: 20px; }
body.home .line-promo p { font-size: 16px; font-weight: 500; line-height: 1.9; }
body.home .line-pill { font-size: 12px; padding: 13px 16px; margin-top: 18px; margin-bottom: 0; border-radius: 4px; white-space: normal; }
body.home .phone-placeholder { border-color: #aaa; border-radius: 12px 12px 0 0; min-width: 64px; background: #bfbdbd; box-shadow: inset 0 0 0 6px #f0f0f0; }
body.home .line-note { text-align: left; font-size: 12px; color: #555; margin-top: 28px; }
body.home .footer-topics { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; padding-top: 34px; padding-bottom: 44px; border-top: 1px solid #d1d1d1; }
body.home .footer-topics > div + div { margin-top: 0; }
body.home .footer-topics h3 { font-size: 14px; margin-bottom: 12px; }
body.home .footer-topics p { font-size: 12px; line-height: 1.85; color: #777; overflow-wrap: anywhere; }
body.home .network-band { background: #f2f2f2; padding: 34px 0; }
body.home .network-grid { gap: 12px; }
body.home .network-link { flex-basis: calc((100% - 72px)/7); min-height: 70px; padding: 10px 5px; border: 0; background: white; border-radius: 4px; font-size: 13px; }
body.home .site-footer { background: #e9e9e9; color: var(--ink); padding: 46px var(--edge) 24px; }
body.home .site-footer nav { gap: 8px 0; font-size: 13px; }
body.home .site-footer nav a { border-color: #aaa; }
body.home .footer-utilities { font-size: 12px; margin-top: 25px; gap: 12px 24px; }
body.home .site-footer > p { font-size: 12px; margin-top: 45px; color: #555; }
body.home #notice-dialog { border: 0; border-radius: 12px; }

@media (min-width: 1700px) {
  body.home .hero-track { grid-template-rows: repeat(2, 310px); }
}
@media (max-width: 1100px) {
  body.home .header-utilities { gap: 16px; }
  body.home .header-utilities > button:first-child { display: none; }
  body.home .header-top { gap: 18px; }
  body.home .brand { flex-basis: 170px; }
  body.home .brand img { width: 170px; }
  body.home .hero-track { grid-template-columns: minmax(0, 2.3fr) minmax(0, 1fr); grid-template-rows: repeat(2, 218px); }
  body.home .hero-statement { font-size: 3.8vw; }
  body.home .category-tabs { gap: 10px; }
  body.home .category-label { font-size: 14px; }
  body.home .home-products .content-card { padding: 24px; }
  body.home .home-articles .cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 24px; }
  body.home .network-link { flex-basis: calc((100% - 36px)/4); }
  body.home .line-grid { grid-template-columns: 1fr 1.4fr; gap: 24px; }
  body.home .footer-topics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  body.home .container { width: calc(100% - 40px); }
  body.home .header-top { min-height: 76px; padding: 12px 20px; gap: 12px; }
  body.home .brand { flex-basis: 150px; }
  body.home .brand img { width: 150px; }
  body.home .header-utilities { gap: 0; }
  body.home .header-utilities > button, body.home .header-utilities > a:not(.header-search) { display: none; }
  body.home .header-search { margin: 0 5px 0 0; }
  body.home .mobile-menu { padding: 8px; font-size: 12px; gap: 5px; }
  body.home .site-nav.is-open { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
  body.home .site-nav a { padding: 13px 0; font-size: 13px; }
  body.home .brand-copy { padding: 14px 16px; gap: 8px; margin-bottom: 14px; }
  body.home .audiences { gap: 5px; }
  body.home .audiences span { font-size: 12px; padding: 0 5px; }
  body.home .brand-copy p { font-size: 12px; line-height: 1.6; }
  body.home .hero-composition { padding-bottom: 0; }
  body.home .hero-track { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: 350px auto; gap: 14px; }
  body.home .hero-slide { border-radius: 10px; }
  body.home .hero-slide.is-main { grid-column: 1 / 3; grid-row: 1; margin-bottom: 30px; }
  body.home .hero-slide.is-upper { grid-column: 1; grid-row: 2; }
  body.home .hero-slide.is-lower { grid-column: 2; grid-row: 2; }
  body.home .hero-slide:not(.is-main) .hero-image { flex: auto; aspect-ratio: 16/9; }
  body.home .hero-slide h2 { padding: 12px; font-size: 13px; }
  body.home .hero-slide.is-main h2 { top: 18px; right: 18px; left: 18px; max-width: 310px; padding: 10px 13px; font-size: 14px; }
  body.home .hero-statement { top: 257px; bottom: auto; font-size: clamp(22px, 4.9vw, 36px); line-height: 1.5; letter-spacing: -.055em; }
  body.home .hero-statement span { padding-right: 8px; }
  body.home .hero-toolbar { flex-wrap: wrap; padding: 18px 0; gap: 8px; }
  body.home .hero-kicker { font-size: 12px; }
  body.home .hero-kicker span { margin-left: 10px; padding-left: 10px; }
  body.home .hero-controls { gap: 10px; }
  body.home .hero-count { font-size: 12px; gap: 8px; }
  body.home .carousel-dots { display: none; }
  body.home .arrow { width: 38px; height: 38px; }
  body.home .home-finder { margin-top: 46px; padding: 52px 0; border-radius: 22px 22px 0 0; }
  body.home .section-title { margin-bottom: 32px; }
  body.home .section-en { font-size: 42px; margin-top: 12px; }
  body.home .section-jp { font-size: 13px; }
  body.home .category-tabs { display: flex; overflow-x: auto; gap: 14px; padding: 6px 6px 12px; margin: -6px; scrollbar-width: thin; }
  body.home .category-tabs button { flex: 0 0 146px; }
  body.home .category-label { min-height: 68px; }
  body.home .category-panel { margin-top: 22px; padding: 20px; border-radius: 9px; }
  body.home .category-panel-title { align-items: flex-start; flex-direction: column; gap: 8px; padding-bottom: 15px; }
  body.home .category-panel-title h3 { font-size: 18px; }
  body.home .genre-grid { grid-template-columns: 1fr; margin-top: 0; }
  body.home .genre-grid a, body.home .genre-grid a:nth-last-child(-n+4) { border-bottom: 1px solid #dedede; padding: 13px 0; }
  body.home .genre-grid a:last-child { border-bottom: 0; }
  body.home .facility-links { grid-template-columns: 1fr; gap: 10px; margin-top: 24px; }
  body.home .home-finder .keyword-form { margin-top: 24px; gap: 8px; }
  body.home .keyword-form input { padding: 13px 12px; font-size: 16px; }
  body.home .keyword-form .button { min-width: 64px; padding: 10px; }
  body.home .home-products { padding-top: 56px; padding-bottom: 56px; }
  body.home .home-products .cards-grid { grid-template-columns: 1fr; gap: 22px; }
  body.home .home-products .content-card { padding: 22px; }
  body.home .content-card h3 { font-size: 19px; }
  body.home .card-description { font-size: 16px; }
  body.home .home-articles { padding: 54px 0; border-radius: 22px 22px 0 0; }
  body.home .home-articles .cards-grid { grid-template-columns: 1fr; gap: 32px; }
  body.home .home-articles .card-image { aspect-ratio: 16/9; }
  body.home .home-articles .content-card h3 { font-size: 18px; }
  body.home .card-carousel > .arrow { top: -76px; width: 34px; height: 34px; }
  body.home .card-carousel > .previous { right: 44px; }
  body.home .more-link { margin-top: 28px; }
  body.home .home-line { padding: 54px 0 42px; }
  body.home .home-line .section-en { font-size: clamp(25px, 6.8vw, 45px); }
  body.home .line-grid { grid-template-columns: 1fr; gap: 28px; }
  body.home .doctor-mosaic { min-height: 170px; }
  body.home .line-promo p { font-size: 14px; }
  body.home .line-promo p br { display: none; }
  body.home .line-pill { font-size: 12px; padding: 12px; }
  body.home .footer-topics { grid-template-columns: 1fr 1fr; gap: 24px; }
  body.home .footer-topics h3 { font-size: 13px; }
  body.home .network-link { flex-basis: calc((100% - 12px)/2); font-size: 13px; }
  body.home .site-footer { padding-top: 34px; }
  body.home .site-footer nav { justify-content: flex-start; gap: 14px 0; }
  body.home .site-footer nav a { padding-left: 0; padding-right: 12px; margin-right: 12px; }
  body.home .footer-utilities { justify-content: flex-start; text-align: left; }
  body.home .site-footer > p { font-size: 12px; text-align: left; }
}
@media (min-width: 761px) and (max-width: 950px) {
  body.home .header-utilities .utility-box { display: none; }
}
@media (max-width: 360px) {
  body.home .brand { flex-basis: 126px; }
  body.home .brand img { width: 126px; }
  body.home .header-top { gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  body.home *, body.home *:before, body.home *:after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
