/* ===================================
   Reset & Base Styles
   =================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #3b82f6;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --success-color: #10b981;
    --warning-color: #f59e0b;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
    -webkit-tap-highlight-color: rgba(37, 99, 235, 0.1);
}

ul {
    list-style: none;
}


/* Better touch target for all clickable elements */

button,
input[type="submit"],
input[type="button"],
.btn-primary,
.btn-secondary,
.btn-login,
.btn-register {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}


/* Prevent text selection on buttons */

button,
.btn-primary,
.btn-secondary {
    user-select: none;
    -webkit-user-select: none;
}


/* ===================================
   Header & Navigation
   =================================== */

.header {
    background: var(--bg-white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background: white;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.header-top-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-icon {
    height: 45px;
    width: 45px;
    display: block;
    flex-shrink: 0;
}

.logo-text-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.logo-company {
    font-size: 22px;
    font-weight: 700;
    color: #1f2937;
    line-height: 1;
}

.logo-badge {
    background: #dc2626;
    color: white;
    font-size: 8px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 10px;
    text-align: center;
    letter-spacing: 0.5px;
    font-family: Arial, sans-serif;
    line-height: 1;
}

.logo img {
    height: 55px;
    width: auto;
    display: block;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.social-auth {
    display: flex;
    align-items: center;
    gap: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: var(--text-light);
    font-size: 20px;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--primary-color);
}

.auth-buttons {
    display: flex;
    gap: 10px;
}

.btn-login,
.btn-register {
    padding: 8px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
}

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

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

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

.btn-register:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
}

.nav-menu {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.nav-list {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 0;
    flex-wrap: wrap;
    gap: 2px 4px;
}

.nav-list li a {
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 500;
    padding: 8px 10px;
    transition: color 0.3s;
}

.nav-list li a:hover {
    color: var(--primary-color);
}

.nav-list li a.active {
    color: var(--primary-color);
    font-weight: 700;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 6px;
}


/* 未上場企業情報 — Golden Butterfly はサブメニュー（トップメニュー圧迫を解消） */

.nav-item-dropdown {
    position: relative;
}

.nav-item-dropdown>a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

@media (min-width: 769px) {
    .nav-item-dropdown>a::after {
        content: '';
        border: solid currentColor;
        border-width: 0 1.5px 1.5px 0;
        display: inline-block;
        padding: 2.5px;
        transform: rotate(45deg);
        margin-top: -3px;
        opacity: 0.4;
    }
    .nav-submenu {
        display: none;
        position: absolute;
        top: calc(100% + 2px);
        left: 50%;
        transform: translateX(-50%);
        min-width: 220px;
        background: var(--bg-white);
        border: 1px solid var(--border-color);
        border-radius: 10px;
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
        padding: 6px 0;
        z-index: 1002;
    }
    .nav-item-dropdown:hover .nav-submenu,
    .nav-item-dropdown:focus-within .nav-submenu {
        display: block;
    }
    .nav-submenu li {
        list-style: none;
    }
    .nav-submenu a {
        display: block;
        padding: 10px 18px;
        font-size: 14px;
        font-weight: 500;
        white-space: nowrap;
        border-radius: 0;
    }
    .nav-submenu a:hover {
        background: var(--bg-light);
        color: var(--primary-color);
    }
    .nav-submenu a.active {
        background: rgba(37, 99, 235, 0.08);
        font-weight: 700;
    }
}


/* Mobile Menu Toggle */


/* Desktop/Mobile visibility toggles */

.desktop-only {
    display: flex;
}

.mobile-only {
    display: none;
}


/* Mobile Menu Toggle (Hamburger) */

.mobile-menu-toggle {
    display: none;
    width: 28px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
    flex-shrink: 0;
}

.mobile-menu-toggle span {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.25s ease, top 0.3s ease, bottom 0.3s ease;
}

.mobile-menu-toggle span:nth-child(1) {
    top: 0;
}

.mobile-menu-toggle span:nth-child(2) {
    top: 50%;
    margin-top: -1.5px;
}

.mobile-menu-toggle span:nth-child(3) {
    bottom: 0;
}

.mobile-menu-toggle:hover span {
    background: var(--primary-color);
}

.mobile-menu-toggle.active span:nth-child(1) {
    top: 50%;
    bottom: auto;
    margin-top: -1.5px;
    transform: rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-toggle.active span:nth-child(3) {
    top: 50%;
    bottom: auto;
    margin-top: -1.5px;
    transform: rotate(-45deg);
}


/* ===================================
   Hero Section
   =================================== */

.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 100px 20px;
    text-align: center;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero h2 {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 15px;
    opacity: 0.95;
}

.hero p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 40px;
    line-height: 1.8;
}


/* Hero buttons - special styling for dark background */

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

.hero .btn-primary:hover {
    background: #f0f0f0;
}

.hero .btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.hero .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    padding: 15px 35px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    background: #0056b3;
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

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

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-secondary:active {
    transform: scale(0.98);
}


/* ===================================
   Membership Benefits
   =================================== */

.membership-section {
    padding: 80px 20px;
    background: var(--bg-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.membership-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.membership-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
}

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

.membership-card.premium {
    border: 3px solid var(--primary-color);
    position: relative;
}

.card-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
    position: relative;
}

.card-header.premium {
    border-bottom-color: var(--primary-color);
}

.recommended-badge {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--warning-color);
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.card-header h3 {
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.price {
    font-size: 42px;
    font-weight: 700;
    color: var(--text-dark);
}

.price span {
    font-size: 18px;
    font-weight: 400;
    color: var(--text-light);
}

.membership-card h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.benefits-list {
    list-style: none;
}

.benefits-list li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: var(--text-dark);
}

.benefits-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

.btn-membership {
    width: 100%;
    margin-top: 25px;
    padding: 15px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-membership:hover {
    background: var(--secondary-color);
}

.btn-membership:active {
    transform: scale(0.98);
}


/* ===================================
   Sections
   =================================== */

.section {
    padding: 80px 20px;
}

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

.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 20px;
    text-align: center;
    color: var(--text-light);
    margin-bottom: 60px;
    line-height: 1.8;
}

.content-box {
    max-width: 800px;
    margin: 0 auto 60px;
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.content-box h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.content-box p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 15px;
}


/* ===================================
   Features Grid
   =================================== */

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

.feature-card {
    background: white;
    padding: 35px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

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

.feature-card:active {
    transform: translateY(-2px);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.feature-card p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.6;
}


/* ===================================
   Steps Flow
   =================================== */

.steps-container {
    max-width: 900px;
    margin: 50px auto;
}

.step-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}


/* ===================================
   News Grid
   =================================== */

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.news-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.news-date {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 15px;
}

.news-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--text-dark);
    line-height: 1.4;
}

