@import url('https://fonts.googleapis.com/css2?family=Abril+Fatface&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic:wght@400;500;700&display=swap');
/* ==========================================================================
   1. 変数 & 基本スタイル
   ========================================================================== */
:root {
    --color-text-dark: #333333;
    --color-text-light: #666666;
    --color-white: #FFFFFF;
    --color-bg-light: #F5F5F5;
    --color-bg-dark: #2C2C2C;
    --color-border: #E0E0E0;
    --color-tag-bg: #F5F3EC;
    --font-main: 'Noto Sans JP', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'メイリオ', Meiryo, sans-serif;
    --font-en: 'IBM Plex Sans Thai', 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;
    }
}
/* ==========================================================================
   Top Bar
   ========================================================================== */
.top-bar {
    background-color: #333;
    height: 22px;
    display: flex;
    align-items: center;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
}
.top-bar-inner {
    max-width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    justify-content: flex-end;
}
.pr-label {
    background-color: #F7FF00;
    color: #333;
    width: 33px;
    height: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 300;
    flex-shrink: 0;
}
.top-bar-text {
    color: #fff;
    font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 300;
}
/* PC: フルテキスト表示、SP用テキスト非表示 */
.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;
}
/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
    background-color: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    height: 60px;
    display: flex;
    align-items: center;
    width: 100%;
    position: fixed;
    top: 20px;
    left: 0;
    z-index: 9998;
}
.header-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
}
.header-left {
    display: flex;
    align-items: center;
    height: 100%;
}
.header-banner-02 {
    height: 58px;
    width: auto;
    display: block;
}
.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
    height: 100%;
}
.main-navigation {
    display: flex;
    align-items: center;
    height: 100%;
}
.main-navigation ul {
    display: flex;
    gap: 25px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.main-navigation li {
    border-left: 1px solid #093077;
    padding-left: 25px;
}
.main-navigation a {
    color: #093077;
    font-weight: 600;
    font-size: 15px;
    white-space: nowrap;
}
.header-banner-01 {
    height: 60px;
    width: auto;
    display: block;
}
/* ヘッダーバナーのリンクスタイル */
.header-right a {
    display: inline-block;
    line-height: 0;
}
.header-right a:hover {
    opacity: 0.8;
}
/* Page Layout - トップバー・ヘッダー固定分のpadding調整 */
#page {
    padding-top: 80px;
    /* トップバー(20px) + ヘッダー(60px) */
}
/* WordPress管理バー対応 */
body.admin-bar .top-bar {
    top: 32px;
}
body.admin-bar .site-header {
    top: 52px;
    /* 管理バー(32px) + トップバー(20px) */
}
body.admin-bar #page {
    padding-top: 112px;
    /* 管理バー(32px) + トップバー(20px) + ヘッダー(60px) */
}
.header-sp-only {
    display: none;
}
/* ====================================================
   スマホ画像・表示セット
   ==================================================== */
.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: #00993D;
        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;
    }
    #page {
        padding-top: 20px !important;
    }
}
/* =========================================
   メインビジュアル (Hero Section)
========================================= */
.hero-container {
    position: relative;
    width: 100%;
    max-width: 100% !important; 
    min-height: 650px; 
    margin: 0;
}
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    object-position: center;
}
.hero-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.hero-title-area {
    display: flex;
    justify-content: flex-start; 
    padding-top: 60px;
    padding-left: 8%; 
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 30px;
}
.title-white-box {
    position: relative;
    background: rgba(255, 255, 255, 0.85);
    padding: 30px 60px 40px; 
    border-radius: 20px; 
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.hero-badge {
    position: absolute;
    top: -50px;
    left: -60px; 
    width: 180px; 
    height: auto;
    z-index: 10;
}
.hero-main-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
}
.title-sub {
    font-size: 24px;
    font-weight: 900;
    color: #1b1b1b;
    border-bottom: none; 
    padding: 10px 30px 0; 
    margin-bottom: 5px; 
    letter-spacing: 0.1em;
}
.dot-text {
    -webkit-text-emphasis: filled circle #F2941D;
    text-emphasis: filled circle #F2941D;
}
.title-main {
    position: relative; 
    display: inline-block;
    font-size: 72px;
    font-weight: 900;
    color: #F2941D; 
    -webkit-text-stroke: 10px #ffffff; 
    paint-order: stroke fill; 
    margin-bottom: 25px;
    line-height: 1.1;
    letter-spacing: 0.05em;
    z-index: 2; 
}
.title-main::before {
    content: attr(data-text); 
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1; 
    -webkit-text-stroke: 14px #F2941D; 
    paint-order: stroke fill;
    text-shadow: 4px 6px 12px rgba(0, 0, 0, 0.2);
}
.title-line-img {
    width: 100%;
    max-width: 520px; 
    height: auto;
    margin-bottom: 20px; 
    display: block;
}
.title-catch {
    background-color: #3B3E3E;
    color: #ffffff;
    font-size: 24px;
    letter-spacing: 1px;
    font-weight: 200;
    padding: 8px 100px;
}
.hero-bottom-area {
    display: flex;
    width: 100%; 
    align-items: center; 
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.3);
    margin-top: auto;
    padding: 25px 8%; 
    box-sizing: border-box;
}
.hero-desc-box {
    background: transparent;
    padding: 0 50px 0 0; 
    width: 60%;
}
.hero-desc-box p {
    color: #ffffff;
    font-size: 18px;
    line-height: 1.6;
    margin: 0;
}
.marker-orange {
    background-color: #F2941D; 
    color: #ffffff;
    font-weight: bold;
}
.hero-cta-wrapper {
    width: 480px; 
    flex-shrink: 0;
    margin-left: auto;
}
.fv-cta-button {
    display: block;
    height: 100%;
}

.fv-cta-button img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s;
}

.fv-cta-button:hover img {
    transform: scale(1.03);
}
/* =========================================
   スマホ版 (SP) 1画面完全フィットレイアウト
========================================= */
@media screen and (max-width: 768px) {
    
    .hero-container {
        position: relative;
        height: 100svh !important;
        overflow: hidden;
    }
    .hero-bg img {
        object-position: 65% 30%; 
    }
    .hero-content {
        position: relative !important; 
        height: 100svh !important;
        padding: 60px 0 10px; 
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        gap: 8px; 
    }
    .hero-title-area {
        padding: 0 10px;
        margin: 0;
    }
    .title-white-box {
        width: 100%;
        padding: 10px 5px 15px; 
    }
    .hero-badge {
        width: 65px; 
        top: -12px;
        left: 0px;
    }
    .title-sub { font-size: 10px; margin-bottom: 0px; }
    .title-line-img { max-width: 80%; margin-bottom: 2px; }
    
    .title-main {
        font-size: 21px; 
        margin-bottom: 4px;
        -webkit-text-stroke: 1.5px #ffffff; 
    }
    .title-main::before {
        -webkit-text-stroke: 5px #F2941D; 
    }
    .title-catch { 
        font-size: 10px;
        padding: 3px 8px;
        margin-top: 5px; 
    }
    .hero-bottom-area {
        display: flex;
        flex-direction: column;
        padding: 0; 
        background: transparent;
        margin-top: 5px;
    }
    .hero-desc-box {
        background: rgba(0, 0, 0, 0.3);
        width: 100%;
        padding: 10px 12px; 
    }
    .hero-desc-box p {
        font-size: 10px; 
        line-height: 1.5; 
    }
    .hero-cta-wrapper {
        width: 90%;
        max-width: 280px; 
        margin: 0 auto;
    }
}
/* ==========================================================================
   Main Content
   ========================================================================== */
.main-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}
   /* =========================================
   INDEXセクション (PC版ベース)
========================================= */
.index-section {
    background: #ffffff; 
    padding: 25px;
    width: 100%;
    box-sizing: border-box;
}
.index-inner {
    max-width: 1300px; 
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 30px; 
}
.index-title-box {
    flex-shrink: 0;
    width: 140px; 
    text-align: center;
}
.index-title {
    position: relative;
    display: inline-block; 
    font-size: 40px; 
    font-weight: 900;
    color: #1b1b1b;
    margin: 0;
    letter-spacing: 0.05em;
    padding: 10px 0; 
}
.index-line-top {
    position: absolute;
    top: 0;
    left: -10px; 
    width: 45px; 
    height: 8px; 
    background-color: #D74848; 
}
.index-line-bottom {
    position: absolute;
    bottom: 0;
    right: -10px; 
    width: 45px;
    height: 8px;
    background-color: #D74848; 
}
.index-nav {
    flex-grow: 1;
    display: flex; 
    flex-wrap: wrap; 
    justify-content: center; 
    gap: 8px; 
    margin-top: 15px;
}
.index-btn {
    width: calc((100% - 24px) / 4); 
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #9AC07C; 
    color: #ffffff;
    text-decoration: none;
    padding: 8px 12px;
    border: 1px solid #000;
    border-radius: 11px; 
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); 
    min-height: 58px; 
    transition: transform 0.3s, background-color 0.3s;
}
.index-btn:hover {
    background-color: #8bb26d; 
    transform: translateY(-2px); 
    color: #ffffff;
}

.btn-text {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.3;
    text-align: center;
    flex-grow: 1;
}
.btn-icon {
    flex-shrink: 0;
    width: 25px;
    height: 25px;
    background-color: #ffffff;
    border-radius: 50%; 
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 5px;
}
    .btn-icon::after {
    content: '';
    width: 8px;
    height: 8px;
    border-top: 2px solid #707070; 
    border-right: 2px solid #707070;
    transform: rotate(45deg);
    margin-left: -2px; 
}           
/* =========================================
   スマホ版 (SP) INDEXセクション
========================================= */
@media screen and (max-width: 768px) {
    .index-section {
        padding: 20px 15px; 
    }
    .index-inner {
        flex-direction: column; 
        gap: 5px; 
    }
    .index-title-box {
        width: 100%;
        text-align: center;
    }
    .index-title {
        font-size: 30px; 
        padding: 5px 0; 
    }
    .index-line-top {
        width: 30px;
        height: 6px;
        left: -10px; 
        top: 0;
    }
    .index-line-bottom {
        width: 30px;
        height: 6px;
        right: -10px;
        bottom: 0;
    }
    .index-nav {
        width: 100%;
        grid-template-columns: repeat(2, 1fr); 
        gap: 8px; 
        margin-top: 10px;
    }
    .index-btn {
        padding: 8px 10px; 
        min-height: 55px; 
        border-radius: 8px;
		width: calc((100% - 8px) / 2) !important;
    }
    .btn-text {
        font-size: 11px; 
        line-height: 1.3;
    }
    .btn-icon {
        width: 16px;
        height: 16px;
        margin-left: 5px;
    }
    .btn-icon::after {
        width: 3px;
        height: 3px;
    }
}

/* スマホ用改行（PCでは非表示） */
.sp-br {
    display: none;
}
/* グリッドラッパー（PCではそのまま表示） */
.companies-grid-wrapper {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}
/* スクロールインジケーター（PCでは非表示） */
.scroll-indicator {
    display: none;
}

.company-btn::before,
.company-btn::after {
    display: none !important;
}

.arrow-icon {
    width: 12px !important;
    height: auto !important;
}


.hamburger-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}
.hamburger-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--color-text-dark);
}
.menu-text {
    font-size: 10px;
    margin-top: 3px;
    width: auto;
    height: auto;
    background: none;
}
/* Mobile Menu - Base styles (PC: hidden, SP: uses transform animation) */
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 75%;
    max-width: 300px;
    height: 100vh;
    background-color: #00993D;
    z-index: 10001;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s ease, visibility 0.3s ease;
    visibility: hidden;
}
.mobile-menu.active {
    transform: translateX(0);
    visibility: visible;
}
.mobile-menu-content {
    padding: 60px 20px 20px;
}
.mobile-nav {
    list-style: none;
    margin-bottom: 30px;
}
.mobile-nav li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.mobile-nav a {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    color: var(--color-white);
    font-size: 16px;
}
/* ==========================================================================
   Footer
   ========================================================================== */
.footer-top-section {
    background-color: #00993D;
    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: #00993D;
    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;
}
.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;
}
/* ==========================================================================
   Company Introduction Section
   ========================================================================== */
