button, [role="button"], select, summary, input:not([type="checkbox"], [type="radio"]) { min-height: 2rem; }
:root {
        --bg: #f6f8f8;
        --surface: #ffffff;
        --ink: #1d2a2b;
        --ink-soft: #45575a;
        --ink-faint: #718385;
        --line: #dce4e4;
        --accent: #13989d;
        --accent-strong: #0b6e73;
        --accent-soft: #e6f3f3;
        --teal-deep: #083a3d;
        --teal-deeper: #062c2f;
        --header-bg: rgba(255, 255, 255, 0.94);
        --card-shadow: 0 1px 2px rgba(8, 58, 61, 0.05), 0 10px 28px rgba(8, 58, 61, 0.06);
        --footer-bg: #07272a;
        --footer-ink: #e9f1f1;
        --footer-soft: #9db8ba;
      }
      @media (prefers-color-scheme: dark) {
        :root {
          --bg: #101617;
          --surface: #1a2224;
          --ink: #e9efef;
          --ink-soft: #b6c3c4;
          --ink-faint: #86979a;
          --line: #2b383a;
          --accent: #35bcc2;
          --accent-strong: #6fd3d8;
          --accent-soft: #163033;
          --teal-deep: #0a3d40;
          --teal-deeper: #062c2f;
          --header-bg: rgba(16, 22, 23, 0.94);
          --card-shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 10px 28px rgba(0, 0, 0, 0.28);
          --footer-bg: #08191b;
          --footer-ink: #e9f1f1;
          --footer-soft: #8ba5a7;
        }
      }
      * { box-sizing: border-box; }
      html { scroll-behavior: smooth; }
      body {
        margin: 0;
        background: var(--bg);
        color: var(--ink);
        font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", YuGothic, "Noto Sans JP", sans-serif;
        font-size: 16px;
        line-height: 1.9;
        -webkit-font-smoothing: antialiased;
      }
      .serif {
        font-family: "Hiragino Mincho ProN", "Hiragino Mincho Pro", "Yu Mincho", YuMincho, "Noto Serif JP", serif;
      }
      a { color: var(--accent-strong); }
      img { max-width: 100%; }

      /* ---------- header ---------- */
      header.site-header {
        position: sticky;
        top: 0;
        z-index: 20;
        background: var(--header-bg);
        backdrop-filter: blur(8px);
        border-bottom: 1px solid var(--line);
      }
      .header-inner {
        max-width: 1080px;
        margin: 0 auto;
        padding: 0 24px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        min-height: 62px;
      }
      .brand {
        font-weight: 700;
        font-size: 17px;
        letter-spacing: 0.04em;
        color: var(--ink);
        text-decoration: none;
        white-space: nowrap;
        padding: 8px 0;
      }
      .brand::before {
        content: "";
        display: inline-block;
        width: 9px;
        height: 9px;
        border-radius: 2px;
        background: var(--accent);
        margin-right: 9px;
        vertical-align: 1px;
      }
      .brand small {
        display: block;
        font-size: 10.5px;
        font-weight: 500;
        letter-spacing: 0.14em;
        color: var(--ink-faint);
        margin-left: 18px;
      }
      nav.main-nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-end;
      }
      nav.main-nav a {
        color: var(--ink-soft);
        text-decoration: none;
        font-size: 13.5px;
        padding: 10px 9px;
        min-height: 36px;
        display: inline-flex;
        align-items: center;
      }
      nav.main-nav a:hover { color: var(--accent-strong); }

      .wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

      /* ---------- hero ---------- */
      .hero {
        position: relative;
        overflow: hidden;
        background: var(--teal-deeper);
        color: #fff;
      }
      .hero-img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: 50% 62%;
      }
      .hero-shade {
        position: absolute;
        inset: 0;
        background:
          linear-gradient(180deg, rgba(6, 44, 47, 0.34) 0%, rgba(6, 44, 47, 0.1) 34%, rgba(6, 44, 47, 0.55) 100%),
          linear-gradient(96deg, rgba(6, 44, 47, 0.88) 0%, rgba(6, 44, 47, 0.72) 46%, rgba(8, 58, 61, 0.34) 78%, rgba(8, 58, 61, 0.18) 100%);
      }
      .hero-inner {
        position: relative;
        max-width: 1080px;
        margin: 0 auto;
        padding: clamp(72px, 11vw, 128px) 24px clamp(64px, 9vw, 104px);
      }
      .hero-text { max-width: 41em; }
      .hero .pref {
        display: inline-block;
        font-size: 13px;
        letter-spacing: 0.18em;
        font-weight: 700;
        margin: 0 0 20px;
        padding: 5px 14px;
        border: 1px solid rgba(255, 255, 255, 0.55);
        border-radius: 999px;
        background: rgba(6, 44, 47, 0.35);
      }
      .hero h1 {
        font-size: clamp(28px, 5.6vw, 44px);
        line-height: 1.5;
        font-weight: 700;
        margin: 0 0 14px;
        letter-spacing: 0.02em;
        text-shadow: 0 1px 12px rgba(6, 44, 47, 0.45);
      }
      .hero .name-line {
        font-size: clamp(15px, 3.4vw, 18px);
        margin: 0 0 28px;
        color: rgba(255, 255, 255, 0.92);
        font-weight: 600;
        letter-spacing: 0.03em;
      }
      .hero .name-line::before {
        content: "";
        display: inline-block;
        width: 26px;
        height: 2px;
        background: #35bcc2;
        vertical-align: middle;
        margin-right: 12px;
      }
      .hero .intro {
        font-size: 16px;
        line-height: 2.05;
        margin: 0;
        color: rgba(255, 255, 255, 0.94);
        text-shadow: 0 1px 8px rgba(6, 44, 47, 0.5);
      }
      .hero-actions {
        margin-top: 36px;
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
      }
      .btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 50px;
        padding: 10px 28px;
        border-radius: 6px;
        font-size: 15px;
        font-weight: 700;
        text-decoration: none;
        letter-spacing: 0.03em;
        transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
      }
      .btn-primary { background: var(--accent); color: #fff; }
      .btn-primary:hover { background: #0e7f84; }
      @media (prefers-color-scheme: dark) {
        .btn-primary { background: #13989d; }
        .btn-primary:hover { background: #17a8ad; }
      }
      .btn-hero-ghost {
        border: 1px solid rgba(255, 255, 255, 0.75);
        color: #fff;
        background: rgba(6, 44, 47, 0.28);
      }
      .btn-hero-ghost:hover { background: rgba(255, 255, 255, 0.14); }
      .btn-ghost {
        border: 1px solid var(--line);
        color: var(--ink);
        background: var(--surface);
      }
      .btn-ghost:hover { border-color: var(--accent); color: var(--accent-strong); }

      /* ---------- sections ---------- */
      section.block {
        padding: 72px 0;
        scroll-margin-top: 78px;
      }
      section.block + section.block { border-top: 1px solid var(--line); }
      .sec-head { margin-bottom: 36px; }
      .sec-head .en {
        font-size: 12px;
        letter-spacing: 0.24em;
        color: var(--accent);
        font-weight: 700;
        margin: 0 0 8px;
        display: flex;
        align-items: center;
        gap: 12px;
      }
      .sec-head .en::after {
        content: "";
        width: 44px;
        height: 1px;
        background: var(--accent);
        opacity: 0.55;
      }
      .sec-head h2 {
        font-size: clamp(23px, 4.6vw, 30px);
        margin: 0;
        font-weight: 700;
        letter-spacing: 0.02em;
      }
      .lead { max-width: 46em; color: var(--ink-soft); margin: 0 0 8px; }

      /* services */
      .services {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 22px;
      }
      @media (max-width: 720px) {
        .services { grid-template-columns: 1fr; }
      }
      .service {
        background: var(--surface);
        border: 1px solid var(--line);
        border-radius: 10px;
        padding: 28px 28px 24px;
        box-shadow: var(--card-shadow);
        transition: transform 0.18s ease, box-shadow 0.18s ease;
      }
      .service:hover { transform: translateY(-3px); }
      .service-top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 18px;
      }
      .service .icon {
        width: 52px;
        height: 52px;
        border-radius: 12px;
        background: var(--accent-soft);
        color: var(--accent-strong);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: none;
      }
      .service .icon svg { width: 27px; height: 27px; display: block; }
      .service .num {
        font-size: 12px;
        letter-spacing: 0.2em;
        color: var(--accent);
        font-weight: 700;
        margin: 0;
      }
      .service h3 {
        font-size: 18px;
        margin: 0 0 12px;
        line-height: 1.6;
      }
      .service p { margin: 0; color: var(--ink-soft); font-size: 15px; line-height: 1.95; }
      .service .terms {
        margin-top: 16px;
        padding-top: 14px;
        border-top: 1px solid var(--line);
        font-size: 14px;
        color: var(--ink-soft);
      }
      .service .terms dt {
        float: left;
        clear: left;
        width: 7.5em;
        color: var(--ink-faint);
      }
      .service .terms dd { margin: 0 0 4px 7.5em; }
      .service .terms::after { content: ""; display: block; clear: both; }

      /* profile */
      .profile-wrap {
        display: grid;
        grid-template-columns: 250px 1fr;
        gap: 40px;
        align-items: start;
      }
      @media (max-width: 720px) {
        .profile-wrap { grid-template-columns: 1fr; gap: 22px; }
      }
      .profile-id {
        background: linear-gradient(160deg, var(--teal-deep), var(--teal-deeper));
        color: #fff;
        border-radius: 10px;
        padding: 28px 26px;
        box-shadow: var(--card-shadow);
      }
      .profile-id .role {
        font-size: 12.5px;
        letter-spacing: 0.12em;
        color: #7fd6da;
        font-weight: 700;
        margin: 0 0 10px;
      }
      .profile-id .pname {
        font-size: 29px;
        font-weight: 700;
        margin: 0;
        letter-spacing: 0.08em;
      }
      .profile-id .yomi {
        font-size: 13px;
        color: rgba(255, 255, 255, 0.66);
        margin: 4px 0 0;
        letter-spacing: 0.1em;
      }
      .profile-id .rule {
        width: 34px;
        height: 2px;
        background: #35bcc2;
        margin-top: 20px;
      }
      .profile-body p { margin: 0 0 16px; max-width: 44em; }
      .career {
        margin: 24px 0 0;
        padding: 0;
        list-style: none;
      }
      .career li {
        padding: 15px 0;
        border-top: 1px solid var(--line);
        display: grid;
        grid-template-columns: 9.5em 1fr;
        gap: 12px;
      }
      @media (max-width: 560px) {
        .career li { grid-template-columns: 1fr; gap: 2px; }
      }
      .career .when {
        font-weight: 700;
        color: var(--accent-strong);
        font-size: 14.5px;
      }
      .career .what { color: var(--ink-soft); font-size: 15px; }
      .photo-band {
        margin: 44px 0 0;
        border-radius: 10px;
        overflow: hidden;
        box-shadow: var(--card-shadow);
      }
      .photo-band img {
        display: block;
        width: 100%;
        height: clamp(210px, 32vw, 340px);
        object-fit: cover;
        object-position: 50% 42%;
      }

      /* company */
      .company-wrap {
        display: grid;
        grid-template-columns: 1fr 300px;
        gap: 24px;
        align-items: stretch;
      }
      @media (max-width: 860px) {
        .company-wrap { grid-template-columns: 1fr; }
      }
      .company-photo {
        border-radius: 10px;
        overflow: hidden;
        box-shadow: var(--card-shadow);
        min-height: 220px;
      }
      .company-photo img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
      }
      @media (max-width: 860px) {
        .company-photo { height: 190px; min-height: 0; order: -1; }
        .company-photo img { height: 100%; }
      }
      table.company {
        width: 100%;
        border-collapse: collapse;
        background: var(--surface);
        border: 1px solid var(--line);
        border-radius: 10px;
        overflow: hidden;
        box-shadow: var(--card-shadow);
      }
      table.company th, table.company td {
        text-align: left;
        vertical-align: top;
        padding: 17px 22px;
        border-bottom: 1px solid var(--line);
        font-size: 15.5px;
      }
      table.company tr:last-child th, table.company tr:last-child td { border-bottom: none; }
      table.company th {
        width: 11em;
        background: var(--accent-soft);
        font-weight: 700;
        white-space: nowrap;
      }
      table.company td { color: var(--ink-soft); }
      table.company td strong { color: var(--ink); }
      @media (max-width: 560px) {
        table.company th, table.company td { display: block; width: auto; }
        table.company th { border-bottom: none; padding-bottom: 4px; }
        table.company td { padding-top: 0; }
      }
      .tbd { color: var(--ink-faint); }

      /* contact band */
      .contact-band {
        background: linear-gradient(150deg, var(--teal-deep), var(--teal-deeper));
        color: #fff;
        scroll-margin-top: 62px;
      }
      .contact-band .band-inner {
        max-width: 1080px;
        margin: 0 auto;
        padding: 72px 24px;
      }
      .contact-band .sec-head .en { color: #7fd6da; }
      .contact-band .sec-head .en::after { background: #7fd6da; }
      .contact-band .lead { color: rgba(255, 255, 255, 0.86); }
      .contact-box {
        background: rgba(255, 255, 255, 0.06);
        border: 1px solid rgba(255, 255, 255, 0.22);
        border-radius: 10px;
        padding: 32px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 30px;
        margin-top: 26px;
      }
      @media (max-width: 720px) {
        .contact-box { grid-template-columns: 1fr; padding: 24px; }
      }
      .contact-box h3 { margin: 0 0 8px; font-size: 17px; color: #fff; }
      .contact-box p { margin: 0 0 16px; color: rgba(255, 255, 255, 0.82); font-size: 14.5px; }
      .btn-line { background: #06c755; color: #fff; }
      .btn-line:hover { background: #05a847; }
      .mail-addr {
        font-size: 16.5px;
        font-weight: 700;
        word-break: break-all;
        color: #aee9ec;
      }
      .mail-addr:hover { color: #d2f4f6; }

      /* footer */
      footer {
        background: var(--footer-bg);
        color: var(--footer-ink);
      }
      .footer-inner {
        max-width: 1080px;
        margin: 0 auto;
        padding: 42px 24px 36px;
      }
      .footer-inner .fname { font-weight: 700; font-size: 16px; margin: 0 0 8px; letter-spacing: 0.04em; }
      .footer-inner .fname::before {
        content: "";
        display: inline-block;
        width: 9px;
        height: 9px;
        border-radius: 2px;
        background: var(--accent);
        margin-right: 9px;
        vertical-align: 1px;
      }
      .footer-inner p { margin: 0; font-size: 13.5px; color: var(--footer-soft); line-height: 1.9; }
      .footer-inner .copy { margin-top: 22px; font-size: 12px; }

      @media (prefers-reduced-motion: reduce) {
        html { scroll-behavior: auto; }
        .btn, .service { transition: none; }
        .service:hover { transform: none; }
      }

/* ---------- multi-page additions ---------- */
.sec-head h1 {
  font-size: clamp(23px, 4.6vw, 30px);
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.02em;
}
nav.main-nav a[aria-current="page"] { color: var(--accent-strong); font-weight: 700; }
a.link-card { display: block; text-decoration: none; color: inherit; }
a.link-card h3 { color: var(--ink); }
.link-card .more {
  display: inline-block;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-strong);
}
.teaser-actions { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 12px; }
.company-teaser { max-width: 46em; }
.company-teaser p { margin: 0 0 10px; color: var(--ink-soft); }
.company-teaser strong { color: var(--ink); }
.cta-strip {
  background: linear-gradient(150deg, var(--teal-deep), var(--teal-deeper));
  color: #fff;
}
.cta-strip .band-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 52px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.cta-strip p { margin: 0; max-width: 40em; color: rgba(255, 255, 255, 0.92); }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 20px;
  margin: 0 0 20px;
}
.footer-nav a {
  color: var(--footer-ink);
  text-decoration: none;
  font-size: 13.5px;
  padding: 4px 0;
}
.footer-nav a:hover { color: #7fd6da; }
