@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ 大平鉄工株式会社様用カスタマイズ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/


/* レスポンシブ -------- */
@media screen and (max-width: 599px) {
    .sp-none {
        display: none;
    }

    .pc-none {
        display: inline-block;
    }
}

@media screen and (min-width: 600px) {
    .sp-none {
        display: inline-block;
    }

    .pc-none {
        display: none;
    }

}

/* リセット */
address {
    font-style: normal;
}

.swell-block-columns__inner {
    width: 100%;
}


body {}

/* グラデーション */
:root {
    --gradient-blue: linear-gradient(90deg, #004b8e 0%, #24abdc 100%);
}

.gradient-blue {
    background: var(--gradient-blue) !important;
}

.gradient-text {
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    color: transparent;
}

/* フォント */
:root {
    --font-en: "Barlow Semi Condensed", sans-serif;
}

.font_serif {
    font-family: "Noto sans JP", serif;
}

.font-en {
    font-optical-sizing: auto;
}

/* 段落の両端揃え */
p {
    text-align: justify;
}

/* アニメーション */
.fadein {
    opacity: 0;
    transform: translateY(30px);
    transition-property: transform, opacity;
    transition-duration: 1.5s;
    transition-delay: 0s;
}

.fadein.is-active {
    opacity: 1;
    transform: translateY(0);
}

/* ヘッダーのコンテンツ幅解除 */
header .l-container,
.l-fixHeader__inner {
    max-width: unset;
}

/* キャッチフレーズ用 */
.l-header__bar {
    color: #fff;
    background: #004b8e;
}

.single-voice .p-articleThumb {
    aspect-ratio: 1/1;
    max-width: 200px;
}

.w-beforeFooter {
    padding: 6em 0;
    margin: 0;
    background-color: #fff;
    box-shadow: 0 4px 3px 3px rgba(131, 131, 131, 0.05);
    position: relative;
    z-index: 10;
}

.c-gnav {
    font-weight: 700;
}

/* ヘッダーのhover style */
.c-gnav>li:hover>a {
    background: #004b8e0f;
}

.c-gnav li:last-child:hover {
    background-color: #24abdc;
    color: #fff;
    transition: all 0.3s ease;
}

/* ヘッダーの中のお問い合わせのスタイル変更 */

.l-header__inner,
.l-fixHeader__inner {
    padding-right: 0;
}

.c-gnav li:last-child {
    background-color: #1d2088;
    color: #fff;
}

.c-gnav>.menu-item>a {
    padding: 0em 2em;
}

/* メールアイコンのスタイル */
.c-gnav li:last-child a span::before {
    content: "";
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    margin-right: 0.5em;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='24px' viewBox='0 0 24 24' width='24px' fill='%23FFFFFF'%3E%3Cpath d='M0 0h24v24H0V0z' fill='none'/%3E%3Cpath d='M22 6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6zm-2 0l-8 5-8-5h16zm0 12H4V8l8 5 8-5v10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    vertical-align: middle;
}

.c-gnav li:last-child a span.ttl {
    display: flex;
    align-items: center;
}


/* インスタグラムバナー */
figure.wp-block-image.size-full.banner_instagram.u-lb-off {
    position: fixed;
    bottom: 20%;
    right: 0;
    z-index: 9;
    width: 50px;
}

/* ヘッダーnaviサブタイトル */
/* span.c-smallNavTitle.desc{
    font-family: var(--font-en);
    color: #004b8e;
    font-weight: 700;
} */

/* フッター前の余白の削除 */
.l-content {
    margin-bottom: 8px;
}

.l-footer__foot {
    background-color: #1d2088;
}

/* フッターの|の削除 */
.l-footer__nav li a {
    border: none !important;
}

/* フッター１、フッター２に入れた場合のスタイル */
footer .l-container {
    max-width: 1400px;
    padding: 0 2em;
    column-gap: 1em;
}

.l-footer__widgetArea {
    color: #fff;
    background: #8a8a8a;
    padding-top: 5em;
    padding-bottom: 5em;
}

.w-footer__box:first-child {
    flex: unset;
    width: fit-content;
}

.w-footer__box:nth-child(2) {
    flex: unset;
    width: max(20%, 200px);
}

.w-footer__box:nth-child(3) {
    margin-left: auto;
    min-width: 580px;
}

.w-footer {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

/* フッター１ */

.footer_logo {
    width: clamp(200px, 50vw, 260px);
}

.footer_contents h3 {
    font-size: 18px;
    font-weight: normal;
}

.footer_address {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5em;
    align-items: center;
    margin-bottom: 1.5em;
}

.footer_contents address {
    display: inline-block;
    font-size: 14px;
}

.footer_contents .googlemap {
    margin-left: 0.5em;
    font-size: 10px;
    border: 1px solid #fff;
    padding: 0.5em 1em;
}

.footer_contents .tel {
    font-size: clamp(30px, 4vw, 40px) !important;
    font-weight: 700;
    color: #fff;
}

.footer_contents .tel span {
    color: #fff;
    font-size: 16px;
    display: block;

}

/* フッター２ フッターnavi */
.widget_nav_menu,
.menu-footer-menu-container {
    height: 100%;
}

ul#menu-footer-menu {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    justify-content: space-between;
    margin-right: 0;
    margin-left: auto;
    width: fit-content;
    flex-wrap: wrap;
    height: 100%;
    align-items: stretch;
    align-content: space-between;
    gap: 3em 0;
}

ul#menu-footer-menu li:last-child {
    /* grid２行６列の２行目の全列を使う */
    grid-column: 1 / span 6;
    text-align: right;
}

