/*
 Theme Name: Hello Elementor Child
 Template:   hello-elementor
*/
      :root {
        --n950: #060c18;
        --n900: #0b1628;
        --n800: #132240;
        --n700: #1e3a6a;
        --paper: #f8fafc;
        --ink: #0f172a;
        --ink2: #64748b;
        --silver: #94a3b8;
        --gold: #b8860b;
        --gold-l: #daa520;
        /* headings */
        --se: "Zen Antique Soft", "Noto Serif JP", "Yu Mincho", "YuMincho",
          serif;
        /* body */
        --sa: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic",
          "YuGothic", sans-serif;
        /* 欧文。Helvetica Neue はシステムフォント（Windowsでは Arial に
           フォールバック）。和字が混ざった場合は Noto Sans JP になります */
        --en: "Helvetica Neue", Helvetica, Arial, "Noto Sans JP", sans-serif;
        --sm: cubic-bezier(0.22, 1, 0.36, 1);
        --sec-gap: 80px;
        --t-en-display: clamp(26px, 3.6vw, 44px);
        --t-en-title: clamp(22px, 3vw, 38px);
        --t-jp-lead: clamp(17px, 2vw, 26px);
        --ls-en: 0.26em;
        --ls-jp: 0.11em;
        --lh-jp: 2.15;
      }
      * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
      }
      html {
        scroll-behavior: smooth;
        font-feature-settings: "palt" 1;
        /* 固定ヘッダーに隠れないようアンカー位置をずらす */
        scroll-padding-top: 80px;
      }
      body {
        font-family: var(--sa);
        color: var(--ink);
        background: var(--paper);
        overflow-x: hidden;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        font-size: 14.5px;
        line-height: var(--lh-jp);
        letter-spacing: 0.05em;
      }
      img,
      svg {
        display: block;
        max-width: 100%;
      }
      a {
        color: inherit;
        text-decoration: none;
      }
      ::selection {
        background: rgba(218, 165, 32, 0.15);
      }
      :focus-visible {
        outline: 2px solid var(--gold-l);
        outline-offset: 3px;
      }
      /* Zen Antique Soft は 400 のみ */
      h1,
      h2,
      h3,
      h4 {
        font-family: var(--se);
        font-weight: 400;
        letter-spacing: var(--ls-jp);
      }
      p,
      td,
      th,
      label,
      input,
      textarea {
        font-family: var(--sa);
      }

      .rv {
        opacity: 0;
        transform: translate3d(0, 18px, 0);
        transition:
          opacity 1.4s var(--sm),
          transform 1.4s var(--sm);
        transition-delay: var(--d, 0s);
      }
      .rv.on {
        opacity: 1;
        transform: translate3d(0, 0, 0);
      }
      @media (prefers-reduced-motion: reduce) {
        .rv {
          opacity: 1 !important;
          transform: none !important;
          transition: none !important;
        }
        * {
          animation: none !important;
        }
      }

      /* ---- SECTION TITLE: English display + Japanese label ---- */
      .sec-title {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
      }
      .sec-title.left {
        align-items: flex-start;
      }
      .st-en {
        font-family: var(--en) !important;
        font-weight: 300;
        font-size: var(--t-en-title);
        line-height: 1.15;
        letter-spacing: var(--ls-en);
        color: var(--n900);
        white-space: nowrap;
      }
      .sec-title:not(.left) .st-en {
        margin-right: calc(var(--ls-en) * -1);
      }
      .st-jp {
        font-family: var(--sa) !important;
        font-weight: 400;
        font-size: 11.5px;
        line-height: 1.6;
        letter-spacing: 0.24em;
        color: var(--ink2);
      }
      .sec-title:not(.left) .st-jp {
        margin-right: -0.24em;
      }
      .sec-title.on-dark .st-en {
        color: #fff;
      }
      .sec-title.on-dark .st-jp {
        color: rgba(255, 255, 255, 0.5);
      }
      @media (max-width: 560px) {
        :root {
          --t-en-title: clamp(17px, 5vw, 23px);
          --t-en-display: clamp(19px, 5.6vw, 26px);
          --ls-en: 0.2em;
        }
        .st-jp {
          font-size: 10.5px;
          letter-spacing: 0.2em;
        }
      }

      /* ---- HEADER ---- */
      .header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 200;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 clamp(24px, 4vw, 56px);
        height: 72px;
        background: transparent;
        transition:
          height 0.6s var(--sm),
          background 0.6s ease;
      }
      .header.scrolled {
        height: 58px;
        background: rgba(6, 12, 24, 0.55);
        backdrop-filter: blur(20px) saturate(1.3);
        -webkit-backdrop-filter: blur(20px) saturate(1.3);
        box-shadow:
          0 1px 0 rgba(255, 255, 255, 0.04),
          0 6px 24px rgba(0, 0, 0, 0.15);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
      }
      .header-logo {
        z-index: 210;
        display: flex;
        align-items: center;
        gap: 10px;
      }
      .header-logo .logo-img {
        height: 28px;
        width: auto;
        object-fit: contain;
      }
      .header-logo .logo-text {
        font-family: var(--se);
        font-weight: 400;
        font-size: 17px;
        letter-spacing: 0.22em;
        color: #fff;
      }
      .header-links {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        align-items: center;
        gap: clamp(20px, 3vw, 44px);
      }
      /* ---- 会社情報 dropdown ---- */
      .nav-drop {
        position: relative;
      }
      .nav-drop > a {
        display: inline-flex;
        align-items: center;
        gap: 6px;
      }
      .nav-drop .caret {
        display: inline-block;
        width: 7px;
        height: 7px;
        border-right: 1px solid currentColor;
        border-bottom: 1px solid currentColor;
        transform: translateY(-2px) rotate(45deg);
        transition: transform 0.35s var(--sm);
      }
      .nav-drop:hover .caret {
        transform: translateY(0) rotate(225deg);
      }
      .nav-drop-menu {
        position: absolute;
        top: calc(100% + 1px);
        left: 50%;
        transform: translate(-50%, 8px);
        z-index: 20;
        min-width: 176px;
        padding: 10px 0;
        background: #0b1628;
        border: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition:
          opacity 0.3s var(--sm),
          transform 0.3s var(--sm),
          visibility 0s linear 0.3s;
      }
      .nav-drop:hover .nav-drop-menu,
      .nav-drop:focus-within .nav-drop-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translate(-50%, 0);
        transition:
          opacity 0.3s var(--sm),
          transform 0.3s var(--sm),
          visibility 0s;
      }
      .header-links .nav-drop-menu a {
        display: block;
        height: auto;
        overflow: visible;
        line-height: 1.6;
        padding: 11px 22px;
        font-size: 12.5px;
        letter-spacing: 0.1em;
        color: rgba(255, 255, 255, 0.75);
        white-space: nowrap;
        transition: color 0.25s;
      }
      .header-links .nav-drop-menu a:hover {
        color: var(--gold-l);
      }
      .nav-drop-menu.wide {
        min-width: 220px;
      }
      .nav-grp {
        padding: 12px 22px 6px;
        font-family: var(--en);
        font-size: 9.5px;
        letter-spacing: 0.24em;
        color: var(--gold-l);
      }
      .nav-grp:first-child {
        padding-top: 4px;
      }
      .m-grp {
        font-family: var(--en);
        font-size: 9.5px;
        letter-spacing: 0.24em;
        color: var(--gold-l);
        margin-top: 6px;
      }

      /* ---- モバイル：会社情報アコーディオン ---- */
      .m-drop {
        display: flex;
        flex-direction: column;
        align-items: center;
      }
      .m-drop-toggle {
        display: inline-flex;
        align-items: center;
        gap: 12px;
        padding: 0;
        background: none;
        border: 0;
        cursor: pointer;
        font-family: var(--se);
        font-weight: 400;
        font-size: clamp(22px, 4vw, 34px);
        letter-spacing: 0.08em;
        color: #f2efe8;
        opacity: 0;
        transform: translateY(14px);
        transition:
          opacity 0.5s var(--sm),
          transform 0.5s var(--sm),
          color 0.3s;
        transition-delay: 0.26s;
      }
      body.menu-open .m-drop-toggle {
        opacity: 1;
        transform: translateY(0);
      }
      .m-drop-toggle:hover {
        color: var(--gold-l);
      }
      .m-caret {
        width: 9px;
        height: 9px;
        border-right: 1.5px solid currentColor;
        border-bottom: 1.5px solid currentColor;
        transform: translateY(-3px) rotate(45deg);
        transition: transform 0.35s var(--sm);
      }
      .m-drop.open .m-caret {
        transform: translateY(2px) rotate(225deg);
      }
      .m-drop-menu {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 18px;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition:
          max-height 0.45s var(--sm),
          opacity 0.35s,
          margin-top 0.45s var(--sm);
      }
      .m-drop.open .m-drop-menu {
        max-height: 560px;
        opacity: 1;
        margin-top: 24px;
      }
      .menu-overlay .m-drop-menu a {
        font-size: clamp(15px, 2.6vw, 19px);
        color: rgba(242, 239, 232, 0.7);
        transition-delay: 0s;
      }
      .menu-overlay .m-drop-menu a:hover {
        color: var(--gold-l);
      }
      .header-links a {
        position: relative;
        overflow: hidden;
        height: 18px;
        display: inline-block;
        font-family: var(--en);
        font-weight: 400;
        font-size: 14px;
        letter-spacing: 0.14em;
        color: rgba(255, 255, 255, 0.7);
      }
      .header-links a .ht {
        display: block;
        height: 18px;
        line-height: 18px;
        white-space: nowrap;
        transition: transform 0.55s cubic-bezier(0.075, 0.82, 0.165, 1);
      }
      .header-links a .hb {
        position: absolute;
        left: 0;
        top: 100%;
        display: block;
        height: 18px;
        line-height: 18px;
        white-space: nowrap;
        color: #fff;
        transition: transform 0.55s cubic-bezier(0.075, 0.82, 0.165, 1);
      }
      .header-links a:hover .ht,
      .header-links a:hover .hb {
        transform: translate3d(0, -18px, 0);
      }
      .header-cta {
        z-index: 210;
        padding: 0 26px;
        height: 40px;
        border: 1px solid rgba(255, 255, 255, 0.4);
        border-radius: 28px;
        font-family: var(--en);
        font-weight: 400;
        font-size: 10.5px;
        letter-spacing: 0.14em;
        color: #fff;
        overflow: hidden;
        position: relative;
        transition:
          border-color 0.4s,
          background 0.4s;
      }
      .header-cta .ht,
      .header-cta .hb {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 40px;
        white-space: nowrap;
        transition: transform 0.55s cubic-bezier(0.075, 0.82, 0.165, 1);
        color: #fff;
      }
      .header-cta .hb {
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
      }
      .header-cta:hover .ht,
      .header-cta:hover .hb {
        transform: translate3d(0, -40px, 0);
      }
      .header-cta:hover {
        border-color: #fff;
        background: rgba(255, 255, 255, 0.06);
      }
      .menu-toggle {
        display: none;
        z-index: 210;
        align-items: center;
        gap: 11px;
        background: none;
        border: 0;
        cursor: pointer;
        color: #f2f0ea;
        font-family: var(--en);
        font-size: 10px;
        letter-spacing: 0.26em;
        padding: 8px 2px;
      }
      .menu-toggle .bars {
        display: flex;
        flex-direction: column;
        gap: 5px;
        width: 22px;
      }
      .menu-toggle .bars span {
        display: block;
        height: 1px;
        background: currentColor;
        transition: transform 0.5s var(--sm);
      }
      .menu-toggle .bars span:nth-child(1) {
        width: 100%;
      }
      .menu-toggle .bars span:nth-child(2) {
        width: 60%;
        align-self: flex-end;
      }
      body.menu-open .menu-toggle .bars span:nth-child(1) {
        transform: translateY(3px) rotate(45deg);
      }
      body.menu-open .menu-toggle .bars span:nth-child(2) {
        transform: translateY(-3px) rotate(-45deg);
        width: 100%;
      }
      @media (max-width: 960px) {
        .header-links,
        .header-cta {
          display: none;
        }
        .menu-toggle {
          display: flex;
        }
      }
      .menu-overlay {
        position: fixed;
        inset: 0;
        z-index: 190;
        background: linear-gradient(160deg, var(--n950), var(--n900));
        opacity: 0;
        visibility: hidden;
        transition:
          opacity 0.6s var(--sm),
          visibility 0s linear 0.6s;
      }
      body.menu-open .menu-overlay {
        opacity: 1;
        visibility: visible;
        transition: opacity 0.6s var(--sm);
      }
      .menu-overlay nav a {
        font-family: var(--se);
        font-weight: 400;
        font-size: clamp(22px, 4vw, 34px);
        color: #f2efe8;
        letter-spacing: 0.08em;
        opacity: 0;
        transform: translateY(14px);
        transition:
          opacity 0.5s var(--sm),
          transform 0.5s var(--sm),
          color 0.3s;
      }
      body.menu-open .menu-overlay nav a {
        opacity: 1;
        transform: translateY(0);
      }
      .menu-overlay nav a:hover {
        color: var(--gold-l);
      }
      .menu-overlay nav > *:nth-child(1) a,
      .menu-overlay nav > a:nth-child(1) {
        transition-delay: 0.08s;
      }
      .menu-overlay nav > *:nth-child(2) a,
      .menu-overlay nav > a:nth-child(2) {
        transition-delay: 0.14s;
      }
      .menu-overlay nav > *:nth-child(3) a,
      .menu-overlay nav > a:nth-child(3) {
        transition-delay: 0.2s;
      }
      .menu-overlay nav > *:nth-child(4) a,
      .menu-overlay nav > a:nth-child(4) {
        transition-delay: 0.26s;
      }
      .menu-overlay nav > *:nth-child(5) a,
      .menu-overlay nav > a:nth-child(5) {
        transition-delay: 0.32s;
      }
      .menu-overlay nav > *:nth-child(6) a,
      .menu-overlay nav > a:nth-child(6) {
        transition-delay: 0.38s;
      }

      /* ---- PAGE HERO ---- */
      .page-hero {
        position: relative;
        height: 56vh;
        min-height: 380px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--n900);
        overflow: hidden;
      }
      .page-hero-bg {
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, #132240, #0b1628 60%, #060c18);
      }
      .page-hero-bg img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 0.45;
        filter: brightness(0.6);
      }
      .page-hero::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 30%;
        background: linear-gradient(transparent, rgba(6, 12, 24, 0.4));
      }
      .page-hero-content {
        position: relative;
        z-index: 2;
        text-align: center;
      }
      .page-hero-content .ey {
        font-family: var(--en);
        font-weight: 400;
        font-size: 10px;
        letter-spacing: 0.34em;
        margin-right: -0.34em;
        color: var(--gold-l);
        margin-bottom: 20px;
        opacity: 0;
        animation: hf 1.4s var(--sm) 0.3s forwards;
      }
      .page-hero-content h1 {
        font-family: var(--en) !important;
        font-weight: 300;
        font-size: var(--t-en-display);
        letter-spacing: var(--ls-en);
        margin-right: calc(var(--ls-en) * -1);
        color: #fff;
        opacity: 0;
        animation: hf 1.6s var(--sm) 0.6s forwards;
      }
      .page-hero-content .jp {
        margin-top: 14px;
        font-size: 11.5px;
        letter-spacing: 0.24em;
        margin-right: -0.24em;
        color: rgba(255, 255, 255, 0.55);
        opacity: 0;
        animation: hf 1.6s var(--sm) 0.8s forwards;
      }
      @keyframes hf {
        from {
          opacity: 0;
          transform: translate3d(0, 12px, 0);
        }
        to {
          opacity: 1;
          transform: translate3d(0, 0, 0);
        }
      }

      /* ---- MISSION ---- */
      .mission {
        padding: var(--sec-gap) 6vw;
        background: var(--paper);
        text-align: center;
      }
      .mission-content {
        max-width: 720px;
        margin: 0 auto;
      }
      .mission-content h2 {
        font-size: var(--t-jp-lead);
        line-height: 2.25;
        color: var(--n900);
      }
      .mission-content .mission-sub {
        margin-top: 26px;
        font-size: 13px;
        line-height: 2.3;
        color: var(--ink2);
      }

      /* ---- INFO SECTIONS ----
         タブをやめ、会社概要／沿革／アクセスをそれぞれ独立した
         セクションとして常時表示しています */
      .info-block {
        padding: var(--sec-gap) 6vw;
      }
      .info-block.alt {
        background: #f1f4f8;
      }
      .info-inner {
        max-width: 900px;
        margin: 0 auto;
      }
      .info-head {
        display: flex;
        justify-content: center;
        margin-bottom: 44px;
      }

      /* ---- ACCESS: 2拠点を並列表示 ---- */
      .access-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: clamp(32px, 5vw, 56px);
      }
      .office-label {
        font-family: var(--se);
        font-size: 15px;
        letter-spacing: var(--ls-jp);
        color: var(--n900);
        padding-bottom: 14px;
        border-bottom: 1px solid var(--gold);
        margin-bottom: 18px;
      }
      .access-office .lines {
        display: flex;
        flex-direction: column;
        gap: 4px;
        margin-bottom: 20px;
      }
      .access-office .lines span {
        font-size: 12.5px;
        line-height: 2;
        letter-spacing: 0.06em;
        color: var(--ink2);
      }
      .access-office .lines a {
        color: var(--n900);
        transition: color 0.3s;
      }
      .access-office .lines a:hover {
        color: var(--gold);
      }
      .access-map {
        aspect-ratio: 4/3;
        background: var(--n800);
        position: relative;
        overflow: hidden;
      }
      .access-map iframe {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        border: 0;
        filter: grayscale(0.2) contrast(1.05);
      }
      .map-link {
        display: inline-block;
        margin-top: 16px;
        font-family: var(--en);
        font-size: 11px;
        letter-spacing: 0.12em;
        color: var(--n900);
        border-bottom: 1px solid rgba(15, 23, 42, 0.25);
        padding-bottom: 3px;
        transition:
          color 0.3s,
          border-color 0.3s;
      }
      .map-link:hover {
        color: var(--gold);
        border-color: var(--gold);
      }
      @media (max-width: 800px) {
        .access-grid {
          grid-template-columns: 1fr;
          gap: 48px;
        }
      }

      /* ---- TABLES ---- */
      .info-table,
      .info-table tbody {
        width: 100% !important;
        border-collapse: collapse !important;
        border-spacing: 0 !important;
        background: transparent !important;
        border: none !important;
      }
      .info-table tr {
        border: none !important;
        border-bottom: 1px solid rgba(15, 23, 42, 0.06) !important;
        background: transparent !important;
      }
      .info-table th,
      .info-table td {
        border: none !important;
        background: transparent !important;
      }
      .info-table th {
        font-family: var(--sa) !important;
        font-weight: 500 !important;
        font-size: 12.5px !important;
        color: var(--ink) !important;
        letter-spacing: 0.1em !important;
        padding: 20px 24px 20px 0 !important;
        text-align: left !important;
        vertical-align: top !important;
        width: 140px;
        white-space: nowrap;
      }
      .info-table td strong {
        font-weight: 500 !important;
        color: var(--ink) !important;
      }
      .info-table td {
        font-size: 13px !important;
        color: var(--ink2) !important;
        padding: 20px 0 !important;
        line-height: 2.15 !important;
        letter-spacing: 0.06em !important;
        text-align: left !important;
      }
      @media (max-width: 600px) {
        .info-table,
        .info-table tbody,
        .info-table tr,
        .info-table th,
        .info-table td {
          display: block;
          width: 100%;
        }
        .info-table th {
          padding: 14px 0 2px !important;
          font-size: 11px !important;
          color: var(--gold) !important;
        }
        .info-table td {
          padding: 0 0 14px !important;
          font-size: 12.5px !important;
        }
      }

      /* ---- GREETINGS ---- */
      .greetings {
        padding: var(--sec-gap) 6vw;
        background: var(--paper);
      }
      .greetings-inner {
        max-width: 1200px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: 1fr 1.3fr;
        gap: clamp(48px, 6vw, 88px);
        align-items: start;
      }
      .greetings-img {
        position: sticky;
        top: 100px;
        overflow: hidden;
        background: var(--n800);
        aspect-ratio: 3/4;
      }
      .greetings-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 4s var(--sm);
      }
      .greetings-img:hover img {
        transform: scale(1.03);
      }
      .greetings-text .sec-title {
        margin-bottom: 30px;
      }
      .greeting-quote {
        padding: 24px 0 24px 22px;
        margin: 0 0 30px;
        border-left: 2px solid var(--gold);
        font-family: var(--se);
        font-weight: 400;
        font-size: clamp(16px, 1.6vw, 19px);
        line-height: 2.15;
        letter-spacing: var(--ls-jp);
        color: var(--n900);
      }
      .greeting-body {
        font-size: 13px;
        line-height: 2.35;
        letter-spacing: 0.06em;
        color: var(--ink2);
      }
      .greeting-body p + p {
        margin-top: 18px;
      }
      .greeting-body .sub-heading {
        font-family: var(--se);
        font-weight: 400;
        font-size: 15px;
        color: var(--n900);
        letter-spacing: var(--ls-jp);
        margin: 32px 0 14px;
        padding-top: 28px;
        border-top: 1px solid rgba(15, 23, 42, 0.06);
      }
      .greeting-sign {
        margin-top: 40px;
        padding-top: 28px;
        border-top: 1px solid rgba(15, 23, 42, 0.06);
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        gap: 20px;
      }
      .greeting-sign-info {
        font-family: var(--se);
        font-size: 13px;
        color: var(--n900);
        line-height: 1.9;
      }
      .greeting-sign-info .date {
        font-family: var(--sa);
        font-size: 11px;
        color: var(--ink2);
        margin-bottom: 4px;
        display: block;
        letter-spacing: 0.1em;
      }
      .greeting-sign-name {

        font-family: var(--se);
        font-weight: 400;
        font-size: clamp(20px, 2.4vw, 28px);
        color: var(--n900);
        letter-spacing: 0.14em;
        white-space: nowrap;
      }
      @media (max-width: 800px) {
        .greetings-inner {
          grid-template-columns: 1fr;
          gap: 32px;
        }
        /* 縦位置の比率を固定すると object-fit: cover で
           人物の頭が切れてしまうため、写真そのものの比率で表示します */
        .greetings-img {
          position: relative;
          top: auto;
          aspect-ratio: auto;
        }
        .greetings-img img {
          height: auto;
          object-fit: contain;
        }
        .greeting-sign {
          flex-direction: column;
          align-items: flex-start;
        }
      }

      /* ---- CTA BLOCKS ---- */
      .cta-blocks {
        display: grid;
        grid-template-columns: 1fr 1fr;
        min-height: 320px;
      }
      .cta-block {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: var(--sec-gap) 6vw;
        text-align: center;
        position: relative;
        overflow: hidden;
      }
      .cta-block-bg {
        position: absolute;
        inset: 0;
        z-index: 0;
        background: var(--n800);
      }
      .cta-block-bg img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 6s var(--sm);
      }
      .cta-block:hover .cta-block-bg img {
        transform: scale(1.06);
      }
      .cta-block::after {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 1;
        background: rgba(6, 12, 24, 0.65);
        transition: background 0.5s;
      }
      .cta-block:hover::after {
        background: rgba(6, 12, 24, 0.45);
      }
      .cta-block .sec-title,
      .cta-block .arr {
        position: relative;
        z-index: 2;
      }
      .cta-block .st-en {
        font-size: clamp(18px, 2.2vw, 26px);
      }
      .cta-block .arr {
        margin-top: 22px;
        font-family: var(--en);
        font-size: 13px;
        color: rgba(255, 255, 255, 0.4);
        transition:
          color 0.3s,
          transform 0.3s;
      }
      .cta-block:hover .arr {
        color: #fff;
        transform: translateX(4px);
      }
      /* 採用情報：リンク未設定のあいだは操作できない見た目に */
      .cta-block.is-disabled {
        cursor: default;
      }
      .cta-block.is-disabled:hover .cta-block-bg img {
        transform: none;
      }
      .cta-block.is-disabled:hover::after {
        background: rgba(6, 12, 24, 0.65);
      }
      .cta-block.is-disabled .arr {
        font-size: 11px;
        letter-spacing: 0.2em;
      }
      .cta-block.is-disabled:hover .arr {
        color: rgba(255, 255, 255, 0.4);
        transform: none;
      }

      /* ---- FOOTER ---- */
      .footer {
        background: #0e1c38;
        color: var(--silver);
      }
      .footer-inner {
        max-width: 1240px;
        margin: 0 auto;
        padding: 0 clamp(24px, 5vw, 60px);
      }
      .footer-top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: clamp(48px, 6vw, 80px) 0 clamp(36px, 4vw, 56px);
        flex-wrap: wrap;
        gap: 24px;
      }
      .footer-logo {
        display: flex;
        align-items: center;
        gap: 14px;
      }
      .footer-logo .logo-img {
        height: 36px;
        width: auto;
        object-fit: contain;
      }
      .footer-logo span {
        font-family: var(--se);
        font-weight: 400;
        font-size: clamp(22px, 3vw, 32px);
        letter-spacing: 0.24em;
        color: #fff;
      }
      .footer-line {
        height: 1px;
        background: rgba(255, 255, 255, 0.1);
      }
      .footer-bottom {
        padding: clamp(24px, 3vw, 36px) 0 clamp(32px, 4vw, 48px);
      }
      .footer-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 12px 32px;
      }
      .footer-row + .footer-row {
        margin-top: 16px;
      }
      .footer-copy {
        font-family: var(--en);
        font-size: 11.5px;
        letter-spacing: 0.04em;
        color: rgba(255, 255, 255, 0.4);
      }
      .footer-nav {
        display: flex;
        flex-wrap: wrap;
        gap: 6px 28px;
      }
      .footer-nav a {
        font-size: 12px;
        color: rgba(255, 255, 255, 0.6);
        letter-spacing: 0.06em;
        font-weight: 500;
        transition: color 0.3s;
      }
      .footer-nav a:hover {
        color: #fff;
      }
      .footer-legal a {
        font-size: 11px;
        color: rgba(255, 255, 255, 0.35);
        text-decoration: underline;
        text-underline-offset: 3px;
        transition: color 0.3s;
      }
      .footer-legal a:hover {
        color: rgba(255, 255, 255, 0.7);
      }
      .footer-credit {
        font-size: 10.5px;
        color: rgba(255, 255, 255, 0.25);
      }

      /* ============ RESPONSIVE ============ */
      @media (max-width: 1024px) {
        .page-hero {
          height: 48vh;
          min-height: 320px;
        }
      }
      @media (max-width: 800px) {
        .page-hero {
          height: 44vh;
          min-height: 300px;
        }
        .cta-blocks {
          grid-template-columns: 1fr;
        }
        .cta-block {
          padding: 48px 6vw;
        }
        .footer-top,
        .footer-row {
          flex-direction: column;
          align-items: flex-start;
        }
      }
      @media (max-width: 600px) {
        .page-hero {
          height: 40vh;
          min-height: 260px;
        }
        .mission,
        .info-block,
        .greetings {
          padding-left: 7vw;
          padding-right: 7vw;
        }
        .cta-block {
          padding: 40px 7vw;
        }
        .footer-inner {
          padding: 0 7vw;
        }
        .footer-nav {
          flex-direction: column;
          gap: 4px;
        }
      }

      /* ---- モバイルメニュー：項目が増えても画面外に出ないように ----
         justify-content:center は、中身が画面より高いとき上側が
         スクロール範囲の外へ出てしまい触れなくなります。
         margin:auto なら「短ければ中央・長ければ普通にスクロール」を両立できます */
      body.menu-open {
        overflow: hidden;
      }
      .menu-overlay {
        display: block;
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        padding: 96px 24px 64px;
      }
      .menu-overlay nav {
        width: 100%;
        margin: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 22px;
      }
      .m-drop.open .m-drop-menu {
        max-height: 1200px;
      }
      /* 画面の高さが低い端末では詰めて表示 */
      @media (max-height: 760px) {
        .menu-overlay nav {
          gap: 16px;
        }
        .menu-overlay nav > a,
        .m-drop-toggle {
          font-size: 19px;
        }
        .m-drop-menu {
          gap: 12px;
        }
        .m-drop-menu a {
          font-size: 14px;
        }
        .m-drop.open .m-drop-menu {
          margin-top: 14px;
        }
      }

      /* ---- ナビ項目が増えたため、中間幅では詰めて表示 ---- */
      @media (max-width: 1240px) {
        .header-links {
          gap: 22px;
        }
        .header-links a {
          font-size: 12.5px;
          letter-spacing: 0.08em;
        }
      }
      @media (max-width: 1080px) {
        .header-links {
          gap: 16px;
        }
        .header-links a {
          font-size: 11.5px;
          letter-spacing: 0.04em;
        }
      }

      /* ================= ヘッダー（全ページ共通・A-2 配置） ================= */
      .header-logo .logo-txt {
        display: flex;
        flex-direction: column;
        line-height: 1.25;
      }
      .header-logo .logo-jp {
        font-family: var(--se);
        font-size: 15px;
        letter-spacing: 0.14em;
        color: #fff;
      }
      .header-logo .logo-en {
        font-family: var(--en);
        font-size: 8.5px;
        letter-spacing: 0.18em;
        color: rgba(255, 255, 255, 0.65);
      }
      .header-links {
        position: static;
        transform: none;
        display: flex;
        align-items: center;
        gap: clamp(16px, 2.2vw, 34px);
        margin-left: auto;
        margin-right: clamp(16px, 2.2vw, 36px);
      }
      .header-links > a,
      .header-links .nav-drop > a {
        height: 40px;
        overflow: visible;
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        line-height: 1.3;
      }
      .header-links > .nav-drop {
        display: inline-flex;
        align-items: center;
      }
      .header-links .n-jp {
        font-family: var(--sa);
        font-size: 13px;
        letter-spacing: 0.1em;
        color: #fff;
        transition: color 0.3s;
      }
      .header-links .n-en {
        font-family: var(--en);
        font-size: 8.5px;
        letter-spacing: 0.16em;
        color: rgba(255, 255, 255, 0.5);
        transition: color 0.3s;
      }
      .header-links a:hover .n-jp,
      .header-links a:hover .n-en {
        color: var(--gold-l);
      }
      .nav-drop > a {
        position: relative;
        padding-right: 16px;
      }
      .nav-drop .caret {
        position: absolute;
        right: 0;
        top: 50%;
        margin-top: -6px;
        width: 6px;
        height: 6px;
      }
      .header-cta {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        height: 46px;
        padding: 0 22px;
        border-radius: 4px;
        border: 1px solid rgba(255, 255, 255, 0.35);
        background: rgba(19, 34, 64, 0.92);
        overflow: visible;
        transition:
          background 0.35s,
          border-color 0.35s;
      }
      .header-cta:hover {
        background: var(--n700);
        border-color: rgba(255, 255, 255, 0.6);
        color: #fff;
      }
      .header-cta .cta-ico {
        width: 18px;
        height: 18px;
        flex: none;
      }
      .header-cta .cta-txt {
        display: flex;
        flex-direction: column;
        line-height: 1.25;
        text-align: left;
      }
      .header-cta .cta-txt .jp {
        font-family: var(--sa);
        font-size: 12px;
        letter-spacing: 0.08em;
      }
      .header-cta .cta-txt .en {
        font-family: var(--en);
        font-size: 8px;
        letter-spacing: 0.18em;
        color: rgba(255, 255, 255, 0.6);
      }
      .cta-mini {
        display: none;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border: 1px solid rgba(255, 255, 255, 0.4);
        border-radius: 4px;
        color: #fff;
        z-index: 210;
        transition:
          background 0.3s,
          border-color 0.3s;
      }
      .cta-mini svg {
        width: 18px;
        height: 18px;
      }
      .cta-mini:hover {
        background: rgba(255, 255, 255, 0.12);
        border-color: #fff;
      }
      .cta-mini.gold { border-color: #c08a1e; background: #c08a1e; }
      .cta-mini.gold:hover { background: var(--gold-l); border-color: var(--gold-l); }
      /* ---- タブレット・スマホ ---- */
      @media (max-width: 960px) {
        .header-links,
        .header-cta {
          display: none !important;
        }
        .header {
          height: 64px;
          padding-left: max(clamp(16px, 4vw, 28px), env(safe-area-inset-left));
          padding-right: max(clamp(16px, 4vw, 28px), env(safe-area-inset-right));
          gap: 12px;
        }
        .header.scrolled {
          height: 56px;
        }
        .header-logo {
          gap: 9px;
          min-width: 0;
        }
        .header-logo .logo-img {
          height: 24px;
        }
        .header-logo .logo-jp {
          font-size: 13.5px;
          letter-spacing: 0.1em;
          white-space: nowrap;
        }
        .header-logo .logo-en {
          font-size: 7.5px;
          letter-spacing: 0.14em;
        }
        .cta-mini {
          display: inline-flex;
          margin-left: auto;
        }
        .menu-toggle {
          display: inline-flex;
          align-items: center;
          justify-content: flex-end;
          gap: 9px;
          min-width: 44px;
          min-height: 44px;
          padding: 0;
          font-size: 9px;
          letter-spacing: 0.2em;
        }
        .menu-toggle .bars {
          width: 20px;
          gap: 5px;
        }
        body.menu-open .header,
        body.menu-open .header.scrolled {
          background: transparent;
          border-bottom: none;
          box-shadow: none;
          backdrop-filter: none;
          -webkit-backdrop-filter: none;
        }
        body.menu-open .cta-mini {
          opacity: 0;
          pointer-events: none;
        }
        .menu-overlay {
          padding-top: 88px;
        }
      }
      @media (max-width: 420px) {
        .header-logo .logo-en {
          display: none;
        }
        .header-logo .logo-jp {
          font-size: 13px;
        }
        .menu-toggle > span:last-child {
          display: none;
        }
      }

      /* ---- D-4）沿革：縦タイムライン ---- */
      .timeline {
        list-style: none;
        position: relative;
        max-width: 760px;
        margin: 0 auto;
        padding: 4px 0;
      }
      /* 年と本文のあいだを通る縦線 */
      .timeline::before {
        content: "";
        position: absolute;
        left: 100px;
        top: 10px;
        bottom: 10px;
        width: 1px;
        background: rgba(30, 58, 106, 0.35);
      }
      .tl-item {
        display: grid;
        grid-template-columns: 84px 32px 1fr;
        align-items: start;
        column-gap: 0;
        padding-bottom: 34px;
      }
      .tl-item:last-child {
        padding-bottom: 0;
      }
      .tl-year {
        font-family: var(--en);
        font-weight: 300;
        font-size: clamp(19px, 2.1vw, 26px);
        line-height: 1.1;
        letter-spacing: 0.04em;
        color: var(--n700);
        text-align: right;
        padding-right: 16px;
      }
      /* 線の上に重なる丸 */
      .tl-dot {
        justify-self: center;
        width: 13px;
        height: 13px;
        margin-top: 3px;
        border: 1.5px solid var(--n700);
        border-radius: 50%;
        background: var(--paper);
        transition:
          background 0.35s,
          transform 0.35s var(--sm);
      }
      .info-block.alt .tl-dot {
        background: #f1f4f8;
      }
      .tl-item:hover .tl-dot {
        background: var(--n700);
        transform: scale(1.25);
      }
      .tl-content {
        padding-left: 20px;
      }
      .tl-title {
        font-family: var(--sa) !important;
        font-weight: 500;
        font-size: 15px;
        line-height: 1.5;
        letter-spacing: 0.06em;
        color: var(--n700);
        margin-bottom: 10px;
      }
      .tl-text {
        font-size: 12.5px;
        line-height: 2.1;
        letter-spacing: 0.05em;
        color: var(--ink2);
      }
      @media (max-width: 640px) {
        .timeline::before {
          left: 6px;
        }
        .tl-item {
          grid-template-columns: 14px 1fr;
          column-gap: 16px;
          padding-bottom: 28px;
        }
        .tl-year {
          grid-column: 2;
          grid-row: 1;
          text-align: left;
          padding-right: 0;
          font-size: 18px;
          margin-bottom: 6px;
        }
        .tl-dot {
          grid-column: 1;
          grid-row: 1;
          margin-top: 5px;
        }
        .tl-content {
          grid-column: 2;
          grid-row: 2;
          padding-left: 0;
        }
      }

      /* ================= 本文20px + 黄金比の見出し + スマホ余白48px ================= */

      /* --- 黄金比スケール（20px基準：20 → 32.4 → 52.4 → 84.7） --- */
      :root{
        --f-body: 20px;
        --f-1: clamp(25px, 3.4vw, 32px);
        --f-2: clamp(32px, 5.2vw, 52px);
        --f-3: clamp(40px, 7.6vw, 85px);
        --t-jp-lead: var(--f-1);          /* .mission-content h2 が参照 */
        --t-en-display: var(--f-2);       /* .page-hero-content h1 が参照 */
        --t-en-title: var(--f-2);         /* .st-en が参照 */
      }

      /* --- 本文：20px --- */
      .mission-content .mission-sub,
      .greeting-body,
      .greeting-body p,
      .access-office .lines span,
      .tl-text,
      .map-link,
      .greeting-sign-info
      {
        font-size: 20px;
        line-height: 1.9;
      }
      .page-hero-content .jp{
        font-size: 16px;
        letter-spacing: 0.2em;
      }

      /* テーブルは元が !important のため、こちらも !important で上書き */
      .info-table td{
        font-size: 20px !important;
        line-height: 1.9 !important;
        padding: 22px 0 !important;
      }
      .info-table th{
        font-size: 20px !important;
        padding: 22px 28px 22px 0 !important;
        width: 190px;
      }

      /* --- 見出し：黄金比 --- */
      .st-en{ line-height: 1.15; }
      .page-hero-content h1{ line-height: 1.1; }
      .mission-content h2{
        font-size: var(--f-1);
        line-height: 1.85;
      }
      .greeting-quote{
        font-size: var(--f-1);
        line-height: 1.75;
        padding-left: 26px;
      }
      .greeting-sign-name{
        font-size: var(--f-1);
        line-height: 1.4;
      }
      .greeting-body .sub-heading{
        font-size: 20px;
        line-height: 1.7;
      }
      .tl-year{
        font-size: var(--f-1);
        line-height: 1.1;
      }
      .tl-title{
        font-size: var(--f-body);
        line-height: 1.55;
      }
      .office-label{
        font-size: var(--f-body);
        line-height: 1.6;
      }
      .footer-logo span{ font-size: var(--f-1); }

      /* --- スマホ：セクション余白48px --- */
      @media (max-width: 700px){
        :root{ --sec-gap: 48px; }
        .info-head{ margin-bottom: 32px; }
        .cta-block{ padding: 48px 7vw !important; }
        .page-hero{ height: auto; min-height: 0; padding: 120px 6vw 72px; }
      }

      /* --- 沿革タイムライン：年が大きくなった分だけ列幅を調整 --- */
      @media (min-width: 641px){
        .tl-item{ grid-template-columns: 104px 32px 1fr; }
        .timeline::before{ left: 120px; }
      }
      @media (max-width: 640px){
        .tl-year{ font-size: 25px; }
      }

      /* --- スマホのテーブル：積み上げ表示のサイズ調整 --- */
      @media (max-width: 600px){
        .info-table th{
          font-size: 15px !important;
          padding: 18px 0 4px !important;
          width: 100%;
          white-space: normal;
        }
        .info-table td{
          font-size: 18px !important;
          padding: 0 0 18px !important;
        }
      }

      /* ===== スマホ：代表挨拶の写真を署名（松村 三輝）の下へ ===== */
      @media (max-width: 800px){
        .greetings-inner{
          display: flex;
          flex-direction: column;
        }
        .greetings-text{
          order: 1;
        }
        .greetings-img{
          order: 2;
          position: relative;
          top: auto;
          margin-top: 8px;
          /* 4/3 に切り抜くと顔の上が見切れるため、写真の比率のまま */
          aspect-ratio: auto;
        }
        .greetings-img img{
          height: auto;
          object-fit: contain;
        }
      }

      /* ===== 和文ラベルを本文サイズに合わせて拡大 ===== */
      .st-jp{
        font-size: 15px;
        letter-spacing: 0.18em;
      }
      .sec-title:not(.left) .st-jp{
        margin-right: -0.18em;
      }
      .page-hero-content .ey{
        font-size: 12px;
        letter-spacing: 0.24em;
        margin-right: -0.24em;
      }
      @media (max-width: 560px){
        .st-jp{
          font-size: 14px;
          letter-spacing: 0.14em;
        }
      }
      /* ===== セクション見出し：スマホでも常に1行 ===== */
      @media (max-width: 700px){
        :root{
          --ls-en: 0.08em;
        }
        .st-en,
        .page-hero-content h1{
          white-space: nowrap;                    /* 折り返さない */
          font-size: clamp(15px, 5.2vw, 30px);    /* 画面幅に比例して縮小 */
          max-width: 100%;
        }
      }
      @media (max-width: 380px){
        :root{ --ls-en: 0.05em; }
        .st-en,
        .page-hero-content h1{
          font-size: clamp(14px, 4.8vw, 26px);
        }
      }

      /* ================= 会社情報：左サイドナビ ================= */
      .cl-wrap{
        max-width: 1320px;
        margin: 0 auto;
        padding: 0 clamp(20px, 4vw, 48px);
        display: grid;
        grid-template-columns: 232px 1fr;
        gap: clamp(32px, 4vw, 64px);
        align-items: start;
      }
      .cl-main{ min-width: 0; }

      .side-nav{
        position: sticky;
        top: 96px;
        margin-top: var(--sec-gap);
        border: 1px solid rgba(15, 23, 42, 0.12);
        background: #fff;
      }
      .sn-head{
        font-family: var(--se);
        font-size: 17px;
        letter-spacing: var(--ls-jp);
        color: var(--n700);
        padding: 22px 20px;
		border-top:1px solid rgba(15, 23, 42, 0.12);
        border-bottom: 1px solid rgba(15, 23, 42, 0.12);
		background-color: #eee;
      }
	  .sn-head:first-child {
		  border-top:none;
	  }
      .sn-list{ display: flex; flex-direction: column; }
      .sn-link{
        font-size: 15px;
        line-height: 1.6;
        letter-spacing: 0.06em;
        color: var(--ink);
        padding: 17px 20px;
        border-bottom: 1px solid rgba(15, 23, 42, 0.08);
        transition: background .3s, color .3s;
      }
      .sn-link:last-child{ border-bottom: none; }
      .sn-link:hover{
        background: rgba(30, 58, 106, 0.06);
        color: var(--n700);
      }
      .sn-link.is-current{
        background: var(--n700);
        color: #fff;
      }

      /* セクション側：左右のパディングはラッパーが持つので解除 */
      .cl-main .mission,
      .cl-main .greetings,
      .cl-main .info-block{
        padding-left: 0;
        padding-right: 0;
      }
      .cl-main .info-inner,
      .cl-main .greetings-inner,
      .cl-main .mission-content{ max-width: none; }
      .cl-main .mission{ text-align: left; }
      .cl-main .mission-content{ margin: 0; }
      .cl-main .info-head{ justify-content: flex-start; }
      .cl-main .sec-title{ align-items: flex-start; }
      .cl-main .sec-title .st-en,
      .cl-main .sec-title .st-jp{ margin-right: 0; }
      /* 沿革の背景色はカラム内で完結させる */
      .cl-main .info-block.alt{
        background: transparent;
      }
      .cl-main .info-block.alt .info-inner{
        background: #f1f4f8;
        padding: clamp(32px, 4vw, 48px);
      }
      .cl-main .greetings-inner{ grid-template-columns: 1fr 1.4fr; }

      /* ===== ACCESS：トップページと同じ体裁に ===== */
      .access-office .lines{
        gap: 6px;
        margin-bottom: 24px;
      }
      .access-office .lines span{
        font-size: 20px !important;
        line-height: 1.9 !important;
        letter-spacing: 0.06em;
        color: var(--ink) !important;
      }
      .access-office .lines a{ transition: color .3s; }
      .access-office .lines a:hover{ color: var(--gold); }
      .access-map{ margin-bottom: 20px; }

      /* 枠線ボタン（トップページの .btn-o） */
      .btn-o{
        display: inline-flex;
        align-items: center;
        justify-content: space-between;
        min-width: 220px;
        height: 52px;
        padding: 0 24px;
        gap: 16px;
        border: 1px solid rgba(27, 35, 48, 0.25);
        background: transparent;
        font-family: var(--en);
        font-size: 12px;
        letter-spacing: 0.12em;
        color: var(--ink);
        cursor: pointer;
        transition: border-color .4s, background .4s, color .4s, letter-spacing .4s;
      }
      .btn-o .arr{
        width: 20px;
        height: 20px;
        border-radius: 50%;
        border: 1px solid rgba(27, 35, 48, 0.2);
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        transition: border-color .4s, background .4s;
      }
      .btn-o .arr svg{
        width: 10px;
        height: 10px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.5;
        transition: transform .3s;
      }
      .btn-o:hover{
        border-color: var(--gold);
        color: var(--n900);
        letter-spacing: 0.16em;
      }
      .btn-o:hover .arr{
        border-color: var(--gold);
        background: var(--gold);
      }
      .btn-o:hover .arr svg{
        transform: translateX(2px);
        stroke: var(--n950);
      }

      @media (max-width: 700px){
        .btn-o{ min-width: 0; width: 100%; }
        .access-office .lines span{ font-size: 18px !important; }
      }

      /* ===== タブレット・スマホ：サイドナビを非表示 ===== */
      @media (max-width: 900px){
        .side-nav{ display: none !important; }
        .cl-wrap{
          display: block;
          padding: 0 7vw;
        }
        html{ scroll-padding-top: 80px; }
        .cl-main .info-block.alt .info-inner{
          margin: 0 -3vw;
          padding: clamp(28px, 6vw, 40px) 3vw;
        }
      }

      .menu-toggle {
        background: none !important;
        background-color: transparent !important;
      }
      .menu-toggle:focus,
      .menu-toggle:active,
      .menu-toggle:focus-visible {
        background: none !important;
        background-color: transparent !important;
        -webkit-tap-highlight-color: transparent !important;
      }
      /* ボタンの初期スタイルを打ち消す */
      button {
        -webkit-appearance: none;
        appearance: none;
        background-color: transparent;
      }
      .m-drop-toggle {
        background: none !important;
        background-color: transparent !important;
        -webkit-appearance: none;
        appearance: none;
      }
      .m-drop-toggle:focus,
      .m-drop-toggle:active,
      .m-drop-toggle:focus-visible,
      .m-drop-toggle:hover {
        background: none !important;
        background-color: transparent !important;
        -webkit-tap-highlight-color: transparent !important;
        color: #f2f0ea !important;
      }
      .m-drop.open .m-drop-toggle,
      .m-drop.open .m-drop-toggle:focus,
      .m-drop.open .m-drop-toggle:active {
        background: none !important;
        background-color: transparent !important;
      }
 .header {
        position: fixed;
        top: 0; left: 0; right: 0;
        z-index: 200;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        height: clamp(56px, 5vw, 72px);
        padding-left: max(clamp(14px, 4vw, 56px), env(safe-area-inset-left));
        padding-right: max(clamp(14px, 4vw, 56px), env(safe-area-inset-right));
        background: transparent;
        transition: height 0.6s var(--sm), background 0.6s ease, box-shadow 0.6s ease;
      }
      .header.scrolled {
        height: clamp(52px, 4vw, 58px);
        background: rgba(6, 12, 24, 0.55);
        backdrop-filter: blur(20px) saturate(1.3);
        -webkit-backdrop-filter: blur(20px) saturate(1.3);
        box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04), 0 6px 24px rgba(0, 0, 0, 0.15);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
      }
      .header-logo {
        z-index: 210;
        display: flex;
        align-items: center;
        gap: clamp(8px, 1vw, 10px);
        min-width: 0;
      }
      .header-logo .logo-img {
        height: clamp(22px, 2.2vw, 28px);
        width: auto;
        object-fit: contain;
      }
      .header-logo .logo-txt { display: flex; flex-direction: column; line-height: 1.25; }
      .header-logo .logo-jp {
        font-family: var(--se);
        font-size: clamp(12.5px, 1.1vw, 15px);
        letter-spacing: 0.12em;
        color: #fff;
        white-space: nowrap;
      }
      .header-logo .logo-en {
        font-family: var(--en);
        font-size: clamp(7.5px, 0.6vw, 8.5px);
        letter-spacing: 0.16em;
        color: rgba(255, 255, 255, 0.65);
      }
 
      .header-links {
        display: flex;
        align-items: center;
        gap: clamp(14px, 2vw, 34px);
        margin-left: auto;
        margin-right: clamp(14px, 2vw, 36px);
      }
      .header-links > a,
      .header-links .nav-drop > a {
        position: relative;
        height: 40px;
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        line-height: 1.3;
      }
      .header-links > .nav-drop { display: inline-flex; align-items: center; }
      .header-links .n-jp {
        font-family: var(--sa);
        font-size: clamp(11px, 0.7vw + 5px, 13px);
        letter-spacing: 0.08em;
        color: #fff;
        white-space: nowrap;
        transition: color 0.3s;
      }
      .header-links .n-en {
        font-family: var(--en);
        font-size: clamp(7.5px, 0.4vw + 4px, 8.5px);
        letter-spacing: 0.14em;
        color: rgba(255, 255, 255, 0.5);
        white-space: nowrap;
        transition: color 0.3s;
      }
      .header-links a:hover .n-jp,
      .header-links a:hover .n-en { color: var(--gold-l); }
 
      .nav-drop { position: relative; }
      .nav-drop > a { padding-right: 16px; }
      .nav-drop .caret {
        position: absolute;
        right: 0; top: 50%;
        margin-top: -6px;
        width: 6px; height: 6px;
        border-right: 1px solid currentColor;
        border-bottom: 1px solid currentColor;
        transform: rotate(45deg);
        color: rgba(255, 255, 255, 0.6);
        transition: transform 0.35s var(--sm);
      }
      .nav-drop:hover .caret { transform: translateY(3px) rotate(225deg); }
      .nav-drop-menu {
        position: absolute;
        top: 100%; left: 50%;
        transform: translate(-50%, 8px);
        z-index: 20;
        min-width: 176px;
        padding: 10px 0;
        background: #0b1628;
        border: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.3s var(--sm), transform 0.3s var(--sm), visibility 0s linear 0.3s;
      }
      .nav-drop:hover .nav-drop-menu,
      .nav-drop:focus-within .nav-drop-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translate(-50%, 0);
        transition: opacity 0.3s var(--sm), transform 0.3s var(--sm), visibility 0s;
      }
      .nav-drop-menu.wide { min-width: 220px; }
      .header-links .nav-drop-menu a {
        display: block;
        height: auto;
        line-height: 1.6;
        padding: 11px 22px;
        font-size: 12.5px;
        letter-spacing: 0.1em;
        color: rgba(255, 255, 255, 0.75);
        white-space: nowrap;
        transition: color 0.25s;
      }
      .header-links .nav-drop-menu a:hover { color: var(--gold-l); }
      .nav-grp {
        padding: 12px 22px 6px;
        font-size: 9.5px;
        letter-spacing: 0.24em;
        color: var(--gold-l);
      }
      .nav-grp:first-child { padding-top: 4px; }
 
      .header-cta {
        z-index: 210;
        display: inline-flex;
        align-items: center;
        gap: 10px;
        height: 46px;
        padding: 0 clamp(14px, 1.6vw, 22px);
        border-radius: 4px;
        border: 1px solid rgba(255, 255, 255, 0.35);
        background: rgba(19, 34, 64, 0.92);
        color: #fff;
        transition: background 0.35s, border-color 0.35s;
      }
      .header-cta:hover { background: var(--n700); border-color: rgba(255, 255, 255, 0.6); }
      .header-cta .cta-ico { width: 18px; height: 18px; flex: none; }
      .header-cta .cta-txt { display: flex; flex-direction: column; line-height: 1.25; text-align: left; }
      .header-cta .cta-txt .jp { font-family: var(--sa); font-size: 12px; letter-spacing: 0.08em; }
      .header-cta .cta-txt .en { font-size: 8px; letter-spacing: 0.18em; color: rgba(255, 255, 255, 0.6); }
 
      /* 無料査定ボタン（ヘッダー用・ゴールド） */
      .header-cta.gold {
        border-color: #c08a1e;
        background: #c08a1e;
      }
      .header-cta.gold:hover { background: var(--gold-l); border-color: var(--gold-l); }
      .header-cta.gold .cta-txt .en { color: rgba(255, 255, 255, 0.75); }
      .header-ctas {
        z-index: 210;
        display: flex;
        align-items: center;
        gap: clamp(8px, 1vw, 12px);
      }
 
      .menu-toggle {
        display: none;
        z-index: 210;
        align-items: center;
        justify-content: flex-end;
        gap: 9px;
        min-width: 44px;
        min-height: 44px;
        background: none;
        border: 0;
        cursor: pointer;
        color: #f2f0ea;
        font-size: 9px;
        letter-spacing: 0.22em;
        -webkit-tap-highlight-color: transparent;
      }
      .menu-toggle .bars { display: flex; flex-direction: column; gap: 5px; width: 20px; }
      .menu-toggle .bars span {
        display: block;
        height: 1px;
        background: currentColor;
        transition: transform 0.5s var(--sm), width 0.5s var(--sm);
      }
      .menu-toggle .bars span:nth-child(1) { width: 100%; }
      .menu-toggle .bars span:nth-child(2) { width: 60%; align-self: flex-end; }
      body.menu-open .menu-toggle .bars span:nth-child(1) { transform: translateY(3px) rotate(45deg); }
      body.menu-open .menu-toggle .bars span:nth-child(2) { transform: translateY(-3px) rotate(-45deg); width: 100%; }
 
      /* --- mobile overlay menu --- */
      body.menu-open { overflow: hidden; }
      .menu-overlay {
        position: fixed;
        inset: 0;
        z-index: 190;
        background: linear-gradient(160deg, var(--n950), var(--n900));
        display: flex;
        flex-direction: column;
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        padding: clamp(76px, 11vh, 96px) 24px calc(48px + env(safe-area-inset-bottom));
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.6s var(--sm), visibility 0s linear 0.6s;
      }
      body.menu-open .menu-overlay { opacity: 1; visibility: visible; transition: opacity 0.6s var(--sm); }
      .menu-overlay nav {
        width: 100%;
        margin: auto;   /* 短いときだけ中央。長いときは自動で上寄せ */
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: clamp(16px, 3vh, 24px);
      }
      .menu-overlay nav > a,
      .m-drop-toggle {
        font-family: var(--se);
        font-weight: 400;
        font-size: clamp(19px, 4vw, 30px);
        color: #f2efe8;
        letter-spacing: 0.08em;
        opacity: 0;
        transform: translateY(14px);
        transition: opacity 0.5s var(--sm), transform 0.5s var(--sm), color 0.3s;
        transition-delay: var(--md, 0s);
      }
      body.menu-open .menu-overlay nav > a,
      body.menu-open .m-drop-toggle { opacity: 1; transform: translateY(0); }
      .menu-overlay nav > a:hover { color: var(--gold-l); }
      .menu-overlay nav > *:nth-child(1) { --md: 0.06s; }
      .menu-overlay nav > *:nth-child(2) { --md: 0.11s; }
      .menu-overlay nav > *:nth-child(3) { --md: 0.16s; }
      .menu-overlay nav > *:nth-child(4) { --md: 0.21s; }
      .menu-overlay nav > *:nth-child(5) { --md: 0.26s; }
      .menu-overlay nav > *:nth-child(6) { --md: 0.31s; }
      .menu-overlay nav > *:nth-child(7) { --md: 0.36s; }
 
      .m-drop { display: flex; flex-direction: column; align-items: center; }
      .m-drop-toggle {
        display: inline-flex;
        align-items: center;
        gap: 12px;
        border: 0;
        cursor: pointer;
        background: none;
        -webkit-tap-highlight-color: transparent;
      }
      .m-drop-toggle:hover { color: var(--gold-l); }
      .m-caret {
        width: 9px; height: 9px;
        border-right: 1.5px solid currentColor;
        border-bottom: 1.5px solid currentColor;
        transform: translateY(-3px) rotate(45deg);
        transition: transform 0.35s var(--sm);
      }
      .m-drop.open .m-caret { transform: translateY(2px) rotate(225deg); }
      .m-drop-menu {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: clamp(12px, 2vh, 18px);
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.45s var(--sm), opacity 0.35s, margin-top 0.45s var(--sm);
      }
      .m-drop.open .m-drop-menu { max-height: 1200px; opacity: 1; margin-top: clamp(14px, 2.5vh, 24px); }
      .m-drop-menu a {
        font-family: var(--se);
        font-size: clamp(14px, 2.6vw, 19px);
        color: rgba(242, 239, 232, 0.7);
        letter-spacing: 0.08em;
        transition: color 0.25s;
      }
      .m-drop-menu a:hover { color: var(--gold-l); }
      .m-grp { font-size: 9.5px; letter-spacing: 0.24em; color: var(--gold-l); margin-top: 6px; }

      @media (max-width: 1240px) {
        .header-links { gap: 18px; margin-right: 18px; }
      }
      @media (max-width: 1080px) {
        .header-links { gap: 13px; margin-right: 13px; }
        .header-ctas { gap: 8px; }
        .header-cta { padding: 0 14px; }
        .header-cta .cta-txt .en { display: none; }
      }
      @media (max-width: 1024px) {
        .hero-c { top: 50%; transform: translateY(-50%); }
        .hero-btns { display: none; }
        .afterv-head { gap: 24px; }
      }
      @media (max-width: 960px) {
        .header-links, .header-ctas { display: none !important; }
        .header { gap: 8px; }
        .cta-mini {
          display: inline-flex;
          width: 34px;
          height: 34px;
        }
        .cta-mini svg { width: 15px; height: 15px; }
        .cta-mini + .cta-mini { margin-left: 6px; }
        .cta-mini.gold { margin-left: auto; }
        .menu-toggle { display: inline-flex; gap: 0; min-width: 30px; }
        .menu-toggle .bars { width: 18px; gap: 4px; }
        .menu-toggle > span:last-child { display: none; }
        body.menu-open .header,
        body.menu-open .header.scrolled {
          background: transparent;
          border-bottom: none;
          box-shadow: none;
          backdrop-filter: none;
          -webkit-backdrop-filter: none;
        }
        body.menu-open .cta-mini { opacity: 0; pointer-events: none; }
      }
      @media (max-width: 460px) {
        .cta-mini { width: 32px; height: 32px; }
        .cta-mini svg { width: 14px; height: 14px; }
        .cta-mini + .cta-mini { margin-left: 5px; }
        .header-logo .logo-jp { font-size: 12px; }
      }
      @media (max-width: 380px) {
        .cta-mini { width: 30px; height: 30px; }
        .cta-mini svg { width: 13px; height: 13px; }
        .cta-mini + .cta-mini { margin-left: 4px; }
        .header-logo .logo-jp { font-size: 11px; }
        .header-logo .logo-img { height: 20px; }
      }

