@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Hind+Guntur:wght@600&family=M+PLUS+1:wght@400;500;600;700;800;900&display=swap');

/* ==========================================================================
   1. 変数 & 基本スタイル
   ========================================================================== */
:root {
    --font-main: 'Hiragino Kaku Gothic StdN', 'ヒラギノ角ゴ StdN', sans-serif; /* 基本の丸ゴシック */
    --font-mplus: 'M PLUS 1', sans-serif;
    --font-en: 'Hind Guntur', sans-serif;
    --site-width: 1300px;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    font-size: 16px;
    overflow-x: hidden;
    scroll-behavior: smooth;
}
body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--color-text-dark);
    background-color: var(--color-white);
    width: 100%;
    overflow-x: hidden;
}
img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}
a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}
a:hover {
    opacity: 0.8;
}
/* ==========================================================================
   2. 共通クラス
   ========================================================================== */
.container {
    width: 100%;
    max-width: var(--site-width);
    margin: 0 auto;
    padding: 0 20px;
}
.sp-only {
    display: none !important;
}
.pc-only {
    display: block !important;
}
/* ==========================================================================
   3. メディアクエリ
   ========================================================================== */
@media screen and (max-width: 767px) {
    .sp-only {
        display: block !important;
    }
    .pc-only {
        display: none !important;
    }
}

/* ====================================================
   スマホ画像・表示セット
   ==================================================== */
.header-sp-only {
    display: none;
}
@media screen and (max-width: 767px) {
    .site-header {
        position: absolute !important;
        top: 40px !important;
        left: 0;
        width: 100% !important;
        height: 60px !important;
        background-color: transparent !important;
        z-index: 10;
    }
    .site-main, #page {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }
    .header-sp-container {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        height: 60px;
    }
    .header-sp-left img {
        height: 35px !important;
        width: auto;
        margin-left: 15px;
        filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    }
    #hamburger-btn {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: fixed;
        top: 20px;
        right: 0;
        width: 60px;
        height: 60px;
        background: #289BE6 !important;
        border: none;
        border-radius: 0;
        cursor: pointer;
        z-index: 10000;
        padding: 10px;
        gap: 4px;
        box-shadow: none;
    }
    #hamburger-btn span {
        display: block !important;
        background-color: #fff !important;
        transition: all 0.3s;
        border-radius: 1px;
    }
    #hamburger-btn span:nth-child(3) {
        margin-bottom: 3px !important;
    }
    #hamburger-btn .menu-text {
        width: auto !important;
        height: auto !important;
        background: none !important;
        background-color: transparent !important;
        color: #FFF;
        font-family: "Hiragino Sans", "Noto Sans JP", sans-serif;
        font-size: 10px;
        font-weight: 600;
        margin-top: 2px;
        letter-spacing: 0.5px;
    }
    
}
body.single .site-header,
body.page .site-header,
body.archive .site-header,
body.error404 .site-header {
    position: relative; 
    border-bottom: 1px solid #eeeeee;
    
}
/* ==========================================================================
   Main Content
   ========================================================================== */
.main-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}
/* ==========================================================================
   Footer
   ========================================================================== */
.footer-top-section {
    background-color: #289BE6;
    padding: 40px 20px;
}
.footer-top-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.footer-column {
    display: flex;
    flex-direction: column;
}
.footer-section-title {
    color: #FFFFFF;
    font-size: 18px;
    font-weight: bold;
    margin: 0 0 15px 0;
    font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Hiragino Sans", sans-serif;
}
.footer-section-content {
    background-color: #FFFFFF;
    border-radius: 4px;
    padding: 20px;
    flex: 1;
}
.footer-article-list,
.footer-company-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.footer-article-list li,
.footer-company-links li {
    line-height: 1.5;
}
.footer-article-list a,
.footer-company-links a {
    color: #333333;
    text-decoration: none;
    font-size: 14px;
    display: block;
    transition: opacity 0.2s ease;
}
.footer-article-list a:hover,
.footer-company-links a:hover {
    opacity: 0.7;
    text-decoration: underline;
}
.footer-no-content {
    color: #666;
    font-size: 14px;
    margin: 0;
    text-align: center;
    padding: 20px 0;
}
@media (max-width: 767px) {
    .footer-top-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .footer-section-title {
        font-size: 16px;
    }
    .footer-section-content {
        padding: 15px;
    }
    .footer-article-list a,
    .footer-company-links a {
        font-size: 13px;
    }
}
.site-footer {
    background-color: #289BE6;
    color: var(--color-white);
    padding: 40px 0 20px;
    margin-top: 0;
}
.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}
.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 20px;
    margin-bottom: 20px;
    gap: 20px;
}
.footer-logo {
    text-align: center;
}
.footer-title-en {
    font-family: var(--font-en);
    font-size: 24px;
    font-weight: bold;
    color: var(--color-white);
    margin: 0;
}
.footer-navigation {
    width: 100%;
    text-align: center;
    color: #fff;
}
.footer-menu {
    display: flex;
    gap: 30px;
    list-style: none;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
.footer-menu a {
    color: var(--color-white);
    font-size: 14px;
}
.footer-bottom {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.footer-disclaimer {
    color: #FFF;
    font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 11px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
    margin: 0;
}
.copyright {
    color: #FFF;
    font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 11px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
    margin: 0;
}
@media (max-width: 767px) {
    .footer-content {
        gap: 15px;
    }
    .footer-menu {
        flex-direction: column;
        gap: 10px;
    }
}
/* ==========================================================================
   Utility Classes
   ========================================================================== */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.text-center {
    text-align: center;
}
.mb-20 {
    margin-bottom: 20px;
}
.mb-40 {
    margin-bottom: 40px;
}
.mt-40 {
    margin-top: 40px;
}


/* Mobile (480px and below) */
@media (max-width: 480px) {
    .company-introduction-wrapper {
        padding: 0 10px;
        margin: 20px auto;
    }
    .company-header-section {
        padding: 15px 10px;
        overflow: hidden;
        max-width: 100%;
    }
    /* company-1.pngバッジを中央配置（小さいサイズ） */
    .company-number-badge {
        width: 100px;
        display: block;
        margin: 0 auto 10px;
    }
    .company-title-group {
        gap: 10px;
        width: 100%;
    }
    /* タイトル部分を横並び表示（「湘南の気候に詳しい」を1行で） */
    .company-title-line-1 {
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: center;
        width: 100%;
        gap: 4px;
    }
    .shonan-title {
        font-size: clamp(20px, 6vw, 28px);
        width: auto;
        height: auto;
        padding: 4px 8px;
        flex-shrink: 0;
    }
    .title-normal {
        font-size: clamp(12px, 3.5vw, 16px);
        text-align: center;
        white-space: nowrap;
        flex-shrink: 0;
    }
    /* local-business-badgeをフルワイド対応 */
    .local-business-badge {
        gap: 1px;
        margin-top: 0;
        width: auto;
        justify-content: center;
        flex-shrink: 0;
    }
    .local-business-badge .char {
        font-size: clamp(14px, 4vw, 18px);
        width: clamp(20px, 5.5vw, 28px);
        height: clamp(24px, 6.5vw, 32px);
    }
    .company-subtitle-1 {
        font-size: clamp(12px, 3.5vw, 16px);
        text-align: center;
        width: 100%;
        word-break: break-word;
        overflow-wrap: break-word;
        white-space: normal;
    }
    .company-subtitle-2 {
        font-size: clamp(16px, 4.5vw, 20px);
        text-align: center;
        width: 100%;
        word-break: break-word;
        overflow-wrap: break-word;
    }
    .company-name-large {
        font-size: 18px;
        word-break: break-word;
    }
    .company-name-section {
        padding: 10px 15px;
        text-align: center;
        box-sizing: border-box;
        max-width: 100%;
    }
    .company-screenshot-section {
        padding: 15px 5px 30px 5px;
        /* 左右の余白を最小限に、下に余白追加 */
        box-sizing: border-box;
        max-width: 100%;
        width: 100%;
        overflow: visible;
        /* 影が見えるように */
        position: relative;
    }
    .company-screenshot {
        max-width: calc(100% - 10px);
        /* 影の分を確保 */
        width: calc(100% - 10px);
        height: auto;
        position: relative;
        z-index: 1;
        margin-bottom: 15px;
        /* 引用元との余白 */
    }
    /* 画像の影 - スマホ用調整 */
    .company-screenshot-section::before {
        top: calc(15px + 10px);
        left: calc(5px + 10px);
        width: calc(100% - 10px - 10px);
        /* padding分 + 横ずれ分を引く */
        height: calc(100% - 45px - 24px - 15px);
        /* padding + caption + margin */
    }
    .company-strengths-section {
        padding: 30px 15px;
    }
    .strengths-title {
        font-size: 20px;
        margin-bottom: 20px;
        margin-left: -15px;
        margin-right: -15px;
        padding: 0 15px;
        width: calc(100% + 30px);
        height: 44px;
        line-height: 44px;
    }
    .strength-card-content {
        padding: 15px 8px;
    }
    .company-cta-buttons .company-btn {
        font-size: 14px;
        height: 55px;
    }
    .reviews-title {
        font-size: 20px;
        padding: 10px 20px;
    }
    .reviews-cta .company-btn {
        font-size: 14px;
    }
    .results-title {
        font-size: 20px;
        padding: 10px 20px;
    }
    .results-cta .company-btn {
        font-size: 14px;
    }
    .result-card-title {
        font-size: 13px;
    }
    .overview-title {
        font-size: 20px;
        margin-left: -15px;
        margin-right: -15px;
        padding: 0 15px;
        width: calc(100% + 30px);
        height: 44px;
        line-height: 44px;
    }
    .overview-table th {
        font-size: 13px;
        width: 100px;
        padding: 12px;
    }
    .overview-table td {
        font-size: 13px;
        padding: 12px;
    }
    .overview-cta .company-btn {
        font-size: 14px;
        height: 55px;
    }
    .overview-map-wrapper iframe {
        height: 300px;
    }
    .strength-card-title {
        font-size: 18px;
    }
    .strength-card-description {
        font-size: 13px;
    }
    /* Sidebar adjustments */
    .widget-search {
        padding: 15px;
    }
    .widget-search-box form {
        flex-direction: column;
    }
    .widget-search-box input[type="submit"] {
        width: 100%;
    }
    .widget-title.bg-blue {
        font-size: 18px;
    }
    .content-list {
        padding: 15px;
    }
    .content-list a {
        font-size: 16px;
        padding: 8px;
    }
    .articles-list {
        padding: 15px;
    }
    .article-card {
        margin-bottom: 15px;
    }
    .article-thumbnail {
        height: 120px;
    }
    .article-rank {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }
    .article-title {
        font-size: 13px;
        padding: 10px 12px;
    }
}
 

/* =========================================
   🚨 業者一覧：リンクなしのカードはクリック感を消す
========================================= */
.company-list-btn.no-link {
    cursor: default !important;
}
.company-list-btn.no-link:hover {
    opacity: 1 !important; /* もしホバーで薄くなる設定があれば打ち消す */
}
/* ==========================================================================
   Fixed Right Elements - トップに戻るボタン & 追従バナー
   ========================================================================== */
.fixed-right-elements {
    position: fixed;
    bottom: 130px ;
    right: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
    z-index: 9998;
}
/* トップに戻るボタン */
.scroll-to-top-btn {
    width: 50px;
    height: 50px;
    background-color: #289BE6;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 8px;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    opacity: 0;
    visibility: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.scroll-to-top-btn.visible {
    opacity: 1;
    visibility: visible;
}
.scroll-to-top-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px #084166;
}
.scroll-to-top-btn .top-text {
    color: #FFF;
    font-family: "Hiragino Sans", "Noto Sans JP", sans-serif;
    font-size: 10px;
    font-weight: 600;
    line-height: 1;
}
.scroll-to-top-btn .top-arrow {
    width: 20px;
    height: 20px;
}
.scroll-to-top-btn .top-arrow path {
    stroke: #FFF;
}
/* 追従バナー */
.fixed-banner {
    position: relative;
    width: 471px;
    height: 122px;
    aspect-ratio: 471/122;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateX(20px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    overflow: visible;
    margin-top: 5px;
}
.fixed-banner.visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}
.fixed-banner a {
    display: block;
    line-height: 0;
}
.fixed-banner img {
    width: 100%;
    height: auto;
    display: block;
}
/* バナー閉じるボタン */
.close-banner-btn {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 24px;
    height: 24px;
    background-color: #333;
    border: 2px solid #FFF;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background-color 0.3s ease, transform 0.3s ease;
    z-index: 2;
}
.close-banner-btn:hover {
    background-color: #E63939;
    transform: scale(1.1);
}
.close-banner-btn svg {
    width: 10px;
    height: 10px;
}
/* レスポンシブ対応 */
@media (max-width: 768px) {
    .fixed-right-elements {
        bottom: 20px;
        right: 15px;
        gap: 12px;
    }
    .scroll-to-top-btn {
        width: 45px;
        height: 45px;
    }
    .scroll-to-top-btn .top-text {
        font-size: 9px;
    }
    .scroll-to-top-btn .top-arrow {
        width: 18px;
        height: 18px;
    }
    .fixed-banner {
        width: auto;
        height: auto;
        max-width: 425px;
    }
    .close-banner-btn {
        width: 22px;
        height: 22px;
        top: -8px;
        right: -8px;
    }
    .close-banner-btn svg {
        width: 9px;
        height: 9px;
    }
}
@media (max-width: 480px) {
    .fixed-right-elements {
        bottom: 85px;
        right: 10px;
        gap: 10px;
    }
    .scroll-to-top-btn {
        width: 42px;
        height: 42px;
    }
    .scroll-to-top-btn .top-text {
        font-size: 8px;
    }
    .scroll-to-top-btn .top-arrow {
        width: 16px;
        height: 16px;
    }
    .fixed-banner {
        width: auto;
        height: auto;
        max-width: 340px;
    }
    .close-banner-btn {
        width: 20px;
        height: 20px;
        top: -6px;
        right: -6px;
    }
    .close-banner-btn svg {
        width: 8px;
        height: 8px;
    }
    #fixed-banner {
    margin-bottom: 40px !important; 
    }
}
.company-list-empty {
    text-align: center;
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 16px;
    color: #666;
    padding: 40px 20px;
}

.company-list-empty {
    text-align: center;
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 16px;
    color: #666;
    padding: 40px 20px;
}
/* 業者一覧セクション レスポンシブ */
@media (max-width: 1024px) {
    .company-list-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}
@media (max-width: 768px) {
    .company-list-section {
        padding: 0 16px 20px;
    }
    .company-list-title {
        font-size: 22px;
    }
    .company-list-title .title-decoration {
        width: 20px;
        top: -5px;
        right: -14px;
    }
    .company-list-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .company-list-btn {
        padding: 14px 16px;
    }
    .company-list-btn .btn-text {
        font-size: 15px;
    }
    .company-list-description {
        padding: 14px 16px;
        font-size: 13px;
    }
    .company-list-info {
        padding: 14px 16px;
    }
    .company-list-more-btn {
        padding: 14px 40px;
        font-size: 16px;
    }
}

/* ==========================================================================
   Area Column Single Page
   ========================================================================== */
.area-column-article {
    background: #FFF;
    margin-bottom: 60px;
}
.article-header {
    margin-bottom: 30px;
}
.article-header .article-title {
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #333;
    line-height: 1.5;
    margin: 0 0 15px 0;
    display: block;
    overflow: visible;
    white-space: normal;
    word-wrap: break-word;
}
.area-column-article .article-header .article-title {
    display: block;
    overflow: visible;
}
.article-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}
.article-category-tag {
    display: inline-block;
    background: #289BE6;
    color: #FFF;
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 13px;
    font-weight: 500;
    padding: 6px 16px;
    border-radius: 4px;
}
.article-dates {
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 14px;
    color: #666;
}
.article-dates .article-published,
.article-dates .article-updated {
    margin-right: 15px;
}
.article-eyecatch {
    width: 100%;
    margin-bottom: 30px;
    background: #D9D9D9;
}
.article-eyecatch img {
    width: 100%;
    height: auto;
    display: block;
}
.article-content {
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 16px;
    color: #333;
    line-height: 1.8;
}
.article-content h2 {
    font-size: 24px;
    font-weight: 700;
    color: #289BE6;
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #289BE6;
}
.article-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin: 30px 0 15px;
}
.article-content h4 {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin: 25px 0 12px;
}
.article-content p {
    margin: 0 0 20px;
}
.article-content ul,
.article-content ol {
    margin: 0 0 20px;
    padding-left: 25px;
}
.article-content li {
    margin-bottom: 8px;
}
.article-content img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
}
.article-content a {
    color: #094C9C;
    text-decoration: underline;
}
.article-content a:hover {
    opacity: 0.7;
}
.article-content blockquote {
    background: #F5F5F5;
    border-left: 4px solid #289BE6;
    padding: 20px;
    margin: 20px 0;
    font-style: italic;
}
.article-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #E0E0E0;
}
.article-areas {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.areas-label {
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}
.area-tag {
    display: inline-block;
    background: #F5F5F5;
    color: #333;
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 13px;
    padding: 5px 12px;
    border-radius: 20px;
    text-decoration: none;
    transition: background 0.3s ease;
}
.area-tag:hover {
    background: #E0E0E0;
    opacity: 1;
}
.related-articles-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #E0E0E0;
}
.related-articles-title {
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin: 0 0 25px 0;
}
.related-articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}


