@charset "UTF-8";

/* ------------------------------------------
	customize　：：　カスタマイズ用CSS
--------------------------------------------- */

/* h */
h1, h2{
    font-size: var(--h-font-size);
    font-weight: var(--h-font-weight);
    color: var(--body-font-color); /* ヘッディングの色 */
    margin-bottom: 1rem; /* 下部マージン */
    text-align: left;
}
h3, h4, h5, h6{
    font-size: 32px;
    font-weight: var(--h-font-weight);
    color: var(--body-font-color); /* ヘッディングの色 */
    margin-bottom: 1rem; /* 下部マージン */
    text-align: left;
}
.sub h2 {
    font-size: var(--sub-h-font-size);
}
.home h2{
    font-family: var(--body-en-font-family);
}
h2 span{
    font-size: var(--body-font-size);
    font-family: var(--body-font-family);
}
.en{
    font-family: var(--body-en-font-family);
}
p {
    font-size: var(--body-font-size);
    margin-bottom: 1rem; /* 段落の下部マージン */
    text-align: left;
}
@media (max-width:959px){
    body{
        font-size: var(--sp-body-font-size);
    }
    h1, h2 {
        font-size: var(--sp-h-font-size);
    }
    h3 {
        font-size: var(--sp-h3-font-size);
    }
    h4, h5, h6{
        font-size: 20px;
    }
    h2 span{
        font-size: var(--sp-body-font-size);
    }
    .sub h2 {
        font-size: var(--sub-sp-h-font-size);
    }
    p {
        font-size: var(--sp-body-font-size);
    }
}

/* ボタン */
.button {
    font-size: 20px;
    line-height: 1.5;
    position: relative;
    display: block;
    padding: 10px 20px 10px 0;
    cursor: pointer;
    transition: all 0.2s;
    max-width: 200px;
    width: 100%;
    margin: 0 0 0 auto;
}
.button::after {
    content: "";
    transition: all 0.2s;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 20px;
    background: url(../img/arrow.png)no-repeat bottom left;
    background-size: contain;
}
.button:hover{
    opacity: 1;
    transition: all 0.2s;
}
.button:hover::after {
    transition: all 0.2s;
    left: 15px;
}

.blue_button {
    width: 100%;
    max-width: 480px;
    background: #379FFF;
    padding: 10px 80px;
    color: #fff;
    display: block;
    margin: 40px auto 0;
    text-align: center;
}

@media (max-width:959px){
    .button {
        font-size: 14px;
        width: 160px;
        text-align: left;
    }

    .blue_button {
        max-width: 280px;
        padding: 10px 40px;
    }
}

/* form の設定 */

.form-group {
    margin-bottom: 20px; /* 各フィールドの間隔 */
    display: flex;
    width: 100%;
}
label {
    width: 30%;
}
input[type="text"],
input[type="tel"],
input[type="email"],
input[type="file"],
input[type="date"],
textarea {
    width: 80%;
}
.note {
    text-align: center; /* 注意書きを中央揃え */
    font-size: 0.9em; /* フォントサイズを小さく */
    color: #666; /* 色を薄く */
    margin-top: 20px;
}
.required {
    color: red; /* 必須マークの色 */
    font-size: 0.8rem;
    padding-left: 8px;
}
@media (max-width: 768px){
    .form-group{
        flex-direction: column;
    }
    label {
        width: 100%;
    }
    input[type="text"],
    input[type="tel"],
    input[type="email"],
    input[type="file"],
    input[type="date"],
    textarea {
        width: 100%;
    }

}

.fade-in {
    animation: fadeIn 3s cubic-bezier(0.33, 1, 0.68, 1) forwards;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* キービジュアルのスタイル */
.keyvisual { 
    height: 100vh; /* 画面全体の高さ */
    width: 100vw;
    display: flex;
    flex-direction: column; /* 縦並びにする*/ 
    justify-content: space-evenly;
    align-items: center; /* 横方向の中央揃え */
    text-align: center;
    color: #fff;
    position: relative;
}
.keyvisual::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.3); /* オーバーレイ効果 */
}
.keyvisual_img {
    width: 100vw;
    height: 100vh;
}
.keyvisual_img img {
    object-fit: cover;
    width: 100vw;
    height: 100vh;
}

.keyvisual-content {
    position: absolute;
    z-index: 1;
    padding: 20px;
}

.keyvisual h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #f1f1f1;
}

.keyvisual p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .keyvisual h1 {
        font-size: 1.9rem;
    }
    .keyvisual p {
        font-size: 1rem;
    }
    .scroll::before {
        height: 40px; /* 縦線の高さ調整（小さな画面の場合） */
    }
}


