/*
Theme Name: Z-works
Version: 1.0
*/

/* COMMON ------------------------------------------- */

body {
    margin: 0 auto !important;
    line-height: 1.5;
    box-sizing: border-box;
}

:root {
    --font-roboto-condensed: 300 20px/40px "Roboto Condensed", sans-serif;
    --font-noto-bold: 700 32px/1.6 "Noto Sans JP", sans-serif;
    --font-noto-40-bold: 700 40px "Noto Sans JP", sans-serif;
    --font-roboto: "Roboto Condensed";
    --font-NotoSansJp: "Noto Sans Jp", sans-serif;
    --font-noto-sp-text: 400 14px/2 "Noto Sans JP", sans-serif;
    --font-noto-sub-tit: 700 28px/1.6 "Noto Sans JP", sans-serif;

}

.sp-only {
    display: none !important;
}

.pc-only {
    display: flex;
}

.wrap {
    max-width: 1160px;
    padding: 0 30px;
    margin: 0 auto;
}

.site-main {
    margin-top: 135px;
    overflow: hidden;
}

html {
    scroll-behavior: smooth;
}

p {
    margin: 0;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0
}


@media (max-width: 767px) {
    .pc-only {
        display: none !important;
    }

    .sp-only {
        display: flex !important;
    }

    .wrap {
        padding: 0 30px;
        margin: 0 auto;
    }

    .site-main {
        margin-top: 65px;
    }
}


/* ===== Responsive TABLET ===== */

@media (min-width: 768px) and (max-width: 1023px) {}




/* TOP PAGE ------------------------------------------- */


/* ===== Header Layout ===== */
#site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    z-index: 1000;
    transition: transform 0.3s ease;
    font: var(--font-roboto-condensed);
}

.header-grid {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    height: 85px;
}

.header-nav {
    margin-right: 50px;
}

/* Logo */
.header-logo img {
    height: 40px;
    margin-left: 30px;
}

/* Desktop Nav */
.header-nav ul {
    list-style: none;
    display: flex;
    gap: 50px;
    margin: 0;
    padding: 0;
}

.header-nav ul li a {
    text-decoration: none;
    color: #000;
    font: var(--font-roboto-condensed);
    transition: all 0.3s ease;
    font-size: 18px;
}

.header-nav ul li a:hover {
    color: var(--accent);
}

/* Contact button */
.header-contact {
    display: flex;
    align-items: center;
    height: 85px;
    overflow: hidden;
    width: 135px;
}

/* Contact button */
.contact-btn {
    background: #000;
    color: #fff;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 20px;
    text-decoration: none;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    gap: 10px;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    background: var(--accent);
}

.contact-btn .contact-icon {
    width: 25px;
    height: auto;
    display: block;
}

.cont-text {
    margin: 0;
    line-height: 1;
    font-size: 18px;
}


/* ===== Hamburger Icon ===== */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    margin-left: 10px;
    background: none;
    border: none;
    cursor: pointer;
    width: 35px;
    height: auto;
    position: relative;
    z-index: 1100;
}

.hamburger span {
    width: 30px;
    height: 2px;
    background: #000;
    transition: all 0.3s ease;
    display: block;
}

/* Hamburger active = turn into X */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== Mobile Menu ===== */
.mobile-menu {
    position: fixed;
    top: 65px;
    /* directly under header */
    right: -100%;
    width: 80%;
    height: calc(100% - 65px);
    background: black;
    transition: right 0.4s ease;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mobile-menu ul {
    width: 85%;
    margin: 0 auto;
}

.mobile-menu.active {
    right: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.white-logo {
    width: 40px;
    opacity: 0;
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 40px;

}

.mobile-menu ul li {
    position: relative;
}

.mobile-menu ul li::before {
    content: url(./assets/images/arrow.svg);
    width: 20px;
    height: 10px;
    position: absolute;
    top: 0;
    right: 0;
}

.mobile-menu ul li a {
    font-size: 16px;
    color: white;
    text-decoration: none;
    border-bottom: 1px #565656 solid;
    display: flex;
}

nav.breadcrumb {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    font: 500 14px/1 "Roboto Condensed", "Noto Sans JP", sans-serif;
    color: black;
    height: 50px;
    background: #F6F6F6;
    width: 100%;

}

nav.breadcrumb .wrap {
    display: flex;
    justify-content: flex-start;
    width: 100%;
    gap: 5px;
}

.breadcrumb a {
    color: black;
    text-decoration: none
}

.breadcrumb a:hover {
    text-decoration: underline
}

.breadcrumb .sep {
    opacity: .6
}

.breadcrumb .current {
    color: #9E9E9E;

}

.header-nav a[aria-current="page"],
.header-nav .menu>li.current-menu-item>a,
.header-nav .menu>li.current_page_item>a,
.header-nav .menu>li.current-menu-ancestor>a {
    color: #00D7B7;
}

#mobile-menu a[aria-current="page"],
#mobile-menu .menu>li.current-menu-item>a,
#mobile-menu .menu>li.current_page_item>a,
#mobile-menu .menu>li.current-menu-ancestor>a {
    color: #00D7B7;
}

.header-nav a:hover,
.header-nav a:focus,
#mobile-menu a:hover,
#mobile-menu a:focus {
    color: #00D7B7;
}

/* ===== Responsive ===== */
@media (max-width: 767px) {

    #site-header,
    .header-grid {
        height: 65px;
    }

    .header-grid {
        height: 65px;
        padding: 0 15px;
    }

    .header-nav {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .header-logo a {
        height: auto;
        display: flex;
    }

    .header-logo img {
        margin-left: 0;
        height: 35px;
    }

    .header-contact {
        width: auto;
        height: 65px;
    }

    .contact-btn {
        font-size: 14px;
    }

    .contact-btn .contact-icon {
        width: 20px;
    }

    nav.breadcrumb {
        display: none;
    }

    .cont-text {
        font-size: 14px;
    }
}

#site-header {
    transition: transform .3s ease;
}

#site-header.hide {
    transform: translateY(-100%);
}

#site-header.show {
    transform: translateY(0);
}

:root {
    --header-h: 85px;
}

.mobile-menu {
    top: var(--header-h);
    height: calc(100dvh - var(--header-h));
    z-index: 1000;

}

#site-header {
    z-index: 1100;
}

.menu-overlay {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, .5);
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease;
    z-index: 900;
    /* under menu */
}

.menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.no-scroll {
    overflow: hidden;
    height: 100dvh;
    /* iOS help */
    overscroll-behavior: none;
}

@media (max-width: 767px) {
    :root {
        --header-h: 65px;
    }
}


/* ===== First View ===== */
.fv {
    margin-top: 85px;
    max-height: 100%;
    overflow: hidden;
}

.fv-bg {
    position: relative;
    height: 600px;
    margin-left: 100px;
    max-width: calc(100% - 100px);
    overflow: visible;
}

.fv-frame {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border-radius: 50px 0 0 50px;
    z-index: 0;
}

.fv-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform-origin: center;
    /* desktop: no shift */
    transform: translateY(0) scale(1);
    will-change: transform;
}

.fv-overlay {
    position: absolute;
    z-index: 1;
}

.fv-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 50px 0 0 50px;
}

