/*
Theme Name: 鹿児島不動産鑑定コンサルティング
Author: shuichi machida
Description: 誠実と解決を象徴する鹿児島不動産鑑定コンサルティング
Version: 1.0
*/
/* 1. Google Fontsから気品のあるセリフ体（明朝体）をロード */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@400;700&display=swap');

/* 2. 基本設定（鉛色の黒と背景色） */
body {
    font-family: 'Noto Serif JP', serif;
    color: #333333; /* 鉛色の黒 */
    background-color: #fdfdfd; /* わずかに温かみのある白 */
    line-height: 2.0; /* 読みやすさを追求した広い行間 */
    margin: 0;
    letter-spacing: 0.05em; /* 誠実さを感じる文字間 */
}

/* 1. まずはMontserratをGoogle Fontsから読み込む（もしheader等で読み込んでいない場合） */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;500&display=swap');

/* 2. サイト全体のベース設定 */
/* 欧文フォント(Montserrat)を先に書くのがコツです。そうすると英数字だけに適用されます */
body {
    font-family: 'Montserrat', "リュウミン R-KL", "游明朝", "YuMincho", "Hiragino Mincho ProN", serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 3. 見出し（タイトル）系の設定 */
h1, h2, h3, .site-title a, .entry-title {
    font-family: 'Montserrat', "リュウミン B-KL", serif;
    font-weight: 500; /* Montserratの太さ */
    letter-spacing: 0.03em; /* ほんの少しだけ字間を広げて品格を出す */
}

/* 4. ウィジェットやその他の細かい指定を共通化 */
.site-description, 
.widget-title, 
.widget-content, 
.entry-meta, 
.entry-footer, 
.comment-author .fn {
    font-family: 'Montserrat', "リュウミン R-KL", serif;
}

/* 5. 数字だけを少し綺麗に見せる微調整（お好みで） */
span.number, .post-date {
    font-family: 'Montserrat', sans-serif;
}
html {
    scroll-behavior: smooth; /* スルスルとスクロールする魔法の1行 */
}
.container {
max-width: 900px;
    margin-left: auto !important;  /* 強制的に左余白を自動に */
    margin-right: auto !important; /* 強制的に右余白を自動に */
    padding: 0 40px;
}

/* 3. ヘッダー（落ち着いた紺色をアクセントに） */
header {
    background-color: #ffffff;
    padding: 80px 0 40px;
    text-align: center;
    border-bottom: 1px solid #eeeeee;
}

h1 {
    font-size: 1.8rem;
    color: #2c3e50; /* 深い紺色 */
    margin-bottom: 10px;
    font-weight: 700;
}

.tagline {
    font-size: 1.0rem;
    color: #7f8c8d;
    margin: 0;
}

/* --- 4. メインビジュアルエリア（heroセクション） --- */
.hero {
    width: 100%;
    height: 60vh; /* 画面の高さの60%くらいにする（固定pxより安定します） */
    min-height: 400px;
    background-image: url('images/hero.jpg') !important;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    overflow: hidden; /* ★はみ出しをカット */
}

/* 5. セクション設定（余白を贅沢に取る） */
section {
    margin-bottom: 120px;
}

h2 {
    font-size: 1.5rem;
    color: #2c3e50;
    border-left: 3px solid #2c3e50;
    padding-left: 20px;
    margin-bottom: 40px;
}

/* 6. リスト（業務内容など） */
ul {
    list-style: none;
    padding: 0;
}

ul li {
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

ul li::before {
    content: "・";
    color: #2c3e50;
    margin-right: 10px;
}

/* 7. フッター */
footer {
    text-align: center;
    padding: 80px 0;
    background-color: #2c3e50;
    color: #ffffff;
    font-size: 0.8rem;
}
/* 3項目横並びの設定 */
.features {
    display: flex;
    justify-content: space-between;
    gap: 40px; /* 項目間のスキマ */
}

.feature-item {
    flex: 1; /* 3等分にする */
}

.feature-item h2 {
    font-size: 1.2rem; /* 横並びなので少し小さめに */
}

/* レスポンシブ対応（スマホで見たら縦並びにする） */
@media (max-width: 768px) {
    .features {
        flex-direction: column;
    }
}
.news-list {
    background: #fff;
    border: 1px solid #eee;
    padding: 20px 40px;
}
.news-item {
    padding: 15px 0;
    border-bottom: 1px solid #f9f9f9;
    display: flex;
    gap: 30px;
}
.news-item:last-child { border-bottom: none; }
.news-date { color: #7f8c8d; font-size: 0.85rem; }
.news-title { color: #2c3e50; text-decoration: none; font-weight: 700; }
.news-title:hover { color: #7f8c8d; }
/* Contact Form 7 カスタムデザイン */
.wpcf7 {
    max-width: 600px;
    margin: 0 auto;
    background: #f9f9f9;
    padding: 40px;
    border: 1px solid #eee;
}

.cf7-field {
    margin-bottom: 25px;
}

.cf7-field label {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #2c3e50;
}

/* 入力欄のデザイン */
.wpcf7-text, .wpcf7-textarea, .wpcf7-select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 0; /* 角を丸めないのが誠実さのコツ */
    background: #fff;
    box-sizing: border-box;
    font-family: inherit;
}

.wpcf7-text:focus, .wpcf7-textarea:focus {
    border-color: #2c3e50;
    outline: none;
}

/* 送信ボタン */
.wpcf7-submit {
    width: 100%;
    background-color: #2c3e50; /* 鉛色の紺 */
    color: #fff;
    border: none;
    padding: 15px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s;
}

.wpcf7-submit:hover {
    background-color: #34495e;
}
/* Google Mapのレスポンシブ対応 */
.map-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9の比率 */
    height: 0;
    overflow: hidden;
    filter: grayscale(100%); /* 地図も鉛色に合わせると渋いです。お好みで！ */
    transition: filter 0.3s;
}

.map-container:hover {
    filter: grayscale(0%); /* ホバーで色が戻る演出 */
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
/* --- ヘッダー・共通ナビの設定 --- */
nav {
    background: #ffffff;
    border-bottom: 1px solid #eeeeee;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.nav-links {
    display: flex !important; /* 強制的に横並び */
    justify-content: center;
    gap: 40px;
    padding: 15px 0;
    list-style: none; /* 点を消す */
    margin: 0 auto;
}

.nav-links a {
    text-decoration: none;
    color: #2c3e50;
    font-size: 0.9rem;
    font-weight: 700;
}
/* フッター全体の調整 */
footer {
    background-color: #2c3e50;
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
}

.footer-info {
    margin-bottom: 40px;
    line-height: 1.8;
}

.footer-info .company-name {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 0.1em;
}

.footer-info p {
    margin: 5px 0;
    opacity: 0.9; /* 少しだけ透過させて柔らかい印象に */
}

.copyright {
    margin-top: 40px;
    font-size: 0.75rem;
    opacity: 0.6;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}
/* フッターのナビは背景を透過させる */
footer nav {
    background: transparent !important;
    border: none;
    position: static;
}

footer .nav-links a {
    color: #ffffff !important;
}
/* --- 投稿個別ページ（single.php）の設定 --- */
.single-post-container {
    padding: 100px 40px;
}

.entry-post .entry-date {
    color: #7f8c8d;
    margin-bottom: 10px;
}

.entry-post .entry-title {
    font-size: 2rem;
    color: #2c3e50;
    border-left: 5px solid #2c3e50;
    padding-left: 20px;
    margin-bottom: 40px;
    line-height: 1.3;
}

.entry-content {
    line-height: 2.0;
    margin-bottom: 60px;
}

.back-to-top a {
    color: #2c3e50;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.back-to-top a:hover {
    color: #7f8c8d;
}
.entry-category a {
    background-color: #2c3e50; /* 鉛色の紺 */
    color: #ffffff;
    padding: 2px 10px;
    font-size: 0.7rem;
    text-decoration: none;
    margin-left: 10px;
    border-radius: 2px;
}