.company-introduction-wrapper {
    display: flex;
    gap: 40px;
    max-width: 1400px;
    margin: 30px auto;
    padding: 0 20px;
    align-items: flex-start;
}
.company-main-content {
    flex: 1;
    min-width: 0;
}
.company-detail-card {
	margin-top: 50px;
    background: #FFF;
    border-radius: 8px;
    overflow: hidden;
}
/* Company Header Section */
.company-header-section {
    padding: 30px;
    background: #FFF;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}
/* ここから */
/* ==========================================================================
   Company Introduction Sidebar
   ========================================================================== */
.company-intro-sidebar {
    width: 353px;
    flex-shrink: 0;
    background: #FFF;
    padding: 0;
    max-height: fit-content;
}
.sidebar-widget {
    margin-bottom: 0;
    background: #fff;
}
.sidebar-widget:last-child {
    margin-bottom: 0;
}
/* ==========================================================================
   Search Widget (検索ボックス)
   ========================================================================== */
.widget-search {
    padding: 0 0 20px 0;
    border: none;
}
.widget-search-box {
    width: 100%;
}
.search-form-custom {
    width: 100%;
}
.search-input-wrapper {
    position: relative;
    width: 100%;
}
.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-input-wrapper .search-field:focus {
    outline: none;
    border-bottom: 3px solid #00993D !important; 
}
.search-input-wrapper .search-field::placeholder {
    color: #999;
    font-size: 18px;
}

.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;
}
/* ==========================================================================
   Content List Widget (コンテンツ一覧)
   ========================================================================== */
.widget-content-list {
    padding: 0;
    margin-bottom: 10px;
    border: none;
}
.widget-title.bg-blue {
    color: #FFF;
    font-family: "Hiragino Maru Gothic ProN", "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 16px;
    font-weight: bold;
    background: #333333; 
    text-align: center;
    padding: 16px 0;
    margin: 0;
    letter-spacing: 0.1em;
}
.content-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border: none;
}
.content-list li {
    margin: 0;
    border-bottom: 2px solid #00993D; 
}
.content-list li:last-child {
    border-bottom: none;
}
.content-list a {
    color: #333 !important;
    font-family: "Hiragino Maru Gothic ProN", "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 18px !important;
    font-weight: bold;
    text-decoration: none;
    display: block;
    padding: 24px 10px !important; 
    background: #FFF;
    text-align: center;
    transition: background-color 0.3s ease;
}

.content-list a:hover {
    background: #F9F9F9;
}
/* ==========================================================================
   新着記事 ウィジェット
   ========================================================================== */
.widget-title.bg-blue-custom {
    background-color: #00993D; 
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    padding: 16px 0;
    margin: 0;
    letter-spacing: 0.1em;
}
.widget-latest-articles .article-card {
    border: 2px solid #333;
    border-top: none;
    padding: 15px;
    background-color: #fff;
}
.widget-latest-articles .article-card a {
    text-decoration: none;
    color: #333;
}
.widget-latest-articles .article-thumbnail {
    margin-bottom: 15px;
}
.widget-latest-articles .article-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}
.widget-latest-articles .article-title {
    font-size: 14px;
    line-height: 1.6;
    font-weight: bold;
    margin: 0;
}
.widget-popular-articles,
.widget-latest-articles {
    padding: 0;
    margin-bottom: 40px;
    border: none;
}
.widget-popular-articles:last-child,
.widget-recent-articles:last-child {
    border-bottom: none;
}
.articles-list {
    padding: 20px 0 0 0; 
}
.article-card {
    position: relative;
    margin-bottom: 25px;
    background: #FFF;
    border-radius: 0; 
    overflow: hidden;
    box-shadow: none; 
    border: none !important; 
    transition: opacity 0.3s ease;
}
.widget-latest-articles .article-card {
    padding: 0; 
}
.article-card:last-child {
    margin-bottom: 0;
}
.article-card:hover {
    opacity: 0.7; 
    transform: none; 
}
.article-card a {
    text-decoration: none;
    display: block;
}
.article-thumbnail {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9; 
    overflow: hidden;
    margin-bottom: 12px;
}
.article-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.article-rank {
    position: absolute;
    top: 0;
    left: 0;
    background: #333333; 
    color: #FFF;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Hiragino Sans", "Noto Sans JP", sans-serif;
    font-size: 15px;
    font-weight: bold;
    z-index: 2;
}
.article-title {
    color: #333;
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 14px;
    font-weight: bold;
    line-height: 1.5;
    padding: 0;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2; 
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* サイドバー上部（バナー＆ナビゲーション */
.widget-sidebar-nav {
    margin-bottom: 20px;
    margin-top: 10px;
    border: none;
    padding: 0;
}
.sidebar-banner-box {
    background-color: #00993D;
    padding: 12px 12px 0 12px;
    margin-bottom: 20px;
}
.sidebar-banner-link {
    display: block;
    margin-bottom: 20px;
    transition: opacity 0.3s ease;
}
.sidebar-banner-link:hover {
    opacity: 0.8; 
}
.sidebar-banner-link img {
    width: 100%;
    height: auto;
    display: block;
}
.banner-click-text {
    display: block;
    color: #FFF;
    font-size: 22px; 
    font-weight: bold;
    text-align: center;
    margin-top: 8px; 
    padding-bottom: 5px;
    letter-spacing: 1px;
    font-family: "Hiragino Sans", "Noto Sans JP", sans-serif;
}
.sidebar-guide-title {
    background-color: #00993D; 
    color: #FFF;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    padding: 16px 0;
    margin: 0;
    letter-spacing: 0.1em;
}
.sidebar-guide-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border-left: 2px solid #333; 
    border-right: 2px solid #333;
    border-bottom: 2px solid #333;
}
.sidebar-guide-list li {
    margin: 0;
    border-bottom: 2px solid #333; 
}
.sidebar-guide-list li:last-child {
    border-bottom: none;
}
.sidebar-guide-list a {
    color: #333;
    font-size: 20px; 
    font-weight: bold;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 10px;
    background: #FFF;
    position: relative;
    transition: background-color 0.3s ease;
    text-align: center;
}
.sidebar-guide-list a:hover {
    background: #F5F5F5;
}
.sidebar-guide-list .arrow {
    position: absolute;
    right: 20px; 
    font-size: 12px;
}
/* Popular & Recent Post Titles */
.popular-post-title,
.recent-post-title {
    color: #000;
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 1.5;
    padding: 8px 0;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* 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;
    }
}
/* ==========================================================================
   工務店一覧セクション (1カラム中央配置)
   ========================================================================== */
.company-list-section {
    margin: 100px auto;
    max-width: 1000px;
    padding: 0 20px;
    clear: both;
}
.company-list-header {
    text-align: center;
    margin-bottom: 50px;
}
.company-list-title {
    font-size: 30px;
    font-weight: 900;
    line-height: 1.6;
    margin: 0;
    color: #1b1b1b;
}
.company-list-title .text-gold {
    color: #D79748;
}
.relative-wrap-red {
    position: relative;
    display: inline-block;
}
.title-accessory-red {
    position: absolute;
    top: -8px;
    right: -14px;
    width: 35px;
    height: auto;
    transform: rotate(10deg);
    pointer-events: none;
}
.company-list-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.company-list-card {
    width: calc(33.333% - 14px);
    background: #fff;
    border-radius: 10px;
    border: 1px solid #E5E5E5;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.company-list-btn {
    background-color: #333333;
    color: #fff;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.3s;
}
.company-list-btn:hover {
    opacity: 0.8;
}
.btn-text-wrapper .btn-text-line1 {
    margin: 0;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
}
.btn-text-wrapper .btn-text-line2 {
    margin: 5px 0 0 0;
    font-size: 12px;
    color: #ccc;
}
/* --- カード本文（説明文） --- */
.company-list-description {
    padding: 20px;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    flex-grow: 1;
    margin: 0;
}
/* --- ★ マップエリア --- */
.company-list-map {
    padding: 0 20px 15px;
    width: 100%;
    box-sizing: border-box;
}
.company-list-map iframe {
    border-radius: 5px;
    display: block;
}
.company-list-info {
    padding: 0 20px 20px;
}
.company-info-item {
    margin-bottom: 12px;
}
.company-info-item:last-child {
    margin-bottom: 0;
}
.info-label {
    display: inline-block;
    background-color: #F1F8E9;
    color: #557C3E;
    border: 1px solid #AABC3E;
    padding: 2px 8px;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 5px;
}
.info-value {
    display: block;
    font-size: 14px;
    color: #1b1b1b;
    line-height: 1.4;
    font-weight: bold;
}
.company-list-more-wrapper {
    text-align: center;
    margin-top: 40px;
}
.company-list-more-btn {
    background-color: #A00000;
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 6px 0 #7A0000;
    transition: all 0.2s ease;
    margin-bottom: 6px;
}
.company-list-more-btn:hover {
    transform: translateY(4px);
    box-shadow: 0 2px 0 #7A0000;
}
/* 4件目以降を隠すクラス */
.company-card-hidden {
    display: none;
}
/* 業者一覧セクション - レスポンシブ対応 */
@media (max-width: 768px) {
    .company-list-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .company-list-btn {
        padding: 14px 16px;
        min-height: 60px;
    }
    .company-list-btn .btn-text {
        font-size: 15px;
    }
    .company-list-btn .btn-text-line2 {
        font-size: 14px;
    }
}
@media (max-width: 480px) {
    .company-list-btn {
        padding: 12px 14px;
        min-height: 55px;
    }
    .company-list-btn .btn-text {
        font-size: 14px;
    }
    .company-list-btn .btn-text-line2 {
        font-size: 13px;
    }
}
/* ==========================================================================
   Fixed Right Elements - トップに戻るボタン & 追従バナー
   ========================================================================== */
.fixed-right-elements {
    position: fixed;
    bottom: 125px;
    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: #00993D;
    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 rgba(0, 184, 12, 0.4);
}
.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: 400px;
    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: 5px;
        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: 365px;
    }
    .close-banner-btn {
        width: 20px;
        height: 20px;
        top: -6px;
        right: -6px;
    }
    .close-banner-btn svg {
        width: 8px;
        height: 8px;
    }
}
.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 Archive & Single Page
   ========================================================================== */
.area-column-archive,
.area-column-single {
    background-color: #FFF;
    padding-bottom: 60px;
}
.area-column-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}
/* Breadcrumb */
.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;
}
/* Search Result Header */
.search-result-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #E5E5E5;
}
.search-result-title {
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin: 0 0 10px 0;
}
.search-result-count {
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 14px;
    color: #666;
    margin: 0;
}
.no-results-message {
    text-align: center;
    padding: 60px 20px;
}
.no-results-message h2 {
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin: 0 0 15px 0;
}
.no-results-message p {
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 14px;
    color: #666;
    margin: 0;
}
/* Content Wrapper */
.area-column-content-wrapper {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}
.area-column-main {
    flex: 1;
    min-width: 0;
}
/* ==========================================================================
   Area Column Grid (Archive Page)
   ========================================================================== */
.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;
}
/* Pagination */
.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 {
    background: #0A3077;
    color: #FFF;
    border-color: #0A3077;
    opacity: 1;
}
.area-column-pagination .page-numbers.current {
    background: #0A3077;
    color: #FFF;
    border-color: #0A3077;
}
.no-posts-message {
    text-align: center;
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 16px;
    color: #666;
    padding: 60px 20px;
}
/* ==========================================================================
   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: #0A3077;
    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: #0A3077;
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #0A3077;
}
.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: #0A3077;
    text-decoration: underline;
}
.article-content a:hover {
    opacity: 0.7;
}
.article-content blockquote {
    background: #F5F5F5;
    border-left: 4px solid #0A3077;
    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 */
.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 Sidebar
   ========================================================================== */
.area-column-sidebar {
    width: 353px;
    flex-shrink: 0;
    background: #fff;
    padding: 0;
}
/* Sidebar Banner */
.sidebar-banner-widget {
    padding: 0;
    margin: 0;
}
.sidebar-banner-widget a {
    display: block;
    line-height: 0;
}
.sidebar-banner-image {
    width: 100%;
    height: auto;
    display: block;
}
/* ==========================================================================
   Useful Column Section (Top Page)
   ========================================================================== */
