/* ===================================
    G-RIDE
====================================== */
/*
Table of contents

    01. font
    02. CSS color variable
    03. Reset
    04. Typography
    05. General
    06. Background and border
    07. Width
    08. Height
    09. Loop
    10. Header
    11. Page title
    12. Layout
    13. Elements
    14. Blog
    15. Portfolio
    16. Shop
    17. Footer

    recruit page

*/

/* ===================================
    00. Container width override
====================================== */
/* Bootstrap デフォルト (xxl: 1320px) → 1440px に拡張 */
@media (min-width: 1400px) {
    .container,
    .container-xxl,
    .container-xl {
        max-width: 1440px !important;
    }
}

/* ===================================
    01. font
====================================== */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@200;300;400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Akshar:wght@300..700&display=swap');
:root {
    --alt-font: 'Plus Jakarta Sans', sans-serif;
    --primary-font: "Noto Sans JP", sans-serif;
    --en-font: "Akshar", sans-serif;
}

/* ===================================
    02. CSS color variable
====================================== */
/* variable */
:root {
    --base-color: var(--medium-gray);
    --main: #0075be; /*blue*/
    --sub: #003e64; /*extra dark blue*/
    --gradient-blue: linear-gradient(135deg, var(--main) 0%, #47c1ff 100%); /*ブランドブルーグラデーション*/
    --heading-color: rgb(26, 26, 26); /*見出しカラー*/
    --light-blue: #e5f1f8;
    --very-light-blue: #f4f7f8;
    --dark-blue: #004896; /*dark blue*/
    --dark-gray: #191919;
    --medium-gray: rgb(47, 49, 52);
    --extra-medium-gray: #707070;
    --very-light-gray: #f8f8f8;

    --duration-default: 0.4s;
    --easing-default: ease-out;
    --transit-default: all var(--duration-default) var(--easing-default);
}

/* ===================================
    03. Reset
====================================== */
* {
    letter-spacing: .04em;
}

body {
    font-size: 16px;
}

/* Container: xl 1140px / xxl 1320px を明示 */
@media (min-width: 1200px) and (max-width: 1399px) {
    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl {
        max-width: 1140px;
    }
}
@media (min-width: 1400px) {
    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {
        max-width: 1320px;
    }
}

.en-font {
  font-family: var(--en-font);
}
html {
    overflow-x: hidden;
    color: var(--base-color);
}

/* ===================================
    04. Typography
====================================== */
/* Heading */
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    margin-bottom: 25px;
}
h1, .h1 {
    line-height: 4.6rem;
}
h2 {
    line-height: 3.7rem;
}
h3 {
    line-height: 3.4rem;
}
h4 {
    line-height: 3rem;
}
h5 {
    line-height: 2.5rem;
}
h6 {
    line-height: 2.3rem;
}

/* ===================================
   Section heading: EN large / JA small
====================================== */
span.alt-font.ls-3px.text-uppercase.d-inline-block {
    font-size: clamp(1.8rem, 3.5vw, 3rem) !important;
    letter-spacing: 0.02em !important;
    font-weight: 800 !important;
    line-height: 1.1;
    margin-bottom: 0.4rem !important;
}
span.alt-font.ls-3px.text-uppercase.d-inline-block ~ h3,
span.alt-font.ls-3px.text-uppercase.d-inline-block ~ h4 {
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: 0.2em !important;
    margin-bottom: 1.8rem !important;
    line-height: 1.8 !important;
}
#message h4 {
    font-size: clamp(1.8rem,2.8vw,3rem) !important;
    line-height: 1.2 !important;
    letter-spacing: 0.02em !important;
    margin-bottom: 1.5rem !important;
    color: #1a1a1a !important;
}
@media (max-width: 767px) {
    span.alt-font.ls-3px.text-uppercase.d-inline-block {
        font-size: clamp(1.5rem, 7vw, 2rem) !important;
    }
}

/* Text color */
.text-main, .btn-link.text-main, a.text-main-hover:hover {
  color: var(--main);
}
.text-sub, .btn-link.text-sub, a.text-sub-hover:hover {
  /* color: var(--sub); */
}
.text-dark-blue, .btn-link.text-dark-blue, a.text-dark-blue-hover:hover {
  color: var(--dark-blue);
}
.text-light-blue, .btn-link.text-light-blue, a.text-light-blue-hover:hover {
  color: var(--light-blue);
}

/* Text stroke color */
.text-outline-color-main {
  -webkit-text-stroke-color: var(--main);
}
.text-outline-color-sub {
  -webkit-text-stroke-color: var(--sub);
}
.text-outline-color-dark-blue {
  -webkit-text-stroke-color: var(--dark-blue);
}

/* ===================================
    05. General
====================================== */
/* Scroll progress */
.scroll-progress {
    mix-blend-mode: normal;
}
.scroll-progress .scroll-line {
    background-color: rgba(0, 0, 0, 0.15);
}
.scroll-progress .scroll-point {
    background-color: var(--main);
}
.scroll-progress .scroll-text {
    color: var(--main);
}

/* ===================================
    06. Background and border
====================================== */
/* Background color */
.bg-main {
  background-color: var(--main);
}
.bg-sub {
  background-color: var(--sub);
}
.bg-dark-blue {
  background-color: var(--dark-blue);
}
.bg-light-blue {
    background-color: var(--light-blue);
}
.bg-very-light-blue {
    background-color: var(--very-light-blue);
}
.border-color-light-blue {
    border-color: #c8dff0 !important;
}
.bg-nero-grey {
    background-color: #1F1F1F;
}
/* Background */
.bg-right::before{
    background-color: var(--very-light-gray);
    content: "";
    display: block;
    height: 120%;
    position: absolute;
    left: 16%;
    top: 50%;
    transform: translate(0, -50%);
    width: 100vw;
    z-index: -1;
}
#message .bg-right::before{
    height: 150%;
    top: 55%;
}
.bg-left::before{
    background-color: var(--very-light-gray);
    content: "";
    display: block;
    height: 120%;
    position: absolute;
    right: 16%;
    top: 50%;
    transform: translate(0, -50%);
    width: 100vw;
    z-index: -1;
}

/* Transparent background color */
.bg-gradient-sub-transparent {
  /*background-image: -webkit-gradient(linear, left bottom, left top, from(rgba(0, 62, 100, 0.8)), to(transparent));
  background-image: linear-gradient(to top, rgba(0, 62, 100, 0.8) 0%, transparent 100%);*/
  background-image: -webkit-gradient(linear, left bottom, left top, from(rgba(5, 30, 60, 0.8)), to(transparent));
  background-image: linear-gradient(to top, rgba(5, 30, 60, 0.8) 0%, transparent 100%);
}

/* ===================================
    09. Loop - Padding, margin, position, font weight, min height, opacity and z-index
====================================== */


/* ===================================
   09-b. Marquee / ltr-slide
====================================== */
.ltr_slide {
    overflow: hidden;
    user-select: none;
}
.ltr-slide_wrap {
    overflow: hidden;
}
.ltr-slide {
    display: flex;
    width: max-content;
    animation: ltr-slide-scroll 24s linear infinite;
}
.ltr-slide__list {
    display: flex;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-shrink: 0;
}
.ltr-slide__text {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--sub);
    white-space: nowrap;
    padding: 0 1.5rem;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.ltr-slide__sep {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--main);
    padding: 0 0.5rem;
    line-height: 1;
    flex-shrink: 0;
}
@keyframes ltr-slide-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===================================
   Service Image Marquee
====================================== */
.svc-marquee {
    overflow: hidden;
    user-select: none;
    background: #0c1422;
    /* border-bottom: 1px solid rgba(255, 255, 255, 0.06); */
    padding: 2.5rem 0;
}
.svc-marquee__track {
    display: flex;
    width: max-content;
    align-items: center;
    animation: ltr-slide-scroll 80s linear infinite;
}
.svc-marquee__list {
    display: flex;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-shrink: 0;
    gap: 2rem;
}
.svc-marquee__text {
    font-size: clamp(4.5rem, 9vw, 8rem);
    font-weight: 800;
    font-style: italic;
    background: linear-gradient(90deg, rgba(255,255,255,0.25) 0%, rgba(255,255,255,0.75) 50%, rgba(255,255,255,0.25) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-family: var(--alt-font);
    flex-shrink: 0;
    padding: 0 0.5rem;
}
.svc-marquee__img {
    width: clamp(140px, 15vw, 240px);
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    flex-shrink: 0;
}

/* Marquee text band */
.marquee-band {
    overflow: hidden;
    white-space: nowrap;
    padding: 18px 0;
    pointer-events: none;
}
.marquee-band__inner {
    display: inline-flex;
    animation: ltr-slide-scroll 30s linear infinite;
    width: max-content;
}
.marquee-band__text {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 700;
    color: rgba(0, 0, 0, 0.06);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding-right: 3rem;
    white-space: nowrap;
    font-family: var(--alt-font);
    line-height: 1;
}

/* ===================================
   10. Header
====================================== */
/* header */ 

header .navbar-brand {
    padding: 18px 0;
}
@media (max-width: 991px) {
    header .navbar-brand {
        padding: 14px 0;
    }
    header.sticky.sticky-active .navbar-brand {
        padding: 8px 0;
    }
}

.header-tagline {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.75);
    margin-top: 4px;
    white-space: nowrap;
    transition: var(--transit-default);
}
header.sticky.sticky-active .header-tagline {
    color: var(--medium-gray);
}

/* Nav pill */
.header-nav-pill {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 100px;
    padding: 0.3rem 0.75rem;
}
.header-nav-pill .navbar-nav .nav-link {
    color: #000;
    font-size: 14px;
    font-weight: 600;
    padding: 0.5rem 0.75rem;
    opacity: 1 !important;
    transition: var(--transit-default);
}
@media (min-width: 992px) and (max-width: 1380px) {
    .header-nav-pill .navbar-nav .nav-link {
        font-size: 13px;
        padding: 0.5rem 0.55rem;
    }
}
.header-nav-pill .navbar-nav .nav-link:hover,
.header-nav-pill .navbar-nav .nav-item.active .nav-link {
    color: #162c84;
}
/* dropdown arrow inside pill */
.header-nav-pill .fa-angle-down {
    color: var(--sub);
}

.nav-megamenu-icon {
    font-size: 9px;
    color: #000;
    margin-left: 3px;
    vertical-align: middle;
}

/* megamenu open/close animation */
.header-nav-pill .nav-item.dropdown .dropdown-menu {
    display: block !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}
.header-nav-pill .nav-item.dropdown:hover .dropdown-menu,
.header-nav-pill .nav-item.dropdown .dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    animation: none !important;
}
/* マウスのギャップを埋める透明ブリッジ */
.header-nav-pill .nav-item.dropdown .dropdown-menu::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    height: 12px;
}

/* Megamenu */
.megamenu {
    border-top: 3px solid var(--main) !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12) !important;
    margin-top: 0 !important;
    border-radius: 0 0 12px 12px !important;
    overflow: hidden;
}

/* transparent bridge: fills the gap between pill and dropdown */
.megamenu::before {
    content: '';
    position: absolute;
    top: -32px;
    left: 0;
    right: 0;
    height: 32px;
    background: transparent;
}

/* ── Flex wrapper ── */
.megamenu-inner {
    display: flex;
    min-height: 340px;
}

/* ── Left accent panel ── */
.megamenu-accent {
    width: 220px;
    flex-shrink: 0;
    background: #111;
    padding: 40px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.megamenu-accent::after {
    content: 'G-RIDE';
    position: absolute;
    bottom: -12px;
    right: -8px;
    font-family: var(--alt-font);
    font-size: 60px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.04);
    line-height: 1;
    pointer-events: none;
    user-select: none;
}
.megamenu-accent__kicker {
    display: block;
    font-family: var(--alt-font);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--main);
    margin-bottom: 14px;
}
.megamenu-accent__title {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    line-height: 1.4;
    margin-bottom: 14px;
}
.megamenu-accent__desc {
    font-size: 11.5px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.8;
    margin-bottom: 28px;
}
.megamenu-accent__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    font-family: var(--alt-font);
    color: #fff;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 100px;
    padding: 9px 18px;
    transition: background 0.2s, border-color 0.2s;
    width: fit-content;
}
.megamenu-accent__link:hover {
    background: var(--main);
    border-color: var(--main);
    color: #fff;
}

/* ── Right cards grid ── */
.megamenu-cards {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 32px 24px;
    gap: 0;
    align-items: start;
}
.megamenu-col {
    padding: 0 18px;
    border-right: 1px solid rgba(0, 0, 0, 0.06);
}
.megamenu-col:first-child { padding-left: 0; }
.megamenu-col:last-child  { border-right: none; padding-right: 0; }

/* Image */
.megamenu-img-wrap {
    width: 100%;
    height: 160px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 10px;
    position: relative;
}
.megamenu-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease, filter 0.4s ease;
}
.megamenu-img-num {
    position: absolute;
    top: 8px;
    left: 10px;
    font-family: var(--alt-font);
    font-size: 10px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.1em;
    z-index: 1;
}

