@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&display=swap');

/* ----------------------- */
/* ----------------------- */
/* リセット
/* ----------------------- */
/* ----------------------- */
body {
    letter-spacing: 1px;
}

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

body#body section {
    overflow: hidden;
}

p,
a,
li {
    font-weight: 500;
}

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

.pt_10 {
    padding-top: 10px !important;
}

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

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

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

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

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

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

.z_0 {
    z-index: 0;
}

.z_1 {
    z-index: 1;
}

.p_ab {
    position: absolute;
}

.p_rel {
    position: relative;
}

.d_flex {
    display: flex;
}

.d_flex.f_wrap {
    flex-wrap: wrap;
}

.inline_b {
    display: inline-block;
}

.js_sb {
    justify-content: space-between;
}

.js_fs {
    justify-content: flex-start;
}

.of_hd {
    overflow: hidden;
}

/* ---------------------- */
/* ---------------------- */
/* 共通設定 */
/* ---------------------- */
/* ---------------------- */

/* トップに戻るボタン */
#page-top {
    right: 8px;
    bottom: 8px;
    background-color: var(--wp--preset--color--sm-accent);
    border-radius: 3px;
}

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

/* 見出し */
h1,
h2 {
    font-weight: 700;
}

.h_text {
    /* 英文はJost、日本語文はNoto */
    font-family: "Jost", "Noto Sans JP", sans-serif;
}

.h_text span.sme-font-size.has-sm-6-xl-font-size {
    /* 見出しの英語部分 */
    font-size: clamp(48px, calc(36.57142857142857px + 3.571428571428571vw), 108px) !important;
}

.h_text span.sme-font-size.has-sm-3-xl-font-size {
    /* 見出しの英語部分 */
    font-size: clamp(20px, calc(18.095238095238095px + 0.5952380952380952vw), 30px) !important;
}

/* 下線入り中見出し */
.c_copy {
    font-size: clamp(28px, calc(24.19047619047619px + 1.1904761904761905vw), 48px) !important;
    border-bottom: 3px solid #e05d00 !important;
    padding-bottom: 8px !important;

}

.big_txt {
    font-size: min(4rem, 4vw);
    font-weight: 900;
}

.point_txt {
    font-size: 1.4rem;
    font-weight: 800;
}

/* 下層ヘッダー */
.c-page-header {
    background-color: #eee;
    color: #fff;
}

.c-page-header .c-page-header__content {
    /* ページヘッダー上部余白 */
    padding-top: 120px;
}

.c-page-header__title {
    color: #172647;
}

.p-global-nav .c-navbar__item[aria-haspopup=true]:before {
    display: none;
}

.cta a {
    padding: 0px !important;
}

.c-sub-nav {
    padding: 5px 0;
}

.l-contents__inner {
    margin-top: 0;
}

.c-page-header__bgimage {
    display: none;
}

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

/* ボタン */
a.smb-btn,
.cta a span {
    background: #e05d00;
    position: relative;
    transition: .25s;
    color: #fff;
    border-radius: 50px;
    box-sizing: border-box;
    font-size: 1.1em;
    font-weight: 700;
    width: 260px;
    height: 60px;
    display: grid;
    place-items: center;
    border: 3px solid #fff;
}

.cta a span {
    margin-left: 10px;
    padding: 0.5rem 1.8rem !important;
    max-height: 3rem;
}

a.smb-btn span::after {
    content: "";
    border-left: 11px solid #fff;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    position: absolute;
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-duration: 0.8s;
    animation-name: anim_h;
}

.cta.tel a span {
    justify-content: center;
    width: 210px;
}

.cta.tel a svg {
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-duration: 0.8s;
    animation-name: anim_s;
}

@keyframes anim_h {
    0% {
        transform: translate(0, -50%);
    }

    100% {
        transform: translate(5px, -50%);
    }
}

@keyframes anim_s {
    0% {
        transform: scale(92%);
    }

    100% {
        transform: scale(100%);
    }
}

a.smb-btn:hover,
.drop_tel a:hover,
.cta a:hover span {
    box-shadow: none;
    transition: 0.7s;
    transform: scale(1.05);
    filter: brightness(100%);
    box-sizing: border-box;
    font-weight: 700;
}

.cta.tel a:hover span svg {
    animation-play-state: paused;
}

.wp-block-snow-monkey-blocks-btn.smb-btn-wrapper {
    max-width: 100%;
}

/* CTAセクションのボタン */
.top_cta_btn a.smb-btn {
    width: 100%;
    min-width: 260px;
    height: 80px;
}

/* フッター */
.l-footer {
    background-color: #5f5f5f;
}

#block-20 .menu .menu-item a {
    color: #fff !important;
    transition: 0.3s;
}

#block-20 .menu .menu-item a:hover {
    color: #e05d00 !important;
    text-decoration: none;
}