.useful-column-section {
    margin: 0px auto;
    max-width: 1000px;
    /* 4枚綺麗に並べるための幅 */
    padding: 0 20px;
    clear: both;
}
/* タイトル */
.useful-column-title {
    text-align: center;
    font-size: 28px;
    font-weight: 900;
    color: #1b1b1b;
    margin-bottom: 40px;
}
/* --- カードのグリッド配置（4列） --- */
.useful-column-grid {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
}
.area-column-card {
    width: calc(25% - 15px);
    /* 4列に綺麗に割る計算（20pxの隙間×3ヶ所を引く） */
}
/* カード全体（リンク） */
.area-column-card-link {
    text-decoration: none;
    color: #333;
    display: block;
    transition: opacity 0.3s ease;
}
.area-column-card-link:hover {
    opacity: 0.7;
    /* ホバーで少し薄くして押せる感を出す */
}
/* サムネイル画像 */
.area-column-card-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    /* 画像の縦横比を統一して綺麗に揃える */
    background-color: #f5f5f5;
    margin-bottom: 15px;
    overflow: hidden;
}
.area-column-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 枠いっぱいにトリミング */
    display: block;
}
/* タイトルと日付 */
.area-column-card-title {
    font-size: 14px;
    font-weight: bold;
    line-height: 1.6;
    margin: 0 0 10px 0;
    color: #1b1b1b;
}
.area-column-card-date {
    font-size: 12px;
    color: #666;
    display: block;
}
/* --- 記事一覧を見るボタン（赤色＋立体感） --- */
.useful-column-more-wrapper {
    text-align: center;
}
.useful-column-more-btn {
    background-color: #910000;
    /* カンプの赤色 */
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 6px 0 #910000;
    /* 立体的なソリッドシャドウ */
    transition: all 0.2s ease;
    margin-bottom: 6px;
}
.useful-column-more-btn:hover {
    transform: translateY(4px);
    box-shadow: 0 2px 0 #910000;
    /* 押されたように影が小さくなる */
}
/* Useful Column Section Responsive */
@media (max-width: 1024px) {
    .useful-column-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}
@media (max-width: 768px) {
    .useful-column-section {
        padding: 10px 16px 20px;
    }
    .useful-column-title {
        font-size: 28px;
    }
    .useful-column-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .useful-column-more-btn {
        padding: 14px 40px;
        font-size: 16px;
    }
}
@media (max-width: 480px) {
    .useful-column-title {
        font-size: 24px;
    }
    .useful-column-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}
/* ==========================================================================
   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:  #00993D;
        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: #00993D;
        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: #00993D;
        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: #00993D;
        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;
    }
    
    /* ==========================================================================
       Comparison Section - Tablet
       ========================================================================== */
    /* 「小工事から気軽に頼める地域密着型」を1行で表示 */
    .intro-line-1 {
        flex-wrap: nowrap;
        gap: 5px;
    }
    .text-small-work {
        font-size: 32px;
    }
    .text-easy-request {
        font-size: 20px;
    }
    .text-local {
        gap: 3px;
    }
    .text-local .char-bg {
        font-size: 32px;
        width: 38px;
        height: 38px;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    /* 「地域密着型と大手リフォーム会社の（改行）メリット・デメリット」 */
    .intro-line-3 {
        flex-wrap: wrap;
        justify-content: center;
    }
    .section-title-main {
        font-size: 24px;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }
    .section-title-sub {
        font-size: 28px;
        display: block;
        margin-top: 10px;
    }
    /* line-1の画像を小さくする */
    .title-decoration-line {
        width: 30px;
        top: -15px;
        right: -35px;
    }
    /* バナー画像 - フルワイド表示 */
    .comparison-banner-link {
        width: 100%;
        max-width: 100%;
    }
    .comparison-banner {
        width: 100%;
        height: auto;
        display: block;
    }
    /* ==========================================================================
       Points Section - Tablet
       ========================================================================== */
    /* POINTカード - 円形バッジスタイル */
    .point-number {
        width: 85px;
        height: 85px;
        font-size: 28px;
        top: -15px;
        left: -15px;
    }
    .point-number .point-label {
        font-size: 16px;
    }
    .point-number br {
        display: none;
    }
    /* ==========================================================================
       Company Introduction - Tablet (スマホ版と同じデザイン)
       ========================================================================== */
    /* 右サイドバーを非表示 */
    .company-intro-sidebar {
        display: none !important;
    }
    /* 会社紹介ラッパーを1カラムに */
    .company-introduction-wrapper {
        flex-direction: column;
    }
    .company-intro-main {
        width: 100%;
        max-width: 100%;
    }
    /* 会社ヘッダーセクション - スマホ版スタイル */
    .company-header-section {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
        padding: 15px 10px;
        /* 最小限の余白 */
    }
    /* スマホ専用タイトル画像を表示 */
    .company-title-sp-image {
        display: block;
        width: 100%;
        height: auto;
    }
    /* COMPANY 01のPC用要素をスマホでは非表示 */
    .company-detail-card:first-of-type .company-number-badge,
    .company-detail-card:first-of-type .company-title-group {
        display: none;
    }
    /* COMPANY 02のPC用要素をスマホでは非表示 */
    .company-detail-card:nth-of-type(2) .company-number-badge,
    .company-detail-card:nth-of-type(2) .company-title-group {
        display: none !important;
    }
    .company-title-group {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
    }
    .company-title-line-1 {
        flex-wrap: wrap;
        justify-content: center;
        gap: 5px;
    }
    .company-title-line-2,
    .company-title-line-3 {
        text-align: center;
    }
    .company-subtitle-1 {
        font-size: 18px;
        text-align: center;
    }
    .company-subtitle-2 {
        font-size: 24px;
        text-align: center;
    }
    .shonan-title {
        font-size: 32px !important;
    }
    
    
    .local-business-badge span {
        font-size: 24px !important;
        width: 32px !important;
        height: 32px !important;
    }
    /* 会社概要セクション - 1カラム、コンテンツ幅に合わせる */
    .company-overview-section {
        padding: 30px 20px;
    }
    .overview-title {
        margin-left: -20px;
        margin-right: -20px;
        padding: 0 20px;
        width: calc(100% + 40px);
    }
    .overview-content-wrapper {
        flex-direction: column;
        gap: 20px;
    }
    .overview-table-wrapper {
        width: 100%;
        max-width: 100%;
    }
    .overview-map-wrapper {
        width: 100%;
        max-width: 100%;
    }
    .overview-map-wrapper iframe {
        width: 100%;
        height: 300px;
    }
    .company-cta-buttons {
        justify-content: center;
        width: 100%;
    }
    .company-cta-buttons .company-btn {
        width: 100%;
        max-width: 400px;
    }
    /* 会社名タイトルを中央揃え（responsive.cssで上書き可能に） */
    .company-name-section {
        text-align: center;
    }
    .company-name-large {
        text-align: center;
    }
    /* ==========================================================================
       Strength Cards - Tablet (2カラム表示、タイトルと説明を表示)
       ========================================================================== */
    .strengths-grid {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        gap: 20px;
        justify-content: center;
    }
    .strength-card,
    .strengths-grid .strength-card:nth-child(n+4) {
        flex: 0 0 calc(50% - 10px) !important;
        max-width: calc(50% - 10px) !important;
    }
    .strength-card-content {
        display: block !important;
        padding: 15px 10px;
    }
    .strength-card-title {
        display: block !important;
        font-size: 16px;
        margin-bottom: 8px;
    }
    .strength-card-description {
        display: block !important;
        font-size: 13px;
        line-height: 1.6;
    }
    /* ==========================================================================
       Result Cards - Tablet (タイトルと説明を表示)
       ========================================================================== */
    .results-grid {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        gap: 20px;
        justify-content: center;
    }
    .result-card {
        flex: 0 0 calc(50% - 10px) !important;
        max-width: calc(50% - 10px) !important;
    }
    .result-card-content {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        padding: 0;
        gap: 8px;
    }
    .result-card-title {
        display: inline-block !important;
        font-size: 13px;
        font-weight: 500;
        margin-bottom: 0;
        line-height: 1;
        padding: 4px 8px;
    }
    .result-card-source {
        display: block !important;
        font-size: 11px;
        color: #000;
        align-self: flex-end;
    }
    .result-image-wrapper::before {
        top: 8px;
        left: 8px;
        height: calc(100% - 4px);
    }
    .strength-image-wrapper::before {
        top: 8px;
        left: 8px;
        height: calc(100% - 4px);
    }
}
/* WordPress管理バー対応 - モバイル（782px以下） */
@media (max-width: 782px) {
    body.admin-bar .hamburger-btn {
        top: 66px;
        /* admin-bar(46px) + top-bar(20px) */
    }
    body.admin-bar .mobile-menu-close {
        top: 66px;
        /* admin-bar(46px) + top-bar(20px) */
    }
    body.admin-bar .mobile-menu {
        top: 66px;
        /* admin-bar(46px) + top-bar(20px) */
        height: calc(100vh - 66px);
    }
}
/* ==========================================================================
   SP Layout Styles (Mobile)
   ========================================================================== */