.news-card p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
}

.read-more {
    color: var(--primary-color);
    font-weight: 600;
    transition: color 0.3s;
}

.read-more:hover {
    color: #0056b3;
}


/* ===================================
   Original Steps Section
   =================================== */

.step-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    background: var(--bg-light);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 25px;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 20px;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.step-content p {
    font-size: 15px;
    color: var(--text-light);
}


/* ===================================
   Footer
   =================================== */

.footer {
    background: var(--text-dark);
    color: white;
    padding: 50px 20px 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 20px;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

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


/* ===================================
   Disclaimer
   =================================== */

.disclaimer {
    background: #fef3c7;
    border-left: 4px solid var(--warning-color);
    padding: 20px;
    margin: 40px auto;
    max-width: 1000px;
    border-radius: 6px;
}

.disclaimer p {
    font-size: 14px;
    color: var(--text-dark);
    line-height: 1.6;
}


/* ===================================
   Forms
   =================================== */

.form-container {
    max-width: 500px;
    margin: 50px auto;
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 15px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-submit:hover {
    background: var(--secondary-color);
}

.btn-submit:active {
    transform: scale(0.98);
}


/* Checkbox styling */

.form-group input[type="checkbox"] {
    width: auto;
    margin: 0;
    flex-shrink: 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    line-height: 1.6;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 3px;
}

.checkbox-label span {
    flex: 1;
}


/* ===================================
   Member Area
   =================================== */

.member-badge {
    display: inline-block;
    background: var(--warning-color);
    color: white;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    margin-left: 10px;
}

.locked-content {
    background: var(--bg-light);
    border: 2px dashed var(--border-color);
    border-radius: 12px;
    padding: 60px 40px;
    text-align: center;
    margin: 40px 0;
}

.locked-content h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.locked-content p {
    color: var(--text-light);
    margin-bottom: 25px;
}


/* ===================================
   Responsive
   =================================== */


/* Tablet and below */

@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    .nav-list {
        gap: 8px;
    }
    .nav-list li a {
        font-size: 14px;
        padding: 6px 10px;
    }
}


/* Mobile landscape and below */

@media (max-width: 768px) {
    /* Typography */
    .hero h1 {
        font-size: 28px;
        line-height: 1.3;
    }
    .hero h2 {
        font-size: 18px;
    }
    .hero p {
        font-size: 16px;
    }
    .section-title {
        font-size: 24px;
        margin-bottom: 30px;
    }
    .section-subtitle {
        font-size: 16px;
        margin-bottom: 40px;
    }
    /* Header */
    .header-top {
        position: relative;
        padding: 0;
    }
    .header-top-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
        padding: 12px 20px;
    }
    .logo {
        flex: 0 1 auto;
        max-width: calc(100% - 50px);
    }
    .logo img {
        height: auto;
        width: 280px;
        display: block;
    }
    /* Desktop/Mobile visibility */
    .desktop-only {
        display: none !important;
    }
    .mobile-only {
        display: block;
    }
    /* Navigation */
    .mobile-menu-toggle {
        display: block !important;
        flex-shrink: 0;
    }
    .nav-menu {
        background: white;
    }
    .nav-list {
        flex-direction: column;
        gap: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-in-out;
        background: white;
    }
    .nav-list.mobile-open {
        max-height: 960px;
        padding: 10px 0;
        border-top: 1px solid var(--border-color);
    }
    .nav-list li {
        width: 100%;
        border-bottom: 1px solid var(--bg-light);
    }
    .nav-list li:last-child {
        border-bottom: none;
    }
    /* Remove border for mobile-only auth items */
    .nav-list li.mobile-only {
        border-bottom: none;
    }
    .nav-list li a {
        display: block;
        padding: 15px 20px;
        text-align: left;
    }
    .nav-list li a:hover {
        background: var(--bg-light);
    }
    .nav-item-dropdown>a::after {
        display: none;
    }
    .nav-submenu {
        display: block;
        position: static;
        transform: none;
        min-width: auto;
        border: none;
        border-radius: 0;
        box-shadow: none;
        padding: 0;
        background: var(--bg-light);
    }
    .nav-submenu li {
        border-top: 1px solid var(--border-color);
        list-style: none;
    }
    .nav-submenu a {
        padding: 12px 20px 12px 32px !important;
        font-size: 14px !important;
    }
    /* Mobile social links in menu */
    .mobile-social {
        display: flex;
        justify-content: center;
        padding: 15px 20px;
        background: var(--bg-light);
    }
    .mobile-social .social-links {
        gap: 20px;
    }
    .mobile-social .social-links a {
        font-size: 20px;
    }
    /* Mobile auth links */
    .mobile-only .nav-auth-link {
        display: block;
        padding: 12px 20px !important;
        margin: 10px 15px !important;
        text-align: center !important;
        font-weight: 600 !important;
        border-radius: 8px !important;
        transition: all 0.3s !important;
    }
    /* Login button - outlined style */
    .mobile-only .nav-auth-link:not(.btn-highlight) {
        background: white !important;
        color: var(--primary-color) !important;
        border: 2px solid var(--primary-color) !important;
    }
    .mobile-only .nav-auth-link:not(.btn-highlight):hover {
        background: var(--primary-color) !important;
        color: white !important;
    }
    /* Register button - filled style */
    .mobile-only .nav-auth-link.btn-highlight {
        background: var(--primary-color) !important;
        color: white !important;
        border: 2px solid var(--primary-color) !important;
    }
    .mobile-only .nav-auth-link.btn-highlight:hover {
        background: var(--secondary-color) !important;
        border-color: var(--secondary-color) !important;
    }
    /* Logo responsive */
    .logo-icon {
        height: 35px;
        width: 35px;
    }
    .logo-company {
        font-size: 18px;
    }
    .logo-badge {
        font-size: 7px;
        padding: 2px 8px;
    }
    /* Hero Section */
    .hero {
        padding: 60px 20px;
    }
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
    }
    /* Grids */
    .membership-cards,
    .membership-grid,
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .recommended-badge {
        top: -40px;
        font-size: 12px;
        padding: 5px 15px;
    }
    .card-header h3 {
        font-size: 24px;
    }
    .price {
        font-size: 36px;
    }
    /* Content boxes */
    .content-box {
        padding: 25px;
    }
    .content-box h3 {
        font-size: 22px;
    }
    /* Steps */
    .step-item {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    .step-number {
        margin-right: 0;
        margin-bottom: 15px;
    }
    /* News Grid */
    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    /* Forms */
    .form-container {
        padding: 30px 20px;
    }
    /* Sections */
    .section {
        padding: 50px 15px;
    }
    /* Disclaimer */
    .disclaimer {
        margin: 30px 15px;
        padding: 15px;
    }
}


