@charset "UTF-8";

/* フォント読み込み
-----------------------------------------------*/

@font-face {
    font-family: "Baguette";
    src: url("../fonts/Baguette.ttf") format("truetype");
}

/* base
---------------------------------------------- */

:root {
    --color-black: #333;
    --color-white: #fff;

    --color-blue01: #2f5f8f;
    --color-blue02: #5593cf;
    --color-blue03: #edf4fa;

    --base-font-size: 16;
    --rem: calc(1rem / var(--base-font-size));

    --font-english: "Oswald";
    --font-japanese: "Noto Sans JP";
    --font-baguette: "Baguette";
}

.header,
.footer {
    --rem: 1px;
}

body {
    color: var(--color-black);
    font-size: calc(16 * var(--rem));
    font-weight: 400;
    font-family: var(--font-english), var(--font-japanese), sans-serif !important;
    line-height: 1;
}

img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

a,span {
    display: inline-block;
}

@media screen and (min-width: 768px) {
    a[href^="tel:"] {
        pointer-events: none;
        cursor: default;
    }
}

/* section title */

.section-title01 {
    display: flex;
    flex-direction: column-reverse;
    justify-content: center;
    gap: 16px;
}

.section-title__ja {
    font-size: calc(20 * var(--rem));
    font-weight: bold;
    letter-spacing: 0.08em;
}

.section-title__en {
    color: var(--color-blue02);
    font-size: calc(100 * var(--rem));
    font-weight: bold;
    letter-spacing: 0.02em;
}

.section-title__en span {
    color: var(--color-blue01);
}

/* button */

.common__btn {
    display: flex;
    align-items: center;
    gap: 30px;
    width: 25%;
}

.common__btn:hover .common__btn-arrow,
.c-detail-link:hover .common__btn-arrow {
    background-color: var(--color-white);
    border-color: var(--color-blue02);
}

.common__btn:hover .common__btn-arrow img {
    opacity: 0;
}

.common__btn span {
    font-size: calc(18 * var(--rem));
    font-weight: bold;
    letter-spacing: 0.08em;
}

.common__btn-arrow {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--color-blue02);
    border: 1px solid var(--color-blue02);
    transform: rotate(-45deg) skew(15deg, 15deg);
    transition: all 0.3s;
}

.common__btn-arrow svg {
    width: 40%;
    color: var(--color-white);
    transform: rotate(45deg);
    transition: color 0.3s;
}

.common__btn:hover .common__btn-arrow svg,
.c-detail-link:hover .common__btn-arrow svg {
    color: var(--color-blue01);
}

/* 三角背景 */

.triangle-wrapper {
    position: relative;
}

.triangle-wrapper__bg--top {
    position: absolute;
    inset: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    background-color: var(--color-blue03);
    clip-path: polygon(60% 0, 100% 30%, 100% 0);
}

.triangle-wrapper__bg--bottom {
    position: absolute;
    inset: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    background-color: var(--color-blue03);
    clip-path: polygon(100% 30%, 30% 100%, 100% 100%);
}

/* animation
------------------------------------------------- */

/* 共通：最初は非表示 */
.fade-up,
.fade-left,
.fade-right {
    opacity: 0;
    transform: translate3d(0, 16px, 0); /* fade-up の初期値（下から） */
    transition: opacity 0.6s ease, transform 0.6s ease;
    will-change: opacity, transform;
}

/* 遅延用 */
.fade-up {
    transition-delay: var(--delay, 0s);
}

/* その場フェード */
.fade-in {
    opacity: 0;
    transition: opacity 0.5s ease;
    will-change: opacity;
}

/* 遅延対応（staggerも使えるように） */
.fade-in {
    transition-delay: var(--delay, 0s);
}


/* 方向別の初期位置 */
.fade-left {
    transform: translate3d(-16px, 0, 0);
}

.fade-right {
    transform: translate3d(16px, 0, 0);
}

