/*
Theme Name: 板橋区資源リサイクル事業協同組合
Description: 板橋区資源リサイクル事業協同組合の公式サイトテーマ
Version: 1.0
Author: Antigravity
*/
@charset "UTF-8";

/* 変数定義 */
:root {
    --color-primary: #217025;
    /* エコ・信頼の緑 */
    --color-secondary: #8BC34A;
    /* アクセントの明るい緑 */
    --color-text: #333333;
    --color-bg-light: #f1f8e9;
    /* 薄い緑の背景 */
    --color-white: #ffffff;
    --font-base: 'Noto Sans JP', sans-serif;
}

/* リセット & 基本設定 */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-base);
    color: var(--color-text);
    line-height: 1.8;
    background-color: var(--color-white);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
}

a:hover {
    opacity: 0.7;
}

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

main {
    flex-grow: 1;
}

/* 共通クラス */
.container {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
}

.section {
    padding: 80px 0;
}

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

.section-en {
    display: block;
    font-size: 1rem;
    color: var(--color-primary);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.section-jp {
    font-size: 2rem;
    margin-top: 10px;
}

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

/* 画像を左に寄せて、右側に文字を回り込ませる */
.alignleft {
    float: left;
    margin-right: 1.5em;
    /* 画像の右側に少し余白を作る */
    margin-bottom: 1em;
    /* 画像の下側にも少し余白を作る */
}

/* （参考）画像からはみ出した回り込みを解除したい場合用 */
.clearfix::after {
    content: "";
    display: block;
    clear: both;
}

/* 画像を右に寄せて、左側に文字を回り込ませる */
.alignright {
    float: right;
    margin-left: 1.5em;
    margin-bottom: 1em;
}

/* 画像を中央に配置する（回り込みなし） */
.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1em;
}

/* 記事本文内のリストはマークを表示する */
.entry-content ul,
.wpcf7-form ul {
    /* お問い合わせフォームのエラー表示などでも必要な場合がある */
    list-style: disc;
    padding-left: 1.5em;
    /* インデントを確保 */
    margin-bottom: 1.5em;
}

.entry-content ol {
    list-style: decimal;
    padding-left: 1.5em;
    margin-bottom: 1.5em;
}

/* キャプション付き画像の調整 */
.wp-caption {
    max-width: 100%;
    margin-bottom: 1.5em;
}

/* キャプションの文字スタイル */
.wp-caption-text {
    font-size: 0.85rem;
    color: #666;
    text-align: center;
    margin-top: 5px;
}

/* キャプション付きで左寄せした場合 */
.wp-caption.alignleft {
    margin-right: 1.5em;
}

.wp-caption.alignright {
    margin-left: 1.5em;
}

/* ボタン */
.btn-wrapper {
    text-align: center;
    margin-top: 40px;
}

.btn-wrapper.text-left {
    text-align: left;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 700;
    text-align: center;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn-secondary {
    background-color: var(--color-white);
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
}

/* ヘッダー */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    padding: 0 5%;
}

.logo {
    padding-bottom: 11px;
}

@media only screen and (max-width: 940px) {
    .header-container {
        padding: 0 15px;
    }
}

.logo a {
    font-size: 1.2rem;
    /* デフォルトサイズ */
    font-weight: 700;
    color: var(--color-primary);
    white-space: nowrap;
    /* テキストの改行を防ぐ */
    overflow: hidden;
    /* はみ出した部分を隠す */
    text-overflow: ellipsis;
    /* はみ出したテキストを省略表示 */
}

@media (max-width: 1250px) {
    .logo a {
        font-size: 1rem;
        /* 1250px以下でフォントサイズを縮小 */
    }
}

@media (max-width: 1000px) {

    /* さらに狭くなった場合 */
    .logo a {
        font-size: 5vw;
    }
}

.global-nav ul {
    display: flex;
    gap: 30px;
    align-items: center;
    list-style: none;
}

.global-nav a {
    font-weight: 500;
    font-size: 0.95rem;
    white-space: nowrap;
    /* テキストの改行を防ぐ */
}

/* メニューの幅調整 */
@media (max-width: 1250px) {
    .global-nav ul {
        gap: 20px;
        /* メニュー間のスペースを調整 */
    }

    .global-nav a {
        font-size: 0.85rem;
        /* 1250px以下でフォントサイズを縮小 */
    }
}

