/*
Theme Name: GeneratePress Child
Theme URI: https://generatepress.com/
Description: Child theme for GeneratePress.
Author: KMI Design Office
Template: generatepress
Version: 1.0.0
Text Domain: generatepress-child
*/

/* Custom styles below */

body {
    background: transparent !important;
}
.home .entry-title {
    display: none!important;
}

.home .entry-content:not(:first-child) {
    margin-top: 0;
}

@media screen and (max-width: 767px) {
    html {
        scroll-padding-top: 65px;
    }
}

@media (max-width: 768px) {
    .separate-containers .inside-article, .separate-containers .comments-area, .separate-containers .page-header, .separate-containers .paging-navigation, .one-container .site-content, .inside-page-header {
        padding:0 30px 50px 30px;
    }
}

.entry-title {
    margin-bottom: 0;
    display : none;
}

/* ========================================
   PC・スマホ改行切り替え
======================================== */

/* PC */
.br-sp {
    display: none;
}

.br-pc {
    display: inline;
}

/* スマートフォン */
@media screen and (max-width: 767px) {
    .br-sp {
        display: inline;
    }

    .br-pc {
        display: none;
    }
}

/* ========================================
   ヘッダー全体
======================================== */

/* ロゴ横のサイト名・キャッチフレーズを非表示 */
.site-header .site-branding .main-title,
.site-header .site-branding .site-description {
    display: none !important;
}

/* ヘッダー内の配置 */
.site-header .inside-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* ロゴ */
.site-header .site-logo {
    flex-shrink: 0;
}

.site-header .header-image {
    display: block;
    width: 300px;
    height: auto;
}

/* ボタンエリア */
.kmi-header-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}

/* ボタン共通 */
.kmi-header-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
    padding: 13px 20px;
    border-radius: 5px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.kmi-header-btn:hover {
    opacity: 0.8;
}

/* お問い合わせ */
.kmi-contact-btn {
    background: #292D38;
    color: #fff !important;
    border: 2px solid #292D38;
}

.kmi-contact-btn:hover {
    background: #454B59;
    border-color: #454B59;
    color: #fff !important;
}

/* お見積り依頼 */
.kmi-estimate-btn {
    background: #B64B58;
    color: #fff !important;
    border: 2px solid #B64B58;
}

.kmi-estimate-btn:hover {
    background: #963744;
    border-color: #963744;
    color: #fff !important;
}
/* ========================================
   スマートフォン
======================================== */
@media screen and (max-width: 767px) {

    /* ロゴとメニューの固定ヘッダー */
    .site-header {
        position: sticky;
        top: 0;
        z-index: 10000;
        background: #fff;
        margin: 0 !important;
        padding: 0 !important;
    }

    .site-header .inside-header {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        padding: 10px 15px !important;
        margin: 0 !important;
    }

    /* ロゴ */
    .site-header .site-branding-container,
    .site-header .site-logo {
        position: static !important;
        margin: 0 !important;
        padding: 0 !important;
        flex: 0 1 auto;
        min-width: 0;
    }

    .site-header .header-image {
        display: block;
        width: 200px;
        max-width: 100%;
        height: auto;
    }

    /* ヘッダー内のボタンは非表示 */
    .site-header .kmi-header-buttons {
        display: none !important;
    }

    /* 三本線メニュー */
    .kmi-mobile-menu {
        display: block;
        position: relative !important;
        flex: 0 0 44px;
        margin: 0 0 0 auto !important;
    }

    .kmi-menu-toggle {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 6px;
        width: 44px;
        height: 44px;
        padding: 8px;
        background: transparent !important;
        border: 0;
        cursor: pointer;
    }

    .kmi-menu-toggle span {
        display: block;
        width: 26px;
        height: 2px;
        background: #292D38;
    }

/* ========================================
   スマホ開閉メニュー
======================================== */
.kmi-mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    right: -15px;
    width: 100vw;
    max-width: none;
    box-sizing: border-box;
    padding: 8px 20px 16px;
    background: #292D38;
    border: 0;
    border-top: 3px solid #B64B58;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
    z-index: 10001;
    max-height: calc(100dvh - 80px);
    overflow-y: auto;
}

.kmi-mobile-nav.is-open {
    display: block;
}

.kmi-mobile-nav a,
.kmi-mobile-nav a:visited {
    display: block;
    position: relative;
    padding: 15px 28px 15px 8px;
    color: #fff !important;
    background: transparent !important;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    text-decoration: none;
    border-bottom: 1px solid #454A56;
    transition: color 0.2s ease, background 0.2s ease;
}