/* 表示トリガー：画面内に入ったら元の位置へ */
.fade-up.is-inview,
.fade-left.is-inview,
.fade-right.is-inview {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

/* 表示時 */
.fade-in.is-inview {
    opacity: 1;
}

/* ユーザーがアニメを減らす設定なら無効化（アクセシビリティ） */
@media (prefers-reduced-motion: reduce) {
    .fade-up,
    .fade-left,
    .fade-right {
        transition: none;
        opacity: 1;
        transform: none;
    }
}

.u__note-pc {
    display: none;
}

.u__tab {
    display: none;
}

.u-sp {
    display: none;
}

@media (max-width: 1366px) {
    .section-title__en {
        font-size: calc(80 * var(--rem));
    }

    .common__btn {
        width: 33%;
    }

    .u__note-pc {
        display: block;
    }
}

@media (max-width: 1024px) {

    .section-title__en {
        font-size: calc(68 * var(--rem));
    }

    .section-title__ja {
        font-size: calc(20 * var(--rem));
    }

    .common__btn {
        width: 70%;
    }

    .u__note-pc {
        display: none;
    }

    .u__tab {
        display: block;
    }
}

@media (max-width: 520px) {
    .common__btn {
        width: 100%;
    }

    .u__note-pc {
        display: none;
    }

    .u__tab {
        display: none;
    }

    .u-sp {
        display: block;
    }
}

.opening-animation {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    background-color: var(--color-white);
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.opening-animation.is-complete {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.opening-animation__image {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.opening-animation__image.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.opening-animation__image.is-hidden {
    opacity: 0;
    transform: translateY(-12px);
}

.opening-animation__image {
    width: min(520px, 72vw);
}


/* header
---------------------------------------------- */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 102;
    transition: all 0.5s;
}

.header.is-color {
    background-color: var(--color-white);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1920px;
    margin-inline: auto;
    padding-left: 50px;
}

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

.header__nav {
    display: flex;
    align-items: center;
    gap: 50px;
    width: 100%;
}

.header__nav-logo {
    display: none;
}

.header__nav-list {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(10px, 2.75vw, 50px);
    width: 100%;
}

.header__nav-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-block: 12px;
    transition: opacity 0.3s ease;
}

.header__nav-link span {
    color: var(--color-white);
    font-size: 16px !important;
    font-weight: bold;
    line-height: calc(21 / 16);
    letter-spacing: 0.08em;
}

.header__nav-link.is-color span {
    color: var(--color-black);
}

.header__nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-white);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.header__nav-link:hover::after,
.header__nav-link.is-current::after {
    transform: scaleX(1);
}

.header__nav-link.is-current span {
    color: var(--color-white);
}

.header__nav-link.is-current.is-color span {
    color: var(--color-blue01);
}

.header__nav-link.is-color::after {
    background-color: var(--color-blue01);
}

.header__nav-link svg {
    display: none;
}

.header__contact-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: 14%;
    max-width: 140px;
    height: 100px;
    background-color: var(--color-blue01);
    transition: background-color 0.5s ease;
}

.header__contact-btn:hover {
    background-color: var(--color-white);
}

.header__contact-btn svg {
    color: var(--color-white);
    transition: color 0.5s ease;
}

.header__contact-btn:hover svg {
    color: var(--color-blue01);
}

.header__contact-btn span {
    color: var(--color-white);
    font-size: 16px !important;
    font-weight: bold;
}

.header__contact-btn:hover span {
    color: var(--color-blue01);
}

@media (max-width: 1440px) {
    .header__inner {
        padding-left: 10px;
    }

    .header__logo {
        max-width: 200px;
    }

    .header__nav {
        gap: 10px;
    }

    .header__nav-link span {
        font-size: 12px !important;
    }

    .header__contact-btn span {
        font-size: 12px !important;
    }
}

