@charset "UTF-8";

body {
    font-size: 16px;
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.8;
    font-weight: 400;
    width: 100%;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    background-color: #fff;
    color: #000;
}

body img {
    width: 100%;
}

main {
    max-width: 100%;
    text-align: center;
    margin: auto;
}

.bold {
    font-weight: bold;
}

.mb10 {
    margin-bottom: 10px;
}

.mb20 {
    margin-bottom: 20px;
}

.mb40 {
    margin-bottom: 40px;
}

.sp-item {
    display: none;
}

.pc-item2 {
    display: none;
}

@media screen and (max-width:769px) {
    .pc-item {
        display: none;
    }

    .sp-item {
        display: block;
    }
}

.btn {
    cursor: pointer;
}

.btn:hover {

    transition: 0.3s;
}

.cont-Wrap {
    max-width: 1440px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

@media screen and (max-width:1300px) {
    .cont-wrap {
        width: 90%;
    }
}

.in_txt {
    text-align: left;
}



/* ----------------------------------------------------
ハンバーガーメニュー
---------------------------------------------------- */
.hamburger {
    display: none;
}

@media screen and (max-width:769px) {
    .header_h {
        position: fixed;
        top: 0px;
        /*自分が固定したい位置(例は上から0pxの位置)*/
        right: 0px;
        background-color: #fff;

    }

    .hamburger {
        display: block;
    }
}

/* チェックボックスを非表示にする */
.drawer_hidden {
    display: none;
}

/* ハンバーガーアイコンの設置スペース */
.drawer_open {
    display: flex;
    height: 70px;
    width: 70px;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 100;
    /* 重なり順を一番上にする */
    cursor: pointer;
    background-color: #CA1C1D;
}

/* ハンバーガーメニューのアイコン */
.drawer_open span,
.drawer_open span:before,
.drawer_open span:after {
    content: '';
    display: block;
    height: 3px;
    width: 25px;
    border-radius: 3px;
    background: #fff;
    transition: 0.5s;
    position: absolute;
}

/* 三本線の一番上の棒の位置調整 */
.drawer_open span:before {
    bottom: 8px;
}

/* 三本線の一番下の棒の位置調整 */
.drawer_open span:after {
    top: 8px;
}

/* アイコンがクリックされたら真ん中の線を透明にする */
#drawer_input:checked~.drawer_open span {
    background: rgba(255, 255, 255, 0);
}

/* アイコンがクリックされたらアイコンが×印になように上下の線を回転 */
#drawer_input:checked~.drawer_open span::before {
    bottom: 0;
    transform: rotate(45deg);
}

#drawer_input:checked~.drawer_open span::after {
    top: 0;
    transform: rotate(-45deg);
}

/* メニューのデザイン*/
.nav_content {
    width: 150px;
    height: 100%;
    padding-top: 150px;
    position: fixed;
    bottom: 100%;
    right: 0;
    /* メニューを画面の外に飛ばす */
    z-index: 99;
    background: #fff;
    transition: .5s;
}

.nav_list {
    line-height: 3;
}

.nav_list li a {
    border-bottom: #715e58 solid 1pt;
}

.nav_list li a:hover {
    opacity: 0.6;
    transition: 0.5s;
}

/* アイコンがクリックされたらメニューを表示 */
#drawer_input:checked~.nav_content {
    bottom: 0;
    /* メニューを画面に入れる */
}

.nav:checked~.nav_content {
    width: 150px;
    height: 100%;
    padding-top: 150px;
    position: fixed;
    bottom: 100%;
    right: 0;
    /* メニューを画面の外に飛ばす */
    z-index: 99;
    background: #fff;
    transition: .5s;
    /* メニューを画面に入れる */
}

/* ヘッダーここまで */

/* ----------------------------------------------------
header
---------------------------------------------------- */
.header {
    max-width: 100%;
    text-align: center;
    margin: auto;
    display: flex;
    justify-content: space-around;
}

.header_r {
    width: 50%;
    height: 900px;
    text-align: right;
    margin-left: auto;
    position: relative;
}

.header_r video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0 0 0 20px;
    text-align: right;
    margin-left: auto;
}