.fv-overlay {
    position: absolute;
    top: 40%;
    left: -40px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.fv-line {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(6px);
    padding: 10px 30px 10px 80px;
    font-size: 1.6rem;
    font-weight: 500;
    margin: 0;
    font: var(--font-noto-40-bold);
    display: inline-block;
    width: fit-content;
    /* Added to fit content width */
}


/* ===== Latest News ===== */
.latest-news {
    background: #fff;
    display: flex;
    align-items: center;
    padding: 30px 0;
    font-family: Noto Sans JP;
    font-weight: 500;
    font-size: 16px;

}

.latest-news-inner {
    display: flex;
    align-items: center;
    gap: 18px;
}

.news-icon {
    display: inline-block;
    background: #000;
    color: #fff;
    border-radius: 50%;
    width: 19.5px;
    height: 100%;
    font-size: 13px;
    font-weight: bold;
    text-align: center;
    margin-right: 15px;
    padding: 2px;
}

.news-date {
    font-weight: bold;
    font-weight: 500;
}

.news-title {
    margin-left: -5px;
    color: #000;
    text-decoration: none;
    font-weight: 700;
    pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
    .news-title:hover {
        text-decoration: underline;
    }
}

@media (max-width: 767px) {
    .fv {
        margin-top: 65px;
        max-width: 100%;
    }

    .fv-bg {
        max-width: 100%;
        height: 440px;
        margin-left: 30px;
    }

    .fv-frame {
        border-radius: 30px 0 0 30px;
    }

    .fv-video {
        transform: scale(1.5);
        object-position: center 22%;
    }

    .fv-bg img {
        border-radius: 30px 0 0 30px;
    }

    .fv-overlay {
        top: 50px;
    }

    .fv-line {
        font-size: 26px;
        padding: 10px 15px 10px 60px;
    }


    .latest-news {
        padding: 30px 0;
        font-size: 16px;
    }

    .latest-news-inner {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .news-title {
        margin-left: 0;
    }

    .news-icon {
   width: 18px;
        font-size: 12px;
    }

}

.news__list {
    overflow: hidden;
    transition: max-height 400ms ease;
    max-height: 9999px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.news__item {
    display: flex;
    gap: 12px;
    padding: 10px 0;
}

.news__item time {
    font-weight: 700;
    min-width: 100px;
}

.news__list.is-collapsed::after {
    content: "";
    display: block;
    height: 18px;
    margin-top: -18px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
    pointer-events: none;
}

.news .viewmore__cta {
    margin-top: 16px;
    display: inline-flex;
    align-items: center;
    gap: 20px;
    padding: 0;
    background: transparent;
    border: 0;
    color: inherit;
    font: inherit;
    cursor: pointer;
    appearance: none;
    /* remove native button look */
    -webkit-appearance: none;
}

.news .viewmore__cta:hover .viewmore__cta-circle {
    transform: translateX(2px) rotate(90deg);
}

.news .viewmore__cta:focus-visible {
    outline: 2px solid var(--accent, #00a38a);
    outline-offset: 4px;
    border-radius: 9999px;
}

.viewmore__cta-label {
    font-weight: 700;
}

.viewmore__cta-circle {
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 1px solid currentColor;
    border-radius: 50%;
    transition: transform .35s ease;
}

.news--open .viewmore__cta-circle {
    transform: translateX(2px) rotate(270deg);
}

.news--open .viewmore__cta:hover .viewmore__cta-circle {
    transform: translateX(2px) rotate(360deg);
}

/* ===== VISION Section ===== */
:root {
    --vision-plate-grad: linear-gradient(337.04deg, rgba(217, 255, 254, 0.2) -36.82%, #EBEBEB 53.89%);
    --vision-teal: #00AD93;
    --radius-big: 28px;
}

.vision {
    position: relative;
    padding: 100px 0;
    background: #fff;
    overflow: hidden;
}

.vision::after {
    position: absolute;
    content: '';
    width: 90%;
    height: 1px;
    background: #E8E8E8;
    top: 0;
    left: 0;
}

.vision::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 25%;
    background: var(--vision-plate-grad);
    z-index: 0;
    border-radius: 0 0 50px 0;
}

.vision__container {
    position: relative;
    z-index: 1;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    gap: 70px;
    align-items: flex-start;
}

.vision__media {
    position: relative;
    width: fit-content;
}

.vision__img {
    width: 400px;
    height: 600px;
    border-radius: 20px;
    object-fit: cover;

}

.vision__copy {
    align-self: center;
}

.title-eyebrow {
    position: relative;
    display: inline-block;
    color: var(--vision-teal);
    padding-right: 90px;
    font: var(--font-roboto-condensed);
    font-weight: 400;
    line-height: 0;
    text-transform: uppercase;
}

.title-eyebrow::after {
    content: "";
    position: absolute;
    top: 88%;
    right: 0px;
    transform: translateY(-50%);
    width: 70px;
    height: 1px;
    background: currentColor;
}


.section__title {
    font: var(--font-noto-40-bold);
    margin: 50px 0 30px 0;
    font-size: 32px;
}

.section__text p {
    font: 400 16px/2 "Noto Sans JP", sans-serif;
    color: #000000;
    margin: 0 0 16px;
    line-height: 2;
    text-align: justify;
}

.recruit-cta {
    position: absolute;
    left: clamp(540px, 2.8vw, 24px);
    bottom: clamp(16px, 2.8vw, 30px);
    width: 85px;
    height: 85px;
    border-radius: 50%;
    border: 1px solid white;
    color: #fff;
    display: grid;
    place-items: center;
    text-decoration: none;
    background: #D9D9D933;
    transition: transform .25s ease, background .25s ease, color .25s ease;
    z-index: 3;
}


.viewmore__cta {
    margin-top: 30px;
    display: inline-flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    color: black;
    width: 100%;
    justify-content: end;
}

.viewmore__cta-label {
    font: 400 20px/1 "Roboto Condensed", sans-serif;
}

.viewmore__cta-circle {
    width: 60px;
    height: 60px;
    border: 1px solid #000000;
    border-radius: 50%;
    display: grid;
    place-items: center;
    transition: transform .25s ease, background .25s ease, color .25s ease;
}

@media (hover: hover) and (pointer: fine) {
    .viewmore__cta:hover .viewmore__cta-circle {
        transform: translateX(4px);
        background: #00d7b7;
        color: #fff;
        border: 1px solid white;
    }

    .viewmore__cta:hover {
        color: var(--accent);
    }

    .viewmore__cta:hover svg path {
        stroke: #fff;
        /* force white on hover */
        transition: stroke .2s ease;
    }

    .cta-card-link:hover .viewmore__cta-circle {
        transform: translateX(4px);
        background: #00d7b7;
        color: #fff;
        border: 1px solid white;
    }

    .cta-card-link:hover .viewmore__cta {
        color: #00d7b7;
    }

    .cta-card-link:hover .viewmore__cta svg path {
        stroke: #fff;
        /* force white on hover */
        transition: stroke .2s ease;
    }

}

@media (min-width: 768px) and (max-width: 1023px) {

    .vision {
        padding: 100px 0 0 0;
    }

    .vision__container {
        flex-direction: column;
    }

    .vision__img {
        width: 70%;
        height: auto;
    }

    .vision::before {
        width: 30%;
        height: 25%;
    }

    .recruit-cta {
        left: 42%;
    }

}


@media (max-width: 767px) {
    .vision {
        padding: 70px 0;
    }

    .vision::after {
        width: 100%;
    }

    .vision::before {
        width: 155px;
        height: 300px;

    }

    .vision__img {
        width: 265px;
        height: 300px;
        border-radius: 10px;
    }

    .vision__media {
        margin-left: 50px;
    }

    .vision__container {
        flex-direction: column;
    }

    .vision__media::before {
        left: -28px;
        bottom: -28px;
        width: 48%;
        height: 38%;
    }

    .title-eyebrow {
        font-size: 16px;
    }

    .section__title {
        font: 700 22px/1.6 "Noto Sans JP", sans-serif;
        margin: 30px 0;
    }

    .section__text p {
        font: var(--font-noto-sp-text);
    }

    .section__text p:last-child,
    .section__text p:nth-child(2) {
        padding-top: 20px;
    }

    .viewmore__cta {
        gap: 10px;
    }

    .viewmore__cta-label {
        font-size: 16px;
    }

    .viewmore__cta-circle {
        width: 40px;
        height: 40px;
    }

    .viewmore__cta-circle svg {
        width: 15px;
        height: auto;
    }

}


/* ===== SOLUTION Section ===== */

.solution {
    position: relative;
    padding: clamp(56px, 12vw, 150px) 0;
    background: #F7F7F7;
    margin-top: 100px;
    overflow: hidden;
}

.solution__copy .section__title {
    margin: 50px 0;
}

.solution__visual--primary::before {
    content: "";
    position: absolute;
    right: -5%;
    bottom: 20px;
    width: 497px;
    height: 135px;
    background: #08B69E;
    border-radius: 18px;
    z-index: 1;
}

.solution__visual {
    position: relative;
}

.solution__visual--primary .solution__img {
    width: 100%;
    display: block;
    border-radius: 22px;
    z-index: 2;
    position: relative;
}

.view-more-wrap {
    position: absolute;
    z-index: 2;
    background: white;
    display: flex;
    bottom: 80px;
    right: -75%;
    padding: 45px 0 45px 75px;
    border-radius: 20px 0 0 20px;
    width: 100%;
    margin-top: 20px;
}

.view-more-wrap .viewmore__cta {
    margin-top: 0;
    justify-content: flex-start;
}

.solution__visual--secondary {
    display: flex;
    gap: 50px;
    margin-top: 130px;
}

.solution__thumb {
    width: 100%;
    max-width: 530px;
    display: block;
    border-radius: 20px;
    height: 300px;
    object-fit: cover;
}

.solution__aside {
    align-self: center;
    width: 47%;
}

.solution__aside p {
    font: var(--font-noto-sp-text);
    font-size: 22px;
}

.solution__aside p strong {
    border-bottom: 1px solid #B6B6B6
}

.section__sub {
    font: var(--font-noto-sub-tit);
    margin: 0 0 30px 0;
}



@media (min-width: 768px) and (max-width: 1023px) {

    .solution__visual--primary::before {
        width: 54vw;
        height: 135px;
        bottom: -25px;
        left: auto;
        border-radius: 20px 0 0 20px;
        right: -130px;
    }

    .view-more-wrap {
        bottom: 10px;
    }

    .solution__thumb {
        width: 50%;
        max-height: 250px;
    }

    .solution__aside br {
        display: none;
    }
}

@media (max-width: 767px) {

    .solution {
        overflow: hidden;
        margin-top: 0px;
        padding: 70px 0;
    }

    .solution__inner {
        gap: 28px;
    }

    .solution__visual {
        flex-direction: column;
    }

    .solution__visual--primary::before {
        width: 245px;
        height: 65px;
        top: auto;
        left: clamp(40px, 38vw, 200px);
        border-radius: 10px 0 0 10px;
        bottom: -20px;
    }

    .solution__visual--secondary {
        margin-top: 100px;
        gap: 30px;
    }


    .section__sub {
        font-size: 18px;
        margin: 0 0 20px 0;
    }

    .solution__copy .section__title {
        margin: 30px 0 40px 0;
    }

    .section__text p:last-child,
    .section__text p:nth-child(2) {
        padding-top: 0;
    }

    .view-more-wrap {
        z-index: 2;
        background: white;
        display: flex;
        padding: 15px 0 15px 30px;
        border-radius: 10px 0 0 10px;
        width: 100%;
        right: -50%;
        bottom: 0;
        position: inherit;
    }

    .solution__thumb {
        height: 185px;
        border-radius: 10px;
    }

    .solution__aside {
        width: 100%;
    }

    .solution__aside p {
        font-size: 16px;
        margin: 0;
    }
}



/* ===== NEWS Section ===== */
:root {
    --brand: #00A493;
    --ink: #0F0F0F;
}

.news {
    position: relative;
    padding: clamp(48px, 8vw, 96px) 0 140px;
    overflow: visible;
}

.news__title {
    margin: 16px 0 20px;
    font: 700 clamp(22px, 3.4vw, 28px)/1.5 "Noto Sans JP", sans-serif;
    color: var(--ink);
}

.news__list {
    list-style: none;
    margin: 0 0 12px;
    padding: 50px 0 15px 0;
}

.news__list li {
    display: flex;
    gap: 40px;
    padding: 15px 0;
    align-items: center;
    justify-content: flex-start;
}

.news__list time {
    font: 500 14px/1 "Noto Sans JP";
    color: var(--ink);
}

.news__list a {
    font: 400 16px/1.8 "Noto Sans JP";
    color: var(--ink);
    text-decoration: none;
    transition: all 0.4s ease;
}
.news__list .news-link{
    font: 400 16px/1.8 "Noto Sans JP";
}

@media (hover: hover) and (pointer: fine) {
    .news__list a:hover {
        color: var(--accent);
    }
}

.news {
    position: relative;
    padding-bottom: 140px;
}

.news__wave {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -30px;
    width: 100vw;
    height: auto;
    display: block;
    pointer-events: none;
    z-index: -1;
    top: 50%;
}

.recruit-footer-link {
    text-decoration: none;
}

.recruit-card {
    margin: 120px 0 150px 0;
    position: relative;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    border-radius: 20px;
    overflow: hidden;
    height: 300px;
    isolation: isolate;
}

.recruit-footer-link {
    display: block;
    text-decoration: none;
}

.recruit-copy {
    position: relative;
    padding: 0 60px;
    color: #fff;
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    overflow: hidden;
}

.recruit-copy::before,
.recruit-copy::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    transition: opacity .4s ease;
    z-index: 0;
}

@property --s1 {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 0%;
}

@property --s2 {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 52%;
}

@property --s3 {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 64%;
}

@property --s4 {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 74%;
}

@property --s5 {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 82%;
}

@property --s6 {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 90%;
}

@property --s7 {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 100%;
}

@property --c1 {
    syntax: '<color>';
    inherits: false;
    initial-value: #000000;
}

@property --c2 {
    syntax: '<color>';
    inherits: false;
    initial-value: #0d0f0f;
}

@property --c3 {
    syntax: '<color>';
    inherits: false;
    initial-value: #1e2222;
}

@property --c4 {
    syntax: '<color>';
    inherits: false;
    initial-value: #343a3a;
}

@property --c5 {
    syntax: '<color>';
    inherits: false;
    initial-value: #505858;
}

@property --c6 {
    syntax: '<color>';
    inherits: false;
    initial-value: #6e7474;
}

.recruit-copy {
    --s1: 0%;
    --s2: 52%;
    --s3: 64%;
    --s4: 74%;
    --s5: 82%;
    --s6: 90%;
    --s7: 100%;

    --c1: #000000;
    /* 0–52% block */
    --c2: #0d0f0f;
    /* 64% */
    --c3: #1e2222;
    /* 74% */
    --c4: #343a3a;
    /* 82% */
    --c5: #505858;
    /* 90% */
    --c6: #6e7474;
    /* 100% */

    background: linear-gradient(100deg,
            var(--c1) var(--s1),
            var(--c1) var(--s2),
            var(--c2) var(--s3),
            var(--c3) var(--s4),
            var(--c4) var(--s5),
            var(--c5) var(--s6),
            var(--c6) var(--s7));

    transition:
        --s1 .7s ease, --s2 .7s ease, --s3 .7s ease, --s4 .7s ease,
        --s5 .7s ease, --s6 .7s ease, --s7 .7s ease,
        --c1 .6s ease, --c2 .6s ease, --c3 .6s ease,
        --c4 .6s ease, --c5 .6s ease, --c6 .6s ease;
}

.recruit-footer-link:hover .recruit-copy,
.recruit-footer-link:focus-visible .recruit-copy {
    --s1: 0%;
    --s2: 14%;
    --s3: 30%;
    --s4: 48%;
    --s5: 66%;
    --s6: 84%;
    --s7: 100%;

    --c1: #6e7474;
    --c2: #505858;
    --c3: #343a3a;
    --c4: #1e2222;
    --c5: #0d0f0f;
    --c6: #000000;
}

.recruit-copy>* {
    position: relative;
    z-index: 1;
}


.title-eyebrow.recruit {
    color: white;
    font-size: 18px;
}

.recruit-copy h3 {
    margin: 20px 0 0;
    font: 500 clamp(18px, 2.4vw, 24px)/1.8 "Noto Sans JP", sans-serif;
}

.recruit-visual {
    height: 300px;
    overflow: hidden;
}

.recruit-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (hover: hover) and (pointer: fine) {
    .recruit-footer-link:hover .recruit-cta {
        transform: translateX(4px);
        background: #00d7b7;
        color: #fff;
        border-color: #fff;
    }

    .recruit-footer-link:hover .recruit-cta svg path {
        stroke: #fff;
        transition: stroke .2s ease;
    }

    .recruit-footer-link:hover .recruit-visual img {
        transform: scale(1.02);
        transition: transform .35s ease;
    }

    .recruit-footer-link:hover .recruit-copy::after {
        opacity: 1;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .recruit-info {
        padding: 100px 0 0 0;
    }
}


@media (max-width: 767px) {
    .news {
        padding: 70px 0 0 0;
        overflow-x: hidden;
        overflow-y: visible;
        /* force Y to be visible */
    }


    .news__list {
        margin: 0;
        padding: 0;
    }

    .news__list li {
        gap: 10px;
        padding: 20px 0;
        align-items: flex-start;
        justify-content: flex-start;
        flex-direction: column;
    }

    .news__list time {
        font-size: 16px;
        font-weight: 500;
    }

    .news__list a, .news__list .news-link {
        font-size: 14px;
        line-height: 1.8;
    }

    .news__wave {
        top: 80%;
    }

    .recruit {
        position: relative;
        overflow: hidden;
        /* padding-top: 50px; */
    }

    .recruit-card {
        display: flex;
        flex-direction: column;
        height: 320px;
        margin-bottom: 80px;
    }

    .recruit-visual {
        order: 2;
        height: 160px;
    }

    .recruit-copy {
        order: 1;
        height: 130px;
        padding: 30px;
        display: block;
        background: linear-gradient(118.25deg, #000000 6.92%, #ECF5F5 114.4%);

    }

    .recruit-cta {
        width: 75px;
        height: 75px;
        left: 70%;
        bottom: 120px;
    }

    .recruit__wave {
        width: 820px;
        position: absolute;
        left: -100px;
        top: -50px;
        transform: rotate(12deg);
    }

    .title-eyebrow.recruit {
        font-size: 12px;
        display: inline;
    }

    .recruit-copy h3 {
        font-size: 16px;
        line-height: 1.5;
    }
}

/* ===== Footer ===== */

:root {
    --zw-bg: #000;
    --zw-ink: #fff;
    --zw-rule: #6C6C6C;
}

.zw-footer {
    background: var(--zw-bg);
    color: var(--zw-ink);
    padding: clamp(56px, 8vw, 100px) 0 clamp(36px, 6vw, 100px);
}

.zw-wrap {
    flex-direction: row;
    display: flex;
    justify-content: space-between;
}

.zw-footer__nav {
    display: grid;
    grid-template-columns: repeat(3, 0fr);
    gap: 20px 40px;
    align-items: start;
    margin-bottom: clamp(44px, 8vw, 72px);
}

.zw-navitem {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    text-decoration: none;
    color: var(--zw-ink);
    width: 200px;
    transition: all 0.4s ease;

}

.zw-navitem__label {
    font: var(--font-roboto-condensed);
    font-size: 18px;
    letter-spacing: .06em;
}

.zw-navitem__arrow {
    transition: transform .2s ease, border-color .2s ease;
}

.zw-navitem__arrow svg {
    color: var(--zw-ink);
}

.zw-navitem__rule {
    grid-column: 1 / -1;
    height: 1px;
    background: #565656;
    margin-top: 5px;
}


@media (hover: hover) and (pointer: fine) {
    .zw-navitem:hover .zw-navitem__arrow {
        transform: translateX(2px);
        border-color: #fff;
    }

    .zw-navitem:hover {
        color: var(--accent);
    }
}

.zw-footer__meta {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    flex-direction: column;
    margin-right: 45px;
}

.zw-footer__meta a {
    text-decoration: none;
    color: white;
}

.zw-meta__text p {
    font-family: var(--font-NotoSansJp);
}

.zw-meta__logo {
    width: clamp(60px, 6vw, 86px);
    height: auto;
    display: block;
}

.zw-meta__name {
    font-size: 18px;
    margin: 0;
    line-height: 1.8;
}

.zw-meta__addr {
    font-size: 16px;
    margin: 0;
    line-height: 1.8;
}

.zw-footer__copy {
    text-align: left;
    color: #8E8E8E;
    font-size: 12px;
    font-family: var(--font-NotoSansJp);
}

@media (max-width: 980px) {
    .zw-footer__nav {
        grid-template-columns: 1fr 1fr;
        gap: 36px 28px;
    }
}

@media (max-width: 767px) {

    .zw-footer {
        padding: 70px 0 30px 0;
    }

    .zw-wrap {
        flex-direction: column;
    }

    .zw-footer__nav {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 40px;
    }

    .zw-navitem {
        grid-template-columns: 1fr auto;
        width: 100%;
    }

    .zw-navitem__label {
        font-size: 16px;
        line-height: 1.8;
    }

    .zw-navitem__rule {
        height: 1px;
        margin-top: 10px;
    }

    .zw-footer__meta {
        flex-direction: row;
        gap: 20px;
        align-items: center;
        order: 2;
        margin-right: 0;
    }

    .zw-footer__meta img {
        width: 32px;
        height: auto;
    }

    .zw-meta__name {
        font-size: 16px;
    }

    .zw-meta__addr {
        font-size: 12px;
    }

    .zw-footer__copy {
        text-align: right;
        justify-content: flex-end;
        padding: 0 30px;
        margin-top: 60px;
        font-size: 10px;
    }

}


/* SOLUTION PAGE ------------------------------------------- */

:root {
    --accent: #00D7B7;
}

.page-fv {
    position: relative;
    background: #fff;
    /* padding: clamp(48px, 6vw, 100px) 0 clamp(56px, 8vw, 100px); */
    overflow: clip;
    height: 465px;
}

.page-fv.first {
    background: url(./assets/images/fv-bg-img-pc.png) center center / cover no-repeat;
}


.page-fv .wrap {
    padding-top: 100px;
}

.sol-fv__bc {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    color: #7a7a7a;
    font: 600 14px/1 "Roboto Condensed", "Noto Sans JP", system-ui, sans-serif;
    letter-spacing: .04em;
    margin-bottom: clamp(18px, 2.2vw, 28px);
}

.sol-fv__bc a {
    color: #727272;
    text-decoration: none;
}

.sol-fv__bc a:hover {
    text-decoration: underline;
}

h1.fv__title {
    margin: 0 0 10px 0;
    font: 900 clamp(50px, 10vw, 70px)/1 "Roboto Condensed", sans-serif;
    position: relative;
    width: 100%;
}

h1.fv__title.second::before {
    top: 80px;
}

h1.fv__title::before {
    position: absolute;
    content: '';
    width: 70%;
    height: 1px;
    background: var(--accent);
    top: 85px;
    left: -30%;
}

.sol-fv__underline {
    display: inline-block;
    width: clamp(160px, 24vw, 460px);
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
    margin: 6px 0 clamp(18px, 2.6vw, 28px);
}

.fv__lead {
    color: #1a1a1a;
    font: 700 clamp(22px, 3.2vw, 24px)/1.8 "Noto Sans JP", system-ui, sans-serif;
    margin: 30px 0 0 0;
}

.fv__lead.second {
    font-size: 32px;
}

.fv__sub {
    font-size: 18px;
    margin-top: 30px;
    font-family: var(--font-NotoSansJp);
    line-height: 1.8;
}


.sol-fv__bg {
    position: absolute;
    right: max(-120px, -12vw);
    top: clamp(40px, 6vw, 80px);
    width: min(1400px, 75vw);
    height: auto;
    opacity: .9;
    pointer-events: none;
    z-index: 1;
    filter: saturate(1.05) contrast(1.02);
}

.techcap {
    color: white;
    background: linear-gradient(46.91deg, #000000 47.64%, #666666 102.56%);
    padding: clamp(70px, 9vw, 150px) 0;
}

.techcap .title-eyebrow,
.techcap .section__text p,
.techcap .section__title {
    color: white;
}

.techcap .title-eyebrow::before {
    background: white;
}

.techcap-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(24px, 4vw, 60px);
    margin-top: 75px;
}

.award {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.badge {
    margin: 0 auto clamp(18px, 4vw, 30px);
}

.badge .wreath {
    width: auto;
    height: 205px;
    display: block;
}

.badge .coin {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
}

.badge .coin img {
    width: min(180px, 48%);
    height: auto;
    display: block;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .35);
}

.caption {
    color: white;
    height: 60px;
    font: 400 clamp(13px, 1.9vw, 16px)/1.8 "Noto Sans JP", sans-serif;
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.rule {
    display: block;
    width: 100%;
    margin: 0 auto;
    background: #E1B72B;
}

.rule--thick {
    height: 5px;
    margin-bottom: clamp(12px, 2.6vw, 18px);
}

.rule--thin {
    height: 1px;
    margin-top: clamp(12px, 2.6vw, 18px);
    opacity: .8;
}

.award-name {
    height: 60px;
    margin: 0;
    font: 700 clamp(14px, 2.4vw, 18px)/1.8 "Noto Sans JP", sans-serif;
    color: #fff;
    display: flex;
    align-items: center;
}

.techcap-sol {
    background-color: white;
    margin-top: 0;
    padding-bottom: 0;
}


.our-solution {
    margin-top: 100px;
}

.solution-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(28px, 4vw, 40px);
}

.solution-item {
    text-align: center;
}

.solution-title {
    margin: 0;
    font: 700 clamp(18px, 2.2vw, 18px)/1 "Noto Sans JP", "Roboto Condensed", system-ui, sans-serif;
    border-top: 5px solid var(--accent);
    border-bottom: 1px solid var(--accent);
    padding: 20px 0;
}

.solution-underline {
    display: block;
    width: min(320px, 68%);
    height: 4px;
    margin: 14px auto 0;
    background: var(--teal);
    border-radius: 3px;
}

.solution-visual {
    margin: 40px 0 20px 0;
}

.solution-visual img {
    width: min(420px, 100%);
    height: auto;
    display: block;
    margin: 0 auto;
}

.solution-text {
    margin: 0 auto;
    text-align: justify;
    font: 400 clamp(14px, 1.6vw, 16px)/1.8 "Noto Sans JP", system-ui, sans-serif;
}

.contact-cta {
    position: relative;
    background: #F7F7F7;
    padding: 150px 0;
    overflow: hidden;
    margin-top: 150px;
}

.contact-cta__grid {
    display: flex;
    gap: 80px;
    align-items: center;
    position: relative;
}

.contact-cta__grid::before {
    content: "";
    position: absolute;
    left: -30%;
    bottom: -150px;
    width: 40%;
    height: 400px;
    background: #CACACA;
    z-index: 0;
}

.contact-cta__figure {
    position: relative;
    z-index: 1;
    margin: 0;
    border-radius: 20px;
    overflow: hidden;
}

.contact-cta__figure img {
    display: block;
    width: 575px;
    height: 420px;
    object-fit: cover;
}

.contact-cta__text {
    margin: 50px 0 10px 0;
}

.contact-cta__text {
    font-family: var(--font-NotoSansJp);
    font-weight: 400;
    font-size: 22px;
    line-height: 2;
}

.contact-cta__text.second {
    margin: 0 0 40px 0;
}

.contact-cta__text strong {
    font-weight: 700;
    border-bottom: 1px solid #B6B6B6;
}

.cta-btn {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    /* start a new stacking context (safety) */
    display: inline-flex;
    align-items: center;
    gap: 18px;
    padding: 30px 0;
    color: #fff;
    text-decoration: none;
    border-radius: 20px;
    width: 100%;
    justify-content: center;
    font-family: var(--font-roboto);
    font-size: 20px;
}

.cta-btn::before,
.cta-btn::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    transition: opacity .4s ease;
    z-index: 0;
}

.cta-btn::before {
    background: linear-gradient(-40deg, #000000 17.69%, #666666 100%);
    opacity: 1;
}

.cta-btn::after {
    background: linear-gradient(140deg, #000000 17.69%, #666666 100%);
    opacity: 0;
}

.cta-btn:hover::after {
    opacity: 1;
}

.cta-btn:hover::before {
    opacity: 0;
}

.cta-btn__circle {
    position: relative;
    z-index: 1;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .6);
    display: grid;
    place-items: center;
    color: #fff;
    transition: transform .2s ease;
    background: rgba(255, 255, 255, .4);
}

.cta-btn:hover .cta-btn__circle {
    transform: translateX(2px);
    background: var(--accent);
}

.cta-btn>* {
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) and (max-width: 1023px) {

    .techcap-grid,
    .solution-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .techcap-sol {
        padding-bottom: 50px;
    }

    .contact-cta {
        padding: 100px 0;
        margin-top: 100px;
    }

    .contact-cta__grid {
        flex-direction: column;
    }

    .contact-cta__figure {
        order: 2;
    }

    .contact-cta__figure img {
        height: 300px;
    }

    .contact-cta__grid::before {
        left: 0%;
        bottom: -250px;
        width: 40%;
    }

    .contact-cta__copy {
        width: 80%;
    }
}


@media (max-width: 767px) {

    h1.fv__title {
        font-size: 50px;
    }

    h1.fv__title::before {
        width: 16rem;
        top: 60px;
        left: -80px;
    }

    .company-page h1.fv__title.second::before,
    .solution-page h1.fv__title::before {
        width: 20rem;
    }

    .entry-page h1.fv__title::before {
        width: 15rem;
    }

    .solution-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .solution-text {
        width: min(700px, 100%);
    }

    .solution-page .zw-footer {
        margin-top: 0;
    }

    .page-fv {
        height: 400px;
    }

    .page-fv .wrap {
        padding-top: 50px;
    }

    .techcap {
        background: linear-gradient(46.91deg, #000000 47.64%, #666666 102.56%);
    }

    .techcap .section__title {
        margin: 50px 0 30px 0;
        font-size: 22px;
    }

    .techcap .section__text p {
        font-size: 14px;
    }

    .badge .wreath {
        width: 110px;
        height: auto;
    }

    .techcap-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 35px;
        row-gap: 25px;
        list-style: none;
        padding: 0;
        margin: 70px 0 0 0;
    }

    .techcap-sol.solution .solution__visual--primary::before {
        width: 245px;
        height: 65px;
        top: clamp(146px, 70vw, 350px);
        left: clamp(40px, 38vw, 200px);
        border-radius: 10px 0 0 10px;
    }

    .award {
        text-align: center;
        color: #fff;
    }

    .award.third {
        grid-column: 1 / -1;
        justify-self: center;
        max-width: 360px;
    }

    .badge {
        position: relative;
        width: clamp(140px, 36vw, 200px);
        aspect-ratio: 1/1;
        margin-inline: auto;
        display: grid;
        place-items: center;
    }

    .badge .wreath {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: contain;
        pointer-events: none;
    }

    .techcap-sol.solution {
        padding-bottom: 80px;
    }

    .our-solution {
        margin-top: 0;
    }

    .techcap-sol.solution .view-more-wrap {
        background: #F7F7F7;
        margin-top: 20px;
    }

    .contact-cta {
        margin-top: 70px;
        padding: 70px 0 80px 0;
    }

    .contact-cta__figure {
        order: 2;
        align-self: flex-end;
    }

    .contact-cta__grid {
        flex-direction: column;
        gap: 50px;
    }


    .contact-cta__text {
        font-size: 16px;
        text-align: justify;
        margin: 40px 0 10px 0;
    }

    .cta-btn {
        padding: 25px 0;
        font-size: 18px;
    }

    .cta-btn__circle {
        width: 50px;
        height: 50px;
    }

    .contact-cta__figure img {
        width: 70vw;
        height: 300px;
    }

    .contact-cta__grid::before {
        left: 0px;
        bottom: -80px;
        width: 40%;
        height: 255px;

    }

    .solution-visual {
        margin: 20px 0;
    }

    .solution-visual img {
        width: min(420px, 85%);

    }
}



/* ENTRY PAGE ------------------------------------------- */


.fv-img {
    position: absolute;
    right: 0;
    top: 50px;
}

.fv-img img {
    height: 360px;
    width: 770px;
    object-fit: cover;
    border-radius: 0px 20px 20px 0px;
    transform: scaleX(-1);
}

:root {
    --bg: #f3f3f3;
    --line: #dcdcdc;
    --text: #333;
    --black: #111;
    --white: #fff;
}

.entry-wrap {
    padding-top: 1px;
}

.steps {
    position: relative;
    /* anchor the ::before */
    display: flex;
    gap: 0px;
    list-style: none;
    padding: 0;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 60px 0 100px 0;
}

.steps::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -110px;
    width: 590px;
    aspect-ratio: 1 / 1;
    background: url('./assets/images/abstract1.jpg') no-repeat center / contain;
    z-index: -1;
    pointer-events: none;
    transform: rotateY(180deg);
    opacity: 0.5;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 240px;
    height: 90px;
    border: 1px solid black;
    border-radius: 5px;
    background: var(--white)
}

.step p {
    text-align: center;
    font-weight: 700;
}

.step .step-num {
    font-size: 18px;
    color: black;
    text-align: center;
    font-family: var(--font-roboto);
    font-weight: 700;
}

.step .step-label {
    font-size: 20px;
    margin-top: 6px;
    text-align: center;
    font-family: var(--font-NotoSansJp);

}

.step.is-active {
    background: #000;
    color: #fff;
    border-color: #000;
}

.step.is-active .step-num {
    color: #fff
}

.entry-line {
    width: 60px;
    height: 1px;
    background-color: #D1D1D1;
}

.panel {
    background: #F7F7F7;
    padding: 80px 0 150px 0;
    margin: 0 auto;
}

.panel br {
    display: none;
}

.form-step {
    max-width: 840px;
    margin: 0 auto;
}

.req-note {
    margin: 0 0 40px 0;
    font-size: 18px;
    font-family: var(--font-NotoSansJp);
    font-weight: 500;
}

.req {
    color: #d33;
    font-weight: 700
}

.field {
    display: block;
    margin: 0 0 18px
}

.field-label {
    display: block;
    font-size: 16px;
    margin: 40px 0 20px 0;
    font-family: var(--font-NotoSansJp);
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #D1D1D1;
    border-radius: 10px;
    background: #fff;
    font-size: 16px;
    box-sizing: border-box;
}

textarea {
    resize: vertical
}

.policy-block {
    margin-top: 50px
}

.policy-head {
    margin: 0 0 10px
}

.policy-head p {
    font-family: var(--font-NotoSansJp);
}

.policy-box {
    background: #fff;
    border: 1px solid #D1D1D1;
    border-radius: 10px;
    padding: 20px;
    height: 275px;
    overflow: auto;
}

.policy-box p {
    line-height: 1.8;
    font-family: var(--font-NotoSansJp);
    font-size: 13px;
    font-weight: 300;
}

.agree {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    font-family: var(--font-NotoSansJp);
    font-size: 16px;
    font-weight: 300;
    line-height: 0;
}

input[type="checkbox" i] {
    width: 25px;
    height: 25px;
    border-radius: 5px;
    border: 1px solid #D1D1D1;
    background: #fff;
    appearance: none;
    -webkit-appearance: none;
    margin: 0 5px 0px 0;
}


input[type="checkbox"]::after {
    content: "";
    position: absolute;
    top: 4px;
    left: 24px;
    width: 6px;
    height: 12px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg) scale(0);
    transition: transform 0.15s ease-in-out;
}

input[type="checkbox"]:checked {
    background-color: var(--accent);
    border-color: var(--accent);
}

input[type="checkbox"]:checked::after {
    transform: rotate(45deg) scale(1);
}

.wpcf7-response-output {
    display: none;
}

.form-cta .viewmore__cta {
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
    display: flex;
    justify-content: center;
    margin-top: 40px;
    font-weight: 500;
    gap: 20px;
}

.form-cta .viewmore__cta-label {
    font-weight: 500;
}

.form-step .cta-row {
    display: flex;
    justify-content: space-evenly;
}

.form-cta.secondstep {
    width: 20%;

}

.confirm-list {
    margin: 0 auto;
}

.confirm-list div {
    display: grid;
    grid-template-columns: 220px 1fr;
    padding: 14px 0;
    border-bottom: 1px solid var(--line)
}

.confirm-list dt {
    color: #00000085;
    font-family: var(--font-NotoSansJp);
}

.confirm-list dd {
    margin: 0;
    display: flex;
    align-items: center;
    font-family: var(--font-NotoSansJp);
}

.cta-center p {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cta-center .viewmore__cta {
    justify-content: center;
}

.thanks {
    text-align: center;
    padding: 32px 0 4px;
    font-family: var(--font-NotoSansJp);
}

.thanks h3 {
    margin: 0 0 40px;
    font-size: 30px;
    font-family: var(--font-NotoSansJp);
}

.is-hidden {
    display: none
}


.wpcf7-not-valid-tip {
    font-family: var(--font-NotoSansJp) !important;
    font-size: 12px !important;
}

.cta-center .viewmore__cta-circle {
    background: white;
}

@media (min-width: 768px) and (max-width: 1023px) {
    .fv-img img {
        height: 330px;
        width: 60vw;
    }

    .steps {
        padding: 0px 30px 100px 30px;
    }

    .panel {
        padding: 50px 30px 70px 30px;
    }
}


@media (max-width: 767px) {

    .fv-img {
        top: 47%;
    }

    .fv-img img {
        width: 78vw;
        height: 210px;
    }


    .fv-img img.entry-sp {
        transform: scaleY(1);
        border-radius: 20px 0px 0px 20px;
    }

    .page-fv.second {
        background: url(./assets/images/header-under-img.png) top center / cover no-repeat;
    }

    .page-fv.second h1.fv__title::before {
        top: 60px;
    }

    .page-fv.second .fv__lead {
        margin: 25px 0 0 0;
        font-size: 16px;
    }

    .entry-wrap {
        padding-top: 10px;
    }

    .steps::before {
        display: none;
    }

    .steps {
        height: fit-content;
        padding: 30px 0 50px 0;
    }

    .step {
        width: 105px;
        height: 60px;
    }

    .step .step-num {
        font-size: 10px;
    }

    .step .step-label {
        font-size: 12px;
    }

    .entry-line {
        width: 5%;
    }

    .panel {
        padding: 50px 30px 70px 30px;
    }

    .req-note {
        margin: 0 0 30px 0;
        font-size: 16px;
    }

    .field-label {
        font-size: 14px;
        margin: 20px 0 10px 0;
    }

    .policy-box p {
        font-size: 12px;
        margin: 0;
    }

    .agree {
        font-size: 14px;
    }

    input[type="checkbox" i] {
        width: 20px;
        height: 20px;
    }

    .form-cta .viewmore__cta-label {
        font-size: 18px;
    }

    .form-cta .viewmore__cta {
        gap: 20px;
    }

    .form-cta .viewmore__cta-circle {
        background: white;
    }

    input[type="checkbox"]::after {
        top: 1px;
        left: 6px;
    }

    .confirm-list dt {
        font-size: 12px;
    }

    .confirm-list dt {
        font-size: 14px;
    }

    .confirm-list div {
        display: flex;
        flex-direction: column;
        gap: 0px;
    }

    .confirm-list dt p {
        margin: 5px 0;
    }

    .form-cta.secondstep {
        width: 50%;
    }

    .thanks h3 {
        font-size: 25px;
    }
}



/* CONTACT PAGE ------------------------------------------- */


.wpcf7-form-control.wpcf7-radio {
    font-family: var(--font-NotoSansJp);
    font-size: 16px;
}

.radio-group p {
    margin: 40px 0;
}

.contact-wrap .wpcf7-form-control-wrap textarea {
    min-height: 230px;
}


.contact .fv-img img {
    transform: none;
    border-radius: 20px 0 0 20px;
}

.live-connect {
    max-width: 840px;
    margin: 0 auto;
    color: black;
}

.live-connect .title-eyebrow {
    color: #000;
}

.live-connect .recruit-card {
    border-radius: 28px;
    overflow: hidden;
    display: flex;
}

.live-connect .recruit-copy {
    color: #0b0e0d;
    background: none;
    position: relative;
    padding: 0 40px;
    width: 55%;
}

.live-connect .recruit-copy>* {
    position: relative;
    z-index: 1;
}

.live-connect .recruit-copy::after {
    display: none;
}

@property --gc1 {
    syntax: '<percentage>';
    inherits: false;
    initial-value: -5.6%;
}

@property --gc2 {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 176.04%;
}

.live-connect .recruit-copy::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: inherit;
    background: linear-gradient(90deg,
            #EBEBEB var(--gc1),
            rgba(217, 255, 254, .6) var(--gc2));
    transition: --gc1 .7s ease, --gc2 .7s ease;
}

.live-connect .recruit-footer-link:hover .recruit-copy::before,
.live-connect .recruit-footer-link:focus-visible .recruit-copy::before {
    --gc1: 12%;
    --gc2: 112%;
}

@media (hover: hover) and (pointer: fine) {
    .live-connect .recruit-footer-link:hover .viewmore__cta .viewmore__cta-circle {
        transform: translateX(4px);
        background: #00d7b7;
        color: #fff;
        border: 1px solid white;
    }

    .live-connect .recruit-footer-link:hover .viewmore__cta {
        color: #00AD93;
    }

    .live-connect .recruit-footer-link:hover .viewmore__cta svg path {
        stroke: #fff;
        /* force white on hover */
        transition: stroke .2s ease;
    }

    .live-connect .recruit-footer-link:hover .cta-card-link .viewmore__cta-circle {
        transform: translateX(4px);
        background: #00d7b7;
        color: #fff;
        border: 1px solid white;
    }

    .live-connect .recruit-footer-link:hover .cta-card-link .viewmore__cta {
        color: #00AD93;
    }

    .live-connect .recruit-footer-link:hover .cta-card-link .viewmore__cta svg path {
        stroke: #fff;
        /* force white on hover */
        transition: stroke .2s ease;
    }
}

.contact-sub-text {
    font: 700 28px/1 "Noto Sans JP";
}


@media (min-width: 768px) and (max-width: 1023px) {
    .contact-page .fv-img img {
        height: 330px;
        width: 56vw;
    }

    .page-fv {
        padding: 0;
    }

    .live-connect .recruit-card {
        margin: 30px 0 100px 0;
    }

    .contact-page .steps {
        padding: 50px 30px 100px 30px;
    }

}

/* Responsive */
@media (max-width: 767px) {

    .wpcf7-form-control.wpcf7-radio {
        display: grid;
        grid-template-columns: 1fr 2fr;
        grid-template-rows: auto auto;
        gap: 10px 0px;
        font-family: var(--font-NotoSansJp, sans-serif);
        font-size: 14px;
        font-weight: 300;
    }

    .radio-group p {
        margin: 20px 0;
    }

    .wpcf7-list-item:first-child,
    .wpcf7-list-item:nth-child(3) {
        margin: 0;
    }

    .contact-wrap .field.free {
        margin-top: 20px;
    }

    .page-fv.second.contact h1.fv__title::before {
        width: 290px;
    }

    .live-connect .recruit-card {
        flex-direction: row;
        height: 160px;
        border-radius: 10px !important;
        margin: 60px 0 50px 0;
    }

    .live-connect .recruit-visual {
        order: 1;
    }

    .live-connect .recruit-copy {
        height: auto;
        padding: 30px 20px;
    }


    .live-connect .recruit-copy h3 {
        font-size: 14px;
        margin-top: 10px;
    }

    .live-connect .title-eyebrow.recruit {
        font-size: 10px;
    }

    .live-connect .recruit-card .recruit-visual {
        max-width: 130px;
    }

    .live-connect .recruit-card img {
        width: 190px;
    }

    .live-connect .recruit-copy>* {

        margin: 0 0 -10px 0;
    }

    .live-connect .viewmore__cta-label {
        display: none;
    }

    .live-connect .viewmore__cta-circle {
        width: 30px;
        height: 30px;
        background: white;
    }

    .live-connect .viewmore__cta-circle {
        border: 0.4px solid black;
    }

    .contact-sub-text {
        font-size: 16px;
        line-height: 1.5;
    }

    .live-connect .title-eyebrow {
        font-size: 10px;
    }
}


/* RECRUIT PAGE ------------------------------------------- */

.our-thoughts {
    padding: clamp(150px, 6vw, 96px) 0;
    text-align: center;
    background: linear-gradient(218.67deg, #ECF6F5 22.23%, #FFFFFF 89.43%);
    max-height: 965px;
}

.section-eyebrow {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: #00AD93;
    /* green accent */
    margin-bottom: 50px;
    position: relative;
    width: 100%;
    text-align: left;
    font: var(--font-roboto-condensed);
    font-size: 18px;
    font-weight: 500;
}

.section-eyebrow::after {
    content: "";
    display: inline-block;
    width: 60px;
    height: 1px;
    background: #00AD93;
    margin-left: 10px;
    vertical-align: middle;
}

.section-title {
    font-family: var(--font-NotoSansJp);
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
}

.section-sub {
    font-family: var(--font-NotoSansJp);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    display: flex;
    align-items: baseline;
    justify-content: center;
}

.section-sub .underline {
    height: 1px;
    display: flex;
    align-items: baseline;
    justify-content: baseline;
    width: 40px;
    background: #00AD93;
    margin: 0 10px;
}

.section-desc p {
    font-family: var(--font-NotoSansJp);
    font-weight: 400;
    font-size: 16px;
    line-height: 2.2;
    margin-bottom: 80px;
}

.cta-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #EBEBEB;
    border-radius: 12px;
    overflow: hidden;
    width: 600px;
    height: 180px;
    margin: 0 auto;
}

.cta-image {
    height: 180px;
    width: 360px;
}


.cta-image img {
    height: 180px;
    width: 360px;
    object-fit: cover;
}

.viewmore__cta.our-thgts {
    justify-content: center;
    align-items: center;
    margin: 0;
}

.viewmore__cta.our-thgts .viewmore__cta-label {
    font: 700 24px / 1 "Roboto Condensed", sans-serif !important;
}

.viewmore__cta.our-thgts .viewmore__cta-circle {
    background: white;
}

.viewmore__cta.our-thgts .viewmore__cta-circle {
    background: white;
}

.cta-card-link:hover .viewmore__cta-circle {
    background: var(--accent);
}

.cta-card-link {
    text-decoration: none;
}

.cta-card-link .cta-card {
    transition: all .25s ease;
}

.cta-card-link:hover .cta-image img {
    transform: scale(1.02);
    transition: all .35s ease;
}

.recruit-info {
    padding: 180px 0 75px 0;
    background: #F7F7F7;
    text-align: left;
}

.recruit-info .section-eyebrow {
    margin-bottom: 0;
}

.recruit-info .section-title {
    margin: 30px 0 50px 0;
}

.recruit-tabs {
    display: flex;
    border: 1px solid #000;
    border-radius: 6px;
    overflow: hidden;
    height: 70px;
}

.recruit-tabs .tab {
    flex: 1;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #000;
    text-decoration: none;
    border-right: 1px solid #000;
    transition: background 0.3s;
    font: 700 20px/1.5 "Noto Sans JP";
    background: white;
}

.recruit-tabs .tab svg {
    transform: rotate(90deg);
    margin-left: 30px;
}

.recruit-tabs .tab.active svg path {
    stroke: white;

}

.recruit-tabs .tab:last-child {
    border-right: none;
}

.recruit-tabs .tab.active,
.recruit-tabs .tab:hover {
    background: #00d0b4;
    color: #fff;
}

.recruit-tabs .tab:hover svg path {
    stroke: white;
}

.recruit-section {
    padding: 75px 0;
    background: #F7F7F7;
}

#jobs .section-sub,
#workplace .section-sub {
    margin: 0 0 50px 0;
    justify-content: flex-start;
}

.recruit-block {
    margin-bottom: 50px;
}

.recruit-block h4 {
    background: linear-gradient(90deg, #BDBDBD 0%, #000000 100%);
    color: #fff;
    padding: 0 20px;
    border-radius: 20px 20px 0 0;
    font-size: 18px;
    margin-bottom: 0;
    height: 75px;
    display: flex;
    justify-content: center;
    align-items: center;
    font: 700 24px/1 "Noto Sans JP", system-ui, sans-serif;

}

.recruit-grid {
    display: flex;
    background: white;
    padding: 0px 0px;
    gap: 0;
    justify-content: center;
    border-radius: 0 0 20px 20px;
    flex-wrap: wrap;
}

.recruit-item {
    background: #fff;
    border-radius: 20px;
    padding: 50px 40px;
    text-align: left;
    max-width: 450px;
    width: 100%;
}

.recruit-item img {
    max-width: 450px;
    width: 100%;
    height: 300px;
    border-radius: 20px;
    object-fit: cover;
}

.recruit-item h5 {
    font: 700 20px/1 "Noto Sans JP", system-ui, sans-serif;
    margin: 20px 0;
}

.recruit-item p {
    font: 400 16px/1.8 "Noto Sans JP", system-ui, sans-serif;
}

.section-sub .en {
    font: 500 16px/1 "Roboto Condensed", system-ui, sans-serif;
    color: #00AD93;
}


.job-openings {
    padding: 50px 0 0 0;
    background: #F7F7F7;
}

.job-tabs {
    display: flex;
    display: flex;
    margin: 0 auto;
    gap: 10px;
    justify-content: center;
}

.job-tab {
    flex: 1;
    text-align: center;
    font: 700 20px/1 "Noto Sans JP";
    border: none;
    background: black;
    color: white;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 10px 10px 0 0;
    max-width: 300px;
    height: 70px;
}

.job-tab:hover {
    background: #00d0b4;
    color: black;
}

.job-tab.active {
    background: #00d0b4;
    color: black;
}

.job-content {
    display: none;
}

.job-content.active {
    display: block;
}

.job-box {
    display: flex;
    gap: 0px;
    background: #fff;
    border-radius: 20px;
    padding: 80px 70px;
    border: 1px solid black;
}

.job-left {
    flex: 1;
    font-size: 16px;
    padding-right: 70px;
    border-right: 1px solid #8E8E93;
}

.job-left h3 {
    margin: 0 0 30px 0;
    font: 700 32px/1 "Noto Sans JP";
    border-bottom: 2px solid #00D7B7;
    padding-bottom: 10px;
    display: inline-block;
}

.job-left p {
    font: 500 18px/1.8 "Noto Sans JP";
    margin: 0;

}

.job-right {
    flex: 2;
    padding-left: 50px;
    max-width: 510px;
}

.job-right p,
.job-right li {
    font: 400 16px/1.8 "Noto Sans JP";
}

.job-right p {
    padding-left: 20px;
}

#engineer .job-right p:nth-child(2) {
    margin-top: 20px;
}

.job-right li {
    margin: 0;
}

.job-right h4 {
    font: 700 16px/1 "Noto Sans JP";
    margin: 0;
    border-bottom: 2px solid #8E8E93;
    padding-bottom: 10px;
    display: inline-block;
}

.job-right .first-list {
    margin-bottom: 40px;
}

.job-right ul {
    margin: 0;
    list-style: disc;
}

.job-right .side {
    display: flex !important;
    border-bottom: none;
    align-items: center;
    white-space: nowrap;
    padding: 0 0 0 20px;
    margin: 20px 0 10px 0;
}

.sideline {
    width: 100%;
    height: 1px;
    background-color: #8E8E93;
    margin-left: 15px;
}

.job-right p.side {
    font: 700 16px/1 "Noto Sans JP";
}

#engineer .job-box {
    background: url(./assets/images/job-op1.png) center center /cover no-repeat;
}

#sales .job-box {
    background: url(./assets/images/job-op2.png) center center /cover no-repeat;
}