@media (max-width: 1024px) {
    .header {
        padding-block: 20px;
    }

    .header__nav {
        position: fixed;
        top: 0;
        right: -100%;
        z-index: 102;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 50px;
        width: 30%;
        height: 100vh;
        background-color: var(--color-blue02);
        transition: right 0.5s ease;
    }

    .header__nav.is-open {
        right: 0;
    }

    .header__nav-list {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 0;
        width: 100%;
        border-top: 1px solid var(--color-white);
    }

    .header__nav-item {
        width: 100%;
        border-bottom: 1px solid var(--color-white);
    }

    .header__nav-link {
        justify-content: space-between;
        padding: 20px;
    }

    .header__nav-link::after {
        display: none;
    }

    .header__nav-link span {
        position: relative;
    }

    .header__nav-link span::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -6px;
        width: 100%;
        height: 2px;
        background-color: var(--color-white);
        transform: scaleX(0);
        transform-origin: left center;
        transition: transform 0.3s ease;
    }

    .header__nav-link:hover span::after,
    .header__nav-link.is-current span::after {
        transform: scaleX(1);
    }

    .header__nav-link.is-color span {
        color: var(--color-white);
    }

    .header__nav-link.is-current span {
        color: var(--color-white);
    }

    .header__nav-link svg {
        display: block;
        width: 20px;
    }

    .header__contact-btn {
        flex-direction: row;
        width: 74%;
        max-width: 320px;
        height: 80px;
        margin-inline: auto;
        padding: 20px;
    }
}

@media (max-width: 1024px) {
    .header__nav {
        width: 50%;
    }
}

@media (max-width: 520px) {
    .header__inner {
        padding-left: 20px;
    }

    .header__logo {
        max-width: 232px;
    }

    .header__nav {
        align-items: flex-start;
        justify-content: flex-start;
        gap: 32px;
        padding: 88px 0 40px;
        width: 100%;
    }

    .header__nav-logo {
        position: absolute;
        top: 24px;
        left: 20px;
        display: block;
        width: 100%;
        max-width: 232px;
    }

    .header__nav-logo img {
        width: 100%;
        height: auto;
    }

    .header__nav-list {
        margin-top: 0;
    }
}

/* hamburger menu */

.hamburger-menu__button {
    display: none;
    border: none;
    background: transparent;
    cursor: pointer;
}

@media (max-width: 1024px) {
    .hamburger-menu__button {
        position: relative;
        top: 0;
        right: 20px;
        z-index: 103;
        display: block;
        width: 30px;
        height: 20px;
        transition: all 0.3s;
    }

    .hamburger-menu__line,
    .hamburger-menu__line::before,
    .hamburger-menu__line::after {
        content: "";
        position: absolute;
        left: 0;
        width: 100%;
        height: 2px;
        background-color: var(--color-white);
        transition: all 0.5s ease;
    }

    .hamburger-menu__button.is-color .hamburger-menu__line,
    .hamburger-menu__button.is-color .hamburger-menu__line::before,
    .hamburger-menu__button.is-color .hamburger-menu__line::after {
        background-color: var(--color-blue01);
    }

    .hamburger-menu__line {
        top: 50%;
        transform: translateY(-50%);
    }

    .hamburger-menu__line::before {
        top: -10px;
    }

    .hamburger-menu__line::after {
        top: 10px;
    }

    .hamburger-menu__button.is-open .hamburger-menu__line {
        background-color: transparent;
    }

    .hamburger-menu__button.is-open .hamburger-menu__line::before {
        top: 0;
        transform: rotate(45deg);
    }

    .hamburger-menu__button.is-open .hamburger-menu__line::after {
        top: 0;
        transform: rotate(-45deg);
    }
}

/* overlay */

.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 101;
}

.overlay.is-open {
    opacity: 1;
    visibility: visible;
}

/* 背景固定 */

body.is-fixed {
    overflow: hidden;
}

/* fv
---------------------------------------------- */

.fv-wrapper {
    position: relative;
}

.fv {
    position: relative;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
}

.fv::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.20);
    z-index: 1;
}

.fv__hgroup {
    position: absolute;
    top: 50%;
    left: 6.25%;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 40px;
}

.fv-title {
    order: 3;
    color: var(--color-white);
    font-size: calc(32 * var(--rem));
    font-weight: bold;
    line-height: calc(56 / 32);
    letter-spacing: 0.08em;
}

.fv-text--top {
    order: 1;
    color: var(--color-white);
    font-size: calc(64 * var(--rem));
    font-weight: bold;
    line-height: calc(112 / 64);
}

.fv-text--bottom {
    order: 2;
    color: var(--color-white);
    font-size: calc(88 * var(--rem));
    font-weight: bold;
    font-family: var(--font-japanese);
}

