/* Tokens and document defaults */
:root {
  --ink: #1e4534;
  --accent: #e8c86a;
  --surface: #e8ecdf;
  --surface-2: #d5dfcb;
  --accent-deep: #a77217;
  --line: #c5cfbd;
  --sub: #56685d;
  --bg: #f4f3ec;
  --white: #ffffff;
}
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 2.0;
  letter-spacing: .05em;
  word-break: break-all;
  overflow-wrap: break-word;
  line-break: strict;
}
/* Explicit wrapper defaults protect the page from Tailwind preflight. */
.r2 { color: var(--ink); font: inherit; }
.r2 *, .r2 *::before, .r2 *::after { box-sizing: border-box; }
.r2 h1, .r2 h2, .r2 h3, .r2 p, .r2 ul, .r2 ol, .r2 dl, .r2 dd { margin: 0; }
.r2 p { font-size: 16px; font-weight: 400; line-height: 2.0; letter-spacing: .05em; }
.r2 ul, .r2 ol { padding: 0; list-style: none; }
.r2 a { color: var(--ink); text-decoration: none; }
.r2 button { color: var(--ink); font: inherit; letter-spacing: inherit; cursor: pointer; border: 0; }
.r2 img { display: block; max-width: 100%; height: auto; }
.r2 [hidden] { display: none; }
.r2 .en, .r2 .heading_en, .r2 .panel_en, .r2 time,
.r2 .service_card_en, .r2 .value_no, .r2 .step_no,
.r2 .faq_q, .r2 .faq_toggle, .r2 .copyright { color: var(--sub); font-family: "Montserrat", sans-serif; }
.r2 .wrap { width: min(1000px, calc(100% - 80px)); margin-inline: auto; }
.r2 .text-link, .r2 .flow_note a, .r2 .company a, .r2 .contact_email a,
.r2 .group_strip a { text-decoration: underline; text-underline-offset: 4px; }
.r2 .skip { position: fixed; top: -100px; left: 20px; z-index: 60; padding: 10px 20px; background: var(--white); }
.r2 .skip:focus { top: 12px; }

/* Shared headings and buttons */
.r2 .section_head { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 50px; align-items: start; }
.r2 .heading_pair { display: flex; gap: 14px; align-items: flex-start; margin: 0; }
.r2 .heading_en, .r2 .heading_jp { writing-mode: vertical-rl; text-orientation: mixed; line-height: 1; white-space: nowrap; }
.r2 .heading_en { color: var(--accent); font-size: 32px; font-weight: 600; letter-spacing: .05em; }
.r2 .heading_jp { font-size: 16px; font-weight: 400; letter-spacing: .05em; }
.r2 .sec_title { font-size: 34px; font-weight: 700; line-height: 1.5; letter-spacing: .05em; margin-bottom: 24px; }
.r2 .sec_intro { font-size: 16px; font-weight: 400; line-height: 2.0; letter-spacing: .05em; }
.r2 .btn { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 52px; padding: 0 30px; background: var(--white); color: var(--ink); border-radius: 999px; font-size: 16px; font-weight: 500; line-height: 1.5; letter-spacing: .04em; text-align: center; }
.r2 .btn_raised { box-shadow: 0 6px 0 var(--ink); transition: transform .2s, box-shadow .2s; }
.r2 .btn_raised:hover { transform: translateY(3px); box-shadow: 0 3px 0 var(--ink); }
.r2 .btn_outline { border: 1px solid var(--line); padding: 0 7px 0 30px; font-weight: 400; }
/* Forest circular arrows sit inside white pill buttons. */
.r2 .btn_arrow { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 36px; width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 20px; line-height: 1; }
.r2 .panel_card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; padding: 64px 36px 44px; border-radius: 40px; }
.r2 .panel_en { font-size: 42px; font-weight: 300; line-height: 1.1; letter-spacing: .05em; }
.r2 .panel_jp { margin-top: 18px; font-size: 16px; font-weight: 500; line-height: 1.4; letter-spacing: .12em; }

