/********************************

　　共通

********************************/

li {
    list-style: none;
}

a,
img {
    display: block;
}

img {
    object-fit: cover;
    object-position: top;
}

hgroup {
    margin-bottom: 40px;
}

hgroup h2 {
    font-size: clamp(28px, 2.5vw, 40px);
    margin-bottom: 10px;
    font-weight: 500;
}

hgroup p {
    font-size: clamp(18px, 2.5vw, 24px);
    color: #224BA7;
}

section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 100px 0 50px;
}

#fv {
    max-width: none;
    padding: 0;
}

#fv img {
    object-position: top;
}



/********************************

　　ページナビゲーション

********************************/

.page-nav {
    max-width: 1100px;
    margin: 100px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.page-nav li {
    list-style: none;
}

.page-nav li a {
    display: flex;
    align-items: center;
    gap: 10px;
}

.page-nav li a::after {
    display: block;
    content: "";
    width: 30px;
    height: auto;
    aspect-ratio: 1 / 1;
    background-image: url(../down.svg);
    background-repeat: no-repeat;
    background-size: contain;
    position: relative;
    top: 0;
    transition: ease-in-out 0.3s;
}

.page-nav li a:hover::after {
    top: 6px;
}



/********************************

　　酒井組について

********************************/

#about hgroup {
    margin-bottom: 40px;
}

#about hgroup h2 {
    font-size: clamp(28px, 2.5vw, 40px);
    margin-bottom: 10px;
    font-weight: 500;
}

#about hgroup p {
    font-size: clamp(18px, 2.5vw, 24px);
    color: #224BA7;
}

#about .contents {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
}

#about .contents img {
    aspect-ratio: 3 / 2;
    max-width: 450px;
    background-color: #ededed;
    width: 100%;
    margin: 0 auto;
}

#about .contents p {
    font-size: clamp(16px, 2.5vw, 18px);
    line-height: 1.8;
    margin: 30px 0;
}

@media (min-width:600px) {
    #about .contents img {
        flex-basis: 45%;
    }

    #about .contents p {
        flex-basis: 50%;
    }
}




/********************************

　　募集職種について

********************************/

#job .contents img {
    aspect-ratio: 1 / 1;
    width: 100%;
    max-width: 310px;
    border-radius: 100vh;
    background-color: #ededed;
    margin: 30px auto;
}

#job .contents .name-box {
    max-width: 310px;
    margin: 0 auto;
}

#job .contents .name-box h3 {
    font-size: clamp(28px, 2.5vw, 40px);
}

#job .contents .name-box .limit {
    margin: 30px 0;
}

#job .contents .name-box p{
    line-height: 1.4;
}

@media (min-width:600px) {
    #job {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    #job hgroup {
        flex-basis: 40%;
    }

    #job .contents {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        align-items: center;
        flex-basis: 60%;
    }

    #job .contents img {
        width: auto;
        flex-basis: 45%;
        margin: auto;
    }

    #job .contents .name-box {
        flex-basis: 50%;
        max-width: auto;
        margin: 0;
    }
}




/********************************

　　元工場勤めの酒井社長から皆さんへ

********************************/

hgroup.center {
    text-align: center;
}

hgroup.center p {
    margin: 20px 0;
}

#greeting {
    max-width: 1000px;
    margin: 0 auto;
    padding: 100px 0 20px;
}

#greeting > img {
    max-width: 720px;
    aspect-ratio: 3 / 2;
    width: 100%;
    height: auto;
    margin: 50px auto;
    background-color: #ededed;
}

#greeting .bottom {
    margin-top: 50px;
}

#greeting .bottom .man {
    max-width: 450px;
    aspect-ratio: 3 /2;
    width: 100%;
    background-color: #ededed;
    margin: 0 auto;
}

#greeting .bottom p {
    text-align: center;
    margin-top: 30px;
    line-height: 2;
}

@media (min-width:600px) {
    #greeting > img {
        aspect-ratio: 36 / 19;
    }
}




/********************************

　　未経験から土木へ来た社員の声

********************************/

#interview .top {
    margin: 50px auto;
}

#interview .top img {
    max-width: 720px;
    aspect-ratio: 3 / 2;
    width: 100%;
    height: auto;
    background-color: #ededed;
}

#interview .top .name-wr {
    font-size: clamp(20px, 2.5vw, 24px);
    font-weight: 600;
    text-align: center;
    flex-basis: 40%;
}

#interview .top .name-wr .name {
    font-size: clamp(26px, 2.5vw, 32px);
    line-height: 2;
}

#greeting .separator-list li,
#interview .separator-list li {
    margin: 50px auto 100px;
}

#greeting .separator-list li h3,
#interview .separator-list li h3 {
    font-size: clamp(20px, 2.5vw, 24px);
    color: #224BA7;
    display: flex;
    align-items: center;
    gap: 20px;
}

#greeting .separator-list li h3::before,
#interview .separator-list li h3::before {
    content: "";
    display: block;
    width: 70px;
    height: 2px;
    background: #224BA7;
}

#greeting .separator-list li p,
#interview .separator-list li p {
    max-width: 720px;
    margin: 50px auto;
    line-height: 1.6;
}

#interview .man {
    margin-top: 50px;
    max-width: 450px;
    aspect-ratio: 3 /2;
    width: 100%;
    background-color: #ededed;
    margin: 0 auto;
}

@media (min-width:600px) {
    #interview .top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin: auto;
    }

    #interview .top img {
        aspect-ratio: 36 / 19;
    }
}