.kmi-mobile-nav a::after {
    content: "";
    position: absolute;
    right: 10px;
    top: 50%;
    width: 7px;
    height: 7px;
    border-top: 1.5px solid #D98591;
    border-right: 1.5px solid #D98591;
    transform: translateY(-50%) rotate(45deg);
}

.kmi-mobile-nav a:last-child {
    border-bottom: 0;
}

.kmi-mobile-nav a:hover,
.kmi-mobile-nav a:focus {
    color: #fff !important;
    background: #3B404C !important;
}

    /* ========================================
       下段ボタン：既存設定を維持
    ======================================== */
    .kmi-mobile-header-buttons {
        display: flex !important;
        align-items: stretch;
        gap: 10px;
        width: 100%;
        margin: 0 !important;
        padding: 8px 15px 12px !important;
        box-sizing: border-box;
        background: #fff;
    }

    .kmi-mobile-header-buttons .kmi-header-btn {
        display: inline-flex;
        flex: 1;
        align-items: center;
        justify-content: center;
        min-width: 0;
        margin: 0 !important;
        padding: 12px 8px;
        font-size: 13px;
        font-weight: 700;
        line-height: 1.4;
        text-align: center;
        text-decoration: none;
        border-radius: 5px;
    }

    /* お問い合わせ：ダークグレー */
    .kmi-mobile-header-buttons .kmi-contact-btn,
    .kmi-mobile-header-buttons .kmi-contact-btn:visited {
        background: #292D38 !important;
        border: 2px solid #292D38 !important;
        color: #fff !important;
    }

    /* お見積り依頼：ローズレッド */
    .kmi-mobile-header-buttons .kmi-estimate-btn,
    .kmi-mobile-header-buttons .kmi-estimate-btn:visited {
        background: #B64B58 !important;
        border: 2px solid #B64B58 !important;
        color: #fff !important;
    }
}

/* ========================================
   パソコン
======================================== */
@media screen and (min-width: 768px) {
    .kmi-mobile-menu,
    .kmi-mobile-header-buttons {
        display: none !important;
    }
}

/* GeneratePress標準メニュー非表示 */
.main-navigation {
    display: none !important;
}

@media screen and (max-width: 767px) {
    .kmi-mobile-header-buttons {
        display: none !important;
    }
}

/* PC用FV画像：1200×600px固定 */
.kmi-new-fv picture {
    display: block;
    width: 1200px !important;
    max-width: none !important;
    margin: 0 auto;
}

.kmi-new-fv picture img {
    display: block;
    width: 1200px !important;
    max-width: none !important;
    height: 600px !important;
    object-fit: contain;
    margin: 0 auto;
}

/* スマホ用 */
@media screen and (max-width: 767px) {
    .kmi-new-fv picture,
    .kmi-new-fv picture img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
    }
}

/* PC用FV：背景は画面幅100％、画像は原寸中央 */
@media screen and (min-width: 768px) {

    .kmi-new-fv {
        width: 100% !important;
        background: #fffef8 !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .kmi-new-fv picture {
        display: block;
        width: 1200px !important;
        max-width: none !important;
        margin: 0 auto !important;
    }

    .kmi-new-fv picture img {
        display: block;
        width: 1200px !important;
        max-width: none !important;
        height: 600px !important;
        margin: 0 auto !important;
    }
}


/* ========================================
   共通セクション設定
======================================== */
.kmi-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.kmi-section-heading {
    text-align: center;
    margin-bottom: 45px;
}

.kmi-section-en {
    display: block;
    color: #B64B58;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.15em;
    margin-bottom: 10px;
}

.kmi-section-heading h2 {
    color: #292D38;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.5;
    margin: 0;
}

/* ========================================
   新しいファーストビュー
======================================== */
/* 既存の空のFVを非表示 */
.kmi-fv {
    display: none !important;
}

/* 新しいFV */
.kmi-new-fv {
    width: 100%;
    margin: 0;
    padding: 0;
}

.kmi-new-fv picture,
.kmi-new-fv img {
    display: block;
    width: 100%;
}

.kmi-new-fv img {
    height: auto;
    margin: 0;
}


/* ========================================
   お悩みセクション
======================================== */
.kmi-problems {
    width: 100%;
    padding: 90px 20px;
    background: #fafafa;
    box-sizing: border-box;
}

.kmi-problems-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.kmi-problem-item {
    background: #fff;
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

.kmi-problem-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
    background: none;
    border-radius: 0;
}

.kmi-problem-icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.kmi-problem-item h3 {
    color: #292D38;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 18px;
}

.kmi-problem-item p {
    color: #555;
    font-size: 15px;
    line-height: 1.9;
    margin: 0;
}

.kmi-problems-message {
    text-align: center;
    color: #292D38;
    font-size: 23px;
    font-weight: 700;
    margin: 55px 0 0;
}