/* Card link */
.megamenu-card {
    display: block;
    text-decoration: none;
    margin-bottom: 10px;
}
@media screen and (min-width: 62.6em) {
    .megamenu-card:hover .megamenu-img-wrap img {
        transform: scale(1.06);
        filter: brightness(0.72);
    }
}
.megamenu-label {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.megamenu-en-name {
    font-family: var(--alt-font);
    font-size: 13px;
    font-weight: 700;
    color: var(--sub);
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.2s;
}
.megamenu-jp-name {
    font-size: 11px;
    color: var(--medium-gray);
    margin-top: 3px;
}
.megamenu-card:hover .megamenu-en-name {
    color: var(--main);
}

/* Sub-item list */
.megamenu-list {
    list-style: none;
    padding: 6px 0 0;
    margin: 0;
}
.megamenu-list li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.megamenu-list li:last-child {
    border-bottom: none;
}
.megamenu-list li a {
    display: block;
    padding: 5px 0 5px 14px;
    font-size: 11.5px;
    color: var(--medium-gray);
    text-decoration: none;
    position: relative;
    transition: color 0.2s, padding-left 0.2s;
}
.megamenu-list li a:hover {
    color: var(--main);
    padding-left: 20px;
}

/* Tel */
.header-tel {
    color: #fff;
    font-size: 15px;
    letter-spacing: 0.03em;
    white-space: nowrap;
}
@media (min-width: 992px) and (max-width: 1380px) {
    .header-tel { font-size: 13px; }
}
header.sticky.sticky-active .header-tel {
    color: var(--sub);
}

/* Contact CTA button (index contact section) */
.contact-cta-btn {
    transition: background .2s, color .2s;
}
.contact-cta-btn:hover {
    background: var(--main) !important;
    color: #fff !important;
}
.contact-cta-btn:hover span:last-child {
    background: rgba(255,255,255,.2) !important;
}

/* Contact button */
.header-contact-btn {
    white-space: nowrap;
    align-self: center;
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    padding: 12px 1.4rem !important;
    border-radius: 4px !important;
}
.header-contact-btn i {
    transition: transform .3s cubic-bezier(0.4, 0, 0.2, 1);
}
.header-contact-btn:hover i {
    transform: translateX(4px);
}

/* Sticky active: pill background off */
header.sticky.sticky-active .header-nav-pill {
    background: transparent;
}

/* Sticky active: frosted glass background for desktop */
header.sticky.sticky-active .navbar {
    background: rgba(255, 255, 255, 0.75) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

/* Desktop: force transparent navbar when not scrolled (same framework override as mobile) */
@media (min-width: 992px) {
    header:not(.sticky-active) .navbar,
    header:not(.sticky-active) .navbar.bg-transparent {
        background: transparent !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }
}

/* Mobile: stack pill items vertically */
@media (max-width: 991px) {
    /* At top: transparent
     * .navbar.bg-transparent に !important で白を強制するフレームワークルール(responsive.css:19790)を
     * 詳細度の高いセレクタで上書きする */
    header .navbar,
    header .navbar.bg-transparent {
        background: transparent !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }
    /* Scrolled or mobile menu open: frosted glass */
    header.sticky.sticky-active .navbar,
    header.sticky.sticky-active .navbar.bg-transparent,
    header .navbar:has(.navbar-collapse.show) {
        background: rgba(255, 255, 255, 0.9) !important;
        backdrop-filter: blur(14px) !important;
        -webkit-backdrop-filter: blur(14px) !important;
    }
    /* Prevent framework from hiding navbar on scroll */
    header.sticky .navbar {
        transform: none !important;
    }
    .header-nav-pill {
        background: transparent;
        border-radius: 0;
        padding: 0;
    }
    .header-nav-pill .navbar-nav .nav-link {
        color: var(--medium-gray) !important;
    }
    .header-right {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        padding: 0.5rem 0 1rem;
    }
    .header-tel {
        color: var(--sub);
    }
    .me-3 {
        margin-right: 0 !important;
    }

    /* Bootstrap の navbar-collapse はモバイルでは非表示（独自オーバーレイを使う） */
    header .navbar-collapse {
        display: none !important;
    }

    /* Hamburger lines: white on mobile */
    .navbar-toggler-line {
        background: var(--white) !important;
    }
    header.sticky.sticky-active .navbar-toggler-line {
        background: var(--medium-gray) !important;
    }
    /* Tagline: dark on mobile when scrolled (white bg) */
    header.sticky.sticky-active .header-tagline {
        color: var(--medium-gray);
    }

    /* Hamburger: compact & uniform lines */
    .navbar-toggler {
        width: 16px !important;
        height: 10px !important;
    }
    .navbar-toggler-line {
        height: 1px !important;
        width: 16px !important;
    }
    .navbar-toggler-line:nth-child(1) {
        top: 0px !important;
        width: 16px !important;
    }
    .navbar-toggler-line:nth-child(2) {
        top: 5px !important;
        width: 16px !important;
    }
    .navbar-toggler-line:nth-child(3) {
        top: 5px !important;
        width: 16px !important;
    }
    .navbar-toggler-line:nth-child(4) {
        top: 10px !important;
        width: 16px !important;
    }
    .navbar-collapse-show .navbar-toggler-line:nth-child(1),
    .navbar-collapse-show .navbar-toggler-line:nth-child(4) {
        top: 5px !important;
        width: 0% !important;
    }
}
/*header.sticky .disable-fixed .navbar-brand {
    padding: 18px 0;
}*/
header .navbar-brand img {
    max-height: 60px;
}
/*.hamburger-logo img {
    max-height: 85px;
}*/
/*.header-icon .header-social-icon a {
    font-size: 17px;
    padding-left: 15px;
    font-weight: 600;
}
header.sticky .navbar {
    min-height: 70px;
}
.hamburger-menu-simple .menu-item-list .nav-link {
    font-size: 55px;
    line-height: 50px;
}
header .elements-social ul li {
    margin-right: 25px;
    margin-left: 0;
}
header .elements-social ul li a {
    width: auto;
    height: auto;
}*/
header .h-logo {
    color: var(--white);
    font-size: 28px !important;
    @media (max-width: 991px) {
        color: var(--white);
    }
}
header.sticky.sticky-active [data-header-hover=light] .h-logo,
header.sticky.sticky-active .h-logo {
    color: var(--sub) !important;
}
@media (max-width: 991px) {
    header.sticky.sticky-active .h-logo {
        color: var(--white) !important;
    }
}
header.sticky.sticky-active [data-header-hover=light] .navbar-nav .nav-link {
  color: var(--medium-gray);
}
header.sticky.sticky-active [data-header-hover=light] .navbar-nav .nav-item:hover .nav-link,
header.sticky.sticky-active [data-header-hover=light] .navbar-nav .nav-item.active .nav-link {
    color: #162c84;
    opacity: 1 ;
}


header.sticky.sticky-active [data-header-hover=light] .icon > a {
  color: var(--medium-gray);
}
header.sticky.sticky-active [data-header-hover=light] .icon > a:hover {
  color: var(--main);
  opacity: 1;
}
/* Navbar */
.navbar .navbar-nav .nav-item:hover .nav-link, .navbar .navbar-nav .nav-item.active .nav-link {
    color: #162c84;
    opacity: 1;
    @media (max-width: 991px) {
        color: var(--main);
    }
}

.navbar .navbar-nav .nav-item .nav-link.active {
  color: var(--main);
  opacity: 1;
}
.navbar .navbar-nav .nav-link{
    color: #000;
    @media (max-width: 991px) {
        color: var(--medium-gray);
    }
}

.navbar .navbar-nav .dropdown .dropdown-menu a:hover {
    color: var(--main);
}

/* Header hover submenu light */
.submenu-light {
  background-color: transparent !important;
}

/* ===================================
   11. Page title
====================================== */

/* --- News page hero (flat design) --- */
.news-hero {
    background-color: #edf0f4;
    padding: 3.5rem 0 0;
    position: relative;
    overflow: hidden;
}
.news-hero__inner {
    padding-bottom: 2.5rem;
}
.news-hero__label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.18em;
    color: var(--extra-medium-gray);
    margin-bottom: 0.5rem;
    font-family: var(--primary-font);
}
.news-hero__deco {
    display: inline-block;
    width: 22px;
    height: 2px;
    background: var(--main);
    flex-shrink: 0;
    border-radius: 1px;
}
.news-hero__title {
    font-size: clamp(3.5rem, 10vw, 7rem);
    font-weight: 800;
    color: var(--sub);
    line-height: 1;
    margin: 0;
    letter-spacing: -0.02em;
    font-family: var(--alt-font);
}
.news-hero__breadcrumb {
    background: rgba(0, 0, 0, 0.06);
    padding: 0.55rem 0;
}
.news-hero__breadcrumb nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem;
    font-size: 12px;
    color: var(--extra-medium-gray);
}
.news-hero__breadcrumb nav a {
    color: var(--extra-medium-gray);
    text-decoration: none;
    transition: var(--transit-default);
}
.news-hero__breadcrumb nav a:hover { color: var(--main); }
.news-hero__breadcrumb .bc-sep {
    color: rgba(0, 0, 0, 0.3);
    font-size: 10px;
}
.news-hero__breadcrumb .bc-current {
    color: rgba(0, 0, 0, 0.45);
}
@media (max-width: 767px) {
    .news-hero { padding-top: 2.5rem; }
    .news-hero__inner { padding-bottom: 2rem; }
}

/* --- New page header (MOVO style) --- */
.page-head {
    position: relative;
    height: 560px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-bottom: 80px;
    padding: 0;
    clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
    transform: translateZ(0);
}
@media (max-width: 991px) {
    /* ipad-top-space-margin の 76px 余白を打ち消してヒーロー背景をナビ下まで伸ばす */
    .page-head.ipad-top-space-margin,
    .contact-hero.ipad-top-space-margin {
        margin-top: 0 !important;
    }
}
@media (max-width: 767px) {
    .page-head {
        height: 420px;
        clip-path: polygon(0 0, 100% 0, 100% 91%, 0 100%);
    }
}

/* background image div — animates with zoom */
.page-head-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    animation: pageHeadZoom 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    z-index: 0;
}
@keyframes pageHeadZoom {
    from { transform: scale(1.08); }
    to   { transform: scale(1); }
}

/* background video */
.page-head-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

/* overlay */
.page-head::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
        rgba(5, 30, 60, 0.78) 0%,
        rgba(5, 30, 60, 0.50) 55%,
        rgba(5, 30, 60, 0.20) 100%);
    z-index: 1;
}

.page-head .container {
    position: relative;
    z-index: 2;
    padding-bottom: 1.4rem;
}

/* Label (英字 — サブテキスト＋あしらい) */
.page-head-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: 0.22em;
    font-family: var(--alt-font);
    line-height: 2;
    margin-bottom: 0.4rem;
    opacity: 0;
    animation: pageHeadSlideUp 0.6s ease-out 0.3s forwards;
    text-transform: uppercase;
}
.page-head-label::before {
    content: '';
    display: inline-block;
    width: 22px;
    height: 2px;
    background: linear-gradient(90deg, var(--main) 0%, #47c1ff 100%);
    border-radius: 1px;
    flex-shrink: 0;
}

/* Title (日本語 — 大きく) */
.page-head-title {
    display: block;
    font-size: clamp(2rem, 5vw, 3.8rem);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.01em;
    font-family: var(--primary-font);
    margin: 0;
    line-height: 1.2;
    opacity: 0;
    animation: pageHeadSlideUp 0.6s ease-out 0.5s forwards;
}
.page-head-title::before {
    display: none;
}

@keyframes mobileMenuFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* ===================================
   Mobile full-screen overlay menu
====================================== */
.mobile-overlay {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    height: 100dvh;
    background: #fff;
    z-index: 2000;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateX(24px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    display: flex;
    flex-direction: column;
}
.mobile-overlay.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}
@media (min-width: 992px) {
    .mobile-overlay { display: none !important; }
}

/* Header: brand + close */
.mobile-overlay__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    z-index: 1;
}
.mobile-overlay__brand-wrap .header-tagline {
    color: var(--medium-gray);
}
.mobile-overlay__brand {
    font-size: 20px;
    font-weight: 800;
    color: var(--sub);
    text-decoration: none;
    letter-spacing: -0.01em;
}
.mobile-overlay__close {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 26px;
    color: var(--medium-gray);
    padding: 0;
    line-height: 1;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Nav list */
.mobile-overlay__nav {
    padding: 0 1.25rem;
}
.mobile-overlay__item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.mobile-overlay__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--medium-gray);
    text-decoration: none;
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    gap: 8px;
    letter-spacing: 0.02em;
}
a.mobile-overlay__link { cursor: pointer; }
.mobile-overlay__item--has-sub > .mobile-overlay__link { cursor: pointer; }
.mobile-overlay__chevron {
    font-size: 9px;
    color: rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
}

/* 事業内容: toggle +/- */
.mobile-overlay__toggle {
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    padding: 0;
}
/* +/- icon (uses .mobile-sub-toggle-icon shared styles) */
.mobile-overlay__toggle .mobile-sub-toggle-icon {
    width: 11px;
    height: 11px;
}
.mobile-overlay__toggle .mobile-sub-toggle-icon::before {
    width: 11px;
}
.mobile-overlay__toggle .mobile-sub-toggle-icon::after {
    height: 11px;
}
.mobile-overlay__toggle[aria-expanded="true"] .mobile-sub-toggle-icon::after {
    transform: translateX(-50%) rotate(90deg);
    opacity: 0;
}

/* Sub-menu accordion */
.mobile-overlay__sub {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    background: var(--very-light-gray);
    margin: 0 -1.25rem;
    padding: 0 1.25rem;
}

/* Department row (3-level accordion) */
.mobile-dept {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.mobile-dept:last-child { border-bottom: none; }
.mobile-dept__link {
    display: block !important;
    width: 100% !important;
    text-decoration: none;
}
.mobile-dept__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 11px 0;
}
.mobile-dept__link:active .mobile-dept__inner { background: rgba(0, 117, 190, 0.07); }
.mobile-dept__toggle {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: rgba(0, 0, 0, 0.35);
}
.mobile-dept__chevron-icon {
    font-size: 10px;
    transition: transform 0.25s ease;
}
.mobile-dept__toggle[aria-expanded="true"] .mobile-dept__chevron-icon {
    transform: rotate(180deg);
}
.mobile-dept__services {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.mobile-dept__list {
    list-style: none;
    padding: 0 0 6px 0;
    margin: 0;
}
.mobile-dept__list li {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}
.mobile-dept__list li a {
    display: block;
    padding: 10px 0 10px 86px;
    font-size: 12px;
    font-weight: 500;
    color: var(--medium-gray);
    text-decoration: none;
    line-height: 1.4;
    position: relative;
}
.mobile-dept__list li a::before {
    content: '–';
    position: absolute;
    left: 72px;
    color: rgba(0, 0, 0, 0.25);
    font-size: 10px;
}
.mobile-dept__list li a:active { color: var(--main); }
a.mobile-overlay__link:active { background: rgba(0, 0, 0, 0.04); border-radius: 4px; }

/* Sub-item image/text (shared with dept link) */
.mobile-sub-item__img {
    width: 72px;
    height: 48px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}
.mobile-sub-item__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.mobile-sub-item__text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.mobile-sub-item__en {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--main);
    font-family: var(--alt-font);
    text-transform: uppercase;
    line-height: 1;
}
.mobile-sub-item__jp {
    font-size: 13px;
    font-weight: 600;
    color: var(--sub);
    line-height: 1.3;
}
.mobile-sub-item__chevron {
    font-size: 9px;
    color: rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
}

/* CTA buttons */
.mobile-overlay__cta {
    padding: 1.5rem 1.25rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.mobile-overlay__cta-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.95rem 1.25rem;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.02em;
    overflow: hidden;
    z-index: 0;
}
.mobile-overlay__cta-btn > * {
    position: relative;
    z-index: 1;
}
.mobile-overlay__cta-btn::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: calc(100% + 2px);
    background-position: 100% 0;
    background-repeat: no-repeat;
    background-size: 0 100%;
    transition: background-size .35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}
.mobile-overlay__cta-btn:hover::before {
    background-size: 100% 100%;
    background-position: 0 0;
}
.mobile-overlay__cta-btn--dark {
    background: #1a1a1a;
    color: #fff;
}
.mobile-overlay__cta-btn--dark::before {
    background-image: linear-gradient(90deg, var(--main), var(--main));
}
.mobile-overlay__cta-btn--blue {
    background: var(--main);
    color: #fff;
}
.mobile-overlay__cta-btn--blue::before {
    background-image: linear-gradient(90deg, var(--sub), var(--sub));
}
.mobile-overlay__cta-btn--dark:hover,
.mobile-overlay__cta-btn--blue:hover {
    color: #fff;
}

