@charset "UTF-8";

/* ==============================
    ブレイクポイント
============================== */
/* スマホ (SP) : ~ 767px (デフォルト) */

/* TB/TBS : 768px ~ (タブレット縦) */
@media (min-width: 768px) {
}
@media (min-width: 768px) and (max-width: 959px) {
}

/* TB/TBL（Landscape） : 960px ~ (タブレット横・PC小) */
@media (min-width: 960px) {
}
@media (min-width: 960px) and (max-width: 1279px) {
}

/* PC/PCS : 1280px ~ (PC標準) */
@media (min-width: 1280px) {
}
@media (min-width: 1280px) and (max-width: 1599px) {
}

/* PC/PCL（Large） : 1600px ~ (PC大画面) */
@media (min-width: 1600px) {
}

/* ==============================
  Foundation: Variables
============================== */
:root {
    /* project colors */
    --color-primary: #0075C2;
    --color-secondary: #0D4793;
    --color-accent: #EACE58;
    --color-text: #3C3C3C;

    /* link colors */
    --color-link: #3C3C3C;
    --color-link-hover: #0075C2;
    --color-link-visited: #3C3C3C;

    /* base colors */
    --color-black: #3C3C3C;
    --color-white: #FFFFFF;
    /* --color-gray-dark: ; */
    --color-gray-light: #EDF0F2;
    --color-gray-dark: #8C8C8C;
    --color-gray-btn-shadow: #D1D5DB;
    --color-red: #E53935;
    --color-pink: #EB6EA5;
    --color-purple: #9C27B0;
    --color-blue: #1684B6;
    --color-turquoise: #00ADA2;
    --color-green: #4CAF50;
    --color-yellow: #FFC107;
    --color-orange: #ED833C;
    --asset-logo-all-white: url('/common/img/logo-all-white.png');
}

/* ==============================
  Foundation: Base Styles
============================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 62.5%;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: "Noto Sans JP", "Helvetica Neue", Arial, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Meiryo", sans-serif;
    font-size: 1.4rem;
    letter-spacing: 0.05em;
    color: var(--color-text);
    overflow-x: hidden;
    width: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@media (min-width: 768px) {
    body {
        /* 768px: 1.4rem 〜 960px: 1.5rem */
        font-size: clamp(1.4rem, 1rem + 0.5208vw, 1.5rem);
    }
}

@media screen and (min-width: 960px) {
    body {
        /* 960px: 1.5rem 〜 1280px: 1.6rem */
        font-size: clamp(1.5rem, 1.2rem + 0.3125vw, 1.6rem);
    }
}

@media screen and (min-width: 1280px) {
    body {
        /* 1280px: 1.6rem 〜 1600px: 1.8rem 〜 1920px: 2.0rem */
        font-size: clamp(1.6rem, 0.8rem + 0.625vw, 2.4rem);
    }
}

/* --- Basic Elements --- */
ul, ol {
    list-style: none;
}

dt, dd {
    margin: 0;
}

p {
    margin: 0;
    letter-spacing: 0.05em;
}


/* --- img ----------------- */

figure {
    margin: 0;
}

img{
    display: block;
    width: 100%;
    height: auto;
    vertical-align: middle;
}

a img {
    display: inline-block;
}

/* ==============================
  Layout: Container
============================== */
/* inner */

.inner, .inner--sm, .inner--lg {
    width: 88%;
    margin: 0 auto;
    transition: all 0.3s ease-in-out;
}

@media (min-width: 768px) {
    .inner, .inner--sm, .inner--lg {
        width: 92%;
    }
    .inner {
        max-width: 73em;
    }
    .inner--sm {
        max-width: 60em;
    }
    .inner--lg {
        max-width: 80em;
    }
}

/* ==============================
  Layout: Header
============================== */
.header {
    display: block;
    position: relative;
    z-index: 200;
    width: 100%;
    background-color: var(--color-white);
}

.header .inner,
.header .inner--sm,
.header .inner--lg {
    max-width: none;
}

@media (min-width: 960px) {
    .header {
        border-top: none;
        border-bottom: none;
        padding-top: 1.8em;
        padding-bottom: 2em;
        background-repeat: repeat-x;
        background-size: auto;
    }
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 1rem;
    min-height: 6.4rem;
}

@media (max-width: 959px) {
    .header .header__inner {
        width: 100%;
        max-width: none;
        margin: 0;
        padding-left: 4vw;
        padding-right: 0;
    }
}

@media (min-width: 960px) {
    .header__inner {
        align-items: flex-end;
        min-height: auto;
    }
}

.header__logo {
    display: block;
    flex: 0 1 auto;
    width: min(70vw, 28rem);
    min-width: 0;
}

