/*
Theme Name: 東北ファミリー探偵事務所
Theme URI: https://example.com/themes/tohoku-theme
Author: あなたの名前
Author URI: https://example.com
Description: 東北地方の探偵事務所のためのカスタムテーマ
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tohoku-theme
*/

/* リセットCSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Serif JP', serif;
    color: #333;
    line-height: 1.6;
    background-color: #FFFFFF;
    overflow-x: hidden;
}



a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ヘッダー - 修正版 */
.site-header {
    width: 100%;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    position: relative;
    z-index: 100;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* ←レスポンシブ対策にも有効 */
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 50px;
    width: auto;
    margin-right: 10px;
}

.logo-text {
    font-family: 'Noto Serif JP', serif;
    font-size: 27px;
    font-weight: 700;
    color: #1A2E5A;
    display: inline-block;
}

@media (max-width: 768px) {
    .logo-text {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 14px;
    }
}

.header-right {
  margin-left: auto; /* ★これで右端まで押し出す */
  display: flex;
  align-items: center;
  gap: 15px; /* 無料相談ボタンとの間隔調整 */
}

.contact-social-wrapper {
    display: flex;
    align-items: center;
}

.social-icons {
    display: flex;
  gap: 8px;

}

.social-icons a {
    margin: 0 5px;
    font-size: 14px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-icons img {
    width: 26px;
    height: 26px;
}

.header-contact-info {
 display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 10px; /* SNSと電話の間に余白を確保 */
}

.contact-info {
  text-align: right;
}

.header-contact-text {
    font-size: 14px;
    color: #666;

}

.contact-tel {
  font-size: 22px; /* ★少し大きく */
  color: #1A2E5A;
  font-weight: 700;
  margin: 2px 0 0;
}

.cta-button {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-color: #D24000;
    color: white;
    width: 80px;
    height: 80px;
    border-radius: 4px;
    font-family: 'Noto Serif JP', serif;
    font-weight: 500;
    font-size: 14px;
    transition: background-color 0.3s;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    text-align: center;
    margin-left: 10px;
}

.cta-button:hover {
    background-color: #b83700;
}

.cta-icon {
    margin-right: 5px;
}

.cta-icon img {
    width: 24px;
    height: 24px;
}

.cta-text {
    font-size: 14px;
    line-height: 1.2;
}

/* レスポンシブ対応の調整 */
@media (max-width: 992px) {
    .cta-button {
        width: 70px; /* 少し小さく */
        height: 70px;
    }
    
    .cta-icon img {
        width: 20px;
        height: 20px;
    }
    
    .cta-text {
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .cta-button {
        width: 60px; /* さらに小さく */
        height: 60px;
    }
    
    .cta-icon img {
        width: 18px;
        height: 18px;
    }
    
    .cta-text {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .cta-button {
        width: 50px; /* モバイルではさらに小さく */
        height: 50px;
        padding: 5px;
    }
    
    .cta-icon img {
        width: 16px;
        height: 16px;
    }
    
    .cta-text {
        font-size: 10px;
    }
}

/* ハンバーガーメニュー - 修正版 */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 200;
    margin-left: 20px;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #1A2E5A;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ナビゲーション - 修正版 */
.main-navigation {
    background-color: #1A2E5A;
    padding: 0;
    width: 100%;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-menu {
    display: flex;
    justify-content: center;
    margin: 0 auto;
    padding: 12px 0;
}

.nav-menu li {
    position: relative;
    margin: 0 10px;
}

.nav-menu li a {
    color: white;
    font-size: 16px;
    font-weight: 500;
    padding: 0 15px;
    transition: opacity 0.3s;
}

.nav-menu li a:hover {
    opacity: 0.8;
}

/* ヒーローセクション - 修正版 */
.hero {
    position: relative;
    height: 700px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(34, 51, 85, 0.3);
    z-index: 1; /* z-indexを追加 */
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    padding: 0 20px;
    margin: 0 auto;
    width: 100%;
    z-index: 2; /* オーバーレイより上に表示 */
}

.hero-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 48px;
    text-align: left;
    font-weight: 500;
    line-height: 71px;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
    color: white;
    text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25), 8px 4px 9.3px #1F2937;
}

/* セクション共通 */
.section {
    padding: 100px 0;
}

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

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    font-size: 28px;
    color: #1A2E5A;
    margin-bottom: 30px;
    position: relative;
}

.section-subtitle {
    font-size: 14px;
    color: #666;
}

.button-container {
    margin-top: 40px;
}

.more-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: #D24000;
    color: white;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.more-button:hover {
    background-color: #b83700;
    transform: translateY(-2px);
}

/* 事務所紹介 */
.office-intro {
    background-color: #fff;
    padding: 60px 0 100px 0;
}

.office-intro .section-title {
    margin-bottom: 30px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card-image {
  aspect-ratio: 4 / 3; /* 横4 : 縦3 の比率で自動調整 */
  overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-content {
    padding: 20px;
}

.card-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1A2E5A;
}

.card-text {
    font-size: 14px;
    color: #666;
}

/* 調査項目 */
.investigation {
    background-color: #F5F5F5;
    padding: 60px 0 100px 0;
}

.investigation .tab-buttons.investigation-tab-buttons {
    display: flex;
    justify-content: center;
    gap: 2px;
    margin-bottom: 30px;
    flex-wrap: nowrap;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.investigation .tab-button {
    padding: 10px 20px;
    border: none;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    font-size: 14px;
    font-family: 'Noto Serif JP', serif;
    color: white;
    background: #617662;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.investigation .tab-button.active {
    background: #1A2E5A;
    color: white;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.investigation .tab-content {
    display: none;
}

.investigation .tab-content.active {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.investigation-cards {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.investigation-card {
    background: white;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.investigation-icon img {
    width: 100px;
    height: 100px;

}

.investigation-title {
    font-size: 18px;
    font-weight: 700;
    color: #617662;
    margin: 10px;
}

.investigation-text {
    font-size: 14px;
    color: #4B5563;
    flex-grow: 1;
    overflow: hidden;
}

.more-link {
    display: inline-block;
    color: #E86A33;
    font-size: 14px;
    text-decoration: none;
    align-self: center;
}

.more-link::after {
    content: '→';
    margin-left: 5px;
}

/* タグフィルター */
.tag-filter {
    margin-bottom: 40px;
}

.tag-filter p {
    margin-bottom: 14px;
    color: #666;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    max-width: 900px;
    margin: 0 auto;
}

.tag-button {
    display: inline-block;
    padding: 8px 15px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 20px;
    color: #666;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}



.column-section
{
    background-color: #fcfcfc !important;
    padding: 100px 0;
}

/* 共通：投稿カード */
.post-card-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.post-card {
   width: 48%;
  height: 175px;
  display: flex;
  align-items: center;
  gap: 10px;

  border-radius: 6px;
  background-color: #fff;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
  transition: box-shadow 0.3s;
  flex-direction: row;
  overflow: hidden;
 height: 140px; /* 高さを指定して横長に */
}

.post-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* アイキャッチ画像 */
.post-card .post-image {
        min-width: 140px;
        height: 140px;
        padding: 0;
        margin: 0;
}

.card-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  width: 100%;
}



.post-card .post-image img {
  width: 140px;
  height: 140px;
  object-fit: cover;
   
}

.post-card .post-content {
  width: 60%;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.post-card .post-date {
  font-size: 13px;
  color: #888;
  margin-bottom: 4px;
}

.card-title {
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #1A2E5A !important;
  line-height: 1.4 !important;
  margin: 0;
}

/* PCでは2列表示 */
@media screen and (min-width: 768px) {
  .post-card-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
  }

  .post-card {
    width: calc(50% - 10px); /* 2列 */
  }
}

/* スマホでは1列表示 */
@media screen and (max-width: 767px) {
  .post-card-list {
    display: block;
    margin-bottom: 20px;
  }

  .post-card {
    width: 100%;
    margin-bottom: 10px;

  }

  .post-card .post-image {
    min-width: 100px;
    height: 100px;
    padding: 0;
    margin: 0;
}

 .post-card .post-image img {
  width: 100px;
  height: 100px;
  object-fit: cover;
   
}

  .post-card .post-content {
    width: 60%;
  }
}


/* サービス提供エリア - 2列レイアウト&濃い大きな地図 */
.service-area {
  background-color: #F5F5F5;
  padding: 40px 0;
  position: relative;
  overflow: hidden; /* ← これが重要：はみ出し防止 */
}

.service-area .section-title {
    font-size: 28px;
    color: #1A2E5A;
    margin-bottom: 15px;
}

.service-area .section-subtitle {
    font-size: 16px;
    color: #666;
    margin-bottom: 50px;
}

/* 背景の日本地図 - 濃く大きく */
.area-map-wrapper::before {
    content: '';
    position: absolute;
    top: 40%;
    left: 70%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 450px;
    background-image: url('/wp-content/themes/tohoku-theme/images/japan-map.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.3;
    z-index: 1;
    pointer-events: none;
}

.area-map-wrapper {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: center;
}

/* region-blockを2列に配置 */
.area-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 60px;
  width: 100%;
  max-width: 1000px;
}

.region-block {
  text-align: center;
}

.region-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #1A2E5A;
}

/* 都道府県リンクを3列に配置 */
.pref-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.pref-list li a {
  display: block;
  font-size: 14px;
  padding: 10px;
  background: #fff;
  color: #333;
  text-align: center;
  border: 1px solid #ccc;
  border-radius: 4px;
  text-decoration: none;
  transition: 0.2s;
}

.pref-list li a:hover {
    color: white;
    background-color: #1A2E5A;
    border-color: #1A2E5A;
}

/* 地図を非表示 
.japan-map {
    display: none;
}*/

/* タブ機能を無効化 */
.area-tabs {
    display: none;
}

.area-map-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tohoku-highlight {
    position: absolute;
    top: 5%;
    left: 70%;
    width: 18%;
    height: 25%;
    border: 3px solid #1A2E5A;
    border-radius: 10px;
    background-color: rgba(26, 46, 90, 0.15);
    box-shadow: 0 0 15px rgba(26, 46, 90, 0.5);
    animation: pulse 2s infinite;
    z-index: 1;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        background-color: rgba(26, 46, 90, 0.15);
    }
    50% {
        transform: scale(1.05);
        background-color: rgba(26, 46, 90, 0.25);
        box-shadow: 0 0 20px rgba(26, 46, 90, 0.7);
    }
    100% {
        transform: scale(1);
        background-color: rgba(26, 46, 90, 0.15);
    }
}

.service-area .area-tab {
    padding: 12px 20px;
    background: white;
    border: 1px solid #ddd;
    color: #333;
    font-size: 15px;
    font-weight: 500;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    min-width: 80px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.service-area .area-tab:hover {
    background: #1A2E5A;
    color: white;
    border-color: #1A2E5A;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1); 
}

.service-area .area-tab.active {
    background: #1A2E5A;
    color: white;
    border-color: #1A2E5A;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* レスポンシブ対応 */
@media screen and (max-width: 992px) {
    .area-links {
        gap: 40px;
    }
    
    .area-map-wrapper::before {
        width: 600px;
        height: 450px;
        opacity: 0.25;
    }
}

@media screen and (max-width: 768px) {
    .area-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .pref-list {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pref-list li a {
    font-size: 13px;
    padding: 8px;
    }
    
    .area-map-wrapper::before {
        width: 450px;
        height: 338px;
        opacity: 0.2;
    }
    
    .tohoku-highlight {
        top: 8%;
        right: 12%;
        width: 24%;
        height: 28%;
    }
}

@media screen and (max-width: 480px) {
    .service-area {
        padding: 40px 0;
    }
    
    .pref-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px 12px;
    }
    
    .pref-list li a {
        font-size: 14px;
        padding: 8px 12px;
    }
    
    .region-title {
        font-size: 18px;
        margin-bottom: 20px;
    }
    
    .area-map-wrapper::before {
        width: 350px;
        height: 263px;
        opacity: 0.15;
    }
    
    .tohoku-highlight {
        top: 8%;
        right: 10%;
        width: 26%;
        height: 30%;
    }
}

/* お問い合わせ */
.contact {
    padding: 60px 0;
    background-color: #fff;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-card {
    background: white;
    border-radius: 10px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.contact-icon {
    margin: 0 auto 20px;
    width: 90px;
    height: 90px;
}


.contact-title {
    font-size: 18px;
    font-weight: 700;
    color: #1A2E5A;
    margin-bottom: 10px;
}

.contact-text {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.contact-button {
    display: inline-block;
    padding: 10px 30px;
    background-color: #D24000;
    color: white;
    border-radius: 5px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.contact-button:hover {
    background-color: #b83700;
}

/* フッタースタイル */
.site-footer {
    background-color: #1A2E5A;
    color: #fff;
    padding: 40px 0 20px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-logo-block {
  margin-bottom: 30px;
  padding: 0 70px;
}

.footer-columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px 0;
}

.footer-column {
  flex: 1 1 220px; /* ←少し広めに調整 */
  min-width: 180px;
  padding: 0 70px;
}

.footer-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #fff;
}

.footer-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #fff;
}

.footer-logo img {
    width: 40px;
    height: auto;
    margin-right: 10px;
}

.footer-logo span {
    font-size: 16px;
    font-weight: 600;
}

.footer-logo-text {
    font-size: 16px;
}

.footer-bold {
    font-weight: 700;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 10px;
}

.footer-menu a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: opacity 0.3s;
}

.footer-menu a:hover {
    opacity: 0.8;
}

.footer-copyright {
    text-align: center;
    padding-top: 30px;
    margin-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .footer-column {
        flex: 1 1 50%;

    }
}

@media (max-width: 480px) {
    .footer-column {
        flex: 1 1 100%;

    }
}

/* モバイルナビゲーション */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: #1A2E5A;
    z-index: 1000;
    padding: 80px 20px 30px;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-list li {
    margin-bottom: 15px;
}

.mobile-nav-list a {
    color: white;
    font-size: 16px;
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* 追加: モバイルナビゲーションの拡張スタイル */
.mobile-nav-container {
    padding: 0;
}

.mobile-contact {
    text-align: center;
    margin-top: 40px;
}

.mobile-tel {
    color: white;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
}

.mobile-cta-button {
    display: block;
    background-color: #D24000;
    color: white;
    padding: 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* レスポンシブ対応 */
@media (max-width: 1200px) {
    .hero-content {
        padding-top: 50px;
    }

    .hero-title {
        font-size: 42px;
        line-height: 60px;
    }
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
    
    .footer-column:first-child {
        grid-column: span 3;
        margin-bottom: 20px;
    }

    .investigation .tab-content.active {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 992px) {
    .contact-info {
        display: none;
    }
    
    .hero-title {
        font-size: 36px;
        line-height: 54px;
    }
    
    .column-wrapper, .news-wrapper {
        overflow-x: auto;
        padding-bottom: 20px;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
    }
    
    .column-card, .news-card {
        flex: 0 0 calc(50% - 15px);
        scroll-snap-align: start;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 768px) {
    /* ヘッダー */
    .social-icons {
        display: none;
    }
    
    .hamburger {
        display: flex;
        margin-left: 15px;
    }
    
    /* ナビゲーション */
    .main-navigation {
        display: none;
    }
    
    /* ヒーローセクション */
    .hero-content {
        padding-top: 40px;
    }

    .hero {
        height: 400px;
    }
    
    .hero-title {
        font-size: 28px;
        line-height: 42px;
    }
    
    /* 調査項目 */
    .investigation .tab-content.active {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .column-card, .news-card {
        flex: 0 0 calc(80% - 15px);
    }
    
    .tag-button {
        padding: 6px 12px;
        font-size: 13px;
    }
    
    .article-card .card-link {
        flex-direction: column;
    }
    
    .article-image {
        width: 100%;
        height: 150px;
    }

    /* サービス提供エリア */
    .tohoku-highlight {
        top: 8%;
        right: 12%;
        width: 24%;
        height: 28%;
    }
    
    .area-tabs {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .service-area .area-tab {
        padding: 10px 15px;
        font-size: 14px;
        min-width: 70px;
    }
    
    /* フッター */
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-column {
        margin-bottom: 30px;
    }
    
    .footer-column:first-child {
        grid-column: auto;
    }
}

@media (min-width: 769px) {
    .investigation .tab-content.active {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
}

/* モバイル対応 */
@media (max-width: 576px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-card {
        width: 100%;
        margin-bottom: 20px;
    }
    
    /* お問い合わせボタンが縦長にならないように */
    .contact-button {
        width: auto;
        padding: 12px 15px;
        font-size: 14px;
        white-space: nowrap;
    }
}

@media (max-width: 480px) {
    /* ヘッダー */
    .logo-text {
        font-size: 14px;
    }
    
    /* ヒーローセクション */
    .hero-content {
        padding-top: 30px;
    }

    .hero {
        height: 350px;
    }
    
    .hero-title {
        font-size: 24px;
        line-height: 36px;
    }
    
    .article-image {
        width: 100%;
        height: 150px;
    }
    
    /* サービス提供エリア */
    .tohoku-highlight {
        top: 8%;
        right: 10%;
        width: 26%;
        height: 30%;
    }
    
    .service-area .area-tab {
        padding: 8px 10px;
        font-size: 13px;
        min-width: auto;
        flex: 1 0 calc(33.33% - 10px);
    }
    
    /* セクション */
    .section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 20px;
    }
    .column-card, .news-card {
        flex: 0 0 90%;
    }
    
    .more-button {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* 県ページ */
.area-page .container {
    padding: 60px 0;
}

.area-page h1 {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #1A2E5A; /* 濃いブルーで統一 */
    margin-bottom: 30px;
    text-align: center;
}

.area-page .content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    font-size: 14px;
    color: #666;
    margin-bottom: 40px;
}

.area-page .related-posts {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.area-page .related-posts h2 {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #1A2E5A;
    margin-bottom: 20px;
    text-align: center;
}

.area-page .post {
    margin-bottom: 20px;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.area-page .post h3 {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #1A2E5A;
    margin-bottom: 10px;
}

.area-page .post a {
    text-decoration: none;
}

.area-page .post p {
    font-size: 14px;
    color: #666;
}


/* 事務所紹介カードの動きのみ無効化 */
.office-intro .card:hover {
    transform: none !important;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05) !important;
    transition: none !important;
}

.office-intro .card-image img:hover {
    transform: none !important;
    transition: none !important;
}

/* タグクラウドのスタイル */
.tag-cloud {
    margin: 20px 0;
    line-height: 2;
}

.tag-link {
    display: inline-block;
    margin: 0 5px 5px 0;
    padding: 5px 10px;
    background-color: #f5f5f5;
    border-radius: 3px;
    color: #1A2E5A;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
}

.tag-link:hover {
    background-color: #1A2E5A;
    color: white;
}

/* 調査項目と地域ページの共通スタイル */
.page-header {
    text-align: center;
    background-color: #f5f7fa;
    padding: 30px 0;
    border-bottom: 1px solid #eee;
}

.page-title {
    font-size: 24px;
    color: #1A2E5A;
}

.page-description {
    font-size: 16px;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

.content-section {
    margin-bottom: 60px;
}


.content-image {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
}

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

/* 関連記事カードスタイル（「もっと読む」ボタンなし） */
.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.related-post-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.related-post-card:hover {
    transform: translateY(-5px);
}

.related-post-image {
    height: 180px;
    overflow: hidden;
}

.related-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.related-post-card:hover .related-post-image img {
    transform: scale(1.05);
}

.related-post-content {
    padding: 15px;
}

.related-post-title {
    font-size: 18px;
    font-weight: 600;
    color: #1A2E5A;
    margin-bottom: 10px;
    line-height: 1.4;
}

.related-post-date {
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
}

.related-post-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* サイトカラーの統一 */
.bg-primary {
    background-color: #1A2E5A;
}

.bg-secondary {
    background-color: #617662;
}

.bg-accent {
    background-color: #D24000;
}

.text-primary {
    color: #1A2E5A;
}

.text-secondary {
    color: #617662;
}

.text-accent {
    color: #D24000;
}

/* PDFダウンロード */
.pdf-download-container {
    max-width: 600px;
    margin: 30px auto;
    padding: 20px;
    background-color: #f8f8f8;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.pdf-title {
    font-size: 18px;
    color: #1A2E5A;
    margin-bottom: 15px;
}

.pdf-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.pdf-password-form .form-group {
    margin-bottom: 15px;
}

.pdf-password-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

.pdf-password-form input[type="password"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.pdf-download-button {
    background-color: #D24000;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s;
}

.pdf-download-button:hover {
    background-color: #b83700;
}

.pdf-message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 4px;
}

.pdf-message.error {
    background-color: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
}

.pdf-message.success {
    background-color: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

/* 記事内関連記事セクション */
.in-content-related-posts {
    margin: 40px 0;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #eee;
}

.related-posts-title {
    font-size: 20px;
    color: #1A2E5A;
    margin-bottom: 20px;
    text-align: center;
}

/* 目次のスタイル */
/*
.toc-container {
  background: #f5f5f5;
  padding: 15px;
  margin-bottom: 30px;
  border-left: 5px solid #617662;
  font-size: 0.95em;
}
.toc-title {
  font-weight: bold;
  margin-bottom: 10px;
}
.toc-list {
  list-style: none;
  padding-left: 0;
}
.toc-item {
  margin-bottom: 5px;
}
.toc-h3-list {
  list-style: none;
  padding-left: 1em;
}
.toc-link {
  text-decoration: none;
  color: #1a2e5a;
}
.toc-link:hover {
  text-decoration: underline;
}
*/
/* 見出しにジャンプした時のスクロールオフセット（ヘッダー対策） */
h2, h3 {
    scroll-margin-top: 80px; 
}


/* 画像を中央寄せ */
.wp-block-image {
    text-align: center;
    margin: 30px auto;
}

.wp-block-image img {
    margin: 0 auto;
    display: block;
}

.entry-content img,
.post-content img,
.content img,
figure img {
    margin: 20px auto;
    display: block;
}

figure {
    text-align: center;
    margin: 20px auto;
}

/* エディタスタイルのフロントエンド反映 */
.has-primary-color {
    color: #1A2E5A;
}

.has-secondary-color {
    color: #617662;
}

.has-accent-color {
    color: #D24000;
}

.has-black-color {
    color: #333333;
}

.has-gray-color {
    color: #666666;
}

.has-light-gray-color {
    color: #f5f5f5;
}

.has-white-color {
    color: #ffffff;
}

.has-primary-background-color {
    background-color: #1A2E5A;
}

.has-secondary-background-color {
    background-color: #617662;
}

.has-accent-background-color {
    background-color: #D24000;
}

.has-black-background-color {
    background-color: #333333;
}

.has-gray-background-color {
    background-color: #666666;
}

.has-light-gray-background-color {
    background-color: #f5f5f5;
}

.has-white-background-color {
    background-color: #ffffff;
}

/* 投稿ページのスタイル */
.single-post {
    margin-bottom: 60px;
}

.post-meta {
    color: #666;
    font-size: 14px;
    margin-top: 10px;
}

.post-date {
    margin-right: 15px;
}

.post-content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.post-content {
    line-height: 1.8;
    color: #333;
    font-size: 16px;
}

.post-content p {
    margin-bottom: 20px;
}


.post-content blockquote {
    background-color: #f9f9f9;
    border-left: 5px solid #1A2E5A;
    padding: 20px;
    margin: 20px 0;
    font-style: italic;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin: 20px auto;
    display: block;
}

.post-content .wp-caption {
    max-width: 100%;
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.post-content .wp-caption-text {
    font-size: 14px;
    color: #666;
    text-align: center;
    margin-top: 5px;
}

.post-tags {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.tags-title {
    font-weight: 700;
    color: #1A2E5A;
    margin-right: 10px;
}

.post-tags a {
    display: inline-block;
    padding: 5px 10px;
    margin: 0 5px 5px 0;
    background-color: #f5f5f5;
    border-radius: 3px;
    color: #1A2E5A;
    font-size: 13px;
    transition: all 0.3s;
}

.post-tags a:hover {
    background-color: #1A2E5A;
    color: white;
}

/* カスタムブロックパターンのスタイル */
.alert-box {
    background-color: #fff8e1;
    border-left: 5px solid #D24000;
    padding: 20px;
    margin: 30px 0;
    border-radius: 0 5px 5px 0;
}

.alert-box h4 {
    margin-top: 0;
    margin-bottom: 15px;
}

.point-columns {
    margin: 30px 0;
}

.point-columns .wp-block-column {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 5px;
}

.point-columns h4 {
    margin-top: 0;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.qa-item {
    margin-bottom: 30px;
}

.qa-question {
    background-color: #f5f7fa;
    padding: 15px 15px 15px 50px;
    position: relative;
    font-weight: 700;
    margin-bottom: 10px;
    border-radius: 0 5px 5px 0;
}

.qa-question:before {
    content: "Q";
    position: absolute;
    left: 15px;
    top: 13px;
    font-size: 20px;
    color: #1A2E5A;
    font-weight: 700;
}

.qa-answer {
    background-color: #fff;
    padding: 15px 15px 15px 50px;
    position: relative;
    margin-left: 20px;
    border-radius: 0 5px 5px 0;
}

.qa-answer:before {
    content: "A";
    position: absolute;
    left: 15px;
    top: 13px;
    font-size: 20px;
    color: #D24000;
    font-weight: 700;
}

/* 記事内関連記事のスタイル */
.in-content-related-post {
    margin: 40px 0;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #eee;
}

.in-content-related-posts {
    margin: 40px 0;
    padding: 25px;
    background-color: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #eee;
}

.related-posts-title, .related-post-title {
    font-size: 20px;
    color: #1A2E5A;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 700;
}

.in-content-related-posts .related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.related-post-card {
    background: white;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    margin-bottom: 0;
}

.related-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.related-post-image {
    height: 180px;
    overflow: hidden;
}

.related-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.related-post-card:hover .related-post-image img {
    transform: scale(1.05);
}

.related-post-content {
    padding: 15px;
}

.related-post-content .related-post-title {
    font-size: 16px;
    color: #1A2E5A;
    margin: 5px 0 10px;
    line-height: 1.4;
    text-align: left;
}

.related-post-date {
    font-size: 12px;
    color: #666;
}

.related-post-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .in-content-related-posts .related-posts-grid {
        grid-template-columns: 1fr;
    }
}



/* 記事下部の不要なカテゴリーセクションを非表示 */
.single-post .categories,
.single-post .post-navigation,
.single-post .cat-links,
.single-post #categories,
.single-post .post-categories,
.single-post .category-section,
article .category-list,
.post-categories-container,
.category-section,
.entry-categories,
.post-categories,
#categories,
.categories-section,
article.post > div:last-child > ul,
article.post .post-categories,
.entry-meta .cat-links,
.post-meta-container .categories,
.sidebar, 
aside, 
.widget-area,
.recent-posts,
.recent-comments,
.widget_categories,
.widget_recent_entries,
.widget_recent_comments,
.widget_meta,
.contact-widget,
.comments-area,
.wp-block-latest-posts,
.wp-block-latest-comments,
.wp-block-archives,
.wp-block-tag-cloud {
    display: none !important;
}




/* 記事下部の不要なカテゴリーセクションを非表示 */
.sidebar, aside, .widget-area, .categories, .recent-posts, .recent-comments,
.post-navigation, .cat-links, #categories, .post-categories, .category-section,
.widget_categories, .widget_recent_entries, .widget_recent_comments, .widget_meta {
    display: none !important;
}




/* 固定ページと投稿ページのデザイン統一 */
.single .entry-content,
.page .entry-content,
.post .entry-content,
.single .post-content,
.page .post-content,
.post .post-content,
.page-content,
article.page .entry-content,
article.post .entry-content,
article.type-page .entry-content,
article.type-post .entry-content {
    font-family: 'Noto Serif JP', serif;
    line-height: 1.8;
    color: #333;
    margin-bottom: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 30px;
}



/* 段落スタイルの統一 */
article p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
}



/* 強調スタイルの統一 
article strong, article b {
    color: #1A2E5A;
    font-weight: 700;
} */

article em {
    color: #D24000;
    font-style: italic;
}

/* 問い合わせフォームのスタイル改善 */
/* フォーム全体のスタイル */
.wpcf7 form {
    max-width: 700px;
    margin: 0 auto;
    font-family: 'Noto Sans JP', sans-serif;
}

/* 入力フィールドのスタイル */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea,
.wpcf7 select {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus {
    border-color: #1A2E5A;
    outline: none;
    box-shadow: 0 0 0 3px rgba(26, 46, 90, 0.1);
}

/* 送信ボタンスタイル修正 */
.wpcf7 input[type="submit"] {
    background-color: #D24000;
    color: white;
    border: none;
    padding: 14px 30px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: block;
    margin: 25px auto 0;
    transition: all 0.3s;
    box-shadow: 0 4px 6px rgba(210, 64, 0, 0.2);
}

.wpcf7 input[type="submit"]:hover {
    background-color: #b83700;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(210, 64, 0, 0.25);
}

/* 送信ボタンとチェックボックスの位置関係を修正 */
.wpcf7 p:last-of-type {
    clear: both;
    text-align: center;
    display: block;
    width: 100%;
    margin-top: 25px;
}

/* カスタム目次ブロック用スタイル - 自前の目次ブロックを作る場合 */
.custom-toc {
    background-color: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 25px;
    margin: 30px 0;
    max-width: 100%;
}

.custom-toc-title {
    font-size: 20px;
    font-weight: 700;
    color: #1A2E5A;
    margin-top: 0;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
    padding-bottom: 10px;
}

.custom-toc-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: #D24000;
}

.custom-toc-list {
    counter-reset: item;
    list-style-type: none;
    padding-left: 0;
}

.custom-toc-item {
    counter-increment: item;
    margin-bottom: 10px;
    font-weight: 500;
}

.custom-toc-item:before {
    content: counter(item) ". ";
    color: #1A2E5A;
    font-weight: 700;
}

.custom-toc-sublist {
    list-style-type: none;
    padding-left: 25px;
    margin-top: 8px;
    counter-reset: subitem;
}

.custom-toc-subitem {
    counter-increment: subitem;
    margin-bottom: 8px;
    font-size: 14px;
}

.custom-toc-subitem:before {
    content: counter(item) "." counter(subitem) " ";
    color: #617662;
    font-weight: 600;
}

.custom-toc-link {
    color: #1A2E5A;
    text-decoration: none;
    transition: color 0.3s;
}

.custom-toc-link:hover {
    color: #D24000;
    text-decoration: underline;
}

/* 既存の目次のスタイルを改善 */
.toc-container {
  background-color: #f9f9f9;
  padding: 1em;
  border: 1px solid #ddd;
  border-radius: 6px;
  margin-bottom: 2em;
}

.toc-container ol,
.toc-container ul {
  list-style: none !important;
  padding-left: 0 !important;
  margin-left: 0 !important;
}

/* 目次タイトル */
.toc-title {
  font-weight: bold;
  font-size: 1.1em;
  margin-bottom: 0.5em;
}

/* H2レベル（親） */
.toc-list > .toc-h2::before {
  content: "＞ ";
  color: #1A2E5A;
  font-weight: bold;
  margin-right: 0.3em;
}

/* H3レベル（子） */
.toc-h3-list > .toc-h3::before {
  content: "・";
  color: #617662;
  margin-right: 0.5em;
}

/* リストの基本スタイル無効化 */
.toc-list,
.toc-h3-list {
  list-style: none !important;
  margin: 0;
  padding-left: 1em;
}

/* 各リンクの装飾 */
.toc-item a {
  text-decoration: none;
  color: #333;
}

.toc-item a:hover {
  text-decoration: underline;
}



/* 囲みボックス 共通ベース*/
.info-box {
  border: 2px solid #617662;
  background-color: #f5f7fa;
  padding: 1.5em;
  margin: 2em 0;
  border-radius: 8px;
  font-size: 16px;
  line-height: 1.7;
}

.info-box-title {
  background-color: #617662;
  color: #fff;
  display: inline-block;
  padding: 0.3em 1em;
  border-radius: 4px 4px 0 0;
  margin-bottom: 0.5em;
  font-weight: bold;
}

/* チェックリスト */
.entry-content ul.checklist,
.page-content ul.checklist,
.post-content ul.checklist {
  list-style: none !important;
  padding-left: 0 !important;
  margin: 1em 0 !important;
}

.entry-content ul.checklist li,
.page-content ul.checklist li,
.post-content ul.checklist li {
  position: relative !important;
  padding-left: 2.2em !important;
  margin-bottom: 0.8em !important;

}

.entry-content ul.checklist li::before,
.page-content ul.checklist li::before,
.post-content ul.checklist li::before {
  content: "";
  position: absolute;
  top: 0.3em; /* 垂直位置の微調整 */
  left: 1.4px;
  width: 1.4em;
  height: 1.4em;
  background-image: url('https://to-hoku.fam-tantei.co.jp/wp-content/themes/tohoku-theme/images/checklist-icon.png'); /* ←画像のフルURLを必ず確認 */
  background-size: contain;
  background-repeat: no-repeat;
}

article.post > div:last-child > ul.checklist {
  display: block !important;
}

.entry-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
}

blockquote {
  border-left: 4px solid #ccc;
  margin: 1.5em 10px;
  padding: 0.5em 10px;
  color: #555;
  background: #f9f9f9;
  font-style: italic;
}

.simple-table {
  border-collapse: collapse;
  width: 100%;
}
.simple-table th, .simple-table td {
  border: 1px solid #ccc;
  padding: 8px;
  text-align: left;
}
.simple-table th {
  background-color: #f5f5f5;
}



/* Q&A表 */
table.qa-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

table.qa-table th.qa-q {
    background-color: #eaeaea;
    color: #1A2E5A;
    width: 60px;
    text-align: center;
    font-weight: bold;
    font-size: 18px;
    padding: 15px;
    border: 1px solid #eaeaea;
}

table.qa-table th.qa-a {
    background-color: #fff3e0;
    color: #D24000;
    width: 60px;
    text-align: center;
    font-weight: bold;
    font-size: 18px;
    padding: 15px;
    border: 1px solid #eaeaea;
}

table.qa-table td.qa-content {
    padding: 15px;
    border: 1px solid #eaeaea;
    vertical-align: top;
}

/* 画像の中央寄せを強制する */
.entry-content img.aligncenter,
.post-content img.aligncenter,
.page-content img.aligncenter,
img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* 共通のリストスタイル（ul・ol・.bullet すべて） */
.post-content ul,
.post-content ol,
.entry-content ul,
.entry-content ol,
article ul,
article ol,
article ul.bullet,
article ol.bullet {
  list-style-type: disc;
  list-style-position: outside;
  padding-left: 1.5em;
  margin: 1em 0;
}

/* リスト内のli共通スタイル */
.post-content li,
.entry-content li,
article li {
  margin-bottom: 0.5em;
  line-height: 1.6;
}

/* 統一された見出しスタイル（投稿・固定ページ専用） */

.entry-title, .page-title {
  font-size: 24px;
  color: #1A2E5A;
  font-weight: 700;
  text-align: center;
}

.post-content h2,
.entry-content h2,
.page-content h2,
.content h2,
article h2 {
  font-size: 24px;
  color: #1A2E5A;
  border-left: 8px solid #1A2E5A;
  padding-left: 0.8em;
  margin: 2.5em 0 1.2em;
  font-weight: bold;
}

/* .post-content h3,
.entry-content h3,
.page-content h3 {
    font-size: 20px;
    color: #617662;
    margin: 30px 0 15px;
    padding-left: 15px;
    border-left: 4px solid #1A2E5A;
    font-weight: 600;
} */

.post-content h4,
.entry-content h4,
.page-content h4,
.content h4,
article h4 {
  font-size: 18px;
  color: #1A2E5A;
  margin: 25px 0 15px;
  padding-left: 10px;
  border-left: 4px solid #617662;
  font-weight: 600;
  line-height: 1.4;
}

/* CTAラッパー */
.cta {
  background: #fce4ec;
  padding: 30px;
  text-align: center;
  border-radius: 12px;
  margin: 60px auto;
}

/* CTA内ボタン */
.cta a {
  display: inline-block;
  background: #D24000;
  color: #fff;
  padding: 12px 30px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  font-size: 18px;
  margin-top: 15px;
}

.cta a:hover {
  background: #a83200;
}


/* 黄マーカー */
.marker-yellow {
  background: linear-gradient(transparent 60%, #ffffcc 60%);
  font-weight: bold;
  padding: 0 2px;
}


/* 重要ボックス（赤系） */
.info-box.info-important {
  border-color: #D24000;
  background-color: #fff2ee;
}

/* 成功ボックス（緑系） */
.info-box.info-success {
  border-color: #4CAF50;
  background-color: #e8f5e9;
}

/* --- 吹き出しボックス --- */
.speech-box {
  position: relative;
  background: #f0f8ff;
  border-radius: 15px;
  padding: 20px 25px;
  margin: 2em 0;
  font-size: 16px;
  line-height: 1.8;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  border-left: 5px solid #1A2E5A;
}

.speech-box::before {
  content: "“";
  font-size: 3.5rem;
  position: absolute;
  top: -20px;
  left: 15px;
  color: #1A2E5A;
  font-family: Georgia, serif;
}

body.category .post-card-list,
body.tag .post-card-list,
body.archive .post-card-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 30px;
  padding-bottom: 60px; /* フッターと被らないように */
}

body.category .post-card,
body.tag .post-card,
body.archive .post-card {
  width: auto; /* 念のため幅指定解除 */
}

body.category .pagination-wrapper,
body.tag .pagination-wrapper,
body.archive .pagination-wrapper {
  width: 100%;
  margin-top: 40px;
  margin-bottom: 60px;
  text-align: center;
}

@media screen and (max-width: 767px) {
  body.category .post-card-list,
  body.tag .post-card-list,
  body.archive .post-card-list {
    display: block;
  }

  body.category .post-card,
  body.tag .post-card,
  body.archive .post-card {
    margin-bottom: 20px;
  }

  body.category .post-card:last-child,
  body.tag .post-card:last-child,
  body.archive .post-card:last-child {
    margin-bottom: 0;
  }
}


.pagination-wrapper .page-numbers {
  display: inline-block;
  margin: 0 5px;
  padding: 8px 12px;
  border: 1px solid #ccc;
  color: #333;
  text-decoration: none;
  border-radius: 5px
}

.pagination-wrapper .current {
  background-color: #1a2e5a;
  color: #fff;
  border-color: #1a2e5a;
  border-radius: 5px;
}


.single .related-posts-heading {
  font-size: 1.8rem;
  color: #1A2E5A;
  border-left: 8px solid #1A2E5A;
  padding-left: 0.8em;
  margin: 2.5em 0 1.2em;
  font-weight: bold;
}

.breadcrumb-wrapper {
    max-width: 1200px;
    margin-top: 15px;           /* 上の余白をなくす */
    margin-bottom: 15px;     /* 下に少し余白をあける */
    padding: 0 50px;
    font-size: 14px;
    text-align: left;
}


.page-title-container {
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;

}