/* Small mobile */

@media (max-width: 480px) {
    .hero h1 {
        font-size: 24px;
    }
    .hero h2 {
        font-size: 16px;
    }
    .hero p {
        font-size: 15px;
        line-height: 1.7;
    }
    .section-title {
        font-size: 20px;
    }
    .btn-primary,
    .btn-secondary,
    .btn-membership {
        padding: 14px 25px;
        font-size: 15px;
        min-height: 48px;
        /* Better touch target */
    }
    .btn-login,
    .btn-register {
        padding: 10px 16px;
        font-size: 13px;
    }
    .feature-icon {
        font-size: 36px;
    }
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    .membership-card,
    .feature-card {
        padding: 20px;
    }
    .social-links {
        gap: 20px;
    }
    .social-links a {
        font-size: 20px;
        padding: 8px;
        min-width: 40px;
        min-height: 40px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    .content-box {
        padding: 20px 15px;
    }
    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 16px;
        /* Prevents zoom on iOS */
    }
    .disclaimer {
        padding: 12px;
        font-size: 13px;
    }
    .member-badge {
        font-size: 11px;
        padding: 4px 10px;
    }
}


/* Landscape mobile optimization */

@media (max-width: 896px) and (orientation: landscape) {
    .hero {
        padding: 40px 20px;
    }
    .section {
        padding: 40px 15px;
    }
    .hero h1 {
        font-size: 26px;
    }
}