@media (min-width: 960px) {
    .header__logo {
        width: clamp(20rem, 40%, 80rem);
    }
}

.header__logo-link {
    display: block;
    width: 100%;
    aspect-ratio: 662 / 159;
    background-image: url('/common/img/logo-all.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left center;
    transition: opacity 0.3s ease;
}
.header--recruit .header__logo-link {
    background-image: var(--asset-logo-all-white);
}

.header__logo-link:hover {
    opacity: 0.7;
}
.header__logo-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* PC: 電話・ナビ（960px 以上） */
.header__pc {
    display: none;
    flex-direction: column;
    align-items: flex-end;
    gap: 1.2em;
    flex: 0 0 auto;
}

@media (min-width: 960px) {
    .header__pc {
        display: flex;
    }
}

.header__tel-row {
    --header-contact-lh: 1.15;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 0.5em 1.5em;
}

.header__tel {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.15em 0.35em;
    margin: 0;
    color: var(--color-primary);
}

.header__tel-prefix {
    font-family: inherit;
    font-size: 1em;
    font-weight: 400;
    letter-spacing: 0.02em;
}

.header__tel-num {
    font-family: "Oswald", "Noto Sans JP", sans-serif;
    font-weight: 700;
    font-size: 1em;
    letter-spacing: 0.04em;
}

@media (min-width: 960px) {
    .header__tel-num {
        font-size: 2em;
        line-height: var(--header-contact-lh);
    }

    .header__hours-line {
        line-height: var(--header-contact-lh);
    }
}

.header__hours {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;
    font-size: 1.2rem;
    letter-spacing: 0.02em;
    color: var(--color-text);
    padding-top: 0.5em;
}

.header__hours-line {
    display: block;
    margin: 0;
    line-height: 1.45;
}

.header__nav-row {
    width: 100%;
}

.header__nav {
    color: var(--color-text);
    text-decoration: none;
    font-size: 1em;
    font-weight: 700;
}

@media (min-width: 960px) {
    .header__nav {
        font-size: 1.125em;
    }
}

.header__nav-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6em 1.8em;
    align-items: center;
    justify-content: flex-end;
    line-height: 1.4;
}

.header__nav-list a {
    color: var(--color-text);
    text-decoration: none;
    transition: color 0.3s;
}

.header__nav-list a:hover {
    color: var(--color-primary);
}

.header__nav-cta {
    margin-left: 0.4em;
    list-style: none;
}

.header__nav-list .header__nav-cta a.c-btn-primary {
    color: var(--color-black);
}

.header__nav-list .header__nav-cta a.c-btn-primary:hover {
    color: var(--color-black);
}

.header__sp {
    display: flex;
    flex: 0 0 auto;
    align-self: stretch;
}

@media (min-width: 960px) {
    .header__sp {
        display: none;
    }
}

.header__hamburger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 6.4rem;
    min-height: 6.4rem;
    margin: 0;
    padding: 0;
    border: none;
    background-color: var(--color-primary);
    cursor: pointer;
    transition: opacity 0.3s ease;
}

@media (hover: hover) {
    .header__hamburger:hover {
        opacity: 0.92;
    }
}

.header__hamburger-icon {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.55rem;
    width: 2.4rem;
    transition: gap 0.25s ease;
}

.header__hamburger-bar {
    display: block;
    height: 2px;
    background-color: var(--color-white);
    transition: transform 0.25s ease, opacity 0.25s ease, width 0.25s ease, align-self 0.25s ease;
}

.header__hamburger-bar--short {
    width: 68%;
    align-self: flex-start;
}

/* 開いたときは中央に重ねて回転（短い3本目の左寄せで×が崩れないように） */
.header__hamburger.is-open .header__hamburger-icon {
    gap: 0;
    position: relative;
    justify-content: center;
    align-items: center;
    height: 2.4rem;
}