/* ========================================
   スマートフォン
======================================== */
@media screen and (max-width: 767px) {

    .kmi-problems {
        padding: 60px 20px;
    }

    .kmi-section-heading {
        margin-bottom: 30px;
    }

    .kmi-section-heading h2 {
        font-size: 25px;
    }
	
    .kmi-section-heading-s{
        font-size : 20px;
    }

    .kmi-problems-list {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .kmi-problem-item {
        padding: 30px 22px;
    }

    .kmi-problem-item h3 {
        font-size: 18px;
    }

    .kmi-problems-message {
        font-size: 20px;
        line-height: 1.7;
        margin-top: 40px;
    }
}

/* ========================================
   リニューアルでできること
======================================== */
.kmi-solution {
    width: 100%;
    padding: 90px 20px;
    background: #fff;
    box-sizing: border-box;
}

.kmi-solution-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}

.kmi-solution-card {
    min-width: 0;
}

.kmi-solution-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: #F8F7F7;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 22px;
}

.kmi-solution-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.kmi-solution-title {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.kmi-solution-num {
    flex-shrink: 0;
    color: #B64B58;
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
}

.kmi-solution-title h3 {
    color: #292D38;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
    margin: 0;
}

.kmi-solution-card p {
    color: #555;
    font-size: 15px;
    line-height: 1.9;
    margin: 0;
}

/* ========================================
   スマートフォン
======================================== */
@media screen and (max-width: 767px) {

    .kmi-solution {
        padding: 60px 20px;
    }

    .kmi-solution-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .kmi-solution-image {
        margin-bottom: 18px;
    }

    .kmi-solution-title h3 {
        font-size: 19px;
    }

    .kmi-solution-num {
        font-size: 28px;
    }
}

/* ========================================
   KMIが選ばれる6つの理由
======================================== */
.kmi-reasons {
    width: 100%;
    padding: 90px 20px;
    background: #F8F7F7;
    box-sizing: border-box;
}

.kmi-reasons-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}

.kmi-reason-item {
    position: relative;
    background: #fff;
    padding: 45px 30px 35px;
    border: 1px solid #E5E5E5;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

.kmi-reason-number {
    display: block;
    color: #B64B58;
    font-size: 34px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 22px;
}

.kmi-reason-item h3 {
    color: #292D38;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
    margin: 0 0 15px;
}

.kmi-reason-item p {
    color: #555;
    font-size: 15px;
    line-height: 1.9;
    margin: 0;
}

/* ========================================
   スマートフォン
======================================== */
@media screen and (max-width: 767px) {

    .kmi-reasons {
        padding: 60px 20px;
    }

    .kmi-reasons-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .kmi-reason-item {
        padding: 35px 25px;
    }

    .kmi-reason-number {
        font-size: 30px;
        margin-bottom: 15px;
        text-align : center;
    }

    .kmi-reason-item h3 {
        font-size: 19px;
        text-align : center;
    }
}

/* ========================================
   リニューアル料金
======================================== */
.kmi-price {
    width: 100%;
    padding: 90px 20px;
    background: #fff;
    box-sizing: border-box;
}

.kmi-price-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.kmi-price-content > h3 {
    color: #292D38;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.7;
    text-align : center;
    margin: 0 0 30px;
}

.kmi-price-content > p {
    color: #292D38;
    font-size: 18px;
    line-height: 2;
    margin: 0 0 25px;
}

/* 料金ボックス */
.kmi-price-box {
    margin: 45px 0;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.kmi-price-box-heading {
    padding: 35px 40px;
    background: #B64B58;
}

.kmi-price-box-heading h4 {
    color: #fff;
    font-size: 25px;
    font-weight: 700;
    margin: 0 0 12px;
    text-align : center;
}

.kmi-price-box-heading p {
    color: #fff;
    font-size: 17px;
    line-height: 1.9;
    margin: 0;
    text-align : center;
}

/* 金額 */
.kmi-price-amount {
    padding: 35px 30px;
    text-align: center;
    border-bottom: 1px solid #E5E5E5;
}

.kmi-price-from {
    display: block;
    color: #555;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
}

.kmi-price-amount strong {
    display: block;
    color: #B64B58;
    font-size: 38px;
    font-weight: 800;
    line-height: 1.3;
}

.kmi-price-amount strong span {
    font-size: 26px;
}

/* 作業内容 */
.kmi-price-details {
    padding: 35px 40px 40px;
}

.kmi-price-details h5 {
    background: #292D38;
    color : #fff;
    padding : 8px 12px;
    font-size: 21px;
    font-weight: 700;
    margin: 0 0 22px;
}

.kmi-price-details ul {
    list-style: none;
    padding: 0;
    margin: 0 0 25px;
}

.kmi-price-details li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 14px;
    color: #292D38;
    font-size: 17px;
    line-height: 1.8;
}

.kmi-price-details li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: #B64B58;
    color: #fff;
    border-radius: 50%;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
}


