@charset "UTF-8";
html{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 62.5%;
}
header{
    padding: 3rem 5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: white;
}
header a:hover{
    transform: translateY(-4px);
    transition: 0.3s;
}
header a{
    margin-bottom: 1rem;
}
header a img{
    width: 80%
}

/* ------------ナビゲーション--------------- */

@media screen and (min-width: 768px) and (max-width: 900px){
    nav{
        width: 90%;
    }
    nav ul li a{
        padding: 1.3rem 1vw;
    }
}
@media screen and (max-width: 768px){
    nav{
        display: none;
    }
}
nav ul{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}
nav ul li{
    border-left: #D1302B 2px solid;
}
nav ul li:last-child{
    border-right: #D1302B 2px solid;
}
nav ul li.ddmenu-container ul.ddmenu-list li{
    border-left: none;
    border-right: none;
}
nav ul li a{
    padding: 1.3rem 2vw;
    font-size: 1.2vw;
    color: #D1302B;
    font-weight: bold;
}
nav ul li a:hover{
    color: #FF9191;
}
li.ddmenu-container {
    position: relative;
}

li.ddmenu-container ul.ddmenu-list {
    display: none;
}

li.ddmenu-container:hover ul.ddmenu-list {
    position: absolute;
    z-index: 9999;
    display: block;
    width: 20vw;
    top: 3rem;
}
li.ddmenu-container:hover ul.ddmenu-list li {
    background-color: white;
    opacity: 90%;
    border: #D1302B 1px solid;
    padding: 2rem 2rem;
}

/* ------------ハンバーガーメニュー--------------- */

@media screen and (min-width: 768px){
    .sp-menu{
        display: none !important;
    }
}
.sp-menu{
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
    width: 4.5rem;
}
.sp-menu__box span,
.sp-menu__box span::before,
.sp-menu__box span::after{
    content: "";
    display: block;
    height: 5px;
    width: 3.5rem;
    border-radius: 3px;
    background-color: #D1302B;
    position: absolute;
}
.sp-menu__box span::before{
    bottom: 10px;
}
.sp-menu__box span::after{
    top: 10px;
}
#sp-menu__check{
    display: none;
}
#sp-menu__check:checked ~ .sp-menu__box span{
    background: rgba(255, 255, 255, 0);
}
#sp-menu__check:checked ~ .sp-menu__box span::before{
    bottom: 0;
    transform: rotate(45deg);
    z-index: 9999;
    background-color: white;
}
#sp-menu__check:checked ~ .sp-menu__box span::after{
    top: 0;
    transform: rotate(-45deg);
    z-index: 9999;
    background-color: white;
}
.sp-menu__content{
    position: fixed;
    overflow-x: hidden;
    overflow-y: scroll;
    height: 100%;
    width: 100%;
    top: 0;
    left: 150%;
    transition: all 0.5s;
    z-index: 90;
    background-image: url(../img/hm_bg.png);
}
.sp-menu__list{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 13vw;
}
.sp-menu__item{
    border-bottom: white 2px solid;
    width: 42rem;
}
.sp-menu__link{
    text-align: center;
    display: block;
    width: 100%;
    font-size: 4.2vw;
    color: white;
    text-decoration: none;
    padding: 3vh 0;
}
#sp-menu__check:checked ~ .sp-menu__content{
    left: 0;
}
li.ddmenu-container ul.ddmenu-list__sp {
    display: none;
}
li.ddmenu-container:hover ul.ddmenu-list__sp {
    position: absolute;
    z-index: 9999;
    display: block;
    width: 56vw;
    top: 80px;
    left: 65%;
    transform: translateX(-50%);
}
li.ddmenu-container:hover a.ddmenu-ttl {
    padding-bottom: 230px;
}
li.ddmenu-container:hover ul.ddmenu-list__sp li {
    list-style-type: disc;
    color: white;
    font-size: 3vw;
    padding: 2rem 2rem;
}
ul.ddmenu-list__sp li:hover{
    transform: translateY(-3px);
    transition: 0.3s;
}

