@charset "UTF-8";
/* ログイン時の管理バーと固定ヘッダーの重なりを解消 */
body.logged-in #masthead, /* 一般的なヘッダーID */
body.logged-in .site-header, /* 一般的なヘッダークラス */
body.logged-in header { /* ヘッダー要素そのもの */
    top: 32px !important; /* 通常の管理バーの高さ */
}

/* スマホ（画面幅782px未満）では管理バーの高さが46pxになるため調整 */
@media screen and (max-width: 782px) {
    body.logged-in #masthead,
    body.logged-in .site-header,
    body.logged-in header {
        top: 46px !important;
    }
}


.p-nav__contents__item {
    font-size: 18px;
    padding: 34px 0;
}

.p-nav__contents {
    gap: 70px;
}

.p-nav__contents__item--fill{
    padding: 34px 44px;
}

.p-logo {
    width: 100px;
}

.p-mv__contents--top{
    background-size: cover;
    background-position: center;
    font-family: "Noto Serif JP", serif;
    margin-top: 92px;
    padding: 640px 0 90px 40px;
    text-align: left;
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url(../../assets/images/top/mv_1.png);
}

.p-mv__contents__text {
    font-family: "Noto Serif JP", serif;
    font-size: 42px;

}

.p-mv__contents__readtext {
    font-family: "Noto Serif JP", serif;
    font-size: 30px;
}

.p-contents__link {
    font-weight: 500;
}

.p-top-news__text {
    font-weight: 500;
}

.p-sns {
    font-weight: 500;
}

.p-company__read__info {
    max-width: 715px;
    width: auto;
}

.p-company__read__img{
    aspect-ratio: 1 / 1.379;
    width: 264px;
    height: 100%;
    background: rgba(120, 12, 20, 0.7);
    margin-left: 55px;
    position: relative;
    margin: 20px;
}

.p-company__read__img img{
    position: absolute;
    top: 40px;
    right: 30px;
}

.p-company__read__info__text {
    font-size: 22px;
    font-weight: 600;
    line-height: 150%;
    margin-bottom: 1em;
}

.p-company__read {
    flex-flow: row;
    justify-content: center;
    gap: 0 5.54%;
    margin: auto;
}

.p-company__read__info__text--serif {
    font-family: "Inter", sans-serif;
}

.p-company__overview {
    background-color: #ececec;
}

.p-company__map iframe {
    width: 100%;
}

.u-image--max {
    max-width: 98%;
    width: clamp(200px, 80vw, 490px);
}

.l-header {
    position: fixed;
    top:0;
    background-color: #fff;
    z-index: 9999;
}

.p-title {
    margin-top:92px;
    padding: 160px 46px 60px 46px;
}

.p-title__en {
    font-size: 48px;
}

.p-title__ja {
     font-size: 48px;
}

.p-mv__contents--inner{
    max-width: 1100px;
    margin: 0 auto;
}

.p-sns {
    display: inline-flex;
    font-size: 24px;
    color: #793c3d;
    align-items: center;
    gap: 8px;
}

.contact-confirm_ttl {
    text-align: center;
    padding-bottom: 10px;
}

h2.p-mv__contents.p-mv__contents--top {
    animation: fade-in 3s;
    animation-fill-mode: forwards;
}

@keyframes fade-in {
  from {
    color: rgba(255,255,255,0);
  }
  to {
    color: rgba(255,255,255,1);
  }
}

.c-title {
    font-size: 38px;
}

.c-title__subtitle {
    font-weight: 500;
}

.p-business__box__title {
    background-color: #cecece;
    color: #990c14;
    font-size: 24px;
}

.p-business__box__text{
    font-size: 1.8rem;
    color: #990c14;
}

.p-business__read {
    text-align: center;
    gap: 20px 0;
}

.p-business__read__text {
    font-size: 24px;
    font-weight: 600;
}

.p-business__row {
    justify-content: space-evenly;
    gap:unset;
}

.p-business__box__img {
    display: flex;
    width: 100%;
    max-width: 1100px;
    justify-content: space-evenly;
}

.p-recruit {
    max-width: 1100px;
}
.p-recruit__profile__qualification {
    display: flex;
}
.p-recruit__profile__info {
    width: 100%;
}
.p-recruit__profile__qa {
    width: 100%;
    font-size: 16px;
}
.p-recruit__profile__qa__box {
    width: 58%;
}
.p-recruit__profile__qa__img {
    width: auto;
}

.p-recruit__profile__info__text__qualification {
    word-break: auto-phrase;
}

.p-recruit__table {
    font-size: 18px;
    font-weight: 500;
}
.p-recruit__table__header {
    color: #793c3d;
    font-weight: 500;
}
.p-recruit__table__header span {
    color: #000;
}
.p-recruit__photo {
    width: 100%;
}
.p-recruit__photo ul{
    display: flex;
    width: 100%;
    padding-bottom: 20px;
    justify-content: space-between;
    text-align: center;
}
.p-recruit__photo ul li{
    padding: 0 10px;
}
.p-recruit__photo ul li img{
    width: 100%;
    max-width: unset;
}

.u-image--half{
    max-width: 48%;
}

.u-text--white {
    font-weight: 500;
}