ul#menu-footer-menu li:last-child a {
    font-size: 12px !important;
    text-decoration: underline;
}

.c-gnav .sub-menu a:before,
.c-listMenu a:before {
    content: unset;
}

/* >をずらしたことによる余白調整 */
footer .c-listMenu a {
    padding: 0em;
    border-bottom: unset !important;
    font-size: 16px;
}

.c-listMenu a:hover {
    filter: brightness(90%);
}

footer .c-listMenu a:hover {
    background-color: unset !important;
}

/* swellのデフォルトスタイルのリセット */
.c-listMenu a:hover {
    padding-left: 0em;
    padding-right: 0em;
}


/* l-footer__nav */
.common_contact_col1 {
    position: relative;
}

.common_contact_col1::before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 100%;
    background: #004b8e;
    margin-right: 0.5em;
    margin-left: -48px;
    position: absolute;
}

@media screen and (min-width: 1108px) {
    .alignwide.common_contact {
        left: 0px !important;
        width: unset !important;
        padding: 80px 0 80px;
    }
}

@media screen and (min-width: 960px) and (max-width: 1199px) {
    .common_contact_col1::before {
        margin-left: -32px;
    }
}

@media screen and (min-width: 600px) and (max-width: 959px) {

    /* この範囲のスクリーンサイズに適用されるCSS */
    .l-container.w-footer.-col2 {
        display: flex;
        justify-content: space-between;
    }

    .common_contact_col1::before {
        margin-left: -4vw;
    }
}

@media screen and (max-width: 660px) {

    .w-footer {
        justify-content: center;
    }


    .w-footer__box {
        width: 100%;
    }


    .l-container.w-footer.-col2 {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    figure.wp-block-image.size-full.footer_logo.u-lb-off {
        margin: 0 auto;
    }

    .footer_logo {
        width: clamp(200px, 80vw, 260px);
    }

    .w .footer_contents p {
        display: inline-block;
        padding-left: 1em;
    }

    ul#menu-footer-menu {
        grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
        gap: 1em;
        margin-inline: auto;
    }

    ul#menu-footer-menu li:last-child {
        /* grid4行2列の２行目の全列を使う */
        grid-column: 1 / span 2;
        text-align: left;
    }
}

/* パンくずリスト */

.p-breadcrumb {
    margin-top: 1em;
}

/* コンテンツヘッダー（下層） */
.l-topTitleArea {
    background-image: var(--gradient-blue) !important;
    min-height: 400px;
}

.l-topTitleArea img {
    /* display: none; */
}