#customer .job-box {
    background: url(./assets/images/job-op3.png) center center /cover no-repeat;
}

#sales .job-right h4:first-child {
    margin-bottom: 20px;
}

#sales .job-right ul:nth-child(2) {
    margin-bottom: 40px;
}

#customer .job-right li:nth-child(2) strong {
    font-weight: bold;
}

.regular {
    font-weight: 400 !important;
}

#customer .job-right li {
    margin: 20px 0;
    font-size: 14px;

}

#customer .job-right li strong {
    font-size: 16px;
    font-weight: 400;
}

#customer .job-right li:last-child {
    margin-bottom: 40px;
}

#customer .job-right li small {
    font-size: 14px;
}

#customer .job-right .no-margin li {
    margin: 0;
    font-size: 16px;
}

.job-openings-cta {
    padding: 150px 0;
    background: #F7F7F7;
}

#interview {
    background: white;
}

#interview .section-sub {
    justify-content: flex-start;
    margin-bottom: 120px;
}

.interview-container {
    margin: 0 auto;
    font-family: "Noto Sans JP", sans-serif;
}

.interview-header {
    margin-bottom: 80px;
}

.interview-hero {
    position: relative;
    max-width: 800px;
}

.interview-number {
    position: absolute;
    top: -35px;
    left: 10px;
    font: 700 60px/1 "Roboto Condensed";
    color: #333;
    z-index: 3;
}