/* 1. Fixed header and full-screen drawer */
.r2 .site-header { position: fixed; inset: 0 0 auto; height: 80px; z-index: 40; background: var(--white); }
.r2 .site-header.is-scrolled { box-shadow: 0 2px 8px rgba(30,69,52,.10); }
.r2 .header_inner { height: 80px; padding-inline: 30px; display: flex; align-items: center; gap: 28px; }
.r2 .brand { display: inline-flex; align-items: center; gap: 12px; }
.r2 .brand img { flex: 0 0 37px; width: 37px; height: 37px; }
.r2 .brand_name { font-size: 16px; font-weight: 700; line-height: 1.5; letter-spacing: .06em; }
.r2 .global_nav { display: flex; align-items: center; gap: 24px; margin-left: auto; white-space: nowrap; }
.r2 .global_nav a, .r2 .drawer_inner > a { font-size: 16px; font-weight: 700; line-height: 1.56; letter-spacing: .06em; }
.r2 .global_nav a { padding-block: 10px; }
.r2 .header_actions { display: flex; align-items: center; gap: 16px; margin-left: auto; }
/* Transparent 2px borders extend the 40px face to a 44px hit area. */
.r2 .consult_btn { height: 44px; padding: 0 20px; border-block: 2px solid transparent; background: var(--surface); background-clip: padding-box; border-radius: 999px; font-size: 14px; font-weight: 500; line-height: 1; letter-spacing: .05em; white-space: nowrap; }
.r2 .nav_toggle { display: none; align-items: center; justify-content: center; gap: 6px; flex: 0 0 44px; width: 44px; height: 44px; background: transparent; }
.r2 .nav_toggle_dot { width: 8px; height: 8px; background: var(--accent-deep); }
.r2 .nav_toggle[aria-expanded="true"] .nav_toggle_dot { transform: rotate(45deg); }
.r2 .drawer { position: fixed; inset: 0; z-index: 30; background: var(--surface); padding-top: 80px; overflow-y: auto; overscroll-behavior: contain; }
.r2 .drawer_inner { display: flex; flex-direction: column; gap: 12px; padding-block: 28px 40px; }
.r2 .drawer_inner > a { display: block; padding-block: 12px; border-bottom: 1px solid var(--line); }
.r2 .drawer_children { display: flex; flex-direction: column; padding-left: 20px; }
.r2 .drawer_children a { font-size: 14px; font-weight: 300; line-height: 2.0; padding-block: 8px; min-height: 44px; }

