/* ==================================
   RAMEXperts™️ - Corporate DRAM Solutions
   専門雑誌風グラフィカルデザイン
   ================================== */

/* リセット & 基本スタイル */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* カラーパレット - 紺×白 ハイコントラスト */
    --primary-navy: #001f3f;
    --secondary-navy: #003d7a;
    --accent-blue: #0074D9;
    --accent-cyan: #39CCCC;
    --text-dark: #111;
    --text-light: #fff;
    --text-gray: #555;
    --bg-white: #ffffff;
    --bg-off-white: #f8f9fa;
    --bg-light-gray: #e9ecef;
    --border-color: #dee2e6;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.16);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.2);
    
    /* タイポグラフィ */
    --font-primary: 'Noto Sans JP', sans-serif;
    --font-secondary: 'Inter', sans-serif;
    
    /* トランジション */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

/* コンテナ */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* セクションスタイル */
section {
    padding: 100px 0;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--primary-navy);
    text-align: center;
    margin-bottom: 20px;
    font-family: var(--font-secondary);
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-gray);
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* ボタンスタイル */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-medium);
    text-align: center;
    font-family: var(--font-secondary);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-blue), var(--secondary-navy));
    color: var(--text-light);
    box-shadow: var(--shadow-md);
    position: relative;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50px;
    background: inherit;
    opacity: 0.7;
    animation: pulse 2s ease-in-out infinite;
    z-index: -1;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.05);
        opacity: 0;
    }
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, #0055AA, #0077DD);
}

.btn-primary:hover::before {
    animation: none;
}

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

.btn-outline:hover {
    background: var(--primary-navy);
    color: var(--text-light);
}

/* ヒーローセクション内のアウトラインボタン */
.hero-cta .btn-outline {
    color: var(--text-light);
    border: 2px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.hero-cta .btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--text-light);
    color: var(--text-light);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 20px 50px;
    font-size: 1.2rem;
    font-weight: 700;
    min-width: 240px;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* ナビゲーション */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 31, 63, 0.98);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    z-index: 1000;
    box-shadow: var(--shadow-md);
}

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

.nav-brand {
    display: flex;
    flex-direction: column;
}

.logo {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--text-light);
    font-family: var(--font-secondary);
    letter-spacing: -0.03em;
}

.trademark {
    font-size: 0.8em;
    vertical-align: super;
}

.tagline {
    font-size: 0.75rem;
    color: var(--accent-cyan);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: -5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-menu a {
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.nav-menu a:hover {
    color: var(--accent-cyan);
}

.nav-cta {
    background: var(--accent-cyan);
    color: var(--primary-navy) !important;
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 700;
}

.nav-cta:hover {
    background: var(--text-light);
    transform: translateY(-2px);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--text-light);
    border-radius: 2px;
    transition: var(--transition-fast);
}

/* ヒーローセクション */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: 80px;
}

.scroll-hint {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 2rem;
    animation: bounce 2s infinite;
    cursor: pointer;
    z-index: 10;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-15px);
    }
    60% {
        transform: translateX(-50%) translateY(-7px);
    }
}

.scroll-hint:hover {
    color: var(--accent-cyan);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 31, 63, 0.94), rgba(0, 61, 122, 0.88));
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--text-light);
    padding: 40px 0 60px 0;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-catchcopy {
    font-size: 1.6rem;
    font-weight: 700;
    color: #FFD700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8), 0 0 20px rgba(255, 215, 0, 0.3);
    line-height: 1.5;
    letter-spacing: 0.5px;
    animation: fadeInUp 0.8s ease;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
    font-family: var(--font-secondary);
    animation: fadeInUp 0.8s ease;
}

.highlight {
    color: var(--accent-cyan);
    display: block;
    margin-top: 10px;
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: 35px;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin: 0;
    padding-top: 30px;
    animation: fadeInUp 0.8s ease 0.8s both;
}

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

.stat-number {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--accent-cyan);
    font-family: var(--font-secondary);
    line-height: 1;
}

.stat-label {
    font-size: 0.95rem;
    margin-top: 10px;
    opacity: 0.9;
    font-weight: 500;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 35px 0 40px 0;
    animation: fadeInUp 0.8s ease 0.6s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 強みセクション */
.strengths {
    background: var(--bg-off-white);
}

.strengths-grid {
    display: grid;
    gap: 80px;
}

.strength-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-medium);
}

.strength-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-5px);
}

.strength-card.reverse {
    direction: rtl;
}

.strength-card.reverse .strength-content {
    direction: ltr;
}