.interview-image {
    position: relative;
    max-width: 660px;
}

.interview-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 16px;
    display: block;
}

.interview-info {
    position: absolute;
    bottom: 50%;
    left: 50%;
    background: #fff;
    padding: 40px 60px;
    border-radius: 20px;
    transform: translate(10%, 50%);
    width: 100%;
}

.interview-info h2 {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.5;
    margin: 0 0 30px 0;
}

.interview-name {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 16px;
    align-items: baseline;
    margin-left: 140px;
}

.interview-name .name {
    font-size: 24px;
    font-weight: 700;

}

.interview-name .name::before {
    content: "";
    display: inline-block;
    width: 100px;
    height: 1px;
    background: #00D7B7;
    margin-right: 12px;
    vertical-align: middle;
}

.interview-name .department {
    font-size: 16px;
}

.interview-text {
    margin-bottom: 80px;
    line-height: 1.8;
    font-size: 16px;
    z-index: 2;
    position: relative;
}

.interview-text p {
    margin: 0 0 20px 0;
    text-align: justify;
}

.interview-text p:last-child {
    margin-bottom: 0;
}

.interview-flow {
    background: #F0FAF9;
    border-radius: 20px;
    position: relative;
    padding: 100px 45px 40px 45px;
}

.flow-header {
    position: absolute;
    top: 0;
    left: 0;
    padding: 20px 45px;
    background: black;
    border-radius: 20px 0 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.flow-header h3 {
    font: 700 24px/1 "Noto Sans JP";
    color: #fff;
    display: inline-block;
    padding: 8px 16px;
    border-radius: 6px;
    margin: 0;
}

.flow-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.flow-item {
    text-align: center;
}

.flow-content {
    background: white;
    padding: 20px;
}

.flow-time {
    width: 70px;
    height: 35px;
    border-top-left-radius: 120px;
    border-top-right-radius: 120px;
    display: flex;
    align-items: end;
    justify-content: center;
    font: 400 16px/1.5 "Roboto Condensed";
    padding: 3px;
    color: white;
}

.flow-time.first {
    background: #D9D9D9;
    color: black;
}

.flow-time.second {
    background: #B1B1B1;
}

.flow-time.third {
    background: #4D4D4D;
}

.flow-time.fourth {
    background: #000000;
}

.flow-image {
    position: relative;
}

.flow-image img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 10px;
}