.fv-text--bottom span {
    color: transparent;
    font-size: calc(195 * var(--rem));
    font-family: var(--font-english);
    -webkit-text-stroke: 3px var(--color-white);
    text-stroke: 3px var(--color-white);
}

/* 画像スライダー */

.fv__img-slider-box {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.fv__img-slider-item {
    position: absolute;
    inset: 0;
    opacity: 0;
    animation: fvSlider 25s infinite;
}

.fv__img-slider-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    animation: fvZoom 25s infinite;
}

/* 5枚分の時間差 */
.fv__img-slider-item:nth-child(1),
.fv__img-slider-item:nth-child(1) img {
    animation-delay: 0s;
}

.fv__img-slider-item:nth-child(2),
.fv__img-slider-item:nth-child(2) img {
    animation-delay: 5s;
}

.fv__img-slider-item:nth-child(3),
.fv__img-slider-item:nth-child(3) img {
    animation-delay: 10s;
}

.fv__img-slider-item:nth-child(4),
.fv__img-slider-item:nth-child(4) img {
    animation-delay: 15s;
}

.fv__img-slider-item:nth-child(5),
.fv__img-slider-item:nth-child(5) img {
    animation-delay: 20s;
}

/* フェードイン・表示・フェードアウト */
@keyframes fvSlider {
    0% {
        opacity: 0;
    }
    4% {
        opacity: 1;
    }
    20% {
        opacity: 1;
    }
    24% {
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}

/* ズーム */
@keyframes fvZoom {
    0% {
        transform: scale(1);
    }
    24% {
        transform: scale(1.12);
    }
    100% {
        transform: scale(1.12);
    }
}

/* 三角背景 */

.fv__triangle-bg--top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    clip-path: polygon(50% 0, 0 0, 0 90%);
    background-color: var(--color-blue02);
    opacity: 0.7;
}

.fv__triangle-bg--bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    clip-path: polygon(0 0, 0 100%, 60% 100%);
    background-color: var(--color-blue01);
    opacity: 0.7;
}


/* news box */

.fv__news-box {
    position: absolute;
    bottom: -5%;
    right: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 40px;
    width: 100%;
    max-width: 960px;
    min-height: 100px;
    padding: 25px 35px;
    background-color: var(--color-blue02);
}

.fv__news {
    color: var(--color-white);
    font-size: calc(28 * var(--rem));
    font-weight: bold;
    line-height: calc(50 / 28);
}

.fv__news-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.fv__news-date {
    color: var(--color-white);
    font-family: var(--font-english);
}

.fv__news-category {
    padding: 4px 20px 3px;
    color: var(--color-white);
    font-size: calc(14 * var(--rem));
    border: 1px solid var(--color-white);
}

.fv__news-title {
    flex: 1;
    width: 300px;
    color: var(--color-white);
    line-height: 1.5;
}

@media (max-width: 1024px) {
    .fv-title {
        font-size: calc(18 * var(--rem));
    }

    .fv-text--top {
        font-size: calc(32 * var(--rem));
    }

    .fv-text--bottom {
        font-size: calc(52 * var(--rem));
    }

    .fv-text--bottom span {
        font-size: calc(113 * var(--rem));
    }

    .fv__news-box {
        bottom: -15%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        width: 100%;
        max-width: 355px;
        min-height: 150px;
        padding: 20px;
    }

    .fv__news {
        line-height: 1;
    }

    .fv__news-content {
        gap: 20px;
    }
}

@media (max-width: 520px) {
    .fv__hgroup {
        gap: 20px;
    }

    .fv__triangle-bg--top {
        clip-path: polygon(90% 0, 0 0, 0 90%);
    }

    .fv__triangle-bg--bottom {
        clip-path: polygon(0 0, 0 100%, 90% 100%);
    }

}

/* strength
---------------------------------------------- */

.strength {
    position: relative;
    padding-block: 200px 170px;
}

.strength__inner {
    max-width: 1320px;
    margin-inline: auto;
    padding-inline: 20px;
}

.strength__hgroup {
    margin-bottom: 60px;
}

.strength__list {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    margin-bottom: 84px;
}

.strength__item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
}

.strength__item-img {
    position: relative;
    width: calc(660 / (1920 - 640) * 100%);
}