@media (max-width: 1050px) {

    /* さらに狭くなった場合 */
    .global-nav ul {
        gap: 15px;
    }

    .global-nav a {
        font-size: 0.75rem;
    }
}

.global-nav .nav-btn a {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 10px 20px;
    border-radius: 4px;
    display: inline-block;
    transition: opacity 0.3s;
}

.global-nav .nav-btn a:hover {
    opacity: 0.8;
}

.hamburger {
    display: none;
    /* モバイル用実装は省略 */
}

/* メインビジュアル */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: start;
    padding-top: 67px;
    justify-content: center;
    color: var(--color-white);
    text-align: center;
    margin-top: 70px;
    /* ヘッダー分 */
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: #333;
    /* 画像がない場合の背景色 */
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    /* 文字を見やすく暗くする */
}

.hero-content {
    padding: 20px;
    max-width: 800px;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.4;
}

.hero-subtitle {
    display: block;
    font-size: 1.2rem;
    margin-top: 10px;
    font-weight: 500;
}

.hero-text {
    font-size: 1rem;
    margin-bottom: 30px;
}

/* Mission */
.mission {
    background-color: var(--color-white);
}

.mission-body {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* Information */
.front-information {
    background-color: var(--color-bg-light);
}

/* Strategy */
.strategy {
    background-color: var(--color-white);
}

.strategy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.strategy-card {
    background: var(--color-white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.strategy-card h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: var(--color-primary);
}

/* Service */
.service {
    background-color: var(--color-bg-light);
}

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

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

.service-img {
    width: 100%;
    height: 200px;
    background-color: #ddd;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
}

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

.service-item h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

/* CSR */
.csr {
    background-color: var(--color-white);
    padding: 0;
    /* 全幅レイアウトのため */
}

.csr-box {
    display: flex;
    align-items: center;
    background-color: var(--color-white);
}

.csr-content {
    flex: 1;
    padding: 80px 5%;
}

.csr-image {
    flex: 1;
    height: 500px;
}

.csr-image img {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

/* レスポンシブ(簡易版) */
@media (max-width: 860px) {
    .global-nav {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: rgba(255, 255, 255, 0.98);
        padding: 40px 20px;
        overflow-y: auto;
        z-index: 999;
    }

    .global-nav.active {
        display: block;
        animation: fadeIn 0.3s ease;
    }

    .global-nav ul {
        flex-direction: column;
        gap: 0;
        align-items: center;
        width: 100%;
    }

    .global-nav li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #eee;
    }

    .global-nav li:first-child {
        border-top: 1px solid #eee;
    }

    .global-nav a {
        display: block;
        padding: 20px 0;
        font-size: 1.1rem;
        color: var(--color-text);
        font-weight: bold;
    }

    /* Mobile Contact Button */
    .global-nav .nav-btn {
        border: none;
        margin-top: 30px;
    }

    .global-nav .nav-btn a {
        display: inline-block;
        width: 80%;
        max-width: 300px;
        background-color: var(--color-primary);
        color: #fff;
        border-radius: 50px;
        padding: 15px 0;
        box-shadow: 0 4px 10px rgba(33, 112, 37, 0.3);
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
        }

        to {
            opacity: 1;
        }
    }

    .hamburger {
        display: block;
        width: 30px;
        height: 20px;
        position: relative;
        cursor: pointer;
        z-index: 1000;
    }

    .hamburger span {
        position: absolute;
        left: 0;
        width: 100%;
        height: 2px;
        background-color: var(--color-text);
        transition: 0.3s;
    }

    .hamburger span:nth-child(1) {
        top: 0;
    }

    .hamburger span:nth-child(2) {
        top: 9px;
    }

    .hamburger span:nth-child(3) {
        bottom: 0;
    }

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

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

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

    .hero-title {
        font-size: 1.8rem;
    }

    .strategy-grid,
    .service-list {
        grid-template-columns: 1fr;
    }

    .csr-box {
        flex-direction: column-reverse;
    }

    .csr-image {
        width: 100%;
        height: 300px;
    }

    .footer-content {
        flex-direction: column;
        gap: 40px;
    }
}

/* Footer */
.footer {
    background-color: #217025;
    color: var(--color-white);
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 40px;
    gap: 25px;
}

.footer-info {
    flex: 0 0 40%;
    min-width: 250px;
}

.footer-info h2 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    white-space: nowrap;
}