/* ===================================
   Utility Classes
   =================================== */

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

.mt-40 {
    margin-top: 40px;
}

.mb-40 {
    margin-bottom: 40px;
}

.highlight {
    color: var(--primary-color);
    font-weight: 600;
}


/* custom css */

.social-links {
    display: none;
}

.nav-menu:has(.nav-list.mobile-open) {
    position: fixed;
    width: 100%;
    overflow: auto;
    z-index: 9999;
    height: calc(100vh - 56px);
    top: 56px;
    left: 0;
}

@media (max-width: 768px) {
    li.mobile-only.mobile-social {
        display: none;
    }
}


/* ===================================
   日本ユニコーン推進協会（association.html／index バナー）
   デザインプレビュー確認書 v1.1 準拠
   =================================== */

:root {
    --assoc-gold: #c9a84c;
    --assoc-gold-soft: #fdf8ec;
}

.breadcrumb-bar {
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
    padding: 10px 20px;
    font-size: 13px;
    color: var(--text-light);
    max-width: 1200px;
    margin: 0 auto;
}

.breadcrumb-bar a {
    color: var(--text-light);
}

.breadcrumb-bar a:hover {
    color: var(--primary-color);
}

.breadcrumb-bar .breadcrumb-sep {
    margin: 0 8px;
    color: var(--border-color);
}