/* 2. Hero: hero-pc.webp / hero-sp.webp. */
.r2 .hero { position: relative; isolation: isolate; display: flex; align-items: flex-end; margin-top: 80px; min-height: max(640px, calc(100vh - 80px)); }
.r2 .hero_bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url('/assets/hero-pc.webp'), linear-gradient(160deg, #2b523f 0%, #1e4534 70%);
  background-size: cover;
  background-position: center right;
}
/* The scrim stays inside the background stacking context, below hero content. */
.r2 .hero_bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(30,69,52,.15), rgba(30,69,52,.35));
  pointer-events: none;
}
.r2 .hero_copy { position: absolute; top: 12%; right: 8%; display: flex; flex-direction: column; gap: 24px; writing-mode: vertical-rl; text-orientation: mixed; font-size: 56px; font-weight: 500; line-height: 1; letter-spacing: .09em; }
.r2 .hero_line { display: block; white-space: nowrap; color: #fff; }
.r2 .hero_panel { position: relative; width: min(600px, 50%); margin-left: 0; padding: 40px 40px 32px; background: var(--surface); color: var(--ink); border-radius: 0 120px 0 0; }
.r2 .hero_label { font-size: 14px; font-weight: 500; letter-spacing: .1em; margin-bottom: 16px; }
.r2 .hero_lead { max-width: 520px; font-size: 17px; font-weight: 500; line-height: 2.0; letter-spacing: .08em; }
.r2 .actions { display: flex; flex-wrap: wrap; gap: 20px 12px; margin-top: 24px; }
.r2 .hero .hero_note { color: var(--sub); margin-top: 24px; font-size: 13px; font-weight: 400; }

/* 3–4. Group strip and news */
.r2 .group_strip { display: flex; align-items: baseline; gap: 24px; padding-block: 18px; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 2.0; }
.r2 .group_strip .en { color: var(--accent-deep); flex-shrink: 0; font-size: 13px; font-weight: 700; letter-spacing: .14em; }
.r2 .news { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 50px; padding-block: 70px; }
.r2 .news .heading_pair { height: 160px; }
.r2 .news_list li { display: flex; align-items: baseline; flex-wrap: wrap; gap: 14px 20px; padding-block: 24px; border-bottom: 1px solid var(--line); }
.r2 .news time { color: var(--sub); font-size: 13px; font-weight: 500; line-height: 1; letter-spacing: .08em; }
.r2 .news_chip { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; background: var(--white); border: 1px solid var(--line); border-radius: 30px; font-size: 12px; }
.r2 .news_list a { flex-basis: 100%; }

/* 5. Services: matching card and description tracks */
.r2 .services_sec { padding-top: 90px; padding-bottom: 90px; }
.r2 .service_grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; width: 100%; padding: 0 12px; margin-top: 50px; }
.r2 .service_card { position: relative; height: 420px; overflow: hidden; }
.r2 .service_card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30,69,52,.15), rgba(30,69,52,.55)); }
.r2 .service_card1 { background: var(--ink); border-radius: 0 40px 0 0; }
.r2 .service_card2 { background: var(--accent); border-radius: 0 0 0 40px; }
.r2 .service_card3 { background: var(--sub); border-radius: 40px 0 40px 0; }
.r2 .service_card4 { background: var(--surface-2); border-radius: 0 0 40px 0; }
.r2 .service_card_head { position: absolute; top: 24px; right: 24px; display: flex; flex-direction: row-reverse; align-items: flex-start; gap: 14px; }
.r2 .service_card_title { color: #fff; display: flex; flex-direction: column; gap: 8px; writing-mode: vertical-rl; text-orientation: mixed; font-size: 26px; font-weight: 500; line-height: 1.3; letter-spacing: .06em; white-space: nowrap; }
.r2 .service_card_en { color: #fff; writing-mode: vertical-rl; text-orientation: mixed; font-size: 15px; font-weight: 600; line-height: 1; letter-spacing: .08em; white-space: nowrap; }
.r2 .service_card_tag { position: absolute; left: 24px; bottom: 24px; padding: 1px 14px; background: var(--white); border-radius: 30px; font-size: 12px; }
.r2 .service_desc { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding: 0 12px; margin-top: 25px; }
.r2 .service_detail { min-width: 0; padding: 0 12px; display: flex; flex-direction: column; align-items: flex-start; }
.r2 .service_problem { font-size: 16px; font-weight: 700; letter-spacing: .04em; margin-bottom: 16px; }
.r2 .service_text { font-size: 16px; font-weight: 400; line-height: 2.0; }
.r2 .service_scope { color: var(--sub); font-size: 13px; margin-block: 20px; }
.r2 .service_link { display: inline-flex; align-items: center; gap: 16px; min-height: 44px; font-size: 14px; font-weight: 700; margin-top: auto; }

/* 6. Approach */
.r2 .approach { background: var(--surface); padding-block: 90px; }
.r2 .approach_grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 60px; }
.r2 .statement { font-size: 38px; font-weight: 700; line-height: 1.5; letter-spacing: .14em; margin-block: 34px 24px; }
.r2 .value { background: var(--white); padding: 34px; margin-bottom: 34px; }
.r2 .value:last-child { margin-bottom: 0; }
.r2 .value1 { border-radius: 24px 0 0 0; box-shadow: 10px 10px 0 0 var(--accent); }
.r2 .value2 { border-radius: 0 24px 0 0; }
.r2 .value3 { border-radius: 24px 0 0 0; }
.r2 .value_no, .r2 .step_no { color: var(--accent-deep); font-size: 13px; font-weight: 700; line-height: 1; letter-spacing: .14em; }
.r2 .value h3 { font-size: 24px; font-weight: 700; line-height: 1.4; letter-spacing: .04em; margin-block: 18px; }

/* 7. Process */
.r2 .flow { padding-block: 90px; }
.r2 .steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 25px; margin-top: 50px; }
.r2 .step { border-top: 1px solid var(--line); padding-top: 24px; }
.r2 .step h3 { font-size: 24px; font-weight: 700; line-height: 1; letter-spacing: .04em; margin: 18px 0 14px; }
.r2 .flow_note { color: var(--sub); font-size: 13px; margin-top: 34px; }