.footer-related {
    flex: 1;
    min-width: 250px;
}

.footer-related h3,
.footer-links h3 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 10px;
    display: inline-block;
}

.footer-links ul {
    list-style: none;
}

.footer-related ul {
    list-style: none;
}

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

.footer-related a {
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.footer-related a:hover {
    text-decoration: underline;
    opacity: 0.8;
}

.footer-links {
    flex: 1;
    min-width: 200px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

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

/* -----------------------------------------------------------------
   About Page Styles
----------------------------------------------------------------- */

/* リード文 */
.about-lead-text {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 50px;
    font-weight: 500;
}

/* About Page Backgrounds */
.about-mission {
    background-color: var(--color-white);
}

.about-cert {
    background-color: var(--color-bg-light);
}

.about-profile {
    background-color: var(--color-white);
}

.about-disclosure {
    background-color: var(--color-bg-light);
}

.about-access {
    background-color: var(--color-white);
}

/* Mission Section */
.about-mission-grid {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.about-mission-item {
    flex: 1;
    background-color: var(--color-bg-light);
    padding: 30px;
    border-radius: 8px;
}

.about-mission-item h3 {
    color: var(--color-primary);
    margin-bottom: 15px;
    font-size: 1.3rem;
    border-bottom: 2px solid var(--color-primary);
    padding-bottom: 10px;
}

/* Certification Section */
.about-cert-box {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 40px;
    border-radius: 8px;
}

.about-cert-badge {
    flex-shrink: 0;
    width: 150px;
    height: 150px;
    background-color: #d4af37;
    /* Gold */
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: bold;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.about-cert-text h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.about-cert-list {
    margin-top: 20px;
    list-style: disc;
    padding-left: 20px;
}

.about-cert-list li {
    margin-bottom: 10px;
}

/* Profile Section */
.about-profile-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 auto;
    max-width: 800px;
}

.about-profile-table th,
.about-profile-table td {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    text-align: left;
}

.about-profile-table th {
    width: 30%;
    background-color: var(--color-bg-light);
    font-weight: 700;
    color: var(--color-text);
}

/* Access Section */
.about-access-map iframe {
    display: block;
    border-radius: 8px;
}

.about-access-info {
    text-align: center;
    margin-top: 20px;
    font-weight: 500;
}

.about-list {
    padding-left: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .about-mission-grid {
        flex-direction: column;
    }

    .about-cert-box {
        flex-direction: column;
        text-align: center;
    }

    .about-cert-badge {
        margin: 0 auto 20px;
    }

    .about-profile-table th,
    .about-profile-table td {
        display: block;
        width: 100%;
    }

    .about-profile-table th {
        background-color: #f0f0f0;
    }
}

/* -----------------------------------------------------------------
   Strategy Page Styles
----------------------------------------------------------------- */

/* Lead Text */
.strategy-lead-text {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 0;
    font-weight: 500;
    line-height: 2;
}

/* Strategy Page Backgrounds */

.page-strategy>.section:nth-of-type(odd) {

    background-color: var(--color-white);

}

.page-strategy>.section:nth-of-type(even) {

    background-color: var(--color-bg-light);

}

/* Common Sub Title */
.strategy-sub-title {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.strategy-sub-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--color-primary);
    margin: 10px auto 0;
}

/* Policy Section */
.strategy-policy {
    background-color: var(--color-bg-light);
}

.strategy-policy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.strategy-policy-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.strategy-card-head {
    background-color: var(--color-primary);
    color: #fff;
    padding: 20px;
}

.strategy-tag {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.2);
    font-size: 0.8rem;
    padding: 2px 8px;
    border-radius: 4px;
    margin-bottom: 10px;
}

.strategy-card-head h4 {
    font-size: 1.2rem;
    margin: 0;
    line-height: 1.4;
}

.strategy-card-body {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.strategy-result-box {
    margin-top: auto;
    /* 下寄せ */
    background-color: #f0f8ff;
    padding: 15px;
    border-radius: 4px;
    border-left: 4px solid var(--color-primary);
    margin-top: 20px;
}

.result-label {
    display: block;
    font-weight: bold;
    color: var(--color-primary);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.strategy-list {
    list-style: disc;
    padding-left: 20px;
    margin-top: 10px;
}

.strategy-list li {
    margin-bottom: 5px;
}


.strategy-cert-wrapper {
    border: 2px solid #d4af37;
    /* Gold border */
    padding: 40px;
    border-radius: 8px;
    position: relative;
}

/* 認定証のような装飾 */
.strategy-cert-wrapper::before {
    content: 'CERTIFIED';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff;
    /* さっきの緑色へ */
    padding: 0 20px;
    color: #d4af37;
    font-weight: bold;
    font-size: 1.2rem;
    letter-spacing: 0.1em;
}

.strategy-cert-info {
    text-align: center;
    margin-bottom: 40px;
}

.strategy-cert-info h4 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.cert-period {
    display: inline-block;
    background-color: #d4af37;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    margin-bottom: 20px;
    font-weight: 500;
}

.strategy-merit-grid {
    display: flex;
    gap: 40px;
    border-top: 1px solid #eee;
    padding-top: 30px;
}

.strategy-merit-item {
    flex: 1;
}

.strategy-merit-item h5 {
    font-size: 1.2rem;
    color: var(--color-text);
    margin-bottom: 15px;
    border-left: 5px solid #d4af37;
    padding-left: 10px;
}

.strategy-data-list {
    list-style: none;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.strategy-data-list li {
    margin-bottom: 10px;
    border-bottom: 1px dashed #ccc;
    padding-bottom: 5px;
}

.strategy-note {
    font-size: 0.9rem;
    color: #666;
}

/* Responsive */
@media (max-width: 768px) {
    .strategy-merit-grid {
        flex-direction: column;
        gap: 30px;
    }

    .strategy-cert-wrapper {
        padding: 20px;
    }
}

/* -----------------------------------------------------------------
   Service Page Styles (事業案内)
----------------------------------------------------------------- */

.service-lead-text {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 500;
}

/* Service Page Backgrounds */
.service-intro {
    background-color: var(--color-white);
}

.service-list-section {
    background-color: var(--color-bg-light);
}

.service-policy {
    background-color: var(--color-white);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.service-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

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

.service-card-img {
    height: 200px;
    background-color: #eee;
}

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

.service-card-body {
    padding: 20px;
}

.service-card-body h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--color-primary);
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 5px;
}

.service-desc {
    font-size: 0.95rem;
    margin-bottom: 15px;
    color: #555;
    min-height: 4.5em;
    /* 高さを揃えるため */
}

.service-meta {
    background-color: var(--color-bg-light);
    padding: 8px 12px;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.service-label {
    font-weight: bold;
    color: var(--color-text);
}

.service-value {
    color: var(--color-primary);
    font-weight: bold;
}

.service-note {
    text-align: right;
    font-size: 0.9rem;
    color: #888;
    margin-top: 10px;
}

/* Service Policy */
.service-policy-box {
    background-color: #fff;
    border: 1px solid #ddd;
    border-left: 5px solid var(--color-primary);
    padding: 40px;
    border-radius: 4px;
}

.service-policy-box h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-align: center;
}

.service-policy-content {
    display: flex;
    gap: 40px;
}

.policy-item {
    flex: 1;
}

.policy-item h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--color-primary);
}


/* -----------------------------------------------------------------
   CSR Page Styles (地域・環境活動)
----------------------------------------------------------------- */

.csr-lead-text {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 500;
}

/* CSR Page Backgrounds */
.csr-intro {
    background-color: var(--color-white);
}

.csr-pr {
    background-color: var(--color-white);
}

/* Eco Action */
.csr-eco {
    background-color: var(--color-bg-light);
}

.csr-eco-wrapper {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.csr-eco-image {
    flex: 1;
    height: 400px;
    background-color: #ddd;
}

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

.csr-eco-content {
    flex: 1;
    padding: 40px;
}

.csr-eco-content h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--color-secondary);
    /* Green */
}