.l-footer__footer {
    background-color: transparent !important;
    color: #fff;
}

.l-1row-header__branding {
    padding-top: 0 !important;
    margin-top: -24px;
}

.l-footer .c-site-branding__title img {
    /* フッター画像白に変更 */
    filter: brightness(0) saturate(100%) invert(100%) sepia(100%) saturate(0%) hue-rotate(153deg) brightness(104%) contrast(102%);
}

/*footer Safari勝手にリンク削除*/
.l-footer-widget-area__item #block-8 p a[href^="tel:"],
table tbody tr td a[href^="tel:"] {
    color: inherit;
    text-decoration: none;
    pointer-events: none;
}

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

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

/* ヘッダー */
#menu-g_nav li.menu-item {
    transition: 0.3s;
    border-bottom: 1px solid transparent;
}

#menu-g_nav li.menu-item:hover {
    border-bottom: 1px solid #e05d00;
}

#menu-g_nav li.menu-item.tel:hover {
    border-bottom: 1px solid transparent;
}

/* テーブル */
table,
tbody {
    display: block;
    width: 100%;
}

tr {
    display: flex;
    flex-wrap: nowrap;
}

figure.wp-block-table tr td:first-child {
    width: 30%;
    min-width: 120px;
    text-align: center;
    vertical-align: middle;
    font-weight: bold;
    font-size: 0.95em;
    color: #e05d00;
}

figure tr td:last-child {
    width: 70%;
    border-right: 1px solid #e05d00;
    padding-left: 1.2rem;
}

figure.wp-block-table tr td {
    border: none;
    border-bottom: 1px solid #e05d00;
    display: block;
    padding: 24px 8px;
    font-weight: 500;
}

figure.wp-block-table tr:first-child {
    border-top: 1px solid #e05d00;
}

/* アーカイブ */
.c-entry-summary__figure {
    background-color: transparent;
}

.archive .l-contents__inner {
    margin-bottom: var(--contents--gap);
    margin-top: var(--contents--gap);
}

/* 投稿シングルページ */
.wp-profile-box {
    display: none;
}

.single-post .c-meta {
    color: #555;
}

/* ------------------- */
/* ------------------- */
/* TOP */
/* ------------------- */
/* ------------------- */

/* ------------------- */
/* MV */
/* ------------------- */
#mv {
    position: relative;
}

.mv-ttl_group {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* FVキャッチコピー */
#mv .mv-ttl_box {
    margin: 150px 0 0 0 !important;
}

#mv .hukidashi {
    margin: 0 0 -10px 0 !important;
    font-size: clamp(14px, calc(13.619047619047619px + 0.11904761904761905vw), 16px);
    font-weight: bold;
    padding: 6px 10px !important;
}

#mv h2.mv-ttl {
    margin: 0 !important;
    font-size: clamp(36px, calc(27.61904761904762px + 2.619047619047619vw), 80px);
    line-height: 1.3;
    text-shadow: 0 0 10px #fff;
}

#mv .mv-ttl_sub {
    font-size: 0.65em !important;
}

/* FVサブコピー */
#mv .sub_copy {
    font-size: clamp(16px, calc(14.095238095238095px + 0.5952380952380952vw), 26px);
}

/* MV施工実績 */
.mv_slider .spider__figure {
    border-radius: 3px;
}

/* 事業内容 */
.smb-section__background-text__text {
    rotate: 90deg;
    transform-origin: left;
    left: 5%;
    font-family: "Jost", "Noto Sans JP", sans-serif;

}

#service_sect .heading_cover {
    padding-left: 2rem;
    padding-right: 2rem;
}

#service_sect .h_text {
    writing-mode: vertical-rl;
    font-size: clamp(20px, calc(12.380952380952381px + 2.380952380952381vw), 60px) !important;
}

#service_sect {
    margin-top: var(--padding_s);
}

#service_sect .service_link figure a {
    display: block;
}

#service_sect figure a::before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: #151827;
    mix-blend-mode: multiply;
    opacity: 0.65;
    z-index: 1;
    transition: 0.65s all;
}

#service_sect .service_text {
    position: absolute;
    padding: 0 32px;
    z-index: 10;
    top: 50%;
    transform: translateY(-50%);
}

#service_sect .service_text .sub-title {
    font-size: clamp(20px, calc(18.476190476190474px + 0.4761904761904762vw), 28px);
    text-align: center;
    writing-mode: initial;
}

#service_sect .service_text a {
    color: var(--color_white);
    text-decoration: none;
}

.wp-block-group.service_box {
    margin-right: 5%;
}

/* 事業内容リンクのグリッド */
#service_sect .service_cover {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0;
    color: #fff;
}

#service_sect .service_cover figure {
    height: 80vh;
    min-height: 700px;
    overflow: hidden;
}