.breadcrumb-bar .breadcrumb-current {
    color: var(--text-dark);
    font-weight: 600;
}

.assoc-page-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 48px 20px 40px;
    text-align: left;
    position: relative;
}

.assoc-page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--assoc-gold), #e8c96a, var(--assoc-gold), transparent);
}

.assoc-page-hero .container {
    max-width: 900px;
    margin: 0 auto;
}

.assoc-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 12px;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 14px;
}

.assoc-hero-title {
    font-size: clamp(26px, 5vw, 36px);
    font-weight: 800;
    margin-bottom: 6px;
    line-height: 1.2;
}

.assoc-hero-en {
    font-size: 11px;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 14px;
    text-transform: uppercase;
}

.assoc-hero-lead {
    font-size: 15px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 18px;
}

.assoc-hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.assoc-hero-tag {
    font-size: 12px;
    padding: 5px 12px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 20px;
}

.assoc-launch-wrap {
    background: var(--bg-light);
    padding: 24px 20px;
}

.assoc-launch-card {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border: 1.5px solid var(--assoc-gold);
    border-radius: 10px;
    padding: 20px 22px;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.assoc-launch-date {
    text-align: center;
    padding: 12px 18px;
    background: var(--assoc-gold-soft);
    border-radius: 8px;
    flex-shrink: 0;
}

.assoc-launch-date .y {
    font-size: 11px;
    color: var(--assoc-gold);
    font-weight: 700;
}

.assoc-launch-date .d {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.1;
}

.assoc-launch-date .w {
    font-size: 11px;
    color: var(--text-light);
}

.assoc-launch-divider {
    width: 1px;
    height: 56px;
    background: rgba(201, 168, 76, 0.35);
    flex-shrink: 0;
}

.assoc-launch-body .ttl {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-dark);
}

.assoc-launch-body .txt {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
}

.assoc-section-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: var(--primary-color);
    text-transform: uppercase;
    margin-bottom: 6px;
}

.assoc-section-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.assoc-section-lead {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 18px;
}

.assoc-mission-quote {
    border-left: 4px solid var(--primary-color);
    padding: 18px 22px;
    background: var(--bg-light);
    border-radius: 0 10px 10px 0;
}

.assoc-mission-quote p {
    font-size: 15px;
    line-height: 2;
    color: var(--text-dark);
}

.assoc-mission-quote strong {
    color: var(--primary-color);
    font-weight: 700;
}

.assoc-act-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.assoc-act-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 18px;
}

.assoc-act-num {
    font-size: 22px;
    font-weight: 800;
    color: #dde8f5;
    line-height: 1;
    margin-bottom: 8px;
}

.assoc-act-card h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 6px;
}

.assoc-act-card p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.65;
}

.assoc-policy-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 22px;
}

.assoc-policy-head {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.assoc-policy-icon {
    width: 44px;
    height: 44px;
    background: var(--bg-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.assoc-policy-head .name {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 4px;
}

.assoc-policy-head .sub {
    font-size: 12px;
    color: var(--primary-color);
    font-weight: 600;
}

.assoc-policy-body {
    font-size: 15px;
    color: #4b5563;
    line-height: 1.85;
}

.assoc-mem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.assoc-mem-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 18px;
}

.assoc-mem-role {
    font-size: 10px;
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.assoc-mem-card .name {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 4px;
}

.assoc-mem-card .org {
    font-size: 12px;
    color: var(--text-light);
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.assoc-mem-card .bio {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.65;
}

.assoc-page-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 44px 20px;
    text-align: center;
}

.assoc-page-cta h2 {
    font-size: 22px;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
}

.assoc-page-cta p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.8;
    margin-bottom: 22px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.assoc-page-cta .cta-buttons {
    justify-content: center;
}

.assoc-page-cta .btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.65);
}

.assoc-page-cta .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    color: white;
    border-color: white;
}


/* index バナー */

.association-index-banner-section {
    padding-top: 48px;
    padding-bottom: 48px;
}