.strength__item-number {
    position: absolute;
    top: 0;
    left: 0;
    width: 100px;
    height: 100px;
    padding: 12px;
    color: var(--color-white);
    font-size: calc(28 * var(--rem));
    font-weight: bold;
    font-family: var(--font-english);
    letter-spacing: 0.08em;
    background-color: var(--color-blue02);
    clip-path: polygon(100% 0, 0 0, 0 100%);
}

.strength__item-text {
    flex: 1;
}

.strength__item-title {
    margin-bottom: 40px;
    color: var(--color-blue01);
    font-size: calc(28 * var(--rem));
    font-weight: bold;
    letter-spacing: 0.08em;
}

.strength__item-description {
    line-height: 2;
    letter-spacing: 0.08em;
}

/* 2枚目の画像が白いため背景に枠線追加 */

.u-border-blue {
    border: 1px solid var(--color-blue02);
}

@media (max-width: 1024px) {
    .strength {
        padding-block: 134px 50px;
    }

    .strength__list {
        gap: 32px;
        margin-bottom: 40px;
    }

    .strength__item {
        flex-direction: column;
        gap: 24px;
    }

    .strength__item-img {
        width: 100%;
    }

    .strength__item-title {
        margin-bottom: 8px;
        line-height: 1.5;
    }
}


/* business
---------------------------------------------- */

.business__hgroup {
    margin-bottom: 64px;
    text-align: center;
}

.business__list {
    display: flex;
    align-items: center;
    justify-content: center;
}

.business__item {
    position: relative;
}

.business__item-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 100%;
    padding-inline: 20px;
    text-align: center;
}

.business__item-hgroup {
    margin-bottom: 48px;
    text-align: center;
}

.business__item-title--ja {
    margin-bottom: 24px;
    color: var(--color-white);
    font-size: calc(32 * var(--rem));
    font-weight: bold;
    letter-spacing: 0.08em;
}

.business__item-title--en {
    color: var(--color-white);
    font-weight: bold;
    letter-spacing: 0.08em;
    opacity: 0.7;
}

.business__item-description {
    color: var(--color-white);
    line-height: 2;
    letter-spacing: 0.08em;
}

.business__item-img {
    position: relative;
    overflow: hidden;
}

.business__item-img img {
    display: block;
    position: relative;
    z-index: 0;
    transition: transform 0.5s ease;
}

.business__item-link:hover .business__item-img img {
    transform: scale(1.08);
}

.business__item-img::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    background-color: var(--color-blue01);
    opacity: 0.7;
    pointer-events: none;
    transition: background-color 0.5s ease;
}

.business__item-link:hover .business__item-img::before {
    background-color: var(--color-blue02);
}

.business__item-button {
    position: absolute;
    bottom: 5.75%;
    right: 9.5%;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: transparent;
    border: 1px solid var(--color-white);
    transform: rotate(-45deg) skew(15deg, 15deg);
}

.business__item-button svg {
    color: var(--color-white);
    transform: rotate(45deg);
}