.flow-item h4 {
    font: 700 16px/1 "Noto Sans JP";
    margin: 20px 0;
}

.flow-item p {
    font-size: 14px;
    line-height: 1.8;
    margin: 0;
    text-align: left;
}

.interview-third-fourth {
    margin-top: 170px;
    display: flex;
    gap: 60px;
}

.kogawa {
    margin-top: 160px;
}

.kogawa .interview-header {
    display: flex;
    justify-content: flex-end;
}

.kogawa .interview-info {
    padding: 40px 0;
    transform: translate(-130%, 50%);
}

.shimada,
.narita {
    width: 50%;
    max-width: 600px;
}

.shimada .interview-info,
.narita .interview-info {
    bottom: -35%;
    left: 25%;
    transform: none;
}

.interview-third-fourth .interview-info h2 {
    font-size: 24px;
    margin-bottom: 25px;
}

.interview-third-fourth .interview-name {
    margin-left: 0;
}

.interview-third-fourth .interview-name .name {
    font-size: 20px;
}


.interview-third-fourth .interview-name .name::before {
    width: 80px;
}

#shimada .interview-text,
#narita .interview-text {
    margin-top: 160px !important;
    text-align: justify;
}

.interview-third-fourth .interview-image img {
    max-height: 340px;
    max-width: 550px;
    object-fit: cover;
}

