@charset "utf-8";

body {
    font-family: "Zen Kaku Gothic New", serif;
    letter-spacing: 1px;
}

.l-contents__inner:last-child {
    padding-bottom: 0;
}

/*======================= 共通クラス =======================*/

p,
a,
li,
td {
    font-weight: 400;
}

p {
    margin-top: 0 !important;
}

a {
    text-decoration: none !important;
}

/* padding・margin左右上下リセット */
.p_0 {
    padding: 0 !important;
}

.m_0 {
    margin: 0 !important;
}

.pt_0 {
    padding-top: 0 !important;
}

.pb_0 {
    padding-bottom: 0 !important;
}

.pb_0 {
    padding-bottom: 0 !important;
}


.mt_0 {
    margin-top: 0 !important;
}

.mb_0 {
    margin-bottom: 0 !important;
}


/* padding・margin 10px・20px */
.pt_10 {
    padding-top: 10px !important;
}

.pb_10 {
    padding-bottom: 10px !important;
}

.pt_20 {
    padding-top: 20px !important;
}

.pb_20 {
    padding-bottom: 20px !important;
}

.mt_10 {
    margin-top: 10px !important;
}

.mb_10 {
    margin-bottom: 10px !important;
}

.mt_20 {
    margin-top: 20px !important;
}

.mb_20 {
    margin-bottom: 20px !important;
}

.inline_b {
    display: inline-block;
}

/* Z-INDEX */
.z_0 {
    z-index: 0;
}

.z_1 {
    z-index: 1;
}

.z_999 {
    z-index: 999;
}

/* POSITION */
.p_ab {
    position: absolute;
}

.p_rel {
    position: relative;
}

.smb-box__background {
    border: none;
}

/* アイコン */
svg.svg-inline--fa {
    margin-right: 10px;
}

#page-top svg.svg-inline--fa {
    margin-right: 0;
}

.p-global-nav--hover-extend-underline .c-navbar__item.cta:hover>a:after {
    width: 0;
}

/*======================= ボタン =======================*/

a.smb-btn {
    display: flex;
    align-items: center;
    position: relative;
    width: 280px !important;
    height: 50px;
    border: solid 2px var(--wp--preset--color--sm-accent);
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
}

a.smb-btn::before {
    position: absolute;
    top: 50%;
    right: 25px;
    transform: translateY(-50%);
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #ffffff;
    content: "";
}

@media screen and (max-width: 500px) {
    .btn_center {
        justify-content: center !important;
    }
}

/*======================= ヘッダー =======================*/
/* 下層ページヘッダー */
.l-contents__inner {
    margin-top: 0 !important;
}

.c-page-header {
    padding: 130px 0 50px;
    background-color: var(--wp--preset--color--sm-accent);
    color: #ffffff;
}

.c-page-header[data-has-image=true] {
    height: unset;
}

.c-page-header[data-has-image=true] .c-page-header__content {
    color: unset;
}

.c-page-header__bgimage>img,
.c-page-header__bgimage>picture>img {
    display: none;
}

.header_cta.contact span {
    background-color: var(--wp--preset--color--sm-accent);
    padding: 10px 15px;
    color: #fff;
    width: 170px;
    text-align: center;
    display: flex;
    border-radius: 50px;
    justify-content: center;
}

/* SPヘッダー */
.c-drawer {
    background-color: var(--wp--preset--color--sm-accent);
}

.c-drawer__menu {
    padding-top: 50px !important;
}

.c-drawer__inner {
    padding: 0 30px;
}

#menu-sp_nav .menu-item:last-child {
    margin-top: 30px !important;
    background-color: #ffffff;
    color: var(--wp--preset--color--sm-accent);
    border-radius: 50px;
}

#menu-sp_nav .menu-item:last-child a {
    text-align: center;
}

#menu-sp_nav .menu-item a {
    font-size: 1rem;
    font-weight: 500 !important;
    text-align: left;
}

@media (max-width: 1023px) {
    .c-page-header {
        padding: 130px 0 50px !important;
    }
}

/*======================= フッター =======================*/
.l-footer,
.l-footer__footer {
    background-color: var(--wp--preset--color--sm-accent) !important;
    color: #ffffff;
}

.l-footer,
.l-footer--footer-2 .l-footer__body {
    border-top: none;
}

.l-footer .l-footer__footer .c-row--middle {
    justify-content: center;
}

.l-footer--footer-2 .l-footer__header {
    display: none;
}

.l-footer .widget.widget_nav_menu a,
.l-footer p,
.l-footer a {
    font-weight: 500;
}