.header__hamburger.is-open .header__hamburger-bar:nth-child(2) {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.header__hamburger.is-open .header__hamburger-bar:nth-child(1),
.header__hamburger.is-open .header__hamburger-bar:nth-child(3) {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    align-self: auto;
    transform-origin: center;
}

.header__hamburger.is-open .header__hamburger-bar:nth-child(1) {
    transform: translateY(-50%) rotate(45deg);
}

.header__hamburger.is-open .header__hamburger-bar:nth-child(3) {
    transform: translateY(-50%) rotate(-45deg);
}

.header__drawer {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

.header__drawer.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.header__drawer-backdrop {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-color: var(--color-primary);
}

.header__drawer-nav {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 28rem;
    margin: auto;
    font-size: 1.6rem;
}

.header__drawer-brand {
    width: 100%;
    max-width: min(70vw, 22rem);
    margin: 0 auto 2.4rem;
}

.header__drawer-logo-link {
    display: block;
    line-height: 0;
    transition: opacity 0.3s ease;
}

.header__drawer-logo-img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

@media (hover: hover) {
    .header__drawer-logo-link:hover {
        opacity: 0.85;
    }
}

.header__drawer-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.2em;
    text-align: center;
}

.header__drawer-list > li:not(.header__drawer-cta) a {
    color: var(--color-white);
    font-weight: 700;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

@media (hover: hover) {
    .header__drawer-list > li:not(.header__drawer-cta) a:hover {
        opacity: 0.85;
    }
}

.header__drawer-cta {
    margin-top: 0.25em;
    list-style: none;
}

body.is-header-drawer-open {
    overflow: hidden;
}

body.is-header-drawer-open .header__inner {
    position: relative;
    z-index: 1001;
}

body.is-header-drawer-open .header__inner > .header__logo {
    flex: 0 0 0 !important;
    width: 0 !important;
    min-width: 0 !important;
    max-width: 0 !important;
    margin: 0;
    overflow: hidden;
    visibility: hidden;
    pointer-events: none;
}

body.is-header-drawer-open .top-hero,
body.is-header-drawer-open .hero-sec {
    position: relative;
    z-index: 10050;
}

.header--recruit {
    background-color: var(--color-primary);
    border-top-color: rgba(255, 255, 255, 0.2);
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

.header--recruit .header__tel {
    color: var(--color-white);
}

.header--recruit .header__tel-prefix {
    color: var(--color-white);
}

.header--recruit .header__tel-num {
    color: var(--color-white);
}

.header--recruit .header__hours {
    color: rgba(255, 255, 255, 0.9);
}

.header--recruit .header__nav-list a {
    color: var(--color-white);
}

.header--recruit .header__nav-list a:hover {
    color: var(--color-accent);
}

@media (min-width: 960px) {
    .header--recruit {
        border-top: none;
        border-bottom: none;
    }
}

@media (max-width: 767px) {
    .layout-top .header__pc {
        display: none;
    }
    .layout-top .header__sp {
        display: flex;
    }
}
@media (min-width: 768px) {
    .layout-top .header__pc,
    .layout-top .header__sp {
        display: none;
    }
}

@media (max-width: 959px) {
    body.recruit.recruit-top .header__pc {
        display: none;
    }
    body.recruit.recruit-top .header__sp {
        display: flex;
    }
}
@media (min-width: 960px) {
    body.recruit.recruit-top .header__pc {
        display: flex;
    }
    body.recruit.recruit-top .header__sp {
        display: none;
    }
}

/* ==============================
  Layout: Main
============================== */
main {
    line-height: 2;
}

/* ==============================
  Layout: Section
============================== */
.section {
    padding-top: 3em;
    padding-bottom: 4em;
}
.section--sm {
    padding-top: 2.5em;
    padding-bottom: 2.5em;
}

@media (min-width: 768px) {
    .section {
        padding-top: 3.8em;
        padding-bottom: 5.4em;
    }
    .section--sm {
        padding-top: 2.5em;
        padding-bottom: 2.5em;
    }
}

/* ==============================
  Layout: Footer（SPファースト）
============================== */
.footer {
    line-height: 1.6;
}

.footer__main {
    background-color: var(--color-primary);
    padding: 2em 0;
}

.footer__inner {
    display: flex;
    flex-direction: column;
    gap: 2.5em;
}

.footer__left {
    color: var(--color-white);
}

.footer__brand {
    margin-bottom: 1.25em;
}

.footer__logo-link {
    display: block;
    max-width: 160px;
    transition: opacity 0.3s;
}
.footer__logo-link:hover {
    opacity: 0.85;
}

.footer__logo-img {
    display: block;
    width: 100%;
    height: auto;
}

.footer__certificate {
    max-width: 200px;
    margin-left: 0;
}

.footer__certificate-img {
    display: block;
    width: 100%;
    height: auto;
}

.footer__nav {
    flex: 1;
}

.footer__nav .c-gnav {
    display: block;
}

.footer__nav .c-gnav__group {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 2.5em 2em;
}

.footer__nav .c-gnav__item {
    flex: 1 1 130px;
    min-width: 0;
}

.footer__nav .c-gnav__ttl {
    padding-left: 0;
    padding-bottom: 0.5em;
    margin-bottom: 0.6em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.9);
    font-size: 0.95em;
    font-weight: 700;
    color: var(--color-white);
}
.footer__nav .c-gnav__ttl:last-child {
    margin-bottom: 0;
}
.footer__nav .c-gnav__ttl::before {
    display: none;
}
.footer__nav .c-gnav__ttl a {
    color: var(--color-white);
    text-decoration: none;
}

.footer__nav .c-gnav__list {
    padding-left: 0;
    gap: 0.4em;
}

.footer__nav .c-gnav__list li {
    padding-left: 0;
}

.footer__nav .c-gnav__list li::before {
    display: none;
}

.footer__nav .c-gnav__list li a {
    color: var(--color-white);
    font-weight: 400;
    font-size: 0.9em;
}

.footer__nav .c-gnav--footer .c-gnav__footer-home {
    display: none;
}

.footer__nav .c-gnav--footer .c-gnav__footer-arrow {
    display: none;
}

@media (max-width: 767px) {
    .footer__main {
        overflow-x: clip;
        padding-top: 0;
    }

    .footer__left {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer__brand {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .footer__logo-link {
        width: 90%;
        max-width: 350px;
    }

    .footer__certificate {
        width: 90%;
        max-width: 350px;
        margin-left: auto;
        margin-right: auto;
    }

    .footer__inner .footer__nav {
        width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
    }

    .footer__nav .c-gnav--footer .c-gnav__group {
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 0;
        width: 100%;
    }

    .footer__nav .c-gnav--footer .c-gnav__footer-home {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.85em 6vw;
        border-bottom: 1px solid var(--color-white);
    }

    .footer__nav .c-gnav--footer .c-gnav__footer-home-link {
        color: var(--color-white);
        font-weight: 700;
        text-decoration: none;
        flex: 1 1 auto;
    }

    .footer__nav .c-gnav--footer .c-gnav__item {
        flex: 0 0 auto;
        width: 100%;
        gap: 0;
    }

    .footer__nav .c-gnav--footer .c-gnav__list {
        display: none;
    }

    .footer__nav .c-gnav--footer .c-gnav__ttl {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 0.5em;
        padding: 0.85em 6vw;
        margin-bottom: 0;
        border-bottom: 1px solid var(--color-white);
    }

    .footer__nav .c-gnav--footer .c-gnav__ttl:last-child {
        margin-bottom: 0;
    }

    .footer__nav .c-gnav--footer .c-gnav__ttl a {
        flex: 1 1 auto;
    }

    .footer__nav .c-gnav--footer .c-gnav__footer-arrow {
        display: inline-flex;
        flex-shrink: 0;
        align-items: center;
        justify-content: center;
        font-size: 1.25rem;
        font-weight: 300;
        color: var(--color-white);
        line-height: 1;
    }
}

.footer__bottom {
    background-color: var(--color-white);
    padding: 1em 0;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.footer__bottom-inner {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
    align-items: center;
    text-align: center;
}

.footer__privacy {
    color: var(--color-text);
    font-size: 0.8125em;
    text-decoration: none;
    transition: opacity 0.3s;
}
.footer__privacy:hover {
    opacity: 0.7;
}

.footer__copyright {
    color: var(--color-text);
    font-size: 0.8125em;
    margin: 0;
}

@media (min-width: 768px) {
    .footer__main {
        padding: 4em 0 4.5em;
    }

    .footer__inner {
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
        gap: 4em;
    }

    .footer__inner .footer__left {
        order: 1;
    }

    .footer__inner .footer__nav {
        order: 2;
    }

    .footer__left {
        flex-shrink: 0;
        width: 32%;
        max-width: 320px;
    }

    .footer__brand {
        margin-bottom: 1.5em;
    }

    .footer__logo-link {
        max-width: 220px;
    }

    .footer__certificate {
        max-width: 260px;
        margin-left: 0.5em;
    }

    .footer__nav {
        flex: 1;
        min-width: 0;
    }

    .footer__nav .c-gnav {
        width: 100%;
    }

    .footer__nav .c-gnav__group {
        flex-wrap: nowrap;
        gap: 1em 2em;
        justify-content: space-between;
        width: 100%;
    }

    .footer__nav .c-gnav__item {
        flex: 1 1 0;
        min-width: 0;
        max-width: none;
    }

    .footer__nav .c-gnav__ttl {
        font-size: 1em;
    }

    .footer__nav .c-gnav__list li a {
        font-size: 0.9375em;
    }

    .footer__bottom-inner {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }

    .footer__privacy,
    .footer__copyright {
        font-size: 0.875em;
    }
}

/* ==============================
 Scrollbar
============================== */
::-webkit-scrollbar,
.scrollable-element::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track,
.scrollable-element::-webkit-scrollbar-track {
    background-color: var(--color-gray-light);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb,
.scrollable-element::-webkit-scrollbar-thumb {
    background-color: var(--color-secondary);
    border-radius: 10px;
    
}

::-webkit-scrollbar-thumb:hover,
.scrollable-element::-webkit-scrollbar-thumb:hover {
    background-color: color-mix(in srgb, var(--color-secondary) 80%, black 20%);
}