.assoc-banner-lbl {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: var(--primary-color);
    text-transform: uppercase;
    margin-bottom: 6px;
}

.assoc-banner-ttl {
    font-size: clamp(22px, 4vw, 28px);
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.assoc-banner-lead {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.75;
    max-width: 640px;
    margin-bottom: 22px;
}

.assoc-banner-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 22px 24px;
    display: flex;
    gap: 22px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.assoc-banner-date {
    text-align: center;
    padding: 12px 18px;
    background: var(--bg-light);
    border-radius: 8px;
    flex-shrink: 0;
}

.assoc-banner-date .y {
    font-size: 11px;
    color: var(--assoc-gold);
    font-weight: 700;
}

.assoc-banner-date .d {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.1;
}

.assoc-banner-date .lbl {
    font-size: 11px;
    color: var(--text-light);
}

.assoc-banner-divider {
    width: 1px;
    min-height: 52px;
    background: rgba(201, 168, 76, 0.28);
    flex-shrink: 0;
    align-self: center;
}

.assoc-banner-content {
    flex: 1;
    min-width: 200px;
}

.assoc-banner-content h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.assoc-banner-content .body {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.75;
    margin-bottom: 14px;
}

.assoc-banner-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.assoc-banner-tag {
    font-size: 12px;
    padding: 4px 12px;
    background: #eef3ff;
    color: #1e40af;
    border-radius: 20px;
    font-weight: 500;
}

a.assoc-banner-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 10px 20px;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
}

a.assoc-banner-link:hover {
    background: var(--primary-color);
    color: white;
}


/* GB アドバイザリー タグ */

.gb-advisory-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 10px;
    background: #eef3ff;
    border: 1px solid #b5d4f4;
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 12px;
    color: #185fa5;
    font-weight: 600;
}

@media (max-width: 768px) {
    .assoc-act-grid,
    .assoc-mem-grid {
        grid-template-columns: 1fr;
    }
    .assoc-launch-divider,
    .assoc-banner-divider {
        display: none;
    }
    .assoc-launch-card,
    .assoc-banner-card {
        flex-direction: column;
        align-items: stretch;
    }
}


/* ── 東京泰山会 認定バッジ（特設スペック） ── */

.taizankai-hero-banner {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #1f3864 0%, #2e5496 48%, #1a3056 100%);
    border-top: 3px solid #b8860b;
    border-bottom: 3px solid #b8860b;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    text-align: center;
    box-shadow: 0 8px 28px rgba(15, 35, 70, 0.18);
}

.taizankai-hero-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.06) 50%, transparent 60%);
    animation: taizankai-sheen 7s ease-in-out infinite;
    pointer-events: none;
}

@keyframes taizankai-sheen {
    0%,
    100% {
        transform: translateX(-35%);
        opacity: 0.35;
    }
    50% {
        transform: translateX(35%);
        opacity: 0.85;
    }
}

@media (prefers-reduced-motion: reduce) {
    .taizankai-hero-banner::before {
        animation: none;
        opacity: 0;
    }
}