/* Company footer block — matches page footer style */
.mobile-overlay__company {
    background: #12141a;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}


/* Body */
.overlay-company-body {
    padding: 1.5rem 1.25rem 2rem;
}
.overlay-company-name {
    font-size: 26px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.04em;
    text-decoration: none;
    line-height: 1;
}
.overlay-company-name:hover { color: rgba(255,255,255,0.8); }

.mobile-overlay__company-info {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.mobile-overlay__company-info li {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
}
.mobile-overlay__company-info a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
}
.mobile-overlay__company-info a:hover { color: #fff; }

/* ===================================
   Service feature photo cards
====================================== */
.svc-feature-card {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
}
.svc-feature-card__img {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}
.svc-feature-card__img > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}
.svc-feature-card:hover .svc-feature-card__img > img {
    transform: scale(1.05);
}
.svc-feature-card__logo-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 6px;
    padding: 5px 10px;
    backdrop-filter: blur(4px);
}
.svc-feature-card__logo-badge img {
    height: 26px;
    width: auto;
    display: block;
}
.svc-feature-card__body {
    padding: 1rem 1.25rem 1.25rem;
    flex: 1;
}
.svc-feature-card__title {
    font-size: 15px;
    font-weight: 700;
    color: var(--sub);
    display: block;
    margin-bottom: 8px;
    line-height: 1.4;
}
.svc-feature-card__text {
    font-size: 13px;
    line-height: 1.75;
    color: var(--medium-gray);
    margin: 0;
}

/* +/- shared icon */
.mobile-sub-toggle-icon {
    position: relative;
    display: block;
    width: 13px;
    height: 13px;
}
.mobile-sub-toggle-icon::before,
.mobile-sub-toggle-icon::after {
    content: '';
    position: absolute;
    background: var(--medium-gray);
    border-radius: 1px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}
.mobile-sub-toggle-icon::before {
    width: 100%;
    height: 1px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}
.mobile-sub-toggle-icon::after {
    width: 1px;
    height: 100%;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
}

@keyframes pageHeadSlideUp {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* --- Breadcrumb (inside .page-head) --- */
.page-breadcrumb {
    position: relative;
    z-index: 10;
    background: transparent !important;
    padding: 0.55rem 0;
    opacity: 0;
    animation: pageHeadFadeIn 0.5s ease-out 0.8s forwards;
}
@keyframes pageHeadFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
.page-breadcrumb nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.75);
}
.page-breadcrumb nav a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: var(--transit-default);
}
.page-breadcrumb nav a:hover { opacity: 0.8; }
.page-breadcrumb .bc-sep {
    color: rgba(255, 255, 255, 0.4);
    font-size: 10px;
}
.page-breadcrumb .bc-current {
    color: rgba(255, 255, 255, 0.55);
}

/* ===================================
    13. Elements
====================================== */

/* btn */

/* Slide-in hover effect (jaftas.jp style) */
.btn-hover-slide {
    position: relative !important;
    overflow: hidden !important;
    z-index: 0;
}
.btn-hover-slide::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: calc(100% + 2px);
    background-image: linear-gradient(90deg, var(--main), var(--main));
    background-position: 100% 0;
    background-repeat: no-repeat;
    background-size: 0 100%;
    transition: background-size .35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}
.btn-hover-slide:hover::before {
    background-size: 100% 100%;
    background-position: 0 0;
}

.btn.btn-link {
    padding: 0 0 2px;
    font-weight: 600;
}

.btn.btn-base-color {
  background-color: var(--main);
}
.btn.btn-base-color:hover, .btn.btn-base-color:active {
  border-color: var(--dark-blue);
  background-color: var(--dark-blue);
  color: var(--white);
}
.btn.btn-box-shadow.btn-base-color:hover, .btn.btn-box-shadow.btn-base-color:active {
  background-color: var(--dark-blue);
}


.btn.btn-dark-blue {
  background-color: var(--dark-blue);
  color: var(--white);
}
.btn.btn-dark-blue:hover, .btn.btn-dark-blue:active {
  /*background-color: transparent;*/
  border-color: var(--main);
  background-color: var(--main);
}
.btn.btn-box-shadow.btn-dark-blue:hover, .btn.btn-box-shadow.btn-dark-blue:active {
  background-color: var(--main);
}

.btn.btn-transparent-main {
  background-color: transparent;
  border-color: var(--main);
  color: var(--main);
}
.btn.btn-transparent-main:hover, .btn.btn-transparent-main:active {
  background-color: var(--main);
  border-color: var(--main);
  color: var(--white);
}

/* Tab style 08 */
.tab-style-08 ul .nav-item .nav-link.active, .tab-style-08 ul .nav-item .nav-link.show, .tab-style-08 ul .nav-item .nav-link:hover {
  border: 0;
  color: var(--main);
}




/* ===================================
   17. Footer
====================================== */
/* Vision section */
.vision-section {
    position: relative;
    z-index: 1;
    overflow: hidden;
    clip-path: polygon(0 70px, 100% 0, 100% 100%, 0 calc(100% - 70px));
    margin-top: -70px;
    padding-top: calc(5rem + 70px) !important;
    padding-bottom: calc(5rem + 70px) !important;
}
@media (max-width: 767px) {
    .vision-section {
        clip-path: polygon(0 45px, 100% 0, 100% 100%, 0 calc(100% - 45px));
        margin-top: -45px;
        padding-top: calc(4rem + 45px) !important;
        padding-bottom: calc(4rem + 45px) !important;
    }
}

/* Philosophy section */
#philosophy {
    background-image: url('../img/about/philosophy_bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Philosophy cards */
.philosophy-card {
    background: transparent;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.philosophy-card-img {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.18);
}
.philosophy-card-img img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.philosophy-card-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 36px 16px 12px;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 100%);
}
.philosophy-card-overlay-en {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.03em;
}
.philosophy-card-body {
    padding: 18px 20px 22px;
    flex: 1;
}
.philosophy-card-en {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--main);
    margin-bottom: 4px;
}
.philosophy-card-ja {
    font-size: 20px !important;
    font-weight: 700 !important;
    background: linear-gradient(135deg, var(--main) 0%, #47c1ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px !important;
    line-height: 1.4 !important;
}
.philosophy-card-text {
    font-size: 13px;
    color: #666;
    line-height: 1.8;
    margin: 0;
}

/* Vision feature items */
.vision-feature-item {
    padding: 24px 28px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.07);
}
.vision-feature-img {
    margin-bottom: 16px;
    text-align: center;
}
.vision-feature-img img {
    display: inline-block;
    max-width: 100%;
    height: auto;
}
.vision-feature-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 12px;
}
.vision-check-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
    background: var(--main);
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
}
.vision-feature-en {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--main);
    margin-bottom: 3px;
}
.vision-feature-title {
    font-size: 17px !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    margin: 0 !important;
    line-height: 1.4 !important;
}
.vision-feature-body {
    font-size: 14px;
    color: #555;
    line-height: 1.8;
    margin: 0;
}
.vision-side-img {
    border-radius: 8px;
    object-fit: cover;
    aspect-ratio: 4 / 5;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}
.vision-feature-row {
    overflow: hidden;
}
.vision-side-img-full {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 480px;
    object-fit: cover;
}
.vision-features-inner {
    padding: 3rem 3rem 3rem 4rem;
    width: 100%;
}
@media (max-width: 991px) {
    .vision-features-inner {
        padding: 2.5rem 1.5rem;
    }
    .vision-side-img-full {
        min-height: 300px;
        height: 300px;
    }
}

/* History BG slide */
.history-bg-slide {
    position: absolute;
    inset: 0;
    opacity: 0.15;
    pointer-events: none;
    z-index: 0;
}
.history-bg-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
#history .container {
    position: relative;
    z-index: 1;
}

/* History timeline */
.htl-list { width: 100%; }
.htl-row {
    display: flex;
    align-items: flex-start;
    padding: 18px 0;
    border-top: 1px solid #dde3ea;
}
.htl-row:last-child { border-bottom: 1px solid #dde3ea; }
.htl-year {
    font-size: 30px;
    font-weight: 700;
    color: var(--main);
    width: 100px;
    flex-shrink: 0;
    font-family: var(--alt-font, sans-serif);
    line-height: 1.2;
    letter-spacing: 0.01em;
    padding-top: 1px;
}
.htl-entries {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.htl-entry {
    display: flex;
    align-items: baseline;
}
.htl-dot {
    display: none;
    margin-right: 16px;
}
.htl-month {
    font-size: 14px;
    font-weight: 700;
    color: #222;
    min-width: 44px;
    flex-shrink: 0;
    margin-right: 20px;
}
.htl-text {
    font-size: 14px;
    color: #444;
    line-height: 1.75;
    margin: 0;
}
@media (max-width: 767px) {
    .htl-year { font-size: 20px; width: 64px; }
    .htl-month { min-width: 36px; margin-right: 12px; }
}


/* Recruit CTA section */
.recruit-cta-section {
    background: #0c1422;
    position: relative;
    z-index: 1;
    clip-path: polygon(0 60px, 100% 0, 100% 100%, 0 100%);
    margin-top: -60px;
    padding: 0 !important;
}
@media (max-width: 767px) {
    .recruit-cta-section {
        clip-path: polygon(0 40px, 100% 0, 100% 100%, 0 100%);
        margin-top: -40px;
        padding: 0 !important;
    }
}
.recruit-accent-bars {
    position: relative;
    width: min(260px, 75%);
    height: 5px;
    margin-bottom: 2rem;
    flex-shrink: 0;
}
.recruit-accent-bars::before,
.recruit-accent-bars::after {
    content: '';
    position: absolute;
    top: 0;
    width: 58%;
    height: 5px;
    border-radius: 2px;
}
.recruit-accent-bars::before {
    left: 0;
    background: linear-gradient(90deg, #e83c65, #c5226a);
}
.recruit-accent-bars::after {
    right: 0;
    background: linear-gradient(90deg, var(--main), #47c1ff);
}
.recruit-btn-pink,
.recruit-btn-blue {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 clamp(1.5rem, 4vw, 3rem);
    height: 80px;
    text-decoration: none;
    transition: filter 0.25s ease;
}
.recruit-btn-pink span,
.recruit-btn-blue span,
.recruit-btn-pink span span,
.recruit-btn-blue span span {
    white-space: nowrap;
}
.recruit-btn-pink i,
.recruit-btn-blue i {
    flex-shrink: 0;
}
@media (max-width: 575px) {
    .recruit-btn-pink,
    .recruit-btn-blue {
        height: 70px;
        padding: 0 clamp(1rem, 4vw, 1.5rem);
    }
    .recruit-btn-pink span span:first-child,
    .recruit-btn-blue span span:first-child {
        font-size: clamp(0.75rem, 3.6vw, 1.05rem) !important;
    }
}
.recruit-btn-pink:hover,
.recruit-btn-blue:hover { filter: brightness(1.1); }
.recruit-btn-pink { background: linear-gradient(135deg, #e83c65 0%, #a0226a 100%); }
.recruit-btn-blue  { background: linear-gradient(135deg, #0047d4 0%, #47c1ff 100%); }

/* footer */
footer .footer-logo img {
    max-height: 70px;
}
footer .elements-social li {
    margin: 0 15px 0 0;
}

/* Footer decorative large text band — infinite scroll */
.footer-deco-band {
    overflow: hidden;
    position: relative;
    margin-top: -5vw;
    z-index: 0;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
}
.footer-deco-band + .footer-bottom-bar {
    position: relative;
    z-index: 1;
}
footer .container {
    position: relative;
    z-index: 1;
}
.footer-deco-track {
    display: flex;
    width: max-content;
    align-items: center;
    animation: footerMarquee 48s linear infinite;
}
.footer-deco-track .svc-marquee__list {
    gap: 2rem;
    padding-right: 2rem;
}
.footer-deco-track .svc-marquee__text {
    font-size: clamp(56px, 10vw, 120px);
    font-weight: 900;
    font-style: italic;
    background: linear-gradient(90deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.35) 50%, rgba(255,255,255,0.1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.footer-deco-track .svc-marquee__img {
    width: clamp(90px, 12vw, 170px);
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-radius: 6px;
    opacity: 0.7;
    display: block;
    flex-shrink: 0;
}
@media (max-width: 767px) {
    .footer-deco-track .svc-marquee__text {
        font-size: clamp(48px, 13vw, 70px);
    }
    .footer-deco-track .svc-marquee__img {
        width: clamp(70px, 20vw, 130px);
    }
    .footer-deco-track .svc-marquee__list {
        gap: 1.4rem;
        padding-right: 1.4rem;
    }
}
@keyframes footerMarquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Footer vertical catchphrase */
.footer-catch-col {
    flex-shrink: 0;
    padding-right: 16px;
    border-right: 1px solid rgba(255,255,255,0.25);
    margin-right: 4px;
}
.footer-catch {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.24em;
    color: rgba(255,255,255,0.65);
    margin: 0;
    line-height: 1.5;
}

/* Footer contact button: gradient */
footer .btn.btn-dark-blue {
    background: linear-gradient(135deg, var(--main) 0%, #47c1ff 100%);
    background-color: transparent;
    border-color: transparent;
    color: #fff;
    transition: filter 0.25s ease, opacity 0.25s ease;
}
footer .btn.btn-dark-blue:hover,
footer .btn.btn-dark-blue:active {
    background: linear-gradient(135deg, var(--main) 0%, #47c1ff 100%);
    border-color: transparent;
    color: #fff;
    filter: brightness(1.15);
}

/* Footer Instagram link */
.footer-instagram-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 0.04em;
    transition: color 0.25s ease;
}
.footer-instagram-link:hover {
    color: #fff;
}
.footer-instagram-link i {
    font-size: 16px;
}

/* Footer copyright english sub text */
.footer-copyright-en {
    font-size: 11px;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.55);
    font-family: var(--alt-font);
    text-transform: uppercase;
}
/* Dark footer */
footer.footer-dark {
    display: block;
    position: relative;
    isolation: isolate;
    background-color: #10263a;
    background-image:
        linear-gradient(rgba(255,255,255,0.18) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.18) 1px, transparent 1px);
    background-size: 28px 28px;
    border-top: none;
    padding-top: 3rem !important;
    padding-bottom: 0 !important;
}
footer.footer-dark::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: url('../img/common/bg_blue_pc.jpg');
    background-size: 50%;
    background-repeat: repeat;
    opacity: 0.85;
    pointer-events: none;
}
footer.footer-dark > * {
    position: relative;
    z-index: 1;
}
footer.footer-dark .footer-company-name {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.04em;
    text-decoration: none;
    line-height: 1;
}
footer.footer-dark .footer-company-info p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 2;
}

/* Nav heading: dot + EN + JP */
footer.footer-dark .footer-nav-heading {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 14px;
}
footer.footer-dark .footer-nav-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00b4e6 0%, var(--main) 50%, var(--sub) 100%);
    flex-shrink: 0;
    position: relative;
    top: -1px;
}
footer.footer-dark .footer-nav-en {
    font-size: calc(1.8rem / 1.6);
    font-weight: 700;
    color: #fff;
    letter-spacing: -.04em;
    white-space: nowrap;
}
@media (min-width: 768px) {
    footer.footer-dark .footer-nav-en {
        font-size: calc(2.4rem / 1.6);
        letter-spacing: 0;
    }
}
@media (min-width: 768px) and (max-width: 991px) {
    footer.footer-dark .footer-nav-heading {
        flex-direction: column;
        align-items: flex-start;
        gap: 3px;
    }
}
@media (max-width: 767px) {
    footer.footer-dark .footer-nav-en {
        font-size: 1.3rem;
    }
    footer.footer-dark .footer-nav-ja {
        font-size: 13px;
    }
    footer.footer-dark .footer-nav-list li {
        padding: 7px 0;
    }
    footer.footer-dark .footer-nav-list li a {
        font-size: 15px;
    }
    footer.footer-dark .footer-nav-list li::before {
        font-size: 14px;
    }
}
footer.footer-dark .footer-nav-ja {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.05em;
    white-space: nowrap;
}
footer.footer-dark .footer-nav-rule {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    margin-bottom: 16px;
}
footer.footer-dark .footer-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
footer.footer-dark .footer-nav-list li {
    padding: 4px 0;
    line-height: 1.6;
}
footer.footer-dark .footer-nav-list li::before {
    content: "－ ";
    color: rgba(255, 255, 255, 0.65);
    font-size: 12px;
}
footer.footer-dark .footer-nav-list li a {
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    background-image: linear-gradient(#fff, #fff);
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: 0% 1px;
    transition: background-size 0.35s ease;
}
footer.footer-dark .footer-nav-list li a:hover {
    color: #fff;
    background-position: left bottom;
    background-size: 100% 1px;
}

/* Bottom bar */
footer.footer-dark .footer-bottom-bar {
    background: rgba(0, 0, 0, 0.3);
    padding: 20px 0;
    position: relative;
}
footer.footer-dark .footer-bottom-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right,
        transparent 0%,
        rgba(255, 255, 255, 0.15) 25%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0.15) 75%,
        transparent 100%);
}
footer.footer-dark .footer-copyright {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: 0.04em;
}

/* ============================
   Service lead dark section
   ============================ */
.section-lead-dark {
    position: relative;
    padding: 5rem 0 4rem;
    background-color: var(--sub);
    overflow: hidden;
}
.section-lead-dark::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../img/top/service/69547452.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: 0;
}
.section-lead-dark .container {
    position: relative;
    z-index: 1;
}
.section-lead-dark .service-lead-block {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.section-lead-dark .service-lead-num {
    border-color: rgba(255, 255, 255, 0.25);
    color: rgba(255, 255, 255, 0.45);
}
.section-lead-dark .service-lead-title {
    color: #fff;
}
.section-lead-dark .service-lead-en {
    color: var(--main);
}
.section-lead-dark .service-lead-catch {
    color: #fff;
}
.section-lead-dark .service-lead-body {
    color: rgba(255, 255, 255, 0.68);
}
.section-lead-dark .service-lead-deco {
    background: rgba(255, 255, 255, 0.15);
    opacity: 1;
}

/* ============================
   Service section gradient background (scroll swap)
   ============================ */
.section-service-grad {
    position: relative;
    isolation: isolate;
    margin-top: -62px;
    padding-top: 100px;
    clip-path: polygon(0 0, 100% 62px, 100% 100%, 0 100%);
}
/* layer 1: logistics — bg_blue_pc.jpg */
.section-service-grad::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: url('../img/common/bg_blue_pc.jpg');
    background-size: 50%;
    background-repeat: repeat;
    opacity: 1;
    transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}
/* layer 2: freight — ダークネイビー */
.section-service-grad::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(
        135deg,
        #0d3a5c   0%,
        #0d5280  35%,
        #083e65  65%,
        #061e32 100%
    );
    opacity: 0;
    transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}
.section-service-grad[data-active-bg="freight"]::before { opacity: 0; }
.section-service-grad[data-active-bg="freight"]::after  { opacity: 1; }

/* --- テキスト白化（コンテンツ） --- */
.section-service-grad #logistics .text-sub,
.section-service-grad #freight  .text-sub  { color: #fff !important; }
.section-service-grad #logistics .text-dark-gray,
.section-service-grad #freight  .text-dark-gray { color: rgba(255,255,255,0.92) !important; }
.section-service-grad #logistics .text-main,
.section-service-grad #freight  .text-main { color: rgba(255,255,255,0.62) !important; }
.section-service-grad #logistics p,
.section-service-grad #freight  p          { color: rgba(255,255,255,0.80) !important; }

/* --- 白罫線（heading-underline） --- */
.section-service-grad #logistics .heading-underline,
.section-service-grad #freight  .heading-underline {
    border-bottom-color: rgba(255,255,255,0.22);
}
.section-service-grad #logistics .heading-underline::before,
.section-service-grad #freight  .heading-underline::before {
    background-color: rgba(255,255,255,0.75);
}