.u-image--max.u-image--unset{
    max-width: 100%;
    width: unset;
    margin: 20px;
}

.p-news p {
    font-size: 18px;
    font-weight: 500;
}
.p-news-detail__info__date {
    font-weight: 500;
}
.p-news__item__date {
    font-weight: 500;
}
.p-news-detail__contents {
    font-size: 18px;
    font-weight: 500;
}
.p-news__item__text {
    font-size: 18px;
    font-weight: 500;
}
.c-form__input {
    font-weight: 500;
}
.c-form__textarea {
    font-weight: 500;
}
.c-form__label {
    font-weight:500;
    font-size: clamp(12px, 1.6vw, 1.4rem);
}
.u-flex--center {
    font-weight: 600;
}
.p-recruit__title {
    padding-bottom: 50px;
}
.sp-br {
    display: none;
}

.p-contact__table__header {
    min-width: 350px;
}


@media screen and (max-width: 1291px) {
    .p-logo {
    transform: translateY(-7px);
}
    .l-header {
        position: unset;
        height: 80px;
    }
    .p-nav__hamburger {
        right: 20px;
    }
    .p-logo img {
        vertical-align: middle;
        margin: 15px 0;
        width: 70px;
    }
    .p-title{
        margin-top: 0;
    }

    .p-title__ja {
        font-size: 30px;
    }
    .p-title__en {
        font-size: 30px;
    }

    .p-mv {
        margin-bottom: 50px;
    }
    .p-mv__contents--top {
        margin-top: 0;
        padding: 320px 0px 50px 10px;
        text-align: left;
        background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url(../../assets/images/top/mv_1.png);
    }
    .p-mv__contents__text {
        font-size: 24px;
    }
    .p-mv__contents__readtext {
        font-size: 17px;
        word-break: auto-phrase;
    }
    .p-contents__box--small {
        margin: auto;
    }
    .p-top-news__item::after {
        width: 100%;
    }
    .p-contents__box.p-contents__box--large img {
        margin: auto;
    }
    .p-contents__box--fit.add {
        text-align: center;
    }

    .p-company__read {
        max-width: 834px;
    }
    .p-company__read__info__text {
        font-size: 18px;
    }
    .p-company__map iframe {
        height: 300px;
    }
    .p-mv__contents--inner{
        max-width: 80%;     
    }
    .p-mv__contents--bottom{
        padding: 120px 10px 120px 10px;
        background-position: center;
        object-fit: cover;
    }
    .p-recruit__profile__qa__box {
        width:100%;
    }
    .p-recruit__profile__info__text__name {
        font-size: 18px;
    }
    .p-recruit__profile__info__text__qualification {
        font-size: 18px;
    }
    .p-recruit__profile__info__img{
        text-align: center;
    }
    .p-address {
        width: 84%;
    }
    .p-business__box__text {
        font-size: 18px;
    }
    .p-business__read {
        gap: 14px 0;
    }
    .p-contents__box--img {
        text-align: center;
    }
    .p-recruit__profile__qa__img {
        text-align: center;
        margin: auto;
    }
    .p-recruit__profile__qa {
        margin: auto;
    }
    .p-sns {
        max-width: 600px;
    }
    .p-news-detail__contents {
        font-size: 16px;
    }
    .p-news__item__text {
        font-size: 16px;
    }
    .p-news p {
        font-size: 16px;
    }
    .c-title {
        font-size: 24px;
    }
    .p-business__read__text {
        font-size: 18px;
        word-break: auto-phrase;
    }
    label.c-form__label {
        font-size: clamp(12px, 1.6vw, 1.4rem);
    }
    .p-contact__table {
        font-size: clamp(14px, 1.6vw, 1.4rem);
    }
}

@media screen and (max-width: 1024px) {
    .p-company__read {
        flex-flow: column;
        margin: auto;
    }

    .p-company__read__img {
        box-shadow: 40px -50px 0px 0px rgba(120, 12, 20, 0.7);
        margin: 50px auto 50px;
        background-color: transparent;
        transform: translateX(-20px);
    }

    .u-image--max.u-image--unset {
        max-width: 100%;
        width: unset;
        margin: 0 1px;
    }

    .p-company__read__img img{
        position: static;
    }

    .p-company__read__info{
        margin: 20px auto;
    }
    
    .p-mv__contents--top {
        margin-top: unset;
    }

    .p-title {
        margin-top: unset;
    }

    .p-contact__button__row {
        margin-right: -72px;
    }
    .p-company__map {
        max-width: 640px;
        margin: auto;

    }
    .p-recruit__profile__info__text__name {
        font-size: 16px;
    }
    .p-recruit__profile__info__text__qualification {
        font-size: 16px;
        min-width: 120px;
    }
    .p-recruit__profile__qa {
        width: 100%;
    }
}

@media screen and (max-width: 819px) {
     .p-business__box__img {
        display:block;
        text-align: center;

    }
     .u-image--half {
        width: 80%;
        padding-bottom: 20px;
        text-align: center;
        max-width: 460px;
     }
     .u-image--max {
        max-width: 80%;
     }
     .p-contact__table__data {
        padding: 15px 10px;
     }
     .sp-br {
        display: inline;
     }
     .c-button--large {
        font-size:20px;
     }
}