@charset "UTF-8";

@import url('https://fonts.googleapis.com/css2?family=Google+Sans:ital,opsz,wght@0,17..18,400..700;1,17..18,400..700&family=Shippori+Antique&display=swap');

:root {
    --blue: #0658a0;
    --white: #fff;
}

/* -------------------------------------
// 共通
------------------------------------- */
html {
    font-size: 100%;
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: "Shippori Antique", sans-serif;
    font-weight: 400;
    color: #000;
    min-height: 100vh;
    font-size: 1rem;
}

a:hover {
    opacity: 0.7;
}

.pc_only {
    display: block;
}

.sp_only {
    display: none;
}

@media only screen and (max-width: 768px) {
    .pc_only {
        display: none;
    }

    .sp_only {
        display: block;
    }
}

header,
main,
footer {
    position: relative;
    z-index: 1;
}

.bg {
    padding-inline: 2.5rem;
}

.l-container {
    max-width: 1260px;
    margin-inline: auto;
    position: relative;
    z-index: +2;
}

.section-box {
    background: var(--white);
    border-radius: 32px;
    padding: 6.25rem 5rem;
}

@media only screen and (max-width: 768px) {
    .bg {
        padding-inline: min(5.208vw, 2.5rem);
    }

    .section-box {
        padding: 4rem min(7.292vw, 3.5rem);
    }
}

.page {
    position: relative;
}


