@charset "utf-8";

body {
    font-family: "Zen Kaku Gothic New", serif;
}

.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 {
    position: relative;
    width: 280px !important;
    padding: 13px 0;
    border-radius: 50px;
    background-color: var(--wp--preset--color--sm-accent);
    font-weight: 600;
}

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

a.smb-btn:hover {
    background-color: #670605;
    filter: brightness(100%);
}

.white_btn a {
    background-color: #ffffff;
}

.white_btn a span {
    color: var(--wp--preset--color--sm-accent);
}

.white_btn a:hover span {
    color: #ffffff;
}

.white_btn a:hover::before {
    background-color: #ffffff;
}

.white_btn a::before {
    background-color: var(--wp--preset--color--sm-accent);
}

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

    .smf-action .smf-button-control__control {
        width: 280px !important;
    }
}

/*======================= ヘッダー =======================*/
/* グローバルナビゲーション */
.l-header .c-row {
    height: 70px !important;
    margin: 25px 5% 0 5% !important;
    border-radius: 50px;
    box-shadow: 0 4px 24px rgba(205, 205, 205, .17);
    background-color: #ffffff;
}

.l-header .menu-item a {
    color: var(--wp--preset--color--sm-accent);
}

.c-site-branding__title .custom-logo {
    width: 200px;
}

.header_cta.contact a {
    padding: 0 0 0 10px !important;
}

.header_cta.contact span {
    padding: .7em 1.3em;
    border-radius: 50px;
    background-color: var(--wp--preset--color--sm-accent);
    color: #ffffff !important;
    font-weight: 600 !important;
    transition: all .15s ease-in-out;
}

.header_cta span:hover {
    background-color: #ab3939;
}

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

.c-page-header {
    padding: 150px 0 50px;
    background-color: #126515ea;
    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;
}

/* SP ヘッダー */
#menu-sp_nav .menu-item a {
    font-size: 1rem;
    font-weight: 500 !important;
    text-align: center;
}

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

.sp_drawer-cta {
    border-radius: 50px;
    border: solid 2px;
    margin-top: 30px !important;
    padding: 12px 0;
}

.c-row__col--fit {
    padding-right: 20px !important;
}

.l-header .c-hamburger-btn__bar {
    background-color: #333;
}

.c-hamburger-btn__label {
    color: #333;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .05em;
}

.c-hamburger-btn__bar {
    height: 2px;
    border-radius: 50px;
}

@media (max-width: 1050px) {
    .l-header .c-fluid-container {
        padding: 0 !important;
    }
}

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

    .l-header .c-row {
        margin: 10px 2% 0 2% !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%;
    }
}

/*======================= タイトル =======================*/
h2 {
    font-family: "Mochiy Pop One", sans-serif;
    font-size: clamp(1.3rem, calc(1.0666666666666667rem + 1.1666666666666665vw), 2rem);
    font-weight: 500;
}

h2 span {
    position: relative;
    padding-left: 25px;
}

h2 span::before {
    position: absolute;
    top: 54%;
    left: 0;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgb(255, 128, 103);
    content: "";
}

/*======================= TOPページ =======================*/
/* fv */
#fv {
    height: 90vh;
    border-radius: 0 0 50px 50px;
    position: relative;
}

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

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

.fv_ttl {
    margin-top: 15px !important;
    font-family: "Mochiy Pop One", sans-serif;
    font-size: clamp(1.5rem, calc(0.6666666666666667rem + 4.166666666666666vw), 4rem);
    font-weight: 500;
    line-height: 1.3;
}

.fv_sub-ttl {
    font-size: clamp(1rem, calc(0.9333333333333333rem + 0.33333333333333326vw), 1.2rem);
    font-weight: 500;
}

.fv_logo {
    opacity: 0.2;
    bottom: -20%;
    left: -15%;
    position: absolute;
}

/* terraのトマト */

.tomato_child {
    position: relative;
}

.tomato_txt-group {
    position: absolute;
    bottom: 30px;
    left: 0;
    z-index: 1;
}

.tomato_sub-ttl {
    padding: .1em .7em;
    border-radius: 5px;
    background-color: #ffffff;
    font-weight: 500;
}