/* --- フィーチャーカード --- */
.svc-feature-card {
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 8px;
    backdrop-filter: blur(6px);
}
.svc-feature-card span.text-sub { color: #fff !important; }
.svc-feature-card p              { color: rgba(255,255,255,0.78) !important; }

/* --- セクション見出しを大きく（CKIスケール） --- */
.section-service-grad #logistics h4.heading-underline,
.section-service-grad #freight  h4.heading-underline {
    font-size: clamp(40px, 5.5vw, 68px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.08;
    margin-bottom: 1.75rem;
}
.section-service-grad #logistics > span:first-child,
.section-service-grad #freight  > span:first-child {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.2em;
    color: rgba(255,255,255,0.55) !important;
    margin-bottom: 10px;
}
.section-service-grad #logistics h5,
.section-service-grad #freight  h5 {
    font-size: clamp(18px, 2.4vw, 26px) !important;
    font-weight: 600;
    line-height: 1.55;
}

/* --- サイドバーは白カードのまま（上書き打ち消し） --- */
.section-service-grad .service-nav-box {
    background: rgba(255,255,255,0.93) !important;
}
.section-service-grad .service-nav-box .text-sub,
.section-service-grad .service-nav-box span,
.section-service-grad .service-nav-box a    { color: var(--sub) !important; }

/* ============================
   Photo gallery infinite scroll
   ============================ */
.svc-photo-gallery {
    overflow: hidden;
    padding: 3.5rem 0;
    background: #fff;
}
.svc-photo-gallery__track {
    display: flex;
    width: max-content;
    animation: ltr-slide-scroll 28s linear infinite;
}
.svc-photo-gallery__slide {
    display: flex;
    gap: 1.25rem;
    flex-shrink: 0;
    padding-right: 1.25rem;
}
.svc-photo-gallery__slide img {
    height: 260px;
    width: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-radius: 10px;
    display: block;
    flex-shrink: 0;
}
@media (max-width: 767px) {
    .svc-photo-gallery__slide img { height: 180px; }
}

/* ============================
   Noise + grid texture overlay
   ============================ */
.svc-bg-texture {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    /* 方眼グリッド */
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 14px 14px;
}
/* ノイズ（SVG feTurbulence）*/
.svc-bg-texture::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='256' height='256'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='256' height='256' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 256px 256px;
    opacity: 0.055;
}
/* コンテナをテクスチャより前面に */
.section-service-grad > .container,
.section-service-grad > .container-fluid {
    position: relative;
    z-index: 1;
}

/* ============================
   Civil section — UNIDGE-style gradient
   ============================ */
.section-civil-grad {
    position: relative;
    isolation: isolate;
    margin-top: -62px;
    padding-top: 100px;
    clip-path: polygon(0 0, 100% 62px, 100% 100%, 0 100%);
    background: #e1e8f0;
}
.section-civil-grad > .container,
.section-civil-grad > .container-fluid {
    position: relative;
    z-index: 1;
}
/* イントロテキスト */
.section-civil-grad .text-main     { color: rgba(255,255,255,0.62) !important; }
.section-civil-grad > .container > .row:first-child .text-sub:not(.service-nav-title) { color: #fff !important; }
.section-civil-grad > .container > .row:first-child p          { color: rgba(255,255,255,0.80) !important; }
/* コンテンツ（各セクションID共通）— 白背景カード */
.section-civil-grad #civil-engineering,
.section-civil-grad #snow-removal,
.section-civil-grad #water-sewage,
.section-civil-grad #materials {
    border-radius: 16px;
    padding: 3rem 3rem 3.5rem;
}
.section-civil-grad #civil-engineering .text-sub,
.section-civil-grad #snow-removal      .text-sub,
.section-civil-grad #water-sewage      .text-sub,
.section-civil-grad #materials         .text-sub  { color: var(--sub) !important; }
.section-civil-grad #civil-engineering .text-dark-gray,
.section-civil-grad #snow-removal      .text-dark-gray,
.section-civil-grad #water-sewage      .text-dark-gray,
.section-civil-grad #materials         .text-dark-gray { color: var(--dark-gray) !important; }
.section-civil-grad #civil-engineering p,
.section-civil-grad #snow-removal      p,
.section-civil-grad #water-sewage      p,
.section-civil-grad #materials         p { color: var(--extra-medium-gray) !important; }
/* heading-underline */
.section-civil-grad #civil-engineering .heading-underline,
.section-civil-grad #snow-removal      .heading-underline,
.section-civil-grad #water-sewage      .heading-underline,
.section-civil-grad #materials         .heading-underline { border-bottom-color: rgba(0,0,0,0.10); }
.section-civil-grad #civil-engineering .heading-underline::before,
.section-civil-grad #snow-removal      .heading-underline::before,
.section-civil-grad #water-sewage      .heading-underline::before,
.section-civil-grad #materials         .heading-underline::before { background-color: var(--main); }
/* セクションラベル */
.section-civil-grad #civil-engineering > span:first-child,
.section-civil-grad #snow-removal      > span:first-child,
.section-civil-grad #water-sewage      > span:first-child,
.section-civil-grad #materials         > span:first-child { color: var(--main) !important; }
/* h4 大見出し */
.section-civil-grad #civil-engineering h4.heading-underline,
.section-civil-grad #snow-removal      h4.heading-underline,
.section-civil-grad #water-sewage      h4.heading-underline,
.section-civil-grad #materials         h4.heading-underline {
    font-size: clamp(40px, 5.5vw, 68px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.08;
    margin-bottom: 1.75rem;
}
/* h5 */
.section-civil-grad #civil-engineering h5,
.section-civil-grad #snow-removal      h5,
.section-civil-grad #water-sewage      h5,
.section-civil-grad #materials         h5 { font-size: clamp(18px, 2.4vw, 26px) !important; font-weight: 600; line-height: 1.55; }
/* サイドバー：すりガラス */
.section-civil-grad .service-nav-box {
    background: #fff !important;
    border-color: rgba(0,0,0,0.08) !important;
}
.section-civil-grad .sticky-top .service-nav-box .text-sub:not(.service-nav-title),
.section-civil-grad .sticky-top .service-nav-box a { color: var(--sub) !important; }
.section-civil-grad .service-nav-box .border-color-transparent-dark { border-color: rgba(0,0,0,0.08) !important; }
.section-civil-grad .service-nav-counter__sep,
.section-civil-grad .service-nav-counter__total { color: rgba(0,0,0,0.6) !important; }

/* スマホ：ナビボックスは追尾させず、その場に静置 */
@media (max-width: 991px) {
    .section-civil-grad .sticky-top,
    .section-automotive-grad .sticky-top {
        position: static !important;
        top: auto !important;
        height: auto !important;
    }
    .section-civil-grad .service-nav-wrap .list-style-02 .icon-feather-arrow-right,
    .section-automotive-grad .service-nav-wrap .list-style-02 .icon-feather-arrow-right,
    #service .list-style-02 li:hover .icon-feather-arrow-right,
    #service .list-style-02 li.active .icon-feather-arrow-right {
        transform: rotate(90deg) !important;
    }
}

/* ============================
   Service page gradient section: automotive
   ============================ */
.section-automotive-grad {
    position: relative;
    isolation: isolate;
    margin-top: -62px;
    padding-top: 100px;
    clip-path: polygon(0 0, 100% 62px, 100% 100%, 0 100%);
    background: #e1e8f0;
}
.section-automotive-grad > .container,
.section-automotive-grad > .container-fluid {
    position: relative;
    z-index: 1;
}
.section-automotive-grad .text-main     { color: rgba(255,255,255,0.62) !important; }
.section-automotive-grad > .container > .row:first-child .text-sub:not(.service-nav-title) { color: #fff !important; }
.section-automotive-grad > .container > .row:first-child p          { color: rgba(255,255,255,0.80) !important; }
.section-automotive-grad #new-car,
.section-automotive-grad #used-car,
.section-automotive-grad #maintenance,
.section-automotive-grad #repair,
.section-automotive-grad #total-support {
    border-radius: 16px;
    padding: 3rem 3rem 3.5rem;
}
.section-automotive-grad #new-car        .text-sub,
.section-automotive-grad #used-car       .text-sub,
.section-automotive-grad #maintenance    .text-sub,
.section-automotive-grad #repair         .text-sub,
.section-automotive-grad #total-support  .text-sub  { color: var(--sub) !important; }
.section-automotive-grad #new-car        .text-dark-gray,
.section-automotive-grad #used-car       .text-dark-gray,
.section-automotive-grad #maintenance    .text-dark-gray,
.section-automotive-grad #repair         .text-dark-gray,
.section-automotive-grad #total-support  .text-dark-gray { color: var(--dark-gray) !important; }
.section-automotive-grad #new-car        p,
.section-automotive-grad #used-car       p,
.section-automotive-grad #maintenance    p,
.section-automotive-grad #repair         p,
.section-automotive-grad #total-support  p { color: var(--extra-medium-gray) !important; }
.section-automotive-grad #new-car        .heading-underline,
.section-automotive-grad #used-car       .heading-underline,
.section-automotive-grad #maintenance    .heading-underline,
.section-automotive-grad #repair         .heading-underline,
.section-automotive-grad #total-support  .heading-underline { border-bottom-color: rgba(0,0,0,0.10); }
.section-automotive-grad #new-car        .heading-underline::before,
.section-automotive-grad #used-car       .heading-underline::before,
.section-automotive-grad #maintenance    .heading-underline::before,
.section-automotive-grad #repair         .heading-underline::before,
.section-automotive-grad #total-support  .heading-underline::before { background-color: var(--main); }
.section-automotive-grad #new-car        > span:first-child,
.section-automotive-grad #used-car       > span:first-child,
.section-automotive-grad #maintenance    > span:first-child,
.section-automotive-grad #repair         > span:first-child,
.section-automotive-grad #total-support  > span:first-child { color: var(--main) !important; }
.section-automotive-grad #new-car        h4.heading-underline,
.section-automotive-grad #used-car       h4.heading-underline,
.section-automotive-grad #maintenance    h4.heading-underline,
.section-automotive-grad #repair         h4.heading-underline,
.section-automotive-grad #total-support  h4.heading-underline {
    font-size: clamp(40px, 5.5vw, 68px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.08;
    margin-bottom: 1.75rem;
}
.section-automotive-grad #new-car        h5,
.section-automotive-grad #used-car       h5,
.section-automotive-grad #maintenance    h5,
.section-automotive-grad #repair         h5,
.section-automotive-grad #total-support  h5 { font-size: clamp(18px, 2.4vw, 26px) !important; font-weight: 600; line-height: 1.55; }
.section-automotive-grad .service-nav-box {
    background: #fff !important;
    border-color: rgba(0,0,0,0.08) !important;
}
.section-automotive-grad .sticky-top .service-nav-box .text-sub:not(.service-nav-title),
.section-automotive-grad .sticky-top .service-nav-box a { color: var(--sub) !important; }
.section-automotive-grad .service-nav-box .border-color-transparent-dark { border-color: rgba(0,0,0,0.08) !important; }
.section-automotive-grad .service-nav-counter__sep,
.section-automotive-grad .service-nav-counter__total { color: rgba(0,0,0,0.6) !important; }
@media (max-width: 991px) {
    .section-automotive-grad .sticky-top {
        position: static !important;
        top: auto !important;
        height: auto !important;
    }
}