@media (max-width: 1366px) {
    .business__item-hgroup {
        margin-bottom: 24px;
    }

    .business__item-title--ja {
        margin-bottom: 16px;
        font-size: calc(16 * var(--rem));
    }

    .business__item-title--en {
        font-size: calc(12 * var(--rem));
    }

    .business__item-description {
        font-size: calc(12 * var(--rem));
    }

    .business__item-button {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 1024px) {

    .business__hgroup {
        margin-bottom: 28px;
    }

    .business__list {
        flex-direction: column;
    }

    .business__item-title--ja {
        margin-bottom: 24px;
        font-size: calc(32 * var(--rem));
    }

    .business__item-title--en {
        font-size: calc(16 * var(--rem));
    }

    .business__item-description {
        font-size: calc(16 * var(--rem));
    }

    .business__item-button {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 520px) {
    .business__item-button {
        width: 50px;
        height: 50px;
    }
}


/* company
---------------------------------------------- */

.company {
    position: relative;
    padding-block: 150px;
}

.company__inner {
    max-width: 1320px;
    margin-inline: auto;
    padding-inline: 20px;
}

.company__content-wrapper {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: center;
    gap: 80px;
}

.company__content {
    flex: 1;
}

.company__hgroup {
    margin-bottom: 40px;
}

.company__theme {
    margin-bottom: 46px;
    color: var(--color-blue01);
    font-size: calc(24 * var(--rem));
    font-weight: bold;
    line-height: 1.5;
    letter-spacing: 0.08em;
}

.company__description {
    line-height: 2;
    letter-spacing: 0.08em;
}

.company__img {
    width: 52%;
    max-width: 660px;
}

.company__btn {
    margin-left: auto;
    justify-content: flex-end;
    width: 100%;
}

.company__triangle-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    background-color: var(--color-blue03);
    clip-path: polygon(30% 0, 0 0, 0 50%);
}

/* loop text */

.loop-text-wrap {
    width: 100%;
    overflow: hidden;
}

.loop-text-track {
    display: flex;
    width: max-content;
    animation: loopText 30s linear infinite;
}

.loop-text {
    flex-shrink: 0;
    color: var(--color-blue03);
    font-size: calc(200 * var(--rem));
    font-weight: bold;
    letter-spacing: 0.02em;
    white-space: nowrap;
    padding-right: 80px; /* テキスト同士の間隔 */
}

@keyframes loopText {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 1024px) {
    .company {
        padding-block: 64px;
    }

    .company__content-wrapper {
        flex-direction: column;
        gap: 40px;
    }

    .company__theme {
        margin-bottom: 24px;
    }

    .company__description {
        margin-bottom: 8px;
    }

    .company__btn {
        margin-left: 0;
        justify-content: flex-start;
    }

    .company__img {
        width: 100%;
        max-width: 100%;
    }

    .loop-text {
        font-size: calc(120 * var(--rem));
    }
}

@media (max-width: 520px) {
    .company__theme {
        line-height: 1.5;
    }
}

/* recruit
---------------------------------------------- */

.recruit {
    position: relative;
    padding-block: 194px 220px;
}

.recruit__wrapper {
    position: relative;
    max-width: 1920px;
    margin-inline: auto;
}

.recruit__inner {
    max-width: 1320px;
    margin-inline: auto;
    padding-inline: 20px;
}

.recruit__content {
    position: relative;
    width: 100%;
    max-width: 580px;
}

.recruit__hgroup {
    margin-bottom: 40px;
}

.recruit__theme {
    margin-bottom: 52px;
    color: var(--color-blue01);
    font-size: calc(32 * var(--rem));
    font-weight: bold;
    line-height: 1.8;
    letter-spacing: 0.08em;
}

.recruit__description {
    margin-bottom: 80px;
    line-height: 2;
    letter-spacing: 0.08em;
}

.recruit__btn {
    width: 40%;
}

.recruit__drumoo-box {
    position: absolute;
    bottom: -19%;
    right: -33%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
}

.recruit__drumoo-img {
    width: 100%;
    max-width: 85px;
}

.recruit__drumoo-text {
    color: var(--color-blue02);
    font-size: calc(72 * var(--rem));
    font-family: var(--font-baguette);
    letter-spacing: 0.08em;
    rotate: -10deg;
}

.recruit__square-bg {
    position: absolute;
    top: -80px;
    left: 0;
    z-index: -1;
    width: 70%;
    max-width: 1340px;
    min-height: 700px;
    background-color: var(--color-blue03);
}

.recruit__img {
    position: absolute;
    top: 40px;
    right: 0;
    width: 50%;
    max-width: 960px;
}

@media (max-width: 1024px) {
    .recruit {
        padding-block: 60%  220px;
    }

    .recruit__btn {
        width: 50%;
    }

    .recruit__drumoo-box {
        bottom: -30%;
        right: 0;
        left: 0;
        justify-content: flex-start;
    }

    .recruit__img {
        position: absolute;
        right: 0;
        width: 90%;
        max-width: 70%;
    }

    .recruit__square-bg {
        top: -230px;
        width: 100%;
        min-height: 950px;
    }
}

@media (max-width: 520px) {
    .recruit {
        padding-block: 90%  220px;
    }

    .recruit__theme {
        margin-bottom: 16px;
        font-size: calc(28 * var(--rem));
    }

    .recruit__description {
        margin-bottom: 40px;
    }

    .recruit__btn {
        width: 70%;
    }

    .recruit__drumoo-text {
        font-size: calc(60 * var(--rem));
    }

    .recruit__img {
        width: 90%;
        max-width: 100%;
    }
}

/* contact
---------------------------------------------- */

.contact {
    position: relative;
    padding-block: 110px 120px;
}

.contact__inner {
    max-width: 1320px;
    margin-inline: auto;
    padding-inline: 20px;
}

.contact__hgroup {
    display: flex;
    flex-direction: column-reverse;
    margin-bottom: 20px;
    text-align: center;
}

.contact-title__ja {
    color: var(--color-white);
    font-size: 36px !important;
    font-weight: bold;
    letter-spacing: 0.1em;
}

.contact-title__en {
    color: transparent;
    font-size: 140px !important;
    font-weight: bold;
    line-height: 0.5;
    letter-spacing: 0.03em;
    -webkit-text-stroke: 1px var(--color-white);
    text-stroke: 1px var(--color-white);
}

.contact__description {
    margin-bottom: 64px;
    color: var(--color-white);
    font-size: 16px !important;
    line-height: 2;
    letter-spacing: 0.08em;
    text-align: center;
}

.contact__btn-flex {
    display: flex;
    justify-content: center;
    gap: 60px;
}

.contact__btn {
    width: 48%;
    padding: 48px;
    text-align: center;
    border: 1px solid var(--color-white);
}

.contact__btn-title {
    margin-bottom: 28px;
    color: var(--color-white);
    font-size: 16px !important;
    font-weight: bold;
    letter-spacing: 0.08em;
}

.contact__btn-tell {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 20px;
}

.contact__btn-tell img {
    width: 32px;
    height: 32px;
}

.contact__btn-tell span {
    color: var(--color-white);
    font-size: 40px !important;
    font-weight: bold;
    font-family: var(--font-english);
    letter-spacing: 0.02em;
}

.contact__btn-description {
    color: var(--color-white);
    font-size: 14px !important;
    letter-spacing: 0.1em;
}

.contact__btn-mail {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: 90%;
    height: 80px;
    margin-inline: auto;
    background-color: var(--color-white);
    transition: background-color 0.5s ease;
}

.contact__btn-mail:hover {
    background-color: var(--color-blue01);
    border: 1px solid var(--color-white);
}

.contact__btn-mail svg {
    color: var(--color-blue01);
    transition: color 0.5s ease;
}

.contact__btn-mail span {
    color: var(--color-blue01);
    font-size: 18px !important;
    font-weight: bold;
    letter-spacing: 0.08em;
}

.contact__btn-mail:hover svg {
    color: var(--color-white);
}

.contact__btn-mail:hover span {
    color: var(--color-white);
}

.contact__bg-img {
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: -1;
    width: 100%;
    max-width: 1920px;
    height: 100%;
}

.contact__bg-img::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, #5593cf 0%, var(--color-blue01) 100%);
    opacity: 0.9;
}