.header_r::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: #034387;
    opacity: 0.5;
    border-radius: 0 0 0 20px;
}

.header_l {
    width: 40%;
    text-align: left;
    margin-top: 5%;
    margin-left: 5%;
}


.logo {
    width: 200px;
}

.header_l h2 span {
    font-size: 71%;
}

.header_l h2 {
    font-size: 6.7vw;
    font-weight: 900;
    margin-top: 140px;
    line-height: 1.1;
}

.header_txt {
    margin-top: 50px;
    line-height: 1.8;

}

.br2 {
    display: none;
}

@media screen and (min-width:1440px) {
    .header_l {
        margin-left: 9%;
    }

    .pc-item2 {
        display: block;
    }
}

@media screen and (max-width:769px) {
    .header {
        /* display: block; */
        flex-direction: column-reverse;
        margin-top: 6.8%;
        margin-left: 6.8%;
        margin-bottom: 50px;
    }

    .logo2 {
        margin-bottom: 20px;
        width: 100px;

    }

    .header_r {
        width: 100%;
        height: 380px;
        text-align: right;
        margin-left: auto;
    }

    .header_l {
        width: 100%;
        text-align: center;
        margin-top: 0;
        margin-left: 0;
        padding-right: 6.8%;
    }

    .header_l h2 {
        font-size: 13.5vw;
        margin-top: 50px;
        line-height: 1.1;
        text-align: left;
    }

    .header_txt {
        text-align: left;
    }
}

/* ----------------------------------------------------
business  TOP
---------------------------------------------------- */
.business {
    display: flex;
    justify-content: space-around;
    align-items: start;
    margin: 5%;
}

.business_txt {
    text-align: left;
    margin-right: auto;
}

.sub_ttl {
    display: inline-block;
    width: 105px;
}

.top h2 {
    font-size: 3vw;
    font-weight: 700;
    margin: 25px 0;
}


.business_txt,
.busi {
    width: 23%;
}

.busi {
    display: inline-block;
    margin-left: 3%;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

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

.busi_txt {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0%;
    margin: auto;
    font-size: 2.2vw;
    font-weight: 500;
    color: #fff;
    background-color: #034387;
    padding-bottom: 5px;
}

@media screen and (min-width:1440px) {
    .business {
        margin: 9%;
    }
}

@media screen and (max-width:769px) {
    .business {
        display: block;
        /* width: 95%; */
        margin: 6.8%;
    }

    .business_txt,
    .busi {
        width: 100%;
        margin: 0;
        margin-bottom: 30px;
    }

    .top h2 {
        font-size: 9vw;
        font-weight: 700;
        margin: 5% 0 5%;
    }

    .busi_txt {
        font-size: 7.2vw;
    }
}

/* ----------------------------------------------------
recruit TOP
---------------------------------------------------- */
.recruit {
    display: flex;
    justify-content: space-around;
}

.recruit_l {
    width: 50%;
    height: 620px;
    text-align: left;
    margin-right: auto;
    aspect-ratio: 4 / 3;
    position: relative;
}

.recruit_l img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0 20px 20px 0;
}

.recruit_txt {
    width: 40%;
    text-align: left;
    margin-right: 5%;
}

.recruit span {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.5;
}

.slide_im {
  position: absolute;
  inset: 0;               /* top:0; right:0; bottom:0; left:0 と同じ */
  opacity: 0;
  animation: fade 24s infinite; /* 4枚 × 3sずつ = 12秒で1周 */
}

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

/* 各スライドの開始時間をずらす */
.slide_im:nth-child(1) { animation-delay: 0s; }
.slide_im:nth-child(2) { animation-delay: 6s; }
.slide_im:nth-child(3) { animation-delay: 12s; }
.slide_im:nth-child(4) { animation-delay: 18s; }

/* フェードアニメーション */
@keyframes fade {
  0%   { opacity: 0; }
  10%  { opacity: 0; }   /* ←フェードイン長め */
  30%  { opacity: 1; }
  48%  { opacity: 0; }   /* ←フェードアウト長め */
  100% { opacity: 0; }
}
@media screen and (max-width:769px) {
    .recruit {
        flex-direction: column-reverse;
    }

    .recruit_txt {
        width: 90%;
        margin: 6.8%;
    }

    .recruit_l {
        width: 95%;
        height: 380px;
    }
}