/********************************

　　募集要項

********************************/

#recruit .recruit-list {
    flex-basis: 70%;
}

#recruit .recruit-list div {
    padding: 30px 10px;
    border-bottom: 1px solid #BAC9E9;
}

#recruit .recruit-list div dt {
    font-size: 20px;
    color: #224BA7;
    margin-bottom: 30px;
}

#recruit .recruit-list div dd {
    line-height: 1.4;
}


@media (min-width:750px) {
    #recruit {
        display: flex;
        justify-content: space-between;
    }

    #recruit .recruit-list div {
        display: flex;
        gap: 50px;
    }

    #recruit .recruit-list div dt {
        flex-basis: 15%;
        margin-bottom: 0;
    }

    #recruit .recruit-list div dd {
        flex-basis: 75%;
    }
}

/* 全体初期調整 */  
#form {
    width: 96%;
    max-width: 800px;
    margin: 60px auto;
}

#form dl {
    width: 96%;
    max-width: 960px;
    margin: 30px auto;
}

#form dt::before {
    content: '';
    width: 10px;
    height: 10px;
    margin-right: 16px;
    background: #224BA7;
    border-radius: 50%;
    display: inline-block;
}

#form dt {
  font-weight: 800;
  letter-spacing: 0.02rem; 
}

#form dt,dd {
    font-size: 1.2rem;
    width: 100%;
}

#form dt {
    margin: 20px 16px;
    display: flex;
    justify-content: flex-start;
    vertical-align: middle;
    align-items: center;
}

#form dd {
    margin-inline-start: 20px;
    margin-bottom: 24px;
    text-align: left;
}

input,
textarea {
    width: 96%;
    height: 60px;
    border: 1px solid #224BA7;
    border-radius: 10px;
    font-size: 1.2rem;
    padding: 10px;
}

#form input[type="checkbox"], input[type="radio"] {
  display: inline-block;
  height: fit-content;
  width: fit-content;
  border: 0px;
  margin: 0px 10px;
}

#form dl div {
  margin: 50px auto;
}

textarea {
    height: 120px;
}

input:invalid {
    background: rgba(255, 192, 203, 0.51);
}

.contact-btn {
    font-size: 20px;
    position: relative;
    color: #fff;
    background: #735A48;
    border: none;
    text-align: center;
    width: 260px;
    margin: auto;
    padding-top: 16px;
    padding-bottom: 16px;
    display: block;
    border-radius: 10px;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25), 0px 4px 4px rgba(0, 0, 0, 0.25);
    cursor: pointer;
}

form:invalid .contact-btn {
    font-size: 20px;
    text-align: center;
    width: 260px;
    background: gray;
    cursor: default;
    border-radius: 10px;
}

.contact-btn::after {
    content: '';
    display: inline-block;
    position: absolute;
    inset: 0;
    margin: auto 0 auto auto;
    width: 30px;
    height: 30px;
    background-repeat: no-repeat;
    background-position: center;
}

.l_required {
    background: #FF0000;
    color: #fff;
    font-size: 14px;
    padding: 4px;
    border-radius: 6px;
    margin-left: 20px;
}

.content {
  max-width: 800px;
  padding: 8px;
  margin: 50px auto;
  text-align: center;
}

.content h3 {
  margin: 30px auto;
  color: #AE934F;
  letter-spacing: 2px;
  font-size: 1.4rem;
}

.confirm-content {
  max-width: 800px;
  width: 100%;
  margin: 160px auto 80px;
}

.confirm-content h1 {
  text-align: center;
  margin: 30px auto;
}

.confirm-content dl {
  width: 96%;
  margin: 30px auto;
}

.confirm-content dl div {
  margin: 10px auto;
  border-bottom: #735A48 1px solid;
}

.confirm-content dl div dt {
  display: block;
}

.confirm-content dl div dd {
  margin: 24px 36px;
}

.confirm-content .btn_wrapper {
  max-width: 800px;
  padding: 8px;
  margin: 20px auto;
  text-align: center;
}

@media (min-width:800px) {
  .confirm-content .btn_wrapper {
    display: flex;
    align-items: center;
    vertical-align: middle;
    justify-content: center;
  }

  .confirm-content dl div {
    display: flex;
    vertical-align: middle;
    justify-content: center;
    align-items: center;
  }

  .confirm-content dl div dt {
    display: block;
    width: 35%;
  }
  
  .confirm-content dl div dd {
    margin: 0;
    width: 60%;
  }
}

.confirm-content .btn_wrapper button {
  width: 280px;
  padding: 20px 0;
  color: #fff;
  margin: 20px;
  font-size: 1rem;
  letter-spacing: 1px;
  font-weight: bold;
  background-color: #747474;
  border-radius: 10px;
}

.confirm-content .btn_wrapper .submit_btn {
  background-color: #000;
}

.submit-content {
  max-width: 800px;
  width: 100%;
  margin: 160px auto 80px;
}

.submit-content h1 {
  text-align: center;
  margin: 30px auto;
}

.submit-content div {
  max-width: 800px;
  margin: 30px auto;
  text-align: center;
}

.submit-content div p {
  text-align: center;
}

.submit-content a {
  display: block;
  width: 280px;
  padding: 20px 0;
  color: #fff;
  margin: 40px auto;
  font-size: 1rem;
  letter-spacing: 1px;
  font-weight: bold;
  background-color: #AE934F;
  border-radius: 10px;
}