/* 8. Product */
.r2 .product_card { background: var(--surface-2); }
.r2 .product h3 { font-size: 24px; font-weight: 700; line-height: 1.4; margin-bottom: 18px; }
.r2 .product .btn { margin-top: 24px; }

/* 9. FAQ */
.r2 .faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: 60px; padding-block: 90px; }
.r2 .faq .sec_intro, .r2 .company .sec_intro { margin-top: 34px; }
.r2 summary { display: grid; grid-template-columns: 18px minmax(0, 1fr) 16px; gap: 14px; padding: 24px 0; border-bottom: 1px solid var(--line); font-size: 16px; font-weight: 700; line-height: 2.0; cursor: pointer; list-style: none; }
.r2 summary::-webkit-details-marker { display: none; }
.r2 .faq_q { color: var(--accent-deep); font-size: 16px; font-weight: 700; }
.r2 .faq_toggle::before { content: "+"; }
.r2 details[open] .faq_toggle::before { content: "−"; }
.r2 details p { padding: 0 32px 24px; }
.r2 details[open] summary { margin-bottom: 24px; }

/* 10. Company */
.r2 .company { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: 60px; padding-block: 90px; border-top: 1px solid var(--line); }
.r2 .company-row { display: grid; grid-template-columns: 140px minmax(0, 1fr); padding: 16px 0; border-bottom: 1px solid var(--line); }
.r2 .company dt { color: var(--sub); }
.r2 .company dt, .r2 .company dd { font-size: 16px; font-weight: 400; line-height: 2.0; }

/* 11. Contact */
.r2 .contact { padding-bottom: 90px; }
.r2 .contact_card { background: var(--surface); }
.r2 .contact h2 { font-size: 34px; font-weight: 700; line-height: 1.5; letter-spacing: .05em; margin-block: 30px 24px; }
.r2 .contact_action { align-self: center; text-align: center; }
.r2 .contact .btn { min-height: 60px; padding: 0 40px; font-size: 16px; font-weight: 700; }
.r2 .contact_email { color: var(--sub); margin-top: 28px; font-size: 13px; }

/* 12. Badge and footer */
.r2 .partner_badge { padding-bottom: 34px; }
.r2 .partner_badge img { width: 160px; height: auto; }
.r2 .site-footer { border-top: 1px solid var(--line); padding-block: 40px; }
.r2 .foot_head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.r2 .brand_name small { display: block; margin-top: 8px; font-size: 11px; font-weight: 400; letter-spacing: .1em; }
.r2 .foot_links { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; font-weight: 400; }
.r2 .foot_links a { padding-block: 8px; }
.r2 .copyright { margin-top: 30px; font-size: 11px; font-weight: 400; line-height: 1.4; letter-spacing: .08em; }

/* Shared modal is injected outside .r2: keep its Tailwind layout and forest text. */
#contact-modal, #contact-modal * { color: var(--ink); }
#contact-modal #contact-submit { background: var(--surface); }
#contact-modal [data-contact-close].absolute.inset-0 { background: rgba(30,69,52,.6); }
#contact-modal input, #contact-modal textarea { accent-color: var(--ink); }

/* Responsive: small desktop navigation */
@media (max-width: 1100px) {
  .r2 .global_nav { display: none; }
  .r2 .nav_toggle { display: flex; }
}

/* Responsive: two service tracks, each card followed by its own description. */
@media (max-width: 1000px) {
  .r2 .service_layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px 12px; padding: 0 12px; margin-top: 50px; }
  .r2 .service_grid, .r2 .service_desc { display: contents; }
  .r2 .service_card1 { grid-area: 1 / 1; }
  .r2 .service_card2 { grid-area: 1 / 2; }
  .r2 .service_detail1 { grid-area: 2 / 1; }
  .r2 .service_detail2 { grid-area: 2 / 2; }
  .r2 .service_card3 { grid-area: 3 / 1; }
  .r2 .service_card4 { grid-area: 3 / 2; }
  .r2 .service_detail3 { grid-area: 4 / 1; }
  .r2 .service_detail4 { grid-area: 4 / 2; }
  .r2 .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .r2 .hero { min-height: max(820px, calc(100vh - 80px)); }
}

