/* =============================================
事業紹介　archive-ourbusiness.php
============================================= */
/*セクション全体の中央寄せ*/
section .col-sm-10 {
    margin: 0 auto;
}

/*タイトルセクション*/
.title-section {
    margin: 160px 0 64px 0;
}
.title-section > .container > .row > .col-sm-10 {
    border-bottom: solid 1px var(--light-gray);
}
.article-title {
    font-size: 2.8rem;
    margin: 20px 0 28px 0;
}

/*パンくずリスト*/
.breadcrumb ol {
    list-style: none;
    margin-bottom: 0;
    padding-left: 0;
}
.breadcrumb li {
    display: inline;
}
.breadcrumb li + li::before {
    content: "";
    width: 4px;
    height: 4px;
    background-color: var(--black);
    border-radius: 100px;
    display: inline-block;
    vertical-align: middle;
    margin: 0 10px 0 4px;
}


/*サマリーセクション*/
.summary-section-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.article-thumbnail {
    width: 40%;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
}
.summary-section-content {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 28px;
}
.btn.article-contact {
    margin-right: auto;
}
@media screen and (max-width: 768px) {
    .summary-section-inner {
        flex-direction: column;
    }
    .article-thumbnail, .summary-section-content {
        width: 100%;
    }
    .article-thumbnail {
        margin-bottom: 36px;
    }
}

/*関連事業(子記事)セクション*/
.children-section > .container > .row > .col-sm-10 {
    border-top: solid 1px var(--light-gray);
    padding-top: 36px;
    margin-top: 36px;
}
.children-section-title {
    font-size: 2.4rem;
    position: relative;
    padding-left: 24px;
    margin-bottom: 28px;
}
.children-section-title::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 100px;
    background-color: var(--black);
    display: block;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translate(0,-50%);
}
.children-section-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 36px;
    gap: 36px;
}
.children-section-img {
    width: 25%;
    border: solid 1px var(--light-gray);
    border-radius: 8px;
}
.children-section-arrow {
    width: 56px;
    height: 56px;
}
.children-section-item-title {
    font-size: 2.4rem;
}
.children-section-item-content {
    flex-grow: 1;
}
@media screen and (max-width: 768px) {
    .children-section-item-title {
        font-size: 2rem;
    }
}
@media screen and (max-width: 576px) {
    .children-section-item {
        flex-direction: column;
        gap: 16px;
        padding: 24px;
    }
    .children-section-img {
        width: 100%;
    }
    .children-section-item-content {
        width: 100%;
    }
    .children-section-arrow {
        display: none;
    }
}

/* =============================================
企業情報　page-company.php
============================================= */
.content-links-section > .container > .row > .col-sm-10 {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
} 
.content-links-item {
    width: calc(50%  - 12px);
    background-color: var(--white);
    box-shadow: var(--shadow);
    display: inline-block;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 36px;
    gap: 20px;
}
.content-links-item-arrow {
    width: 56px;
    height: 56px;
}
@media screen and (max-width: 768px) {
    .content-links-section > .container > .row > .col-sm-10 {
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 12px;
    } 
    .content-links-item {
        width: 100%;
    }
}

/* =============================================
会社概要　page-company-overview.php
============================================= */
.summary-section-map {
    position: relative;
    width: 40%;
    aspect-ratio: 16/9;
}
.summary-section-map > iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
}
.summary-section-content {
    width: 50%;
}
.summary-section-table tr {
    display: flex;
    flex-direction: column;
}
.summary-section-table th,
.summary-section-table td {
    padding-bottom: 8px;
}
.summary-section-table td {
    border-bottom: solid 1px var(--light-gray);
    margin-bottom: 12px;
}
.certification-table td {
    text-align: right;
}
.certification-table td img {
    width: 20%;
    display: inline-block;
}
@media screen and (max-width: 768px) {
    .summary-section-inner {
        flex-direction: column;
    }
    .summary-section-map {
        width: 100%;
        margin-bottom: 36px;
    }
    .summary-section-content {
        width: 100%;
    }
}

/* =============================================
CSR,一般事業主行動計画（女性活躍推進法）　page.php
============================================= */
ol > li > ul,
ol > li > ul > li > ul {
    list-style: disc;
    padding-left: 1em;
}