.csr-eco-list {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 20px;
    line-height: 1.8;
}

.csr-eco-note {
    font-size: 0.9rem;
    color: #666;
    background-color: #f9f9f9;
    padding: 10px;
    border-radius: 4px;
}

/* PR Section */
.csr-pr-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.csr-pr-item {
    background: #fff;
    border: 1px solid #eee;
    padding: 30px;
    border-radius: 8px;
}

.csr-pr-item h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--color-text);
    border-bottom: 2px solid var(--color-secondary);
    /* Green */
    padding-bottom: 10px;
    display: inline-block;
}

/* Responsive */
@media (max-width: 768px) {
    .service-policy-content {
        flex-direction: column;
        gap: 20px;
    }

    .csr-eco-wrapper {
        flex-direction: column;
    }

    .csr-eco-image {
        width: 100%;
        height: 250px;
    }
}

/* Footer Nav Button Reset */
.footer-links .nav-btn {
    background-color: transparent;
    color: inherit;
    padding: 0;
    border-radius: 0;
    font-weight: normal;
}

.footer-links .nav-btn:hover {
    opacity: 0.7;
    background-color: transparent;
}

/* -----------------------------------------------------------------
   Contact Form Styles (Contact Form 7)
----------------------------------------------------------------- */

.wpcf7-form {
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    max-width: 800px;
    margin: 0 auto;
}