/* Responsive: horizontal mobile typography and single-column sections */
@media (max-width: 767px) {
  .r2 .wrap { width: calc(100% - 40px); }
  .r2 .header_inner { padding-inline: 20px; gap: 10px; }
  .r2 .header_actions { gap: 6px; }
  .r2 .brand { gap: 8px; }
  .r2 .header_inner .brand { min-width: 0; }
  .r2 .header_inner .brand_name { font-size: 12px; }
  .r2 .consult_btn { padding-inline: 12px; }
  .r2 .hero { display: block; min-height: 560px; padding: 40px 0 0; }
  .r2 .hero_bg {
    background-image: url('/assets/hero-sp.webp'), linear-gradient(160deg, #2b523f 0%, #1e4534 70%);
    background-position: center top;
  }
  .r2 .hero_copy { position: relative; top: auto; right: auto; width: calc(100% - 40px); margin: 0 auto 40px; align-items: flex-start; gap: 0; writing-mode: horizontal-tb; font-size: 34px; line-height: 1.4; }
  .r2 .hero_panel { width: 100%; margin: 0; padding: 32px 20px; border-radius: 80px 0 0 0; }
  .r2 .actions { flex-direction: column; align-items: stretch; }
  .r2 .group_strip { flex-direction: column; gap: 8px; }
  .r2 .section_head, .r2 .news, .r2 .approach_grid, .r2 .steps,
  .r2 .panel_card, .r2 .faq, .r2 .company { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .r2 .heading_pair { align-items: baseline; }
  .r2 .heading_en, .r2 .heading_jp { writing-mode: horizontal-tb; }
  .r2 .heading_en { font-size: 28px; }
  .r2 .heading_jp { font-size: 14px; }
  .r2 .news .heading_pair { height: auto; }
  .r2 .sec_title { font-size: 28px; }
  .r2 .service_layout { grid-template-columns: minmax(0, 1fr); }
  .r2 .service_card, .r2 .service_detail { grid-area: auto; }
  .r2 .service_card1 { order: 1; }
  .r2 .service_detail1 { order: 2; }
  .r2 .service_card2 { order: 3; }
  .r2 .service_detail2 { order: 4; }
  .r2 .service_card3 { order: 5; }
  .r2 .service_detail3 { order: 6; }
  .r2 .service_card4 { order: 7; }
  .r2 .service_detail4 { order: 8; }
  .r2 .service_card { height: 200px; }
  .r2 .service_card_head { top: auto; right: 16px; left: 16px; bottom: 50px; flex-direction: column; gap: 10px; }
  .r2 .service_card_title { writing-mode: horizontal-tb; font-size: 24px; white-space: normal; gap: 0; }
  .r2 .service_card_en { writing-mode: horizontal-tb; font-size: 13px; }
  .r2 .service_card_tag { bottom: 14px; }
  .r2 .service_detail { padding-bottom: 25px; }
  .r2 .statement { font-size: 26px; }
  .r2 .panel_card { padding: 50px 24px 30px; }
  .r2 .panel_en { font-size: 32px; }
  .r2 .company-row { grid-template-columns: 90px minmax(0, 1fr); }
  .r2 .contact h2 { font-size: 28px; }
  .r2 .contact .btn { width: 100%; }
  .r2 .product .btn { padding-left: 18px; gap: 8px; font-size: 14px; }
}
@media (max-width: 480px) {
  .r2 .hero_copy { font-size: 30px; }
  .r2 .header_inner { padding-inline: 10px; }
  .r2 .header_inner .brand_name { max-width: 145px; }
  .r2 .header_actions { gap: 0; }
}

/* Focus stays visible even on raised buttons; motion respects user settings. */
:focus-visible { box-shadow: 0 0 0 2px var(--accent-deep); outline: none; }
.r2 :focus-visible, #contact-modal :focus-visible { box-shadow: 0 0 0 2px var(--accent-deep); outline: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .r2 .btn_raised { transition: none; }
  .r2 .btn_raised:hover { transform: none; }
}

/* Sub pages */
/* Shared header clearance and breadcrumb */
.r2 .sub_main { padding-top: 80px; }
.r2 .breadcrumb { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 12px; padding: 24px 0; font-size: 13px; line-height: 2.0; }
.r2 .breadcrumb a { text-decoration: underline; text-underline-offset: 4px; }

/* Service hero: a darker scrim keeps white text legible over the photo. */
.r2 .sub_hero {
  min-height: 520px;
  padding: 70px 0;
  background-color: var(--ink);
  background-image: linear-gradient(180deg, rgba(30,69,52,.6), rgba(30,69,52,.75)), url('/assets/hero-pc.webp');
  background-size: cover;
  background-position: center;
}
.r2 .sub_hero_inner { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 60px; align-items: center; }
.r2 .sub_eyebrow { color: var(--accent); font-family: "Montserrat", sans-serif; font-size: 13px; font-weight: 700; line-height: 1.6; letter-spacing: .14em; margin-bottom: 20px; }
.r2 .sub_hero h1 { color: var(--white); font-size: 34px; font-weight: 700; line-height: 1.5; letter-spacing: .05em; margin-bottom: 24px; }
.r2 .sub_lead { color: var(--white); font-size: 24px; font-weight: 500; line-height: 1.6; letter-spacing: .08em; margin-bottom: 24px; }
.r2 .sub_intro { color: var(--white); font-size: 16px; line-height: 2.0; }
.r2 .sub_hero .hero_note { color: var(--white); font-size: 13px; margin-top: 24px; }
.r2 .hero_aside { padding: 34px; background: var(--surface); border-radius: 0 50px 0 50px; box-shadow: 10px 10px 0 0 var(--accent); }
.r2 .hero_aside p { color: var(--sub); font-size: 13px; margin-bottom: 20px; }
.r2 .hero_aside li { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 10px; padding: 16px 0; border-top: 1px solid var(--line); font-size: 16px; line-height: 2.0; }
.r2 .hero_aside li::before { content: "✓"; color: var(--accent-deep); }

/* In-page navigation: chips can grow to fit long labels on small screens. */
.r2 .sub_toc { display: flex; flex-wrap: wrap; gap: 10px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.r2 .sub_toc a { display: inline-flex; align-items: center; min-height: 36px; max-width: 100%; padding: 4px 16px; background: var(--white); border: 1px solid var(--line); border-radius: 30px; font-size: 14px; line-height: 1.6; }

/* Service content and process cards */
.r2 .sub_section { padding: 80px 0; border-bottom: 1px solid var(--line); }
.r2 .sub_section .sec_intro + .sec_intro { margin-top: 16px; }
.r2 .content_grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px; margin-top: 40px; }
.r2 .content_grid.triple { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.r2 .content_card { padding: 30px; background: var(--white); border: 1px solid var(--line); }
.r2 .content_card:nth-child(4n+1) { border-radius: 0 24px 0 0; }
.r2 .content_card:nth-child(4n+2) { border-radius: 0 0 0 24px; }
.r2 .content_card:nth-child(4n+3) { border-radius: 24px 0 24px 0; }
.r2 .content_card:nth-child(4n+4) { border-radius: 0 0 24px 0; }
.r2 .content_card h3 { font-size: 20px; font-weight: 700; line-height: 1.6; letter-spacing: .04em; margin-bottom: 18px; }
.r2 .content_card h3:last-child { margin-bottom: 0; }
.r2 .content_card p { font-size: 16px; line-height: 2.0; }
.r2 .content_card .card_label { color: var(--accent-deep); font-family: "Montserrat", sans-serif; font-size: 13px; font-weight: 700; line-height: 1.4; letter-spacing: .14em; margin-bottom: 18px; }
.r2 .phase_tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.r2 .phase_tags span { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; background: var(--white); border: 1px solid var(--line); border-radius: 30px; font-size: 12px; line-height: 1; }

/* Feature bands */
.r2 .feature_section { background: var(--surface); padding: 80px 0; }
.r2 .feature_inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); gap: 60px; }
.r2 .feature_inner h2 { margin-top: 34px; font-size: 28px; font-weight: 700; line-height: 1.6; letter-spacing: .1em; }
.r2 .feature_copy { align-self: start; background: var(--white); padding: 40px; border-radius: 0 0 50px 0; box-shadow: 10px 10px 0 0 var(--accent); }
.r2 .feature_copy p, .r2 .feature_copy li { font-size: 16px; line-height: 2.25; }
.r2 .feature_copy p + p { margin-top: 20px; }
.r2 .feature_copy ul { list-style: disc; padding-left: 20px; margin-block: 20px; }
.r2 .feature_copy li + li { margin-top: 8px; }