.strength-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.strength-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.strength-card:hover .strength-image img {
    transform: scale(1.08);
}

.strength-content {
    padding: 60px;
}

.strength-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-blue), var(--secondary-navy));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.strength-icon i {
    font-size: 2.5rem;
    color: var(--text-light);
}

.strength-content h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-navy);
    margin-bottom: 20px;
    font-family: var(--font-secondary);
}

.strength-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 25px;
}

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

.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.feature-list i {
    color: var(--accent-blue);
    font-size: 1.1rem;
}

/* サービスフローセクション */
.service-flow {
    background: linear-gradient(135deg, var(--primary-navy), var(--secondary-navy));
    color: var(--text-light);
}

.service-flow .section-title {
    color: var(--text-light);
}

.service-flow .section-subtitle {
    color: rgba(255, 255, 255, 0.85);
}

.flow-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.flow-step {
    text-align: center;
    flex: 1;
    position: relative;
}

.flow-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--accent-cyan);
    font-family: var(--font-secondary);
    opacity: 0.3;
    margin-bottom: -10px;
}

.flow-icon {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    border: 3px solid var(--accent-cyan);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: var(--transition-medium);
}

.flow-step:hover .flow-icon {
    background: var(--accent-cyan);
    transform: scale(1.1);
}

.flow-icon i {
    font-size: 2.5rem;
    color: var(--accent-cyan);
    transition: var(--transition-medium);
}

.flow-step:hover .flow-icon i {
    color: var(--primary-navy);
}

.flow-step h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.flow-step p {
    font-size: 0.95rem;
    opacity: 0.85;
}

.flow-arrow {
    font-size: 2rem;
    color: var(--accent-cyan);
    opacity: 0.5;
    flex: 0 0 50px;
}

/* 製品セクション */
.products {
    background: var(--bg-white);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.product-card {
    background: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-medium);
    border: 2px solid transparent;
    display: block;
    color: inherit;
    text-decoration: none;
}

.product-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-8px);
    border-color: var(--accent-blue);
}

.product-card.highlight {
    border-color: var(--accent-cyan);
    box-shadow: var(--shadow-lg);
}

.product-header {
    background: linear-gradient(135deg, var(--primary-navy), var(--secondary-navy));
    color: var(--text-light);
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.product-header i {
    font-size: 2rem;
}

.product-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
    font-family: var(--font-secondary);
}

.product-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

.product-content {
    padding: 30px;
}

.product-content p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-gray);
    margin-bottom: 20px;
}

.product-features {
    list-style: none;
}

.product-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.product-features i {
    color: var(--accent-blue);
}

/* 業界動向セクション */
.industry-news {
    background: var(--bg-off-white);
}

.news-header {
    text-align: center;
    margin-bottom: 60px;
}

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

.news-card {
    background: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-medium);
    cursor: pointer;
    border: 2px solid transparent;
}

.news-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-8px);
    border-color: var(--accent-blue);
}

.news-image {
    position: relative;
    width: 100%;
    height: 260px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

.news-category {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--accent-cyan);
    color: var(--primary-navy);
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.news-content {
    padding: 30px;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.news-date {
    font-size: 0.85rem;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    gap: 6px;
}

.news-badge {
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.news-badge.hot {
    background: #FFD700;
    color: var(--primary-navy);
}

.news-badge.urgent {
    background: #FF4136;
    color: var(--text-light);
}

.news-badge.warning {
    background: #FF851B;
    color: var(--text-light);
}

.news-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 15px;
    line-height: 1.4;
    font-family: var(--font-secondary);
}

.news-content > p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-gray);
    margin-bottom: 20px;
}

.news-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.read-more {
    color: var(--accent-blue);
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-fast);
}

.news-card:hover .read-more {
    gap: 12px;
}

.news-sources {
    font-size: 0.8rem;
    color: var(--text-gray);
}

.news-sources i {
    color: var(--accent-blue);
}

/* お問い合わせセクション */
.contact {
    background: var(--bg-white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: start;
}

.contact-info h2 {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-navy);
    margin-bottom: 20px;
    font-family: var(--font-secondary);
}

.contact-description {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 40px;
}

.contact-features {
    margin-bottom: 40px;
}

.contact-feature {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-feature i {
    font-size: 1.5rem;
    color: var(--accent-blue);
    flex-shrink: 0;
    margin-top: 5px;
}

.contact-feature h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 5px;
}

.contact-feature p {
    font-size: 0.95rem;
    color: var(--text-gray);
}

.contact-stats {
    display: flex;
    gap: 30px;
}