/* ============================
   Service page gradient section: logistics
   ============================ */
.section-logistics-grad {
    position: relative;
    isolation: isolate;
    margin-top: -62px;
    padding-top: 100px;
    clip-path: polygon(0 0, 100% 62px, 100% 100%, 0 100%);
    background: #e1e8f0;
}
.section-logistics-grad > .container,
.section-logistics-grad > .container-fluid {
    position: relative;
    z-index: 1;
}
.section-logistics-grad .text-main     { color: rgba(255,255,255,0.62) !important; }
.section-logistics-grad > .container > .row:first-child .text-sub:not(.service-nav-title) { color: #fff !important; }
.section-logistics-grad > .container > .row:first-child p          { color: rgba(255,255,255,0.80) !important; }
.section-logistics-grad #logistics,
.section-logistics-grad #freight {
    border-radius: 16px;
    padding: 3rem 3rem 3.5rem;
}
.section-logistics-grad #logistics .text-sub,
.section-logistics-grad #freight   .text-sub  { color: var(--sub) !important; }
.section-logistics-grad #logistics .text-dark-gray,
.section-logistics-grad #freight   .text-dark-gray { color: var(--dark-gray) !important; }
.section-logistics-grad #logistics p,
.section-logistics-grad #freight   p { color: var(--extra-medium-gray) !important; }
.section-logistics-grad #logistics .heading-underline,
.section-logistics-grad #freight   .heading-underline { border-bottom-color: rgba(0,0,0,0.10); }
.section-logistics-grad #logistics .heading-underline::before,
.section-logistics-grad #freight   .heading-underline::before { background-color: var(--main); }
.section-logistics-grad #logistics > span:first-child,
.section-logistics-grad #freight   > span:first-child { color: var(--main) !important; }
.section-logistics-grad #logistics h4.heading-underline,
.section-logistics-grad #freight   h4.heading-underline {
    font-size: clamp(40px, 5.5vw, 68px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.08;
    margin-bottom: 1.75rem;
}
.section-logistics-grad #logistics h5,
.section-logistics-grad #freight   h5 { font-size: clamp(18px, 2.4vw, 26px) !important; font-weight: 600; line-height: 1.55; }
.section-logistics-grad .service-nav-box {
    background: #fff !important;
    border-color: rgba(0,0,0,0.08) !important;
}
.section-logistics-grad .sticky-top .service-nav-box .text-sub:not(.service-nav-title),
.section-logistics-grad .sticky-top .service-nav-box a { color: var(--sub) !important; }
.section-logistics-grad .service-nav-box .border-color-transparent-dark { border-color: rgba(0,0,0,0.08) !important; }
.section-logistics-grad .service-nav-counter__sep,
.section-logistics-grad .service-nav-counter__total { color: rgba(0,0,0,0.6) !important; }
@media (max-width: 991px) {
    .section-logistics-grad .sticky-top {
        position: static !important;
        top: auto !important;
        height: auto !important;
    }
}

/* ============================
   Service page gradient section: rental
   ============================ */
.section-rental-grad {
    position: relative;
    isolation: isolate;
    margin-top: -62px;
    padding-top: 100px;
    clip-path: polygon(0 0, 100% 62px, 100% 100%, 0 100%);
    background: #e1e8f0;
}
.section-rental-grad > .container,
.section-rental-grad > .container-fluid {
    position: relative;
    z-index: 1;
}
.section-rental-grad .text-main     { color: rgba(255,255,255,0.62) !important; }
.section-rental-grad > .container > .row:first-child .text-sub:not(.service-nav-title) { color: #fff !important; }
.section-rental-grad > .container > .row:first-child p          { color: rgba(255,255,255,0.80) !important; }
.section-rental-grad #construction-rental,
.section-rental-grad #safety-rental,
.section-rental-grad #precision-rental,
.section-rental-grad #tools-rental {
    border-radius: 16px;
    padding: 3rem 3rem 3.5rem;
}
.section-rental-grad #construction-rental  .text-sub,
.section-rental-grad #safety-rental        .text-sub,
.section-rental-grad #precision-rental     .text-sub,
.section-rental-grad #tools-rental         .text-sub  { color: var(--sub) !important; }
.section-rental-grad #construction-rental  .text-dark-gray,
.section-rental-grad #safety-rental        .text-dark-gray,
.section-rental-grad #precision-rental     .text-dark-gray,
.section-rental-grad #tools-rental         .text-dark-gray { color: var(--dark-gray) !important; }
.section-rental-grad #construction-rental  p,
.section-rental-grad #safety-rental        p,
.section-rental-grad #precision-rental     p,
.section-rental-grad #tools-rental         p { color: var(--extra-medium-gray) !important; }
.section-rental-grad #construction-rental  .heading-underline,
.section-rental-grad #safety-rental        .heading-underline,
.section-rental-grad #precision-rental     .heading-underline,
.section-rental-grad #tools-rental         .heading-underline { border-bottom-color: rgba(0,0,0,0.10); }
.section-rental-grad #construction-rental  .heading-underline::before,
.section-rental-grad #safety-rental        .heading-underline::before,
.section-rental-grad #precision-rental     .heading-underline::before,
.section-rental-grad #tools-rental         .heading-underline::before { background-color: var(--main); }
.section-rental-grad #construction-rental  > span:first-child,
.section-rental-grad #safety-rental        > span:first-child,
.section-rental-grad #precision-rental     > span:first-child,
.section-rental-grad #tools-rental         > span:first-child { color: var(--main) !important; }
.section-rental-grad #construction-rental  h4.heading-underline,
.section-rental-grad #safety-rental        h4.heading-underline,
.section-rental-grad #precision-rental     h4.heading-underline,
.section-rental-grad #tools-rental         h4.heading-underline {
    font-size: clamp(40px, 5.5vw, 68px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.08;
    margin-bottom: 1.75rem;
}
.section-rental-grad #construction-rental  h5,
.section-rental-grad #safety-rental        h5,
.section-rental-grad #precision-rental     h5,
.section-rental-grad #tools-rental         h5 { font-size: clamp(18px, 2.4vw, 26px) !important; font-weight: 600; line-height: 1.55; }
.section-rental-grad .service-nav-box {
    background: #fff !important;
    border-color: rgba(0,0,0,0.08) !important;
}
.section-rental-grad .sticky-top .service-nav-box .text-sub:not(.service-nav-title),
.section-rental-grad .sticky-top .service-nav-box a { color: var(--sub) !important; }
.section-rental-grad .service-nav-box .border-color-transparent-dark { border-color: rgba(0,0,0,0.08) !important; }
.section-rental-grad .service-nav-counter__sep,
.section-rental-grad .service-nav-counter__total { color: rgba(0,0,0,0.6) !important; }
@media (max-width: 991px) {
    .section-rental-grad .sticky-top {
        position: static !important;
        top: auto !important;
        height: auto !important;
    }
}

/* ============================
   Service page lead intro block
   ============================ */
.service-lead-block {
    margin-bottom: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(0,0,0,0.07);
}

/* Number badge (dashed circle) */
.service-lead-num {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px dashed rgba(0,117,190,0.35);
    background: rgba(0,117,190,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--main);
    letter-spacing: 0.05em;
    margin-bottom: 14px;
}

/* English label — small subdued tag above the heading */
.service-lead-en {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.18em;
    color: #8a9ab0;
    text-transform: uppercase;
    margin-bottom: 10px;
}

/* Large heading */
.service-lead-title {
    font-size: clamp(44px, 6.5vw, 80px);
    font-weight: 700;
    color: var(--sub);
    line-height: 1.05;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
}

/* Bold catchphrase */
.service-lead-catch {
    font-size: clamp(21px, 2.8vw, 30px);
    font-weight: 700;
    color: var(--sub);
    line-height: 1.6;
    margin-bottom: 28px;
    letter-spacing: -0.01em;
}

/* Body text — bordered info box */
.service-lead-body {
    font-size: 14px;
    line-height: 2;
    color: #555;
    margin-bottom: 0;
    border: 1px solid rgba(0,62,100,0.12);
    border-radius: 5px;
    padding: 1.2rem 1.5rem;
    background: rgba(0,117,190,0.025);
}

/* Image wrap + 4-pointed star deco */
.service-lead-img-wrap {
    position: relative;
    overflow: visible;
}
.service-lead-img {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
}
.service-lead-deco {
    position: absolute;
    width: 170px;
    height: 170px;
    background: var(--main);
    clip-path: polygon(50% 0%, 56% 44%, 100% 50%, 56% 56%, 50% 100%, 44% 56%, 0% 50%, 44% 44%);
    right: -60px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    opacity: 0.4;
}
@media (max-width: 991px) {
    .service-lead-deco {
        width: 90px;
        height: 90px;
        right: -20px;
    }
}

/* ============================
   Contact form (jaftas-style table layout)
   ============================ */

/* Outer container */
/* ===========================
   Contact Form (modern)
   =========================== */
.cform-wrap {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 56px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.cform-note {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 40px;
    font-size: 12px;
    color: var(--extra-medium-gray);
    background: #f4f7fb;
    border-left: 3px solid var(--main);
    margin: 0;
    letter-spacing: 0.04em;
}

.cform-badge {
    display: inline-flex;
    align-items: center;
    background: #e75f5f;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 9px;
    border-radius: 3px;
    margin-left: 8px;
    vertical-align: middle;
    line-height: 1.6;
    letter-spacing: 0.06em;
    flex-shrink: 0;
}

.cform-body {
    padding: 48px 56px 56px;
}

.cform-field {
    margin-bottom: 32px;
}
.cform-field:last-child {
    margin-bottom: 0;
}

.cform-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-bottom: 32px;
}
.cform-row .cform-field {
    margin-bottom: 0;
}

.cform-label {
    display: flex;
    align-items: center;
    font-size: 13px;
    font-weight: 700;
    color: #1a1f2e;
    margin-bottom: 10px;
    letter-spacing: 0.03em;
}

.cform-input,
.cform-select,
.cform-textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid #dde0e8;
    border-radius: 4px;
    background: #fff;
    font-size: 15px;
    color: #333;
    line-height: 1.5;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    font-family: inherit;
    -webkit-appearance: none;
    appearance: none;
}
.cform-input::placeholder,
.cform-textarea::placeholder {
    color: #f4f5f7;
    font-size: 14px;
}
.cform-input:focus,
.cform-select:focus,
.cform-textarea:focus {
    border-color: var(--main);
    box-shadow: 0 0 0 3px rgba(0, 117, 190, 0.12);
}

.cform-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    padding-right: 44px;
    cursor: pointer;
}

.cform-textarea {
    height: 180px;
    resize: vertical;
    vertical-align: top;
}

.cform-body .submit {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

@media (max-width: 767px) {
    .cform-note {
        padding: 14px 20px;
    }
    .cform-body {
        padding: 32px 20px 36px;
    }
    .cform-row {
        grid-template-columns: 1fr;
        gap: 0;
        margin-bottom: 0;
    }
    .cform-row .cform-field {
        margin-bottom: 32px;
    }
}

/* magic cursor */
/*.magic-drag-cursor #ball-cursor:before {
  font-size: 15px;
}*/
/* media query responsive */
/*@media (max-width: 1430px) {
    .architecture-number {
        display: none !important;
    }
}
@media (orientation: landscape) and (max-width: 1080px) {
    .architecture-slider-text-row {
        margin-top: 200px !important;
    }
}
@media (orientation: landscape) and (max-width: 850px) {
    .architecture-slider-text-row { 
        margin-bottom: 200px !important;
    }
}
@media (orientation: landscape) and (max-width: 768px) {
    .architecture-slider-text-row {
        margin-top: 200px !important;
        margin-bottom: 200px !important; 
    }
}*/

/*@media (max-width: 767px) {
    .video-icon-extra-large .video-icon {
        width: 120px;
        height: 120px;
    }
    .slider-navigation-style-07 {
        left: 0;
    }
    .interactive-banner-style-06 .interactive-banners-content {
        transform: translateY(calc(100% - 110px));
    }
    .hamburger-menu-simple .menu-item-list .nav-link {
        font-size: 38px;
        line-height: 34px;
    }
}*/

/* ===================================
    00. MV Section (jaftas.jp style)
====================================== */
.mv-section {
    position: relative;
    height: 100svh;
    overflow: hidden;
    background: #111;
    display: flex;
    align-items: stretch;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 100px), 0 100%);
    filter: drop-shadow(0 3px 0 var(--main)) drop-shadow(0 6px 18px rgba(0, 0, 0, 0.45));
}
.mv-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.25) 55%, rgba(0,0,0,0) 100%);
    z-index: 1;
    pointer-events: none;
}

/* 右側のライトブルー背景ブロック（recruit等ページ内セクション用） */
.mv-bg-block {
    position: absolute;
    top: 0;
    right: 0;
    width: 58%;
    height: 100%;
    background: var(--very-light-blue);
    z-index: 0;
}

/* ---- 全面背景スライド ---- */
@keyframes mvPanLR {
    from { transform: scale(1.06) translateX(-2%); }
    to   { transform: scale(1.06) translateX(2%); }
}

.mv-bg-slides {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}
.mv-bg-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.4s ease;
}
.mv-bg-slide video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.mv-bg-slide.is-panning {
    animation: mvPanLR 8s linear forwards;
}
.mv-bg-slide.is-active {
    opacity: 1;
}

/* ---- 全面背景動画 ---- */
.mv-bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

/* 左側テキスト可読性確保（削除済み：mv-section::before で代替） */
.mv-left-mask {
    display: none;
}

/* ---- 写真スライドラッパー（右カラム） ---- */
.mv-slides-wrap {
    flex: 0 0 58%;
    max-width: 58%;
    position: relative;
    height: 100%;
    min-height: 560px;
}
.mv-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s ease;
    pointer-events: none;
}
.mv-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}
/* slide 内の mv-images はラッパーに合わせて全面展開 */
.mv-slide .mv-images {
    flex: none;
    max-width: none;
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
}

/* ---- MV底部マーキーオーバーレイ ---- */
.mv-marquee-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 8;
    overflow: hidden;
    padding: 1.5rem 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,5,20,0.52) 100%);
    pointer-events: none;
}
/* page-head内ではすでに::beforeオーバーレイがあるので暗いグラデーション不要 */
.page-head .mv-marquee-overlay {
    background: transparent;
}
.mv-marquee-overlay__track {
    display: flex;
    width: max-content;
    align-items: center;
    animation: ltr-slide-scroll 55s linear infinite;
}
.mv-marquee-overlay .svc-marquee__list {
    gap: 2.5rem;
    padding-right: 2.5rem;
}
.mv-marquee-overlay .svc-marquee__text {
    font-size: clamp(4.5rem, 9.5vw, 10rem);
    background: linear-gradient(90deg, rgba(255,255,255,0.35) 0%, rgba(255,255,255,0.80) 50%, rgba(255,255,255,0.35) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
}
.mv-marquee-overlay .svc-marquee__img {
    width: clamp(140px, 16vw, 230px);
    aspect-ratio: 3/2;
    object-fit: cover;
    border-radius: 6px;
    opacity: 0.60;
    display: block;
    flex-shrink: 0;
}

/* ---- ドットインジケーター ---- */
.mv-indicators {
    position: absolute;
    bottom: 9rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 10;
}
.mv-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 2px solid rgba(0,62,100,0.3);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: all 0.35s ease;
    flex-shrink: 0;
}
.mv-dot.is-active {
    background: var(--main);
    border-color: var(--main);
    width: 26px;
    border-radius: 4px;
}

