/*
Theme Name: Twenty Twenty-Four　信州木楽ネット
Theme URI: http://wordpress.org/themes/twentytwentyfour/
Author: the WordPress team
Author URI: http://wordpress.org
Description: Twenty Twenty-Four is designed to be flexible, versatile and applicable to any website. Its collection of templates and patterns tailor to different needs, such as presenting a business, blogging and writing or showcasing work. A multitude of possibilities open up with just a few adjustments to color and typography. Twenty Twenty-Four comes with style variations and full page designs to help speed up the site building process, is fully compatible with the site editor, and takes advantage of new design tools introduced in WordPress 6.4.
Requires at least: 6.4
Tested up to: 6.6
Requires PHP: 7.0
Version: 1.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentytwentyfour
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/
@font-face {
    font-family: 'GenMincho';
    src: url('../../../wp-includes/fonts/SourceHanSerif-Bold.otf') format('otf');
}

:root {
    --color-brack-light: #494949;
    --color-gray: #D9D9D9;
    --color-gray-dark: #B7B7B7;
    --color-gray-light: #EBEBEB;
    --color-brown: #4F2A2A;
    --color-brown-dark: #736C6C;
    --color-red: #FF0000;
    --color-primary: #716D6D;
    --color-secondary: var(--color-gray);
    --color-background: var(--color-gray-light);
    --acc: #3a382e;
    --left-width: 140px;
    --right-width: 70px;
    --flex-gap: 2rem;
    --flex-three-block-size: calc((100% - (var(--flex-gap) * 2)) / 3);
    --img-items-width: 22rem;
    --info-dt-width: 10rem;
}

/* ********************************
*
*  共通
*
*/
html {
    letter-spacing: 0.1em;

    h1 {
        display: flex;
        align-items: center;
        min-height: 4rem;
        border-bottom: 1px solid rgb(0 0 0 / 100%);
        padding-left: 2rem;
        font-size: 40px;
        font-family: "T 明朝", serif;
    }

    h2 {
        display: flex;
        align-items: center;
        padding: 0.5rem 0 0.5rem 2rem;
        color: white;
        background-color: var(--color-primary);
        font-family: "T 明朝", serif;
        font-weight: normal;
    }

    h3 {
        display: flex;
        align-items: center;
        padding-top: 1rem;
        padding-right: 0px;
        padding-bottom: 0rem;
        padding-left: 0px;
        border-bottom: 1px solid #615E5E;
        font-size: 28px;
        font-family: "T 明朝", serif;
    }

    section>h3 {
        margin-bottom: 1rem;
    }

    h4 {
        display: flex;
        align-items: center;
        height: 2rem;
        padding-left: 0.25rem;
        border-bottom: 1px solid black;
    }

    h4:before {
        content: url(http://shinshu-kiraku.net/wp/wp-content/uploads/2024/09/icon_tree.png);
        position: relative;
        bottom: -3px;
        margin-right: 0.5rem;
    }

    h5 {
        font-size: 19px;
        font-weight: bold;
    }

    h6 {
        font-size: 17px;
        font-weight: bold;
    }

    p {
        font-size: 17px;
        line-height: 170%;
    }

    a {
        transition: 0.3s;
    }

    a:hover {
        opacity: 0.7 !important;
    }
}

.wp-block-site-logo img {
    height: auto;
    max-width: 100%;
}

.unimplemented {
    display: none !important;
}

footer {
    position: sticky;
    z-index: 200;
}

section>p {
    margin-bottom: 1rem;
}

/*メニューリンク　第2下層文字装飾*/
:root :where(.wp-block-navigation) {
    font-weight: 400 !important;
}

/*reCAPTCHA 保護マークを消す*/
.grecaptcha-badge {
    visibility: hidden;
}

.container_lca {
    display: flex;
    align-items: flex-end;
    /* テキストを下に配置 */
    margin-bottom: 20px;
}

.container_lca img {
    max-width: 100%;
    height: auto;
    margin-right: 30px;
    /* 画像とテキストの間にスペース */
}

.container_kinoyosa_all {
    display: flex;
    margin: 20px;
}

.container_kinoyosa {
    display: flex;
    align-items: flex-end;
    /* テキストを下に配置 */
    margin: 20px;
}

.textpdf {
    max-width: 100%;
    /* テキストの幅を調整 */
}

.w-100 {
    width: 100% !important;
}

.w-max {
    width: max-content !important;
}

.margin-auto {
    margin: 0 auto !important;
}

.margin-none {
    margin: 0 !important;
}

.ms-0 {
    margin-left: 0 !important;
}

.font-meicho {
    font-family: "T 明朝", serif;
}

.color-red {
    color: var(--color-red);
}

.d-flex {
    display: flex;
}

.d-flex.flex-column {
    flex-flow: column;
}

.d-flex.flex-wrap {
    flex-flow: wrap;
}

.d-flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.align-items-center {
    align-items: center !important;
}

.align-items-stretch {
    align-items: stretch !important;
}

.d-flex.justify-content-center {
    justify-content: center;
}

.d-flex.justify-content-between {
    justify-content: space-between !important;
}

.position-relative {
    position: relative;
}

.border-none {
    border: none;
}

.border-left {
    border-left: solid 2px black;
    padding-left: 10px;
    border-color: white;
}

.wp-block-image.w-100>img {
    width: 100%;
}

.btn {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    min-width: 240px;
    padding: 0.8rem 1.4rem;
    color: white;
    background-color: var(--color-primary);
    border-radius: 10px;

    img {
        width: 1.2rem;
        height: 1.2rem;
    }

    span {}
}

.btn::after {
    content: '';
    height: 100%;
}

.btn:hover {
    opacity: 0.7;
}

.checkbox {
    position: relative;
    height: 2.4rem;

    input[type="checkbox"] {
        display: none;
    }

    label {
        display: inline-block;
        padding-left: 2.4rem;
        cursor: pointer;
    }

    label::before {
        content: "";
        position: absolute;
        left: 0;
        width: 24px;
        height: 24px;
        background-color: var(--color-gray);
        border: solid 1px;
    }

    label::after {
        content: "";
        position: absolute;
        left: 0;
    }

    label:hover {
        opacity: 0.7;
    }

    input[type="checkbox"]:checked+label {}

    input[type="checkbox"]:checked+label::before {}

    input[type="checkbox"]:checked+label::after {
        top: 7px;
        left: 5px;
        width: 14px;
        height: 8px;
        box-sizing: border-box;
        transform: rotate(-45deg);
        border-bottom: 2px solid;
        border-left: 2px solid;
    }
}

.checkbox.margin-top {
    margin-top: 32px;
}

.checkbox-list {
    display: flex;
    flex-flow: column;
    padding-left: 2rem;
}

.text-center {
    text-align: center;
    justify-content: center;
}

.text-left {
    text-align: left;
    justify-content: start;
}

/* 矢印アイコンを削除 */
footer details summary::-webkit-details-marker {
    display: none;
    /* Chrome, Safari対応 */
}

/* フッター Contact us */
.contact-btn {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    width: 340px;
    padding: 2px;
    background-color: var(--color-gray);
    border-radius: 10px;
    color: var(--color-primary) !important;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.4rem;
    font-family: "Shippori Mincho", serif;
    cursor: pointer;
    user-select: none;
}

.contact-text {
    line-height: 1;
}

.contact-btn:hover {
    opacity: 0.7;
}

.text-content {
    flex: 0 0 45%;
    /* 幅を半分に設定 */
    margin-right: 20px;
    /* テキストとテーブルの間にスペース */
}

/* .hiketu クラスのスタイル */
.hiketu {
    width: 700px;
    /* テーブルの幅を600pxに設定 */
    border-collapse: collapse;
    /* border-collapseの指定 */
    background-color: white;
    /* テーブルの背景を白に設定 */
    border-top: 2px solid black;
    /* 上のラインを指定 */
    border-bottom: 2px solid black;
    /* 下のラインを指定 */
    border-left: none;
    /* 左の境界線を削除 */
    border-right: none;
    /* 右の境界線を削除 */
}

.hiketu th,
.hiketu td {
    border-top: 1px solid #111;
    /* 上の横線を追加 */
    padding: 8px;
    text-align: center;
    /* デフォルトは中央寄せ */
}

.hiketu th {
    background-color: #D9D9D9;
    /* 背景色を修正 */
}

.hiketu tr:nth-child(1) th {
    border-bottom: 2px solid white;
    /* 1行目の下の線をホワイトに設定 */
}

.hiketu tr:nth-child(2) th {
    border-top: 2px solid white;
    /* 2番目の線をホワイトに設定 */
}

/* 特定の行の左寄せスタイル */
.hiketu tbody tr td:first-child {
    text-align: left;
    /* 左寄せに設定 */
}

/* .hiketu クラスのスタイル */
/* .familiy クラスのスタイル */
.familiy {
    width: 700px;
    /* テーブルの幅を600pxに設定 */
    border-collapse: collapse;
    /* border-collapseの指定 */
    background-color: white;
    /* テーブルの背景を白に設定 */
    border-top: 2px solid black;
    /* 上のラインを指定 */
    border-bottom: 2px solid black;
    /* 下のラインを指定 */
    border-left: none;
    /* 左の境界線を削除 */
    border-right: none;
    /* 右の境界線を削除 */
}

.familiy th,
.familiy td {
    border-top: 1px solid #111;
    /* 上の横線を追加 */
    padding: 8px;
    text-align: center;
    /* デフォルトは中央寄せ */
}

.familiy th {
    background-color: #D9D9D9;
    /* 背景色を修正 */
}

.familiy tr:nth-child(1) th {
    border-bottom: 2px solid white;
    /* 1行目の下の線をホワイトに設定 */
}

.familiy tr:nth-child(2) th {
    border-top: 2px solid white;
    /* 2番目の線をホワイトに設定 */
}

/* 特定の行の左寄せスタイル */
.familiy tbody tr td:first-child {
    text-align: left;
    /* 左寄せに設定 */
}

/* .familiy クラスのスタイル */
/* 家づくり日記 */
.table_house {
    width: 100%;
    max-width: 1280px;
    height: 220px;
    border-top: 1px solid #000;
    /* 上のライン */
    border-bottom: 1px solid #000;
    /* 下のライン */
    display: flex;
    align-items: center;
}

.left-section {
    width: 200px;
    height: 100%;
    background-color: #D9D9D9;
    /* 左端の背景色 */
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    /* 相対位置 */
}

.table_title {
    font-weight: bold;
    font-size: 20px;
    position: relative;
    z-index: 1;
    margin-right: 10px;
    margin-left: 10px;
    margin-bottom: 10px;
}

.number-image_0 {
    position: absolute;
    width: 55%;
    /* 画像の大きさ */
    bottom: 0;
    left: 10px;
    z-index: 0;
    /* 背景に配置 */
}

.number-image {
    position: absolute;
    width: 90%;
    /* 画像の大きさ */
    bottom: 0;
    left: 10px;
    z-index: 0;
    /* 背景に配置 */
}

.content_housemake {
    /* display: flex;*/
    justify-content: left;
    margin-left: 15px;
}

.image-container_housemake img {
    height: auto;
    width: 247px;
    margin-left: 490px;
}

.image-container_housemake_2 img {
    height: auto;
    width: 247px;
    display: block;
}

.image-container_housemake_3 img {
    height: 210px;
    width: auto;
    margin-left: 390px;
}

.image-container_housemake_4 img {
    height: auto;
    width: 280px;
    margin-left: 100px;
}

.image-container_housemake2 img {
    margin-left: 200px;
}

.image-container_housemake3 img {
    margin-left: 250px;
}

.image-container_housemake4 img {
    margin-left: 20px;
}

.image-container_housemake5 img {
    margin-left: 140px;
}

.image-container_housemake6 img {
    margin-left: 20px;
}

/* 家づくり日記 */
/* 2.工務店・建築士探し　表 */
.house_maker {
    width: 600px;
    border-collapse: collapse;
    margin: 20px 0;
    border-left: none;
    /* 縦線を非表示にする */
    border-right: none;
    /* 縦線を非表示にする */
}

.house_maker th,
.house_maker td {
    border-bottom: 1px solid #000;
    padding: 8px;
    text-align: left;
}

.house_maker tr:first-child td {
    border-top: 2px solid #000;
    /* 一番上の行を2ピクセル */
}

.house_maker tr:last-child td {
    border-bottom: 2px solid #000;
    /* 一番下の線を2ピクセル */
}

.house_maker td:first-child {
    background-color: #D9D9D9;
    /* 左の列にグレー背景 */
}

/* 2.工務店・建築士探し　表 */
.house_maker2 {
    width: 700px;
    border-collapse: collapse;
    margin: 20px 0;
    border-left: none;
    /* 縦線を非表示にする */
    border-right: none;
    /* 縦線を非表示にする */
}

.house_maker2 th,
.house_maker2 td {
    border-bottom: 1px solid #000;
    padding: 8px;
    text-align: left;
}

.house_maker2 tr:first-child td {
    border-top: 2px solid #000;
    /* 一番上の行を2ピクセル */
}

.house_maker2 tr:last-child td {
    border-bottom: 2px solid #000;
    /* 一番下の線を2ピクセル */
}

.house_maker2 td:first-child {
    padding: 10px;
    /* パディング */
    text-align: left;
    /* 左揃え */
    background-color: #D9D9D9;
    /* 左の列にグレー背景 */
}

.siyou {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    /*border-left: none; /* 縦線を非表示にする */
    /* border-right: none; /* 縦線を非表示にする */
}

.siyou th {
    border-bottom: 1px solid #000;
    padding: 8px;
    text-align: left;
    width: 200px;
}

.siyou td {
    border-bottom: 1px solid #000;
    padding: 8px;
    text-align: left;
}

.siyou tr:first-child td {
    border-top: 2px solid #000;
    /* 一番上の行を2ピクセル */
}

.siyou tr:last-child td {
    border-bottom: 2px solid #000;
    /* 一番下の線を2ピクセル */
}

.siyou td:first-child {
    padding: 10px;
    /* パディング */
    text-align: left;
    /* 左揃え */
    background-color: #D9D9D9;
    /* 左の列にグレー背景 */
}

/* 2.工務店・建築士探し　表 */
.image-container_housemake_mikata {
    /*  width: 700px; /* 幅を300pxに設定 */
    display: flex;
    /* Flexboxを使用 */
    justify-content: space-between;
    /* 要素の間隔を均等に */
    width: 80%;
}

.mikata_contents {}

.mikata {
    padding-top: 15px;
    padding-right: 15px;
    padding-bottom: 15px;
    padding-left: 15px;
    background-color: #fafafa;
    border-radius: 8px;
}

.title_mikata {
    font-size: 15px;
    /* タイトルのサイズ */
    font-weight: bold;
    /* 太字 */
    margin-bottom: 10px;
    /* 下のマージン */
    text-align: left;
    /* 左寄せ */
}

.address_mikata,
.contact_mikata {
    margin: 10px 0;
    font-size: 14px;
    text-align: left;
    /* 左寄せ */
}

/* 木の良さ　グラフ */
.image-container_goodwood {
    display: flex;
    /* 横並びにするためのフレックスボックス */
    justify-content: space-around;
    /* 画像の間隔を均等に */
    margin-left: 10px;
}

.image-container_goodwood img {
    /* width: 50%; /* 画像の幅を50%に設定 */
}

.image-container_goodwood2 {
    display: flex;
    /* 横並びにするためのフレックスボックス */
    justify-content: space-around;
    /* 画像の間隔を均等に */
}

.image-container_goodwood2 img {
    /* width: 50%; /* 画像の幅を50%に設定 */
}

.content_wood {
    margin-top: 40px;
    margin-bottom: 70px;
}

.box_graph {
    margin-top: 40px;
    margin-bottom: 20px;
    flex-basis: 50%;
    margin-left: 15px
}

.title_grp {
    font-size: 15px;
    text-align: center;
    margin-bottom: 5px;
}

.note {
    font-size: 0.9em;
    color: #555;
    text-align: center;
    margin-top: 10px;
}

.house_make {
    display: flex;
    gap: 40px;
    margin: 30px auto;
    /* 上下のマージンを設定し、自動で左右を中央揃え */
    width: 80%;
    /* 幅を設定 */
    justify-content: center;
    /* アイテムを中央に配置 */
}

.house_make2 {
    display: flex;
    gap: 40px;
    margin: 50px auto;
    /* 上下のマージンを設定し、自動で左右を中央揃え */
    width: 80%;
    /* 幅を設定 */
    max-width: 1000px;
    /* 最大幅を設定 */
    justify-content: center;
    /* アイテムを中央に配置 */
}

/* テーブル */
.wp-block-table td:first-child {
    /* background-color: #D9D9D9 !important; */
}

/* Fさんのこだわり */
.kodawari {
    display: flex;
    align-items: center;
    /* 高さを中央揃え */
    justify-content: space-between;
    margin-bottom: 30px;
}

.kaigi {
    border-collapse: collapse;
    background-color: #fff;
    width: 400px;
    border: none;
}

.kaigi td {
    padding: 50px;
    /* 文字の周りに50pxの空白 */
    background-color: #fff;
    /* 背景色を追加 */
}

.arrow {
    margin: 0 40px;
    /* 矢印の左右の余白 */
    width: auto;
    height: 60px;
}

.ie_contents {
    width: 45%;
    /* 画像の幅を調整 */
    text-align: center;
}

/* Fさんのこだわり */
table {
    width: 100%;
    border-collapse: collapse;
    border: 2px solid black;
}

tbody>tr>th {
    background-color: var(--color-primary);
    color: white;
    border: 0 solid #000 !important;
    border-bottom: 1px solid #000 !important;
    border-right: 1px solid #000 !important;
}

thead {
    background-color: var(--color-gray-dark);
    border-bottom: 0px solid #000 !important;
}

figure.type-1.side-header-1 table tr td:first-child {
    background-color: #D9D9D9 !important;
}

.gray-cell {
    background-color: var(--color-gray) !important;
    /* 左側の列をグレーにする */
}

.white-cell {
    background-color: transparent !important;
    /* セルの背景を透明にする */
}

background-color: transparent !important;

/* スマホ表示用の縦積みテーブル */
.sp-table {
    border: solid 2px;
    border-bottom: unset;
    gap: unset;
}

.sp-table>div {
    gap: unset;
}

.sp-table p {
    padding: 0.5rem;
    border-bottom: solid 2px;
    font-size: 1.2rem;
}

.sp-table.sp-table-content-center p:not(.sp-table-header, .sp-table-main-header) {
    text-align: center;
}

.sp-table-head,
.sp-table-main-head {
    min-height: 3.2rem;
    line-height: 3.2rem;
    font-weight: bold;
    text-align: center;
}

.sp-table-head {
    background-color: var(--color-gray);
}

.sp-table-main-head {
    color: white;
    background-color: var(--color-primary);
}

.sp-table-main-head>span {
    font-size: 4rem;
    padding-right: 0.5rem;
}

/* dlリスト */
dl.items {
    height: 100%;
    background-color: var(--color-primary);
    border: solid 1px;

    div {
        display: flex;
        flex-flow: row;
        border-bottom: solid 1px;

        dt {
            width: var(--info-dt-width);
            padding-left: 0.6rem;
            color: white;
            background-color: var(--color-primary);
        }

        dd {
            width: calc(100% - var(--info-dt-width));
            padding: 0.2rem 0.8rem;
            background-color: var(--color-background);
        }
    }

    div:last-child {
        border-bottom: none;
    }

    div:nth-child(even)>dd {
        background-color: var(--color-gray);
    }
}

/* 画像リスト */
dl.img-items {
    display: flex;
    flex-flow: column;

    div {
        width: var(--flex-three-block-size);
        margin: 0 10px;

        img {
            height: 250px;
            width: 100%;
            object-fit: cover;
            object-position: center;
        }

        img,
        dt,
        dd {
            width: 100%;
        }

        dd {
            margin-bottom: 0.8rem;
        }
    }

    .company-info & {
        div {
            margin: 0;

            img {
                height: auto;
            }

            dd {
                margin-bottom: 1.2rem;
            }
        }
    }
}

dl.img-items.wrap {
    flex-flow: wrap;
}

/* 流れ・工程・手順等のステップ表示 */
div.step.type-1 {
    min-height: 170px;
    padding: 0.5rem;
}

div.step.type-1.last {
    min-height: unset;
}

div.step.type-2 {}

div.step.type-3,
div.step.type-4 {
    width: 100%;
    background-image: url('http://shinshu-kiraku.net/wp/wp-content/uploads/2024/09/back_nennrin.png');
    background-position: 100%;
}

div.step.type-3 p {
    width: 320px;
    font-size: 1.4rem;
}

.file-link-block {
    width: max-content;
    margin-left: 0 !important;
}

/* バリデーションメッセージをひとまとめにする */
.custom-error {
    & .wpcf7-not-valid-tip {
        display: none;
    }

    & .error-message {
        color: #dc3232;
        display: none;
    }

    &:has(.wpcf7-not-valid-tip) {
        & .error-message {
            display: block;
        }
    }
}

/* ********************************
*
*  トップ
*
*/
h3.top {
    width: 100%;
    justify-content: center;
    border: unset;
}

/* ********************************
*
*  知る
*
*/
.treemark {
    width: 30%;
}

.measurements span {
    margin-bottom: 0.5rem;
    /* スペースを追加 */
    margin-right: 50px;
}

.step-top {
    position: relative;
}

.good-point .label {
    padding: 0.25rem 1rem;
    color: white;
    background-color: var(--color-brack-light);
}

.characteristics-list img {
    height: 180px;
    margin-top: -12px;
    object-fit: none;
}

.mountain,
.step-arrow {
    position: relative;
}

.mountain::after,
.step-arrow::after {
    position: absolute;
}

.mountain::after {
    content: '① 山';
    top: 2%;
    right: 15%;
}

.step-arrow::after {
    content: '② 合板工場';
    bottom: 0;
    left: 236px;
}

/* 固定ページ　各コンテンツの下隙間　*/
.content_bottomspace {
    padding-bottom: 40px;
}

.yogo_jiten {
    font-weight: bold;
    font-size: 20px;
    color: #504E4E;
}

/* 矢印　*/
.next {
    margin-top: 20px;
    margin-bottom: 10px;
    text-align: center;
}

/* 大コンテンツ　*/
.content_block_big {
    margin-top: 20px;
}

.img_center_house {
    display: flex;
    justify-content: center;
    /* 横方向の中央配置 */
    align-items: center;
    /* 縦方向の中央配置 */
    max-width: 100%;
    /* 画面サイズに応じて画像を縮小 */
    height: auto;
    /* アスペクト比を維持 */
}

/* ********************************
*
*  つながる
*
*/

.appl-btn>a {
    font-size: 1.4rem;
    background-image: url(http://shinshu-kiraku.net/wp/wp-content/uploads/2025/06/pc_connect_form_icon.png);
    width: 70% !important;
    background-size: 90% auto;
    background-position: center center;
    width: 70% !important;

}

.rank-table td>span {
    line-height: 2.8rem;
    font-size: 2.8rem;
}

.rank-tabletbody>tr>td:not(:first-child) {
    vertical-align: top;
}

.industry-list .industry {
    align-self: stretch !important;
}

.industry-list .industry>div {
    height: 100%;
    min-width: 230px;
}

.industry-list .industry-name {
    align-items: center;
    margin-right: -1rem;
    padding: 0 .6rem;
}

.industry-list .industry-name p {
    font-size: 0.88rem !important;
}

.industry-list .contents {
    font-size: 0.8rem !important;
}

.file-label {
    margin-top: 0;
    margin-bottom: -1.2rem;

    span {
        margin: 0 0.8rem;
        font-size: 0.8rem;
        font-weight: bold;
    }
}

/* ********************************
*
*  探す
*
*/
/* 検索画面 */
.accordion {
    width: 870px;
}

.accordion-button {
    display: flex;
    flex-flow: row;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background-color: white;
    cursor: pointer;
}

.accordion-button p {
    margin: 0 auto 0 1rem;
}

.accordion-button span {
    margin-right: 0.6rem;
    font-weight: bold;
    color: var(--color-brown);
}

.accordion-button>.arrow {
    width: 2rem;
    height: auto;
}

.accordion.show .accordion-button>.arrow {
    transform: rotate(180deg);
}

.accordion-content {
    display: block grid;
    transition: grid-template-rows 0.5s, padding-top 0.5s, padding-bottom 0.5s;
    grid-template-rows: 0fr;
    padding-top: 0;
    padding-bottom: 0;
}

.accordion-content>* {
    overflow: hidden;
}

.accordion.show .accordion-content {
    grid-template-rows: 1fr;
    padding-top: 1.8rem;
    padding-bottom: 1.8rem;
}

.map {
    position: relative;
}

.map .area {
    position: absolute;
    top: 0;
    left: 0;
}

.map .area:not(.active) {
    display: none;
}

.map .click-point {
    position: absolute;
    width: 120px;
    height: 120px;
    line-height: 120px;
    color: white;
    font-size: 1.4rem;
    text-align: center;
    cursor: pointer;
    user-select: none;
}

.map .click-point.area-1 {
    top: 80px;
    right: 115px;
}

.map .click-point.area-2 {
    top: 270px;
    right: 75px;
}

.map .click-point.area-3 {
    top: 275px;
    left: 124px;
}

.map .click-point.area-4 {
    top: 535px;
    left: 170px;
}

.canvas {
    position: relative;
    width: max-content;
    margin: 0 auto !important;
}

.canvas .buttons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: auto;
}

.canvas .buttons .out-tab-button {
    position: absolute;
    display: flex;
    align-items: center;
    width: max-content;
    margin: 0 .25rem !important;
    padding: 0.25rem 1rem 0.25rem 0.5rem;
    background-color: var(--color-primary);
    border: solid 2px white;
    color: white;
    cursor: pointer;
}

.canvas .buttons .out-tab-button.active {
    background-color: var(--color-brown);
}

.canvas .buttons .out-tab-button.active>img {
    transform: rotate(90deg);
}

.canvas .buttons .out-tab-button.tab-1 {
    position: absolute;
    top: 44px;
    left: 12px;
}

.canvas .buttons .out-tab-button.tab-2 {
    position: absolute;
    top: 34px;
    left: 150px;
}

.canvas .buttons .out-tab-button.tab-3 {
    position: absolute;
    top: 255px;
    right: 87px;
}

.canvas .buttons .out-tab-button.tab-4 {
    position: absolute;
    bottom: 85px;
    right: 106px;
}

.canvas .buttons .out-tab-button.tab-5 {
    position: absolute;
    top: 138px;
    right: 114px;
}

.canvas .buttons .out-tab-button>p {
    margin-left: 1rem;
    font-size: 14px;
}

.click {
    background-color: #000;
    color: #fff;
    padding: 0.2rem;
    position: relative;
    top: 30px;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 510px;
}

.menu_nextpage {
    font-size: 20px !important;
    font-weight: 600;
    margin-top: 80px;
}

/* 検索結果 */
.companies .company {
    display: block;
    margin-bottom: 1rem;
    text-decoration: none;
}

.companies .company:hover {
    opacity: 0.7;
}

.companies .company>div {
    background-color: var(--color-secondary);
    border-radius: 10px;
    padding: 10px 20px;
}

.companies .company>div>* {
    margin-right: 0;
}

.companies .company .d-flex>.left {
    flex: 0 0 66%;
}

.companies .company .d-flex>.right {
    flex: 0 0 34%;
}

.companies .company .name {
    font-size: 22px;
}

.companies .company .area {
    font-weight: bold;
    margin-bottom: 4px;
}

.companies .company .tag {
    display: flex;
    align-items: center;
    margin-right: 10px;
    margin-bottom: 10px;
    padding-right: 16px;
    background-color: white;
    border: solid 1px;
    text-align: center;
}

.companies .company .tag:before {
    content: '';
    width: 10px;
    height: 100%;
    margin-right: 16px;
    background-color: var(--color-brown);
}

.companies .company img:not(.arrow) {
    width: 228px;
    height: 152px;
    margin-left: auto;
    margin-right: 8px;
    object-fit: cover;
}

.companies .company img.arrow {
    height: 28px;
    align-self: center;
    margin: 0 !important;
}

.companies .company .separater {
    margin-right: 8px;
    border-right: solid 4px var(--color-brown);
}

.pagination ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.pagination li {
    padding: 0 10px;
}

.pagination ul a:hover {
    opacity: 0.7;
}

.tab-group .tab:not(.active) {
    display: none;
}

/* 会社案内 */
.company-info {
    justify-content: space-between;
}

.company-info>* {
    margin-right: 0 !important;
}

.company-info dl.items {
    flex: 0 0 calc(100% - (var(--flex-three-block-size) + var(--flex-gap)));
}

.company-info dl.img-items {
    flex: 0 0 var(--flex-three-block-size);

    div {
        width: unset !important;
    }
}

/* 県産材紹介 */
.tab-buttons {
    display: flex;
    align-items: center;
    border-bottom: solid 4px var(--color-brown);
}

.tab-button {
    display: flex;
    align-items: center;
    margin: 0 .25rem !important;
    padding: 0.5rem 1.5rem 0.5rem 1rem;
    background-color: var(--color-primary);
    color: white;
    cursor: pointer;
}

.tab-button:hover {
    opacity: 0.7;
}

.tab-button.active {
    background-color: var(--color-brown);
}

.tab-button>p {
    margin-left: 1rem;
}

.tab-button.active>img {
    transform: rotate(90deg);
}

.tab h5 {
    width: 100%;
    padding: 0.25rem 0 0.25rem 1rem;
    border-bottom: solid 2px;
}

/* ********************************
*
*  お問い合わせ
*
*/
iframe {
    width: 100% !important;
}

.contact-form input {
    border-radius: 10px;
}

.contact-form p {
    margin-right: 10px;
}

.contact-form dd {
    margin-bottom: 1.6rem;
}

.bold-paragraph {
    font-size: 17px;
    font-weight: bold;
}

/* ********************************
*
*  サイトマップ
*
*/
.link-rows .wp-block-column-is-layout-flow:has(*) {
    padding-left: .5rem;
}

/* ********************************
*
*  問い合わせフォーム用 cf7__list
*
*/
.cf7__list {
    display: flex;
    flex-flow: column;
    margin-bottom: 3.2rem;
}

.cf7__list>div {
    display: flex;
    flex-flow: wrap;
    align-items: baseline;
    margin-bottom: 2rem;
}

.cf7__list dt:nth-of-type(n + 2),
.cf7__list dd:nth-of-type(n + 2) {
    margin-top: 0.5rem;
}

.cf7__list dd.flex>p {
    display: flex;
    align-items: center;
}

.cf7__list dd.flex>p>span:first-child {
    flex: 0 0 auto;
    margin-right: 0.5rem;
}

.cf7__list dd.flex>p>span:last-child {
    flex: 1 1 auto;
}

.cf7__list dt {
    width: 35%;
}

.cf7__list dd {
    width: 65%;
}

.cf7__required {
    float: right;
    margin-right: 1.4rem;
    padding-left: 1em;
    padding-right: 1em;
    color: white;
    background-color: var(--color-brown);
}

.cf7__optional {
    background: #878D8E;
}

.cf7-custom-block {
    margin-bottom: 2.8rem;
}

.cf7-custom-block .cf7-custom-block-label {
    padding: 0.25rem 0.5rem;
    color: white;
    background-color: var(--color-brown);
}

.cf7-custom-block>p {
    margin-bottom: 1.6rem;
}

/* input・textarea */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="number"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea,
.wpcf7-form .cf7__select select {
    padding: 15px 20px;
    background: var(--color-gray);
    border-radius: 10px;
}

.wpcf7-form textarea {
    width: 100%;
}

.cf7__list dd input[type="text"],
.cf7__list dd input[type="number"],
.cf7__list dd input[type="tel"],
.cf7__list dd input[type="email"],
.cf7__list dd textarea {
    width: 100%;
}

.cf7__list dd input[type="text"].sm,
.cf7__list dd input[type="number"].sm,
.cf7__list dd input[type="tel"].sm,
.cf7__list dd input[type="email"].sm {
    max-width: 250px;
}

.cf7__select {
    position: relative;
    width: auto;
    max-width: 250px;
}

.cf7__select:before {
    position: absolute;
    top: 50%;
    right: 20px;
    /* select の右端に配置 */
    z-index: 10;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 8px solid #000;
    /* 矢印のデザイン */
    border-right: 6px solid transparent;
    border-left: 6px solid transparent;
    pointer-events: none;
    content: '';
}

.cf7__select select {
    width: 100%;
    /* 親要素に合わせて100%幅を使用 */
    padding: 19px 40px 19px 20px;
    /* 右側にスペースを確保 */
    /*color: #a5a5a5; */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    box-sizing: border-box;
    /* パディングを含めて幅を調整 */
}

/* checkbox */
.wpcf7-checkbox .wpcf7-list-item {
    position: relative;
    height: 2.4rem;
    line-height: 2.4rem;

    input[type="checkbox"] {
        display: none;
    }

    .wpcf7-list-item-label {
        padding-left: 2.4rem;
        cursor: pointer;
    }

    .wpcf7-list-item-label::before {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        width: 24px;
        height: 24px;
        margin: auto;
        background-color: var(--color-gray);
        border: solid 1px;
    }

    .wpcf7-list-item-label::after {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        margin: auto;
    }

    .wpcf7-list-item-label:hover {
        opacity: 0.7;
    }

    input[type="checkbox"]:checked+.wpcf7-list-item-label {}

    input[type="checkbox"]:checked+.wpcf7-list-item-label::before {}

    input[type="checkbox"]:checked+.wpcf7-list-item-label::after {
        top: 0;
        bottom: 2px;
        left: 5px;
        width: 14px;
        height: 8px;
        margin: auto;
        box-sizing: border-box;
        transform: rotate(-45deg);
        border-bottom: 2px solid;
        border-left: 2px solid;
    }
}

.wpcf7-checkbox .wpcf7-list-item.first {
    margin-left: 0;
}

/* 変更不可チェックボックス */
.wpcf7-checkbox.required {
    pointer-events: none;
    opacity: 0.5;
}

/* radio */
.wpcf7-radio .wpcf7-list-item {
    position: relative;
    height: 2.4rem;
    line-height: 2.4rem;

    input[type="radio"] {
        display: none;
    }

    .wpcf7-list-item-label {
        padding-left: 2.4rem;
        cursor: pointer;
    }

    .wpcf7-list-item-label::before {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        width: 28px;
        height: 28px;
        margin: auto;
        background-color: var(--color-gray);
        border: solid 1px;
        border-radius: 14px;
    }

    .wpcf7-list-item-label::after {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        margin: auto;
    }

    .wpcf7-list-item-label:hover {
        opacity: 0.7;
    }

    input[type="radio"]:checked+.wpcf7-list-item-label {}

    input[type="radio"]:checked+.wpcf7-list-item-label::before {}

    input[type="radio"]:checked+.wpcf7-list-item-label::after {
        top: 0;
        bottom: 0;
        left: 6px;
        width: 16px;
        height: 16px;
        margin: auto;
        box-sizing: border-box;
        border-radius: 8px;
        background-color: var(--color-brown);
    }
}

.wpcf7-radio .wpcf7-list-item.first {
    margin-left: 0;
}

/* 送信ボタン */
.cf7__button input[type="submit"] {
    display: block;
    width: 470px;
    height: 70px;
    margin: 0 auto;
    background: var(--color-primary);
    font-size: 1.6rem;
    color: white;
    border-radius: 10px;
    transition: opacity .6s;
}

.cf7__button input[type="submit"]:hover {
    opacity: .6;
}

/* ajax-loader */
.wpcf7-spinner {
    vertical-align: middle;
}

.wpcf7-response-output {
    font-size: 1.4rem;
    padding: 1rem;
    border-width: 4px;
    border-radius: 10px;
}

/* ********************************
*
*  その他
*
*/
/* スライドショー関連 */
.slide-show {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.slide-show img.bg {
    object-fit: cover;
    width: 100%;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
}

.slide-show img.msg {
    width: 90%;
    height: 100vh;
    object-fit: contain;
    position: absolute;
    opacity: 0;
    left: 50%;
    transform: translateX(-50%);
}

.slide-animation {
    animation-fill-mode: both;
}

/* 固定ページリンク用 */
.custom-menu-link {
    text-indent: 1em;
}

.fixation-menu-link {
    font-size: 13px;
    font-weight: bold;
}

.hamburger-margin {
    margin: 20px !important;
}

.hamburger-padding {
    padding-left: 13px;
}

.mobile-hamburger {
    padding-bottom: 20px;
    padding-right: 20px;
}

.form-required {
    font-size: 0.8em;
    padding: 3px;
    background: #cc0000;
    color: #ffffff;
    border-radius: 2px;
    margin-right: 10px;
    margin-bottom: 2px;
    display: inline-block;
}

/* アニメーション */
@keyframes fadeOut {
    0% {
        opacity: 1;
        /*初めに存在する*/
        transform: scale(1);
    }

    75% {
        opacity: 1;
        /*初めに存在する*/
        transform: scale(1.15);
    }

    100% {
        opacity: 0;
        /*最後に消える*/
        transform: scale(1.2);
    }
}

@keyframes fadeKeep {
    0% {
        opacity: 1;
        /*初めに存在する*/
        transform: scale(1);
    }

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

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/* ********************************
*
*  Responsive: PC
幅が768ピクセル以上のとき
*
*/
/* ********************************

	*
	*/
@media (min-width: 768px) {
    .box_graph {
        margin-top: 40px;
        margin-bottom: 20px;
        flex-basis: 50%;
        margin-left: 15px
    }

    /* w.add */
    .wp-block-site-logo img {
        height: auto;
        max-width: 100%;
        margin: 10px 0 20px 0;
    }

    .arrow_sh {
        display: none;
    }

    .img_center_fukidashi {
        display: flex;
        /* フレックスボックスを使用 */
        justify-content: center;
        /* 水平方向に中央揃え */
    }

    .img_center_fukidashi_sh {
        display: none;
    }

    .img_center_sh {
        display: none;
    }

    .measurements {
        display: flex;
        /* 横並びにする */
    }

    h2:after {
        content: "";
        height: 0;
        flex-grow: 1;
        margin-left: 6em;
        border-bottom: 1px solid white;
        text-align: right;
    }

    .pc-d-none {
        display: none !important;
    }

    .pc-m-auto {
        margin: 0 auto;
    }

    div.step {
        width: 870px;
    }

    .header-left {
        position: fixed;
        top: 0;
        left: 0;
        width: var(--left-width);
        height: 100vh;
        z-index: 100;
    }

    .main-content {
        width: calc(100vh - var(--right-width) - var(--left-width));
        margin-left: var(--left-width) !important;
        margin-right: var(--right-width) !important;
    }

    .header-right {
        position: fixed;
        top: 0;
        right: 0;
        width: var(--right-width);
        height: 100vh;
        z-index: 100;
    }

    nav.pc-header-left-menu {
        border-left: 3px solid black;
        margin-left: 13px;
        padding-left: 7px;
        padding-top: 180px;
    }

    .pc-header-left-menu_ {
        font-weight: 600;
    }

    .header-left-container {
        display: flex;
        justify-content: space-between;
        height: 100%;
    }

    .header-right-container {
        display: flex;
        justify-content: space-between;
        height: 100%;
    }

    footer details summary {
        pointer-events: none;
    }

    footer summary {
        list-style: none;
        /* Firefox対応 */
        background-color: white;
        /* 背景色を白に設定 */
        border: 1px solid #ccc;
        /* 境界線を追加（オプション） */
        color: black;
        /* 文字色を黒に設定 */
        display: inline-block;
        /* テキストの幅に背景色を合わせる */
        width: 150px;
        /* 幅をピクセルで固定 */
        padding-left: 0.5em;
        /* 左に半角スペース3つ分 */
        padding-right: 0.5em;
        /* 右に半角スペース3つ分 */
        white-space: nowrap;
        /* テキストを折り返さない */
        text-align: center;
        font-family: "T 明朝", serif;
        font-weight: 700;
        /* フォントをボールドにする */
        font-size: 28px;
        color: #716D6D;
        padding-top: 3px;
    }

    .padding-start {
        padding-left: 40px;
    }

    .link-rows .wp-block-column-is-layout-flow:has(*) {
        border-left: solid 1px;
    }

    .cotainer_lca_3,
    .cotainer_lca_2 {
        width: 900px;
    }

    /* テーブル系 */
    figure.type-1.stripe,
    figure.type-2.stripe {
        table tr:nth-child(2n) td {
            background-color: var(--color-gray);
        }
    }

    figure.type-1.side-header-2 {
        table tr td:first-child {
            color: white;
            border-color: black;
            background-color: var(--color-brown-dark) !important;
        }
    }

    figure.type-1.side-header-2.side-header-size-1 {
        table tr td:first-child {
            width: 134px;
        }
    }

    figure.type-2 {
        td:not(:first-child) {
            width: 60px;
            text-align: center;
        }

        td span {
            display: inline-block;
            width: 80px;
        }
    }

    /* ********************************
	*
	*  知る
	*
	*/
    .factories-link {
        margin-left: 2.4rem !important;
    }

    .after-step {
        width: 870px;
    }

    /* ********************************
	*
	*  問い合わせ
	*
	*/
    .contact-form {
        padding: 3.2rem 3.2rem 0;
    }

    /* ********************************
	*
	*  問い合わせフォーム用 cf7__list
	*
	*/
    .recommend {
        width: 250px;
    }

    .img_center_house {
        text-align: center;
        /* Center the image */
    }

    .img_center img {
        max-width: 100%;
        /* Ensure the image scales down */
        height: auto;
        /* Maintain aspect ratio */
    }
}

/* ********************************
*
*  Responsive: Tablet
*幅768ピクセル以上991ピクセル以下のデバイス
*/
@media (min-width:768px) and (max-width:991px) {
    :root {
        --wp--style--global--content-size: 980px;
    }

    .header-left,
    .header-right {
        display: none !important;
    }

    .sp-header {
        padding-left: 1rem;
    }

    .main-content {
        width: 100%;
        margin: 0 !important;
    }

    div.step,
    .after-step,
    .accordion {
        width: 100%;
    }

}

/* ********************************
*
*  Responsive: PC
幅が1370ピクセル以上
*
*/
/* ********************************

	*
	*/
@media (min-width: 1370px) {
    .house_sh {
        display: none;
    }
}

/* ********************************
*
*  Responsive: PC
幅が1370ピクセル以下
*/
@media (max-width: 1370px) {
    .table_title {
        font-weight: bold;
        font-size: 18px;
        position: relative;
        z-index: 1;
        margin-right: 10px;
        margin-left: 10px;
        margin-bottom: 10px;
        text-align: center;
    }

    .treemark {
        width: 100%;
    }

    .image-container_housemake_mikata {
        display: flex;
        /* Flexboxを使用 */
        flex-direction: column;
        /* 縦並びに設定 */
        width: 80%;
        /* 幅を80%に設定 */
        align-items: center;
        /* 中央揃え */
        margin-left: 40px;
    }

    .image-container_housemake_mikata>* {
        margin-bottom: 10px;
        /* 各コンテンツの下に10pxの隙間を追加 */
    }

    .illustration img {
        width: 60%;
        /* イラストのサイズを調整 */
        max-width: 400px;
        /* 最大幅を設定 */
        margin-top: 10px;
        margin-bottom: 10px;
        display: block;
        margin-left: auto;
        /* 左のマージンを自動に設定 */
        margin-right: auto;
        /* 右のマージンを自動に設定 */
    }

    .text {
        background-color: #d9d9d9;
    }

    .table_title {
        padding-top: 10px;
        font-size: 18px;
        font-weight: bold;
        height: 55px;
    }

    .box_graph {
        margin-top: 40px;
        margin-bottom: 20px;
        flex-basis: 50%;
        margin-left: 0;
    }

    .house_maker2_sh {
        width: 100%;
        border-collapse: collapse;
        margin: 20px 0;
        border-left: none;
        /* 縦線を非表示にする */
        border-right: none;
        /* 縦線を非表示にする */
    }

    .house_maker2_sh th,
    .house_maker2_sh td {
        border-bottom: 1px solid #000;
        padding: 8px;
        text-align: left;
    }

    .house_maker2_sh tr:first-child td {
        border-top: 2px solid #000;
        /* 一番上の行を2ピクセル */
    }

    .house_maker2_sh tr:last-child td {
        border-bottom: 2px solid #000;
        /* 一番下の線を2ピクセル */
    }

    .house_maker2_sh td:first-child {
        padding: 10px;
        /* パディング */
        text-align: left;
        /* 左揃え */
        background-color: #D9D9D9;
        /* 左の列にグレー背景 */
    }

    .content_housemake {
        justify-content: left;
        margin-left: 0;
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .table_house {
        display: none;
    }

    .table_house_sh {}

    .house_sh {
        border-top: 1px solid #000;
        /* 上のライン */
        border-bottom: 1px solid #000;
        /* 下のライン */
    }

    .number-image_0_15_sh {
        position: absolute;
        width: 65px;
        /* bottom: 0; */
        left: 10px;
        z-index: 0;
        /* top: 1px; */
        margin-top: 4px;
    }

    .number-image_0_14_sh {
        position: absolute;
        width: 65px;
        /* bottom: 0; */
        left: 10px;
        z-index: 0;
        /* top: 1px; */
        margin-top: 5px;
    }

    .number-image_0_13_sh {
        position: absolute;
        width: 65px;
        /* bottom: 0; */
        left: 10px;
        z-index: 0;
        /* top: 1px; */
        margin-top: 3px;
    }

    .number-image_0_12_sh {
        position: absolute;
        width: 65px;
        /* bottom: 0; */
        left: 10px;
        z-index: 0;
        /* top: 1px; */
        margin-top: 5px;
    }

    .number-image_0_11_sh {
        position: absolute;
        width: 65px;
        /* bottom: 0; */
        left: 10px;
        z-index: 0;
        /* top: 1px; */
        margin-top: 3px;
    }

    .number-image_0_10_sh {
        position: absolute;
        width: 65px;
        /* bottom: 0; */
        left: 10px;
        z-index: 0;
        /* top: 1px; */
        margin-top: 4px;
    }

    .number-image_0_9_sh {
        position: absolute;
        width: 35px;
        /* bottom: 0; */
        left: 10px;
        z-index: 0;
        /* top: 1px; */
        margin-top: 4px;
    }

    .number-image_0_8_sh {
        position: absolute;
        width: 35px;
        /* bottom: 0; */
        left: 10px;
        z-index: 0;
        /* top: 1px; */
        margin-top: 4px;
    }

    .number-image_0_7_sh {
        position: absolute;
        width: 35px;
        /* bottom: 0; */
        left: 10px;
        z-index: 0;
        /* top: 1px; */
        margin-top: 7px;
    }

    .number-image_0_6_sh {
        position: absolute;
        width: 35px;
        /* bottom: 0; */
        left: 10px;
        z-index: 0;
        /* top: 1px; */
        margin-top: 6px;
    }

    .number-image_0_5_sh {
        position: absolute;
        width: 35px;
        /* bottom: 0; */
        left: 10px;
        z-index: 0;
        /* top: 1px; */
        margin-top: 4px;
    }

    .number-image_0_4_sh {
        position: absolute;
        width: 35px;
        /* bottom: 0; */
        left: 10px;
        z-index: 0;
        /* top: 1px; */
        margin-top: 10px;
    }

    .number-image_0_3_sh {
        position: absolute;
        width: 35px;
        /* bottom: 0; */
        left: 10px;
        z-index: 0;
        /* top: 1px; */
        margin-top: 6px;
    }

    .number-image_0_2_sh {
        position: absolute;
        width: 35px;
        /* bottom: 0; */
        left: 10px;
        z-index: 0;
        /* top: 1px; */
        margin-top: 4px;
    }

    .number-image_0_sh {
        position: absolute;
        width: 35px;
        /* bottom: 0; */
        left: 10px;
        z-index: 0;
        top: 7px;
    }

    .content {
        text-align: center;
        /* 中央揃え */
        margin: 20px;
        /* マージンを追加 */
    }

    .illustration img {
        width: 50%;
        /* イラストのサイズを調整 */
        max-width: 400px;
        /* 最大幅を設定 */
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .illustration2 img {
        width: 30%;
        /* イラストのサイズを調整 */
        max-width: 400px;
        /* 最大幅を設定 */
        margin-top: 10px;
        margin-bottom: 10px;
        display: block;
        /* ブロック要素として表示 */
        margin-left: auto;
        /* 左のマージンを自動に設定 */
        margin-right: auto;
        /* 右のマージンを自動に設定 */
    }

    .illustration3 img {
        width: 90%;
        /* イラストのサイズを調整 */
        max-width: 400px;
        /* 最大幅を設定 */
        margin-top: 10px;
        margin-bottom: 10px;
        display: block;
        /* ブロック要素として表示 */
        margin-left: auto;
        /* 左のマージンを自動に設定 */
        margin-right: auto;
        /* 右のマージンを自動に設定 */
    }

    .illustration4 img {
        width: 100%;
        /* イラストのサイズを調整 */
        max-width: 400px;
        /* 最大幅を設定 */
        margin-top: 10px;
        margin-bottom: 10px;
        display: block;
        /* ブロック要素として表示 */
        margin-left: auto;
        /* 左のマージンを自動に設定 */
        margin-right: auto;
        /* 右のマージンを自動に設定 */
    }

    .illustration5 img {
        width: 60%;
        /* イラストのサイズを調整 */
        max-width: 400px;
        /* 最大幅を設定 */
        margin-top: 10px;
        margin-bottom: 10px;
        display: block;
        /* ブロック要素として表示 */
        margin-left: auto;
        /* 左のマージンを自動に設定 */
        margin-right: auto;
        /* 右のマージンを自動に設定 */
    }

    .illustration6 img {
        width: 80%;
        /* イラストのサイズを調整 */
        max-width: 400px;
        /* 最大幅を設定 */
        margin-top: 10px;
        margin-bottom: 10px;
        display: block;
        /* ブロック要素として表示 */
        margin-left: auto;
        /* 左のマージンを自動に設定 */
        margin-right: auto;
        /* 右のマージンを自動に設定 */
    }

    .illustration7 img {
        width: 70%;
        /* イラストのサイズを調整 */
        max-width: 400px;
        /* 最大幅を設定 */
        margin-top: 10px;
        margin-bottom: 10px;
        display: block;
        /* ブロック要素として表示 */
        margin-left: auto;
        /* 左のマージンを自動に設定 */
        margin-right: auto;
        /* 右のマージンを自動に設定 */
    }

    .ie_txt {
        text-align: left !important;
        font-size: 17px;
    }

    .table_title {
        font-weight: bold;
        font-size: 18px;
        position: relative;
        z-index: 1;
        margin-right: 10px;
        margin-left: 10px;
        margin-bottom: 10px;
        text-align: center;
    }
}

/* ********************************
*
*  Responsive: Mobile
幅が767ピクセル以下のデバイス
*/
@media (max-width: 767px) {

    .wp-block-navigation.no-wrap {
        --navigation-layout-wrap: unset;
    }

    .wp-container-core-group-is-layout-cda5bfa6 {
        flex-wrap: nowrap;
        gap: 0;
    }

    .wp-block-image img {
        box-sizing: border-box;
        height: auto;
        max-width: 100%;
        vertical-align: bottom;
        width: 100%;
    }

    .wp-image-99 {
        width: 80% !important;
    }

    .wp-block-image_2 img {
        box-sizing: border-box;
        height: auto;
        max-width: 100%;
        vertical-align: bottom;
        width: 50%;
    }

    .kaigi {
        border-collapse: collapse;
        background-color: #fff;
        width: 100%;
        border: none;
    }

    .table_title {
        font-weight: bold;
        font-size: 16px;
        position: relative;
        z-index: 1;
        margin-right: 10px;
        margin-left: 10px;
        margin-bottom: 10px;
        text-align: center;
    }

    .mikata_contents img {
        width: 80%;
    }

    .container_lca img {
        max-width: 100%;
        height: auto;
        margin-right: 30px;
        margin-top: 10px;
    }

    :root :where(.is-layout-flex) {}

    html :where([style*="border-bottom-width"]) {
        border-bottom-style: none;
    }

    .tab-button {
        display: flex;
        align-items: center;
        margin: 0 .25rem !important;
        padding: 0.5rem 1.5rem 0.5rem 1rem;
        background-color: var(--color-primary);
        color: white;
        cursor: pointer;
        width: 80%;
    }

    div.step.type-3,
    div.step.type-4 {
        width: 100%;
        background-image: url('http://shinshu-kiraku.net/wp/wp-content/uploads/2024/09/back_nennrin.png');
        background-position: 100%;
        display: none;
    }

    .click {
        background-color: #000;
        color: #fff;
        padding: 0.2rem;
        position: relative;
        top: 30px;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
        width: 100%;
    }

    .goban_tokusei.is-layout-grid {
        /* 必要に応じてここにスタイルを追加 */
        margin-block-end: 0;
        /* 例: マージンをリセット */
        display: block;
    }

    .lineup_goban {
        display: none;
    }

    .mark_sinsyu {
        width: 100%;
    }

    .brd_mark {
        font-size: 17px;
        line-height: 170%;
    }

    .ninsyokojo {
        display: none;
    }

    .ie_contents {
        width: 100%;
        text-align: center;
    }

    .arrow_sh {
        display: block;
        margin: 0 auto;
        margin-right: auto;
        margin-left: auto;
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .kodawari {
        display: block;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 30px;
    }

    .house_maker {
        width: 100%;
        border-collapse: collapse;
        margin: 20px 0;
        border-left: none;
        border-right: none;
    }

    .arrow {
        margin: 0;
    }

    .img_center_house {
        display: none;
    }

    .img_center_fukidashi {
        display: none;
    }

    .table_house {
        overflow: hidden;
        max-width: 600px;
        margin: auto;
    }

    .left-section {
        padding: 20px;
        background-color: #e9ecef;
        text-align: center;
    }

    .content_housemake {
        font-size: 18px;
    }

    .image-container_housemake {
        text-align: center;
        padding: 20px;
    }

    .image-container_housemake img {
        max-width: 100%;
        height: auto;
    }

    .kodawari {
        align-items: center;
        justify-content: space-between;
        margin-bottom: 30px;
    }

    .house_make {
        display: block;
        gap: 40px;
        width: 80%;
        max-width: 800px;
        justify-content: center;
    }

    .measurements {
        display: flex;
        flex-direction: column;
        /* 縦に配置 */
    }

    :root {
        --flex-three-block-size: 100%;
        --info-dt-width: 8rem;
    }

    .image-container_goodwood2 {
        display: block;
    }

    .wp-image-303 {
        width: 100%;
        /* 幅を100%に設定 */
        height: auto;
        /* 高さを自動で調整 */
    }

    .wp-image-304 {
        width: 40%;
        /* 幅を100%に設定 */
        height: auto;
        /* 高さを自動で調整 */
    }

    .wp-block-column.is-layout-flow.wp-block-column-is-layout-flow {
        margin-left: 0px !important;
    }

    .container_lca {
        align-items: flex-end;
        margin-bottom: 20px;
        display: block;
    }

    .hiketu {
        width: 100%;
        border-collapse: collapse;
        background-color: white;
        border-top: 2px solid black;
        border-bottom: 2px solid black;
        border-left: none;
        border-right: none;
    }

    .title_grp {
        font-size: 15px;
        text-align: center;
        margin-bottom: 5px;
        margin-top: 20px;
    }

    .image-container_goodwood {
        display: block;
        justify-content: center;
        /* 中央に配置 */
        margin-left: auto;
        /* 自動マージン */
        margin-right: auto;
        /* 自動マージン */
    }

    /* w.add */
    .slide-show {
        height: 60vh;
        top: -40px;
    }

    .slide-show img.msg {
        height: auto;
        top: 10%;
    }

    .company-info dl.img-items {
        margin-top: 2rem;
    }

    .ken-check .checkbox {
        width: 70px;
    }

    .ken-check .checkbox {
        label {
            padding-left: 1.8rem;
        }
    }


    .sp-flex-row-reverse {
        flex-direction: row-reverse;
    }

    .map .click-point {
        font-size: 1rem;
    }

    .map .click-point.area-1 {
        top: 10px;
        right: 25px;
    }

    .map .click-point.area-2 {
        top: 80px;
        left: 100px;
    }

    .map .click-point.area-3 {
        top: 80px;
        left: 20px;
    }

    .map .click-point.area-4 {
        top: 200px;
        left: 40px;
    }

    .map-nagano {
        width: 220px;
    }

    /* ********************************
	*
	*  共通
	*
	*/
    html {
        h2 {
            width: 100%;
            margin-bottom: 1rem !important;
            padding: 1rem;
        }

        h3 {
            margin-block-start: 2.4rem !important;
            margin-bottom: 10px !important;
        }
    }

    .sp-w-100 {
        width: 100% !important;
    }

    .sp-d-flex {
        display: flex;
    }

    .sp-d-none {
        flex-direction: column;
        /* 縦並びに設定 */
        width: 100%;
        /* 幅を100%に設定 */
        margin-bottom: 10px;
    }

    body .is-layout-grid2 {
        display: block;
        /* margin-bottom: 100px; */
    }

    body .is-layout-grid {
        display: none;
        margin-bottom: 100px;
    }

    .is-layout-grid> :is(*, div) {
        margin: 0;
        margin-bottom: 20px !important;
    }

    .sp-flex-column {
        flex-direction: column;
    }

    .sp-flex-column-reverse {
        flex-direction: column-reverse;
    }

    .sp-text-center {
        text-align: center !important;
    }

    .sp-align-items-center {
        align-items: center !important;
    }

    footer summary {
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: relative;
        padding: 1em 2em;
        color: #333333;
        font-weight: 600;
        cursor: pointer;
        background-color: white;
        /* 背景色を白に設定 */
        border-radius: 5px;
        /* 角を少し丸める */
        font-family: "T 明朝", serif;
        font-size: 20px;
    }

    footer summary::after {
        content: "+";
        /* 初期状態で+を表示 */
    }

    footer details[open] summary::after {
        content: "-";
        /* 開かれた状態では-を表示 */
    }

    .header-left,
    .header-right {
        display: none;
    }

    .btn {
        width: 100%;
        padding: 1.2rem;
        font-size: 1.4rem;
    }

    .btn>img {
        width: 1.8rem;
        height: 1.8rem;
    }

    .checkbox {
        margin-bottom: .5rem;
    }

    .sp-header {
        padding-left: 1rem;
        padding-top: 10px;
        position: fixed;
        /* ヘッダーを固定 */
        top: 0;
        /* 上部に配置 */
        left: 0;
        /* 左端に配置 */
        width: 100%;
        /* 幅を100%に設定 */
        z-index: 1000;
        /* 他の要素の上に表示 */
        background-color: #fff;
    }

    .site-container_sh {
        margin-top: 170px;
        /* 上部に170pxの隙間を追加 */
    }

    .contact-btn {
        width: 100%;
    }

    .file-link-block {
        width: 100% !important;
    }

    .file-link-block img {
        width: 64px;
    }

    p.position-relative>strong {
        position: absolute;
        left: 0;
        right: 0;
        margin: auto;
        width: max-content;
    }

    div.step.type-1 {
        position: relative;
        flex-flow: wrap;
        justify-content: center;
        padding: 1rem;
        margin-bottom: 10px;
        margin-top: 10px;
    }

    div.step.type-1 .number {
        position: absolute;
        top: 2rem;
        left: 2rem;
    }

    div.step.type-1 .number>img {
        width: 70%;
    }

    div.step.type-1 .wp-block-image {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    div.step.type-1 img {
        display: block;
        width: 80%;
        margin: 0 0 0 auto;
    }

    div.step.type-1.last {
        width: 100%;
    }

    div.step.type-1.last>div {
        flex-flow: column-reverse;
    }

    div.step.type-1.last p {
        text-align: center;
        font-size: 1.6rem !important;
    }

    div.step.type-1.last img {
        text-align: center;
        margin: auto;
    }

    div.step.type-2 {
        padding: 1.6rem !important;
        margin-top: 10px;
        margin-bottom: 10px;
    }

    div.step.type-2 img {
        width: 100%;
    }

    dl.img-items div {
        margin-bottom: 1.4rem;
    }

    /* テーブル系 */
    table {
        font-size: 1rem;
    }

    figure.type-1>table {

        thead,
        tbody,
        th,
        td,
        tr {
            display: block;
        }

        /* ヘッダー行を非表示 */
        thead tr {
            display: none;
        }

        td.side-header {
            text-align: center !important;
        }

        /* 各セルにラベルを追加 */
        td {
            position: relative;
            padding: 0.5rem !important;
            border-top: 0px solid #000 !important;
            text-align: center;
        }

        /* ラベルのスタイル */
        td:before {
            content: attr(data-label);
            /* data-label属性を使用 */
            position: absolute;
            left: 0;
            width: 50%;
            padding-left: 10px;
            font-weight: bold;
        }
    }

    figure.type-1.side-header-1 {
        table tr td:first-child {
            display: flex;
            align-items: center;
            justify-content: center;
            height: 3.2rem;
        }
    }

    figure.type-1.body-text-center {
        text-align: center;
    }

    figure.type-1.body-text-left {
        text-align: left;
    }

    /* ********************************
	*
	*  知る
	*
	*/
    .treemark {}

    .major_woods .sp-center>* {
        float: unset;
        margin: 0 auto;
        text-align: center;
    }

    .good-point .label,
    .good-point>div,
    .good-point>p {
        width: 100%;
    }

    .good-point .label {
        text-align: center;
    }

    .good-point>div {
        flex-direction: column;
        align-items: center;
        margin-top: 20px;
    }

    .sp-none {
        display: none !important;
    }

    .wpcf7-checkbox.sp-d-flex {
        flex-direction: column;

        .wpcf7-list-item {
            margin-left: 0 !important;
        }
    }

    .wpcf7-radio.sp-d-flex {
        flex-direction: column;

        .wpcf7-list-item {
            margin-left: 0 !important;
        }
    }

    .file-label span {
        margin: 0 0.35rem !important;
    }

    .industry-list .industry-name {
        border-bottom-style: solid !important;
    }

    .appl-btn>a {
        background-image: url('http://shinshu-kiraku.net/wp/wp-content/uploads/2025/06/sp_connect_form_icon-1.png');
        font-size: 1rem;
        width: 100% !important;
        background-position: center center;
        padding: 20px 0 !important;
    }

    h3.top {
        margin: 0 !important;
        padding: 0 !important;
        font-size: 26px;
    }

    .wp-block-cover__image-background {
        object-fit: fill !important;
    }
	
	    .wpcf7-checkbox.sp-d-flex {
        flex-direction: column;

        .wpcf7-list-item {
            margin-left: 0 !important;
        }
    }

    .wpcf7-radio.sp-d-flex {
        flex-direction: column;

        .wpcf7-list-item {
            margin-left: 0 !important;
        }
    }
	
	td.break-link{
        display: block !important;
        height: auto !important;
	}
	  td.break-link > a {
    display: block;
    margin-top: 0.3em;
  }

}

.strength-grade figure {
    margin-top: 0 !important;
}

.strength-grade p {
    margin-bottom: 0.5rem;
}

.strength-grade tr,
.strength-grade td {
    display: block;
    padding: 0 !important;
}

.strength-grade tr {
    margin-bottom: 0.5rem;
}

.factories-link {
    font-size: 1.4rem;
}

.step-arrow::after {
    left: 5%;
}

.kaiteki {
    width: 100%;
    border-collapse: collapse;
}

.kaiteki th,
.kaiteki td {
    padding: 8px;
    text-align: center;
    border-top: 1px solid black;
    /* 上のみ線を残す */
}

.kaiteki th {
    background-color: #D9D9D9;
    /* 濃いグレー */
    color: black;
    /* テキストカラーを黒に */
}

.kaiteki tr:nth-child(1) th {
    background-color: #D9D9D9;
    /* 濃いグレー */
    color: black;
    /* テキストカラーを黒に */
}

.kaiteki tr:nth-child(2) td {
    background-color: #D9D9D9;
    /* 濃いグレー */
    color: black;
    /* テキストカラーを黒に */
    border-top: 2px solid white;
    /* 上から2本目の線を白色 */
}

.kaiteki tr td:first-child {
    text-align: left;
    /* 最初の列は左寄せ */
}

/* 不眠を訴えている入居者の下にライン */
.kaiteki tr:last-child td {
    border-bottom: 2px solid black;
    /* 下に太いライン */
}

/* ********************************
	*
	*  つながる
	*
	*/
.industry-list {
    margin-bottom: 4rem !important;
}

.industry-list .industry>div {
    padding: 1.4rem !important;
    padding-top: unset !important;
}

.industry-list .industry-name {
    height: auto;
    margin-right: 0;
}

.industry-list .industry-name p {
    font-size: 1.2rem !important;
}

.industry-list .industry-name .wp-block-image {
    align-self: end;
}

.industry-list .industry-name img {
    width: auto;
    max-width: unset;
    height: 3.2rem;
}

.industry-list .industry>div>.wp-block-image,
.industry-list .industry>div>.wp-block-image>img {
    width: 100%;
}

.industry-list .contents {
    font-size: 1rem !important;
}

.appl-btn {
    text-align: center;
    width: 100% !important;
}

.file-label span {
    margin: 0 0.8rem;
}

/* ********************************
	*
	*  つながる
	*
	*/
.accordion {
    width: 100%;
}

/* .accordion .map {
  display: none;
} */
.search-option-icon {
    margin: 0.6rem 0;
}

.search-option-text {
    font-size: 1.6rem;
    font-weight: normal;
    font-family: "T 明朝", serif;
}

.canvas {
    width: 100%;
}

.canvas .buttons .out-tab-button.tab-1 {
    top: 8%;
    left: 0;
    right: 50%;
    margin: auto !important;
}

.canvas .buttons .out-tab-button.tab-2 {
    top: 6%;
    left: 50%;
    right: 20%;
    margin: auto !important;
}

.canvas .buttons .out-tab-button.tab-3 {
    top: 48%;
    left: 15%;
    right: 0;
    margin: auto !important;
}

.canvas .buttons .out-tab-button.tab-4 {
    bottom: 16%;
    left: 12%;
    right: 0;
    margin: auto !important;
}

.canvas .buttons .out-tab-button.tab-5 {
    top: 26%;
    left: 10%;
    right: 0;
    margin: auto !important;
}

.pagination {
    font-size: 1.2rem;
}

.companies .company>div {
    padding: 20px;
}

.companies .company img:not(.arrow) {
    margin-left: 0;
}



/* ********************************
	*
	*  問い合わせフォーム用 cf7__list
	*
	*/
.cf7__required {
    margin-right: 0 !important;
}

.cf7__list dt {
    width: 100%;
    margin-bottom: 15px;
    padding-top: 0;
}

.cf7__list dd {
    width: 100%;
}

.cf7__list dd:nth-of-type(n + 2) {
    margin-top: 0;
}

.cf7__list dd .wpcf7-checkbox,
.cf7__list dd .wpcf7-radio {
    padding: 15px 0 0;
}

.cf7__button input[type="submit"] {
    width: 100%;
}

/* 共通 */
.mt-0 {
    margin-top: 0 !important;
}

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

.mt-1 {
    margin-top: 1rem !important;
}

.mb-1 {
    margin-bottom: 1rem !important;
}

.mt-2 {
    margin-top: 2rem !important;
}

.mb-2 {
    margin-bottom: 2rem !important;
}

.m-1-2rem {
    margin: 1.2rem 0 !important;
}

/*# sourceMappingURL=style.css.map */
.custom-woods-3 {



    ul {
        list-style: none !important;
    }

    .arrow {
        margin: 0;
    }

    h2+p {
        display: flex;
        flex-flow: wrap;
        gap: 8px;
        margin: 16px 0;
    }

    section {
        margin-bottom: 20px;
    }

    .inner-section {
        margin-bottom: 40px;
    }

    .inner-heading {
        margin-bottom: 28px;
        font-size: 20px;
        font-weight: bold;
    }

    .house_maker {
        flex: 1 1 600px;
        width: auto;
        max-width: 600px;
    }

    #section1 #introduction .d-flex {
        align-items: start;
        justify-content: space-around;
    }

    #section1 #introduction img {
        width: 226px;
    }

    .inner-section .d-flex {
        flex: 1;
        text-align: center;
        padding: 1rem;
        box-sizing: border-box;
        align-items: center;

    }

    #section1 #commitment .commitment {
        flex: 1 1 auto;
        min-width: 300px;
        padding: 30px;
        background-color: white;
        border-radius: 8px;
    }

    #section1 #commitment .arrow img {
        width: 100%;
        max-width: 90px;
    }

    #section1 #commitment .gensoku {
        flex: 1 1 auto;
    }

    #section1 #commitment .gensoku p {
        text-align: center;
    }

    #section1 #commitment .gensoku img {
        width: 100%;
        max-width: 592px;
    }

    #section1 #need img {
        width: 100%;
    }

    .step-list {
        display: flex;
        align-items: center;
        flex-flow: column;
        gap: 20px;
    }

    .step-list .step {
        display: flex;
        width: 100%;
        height: 220px;
        border-top: solid 1px;
        border-bottom: solid 1px;
    }

    .step .step-label {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 200px;
        padding: 16px;
        background-color: #D9D9D9;
    }

    .step-label span {
        position: relative;
        z-index: 2;
        font-weight: bold;
        font-size: 20px;
    }

    .step-label img {
        position: absolute;
        bottom: 0;
        right: 8px;
        height: 144px;
        z-index: 1;
    }

    .step .step-content {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 16px;
    }

    .step .step-content * {
        max-height: 100%;
    }

    .step table.house_maker {
        height: 100%;
        max-width: 700px;
        margin: 0;
    }

    .step .info {
        background-color: white;
        border-radius: 8px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        padding: 20px;
    }


    .pc {
        display: block;
    }

    .sp {
        display: none;
    }

    @media (min-width: 1367px) {
        .house_maker td {
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            max-width: 240px;
        }
    }

    @media (max-width: 1366px) {

        .inner-section {
            text-align: center;
            margin: 0 auto;
        }

        .inner-section#introduction>.d-flex>div {
            margin: 0 auto;
        }

        #section1 #commitment .commitment {
            text-align: left;
        }

        .house_maker {
            margin: 20px auto;
        }

        .gensoku {
            margin-top: 40px !important;
        }

        .step-list .step {
            flex-direction: column;
            height: auto;
        }

        .step .step-label {
            flex: none;
            width: 100%;
            justify-content: space-between;
            height: auto;
        }

        .step-label img {
            position: static;
            height: 100px;
            margin-top: 8px;
        }

        .step .step-content {
            flex-direction: column;
            gap: 1rem;
            align-items: flex-start;
            width: 100%;
            text-align: left;
        }

        .step .step-content img {
            width: 100%;
            height: auto;
        }

        .step-list .step:nth-of-type(-n+4) .step-content img {
            width: 40%;
        }

        .step .info {
            margin: 0 auto;            
        }

        #section3>div>div>.sp {
            margin: 0 auto;
        }

        .d-flex {
            flex-direction: column;
        }

        .pc {
            display: none;
        }

        .sp {
            display: block;
        }
    }


}