/* =============================================
News一覧　archive.php
============================================= */
.article-list-section .article-wrapper:not(:last-of-type) {
    margin-bottom: 36px;
}
.article-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}
.article-thumbnail-wrapper {
    width: 25%;
    aspect-ratio: 16/9;
    overflow: hidden;
    flex-shrink: 0;
    border-radius: 8px;
    background-color: var(--white);
    border: solid 1px var(--light-gray);
}
.article-thumbnail-wrapper > .article-thumbnail {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 0;
}
.article-wrapper .article-content {
    flex-grow: 1;
}
.article-wrapper .article-title {
    margin: 0 0 4px 0;
    font-size: 1.4rem;
}
.article-wrapper .article-date {
    color: var(--medium-gray);
}
.article-wrapper .article-arrow-img {
    width: 56px;
    height: 56px;
}
@media screen and (max-width: 576px) {
    .article-wrapper {
        flex-direction: column;
    }
    .article-thumbnail-wrapper {
        width: 100%;
    }
    .article-content {
        width: 100%;
    }
    .article-wrapper .article-arrow-img {
        display: none;
    }

}

/*ページネーション*/
.pagination-wrapper {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 64px;
}
.pagination-wrapper .page-numbers {
    width: 48px;
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 999px;
    background-color: var(--white);
    box-shadow: var(--shadow);
}