.entry-footer {
    background: #F7F7F7;
    padding: 150px 0;
    position: relative;

}

.entry-footer::before {
    content: "";
    position: absolute;
    left: 0%;
    bottom: 0;
    width: 20%;
    height: 295px;
    background: linear-gradient(307.04deg, rgba(217, 255, 254, 0.2) -124.64%, #8F8F8F 74.08%);

    z-index: 0;
}

.entry-footer .recruit-card {
    margin: 0;
}

@media (hover:hover) and (pointer:fine) {
    .recruit-footer-link:hover .recruit-cta {
        transform: translateX(4px);
        background: #00d7b7;
        color: #fff;
        border-color: #fff;
    }

    .recruit-footer-link:hover .recruit-cta svg path {
        stroke: #fff;
        transition: stroke .2s ease;
    }

    .recruit-footer-link:hover .recruit-visual img {
        transform: scale(1.02);
        transition: transform .35s ease;
    }
}

.recruit-footer-link:focus-visible .recruit-cta {
    transform: translateX(4px);
    background: #00d7b7;
    color: #fff;
    border-color: #fff;
}

.recruit-footer-link:focus-visible .recruit-cta svg path {
    stroke: #fff;
}



@media (min-width: 768px) and (max-width: 1023px) {

    .recruit-section {
        padding: 75px 30px 1px 30px;
    }

    .our-thoughts {
        padding: 100px 0;
    }

    .recruit-page .recruit-info {
        padding: 100px 0 0 0;
    }

    .recruit-item,
    .recruit-item img {
        max-width: none;
    }

    .job-tabs {
        padding: 0 30px;
    }

    .job-box {
        flex-direction: column;
    }

    #jobs .wrap {
        padding: 0 !important;
    }

    #jobs .section-sub,
    #jobs .job-tabs {
        padding: 0 20px;
    }

    .job-left {
        border-right: none;
        border-bottom: 1px solid #8E8E93;
        padding: 0;
    }

    .job-left p {
        margin-bottom: 30px;
    }

    .job-box {
        padding: 50px 30px;
    }

    .job-right {
        margin-top: 30px;
        padding: 0;
    }

    #engineer .job-box {
        background: url(./assets/images/job-op1-sp.png) top center /cover no-repeat;
    }

    #sales .job-box {
        background: url(./assets/images/job-op2-sp.png) top center /cover no-repeat;
    }

    #customer .job-box {
        background: url(./assets/images/job-op3-sp.png) top center /cover no-repeat;
    }

    .job-openings-cta {
        padding: 70px 0;
    }

    .interview-image {
        max-width: 600px;
    }

    .interview-info {
        padding: 30px 40px;
        transform: none;
        bottom: -10%;
        left: 20%;
    }

    .interview-info h2 {
        font-size: 24px;
    }

    .interview-name {

        margin-left: 70px;
    }

    .interview-name .name {
        font-size: 22px;
    }

    .flow-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .kogawa .interview-info {
        padding: 30px 0;
        transform: none;
        left: -10%;
    }

    .shimada .interview-info,
    .narita .interview-info {
        bottom: -35%;
        left: 10%;
    }

    .interview-third-fourth .interview-info h2 {
        font-size: 20px;
    }

    .interview-third-fourth .interview-name .name::before {
        width: 40px;
    }

    .entry-footer::before {

        width: 30%;
    }

    .entry-footer {
        padding: 100px 0;
    }
}