@media (max-width: 767px) {
    /* Hero Section - SP */
    .hero-section {
        margin-bottom: 0;
        position: relative;
        height: 530px;
        max-height: 530px;
        overflow: hidden;
    }
    .hero-content {
        background-image: url('../images/mv-sp.avif');
        background-size: cover;
        background-position: center top;
        height: 530px !important;
        max-height: 530px;
        padding: 20px 15px 30px;
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        overflow: hidden;
    }
    /* PC用画像を非表示 */
    .hero-icon {
        display: none;
    }
    .hero-cta {
        display: none;
    }
    /* SP用バナー・CTA */
    .hero-banner-sp {
        display: block;
        width: 100%;
        max-width: 350px;
        margin-top: 80px;
        opacity: 0;
        animation: fadeSlideDown 0.8s ease-out 0.3s forwards;
    }
    .hero-banner-sp img {
        width: 100%;
        height: auto;
    }
    .hero-cta-sp {
        display: block;
        width: 100%;
        max-width: 350px;
        margin-top: 30px;
        opacity: 0;
        animation: fadeSlideUp 0.8s ease-out 0.6s forwards;
        transition: transform 0.3s ease;
    }
    .hero-cta-sp:hover {
        transform: scale(1.02);
    }
    .hero-cta-sp img {
        width: 100%;
        height: auto;
    }
    /* Top Bar - 固定表示・スクロール追従 */
    .top-bar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 20px;
        padding: 0;
        display: flex;
        align-items: center;
        z-index: 9999;
    }
    /* WordPress管理バー対応 - トップバー位置調整 */
    body.admin-bar .top-bar {
        top: 46px;
    }
    /* トップバー固定分のpadding調整 */
    #page {
        padding-top: 20px;
    }
    body.admin-bar #page {
        padding-top: 20px;
    }
    .top-bar-inner {
        padding: 0 10px;
        gap: 8px;
        justify-content: flex-start;
        flex-wrap: nowrap;
        flex-direction: row;
        align-items: center;
    }
    .pr-label {
        width: 28px;
        height: 13px;
        font-size: 10px;
        flex-shrink: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    .top-bar-text {
        font-size: 11px;
        white-space: nowrap;
        overflow: visible;
        display: inline;
    }
    /* SP: 短縮テキスト表示、PC用テキスト非表示 */
    .top-bar-text-pc {
        display: none;
    }
    .top-bar-text-sp {
        display: inline;
    }
    /* Header - SP */
    .site-header {
        display: none;
    }
    .header-left {
        display: none;
    }
    /* ==========================================================================
       Section Titles - SP Responsive
       ========================================================================== */
    /* おすすめリフォーム業者セクション */
    .recommended-companies .section-title-jp {
        width: auto;
        max-width: 100%;
        height: auto;
        font-size: 20px;
        padding: 10px 15px;
        line-height: 1.4;
    }
    .recommended-companies .section-title-en {
        font-size: 18px !important;
    }
    /* おすすめリフォーム業者セクション - 下余白調整 */
    .recommended-companies {
        margin-bottom: 0;
        padding-bottom: 50px;
    }
    /* よくあるお悩みセクション */
    .problems-section {
        padding-top: 25px;
    }
    .problems-header {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0;
        padding: 0;
        margin-bottom: 15px;
    }
    /* スマホ用タイトル画像を表示 */
    .problems-title-sp-image {
        display: block;
        width: 100%;
        max-width: 100%;
        height: auto;
        margin: 0;
        padding: 0;
    }
    /* PC用テキストをスマホでは非表示 */
    .problems-title-pc {
        display: none !important;
    }
    /* アイコンをスマホでは非表示 */
    .problems-header .danger-icon {
        display: none;
    }
    .problems-title-wrapper {
        align-items: flex-start;
        text-align: left;
        flex: 1;
    }
    .problems-main-title {
        font-size: 17px;
        text-align: left;
        white-space: nowrap;
    }
    .problems-main-title .title-green,
    .problems-main-title .title-yellow {
        width: auto;
        height: auto;
        font-size: 17px;
        padding: 3px 6px;
    }
    .problems-subtitle {
        flex-wrap: nowrap;
        justify-content: flex-start;
    }
    .problems-subtitle .subtitle-normal {
        font-size: 15px;
    }
    .problems-subtitle .char-with-dot::before {
        width: 5px;
        height: 5px;
        top: -8px;
    }
    .problems-subtitle .subtitle-highlight {
        font-size: 17px;
        height: auto;
        padding: 2px 6px;
    }
    .danger-icon {
        width: 50px;
        height: 50px;
        flex-shrink: 0;
    }
    /* メリット・デメリット比較セクション */
    .comparison-intro {
        gap: 10px;
    }
    .intro-line {
        flex-wrap: nowrap;
        justify-content: center;
        gap: 5px;
    }
    .intro-line-1 {
        flex-wrap: nowrap;
    }
    .intro-line-2 {
        flex-wrap: nowrap;
    }
    .text-small-work {
        font-size: 20px;
        padding: 1px 4px;
    }
    .text-easy-request {
        font-size: 14px;
    }
    .text-local {
        gap: 2px;
    }
    .text-local .char-bg {
        font-size: 20px;
        width: auto;
        height: auto;
        padding: 3px 5px;
    }
    .question-mark {
        font-size: 20px;
    }
    .hake-icon {
        height: 35px;
    }
    .text-rich-experience {
        font-size: 18px;
    }
    .text-major {
        font-size: 24px;
        padding: 2px 6px;
    }
    .comparison-header {
        margin-bottom: 20px;
    }
    .section-title-main {
        font-size: 22px;
        flex-wrap: wrap;
        white-space: normal;
        text-align: center;
        display: block;
    }
    .section-title-sub {
        font-size: 32px;
        display: block;
    }
    /* 業者選びのポイントセクション */
    .points-section {
        padding: 10px 5px 20px;
    }
    /* スマホ用バナー表示 */
    .points-banner-sp {
        display: block;
        width: 100%;
        padding: 0 20px;
        margin-bottom: 20px;
        box-sizing: border-box;
    }
    .points-banner-sp img {
        width: 100%;
        height: auto;
        display: block;
        border-radius: 4px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }
    .points-section .section-title-en {
        font-size: 24px;
        padding: 0 20px;
    }
    .points-section .section-title-wrapper {
        padding: 0 20px;
    }
    .points-section .section-title-jp {
        font-size: 18px;
        line-height: 1.8;
        text-align: center;
    }
    /* タイトル1行目 - 「相談するなら」のみ表示し、line-1を「ら」の右上に配置 */
    .title-line-1 {
        display: inline;
        position: relative;
    }
    /* line-1を小さくして「ら」と重複しない位置に */
    .title-decoration-line {
        width: 24px;
        position: absolute;
        top: -12px;
        right: -28px;
    }
    /* PC用改行を非表示、タイトルを2行に */
    .pc-br {
        display: none;
    }
    /* タイトル2行目を改行して表示 */
    .title-line-2 {
        display: block;
        margin-top: 5px;
    }
    /* 「押さえておきたい業者選びのポイント」を1行で表示 */
    .points-section .section-title-jp .title-line-2 {
        display: block;
        white-space: nowrap;
    }
    .points-section .section-title-jp .title-black {
        font-size: clamp(16px, 4.8vw, 22px);
        display: inline;
    }
    .points-section .section-title-jp .title-red {
        font-size: clamp(16px, 4.8vw, 22px);
        display: inline;
    }
    .points-section .points-grid {
        padding: 25px 20px 0 35px;
    }
    /* リフォーム業者2選セクション */
    .reform-companies-section {
        padding: 30px 20px;
        margin-bottom: 0;
    }
    .companies-header-green {
        width: 100%;
        padding: 8px 15px;
        margin-bottom: 15px;
    }
    .companies-header-title {
        font-size: 20px;
        white-space: normal;
    }
    /* 「小工事からフルリフォームまで」を1行表示 */
    .companies-catch {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 5px;
        align-items: center;
        justify-content: center;
        margin-bottom: 5px;
    }
    .catch-small-work,
    .catch-full-reform {
        font-size: clamp(18px, 5.5vw, 28px);
        padding: 3px 8px;
    }
    .catch-from,
    .catch-until {
        font-size: clamp(12px, 3.5vw, 18px);
    }
    /* line-1を「で」の右上に配置 */
    .catch-decoration-line {
        width: clamp(20px, 5vw, 30px);
        top: -8px;
        right: -15px;
    }
    .companies-main-title-wrapper {
        margin-top: 5px;
    }
    .companies-main-title {
        font-size: 28px;
    }
    .companies-main-title .title-highlight::after {
        height: 6px;
        bottom: 5px;
    }
    /* INDEXセクション - responsive.cssで管理 */
    /* おすすめ業者カード - responsive.cssで横スクロール形式に管理 */
    .company-card {
        width: 100%;
    }
    .company-btn {
        width: 100%;
    }
    .company-btn.btn-consult,
    .company-btn.btn-review {
        width: 100%;
    }
    /* お悩みグリッド */
    .problems-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .problem-item {
        min-height: 280px;
    }
    /* アドバイスボックス */
    .advice-box {
        padding: 40px 20px 25px;
        margin-bottom: 100px;
    }
    .advice-text {
        font-size: 14px;
    }
    .advice-arrow {
        width: 150px;
        bottom: -75px;
    }
    /* 比較テーブル */
    .comparison-table-wrapper {
        overflow-x: auto;
    }
    .comparison-table {
        min-width: 600px;
    }
    /* スマホでPC用バナーを非表示 */
    .comparison-banner-link {
        display: none;
    }
    /* ポイントグリッド */
    .points-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 20px 15px 0 25px;
    }
    /* POINT 01〜03: スマホでも円形バッジ表示 */
    .point-number {
        width: 75px;
        height: 75px;
        font-size: 24px;
        top: -15px;
        left: -15px;
    }
    .point-number .point-label {
        font-size: 14px;
    }
    .point-number br {
        display: none;
    }
    .point-item {
        min-height: 320px;
        overflow: visible;
    }
    .point-title {
        padding-top: 180px;
        padding-left: 15px;
        padding-right: 15px;
        margin-left: 10px;
        margin-right: 10px;
        text-align: center;
    }
    .point-description {
        padding: 15px 15px 20px;
    }
}
/* ==========================================================================
   Wide Monitor Support (1920px and above)
   ========================================================================== */
@media (min-width: 1920px) {
    /* ヘッダー・フッターのコンテナを広げる */
    .header-container,
    .footer-container {
        max-width: 1600px;
    }
    /* 各セクションの内部コンテナを広げる */
    .index-container,
    .recommended-companies .section-header,
    .recommended-companies .companies-grid-wrapper,
    .problems-section .problems-header,
    .problems-section .problems-grid,
    .problems-section .advice-box,
    .comparison-section .comparison-header,
    .comparison-section .comparison-table-wrapper,
    .comparison-section .comparison-note,
    .comparison-section .advice-box,
    .comparison-section .comparison-banner-link,
    .points-section .section-title-en,
    .points-section .section-title-wrapper,
    .points-section .points-grid,
    .reform-companies-section .companies-header-green,
    .reform-companies-section .companies-catch,
    .reform-companies-section .companies-main-title-wrapper,
    .faq-section .faq-container,
    .company-list-container,
    .useful-column-container {
        max-width: 1400px;
    }
    /* 会社紹介セクションを広げる */
    .company-introduction-wrapper {
        max-width: 1600px;
    }
    /* 会社紹介のサイドバーを少し広げる */
    .company-intro-sidebar {
        width: 380px;
    }
    /* グリッドアイテムの調整 */
    .companies-grid {
        gap: 50px 40px;
    }
    .problems-grid,
    .points-grid {
        gap: 40px;
    }
    /* ヒーローセクションの調整 */
    .hero-content {
        height: 800px;
    }
    .hero-icon {
        max-width: 800px;
    }
    .hero-cta {
        max-width: 800px;
    }
}

/* ==========================================================================
   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: #00993D;
    padding: 20px 30px;
    margin: 0;
    text-align: center;
    border-radius: 4px;
}
/* Introduction */
.policy-intro {
    background: #F8F9FA;
    border-left: 4px solid #00993D;
    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 #00993D;
    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 #00993D;
    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 #00993D;
}
.sitemap-page-title {
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #0A3077;
    margin: 0;
}
.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: #00993D;
    margin: 0 0 20px 0;
    padding-left: 15px;
    border-left: 4px solid #00993D;
    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: #0A3077;
    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: #0A3077;
    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-list-header {
        margin-bottom: 30px !important;
        padding: 0 10px !important;
    }
    .company-list-section {
        margin: 20px auto !important;
    }
    .company-list-title {
        font-size: clamp(12px, 3.4vw, 16px) !important;
        line-height: 1.6 !important;
        letter-spacing: -0.05em !important;
        text-align: center !important;
        margin: 0 0 20px 0 !important;
        font-weight: bold !important;
    }
    .relative-wrap-red {
        position: relative !important;
        display: inline !important;
        white-space: nowrap !important;
    }
    .title-accessory-red {
        position: absolute !important;
        top: -12px !important;
        right: -20px !important;
        width: 30px !important;
        max-width: none !important;
        z-index: 2 !important;
    }
    .company-list-container {
        padding: 0 15px !important;
    }
    .company-list-grid {
        display: block !important;
        width: 100% !important;
    }
    .company-list-card {
        display: block !important;
        width: 100% !important;
        background-color: #fff !important;
        border-radius: 8px !important;
        padding: 15px !important;
        margin-bottom: 25px !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
        box-sizing: border-box !important;
    }
    .company-list-btn {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        position: relative !important;
        background-color: #333 !important;
        padding: 15px !important;
        border-radius: 8px !important;
        text-decoration: none !important;
        margin-bottom: 15px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .company-list-btn .btn-text-wrapper {
        text-align: center !important;
        width: 100% !important;
    }
    .company-list-btn .btn-text {
        writing-mode: horizontal-tb !important;
        -webkit-writing-mode: horizontal-tb !important;
        color: #fff !important;
        margin: 0 !important;
        word-break: keep-all !important;
        line-height: 1.4 !important;
    }
    .company-list-btn .btn-text-line1 {
        font-size: 15px !important;
        font-weight: bold !important;
    }
    .company-list-btn .btn-text-line2 {
        font-size: 11px !important;
        margin-top: 2px !important;
    }
    .company-list-btn .btn-arrow {
        position: absolute !important;
        right: 15px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        width: 24px !important;
        height: 24px !important;
    }
    .company-list-btn .btn-arrow svg {
        width: 100% !important;
        height: 100% !important;
    }
    .company-list-description {
        font-size: 13px !important;
        line-height: 1.6 !important;
        color: #333 !important;
        margin-bottom: 15px !important;
    }
    .company-list-info {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
    }
    .company-info-item {
        display: flex !important;
        align-items: flex-start !important;
    }
    .info-label {
        background-color: #E6F2A5 !important;
        border: 1px solid #333 !important;
        color: #333 !important;
        font-size: 11px !important;
        font-weight: bold !important;
        padding: 3px 8px !important;
        margin-right: 10px !important;
        white-space: nowrap !important;
        text-align: center !important;
        line-height: 1.2 !important;
    }
    .info-value {
        font-size: 12px !important;
        color: #333 !important;
        line-height: 1.4 !important;
        padding-top: 2px !important;
    }
    /* ==========================================================================
       工務店一覧：「続きを見る」ボタン ＆ 4件目以降の非表示設定
       ========================================================================== */
    .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;
}

/* H2見出し（第1条 運営者情報 など） */
.post-content h2 {
    font-family: "Noto Sans JP", "Hiragino Sans", sans-serif !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #00993D !important;
    margin: 40px 0 20px 0 !important;
    padding-left: 15px !important;
    border-left: 4px solid #00993D !important;
    line-height: 1.4 !important;
}

/* H3見出し（個人情報 など） */
.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;
    }
}
/* ==========================================================================
    サイトマップページ用：リストブロックの自動デザイン化
   ========================================================================== */
.sitemap-page .post-content ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.sitemap-page .post-content ul li {
    padding: 12px 0 !important;
    border-bottom: 1px dashed #ddd !important;
    position: relative !important;
    padding-left: 20px !important;
    margin-bottom: 0 !important; /* post-contentの共通設定を上書き */
}

.sitemap-page .post-content ul li:last-child {
    border-bottom: none !important;
}

.sitemap-page .post-content ul li::before {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 8px !important;
    height: 8px !important;
    background-color: #00993D !important;
    border-radius: 50% !important;
}

.sitemap-page .post-content ul li a {
    font-size: 15px !important;
    color: #333 !important;
    text-decoration: none !important;
    transition: color 0.3s ease, padding-left 0.3s ease !important;
    display: inline-block !important;
}

.sitemap-page .post-content ul li a:hover {
    color: #00993D !important;
    padding-left: 5px !important;
}
/* ==========================================================================
    固定ページ：テーブル（表）の共通デザイン
   ========================================================================== */