#service_sect .service_cover figure img {
    object-fit: cover;
    height: 80vh;
    min-height: 700px;
    width: 100vw;
}

/* ---------------- */
/* 対応地域 */
/* ---------------- */
#area .area_name-group {
    gap: 16px;
}

#area .area_map {
    opacity: 0.8;
}

/* ヘッダーお問い合わせ */
ul#menu-header_sab li a {
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: 0.3s;
}

ul#menu-header_sab li a:hover {
    border-bottom: 1px solid #5f5f5f;
}

/* --------------------------------------- */
/* --------------------------------------- */
/*お問い合わせフォーム*/
/* --------------------------------------- */
/* --------------------------------------- */
.smf-form--business .smf-item__col--label {
    background-color: #5f5f5f;
}

.smf-item__label {
    color: #fff;
    font-weight: 500;
}

.smf-item__description {
    color: #fff;
    background-color: #e05d00;
    width: fit-content;
    padding: 0 10px;
    font-weight: 600;
}

.smf-action .smf-button-control__control {
    background-color: var(--wp--preset--color--sm-accent);
    border-radius: 50px;
    border: 2px solid var(--wp--preset--color--sm-accent);
    color: #fff;
    font-weight: 600;
    font-size: 1.1rem;
    width: 260px;
    background-image: none;
    transition: 0.3s;
}

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

#autozip {
    display: none !important;
}

/* --------------------- */
/* --------------------- */
/* レスポンシブ */
/* --------------------- */
/* --------------------- */

@media(max-width:1024px) {

    /* ヘッダー画像の余白調整 */
    .l-1row-header__branding {
        margin-top: initial;
    }

    /* ページヘッダー上部余白 */
    .c-page-header .c-page-header__content {
        padding-top: 0 !important;
    }

    /* ハンバーガーメニュー */
    #menu-sp_drop li a {
        font-weight: bold;
    }

    #menu-sp_drop li.cta {
        background-color: #fff;
        color: #e05d00;
        border: 3px solid #e05d00;
        text-align: center;
        margin: 16px 0;
        border-radius: 50px;
        font-weight: bold;
        height: 55px;
        display: grid;
        place-items: center;
    }

    /* 事業内容セクション */
    .service_txt_wrap {
        text-shadow: -1px 1px 2px #f0eee9, 1px -1px 2px #f0eee9;
    }

    #service_sect .service_cover {
        grid-template-columns: 1fr;
    }

    #service_sect .service_cover figure {
        height: 50vh;
        min-height: 360px;
    }

    #service_sect .service_cover figure img {
        height: 50vh;
        min-height: 360px;
    }

    #service_sect .service_text {
        padding: 0px 15px;
        width: 100%;
    }
}

/* 782px以下 */
@media(max-width:782px) {

    /* 事業内容 */
    #service_sect {
        padding-top: 150px;
    }

    #service_sect .h_text {
        writing-mode: initial;
        text-align: center;
    }

    /* Bamseaについて */
    #about_us .tab_c_rev {
        flex-direction: column-reverse;
    }

    .smb-section__background-text__text {
        rotate: 0deg;
        position: initial;
        opacity: 1;
        text-align: center;
        translate: 0 50%;
    }

    .wp-block-group.service_box.is-layout-flow.wp-block-group-is-layout-flow {
        max-width: 93%;
        margin-right: auto;
        margin-left: auto;
    }

    /* 代表挨拶 */
    #greeting .tab_c_rev {
        flex-direction: column-reverse;
    }

    /* 対応地域 */
    #area .area_name-group {
        gap: 8px;
    }

    #area .area_name-group p {
        padding: 2px 8px !important;
    }
}

/* 640px以下 */
@media(max-width:640px) {

    /* 	CTA */
    a.smb-btn,
    .cta a span {
        font-size: min(1rem, 4vw);
    }

    /* ボタン中央揃え */
    .wp-block-snow-monkey-blocks-buttons.smb-buttons {
        justify-content: center;
    }

    /* 対応地域 */
    #area .area_name-group p span {
        font-size: 15px !important;
    }

    #area .area_map {
        position: absolute;
        width: 90%;
        top: 50%;
        left: 50%;
        translate: -50% -50%;
        opacity: 0.1;
        z-index: -1;
    }

    /* お問い合わせフォーム */
    .smf-form--business .smf-item__col--label {
        background-color: #5f5f5f;
        padding: 0.5rem 1rem;
        display: flex;
        align-items: center;
    }

    .smf-item__description {
        padding: 0px 5px;
        margin-top: 0;
        margin-left: 10px;
        line-height: 1.5;
    }

    .snow-monkey-form .smf-action {
        display: grid;
        grid-template-columns: 1fr;
        gap: 16px !important;
    }

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


    /* 投稿(シンプル)のSPレスポンシブ */
    .c-entries--simple .c-entry-summary__content {
        display: block;
    }

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