/* @media screen and (max-width: 599px) {
    .l-footer {
        padding-bottom: clamp(110px, 10vw, 300px);
    }
} */

.swell-block-fullWide.pc-py-80.sp-py-60.has-bg-img.alignfull.footer_contact.lazyloaded {
    padding-top: 4em !important;
}

.swell-block-bannerLink.banner_float {
    position: fixed;
    bottom: 10px;
    right: 10px;
    z-index: 9;
    width: clamp(160px, 20vw, 270px);
}

/* .p-blogParts.post_content {
    width: fit-content;
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
} */

img.wp-image-87 {
    height: 100%;
    object-fit: contain;
    object-position: left;
    width: 100%;
}

img.wp-image-87 {
    height: 100%;
    object-fit: contain;
    object-position: left;
    width: 100%;
}

figure.wp-block-image.size-full.mv_copy.u-lb-off {
    height: 100%;
    width: 100%;
}

/* トップページ */

.p-mainVisual__textLayer.l-parent.l-container.u-ta-c {
    width: 100vw;
    height: 100vh;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
}

.p-mainVisual__textLayer {
    align-items: center;
}

.mv_copy {
    font-size: clamp(24px, 3.2vw, 62px);
}

.mv_subcopy {
    font-size: clamp(24px, 2.5vw, 48px);
    font-family: var(--font-serif);
}

.mv_subcopy span {
    font-size: clamp(16px, 1.5vw, 30px);
}

.mv_en {
    font-family: var(--font-serif);
    font-size: clamp(12px, 0.8vw, 16px);
}

.p-mainVisual__textLayer {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
    left: 0;
    position: absolute;
    top: 0;
    /* -webkit-transform: translateX(0%); */
    transform: translateX(0%);
    width: 100%;
    z-index: 3;
}

/* セクション */
.container {
    max-width: 1000px;
    margin-inline: auto;
    padding: clamp(80px, 10vw, 160px) 20px !important;
}

.max-800 {
    max-width: 800px;
    margin-inline: auto !important;
}

/* 見出し */
.post_content h2.top_head2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: clamp(27px, 3.3vw, 40px);
    line-height: 1;
    font-weight: 700;
    margin-bottom: 1em;
    width: fit-content;
    text-align: center;
    margin-inline: auto;
    color: #fff;
}

h2.top_head2 small.mininote {
    display: inline-flex;
    font-size: clamp(12px, 1.3vw, 18px);
    font-weight: 400;
    color: #fff;
}

/* TOP SERVICE */
.service {
    max-width: 1000px;
    margin-inline: auto;
}

/* カードの中の見出し */
.service_title {
    font-size: 1.5em;
    font-weight: 700;
    margin: 0 0 1em !important;
}

.service_column {
    width: 100%;
}

.service_column .swell-block-columns__inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-left: calc(var(--swl-clmn-mrgn--x) * -1);
    margin-top: 0 !important;
    align-items: center;
    gap: 2em;
    margin-left: 0;
}

.service_column .swell-block-columns__inner .swell-block-column {
    margin: 0 !important;
    background-color: #ffffffe8;
}

/* ----------------------------------------
Facilities
---------------------------------------- */
.c-scrollHint.sp_ {
    color: #fff;
}

.facilities th {
    background: #181b6ee6 !important;
    padding: 1em !important;
    color: #fff !important;
    border: 1px solid #004c8ebc;
}

/* tableについている線の打ち消し */
[data-table-scrollable]:not(.is-style-double) table,
[data-theadfix]:not(.is-style-double) table {
    border-bottom: unset;
    border-right: unset;
}

.facilities :where([data-cell1-fixed] tbody, [data-cell1-fixed] tfoot, [data-cell1-fixed].is-style-simple thead) tr>:first-child:not(.-no1) {
    background-color: #ffffffb0 !important;
}

.facilities .wp-block-table td {
    background: #ffffffb0;
    padding: 1em !important;
}

/* ----------------------------------------
COMPANY
---------------------------------------- */
.company {
    max-width: 800px;
    margin-inline: auto;
}

.company_contents dl .swell-block-dl__dt {
    border-bottom: #a0a0a0 solid 1px;
    padding: 1em 0;
}