.page__bg {
    position: fixed;
    inset: 0;
    background: url("../img/top/bg.jpg") center / cover no-repeat;
    z-index: -1;
    pointer-events: none;
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.section-heading {
    margin-bottom: 2.3rem;
}

.section-heading__sub {
    font-size: 1.5rem;
    line-height: 1;
    margin-bottom: 1.625rem;
}

.section-heading__title {
    font-size: 6rem;
    line-height: 1;
    margin-bottom: 1rem;
    background-image: url("../img/top/grada_bg.png");
    background-size: cover;
    background-position: center;
    background-size: 140%;
    background-position: 100% 37%;
    color: transparent;
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
}

.section-subtitle {
    font-family: "Google Sans", sans-serif;
    font-size: 3.25rem;
    font-weight: bold;
}

.section-caption {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.section-caption::before {
    content: "";
    width: 24px;
    height: 24px;
    background: var(--blue);
    border-radius: 50%;
    flex-shrink: 0;
}

.section__text {
    font-size: 1.125rem;
}

@media only screen and (max-width: 768px) {
    .section-heading__sub {
        font-size: clamp(1rem, 2.5vw, 1.5rem);
    }

    .section-heading__title {
        font-size: clamp(2.5rem, 6vw, 6rem);
    }

    .section-subtitle {
        font-size: clamp(1.25rem, 4.5vw, 3.875rem);
    }

    .section-caption {
        font-size: clamp(1rem, 2.5vw, 1.55rem);
        gap: 6px;
    }

    .section-caption::before {
        width: clamp(1rem, 2.5vw, 1.55rem);
        height: clamp(1rem, 2.5vw, 1.55rem);
    }

    .section__text {
        font-size: clamp(0.875rem, 1.5vw, 1.125rem);
    }
}

/* -------------------------------------
// アニメーション
------------------------------------- */
.js-fadeup {
    opacity: 0;
}

.parallax-bg {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: +1;
}

.parallax-bg__layer {
    position: absolute;
    top: 20%;
    left: -3%;
    width: 103%;
    height: 200%;
    background: url("../img/top/parallax-bg.svg") repeat;
    background-size: 100% auto;
    opacity: 0.6;
    transform: translateZ(0);
    will-change: transform;
}

.js-reveal {
    position: relative;
    overflow: hidden;
}

.js-reveal__cover {
    position: absolute;
    inset: 0;
    background: var(--blue);
    z-index: 1;
    transform: scaleY(0);
    transform-origin: bottom;
}

.js-reveal img {
    display: block;
    width: 100%;
    height: auto;
    opacity: 0;
}

/* -------------------------------------
// HEADER
------------------------------------- */

.header {

    width: 100%;
    z-index: 10;
    max-height: 100px;
    overflow: hidden;
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    max-width: 100vw;
    margin: 0;
    padding: 0;
}

.header__inner>* {
    height: 100%;
}

.header__logo {
    width: 495px;
    height: 100px;
    flex-shrink: 0;
    background: var(--white);
    display: grid;
    place-items: center;
}

.header__logo img {
    max-width: 441px;
    width: 100%;
    height: auto;
}

.header__list {
      position: fixed;
  top: 0;
  right: 0;
    display: flex;
    justify-content: center;
    gap: 0 24px;
    list-style: none;
    margin: 0;
    padding-block: 16px;
    width: 338px;
    min-height: 100px;
    background: url("../img/top/grada_bg.png") center top/ cover no-repeat;
}

.header__link {
    font-family: "Google Sans", sans-serif;
    text-decoration: none;
    color: var(--white);
    font-size: 1.8125rem;
    line-height: 65px;
    font-style: italic;
}

.header__item:nth-child(1) {
    border-right: 3px solid var(--white);
    padding-right: 53px;
    margin-right: 5px;
}



@media only screen and (max-width: 920px) {
    .header {
        max-height: 100px;
        overflow: hidden;
    }

    .header__nav {
        flex: 1;
    }

.header__logo img {
    width: 90%;
    height: auto;
}
    .header__list {
        width: calc(100% - 495px);
        gap: 0;
    }

    .header__link {
        font-size: clamp(1rem, 2.78vw, 1.125rem);
    }

    .header__item:nth-child(1) {
        padding-right: 15px;
        margin-right: 15px;
    }
}

@media only screen and (max-width: 768px) {
    .header {
        height: 60px;
              position: fixed;
  top: 0;
  right: 0;
    }

    .header__logo {
        width: calc(100% / 2);
        height: 60px;
       flex-shrink: 1;
        padding: 0 10px;
    }

    .header__list {
              position: static;
         width: 100%;
        padding-block: 10px;
        min-height: 60px;
        height: 60px;
        
    }

    .header__link {
        font-size: clamp(0.875rem, 2.22vw, 1rem);
        line-height: 40px;
       
    }

    .header__item:nth-child(1) {
        border-right: 2px solid var(--white);
        padding-right: 15px;
        margin-right: 15px;
    }
}

/* -------------------------------------
// MV
------------------------------------- */
.mv {
    position: relative;
    overflow: hidden;
    z-index: +2;
    aspect-ratio: 16/9;
    margin-top: -100px;
}

.mv__slide {
    width: 100%;
    height: 100%;
}

.mv__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    padding: 0;
    margin: 0;
}

@media only screen and (max-width: 768px) {
    .mv {
        aspect-ratio: 768/1217;
        margin-top: 0;
    }
    .mv__slide {
    padding-top: 60px;
}
}

/* -------------------------------------
// メッセージ
------------------------------------- */
.message {
    margin-top: 6rem;
    margin-bottom: 6.75rem;
}

.message__title {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    background-image: url("../img/top/grada_bg.png");
    background-size: cover;
    background-position: center;
    color: transparent;
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
}

.message__text {
    font-size: 1.5rem;
    line-height: 1.8;
}

@media only screen and (max-width: 768px) {
    .message {
        margin-top: 2.5rem;
    }

    .message__title {
        font-size: clamp(1rem, 4.5vw, 2.25rem);
    }

    .message__text {
        font-size: clamp(0.875rem, 3.5vw, 1.75rem);
    }
}

/* -------------------------------------
// ニュース
------------------------------------- */
.info-section {
    margin-bottom: 6.75rem;
}

.news {
    margin-bottom: 9.75rem;
}

.news-card__date {
    font-size: 1rem;
    line-height: 3.75;
}

.news-card__title {
    font-size: 2.375rem;
    margin-bottom: 3rem;
}

.news-card__text {
    font-size: 1.375rem;
    line-height: 1.25;
    margin-bottom: 1.25rem;
}

.news-card__image img {
    max-width: 1099px;
}

@media only screen and (max-width: 768px) {
    .news {
        margin-bottom: 7.5rem;
    }

    .news-card__date {
        font-size: clamp(0.8125rem, 2vw, 1.25rem);
    }

    .news-card__title {
        font-size: clamp(1.5rem, 3vw, 2.25rem);
    }

    .news-card__text {
        font-size: clamp(0.875rem, 3vw, 1.75rem);
    }
}


/* -------------------------------------
// カンパニー
------------------------------------- */
.company__image {
    margin: 4rem auto 5rem;
}

.company__image img {
    max-width: 1102px;
}

.company__cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 3.5rem;
}