/* --------ページタイトル----------- */
h1.top-ttl{
    font-size: 3vw;
    color: white;
    font-weight: bold;
    background-color: #D1302B;
    width: 100%;
    padding: 4.2rem 0rem;
    text-align: center;
}
@media screen and (max-width: 768px){
    h1.top-ttl{
        font-size: 4vw;
        color: white;
        background-color: #D1302B;
        width: 100%;
        padding: 2rem 0rem;
        text-align: center;
    }
}

/* --------募集要項----------- */
.recruit-list{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin: 60px 13% 131px;
    text-align: center;
}
.re-list{
    width: 25vw;
    margin-right: 20px;
}
.re-list img{
    width: 100%;
    margin-bottom: 21px;
}
.re-list p{
    font-size: 1.3vw;
    margin-bottom: 10px;
    color: #707070;
    text-align: left;
    font-weight: bold;
}
.recruit-list li:last-child{
    margin-right: 0px;
}
.recruit-list li a{
    font-size: 1.1vw;
    color: #D1302B;
    font-weight: bold;
}
.recruit-list li a:hover{
    color: #FF9191;
}
@media screen and (max-width: 768px){
    .re-list p{
        font-size: 1.4rem;
        margin-bottom: 20px;
    }
    .recruit-list{
        display: block;
        margin: 60px 6% 70px;
    }
    .re-list{
        width: 100%;
    }
    .recruit-list li a{
        display: block;
        font-size: 1.4rem;
        text-align: right;
        margin-bottom: 35px;
    }
}