.company_table th {
    border-bottom: #a0a0a0 solid 1px;
}

.company_table th:first-child {
    border-top: #a0a0a0 solid 1px;
}

.company_contents dl dd.swell-block-dl__dd {
    padding: 1em 0;
    border-bottom: #a0a0a0 solid 1px;
}


/* ----------------------------------------
ACCESS
---------------------------------------- */

.access iframe {
    display: block;
    max-width: unset;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    width: 100vw;
}

/* ----------------------------------------
RECRUIT 
---------------------------------------- */
.recruit {
    max-width: 100vw !important;
    margin-inline: calc(50% - 50vw) !important;
    /* padding: 50px 20px; */
    background-color: #181b6e96;
    padding: 1px 20px 150px;
    margin-top: 210px;
}

.recruit_inner {
    max-width: 960px;
    margin-inline: auto !important;
}

.post_content div.recruit .recruit_contents {
    max-width: 960px !important;
    margin-inline: auto !important;
}


.recruit .c-tabList {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px;
}

.recruit .c-tabList__item button {
    padding: 0.5em 1.5em;
}

.recruit .tabgroup {
    width: fit-content;
    margin-inline: auto;
}

.recruit .is-style-default .c-tabBody {
    border: unset !important;
    margin-top: -1px;
    padding: 0;
    margin-top: 1em;
}

.recruit .is-style-default>.c-tabList .c-tabList__button {
    background-color: #ffffff;
    opacity: 1;
    padding-bottom: 1em;
    padding-top: 1em;
}

.is-style-default>.c-tabList .c-tabList__button:hover,
.is-style-default>.c-tabList .c-tabList__button[aria-selected=true] {
    background-color: #009fb0;
    color: var(--color_content_bg);
    opacity: 1;
}

.post_content div.recruit .company_contents {
    max-width: 800px !important;
    margin-inline: auto !important;
}

/* COMPANY */

.company_table th,
.company_table td {
    padding: 1.5em 0.5em;
}

.company_contents dl {
    margin-bottom: 0;
}

.is-style-float>.swell-block-dl__dt:after {
    content: unset;
}

@media screen and (max-width: 599px) {

    .recruit_contents .is-style-float.swell-block-dl,
    .company_contents .is-style-float.swell-block-dl {
        flex-direction: column;
    }

    .company_contents dl .swell-block-dl__dt,
    .recruit_contents dl .swell-block-dl__dt {
        width: 100% !important;
        border-bottom: unset;
        padding: 1em 0 0em;
    }

    .company_contents .swell-block-dl__dd,
    .recruit_contents .swell-block-dl__dd {
        width: 100% !important;

    }
}

@media not all and (min-width: 960px) {

    .sp_block_ table,
    .sp_block_ tbody,
    .sp_block_ td,
    .sp_block_ tfoot,
    .sp_block_ th,
    .sp_block_ thead,
    .sp_block_ tr,
    table.sp_block_ {
        display: table-row-group !important;
        width: unset !important;
    }
}

body:not(:has(.home)) .l-content {
    padding-bottom: 6em;
}

body:has(.home) .l-content {
    margin-bottom: 0;
}

/* CONTACT */

.contact {
    max-width: 800px;
    margin-inline: auto;
}

img.l-topTitleArea__img.c-filterLayer__img.u-obf-cover.lazyautosizes.ls-is-cached.lazyloaded {
    object-position: top;
}

.post_content thead th,
.transfer .post_content thead th,
.post_content th {
    background-color: #00000000;
}

figure.wp-block-table.transfer.is-all-centered {
    max-width: 450px;
}

.form-wrapper {
    margin: 0 auto;
}

.form-wrapper input[type=text],
.form-wrapper input[type=tel],
.form-wrapper input[type=email],
.form-wrapper textarea {
    border-radius: 0;
    border: 1px solid #333;
    width: 100%;
}

.form-box,
.thanks .form-box {
    width: 100%;
}

.form-box dl,
.thanks .form-box dl {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    column-gap: 2vw;
}