@media screen and (max-width: 1023px) {
    .c-widget.widget_block .wp-block-columns {
        margin-top: 30px;
    }
}

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

    /* footer */
    .c-widget.widget_block .wp-block-columns {
        gap: var(--_margin-2);
    }
}

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

    .l-footer--footer-2 .l-footer__widget-area a,
    .l-footer--footer-2 .l-footer__widget-area p {
        font-size: 15px;
    }
}

@media screen and (max-width: 435px) {
    .l-footer .c-container {
        padding: 0 5%;
    }
}

/*======================= TOPページ =======================*/
.en_ttl {
    color: var(--wp--preset--color--sm-accent);
    font-family: "Figtree", serif;
    font-size: clamp(3rem, calc(1.981818181818182rem + 5.09090909090909vw), 5.8rem);
    font-weight: 700;
    line-height: 1.1 !important;
}

h2.ja_ttl {
    margin-top: 0 !important;
    font-size: clamp( 1.2rem, calc( 1.0909090909090908rem + 0.5454545454545455vw ), 1.5rem );
}

/* FV */
#fv {
    height: 80vh;
}

.fv {
    position: relative;
}

.fv::before {
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(3, 3, 3, .52) 100%);
    content: "";
    pointer-events: none;
}

#fv .smb-section__inner,
#fv .c-container {
    position: static;
}

.fv_txt-group {
    position: absolute;
    bottom: 8%;
    left: 5%;
    z-index: 10;
    color: #ffffff;
}

.fv_sub-ttl {
    width: fit-content;
    margin-left: 0 !important;
    border-bottom: solid 2px;
    font-size: clamp(1.5rem, calc(1.3181818181818181rem + 0.9090909090909091vw), 2rem);
    font-weight: 600;
}

.fv_ttl {
    font-size: clamp(2rem, calc(1.3454545454545457rem + 3.2727272727272725vw), 3.8rem);
    font-weight: 700;
    line-height: 1.4;
    margin-top: 15px !important;
}

/* 事業内容 */
.service_panel .smb-panels__item__body {
    padding: 0;
}

.service_panel .smb-panels__item {
    box-shadow: none;
}

.service_panel-txt {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 30px;
    color: #ffffff;
}

.service_panel-ttl {
    margin-bottom: 10px !important;
    padding-bottom: 10px !important;
    border-bottom: solid 2px !important;
    font-size: clamp(1.1rem, calc(0.9545454545454547rem + 0.7272727272727271vw), 1.5rem);
}

.service_panel-img {
    border-radius: 10px !important;
    filter: brightness(.6);
}

.service_panel-img img {
    border-radius: 10px !important;
}

.t_ttl {
    font-size: 1.2rem;
    margin-bottom: 20px !important;
    padding-bottom: 5px;
    border-bottom: solid 2px var(--wp--preset--color--sm-accent);
}

.t_img {
    margin-top: 10px !important;
}

.t_img img {
    border-radius: 10px !important;
}

/* 選ばれる理由 */
#reasons h3 {
    border-bottom: dotted 2px;
    padding-bottom: 10px;
    margin-top: 10px !important;
}

#reasons .reasons_num {
    font-weight: 600;
    color: var(--wp--preset--color--sm-accent);
    font-size: clamp( 1rem, calc( 0.8909090909090909rem + 0.5454545454545455vw ), 1.3rem );
}

/* 募集情報 */
#recruit h3 {
    border-bottom: solid 2px var(--wp--preset--color--sm-accent);
    padding-bottom: 10px;
}

.greeting_img img {
    object-position: 78%;
}

/*======================= 事業内容 =======================*/
.b_panel .smb-panels__item {
    border-radius: 20px;
}

.b_panel-ttl {
    margin: 15px 0 10px !important;
    border-bottom: solid 2px var(--wp--preset--color--sm-accent) !important;
    padding-bottom: 10px !important;
}

.b_panel-img img {
    border-radius: 10px;
}

.s_ttl {
    border-bottom: double 5px var(--wp--preset--color--sm-accent);
    padding-bottom: 10px !important;
    font-size: 1.7rem;
}

.s-sub_ttl {
    border-bottom: dotted 2px var(--wp--preset--color--sm-accent);
    padding-bottom: 5px;
}

/*======================= 会社概要 =======================*/
/* 会社概要 bg-color */
figure.wp-block-table tr td:first-child,
figure.wp-block-table tr td:first-child {
    width: 30%;
    background-color: var(--wp--preset--color--sm-accent);
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 400;
    font-weight: 500;
    text-align: center;
    vertical-align: middle;
}