.contact__bg-img img {
    height: 100%;
}

@media (max-width: 1024px) {

    .contact__hgroup {
        margin-bottom: 32px;
    }

    .contact-title__ja {
        font-size: 32px !important;
        line-height: 1.5;
    }

    .contact-title__en {
        font-size: 80px !important;
    }

    .contact__btn {
        width: 100%;
    }

    .contact__btn-flex {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
}

@media (max-width: 520px) {
    .contact {
        padding-block: 40px;
    }

    .contact__description {
        margin-bottom: 40px;
    }

    .contact__btn {
        padding: 46px 20px;
    }

    .contact__btn-mail {
        flex-direction: column;
        width: 100%;
    }

}


/* footer
---------------------------------------------- */

.footer {

}

.footer__wrapper--top {
    padding-block: 118px 94px;
}

.footer__inner--top {
    display: flex;
    justify-content: space-between;
    max-width: 1320px;
    margin-inline: auto;
    padding-inline: 20px;
}

.footer__logo-box {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 290px;
}

.footer__logo {
    width: 100%;
    max-width: 290px;
}

.footer__company-text {
    font-size: calc(18 * var(--rem));
    font-weight: bold;
    letter-spacing: 0.1em;
}

.footer__company-address {
    font-size: calc(16 * var(--rem));
    font-family: var(--font-japanese);
    line-height: 1.8;
    letter-spacing: 0.08em;
}

.footer__company-link {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    color: #333;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer__company-link:hover .common__btn-arrow {
    background-color: var(--color-white);
    border-color: var(--color-blue02);
}

.footer__company-link:hover .common__btn-arrow svg {
    color: var(--color-blue02);
}

.footer__company-link-text {
    font-size: calc(14 * var(--rem));
    font-family: var(--font-japanese);
    line-height: 1.8;
    letter-spacing: 0.08em;
}

.footer__company-link-text b {
    font-weight: bold;
}

.footer__nav-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 42px;
    margin-bottom: 40px;
}