@media (max-width: 767px) {

    .page-fv.first {
        background: url(./assets/images/fv-bg-img-sp.png) center center / cover no-repeat;
    }

    .fv__lead.second {
        font-size: 26px;
        line-height: 1.6;
        margin-top: 40px;
    }

    h1.fv__title.second::before {
        top: 60px;
        width: 18rem;
    }

    .fv__sub {
        line-height: 1.8;
        font-size: 14px;
    }

    .our-thoughts {
        margin-top: 0;
        padding: 70px 0;
    }

    .section-eyebrow {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .section-title {
        margin: 0;
        font-size: 26px;
    }

    .section-sub.lead {
        margin: 30px 0;
        font-size: 18px;
    }

    .section-desc p {
        font-size: 14px;
        line-height: 2;
    }

    .cta-card {
        width: 100%;
        height: 130px;
    }

    .cta-image img,
    .cta-image {
        height: 130px;
    }

    .cta-image img {
        width: 55vw;
    }

    .viewmore__cta.our-thgts .viewmore__cta-label {
        font-size: 14px !important;
    }

    .recruit-info {
        padding: 70px 0 0 0;
    }

    .recruit-info .section-title {
        margin: 20px 0;
    }

    .recruit-tabs {
        height: 60px;
    }

    .recruit-tabs .tab {
        height: 60px;
        font-size: 12px !important;
        flex-direction: column;
        gap: 10px;
    }

    .recruit-tabs .tab svg {
        margin-left: 0;
        height: 4px;
    }

    .recruit-block h4 {
        height: 50px;
        font-size: 18px;
        line-height: 1.5;
        border-radius: 10px 10px 0 0;
    }

    .recruit-item {
        padding: 40px 20px 0 20px;
    }

    .recruit-item img {
        height: 180px;
        border-radius: 10px;
    }

    .recruit-item h5 {
        font-size: 16px;
    }

    .recruit-item p {
        font-size: 14px;
        margin-bottom: 0;
    }

    .recruit-grid .recruit-item:last-child {
        padding-bottom: 40px;
    }

    .recruit-block {
        margin-bottom: 40px;
    }

    .recruit-section {
        padding: 30px 0 10px 0;
    }


    #jobs .section-sub,
    #workplace .section-sub {
        margin: 0 0 30px 0;
    }

    #workplace {
        padding-top: 70px;
    }

    #interview {
        padding-top: 40px;
    }

    .job-tabs {
        gap: 2px;
    }

    .job-tab {
        font-size: 14px;
        gap: 1px;
        height: 65px;
        line-height: 1.5;
    }

    .job-box {
        flex-direction: column;
    }

    #jobs .wrap {
        padding: 0 !important;
    }

    #jobs .section-sub,
    #jobs .job-tabs {
        padding: 0 20px;
    }

    .job-left {
        border-right: none;
        border-bottom: 1px solid #8E8E93;
        padding: 0;
    }

    .job-left h3 {
        font-size: 26px;
    }

    .job-left p {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .job-box {
        padding: 50px 30px;
    }

    .job-right {
        margin-top: 30px;
        padding: 0;
    }

    .job-right p,
    .job-right li,
    #customer .job-right .no-margin li {
        font-size: 14px;
    }

    #customer .job-right li strong {
        font-size: 14px;
    }

    #customer .job-right li {
        font-size: 12px;
    }

    #engineer .job-box {
        background: url(./assets/images/job-op1-sp.png) top center /cover no-repeat;
    }

    #sales .job-box {
        background: url(./assets/images/job-op2-sp.png) top center /cover no-repeat;
    }

    #customer .job-box {
        background: url(./assets/images/job-op3-sp.png) top center /cover no-repeat;
    }

    .job-openings-cta {
        padding: 70px 30px;
    }

    #interview .section-sub {
        margin-bottom: 70px;
    }

    .section-sub .en {
        font-size: 14px;
    }

    .section-sub {
        font-size: 22px;
    }

    .interview-image {
        max-width: 270px;
    }

    .interview-image img {
        height: 250px;
        width: 100%;
        border-radius: 10px;
    }

    .interview-number {
        font-size: 40px;
        top: -20px;
        left: 10px;
    }

    .interview-info {
        position: absolute;
        max-width: 100%;
        background: #ffffffc5;
        padding: 20px;
        bottom: 26%;
        left: 20%;
        border-radius: 10px;
    }

    .interview-info h2 {
        font-size: 14px;
        margin: 0;
    }

    .interview-name {
        margin-left: 0;
        margin-top: 10px;
    }

    .interview-name .name::before {
        width: 30px;
    }

    .interview-name .name {
        font-size: 14px;
    }

    .interview-name .department {
        font-size: 10px;
    }

    .interview-header {
        margin-bottom: 40px;
    }

    .interview-text {
        font-size: 14px;
        line-height: 2;
        margin-bottom: 40px;
    }

    .flow-grid {
        display: flex;
        flex-direction: column;
    }

    .interview-flow {
        padding: 90px 20px 40px 20px;
    }

    .flow-header {
        width: -webkit-fill-available;
        padding: 10px 0;
        border-radius: 10px 10px 0 0;

    }

    .flow-header h3 {
        font-size: 18px;
    }

    .flow-content {
        display: flex;
        gap: 20px;
    }

    .flow-item h4 {
        font-size: 14px;
        margin: 10px 0;
        line-height: 1.5;
        text-align: left;
    }

    .flow-image img {
        min-width: 120px;
    }

    .flow-time {
        font-size: 12px;
        width: 50px;
        height: 25px;
    }

    .flow-item p {
        line-height: 1.5;
    }

    .kogawa {
        margin-top: 80px;
    }

    .kogawa .interview-image {
        display: flex;
        justify-content: flex-end;
    }

    .kogawa .interview-number {
        left: 10px;
    }

    .kogawa .interview-info {
        padding: 20px;
        transform: translate(-60%, 50%);
        text-align: start;
    }

    .kogawa .interview-name {
        justify-content: flex-end;
    }

    .kogawa .interview-info h2 {
        margin: 0 0 0 50px;
    }


    .interview-text p {
        margin: 0;
    }

    .interview-flow {
        border-radius: 10px;
    }

    .interview-third-fourth {
        margin-top: 80px;
        flex-direction: column;
        gap: 70px;
    }

    .shimada,
    .narita {
        width: 100%;
    }

    .interview-third-fourth .interview-image {
        max-width: 100%;
    }

    .interview-third-fourth .interview-image img {
        max-height: 250px;
        max-width: 270px;
    }

    .interview-third-fourth .interview-info h2,
    .interview-third-fourth .interview-name .name {
        font-size: 14px;
        margin-bottom: 0;
    }

    .interview-third-fourth .interview-name .name::before {
        width: 30px;
    }

    .shimada .interview-info {
        bottom: 5%;
        left: 35%;
    }

    .narita .interview-info {
        left: 5%;
        bottom: 5%;
        width: auto;
    }

    #shimada .interview-text,
    #narita .interview-text {
        margin-top: 0 !important;
    }

    #narita .interview-image img {
        justify-self: flex-end;
    }

    #narita .interview-image {
        display: flex;
        justify-content: flex-end;
    }

    #narita .interview-number {
        left: auto;
        right: 205px;
    }

    .entry-footer {
        padding: 70px 0;
    }

    .entry-footer::before {
        background: linear-gradient(307.04deg, rgba(217, 255, 254, 0.2) -124.64%, #8F8F8F 74.08%);
        width: 195px;
        height: 240px;
    }

}