figure.wp-block-table tr td:last-child,
figure.wp-block-table tr td:last-child {
    background-color: #ffffff;
}

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

    figure.wp-block-table tr td:first-child,
    figure.wp-block-table tr td:first-child {
        width: 32%;
        font-size: 1rem !important;
    }
}

/*======================= 募集情報 =======================*/
.rec_ttl {
    border-bottom: double 5px var(--wp--preset--color--sm-accent);
    padding-bottom: 10px !important;
}

/*======================= 施工実績 =======================*/
.post-type-archive-works .c-entry-summary__figure {
    margin-bottom: 10px;
}

/*新しい投稿の矢印調整*/
.single-works .c-prev-next-nav__item-label svg {
    margin: 0 10px !important;
}

/*======================= お問い合わせ =======================*/
/* placeholder */
.smf-text-control__control::placeholder {
    color: #cccccc !important;
}

.wp-block-snow-monkey-forms-item.smf-item {
    margin-bottom: 45px !important;
}

.smf-form .smf-text-control__control,
.smf-form .smf-textarea-control__control {
    border: none !important;
}

/* 必須の文字 */
.smf-item__col.smf-item__col--label {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.smf-item__description {
    width: fit-content;
    margin-top: 0;
    margin-left: 20px;
    padding: 0 .5em;
    border-radius: 50px;
    background-color: #cd2b43;
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
}

/* ボックス */
.wp-block-snow-monkey-blocks-box.smb-box.contact-form_box {
    padding: 50px !important;
}

.wp-block-snow-monkey-blocks-box.smb-box.contact-form_box .smb-box__background {
    border: none;
    border-radius: 0;
    background-color: #f8f7f7;
}

.smf-item__label {
    font-weight: 600;
}

.smf-form .smf-text-control__control {
    width: 100%;
    border-radius: 0;
}

/* 項目の幅 */
.snow-monkey-form .smf-form.smf-form--simple-table .smf-item .smf-item__col--label {
    flex: 0 0 18em !important;
    max-width: 18em !important;
}

.snow-monkey-form .smf-form.smf-form--simple-table .smf-item .smf-item__col--controls {
    flex: 1 1 calc(100% - 18em) !important;
    max-width: calc(100% - 18em) !important;
}

.smf-radio-buttons-control__control .smf-label {
    margin-bottom: 7px !important;
}

/* 確認ボタン */
.smf-action {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-bottom: 0 !important;
}

.smf-action .smf-button-control__control {
    position: relative;
    width: 280px;
    padding-top: 1rem;
    padding-bottom: 1rem;
    border: solid 2px var(--wp--preset--color--sm-accent) !important;
    border-radius: 0;
    background: var(--wp--preset--color--sm-accent);
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 3px;
    border-radius: 50px;
}

.smf-action .smf-button-control__control:hover {
    border: solid 2px var(--wp--preset--color--sm-accent) !important;
    background: #ffffff;
    color: var(--wp--preset--color--sm-accent);
}

.smf-action .smf-button-control+.smf-button-control {
    margin-left: 0 !important;
}


#autozip {
    display: none !important;
}

/* プライバシーポリシー */
#privacy h3 {
    margin-top: 30px !important;
    margin-bottom: 5px !important;
    padding-left: 10px;
    border-left: solid 3px var(--wp--preset--color--sm-accent);
    font-weight: 700;
}

#privacy .wp-block-list {
    margin-top: 5px;
}

#privacy h3 {
    margin-bottom: 10px !important;
    padding-left: 10px;
    border-left: solid 3px var(--wp--preset--color--sm-accent);
    font-weight: 700;
}

/*===================================== お知らせ =====================================*/
.c-meta__item--author {
    display: none;
}

/* 投稿(シンプル)のSPレスポンシブ */
@media screen and (max-width: 639px) {
    .c-entries--simple .c-entry-summary__content {
        display: block;
    }

    .c-entries--simple .c-entry-summary__figure {
        float: inherit;
        width: 100%;
        margin-bottom: 20px;
    }
}

/*==================================================================================*/
/*=================================== レスポンシブ ===================================*/
/*==================================================================================*/
@media screen and (max-width: 781px) {
    .reasons_column2 {
        flex-direction: column-reverse;
    }

    .service_panel-txt {
        padding: 20px;
    }

    .service_panel-img img {
        aspect-ratio: 1/1 !important;
    }
}

@media screen and (max-width: 435px) {
    .sp_none {
        display: none;
    }

    .ta_js {
        text-align: justify !important;
    }

    .c-container {
        padding: 0 5%;
    }

    a.smb-btn {
        width: 260px !important;
    }

    .has-border-color:where(:not(img)),.b_panel .smb-panels__item__body {
        padding: 20px;
    }
}