/* 内部レイアウト */
.mv-inner {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 2;
}

/* ---- テキスト側 ---- */
.mv-content {
    flex: 0 0 72%;
    max-width: 72%;
    padding: 140px clamp(2rem, 4vw, 4rem) 100px clamp(3rem, 8vw, 10rem);
}

.mv-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.75);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.mv-heading {
    font-size: clamp(2.6rem, 5vw, 5.6rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.45;
    margin-bottom: 2rem;
    letter-spacing: 0.02em;
}

.mv-desc {
    font-size: 17px;
    color: rgba(255,255,255,0.82);
    line-height: 2.1;
    margin-bottom: 2.8rem;
}

.mv-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.2rem;
}

.mv-link-about {
    font-size: 14px;
    border-bottom: 1px solid currentColor;
    padding-bottom: 2px;
    text-decoration: none;
    transition: var(--transit-default);
    color: rgba(255,255,255,0.9) !important;
}
.mv-link-about:hover { opacity: 0.7; }

/* ---- 画像側 ---- */
.mv-images {
    flex: 0 0 58%;
    max-width: 58%;
    position: relative;
    height: 100vh;
    min-height: 560px;
}

.mv-img {
    position: absolute;
    overflow: hidden;
}

.mv-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

/* メイン画像: 大きめ・上左配置 */
.mv-img-main {
    top: 10%;
    left: 4%;
    width: 66%;
    height: 68%;
    box-shadow: 0 24px 64px rgba(0, 62, 100, 0.14);
}

/* サブ画像: 小さめ・右下・メインに重なる */
.mv-img-sub {
    bottom: 7%;
    right: 3%;
    width: 46%;
    height: 40%;
    box-shadow: 0 16px 44px rgba(0, 62, 100, 0.12);
    z-index: 2;
}

/* ---- スクロールインジケーター ---- */
.mv-scroll-hint {
    position: absolute;
    bottom: 9rem;
    right: clamp(2rem, 4vw, 4rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    z-index: 10;
    animation: mvScrollFade 2s ease-in-out infinite;
}

@keyframes mvScrollFade {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.4; }
}

.mv-scroll-line {
    display: block;
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.8), rgba(255,255,255,0));
}

.mv-scroll-text {
    font-size: 9px;
    letter-spacing: 0.25em;
    color: rgba(255,255,255,0.65);
    writing-mode: vertical-lr;
    text-transform: uppercase;
}

/* ---- 新卒採用セクション（写真ストリップ + 写真左/紺パネル右のスプリットレイアウト） ---- */
.graduate-photo-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    background: #fff;
    margin-bottom: 10px;
}
.graduate-photo-strip__item {
    aspect-ratio: 4 / 3;
    overflow: hidden;
}
.graduate-photo-strip__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.graduate-split {
    display: flex;
    align-items: stretch;
    min-height: 620px;
    background: var(--gradient-blue);
}
.graduate-split__photo {
    flex: 0 0 46%;
    overflow: hidden;
}
.graduate-split__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.graduate-split__panel {
    flex: 1;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(3rem, 5vw, 5rem) clamp(2rem, 6vw, 5rem);
}
.graduate-split__eyebrow {
    display: inline-block;
    width: max-content;
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    padding-bottom: 0.6rem;
    margin-bottom: 1.8rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.6);
}
.graduate-split__heading {
    font-size: clamp(1.6rem, 2.6vw, 2.3rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.5;
    margin-bottom: 1.6rem;
}
.graduate-split__desc {
    font-size: 0.95rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.2rem;
}
.graduate-split__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.7rem;
    max-width: 480px;
    margin-bottom: 2.4rem;
}
.graduate-split__box {
    background: #fff;
    color: var(--sub);
    font-weight: 700;
    font-size: 0.95rem;
    text-align: center;
    padding: 1rem 0.5rem;
    border-radius: 4px;
}
.graduate-split__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: max-content;
    padding: 1rem 2.2rem;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 999px;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease;
}
.graduate-split__cta:hover {
    background: #fff;
    color: var(--sub);
}
.graduate-split__cta-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    display: inline-block;
}
.graduate-split__watermark {
    position: absolute;
    top: 50%;
    right: 1.5rem;
    transform: translateY(-50%);
    writing-mode: vertical-rl;
    font-family: var(--alt-font);
    font-size: clamp(3.5rem, 8vw, 7rem);
    font-weight: 800;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.15);
    z-index: 1;
    pointer-events: none;
    white-space: nowrap;
}
@media (max-width: 991px) {
    .graduate-photo-strip { grid-template-columns: repeat(3, 1fr); }
    .graduate-split { flex-direction: column; min-height: auto; }
    .graduate-split__photo { flex: none; height: 280px; }
    .graduate-split__watermark { display: none; }
}
@media (max-width: 575px) {
    .graduate-photo-strip { grid-template-columns: repeat(3, 1fr); gap: 4px; }
}
@media (max-width: 575px) {
    .graduate-split__grid { grid-template-columns: 1fr; max-width: none; }
}
/* ---- 中途採用セクション（英字見出し左 + 写真コラージュ右） ---- */
.career-split-section {
    background: #fff;
    padding: clamp(3rem, 6vw, 5rem) 0;
}
.career-split {
    display: flex;
    align-items: stretch;
    min-height: 560px;
}
.career-split__text {
    position: relative;
    overflow: hidden;
    flex: 0 0 42%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem clamp(2rem, 5vw, 4rem);
}
.career-split__skyline {
    position: absolute;
    inset: 0;
    background-image: url('../img/recruit/news_bg.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 0;
    pointer-events: none;
}
.career-split__en,
.career-split__ja,
.career-split__desc,
.career-split__cta {
    position: relative;
    z-index: 1;
}
.career-split__en {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    color: var(--extra-dark-gray, #1c1c1c);
    line-height: 1;
    margin-bottom: 1rem;
}
.career-split__ja {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--main);
    margin-bottom: 1.6rem;
}
.career-split__desc {
    font-size: 0.95rem;
    line-height: 1.9;
    color: #333;
    margin-bottom: 2.2rem;
}
.career-split__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: max-content;
    padding: 1rem 2.2rem;
    background: var(--main);
    border-radius: 999px;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    transition: opacity 0.3s ease;
}
.career-split__cta:hover {
    opacity: 0.85;
    color: #fff;
}
.career-split__cta-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fff;
    display: inline-block;
}
.career-split__photos {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
}
.career-split__photo {
    overflow: hidden;
}
.career-split__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
@media (max-width: 991px) {
    .career-split { flex-direction: column; min-height: auto; }
    .career-split__text { flex: none; padding: 2.5rem 1.5rem; }
    .career-split__photos { height: 320px; }
}
@media (max-width: 575px) {
    .career-split__photos { grid-template-columns: repeat(2, 1fr); height: 260px; }
    .career-split__photo:last-child { display: none; }
}
#recruit-intro span.text-main,
#benefits span.text-main {
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
#benefits {
    background: #e1e8f0;
}
#benefits .row.square-box {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-left: 0;
    margin-right: 0;
    padding-left: clamp(1rem, 4vw, 3rem);
    padding-right: clamp(1rem, 4vw, 3rem);
    counter-reset: benefit-num;
}
@media (min-width: 576px) {
    #benefits .row.square-box { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 992px) {
    #benefits .row.square-box { grid-template-columns: repeat(4, 1fr); }
}
#benefits .fancy-text-box-style-01 {
    background: #fff;
    height: 100%;
    width: 100%;
    border: 1px solid;
    border-radius: 6px;
    position: relative;
    counter-increment: benefit-num;
}
#benefits .fancy-text-box-style-01::before {
    content: counter(benefit-num);
    position: absolute;
    top: 14px;
    right: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8aaabd;
    font-size: 16px;
    font-weight: 700;
    font-family: var(--alt-font);
    z-index: 2;
}
#benefits .benefit-eyebrow {
    display: block;
    font-family: var(--alt-font);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(0, 62, 100, 0.35);
    margin-bottom: 10px;
}
#benefits .fancy-text-box-style-01 .text-box-wrapper {
    height: 100%;
    aspect-ratio: unset;
    padding: 2.2rem 1.5rem;
    box-sizing: border-box;
    align-items: flex-start !important;
}
#benefits .fancy-text-box-style-01 .text-box-wrapper .text-box {
    padding: 0 !important;
}
#benefits .fancy-text-box-style-01 .text-box i {
    display: block;
    width: 70px;
    height: 70px;
    line-height: 70px;
    text-align: center;
    border-radius: 50%;
    background: var(--gradient-blue);
    color: #fff !important;
    font-size: 28px;
    margin: 0 auto 20px;
}
#benefits .fancy-text-box-style-01 .text-box-wrapper .text-box-hover {
    padding: 1.2rem 0 0 !important;
}
#benefits .fancy-text-box-style-01 .text-box-wrapper .text-box,
#benefits .fancy-text-box-style-01 .text-box-wrapper .text-box-hover {
    opacity: 1 !important;
    visibility: visible !important;
    position: static !important;
    transform: none !important;
}
.mv-section--page .mv-inner {
    min-height: 88vh;
}
.mv-section--page .mv-images {
    height: 88vh;
    min-height: 560px;
}
.mv-section--page .mv-content {
    padding-top: 60px;
    padding-bottom: 60px;
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
    .mv-section { min-height: 72vh; height: 72vh; }
    .mv-section--page { min-height: auto; }
    .mv-bg-block { display: none; }
    .mv-inner {
        min-height: 72vh;
        align-items: flex-start;
    }
    .mv-section--page .mv-inner { min-height: auto; flex-direction: column; }
    .mv-content {
        flex: 0 0 75%;
        max-width: 75%;
        padding: 130px 1rem 2rem clamp(1.4rem, 5vw, 2.5rem);
        text-align: left;
    }
    .mv-label { font-size: 10px; letter-spacing: 0.2em; margin-bottom: 1.2rem; font-weight: 400; opacity: 0.85; }
    .mv-heading { font-size: clamp(3.2rem, 11vw, 4.2rem); line-height: 1.35; margin-bottom: 1.4rem; text-shadow: 0 2px 20px rgba(0,0,0,0.4); }
    .mv-desc { font-size: 13px; margin-bottom: 2rem; line-height: 1.9; text-shadow: 0 1px 8px rgba(0,0,0,0.5); }
    .mv-section--page .mv-content {
        flex: none;
        max-width: 100%;
        padding-top: 3rem;
        padding-bottom: 2rem;
        text-align: center;
    }
    .mv-actions { justify-content: flex-start; }
    .mv-section--page .mv-actions { justify-content: center; }
    .mv-images {
        flex: none;
        max-width: 100%;
        width: 100%;
        height: 65vw;
        min-height: 280px;
        background: var(--very-light-blue);
    }
    .mv-section--page .mv-images {
        height: 65vw;
        min-height: 260px;
    }
    .mv-img-main {
        top: 5%;
        left: 2%;
        width: 62%;
        height: 88%;
    }
    .mv-img-sub {
        bottom: 5%;
        right: 2%;
        width: 42%;
        height: 55%;
    }
    .mv-scroll-hint { display: none; }
    .mv-marquee-overlay { display: none; }
    .page-head .mv-marquee-overlay { display: block; }
    .mv-section .mv-marquee-overlay { display: block; }
    .mv-indicators { bottom: 2rem; }
    .mv-section::before {
        background: linear-gradient(to right, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.45) 60%, rgba(0,0,0,0.1) 100%);
    }

    /* Marquee: mobile emphasis */
    .mv-section .mv-marquee-overlay {
        padding: 2rem 0 1.6rem;
        background: linear-gradient(to bottom, transparent 0%, rgba(0,5,20,0.72) 100%);
    }
    .mv-marquee-overlay .svc-marquee__text {
        font-size: clamp(4.8rem, 13vw, 7rem);
        background: linear-gradient(90deg, rgba(255,255,255,0.55) 0%, rgba(255,255,255,1) 50%, rgba(255,255,255,0.55) 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
    .mv-marquee-overlay .svc-marquee__img {
        width: clamp(90px, 22vw, 160px);
        aspect-ratio: 3/2;
        opacity: 0.80;
        border-radius: 5px;
    }
    .mv-marquee-overlay .svc-marquee__list {
        gap: 2rem;
        padding-right: 2rem;
    }
}

@media (max-width: 575px) {
    .mv-content { flex: 0 0 78%; max-width: 78%; padding-top: 120px; padding-left: 1.3rem; padding-right: 0.8rem; }
    .mv-heading { font-size: clamp(3rem, 12vw, 3.8rem); line-height: 1.32; }
    .mv-desc { font-size: 13px; }
    .mv-images { height: 80vw; }
    .mv-section--page .mv-images { height: 80vw; }
}

/* ===================================
    00. top page
====================================== */

/* News section */
.top-news {
    background-color: #fff;
    background-image: url('../img/top/news_bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    clip-path: polygon(0 120px, 100% 0, 100% calc(100% - 80px), 0 100%);
    margin-top: -120px;
    padding-top: calc(7% + 120px) !important;
    padding-bottom: calc(5% + 80px) !important;
    position: relative;
    z-index: 3;
}
@media (max-width: 767px) {
    .top-news {
        clip-path: polygon(0 50px, 100% 0, 100% calc(100% - 50px), 0 100%);
        margin-top: -50px;
        padding-top: calc(5% + 50px) !important;
        padding-bottom: calc(4% + 50px) !important;
    }
}

/* About section layout */
@keyframes about-vscroll {
    from { transform: translateY(0); }
    to   { transform: translateY(-50%); }
}

/* 2カラムラッパー */
.about-main-wrap {
    display: flex;
    align-items: stretch;
}

/* 左：テキストエリア */
.about-text-panel {
    flex: 0 0 45%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.6rem;
    padding: 11rem clamp(2rem, 5vw, 5rem) 11rem clamp(2rem, 6vw, 7rem);
    min-height: 640px;
    background: #fff;
}
.about-en-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.25em;
    color: var(--main);
    text-transform: uppercase;
}
.about-main-title {
    font-size: clamp(1.8rem, 2.8vw, 2.6rem);
    font-weight: 800;
    color: var(--sub);
    line-height: 1.4;
    margin: 0;
}
.about-desc-heading {
    font-size: clamp(1.6rem, 2.5vw, 2.4rem);
    font-weight: 800;
    color: var(--heading-color);
    line-height: 1.6;
    margin: 0;
}
.about-desc-text {
    margin: 0;
    line-height: 2;
    color: var(--extra-medium-gray);
}
.about-desc-btn {
    align-self: flex-start;
}

/* 右：縦スクロール写真（上に80px伸ばして斜め部分を埋める） */
.about-photo-panel {
    flex: 0 0 55%;
    overflow: hidden;
    position: relative;
    margin-top: -80px;
    padding-bottom: 0;
}
.about-vscroll {
    position: absolute;
    inset: 2rem 0.8rem;
    overflow: hidden;
    border-radius: 16px;
}
.about-vscroll__track {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 8px 0;
    width: 100%;
    height: max-content;
    animation: about-vscroll 70s linear infinite;
}
.about-vscroll__track img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    flex-shrink: 0;
    border-radius: 12px;
}