.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;
    }
}
/* =========================================
   不動産会社比較セクション（3選）
========================================= */
.comparison-section {
    width: 100%;
    background-color: #fff; 
}
.comparison-header-full {
    width: 100%;
    background-color: #00993D; 
    padding: 10px 0; 
    box-shadow: 0 4px 6px rgba(0,0,0,0.1); 
    width: 100vw; 
    margin-left: calc(50% - 50vw); 
    margin-right: calc(50% - 50vw); 
}
.comparison-header-inner {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center; 
    align-items: center;
}
.badge-osaka {
    position: absolute;
    top: -25px;
    left: 110px;
    width: 178px;
    z-index: 10;
}
.comparison-title {
    display: flex;
    align-items: center; 
    gap: 8px; 
    margin: 0;
    padding-left: 90px;
}
.title-ribbon {
    background-color: #B2D235;
    color: #fff;
    font-size: 32px;
    font-weight: 900;
    padding: 5px 10px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}
.title-normal {
    color: #ffffff;
    font-size: 32px;
    font-weight: 900;
    line-height: 1;
    transform: translateY(5px);
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}
.title-large {
    position: relative;
    display: inline-block;
    font-size: 50px; 
    font-weight: 900;
    color: #F2941D; 
    -webkit-text-stroke: 6px #ffffff; 
    paint-order: stroke fill;
    line-height: 1;
    z-index: 2;
    letter-spacing: 0.5px;
    transform: translateY(-5px);
   
}
.comparison-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px 0;
}
.sp-only { display: none; }
/*スマホ版 (SP) 比較セクションのタイトル調整*/
@media screen and (max-width: 768px) {

        .badge-osaka {
        width: 115px;
        top: -5px;
        left: 5px;
    }
       .comparison-title {
        display: block;
        text-align: center;
        line-height: 1.4;
        font-size: 18px;
        margin-right: 14px;
    }
        .title-ribbon {
        display: inline-block;
        vertical-align: middle;
        margin: 0 5px 5px 0;
        font-size: 18px;
        padding: 2px 8px;
    }
    .title-normal {
        display: inline-block; 
        vertical-align: middle; 
        font-size: 20px; 
       transform: translateY(1px);
        margin-bottom: 5px; 
    }
    .sp-only { display: block; }
    .title-large {
        display: inline-block; 
        vertical-align: middle;
        font-size: 28px; 
        -webkit-text-stroke: 2px #ffffff; 
        transform: translateY(-6px);
    }
    .title-large::before {
        -webkit-text-stroke: 8px #F2941D; 
    }
    .comparison-container {
        padding: 30px 15px 0;
    }
}
/* ====================================================
   比較テーブル全体レイアウト (PC版)
==================================================== */
.comparison-section {
    position: relative;
    background-image: url('../images/3sen-bg.jpg'); 
    background-size: cover;
    background-position: center;
    background-attachment: fixed; 
    padding-bottom: 80px;
    z-index: 1;
}
.company-top-box {
    background-color: transparent;
    margin: 15px 10px 0;
}
.comparison-table-wrapper {
    display: flex;
    max-width: 1200px; 
    margin: 0 auto;
    align-items: stretch;
    position: relative;
    z-index: 10; 
}
.comparison-row-labels {
    width: 130px;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    margin-right: 15px;
    padding-top: 15px; 
}
.label-spacer { height: 470px; } 
.row-label {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.label-badge {
    background-color: #00993D;
    color: #fff;
    font-weight: bold;
    font-size: 14px;
    text-align: center;
    padding: 15px 5px;
    border-radius: 10px;
    width: 100%;
}
.companies-grid {
    flex-grow: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}
.company-card {
    background-color: #00993D; 
    border: none; 
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden; 
    height: 100%; 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.company-card:hover {
    transform: translateY(-10px); 
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25); 
}
.company-tag-green {
    background-color: #00993D;
    color: #ffffff;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    font-size: 14px;
    font-weight: bold;
    line-height: 1.5;
    text-align: center;
}
.company-info {
    padding: 0;
    display: flex;
    flex-direction: column;
}
.company-header {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    position: relative;
    padding: 0 45px;
    background-color: transparent;
}
.company-header,
.company-image-wrapper {
    background-color: #ffffff;
}
.company-header::before,
.company-header::after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 70px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.company-header::before {
    left: 10px;
    background-image: url(../images/crown-left.png); 
}
.company-header::after {
    right: 10px;
    background-image: url(../images/crown-right.png);
}
.company-name {
    font-size: 17px; 
    font-weight: bold;
    text-align: center;
    margin: 0;
    line-height: 1.3; 
}
.company-image-wrapper {
    width: 100%;
    height: auto;
    margin: 0;
    background-color: transparent;
}
.company-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover; 
}
.company-text-box {
    background-color: #ffffff;
    border-radius: 12px; 
    margin: 15px 10px; 
    overflow: hidden;
}
.company-text-row {
    height: 140px; 
    border-bottom: 1px solid #00993D; 
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.company-text-row:last-of-type { border-bottom: none; }
.company-text-row p {
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    text-align: center;
    font-weight: bold;
}
.card-buttons {
    padding: 0 10px 20px; 
    background-color: transparent;
    margin-top: auto; 
}
.company-btn {
    display: flex;
    justify-content: center; 
    align-items: center;
    width: 100%;
    padding: 15px 30px;
    border-radius: 40px;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.4); 
    transition: transform 0.2s;
    position: relative; 
}
.company-btn:hover { transform: translateY(2px); box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4); }

.btn-red { background-color: #FF1A00; } 
.btn-blue { background-color: #2E99DC; margin-bottom: 0; }
.btn-arrow {
    position: absolute; 
    right: 20px; 
    top: 50%;
    transform: translateY(-50%); 
    font-size: 14px; 
}

.arrow-icon {
    width: 10px ;
    height: auto ;
}
.company-btn::before,
.company-btn::after {
    display: none !important;
}
.image-citation {
    display: block;
    background-color: #00993D;
    color: #ffffff;
    font-size: 10px; 
    text-align: right; 
    padding: 4px 10px; 
    margin: 0;
    text-decoration: none; 
    transition: opacity 0.3s; 
}
.image-citation:hover {
    opacity: 0.8;
    color: #ffffff;
}
.pc-only { display: flex; }
.sp-only { display: none; }
.check-indicator-pc {
    position: absolute;
    left: 0;
    bottom: 10px;
    width: 100%;
    background: rgba(0, 0, 0, 0.54);
    height: 108px;
    padding: 15px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 3px;
    z-index: 2;
    box-sizing: border-box;
}
.check-indicator-pc .check-text {
    color: #575757;
    text-align: center;
    font-family: "IBM Plex Sans Thai", "Hiragino Sans", "Noto Sans JP", sans-serif;
    font-size: 25.295px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}
.check-indicator-pc .check-text-full {
    color: #FFF;
    text-align: center;
    font-family: "Hiragino Sans", "Noto Sans JP", sans-serif;
    font-size: 20.207px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}
.check-indicator-pc .check-line-arrow {
    width: auto;
    height: 5px;
    margin-top: 3px;
    animation: checkArrowMove 1.5s ease-in-out infinite;
}
@keyframes checkArrowMove {
    0%, 100% {
        transform: translateX(0);
        opacity: 1;
    }
    50% {
        transform: translateX(8px);
        opacity: 0.5;
    }
}
/* スマホ版 (SP) 調整*/
@media screen and (max-width: 768px) {
    
    .pc-only { display: none !important; }
    .sp-only { display: inline-block; }

   .comparison-container {
    padding-top: 15px !important;
}
.comparison-table-wrapper {
    margin-top: -10px; 
    margin-bottom: -30px;
    position: relative;
    z-index: 10;
    overflow-x: scroll;
}
    .companies-grid {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 15px;
        padding: 15px 15px 30px; 
        align-items: stretch; 
    }
    .company-wrapper {
        flex: 0 0 calc(100vw - 40px); 
        scroll-snap-align: center;
        display: flex; 
    }
    .company-card {
        width: 100%;
        height: 100%; 
    }
    .company-header {
        height: auto; 
        min-height: 70px;
        padding: 15px 40px 10px; 
    }
    .company-name {
        font-size: 15px; 
        line-height: 1.3;
    }
    .company-text-box {
        margin: 10px 8px !important; 
    }
    .company-text-row {
        height: 115px !important; 
        padding: 12px 10px !important;
        flex-direction: column;
        justify-content: flex-start !important; 
        align-items: center;
    }
    .sp-label {
        display: inline-block !important;
        margin-bottom: 8px !important;
        padding: 4px 16px !important;
        font-size: 11px !important;
        font-weight: bold !important;
        background-color: #00993D !important;
        color: #fff !important;
        border-radius: 20px !important;
    }
    .company-text-row p {
        font-size: 11.5px !important;
        line-height: 1.4 !important;
        margin: 0 !important;
    }
    .card-buttons {
        padding: 0 10px 15px; 
    }
    .company-btn {
        padding: 12px 35px 12px 10px; 
        font-size: 11px; 
        margin-bottom: 12px;
    }
    .btn-arrow {
        right: 15px; 
        font-size: 12px;
    }
}
/* ====================================================
   会社選びのポイント セクション
==================================================== */
.points-section {
    position: relative;
    background-image: url('../images/point-bg.jpg'); 
    background-size: cover;
    background-position: center;
    padding-bottom: 80px;
    z-index: 1;
}
.points-header-full {
    background-color: #00993D;
    padding: 15px 0; 
    width: 100vw; 
    margin-left: calc(50% - 50vw); 
    margin-right: calc(50% - 50vw); 
    margin-bottom: 40px;
}
.points-header-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}
.header-icon {
    width: 40px; 
    height: auto;
}
.points-title {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}
.title-white {
    color: #ffffff;
    font-size: 40px;
    font-weight: bold;
    margin-right: 10px;
}
.title-highlight {
    background-color: #B2D235;
    color: #093077;
    font-size: 40px;
    font-weight: 900;
    padding: 5px 15px;
    line-height: 1.2;
    text-shadow: 
        1px 1px 3px rgba(255, 255, 255, 1),
        -1px -1px 3px rgba(255, 255, 255, 1),
        0px 0px 5px rgba(255, 255, 255, 1);
}
.points-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}
.point-card {
    background-color: #ffffff;
    border-radius: 0 16px 16px 0; 
    border-left: 10px solid #093077; 
    padding: 30px 40px; 
    margin-bottom: 25px; 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05); 
}
.point-title {
    font-size: 32px; 
    font-weight: bold;
    color: #333333;
    border-bottom: 5px solid #00993D; 
    padding-bottom: 10px;
    margin-bottom: 25px;
    margin-top: 0;
    display: flex;
    align-items: baseline; 
    width: fit-content;
}
.point-num {
    color: #00993D;
    font-family: 'Abril Fatface', serif; 
    font-size: 24px; 
    font-weight: normal; 
    margin-right: 20px;
    letter-spacing: 2px; 
}
.point-body {
    display: flex;
    align-items: center; 
    justify-content: space-between;
    gap: 50px; 
}
.point-text {
    flex: 7;
}
.point-text p {
    font-size: 20px;
    line-height: 1.8;
    margin-bottom: 10px;
}
.point-text p:last-child { margin-bottom: 0; }
.text-orange {
    color: #F2941D;
    font-weight: bold;
}
.point-image {
    flex: 3; 
    text-align: right; 
}
.point-image img {
    width: 100%;
    max-width: 280px; 
    height: auto;
}
.points-button-area {
    display: flex;
    justify-content: center; 
    gap: 20px; 
    margin-top: 40px;
}
.points-btn {
    flex: 1;
    max-width: 420px;
    padding: 25px 20px;
    margin-bottom: 0 !important;
    font-size: 20px;
}
.bg-orange {
    background-color: #F2941D;
    color: #ffffff;
    padding: 1px 4px; 
    margin-right: 5px;
    border-radius: 2px; 
    font-weight: bold;
    display: inline-block; 
}
.header-icon {
    width: 75px; 
    height: auto;
    margin-right: 15px; 
    transform: translateY(-2px); 
}
/* ====================================================
   スマホ版 (SP) 調整 - 会社選びのポイント
==================================================== */
@media screen and (max-width: 768px) {
    
    .points-header-full {
        padding: 8px 10px;
    }
    .points-header-inner {
        flex-direction: row; 
        justify-content: center;
        gap: 10px;
    }
    .header-icon {
    grid-row: 1 / 3;
    width: 50px;
    height: auto;
    margin: 0;
}
    .points-title {
    display: grid;
    grid-template-columns: auto auto; 
    grid-template-rows: auto auto;
    column-gap: 10px;
    row-gap: 2px;
    align-items: center;
    justify-content: center; 
    margin: 0 auto; 
}
    .title-white { 
        grid-column: 2;
        grid-row: 1; 
        font-size: 13px; 
        margin: 0; 
        text-align: left;
    }
    .title-highlight {
    grid-column: 2;
    grid-row: 2;
    font-size: 15px;
    padding: 2px 8px;
    width: fit-content;
    text-align: left;
}
    .point-card { 
        padding: 20px; 
        border-left: 6px solid #093077;
        margin-bottom: 20px;
    }
    .point-title { 
        flex-direction: row; 
        align-items: baseline;
        flex-wrap: wrap;
        font-size: 15px; 
        border-bottom: 3px solid #00993D;
        padding-bottom: 8px;
        width: 100%; 
    }
    .point-num { 
        font-size: 20px; 
        margin-right: 8px; 
        margin-bottom: 0; 
    }
    .point-text p {
        font-size: 13px;
        line-height: 1.6;
    }
    .point-body {
        flex-direction: column-reverse; 
        gap: 15px;
    }
    .point-image { 
        width: 100%; 
        max-width: 150px; 
        margin: 0 auto;
    }
    .points-button-area {
        flex-direction: column;
        align-items: center;
        gap: 12px; 
        margin-top: 2px;
    }
    .points-btn { 
        width: 100%; 
        max-width: 100%; 
        padding: 15px; 
        font-size: 12px; 
        margin-bottom: 0 !important; 
    }


}
.intro-catch-area h2 {
    font-size: 50px;
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1.4;
    color: #333;
}
.catch-line-1 {
    color: #333;
}
.text-marker {
    background: linear-gradient(transparent 60%, #BBFF00 60%);
    padding: 0 2px;
}
.text-blue {
    color: #2F6AD9;
}
.intro-company-name-title {
    background-color: #969695;
    color: #E6F2AA;
    font-size: 36px;
    font-weight: 500;
    padding: 10px 20px;
    margin: 10px 0 15px;
    border-radius: 4px;
}
.text-white {
    color:#fff;
}
.shadow-black {
    width: 100%;
    height: auto;
    box-shadow: 10px 5px 0px #000000; 
    border: 1px solid #ccc;
}
.intro-screenshot-wrapper {
    margin-bottom: 10px;
}
.screenshot-caption {
    text-align: right;
    font-size: 12px;
    margin-top: 8px; 
}
.screenshot-caption a {
    color: #333; 
    text-decoration: none;
}
.screenshot-caption a:hover {
    text-decoration: underline;
}
.intro-features-box {
    padding: 80px;
    border-radius: 8px;
    background-image: url(../images/features-bg.jpg);
}
.feature-item {
    margin-bottom: 20px;
}
.feature-sub-title {
    display: inline-block;
   background-color: rgba(251, 251, 104, 0.5);
    font-size: 16px;
    font-weight: bold;
    padding: 2px 8px;
    margin-bottom: 8px;
}
.feature-item p {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.7;
    margin-left: 10px;
}
.intro-cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}
.intro-cta-buttons .company-btn {
    flex: 1;
    max-width: 300px;
    font-size: 14px;
    padding: 12px 10px;
    text-align: center;
    margin-bottom: 0 !important;
}
.results-tab-wrapper {
    width: 100%;
    margin-top: 10px;
    margin-bottom: 40px;
}
.results-tab-list {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 5px;
}
.tab-btn {
    padding: 10px 30px;
    background-color: #ffffff;
    border: 2px solid #333;
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    font-weight: bold;
    cursor: pointer;
    text-align: center;
    color: #333;
}
.tab-btn.active {
    background-color: #000000;
    color: #ffffff;
}
.tab-btn:not(.active):hover {
    background-color: #f5f5f5; 
    color: #000000; 
}
.results-tab-contents {
    width: 100%;
    box-sizing: border-box;
    border: 2px solid #e0e0e0;
    border-radius: 0 12px 12px 12px;
    padding: 25px;
    background-color: #ffffff;
}
.tab-panel {
    display: none !important; 
}
.tab-panel.active {
    display: block !important; 
}
.result-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 20px;
    width: 100%;
}
.result-card {
    width: 100%;
    box-sizing: border-box;
    border: 2px solid #EAEAEA;
    border-radius: 12px;
    padding: 20px;
    background: #ffffff;
    box-shadow: 0 4px 0px #EAEAEA; 
    display: flex;
    flex-direction: column;
}
.result-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end; 
    border-bottom: 1px solid #EAEAEA;
    padding-bottom: 15px;
    margin-bottom: 15px;
}
.result-price {
    display: flex;
    align-items: baseline;
    font-size: 25px;
    font-weight: bold;
    color: #35BF0B; 
    line-height: 1;
    white-space: nowrap !important; 
}
.price-icon { font-size: 20px; margin-right: 5px; }
.price-unit { font-size: 16px; margin-left: 5px; font-weight: bold; }
.result-date {
    background-color: #FF0000; 
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    padding: 5px 12px;
    border-radius: 4px;
    white-space: nowrap !important;
    margin-bottom: 4px;
}
.result-name {
    color: #2F6AD9;
    font-weight: bold;
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 15px;
}
.result-detail {
    background-color: #F5F5F5;
    color: #555;
    font-size: 15px;
    font-weight: bold;
    padding: 8px;
    border-radius: 20px; 
    text-align: center;
    margin-top: auto; 
}
/* --- スマホ版（SP）調整 --- */
@media screen and (max-width: 768px) {
    .result-cards-grid { grid-template-columns: 1fr; } 
    .tab-btn { padding: 10px 15px; font-size: 14px; flex: 1; }
    .results-tab-list { justify-content: space-between; }
}
/* ====================================================
   🗣️ 口コミ・評判セクション
==================================================== */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}
.review-card {
    border: 2px solid #333333;
    border-radius: 16px;
    padding: 20px;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
}
.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}
.review-icon img {
    width: 45px;
    height: 45px;
    border-radius: 50%; 
    object-fit: cover;
}
.reviewer-name {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    margin-bottom: 2px;
}
.reviewer-stars {
    font-size: 13px;
    color: #F2941D; 
    letter-spacing: 2px;
}
.reviewer-stars .score {
    color: #333;
    font-weight: bold;
    margin-left: 5px;
    letter-spacing: normal;
}
.review-content {
    flex: 1; 
    display: flex;
    flex-direction: column;
}
.quote-mark-top,
.quote-mark-bottom {
    font-family: 'Georgia', serif; 
    font-size: 50px;
    color: #666666;
    line-height: 0.6;
    height: 25px;
}
.quote-mark-top { text-align: left; }
.quote-mark-bottom { text-align: right; margin-top: auto; } 