#tomato h3 {
    position: relative;
    width: fit-content;
    margin-top: 0 !important;
    margin-left: 0 !important;
    padding: .1em .7em;
    background-color: #ffffff;
    color: var(--wp--preset--color--sm-accent);
    font-family: "Mochiy Pop One", sans-serif;
    font-size: clamp(1.2rem, calc(0.7666666666666666rem + 2.166666666666667vw), 2.5rem);
    font-weight: 500;
}



/* 選ばれる理由 */
#reasons h3 {
    margin-top: 5px !important;
    padding-bottom: 10px;
    border-bottom: dotted 2px var(--wp--preset--color--sm-sub-accent);
    color: var(--wp--preset--color--sm-sub-accent);
}

.reasons_parent {
    padding: 30px;
    border-radius: 30px;
    background-color: #fef7eed1;
}

.reasons_img img {
    border-radius: 20px;
}

.reasons_deco1 {
    opacity: .4;
    position: absolute;
    top: 0;
    left: 0;
    width: 20%;
}

.reasons_deco2 {
    opacity: .4;
    position: absolute;
    right: 0;
    bottom: -10%;
    width: 20%;
    z-index: -1;
}

/* トマト自販機 */
#store {
    border-radius: 50px;
}

.store_p {
    width: fit-content;
    margin-top: 15px !important;
    padding: .1em .7em;
    border-radius: 5px;
    background-color: #ffffff;
    color: var(--wp--preset--color--sm-sub-accent);
}

.vm_slider img {
    border-radius: 30px;

    aspect-ratio: 1/1;
}

/* 採用情報 */
#recruit .smb-section__fixed-background {
    border-radius: 50px;
}

.recruit_tag-group {
    gap: 15px !important;
}

.recruit_tag {
    padding: .1em .7em;
    border-radius: 5px;
    background-color: #ffffff;
    color: var(--wp--preset--color--sm-accent);
    font-weight: 500;
}

.recruit_txt {
    font-weight: 500;
}

.rec_cta_child {
    border-radius: 30px;
}

/*======================= terraのトマト =======================*/
/*======================= 会社概要 =======================*/
.company_slider img {
    border-radius: 20px;
}

/* 会社概要 bg-color */
figure.wp-block-table tr td:first-child,
figure.wp-block-table tr td:first-child {
    width: 30%;
    background-color: #850000;
    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;
    }
}

/* .wp-block-table tr {
    border-bottom: solid 1px #f0cccc !important;
}

.wp-block-table td,
.wp-block-table th {
    padding: 20px !important;
    border: none !important;
}

figure.wp-block-table tr td:first-child,
figure.wp-block-table tr td:first-child {
    width: 30%;
    font-weight: 500;
}

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

    figure.wp-block-table tr td:first-child,
    figure.wp-block-table tr td:first-child {
        width: 30%;
        padding-right: 0 !important;
        padding-left: 0 !important;
        font-size: 1rem !important;
    }

    figure.wp-block-table tr td:last-child,
    figure.wp-block-table tr td:last-child {
        padding-right: 0 !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;
}

/*======================= お問い合わせ =======================*/
/* CTA */
#cta h3 {
    margin-bottom: 5px !important;
}

.cta_child {
    padding: 30px;
    border: solid 2px var(--wp--preset--color--sm-accent);
    border-radius: 30px;
}

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

.cta_tel-txt {
    color: var(--wp--preset--color--sm-accent);
    font-weight: 600;
    text-align: center;
}

.cta_tel a {
    padding: 5px 0;
    background-color: transparent;
    font-weight: 600;
}

.cta_tel a::before {
    display: none;
}

.cta_tel a:hover {
    background-color: transparent;
}

.cta_tel a span {
    font-size: clamp(2rem, calc(1.8333333333333333rem + 0.8333333333333334vw), 2.5rem);
}

.cta_tel a span svg {
    font-size: 1.8rem;
}

/* 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;
}

.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: 850px) {
    .reasons_deco2 {
        bottom: -3%;
    }
}

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

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

    #fv {
        height: 80vh;
    }

    .fv_txt-group {
        position: absolute;
        bottom: 0;
        left: 0;
        padding: 50px 20px;
    }

    .tomato_txt-group {
        bottom: -10px;
    }
        .reasons_deco2 {
        bottom: -1%;
    }
}