@media (max-width: 768px) {

    .form-box dl,
    .thanks .form-box dl {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;
        column-gap: 1em;
    }
}

.form-box dt,
.thanks .form-box dt {
    font-weight: 700;
    text-align: left;
    padding-bottom: 2em;
    color: #fff;
}

@media (max-width: 768px) {

    .form-box dt,
    .thanks .form-box dt {
        padding-bottom: 0.5em;
    }
}

.form-box dt .message,
.thanks .form-box dt .message {
    padding-top: 10px;
    vertical-align: top;
}

.form-box dt .required,
.thanks .form-box dt .required {
    display: inline-block;
}

.form-box dt .required:after,
.thanks .form-box dt .required:after {
    content: "必須";
    display: inline-block;
    padding-left: 0.5em;
    color: #ffffff;
    background-color: #009fb0;
    font-size: 12px;
    padding: 0.2em 0.5em;
    border-radius: 4px;
    margin-left: 0.5em;
}

.form-box dt {
    flex: 1;
}

.form-box dd,
.thanks .form-box dd {
    width: 63.993%;
    border-radius: 0;
    padding-bottom: 1em;
}

@media (max-width: 768px) {

    .form-box dd,
    .thanks .form-box dd {
        width: 100%;
    }
}

/* ラジオボタンの左の余白削除 */
.wpcf7-list-item {
    margin: 0 1em 0 0 !important;
    color: #fff;
}

.form-box dd P,
.thanks .form-box dd P {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.accept-wrap p {
    padding-top: 3em;
    text-align: center;
    color: #fff !important;
}

.accept-wrap a {
    color: #fff !important;
    text-decoration: underline;
}

input.wpcf7-form-control.wpcf7-submit.has-spinner.submit-btn {
    display: grid;
    margin: 2em auto;
    padding: 1em 2em;
    width: 250px;
    background-color: #1d2088;
    color: #fff;
}

.wpcf7-form-control-wrap,
.thanks .wpcf7-form-control-wrap {
    display: inline-block;
}

.wpcf7-form-control-wrap .wpcf7-acceptance,
.thanks .wpcf7-form-control-wrap .wpcf7-acceptance {
    display: inline-block;
}

.wpcf7-form-control-wrap .wpcf7-acceptance .wpcf7-list-item,
.thanks .wpcf7-form-control-wrap .wpcf7-acceptance .wpcf7-list-item {
    margin: 0 1em 0 0;
}

input[type=checkbox],
.thanks input[type=checkbox] {
    position: relative;
    width: 1em;
    height: 1em;
    border: 1px solid #000;
    vertical-align: -0.2em;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

input[type=checkbox]:checked:before,
.thanks input[type=checkbox]:checked:before {
    position: absolute;
    top: -0.1em;
    left: 0.3em;
    -webkit-transform: rotate(50deg);
    transform: rotate(50deg);
    width: 0.3em;
    height: 0.9em;
    border-right: 2px solid #666;
    border-bottom: 2px solid #666;
    content: "";
}

input.wpcf7-submit.has-spinner.submit-btn:disabled,
.thanks input.wpcf7-submit.has-spinner.btn:disabled {
    background-color: #D3D3D3;
    border: none;
}

input.wpcf7-submit.has-spinner.submit-btn:disabled:focus,
.thanks input.wpcf7-submit.has-spinner.btn:disabled:focus {
    color: #000 !important;
}

@media (hover: hover) and (pointer: fine) {

    input.wpcf7-submit.has-spinner.submit-btn:disabled:hover,
    .thanks input.wpcf7-submit.has-spinner.btn:disabled:hover {
        color: #000 !important;
    }
}


/* 送信ボタン */
input.wpcf7-form-control.wpcf7-submit.has-spinner.submit-btn {
    width: 100%;
}


/* バリデーション
    -----------------------------------------*/
.wpcf7-not-valid-tip {
    text-align: left;
}

/* 
デフォルトのメッセージの色を変更
---------------------------------------- */
.wpcf7 form .wpcf7-response-output {
    color: #fff;
    text-align: center;
}

.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
    border-color: rgb(220, 50, 50);
}