.company__card {
    background: #f2f2f3;
    padding: 1.25rem;
}

.company__card:nth-child(-n+2) {
    grid-column: span 2;
}

.company__card:nth-child(n+3) {
    text-align: center;
}

.company__card-title {
    background: var(--blue);
    color: var(--white);
    font-size: 1.25rem;
    line-height: 1.2;
    display: inline-block;
}

.company__card-value {
    font-family: "Google Sans", sans-serif;
    text-align: center;
    font-size: 6.5rem;
    line-height: 1;
    font-weight: bold;
    color: var(--blue);
    padding-top: 1.25rem;
}

.company__card:nth-child(1) .company__card-value {
    font-size: 6rem;
    padding-top: 5rem;
}

.company__card:nth-child(2) .company__card-value {
    font-size: 10.5rem;
    padding-top: 2rem;
}

.company__card:nth-child(4) .company__card-value,
.company__card:nth-child(5) .company__card-value {
    font-size: 5.5rem;
    padding-top: 2rem;
}

.company__card-value .company__card-unit {
    font-family: "Shippori Antique", sans-serif;
    font-size: 1.25rem;
    line-height: 1;
    color: #000;
    font-weight: 400;
}

@media only screen and (max-width: 1024px) {
    .company__cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .company__card:nth-child(n+3) {
        grid-column: span 1;
    }
}

@media only screen and (max-width: 768px) {
    .company__image {
    margin: 2dvh auto 4rem;
}
    .company__cards {
        gap: min(3.906vw, 30px);
        margin-top: 3.5rem;
        padding-bottom: 2rem;
    }

    .company__card {
        padding: min(3.125vw, 1.5rem);
    }

    .company__card-title {
        font-size: clamp(0.875rem, 2.2vw, 1.25rem);
        text-align: left;
    }

    .company__card-value {
        font-size: 3.5rem;
        padding-top: 0.5rem;
    }

    .company__card:nth-child(1) .company__card-value {
        font-size: 2.5rem;
        padding-top: 2rem;
    }

    .company__card:nth-child(2) .company__card-value {
        font-size: 4rem;
        padding-top: 1rem;
    }

    .company__card:nth-child(4) .company__card-value,
    .company__card:nth-child(5) .company__card-value {
        font-size: 3rem;
        padding-top: 1rem;
    }

    .company__card-value .company__card-unit {
        font-size: clamp(0.9375rem, 1.8vw, 1.25rem)
    }
}

/* -------------------------------------
// ビジネス
------------------------------------- */
.corporate-overview {
    margin-bottom: 6rem;
}

.business {
    margin-bottom: 8.5rem;
}

.business__content {
    display: flex;
    gap: 30px;
}