.wpcf7-form p {
    margin-bottom: 20px;
}

.wpcf7-form label {
    display: block;
    font-weight: 500;
    margin-bottom: 5px;
    width: 100%;
}

.wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

.wpcf7-text,
.wpcf7-textarea,
.wpcf7-select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    background-color: var(--color-bg-light);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.wpcf7-text:focus,
.wpcf7-textarea:focus,
.wpcf7-select:focus {
    border-color: var(--color-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.1);
    background-color: #fff;
}

.wpcf7-textarea {
    height: 200px;
    resize: vertical;
}

.wpcf7-submit {
    display: inline-block;
    background-color: var(--color-primary);
    color: #fff;
    padding: 15px 60px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.3s, transform 0.3s;
    margin-top: 20px;
    width: auto;
    min-width: 200px;
}

.wpcf7-submit:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

.wpcf7-spinner {
    position: absolute;
    /* レイアウトフローから除外 */
    right: 10px;
    /* ボタンの右端からの距離 */
    top: 50%;
    /* 垂直方向の中央 */
    transform: translateY(-50%);
    /* 自身の高さの半分だけ上へ移動 */
    width: 24px;
    /* 擬似要素のコンテナとしての幅 */
    height: 24px;
    /* 擬似要素のコンテナとしての高さ */
    margin: 0;
    /* 不要なマージンをリセット */
}

.wpcf7-response-output {
    margin-top: 20px;
    padding: 15px;
    border-radius: 4px;
    font-size: 0.9rem;
}

.button_area {
    position: relative;
    /* スピナー絶対配置の基準 */
    text-align: center;
    /* 送信ボタンを中央揃え */
}

/* Responsive for Form */
@media (max-width: 768px) {
    .wpcf7-form {
        padding: 20px;
    }

    .wpcf7-submit {
        width: 100%;
    }
}

/* Privacy Policy Box */
.privacy-box {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 20px;
}

.privacy-title {
    font-size: 1rem;
    margin-bottom: 10px;
    color: var(--color-text);
    font-weight: bold;
}

.privacy-content {
    height: 150px;
    overflow-y: auto;
    padding: 10px;
    background-color: #fff;
    border: 1px solid #eee;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #555;
}

.privacy-content ol {
    padding-left: 20px;
    margin-top: 10px;
}

.privacy-content li {
    margin-bottom: 10px;
}

.privacy-check {
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
}

/* Checkbox Customization */
.privacy-consent input[type="checkbox"] {
    transform: scale(1.2);
    margin-right: 5px;
}

/* -----------------------------------------------------------------
   Password Protection Form Styles
----------------------------------------------------------------- */
.post-password-form {
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    max-width: 600px;
    margin: 40px auto;
    text-align: center;
}

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

.post-password-form label {
    display: block;
    margin: 0;
    border-top: 1px solid #ddd;
}

.information-list ul {
    list-style: none;
}

.information-list li {
    border-bottom: 1px solid #ddd;
}

.information-list li a {
    display: flex;
    align-items: center;
    padding: 15px 10px;
    text-decoration: none;
    color: var(--color-text);
    transition: background-color 0.3s;
    flex-wrap: wrap;
}

