/* ===================================
   基本設定
====================================== */
:root {
    --primary-color: #E67E22;
    /* 温かみのあるオレンジ */
    --secondary-color: #2C3E50;
    /* 信頼感のある濃いネイビー */
    --text-color: #333;
    --bg-color-light: #f8f9fa;
    --blog-gradient: linear-gradient(135deg, #E67E22 0%, #F39C12 100%);
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    margin: 0;
    color: var(--text-color);
    background-color: #fff;
    line-height: 1.8;
}

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

h1,
h2,
h3 {
    font-weight: 700;
}

.section {
    padding: 80px 0;
}

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

/* ===================================
   ヘッダーとナビゲーション
====================================== */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: var(--primary-color);
}

.header-logo h1 {
    font-size: 1.5rem;
    margin: 0;
}

.logo-character {
    height: 50px;
    transition: transform 0.3s;
}

.header-logo:hover .logo-character {
    transform: rotate(10deg) scale(1.1);
}

.header-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-nav ul li a {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: #555;
    font-weight: 700;
    font-size: 1rem;
    position: relative;
}

.header-nav ul li a:not(.dropdown-toggle)::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 15px;
    width: calc(100% - 30px);
    height: 2px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.header-nav ul li a:not(.dropdown-toggle):hover::after {
    transform: scaleX(1);
}

.hamburger-btn {
    display: none;
}


/* ドロップダウンメニュー削除済み - 横並びメニューに変更 */


/* ===================================
   ヒーローセクション
====================================== */
.hero {
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.2)), url('images/ajiyoshi_fukei.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 120px 20px;
}

.hero-title {
    font-size: 3.2rem;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-top: 15px;
    opacity: 0.9;
}


/* ===================================
   共通コンポーネント
====================================== */
.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-top: 0;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

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

.card-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    padding: 30px;
    flex: 1;
    min-width: 280px;
    max-width: 350px;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 35px rgba(0, 0, 0, 0.12);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.card-title {
    font-size: 1.3rem;
    margin-top: 0;
    margin-bottom: 15px;
}

.card-text {
    font-size: 0.95rem;
    margin-bottom: 25px;
    color: #666;
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(230, 126, 34, 0.3);
}

.btn:hover {
    background-color: #d35400;
    transform: translateY(-2px);
    box-shadow: 0 7px 20px rgba(230, 126, 34, 0.4);
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s, transform 0.8s;
}

.fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.card.fade-in:nth-child(2) {
    transition-delay: 0.2s;
}

.card.fade-in:nth-child(3) {
    transition-delay: 0.4s;
}


/* ===================================
   下層ページ共通スタイル
====================================== */
/* --- ページヘッダー --- */
.page-hero {
    /* ★★★ ここを変更しました！ ★★★ */
    background-image: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)), url('images/ajiyoshi_activities.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 80px 20px;
    /* 少し高さを出して豪華に */
    border-bottom: 5px solid var(--primary-color);
    /* アクセント線を追加 */
}

.page-title {
    font-size: 2.5rem;
    margin: 0;
}

.page-hero p {
    margin-top: 10px;
    opacity: 0.8;
}


/* ===================================
   メンバー紹介ページ
====================================== */
.table-container {
    overflow-x: auto;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.member-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

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

.member-table th {
    background-color: var(--bg-color-light);
    font-weight: 700;
}

.member-table tr:hover {
    background-color: #fdf5ec;
}


/* ===================================
   沿革ページ
====================================== */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background-color: #ddd;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-icon {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    z-index: 1;
    border: 3px solid #fff;
}

.timeline-item:nth-child(even) .timeline-icon {
    left: 0;
}

.timeline-item:nth-child(odd) .timeline-icon {
    right: -25px;
    left: auto;
}

.timeline-content {
    padding: 20px 30px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
    position: relative;
}

.timeline-content h3 {
    margin-top: 0;
    color: var(--primary-color);
}

.timeline-content p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 25px;
    width: 0;
    height: 0;
    border-style: solid;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -15px;
    border-width: 10px 0 10px 15px;
    border-color: transparent transparent transparent #fff;
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -15px;
    border-width: 10px 15px 10px 0;
    border-color: transparent #fff transparent transparent;
}