.business__block {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.business__image {
    margin-bottom: 1.25rem;
}

.business__image img {
    max-width: 536px;
}

@media only screen and (max-width: 768px) {
    .business__content {
        flex-direction: column;
        gap: min(3.906vw, 30px);
    }

    .business__block {
    flex-direction: column-reverse;
    }

     .business__block .order-1{
    margin-top:2rem;
    }

    .business__block--legacy {
        margin-top: 4rem;
    }
}

/* -------------------------------------
// ピープル
------------------------------------- */
.people__row {
    display: flex;
}

.people__row>* {
    flex: 1;
}

.people__text {
    font-size: 1.125rem;
    padding-right: 4.5rem;
}

.people__image img {
    max-width: 549px;
}

.story__image {
    margin: 6rem auto 1.5rem;
}

.story__imagee img {
    max-width: 1102px;
}

.people__bottom {
    display: flex;
    flex-direction: column;
}

@media only screen and (max-width: 768px) {
    .people__row {
        flex-direction: column;
    }

    .people__text {
        font-size: clamp(0.875rem, 1.5vw, 1.125rem);
        padding-right: 0;
    }

    .people__image {
        margin-top: 2rem;
    }

   .story__image {
    margin: 2rem auto 0;
}

    .people__bottom {
        margin-top: 4rem;
        flex-direction: column-reverse;
    }

}

/* -------------------------------------
// サポート
------------------------------------- */
.support {
    margin-bottom: 6.75rem;
}

.support__item--career {
    margin-bottom: 3.5rem;
}

.support__item--career .support__image {
    margin: 3.25rem auto 0;
}

.support__item--welfare .support__image {
    margin: 2rem auto 0;
}

.support__image img {
    max-width: 1102px;
}

@media only screen and (max-width: 768px) {
    .support__item--welfare .support__image {
        margin: 3.25rem auto 0;
    }
}

/* -------------------------------------
// リクルート
------------------------------------- */
.recruit__content {
    display: flex;
    gap: 30px;

}

.recruit__block {
     flex: 1;
    display: flex;
    flex-direction: column;
}

.recruit .section-subtitle{
    word-break: break-all;


}
.recruit__image {
    margin-bottom: 1.25rem;
}

.recruit__image img {
    max-width: 536px;
}

@media only screen and (max-width: 768px) {
    .recruit__content {
        flex-direction: column;
    }
.recruit__block {
    flex-direction: column-reverse;
}
    .recruit__block--work {
        margin-top: 2rem;
    }
    .recruit__image {
    margin-top: 2rem;
}
}

/* -------------------------------------
// フッター前文字
------------------------------------- */
.message__visual {
    max-width: none;
    margin-top: 22rem;
    text-align: center;
    overflow: hidden;
    position: relative;
    top: 13px;
}

.message__visual img {
    width: calc(100% + 3%);
    transform: translateX(-1%);
    max-width: none;
}

@media only screen and (max-width: 768px) {
    .message__marquee {
        overflow: hidden;
        padding-top: 3.5rem;
        position: relative;
        top: 10px;
    }

    .marquee__track {
        display: flex;
    }

    .marquee__list {
        display: flex;
        align-items: center;
        gap: 15px;
        padding-right: 15px;
        flex-shrink: 0;
    }

    .marquee__list img {
        width: 40%;
        height: auto;
        display: block;
    }
}

/* -------------------------------------
// FOOTER
------------------------------------- */
.footer {
    padding: 6rem 20px 3rem;
    background: var(--white);
}

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

.footer__logo {
    margin-bottom: 2.5rem;
}

.footer__logo img {
    width: 320px;
}

.footer__nav {
    margin-bottom: 5rem;
    width: 100%;
}

.footer__list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 36px;
}

.footer__link {
    text-decoration: underline;
    font-size: 1.125rem;
}

.footer_mail {
    text-align: center;
    font-size: 0.8125rem;
}
.footer_mail--link {
    display: inline;
    text-decoration: underline;
}

.footer__copy {
    text-align: center;
    font-size: 0.875rem;
    margin-top: 1rem;
}

@media only screen and (max-width: 768px) {
    .footer {
        padding: 3.5rem min(2.083vw, 1rem);
    }

    .footer__logo {
        margin-bottom: 1rem;
    }

    .footer__list {
        gap: min(3.125vw, 1.5rem);
    }

    .footer__link {
        font-size: clamp(0.625rem, 2vw, 1.125rem);
    }
}