/* ==========================================================================
   News Archive Styles (2-3 Column Grid)
   ========================================================================== */

/* 2〜3カラムレイアウト */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 24px;
  margin-top: 40px;
}

@media (max-width: 1024px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 16px;
  }
}

@media (max-width: 599px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
}

/* 記事カード */
.news-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
}

.news-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.news-card-thumb {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 アスペクト比 */
  background: #f1f5f9;
  overflow: hidden;
}

.news-card-thumb img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.news-card-thumb img.no-img {
  object-fit: cover;
  opacity: 0.5;
}

.news-card:hover .news-card-thumb img {
  transform: scale(1.05);
}

.news-card-category {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.85);
  color: #fff;
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.05em;
  backdrop-filter: blur(4px);
}

.news-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.news-card-date {
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 8px;
  font-weight: 500;
}

.news-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.5;
  color: #0f172a;
  margin: 0 0 10px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-excerpt {
  font-size: 0.875rem;
  color: #475569;
  line-height: 1.6;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ページネーション */
.news-pagination {
  margin-top: 60px;
  display: flex;
  justify-content: center;
}

.news-pagination .nav-links {
  display: flex;
  gap: 8px;
  align-items: center;
}

.news-pagination a,
.news-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  color: #0f172a;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.news-pagination a:hover {
  background: #0f172a;
  color: #fff;
  border-color: #0f172a;
}