/* =============================================
採用情報　archive.php
============================================= */
.careers-archive-section .section-title {
    font-size: 2.4rem;
    margin-bottom: 20px;
}
.section-content-list-heading {
    font-size: 1.8rem;
    margin-bottom: 16px;

}
.section-content-list-items {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}
.section-content-list-items:not(:first-of-type) {
    margin-top: 24px;
}
.section-content-list-item {
    width: calc(50% - 12px);
    border-radius: 12px;
    background-color: var(--white);
    box-shadow: var(--shadow);
    padding: 36px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.article-arrow-img {
    width: 56px;
    height: 56px;
}
@media screen and (max-width: 576px) {
    .section-content-list-items {
        flex-direction: column;
    }
    .section-content-list-item {
        width: 100%;
        gap: 12px;
    }
}

/* =============================================
社員紹介　archive.php
============================================= */
.profile-content-list-inner:not(:last-of-type) {
    margin-bottom: 64px;
}
.profile-content-list-inner .section-title {
    font-size: 2.4rem;
    margin-bottom: 16px;
}
.profile-content-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}
.profile-content-item-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.profile-content-item-text {
    padding: 12px;
    background-color: var(--white);
    border-radius: 0 8px 8px 0;
}
.profile-content-items {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.profile-content-item {
    width: calc((100% - 36px) /4);
}
@media screen and (max-width: 768px) {
    .profile-content-items {
        gap: 24px 12px;
    }
    .profile-content-item {
        width: calc((100% - 12px) /2);
    }
}

/* =============================================
事業紹介　archive.php
============================================= */
.ourbusiness-content-item {
    display: flex;
    justify-content: space-between;
    gap: 48px;
}
.ourbusiness-content-item:not(:last-of-type) {
    margin-bottom: 64px;
}
.ourbusiness-content-text {
    width: calc(55% - 24px);
}
.ourbusiness-content-text p {
    margin: 28px 0;
}
.ourbusiness-content-img {
    width: calc(45% - 24px);
}
.ourbusiness-content-img img {
    border-radius: 8px;
    aspect-ratio: 16/9;
    object-fit: contain;
}
@media screen and (max-width: 768px) {
    .ourbusiness-content-item {
        flex-direction: column-reverse;
        gap: 36px;
    }
    .ourbusiness-content-text {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .ourbusiness-content-text p {
        margin: 20px 0 28px 0;
    }
    .ourbusiness-content-img {
        width: 100%;
    }
}


/* =============================================
News記事　single.php
============================================= */
body.single-news .title-section .artice-title {
    margin-bottom: 20px;
}
body.single-news .title-section .article-date {
    color: var(--medium-light-gray);
    margin-bottom: 30px;
}
.article-section img {
    max-width: 100%;
    width: 100%;
    height: auto;
    object-fit: contain;
}
.article-section .article-thumbnail {
    margin-bottom: 36px;
}
.article-section h1,
.article-section h2,
.article-section h3,
.article-section h4,
.article-section h5 {
    font-size: 1.8rem;
}
.article-section p a {
    text-decoration: underline;
}

/* =============================================
採用情報　single.php
============================================= */
.careers-table tr {
    display: inline-block;
    margin-bottom: 64px;
}
.careers-table tr th {
    width: 20%;
    font-size: 1.8rem;
    vertical-align: top;
    margin-right: 24px;
}
.careers-table tr th td {
    width: calc(80% - 24px);
}
.careers-table p {
    margin-bottom: 1em;
}
.careers-table ul {
    list-style: disc;
    padding-left: 1.2em;
}

.careers-sub-table tr {
    width: 100%;
    border-top: solid 1px var(--light-gray);
    padding: 12px 0;
    display: flex;
    align-items: top;
    margin-bottom: 0;
}
.careers-sub-table tr th {
    font-size: 1.4rem;
    width: 25%;
    display: inline-block;
}
.careers-sub-table tr td {
    font-size: 1.4rem;
    width: 75%;
    display: inline-block;
}
@media screen and (max-width: 576px) {
    .careers-table tr {
        display: flex;
        flex-direction: column;
    }
    .careers-table tr th {
        width: 100%;
        margin-bottom: 16px;
    }
    .careers-sub-table tr {
        flex-direction: row;
        gap: 12px;
    }
    .careers-sub-table th {
        width: 25%!important;
    }
}


/* =============================================
お問い合わせ　page-contact.php
============================================= */
.contact-section .col-sm-8 {
    margin: 0 auto;
}
.profile-content-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.profile-content-img {
    width: calc(30% - 24px);
    height: auto;
    object-fit: contain;
    border-radius: 8px;
}
.profile-content-text {
    width: calc(70% - 24px);
}
.profile-content-heading {
    margin-bottom: 48px;
}
.profile-name-jp {
    font-size: 2.4rem;
    margin-bottom: 8px;
}
.profile-name-en {
    color: var(--medium-light-gray);
}
.profile-content-details tr {
    margin-bottom: 36px;
    display: inline-block;
}
.profile-content-details th,
.profile-content-details td {
    width: 100%;
    display: inline-block;
}
.profile-content-details th::before {
    content: "";
    width: 4px;
    height: 4px;
    background-color: var(--black);
    border-radius: 100px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
}
.wpcf7-not-valid-tip {
    text-align: left;
}
@media screen and (max-width: 768px) {
    .profile-content-inner {
        flex-direction: column;
        gap: 48px;
    }
    .profile-content-img,
    .profile-content-text {
        width: 100%;
    }
}


.c-form__item p {
    margin-bottom: 20px;
}
label {
    width: 100%;
    margin-bottom: 6px;
}
.wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}
button, input, optgroup, select, textarea {
    display: block;
    width: 100%;
    padding: 8px;
    color: var(--black);
    border-radius: 4px;
    border: solid 1px var(--medium-light-gray);
}
.wpcf7-list-item {
    margin: 0!important;
    margin-top: 4px!important;
    margin-bottom: 4px!important;
    margin-right: 12px!important;
}
.wpcf7-list-item label {
    display: flex;
    align-items: center;
}
input[type="radio"] {
    width: auto;
    margin-right: 6px;
}
.c-form__checkbox-label,
.wpcf7-form-control .wpcf7-acceptance,
.wpcf7-list-item {
    width: 100%;
}
input[type="checkbox"] {
    width: auto;
    margin-right: 6px;
}
span.wpcf7-form-control-wrap {
    text-align: center;
}
span.wpcf7-form-control.wpcf7-acceptance {
    width: auto;
    display: inline-block;
}
.c-form__item.c-form__item--center.read-service p,
.c-form__item.c-form__item--center.read-press p,
.c-form__item.c-form__item--center.read-careers p,
.c-form__item.c-form__item--center.read-others p {
    margin-bottom: 0;
    margin-top: 24px;
}
.c-form__item.read-this {
    padding: 24px;
    background-color: var(--light-gray);
    height: 240px;
    overflow-y: scroll;
    border-radius: 6px;
}
.c-form__item.read-this ul.list-disc {
    list-style-type: disc;
    padding-left: 3em;
}
.c-form__item.read-this p {
    margin-bottom: 8px;
}
.c-form__submit {
    margin-top: 48px;
}
.c-form__submit button {
    font-size: 18px!important;
}

/* =============================================
プライバシーポリシー　セキュリティ・品質ポリシー　archive.php
============================================= */
.policy-wrapper .policy-headline {
    margin-top: 1em;
}
.policy-wrapper .list-disc {
    padding-left: 1.5em;
}
.policy-wrapper a {
    text-decoration: underline;
}
.policy-wrapper p{
    margin-bottom: 1em;
}
.policy-heading {
    margin-bottom: 1em;
    font-size: 1.8rem;
}
.policy-inner:not(:last-of-type) {
    margin-bottom: 48px;
}

/* =============================================
404　404.php
============================================= */
.alert-section a{
    margin-top: 36px;
}
@media screen and (max-width: 768px) {
    .alert-section .col-sm-10 {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}