.kmi-price-note {
    color: #555;
    font-size: 16px;
    line-height: 1.9;
    margin: 0;
}

/* 料金下部 */
.kmi-price-bottom {
    margin-top: 45px;
}

.kmi-price-bottom h3 {
    color: #292D38;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.7;
    margin: 0 0 20px;
    text-align : center;
}

.kmi-price-bottom p {
    color: #292D38;
    font-size: 18px;
    line-height: 2;
    margin: 0;
}

/* ボタン */
.kmi-price-button {
    text-align: center;
    margin-top: 40px;
}

.kmi-price-button a {
    display: inline-block;
    padding: 17px 45px;
    background: #B64B58;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.2s;
}

.kmi-price-button a:hover {
    background: #963A46;
    color: #fff;
}

/* ========================================
   スマートフォン
======================================== */
@media screen and (max-width: 767px) {

    .kmi-price {
        padding: 60px 20px;
    }

    .kmi-price-content > h3 {
        font-size: 18px;
    }

    .kmi-price-content > p,
    .kmi-price-bottom p {
        font-size: 16px;
    }

    .kmi-price-box-heading {
        padding: 25px 20px;
    }

    .kmi-price-box-heading h4 {
        font-size: 21px;
    }

    .kmi-price-box-heading p {
        font-size: 16px;
    }

    .kmi-price-amount {
        padding: 30px 15px;
    }

    .kmi-price-amount strong {
        font-size: 36px;
    }

    .kmi-price-amount strong span {
        font-size: 22px;
    }

    .kmi-price-details {
        padding: 30px 20px;
    }

    .kmi-price-details h5 {
        font-size: 17px;
        text-align : center;
        border-radius : 8px;
    }

    .kmi-price-details li {
        font-size: 16px;
    }

    .kmi-price-note {
        font-size: 16px;
    }

    .kmi-price-bottom h3 {
        font-size: 21px;
    }

    .kmi-price-button a {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }
}
/* ご予算について */
.kmi-price-budget {
    margin: 40px 0;
    padding: 30px 35px;
    background: #F8F7F7;
    border: none;
    border-radius: 8px;
}

.kmi-price-budget h3 {
    color: #292D38;
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 15px;
}

.kmi-price-budget p {
    color: #292D38;
    font-size: 18px;
    line-height: 1.9;
    margin: 0;
    text-align : left;
}

@media screen and (max-width: 767px) {
    .kmi-price-budget {
        padding: 25px 15px;
        margin: 30px 0;
    }

    .kmi-price-budget h3 {
        font-size: 20px;
    }

    .kmi-price-budget p {
        font-size: 16px;
    }
}

/* ========================================
   お客様の声
======================================== */
.kmi-voices {
    width: 100%;
    padding: 90px 20px;
    background: #fffef8;
    box-sizing: border-box;
}

.kmi-voices-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
    align-items: stretch;
}

.kmi-voice-card {
    background: #fff;
    border: 1px solid #E5E5E5;
    border-radius: 8px;
    padding: 35px 30px;
    box-sizing: border-box;
}

.kmi-voice-category {
    display: inline-block;
    background: #F8EDEF;
    color: #A13F4D;
    font-size: 15px;
    font-weight: 700;
    padding: 7px 14px;
    border-radius: 4px;
    margin-bottom: 22px;
}

.kmi-voice-card h3 {
    color: #292D38;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.65;
    margin: 0 0 20px;
}

.kmi-voice-card p {
    color: #292D38;
    font-size: 16px;
    line-height: 1.9;
    margin: 0;
}

/* ========================================
   スマートフォン
======================================== */
@media screen and (max-width: 767px) {

    .kmi-voices {
        padding: 60px 20px;
    }

    .kmi-voices-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .kmi-voice-card {
        padding: 30px 25px;
    }

    .kmi-voice-card h3 {
        font-size: 20px;
    }

    .kmi-voice-card p {
        font-size: 16px;
    }
}

/* ========================================
   よくある質問
======================================== */
.kmi-faq {
    width: 100%;
    padding: 90px 20px;
    background: #F3F9FC;
    box-sizing: border-box;
}

.kmi-faq-list {
    max-width: 950px;
    margin: 0 auto;
}

.kmi-faq-item {
    background: #fff;
    border: 1px solid #E1E8EC;
    border-radius: 6px;
    margin-bottom: 15px;
    overflow: hidden;
}

.kmi-faq-item summary {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 23px 25px;
    cursor: pointer;
    list-style: none;
    position: relative;
    padding-right: 65px;
}