/* ==========================================================================
   Area Column Responsive
   ========================================================================== */
@media (max-width: 1024px) {
    .area-column-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .related-articles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}
@media (max-width: 768px) {
    .area-column-content-wrapper {
        flex-direction: column;
        gap: 30px;
    }
    .area-column-sidebar {
        width: 100%;
        max-width: 100%;
    }
    .area-column-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .article-header .article-title {
        font-size: 22px;
        display: block;
        overflow: visible;
    }
    /* タブレット用：より詳細度の高いセレクタで確実に適用 */
    .area-column-article .article-header .article-title {
        display: block;
        overflow: visible;
        font-size: 22px;
    }
    .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .article-content h2 {
        font-size: 20px;
    }
    .article-content h3 {
        font-size: 18px;
    }
    .related-articles-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .related-articles-title {
        font-size: 18px;
    }
}
@media (max-width: 480px) {
    .breadcrumb-nav {
        font-size: 12px;
        padding: 15px 0;
    }
    .breadcrumb-separator {
        margin: 0 5px;
    }
    .article-header .article-title {
        font-size: 20px;
        display: block;
        overflow: visible;
    }
    /* スマホ用：より詳細度の高いセレクタで確実に適用 */
    .area-column-article .article-header .article-title {
        display: block;
        overflow: visible;
        font-size: 20px;
    }
    .article-category-tag {
        font-size: 12px;
        padding: 5px 12px;
    }
    .article-dates {
        font-size: 12px;
    }
    .area-column-card-title {
        font-size: 14px;
    }
    .area-column-card-date {
        font-size: 12px;
    }
}
/* ==========================================================================
   SP Layout Styles
   ========================================================================== */
/* PC時はSP用要素を非表示 */
.hero-banner-sp,
.hero-cta-sp {
    display: none;
}
/* PC時はハンバーガーメニュー関連を非表示 */
.hamburger-btn {
    display: none;
}
.mobile-menu {
    display: none;
}
.mobile-menu-close {
    display: none;
}
.mobile-menu-overlay {
    display: none;
}
/* ==========================================================================
   Tablet/Mobile Navigation (1024px以下)
   ========================================================================== */
@media (max-width: 1024px) {
    /* タブレット・モバイル共通：トップバー固定分のpadding調整 */
    #page {
        padding-top: 20px;
        /* トップバー(20px)のみ */
    }
    body.admin-bar #page {
        padding-top: 20px;
    }
    /* ヘッダーを非表示（タブレット以下） */
    .site-header {
        display: none;
    }
    /* 1024px以下でヘッダー右側（ナビゲーション・バナー）を非表示 */
    .header-banner-02 {
        display: none;
    }
    .header-right {
        display: none;
    }
    .main-navigation {
        display: none;
    }
    /* SP Hamburger Menu Button - 紫背景・白アイコン */
    .hamburger-btn {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: fixed;
        top: 20px;
        /* トップバーの高さ(20px)のすぐ下 */
        right: 0;
        width: 60px;
        height: 60px;
        background: #289BE6;
        border: none;
        border-radius: 0;
        cursor: pointer;
        z-index: 10000;
        padding: 10px;
        gap: 4px;
        box-shadow: none;
    }
    /* WordPress管理バー対応 - ハンバーガーメニュー位置調整（タブレット：782px以上） */
    body.admin-bar .hamburger-btn {
        top: 52px;
        /* admin-bar(32px) + top-bar(20px) */
    }
    .hamburger-btn span {
        display: block !important;
        width: 26px;
        height: 3px;
        background-color: #FFF !important;
        transition: all 0.3s ease;
        border-radius: 1px;
    }
    .hamburger-btn span.menu-text {
        width: auto !important;
        height: auto !important;
        background: none !important;
        background-color: transparent !important;
        color: #FFF;
        font-family: "Hiragino Sans", "Noto Sans JP", sans-serif;
        font-size: 10px;
        font-weight: 600;
        margin-top: 2px;
        letter-spacing: 0.5px;
    }
    /* Hamburger Active State (X mark) - 3本ライン対応 */
    .hamburger-btn.active span:nth-child(1) {
        transform: rotate(45deg);
        position: absolute;
        top: 22px;
    }
    .hamburger-btn.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger-btn.active span:nth-child(3) {
        transform: rotate(-45deg);
        position: absolute;
        top: 22px;
    }
    .hamburger-btn.active span.menu-text {
        position: absolute;
        bottom: 10px;
        transform: none;
    }
    /* Mobile Menu - ハンバーガーボタンと同じ位置から開始 */
    .mobile-menu {
        display: block;
        position: fixed;
        top: 20px;
        right: 0;
        width: 75%;
        max-width: 300px;
        height: calc(100vh - 20px);
        background-color: #289BE6;
        z-index: 10001;
        overflow-y: auto;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        visibility: hidden;
        border-radius: 0;
    }
    .mobile-menu.active {
        transform: translateX(0);
        visibility: visible;
    }
    /* WordPress管理バー対応 - モバイルメニュー位置調整（タブレット：782px以上） */
    body.admin-bar .mobile-menu {
        top: 52px;
        /* admin-bar(32px) + top-bar(20px) */
        height: calc(100vh - 52px);
    }
    /* 閉じるボタン - ハンバーガーボタンと同じ位置・スタイル */
    .mobile-menu-close {
        display: flex !important;
        position: fixed;
        top: 20px;
        right: 0;
        width: 60px;
        height: 60px;
        background: #289BE6;
        border: none;
        border-radius: 0;
        cursor: pointer;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 10px;
        gap: 4px;
        z-index: 10002;
    }
    .mobile-menu-close .close-icon {
        position: relative;
        width: 26px;
        height: 26px;
    }
    .mobile-menu-close .close-icon::before,
    .mobile-menu-close .close-icon::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 26px;
        height: 3px;
        background-color: #FFF;
        border-radius: 1px;
    }
    .mobile-menu-close .close-icon::before {
        transform: translate(-50%, -50%) rotate(45deg);
    }
    .mobile-menu-close .close-icon::after {
        transform: translate(-50%, -50%) rotate(-45deg);
    }
    .mobile-menu-close .close-text {
        color: #FFF;
        font-family: "Hiragino Sans", "Noto Sans JP", sans-serif;
        font-size: 10px;
        font-weight: 600;
        letter-spacing: 0.5px;
    }
    /* WordPress管理バー対応 - 閉じるボタン位置調整（タブレット：782px以上） */
    body.admin-bar .mobile-menu-close {
        top: 52px;
        /* admin-bar(32px) + top-bar(20px) */
    }
    .mobile-menu-content {
        padding: 80px 0 30px;
    }
    .mobile-nav {
        list-style: none;
        margin: 0;
        padding: 0;
    }
    .mobile-nav li {
        border-bottom: none;
    }
    .mobile-nav a {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        padding: 16px 25px;
        color: #FFF;
        font-family: "Hiragino Sans", "Noto Sans JP", sans-serif;
        font-size: 17px;
        font-weight: 600;
        text-decoration: none;
        transition: background-color 0.3s ease;
    }
    .mobile-nav a:hover {
        background-color: rgba(255, 255, 255, 0.1);
        opacity: 1;
    }
    .mobile-nav .arrow {
        display: inline-block;
        margin-left: 12px;
        width: 0;
        height: 0;
        border-top: 5px solid transparent;
        border-bottom: 5px solid transparent;
        border-left: 8px solid #FFF;
    }
    .mobile-menu-banner {
        margin: 25px 15px;
        position: relative;
    }
    .mobile-menu-banner-pr {
        position: absolute;
        top: -8px;
        left: 0;
        background: #289BE6;
        color: #FFF;
        font-size: 10px;
        font-weight: 600;
        padding: 2px 8px;
        z-index: 2;
    }
    .mobile-menu-banner img {
        width: 100%;
        height: auto;
        border-radius: 0;
    }
    /* Mobile Menu Overlay */
    .mobile-menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        z-index: 9998;
    }
    .mobile-menu-overlay.active {
        display: block;
    }
    
    
}

/* ==========================================================================
   Privacy Policy Page
   ========================================================================== */
.privacy-policy-page {
    background-color: #FFF;
    padding-bottom: 60px;
}
.privacy-policy-article {
    background: #FFF;
}
/* Page Header */
.policy-header {
    margin-bottom: 40px;
}
.policy-page-title {
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #FFF;
    background: #289BE6;
    padding: 20px 30px;
    margin: 0;
    text-align: center;
    border-radius: 4px;
}
/* Introduction */
.policy-intro {
    background: #F8F9FA;
    border-left: 4px solid #289BE6;
    padding: 25px 30px;
    margin-bottom: 40px;
    border-radius: 0 4px 4px 0;
}
.policy-intro p {
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 15px;
    color: #333;
    line-height: 1.8;
    margin: 0;
}
/* Policy Sections */
.policy-section {
    margin-bottom: 35px;
    padding-bottom: 35px;
    border-bottom: 1px solid #E0E0E0;
}
.policy-section:last-of-type {
    border-bottom: none;
    margin-bottom: 40px;
    padding-bottom: 0;
}
.policy-section-title {
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #0A3077;
    margin: 0 0 20px 0;
    padding-left: 15px;
    border-left: 4px solid #0A3077;
    line-height: 1.4;
}
.policy-section-content {
    padding-left: 5px;
}
.policy-section-content p {
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 15px;
    color: #333;
    line-height: 1.9;
    margin: 0 0 15px 0;
}
.policy-section-content p:last-child {
    margin-bottom: 0;
}
.policy-section-content a {
    color: #0A3077;
    text-decoration: underline;
}
.policy-section-content a:hover {
    opacity: 0.7;
}
/* Subsection Title */
.policy-subsection-title {
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 20px 0 10px 0;
    padding: 8px 12px;
    background: #F5F5F5;
    border-radius: 4px;
    display: inline-block;
}
.policy-subsection-title:first-child {
    margin-top: 0;
}
/* Policy Note */
.policy-note {
    font-size: 14px !important;
    color: #666 !important;
    margin-top: 10px !important;
}
/* Footer */
.policy-footer {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid #0A3077;
    text-align: right;
}
.policy-updated {
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 14px;
    color: #666;
    margin: 0;
}
/* ==========================================================================
   Privacy Policy Page Responsive
   ========================================================================== */
@media (max-width: 768px) {
    .policy-page-title {
        font-size: 24px;
        padding: 15px 20px;
    }
    .policy-intro {
        padding: 20px;
    }
    .policy-intro p {
        font-size: 14px;
    }
    .policy-section {
        margin-bottom: 25px;
        padding-bottom: 25px;
    }
    .policy-section-title {
        font-size: 17px;
        padding-left: 12px;
    }
    .policy-section-content p {
        font-size: 14px;
        line-height: 1.8;
    }
    .policy-subsection-title {
        font-size: 15px;
    }
    .policy-footer {
        margin-top: 40px;
        padding-top: 20px;
    }
    .policy-updated {
        font-size: 13px;
    }
}
@media (max-width: 480px) {
    .policy-page-title {
        font-size: 20px;
        padding: 12px 15px;
    }
    .policy-intro {
        padding: 15px;
        margin-bottom: 30px;
    }
    .policy-intro p {
        font-size: 13px;
    }
    .policy-section {
        margin-bottom: 20px;
        padding-bottom: 20px;
    }
    .policy-section-title {
        font-size: 16px;
        padding-left: 10px;
        margin-bottom: 15px;
    }
    .policy-section-content {
        padding-left: 0;
    }
    .policy-section-content p {
        font-size: 13px;
    }
    .policy-subsection-title {
        font-size: 14px;
        padding: 6px 10px;
    }
    .policy-footer {
        margin-top: 30px;
        padding-top: 15px;
        text-align: center;
    }
    .policy-updated {
        font-size: 12px;
    }
}
/* ==========================================================================
   Sitemap Page
   ========================================================================== */
