@charset "utf-8";

body{
    margin: 0;
    padding: 0;
    font-size: 16px;
    line-height: 1.6;
    color: #270407;
    font-family: 'Noto Sans JP', sans-serif;
}
ul{
    list-style-type: none;
    margin: 0;
    padding: 0;
}
a {
    text-decoration: none;
}
.logo {
    width: 15%;
    margin: 30px auto;
}
.h-nave ul {
    display: flex;
    justify-content: center;
}
.h-nave {
    background: linear-gradient(rgba(0,0,0,1)0%,rgb(45,5,8)100%)
}
.h-nave ul li a {
    color: #ffffff;
    display: block;
    padding: 12px 60px;
    font-size: 18px;
}
.h-nave ul li {
    border-left: 1px dotted #f1ecec;
}
.h-nave ul li:last-child {
    border-right: 1px dotted #f1ecec;
}
.main {
    background-image: url(../image/main.jpg);
    height: 78vh;
    background-size: cover;
    /* ↑　cssで画像を表示する際は高さを入れる */

    /* aspect-ratio: 1/1;
    width: 100%;
     ↑　画像の比率を切り抜かず、正方形にしたりするときに使う */ 
}
.main-inner {
    width: 1000px;
    max-width: 90%;
    margin: 0 auto;
    padding-top: 120px;
}
.main-text {
    color: #ffffff;
    font-size: 28px;
    letter-spacing: 0.1em;
    padding: 10px 20px;
    background: #00000090;
    display: inline-block;
    margin: 10px 0;
}
.lead-box {
    width: 1000px;
    margin: 0 auto 80px;
}
h2 {
    text-align: center;
    font-size: 30px;
    margin-top: 80px;
}
h3 {
    text-align: center;
    color: #ed1c24;
    font-size: 12px;
    letter-spacing: 0.2em;
    padding-bottom: 30px;
}
.lead-box p {
    padding-bottom: 15px;
}
.center-box {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    width: 1000px;
    margin: 0 auto 80px;
}
.center-box img {
    width: 100%;
    object-fit: cover;
    aspect-ratio: 5/3;
}
.caption {
    background: linear-gradient(rgba(0,0,0,1)0%,rgb(45,5,8)100%);
    color: #ffffff;
    padding: 0.8em;
}
img {
    vertical-align:top;
}
.caption p {
    line-height: 2em;
    font-size: 90%;
}
.caption p:first-child {
    font-size: 110%;
}
.recruit-box {
    background-image: url(../image/recruit.jpg);
    height: 90vh;
    background-size: cover;
    padding-top: 80px;
}
.recruit-box h2 {
    margin-top: 0;
}
.recruit-btn a {
    display: block;
    text-align: center;
    background-color: rgb(235, 230, 230, 0.9);
    color: #270407;
    padding: 0.7em 1.5em;
    width: 200px;
    margin: 0 auto;
    font-size: 105%;
}
.recruit-btn a:after {
   content:">";
   margin-left: 15%;
}
.recruit-list {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    margin-top: 30px;
}
.recruit-list li {
    background-size:cover;
    height: 250px;
}
.nagare {
    background-image: url(../image/job.jpg);  
}
.kaisha {
    background-image: url(../image/company.jpg);
}
.jinbutuzo {
    background-image: url(../image/portrait.jpg);
}
.syoukai {
    background-image: url(../image/employee.jpg);
}
.recruit-list li a {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    color: #ffffff;
    background-color: #33333340;
}
.recruit-list li a:hover {
    background-color: #00000080;
}
footer {
    padding-top: 30px;
    background-color: rgb(235, 230, 230);
}
.footer-box {
    width: 1000px;
    margin: 0 auto;
}
.f-logo {
    width: 15%;
    margin-top: 30px;
    margin-bottom: 30px;
}
.f-nav ul {
    display: flex;
}
.f-nav ul li a {
    color: #333;
    padding: 0 20px;
    border-left: 1px solid #333;
    font-size: 1.5rem;

}
.f-nav ul li:last-child {
    border-right: 1px solid #333;
}
.copy-right-link {
    display: flex;
    justify-content: end;
    font-size: 14px;
}
.copy-right-link a {
    color: #270407;
}
.copy-right-link li {
    padding: 35px 10px 10px;
}
.ft-bg {
   background: linear-gradient(rgba(0,0,0,1)0%,rgb(45,5,8)100%);
    color: #ffffff;
    text-align: center;
    font-size: 13px;
    padding: 5px 0;
}
.res-menu {
    display: none;
}
@media(max-width:600px) {
.main {
    height: 65vh;
}
.lead-box, .center-box, .footer-box {
    width: auto;
    margin-left: 15px;
    margin-right: 15px;
}
.lead-box, .center-box {
    margin-bottom: 50px;
}
    .res-menu {
    display: block;
    position: fixed;
    top: 0px;
    right: 0px;
    background-color: #ffffff;
    color: #270407;
    padding: 15px;
    font-size: 3rem;
    z-index: 50;
}
.res-menu i:first-child {
    display: block;
    width: 25px;
    text-align: center;
}
.res-menu i:last-child {
    display: none;
}
.show {
   top: 95px;
   transition-duration: 1s;

}
.show2 i:first-child {
    display: none;
}
.show2 i:last-child {
    display: block;
    width: 25px;
    text-align: center;
}
nav {
    position: fixed;
    top: -1000px;
    transition-duration: 1s;
    width: 100%;
    height: 100vh;
    background-color: #ffffff;
    z-index: 50;
    left: 15px;
    width: 92%;

}
.h-nave {
    background: none;
}
.h-nave ul {
    margin: 0;
    display: block;
    width: 100%;
    background: linear-gradient(rgba(0, 0, 0, 1) 0%, rgb(45, 5, 8) 100%);
}
.h-nave ul li {
    border-left: none;
    border-right: none;
    border-bottom: 1px dotted #ffffff;
}
.h-nave ul li a {
    padding: 15px 0 15px 80px;
    font-size: 1.8rem;
    position: relative;
}
.h-nave ul li a::after {
    content: ">";
    font-size: 1.5rem;
    position: absolute;
    top: 38%;
    right: 20%;
}
.h-nave ul li:nth-child(-n + 3)  {
    border-right: none; 
}
.logo {
    width: 35%;
    margin: 20px auto;
}
.main-text {
    font-size: 23px;
}
.center-box {
    grid-template-columns: 1fr;
}
.recruit-box {
    background-position: center center;
}
.recruit-btn a {
    font-size: 110%;
}
.recruit-list {
    grid-template-columns: 1fr 1fr;
}
.recruit-list li{
    height: 200px;
}
.f-logo {
    width: 40%;
}
.f-nav ul {
    display: block;
}
.f-nav ul li a {
    font-size: 1.7rem;
    border-left: none;
    display: block;
    padding: 10px 30px;
}
.f-nav ul li {
    border-bottom: 1px solid #333;
}
.f-nav ul li:last-child {
    border-right: none;
}
.copy-right-link li {
    padding: 35px 5px 10px;
}
.copy-right-link {
    font-size: 12px;
}

}