.contact-stat {
    text-align: center;
    padding: 20px;
    background: var(--bg-off-white);
    border-radius: 12px;
    flex: 1;
}

.contact-stat i {
    font-size: 2rem;
    color: var(--accent-blue);
    margin-bottom: 10px;
}

.contact-stat span {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-navy);
    margin-bottom: 5px;
    font-family: var(--font-secondary);
}

.contact-stat small {
    font-size: 0.85rem;
    color: var(--text-gray);
}

.contact-form-wrapper {
    background: var(--bg-off-white);
    padding: 50px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--primary-navy);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.required {
    color: #FF4136;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: var(--transition-fast);
    background: var(--bg-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(0, 116, 217, 0.1);
}

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

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.form-note {
    font-size: 0.85rem;
    color: var(--text-gray);
    text-align: center;
    margin-top: 10px;
}

.form-note i {
    color: var(--accent-blue);
    margin-right: 5px;
}

/* フッター */
.footer {
    background: var(--primary-navy);
    color: var(--text-light);
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 80px;
    margin-bottom: 50px;
}

.footer-brand .logo {
    margin-bottom: 10px;
}

.footer-brand .tagline {
    margin-bottom: 20px;
}

.footer-description {
    font-size: 0.95rem;
    line-height: 1.8;
    opacity: 0.85;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-col h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--accent-cyan);
}

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

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.footer-col ul li a:hover {
    color: var(--accent-cyan);
    padding-left: 5px;
}

/* 決済方法セクション */
.payment-methods-section {
    padding: 40px 0 30px;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.payment-methods-section h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 25px;
    opacity: 0.9;
}

.payment-methods {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.payment-methods-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

/* 決済ロゴコンテナ */
.payment-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    width: fit-content;
    margin: 0 auto 20px;
    backdrop-filter: blur(5px);
}

/* 個別の決済ロゴ */
.payment-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
    flex: 0 0 auto;
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .payment-logos {
        gap: 16px;
    }
    
    .payment-logo {
        height: 36px;
    }
}

@media (max-width: 768px) {
    .payment-logos {
        gap: 14px;
        padding: 10px 14px;
    }
    
    .payment-logo {
        height: 32px;
    }
}

@media (max-width: 480px) {
    .payment-logos {
        gap: 12px;
        padding: 8px 12px;
    }
    
    .payment-logo {
        height: 28px;
    }
}

/* 銀行振込ラベル */
.payment-bank-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-light);
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 24px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin: 0;
    backdrop-filter: blur(5px);
}

.payment-bank-label i {
    font-size: 1.1rem;
    color: var(--accent-cyan);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .payment-icon {
        width: 50px;
        height: 50px;
    }
    
    .payment-icon i {
        font-size: 1.6rem;
    }
    
    .payment-icons-grid {
        gap: 10px;
    }
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .payment-methods-section {
        padding: 30px 0 20px;
        margin-top: 30px;
    }
    
    .payment-methods-section h3 {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .payment-methods-wrapper {
        gap: 12px;
    }
    
    .payment-bank-label {
        font-size: 0.9rem;
        padding: 8px 20px;
    }
    
    .payment-bank-label i {
        font-size: 1rem;
    }
}

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

.footer-bottom p {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* モーダル */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 10000;
    overflow-y: auto;
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.modal-content {
    background: var(--bg-white);
    border-radius: 16px;
    max-width: 1000px;
    width: 100%;
    position: relative;
    padding: 60px;
    animation: slideUp 0.4s ease;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--bg-off-white);
    border: none;
    border-radius: 50%;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    transition: var(--transition-fast);
    color: var(--primary-navy);
}

.modal-close:hover {
    background: var(--primary-navy);
    color: var(--text-light);
    transform: rotate(90deg);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 記事コンテンツスタイル */
.article-header {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid var(--border-color);
}

.article-category {
    display: inline-block;
    background: var(--accent-cyan);
    color: var(--primary-navy);
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.article-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-navy);
    margin-bottom: 20px;
    line-height: 1.3;
    font-family: var(--font-secondary);
}

.article-meta {
    display: flex;
    gap: 30px;
    color: var(--text-gray);
    font-size: 0.95rem;
}

.article-meta i {
    color: var(--accent-blue);
    margin-right: 8px;
}

.article-body {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--text-dark);
}

.article-body h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-navy);
    margin: 40px 0 20px;
    font-family: var(--font-secondary);
}

.article-body h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--secondary-navy);
    margin: 30px 0 15px;
}

.article-body p {
    margin-bottom: 20px;
}