.taizankai-hero-banner .badge-icon {
    position: relative;
    z-index: 1;
    width: 36px;
    height: 36px;
    background: linear-gradient(145deg, #daa520 0%, #b8860b 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    flex-shrink: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.taizankai-hero-banner .badge-text {
    position: relative;
    z-index: 1;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1.45;
}

.taizankai-hero-banner .badge-text span {
    color: #ffd700;
}

.taizankai-hero-banner .badge-sub {
    position: relative;
    z-index: 1;
    color: #b8cde8;
    font-size: 11px;
    margin-top: 3px;
    letter-spacing: 0.02em;
}

.taizankai-inline-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(180deg, #fffdf7 0%, #fff8e7 100%);
    border: 1.5px solid #b8860b;
    border-radius: 10px;
    padding: 12px 18px;
    margin: 0 auto 8px;
    max-width: 720px;
    box-shadow: 0 6px 20px rgba(31, 56, 100, 0.08);
}

.assoc-taizankai-wrap {
    padding: 8px 20px 20px;
    display: flex;
    justify-content: center;
}

.taizankai-inline-badge .badge-seal {
    width: 40px;
    height: 40px;
    background: linear-gradient(145deg, #2e5496 0%, #1f3864 100%);
    border-radius: 50%;
    border: 2px solid #b8860b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    color: #ffd700;
    flex-shrink: 0;
    letter-spacing: 0.02em;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.taizankai-inline-badge .badge-main {
    font-size: 13px;
    font-weight: 700;
    color: #1f3864;
    line-height: 1.45;
}

.taizankai-inline-badge .badge-sub2 {
    font-size: 11px;
    color: #8a6d1f;
    margin-top: 4px;
    line-height: 1.5;
}

.footer-links .taizankai-footer-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #ffd700;
    background: rgba(184, 134, 11, 0.18);
    border: 1px solid #b8860b;
    border-radius: 6px;
    padding: 6px 12px;
    margin-top: 10px;
    margin-bottom: 4px;
}

.footer-links .taizankai-footer-badge::before {
    content: "🏛";
    font-size: 13px;
}

@media (max-width: 768px) {
    .taizankai-hero-banner .badge-text {
        font-size: 12px;
    }
    .footer-links .taizankai-footer-badge {
        display: none;
    }
}


/* ── 会社概要ページ（company_profile スペック） ── */

.cp-page-hero {
    background: linear-gradient(180deg, #ffffff 0%, #f4f7fb 100%);
    border-bottom: 1px solid var(--border-color);
    padding: 48px 20px 32px;
    text-align: center;
}

.cp-page-hero h1 {
    font-size: 28px;
    font-weight: 800;
    color: #1f3864;
    margin-bottom: 10px;
    letter-spacing: 0.02em;
}

.cp-page-hero p {
    font-size: 15px;
    color: var(--text-muted);
}

.cp-taizankai-banner {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #1f3864 0%, #2e5496 100%);
    border-top: 3px solid #b8860b;
    border-bottom: 3px solid #b8860b;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    text-align: center;
}

.cp-taizankai-banner .badge-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(145deg, #daa520 0%, #b8860b 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    flex-shrink: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.cp-taizankai-banner .badge-main {
    color: #ffd700;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.cp-taizankai-banner .badge-main em {
    color: #ffffff;
    font-style: normal;
}

.cp-taizankai-banner .badge-sub {
    color: #b8cde8;
    font-size: 11px;
    margin-top: 3px;
}

.cp-content-wrap {
    max-width: 900px;
    margin: 0 auto;
    padding: 36px 20px 56px;
}

.cp-sec-title {
    font-size: 17px;
    font-weight: 800;
    color: #1f3864;
    padding-left: 14px;
    border-left: 4px solid #1f3864;
    margin: 40px 0 18px;
}

.cp-sec-title:first-of-type {
    margin-top: 0;
}

.cp-info-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 18px rgba(15, 35, 70, 0.06);
}

.cp-info-table tr {
    border-bottom: 1px solid #e8eaef;
}

.cp-info-table tr:last-child {
    border-bottom: none;
}

.cp-info-table th {
    width: 140px;
    padding: 14px 18px;
    font-size: 13px;
    font-weight: 600;
    color: #555;
    background: #f0f3f9;
    text-align: left;
    vertical-align: top;
    white-space: nowrap;
}

.cp-info-table td {
    padding: 14px 18px;
    font-size: 13px;
    color: #333;
    vertical-align: top;
    line-height: 1.85;
}

.cp-mission-box {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-left: 5px solid #1f3864;
    border-radius: 12px;
    padding: 22px 22px 20px;
    margin-bottom: 16px;
    box-shadow: 0 4px 16px rgba(15, 35, 70, 0.05);
}

.cp-mission-box.cp-vision {
    border-left-color: #b8860b;
}

.cp-mission-box .cp-label {
    font-size: 11px;
    font-weight: 800;
    color: #1f3864;
    letter-spacing: 0.12em;
    margin-bottom: 8px;
}

.cp-mission-box.cp-vision .cp-label {
    color: #b8860b;
}

.cp-mission-box .cp-text {
    font-size: 15px;
    color: #1f3864;
    line-height: 1.9;
}

.cp-member-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 8px;
}

.cp-member-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 22px 18px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cp-member-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(31, 56, 100, 0.1);
}