/* --------その他の事業----------- */
.others-container{
    margin: 0 7%;
    margin-bottom: 90px;
    padding-bottom: 70px;
    border-top: 1px solid #5D5D5D;
    border-bottom: 1px solid #5D5D5D;
}
p.sub-ttl{
    font-size: 2.4rem;
    color: #D12727;
    margin: 92px 0px 20px;
    font-weight: bold;
}
.flex-btn{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.flex-btn a{
    font-size: 1.75vw;
    color: white;
    font-weight: bold;
    background-color: #D1302B;
}
a.flex-btn-sales{
    padding: 25px 15%;
}
a.flex-btn-callcenter{
    padding: 25px 12%;
}
a.flex-btn-ses{
    padding: 25px 16%;
}
.flex-btn a:hover{
    background-color: #FF9191;
}
@media screen and (max-width: 768px){
    .others-container{
        margin: 30px 3.3% 0 3.3%;
        margin-bottom: 70px;
    }
    p.sub-ttl{
        font-size: 1.4rem;
        margin: 35px 0px 20px;
    }
    .flex-btn{
        justify-content: center;
        flex-wrap: wrap;
    }
    .flex-btn a{
        font-size: 3.7vw;
        text-align: center;
        padding-top: 16px;
        padding-bottom: 16px;
        width: 100%;
    }
    a.flex-btn-sales,a.flex-btn-callcenter{
        margin-top: 20px;
    }
}

/* --------採用情報----------- */
.recruit-container{
    text-align: center;
    background-color: white;
    padding-bottom: 6rem;
}
@media screen and (max-width: 768px){
    .recruit-container{
        padding-bottom: 4rem;
    }
}

h3{
    text-align: center;
    font-size: 4.2rem;
    color: #D1302B;
    font-weight: bold;
    padding-top: 12rem;
}
p.recruit-text{
    font-size: 1.2vw;
    color: #707070;
    font-weight: bold;
    padding: 4.5rem 0rem;
    line-height: 1.7;
}
.btn-recruit{
    padding-top: 2.3rem;
    margin-bottom: 6rem;
}
a.btn-recruit-text{
    font-size: 2.4rem;
    color: white;
    font-weight: bold;
    padding: 2.3rem 7.7rem;
    background-color: #D1302B;
    border-radius: 3.6rem;
}
.btn-recruit-text:hover{
    background-color: #FF9191;
}

@media screen and (min-width: 450px) and (max-width:768px){
    h3{
    font-size: 5vw;
    padding-top: 8rem;
}
p.recruit-text{
    font-size: 2.5vw;
    line-height: 1.5;
}
.btn-recruit{
    padding-top: 2.2rem;
}
a.btn-recruit-text{
    font-size: 3vw;
    padding: 3vw 8vw;
}
}

@media screen and (max-width:450px){
    h3{
    font-size: 5vw;
    padding-top: 4rem;
}
p.recruit-text{
    font-size: 2.5vw;
    padding: 2rem 0rem;
}
.btn-recruit{
    padding-top: 2.2rem;
    margin-bottom: 0rem;
}
a.btn-recruit-text{
    font-size: 3vw;
    padding: 4vw 10vw;
}
}
/* -----------CONTACT---------- */
.contact-container{
    position: relative;
}
.contact-container img{
    width: 100%;
}
.contact-text-container{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}
h4{
    text-align: center;
    font-size: 3vw;
    color: white;
    font-weight: bold;
    text-shadow: 0 5px 10px #5D5D5D;
}
.btn-contact{
    border: white 2px solid;
    border-radius: 36px;
    box-shadow: 0 5px 10px #5D5D5D;
}
.btn-contact-text{
    display: block;
    text-align: center;
    font-size: 1.5vw;
    color: white;
    padding: 1.5vw 3vw;
}
.btn-contact:hover{
    transform: translateY(3px);
    transition: 0.2s;
}
.contact-text{
    text-align: center;
    font-size: 1.2vw;
    font-weight: bold;
    color: white;
    padding: 3rem 0rem;
    line-height: 1.7;
    text-shadow: 0 5px 10px #5D5D5D;
}
@media screen and (max-width: 768px){
    .image-pc{
        display: none;
    }
    h4{
        font-size: 4vw;
    }
    .btn-contact-text{
        font-size: 2vw;
        padding: 3vw 4vw;
    }
}
@media screen and (min-width: 768px){
    .image-sp{
        display: none;
    }
}
@media screen and (min-width: 450px) and (max-width: 768px){
    .contact-text{
        font-size: 2.3vw;
        padding: 2rem 0rem;
    }
}
@media screen and (max-width: 450px){
    .contact-text{
        font-size: 2.5vw;
        padding: 1rem 0rem;
    }
}

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

footer{
    padding: 4.5rem 0rem 8.5rem 0rem;
    text-align: center;
    background-color: white;
}
footer ul{
    display: flex;
    justify-content: space-evenly;
    align-items: flex-start;
}
footer ul li{
    text-align: left;
}
footer ul li p{
    font-size: 1.4rem;
    color: #D1302B;
    margin-bottom: 2rem;
    font-weight: bold;
}
footer ul li a{
    font-size: 1.4rem;
    color: #D1302B;
    display: block;
    margin-bottom: 3rem;
}
footer ul li a:hover{
    color: #FF9191;
}
.footer-top{
    font-weight: bold;
}
.footer-link{
    margin-bottom: 1rem;
}
.top-text{
    padding-top: 1rem;
}
@media screen and (max-width: 768px){
    footer{
    text-align: left;
    padding: 0rem;
    }
    footer ul{
        display: block;
    }
    footer ul li{
        text-align: left;
    }
    .footer-link{
        margin-bottom: 0;
    }
}
@media screen and (min-width: 450px) and (max-width: 768px){
    footer ul li p{
        font-size: 2vw;
        color: white;
        margin-bottom: 0;
        background-color: #D1302B;
        padding: 2.5rem 0rem 2.5rem 2.5rem;
    }
    footer ul li a{
        font-size: 2vw;
        color: #707070;
        margin-bottom: 0;
        background-color: white;
        padding: 2.5rem 0rem 2.5rem 2.5rem;
        border-bottom: #707070 1px solid;
        font-weight: bold;
    }
}
@media screen and (max-width: 450px){
    footer ul li p{
        font-size: 3vw;
        color: white;
        margin-bottom: 0;
        background-color: #D1302B;
        padding: 1rem 0rem 1rem 2.5rem;
    }
    footer ul li a{
        font-size: 3vw;
        color: #707070;
        margin-bottom: 0;
        background-color: white;
        padding: 0rem 0rem 1rem 2.5rem;
        border-bottom: #707070 1px solid;
        font-weight: bold;
    }
}

/* -----------copyright---------- */
.copyright{
    font-size: 1.2rem;
    color: white;
    text-align: center;
    background-color: #D1302B;
    padding: 1.4rem;
}
@media screen and (max-width: 768px){
    .copyright{
        display: none;
    }
}