@media (max-width: 991px) {
    .about-text-panel { flex: 0 0 50%; min-height: 400px; }
    .about-photo-panel { flex: 0 0 50%; }
    .about-vscroll__track img { height: 220px; }
}
@media (max-width: 767px) {
    .about-main-wrap { flex-direction: column; }
    .about-text-panel {
        flex: none;
        min-height: auto;
        padding: 7rem 1.5rem 4rem;
    }
    .about-photo-panel {
        flex: none;
        margin-top: 0;
        height: 420px;
    }
    .about-vscroll { position: relative; height: 100%; }
    .about-vscroll__track img { height: 300px; }
    .about-desc-heading { font-size: 1.7rem; }
    .about-desc-btn { align-self: stretch; text-align: center; margin-top: 0.8rem; }
}

/* About section overlap after news diagonal */
.top-about-section {
    margin-top: -80px;
    padding: 0 !important;
    margin-bottom: 0 !important;
    position: relative;
    z-index: 2;
}
@media (max-width: 767px) {
    .top-about-section {
        margin-top: -50px;
    }
}

/* Left column */
.top-news__left {
    overflow: hidden;
}
.top-news__heading {
    font-size: clamp(2.8rem, 7vw, 3.4rem);
    font-weight: 800;
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    margin-bottom: 0.6rem;
}
@media (max-width: 767px) {
    .top-news__heading {
        font-size: 2rem;
    }
}
.top-news__sub {
    font-size: 14px;
    font-weight: 600;
    color: var(--extra-medium-gray);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
}
.top-news__sub .text-main {
    color: var(--main) !important;
}
.top-news__dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gradient-blue);
    flex-shrink: 0;
}

/* News item list */
.top-news__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.6rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    text-decoration: none;
    transition: var(--transit-default);
}
.top-news__item:last-child {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.top-news__item:hover {
    opacity: 0.75;
}
.top-news__item-inner {
    flex: 1;
    min-width: 0;
}
.top-news__item-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}
.top-news__date {
    font-size: 13px;
    color: var(--extra-medium-gray);
}
.top-news__tag {
    font-size: 11px;
    color: var(--sub);
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 100px;
    padding: 2px 10px;
    line-height: 1.6;
    white-space: nowrap;
}
.top-news__title {
    margin: 0;
    font-size: 15px;
    color: var(--sub);
    font-weight: 500;
    line-height: 1.6;
    background-image: linear-gradient(var(--main), var(--main));
    background-size: 0% 1.5px;
    background-repeat: no-repeat;
    background-position: right bottom;
    transition: background-size 0.35s ease;
    display: inline;
}
.top-news__item:hover .top-news__title {
    background-size: 100% 1.5px;
    background-position: left bottom;
}

/* Dark arrow button (for news items) */
.card-link-icon--dark {
    background: rgba(0, 0, 0, 0.07);
    flex-shrink: 0;
}
.card-link-icon--dark .card-link-icon__arrow {
    color: var(--sub);
}
.top-news__item:hover .card-link-icon__arrow--first {
    transform: translateX(200%);
}
.top-news__item:hover .card-link-icon__arrow--second {
    transform: translateX(0);
}

/* Top-news: mobile-only button must stay hidden on desktop, and vice versa
   (.header-contact-btn forces display:inline-flex !important, which fights d-none / d-md-none) */
@media (min-width: 768px) {
    .top-news .header-contact-btn.d-md-none {
        display: none !important;
    }
}
@media (max-width: 767px) {
    .top-news .header-contact-btn.d-none {
        display: none !important;
    }
}

/* Top-news: button override (white bg — use standard dark-blue styling) */
.top-news .btn.btn-dark-blue {
    background-color: var(--sub);
    color: #fff;
    border-color: var(--sub);
}
.top-news .btn.btn-dark-blue.header-contact-btn {
    background-color: var(--dark-blue);
    border-color: var(--dark-blue);
}
.top-news .btn.btn-dark-blue:hover,
.top-news .btn.btn-dark-blue:active {
    background-color: transparent;
    border-color: var(--sub);
    color: var(--sub);
}
.top-news .btn.btn-dark-blue.header-contact-btn:hover,
.top-news .btn.btn-dark-blue.header-contact-btn:active {
    background-color: var(--main);
    border-color: var(--main);
    color: var(--white);
}

/* Gradient text heading */
.text-gradient {
    display: inline-block;
    background: linear-gradient(135deg, var(--main) 0%, #47c1ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.line-gradient {
    background: linear-gradient(90deg, var(--main) 0%, #47c1ff 100%) !important;
}

/* Left border heading */
.heading-line {
    border-left: 3px solid var(--main);
    padding-left: 0.75rem;
}

/* Bottom line heading (blue accent + gray full) */
.heading-underline {
    position: relative;
    padding-bottom: 14px;
    border-bottom: 1px solid #d9dde2;
}
.heading-underline::before {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 3rem;
    height: 2px;
    background-color: var(--main);
}

/* Icon circle: gradient background */
.rounded-circle.bg-main {
    background: var(--gradient-blue) !important;
    width: 70px !important;
    height: 70px !important;
}
.rounded-circle.bg-main i {
    font-size: 28px !important;
}

/* Gradient dot marker for headings */
.heading-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00b4e6 0%, var(--main) 50%, var(--sub) 100%);
    flex-shrink: 0;
    position: relative;
    top: -1px;
    margin-right: 12px;
}

/* Small feature card: English eyebrow + corner tag */
.svc-mini-card {
    position: relative;
}
.svc-card-eyebrow {
    display: block;
    font-family: var(--alt-font);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--main);
    opacity: 0.55;
    margin-top: 10px;
    margin-bottom: 4px;
}
.svc-card-corner {
    position: absolute;
    top: 12px;
    right: 14px;
    font-family: var(--alt-font);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8aaabd;
    opacity: 1;
}

/* Service intro dark section */
.section-service-dark {
    position: relative;
    z-index: 4;
    background-color: var(--sub);
    background-image: url('../img/top/service/456355679.jpg');
    background-size: cover;
    background-position: center;
    clip-path: polygon(0 80px, 100% 0, 100% calc(100% - 80px), 0 100%);
    margin-top: -80px;
    margin-bottom: -80px;
    padding-top: calc(6rem + 80px) !important;
    padding-bottom: calc(6rem + 80px) !important;
}
.section-service-dark::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 25, 45, 0.88);
    z-index: 0;
}
.section-service-dark > * {
    position: relative;
    z-index: 1;
}
.section-service-dark .alt-font.text-main {
    color: var(--main) !important;
}
.section-service-dark .text-sub {
    color: #fff !important;
}
.section-service-dark .lh-32 {
    color: rgba(255, 255, 255, 0.7) !important;
}

@media (max-width: 767px) {
    .section-service-dark {
        clip-path: polygon(0 50px, 100% 0, 100% calc(100% - 50px), 0 100%);
        margin-top: -50px;
        margin-bottom: -50px;
        padding-top: calc(6rem + 50px) !important;
        padding-bottom: calc(6rem + 50px) !important;
    }
}

/* Service cards 2x2 grid */
.service-card-figure {
    height: 440px;
    margin-bottom: 1.5rem !important;
}
.service-card-figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--duration-default) var(--easing-default), opacity var(--duration-default) var(--easing-default);
}
/* 詳細度を上げてフレームワークの transition: 1.5s を上書き */
.interactive-banner-style-08 .service-card-figure img {
    transition: transform 0.5s cubic-bezier(0.5, 1, 0.89, 1), opacity 0.5s cubic-bezier(0.5, 1, 0.89, 1) !important;
}
@media screen and (min-width: 62.6em) {
    .service-card-figure:hover img,
    .interactive-banner-style-08 .service-card-figure:hover img {
        transform: scale(1.08);
    }
}

/* hover video */
.service-card-figure .svc-hover-video {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: 0;
    pointer-events: none;
}
@media screen and (min-width: 62.6em) {
    .service-card-figure:hover .svc-hover-video {
        opacity: 1;
    }
    .service-card-figure:hover img {
        opacity: 0;
    }
}

/* gradient overlay */
.service-card-gradient {
    background: linear-gradient(to top, rgba(5, 30, 60, 0.85) 0%, rgba(5, 30, 60, 0.3) 50%, transparent 100%);
    z-index: 1;
}

/* figcaption */
.service-card-caption {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem 2.2rem 4.5rem;
}

/* bottom row: text left + arrow right */
.service-card-body {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
}
.service-card-text {
    flex: 1;
}
.service-card-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
    opacity: 0.9;
}
.service-card-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--main);
    flex-shrink: 0;
}
.service-card-title {
    color: #fff;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}
.service-card-desc {
    color: rgba(255, 255, 255, 0.75);
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .service-card-figure {
        height: 300px;
    }
    .service-card-caption {
        padding: 1.5rem;
    }
}

/* Card link arrow animation (sunfluoro / apecc style) */
.card-link-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #fff;
    overflow: hidden;
    flex-shrink: 0;
    transition: var(--transit-default);
}
/* Service card: blue square icon button */
.card-link-icon--service {
    width: 44px;
    height: 44px;
    border-radius: 6px;
    background: var(--main);
    color: #fff;
    transition: background var(--duration-default) var(--easing-default);
}
.service-card-figure:hover .card-link-icon--service {
    background: #31aef5;
}
.card-link-icon__arrow {
    position: absolute;
    font-size: 1.1rem;
    color: var(--main);
    transition: transform var(--duration-default) var(--easing-default);
}
.card-link-icon__arrow--first {
    transform: translateX(0);
}
.card-link-icon__arrow--second {
    transform: translateX(-200%);
}
.service-card-figure:hover .card-link-icon__arrow--first {
    transform: translateX(200%);
}
.service-card-figure:hover .card-link-icon__arrow--second {
    transform: translateX(0);
}

/* Image zoom also uses transit-default */
.service-card-figure img {
    transition: transform var(--duration-default) var(--easing-default), opacity var(--duration-default) var(--easing-default);
}

/* ===================================
    00. about page
====================================== */
#history .swiper {
    cursor: pointer !important;
}

/* ===================================
    00. service page
====================================== */
.service-container {
    padding-left:  clamp(1.5rem, 5vw, 5rem);
    padding-right: clamp(1.5rem, 5vw, 5rem);
}

#service div[id] {
    scroll-margin-top: 180px;
}

/* Sidebar nav box */
/* アンカーリンクのスクロールオフセット（固定ヘッダー分） */
html {
    scroll-padding-top: 100px;
}

.service-nav-box {
    background: #fff !important;
    border: 1px solid #dce8f0;
    border-radius: 6px;
}

/* 見出し英字ラベル：グラデーション文字 */
.svc-eyebrow-gradient {
    background: var(--gradient-blue) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
}

/* Sidebar nav title */
.service-nav-title {
    font-size: 16px !important;
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent !important;
}

#service .list-style-02 li a {
    display: inline-block;
    width: 100%;
    font-size: 13px;
    line-height: 1.6rem;
    transition: all 0.3s ease-in-out;
}

#service .list-style-02 li i {
    font-size: 13px;
}

#service .list-style-02 li:hover a,
#service .list-style-02 li.active a {
    color: var(--main) !important;
}

#service .list-style-02 li:hover i {
    transform: translateX(5px);
    color: var(--main) !important;
    transition: all 0.3s ease;
}

#service .list-style-02 li.active a {
    font-weight: 500;
    color: var(--main) !important;
}

#service .list-style-02 li.active i {
    transform: translateX(5px);
    color: var(--main) !important;
}

#service .list-style-02 li i {
    transition: all 0.3s ease;
    color: var(--base-color) !important;
}

/* --- Sidebar scroll-spy progress (MAPPA style) --- */
.service-nav-counter {
    display: flex;
    align-items: baseline;
    gap: 5px;
    line-height: 1;
}
.service-nav-counter__current {
    font-size: 26px;
    font-weight: 700;
    font-family: var(--alt-font);
    color: var(--main);
    line-height: 1;
    min-width: 2.4ch;
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.service-nav-counter__sep {
    font-size: 12px;
    font-family: var(--alt-font);
    color: rgba(0, 62, 100, 0.3);
}
.service-nav-counter__total {
    font-size: 12px;
    font-family: var(--alt-font);
    font-weight: 600;
    color: rgba(0, 62, 100, 0.35);
}

.service-nav-wrap {
    position: relative;
    padding-left: 20px;
}
.service-nav-track {
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: rgba(0, 62, 100, 0.1);
    border-radius: 2px;
    overflow: hidden;
}
.service-nav-fill {
    width: 100%;
    height: 0%;
    background: var(--main);
    transition: height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}
.service-nav-wrap .list-style-02 li {
    position: relative;
}
.service-nav-wrap .list-style-02 li::before {
    content: '';
    position: absolute;
    left: -24px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0, 62, 100, 0.15);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}
.service-nav-wrap .list-style-02 li.active::before {
    background: var(--main);
    width: 10px;
    height: 10px;
    left: -25px;
    box-shadow: 0 0 0 4px rgba(0, 117, 190, 0.2);
}

/* ===================================
    00. recruit page
====================================== */

/* ----- Recruit Hero: 自動横スライド (Subaru style) ----- */

.recruit-slider {
    position: relative;
    height: 100vh;
    min-height: 720px;
    overflow: hidden;
    background: #000;
}