/* COMPANY PAGE ------------------------------------------- */


.message__container {
    position: relative;
    z-index: 1;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    gap: 70px;
    align-items: flex-start;
}

.message__media {
    position: relative;
    width: fit-content;
    margin-top: 70px;
}

.message__img {
    width: 400px;
    height: 600px;
    border-radius: 20px;
    object-fit: cover;

}

.message__copy {
    align-self: center;
}

.message__copy .section__text p {
    line-height: 2.4;
}

.ceo-message {
    position: relative;
    padding: 100px 0;
    background: #fff;
    overflow: hidden;
}

.ceo-message::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 25%;
    background: linear-gradient(180deg, #EBEBEB 43.66%, rgba(217, 255, 254, 0.2) 146.25%);
    z-index: 0;
    border-radius: 0 0 50px 0;
    max-height: 560px;
}

.ceo-name {
    font: 700 28px/1 "Noto Sans JP";
    margin-top: 30px;
    display: flex;
    align-items: baseline;
    gap: 20px;
}

.ceo-title {
    font: 400 16px/1 "Noto Sans JP";
}

.officers {
    padding: 50px 0 150px 0;
    background: #fff;
}


.officers .section__title {
    margin-bottom: 50px;
}

.officer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.officer-card {
    text-align: left;
}

.officer-card img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 30px;
}

.officer-card .role {
    font: 400 16px/1 "Noto Sans JP";
    margin-bottom: 10px;
}

.officer-card .name {
    font: 700 28px/1 "Noto Sans JP";
}

.company-info {
    background: linear-gradient(196.93deg, #000000 43.19%, #666666 99.49%);
    color: #fff;
    font-family: var(--font-NotoSansJp);
    padding: 150px 0;
}

.company-info .wrap {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.company-info .title-eyebrow {
    color: white;
}

.company-info .title-eyebrow::after {
    background: white;
}

.company-table {
    padding-top: 40px;
    width: 75%;
}

.company-table .row {
    display: grid;
    grid-template-columns: 90px 2fr;
    padding: 40px 0 0 0;
    gap: 10px;
}

.company-table .row:last-child {
    border-bottom: none;
}

.company-table .col-title {
    font-weight: bold;
    color: #fff;
    font: 700 16px/1.8 "Noto Sans JP";
    border-bottom: 2px solid #5B5B5B;
    padding-bottom: 10px;
}

.company-table .col-text {
    color: white;
    font: 400 16px/1.8 "Noto Sans JP";
    border-bottom: 1px solid #5B5B5B;
    padding-bottom: 10px;
    width: 100%;
}

.company-map {
    margin-top: 40px;

}

.company-map iframe {
    border-radius: 12px;
    overflow: hidden;
    height: 340px;
    width: 100%;
}

.timeline {
    padding: 150px 0 320px 0;
    font-family: var(--font-NotoSansJp);
    position: relative;
}

.timeline::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 300px;
    background-image: url(./assets/images/footer-top-pc.png);
    background-repeat: no-repeat;
    background-position: bottom right;
    background-size: contain;
    pointer-events: none;
}

.timeline .section__title {
    margin-bottom: 80px;
}

.timeline-inner {
    margin-left: auto;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 70px;
}

.timeline-item {
    position: relative;
    display: flex;
    flex-direction: row;
    gap: 30px;
}

.timeline-inner .timeline-item {
    margin-left: 0;
}

.timeline-inner .timeline-item:nth-child(1) {
    margin-left: 0%;
}

.timeline-inner .timeline-item:nth-child(2) {
    margin-left: 6%;
}

.timeline-inner .timeline-item:nth-child(3) {
    margin-left: 12%;
}

.timeline-inner .timeline-item:nth-child(4) {
    margin-left: 18%;
}

.timeline-inner .timeline-item:nth-child(5) {
    margin-left: 24%;
}

.timeline-inner .timeline-item:nth-child(6) {
    margin-left: 30%;
}

.timeline-inner .timeline-item:nth-child(7) {
    margin-left: 36%;
}

.timeline-inner .timeline-item:nth-child(8) {
    margin-left: 42%;
    position: relative;
}

.timeline-inner .timeline-item:nth-child(8)::before {
    content: '';
    position: absolute;
    left: 35px;
    top: 81px;
    height: 3px;
    width: 100vw;
    background: #EBEBEB;
    border-radius: 1px;
}

.year-col {
    width: auto;
    text-align: right;
    height: 100%;

}

.year {
    font: 700 36px/1 "Roboto Condensed";
    color: #919191;
}

.year-col::after {
    content: "";
    position: absolute;
    left: 35px;
    top: 45px;
    height: 100%;
    width: 3px;
    background: #EBEBEB;
    border-radius: 1px;
}

.event {
    margin-bottom: 15px;
    display: flex;
    line-height: 2;

}

.event:last-child {
    margin-bottom: 0;
}

.month {
    font: 700 16px/2 "Noto Sans JP";
    margin-right: 10px;
    width: 45px;
}

.event .description {
    font: 400 16px/2 "Noto Sans JP";
}

@media (min-width: 768px) and (max-width: 1023px) {

    .message__container {
        flex-direction: column;
    }

    .ceo-message {
        padding: 0;
    }

    .message__media {
        align-self: center;
    }

    .timeline::after {
        height: 240px;
    }

    .timeline {
        padding: 100px 0 240px 0;
    }

    .officer-card .name {
        font: 700 22px / 1 "Noto Sans";
    }

    .officers {
        padding: 50px 0 100px 0;
    }

}

@media (max-width: 767px) {

    .message__container {
        flex-direction: column;
        margin-top: 10px;
        align-items: center;
    }

    .title-eyebrow.sp-only::after {
        left: 80px;
    }

    .ceo-message::before {
        width: 40%;
        border-radius: 0 10px 0 0;
        top: 65px;
        max-height: 270px;
    }

    .ceo-message {
        padding: 20px 0;
    }

    .message__media .vision__img {
        height: 330px;
    }

    .message__media {
        margin-top: 90px;
        position: relative;
    }

    .ceo-name {
        position: absolute;
        bottom: 0;
        background: white;
        border-radius: 0 10px 0 0;
        padding: 15px 30px;
        flex-direction: column;
        font-size: 18px;
        gap: 10px;
    }

    .officers {
        padding: 50px 0 70px 0;
    }

    .ceo-title,
    .officer-card .role {
        font-size: 14px;
    }

    .ceo-message .section__title,
    .officers .section__title {
        font-size: 26px;
    }

    .officers .section__title {
        margin: 20px 0;
    }

    .officer-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;

    }

    .officer-card {
        position: relative;
    }

    .officer-name {
        position: absolute;
        bottom: 0px;
        background: white;
        border-radius: 0 10px 0 0;
        padding: 15px 30px;
        flex-direction: column;
        font-size: 18px;
        gap: 10px;
    }

    .officer-card .name {
        font-size: 18px;
    }

    .officer-card img {
        margin-bottom: 0;
        height: 300px;
        object-fit: cover;
    }

    .company-info {
        padding: 70px 0;
    }

    .company-info .wrap {
        flex-direction: column;
    }

    .company-table .row:first-child {
        padding-top: 10px;
    }

    .company-table {
        padding-top: 0;
        width: 100%;
    }

    .company-table .col-title,
    col-text {
        font-size: 14px;
    }

    .company-map iframe {
        max-height: 200px;
    }

    .timeline {
        padding: 70px 0 165px 0;
    }

    .timeline .section__title {
        margin-bottom: 40px;
    }

    .year {
        font-size: 24px;
    }

    .year-col::after {
        width: 2px;
        left: 22px;
        top: 30px;
        height: 85%;
    }

    .month,
    .event .description {
        font-size: 14px;
        line-height: 1.8;
        min-width: 45px;
    }

    .timeline-item {
        gap: 20px;
    }

    .timeline-inner {
        gap: 40px;
    }

    .timeline-inner .timeline-item:nth-child(8) {
        padding-bottom: 15px;
    }

    .timeline-inner .timeline-item:nth-child(8)::before {
        height: 2px;
        top: calc(100% + clamp(22px, 1.6vw, 11px));
        left: clamp(9px, 6vw, 30px);
    }

    .timeline::after {
        height: 140px;
        background-image: url(./assets/images/footer-top-sp.png);
    }

}

.policy-box h4 {
    margin: 1em 0 .5em;
    font: 500 14px/1 "Noto Sans JP";
}

.policy-box ol {
    padding-left: 1.25em;
}

.policy-sign {
    margin-top: 1em;
    font-size: .95em;
}

@media screen and (max-width: 375px) {
    .live-connect .recruit-copy {
        padding: 30px 10px;
    }

    .contact-sub-text {
        font-size: 15px;
    }

    .field-label {
        font-size: 13px;
    }


}