/* 下層ページのキービジュアルのスタイル */
.sub_keyvisual{
    margin-top: 90px;
    height: 60vh;
}
.sub_keyvisual .keyvisual_img img {
    height: 60vh;
}
.sub_keyvisual h1 {
    font-size: 2.2rem;
    line-height: 0.8;
    margin-bottom: 0;
    color: #222;
    background: rgba(255,255,255,.6);
    padding: 40px 120px;
}
.sub_keyvisual.keyvisual::before {
    display: none;
}
@media (max-width:767px){
    .sub_keyvisual h1 {
        font-size: 1.6rem;
        padding: 20px 80px;
    }
}


/* ----------index---------- */
#news h2{
    text-align: center;
}
#news .top_news_list{
    margin: 40px auto;
}
#news .top_news_list .news_item{
    text-align: left;
    justify-content: center;
    margin: 0 auto;
    max-width: 720px;
    width: 100%;
}
#news .top_news_list .news_item .news_data{
    padding: 40px;
    width: 35%;
}
#news .top_news_list .news_item .news_title{
    width: 65%;
}
@media (max-width: 1080px) {
    #news .top_news_list .news_item .news_data{
        padding: 40px;
    }
}
@media (max-width:767px){
    #news .top_news_list .news_item .news_data{
        padding: 40px 0 10px;
        width: 100%;
    }
    #news .top_news_list .news_item .news_title{
        width: 100%;
        padding: 0 0 40px;
    }

    #company .flex_2,#recruit .flex_2{
        flex-direction: column-reverse;
    }
}


/* ----------sub共通---------- */
.sec-title{
    margin-bottom: 5rem;
}
.sec-title h2, .sec-title p{
    text-align: center;
}

.sub .flex_2{
    align-items: flex-start;
    margin-bottom: 80px;
}
.sub .flex_2 img{
    max-height: 400px;
    height: 100%;
    object-fit: cover;
}
@media (max-width:767px){
    .sec-title{
        margin-bottom: 2rem;
    }
    .sub .container > div:last-child{
        flex-direction: column-reverse;
    }
    .sub .flex_2 img {
        max-height: 240px;
    }
}
/* ----------about---------- */


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

/* ----------works---------- */
.gallery.grid2{
    margin-bottom: 40px;
}
.gallery.grid2 img{
    width: 560px;
    height: 400px;
    object-fit: contain;
    background: #D9D9D9;
    margin: 0 auto;
}
.gallery.grid3 img{
    width: 360px;
    height: 360px;
    object-fit: contain;
    background: #D9D9D9;
    margin: 0 auto;
}
.flow .border_all{
    max-width: 1080px;
    width: 100%;
    border: solid 10px #379FFF;
    padding: 40px;
    align-items: center;
    margin: 80px auto;
    position: relative;
}
.flow .border_all .col{
    margin-top: 1rem;
}

.flow .border_all::after{
    content: "";
    background: #379FFF;
    height: calc(tan(60deg) * 40px / 2);
    width: 40px;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    position: absolute;
    right: 50%;
    bottom: -35%;
}
.flow .border_all:last-child:after{
    display: none;
}
@media (max-width:767px){
    .gallery.grid2 img{
        height: 240px;
    }
    .gallery.grid3{
        grid-template-columns: repeat(2, 1fr);
    }
    .gallery.grid3 img{
        height: 200px;
    }
    .flow .border_all::after {
        right: 43%;
        bottom: -24%;
    }
}

/* ----------recruit---------- */
.recruiting{
    max-width: 1080px;
    width: 100%;
    margin: 0 auto;
}
.recruiting h3{
    border-bottom: #222 1px solid;
    font-size: 28px;
}
.recruiting table{
    border-bottom: 0;
}
.recruiting table tr {
    vertical-align: baseline;
}
.recruiting table th{
    font-weight: 400;
}
.recruiting table th, .recruiting table td{
    border-bottom: 0;
}
#entry .blue_button{
    font-size: 40px;
}

@media (max-width:767px){
    .recruiting h3{
        font-size: 20px;
    }
    .recruiting table th, .recruiting table td{
        text-align: left;
    }
    #entry .blue_button{
        font-size: 24px;
    }
}

/* ----------contact---------- */
.form{
    max-width: 1080px;
    width: 100%;
    margin: 0 auto;
}
.form h3{
    border-bottom: #222 1px solid;
    font-size: 28px;
}
input[type="radio"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
input[type="radio"] {
    position: relative;
    width: 20px;
    height: 20px;
    border: 0;
    border-radius: 10%;
    vertical-align: -4px;
    background: #f1f1f1;
}
input[type="radio"]:checked{
    border: 1px solid #444;
}
input[type="radio"]:checked:before {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    border-radius: 10%;
    background: #444;
    content: '';
}

.radio_box.flex_3{
    width: 80%;
    margin-bottom: 20px;
}
button.blue_button{
    max-width: 320px;
}

@media (max-width:767px){
    .form h3{
        font-size: 20px;
    }
}