.news-pagination .current {
  background: #0f172a;
  color: #fff;
  border-color: #0f172a;
}

/* ==========================================================================
   Single Post Styles
   ========================================================================== */
.post-header {
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e2e8f0;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.9rem;
}

.post-date {
  color: #64748b;
}

.post-category {
  background: #0f172a;
  color: #fff;
  padding: 2px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
}

.post-title {
  font-size: 1.8rem;
  line-height: 1.4;
  color: #0f172a;
  margin: 0;
}

.post-thumbnail {
  margin-bottom: 32px;
  border-radius: 8px;
  overflow: hidden;
}

.post-thumbnail img {
  width: 100%;
  height: auto;
  display: block;
}

/* 本文内の基本スタイル */
.post-content {
  line-height: 1.8;
  color: #334155;
  font-size: 1rem;
  margin-bottom: 48px;
}

.post-content p {
  margin-bottom: 1.5em;
}

.post-content h2 {
  font-size: 1.4rem;
  padding-left: 12px;
  border-left: 4px solid #0f172a;
  margin: 2em 0 1em;
}

.post-content h3 {
  font-size: 1.2rem;
  margin: 1.8em 0 0.8em;
}

/* ナビゲーション（前後の記事＆一覧へ戻る） */
.post-navigation {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid #e2e8f0;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.btn-back {
  display: inline-block;
  padding: 8px 20px;
  background: #f1f5f9;
  color: #0f172a;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.2s;
}

.btn-back:hover {
  background: #e2e8f0;
}