/* ===================================
   活動内容ページ（ギャラリー）
====================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.gallery-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 35px rgba(0, 0, 0, 0.12);
}

.gallery-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.gallery-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-card:hover .gallery-card-image img {
    transform: scale(1.1);
}

.gallery-card-content {
    padding: 20px 25px;
}

.gallery-card-content h3 {
    font-size: 1.25rem;
    margin-top: 0;
    margin-bottom: 15px;
}

.gallery-card-content p {
    margin: 5px 0;
    font-size: 0.9rem;
    color: #666;
    display: flex;
    align-items: center;
}

.gallery-card-content p i {
    color: var(--primary-color);
    margin-right: 8px;
    width: 16px;
    text-align: center;
}

/* ===================================
   お問い合わせページ（Google Form）
====================================== */
.google-form-container {
    max-width: 800px;
    margin: 0 auto;
}

.form-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 50px 40px;
    text-align: center;
}

.form-icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.form-card-title {
    font-size: 2rem;
    color: var(--secondary-color);
    margin: 0 0 20px 0;
    font-weight: 700;
}

.form-description {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 40px;
}

.form-description strong {
    color: var(--primary-color);
    font-weight: 700;
}

/* Info Cards Grid */
.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 35px;
}

.info-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.info-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: block;
}

.info-card h4 {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin: 0 0 10px 0;
    font-weight: 700;
}

.info-card p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* Membership Notice */
.membership-notice {
    background: linear-gradient(135deg, #fff3cd 0%, #ffe8a1 100%);
    border-left: 5px solid #f0ad4e;
    border-radius: 10px;
    padding: 20px 25px;
    margin-bottom: 40px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    text-align: left;
}

.membership-notice i {
    font-size: 2rem;
    color: #8a6d3b;
    flex-shrink: 0;
    margin-top: 5px;
}

.membership-notice h4 {
    color: #8a6d3b;
    margin: 0 0 8px 0;
    font-size: 1.2rem;
    font-weight: 700;
}

.membership-notice p {
    color: #8a6d3b;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Google Form Button */
.google-form-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #4285f4 0%, #34a853 50%, #fbbc05 75%, #ea4335 100%);
    background-size: 200% 100%;
    color: #fff;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.4s ease;
    box-shadow: 0 6px 25px rgba(66, 133, 244, 0.4);
    position: relative;
    overflow: hidden;
}

.google-form-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.5s ease;
}

.google-form-btn:hover::before {
    left: 100%;
}

.google-form-btn:hover {
    background-position: 100% 0;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 35px rgba(66, 133, 244, 0.5);
}

.google-form-btn i:first-child {
    font-size: 1.4rem;
}

.google-form-btn i:last-child {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.google-form-btn:hover i:last-child {
    transform: translateX(5px);
}

/* Additional Info */
.additional-info {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-left: 4px solid var(--primary-color);
    border-radius: 8px;
    padding: 20px 25px;
    margin-bottom: 35px;
}

.additional-info p {
    margin: 0;
    font-size: 1rem;
    color: #555;
    line-height: 1.8;
}

/* Privacy Notice Box */
.privacy-notice-box {
    margin-top: 35px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 2px solid #e0e0e0;
}

.privacy-text {
    margin: 0 0 20px 0;
    font-size: 0.95rem;
    color: #555;
    line-height: 1.8;
    text-align: left;
}

.privacy-text a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.privacy-text a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.consent-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.consent-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.95rem;
    color: #333;
    transition: color 0.3s ease;
}

.consent-label:hover {
    color: var(--primary-color);
}

.consent-checkbox {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.consent-label span {
    user-select: none;
}



/* ===================================
   送信完了ページ
====================================== */
.thanks-page-main {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 152px);
    padding: 40px 20px;
    background-color: var(--bg-color-light);
}

.thanks-box {
    text-align: center;
    background: #fff;
    padding: 40px 50px;
    border-radius: 12px;
    box-shadow: 0 8px 35px rgba(0, 0, 0, 0.12);
    max-width: 500px;
    width: 100%;
}