.kmi-faq-item summary::-webkit-details-marker {
    display: none;
}

.kmi-faq-q,
.kmi-faq-a {
    flex-shrink: 0;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.4;
}

.kmi-faq-q {
    color: #B64B58;
}

.kmi-faq-a {
    color: #292D38;
}

.kmi-faq-question {
    color: #292D38;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.7;
}

/* 開閉アイコン */
.kmi-faq-item summary::after {
    content: "+";
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    color: #B64B58;
    font-size: 28px;
    font-weight: 400;
}

.kmi-faq-item[open] summary::after {
    content: "−";
}

/* 回答 */
.kmi-faq-answer {
    display: flex;
    gap: 18px;
    padding: 22px 25px 28px;
    border-top: 1px solid #EAECEF;
}

.kmi-faq-answer p {
    color: #292D38;
    font-size: 17px;
    line-height: 1.9;
    margin: 0;
}

/* ========================================
   スマートフォン
======================================== */
@media screen and (max-width: 767px) {

    .kmi-faq {
        padding: 60px 20px;
    }

    .kmi-faq-item summary {
        padding: 18px 45px 18px 18px;
        gap: 12px;
    }

    .kmi-faq-question {
        font-size: 16px;
    }

    .kmi-faq-q,
    .kmi-faq-a {
        font-size: 20px;
    }

    .kmi-faq-item summary::after {
        right: 15px;
        font-size: 24px;
    }

    .kmi-faq-answer {
        padding: 18px;
        gap: 12px;
    }

    .kmi-faq-answer p {
        font-size: 16px;
    }
}

/* ========================================
   リニューアルまでの流れ
======================================== */
.kmi-flow {
    width: 100%;
    padding: 90px 20px;
    background: #fff;
    box-sizing: border-box;
}

.kmi-flow-list {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

.kmi-flow-item {
    min-width: 0;
    padding: 30px 20px;
    background: #fff;
    border: 1px solid #E5E5E5;
    border-radius: 8px;
    box-sizing: border-box;
}

.kmi-flow-number {
    display: block;
    color: #B64B58;
    font-size: 19px;
    font-weight: 800;
    letter-spacing: 0.04em;
    margin-bottom: 20px;
}

.kmi-flow-item h3 {
    color: #292D38;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.6;
    margin: 0 0 18px;
}

.kmi-flow-item p {
    color: #292D38;
    font-size: 16px;
    line-height: 1.9;
    margin: 0;
}

/* ========================================
   タブレット
======================================== */
@media screen and (min-width: 768px) and (max-width: 1100px) {

    .kmi-flow-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px;
    }
}