.cp-member-avatar {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #e8eef8;
    border: 2px solid #1f3864;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 800;
    color: #1f3864;
    margin: 0 auto 14px;
}

.cp-member-name {
    font-size: 16px;
    font-weight: 800;
    color: #1f3864;
    margin-bottom: 6px;
}

.cp-member-role {
    display: inline-block;
    font-size: 11px;
    color: #2e5496;
    background: #e8eef8;
    padding: 3px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
    font-weight: 600;
}

.cp-member-desc {
    font-size: 12px;
    color: #555;
    line-height: 1.75;
    text-align: left;
}

.cp-map-box {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 8px;
    box-shadow: 0 4px 18px rgba(15, 35, 70, 0.06);
}

.cp-map-box-header {
    background: linear-gradient(90deg, #1f3864 0%, #2e5496 100%);
    padding: 12px 18px;
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
}

.cp-map-box-body {
    padding: 20px;
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.cp-map-info {
    flex: 1;
    min-width: 200px;
}

.cp-map-info .cp-info-label {
    font-size: 11px;
    color: #888;
    font-weight: 700;
    letter-spacing: 0.06em;
    margin-bottom: 6px;
    margin-top: 14px;
}

.cp-map-info .cp-info-label:first-child {
    margin-top: 0;
}

.cp-map-info p {
    font-size: 13px;
    color: #333;
    line-height: 1.85;
}

.cp-map-embed {
    flex: 1;
    min-width: 260px;
    min-height: 200px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.cp-map-embed iframe {
    width: 100%;
    height: 100%;
    min-height: 200px;
    border: none;
    display: block;
}

.cp-history-wrap {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 8px 18px;
    margin-bottom: 8px;
    box-shadow: 0 4px 16px rgba(15, 35, 70, 0.05);
}

.cp-history-row {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: 14px 0;
    border-bottom: 1px solid #f0f0f0;
}

.cp-history-row:last-child {
    border-bottom: none;
}

.cp-h-date {
    font-size: 12px;
    font-weight: 800;
    color: #1f3864;
    min-width: 120px;
    padding-top: 2px;
    flex-shrink: 0;
}

.cp-h-text {
    font-size: 13px;
    color: #333;
    line-height: 1.75;
}

.cp-h-badge {
    display: inline-block;
    font-size: 10px;
    background: #fff8e7;
    color: #8a6d1f;
    border: 1px solid #b8860b;
    border-radius: 20px;
    padding: 2px 10px;
    margin-left: 8px;
    vertical-align: middle;
    font-weight: 700;
}

.cp-cta-bar {
    background: linear-gradient(90deg, #1f3864 0%, #243d5c 100%);
    padding: 32px 24px;
    text-align: center;
    margin-top: 0;
}

.cp-cta-bar p {
    font-size: 15px;
    color: #b8cde8;
    margin-bottom: 16px;
    line-height: 1.7;
}

.cp-cta-btn {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    color: #1f3864;
    background: linear-gradient(145deg, #ffd700 0%, #daa520 100%);
    border: none;
    border-radius: 8px;
    padding: 12px 32px;
    cursor: pointer;
    text-decoration: none;
    margin: 6px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.cp-cta-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
}

.cp-cta-btn.cp-outline {
    background: transparent;
    border: 1px solid #b8cde8;
    color: #e8f0ff;
    box-shadow: none;
}

.cp-cta-btn.cp-outline:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-1px);
}

@media (max-width: 600px) {
    .cp-taizankai-banner .badge-main {
        font-size: 12px;
    }
    .cp-info-table th {
        width: 100px;
        font-size: 12px;
    }
    .cp-info-table td {
        font-size: 12px;
    }
    .cp-member-grid {
        grid-template-columns: 1fr;
    }
    .cp-h-date {
        min-width: 92px;
        font-size: 11px;
    }
}