.sitemap-page {
    background-color: #FFF;
    padding-bottom: 60px;
}
.sitemap-article {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.sitemap-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #333;
}
.sitemap-page-title {
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #FFF;
	background: #289BE6;
	padding: 20px 30px;
    margin: 0;
	text-align: center;
	border-radius: 4px;
}
.sitemap-intro {
    margin-bottom: 40px;
}
.sitemap-intro p {
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin: 0;
}
.sitemap-section {
    margin-bottom: 35px;
    padding-bottom: 35px;
    border-bottom: 1px solid #e0e0e0;
}
.sitemap-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.sitemap-section-title {
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #289BE6;
    margin: 0 0 20px 0;
    padding-left: 15px;
    border-left: 4px solid #289BE6;
    line-height: 1.4;
}
.sitemap-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.sitemap-list li {
    padding: 12px 0;
    border-bottom: 1px dashed #ddd;
    position: relative;
    padding-left: 20px;
}
.sitemap-list li:last-child {
    border-bottom: none;
}
.sitemap-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background-color: #289BE6;
    border-radius: 50%;
}
.sitemap-list li a {
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 15px;
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.3s ease;
    display: inline-block;
}
.sitemap-list li a:hover {
    color: #0099EB;
    padding-left: 5px;
}
/* Sitemap Page Responsive */
@media (max-width: 768px) {
    .sitemap-article {
        padding: 25px 20px;
    }
    .sitemap-page-title {
        font-size: 22px;
    }
    .sitemap-intro p {
        font-size: 14px;
    }
    .sitemap-section {
        margin-bottom: 25px;
        padding-bottom: 25px;
    }
    .sitemap-section-title {
        font-size: 17px;
        padding-left: 12px;
    }
    .sitemap-list li {
        padding: 10px 0;
        padding-left: 18px;
    }
    .sitemap-list li a {
        font-size: 14px;
    }
}
@media (max-width: 480px) {
    .sitemap-article {
        padding: 20px 15px;
    }
    .sitemap-page-title {
        font-size: 20px;
    }
    .sitemap-section {
        margin-bottom: 20px;
        padding-bottom: 20px;
    }
    .sitemap-section-title {
        font-size: 16px;
        padding-left: 10px;
        margin-bottom: 15px;
    }
    .sitemap-list li {
        padding: 8px 0;
        padding-left: 16px;
    }
    .sitemap-list li::before {
        width: 6px;
        height: 6px;
    }
    .sitemap-list li a {
        font-size: 13px;
    }
}
/* ===============================
   横スクロールヒント（スマホ用）
   =============================== */
.scroll-hint {
    display: none;
}
@media screen and (max-width: 768px) {
    .scroll-hint {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        margin-bottom: 10px;
        padding-right: 15px;
    }
    .scroll-hint-text {
        font-size: 12px;
        color: #666;
        font-weight: 500;
    }
    .scroll-hint-text::after {
        content: " →";
        animation: scrollArrowHint 1.5s ease-in-out infinite;
        display: inline-block;
    }
    @keyframes scrollArrowHint {
        0%, 100% {
            transform: translateX(0);
            opacity: 1;
        }
        50% {
            transform: translateX(5px);
            opacity: 0.6;
        }
    }
}

/* ==========================================================================
   厳選3選セクション（FV下）
   ========================================================================== */
@media screen and (max-width: 768px) {
    
    .company-card-hidden {
        display: none !important;
    }
    .company-list-more-wrapper {
        text-align: center !important;
        margin-top: 10px !important;
        margin-bottom: 40px !important;
        width: 100% !important;
    }
    
    .company-list-more-btn {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        background-color: rgb(160, 0, 0) !important;
        color: #fff !important;
        border: none !important;
        border-radius: 50px !important;
        padding: 16px 40px !important;
        font-size: 15px !important;
        font-weight: bold !important;
        box-shadow: 0 4px 0 rgb(122, 0, 0) !important;
        width: 80% !important;
        margin: 0 auto !important;
    }
    .company-list-more-btn .btn-icon {
        margin-left: 10px !important;
        display: flex !important;
        align-items: center !important;
        margin-top: 2px !important;
    }
    
}
/* ==========================================================================
    固定ページ（ブロックエディタ出力エリア）の共通デザイン
   ========================================================================== */
.post-content {
    padding: 20px 0;
}
.post-content h2 {
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #0099EB !important;
    margin: 40px 0 20px 0 !important;
    padding-left: 15px !important;
    border-left: 4px solid #0099EB !important;
    line-height: 1.4 !important;
}
.post-content h3 {
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #333 !important;
    margin: 20px 0 10px 0 !important;
    padding: 8px 12px !important;
    background: #F5F5F5 !important;
    border-radius: 4px !important;
    display: inline-block !important;
}
.post-content p {
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif !important;
    font-size: 15px !important;
    color: #333 !important;
    line-height: 1.9 !important;
    margin: 0 0 15px 0 !important;
}
.post-content a {
    color: #0A3077 !important;
    text-decoration: underline !important;
}
.post-content a:hover {
    opacity: 0.7 !important;
}

/* スマホ用（768px以下） */
@media screen and (max-width: 768px) {
    .post-content h2 {
        font-size: 17px !important;
        padding-left: 12px !important;
        margin-top: 30px !important;
    }
    .post-content h3 {
        font-size: 15px !important;
    }
    .post-content p {
        font-size: 14px !important;
        line-height: 1.8 !important;
    }
}

/* ==========================================================================
    固定ページ：テーブル（表）の共通デザイン(ok)
   ========================================================================== */
.policy-intro table,
.post-content table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 30px 0 !important;
    background-color: #fff !important;
    border: 1px solid #ccc !important;
}

.policy-intro table th,
.post-content table th {
    background-color: #f5f5f5 !important;
    color: #333 !important;
    font-weight: bold !important;
    padding: 15px !important;
    border: 1px solid #ccc !important;
    text-align: center !important;
    width: 30% !important; 
}

.policy-intro table td,
.post-content table td {
    padding: 15px !important;
    border: 1px solid #ccc !important;
    color: #333 !important;
    line-height: 1.6 !important;
}
/* スマホ用（768px以下） */
@media screen and (max-width: 768px) {
    .policy-intro table th,
    .post-content table th,
    .policy-intro table td,
    .post-content table td {
        padding: 10px !important;
        font-size: 13px !important;
    }
}
/* =========================================================
   404エラーページ 
========================================================= */
.error-404-container {
    padding: 80px 20px;
    background-color: #f9f9f9;
}
.error-404-content {
    max-width: 600px;
    margin: 0 auto;
    background: #ffffff;
    padding: 50px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}
.error-404-title {
    font-size: 80px;
    font-weight: 900;
    color: #e0e0e0; 
    margin-bottom: 10px;
    line-height: 1;
    letter-spacing: 5px;
}
.error-404-subtitle {
    font-size: 22px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}
.error-404-text {
    font-size: 15px;
    color: #666;
    margin-bottom: 40px;
}
.error-404-search {
    margin-bottom: 40px;
}
.error-404-search h3 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #333;
}
.error-404-search form {
    display: flex;
    justify-content: center;
}
.error-404-search form input[type="text"],
.error-404-search form input[type="search"] {
    width: 350px;       
    padding: 15px 15px; 
    font-size: 16px;    
}
.error-404-search form input[type="submit"],
.error-404-search form button[type="submit"] {
    padding: 9px 25px; 
    font-size: 16px;
}
.error-404-links {
    margin-bottom: 40px;
    background: #f5f5f5;
    padding: 20px;
    border-radius: 8px;
}
.error-404-links h3 {
    font-size: 16px;
    margin-bottom: 15px;
}
.error-404-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.error-404-links li {
    margin-bottom: 10px;
}
.error-404-links li:last-child {
    margin-bottom: 0;
}
.error-404-links li a {
    color: #0056b3; 
    text-decoration: underline;
    transition: 0.3s;
}
.error-404-links li a:hover {
    opacity: 0.7;
}
.error-404-cta {
    margin-top: 20px;
}
.btn-home {
    display: inline-block;
    background-color: #289BE6; 
    color: #ffffff !important;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.btn-home:hover {
    background-color: #008FEC;
    transform: translateY(-2px);
}
.floating-line-overlap {
    position: absolute !important;
    bottom: -30px !important;
    left: 70px !important;
    width: 60px !important;
    height: auto !important;
    z-index: 100 !important;
    transition: transform 0.2s !important;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3)) !important;
}

.floating-line-overlap img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
}

.floating-line-overlap:hover {
    transform: scale(1.1) !important;
}

@media screen and (max-width: 768px) {
    .floating-line-overlap {
        width: 45px !important;
        bottom: -25px !important;
        left: 55px !important;
    }
 .error-404-search form {
        display: flex;
        flex-direction: row;
        justify-content: center;
        width: 95%;
        margin: 0 auto;
    }
    
    .error-404-search form input[type="search"] {
    width: 250px;
    padding: 15px 15px;
    font-size: 16px;
}
    .error-404-search form button.search-submit,
    .error-404-search form input[type="submit"] {
        width: auto; 
        min-width: 70px;
        padding: 0 15px;
        font-size: 14px;
        white-space: nowrap;
        color: #333;
        border: 1px solid #333;
        border-radius: 0 4px 4px 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
}

/* ==========================================================================
   SP Layout Styles
   ========================================================================== */
/* PC時はSP用要素を非表示 */
.hero-banner-sp,
.hero-cta-sp {
    display: none;
}
/* PC時はハンバーガーメニュー関連を非表示 */
.hamburger-btn {
    display: none;
}
.mobile-menu {
    display: none;
}
.mobile-menu-close {
    display: none;
}
.mobile-menu-overlay {
    display: none;
}
/* ==========================================================================
   Tablet/Mobile Navigation (1024px以下)
   ========================================================================== */
@media (max-width: 1024px) {
    /* タブレット・モバイル共通：トップバー固定分のpadding調整 */
    #page {
        padding-top: 20px;
        /* トップバー(20px)のみ */
    }
    body.admin-bar #page {
        padding-top: 20px;
    }
    /* ヘッダーを非表示（タブレット以下） */
    .site-header {
        display: none;
    }
    /* 1024px以下でヘッダー右側（ナビゲーション・バナー）を非表示 */
    .header-banner-02 {
        display: none;
    }
    .header-right {
        display: none;
    }
    .main-navigation {
        display: none;
    }
    /* SP Hamburger Menu Button - 紫背景・白アイコン */
    .hamburger-btn {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: fixed;
        top: 20px;
        /* トップバーの高さ(20px)のすぐ下 */
        right: 0;
        width: 60px;
        height: 60px;
        background:  #289BE6;
        border: none;
        border-radius: 0;
        cursor: pointer;
        z-index: 10000;
        padding: 10px;
        gap: 4px;
        box-shadow: none;
    }
    /* WordPress管理バー対応 - ハンバーガーメニュー位置調整（タブレット：782px以上） */
    body.admin-bar .hamburger-btn {
        top: 52px;
        /* admin-bar(32px) + top-bar(20px) */
    }
    .hamburger-btn span {
        display: block !important;
        width: 26px;
        height: 3px;
        background-color: #FFF !important;
        transition: all 0.3s ease;
        border-radius: 1px;
    }
    .hamburger-btn span.menu-text {
        width: auto !important;
        height: auto !important;
        background: none !important;
        background-color: transparent !important;
        color: #FFF;
        font-family: "Hiragino Sans", "Noto Sans JP", sans-serif;
        font-size: 10px;
        font-weight: 600;
        margin-top: 2px;
        letter-spacing: 0.5px;
    }
    /* Hamburger Active State (X mark) - 3本ライン対応 */
    .hamburger-btn.active span:nth-child(1) {
        transform: rotate(45deg);
        position: absolute;
        top: 22px;
    }
    .hamburger-btn.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger-btn.active span:nth-child(3) {
        transform: rotate(-45deg);
        position: absolute;
        top: 22px;
    }
    .hamburger-btn.active span.menu-text {
        position: absolute;
        bottom: 10px;
        transform: none;
    }
    /* Mobile Menu - ハンバーガーボタンと同じ位置から開始 */
    .mobile-menu {
        display: block;
        position: fixed;
        top: 20px;
        right: 0;
        width: 75%;
        max-width: 300px;
        height: calc(100vh - 20px);
        background-color: #289BE6;
        z-index: 10001;
        overflow-y: auto;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        visibility: hidden;
        border-radius: 0;
    }
    .mobile-menu.active {
        transform: translateX(0);
        visibility: visible;
    }
    /* WordPress管理バー対応 - モバイルメニュー位置調整（タブレット：782px以上） */
    body.admin-bar .mobile-menu {
        top: 52px;
        /* admin-bar(32px) + top-bar(20px) */
        height: calc(100vh - 52px);
    }
    /* 閉じるボタン - ハンバーガーボタンと同じ位置・スタイル */
    .mobile-menu-close {
        display: flex !important;
        position: fixed;
        top: 20px;
        right: 0;
        width: 60px;
        height: 60px;
        background: #289BE6;
        border: none;
        border-radius: 0;
        cursor: pointer;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 10px;
        gap: 4px;
        z-index: 10002;
    }
    .mobile-menu-close .close-icon {
        position: relative;
        width: 26px;
        height: 26px;
    }
    .mobile-menu-close .close-icon::before,
    .mobile-menu-close .close-icon::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 26px;
        height: 3px;
        background-color: #FFF;
        border-radius: 1px;
    }
    .mobile-menu-close .close-icon::before {
        transform: translate(-50%, -50%) rotate(45deg);
    }
    .mobile-menu-close .close-icon::after {
        transform: translate(-50%, -50%) rotate(-45deg);
    }
    .mobile-menu-close .close-text {
        color: #FFF;
        font-family: "Hiragino Sans", "Noto Sans JP", sans-serif;
        font-size: 10px;
        font-weight: 600;
        letter-spacing: 0.5px;
    }
    /* WordPress管理バー対応 - 閉じるボタン位置調整（タブレット：782px以上） */
    body.admin-bar .mobile-menu-close {
        top: 52px;
        /* admin-bar(32px) + top-bar(20px) */
    }
    .mobile-menu-content {
        padding: 80px 0 30px;
    }
    .mobile-nav {
        list-style: none;
        margin: 0;
        padding: 0;
    }
    .mobile-nav li {
        border-bottom: none;
    }
    .mobile-nav a {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        padding: 16px 25px;
        color: #FFF;
        font-family: "Hiragino Sans", "Noto Sans JP", sans-serif;
        font-size: 17px;
        font-weight: 600;
        text-decoration: none;
        transition: background-color 0.3s ease;
    }
    .mobile-nav a:hover {
        background-color: rgba(255, 255, 255, 0.1);
        opacity: 1;
    }
    .mobile-nav .arrow {
        display: inline-block;
        margin-left: 12px;
        width: 0;
        height: 0;
        border-top: 5px solid transparent;
        border-bottom: 5px solid transparent;
        border-left: 8px solid #FFF;
    }
    .mobile-menu-banner {
        margin: 25px 15px;
        position: relative;
    }
    .mobile-menu-banner-pr {
        position: absolute;
        top: -8px;
        left: 0;
        background: #0099EB;
        color: #FFF;
        font-size: 10px;
        font-weight: 600;
        padding: 2px 8px;
        z-index: 2;
    }
    .mobile-menu-banner img {
        width: 100%;
        height: auto;
        border-radius: 0;
    }
    /* Mobile Menu Overlay */
    .mobile-menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        z-index: 9998;
    }
    .mobile-menu-overlay.active {
        display: block;
    }
}