.information-list li a:hover {
    background-color: #fff;
}

.information-list .date {
    margin-right: 20px;
    font-weight: 500;
    color: #555;
    flex-shrink: 0;
}

.information-list .title {
    font-weight: 500;
}

.no-posts {
    text-align: center;
    padding: 40px 0;
    color: #666;
}

@media (max-width: 768px) {
    .information-list li a {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .information-list .date {
        font-size: 0.9rem;
    }
}

/* -----------------------------------------------------------------
   WordPress Admin Bar Fix
----------------------------------------------------------------- */
.admin-bar .header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    .admin-bar .header {
        top: 46px;
    }
}

/* -----------------------------------------------------------------
   Members Page Styles
----------------------------------------------------------------- */
.members-list-area {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.members-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
    /* 横スクロールさせるための最小幅 */
}

.members-table th,
.members-table td {
    padding: 15px;
    border: 1px solid #ddd;
    vertical-align: middle;
    font-size: 0.95rem;
}

.members-table th {
    background-color: var(--color-bg-light);
    color: var(--color-primary);
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
}

.members-table td {
    background-color: #fff;
    white-space: nowrap;
    /* 基本的に改行しない */
}

/* 5番目のカラム（業種）だけ改行を許可 */
.members-table td:nth-child(5) {
    white-space: normal;
    min-width: 200px;
}

.member-name {
    font-size: 1.1rem;
}

.member-link {
    color: var(--color-primary);
    text-decoration: underline;
}

.member-link:hover {
    text-decoration: none;
    opacity: 0.8;
}

/*
   Members Page Styles
----------------------------------------------------------------- */
.page-members .members-intro {
    padding-bottom: 0;
}

.page-members .members-content {
    padding-top: 30px;
}

@media (max-width: 768px) {
    .members-list-area {
        overflow-x: initial !important;
        /* 横スクロールを解除 */
    }

    .members-table {
        min-width: 100% !important;
    }

    .members-table thead {
        display: none;
    }

    .members-table,
    .members-table tbody,
    .members-table tr,
    .members-table td {
        display: block;
        width: 100%;
    }

    .members-table tr {
        margin-bottom: 20px;
        border: 1px solid #ddd;
        border-radius: 4px;
        overflow: hidden;
        background-color: #fff;
    }

    .members-table td {
        text-align: right;
        padding: 10px 15px 10px 50%;
        position: relative;
        border: none;
        border-bottom: 1px solid #eee;
        white-space: normal !important;
    }

    .members-table td:nth-child(n) {
        /* 全てのtdのmin-widthをリセット */
        min-width: initial !important;
    }

    .members-table td::before {
        content: attr(data-label);
        position: absolute;
        left: 15px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        text-align: left;
        font-weight: 700;
        color: var(--color-primary);
    }

    .members-table td:last-child {
        border-bottom: 0;
        min-height: 3em;
    }
}

/* --- Visualizer Table Design (DataTables対応版) : .data-table --- */

/* 外枠のラッパー */
.data-table .dataTables_wrapper {
    width: 100%;
    margin: 20px 0;
    border-radius: 8px;
    /* 全体の角丸 */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background: #fff;
    overflow: hidden;
    /* 角丸からはみ出た部分をカット */
}

/* スクロール領域の調整 */
.data-table .dataTables_scroll {
    border: none !important;
}

/* --- ヘッダー部分 (dataTables_scrollHead) --- */
.data-table .dataTables_scrollHead {
    background-color: #2e6e44 !important;
    /* 緑色 */
    border-bottom: none !important;
}

.data-table .dataTables_scrollHead table {
    margin-bottom: 0 !important;
    border-collapse: collapse !important;
    /* ズレ防止のためcollapseに戻す */
}

.data-table .dataTables_scrollHead th {
    color: #fff !important;
    padding: 16px 10px !important;
    font-weight: bold;
    text-align: center !important;
    border: none !important;
    white-space: nowrap;
    background-color: #2e6e44 !important;
    /* 背景色をthにも明示 */
}

/* --- データ部分 (dataTables_scrollBody) --- */
.data-table .dataTables_scrollBody {
    border-bottom: none !important;
}

.data-table .dataTables_scrollBody table {
    border-collapse: collapse !important;
    /* ズレ防止 */
    margin-top: 0 !important;
    width: 100% !important;
}