.review-text {
    font-size: 12px;
    line-height: 1.6;
    color: #333;
    padding: 0 10px; 
}
.review-caption {
    margin-top: 15px;
    font-size: 11px;
}
/* ====================================================
   🏢 会社概要セクション
==================================================== */
.overview-grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr; 
    gap: 20px;
    margin-bottom: 30px;
}
.overview-map-area {
    width: 100%;
    height: 100%; 
    min-height: 250px; 
    border-radius: 12px;
    overflow: hidden; 
    border: 1px solid #EAEAEA;
}
.overview-map-area iframe {
    width: 100%;
    height: 100%; 
    display: block; 
}
.overview-table-area {
    width: 100%;
    height: 100%; 
}
.overview-info-table {
    width: 100%;
    height: 100%; 
    border-collapse: separate; 
    border-spacing: 0;
    border: 1px solid #ccc;
    border-radius: 12px;
    overflow: hidden;
    background-color: #fff;
    font-size: 13px;
}
.overview-info-table th {
    background-color: #F5F5F5; 
    width: 25%;
    padding: 15px;
    text-align: center;
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    font-weight: normal;
    color: #333;
}
.overview-info-table td {
    padding: 15px;
    border-bottom: 1px solid #ccc;
    line-height: 1.6;
}
.overview-info-table a {
    color: #2F6AD9;
    text-decoration: underline;
}
.overview-info-table tr:last-child th, 
.overview-info-table tr:last-child td {
    border-bottom: none;
}
.overview-action-area {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 30px; 
    margin-top: 25px;
    margin-bottom: 60px;
    width: 100%;
}
.overview-cta-override {
    flex: 1; 
    max-width: 650px; 
    margin: 0 !important;
}
.line-btn-wrapper {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    margin-bottom: 2px;
}
.line-balloon img {
    width: 140px; 
    height: auto;
}
.line-icon-link {
    display: block;
    transition: transform 0.2s;
}
.line-icon-link:hover {
    transform: scale(1.1);
}
.line-icon-img {
    width: 60px;
    height: 60px;
    border-radius: 25%;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
/* ====================================================
   📏 全セクション共通：余白（マージン）の強制統一ルール
==================================================== */
.intro-company-name-title {
    margin-top: 60px !important;   
    margin-bottom: 25px !important; 
}
.intro-catch-area + .intro-company-name-title {
    margin-top: 25px !important;
}
.intro-screenshot-wrapper,
.results-tab-wrapper,
.reviews-grid,
.overview-grid-container {
    margin-bottom: 25px !important;
}
.intro-cta-buttons {
    margin-top: 0 !important; 
    margin-bottom: 0 !important; 
}
#types .company-btn.btn-teal {
    max-width: 500px !important;
    padding: 18px 20px !important;
    font-size: 20px !important;
}
.overview-action-area {
    margin-top: 0 !important;
    margin-bottom: 10px !important; 
}
/* ====================================================
   📱 スマホ版（SP）レイアウト一括調整 
==================================================== */
@media screen and (max-width: 768px) {
    .intro-catch-area {
        text-align: center; 
        padding: 0 10px;
    }
    .intro-catch-area h2 {
        font-size: 16px;
        line-height: 1.6;
        margin-bottom: 5px;
    }
    .intro-company-name-title {
        font-size: 16px;
        padding: 10px 12px;
        margin-top: 35px !important;   
        margin-bottom: 15px !important;
        line-height: 1.4;
        text-align: center;
    }
    .intro-catch-area + .intro-company-name-title {
        margin-top: 20px !important;
    }
    .intro-screenshot-wrapper,
    .results-tab-wrapper,
    .reviews-grid,
    .overview-grid-container {
        margin-bottom: 20px !important;
    }
    .screenshot-caption {
        margin-top: 5px;
        font-size: 10px;
    }
    .intro-features-box {
    padding: 35px;
    }
    .feature-sub-title {
        font-size: 13px;
    }
    .feature-item p {
    font-size: 14px;
    line-height: normal;
    }
    .intro-cta-buttons {
        flex-direction: column !important; 
        align-items: center;
        gap: 12px !important;
    }
    .intro-cta-buttons .company-btn {
        width: 100%;
        max-width: 350px; 
        margin: 0 auto;
    }
    

    /* ====================================================
       📊 売却実績カードのスマホ最適化 
    ==================================================== */
    .result-card {
        padding: 15px !important; 
    }
    .result-card-header {
        margin-bottom: 10px !important;
        padding-bottom: 10px !important;
    }
    .result-price { font-size: 18px !important; }
	
    .price-icon {
        font-size: 16px !important;
    }
    .price-unit {
        font-size: 13px !important;
    }
    .result-date {
        font-size: 11px !important; 
        padding: 4px 8px !important;
    }
    .result-name {
        font-size: 13px !important;
        margin-bottom: 10px !important;
    }
    .result-detail {
        font-size: 11px !important;
        padding: 6px !important;
    }
    .reviews-grid {
        grid-template-columns: 1fr; 
        gap: 15px;
    }
    /* ====================================================
       🏢 会社概要セクションのスマホ最適化（縦積み）
    ==================================================== */
    .overview-grid-container {
        display: flex !important;
        flex-direction: column !important; 
        gap: 20px !important; 
    }
    .overview-map-area {
        width: 100% !important;
        height: 250px !important; 
        min-height: auto !important;
    }
    .overview-table-area,
    .overview-info-table {
        width: 100% !important;
        height: auto !important;
    }
    .overview-info-table th {
        width: 30% !important; 
        padding: 12px 10px !important;
        font-size: 12px !important;
    }

    .overview-info-table td {
        padding: 12px 10px !important;
        font-size: 12px !important;
        word-break: break-all !important; 
    }
    .overview-action-area {
        flex-direction: column; 
        align-items: center;
        gap: 20px;
    }
    .overview-cta-override {
        width: 100%;
    }
    .line-btn-wrapper {
        margin-top: 10px;
    }
}
/* ====================================================
   ⛰️ 公示価格データセクション
==================================================== */
.market-data-section {
    width: 100vw ;
    margin-top: 80px ;
    margin-bottom: 80px ;
    margin-left: calc(50% - 50vw) ; 
    margin-right: calc(50% - 50vw) ;
}
.market-section-title {
    background-color: #00993D;
    color: #ffffff;
    font-size: 40px;
    text-align: center;
    padding: 20px 15px;
    margin: 0 calc(50% - 50vw); 
    width: 100vw; 
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    
}
.market-title-icon { width: 55px; height: auto; }
.text-yellow-bright { color: #FBFB68; } 
.market-content-bg {
    background-color: #F9F5F4;
    padding: 50px 20px;
    margin: 0 auto;
}
.market-intro-text {
    text-align: center;
    font-size: 2%;
    font-weight: bold;
    margin-bottom: 30px;
}
.marker-feature-yellow {
    background: linear-gradient(transparent 60%, rgba(230, 242, 170, 0.8) 60%); 
    padding: 0 2px;
}
.marker-final-yellow {
    background: linear-gradient(transparent 60%, #FBFB68 60%); 
    padding: 0 2px;
}
.market-intro-text,
.market-cards-grid,
.market-caption,
.market-conclusion-text {
    max-width: 1040px !important; 
    margin-left: auto !important;
    margin-right: auto !important;
}
.market-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 10px;
}
.market-card {
    background: #ffffff;
    padding: 30px 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08) !important; 
    text-align: center;
    display: flex;
    flex-direction: column;
}
.market-card-badge {
    background-color: #CD9E54;
    color: #ffffff;
    display: inline-block;
    padding: 4px 15px;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    align-self: flex-start;
}
.market-card-sub {
    font-size: 11px;
    color: #666;
    margin-top: -10px;
    margin-bottom: 15px;
    text-align: left;
}
.market-card-data {
    display: flex;
    justify-content: center;
    border-bottom: 1px solid #D9D9D9; 
    padding-bottom: 15px;
    margin-bottom: 15px;
}
.data-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 50%; 
}
.data-col:first-child {
    border-right: 1px solid #D9D9D9; 
}
.data-label {
    font-size: 18px;
    color: #333;
    font-weight: bold;
    margin-bottom: 5px;
}
.data-value {
    color: #892208;
    font-size: 55px ; 
    font-weight: normal ; 
    line-height: 1;
    font-family: 'Abril Fatface', serif ; 
}
.data-unit {
    font-size: 20px;
    margin-left: 2px;
}
.market-card-desc {
    font-size: 26px;
    color: #333;
    font-weight: 500;
    line-height: 1.5;
    margin-top: auto;
}
.market-caption {
    margin-top: 15px;
    margin-bottom: 30px;
}
.market-conclusion-text {
    margin-bottom: 60px;
    font-size: 28px;
    line-height: 1.4;
    font-weight: 500;
    color: #333;
}
.num-font {
    font-family: 'Abril Fatface', serif !important; 
    font-size: 1.15em; 
    font-weight: normal !important; 
    color: #333; 
}
.btn-market-green {
    background-color: #637E65 !important;
    color: #ffffff !important;
    width: 100% !important;
    max-width: 314px !important; 
    margin: 0 auto;
}
.market-caption {
    margin-top: 15px;
    margin-bottom: 30px;
    font-size: 18px ; 
    text-align: right;
}
.market-caption a {
    color: #666 !important; 
}