/* Responsive Design - Company Introduction Section */   
@media (max-width: 480px) {
   
    .widget-search {
        padding: 15px;
    }
    .widget-search-box form {
        flex-direction: column;
    }
    .widget-search-box input[type="submit"] {
        width: 100%;
    }
    .widget-title.bg-blue {
        font-size: 18px;
    }
    .content-list {
        padding: 15px;
    }
    .content-list a {
        font-size: 16px;
        padding: 8px;
    }
    .articles-list {
        padding: 15px;
    }
    .article-card {
        margin-bottom: 15px;
    }
    .article-thumbnail {
        height: 120px;
    }
    .article-rank {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }
    .article-title {
        font-size: 13px;
        padding: 10px 12px;
    }
}
/* ==========================================================================
   Sitemap Page
   ========================================================================== */
.sitemap-page {
    background-color: #FFF;
    padding-bottom: 60px;
}
.sitemap-article {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.sitemap-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #289BE6;
}
.sitemap-page-title {
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin: 0;
	background: #289BE6;
	padding: 20px 30px;
    margin: 0;
	text-align: center;
	border-radius: 4px;
}
.sitemap-intro {
    margin-bottom: 40px;
}
.sitemap-intro p {
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin: 0;
}
.sitemap-section {
    margin-bottom: 35px;
    padding-bottom: 35px;
    border-bottom: 1px solid #e0e0e0;
}
.sitemap-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.sitemap-section-title {
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #AFAA9C;
    margin: 0 0 20px 0;
    padding-left: 15px;
    border-left: 4px solid #289BE6;
    line-height: 1.4;
}
.sitemap-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.sitemap-list li {
    padding: 12px 0;
    border-bottom: 1px dashed #ddd;
    position: relative;
    padding-left: 20px;
}
.sitemap-list li:last-child {
    border-bottom: none;
}
.sitemap-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background-color: #289BE6;
    border-radius: 50%;
}
.sitemap-list li a {
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 15px;
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.3s ease;
    display: inline-block;
}
.sitemap-list li a:hover {
    color: #289BE6;
    padding-left: 5px;
}
/* Sitemap Page Responsive */
@media (max-width: 768px) {
    .sitemap-article {
        padding: 25px 20px;
    }
    .sitemap-page-title {
        font-size: 22px;
    }
    .sitemap-intro p {
        font-size: 14px;
    }
    .sitemap-section {
        margin-bottom: 25px;
        padding-bottom: 25px;
    }
    .sitemap-section-title {
        font-size: 17px;
        padding-left: 12px;
    }
    .sitemap-list li {
        padding: 10px 0;
        padding-left: 18px;
    }
    .sitemap-list li a {
        font-size: 14px;
    }
}
@media (max-width: 480px) {
    .sitemap-article {
        padding: 20px 15px;
    }
    .sitemap-page-title {
        font-size: 20px;
    }
    .sitemap-section {
        margin-bottom: 20px;
        padding-bottom: 20px;
    }
    .sitemap-section-title {
        font-size: 16px;
        padding-left: 10px;
        margin-bottom: 15px;
    }
    .sitemap-list li {
        padding: 8px 0;
        padding-left: 16px;
    }
    .sitemap-list li::before {
        width: 6px;
        height: 6px;
    }
    .sitemap-list li a {
        font-size: 13px;
    }
}

/* ==========================================================================
   Site Header (WOW WORKS Refactored)
   ========================================================================== */

.top-bar {
    position: relative; 
    top: 0;
    left: 0;
    width: 100%;
    height: 20px; 
    background-color: #202020;
    z-index: 9999;
    display: flex;
    align-items: center;
}

.top-bar-inner {
    max-width: 100%;
    margin: 0;
    padding: 0 20px; 
    display: flex;
    align-items: center;
    justify-content: flex-end; 
    width: 100%;
    gap: 12px;
}

.top-bar-text {
    color: #fff;
    font-family: var(--font-mplus, sans-serif);
    font-size: 14px;
    font-weight: 300;
}

.top-bar-text-pc {
    display: inline;
}

.top-bar-text-sp {
    display: none;
}

.top-bar a.top-bar-inner {
    text-decoration: none;
    color: inherit;
}

.top-bar a.top-bar-inner:hover {
    opacity: 0.8;
}

/* ==========================================================================
   Site Header（ロゴとメニュー）
   ========================================================================== */
.site-header {
    position: relative; 
    top: 0; 
    left: 0;
    width: 100%;
    height: 80px; 
    background-color: #ffffff; 
    z-index: 9998;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05); 
    transition: background-color 0.3s ease;
}

.header-container {
    width: 100%;
    max-width: 100%;
    height: 100%; 
    padding-left: 20px; 
    padding-right: 0; 
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left {
    display: flex;
    align-items: center;
    height: 100%;
}

.header-logo span {
    color: #333333;
    text-shadow: none;
    font-size: 20px;
    font-weight: 900;
}

.header-right {
    display: flex;
    align-items: center;
    height: 100%; 
}

.main-navigation {
    height: 100%;
}

.main-navigation ul {
    display: flex;
    gap: 0; 
    list-style: none;
    margin: 0;
    padding: 0;
    height: 100%;
}

.main-navigation li {
    border-left: none;  
    padding-left: 0;
    height: 100% !important; 
    width: 260px !important; 
}

.main-navigation a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 100% !important; 
    width: 100% !important; 
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    color: #ffffff !important;
    text-shadow: none !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}
/* ボタンの色設定 */
.main-navigation li:nth-child(1) a {
    background-color: #2CA7E9; 
}
.main-navigation li:nth-child(2) a {
    background-color: #454545; 
}

/* ==========================================================================
   レスポンシブ（スマホ用）
   ========================================================================== */
@media screen and (max-width: 767px) {
    .header-container {
        padding: 0 20px;
    }
    .main-navigation {
        display: none; 
    }
    .site-header {
        display: none;
    }
}
/* ===================================================
   共通幅コンテナ
=================================================== */
.handa-container {
    max-width: var(--site-width, 1000px); 
    margin: 0 auto;
    width: 100%;
}

/* ===================================================
   INDEX（横一列）セクション
=================================================== */
.handa-index-section {
    background-color: #ffffff;
}

.handa-index-row {
    display: flex; 
    width: 100%;
    border: 1px solid #CCCCCC; 
    background-color: #ffffff;
}

.index-title-box {
    background-color: #1F2937; 
    color: #ffffff;
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 15%; 
    flex-shrink: 0;
}
.handa-index-item {
    display: flex;
    flex-direction: column; 
    align-items: center;
    justify-content: center;
    flex-grow: 1; 
    flex-basis: 0;
    text-decoration: none;
    color: #333333;
    border-left: 1px solid #CCCCCC; 
    padding: 15px 5px 10px;
    transition: background-color 0.3s;
}

.handa-index-item:hover {
    background-color: #F5F7FA;
}

.index-text {
    font-weight: 700;
    font-size: 11px;
    line-height: 1.4;
    text-align: center;
    margin-bottom: 8px; 
}

.index-arrow {
    font-size: 10px;
    color: #1F2937;
    line-height: 1;
}
.handa-index-section .handa-container {
    max-width: 100% !important; 
    width: 100% !important;
    padding: 0 !important; 
}
.handa-index-row {
    width: 100% !important;
    border-left: none !important;
    border-right: none !important;
}
/* ===================================================
   導入（数百万円損も？）セクション
=================================================== */
.handa-intro-section {
    background-color: #ECF5FD; 
    padding:40px 0;
}

.handa-intro-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.handa-intro-text {
    width: 70%; 
}

.handa-intro-text h2 {
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 25px;
    color: #333333;
}

.handa-intro-text h2 .text-red {
    color: var(--color-accent-red, #E60012);
}

.handa-intro-text p {
    font-size: 16px;
    line-height: 1.8;
    font-weight: 500;
    margin-bottom: 15px;
    color: #333333;
    font-family: var(--font-mplus);
}

.handa-intro-text p:last-child {
    margin-bottom: 0;
}

.handa-intro-image {
    width: 40%; 
    text-align: center;
    margin-left: 80px;
}

.handa-intro-image img {
    width: 100%;
    max-width: 400px;
    height: auto;
}





@media screen and (max-width: 767px) {
    .hero-section {
        height: auto; 
        display: flex;
        flex-direction: column; 
    }
    .hero-bg {
        position: relative; 
        top: 0;
        width: 100%;
        height: 300px; 
        order: 1; 
    }
    .hero-overlay-slanted {
        display: none; 
    }
    .hero-text-group {
        position: relative;
        top: -25px;
        left: 0;
        transform: none;
        padding:30px 20px 10px;
        order: 2;
        text-align: center; 
    }
    .hero-main-title {
        font-size: 24px; 
        color: #fff;    
    }
    .hero-sub-title {
        font-size: 16px;
        padding-bottom: 5px;
    }
    .hero-cta-badge {
        position: relative;
        bottom: 20px;
        right: 0;
        width: 90%; 
        margin: 0 auto 40px;
        order: 3;
        transform: scale(1);
        padding: 15px 15px;
    }
    .cta-check-group {
        left: -80px;
        top: 108%;
    }
    .cta-label {
        font-size: 14px;
    }
    .cta-text {
        margin-left: 0;
    }
    .txt-lg {
        font-size: 18px;
    }
    .num-lg {
        font-size: 24px;
    }
    .cta-arrow {
    margin-left: 2px;
    font-size: 24px;
    }
    .index-container {
        grid-template-columns: 1fr; 
        border-left: none;
        border-right: none;
    }
    .index-item {
        justify-content: center; 
        text-align: center;      
        padding: 20px;           
        border-right: none;     
        border-bottom: 1px solid #ddd; 
    }
    .index-item:last-child {
        border-bottom: none;
    }
    .index-title {
        background-color: #fcfaf7;
        justify-content: center;
        text-align: center;
    }
    .index-item::after {
        bottom: 10px;
        right: 20px;
    }
}

/* ===================================================
   2カラムレイアウト（メイン＋サイドバー）
=================================================== */
.handa-detail-section {
    padding: 60px 0;
    background-color: #ffffff;
}
.handa-2column-layout {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; 
}
.handa-main-area {
    width: 72%; 
}
.handa-sidebar {
    width: 25%; 
}
/* ===================================================
   会社詳細ブロック（統合・整理版）
=================================================== */
.company-detail-block {
    margin-bottom: 80px;
}
.detail-header {
    display: flex;
    justify-content: center; 
    margin-bottom: 40px;
}

.detail-title-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.detail-catch-line {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px; 
}
.detail-catch-line .line {
    width: 40px; 
    height: 1px;
    background-color: #2CA7E9;
}
.detail-catch-line .text {
    padding: 0 15px;
    color: #2CA7E9;
    font-weight: 600;
    font-family: var(--font-mplus);
    font-size: 22px;
}
.detail-name-large {
    position: relative;
    text-align: center;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: max-content;
}
.rank-icon {
    position: absolute;
    right: 100%; 
    margin-right: 25px; 
    width: 90px; 
    height: auto;
    transform: translateY(-50%); 
}
.name-top {
    font-size: 34px; 
    font-weight: 700;
    font-family: var(--font-mplus);
    color: #070E3B; 
    line-height: 1.2;
}
.name-line {
    display: block;
    width: 180%;
    height: 0;
    border-bottom: 2px dashed #289BE6; 
    margin: 12px 0; 
}
.name-bottom {
    font-size: 26px; 
    font-weight: 700;
    color: #289BE6; 
    line-height: 1.2;
}
.detail-main-img {
    margin-bottom: 40px;
}
.detail-main-img img {
    width: 100%;
    height: auto;
}
.detail-source-a {
    display: block !important; 
    text-align: right !important; 
    font-size: 12px;
    color: #666666;
    margin-top: 5px; 
    text-decoration: none; 
    transition: opacity 0.3s;
}
.detail-source-a:hover {
    opacity: 0.7;
    text-decoration: underline; 
}
/* ===================================================
   会社詳細：特徴ブロック（新幹線脱却！完全版）
=================================================== */

.company-features-wrapper {
    margin-top: 40px;
    margin-bottom: 80px;
}
.detail-block-title {
    display: inline-block; 
    background-color: #094C9C; 
    color: #ffffff;
    padding: 12px 50px 12px 20px; 
    font-size: 20px;
    font-weight: 900;
    font-family: "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", sans-serif;
    margin-bottom: 0; 
        clip-path: polygon(0 0, calc(100% - 40px) 0, 100% 100%, 0 100%);
}
.features-bg-area {
    background-color: #F0F0EC; 
    padding: 40px 30px; 
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}
.features-3col-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}
.feature-item {
    background-color: #ffffff !important; 
    padding: 30px 20px !important; 
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.feature-icon {
    width: 130px; 
    height: auto;
    margin-bottom: 20px;
}
.feature-icon img {
    width: 100%;
    height: auto;
    display: block;
}
.feature-heading {
    color: #094C9C; 
    font-size: 18px; 
    font-weight: 900;
    font-family: "Hiragino Kaku Gothic ProN", sans-serif;
    line-height: 1.4;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    min-height: 3em; 
}
.feature-text {
    font-size: 15px;
    line-height: 1.5;
    color: #333333;
    text-align: left;
    font-family: 'M PLUS 1', sans-serif;
    font-weight: 500;
    margin: 0;
}
.marker-blue {
    background: linear-gradient(transparent 60%, rgba(40, 113, 230, 0.2) 60%);
    font-weight: 700;
}
.detail-btns-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}
.detail-btns-row a {
    flex: 1; 
    max-width: 400px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-radius: 8px; 
    text-decoration: none;
    font-size: 14px;
    font-weight: 900;
    transition: opacity 0.3s;
    box-sizing: border-box;
    min-height: 60px;
}
.detail-btns-row a:hover {
    opacity: 0.8;
}
.detail-btns-row .btn-text {
    flex-grow: 1;
    text-align: center;
    line-height: 1.4;
}
.detail-btns-row .btn-red {
    background-color: #E60012;
    color: #ffffff !important;
}
.detail-btns-row .btn-white {
    background-color: #ffffff;
    color: #000000 !important;
    border: 2px solid #E60012;
}
.detail-btns-row .btn-white .btn-arrow {
    color: #000000 !important;
}
/* ===================================================
   会社詳細：売却実績（テーブル）
=================================================== */

.company-results-wrapper {
    margin-top: 40px;
    margin-bottom: 80px;
}
.results-table-container {
    width: 100%;
    overflow-x: auto; 
    margin-bottom: 40px;
}
.results-table {
    width: 100%;
    min-width: 800px; 
    border-collapse: collapse; 
    text-align: center;
    background-color: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}