/* 写真帯ラッパー */
.recruit-slider-wrap {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

/* トラック（JS で translateX を制御） */
.recruit-slider-track {
    display: flex;
    height: 100%;
    will-change: transform;
}

/* 各写真（全て同じ幅 = シームレスループの要） */
.recruit-slider-item {
    width: 55vw;
    height: 100%;
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
    position: relative;
}

.recruit-slider-item::after {
    display: none;
}

/* ブルーブラシ（固定オーバーレイ） */
.recruit-slider-brush {
    position: absolute;
    bottom: 0; left: 0;
    width: 100%;
    height: 50%;
    background: var(--main);
    clip-path: polygon(0 42%, 22% 30%, 50% 18%, 75% 10%, 100% 5%, 100% 100%, 0 100%);
    z-index: 4;
    opacity: 0.92;
    pointer-events: none;
}

/* テキスト（固定） */
.recruit-slider-text {
    position: absolute;
    bottom: 3rem;
    left: clamp(2rem, 6vw, 6rem);
    z-index: 5;
}

/* テキスト共通 */
.recruit-hero-heading {
    font-size: clamp(2rem, 4.5vw, 4rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.25;
    margin-bottom: 0.6rem;
    letter-spacing: 0.02em;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}
.recruit-hero-sub {
    font-style: italic;
    color: rgba(255, 255, 255, 0.85);
    font-size: clamp(0.8rem, 1.4vw, 1rem);
    font-weight: 600;
    letter-spacing: 0.06em;
    margin: 0;
}

/* 角デコ */
.recruit-hero-deco-tl {
    position: absolute;
    top: 0; left: 0;
    width: 80px; height: 80px;
    background: var(--main);
    clip-path: polygon(0 0, 100% 0, 0 100%);
    z-index: 6;
}
.recruit-hero-deco-br {
    position: absolute;
    bottom: 0; right: 0;
    width: 80px; height: 80px;
    background: var(--sub);
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
    z-index: 6;
}

/* パンくず */
.recruit-hero-breadcrumb {
    position: absolute;
    top: 1.2rem; left: 1.5rem;
    z-index: 10;
}
.recruit-hero-breadcrumb nav {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 11px;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.05em;
}
.recruit-hero-breadcrumb nav a {
    color: #fff;
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.2s;
}
.recruit-hero-breadcrumb nav a:hover { opacity: 1; }
.recruit-hero-breadcrumb nav span   { opacity: 0.5; }

/* 一時停止ボタン */
.recruit-slider-pause {
    position: absolute;
    bottom: 1.8rem;
    right: 2rem;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    padding: 0.4rem 1rem;
    cursor: pointer;
    border-radius: 2px;
    font-size: 12px;
    letter-spacing: 0.08em;
    transition: background 0.2s;
}
.recruit-slider-pause:hover {
    background: rgba(0, 0, 0, 0.6);
}
.recruit-slider-pause-icon {
    font-size: 10px;
    letter-spacing: -1px;
}

/* Responsive */
@media (max-width: 767px) {
    .recruit-slider-item { width: 90vw; border-right-width: 2px; }
    .recruit-hero-heading { font-size: 1.8rem; }
    .recruit-slider-brush {
        clip-path: polygon(0 50%, 50% 35%, 100% 25%, 100% 100%, 0 100%);
    }
    .recruit-hero-deco-tl,
    .recruit-hero-deco-br { width: 50px; height: 50px; }
}


/* Benefits -- Fancy text box style 01 */
.square-box .fancy-text-box-style-01 .text-box-wrapper {
    aspect-ratio: 1 / 1;
    width: 100%;
    height: auto;
    position: relative;
}

/* ===================================
    00. news page
====================================== */
.tab-style-08 .nav-tabs .nav-item .nav-link .tab-border{ height: 2px; }
/* ニュース一覧：日付とカテゴリバッジの位置揃え */
.news-meta-row {
    line-height: 1;
}
.news-meta-date {
    display: inline-flex;
    align-items: center;
    line-height: 1;
}
.news-meta-tag {
    display: inline-flex;
    align-items: center;
    line-height: 1;
    padding: 6px 10px;
}
.load-item {
    display: none !important;
    position: relative;
    cursor: pointer !important;
    transition: all 0.3s ease;
}
.load-item.is-visible { 
    display: flex !important; 
}
.load-item::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    cursor: pointer !important;
}
.load-item:hover {
    background-color: var(--very-light-gray);
}
.load-item:hover .news-ttl {
    opacity: 0.7;
}
.load-item .flex-shrink-0 img {
    transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.load-item:hover .flex-shrink-0 img {
    transform: scale(1.08);
}
.tab-style-08 .tab-content a .feather {
    display: inline-block !important;
    transition: transform 0.3s ease-in-out !important;
    line-height: 1;
    position: relative;
    z-index: 6;
}
.tab-style-08 .tab-content a:hover .feather {
    transform: translateX(10px) !important;
    color: var(--dark-blue);
}
#loadMore, #loadMore * {
    cursor: pointer !important;
}
#loadMore:hover {
    transform: none !important;
}

/* ===================================
    00. news_detail page
====================================== */

/* 本文エリア全体 */
#wp-detail-body {
    font-size: 15px;
    line-height: 1.9;
    color: #333;
}

/* 記事タイトル（メタ上のh1） */
#wp-detail-title {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.5;
    color: #111;
    letter-spacing: 0.02em;
}

/* ── 見出し ── */
#wp-detail-body h2,
.news-detail h2 {
    font-size: 20px;
    font-weight: 700;
    color: #111;
    margin-top: 48px;
    margin-bottom: 16px;
    padding: 14px 18px;
    background: #f0f4fa;
    border-left: 4px solid var(--main);
    border-radius: 0 4px 4px 0;
    line-height: 1.5;
}

#wp-detail-body h3,
.news-detail h3 {
    font-size: 18px;
    font-weight: 700;
    color: #111;
    margin-top: 40px;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--main);
    line-height: 1.5;
}

#wp-detail-body h4,
.news-detail h4 {
    font-size: 16px;
    font-weight: 700;
    color: #222;
    margin-top: 32px;
    margin-bottom: 10px;
    padding-left: 14px;
    border-left: 3px solid var(--main);
    line-height: 1.5;
}

#wp-detail-body h5,
.news-detail h5 {
    font-size: 15px;
    font-weight: 700;
    color: #222;
    margin-top: 28px;
    margin-bottom: 8px;
}

#wp-detail-body h6,
.news-detail h6 {
    font-size: 14px;
    font-weight: 700;
    color: #333;
    margin-top: 24px;
    margin-bottom: 6px;
}

/* ── 本文テキスト ── */
#wp-detail-body p,
.news-detail p {
    margin-bottom: 24px;
    line-height: 1.9;
}

#wp-detail-body a {
    color: var(--main);
    text-decoration: underline;
    text-underline-offset: 3px;
}
#wp-detail-body a:hover { opacity: 0.75; }

/* ── 画像 ── */
#wp-detail-body figure,
#wp-detail-body .wp-block-image {
    margin: 32px 0;
}
#wp-detail-body figure img,
#wp-detail-body .wp-block-image img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}

/* ── キャプション ── */
#wp-detail-body figcaption,
#wp-detail-body .wp-element-caption,
#wp-detail-body .wp-caption-text {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    color: #888;
    line-height: 1.6;
    text-align: center;
    letter-spacing: 0.02em;
}

/* ── リスト ── */
#wp-detail-body ul,
#wp-detail-body ol {
    padding-left: 1.6em;
    margin-bottom: 24px;
}
#wp-detail-body li { margin-bottom: 6px; line-height: 1.8; }

/* ── 引用 ── */
#wp-detail-body blockquote {
    margin: 32px 0;
    padding: 18px 24px;
    background: #f7f9fc;
    border-left: 4px solid var(--main);
    border-radius: 0 4px 4px 0;
    color: #555;
    font-style: normal;
}

/* ── 水平線 ── */
#wp-detail-body hr {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 40px 0;
}

/* ── テーブル ── */
#wp-detail-body table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 24px;
    font-size: 14px;
}
#wp-detail-body th {
    background: var(--main);
    color: #fff;
    padding: 10px 14px;
    text-align: left;
    font-weight: 600;
}
#wp-detail-body td {
    padding: 10px 14px;
    border-bottom: 1px solid #e5e5e5;
}
#wp-detail-body tr:nth-child(even) td { background: #f8f9fb; }

.layout-block { margin-bottom: 32px; }

/* ── caption-box（WP記事内キャプション） ── */
.caption-box {
    display: block;
    padding: 7px 14px !important;
    background: #f4f6f9 !important;
    border-top: 1px solid #dce3ec;
    color: #777 !important;
    font-size: 12px !important;
    text-align: center;
    line-height: 1.6;
    letter-spacing: 0.02em;
}

/* ── news記事内のportfolio-boxはカードUIを無効化 ── */
#wp-detail-body .portfolio-box {
    box-shadow: none !important;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #e8edf2;
}
#wp-detail-body .portfolio-box:hover {
    box-shadow: none !important;
    transform: none !important;
}
#wp-detail-body .portfolio-box img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 0;
    transition: none !important;
}
#wp-detail-body .portfolio-box:hover img {
    transform: none !important;
}

/* ── WordPress不正な</p>タグによる空白段落を除去 ── */
#wp-detail-body p:empty { display: none !important; margin: 0; }

@media (max-width: 767px) {
    #wp-detail-title { font-size: 22px; }
    #wp-detail-body h2, .news-detail h2 { font-size: 17px; padding: 12px 14px; margin-top: 36px; }
    #wp-detail-body h3, .news-detail h3 { font-size: 16px; }
    #wp-detail-body h4, .news-detail h4 { font-size: 15px; }
    .layout-block { margin-bottom: 20px; }
}


/* ===================================
    00. news page tab (ORIX style)
====================================== */
.news-tab-nav {
    display: flex;
    width: 100%;
    list-style: none;
    padding: 0;
    margin: 0;
    /* タブ間の隙間はコンテナ背景色として表現 */
    background: #d8dde4;
    gap: 3px;
    border-bottom: none;
}
.news-tab-nav .nav-item {
    flex: 1;
    position: relative;
}
.news-tab-nav .nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 26px 1rem !important;
    text-align: center;
    font-size: 16px !important;
    font-weight: 700 !important;
    /* 非アクティブ：読めるグレー */
    color: #aab0bb !important;
    background: #fff !important;
    border: none !important;
    border-radius: 0 !important;
    text-decoration: none;
    transition: color 0.25s;
    line-height: 1.4;
    position: relative;
    box-shadow: none !important;
    /* 上線の土台（透明） */
    padding-top: 30px !important;
}
/* アクティブ上線：スライドアニメーション付き */
.news-tab-nav .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, #47c1ff 50%, #0075be 50%);
    transform: scaleX(0);
    transform-origin: left center;
}
/* アクティブ（静止状態） */
.news-tab-nav .nav-link.active::before {
    transform: scaleX(1);
}
/* タブ切り替え入りアニメーション（左→右） */
.news-tab-nav .nav-link.tab-line-enter::before {
    transform-origin: left center;
    animation: tabLineIn 0.38s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
/* タブ切り替え出アニメーション（右に抜ける） */
.news-tab-nav .nav-link.tab-line-exit::before {
    transform-origin: right center;
    animation: tabLineOut 0.28s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
/* ホバー入り（左→右） */
.news-tab-nav .nav-link.tab-line-hover-enter::before {
    transform-origin: left center;
    animation: tabLineIn 0.32s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
/* ホバーアウト（右に抜ける） */
.news-tab-nav .nav-link.tab-line-hover-exit::before {
    transform-origin: right center;
    animation: tabLineOut 0.26s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes tabLineIn {
    from { transform: scaleX(0); }
    to   { transform: scaleX(1); }
}
@keyframes tabLineOut {
    from { transform: scaleX(1); }
    to   { transform: scaleX(0); }
}
.news-tab-nav .nav-link.active,
.news-tab-nav .nav-link[aria-selected="true"] {
    color: rgb(22, 25, 32) !important;
    background: #fff !important;
}
.news-tab-nav .nav-link:hover:not(.active) {
    color: #777f8a !important;
}

/* ===================================
    About — company profile table (UNIDGE style)
   =================================== */
.profile-table {
    border-top: 1px solid #e0e0e0;
}
.profile-table-row {
    display: flex;
    border-bottom: 1px solid #e0e0e0;
    align-items: flex-start;
}
.profile-table-label {
    width: 175px;
    min-width: 175px;
    padding: 24px 20px 24px 0;
    font-size: 14px;
    color: var(--main);
    font-weight: 600;
    flex-shrink: 0;
    letter-spacing: 0.35em;
}
.profile-table-value {
    padding: 24px 0 24px 32px;
    font-size: 15px;
    color: #1a1a1a;
    line-height: 1.8;
    flex: 1;
}
@media (max-width: 767px) {
    .profile-table-row { flex-direction: column; }
    .profile-table-label {
        width: 100%;
        padding: 16px 0 6px;
        border-left: none;
    }
    .profile-table-value {
        padding: 0 0 16px;
        border-left: none;
    }
}

/* ===================================
    About — feature card あしらい
   =================================== */
.about-feature-num {
    position: absolute;
    bottom: 14px;
    left: 14px;
    width: 46px;
    height: 46px;
    background: linear-gradient(135deg, var(--main) 0%, #47c1ff 100%);
    color: #fff;
    font-family: var(--alt-font);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.04em;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0,128,219,0.5);
    z-index: 2;
    flex-shrink: 0;
}
.about-feature-en-label {
    display: flex;
    align-items: center;
    gap: 10px;
}
.about-feature-en-label::before {
    content: '';
    display: block;
    width: 22px;
    height: 2px;
    background: linear-gradient(90deg, var(--main), #47c1ff);
    border-radius: 1px;
    flex-shrink: 0;
}
.about-feature-ja-accent {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 4px;
}
.about-feature-ja-accent::before {
    content: '＜';
    color: var(--main);
    font-weight: 300;
    flex-shrink: 0;
}
.about-feature-ja-accent::after {
    content: '＞';
    color: var(--main);
    font-weight: 300;
    flex-shrink: 0;
}

/* Works portfolio card */
.portfolio-box {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: none;
    display: block;
    transition: box-shadow 0.25s ease;
    text-decoration: none !important;
}
.portfolio-box:hover {
    box-shadow: none;
}
.portfolio-box .portfolio-image img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.portfolio-box:hover .portfolio-image img {
    transform: scale(1.04);
}
.portfolio-box .portfolio-caption {
    padding: 10px 14px 14px !important;
}
.works-ttl {
    color: var(--main) !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    line-height: 1.5 !important;
}

/* Philosophy card image overlay */
.about-feature-img-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 48px 16px 14px;
    background: linear-gradient(to top, rgba(0,0,0,0.68) 0%, transparent 100%);
    border-radius: 0 0 6px 6px;
}
.about-feature-img-overlay .about-feature-ja-accent {
    color: rgba(255,255,255,0.8);
}
.about-feature-img-overlay .about-feature-ja-accent::before,
.about-feature-img-overlay .about-feature-ja-accent::after {
    color: rgba(255,255,255,0.55);
}

/* ===================================
    News detail — article media row
    写真＋テキスト交互レイアウト
====================================== */
.article-media-row {
    display: flex;
    gap: 48px;
    align-items: center;
    margin-bottom: 64px;
}
.article-media-row--reverse {
    flex-direction: row-reverse;
}
.article-media-row__img {
    flex: 0 0 46%;
    max-width: 46%;
}
.article-media-row__img img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
}
.article-media-row__text {
    flex: 1;
    min-width: 0;
}
.article-media-row__text h3 {
    font-size: 18px;
    font-weight: 700;
    color: #111;
    margin-top: 0;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--main);
    line-height: 1.5;
}
.article-media-row__text p {
    font-size: 15px;
    line-height: 1.9;
    color: #444;
    margin-bottom: 12px;
}
/* #wp-detail-body の高優先度スタイルをリセット */
#wp-detail-body .article-media-row__text h2,
#wp-detail-body .article-media-row__text h3,
#wp-detail-body .article-media-row__text h4 {
    margin-top: 0;
    background: none;
    padding: 0 0 8px 0;
    border-left: none;
    border-bottom: 2px solid var(--main);
    border-radius: 0;
}
@media (max-width: 767px) {
    .article-media-row,
    .article-media-row--reverse {
        flex-direction: column;
        gap: 24px;
    }
    .article-media-row__img {
        flex: none;
        max-width: 100%;
    }
    .article-media-row__img img {
        height: 220px;
    }
}

/* ===================================
    00. contact page
====================================== */
#contact input, select, textarea, .form-control, .form-select{
    font-size: 14px;
}