.article-body ul,
.article-body ol {
    margin: 20px 0;
    padding-left: 30px;
}

.article-body li {
    margin-bottom: 12px;
}

.article-body strong {
    color: var(--primary-navy);
    font-weight: 700;
}

.article-sources {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid var(--border-color);
}

.article-sources h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 20px;
}

.sources-list {
    list-style: none;
    display: grid;
    gap: 12px;
}

.sources-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-gray);
}

.sources-list i {
    color: var(--accent-blue);
    font-size: 1.1rem;
}

.sources-list a {
    color: var(--accent-blue);
    text-decoration: underline;
}

.sources-list a:hover {
    color: var(--secondary-navy);
}

/* アニメーション */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* レスポンシブデザイン */

/* 大画面PC最適化 (1920px以上) */
@media (min-width: 1920px) {
    .hero-catchcopy {
        font-size: 2rem;
        margin-bottom: 25px;
    }
    
    .hero-title {
        font-size: 4rem;
        margin-bottom: 25px;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
        margin-bottom: 40px;
    }
    
    .hero-cta {
        margin: 45px 0 50px 0;
        gap: 30px;
    }
    
    .btn-lg {
        padding: 24px 60px;
        font-size: 1.3rem;
        min-width: 280px;
    }
    
    .stat-number {
        font-size: 3.2rem;
    }
    
    .stat-label {
        font-size: 1.1rem;
    }
}

/* 標準PC最適化 (1440px以上) */
@media (min-width: 1440px) {
    .hero-catchcopy {
        font-size: 1.8rem;
    }
}

/* 中型ビジネスPC最適化 (1200px-1440px) */
@media (min-width: 1200px) and (max-width: 1439px) {
    .hero-catchcopy {
        font-size: 1.7rem;
    }
    
    .hero-cta {
        gap: 25px;
    }
    
    .btn-lg {
        padding: 22px 55px;
        font-size: 1.15rem;
        min-width: 260px;
    }
}

/* タブレット・小型PC最適化 (1024px-1200px) */
@media (min-width: 1024px) and (max-width: 1199px) {
    .hero-catchcopy {
        font-size: 1.5rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-cta {
        gap: 20px;
    }
    
    .btn-lg {
        padding: 18px 45px;
        font-size: 1.1rem;
        min-width: 220px;
    }
    
    .hero-stats {
        gap: 50px;
    }
}

@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .strength-card {
        grid-template-columns: 1fr;
    }
    
    .strength-card.reverse {
        direction: ltr;
    }
    
    .strength-content {
        padding: 40px;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .flow-steps {
        flex-wrap: wrap;
        gap: 40px;
    }
    
    .flow-arrow {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: rgba(0, 31, 63, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 20px;
        gap: 0;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-menu li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-menu li:last-child {
        border-bottom: none;
    }
    
    .nav-menu a {
        display: block;
        padding: 15px 10px;
        font-size: 1.1rem;
    }
    
    .nav-cta {
        margin-top: 10px;
        text-align: center;
        background: linear-gradient(135deg, var(--accent-blue), var(--secondary-navy));
        border-radius: 8px;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .hero {
        min-height: 80vh;
        margin-top: 60px;
    }
    
    .scroll-hint {
        display: none;
    }
    
    .hero-catchcopy {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 30px;
    }
    
    .hero-cta {
        flex-direction: column;
        margin: 30px 0 40px 0;
        gap: 15px;
    }
    
    .hero-cta .btn {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .news-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        padding: 30px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        padding: 30px;
    }
    
    .article-title {
        font-size: 1.8rem;
    }
    
    .contact-stats {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.6rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .btn-lg {
        padding: 14px 28px;
        font-size: 1rem;
    }
}

/* ==================================
   メモリ検索カード（製品セクション下）
   ================================== */
.memory-search-card {
    margin-top: 50px;
    background: linear-gradient(135deg, var(--primary-navy), var(--secondary-navy));
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.memory-search-content {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.memory-search-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.memory-search-icon i {
    font-size: 2rem;
    color: var(--accent-cyan);
}

.memory-search-text {
    flex: 1;
    min-width: 280px;
}

.memory-search-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 8px;
}

.memory-search-text p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    margin-bottom: 15px;
}

.memory-search-brands {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.memory-search-brands span {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.memory-search-card .btn {
    flex-shrink: 0;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .memory-search-card {
        padding: 30px;
    }
    
    .memory-search-content {
        flex-direction: column;
        text-align: center;
    }
    
    .memory-search-brands {
        justify-content: center;
    }
    
    .memory-search-card .btn {
        width: 100%;
    }
}