.results-table th {
    background-color: #FFD73F; 
    color: #333333;
    font-weight: 900;
    padding: 15px 10px;
    font-size: 16px;
    font-family: var(--font-mplus);
    font-weight: 300;
    border: 1px solid #E5E5E5; 
}
.results-table td {
    padding: 20px 10px;
    border: 1px solid #E5E5E5;
    vertical-align: middle;
    font-size: 14px;
    color: #000;
    font-family: var(--font-mplus);
    font-weight: 400;
}
.td-type {
    display: flex;
    flex-direction: row; 
    align-items: center; 
    justify-content: flex-start !important; 
    gap: 12px; 
    color: #024EA4;
    font-weight: 500;
    font-size: 20px;
    padding-left: 20px !important; 
}
.td-type img {
    width: 50px !important; 
    height: auto;
}
.td-location {
    display: flex;
    flex-direction: column;
    align-items: flex-start; 
    padding-left: 15px;
}
.location-main {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 400;
    font-family: var(--font-mplus);
    font-size: 20px;
    margin-bottom: 5px;
    color: #000;
}
.location-main img {
    width: 30px; 
    height: auto;
}
.location-source {
    font-size: 10px;
    color: #666666;
    padding-left: 26px; 
}
.td-price {
    font-size: 24px;
    font-weight: 700;
    font-family: var(--font-mplus);
    color: #094C9C;
}
.td-price .unit {
    font-size: 14px; 
    margin-left: 2px;
}
/* ===================================================
   会社詳細：口コミセクション（完全再現形態！）
=================================================== */
.company-reviews-wrapper {
    margin-bottom: 80px;
    background-color: #ffffff;
}
.review-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px; 
    margin-bottom: 50px;
    padding-top: 30px; 
    align-items: stretch; 
}
.review-card {
    position: relative; 
    background-color: #ffffff;
    border: 1px solid #E2F2FC; 
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(40, 113, 230, 0.08); 
    display: flex;
    flex-direction: column;
    overflow: visible; 
}
.review-user-icon {
    position: absolute;
    top: -15px;
    left: -20px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 10;
}
.review-user-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.review-header-box {
    padding: 15px 15px 15px 90px; 
    border-bottom: 1px solid #E2F2FC; 
    border-radius: 10px 10px 0 0; 
    min-height: 70px; 
    display: flex;
    align-items: center;
    background-color: #DDF1F7;
    border-bottom: 1px solid #353535;
    justify-content: center;
}
.review-title-blue {
    color: #094C9C;
    font-size: 16px;
    font-weight: 600;
    font-family: var(--font-mplus);
    line-height: 1.4;
    margin: 0;
    text-align: center;
}
.review-body-text {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1; 
}
.review-body-text .feature-text {
    font-size: 14px;
    line-height: 1.8;
    color: #333333;
    text-align: left;
    font-family: var(--font-mplus);
    font-weight: 600;
    margin: 0;
    margin-bottom: 20px;
}
.reviews-btns {
    margin-top: 0 !important; 
}
.google-quote-area {
    margin-top: auto !important;
    width: 100%;
    text-align: right !important; 
    padding-top: 15px;
}
.google-source {
    font-size: 12px;
    font-weight: 700;
    color: #333333; 
    text-decoration: none;
    display: inline-block;
}

/* ===================================================
   会社詳細：会社概要セクション
=================================================== */

.company-profile-wrapper {
    margin-bottom: 80px;
}
.profile-flex-container {
    display: flex;
    gap: 30px; 
    margin-top: 30px; 
    margin-bottom: 50px;
    align-items: stretch; 
}
.profile-map {
    flex: 1; 
    box-shadow: 0 5px 20px rgba(0,0,0,0.08); 
    border-radius: 4px; 
    overflow: hidden;
    display: flex;
}
.profile-map iframe {
    width: 100% !important;
    height: 100% !important;
    border: none !important; 
    display: block;
}
.profile-table-wrapper {
    flex: 1; 
    box-shadow: 0 5px 20px rgba(0,0,0,0.08); 
    background-color: #ffffff;
    display: flex; 
}
.profile-table {
    width: 100%;
    border-collapse: collapse; 
}
.profile-table th {
    background-color: #454545; 
    color: #ffffff;
    font-weight: 700;
    text-align: center;
    padding: 20px 15px;
    width: 30%; 
    border-bottom: 1px solid #ffffff; 
    font-family: 'M PLUS 1', sans-serif;
    font-size: 15px;
}
.profile-table tr:last-child th {
    border-bottom: none;
}
.profile-table td {
    background-color: #ffffff;
    color: #333333;
    font-weight: 700; 
    padding: 20px 25px;
    border-bottom: 1px solid #E5E5E5; 
    font-family: 'M PLUS 1', sans-serif;
    font-size: 15px;
    line-height: 1.6;
}
.profile-table tr:last-child td {
    border-bottom: none;
}
.profile-table td a {
    color: #333333;
    text-decoration: underline; 
    transition: opacity 0.3s;
}
.profile-table td a:hover {
    opacity: 0.7; 
}
.detail-header-type2 {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 40px;
}
.rank-icon-type2 {
    width: 90px; 
    flex-shrink: 0;
    margin-right: 8px;
}
.rank-icon-type2 img {
    width: 100%;
    height: auto;
    display: block;
}
.title-wrap-type2 {
    display: flex;
    flex-direction: column;
    align-items: flex-start; 
}
.catch-type2 {
    color: #04319A; 
    font-size: 24px;
    font-weight: 700;
    font-family: var(--font-mplus);
    margin: 0 0 8px 0; 
}
.name-type2 {
    color: #070E3B; 
    font-size: 32px; 
    font-weight: 700;
    font-family: var(--font-mplus);
    line-height: 1.3;
    margin: 0;
}
/* ===================================================
   📱 会社詳細ブロック全般：スマホ版（SP）レスポンシブ
=================================================== */
@media screen and (max-width: 768px) {
        .detail-header {
        margin-bottom: 8vw !important;
    }
    
    .detail-catch-line {
        margin-bottom: 3vw !important;
    }
    .detail-catch-line .text {
        font-size: 3vw !important;
        padding: 0 2vw !important;
    }
    .detail-catch-line .line {
        width: 5vw !important; 
    }
    .detail-name-large {
        position: relative !important;
        width: max-content !important; 
        margin: 0 auto !important;
        padding: 0 !important;
    }
    .rank-icon {
        position: absolute !important;
        right: 100% !important;
        left: auto !important;
        transform: translateY(-50%) !important;
        width: 12vw !important; 
        margin-right: 3vw !important; 
    }
    .name-top {
        font-size: 4.5vw !important; 
        white-space: nowrap !important; 
    }
    .name-line {
        width: 140% !important; 
        margin: 1.5vw 0 !important;
    }
    .name-bottom {
        font-size: 3.5vw !important; 
        white-space: nowrap !important; 
    }
    .detail-block-title {
        font-size: 14px !important;
        padding: 10px 40px 10px 15px !important; 
    }
    .detail-source-a {
        font-size: 11px !important;
        margin-top: 3px !important;
    }
    .results-table th {
        font-size: 14px;
    }
    .td-type {
        font-size: 16px;
    }
    .features-bg-area {
        padding: 20px 15px !important; 
    }
    .features-3col-grid,
    .review-grid {
        grid-template-columns: 1fr !important; 
        gap: 40px !important; 
    }
    .review-grid {
        grid-template-columns: 1fr !important; 
        padding-top: 30px !important; 
        gap: 55px !important; 
        overflow: hidden !important; 
    }
    .review-card {
        margin: 0 15px !important; 
    }
    .review-user-icon {
        width: 100px !important;
        height: 100px !important;
        top: -15px !important;
        left: -16px !important;
    }
    .review-header-box {
        padding: 15px 15px 15px 65px !important; 
        min-height: auto !important;
    }
    .review-title-blue {
        font-size: 15px !important; 
    }
    .detail-btns-row {
        flex-direction: column !important; 
        align-items: center !important;
        gap: 15px !important;
    }
    .detail-btns-row a {
        width: 100% !important; 
        max-width: 100% !important;
        min-height: 50px !important; 
    }
        .profile-flex-container {
        flex-direction: column !important; 
    }
    .profile-map {
        aspect-ratio: 1 / 1 !important; 
        height: auto !important; 
    }
    .profile-table th {
        width: 35% !important; 
        font-size: 13px !important;
    }
    .profile-table td {
        font-size: 13px !important;
        padding: 15px !important;
    }
    .detail-header-type2 {
        margin-bottom: 8vw !important;
        padding: 0 15px !important; 
    }
        .rank-icon-type2 {
        width: 14vw !important; 
        margin-right: 4vw !important;
    }
    .catch-type2 {
        font-size: 3.5vw !important;
        margin-bottom: 1.5vw !important;
    }
    .name-type2 {
        font-size: 4.8vw !important; 
    }
}



/* ==========================================================================
   【共通】アーカイブ・シングル共通レイアウト（エリア記事・業者一覧）
   ========================================================================== */
.area-column-archive,
.area-column-single {
    background-color: #FFF;
    padding-bottom: 60px;
    padding-top: 40px;
}

.area-column-container{
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.area-column-content-wrapper {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.area-column-main {
    flex: 1;
    min-width: 0;
}

.area-column-sidebar {
    width: 353px;
    flex-shrink: 0;
    background: #fff;
    padding: 0;
}

/* ==========================================================================
   【共通】パンくずリスト・ページネーションなど
   ========================================================================== */
.breadcrumb-nav {
    padding: 20px 0;
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 14px;
    color: #333;
}
.breadcrumb-nav a {
    color: #333;
    text-decoration: none;
}
.breadcrumb-nav a:hover {
    text-decoration: underline;
    opacity: 1;
}
.breadcrumb-separator {
    margin: 0 8px;
    color: #666;
}
.breadcrumb-current {
    color: #666;
}
.area-column-pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}
.area-column-pagination .nav-links {
    display: flex;
    gap: 8px;
    align-items: center;
}
.area-column-pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 14px;
    color: #333;
    background: #FFF;
    border: 1px solid #DDD;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease;
}
.area-column-pagination .page-numbers:hover,
.area-column-pagination .page-numbers.current {
    background: #AFAA9C;
    color: #FFF;
    border-color: #AFAA9C;
    opacity: 1;
}

.no-posts-message {
    text-align: center;
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 16px;
    color: #666;
    padding: 60px 20px;
}

/* ==========================================================================
   【業者一覧】アーカイブページ (リスト型デザイン)
   ========================================================================== */
.company-archive-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 50px;
}
.company-archive-item {
    background-color: #ffffff;
    border: 2px solid #1B1B1B;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 6px 6px 0px rgba(0, 0, 0, 0.08);
}
.company-archive-title {
    font-size: 22px;
    font-weight: 900;
    color: #1b1b1b;
    margin: 0 0 15px 0;
    border-bottom: 2px dashed #ccc;
    padding-bottom: 15px;
    line-height: 1.5;
}
.company-archive-text {
    font-size: 15px;
    line-height: 1.8;
    color: #333333;
    margin-bottom: 25px;
}
.company-archive-btn-area {
    display: flex;
    justify-content: flex-end;
}
.company-archive-btn-area .archive-read-btn {
    display: inline-flex;
    align-items: center;
    background-color: #333;
    color: #fff;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    transition: opacity 0.3s;
}
.company-archive-btn-area .archive-read-btn:hover {
    opacity: 0.8;
}
.company-archive-btn-area .btn-arrow {
    margin-left: 10px;
    font-size: 10px;
}

/* ==========================================================================
   【エリア記事】アーカイブページ (3カラムグリッド型)
   ========================================================================== */
.area-column-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}
.area-column-card {
    background: #FFF;
    border: none;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.area-column-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}
.area-column-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}
.area-column-card-link:hover {
    opacity: 1;
}
.area-column-card-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #D9D9D9;
}
.area-column-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.area-column-card:hover .area-column-card-image img {
    transform: scale(1.05);
}
.area-column-card-content {
    padding: 15px;
}
.area-column-card-title {
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    line-height: 1.5;
    margin: 0 0 10px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.area-column-card-date {
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 13px;
    color: #666;
    display: block;
}

/* ==========================================================================
   📱 レスポンシブ (スマホ・タブレット用)
   ========================================================================== */
@media screen and (max-width: 768px) {
    /* 共通レイアウトを縦並びに */
    .area-column-content-wrapper {
        flex-direction: column;
        gap: 60px;
    }
    .area-column-main,
    .area-column-sidebar {
        width: 100%;
    }

    /* エリア記事のグリッドを1列に */
    .area-column-grid {
        grid-template-columns: 1fr;
    }

    /* 業者一覧のリスト調整 */
    .company-archive-item {
        padding: 20px 15px !important; 
        box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.08) !important; 
    }
    .company-archive-title {
        font-size: 18px !important; 
        padding-bottom: 12px !important;
        margin-bottom: 12px !important;
    }
    .company-archive-text {
        font-size: 14px !important;
        line-height: 1.6 !important;
        margin-bottom: 20px !important;
    }
    .company-archive-btn-area {
        justify-content: center !important; 
    }
    .company-archive-btn-area .archive-read-btn {
        width: 100% !important; 
        justify-content: center !important;
        padding: 12px 0 !important;
    }
}