/* 📱 スマホ版レイアウト*/
@media screen and (max-width: 768px) {
    .market-section-title { font-size: 18px; padding: 15px 10px; }
    .market-content-bg { padding: 25px 15px; }
    .market-intro-text { font-size: 14px; text-align: center; }
    .market-title-icon { width: 40px; height: auto;}
    .market-cards-grid { grid-template-columns: 1fr; } 
    .data-value { font-size: 32px; }
    .data-unit { font-size: 16px; }
    
    .market-conclusion-text {
	font-size: 14px; text-align: justify; 
    margin-bottom: 40px;
	}
    .market-caption {font-size: 10px;}
    .market-card-badge { font-size: 16px;}
    .data-label {font-size: 16px;}
    .data-value {font-size: 40px;}
    .market-card-desc {font-size: 18px;}
}
/* 不動産売却取引の手順 ＆ 売却の種類*/
.flow-main-title {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 40px;
    text-align: center;
}
.flow-main-title .title-line {
    flex-grow: 1;
    height: 12px;
    border-top: 6px solid #fff;
    border-bottom: 2px solid #fff;
    margin: 0 20px;
    max-width: 280px;
}
.flow-main-title.text-black { color: #333; }
.flow-main-title .line-black { border-color: #333; }
.flow-section {
    width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    background-size: cover;
    background-position: center;
    padding: 60px 20px;
    position: relative;
}
.flow-section::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 30, 60, 0.6); 
    z-index: 1;
}
.flow-inner {
    position: relative;
    z-index: 2; 
    max-width: 1000px;
    margin: 0 auto;
}
.flow-steps-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 0 !important;
    align-items: stretch;
}
.step-box {
    flex: 1;
    background: transparent !important; 
    text-align: center;
    display: flex;
    flex-direction: column;
}
.step-head {
    height: 120px; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: calc(100% + 15px) !important;
    position: relative;
    z-index: 1;
    color: #fff;
    font-family: 'Abril Fatface', serif !important;
    font-size: 20px !important;
    letter-spacing: 1px;
    clip-path: polygon(0% 0%, calc(100% - 15px) 0%, 100% 50%, calc(100% - 15px) 100%, 0% 100%, 15px 50%);
    padding: 10px 15px 10px 25px;
    box-sizing: border-box;
}
.step-box:first-child .step-head {
    clip-path: polygon(0% 0%, calc(100% - 15px) 0%, 100% 50%, calc(100% - 15px) 100%, 0% 100%);
    padding-left: 10px;
}
.step-box:last-child .step-head {
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%, 15px 50%);
    padding-right: 10px;
    width: 100% !important; 
}
.step-head img {
    width: 40px;
    height: auto; 
    margin-top: 10px;
}

.step-body {
    background: #ffffff !important;
    flex-grow: 1;
    padding: 30px;
    font-size: 11px;
    font-weight: bold;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid #D9D9D9; 
    box-sizing: border-box;
}
.step-box:last-child .step-body {
    border-right: none;
}
.step-box:nth-child(1) .step-head { background-color: #00406A !important; }
.step-box:nth-child(2) .step-head { background-color: #134D73 !important; }
.step-box:nth-child(3) .step-head { background-color: #355E7A !important; }
.step-box:nth-child(4) .step-head { background-color: #3E6F8F !important; }
.step-box:nth-child(5) .step-head { background-color: #4D88AF !important; }
.step-box:nth-child(6) .step-head { background-color: #7ABEEB !important; }
.types-section {
    padding: 80px 20px;
    background: #EFEFEF;
    width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
}
.types-inner {
    max-width: 900px; 
    margin: 0 auto;
}
.type-card {
    background: #fff;
    border: 2px solid #EAEAEA; 
    border-radius: 8px;
    padding: 40px 30px;
    display: flex;
    gap: 40px; 
    margin-bottom: 25px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03); 
    align-items: flex-start;
}
.type-badge {
    flex: 0 0 25%;
    background: #F2941D;
    color: #fff;
    font-size: 22px; 
    font-weight: bold;
    padding: 20px 0; 
    border-radius: 8px; 
    text-align: center; 
    height: fit-content;
    letter-spacing: 2px;
}
.type-text {
    flex: 1; 
    font-size: 15px;
    line-height: 1.8;
    color: #333;
}
.mt-15 { margin-top: 15px; } 
.text-red { color: #892208; font-weight: bold; } 

.dotted-line {
    border-bottom: 2px dotted #B3B3B3; 
    margin: 20px 0; 
}
.btn-teal {
    background-color: #20A4AF !important;
    color: #ffffff !important;
    max-width: 350px !important;
    margin: 0 auto;
    border-radius: 6px !important;
}
/*  スマホ版レイアウト*/
@media screen and (max-width: 768px) {
    .flow-main-title {
        margin-bottom: 30px; 
        font-size: 20px;
    }
    .flow-inner::before {
        display: block;
        text-align: right;
        color: #ffffff;
        font-size: 12px;
        font-weight: normal;
        margin-bottom: 10px;
        opacity: 0.8;
        padding-right: 5px;
    }
    .flow-steps-wrapper {
        gap: 0 !important; 
        padding-bottom: 15px; 
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .step-box {
        min-width: 160px;
        border-radius: 0 !important; 
        overflow: visible !important; 
    }
    .step-body {font-size: 9px; }
    .flow-steps-wrapper::-webkit-scrollbar {
        height: 6px; 
    }
    .flow-steps-wrapper::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.2);
        border-radius: 10px;
    }
    .flow-steps-wrapper::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.9); 
        border-radius: 10px;
    }
    .types-section {
    padding: 40px 20px;
    }
    .type-card {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
    }
    .type-badge {
        text-align: center;
        width: 100%;
    }
    .flow-steps-wrapper {
        gap: 0 !important; 
        padding-bottom: 20px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .step-box {
        min-width: 150px; 
    }
}
/* ====================================================
    よくある質問 Q&A セクション（修正版）
==================================================== */
.qa-section {
    width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    background-image: url('../images/faq-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 80px 20px;
}
.qa-header {
    text-align: center;
    margin-bottom: 40px;
}
.qa-sub-title {
    color: #fff;
    font-family: 'Abril Fatface', serif;
    font-size: 46px;
    margin-top: -40px;
    letter-spacing: 2px;
}
.qa-inner {
    max-width: 1000px;
    margin: 0 auto;
    background: #fff;
    padding: 60px 40px;
    border-radius: 8px;
}
.qa-item {
    font-family: 'Zen Maru Gothic', sans-serif !important; 
    background: #D9E388 !important; 
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
}
.qa-question {
    padding: 20px 60px 20px 25px; 
    font-size: 16px;
    font-weight: 700;
    color: #333;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    position: relative;
}
.qa-question::-webkit-details-marker { display: none; }
.q-icon {
    background: #333;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-family: 'Abril Fatface', serif; 
    font-size: 18px;
    flex-shrink: 0; 
}
.plus-icon {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%); 
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}
.plus-icon::before, .plus-icon::after {
    content: "";
    position: absolute;
    background: #F2941D !important; 
    transition: transform 0.3s ease;
}
.plus-icon::before { width: 100%; height: 2px; top: 9px; left: 0; }
.plus-icon::after { width: 2px; height: 100%; top: 0; left: 9px; }
.qa-item[open] .plus-icon::after {
    transform: rotate(90deg);
    opacity: 0;
}
.qa-answer {
    background: #fff;
    padding: 25px;
    display: flex;
    align-items: flex-start;
    border-top: 1px solid #D9E6C3;
}
.a-icon {
    background: #F2941D !important; 
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0; 
    font-family: 'Abril Fatface', serif;
    font-size: 18px;
}
.a-text {
    font-weight: 500;
    font-size: 15px;
    line-height: 1.8;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
    .qa-inner { padding: 40px 20px; }
    .qa-question { font-size: 14px; padding-right: 50px; }
    .qa-section {padding: 40px 20px;
}
}
/* ====================================================
   おすすめ不動産業者一覧 タイトルセクション
==================================================== */
.company-list-header {
    width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    background-color: #00993D; 
    padding: 25px 15px;
    margin-top: -70px;
    margin-bottom: 40px; /
}
.company-list-title {
    font-family: 'Zen Maru Gothic', sans-serif !important;
    display: flex;
    align-items: center; 
    justify-content: center;
    margin: 0;
    gap: 4px; 
    margin-left: 160px;
}
.osaka-bubble-img {
    position: absolute;
    left: 235px;
    width: 220px;
    z-index: 10;
}
.green-box {
    background-color: #B2D235;
    color: #ffffff;
    font-size: 48px;
    font-weight: bold;
    padding: 2px 6px;
    line-height: 1.2;
    display: inline-block;
}
.title-text {
    color: #ffffff;
    font-size: 48px;
    font-weight: bold;
    margin-left: 10px; 
}
@media screen and (max-width: 768px) {
    .company-list-header {
        width: 100vw ;
        margin-left: calc(50% - 50vw) ;
        margin-top: 0 ; 
        padding: 10px 15px ; 
    }
    .company-list-title {
        position: relative ;
        margin: 0 ;
        padding-left: 150px ;
        display: flex ;
        flex-wrap: wrap ;
        justify-content: flex-start ;
        align-content: center ; 
        gap: 3px 3px; 
        min-height: 65px ;
    }
    .osaka-bubble-img {
        position: absolute ;
        left: 25px ;
        top: 50% ;
        transform: translateY(-50%) ;
        width: 120px ;
        height: auto ;
        margin: 0 ;
    }
    .green-box { 
        font-size: 18px ; 
        padding: 2px 4px ;
        line-height: 1.2 ;
    }
    .title-text { 
        width: 100% t; 
        font-size: 20px ; 
        text-align: left ;
        margin: 0 ; 
        line-height: 1.2 ;
    }
}
/* ====================================================
   🔘 「続きを見る」ボタン（サイト統一デザイン版）
==================================================== */
.company-list-more-wrapper {
    text-align: center !important;
    margin-top: 40px !important;
    margin-bottom: 50px !important;
    width: 100% !important;
}

.company-list-more-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #F45F1A !important; 
    color: #ffffff !important;
    border: none !important; 
    border-radius: 8px !important; 
    padding: 16px 40px !important;
    font-size: 16px !important;
    font-weight: bold !important;
    cursor: pointer;
    min-width: 280px !important;
    gap: 10px !important; 
    box-shadow: 0 6px 0 #C44A12 !important; 
    transition: all 0.2s ease !important;
}
.company-list-more-btn:hover {
    transform: translateY(4px) !important; 
    box-shadow: 0 2px 0 #C44A12 !important; 
}
.company-list-more-btn .btn-icon::after {
    display: none !important;
}
.company-list-more-btn .btn-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    height: auto !important;
    background: transparent !important; 
}
.company-list-more-btn .btn-icon svg path {
    stroke: #ffffff !important; 
}
/* 📱 スマホ版の微調整 */
@media screen and (max-width: 768px) {
    .company-list-more-btn {
        width: 80% !important; 
        min-width: auto !important;
        font-size: 15px !important;
        padding: 14px 40px !important;
    }
}
/* =========================================
   新着コンテンツ（お役立ちコラム） 4列グリッド
========================================= */
.useful-column-section {
    padding: 60px 0;
    background-color: #fff;
    width: 100%;
}

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

.useful-column-title {
    font-size: 28px !important; 
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    color: #333;
}

.useful-column-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
    margin-bottom: 50px !important;
}
.area-column-card {
    width: 100% !important; 
    background: #fff;
    position: relative;
    box-shadow: 8px 8px 0px #00993D !important;
    border: 1px solid #EAEAEA !important;
    border-radius: 0 !important; 
    text-decoration: none !important;
    display: block !important;
    transition: transform 0.2s, box-shadow 0.2s;
}

.area-column-card:hover {
    transform: translate(-2px, -2px) !important;
    box-shadow: 10px 10px 0px #00993D !important; 
    opacity: 1 !important;
}
.area-column-card-image {
    width: 100% !important;
    height: 160px !important;
    overflow: hidden;
    margin-bottom: 12px !important;
}
.area-column-card-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.area-column-card-content {
    padding: 0 15px 15px 15px !important;
}
.area-column-card-title {
    font-size: 14px !important;
    font-weight: bold !important;
    margin-bottom: 8px !important;
    color: #333 !important;
    line-height: 1.5 !important;
}
.area-column-card-date {
    font-size: 12px !important;
    color: #888 !important;
}

/* 📱 スマホ対応（2列） */
@media screen and (max-width: 768px) {
    .useful-column-grid {
        grid-template-columns: repeat(2, 1fr) !important; 
        gap: 15px !important;
        margin-bottom: 30px !important;
        padding: 0 !important; 
    }
    .area-column-card {
        box-shadow: 5px 5px 0px #00993D !important; /
    }
    .area-column-card:hover {
        transform: translate(-1px, -1px) !important;
        box-shadow: 6px 6px 0px #00993D !important;
    }
    .area-column-card-image {
        height: 110px !important;
    }
    .area-column-card-content {
        padding: 0 10px 10px 10px !important;
    }
    .area-column-card-title {
        font-size: 12px !important;
        line-height: 1.4 !important;
    }
    .area-column-card-date {
        font-size: 10px !important;
    }
}

.useful-column-more-wrapper {
    text-align: center !important;
    margin-top: 40px !important;
    margin-bottom: 50px !important;
    width: 100% !important;
}
.useful-column-more-btn {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #ffffff !important; 
    color: #333333 !important; 
    border: none !important; 
    border-radius: 8px !important; 
    padding: 18px 40px !important;
    font-size: 16px !important;
    font-weight: bold !important;
    text-decoration: none !important;
    cursor: pointer;
    min-width: 300px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08) !important;
    transition: all 0.3s ease !important;
}
.useful-column-more-btn:hover {
    transform: translateY(-2px) !important; 
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12) !important; 
}
.useful-column-more-btn .btn-text {
    text-align: center !important;
    margin: 0 auto !important;
}
.useful-column-more-btn .btn-icon {
    position: absolute !important;
    right: 20px !important; 
    background-color: #ffffff !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1) !important; 
}
.useful-column-more-btn .btn-icon svg {
    width: 14px !important;
    height: 14px !important;
}
.useful-column-more-btn .btn-icon svg path {
    stroke: #666666 !important; 
}
.useful-column-more-btn .btn-icon::after {
    display: none !important;
}
.useful-column-more-btn .btn-icon svg circle {
    display: none !important;
}
@media screen and (max-width: 768px) {
    .useful-column-more-btn {
        width: 85% !important; 
        min-width: auto !important;
        font-size: 15px !important;
        padding: 15px 40px !important;
    }
}
/* ==========================================================================
   エリアコラム アーカイブページ (リスト型・サムネイルなしデザイン)
   ========================================================================== */