.footer__nav-link {
    display: flex;
    align-items: center;
}

.footer__nav-link span {
    font-size: calc(16 * var(--rem));
    font-weight: bold;
    letter-spacing: 0.08em;
}

.footer__nav-link svg {
    display: none;
}

.footer__link-box {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
    margin-bottom: 30px;
}

.footer__link-item--external {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 320px;
    padding: 12px;
    border: 1px solid #cacaca;
}

.footer__link-item--external img {
    width: 100%;
    max-width: 55px;
}

.footer__link-item--external span {
    font-size: calc(16 * var(--rem));
    font-weight: bold;
    letter-spacing: 0.08em;
}

.footer__link-item--internal {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    width: 320px;
    height: 80px;
    padding: 12px;
    background-color: var(--color-blue01);
    transition: background-color 0.5s ease;
}

.footer__link-item--internal svg {
    color: var(--color-white);
    transition: color 0.5s ease;
}

.footer__link-item--internal span {
    color: var(--color-white);
    font-size: calc(16 * var(--rem));
    font-weight: bold;
    letter-spacing: 0.08em;
}

.footer__link-item--internal:hover {
    background-color: var(--color-white);
    border: 1px solid var(--color-blue01);
}

.footer__link-item--internal:hover svg {
    color: var(--color-blue01);
}

.footer__link-item--internal:hover span {
    color: var(--color-blue01);
}

.footer__text {
    font-size: calc(16 * var(--rem));
    letter-spacing: 0.08em;
    text-align: right;
}

.footer__wrapper--bottom {
    padding-block: 44px;
    background-color: #5593d0;
}

.footer__inner--bottom {
    display: flex;
    justify-content: space-between;
    max-width: 1320px;
    margin-inline: auto;
    padding-inline: 20px;
}

.footer__copyright {
    color: var(--color-white);
    font-size: calc(12 * var(--rem));
    font-family: var(--font-japanese);
    letter-spacing: 0.1em;
}

.footer__privacy-policy {
    color: var(--color-white);
    font-size: calc(14 * var(--rem));
    letter-spacing: 0.08em;
}

@media screen and (max-width: 1366px) {
    .footer__nav-list {
        gap: 20px;
    }

    .footer__nav-link span {
        font-size: calc(12 * var(--rem));
    }
}

@media (max-width: 1024px) {
    .footer__wrapper--top {
        padding-block: 50px 24px;
    }

    .footer__inner--top {
        flex-direction: column;
        align-items: center;
        gap: 32px;
        padding-inline: 0;
    }

    .footer__logo-box {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        width: 100%;
    }

    .footer__company-address {
        text-align: center;
    }

    .footer__nav-box {
        width: 100%;
    }

    .footer__nav-list {
        flex-wrap: nowrap;
        flex-direction: column;
        gap: 0;
        border-top: 1px solid #ccc;
    }

    .footer__nav-item {
        width: 100%;
        padding: 20px;
        border-bottom: 1px solid #ccc;
    }

    .footer__nav-link {
        justify-content: space-between;
    }

    .footer__nav-link svg {
        display: block;
        width: 20px;
    }

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

    .footer__text {
        line-height: 1.5;
        text-align: center;
    }

    .footer__inner--bottom {
        flex-direction: column-reverse;
        align-items: center;
        gap: 32px;
        padding-inline: 0;
    }

    .footer__copyright {
        line-height: 1.5;
        text-align: center;
    }
}