/* ここから半田市不動産売却 */
/* ===================================================
   FV（ファーストビュー）
=================================================== */
.fv-section {
    position: relative;
    width: 100%;
    background-image: url('../images/fv_main.jpg'); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.fv-container {
    max-width: var(--site-width);
    padding: 50px 0;
    margin: 0 auto;
    position: relative;
     display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.fv-text-area {
    width: 68%;
    position: relative;
    z-index: 2;
}

.fv-lead {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--color-text-dark);
}

.fv-main-copy {
    font-size: 48px;
    font-weight: 900; 
    line-height: 1.4;
    margin-bottom: 25px;
    color: var(--color-text-dark);
}

.fv-main-copy .text-blue {
    color: var(--color-main);
}

.fv-main-copy .text-red {
    color: var(--color-accent-red);
}

.fv-sub-copy {
    font-size: 20px;
    font-family: var(--font-mplus);
    font-weight: 500;
    line-height: 1.8;
    margin-bottom: 40px;
}

.fv-illust-box {
    display: flex;
    align-items: center;
    background-color: #DDF1F7; 
    padding: 20px 30px 20px 180px; 
    position: relative;
    border-top: 2px solid #289BE6; 
    border-bottom: 2px solid #289BE6;
    margin-top: 80px;
   
}

.fv-man-img {
    position: absolute;
    left: -20px;
    bottom: 0px; 
    width: 200px;
    height: auto;
    z-index: 3;
}

.fv-illust-text p {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.6;
    margin: 0;
    font-family: var(--font-mplus);

}
.header-left{
    font-size: 22px;
}
/* ===================================================
   📱 レスポンシブ（スマホ用：画面幅768px以下）
=================================================== */
@media screen and (max-width: 768px) {
    .handa-container {
        padding: 0 15px !important;
    }
    .fv-container {
        flex-direction: column !important;
        padding: 30px 15px !important; 
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .fv-text-area {
        width: 100% !important; 
        max-width: 100% !important;
        padding: 0 !important; 
    }
    .fv-main-copy {
        font-size: 22px !important;
        line-height: 1.4 !important;
        text-align: center;
    }
    .fv-sub-copy {
        font-size: 14px !important;
        text-align: center;
    }
    .fv-illust-box {
        margin-top: 30px !important;
        width: 100% !important;
        flex-direction: column !important;
        padding: 20px 10px 20px 70px !important;
        text-align: center;
        box-sizing: border-box !important;
    }
    .fv-illust-text p {
        font-size: 12px;
    }
    .fv-man-img {
        width: 90px !important;
        margin: 0 auto 15px !important;
    }
    .fv-man-img {
    left: -10px;
    bottom: 0px;
    }
    .fv-lead {
        font-size: 20px;
        text-align: center;
    }
    .handa-index-row {
        flex-direction: column !important; 
    }
    .index-title-box {
        width: 100% !important;
        padding: 15px 0 !important;
    }
    .handa-index-item {
        width: 100% !important; 
        flex-direction: row !important; 
        justify-content: center !important;
        align-items: center !important;
        position: relative !important;
        padding: 20px 15px !important; 
        border-left: none !important; 
        border-bottom: 1px solid #CCCCCC !important;
        box-sizing: border-box !important;
    }
    .index-text {
        margin-bottom: 0 !important; 
        font-size: 14px !important; 
    }
    .index-arrow {
        position: absolute !important; 
        right: 20px !important;
        top: 50% !important;
        transform: translateY(-50%) !important; 
        font-size: 12px !important;
    }
    .index-arrow {
        position: absolute !important;
        right: 20px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        font-size: 14px !important;
        line-height: 1 !important;
        color: transparent !important; 
    }
    .index-arrow::after {
        content: "▶︎" !important; 
        color: #333333 !important; 
        position: absolute;
        top: 1px; 
        right: 0;
        font-weight: 900;
    }
    .handa-intro-flex {
        flex-direction: column !important; 
    }
    .handa-intro-text {
        width: 100% !important; 
        margin-bottom: 30px !important; 
    }
    .handa-intro-image {
        width: 100% !important; 
        margin-left: 0 !important; 
    }
    .handa-intro-image img {
        max-width: 280px !important; 
    }
    .handa-intro-text h2 {
        font-size: 32px;
        text-align: center;
    }
    .handa-intro-text p {
        font-size: 14px;
        text-align: center;
    }

}
/* ===================================================
   不動産会社選びのポイント セクション（カンプデザイン）
=================================================== */
.handa-section-title {
    text-align: center;
    margin-bottom: 50px;
}

.title-deco-img {
    display: block;         
    margin: 0 auto 10px;    
    height: 20px;
    width: auto;
}

.title-sub {
    color: #289BE6;
    background: linear-gradient(transparent 60%, #FFBE2E 60%);
    display: inline-block;
    padding: 0 5px;
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 5px;
}
.title-main {
    font-size: 42px;
    font-weight: 900;
    color: #333333;
}
.handa-points-section {
    padding: 30px 0;
    background-color: #ffffff;
}

.handa-points-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.handa-point-card {
    background-color: #F0F0EC;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 100%;
    padding: 15px 15px 0;
    box-sizing: border-box;
}

.point-img {
    width: 100%;
    line-height: 0; 
}

.point-img img {
    width: 100%;
    height: auto;
    display: block;
}

.point-heading {
    background-color: #ffffff;
    color: #289BE6;
    font-size: 16px;
    font-family: var(--font-mplus);
    font-weight: 700;
    padding: 10px 15px;
    margin: -44px 0 15px 0;
    position: relative;
    z-index: 2;
    display: inline-block;
}
.point-text {
    padding: 0 5px 30px; 
    font-size: 16px;
    font-family: var(--font-mplus);
    line-height: 1.8;
    color: #333333;
    font-weight: 500;
    margin: 0;
}

.handa-point-card .marker-yellow {
    background: linear-gradient(transparent 50%, rgba(255, 215, 63, 0.53) 50%);
    font-weight: 700;
}

@media screen and (max-width: 768px) {
    .handa-points-grid,
    .features-3col-grid,
    .handa-recommend-grid {
        grid-template-columns: 1fr !important; /* 🚨 強制的に「1列」にする最強の魔法！ */
        gap: 30px !important;
    }
    .title-sub {
        font-size: 32px;
    }
    .title-main {
        font-size: 28px;
    }

    /* --- 5. メイン＋サイドバー（2カラム → 1列に！） --- */
    .handa-2column-layout {
        flex-direction: column !important; /* 🚨 縦並びに変更！ */
    }
    .handa-main-area,
    .handa-sidebar {
        width: 100% !important; /* 両方とも幅100%にして縦に積む */
    }
    .company-detail-block {
        margin-bottom: 50px !important;
    }
    .detail-btns {
        width: 100% !important; /* スマホではボタンを横幅いっぱいに */
    }
    
}
/* ===================================================
   おすすめの会社3選：カードの中身
=================================================== */
.handa-section-title {
    text-align: center;
    margin-bottom: 50px;
}

.title-deco-img {
    display: block;
    margin: 0 auto 10px;
    height: 20px;
    width: auto;
}

.title-main {
    font-size: 42px;
    font-weight: 900;
    color: #333333;
    line-height: 1.4;
}

.title-sub-nomarker {
    display: block; 
    color: #289BE6;
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 5px;
}

.title-main .text-red {
    color: #F10134;
    font-size: 1.3em;
}
.handa-recommend-card {
    background: #ffffff;
    border: 2px solid #E2F2FC;
    display: flex;
    flex-direction: column;
    height: 100% !important;
}
.recommend-catch {
    background-color: #289BE6;
    color: #ffffff;
    text-align: center;
    padding: 12px 10px;
    font-size: 20px;
    font-family: var(--font-mplus);
    font-weight: 500;
    margin-bottom: 20px;
}
.recommend-name {
    color: #094C9C;
    text-align: center;
    font-size: 20px;
    font-weight: 900;
    line-height: 1.4;
    padding: 10px 15px !important; 
    margin-bottom: 20px !important;
    height: 80px !important; 
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
}
.recommend-img-box {
    padding: 0 20px;
    margin-bottom: 20px;
}
.recommend-img-box img {
    width: 100%;
    height: 180px; 
    object-fit: cover; 
    border: 1px solid #E5E5E5;
}
.recommend-source {
    text-align: right;
    font-size: 10px;
    color: #666666;
    margin-top: 5px;
    line-height: 1.4;
    min-height: 3em !important;
    display: flex !important;
    justify-content: flex-end !important;
    align-items: flex-start !important;
    
}
.recommend-body {
    padding: 0 20px 30px;
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
}
.recommend-features {
    margin-bottom: 25px;
    flex-grow: 1; 
}
.feature-title {
    display: flex;
    align-items: center;
    font-size: 16px;
    font-family: var(--font-mplus);
    font-weight: 600;
    color: #333333;
    margin-bottom: 15px;
}
.feature-title::after {
    content: "";
    flex-grow: 1; 
    height: 1px; 
    background-color: #000000; 
    margin-left: 15px; 
}
.title-icon {
    width: 45px;
    height: auto;
    margin-right: 8px;
}
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.feature-list li {
    position: relative;
    padding-left: 24px; 
    font-size: 14px;
    font-family: var(--font-mplus);
    line-height: 1.6;
    font-weight: 700;
    color: #333333;
    margin-bottom: 10px;
}
.feature-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    width: 16px;
    height: 16px;
    background-image: url('../images/check.png'); 
    background-size: contain;
    background-repeat: no-repeat;
}
.recommend-target {
    background-color: #F1F4F9;
    border-radius: 8px;
    padding: 15px !important;
    margin-bottom: 25px !important;
    flex-shrink: 0 !important;
    height: 150px !important; 
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important; 
    box-sizing: border-box !important;
}
.target-title {
    display: flex;
    align-items: center;
    justify-content: flex-start !important;
    font-size: 16px;
    font-weight: 900;
    color: #27529E; 
    margin-bottom: 10px;
}
.recommend-target p {
    font-size: 14px;
    font-family: var(--font-mplus);
    font-weight: 700;
    line-height: 1.6;
    color: #333333;
    margin: 0;
}
.recommend-btns {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto; 
}
.recommend-btns a {
    flex-shrink: 0; 
    height: 50px; 
    width: 100%; 
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px; 
    box-sizing: border-box; 
    border-radius: 4px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 900;
    transition: opacity 0.3s;
}
.recommend-btns a:hover {
    opacity: 0.8;
}
.btn-red {
    background-color: #E60012;
    color: #FFFFFF; 
}
.btn-white {
    background-color: #ffffff;
    color: #000000; 
    border: 2px solid #E60012;
}
.btn-white .btn-arrow {
    color: #000000; 
}

.btn-text {
    text-align: center !important; 
    flex-grow: 1 !important; 
    font-family: var(--font-mplus);
}
.handa-recommend-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px !important;
    align-items: stretch !important; 
}
.handa-recommend-card {
    background: #ffffff;
    border: 2px solid #E2F2FC;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08); 
    border-radius: 8px; 
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important; 
    transition: all 0.3s ease; 
}
.handa-recommend-card:hover {
    transform: translateY(-4px); 
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12); 
}
.title-main .text-red {
    color: #F10134; 
    font-size: 1.3em; 
}
.title-sub-nomarker {
    color: #289BE6; 
    background: transparent; 
    display: inline-block;
    padding: 0 5px;
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 5px;
}

/* ===================================================
   📱 おすすめの会社3選：スマホ版 横スクロール設定
=================================================== */
@media screen and (max-width: 768px) {
    .title-sub-nomarker { font-size: 35px; }
    .title-main { font-size: 28px; }
    .recommend-catch { font-size: 16px; }
    .recommend-name { font-size: 15px; }
    .title-icon { width: 30px; }
    .feature-list li { font-size: 12px; }
    .recommend-target p { font-size: 12px; }
    .handa-recommend-grid {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        gap: 15px !important;
        padding-bottom: 20px !important;
        align-items: stretch !important; 
        -ms-overflow-style: none !important;
        scrollbar-width: none !important;
    }
    .handa-recommend-grid::-webkit-scrollbar {
        display: none !important;
    }
    .handa-recommend-card {
        width: 85% !important;
        min-width: 280px !important;
        flex-shrink: 0 !important;
        height: auto !important; 
        display: flex !important;
        flex-direction: column !important;
    }
    .recommend-img-box img {
        height: 160px !important; 
        object-fit: cover !important; 
        width: 100% !important;
    }
    .recommend-btns a {
        height: auto !important; 
        min-height: 50px !important; 
        padding: 12px 15px !important;
        line-height: 1.4 !important;
        font-size: 11px;
    }
    .recommend-name {
        height: 85px !important; 
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 10px !important;
        margin-bottom: 15px !important;
    }
    .recommend-body {
        display: flex !important;
        flex-direction: column !important;
        flex-grow: 1 !important; 
        padding: 0 15px 20px !important; 
    }
    .recommend-features {
        flex-grow: 1 !important; 
        margin-bottom: 20px !important;
    }
    .recommend-target {
        height: auto !important;
        min-height: auto !important;
        padding: 15px !important;
        margin-bottom: 20px !important;
    }
}
/* ===================================================
   🌟 半田市の不動産市場動向
=================================================== */
.market-section-v2 {
    margin: 80px 40px;
    padding: 0 50px;
    box-sizing: border-box;
}
.market-title-v2 {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    font-size: 32px;
    font-weight: 900;
    color: #094C9C; 
    margin-bottom: 30px;
    font-family: var(--font-mplus);
}
.title-icon-v2 { width: 80px; height: auto; }
.market-card-v2 {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08); 
    padding: 20px;
    display: flex;
    gap: 50px; 
    box-sizing: border-box;
}

.market-left-v2 { flex: 1.2; }
.market-right-v2 { flex: 1; display: flex; flex-direction: column; }
/* ===================================================
   📊 左カラム：スリムな縦長グラフ
=================================================== */
.chart-group-v2 {
    border-bottom: 1px solid #E5E5E5;
    padding-bottom: 25px;
    margin-bottom: 20px;
}

.chart-row-v2 {
    display: flex;
    align-items: center;
    margin-bottom: 18px;
}
.chart-row-v2:last-child { margin-bottom: 0; }