/* ----------------------------------------------------
sec07
---------------------------------------------------- */

.sec07 {
    background-color: #444;
    color: #fff;
    padding-top: 130px;
    padding-bottom: 150px;
}

.sec07 h2 {
    font-size: 60px;
    font-weight: lighter;
    text-align: left;
}

.contact-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-box p {
    text-align: left;
}

.btn_contact2 {
    display: inline-block;
    padding: 30px 130px;
    border: #fff solid 1px;
    border-radius: 50px;
}

.btn_contact2:hover {
    color: #444;
    background-color: #fff;

}

@media screen and (max-width:769px) {
    .contact-box {
        display: block;
        text-align: left;
    }

    .btn_contact2 {
        margin-top: 60px;
        width: 100%;
        padding: 30px 0px;
        text-align: center;
    }
}

/* ============================
   CSSだけで作る無限横スクロール
   ============================ */
.slider {
    --gap: 33px;
    /* 画像の間隔 */
    --speed: 30s;
    /* 1周の速度（短いほど速い） */
    --radius: 14px;
    /* 角丸 */
    overflow: hidden;
    width: 100%;
    position: relative;
    margin-top: 70px;
    margin-bottom: 102px;
}

.slider__track {
    display: flex;
    gap: var(--gap);
    animation: slide-loop var(--speed) linear infinite;
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
    padding: 0;
    margin: 0;
    border: 0;
    /* 余白の混入防止 */
}

.slide {
    flex: 0 0 auto;
    width: 300px;
    /* ← 固定幅 */
    height: 250px;
    /* ← 固定高さ */
    border-radius: 14px;
    overflow: hidden;
}

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

/* ホバーで一時停止したい場合 */
/* .slider:hover .slider__track {
  animation-play-state: paused;
} */

/* 減速設定の人にはアニメーションを無効化（アクセシビリティ） */
@media (prefers-reduced-motion: reduce) {
    .slider__track {
        animation: none;
    }
}

/* 無限ループのキーフレーム：0%→-50%（=列2回分の半分） */
@keyframes slide-loop {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(-1 * ((300px * 5) + (var(--gap) * 4))));
    }
}


/* スマホで間隔や速度を少し最適化 */
@media (max-width: 480px) {
    .slider {
        --speed: 20s;
        margin-top: 50px;
    }

}

/* ----------------------------------------------------
  フッター
---------------------------------------------------- */

footer {
    background-color: #eeeeee;
    font-size: 14px;
    line-height: 1.7;
    padding-top: 50px;
    padding-bottom: 54px;
}

.footer_cont {
    margin-left: 5%;
    text-align: left;
    margin-right: auto;
}

.footer_cont .logo {
    width: 200px;
    margin-bottom: 20px;
}

.footer-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.arrow-up {
    padding: clamp(20px, 5vw, 30px)clamp(20px, 5vw, 30px);
    background-color: #CA1C1D;
}

.arrow-up a {
    padding: clamp(10px, 5vw, 20px)clamp(10px, 5vw, 30px);
}

.dli-arrow-up {
    display: inline-block;
    vertical-align: middle;
    color: #fff;
    line-height: 1;
    position: relative;
    width: 0.08em;
    height: 2.5em;
    background: currentColor;
}

.dli-arrow-up::before {
    content: '';
    width: 0.4em;
    height: 0.4em;
    border: 0.08em solid currentColor;
    border-left: 0;
    border-bottom: 0;
    transform: rotate(-45deg);
    transform-origin: top right;
    position: absolute;
    top: -0.05em;
    right: 50%;
    box-sizing: border-box;
}

@media screen and (min-width:1440px) {
    .footer_cont {
        margin-left: 9%;
    }
}

@media screen and (max-width:769px) {
    .footer-txt {
        margin-left: 5%;
    }

    .footer_cont {
        margin-left: 6.8%;
    }

}