/* FAQ uses the TOP .faq, .faq_q and .faq_toggle components. */
.r2 .sub_faq { border-bottom: 1px solid var(--line); }

/* Related services and publication metadata */
.r2 .related_grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px; margin-top: 40px; }
.r2 .related_card { display: flex; flex-direction: column; align-items: flex-start; padding: 26px; border: 1px solid var(--line); background: var(--white); }
.r2 .related_card:nth-child(3n+1) { border-radius: 0 40px 0 0; }
.r2 .related_card:nth-child(3n+2) { border-radius: 0 0 0 40px; }
.r2 .related_card:nth-child(3n+3) { border-radius: 40px 0 40px 0; }
.r2 .related_card h3 { font-size: 16px; font-weight: 700; line-height: 1.8; margin-bottom: 18px; }
.r2 .related_card p { color: var(--sub); font-size: 14px; line-height: 2.0; margin-bottom: 24px; }

/* Privacy policy */
.r2 .legal_hero { background: var(--surface); padding: 70px 0; }
.r2 .legal_hero h1 { font-size: 34px; font-weight: 700; line-height: 1.5; letter-spacing: .05em; }
.r2 .legal_layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 70px; padding: 60px 0; }
.r2 .legal_toc { align-self: start; position: sticky; top: 100px; border-top: 1px solid var(--ink); }
.r2 .legal_toc a { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13px; line-height: 1.8; }
.r2 .legal_copy, .r2 .legal_copy p, .r2 .legal_copy li { font-size: 16px; line-height: 2.25; }
.r2 .legal_copy > p { margin-bottom: 38px; }
.r2 .legal_copy section { border-bottom: 1px solid var(--line); padding-bottom: 30px; margin-bottom: 36px; }
.r2 .legal_copy h2 { font-size: 24px; font-weight: 700; line-height: 1.4; letter-spacing: .04em; margin-bottom: 18px; }
.r2 .legal_copy section p { margin-bottom: 18px; }
.r2 .legal_copy ul { list-style: disc; padding-left: 20px; margin-block: 18px; }
.r2 .legal_copy section > div { padding: 24px; border: 1px solid var(--line); background: var(--white); border-radius: 0 30px 0 0; }
.r2 .legal_copy a { text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; }

/* Subpage responsive layouts */
@media (max-width: 1000px) {
  .r2 .content_grid.triple { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .r2 .related_grid { grid-template-columns: minmax(0, 1fr); }
  .r2 .legal_layout { grid-template-columns: 200px minmax(0, 1fr); }
}
@media (max-width: 767px) {
  .r2 .sub_hero { background-image: linear-gradient(180deg, rgba(30,69,52,.6), rgba(30,69,52,.75)), url('/assets/hero-sp.webp'); }
  .r2 .sub_hero_inner, .r2 .feature_inner, .r2 .content_grid,
  .r2 .content_grid.triple, .r2 .legal_layout { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .r2 .sub_hero h1 { font-size: 26px; }
  .r2 .sub_lead { font-size: 20px; }
  .r2 .hero_aside, .r2 .feature_copy { box-shadow: 6px 6px 0 0 var(--accent); }
  .r2 .feature_copy { padding: 30px; }
  .r2 .legal_toc { position: static; }
  .r2 .legal_toc ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
  .r2 .legal_toc a { height: 100%; }
  .r2 .legal_hero h1 { font-size: 26px; }
}