.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; /* 右寄せ */
}

.archive-read-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #00993D !important; /* 👈 テーマカラーの緑！ */
    color: #fff !important;
    padding: 8px 24px !important; /* スリムな余白 */
    border-radius: 50px !important;
    text-decoration: none !important;
    font-weight: bold !important;
    font-size: 13px !important;
    width: auto !important; /* 👈 ここ重要！100%に広がるのを防ぐ！ */
    box-shadow: none !important; /* 余計な影をリセット */
    border: none !important;
    transition: all 0.3s ease !important;
}

.archive-read-btn:hover {
    opacity: 0.8 !important;
    transform: translateY(2px) !important;
}

.archive-read-btn .btn-arrow {
    margin-left: 8px !important;
    font-size: 9px !important;
}

/* 📱 スマホ版（SP）のレスポンシブ調整 */
@media screen and (max-width: 768px) {
    .company-archive-btn-area {
        justify-content: flex-end !important; /* スマホでも右寄せ */
    }
    .archive-read-btn {
        padding: 8px 20px !important;
        font-size: 12px !important;
    }
}
/* =========================================================
   404エラーページ (ok)
========================================================= */
.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: #2E99DC; 
    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: #2E99DC;
    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;
    }
}


.is-company-profile table {
    border-collapse: collapse !important;
    width: 100% !important;
    border: 2px solid #77BEB8 !important;
    border-left: 2px solid #ffffff !important; 
}


.is-company-profile table th,
.is-company-profile table td {
    border: 1px solid #77BEB8 !important;
    padding: 12px 15px !important;
    vertical-align: middle !important;
}


.is-company-profile table tr td:first-child,
.is-company-profile table tr th:first-child {
    background-color: #77BEB8 !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 #77BEB8 !important; 
}


.is-company-profile table tr td:nth-child(2) {
    background-color: #ffffff !important;
    color: #333333 !important;
    text-align: left !important;
}
.archive-read-btn .btn-arrow{
	right: 10px;
}

@media (max-width: 768px) {   
    img {
        max-width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }  
    p, a, div, li {
        overflow-wrap: anywhere !important;
        word-break: break-word !important;
    }    
    iframe, embed, object, video {
        max-width: 100% !important;
    }
}
@media (max-width: 768px) {
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
    }    
    .wp-block-table table,
    .is-company-profile table {
        table-layout: fixed !important; 
        width: 100% !important;
    }   
    
    
    .wp-block-table table th,
    .wp-block-table table td,
    .is-company-profile table th,
    .is-company-profile table td {
        word-wrap: break-word !important;
        overflow-wrap: anywhere !important;
        word-break: break-all !important; 
        padding: 10px 8px !important; 
    }
    .site-main *, .entry-content * {
        
        box-sizing: border-box !important;
    }
	section, 
    .company-introduction-wrapper, 
    #company-list, 
    .company-list-section {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px !important; 
        padding-right: 15px !important; 
    }
    .company-introduction-wrapper *, 
    #company-list *, 
    .company-list-section * {
        word-wrap: break-word !important;
        overflow-wrap: anywhere !important;
        word-break: break-all !important; 
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
	.results-tab-wrapper,
    .results-tab-contents,
    .tab-panel,             
    .tab-panel.active,       
    .result-cards-grid {
        width: 100% !important;
        margin: 15px auto !important; 
        padding-left: 0 !important; 
        padding-right: 0 !important;
        justify-content: center !important; 
        box-sizing: border-box !important;
    }
    .result-cards-grid .result-card {
        width: 95% !important; 
        max-width: 100% !important;
        margin: 0 auto 15px auto !important; 
        box-sizing: border-box !important;
    }
	
	
}


.check-indicator-pc {
	display: none;
}
@media (max-width: 768px) {
    .check-indicator-pc {
        display: flex !important;        
        width: 100% !important;
        left: 0 !important; 
        background-color: rgba(0, 0, 0, 0.6) !important; 
        box-sizing: border-box !important;        
        justify-content: flex-start !important; 
        align-items: center !important;     
        padding: 10px 20px !important;        
        transform: none !important; 
		margin-bottom: -55px;
    }
}

#flow-section .check-indicator-pc {
    display: none !important;
}

@media (max-width: 768px) {
    #flow-section .flow-inner {
        position: relative !important;
        display: flex !important;
        flex-direction: column !important; 
        z-index: 1 !important;
    }
    #flow-section .flow-steps-wrapper {
        position: relative !important;
        z-index: 10 !important; 
    }

   #flow-section .check-indicator-pc {
        display: flex !important;
        position: static !important; 
        margin-top: 5px !important; 
        margin-left: auto !important; 
        margin-right: 20px !important;
        
        background-color: transparent !important;
        width: auto !important;
        padding: 0 !important;
        z-index: 2 !important;
    }
    
    #flow-section .check-indicator-pc .check-text-full {
        color: #ffffff !important; 
        text-shadow: 1px 1px 3px rgba(0,0,0,0.5) !important;
		font-size: 18px;
    }
	.reviews-grid  {
        padding-left: 20px !important;
        padding-right: 20px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

   
    .reviews-card {
        width: 95% !important; 
        max-width: 100% !important;
        margin: 0 auto 20px auto !important; 
        box-sizing: border-box !important;
    }

}

.results-tab-list .tab-btn.active {
    background-color: #000 !important;
    color: #fff !important;
    font-weight: bold !important;
    border: 1px solid #000 !important;
}


.results-tab-list .tab-btn:hover {
    cursor: pointer;
    opacity: 0.8;
}


.results-tab-list .tab-btn {
    background-color: #fff !important; 
    color: #000 !important;          
    border: 1px solid #ccc !important;
    transition: all 0.3s ease;
}

.company-wrap-table table {
    min-width: 100% !important; 
    width: 100% !important;
    table-layout: fixed !important;
}

.company-wrap-table th,
.company-wrap-table td {
    white-space: normal !important;
    word-break: break-all !important; 
}
@media (max-width: 768px) {
    figure.wp-block-table.is-style-vk-table-scrollable:not(.company-wrap-table) {
        display: block !important;
        width: calc(100vw - 40px) !important; 
        max-width: 100vw !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        box-sizing: border-box !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    figure.wp-block-table.is-style-vk-table-scrollable:not(.company-wrap-table) table {
        table-layout: auto !important;
        min-width: 600px !important; 
        width: max-content !important; 
        max-width: none !important; 
    }

  
    figure.wp-block-table.is-style-vk-table-scrollable:not(.company-wrap-table) table * {
        max-width: none !important;
    }

   
    figure.wp-block-table.is-style-vk-table-scrollable:not(.company-wrap-table) th,
    figure.wp-block-table.is-style-vk-table-scrollable:not(.company-wrap-table) td {
        white-space: nowrap !important;
        word-break: keep-all !important;
    }
    
    
    .company-wrap-table,
    figure.company-wrap-table {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important; 
    }

   
    .company-wrap-table table {
        table-layout: fixed !important;
        width: 100% !important;
        min-width: 100% !important;
    }

   
    .company-wrap-table th,
    .company-wrap-table td {
        white-space: normal !important;
        word-break: break-all !important;
        overflow-wrap: anywhere !important;
    }
}

.fixed-right-elements {
    pointer-events: none !important;
}


.fixed-right-elements * {
    pointer-events: auto !important;
}
@media (max-width: 768px) {
   
    .area-column-content-wrapper {
        display: block !important;
        width: 100% !important;
        padding: 0 15px !important; 
        box-sizing: border-box !important;
    }

   
    .area-column-main {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 40px !important; 
    }

    
    .area-column-sidebar {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
    }
}