@charset "utf-8";
/*
Theme Name: test
Author: あなたの名前
Version: 1.0
Description: 自作のHTML/CSSから作成したテスト用のテーマです。
*/

/* ==========================================================================
   ここに、あなたが普段使っているCSS（スタイルシート）の記述をすべて貼り付けてください
   ========================================================================== */


   /* --- 基本設定 --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Noto Sans JP', sans-serif; color: #333; line-height: 1.8; }
.inner, .container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* リンク色の固定（青くならない） */
a, .header-nav a, .footer-nav a, .footer-sub-links a { 
    text-decoration: none; 
    color: #333 !important; 
}

/* --- ヘッダー --- */
.site-header { padding: 25px 0; border-bottom: 1px solid #f0f0f0; }
.site-header .inner { display: flex; justify-content: space-between; align-items: center; }
.header-logo h1 { font-size: 1.1rem; font-weight: 700; }
.header-logo p { font-size: 0.7rem; color: #888; }
.header-nav ul { display: flex; gap: 20px; list-style: none; }
.nav-contact { border: 1px solid #333; padding: 8px 16px; border-radius: 2px; }

/* --- ヘッダー（ロゴ・文字の距離縮小＆深緑カラー調整版） --- */
.site-header { padding: 25px 0; border-bottom: 1px solid #f0f0f0; }
.site-header .inner { display: flex; justify-content: space-between; align-items: center; }

/* ロゴエリア全体のリンク設定 */
.header-logo .logo-link {
    display: flex;
    align-items: center; /* 縦方向の中央揃え */
    gap: 6px;            /* 💡 ロゴと文字の間隔を12pxから6pxへギュッと縮めました */
    text-decoration: none;
}

/* ロゴ画像のサイズ調整 */
.header-logo .logo-img {
    width: auto;
    height: 44px;        /* 💡 文字とのバランスを見て高さをわずかに大きく微調整 */
    display: block;
    object-fit: contain;
}

/* テキストグループ */
.header-logo .logo-text-group {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* 💡 事務所名のスタイル：フォントを明朝体にし、色を深緑へ変更 */
.header-logo h1 { 
    font-family: 'Shippori Mincho', serif; /* サイト内の綺麗な明朝体に統一 */
    font-size: 1.15rem; 
    font-weight: 800; 
    color: #064e3b !important; /* 💡 既存の黒から深緑へ変更し、強制適用 */
    line-height: 1.2;
    margin: 0;
    letter-spacing: 0.05em;
}

/* サブキャッチコピー */
.header-logo p { 
    font-size: 0.7rem; 
    color: #666; 
    margin-top: 3px;
    line-height: 1;
    letter-spacing: 0.05em;
}

/* 📱 スマホ表示のときの微調整 */
@media (max-width: 768px) {
    .header-logo .logo-img {
        height: 38px;
    }
    .header-logo h1 {
        font-size: 1.05rem;
    }
}

/* --- ヒーローエリア（すりガラス＆透過設定） --- */
.hero {
    height: 600px;
    background-image: url('hero_bg2.png'); 
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}
.hero .inner { width: 100%; display: flex; justify-content: flex-start; }

.hero-content {
    /* 指定されたすりガラス設定 */
    background-color: rgba(255, 255, 255, 0.3); 
    backdrop-filter: blur(8px); 
    -webkit-backdrop-filter: blur(8px); /* Safari対応 */
    padding: 60px;
    max-width: 600px;
    text-align: center;
}

.hero-title {
    font-family: 'Shippori Mincho', serif;
    font-size: 3.2rem;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
    color: #000;
}

.hero-text { font-size: 1.2rem; margin-bottom: 35px; color: #111; font-weight: 700; }
.hero-location { display: inline-block; border-bottom: 3px solid #064e3b; padding-bottom: 5px; font-size: 1.25rem; font-weight: 700; }

/* --- メインコンテンツ（文字サイズ調整） --- */
.container { padding: 80px 20px; }
.info-grid { display: flex; gap: 50px; margin-bottom: 60px; }
.info-card { flex: 1; }

.card-header { display: flex; align-items: center; border-bottom: 1px solid #ddd; padding-bottom: 10px; margin-bottom: 25px; }
.card-header h3 { font-size: 1.4rem; font-weight: 700; margin-left: 10px; }

/* リスト部分の文字サイズをアップ */
.card-list { list-style: none; font-size: 1.1rem; }
.card-list li { margin-bottom: 15px; position: relative; padding-left: 1.4em; }
.card-list li::before { content: "・"; position: absolute; left: 0; }
/* 1行目（障害年金申請代行など）からドットを消す */

/* 注意書きボックスを大きく */
.notice-box { 
    border: 1px solid #e0e0e0; 
    padding: 40px; 
    text-align: center; 
    font-size: 1.05rem; 
    color: #444;
    background-color: #fafafa;
}

/* --- フッター --- */
.site-footer { border-top: 1px solid #eee; padding: 80px 0 40px; }
.footer-top { display: flex; justify-content: space-between; margin-bottom: 60px; }
.footer-bottom { border-top: 1px solid #f5f5f5; padding-top: 30px; display: flex; justify-content: space-between; align-items: center; font-size: 0.8rem; color: #888; }

/* --- スマホ対応 --- */
@media (max-width: 768px) {
    .hero .inner { justify-content: center; }
    .hero-content { width: 100%; padding: 40px 20px; }
    .hero-title { font-size: 2rem; }
    .info-grid { flex-direction: column; gap: 40px; }
}

/* --- 料金ページ専用デザイン（style.cssの最後に追加してください） --- */

.small-hero { height: 400px !important; }

.section-title { 
    font-family: 'Shippori Mincho', serif; 
    font-size: 2.2rem; 
    text-align: center; 
    margin-bottom: 10px; 
}
.section-lead { text-align: center; margin-bottom: 60px; color: #666; }

.table-container { margin-bottom: 80px; }
.table-container h3 { 
    font-size: 1.3rem; 
    margin-bottom: 20px; 
    border-left: 6px solid #064e3b; 
    padding-left: 15px; 
}

/* テーブル全体のデザイン */
.price-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    font-size: 1.05rem;
}
.price-table th, .price-table td {
    border: 1px solid #ddd;
    padding: 18px 15px;
    text-align: center;
}
.price-table th {
    background-color: #f8f9fa;
    font-weight: 700;
    color: #333;
}
/* 1行おきに色を変えて読みやすくする */
.price-table tr:nth-child(even) {
    background-color: #fcfcfc;
}

/* スマホで表を横スクロールさせるための設定 */
.scroll-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid #ddd;
}

@media (max-width: 768px) {
    .section-title { font-size: 1.8rem; }
    .price-table { font-size: 0.9rem; min-width: 600px; } /* スマホでも表が潰れないように最小幅を設定 */
    .small-hero { height: 350px !important; }
}

/* --- 業務内容ページ専用デザイン --- */

.service-detail {
    margin-bottom: 80px;
}

.service-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    border-bottom: 2px solid #064e3b;
    padding-bottom: 10px;
}

.service-header .number {
    font-size: 1.5rem;
    font-weight: 800;
    color: #064e3b;
    font-family: 'Noto Sans JP', sans-serif;
}

.service-header h2 {
    font-family: 'Shippori Mincho', serif;
    font-size: 1.8rem;
}

.service-body p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: #444;
}

/* フッターのレイアウト（消えないように再定義） */
.site-footer {
    border-top: 1px solid #eee;
    padding: 80px 0 40px;
    background-color: #fafafa;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
}

.footer-info p {
    font-size: 0.9rem;
    color: #666;
}

.footer-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.footer-nav {
    display: flex;
    gap: 30px;
}

.footer-nav a {
    font-size: 0.9rem;
    font-weight: 700;
}

.footer-bottom {
    border-top: 1px solid #eee;
    padding-top: 15px;
    text-align: center;
}

.copyright {
    font-size: 0.8rem;
    color: #888;
}

@media (max-width: 768px) {
    .footer-top {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    .footer-nav {
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }
    .service-header h2 {
        font-size: 1.4rem;
    }
}

/* --- Aboutページ・レイアウトのブラッシュアップ --- */

.profile-flex {
    display: flex;
    gap: 60px;
    margin-bottom: 100px;
    align-items: flex-start;
}

.profile-image { flex: 0 0 200px; text-align: center; }
.profile-image img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 20px;
}
.profile-sign { font-weight: 700; font-size: 1.1rem; color: #333; }
.registration-num { font-size: 0.8rem; color: #888; margin-top: 5px; line-height: 1.4; }

.profile-text { flex: 1; }
.message-tag { color: #064e3b; font-size: 0.9rem; font-weight: 800; letter-spacing: 0.1em; margin-bottom: 10px; }
.message-title { font-family: 'Shippori Mincho', serif; font-size: 2rem; margin-bottom: 30px; line-height: 1.4; color: #000; }

.text-block p { margin-bottom: 25px; font-size: 1.1rem; color: #333; line-height: 1.9; }
.text-block strong { color: #064e3b; }

/* 事務所概要テーブル */
.about-table-wrapper { border-top: 2px solid #333; margin-top: 40px; }
.about-table { width: 100%; border-collapse: collapse; }
.about-table th {
    width: 220px;
    padding: 25px;
    text-align: left;
    background-color: #fcfcfc;
    border-bottom: 1px solid #eee;
    font-size: 0.95rem;
}
.about-table td { padding: 25px; border-bottom: 1px solid #eee; font-size: 1rem; }

/* スマホ対応 */
@media (max-width: 768px) {
    .profile-flex { flex-direction: column; gap: 30px; }
    .profile-image { flex: 0 0 auto; margin: 0 auto; }
    .message-title { font-size: 1.6rem; }
    .about-table th { display: block; width: 100%; padding: 15px 20px 5px; background: none; border-bottom: none; }
    .about-table td { display: block; width: 100%; padding: 5px 20px 15px; }
}

/* --- お問い合わせページ・フォームデザイン --- */

.contact-methods {
    display: flex;
    gap: 30px;
    margin-bottom: 80px;
}

.method-card {
    flex: 1;
    background: #f9f9f9;
    padding: 40px;
    text-align: center;
    border-radius: 4px;
}

.method-card h3 { font-size: 1.1rem; margin-bottom: 15px; color: #666; }
.tel-number, .mail-address { font-size: 1.8rem; font-weight: 700; color: #064e3b; margin-bottom: 10px; }
.contact-note { font-size: 0.85rem; color: #888; }

.dummy-form {
    max-width: 700px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border: 1px solid #eee;
}

.form-group { margin-bottom: 30px; }

.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.form-group label span {
    background: #e63946;
    color: #fff;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 2px;
    margin-left: 10px;
    vertical-align: middle;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
}

.form-divider {
    height: 1px;
    background: #eee;
    margin: 40px 0;
}

.form-submit { text-align: center; }
/* --- 送信ボタンのアップグレード（角ばり・単色・スマート版） --- */
.form-submit { 
    text-align: center; 
    margin-top: 40px;
}

.dummy-btn {
    /* 禁止マークを解除し、クリックできる指マーク（ポインター）にする */
    cursor: pointer !important;
    opacity: 1 !important;
    
    /* グラデーションを廃止し、事務所のメインカラー（深緑）の単色にする */
    background-color: #064e3b;
    color: #fff !important;
    
    /* ボタンのサイズを少し小さく、スマートに調整（文字サイズはそのまま） */
    padding: 14px 50px;
    border: none;
    border-radius: 0; /* ★ここを0にして完全に角ばらせる */
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* 影も少し控えめでシャープに */
    
    /* アクション（アニメーション）の設定 */
    transition: all 0.2s ease-in-out;
    display: inline-block;
    position: relative;
}

/* ✨ アクション1：マウスが乗ったとき（ホバー）の動き */
.dummy-btn:hover {
    
    transform: translateY(-2px); /* ★スッと少し上に動くアクションだけを残す */
}

/* ✨ アクション2：クリックした瞬間（手ごたえ）の動き */
.dummy-btn:active {
    transform: translateY(0); /* グッと押し込まれる感覚 */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* --- 📩 送信確認の手ごたえ（Contact Form 7 の連動演出） --- */

/* 1. 送信処理中（ぐるぐる待機中）のボタンの見た目 */
.wpcf7 form.submitting .dummy-btn {
    opacity: 0.6 !important;
    cursor: wait !important; /* 砂時計マークに変えて「処理中」を伝える */
    pointer-events: none;
}

/* 2. 送信が成功した時の「完了メッセージ」の演出 */
.wpcf7-response-output {
    margin: 30px 0 0 0 !important;
    padding: 20px !important;
    border-radius: 0 !important; /* メッセージボックスの角もボタンに合わせて角ばらせる */
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    text-align: center !important;
    animation: fadeInUp 0.5s ease forwards; /* 下からふわっと出現 */
}

/* 送信成功時のボックス（緑色の優しいデザインに） */
.wpcf7-mail-sent-ok {
    background-color: #f0fdf4 !important;
    border: 1px solid #16a34a !important; /* 線も少し細くスマートに */
    color: #14532d !important;
}

/* 入力エラー時のボックス（目立つように） */
.wpcf7-validation-errors {
    background-color: #fef2f2 !important;
    border: 1px solid #dc2626 !important;
    color: #7f1d1d !important;
}

/* メッセージが下からふわっと出るアニメーションの定義 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .contact-methods { flex-direction: column; }
    .tel-number { font-size: 1.5rem; }
    .dummy-form { padding: 20px; }
}

/* --- 2カラム・コラムレイアウト --- */
.column-layout {
    display: flex;
    gap: 60px;
    padding-top: 80px;
    padding-bottom: 100px;
    align-items: flex-start;
}

/* 左：サイドバー */
.column-sidebar {
    flex: 0 0 280px;
}

.sidebar-block {
    margin-bottom: 50px;
}

.sidebar-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #888;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    letter-spacing: 0.05em;
}

.sidebar-list {
    list-style: none;
}

.sidebar-list li {
    border-bottom: 1px solid #f9f9f9;
}

.sidebar-list a {
    display: block;
    padding: 12px 15px;
    font-size: 0.95rem;
    color: #555 !important;
    position: relative;
    transition: all 0.3s;
}

.sidebar-list a:hover {
    background-color: #fcfcfc;
    color: #064e3b !important;
    padding-left: 20px;
}

/* 現在のページ */
.sidebar-list a.is-active {
    background-color: #f4f7f6;
    color: #064e3b !important;
    font-weight: 700;
}

/* 右：メインコンテンツ */
.column-main {
    flex: 1;
}

.entry-title {
    font-family: 'Shippori Mincho', serif;
    font-size: 2.2rem;
    line-height: 1.4;
    margin-bottom: 45px;
    color: #000;
}

.entry-content h2 {
    font-family: 'Shippori Mincho', serif;
    font-size: 1.6rem;
    margin: 60px 0 30px;
    padding-left: 15px;
    border-left: 4px solid #064e3b;
}

.entry-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #333;
}

/* 知識ボックス（service.htmlのカード風） */
.knowledge-box {
    background: #fff;
    border: 1px solid #eee;
    padding: 35px;
    margin-bottom: 30px;
}

.knowledge-box h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #064e3b;
    font-weight: 700;
}

/* 外部リンク用アイコン */
.external-links .sidebar-list a::after {
    content: "↗";
    font-size: 0.7rem;
    margin-left: 8px;
    color: #ccc;
}

/* レスポンシブ */
@media (max-width: 900px) {
    .column-layout {
        flex-direction: column;
        gap: 50px;
        padding-top: 40px;
    }
    .column-sidebar {
        width: 100%;
        order: 2; /* スマホでは記事を上に、メニューを下に */
    }
    .column-main {
        order: 1;
    }
    .entry-title {
        font-size: 1.8rem;
    }
}


/* --- 記事一覧のデザイン --- */
/* --- カテゴリーページ冒頭のスタイル --- */
.archive-intro {
    margin-bottom: 50px;
}

.category-main-title {
    font-family: 'Shippori Mincho', serif;
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: #333;
}

.category-description {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
}

/* 以前の archive-header（件数表示用）は削除または非表示でOKです */
.post-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.post-item {
    background: #fff;
    border: 1px solid #eee;
    transition: transform 0.3s, box-shadow 0.3s;
}

.post-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.post-link {
    display: block;
    padding: 30px;
    color: inherit !important;
}

.post-date {
    display: block;
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 10px;
}

.post-title {
    font-family: 'Shippori Mincho', serif;
    font-size: 1.4rem;
    margin-bottom: 15px;
    line-height: 1.4;
    color: #333;
}

.post-excerpt {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* 2行で省略（古いブラウザ用） */
    line-clamp: 2;         /* 2行で省略（最新の標準設定） */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more {
    font-size: 0.85rem;
    font-weight: 700;
    color: #064e3b;
    border-bottom: 1px solid #064e3b;
    padding-bottom: 2px;
}

@media (max-width: 768px) {
    .post-title {
        font-size: 1.2rem;
    }
    .post-link {
        padding: 20px;
    }
}
/* --- カテゴリー表題：タイトルのすぐ下に全幅ライン --- */
.category-header-simple {
    margin-bottom: 60px;
    /* 外枠の下線は消して、タイトル側の線にまとめます */
    border-bottom: none; 
    position: relative;
}

.category-title-text {
    font-family: 'Shippori Mincho', serif;
    font-size: 2.0rem;
    color: #333;
    /* ラインとの間の余白 */
    padding-bottom: 15px; 
    /* 右カラムいっぱいに広がる濃いライン */
    border-bottom: 2px solid #064e3b; 
    /* タイトルを横幅いっぱい（100%）に広げてラインを端まで伸ばす */
    display: block; 
    width: 100%;
}

.category-intro-text {
    display: block;
    font-size: 1.0rem;
    color: #666;
    /* ラインのすぐ下にくるように余白を調整 */
    margin-top: 20px; 
    line-height: 1.6;
}

/* スマホ対応 */
@media (max-width: 768px) {
    .category-title-text {
        font-size: 1.6rem;
        padding-bottom: 10px;
    }
}



/* ==========================================
   スマホ用ハンバーガーメニューの実装
   ========================================== */

/* パソコン表示ではボタンを非表示にする */
.hamburger-btn {
    display: none;
}

@media (max-width: 768px) {
    /* --- 1. 三本線ボタンのデザイン --- */
    .hamburger-btn {
        display: block; /* スマホ環境のみ表示 */
        position: relative;
        width: 30px;
        height: 24px;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 1000; /* メニューの背景より手前に出す */
        padding: 0;
    }

    .hamburger-btn span {
        position: absolute;
        left: 0;
        width: 100%;
        height: 2px;
        background-color: #333; /* 既存の文字色に合わせる */
        transition: all 0.3s ease;
    }

    /* 三本線の初期位置 */
    .hamburger-btn span:nth-child(1) { top: 0; }
    .hamburger-btn span:nth-child(2) { top: 11px; }
    .hamburger-btn span:nth-child(3) { bottom: 0; }

    /* --- 2. ボタンが「✕」に変化する設定 --- */
    .hamburger-btn.is-open span:nth-child(1) { transform: translateY(11px) rotate(45deg); background-color: #064e3b; }
    .hamburger-btn.is-open span:nth-child(2) { opacity: 0; } /* 真ん中の線を消す */
    .hamburger-btn.is-open span:nth-child(3) { transform: translateY(-11px) rotate(-45deg); background-color: #064e3b; }

    /* --- 3. スマホ用ナビゲーションメニューの隠し設定 --- */
    .header-nav {
        position: fixed;
        top: 0;
        right: -100%; /* 普段は画面の右外に隠しておく */
        width: 75%;   /* メニューの横幅 */
        height: 100vh;
        background-color: #fafafa; /* フッターと同じ落ち着いたグレー */
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.05);
        padding: 100px 40px 40px; /* 上部にボタンと被らない余白を作る */
        transition: right 0.4s ease; /* 開閉時のアニメーション */
        z-index: 999;
    }

    /* JSで「is-open」クラスがついたら画面内に出現させる */
    .header-nav.is-open {
        right: 0;
    }

    /* --- 4. メニュー内のレイアウト調整 --- */
    .header-nav ul {
        flex-direction: column; /* 縦並びにする */
        gap: 25px;
    }

    .header-nav ul li a {
        display: block;
        font-size: 1.1rem;
        font-weight: 700;
        padding-bottom: 5px;
        border-bottom: 1px solid #eee;
    }

    /* お問い合わせボタンのスマホ版調整 */
    .header-nav .nav-contact {
        border: none;
        background-color: #064e3b; /* 事務所のメインカラー */
        color: #fff !important;    /* 文字を白に */
        text-align: center;
        padding: 12px 0;
        border-radius: 4px;
        margin-top: 10px;
    }
}

/* ==========================================================================
   📩 トップページ：コンセプトメッセージ（文字幅連動・スマート2行版）
   ========================================================================== */
.top-concept-section {
    background-color: #f9f9f9;       /* ほんのり優しい薄グレーの全幅背景 */
    padding: 70px 0 70px 0;                 /* 上下の余白をスマートに調整 */
    text-align: center;              /* すべての要素を美しく中央寄せ */
    border-bottom: 1px solid #f0f0f0;
}

/* 👑 キャッチコピー：「届けるべき人に、届けるべき権利を。」 */
.concept-catch {
    font-family: 'Shippori Mincho', serif; 
    font-size: 2.3rem;               /* 上品で押し出しのあるサイズ */
    color: #111111;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 35px;             /* 下の文章との間隔 */
    display: inline-block;           /* 文字の横幅を基準にする設定 */
    position: relative;
    letter-spacing: 0.05em;
}

/* ✨ 横棒の幅をデカ文字の横幅に100%ぴったり合わせる設定 */
.concept-catch::after {
    content: "";
    position: absolute;
    bottom: -12px;                   /* 文字のすぐ下に配置 */
    left: 0;                         /* 左端から */
    width: 100%;                     /* 右端まで（文字幅に自動で完全に一致します） */
    height: 3px;                     /* 線の太さ */
    background-color: #064e3b;       /* 事務所のキーカラー（深緑） */
}

/* 📝 コンセプトメッセージ本文の塊 */
.concept-body {
    max-width: 850px;                
    margin: 0 auto;                  
    padding: 0 20px;
}

/* 本文の段落調整（Webで美しく2行に収める設定） */
.concept-body p {
    font-size: 1.05rem;
    color: #444444;                  
    line-height: 2.0;                /* ゆったり読みやすい行間 */
    margin-bottom: 0;
}
/* 〜〜 既存の .concept-body p などの下にこれを追加 〜〜 */

/* 📦 コンセプトメッセージから下のカードまでの隙間を狭くする設定 */
.container {
    padding-top: 60px !important; /* 元の 100px（または60px）から 30px にギュッと縮めます */
}

/* 〜〜 この下に既存の @media (max-width: 768px) が続くイメージです 〜〜 */

/* 📱 スマホ・タブレット表示でのレスポンシブ対応 */
@media (max-width: 768px) {
    .top-concept-section {
        padding: 50px 0;             
    }
    .concept-catch {
        font-size: 1.5rem;           /* スマホ画面で収まりの良いサイズ */
        margin-bottom: 25px;
    }
    .concept-catch::after {
        height: 2px;                 /* スマホでは線を少し細く */
        bottom: -8px;
    }
    /* 本文の段落調整（Webで美しく2行に収める設定） */
.concept-body p {
    font-size: 1.05rem;
    color: #444444;                  
    line-height: 2.0;                
    margin-bottom: 0;
    
    /* 🛠️ 変な改行を防ぐ魔法のコード */
    display: inline-block;          /* テキストの塊として認識させる */
    text-align: justify;            /* 左右の端をピシッと揃える */
    word-break: keep-all;           /* 単語の途中（〜ます、等）での不自然な改行を防ぐ */
}
}

/* ==========================================================================
   📱 スマホ版：コンセプト文章の不自然な文字間隔（均等割付）を自然な左詰めに直す
   ========================================================================== */

@media (max-width: 768px) {
    /* コンセプトボックス内の段落（pタグ）の文字の配置を強制修正 */
    .top-concept-section .concept-body p {
        text-align: left !important;       /* 強制的に左詰めにします */
        text-justify: inter-word !important; /* 単語ごとの異常な広がりを無効化 */
        word-break: break-all !important;   /* 端っこで綺麗に折り返すように設定 */
        letter-spacing: 0.05em !important;  /* ほんの少しだけ文字間隔をあけて読みやすく */
    }
}


/* ==========================================================================
   📞 フッター右下：電話番号エリアのデザイン（!importantなし）
   ========================================================================== */

/* 右側のエリアを縦並びにするためのボックス */
.site-footer .footer-right-block {
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* 右寄せにする */
    text-align: right;
}

/* ナビゲーションの下に少し隙間をあける */
.site-footer .footer-right-block  {
    margin-bottom: 25px;
}

.footer-nav {
    margin-bottom: 10px;
}

/* --- フッターお問い合わせエリアの修正 --- */
.footer-right-block {
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* 右寄せにする */
}

.footer-btn-area {
    margin-top: 10px;
    text-align: right;
}

.footer-contact-text {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 10px;
}

/* フッターお問い合わせボタン（アニメーションなし・究極にシンプル版） */
.footer-contact-btn {
    display: inline-block;
    padding: 10px 25px;
    border: 1px solid #064e3b; /* 枠線のみ */
    color: #064e3b !important;
    font-size: 0.9rem;
    font-weight: 400; /* 太字にしない */
    text-decoration: none;
    border-radius: 2px;
    transition: none; /* アニメーションを無効化 */
}



/* スマホ版の調整 */
@media (max-width: 768px) {
    .footer-right-block {
        align-items: center; /* スマホでは中央寄せ */
        margin-top: 30px;
    }
    
    .footer-btn-area {
        text-align: center;
        width: 100%;
    }
    
    .footer-contact-btn {
        width: 100%; /* スマホでは押しやすいように横いっぱいに */
        max-width: 300px;
    }
}

/* 電話番号のまとまり */
.site-footer .footer-contact-box {
    background-color: #ffffff;      /* 白背景の小さなボックスにして目立たせる */
    border: 1px solid #e5e7eb;      /* 上品な極薄の境界線 */
    padding: 15px 25px;
    border-radius: 4px;             /* サイトのトーンに合わせた僅かな角丸 */
    display: inline-block;
}

/* 「お電話でのご相談〜」のラベル */
.site-footer .contact-label {
    font-size: 0.75rem;
    color: #666666;
    margin-bottom: 2px;
    font-weight: 500;
}

/* 👑 電話番号本体（大きく、深緑で強調） */
.site-footer .contact-phone {
    margin: 0;
    line-height: 1.2;
}
.site-footer .contact-phone a {
    font-size: 1.6rem;               /* パッと目がいく大きさ */
    font-weight: 700;
    color: #064e3b;                  /* 事務所カラーの深緑 */
    font-family: 'Noto Sans JP', sans-serif;
    letter-spacing: 0.02em;
    transition: opacity 0.2s ease;
}
.site-footer .contact-phone a:hover {
    opacity: 0.8;
}

/* 受付時間 */
.site-footer .contact-time {
    font-size: 0.7rem;
    color: #888888;
    margin-top: 4px;
    margin-bottom: 0;
}

/* 📱 スマホ表示のときのレスポンシブ調整 */
@media (max-width: 768px) {
    .site-footer .footer-right-block {
        align-items: center;        /* スマホでは中央寄せにする */
        text-align: center;
        width: 100%;
        margin-top: 25px;
    }
    .site-footer .footer-right-block .footer-nav {
        margin-bottom: 20px;
    }
    .site-footer .footer-contact-box {
        width: 100%;                /* スマホでは横いっぱいに広げて押しやすく */
        padding: 15px;
    }
}
/* ==========================================================================
   🧹 PC・スマホ共通：フッターの上下余白を極限まで削ぎ落とす（!important強制版）
   ========================================================================== */

/* 1. フッター全体の上下のクッション（内側の余白）を狭く */
.site-footer {
    padding-top: 20px !important;    /* 元の 80px や 40px から 20px に激減 */
    padding-bottom: 15px !important; /* 下側も 15px に追い込みます */
}

/* 2. フッターの「上半分のエリア」の上下の隙間を狭く */
.footer-top {
    margin-top: 0 !important;
    margin-bottom: 0px !important;  /* 下の線（footer-bottom）との隙間を狭く */
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* 3. 【スマホ用】縦並びになった時の文字同士の間隔（gap）も狭く */
@media (max-width: 768px) {
    .footer-top {
        gap: 15px !important;        /* 40px から 15px に縮小 */
    }
}
/* ==========================================================================
   🟢 24行目の!important指定を完全に上書きして電話を深緑にする記述
   ========================================================================== */

/* 最も強力な名前の組み合わせで、24行目の黒色指定を上書きします */
.site-footer .footer-right-block .footer-contact-box .contact-phone a,
.site-footer .footer-right-block .footer-phone a {
    color: #064e3b !important; /* ついに勝利して深緑になります */
}

/* ついでに、スマホ等でお節介機能が発動した自動リンク（tel:）も深緑に固定 */
.site-footer a[href^="tel:"] {
    color: #064e3b !important;
}
/* ==========================================================================
   🟢 【完全解決版】電話マーク（☎）ごと絶対にすべてを深緑にする記述
   ========================================================================== */

/* 1. footer-contact-box の中にあるすべての文字・絵文字・リンクを強制的に深緑にする */
.site-footer .footer-right-block .footer-contact-box,
.site-footer .footer-right-block .footer-contact-box *,
.site-footer .footer-contact-box .contact-phone a,
.site-footer .footer-contact-box .contact-phone a * {
    color: #064e3b !important;
    fill: #064e3b !important;
}

/* 2. 万が一、ブラウザが勝手に「☎」をカラー絵文字（赤色）として表示しようとするのを「テキスト（文字）」として扱い、CSSの色を強制適用させる魔法のコード */
.site-footer .contact-phone a {
    font-variant-numeric: tabular-nums;
    -webkit-text-fill-color: #064e3b !important; /* Safariやスマホの絵文字の赤色を上書きして消す */
}
/* ==========================================================================
   🌈 ヒーロー＆コンセプトエリアの下線を美しいグラデーションにする設定
   ========================================================================== */

/* 1. 「千葉県○○市を中心に対応」のグラデーション下線 */
.hero-location {
    border-bottom: none !important; /* 元の単色線を一度消します */
    background: linear-gradient(to right, #064e3b, #10b981) !important; /* 左から右へのグラデーション */
    background-size: 100% 4px !important; /* グラデーション線の太さを「4px」に設定 */
    background-repeat: no-repeat !important;
    background-position: bottom left !important;
    padding-bottom: 5px !important;
}

/* 2. 「届けるべき人に、届けるべき権利を。」のグラデーション下線 */
.concept-catch::after {
    background: linear-gradient(to right, #064e3b, #10b981) !important; /* 同じグラデーションを適用 */
    height: 4px !important; /* スマホ・PC共通で少し存在感のある太さに */
}

/* ==========================================================================
   🌿 お手続きの流れ：PC 3行2列 / スマホ 縦1列（最新版）
   ========================================================================== */

/* セクション全体の余白調整 */
.process-section {
    background-color: #fff;
    padding: 30px 0 60px 0; /* 上の空間を詰め、下の空間を確保 */
    text-align: center;
}

.process-section-title {
    font-family: 'Shippori Mincho', serif;
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 40px;
}

/* 🏢 コンテナ：PC版は2列のグリッド形式 */
.process-container {
    max-width: 1000px;
    margin: 0 auto;
    background-color: #fafafa;
    padding: 50px 40px !important;
    border-radius: 4px;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important; /* 左右に2列配置 */
    gap: 50px 0; /* 上下のカードの隙間を50pxに固定 */
}

/* 各カードの幅設定（PC版：47%で横2並び） */
.process-card {
    flex: 0 0 47% !important; 
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: left;
}

/* ⚠️ 5番目や6番目への特殊な幅指定をすべて解除（一律 47% で並ぶように） */
.process-card:last-child {
    flex: 0 0 47% !important;
    margin-top: 0 !important;
}

/* 2列配置のため、矢印は非表示 */
.process-arrow {
    display: none !important;
}

/* 丸数字 */
.process-num {
    background-color: #064e3b;
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 0.9rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

/* アイコン画像サイズ */
.process-custom-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 15px;
}

/* ステップ名（太字） */
.process-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
    text-align: center;
    width: 100%;
}

/* 説明文 */
.process-card-desc {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.7;
    margin: 0;
    padding: 0 10px;
}

/* ==========================================
   📱 スマホ版：縦一列（1カラム）
   ========================================== */
@media (max-width: 768px) {
    .process-container {
        padding: 40px 20px !important;
        flex-direction: column !important; /* 縦に並べる */
        align-items: center !important;
        gap: 50px 0 !important;
    }

    /* スマホではカードを100%幅に広げる */
    .process-card, .process-card:last-child {
        flex: 0 0 100% !important;
        max-width: 450px;
    }

    .process-card-desc {
        font-size: 0.9rem;
        text-align: left;
    }
}


/* ==========================================================================
   料金ページ（price.html）専用デザイン
   ========================================================================== */
.price-section {
    padding: 60px 0;
    background-color: #fff;
}
.price-main-title {
    font-family: 'Shippori Mincho', serif;
    font-size: 2rem;
    color: #333;
    text-align: center;
    margin-bottom: 20px;
}
.price-lead-box {
    max-width: 900px;
    margin: 0 auto 50px auto;
    text-align: left;
    background: #fafafa;
    padding: 35px;
    border-radius: 4px;
}
.price-lead-box h3 {
    font-size: 1.25rem;
    color: #064e3b;
    margin-bottom: 15px;
    font-weight: 700;
}
.price-lead-box p {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.7;
    margin-bottom: 15px;
}
.price-lead-box p:last-child {
    margin-bottom: 0;
}
.price-rule-highlight {
    background-color: #f0f7f4;
    padding: 15px;
    border-radius: 4px;
    font-weight: 700;
    color: #064e3b;
    text-align: center;
    margin: 20px 0;
    font-size: 1.05rem;
}

/* ナビゲーション（グリッド配置） */
.salary-nav-container {
    max-width: 900px;
    margin: 0 auto 50px auto;
    text-align: center;
}
.salary-nav-label {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
    font-weight: 700;
}
.salary-nav-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    max-width: 800px;
    margin: 0 auto;
}
.salary-nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 10px;
    background-color: #fff;
    color: #064e3b !important;
    border: 1px solid #064e3b;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
    height: 100%;
}
.salary-nav-btn:hover {
    background-color: #064e3b;
    color: #fff !important;
}

/* 各早見表ブロック */
.table-block {
    max-width: 900px;
    margin: 0 auto 60px auto;
    background: #fff;
}
.table-block-title {
    font-family: 'Shippori Mincho', serif;
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 10px;
    text-align: left;
    border-bottom: 2px solid #064e3b;
    padding-bottom: 8px;
}
.monthly-amount-badge {
    display: inline-block;
    background-color: #064e3b;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 5px 15px;
    border-radius: 20px;
    margin-bottom: 15px;
    text-align: left;
}
.table-block-subtitle {
    font-size: 0.9rem;
    color: #666;
    text-align: left;
    margin-bottom: 15px;
    line-height: 1.5;
}

/* テーブルスタイル */
.price-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 15px;
}
.price-table th {
    background-color: #064e3b;
    color: #fff;
    padding: 14px 10px;
    font-size: 0.95rem;
    font-weight: 700;
    text-align: center;
}
.price-table td {
    padding: 14px 10px;
    border-bottom: 1px solid #e5e7eb;
    font-size: 0.95rem;
    color: #444;
    text-align: center;
}
.price-table tr:nth-child(even) td {
    background-color: #fcfdfc;
}
.price-table td strong {
    color: #064e3b;
    font-size: 1rem;
}
.price-table .row-grade {
    background-color: #f7faf8;
    font-weight: 700;
    color: #333;
    text-align: left;
    padding-left: 15px;
}

/* 下部注意書き（実費・例外に関する重要な開示） */
.price-bottom-notice {
    max-width: 900px;
    margin: 40px auto 0 auto;
    text-align: left;
    border-top: 1px dashed #ccc;
    padding-top: 25px;
}
.price-bottom-notice p {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 12px;
}
.price-bottom-notice p strong {
    color: #d32f2f; /* 大事な注意書きは少し赤みを持たせて誠実に目立たせる */
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .price-lead-box { padding: 20px; }
    .salary-nav-grid { grid-template-columns: 1fr; gap: 8px; }
    .price-table th, .price-table td { padding: 10px 5px; font-size: 0.85rem; }
    .price-table td strong { font-size: 0.9rem; }
    .table-block-title { font-size: 1.2rem; }
}

/* ==========================================================================
   ⏳ 仮公開用：開業準備中＆無料メール相談ボックス
   ========================================================================== */
.pre-open-notice {
    max-width: 850px;
    margin: 0 auto 50px auto; /* 下のnotice-boxとの間に程よい隙間をあける */
    border: 2px solid #064e3b; /* メインの深緑で美しく囲む */
    padding: 50px 40px;
    text-align: center;
    background-color: #fff;
    position: relative;
    box-shadow: 0 4px 20px rgba(6, 78, 59, 0.05); /* ほんのり上品な影 */
}

/* 上部にちょこんと乗る「NOTICE」のラベル */
.pre-open-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #064e3b;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 20px;
    letter-spacing: 0.1em;
}

/* 大きめのタイトル */
.pre-open-title {
    font-family: 'Shippori Mincho', serif;
    font-size: 1.8rem;
    color: #064e3b;
    margin-bottom: 30px;
    font-weight: 600;
}

.pre-open-body {
    margin-bottom: 35px;
}

/* 案内文のメイン */
.pre-open-lead {
    font-size: 1.1rem;
    color: #222;
    line-height: 1.8;
    margin-bottom: 15px;
}
.pre-open-lead strong {
    color: #064e3b;
    background: linear-gradient(transparent 70%, #e6f4ea 70%); /* 薄グリーンのマーカー線 */
    padding: 0 2px;
}

/* 注記のサブテキスト */
.pre-open-sub {
    font-size: 0.9rem;
    color: #666;
}

/* ボタンまわりのエリア */
.pre-open-action {
    background-color: #f4f7f5; /* 優しい薄緑がかったグレー背景 */
    padding: 30px 20px;
    border-radius: 4px;
}

.action-text {
    font-size: 0.95rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

/* スタイリッシュで押しやすいボタン設定（サイトの既存ボタンとテイストを統一） */
.pre-open-btn {
    display: inline-block;
    background-color: #064e3b;
    color: #fff !important;
    padding: 15px 40px;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease-in-out;
}

/* マウスを乗せたときのアクション */
.pre-open-btn:hover {
    background-color: #04392b;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* 📱 スマホ表示での崩れ防止対応 */
@media (max-width: 768px) {
    .pre-open-notice {
        padding: 40px 20px;
        margin-bottom: 40px;
    }
    .pre-open-title {
        font-size: 1.4rem;
        margin-bottom: 20px;
    }
    .pre-open-lead {
        font-size: 0.95rem;
        text-align: left; /* スマホでは左寄せで読みやすく */
    }
    .pre-open-sub {
        font-size: 0.85rem;
        text-align: left;
    }
    .action-text {
        font-size: 0.85rem;
    }
    .pre-open-btn {
        width: 100%; /* スマホでは横いっぱいに広げて押しやすく */
        padding: 14px 15px;
        font-size: 0.95rem;
    }
}

/* ==========================================================================
   📩 コンタクトフォームボタン：PC・スマホ共通 強制中央揃え（最終決戦版）
   ========================================================================== */
.wpcf7-form .form-submit,
.dummy-form .form-submit {
    text-align: center !important;
    display: block !important;
    width: 100% !important;
    clear: both !important;
}

/* ボタン自体を「ブロック要素」にして、左右の余白を自動（auto）で均等にする */
.wpcf7-form .dummy-btn,
.dummy-form .dummy-btn {
    display: block !important;   /* inline-block から block に強制変更 */
    margin: 40px auto 0 !important; /* 左右の余白を auto にして強制中央寄せ */
    float: none !important;
    width: auto !important;       /* ボタン幅は文字に合わせる（横いっぱいに広がらない） */
    max-width: 260px !important;  /* 押しやすいスマートな幅に固定 */
}

/* Contact Form 7が自動生成する透明な邪魔タグを無効化 */
.wpcf7-form-control-wrap {
    display: contents !important; /* レイアウトへの影響を完全に抹殺する設定 */
}