/* ボディのセル設定 */
.data-table .dataTables_scrollBody td {
    padding: 12px 15px !important;
    color: #333;
    border-bottom: 1px solid #e0e0e0 !important;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    text-align: right !important;
    background: transparent;
    box-sizing: border-box;
    /* パディングを含めて幅計算させる */
}

/* 1列目（月）のみ左寄せ・太字 */
.data-table .dataTables_scrollBody td:first-child {
    text-align: left !important;
    font-weight: bold;
    padding-left: 20px !important;
}

/* 縞模様（ゼブラストライプ） - TRに対して指定 */
.data-table .dataTables_scrollBody tr:nth-child(even) {
    background-color: #f0f7f4 !important;
    /* 薄い緑 */
}

.data-table .dataTables_scrollBody tr:nth-child(odd) {
    background-color: #fff !important;
}

.data-table .dataTables_scrollBody tr:hover {
    background-color: #e8f5e9 !important;
}

/* DataTablesが幅計算用に挿入する不可視ヘッダーの高さを消す */
.data-table .dataTables_scrollBody thead th,
.data-table .dataTables_scrollBody thead th div {
    height: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    border: none !important;
    overflow: hidden;
}

/* 最後の行の下線を消す */
.data-table .dataTables_scrollBody tr:last-child td {
    border-bottom: none !important;
}

/* Thanks Page */
.thanks-page .entry-header {
    text-align: center;
    margin-bottom: 40px;
}

.thanks-page .entry-content {
    text-align: center;
}

.thanks-page .button_area {
    margin-top: 40px;
}

/* Post Navigation */
.post-navigation {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.post-navigation .nav-links {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.post-navigation .nav-previous,
.post-navigation .nav-next {
    flex: 1;
    min-width: 280px;
}

.post-navigation .nav-next {
    text-align: right;
}

.post-navigation a {
    display: block;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 4px;
    text-decoration: none;
    color: var(--color-text);
    transition: background-color 0.3s, color 0.3s;
    height: 100%;
}

.post-navigation a:hover {
    background-color: var(--color-primary);
    color: #fff;
}

.post-navigation .nav-subtitle {
    display: block;
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 5px;
    font-weight: bold;
}

.post-navigation a:hover .nav-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.post-navigation .nav-title {
    display: block;
    font-weight: bold;
    font-size: 0.95rem;
    line-height: 1.4;
}

/* -----------------------------------------------------------------
   Pagination Styles
----------------------------------------------------------------- */
.pagination {
    margin-top: 50px;
    text-align: center;
}

.pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    background-color: #fff;
}

.pagination .page-numbers.current {
    background-color: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

.pagination .page-numbers:hover:not(.current) {
    background-color: #f0f0f0;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.pagination .prev,
.pagination .next {
    padding: 0 15px;
}

/* -----------------------------------------------------------------
   Single Post Styles (Pop Design)
----------------------------------------------------------------- */
.single-information .site-main {
    background-color: var(--color-bg-light);
    padding-top: 40px;
    padding-bottom: 40px;
}

.single-information article {
    background-color: #fff;
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

@media only screen and (max-width: 780px) {
    .single-information article {
        padding: 25px;
    }
}

.entry-header {
    margin-bottom: 50px;
    text-align: center;
    border-bottom: 2px dashed #eee;
    padding-bottom: 30px;
}

.entry-meta {
    margin-bottom: 20px;
}

.entry-meta .date {
    display: inline-block;
    background-color: var(--color-secondary);
    color: #fff;
    padding: 5px 20px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1rem;
    box-shadow: 0 4px 10px rgba(139, 195, 74, 0.4);
}

.entry-title {
    font-size: 2rem;
    line-height: 1.4;
    color: var(--color-primary);
}

.entry-meta {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.entry-content {
    line-height: 1.8;
}

.entry-content h2 {
    font-size: 1.5rem;
    margin-top: 40px;
    margin-bottom: 20px;
    padding-left: 15px;
    border-left: 5px solid var(--color-primary);
}

.entry-content h3 {
    font-size: 1.3rem;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--color-primary);
}

.entry-content p {
    margin-bottom: 1.5em;
}

.wpcf7-spinner {
    right: 48%;
    top: 0;
}