.row-icon-v2 { width: 50px; margin-right: 50px; flex-shrink: 0; }
.row-label-v2 { 
    width: 100px;
    font-size: 16px; 
    font-weight: 700; 
    color: #333; 
    margin-right: 50px; 
    font-family: var(--font-mplus);
    font-weight: 500;
}
.blocks-wrap-v2 {
    display: flex;
    gap: 2px; 
    margin-right: 50px;
}
.block-v2 {
    width: 18px; 
    height: 50px; 
}
.block-v2.blue { background-color: #013AA2; }
.block-v2.gray { background-color: #D9D9D9; }
.row-value-v2 { 
    width: 90px; 
    text-align: right; 
    font-size: 34px;
    font-weight: 800; 
    color: #33A0D6; 
    line-height: 1;
    font-family: var(--font-mplus);
    letter-spacing: 2px;

}
.row-value-v2 .unit { font-size: 16px; margin-left: 2px; color: #33A0D6; }
/* ===================================================
   📝 左カラム：詳細データリスト
=================================================== */
.stats-row-v2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #E5E5E5; 
}
.stats-label-box-v2 { display: flex; align-items: center; gap: 12px; }
.stats-icon-v2 { width: 40px; flex-shrink: 0; margin-right: 20px; }
.stats-label-v2 { font-size: 14px; font-weight: 700; color: #333; font-family: var(--font-mplus); }

.stats-value-v2 { text-align: right; font-size: 24px; font-weight: 900; color: #289BE6; }
.stats-value-v2.blue-text { color: #33A0D6; } 
.stats-value-v2 .unit { font-size: 12px; }
.stats-value-v2 .sub-v2 { font-size: 20px; color: #000; font-weight: 400; font-family: var(--font-mplus); }


/* ===================================================
   💡 右カラム：市場のポイント
=================================================== */
.point-header-v2 {
    background-color: #454545; 
    color: #ffffff;
    font-size: 24px;
    font-weight: 800;
    padding: 5px 0;
    text-align: center;
    width: 450px;
    clip-path: polygon(0 0, 85% 0, 100% 100%, 0% 100%); 
    margin-left: 0;
}
.point-body-v2 {
    background-color: #F4F8FC;
    padding: 15px 40px;
    border-radius: 0 8px 8px 8px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.point-subtitle-v2 {
    color: #094C9C;
    font-size: 26px;
    font-weight: 900;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 25px;
}
.yellow-line {
    border-bottom: 3px solid #F3C300; 
    padding-bottom: 4px;
}
.point-text-v2 {
    font-size: 16px;
    font-family: var(--font-mplus);
    font-weight: 400;
    line-height: 1.8;
    color: #000;
}
.point-divider-v2 {
    border: none;
    border-top: 2px dashed #094C9C; 
    margin: 20px 0;
}
.woman-card-v2 {
    background: #ffffff;
    border-radius: 8px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 25px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05); 
}
.woman-img-v2 { width: 70px; height: auto; flex-shrink: 0; }
.woman-text-v2 { color: #094C9C; font-weight: 700; font-size: 20px; line-height: 1.5; margin: 0; font-family: var(--font-mplus);}
/* ===================================================
   🌟 不動産売却の流れ
=================================================== */
.sales-flow-section {
    margin: 80px auto;
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
}
.flow-container {
    display: flex;
    justify-content: center; 
    align-items: stretch; 
    margin: 60px auto 0; 
    max-width: 1000px; 
    gap: 3px; 
}
.flow-step {
    position: relative; 
    flex: 1; 
    display: flex;
    flex-direction: column;
}
.step-card {
    background-color: #ffffff;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.06); 
    border: 1px solid #EEEEEE; 
    padding: 40px 10px 25px; 
    text-align: center;
    border-radius: 4px;
    height: 100%;
    box-sizing: border-box;
    position: relative; 
}
.flow-step:not(:last-child) .step-card::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -16px; 
    transform: translateY(-50%);
    border-top: 14px solid transparent;
    border-bottom: 14px solid transparent;
    border-left: 16px solid #E6002D;
    z-index: 5;
}
.step-icon {
    width: 55px; 
    height: auto;
    margin: 0 auto 15px; 
    display: block;
}
.step-name {
    font-size: 16px;
    font-weight: 900;
    color: #111111;
    margin-bottom: 5px;
    font-family: var(--font-mplus);
}
.step-sub {
    font-size: 13px;
    font-weight: 700;
    color: #33A0D6; 
    margin: 0;
}
.step-number {
    position: absolute;
    top: -22px; 
    left: 50%; 
    transform: translateX(-50%); 
    width: 45px;
    height: 45px;
    background-color: #094C9C; 
    color: #ffffff;
    font-size: 20px;
    font-weight: 900;
    border-radius: 50%; 
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10; 
    font-family: 'Playfair Display', serif;
    box-shadow: 0 3px 8px rgba(9, 76, 156, 0.3); 
}

@media screen and (max-width: 768px) {
        .market-section-v2 {
        margin: 40px 15px !important;
        padding: 0 !important; 
    }
    .market-title-v2 { 
        font-size: 22px !important; 
        gap: 8px !important;
    }
    .title-icon-v2 { 
        width: 40px !important;
    }
    .market-card-v2 {
        display: flex !important;
        flex-direction: column !important; 
        gap: 30px !important; 
        padding: 15px !important;
    }
    .row-icon-v2 { width: 25px !important; margin-right: 10px !important; }
    .row-label-v2 { 
        width: 85px !important; 
        font-size: 12px !important; 
        margin-right: 10px !important; 
    }
    .blocks-wrap-v2 { margin-right: 10px !important; }
    .block-v2 { width: 10px !important; height: 35px !important; }
    .row-value-v2 { font-size: 20px !important; width: 60px !important; }
    .row-value-v2 .unit { font-size: 12px !important; }
    .stats-icon-v2 { width: 25px !important; margin-right: 10px !important; }
    .stats-label-v2 { font-size: 13px !important; }
    .stats-value-v2 { font-size: 16px !important; }
    .stats-value-v2 .sub-v2 { 
        font-size: 12px !important; 
        display: block !important; 
        margin-top: 2px !important; 
    }
    .point-header-v2 { 
        width: 220px !important; 
        font-size: 16px !important; 
        padding: 8px 0 !important; 
    }
    .point-body-v2 { padding: 20px 15px !important; }
    .point-subtitle-v2 { font-size: 18px !important; margin-bottom: 20px !important; }
    .point-text-v2 { font-size: 14px !important; }
    .woman-card-v2 { 
        flex-direction: column !important; 
        text-align: center !important; 
        gap: 10px !important;
    }
    .woman-img-v2 { width: 60px !important; }
    .woman-text-v2 { font-size: 16px !important; }
    .flow-container {
        display: flex;
        flex-direction: row; 
        justify-content: flex-start; 
        overflow-x: auto; 
        -webkit-overflow-scrolling: touch; 
        padding-top: 30px !important; 
        padding-bottom: 20px !important; 
        margin-top: 20px !important; 
        gap: 10px !important; 
    }
    .flow-container::-webkit-scrollbar {
        height: 6px; 
    }
    .flow-container::-webkit-scrollbar-thumb {
        background: #DDDDDD; 
        border-radius: 3px;
    }
    .flow-step {
        flex: 0 0 160px !important; 
        width: 160px !important;
    }
    .step-icon { width: 45px !important; }
    .step-name { font-size: 14px !important; }
    .step-sub { font-size: 11px !important; }
    .step-number { 
        width: 35px !important; 
        height: 35px !important; 
        font-size: 16px !important; 
        top: -18px !important; 
    }
}
/* ===================================================
   🌟 よくある質問（FAQ）
=================================================== */
.faq-section {
    background-color: rgba(40, 155, 230, 0.26); 
    padding: 80px 20px;
    width: 100%;
    box-sizing: border-box;
}
.faq-inner {
    max-width: 900px; 
    margin: 0 auto;
}
.faq-title {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 50px;
    border-bottom: none !important; 
    text-decoration: none !important;
}
.faq-title-icon { width: 100px; height: auto; }
.faq-title-text {
    font-size: 28px;
    font-weight: 900;
    color: #094C9C;
    text-align: center;
    line-height: 1.2;

}
.faq-title-sub { font-size: 28px; }
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 20px; 
}
.faq-item {
    background-color: #ffffff; 
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); 
    overflow: hidden; 
    margin: 0; 
    padding: 0;
}

/* ===================================================
   🎯 質問（Q）のエリア
=================================================== */
.faq-q {
    display: flex;
    align-items: center;
    padding: 25px 30px;
    cursor: pointer; 
    position: relative;
    list-style: none; 
    background-color: #ffffff; 
    margin: 0; 
}
.faq-q::-webkit-details-marker { display: none; }
.q-mark {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    background-color: #F0F0EC; 
    border-radius: 50%;
    font-size: 16px;
    font-weight: 900;
    color: #000;
    margin-right: 15px;
    flex-shrink: 0;
    font-family: 'Montserrat', sans-serif;
}
.q-text {
    font-size: 20px;
    font-weight: 300;
    color: #000;
    flex-grow: 1; 
    padding-right: 30px; 
    font-family: var(--font-mplus);
}
.faq-arrow {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    border-right: 2px solid #333333;
    border-bottom: 2px solid #333333;
    transform: translateY(-70%) rotate(45deg); 
    transition: all 0.3s ease; 
}
.faq-item[open] .faq-arrow {
    transform: translateY(-30%) rotate(-135deg); 
}
/* ===================================================
   🎯 回答（A）のエリア
=================================================== */
.faq-a {
    border: none; 
    margin: 0;
    padding: 0;
}
.faq-a-inner {
    display: flex;
    align-items: flex-start;
    padding: 25px 30px;
    background-color: #F0F0EC; 
    margin: 0;
}
.a-mark {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    background-color: #ffffff; 
    border-radius: 50%;
    font-size: 16px;
    font-weight: 900;
    color: #000;
    margin-right: 15px;
    flex-shrink: 0;
    font-family: 'Montserrat', sans-serif;
}
.a-text {
    font-size: 20px;
    line-height: 1.8;
    color: #000;
    margin: 0; 
    font-family: var(--font-mplus);
    font-weight: 300;
    padding-top: 5px; 
}
@media screen and (max-width: 768px) {
    .faq-section { padding: 50px 15px; }
    
    .faq-title-icon { width: 60px; }
    .faq-title-text { font-size: 22px; }
    .faq-title-sub { font-size: 16px; }

    .faq-q { padding: 20px 15px; }
    .q-mark { width: 30px; height: 30px; font-size: 14px; margin-right: 12px; }
    .q-text { font-size: 14px; padding-right: 20px; }
    .faq-arrow { right: 15px; width: 10px; height: 10px; }
    
    .faq-a-inner { padding: 20px 15px; }
    .a-mark { width: 30px; height: 30px; font-size: 14px; margin-right: 12px; }
    .a-text { font-size: 13px; padding-top: 3px; }
}
/* ===================================================
   🌟 サイドバー全体
=================================================== */
.handa-sidebar {
    width: 320px; 
    flex-shrink: 0; 
    box-sizing: border-box;
    padding-left: 40px; 
}
.sidebar-widget {
    margin-bottom: 40px;
    width: 100%;
}
@media screen and (max-width: 768px) {
    .handa-sidebar {
        width: 100%; 
        padding-left: 0; 
        margin-top: 50px; 
    }
}
/* ===================================================
   🔍 サイト内検索
=================================================== */
.search-label {
    font-size: 18px;
    font-weight: 700;
    color: #666666;
    margin-bottom: 10px;
    text-align: center;
}
.search-input-wrapper {
    display: flex;
    border: 1px solid #CCCCCC;
    border-radius: 4px;
    background-color: #ffffff;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}
.search-field {
    flex-grow: 1;
    border: none;
    padding: 12px 15px;
    font-size: 14px;
    outline: none;
    width: 100%;
}
.search-submit-icon {
    background: none;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.search-submit-icon img { width: 20px; height: auto; }

/* ===================================================
   📑 タイトル共通（指定カラー適用！）
=================================================== */
.widget-title {
    background-color: #E8EEF6;
    color: #242E54;
    font-size: 18px;
    font-weight: 900;
    text-align: center;
    padding: 15px 10px;
    margin-bottom: 15px; 
    border-radius: 2px;
    width: 100%;
    box-sizing: border-box;
    font-family: 'Hiragino Kaku Gothic StdN', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
.widget-title .title-icon { width: 24px; height: auto; }

/* ===================================================
   📑 コンテンツ一覧リスト（独立したボタン）
=================================================== */
.content-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px; 
}
.content-list li {
    width: 100%;
}
.content-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 15px;
    background-color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 900;
    transition: opacity 0.3s ease;
    font-family: 'Hiragino Kaku Gothic StdN', sans-serif;
    box-sizing: border-box;
    width: 100%;
    border-radius: 2px;
}
.content-list li a:hover { opacity: 0.7; }
.btn-left {
    display: flex;
    align-items: center;
    gap: 10px;
}
.btn-icon { width: 24px; height: auto; flex-shrink: 0; }
.arrow {
    font-size: 16px;
    font-weight: 900;
    flex-shrink: 0;
    margin-left: 10px;
}
.btn-area {
    border: 2px solid #426CB6;
    color: #04319A;
}
.btn-company {
    border: 2px solid #144218;
    color: #306036;
}
/* ===================================================
   👑 記事カード（縦積みレイアウト＆ランキング）
=================================================== */
.popular-posts-list,
.articles-list {
    display: flex;
    flex-direction: column;
    gap: 25px; 
}
.popular-post-item a,
.article-card a {
    display: flex;
    flex-direction: column; 
    gap: 10px;
    text-decoration: none;
    color: #333333;
    transition: opacity 0.3s;
}
.popular-post-item a:hover,
.article-card a:hover { opacity: 0.7; }
.popular-post-image,
.article-thumbnail {
    position: relative; 
    width: 100%;
    border-radius: 2px;
    overflow: hidden;
}
.popular-post-image img,
.article-thumbnail img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9; 
    object-fit: cover;
    display: block;
}
.popular-rank {
    position: absolute;
    top: 0;
    left: 0;
    background-color: #333333; 
    color: #ffffff;
    font-size: 16px;
    font-weight: bold;
    width: 32px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    font-family: 'Montserrat', sans-serif;
}
.popular-post-title,
.article-title {
    color: #000;
    font-family: "Noto Sans JP", "Hiragino Kaku Gothic StdN", sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.search-input-wrapper .search-field {
    width: 100%;
    padding: 15px 50px 15px 20px;
    border: none;
   border-bottom: 3px solid #EAEAEA;
    font-size: 18px;
    box-sizing: border-box;
    color: #333;
    font-family: "Hiragino Maru Gothic ProN", "Noto Sans JP", "Hiragino Sans", sans-serif;
    transition: box-shadow 0.3s ease;
}
.search-submit-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.search-submit-icon img {
    width: 20px;
    height: 20px;
    opacity: 0.5;
}
.search-submit-icon:hover {
    opacity: 0.8;
}
@media screen and (max-width: 768px) {
    .review-header-box {
        min-height: 75px !important; 
        display: flex !important;
        align-items: center !important; 
        padding: 15px 15px 15px 65px !important; 
    }
    .detail-btns-row a {
        font-size: 12px;
    }
}
.company-list-section {
    padding: 80px 15px !important; 
    width: 100% !important;
    background-color: transparent !important; 
}
.company-list-container {
    max-width: 1100px !important; 
    margin: 0 auto !important; 
    width: 100% !important;
}
.company-list-title {
    font-size: 32px !important;
    font-weight: 900 !important;
    color: #094C9C !important;
    text-align: center !important;
    line-height: 1.4 !important;
    margin: 0 0 50px 0 !important;
    font-family: var(--font-mplus) !important;
    border: none !important; 
    padding: 0 !important;
    background: none !important;
}
.sp-only { display: none; }
/* ===================================================
   🎯 グリッドレイアウト（横3列を強制！）
=================================================== */
.company-list-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important; 
    gap: 30px !important; 
    margin: 0 0 50px 0 !important;
    width: 100% !important;
}
.company-list-card {
    background-color: #ffffff !important;
    border: 1px solid #DDDDDD !important; 
    border-radius: 4px !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    margin: 0 !important;
    width: 100% !important;
}
/* ===================================================
   🚨 カード上部（青いヘッダー）を強制再現
=================================================== */
.company-card-header {
    background-color: #094C9C !important; 
    padding: 20px 15px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important; 
    gap: 10px !important;
    min-height: 90px !important; 
    width: 100% !important;
    box-sizing: border-box !important;
}
.header-icon {
    width: 50px !important;
    height: auto !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
}
.header-text-wrapper {
    color: #ffffff !important;
    flex-grow: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    width: 100% !important;
}
.header-name-line1 {
    font-size: 16px !important;
    font-weight: 900 !important;
    margin: 0 !important;
    line-height: 1.4 !important;
    font-family: var(--font-mplus) !important;
}
.header-name-line2 {
    font-size: 13px !important;
    font-weight: 700 !important;
    margin: 5px 0 0 0 !important;
}
/* ===================================================
   🚨 カード下部（情報エリア）
=================================================== */
.company-card-body {
    padding: 25px 20px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important; 
}
.info-item {
    display: flex !important;
    flex-direction: column !important;
    gap: 5px !important;
}
.info-label-wrap {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}
.info-icon {
    width: 40px !important;
    height: auto !important;
    margin: 0 !important;
}
.info-label {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #094C9C !important; 
}
.info-value {
    font-size: 14px !important;
    font-family: var(--font-mplus);
    font-weight: 400 !important;
    color: #333333 !important;
    line-height: 1.5 !important;
    padding-left: 26px !important; 
    display: block !important;
}
.company-map {
    margin-top: auto !important;
    width: 100% !important;
    border: 1px solid #EEEEEE !important;
}
.company-map iframe {
    display: block !important;
    width: 100% !important;
}
/* ===================================================
   🎯 もっと見るボタン
=================================================== */
.company-more-btn {
    background-color: #094C9C !important;
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    padding: 15px 40px !important;
    border: none !important;
    border-radius: 10px !important;
    transition: opacity 0.3s !important;
    font-family: var(--font-mplus) !important;
}
/* ===================================================
   📱 スマホ対応（崩れ撲滅）
=================================================== */
@media screen and (max-width: 768px) {
    .company-list-section { padding: 50px 15px !important; }
    .company-list-title { font-size: 24px !important; margin-bottom: 30px !important; }
    .sp-only { display: block !important; }
        .company-list-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    .header-name-line1 { font-size: 18px !important; }
    .header-name-line2 { font-size: 14px !important; }
    .info-value { font-size: 15px !important; }
    .company-more-btn { width: 100% !important; }
}
/* ===================================================
   🚨 修正：4社目以降を【絶対に】隠す＆ボタン中央寄せ
=================================================== */
.company-list-card.company-card-hidden {
    display: none !important;
}
.company-list-more-wrapper {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important; 
    margin-top: 40px !important; 
}
/* ===================================================
   🌟 新着記事セクション（横4列）
=================================================== */
.new-articles-section {
    padding: 80px 15px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}
.new-articles-container {
    max-width: 1100px !important;
    margin: 0 auto !important;
    width: 100% !important;
}
.new-articles-header {
    text-align: left !important; 
    margin-bottom: 40px !important;
}
.new-articles-title {
    display: inline-block !important; 
    background-color: #E8EEF6 !important;
    color: #094C9C !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    padding: 12px 50px !important;
    border-radius: 2px !important; 
    margin: 0 !important;
    border: none !important;
    font-family: var(--font-mplus) !important;
}
.new-articles-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important; 
    gap: 20px !important;
    margin-bottom: 50px !important;
    width: 100% !important;
}
.new-article-card a {
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important;
    text-decoration: none !important;
    transition: opacity 0.3s ease !important;
}
.new-article-card a:hover {
    opacity: 0.7 !important;
}
.new-article-thumb {
    width: 100% !important;
    border-radius: 2px !important;
    overflow: hidden !important;
}
.new-article-thumb img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9 !important;
    object-fit: cover !important;
    display: block !important;
}
.new-article-title {
    color: #333333 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.5 !important;
    margin: 0 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}
.new-articles-more-wrapper {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
}
.new-articles-more-btn {
    background-color: #454545 !important; 
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    padding: 15px 60px !important;
    border-radius: 10px !important; 
    text-decoration: none !important;
    transition: opacity 0.3s ease !important;
    font-family: var(--font-mplus) !important;
}
.new-articles-more-btn:hover {
    opacity: 0.8 !important;
}
/* ===================================================
   📱 スマホ対応（崩れ撲滅）
=================================================== */
@media screen and (max-width: 768px) {
    .new-articles-section { padding: 50px 15px !important; }
        .new-articles-grid {
        grid-template-columns: repeat(2, 1fr) !important; 
        gap: 15px !important;
    }

    .new-articles-title { font-size: 18px !important; padding: 10px 30px !important; }
    .new-article-title { font-size: 13px !important; }
    .new-articles-more-btn { width: 100% !important; text-align: center !important; box-sizing: border-box !important; padding: 15px 0 !important;}
}
/* 記事本文内のすべての表に適用 */
.article-content table {
    border-collapse: collapse !important;
    width: 100% !important;
    border: 2px solid #3477B9 !important;
    border-left: 2px solid #ffffff !important; 
}

.article-content table th,
.article-content table td {
    border: 1px solid #3477B9 !important;
    padding: 12px 15px !important;
    vertical-align: middle !important;
}

.article-content table tr td:first-child,
.article-content table tr th:first-child {
    background-color: #3477B9 !important;
    color: #ffffff !important;
    font-weight: bold !important;
    text-align: center !important;
    width: 30% !important;
    
    border-top: 1px solid #ffffff !important;
    border-bottom: 1px solid #ffffff !important;
    border-left: 2px solid #ffffff !important;
    border-right: 1px solid #3477B9 !important; 
}

.article-content table tr td:nth-child(2) {
    background-color: #ffffff !important;
    color: #333333 !important;
    text-align: left !important;
}

.new-article-thumb {
    overflow: hidden !important;
}
.new-article-thumb img {
    transition: transform 0.4s ease !important;
}

.new-article-card a:hover .new-article-thumb img {
    transform: scale(1.1) !important;
}
.new-article-thumb img,
.popular-post-image img {
    transition: transform 0.4s ease !important;
}

.new-article-card a:hover .new-article-thumb img,
.popular-post-item a:hover .popular-post-image img {
    transform: scale(1.1) !important;
}

.fv-text-area {
    width: 100% !important; 
}

.fv-lead, .fv-main-copy, .fv-sub-copy {
    max-width: 68%; 
}

.fv-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    margin-top: 80px; 
    
    width: 100%; 
}

.fv-illust-box {
    margin-top: 0 !important; 
    flex: 1; 
}
.fv-btn-wrapper {
    width: 380px; 
    flex-shrink: 0;
}
.highlight-25 {
    font-size: 24px;
    color: var(--color-accent-red);
    font-weight: 700;
}

.fv-scroll-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    background: linear-gradient(180deg, #FF9900 0%, #FF6600 100%);
    color: #ffffff;
    padding: 25px 10px;
    border-radius: 50px;
    text-decoration: none;
    box-sizing: border-box;
    position: relative;
    overflow: hidden; 
    box-shadow: 0 6px 20px rgba(255, 102, 0, 0.4) !important;
    transition: all 0.3s ease !important; 
    transform: translate(0, 0) !important;
}
.fv-scroll-btn .btn-main-text {
    font-size: 17px; 
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    color: #ffffff;
}
.fv-scroll-btn .highlight-3sen {
    font-size: 28px; 
    font-weight: 900;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-top: 5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.fv-scroll-btn:hover {
    color: #ffffff;
    opacity: 1 !important; 
    transform: translate(2px, 2px) !important;
    background: linear-gradient(180deg, #FF8800 0%, #FF5500 100%);
    box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.6) !important; 
}

.fv-scroll-btn .arrow-right {
    font-size: 0.9em;
    animation: moveRight 1.5s infinite; 
}
@keyframes moveRight {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(5px); } 
}

.fv-scroll-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(135deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
    transform: rotate(30deg);
    animation: shine 3s infinite;
}
@keyframes shine {
    0% { left: -100%; top: -100%; }
    20% { left: 100%; top: 100%; }
    100% { left: 100%; top: 100%; }
}

/* ===================================================
   📱 3. スマホ対応
=================================================== */
@media screen and (max-width: 768px) {
    .fv-lead, .fv-main-copy, .fv-sub-copy {
        max-width: 100%; 
    }
    .fv-bottom-row {
        flex-direction: column;
        margin-top: 30px;
        gap: 20px;
        width: 100%; 
    }
    .fv-btn-wrapper {
        width: 100%;
    }
    .fv-scroll-btn {
        padding: 15px 10px;
        border-radius: 40px; 
    }
    .fv-scroll-btn .btn-main-text {
        font-size: 14px;
    }
    .fv-scroll-btn .highlight-3sen {
        font-size: 22px; 
    }
}

.no-results-box {
    background-color: #F8F8F8;  
    border: 2px dashed #CCCCCC; 
    border-radius: 8px;
    padding: 40px 20px;
    text-align: center;
    margin-bottom: 30px; 
    
   
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.no-results-box .no-results-icon {
    font-size: 28px;
    opacity: 0.6; 
}

.no-results-box p {
    margin: 0 !important;
    font-size: 15px;
    color: #666666; 
    font-weight: 500;
    line-height: 1.6;
}

/* 📱 スマホ対応 */
@media screen and (max-width: 768px) {
    .no-results-box {
        padding: 30px 15px;
    }
    .no-results-box p {
        font-size: 14px;
    }
}
/* ===================================================
   🎯 枠外の小さな引用元リンク
=================================================== */
.market-citation-v2 {
    margin-top: 15px;
    margin-right: 100px;
    text-align: right;
    font-size: 12px;
}
.market-citation-v2 p {
    margin: 0 0 5px 0 !important;
    color: #888888; 
    line-height: 1.4;
}

.market-citation-v2 a {
    color: #888888;
    text-decoration: underline;
    transition: opacity 0.2s ease;
    word-break: break-all; 
}

.market-citation-v2 a:hover {
    opacity: 0.6;
}


@media screen and (max-width: 768px) {
    .market-citation-v2 {
        text-align: left;
        font-size: 11px;  
        margin-top: 10px;
        padding: 0 10px;  
    }
}
/* ===================================================
   🎯 会社一覧：紹介文のスタイル
=================================================== */
.company-intro-box {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #DDDDDD;
}

.company-intro-text {
    font-size: 14px;
    line-height: 1.6;
    color: #444444;
    margin: 0 !important; 
	font-family: var(--font-mplus);
	font-weight: 500;
}

/* 📱 スマホ対応 */
@media screen and (max-width: 768px) {
    .company-intro-text {
        font-size: 13px;
    }
}


.related-articles-section {
    clear: both !important;
    display: block !important;
    width: 100% !important;
}

.useful-column-grid,
.related-articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
    width: 100%;
}


.area-column-card {
    background: #ffffff;
    border: none !important; 
    border-radius: 8px; 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08) !important; 
    overflow: hidden;
    transition: transform 0.2s ease;
}