.thanks-icon {
    font-size: 4.5rem;
    color: #28a745;
    margin-bottom: 25px;
    line-height: 1;
}

.thanks-box h2 {
    font-size: 1.8rem;
    margin-top: 0;
    margin-bottom: 20px;
    line-height: 1.5;
}

.thanks-box p {
    margin-bottom: 35px;
    color: #555;
    line-height: 1.8;
}

/* ===================================
   入会希望セクション
====================================== */
.membership-section {
    background: linear-gradient(135deg, var(--primary-color), #F39C12);
    padding: 50px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.membership-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="80" r="1.5" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: 100px 100px;
    animation: float 20s linear infinite;
}

.membership-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.membership-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 15px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.membership-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 30px 0;
    line-height: 1.6;
}

.membership-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: var(--primary-color);
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.membership-btn:hover {
    background: var(--secondary-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}

.membership-btn i {
    font-size: 1rem;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
    .membership-section {
        padding: 40px 15px;
    }

    .membership-title {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .membership-subtitle {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .membership-btn {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

/* ===================================
   フッターとSNSリンク
====================================== */
.footer {
    background-color: var(--secondary-color);
    color: #fff;
    text-align: center;
    padding: 30px 0;
    font-size: 0.9rem;
}

.social-links {
    text-align: center;
    margin-bottom: 20px;
}

.social-links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    margin: 0 10px;
    background-color: #fff;
    color: var(--secondary-color);
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
}

/* フッターのプライバシーポリシー・利用規約リンクのスタイル */
.footer p a {
    color: #fff;
    text-decoration: underline;
    transition: color 0.3s ease, opacity 0.3s ease;
    opacity: 0.9;
}

.footer p a:hover {
    color: var(--primary-color);
    opacity: 1;
    text-decoration: underline;
}

/* ==================================================
    ↓↓↓ スマホ対応用のスタイル（全ページ共通） ↓↓↓
=====================================================*/
@media screen and (max-width: 900px) {

    /* --- 全般的な調整 --- */
    .section {
        padding: 60px 20px;
    }

    body {
        font-size: 16px;
    }

    .header-logo h1 {
        font-size: 1.2rem;
    }

    .logo-character {
        height: 40px;
    }

    /* --- ヘッダーとハンバーガーメニュー --- */
    .header-nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: #fff;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        /* 上から表示 */
        padding-top: 100px;
        /* ヘッダーの高さ分、下に余白 */
        text-align: left;
        transform: translateX(100%);
        transition: transform 0.4s ease-in-out;
        z-index: 100;
    }

    .header-nav.is-active {
        transform: translateX(0);
    }

    .header-nav ul {
        flex-direction: column;
        gap: 0;
        align-items: flex-start;
    }

    .header-nav ul li a {
        font-size: 1.1rem;
        padding: 15px 30px;
        width: 100%;
        box-sizing: border-box;
    }

    .hamburger-btn {
        display: block;
        cursor: pointer;
        background: none;
        border: none;
        width: 30px;
        height: 21px;
        position: relative;
        z-index: 110;
    }

    .hamburger-btn span {
        display: block;
        width: 100%;
        height: 3px;
        background-color: var(--secondary-color);
        border-radius: 2px;
        position: absolute;
        transition: all 0.4s;
    }

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

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

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

    .hamburger-btn.is-active span {
        background-color: var(--secondary-color);
    }

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

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

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

    /* --- 各セクションの調整 --- */
    .hero {
        padding: 80px 20px;
    }

    .hero-title {
        font-size: 2.2rem;
        line-height: 1.4;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title,
    .page-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .card-grid {
        flex-direction: column;
        align-items: center;
    }

    /* メンバー紹介の調整 */
    .member-table thead {
        display: none;
    }

    .member-table tr {
        display: block;
        border: 1px solid #ddd;
        border-radius: 8px;
        padding: 15px;
        margin-bottom: 15px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    }

    .member-table td {
        display: block;
        text-align: left;
        padding: 8px 0;
        border-bottom: none;
    }

    .member-table td:last-child {
        padding-bottom: 0;
    }

    .member-table td:nth-of-type(1)::before {
        content: "役職： ";
        font-weight: 700;
        color: var(--primary-color);
    }

    .member-table td:nth-of-type(2)::before {
        content: "氏名： ";
        font-weight: 700;
        color: var(--primary-color);
    }

    .member-table td:nth-of-type(3)::before {
        content: "勤務先： ";
        font-weight: 700;
        color: var(--primary-color);
    }

    /* タイムラインの調整 */
    .timeline {
        padding: 40px 10px;
    }

    .timeline::before {
        left: 25px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 60px;
        padding-right: 15px;
    }

    .timeline-item:nth-child(even) {
        left: 0;
    }

    .timeline-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        left: 15px;
    }

    .timeline-item:nth-child(odd) .timeline-icon,
    .timeline-item:nth-child(even) .timeline-icon {
        right: auto;
        left: 15px;
    }

    .timeline-content {
        padding: 15px 20px;
    }

    .timeline-content::before {
        top: 20px;
    }

    .timeline-item:nth-child(odd) .timeline-content::before,
    .timeline-item:nth-child(even) .timeline-content::before {
        left: -10px;
        border-width: 8px 10px 8px 0;
    }

    /* 活動ギャラリーの調整 */
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    /* お問い合わせページ（Google Form）の調整 */
    .form-card {
        padding: 35px 25px;
    }

    .form-card-title {
        font-size: 1.6rem;
    }

    .form-description {
        font-size: 1rem;
    }

    .info-cards {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .membership-notice {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .membership-notice i {
        margin-top: 0;
    }

    .google-form-btn {
        padding: 15px 30px;
        font-size: 1.1rem;
        width: 100%;
        justify-content: center;
    }



    .additional-info {
        padding: 15px 20px;
        margin-bottom: 25px;
    }

    .additional-info p {
        font-size: 0.95rem;
    }

    .privacy-notice-box {
        padding: 20px;
        margin-top: 25px;
    }

    .privacy-text {
        font-size: 0.9rem;
    }

    /* 送信完了ページの調整 */
    .thanks-box {
        padding: 30px 25px;
    }

    .thanks-box h2 {
        font-size: 1.5rem;
    }

    .thanks-icon {
        font-size: 4rem;
    }

    /* ブログセクションのスマホ対応 */
    .blog-banner-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .blog-banner-title {
        font-size: 1.8rem;
    }

    .blog-btn {
        font-size: 1rem;
        padding: 12px 24px;
    }
}

/* ===================================
   ブログセクション
====================================== */
.blog-highlight {
    background: var(--blog-gradient);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.blog-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="80" r="1.5" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: 100px 100px;
    animation: float 20s linear infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    100% {
        transform: translateY(-100px);
    }
}

.blog-banner {
    position: relative;
    z-index: 1;
}

.blog-banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.blog-banner-text {
    flex: 1;
}

.blog-banner-title {
    font-size: 2.5rem;
    margin: 0 0 15px 0;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.blog-banner-subtitle {
    font-size: 1.2rem;
    margin: 0 0 15px 0;
    opacity: 0.9;
    font-weight: 500;
}

.blog-banner-description {
    font-size: 1rem;
    margin: 0;
    opacity: 0.8;
    line-height: 1.6;
}

.blog-banner-action {
    flex-shrink: 0;
}

.blog-btn {
    display: inline-flex;
    align-items: center;
    background: #fff;
    color: var(--primary-color);
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
}

.blog-btn:hover {
    background: transparent;
    color: #fff;
    border-color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.blog-btn i {
    margin-right: 10px;
    font-size: 1rem;
}

/* ナビゲーションのブログリンク */
.blog-link {
    position: relative;
    color: var(--primary-color) !important;
    font-weight: 700 !important;
}

.blog-link::after {
    content: 'NEW';
    position: absolute;
    top: -8px;
    right: -25px;
    background: var(--primary-color);
    color: #fff;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: 700;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* ===================================
   ブログページ
====================================== */
.page-header {
    background: var(--blog-gradient);
    color: #fff;
    text-align: center;
    padding: 80px 20px;
    border-bottom: 5px solid var(--primary-color);
}

.page-header h1 {
    font-size: 2.5rem;
    margin: 0 0 15px 0;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.page-header p {
    font-size: 1.2rem;
    margin: 0;
    opacity: 0.9;
}

.blog-posts {
    max-width: 800px;
    margin: 0 auto;
}

.blog-post {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    padding: 30px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.blog-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 35px rgba(0, 0, 0, 0.12);
}

.blog-post-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.blog-post-meta time {
    color: #666;
}

.blog-post-category {
    background: var(--primary-color);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.blog-post-title {
    font-size: 1.5rem;
    margin: 0 0 20px 0;
    color: var(--secondary-color);
    line-height: 1.4;
}

.blog-post-content {
    color: #555;
    line-height: 1.8;
}

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

.blog-post-content p:last-child {
    margin-bottom: 0;
}

.blog-placeholder {
    background: var(--bg-color-light);
    border: 2px dashed #ddd;
    border-radius: 12px;
    padding: 60px 30px;
    text-align: center;
    margin-top: 40px;
}

.placeholder-content i {
    font-size: 3rem;
    color: #ccc;
    margin-bottom: 20px;
}

.placeholder-content h3 {
    font-size: 1.3rem;
    margin: 0 0 15px 0;
    color: #666;
}

.placeholder-content p {
    color: #888;
    margin: 0;
    line-height: 1.6;
}

/* ===================================
   ブログページ専用スタイル
====================================== */
/* ブログヒーロー */
.blog-hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)), url('images/ajiyoshi_activities.jpg');
}

/* ブロググリッド */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 35px;
    margin-top: 20px;
}

/* ブログカード */
.blog-card {
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* ブログカード画像 */
.blog-card-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
    position: relative;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.1);
}

/* カテゴリーバッジ */
.blog-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, var(--primary-color), #F39C12);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

/* ブログカードコンテンツ */
.blog-card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* ブログ日付 */
.blog-date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 12px;
}

.blog-date i {
    color: var(--primary-color);
}

/* ブログタイトル */
.blog-title {
    font-size: 1.35rem;
    margin: 0 0 15px 0;
    line-height: 1.5;
    color: var(--secondary-color);
    font-weight: 700;
    transition: color 0.3s ease;
}

.blog-card:hover .blog-title {
    color: var(--primary-color);
}

/* ブログ抜粋 */
.blog-excerpt {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* ブログメタ情報 */
.blog-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    font-size: 0.9rem;
    color: #888;
}

.blog-location {
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-location i {
    color: var(--primary-color);
}

/* 続きを読むボタン（オプション） */
.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    margin-top: 15px;
    transition: all 0.3s ease;
}

.read-more:hover {
    gap: 12px;
    color: #d35400;
}

.read-more i {
    transition: transform 0.3s ease;
}

.read-more:hover i {
    transform: translateX(5px);
}

/* ブログページのスマホ対応 */
@media screen and (max-width: 900px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .blog-card-image {
        height: 200px;
    }

    .blog-title {
        font-size: 1.2rem;
    }

    .blog-card-content {
        padding: 20px;
    }
}

@media screen and (max-width: 600px) {
    .blog-card-image {
        height: 180px;
    }

    .blog-category {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
}

/* ===================================
   個別ブログ記事ページ
====================================== */

/* パンくずリスト */
.breadcrumb {
    background-color: var(--bg-color-light);
    padding: 15px 0;
    font-size: 0.9rem;
}

.breadcrumb .container {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: #d35400;
    text-decoration: underline;
}

.breadcrumb .separator {
    color: #999;
}

.breadcrumb .current {
    color: #666;
}

/* 記事ヘッダー */
.blog-post-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 40px 0 30px;
    border-bottom: 3px solid var(--primary-color);
}

.blog-post-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.blog-category-badge {
    display: inline-block;
    background: var(--blog-gradient);
    color: #fff;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
}

.blog-post-title {
    font-size: 2.5rem;
    margin: 0 0 20px 0;
    color: var(--secondary-color);
    line-height: 1.4;
}

.blog-post-author {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 0.95rem;
}

.blog-post-author i {
    color: var(--primary-color);
}

/* サムネイル画像 - テンプレート変数が置換されている場合のみ表示 */
.blog-post-thumbnail {
    max-width: 700px;
    margin: 0 auto 40px;
    text-align: center;
}

.blog-post-thumbnail img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* サムネイル画像のsrcが壊れている場合（テンプレート変数未置換）は非表示 */
.blog-post-thumbnail img[src*="{{"] {
    display: none;
}

/* 記事本文 */
.blog-post-content {
    padding: 40px 0;
}

/* ブログ記事のコンテナ幅を700pxに制限 */
.blog-post-content .container {
    max-width: 700px;
}

.blog-post-content h1 {
    font-size: 2rem;
    margin: 40px 0 20px 0;
    color: var(--secondary-color);
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 10px;
}

.blog-post-content h2 {
    font-size: 1.6rem;
    margin: 35px 0 18px 0;
    color: var(--secondary-color);
    border-left: 5px solid var(--primary-color);
    padding-left: 15px;
}

.blog-post-content h3 {
    font-size: 1.3rem;
    margin: 30px 0 15px 0;
    color: var(--secondary-color);
}

.blog-post-content p {
    margin: 0 0 20px 0;
    line-height: 1.9;
    font-size: 1.05rem;
    color: #333;
}

.blog-post-content ul {
    margin: 20px 0;
    padding-left: 30px;
}

.blog-post-content li {
    margin: 10px 0;
    line-height: 1.8;
}

.blog-post-content blockquote {
    background: #f8f9fa;
    border-left: 5px solid var(--primary-color);
    padding: 20px 25px;
    margin: 25px 0;
    font-style: italic;
    color: #555;
}

.blog-post-content pre {
    background: #2d2d2d;
    color: #f8f8f2;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 25px 0;
}

.blog-post-content code {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

.blog-content-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 12px;
    margin: 30px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* ブログ記事内の画像サイズ統一 */
.blog-post-content img {
    max-width: min(600px, 100%);
    max-height: 450px;
    width: auto;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.blog-post-content p:has(> img) {
    text-align: center;
    margin: 25px 0;
}

/* スマホ対応：記事内画像 */
@media screen and (max-width: 768px) {
    .blog-post-content img {
        max-height: 350px;
    }
}

.blog-post-content a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.blog-post-content a:hover {
    color: #d35400;
    text-decoration: underline;
}

.blog-post-content strong {
    font-weight: 700;
    color: var(--secondary-color);
}

.blog-post-content em {
    font-style: italic;
    color: #555;
}

/* 記事フッター */
.blog-post-footer {
    padding: 40px 0;
    border-top: 2px solid #eee;
}

.back-to-blog-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--primary-color);
    color: #fff;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(230, 126, 34, 0.3);
}

.back-to-blog-btn:hover {
    background-color: #d35400;
    transform: translateY(-2px);
    box-shadow: 0 7px 20px rgba(230, 126, 34, 0.4);
}

.back-to-blog-btn i {
    transition: transform 0.3s;
}

.back-to-blog-btn:hover i {
    transform: translateX(-5px);
}

/* 続きを読むボタン */
.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--blog-gradient);
    color: #fff;
    padding: 10px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s;
    box-shadow: 0 3px 12px rgba(230, 126, 34, 0.3);
    margin-top: 15px;
}

.read-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(230, 126, 34, 0.4);
}

.read-more-btn i {
    transition: transform 0.3s;
}

.read-more-btn:hover i {
    transform: translateX(5px);
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
    .blog-post-title {
        font-size: 1.8rem;
    }

    .blog-post-content h1 {
        font-size: 1.6rem;
    }

    .blog-post-content h2 {
        font-size: 1.3rem;
    }

    .blog-post-content h3 {
        font-size: 1.1rem;
    }

    .breadcrumb {
        font-size: 0.85rem;
    }

    .blog-post-meta {
        gap: 12px;
    }
}