/* ========================================
   スマートフォン
======================================== */
@media screen and (max-width: 767px) {

    .kmi-flow {
        padding: 60px 20px;
    }

    .kmi-flow-list {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .kmi-flow-item {
        padding: 25px;
    }

    .kmi-flow-number {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .kmi-flow-item h3 {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .kmi-flow-item p {
        font-size: 16px;
    }
}

/* ========================================
   お問い合わせ案内
======================================== */
.kmi-contact-cta {
    width: 100%;
    padding: 90px 20px;
    background: #F8F7F7;
    box-sizing: border-box;
}

.kmi-contact-cta-content {
    max-width: 1000px;
    margin: 0 auto;
}

.kmi-contact-cta-lead {
    color: #292D38;
    font-size: 18px;
    line-height: 2;
    margin: 0 0 35px;
    text-align: left;
}

/* 相談・見積り */
.kmi-contact-cta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px;
}

.kmi-contact-cta-card {
    display: flex;
    flex-direction: column;
    padding: 35px;
    background: #fff;
    border: 1px solid #E5E5E5;
    border-radius: 8px;
    box-sizing: border-box;
}

.kmi-contact-cta-card h3,
.kmi-contact-cta-phone h3 {
    color: #292D38;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.6;
    margin: 0 0 12px;
}

.kmi-contact-cta-card p {
    color: #292D38;
    font-size: 16px;
    line-height: 1.9;
    margin: 0 0 25px;
}

/* ボタン共通 */
.kmi-contact-cta-btn {
    display: block;
    padding: 17px 20px;
    color: #fff !important;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.2s;
    box-sizing: border-box;
}

.kmi-contact-cta-card .kmi-contact-cta-btn {
    margin-top: auto;
}

.kmi-contact-cta-btn-dark {
    background: #292D38;
}

.kmi-contact-cta-btn-dark:hover {
    background: #414653;
    color: #fff !important;
}

.kmi-contact-cta-btn-red {
    background: #B64B58;
}

.kmi-contact-cta-btn-red:hover {
    background: #963A46;
    color: #fff !important;
}

/* 電話相談 */
.kmi-contact-cta-phone {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    margin-top: 25px;
    padding: 30px 35px;
    background: #fff;
    border: 1px solid #E5E5E5;
    border-radius: 8px;
}

.kmi-contact-cta-phone h3 {
    margin-bottom: 8px;
}

.kmi-contact-cta-phone p {
    color: #292D38;
    font-size: 16px;
    line-height: 1.8;
    margin: 0;
}

.kmi-contact-cta-phone .kmi-contact-cta-btn {
    width: 260px;
    flex-shrink: 0;
}

.kmi-contact-cta-note {
    color: #555;
    font-size: 16px;
    line-height: 1.8;
    margin: 20px 0 0;
}

/* ========================================
   スマートフォン
======================================== */
@media screen and (max-width: 767px) {

    .kmi-contact-cta {
        padding: 60px 20px;
    }

    .kmi-contact-cta-lead {
        font-size: 16px;
        margin-bottom: 25px;
    }

    .kmi-contact-cta-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .kmi-contact-cta-card {
        padding: 25px 20px;
    }

    .kmi-contact-cta-card h3,
    .kmi-contact-cta-phone h3 {
        font-size: 20px;
    }

    .kmi-contact-cta-card p {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .kmi-contact-cta-btn {
        width: 100%;
        font-size: 17px;
    }

    .kmi-contact-cta-phone {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
        margin-top: 15px;
        padding: 25px 20px;
    }

    .kmi-contact-cta-phone .kmi-contact-cta-btn {
        width: 100%;
    }

    .kmi-contact-cta-note {
        font-size: 16px;
    }
}
.kmi-contact-cta-tel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    flex-shrink: 0;
}

.kmi-contact-cta-tel-number {
    color: #292D38;
    font-size: 30px;
    font-weight: 800;
    line-height: 1.4;
    white-space: nowrap;
}

.kmi-contact-cta-tel-guide {
    display: none;
}

@media screen and (max-width: 767px) {
    .kmi-contact-cta-tel {
        background: #292D38;
        padding: 15px 12px;
        border-radius: 5px;
    }

    .kmi-contact-cta-tel-number {
        color: #fff;
        font-size: 26px;
    }

    .kmi-contact-cta-tel-guide {
        display: block;
        color: #fff;
        font-size: 14px;
        margin-top: 3px;
    }
}

/* ========================================
   フッター
======================================== */
.site-footer,
.site-info {
    background: #111111;
    color: #FFFFFF;
}

.site-info {
    padding: 25px 20px;
    text-align: center;
}

.site-info,
.site-info a {
    color: #FFFFFF;
}

.site-info a:hover {
    color: #DDDDDD;
}

/* ========================================
   リニューアル比較サンプル
======================================== */
.kmi-renew-sample {
    padding: 80px 20px;
    background: #fffef8;
}

.kmi-renew-sample-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.kmi-renew-sample-heading {
    margin-bottom: 25px;
}

.kmi-renew-sample-en {
    display: block;
    margin-bottom: 12px;
    color: #B64B58;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-align : center;
}

.kmi-renew-sample h2 {
    margin: 0;
    color: #292D38;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
}

.kmi-renew-sample-lead {
    margin-bottom: 35px;
    font-size: 16px;
    line-height: 1.9;
    text-align: left;
}

.kmi-renew-sample-image img {
    display: block;
    width: 100%;
    height: auto;
}

.kmi-renew-sample-note {
    margin-top: 15px;
    color: #666;
    font-size: 12px;
    line-height: 1.7;
    text-align: left;
}

/* スマートフォン */
@media screen and (max-width: 767px) {

    .kmi-renew-sample {
        padding: 45px 15px 35px 15px;
    }

    .kmi-renew-sample h2 {
        font-size: 24px;
    }

    .kmi-renew-sample-lead {
        font-size: 14px;
        margin-bottom: 25px;
    }

    .kmi-renew-sample-image img {
        width: 100%;
        height: auto;
    }

    .kmi-renew-sample-note {
        font-size: 12px;
    }
}

/* ========================================
   リニューアル相談ページ・フォーム
======================================== */

.kmi-consult-section {
    width: 100%;
    padding: 20px 20px 100px;
    background: #fff;
    box-sizing: border-box;
}

.kmi-consult-inner {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

/* 見出し：中央揃え */
.kmi-consult-heading {
    margin-bottom: 25px;
    text-align: center;
}

.kmi-consult-en {
    display: block;
    margin-bottom: 10px;
    color: #B64B58;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.kmi-consult-heading h2 {
    margin: 0;
    color: #292D38;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
}

/* 説明文：左寄せ */
.kmi-consult-lead {
    width: 100%;
    max-width: 900px;
    margin: 0 auto 40px;
    color: #292D38;
    font-size: 17px;
    line-height: 2;
    text-align: left;
    box-sizing: border-box;
}

/* フォーム全体：中央配置 */
.kmi-consult-section .kmi-consult-form {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    box-sizing: border-box;
}

/* 各入力項目 */
.kmi-consult-form .kmi-form-row {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    border: 1px solid #ddd;
    border-bottom: 0;
}

.kmi-consult-form .kmi-form-row:nth-of-type(3) {
    border-bottom: 1px solid #ddd;
}

/* 項目名 */
.kmi-consult-form .kmi-form-row > label,
.kmi-consult-form .kmi-form-row > .kmi-form-label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 22px 20px;
    background: #f5f5f5;
    color: #292D38;
    font-size: 16px;
    font-weight: 700;
    text-align: left;
    box-sizing: border-box;
}

/* 必須表示 */
.kmi-consult-form .kmi-required {
    display: inline-block;
    flex-shrink: 0;
    padding: 3px 8px;
    background: #B64B58;
    color: #fff;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
    border-radius: 3px;
}

/* 入力欄側 */
.kmi-consult-form .kmi-form-field {
    padding: 18px 22px;
    background: #fff;
    box-sizing: border-box;
}

/* 入力欄 */
.kmi-consult-form .kmi-form-field input:not([type="checkbox"]),
.kmi-consult-form .kmi-form-field textarea,
.kmi-consult-form .kmi-form-field select {
    display: block;
    width: 100%;
    max-width: 100%;
    padding: 13px 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #fff;
    color: #292D38;
    font-family: inherit;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
    box-sizing: border-box;
}

.kmi-consult-form .kmi-form-field textarea {
    min-height: 180px;
    resize: vertical;
}

.kmi-consult-form .kmi-form-field input:focus,
.kmi-consult-form .kmi-form-field textarea:focus {
    border-color: #B64B58;
    outline: 2px solid rgba(182, 75, 88, 0.15);
}

/* チェック項目 */
.kmi-consult-form .kmi-form-options {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.kmi-consult-form .kmi-form-options label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    padding: 0;
    background: none;
    color: #292D38;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
    cursor: pointer;
}

.kmi-consult-form .kmi-form-options input[type="checkbox"] {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin: 4px 0 0;
    padding: 0;
    accent-color: #B64B58;
}

/* 送信ボタン */
.kmi-consult-form .kmi-form-submit {
    margin-top: 35px;
    text-align: center;
}

.kmi-consult-form .kmi-form-submit button {
    display: inline-block;
    width: 100%;
    max-width: 360px;
    padding: 18px 25px;
    background: #B64B58;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
    cursor: pointer;
    transition: background 0.2s;
}

.kmi-consult-form .kmi-form-submit button:hover {
    background: #963744;
    color: #fff;
}

/* ========================================
   スマートフォン
======================================== */

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

    .kmi-consult-section {
        padding: 0px 15px 65px;
    }

    .kmi-consult-heading {
        margin-bottom: 20px;
    }

    .kmi-consult-heading h2 {
        font-size: 25px;
    }

    .kmi-consult-lead {
        margin-bottom: 30px;
        font-size: 14px;
        line-height: 1.9;
        text-align: left;
    }

    .kmi-consult-form .kmi-form-row {
        display: block;
    }

    .kmi-consult-form .kmi-form-row label {
        padding: 13px 15px;
        font-size: 15px;
    }

    .kmi-consult-form .kmi-form-field {
        padding: 15px;
    }

    .kmi-consult-form .kmi-form-field input,
    .kmi-consult-form .kmi-form-field textarea {
        font-size: 16px;
        font-weight: 400;
    }

    .kmi-consult-form .kmi-form-submit {
        margin-top: 30px;
    }

    .kmi-consult-form .kmi-form-submit button {
        max-width: 100%;
        font-size: 17px;
    }
}


/* ========================================
   相談フォーム サンクスページ
======================================== */

.kmi-thanks-section {
    width: 100%;
    padding: 20px 20px 70px;
    background: #fff;
    box-sizing: border-box;
}

.kmi-thanks-inner {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

/* 見出し */
.kmi-thanks-heading {
    margin-bottom: 35px;
    text-align: left;
}

.kmi-thanks-en {
    display: block;
    margin-bottom: 10px;
    color: #B64B58;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.kmi-thanks-heading h2 {
    margin: 0;
    color: #292D38;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.5;
    text-align: left;
}

/* メッセージ */
.kmi-thanks-content {
    color: #292D38;
    text-align: left;
}

.kmi-thanks-content > p {
    margin: 0 0 25px;
    font-size: 17px;
    font-weight: 400;
    line-height: 2;
}

/* メールに関するご案内 */
.kmi-thanks-notice {
    margin-top: 30px;
    padding: 20px 25px;
    background: #f7f7f7;
    border: 1px solid #e5e5e5;
    box-sizing: border-box;
}

.kmi-thanks-notice p {
    margin: 0;
    color: #555;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.9;
}

/* トップページへ戻るボタン */
.kmi-thanks-button {
    margin-top: 40px;
    text-align: center;
}

.kmi-thanks-button a {
    display: inline-block;
    width: 100%;
    max-width: 320px;
    padding: 17px 25px;
    background: #B64B58;
    color: #fff;
    border-radius: 5px;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
    transition: background 0.2s;
}

.kmi-thanks-button a:hover {
    background: #963744;
    color: #fff;
}

/* ========================================
   スマートフォン
======================================== */

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

    .kmi-thanks-section {
        padding: 15px 15px 50px;
    }

    .kmi-thanks-heading {
        margin-bottom: 25px;
    }

    .kmi-thanks-heading h2 {
        font-size: 24px;
    }

    .kmi-thanks-content > p {
        margin-bottom: 20px;
        font-size: 14px;
        font-weight: 400;
        line-height: 1.9;
    }

    .kmi-thanks-notice {
        margin-top: 25px;
        padding: 15px;
    }

    .kmi-thanks-notice p {
        font-size: 14px;
        font-weight: 400;
    }

    .kmi-thanks-button {
        margin-top: 30px;
    }

    .kmi-thanks-button a {
        max-width: 100%;
        font-size: 16px;
    }
}


/* ========================================
   特商法・個人情報保護方針 共通
======================================== */

.kmi-legal-section {
    width: 100%;
    padding: 20px 20px 60px;
    background: #fff;
    box-sizing: border-box;
}

.kmi-legal-inner {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

/* 見出し */
.kmi-legal-heading {
    margin-bottom: 30px;
    text-align: left;
}

.kmi-legal-en {
    display: block;
    margin-bottom: 10px;
    color: #B64B58;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.kmi-legal-heading h2 {
    margin: 0;
    color: #292D38;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.5;
    text-align: left;
}

/* 表全体 */
.kmi-legal-table-wrap {
    width: 100%;
}

.kmi-legal-table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
    border-spacing: 0;
    table-layout: fixed;
}

/* 表の共通設定 */
.kmi-legal-table th,
.kmi-legal-table td {
    padding: 20px 22px;
    border: 1px solid #ddd;
    color: #292D38;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.9;
    text-align: left;
    vertical-align: top;
    overflow-wrap: anywhere;
    box-sizing: border-box;
}

/* 左側の項目名 */
.kmi-legal-table th {
    width: 28%;
    background: #f5f5f5;
    font-weight: 700;
}

/* 右側の内容 */
.kmi-legal-table td {
    width: 72%;
    background: #fff;
}

/* リンク */
.kmi-legal-table a {
    color: #B64B58;
    text-decoration: underline;
}

.kmi-legal-table a:hover {
    color: #963744;
}

/* ========================================
   スマートフォン
======================================== */

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

    .kmi-legal-section {
        padding: 15px 15px 45px;
    }

    .kmi-legal-heading {
        margin-bottom: 25px;
    }

    .kmi-legal-heading h2 {
        font-size: 24px;
    }

    /* スマホは項目名と内容を縦並び */
    .kmi-legal-table,
    .kmi-legal-table tbody,
    .kmi-legal-table tr,
    .kmi-legal-table th,
    .kmi-legal-table td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }

    .kmi-legal-table tr {
        margin-bottom: 15px;
    }

    .kmi-legal-table th {
        padding: 12px 15px;
        font-size: 14px;
        font-weight: 700;
        border-bottom: 0;
    }

    .kmi-legal-table td {
        padding: 15px;
        font-size: 14px;
        font-weight: 400;
        line-height: 1.9;
    }
}


/* ========================================
   個人情報保護方針 本文
======================================== */

.kmi-privacy-content {
    color: #292D38;
    text-align: left;
}

.kmi-privacy-content h3 {
    margin: 35px 0 12px;
    color: #292D38;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.6;
    text-align: left;
}

.kmi-privacy-content p {
    margin: 0 0 20px;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.9;
    text-align: left;
}

.kmi-privacy-content .kmi-privacy-business {
    margin-top: 35px;
}

/* スマートフォン */
@media screen and (max-width: 767px) {

    .kmi-privacy-content h3 {
        margin: 28px 0 10px;
        font-size: 17px;
    }

    .kmi-privacy-content p {
        font-size: 14px;
        font-weight: 400;
        line-height: 1.9;
    }
}