.area-column-card:hover {
    transform: translateY(-3px);
}

.area-column-card-link {
    display: block;
    text-decoration: none;
    color: #333;
    height: 100%;
}

.area-column-card-image {
    width: 100%;
    margin: 0;
    aspect-ratio: 16 / 9 !important; 
    background: transparent !important; 
    overflow: hidden;
}


.area-column-card-image img {
    width: 100% !important;
    height: 100% !important; 
    object-fit: cover !important; 
    display: block;
    margin: 0;
}

.area-column-card-content {
    padding: 15px; 
}

.area-column-card-title {
    font-size: 14px;
    font-weight: bold;
    line-height: 1.5;
    margin: 0 0 10px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.area-column-card-date {
    font-size: 12px;
    color: #888888;
    display: block;
}

@media screen and (max-width: 768px) {
    .useful-column-grid,
    .related-articles-grid {
        grid-template-columns: 1fr;
    }
}

.top-bar {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999; 
}


.site-header {
    position: fixed !important;    
    top: 20px; 
    left: 0;
    width: 100%;
    z-index: 9998; 
    
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}


body {
    
    padding-top: 120px !important; 
}

a.company-card-header {
    text-decoration: none !important; 
    color: inherit; 
    display: flex; 
    transition: opacity 0.3s ease; 
}

a.company-card-header:hover {
    opacity: 0.8; 
    cursor: pointer;
}
.detail-block-title {
    background-color: #094C9C;
    color: #ffffff;
    font-size: 16px;
    font-weight: bold;
    padding: 10px 40px 10px 20px;
    margin: 0 0 20px 0;
    display: inline-block;
    clip-path: polygon(0 0, calc(100% - 25px) 0, 100% 100%, 0% 100%);
}

.keiai-sales-table-wrap {
    width: 100%;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    background: #ffffff;
}
.keiai-sales-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    line-height: 1.6;
    display: table !important;
    table-layout: fixed !important;
    word-break: normal !important; 
}
.keiai-sales-table tr {
    display: table-row !important;
}
.keiai-sales-table th {
    background-color: #F8CA27;
    color: #333333;
    font-weight: bold;
    text-align: center;
    padding: 12px 8px;
    border: 1px solid #DDDDDD;
    display: table-cell !important;
    vertical-align: middle !important;
}
.keiai-sales-table td {
    padding: 15px 20px;
    border: 1px solid #DDDDDD;
    color: #333333;
    display: table-cell !important;
    vertical-align: middle !important;
}
.text-blue { color: #094C9C; }
.font-bold { font-weight: bold; }
.td-type { text-align: center; font-weight: bold; color: #094C9C; }
.td-location { text-align: center; font-weight: 500; white-space: nowrap !important; font-family: var(--font-mplus);}
.td-result { text-align: center; font-family: var(--font-mplus);}
.td-arrow-wrap {
    position: relative;
    padding-right: 24px !important;
    font-family: var(--font-mplus);
    font-weight: 500;
    font-size: 13px;
}
.td-arrow-wrap::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -12px;
    transform: translateY(-50%);
    width: 24px;
    height: 30px;
    background-color: #ffffff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23094C9C' d='M8 17.5l-1.4-1.4 4.6-4.6-4.6-4.6L8 5.5l6 6-6 6zm7 0l-1.4-1.4 4.6-4.6-4.6-4.6L15 5.5l6 6-6 6z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 10;
}

.td-type-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: left;
}
.td-type img { width: 32px !important; height: auto !important; margin: 0 !important; display: block; }
.type-text { font-size: 14px; line-height: 1.3; font-weight: bold; white-space: nowrap !important; color: #024EA4; font-family: var(--font-mplus);}

.wreath-heading {
    position: relative;
    display: inline-block;
    text-align: center;
    padding: 0 40px; 
    margin-bottom: 10px;
}
.wreath-small { font-size: 13px; color: #333333; font-weight: bold; display: block; }
.wreath-big { font-size: 18px; color: #E60012; font-weight: bold; line-height: 1.4; display: block; margin-top: 4px; }
.wreath-heading::before {
    content: ""; position: absolute; top: 50%; left: 0; transform: translateY(-50%); width: 30px; height: 60px; 
    background-image: url('../images/wreath_left.png'); background-size: contain; background-repeat: no-repeat; background-position: center;
}
.wreath-heading::after {
    content: ""; position: absolute; top: 50%; right: 0; transform: translateY(-50%); width: 30px; height: 60px; 
    background-image: url('../images/wreath_right.png'); background-size: contain; background-repeat: no-repeat; background-position: center;
}
.result-house-img { width: 120px; height: auto; display: block; margin: 0 auto 15px auto; }
.result-text { font-size: 13px; text-align: center; margin-bottom: 10px; font-weight: 600; }
.result-citation { display: block; font-size: 10px; color: #888888; text-align: right; }


@media screen and (max-width: 768px) {
    .detail-block-title {
        display: block; clip-path: none; padding: 15px; text-align: center; margin-bottom: 15px; 
    }

    .keiai-sales-table-wrap {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 10px;
    }
    .keiai-sales-table {
        min-width: 960px !important; 
    }
}