/* ----------------------------------------------------
お問合せフォーム
---------------------------------------------------- */
.contact {
    padding-top: 100px;
    display: flex;
    align-items: start;
}

.contact p {
    text-align: left;
}

.l_wrap {
    width: 20%;
    height: auto;
}

.l_wrap img {
    width: 100%;
}

.r_wrap {
    width: 75%;
    margin-left: 100px;
    text-align: left;
    margin-right: auto;
}

.r_wrap h2 {
    margin-top: 100px;
    margin-bottom: 30px;
    font-size: 30px;
    font-weight: 500;
}

.contact_top p {
    line-height: 2;
}


@media screen and (max-width:1300px) {
    .r_wrap {
        margin-left: 50px;
    }
}

@media screen and (max-width:950px) {
    .contact {
        display: block;
        width: 90%;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .l_wrap {
        width: 40%;
    }

    .r_wrap {
        width: 100%;
        margin-left: 0;
    }
}


.form {
    text-align: left;
    margin-right: auto;
    margin-left: 20px;
    padding-bottom: 300px;
}

.form__catch {
    text-align: center;
    margin-top: 30px;
    font-size: 1.4rem;
}

.form__wrap {
    text-align: left;
    max-width: 790px;
    width: 90%;
    margin: 80px auto 0;
}

.form__row {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.form__row--start {
    align-items: flex-start;
}

.form__left--start {
    margin-top: 18px;
}

.form__left {
    width: 140px;
    color: #333333;
    position: relative;
}

.form__left.arbitrary::before {
    content: "任意";
    color: #fff;
    display: inline-block;
    width: 50px;
    text-align: center;
    height: 22px;
    line-height: 22px;
    background: #999999;
    font-size: 13px;
    border-radius: 0px;
    position: absolute;
    left: -65px;
    top: 50%;
    transform: translateY(-50%);
}

.form__left.must::before {
    color: #fff;
    display: inline-block;
    width: 50px;
    text-align: center;
    height: 22px;
    line-height: 22px;
    font-size: 13px;
    border-radius: 0px;
    position: absolute;
    left: -65px;
    top: 50%;
    transform: translateY(-50%);
    content: "必須";
    background: #CA1C1D;
}


.form__right {
    width: calc(100% - 260px);
    /* font-size: 1.5rem; */
}

.form__radio {
    display: flex;
    align-items: center;
    gap: 9px;
}

.form__radio--first {
    margin-bottom: 12px;
}

.form__ttl {
    /* font-size: 1.6rem; */
    /* font-weight: bold; */
}

.form__label {
    font-size: 1.5rem;
    line-height: 1em;
}

.form__input {
    height: 50px;
    background-color: #F5F5F5;
    width: 500px;
    padding: 0 1em;
    /* font-size: 1.5rem; */
}

.address {
    width: 100px;
    margin-bottom: 10px;
}

.form__textarea {
    background-color: #F5F5F5;
    width: 500px;
    padding: 1em;
    /* font-size: 1.5rem; */
}

.submit {
    text-align: center;
    margin: auto;
    padding: 20px 100px;
    color: #fff;
    background-color: #444444;
    margin-bottom: 50px;
    /* margin-left: 220px; */
}

.submit:hover {
    opacity: 0.8;
    transition: 0.3s;
}

.pri_check {
    font-size: 12px;
}

.pri {
    border-bottom: #707070 solid 1px;
}

.form_btm {
    text-align: center;
    margin: auto;
}

@media screen and (max-width:950px) {
    .form {
        width: 100%;
        margin-left: 0px;
    }

    .form__input {
        width: 100%;
    }

    .form__row {
        display: block;
    }

    .form__left {
        margin-left: 70px;
    }

    .form__right {
        width: 100%;
        margin-top: 10px;
    }

    .form__wrap {
        width: 100%;
        /* margin: 80px auto 0; */
    }

    .form__textarea {
        width: 100%;
        /* font-size: 1.5rem; */
    }

    .submit {
        width: 100%;
        padding: 50px;
        margin-left: 0px;
    }

    .address {
        width: 200px;
    }

}

/* ----------------------------------------------------
プライバシーポリシー
---------------------------------------------------- */