/* CSS変数定義 */
:root {
    --primary-color: #007bff;
    --primary-hover-color: #0056b3;
    --accent-color: #28a745;
    --accent-hover-color: #218838;
    --text-color-dark: #212529;
    --text-color-light: #f8f9fa;
    --background-color-light: #ffffff;
    --background-color-dark: #121212;
    --border-color: #dee2e6;
    --shadow-color: rgba(0, 0, 0, 0.05);

    --font-family-heading: 'Poppins', sans-serif;
    --font-family-body: 'Lato', sans-serif;

    --spacing-unit: 8px;
    --spacing-md: calc(var(--spacing-unit) * 2);
    --spacing-lg: calc(var(--spacing-unit) * 3);
    --spacing-xl: calc(var(--spacing-unit) * 4);
}

/* 基本的なスタイル */
body {
    font-family: var(--font-family-body);
    margin: 0;
    color: var(--text-color-dark);
    background-color: var(--background-color-light);
}

main {
    padding: 0;
}

h1, h2, h3 {
    font-family: var(--font-family-heading);
    font-weight: 700;
}

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

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

/* ヘッダー */
header {
    background-color: #ffffff; /* 透明度のない白に変更 */
    padding: var(--spacing-md) var(--spacing-xl);
    box-shadow: 0 2px 4px var(--shadow-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.navbar .logo {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-color-dark);
    letter-spacing: -1.5px;
}

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.nav-links li {
    margin-left: var(--spacing-lg);
}

.nav-links a {
    color: var(--text-color-dark); /* 文字色を黒に */
    font-weight: 600; /* 少し太く */
    padding: var(--spacing-sm) 0;
    position: relative;
}

/* マウスホバー時の下線アニメーション */
.nav-links a::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}

.nav-links a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}



/* ハンバーガーメニュー */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color-dark);
    margin: 5px 0;
    transition: 0.3s;
}

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

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

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

/* ヒーローセクション */
.hero-section {
    background-color: var(--background-color-dark);
    color: var(--text-color-light);
    padding: 8rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background-image: url('/static/images/logo.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    opacity: 0.04; /* 透明度を少し上げる */
    z-index: 1;
    filter: grayscale(100%) brightness(1.5);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: #fff;
}

.hero-content .subtitle {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 1rem auto 2rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

.button-large {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff !important; /* Add !important to ensure color is applied */
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}

.button-large:hover {
    background-color: var(--primary-hover-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.5);
}

.button-large i {
    margin-right: 8px;
}

/* Specific CTA sections */
.cta-inline {
    margin-top: 2rem;
}

.cta-section .button-large {
    margin-top: 1rem;
}

/* 共通セクションスタイル */
.features-section, .how-it-works-section, .testimonials-section, .cta-section {
    padding: 4rem 2rem;
    text-align: center;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 0.5rem auto 0;
}

/* 特徴セクション */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-item {
    background: var(--background-color-light);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 8px 16px var(--shadow-color);
    transition: transform 0.2s, box-shadow 0.2s;
    text-align: center;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}

.feature-image-icon {
    width: 80px; /* アイコンのサイズを調整 */
    height: 80px;
    object-fit: contain;
    margin-bottom: 1.5rem;
}

/* 横長の情報カードセクション */
.info-card-section {
    padding: 4rem 2rem;
    background-color: #f8f9fa;
    text-align: center; /* 中央揃えの基準 */
}


.info-card-container {
    max-width: 900px;
    margin: 0 auto;
    display: inline-grid; /* コンテナを中央に配置 */
    gap: 2rem;
    text-align: left; /* カード内のテキストは左揃えに戻す */
}

.info-card {
    display: flex;
    align-items: center;
    gap: 2rem;
    background-color: var(--card-background-color);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 8px 16px var(--shadow-color);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid var(--border-color);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.08);
}

.info-card-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    flex-shrink: 0;
    width: 50px;
    text-align: center;
}

.info-card-content {
    border-left: 4px solid var(--primary-color);
    padding-left: 1.5rem;
}

.info-card-content h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
    color: var(--text-color-dark);
}

.info-card-content p {
    margin: 0;
    color: var(--light-text-color);
    line-height: 1.6;
}

/* 認証ページ（ログイン・新規登録）共通スタイル */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 70px); /* ヘッダーの高さを引く */
    padding: 2rem;
    background-color: #f0f2f5;
}

.form-wrapper {
    background-color: #fff;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 420px;
}

.form-title {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.button-primary-full {
    width: 100%;
    padding: 0.9rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.button-primary-full:hover {
    background-color: var(--primary-hover-color);
}

.form-footer {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
}

.form-footer a {
    font-weight: 600;
}

/* 新規登録ページの追加スタイル */
.form-section {
    margin-bottom: 2.5rem;
}

.form-section h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.75rem;
}

.form-grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.form-group-checkbox {
    display: flex;
    align-items: center;
    margin: 2rem 0;
}

.form-group-checkbox input {
    margin-right: 0.5rem;
    width: auto;
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.checkbox-item {
    display: flex;
    align-items: center;
}

.checkbox-item input {
    margin-right: 0.5rem;
    width: auto;
}

/* お客様の声セクション */
.testimonial-item {
    background: #f0f2f5;
}

/* 行動喚起セクション */
.cta-section {
    background-color: var(--text-color-dark);
    color: var(--text-color-light);
}

.cta-section h2 {
    color: var(--text-color-light);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .nav-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        position: absolute; /* fixedから変更 */
        top: 68px; /* ヘッダーの高さに合わせる */
        left: 0;
        background-color: white !important; /* 背景を強制的に白に */
        box-shadow: 0 8px 16px rgba(0,0,0,0.1);
        padding-bottom: var(--spacing-lg);
        
        opacity: 0;
        transform: translateY(-20px);
        transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
        pointer-events: none;
    }

    .nav-links.active {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    .nav-links li {
        margin: 0 !important;
        width: 100%;
        text-align: center;
    }

    .nav-links li a {
        display: block; /* リンク領域を広げる */
        padding: var(--spacing-md) 0;
        border-bottom: 1px solid var(--border-color);
        color: var(--text-color-dark); /* 文字色を黒に */
    }

    .nav-links li:last-child a {
        border-bottom: none;
    }

    .nav-links li a.button {
        background-color: transparent; /* 背景色をリセット */
        color: var(--text-color-dark); /* 文字色を黒に */
        padding: var(--spacing-md) 0; /* 他とパディングを合わせる */
    }

    .nav-links li a.button:hover {
        background-color: rgba(0,0,0,0.05); /* ホバー効果を少しつける */
    }

    .hamburger {
        display: block !important;
        z-index: 1001 !important;
    }
}

/* 利用の流れセクション（タイムライン） */
.how-it-works-section {
    background-color: #f0f2f5;
    padding: 4rem 2rem;
}

.timeline-container {
    position: relative;
    max-width: 900px;
    margin: 2rem auto;
}

.timeline-container::after {
    content: '';
    position: absolute;
    width: 3px;
    background-color: var(--primary-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1.5px;
    opacity: 0.2;
}

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

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

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

.timeline-item::before {
    content: attr(data-step);
    position: absolute;
    width: 40px;
    height: 40px;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--background-color-light);
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.timeline-item:nth-child(even)::before {
    left: -20px;
}

.timeline-content {
    padding: 2rem;
    background-color: var(--background-color-light);
    position: relative;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(0,0,0,0.12);
}

.timeline-content i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: block;
}

.timeline-item:nth-child(odd) {
    text-align: right;
}

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

.timeline-content h4 {
    margin-top: 0;
    font-size: 1.3rem;
}

@media (max-width: 768px) {
    .timeline-container::after {
        left: 20px;
    }
    .timeline-item,
    .timeline-item:nth-child(even) {
        width: 100%;
        left: 0;
        padding-left: 70px;
        padding-right: 15px;
    }
    .timeline-item::before,
    .timeline-item:nth-child(even)::before {
        left: 0;
    }
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        text-align: left;
    }
}

/* Profile Page Layout */
.profile-container {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    background-color: #f8f9fa;
}

.profile-sidebar {
    flex: 0 0 300px;
    position: sticky;
    top: 100px; /* Adjust based on header height */
}

.profile-main-content {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.profile-card {
    padding: 2rem;
    text-align: center;
}

.profile-image-wrapper {
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border: 4px solid #fff;
}

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

.profile-name {
    margin: 0 0 0.5rem;
    font-size: 1.8rem;
}

.profile-meta {
    color: #6c757d;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.profile-actions .button-primary-full {
    width: 100%;
}

.card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 8px var(--shadow-color);
    padding: 0;
    overflow: hidden;
}

.card-header {
    font-size: 1.2rem;
    margin: 0;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    background-color: #f8f9fa;
}

.card-header i {
    margin-right: 1rem;
    color: var(--primary-color);
}

.profile-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    padding: 1.5rem;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
}

.detail-label {
    font-size: 0.85rem;
    color: #6c757d;
    font-weight: 600;
}

.detail-value {
    font-size: 1rem;
    font-weight: 500;
}

.pr-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.tag {
    background-color: var(--primary-color);
    color: #fff;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.pr-section {
    padding: 1.5rem;
}

.pr-section h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.pr-section p {
    margin: 0;
    line-height: 1.6;
}

/* Responsive Profile Page */
@media (max-width: 992px) {
    .profile-container {
        flex-direction: column;
    }
    .profile-sidebar {
        position: static;
        width: 100%;
        flex: 0 0 auto;
    }
}
/* Profile Image Upload Alignment Fix */
.form-group-file label {
    display: block;
    margin-bottom: 0.5rem;
}

/* Account Menu Sidebar */
.account-menu {
    padding: 0;
}

.profile-summary {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.profile-image-wrapper-small {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.profile-summary-info {
    line-height: 1.3;
}

.profile-name-small {
    margin: 0;
    font-size: 1.2rem;
}

.view-profile-link {
    font-size: 0.9rem;
    color: var(--primary-color);
    text-decoration: none;
}
.view-profile-link:hover {
    text-decoration: underline;
}

.menu-list {
    list-style: none;
    margin: 0;
    padding: 0.5rem 0;
}

.menu-list li a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 1.5rem;
    color: var(--text-color-dark);
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.2s;
}

.menu-list li a:hover {
    background-color: #f8f9fa;
    color: var(--primary-color);
}

.menu-list li a .fa-fw {
    width: 1.25em; /* Font Awesome fixed width */
    text-align: center;
    color: #6c757d;
}

.menu-list li a:hover .fa-fw {
    color: var(--primary-color);
}

.menu-list .menu-divider {
    height: 1px;
    background-color: var(--border-color);
    margin: 0.5rem 0;
    padding: 0;
}

.menu-list .text-danger {
    color: #dc3545;
}

.menu-list .text-danger:hover {
    color: #a71d2a;
}

.menu-list .text-danger .fa-fw {
    color: #dc3545;
}
/* Danger Zone Styles */
.text-danger {
    color: #dc3545 !important;
}

.alert {
    padding: 1rem;
    margin-bottom: 1.5rem;
    border: 1px solid transparent;
    border-radius: 8px;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.alert-danger strong {
    font-weight: 700;
}

.button-danger-full {
    width: 100%;
    padding: 0.9rem;
    background-color: #dc3545;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.button-danger-full:hover {
    background-color: #c82333;
}

/* Flash Message Styles */
#flash-message-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1050;
    max-width: 350px;
}

.flash-message {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    color: #fff;
    font-weight: 500;
    opacity: 1;
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
    transform: translateX(0);
}

.flash-message.hide {
    opacity: 0;
    transform: translateX(20px);
}

.flash-message i {
    margin-right: 1rem;
    font-size: 1.2rem;
}

.flash-message-text {
    flex-grow: 1;
}

.flash-message .close-button {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    margin-left: 1rem;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.flash-message .close-button:hover {
    opacity: 1;
}

.flash-success {
    background-color: #28a745; /* Green */
}

.flash-danger {
    background-color: #dc3545; /* Red */
}

.flash-info {
    background-color: #17a2b8; /* Blue */
}

.flash-warning {
    background-color: #ffc107; /* Yellow */
    color: #343a40; /* Dark text for warning */
}

.flash-warning i,
.flash-warning .close-button {
    color: #343a40;
}

/* Form Layout Improvements */
.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

.form-row .half-width {
    flex: 1 1 calc(50% - 0.75rem); /* Adjust for gap */
}

@media (max-width: 768px) {
    .form-row .half-width {
        flex: 1 1 100%;
    }
}

.form-description {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 1.5rem;
    text-align: left;
}

/* FAQ Section - Modern Style */
.faq-section {
    padding: 5rem 2rem; /* Increased padding */
    background-color: #f0f2f5; /* Slightly different background */
    text-align: center;
}

.faq-container {
    max-width: 750px; /* Slightly narrower */
    margin: 0 auto;
    text-align: left;
}

.faq-item {
    background-color: #fff;
    /* Remove border, use shadow for separation */
    border: none; 
    border-radius: 10px; /* Softer corners */
    margin-bottom: 1.25rem; /* Increased space */
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.faq-item.active {
    box-shadow: 0 10px 25px rgba(0, 123, 255, 0.1);
    border-left: 4px solid var(--primary-color);
}


.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 1.75rem; /* Increased padding */
    background: none;
    border: none;
    text-align: left;
    font-family: var(--font-family-heading);
    font-size: 1.15rem; /* Slightly larger font */
    font-weight: 600;
    cursor: pointer;
    color: var(--text-color-dark);
    position: relative;
}

.faq-question i {
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55); /* Bouncy rotation */
    font-size: 1.2rem;
    color: var(--primary-color);
}

.faq-item.active .faq-question {
    color: var(--primary-color); /* Highlight active question */
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.25, 0.8, 0.25, 1), padding 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    padding: 0 1.75rem;
    line-height: 1.8; /* Increased line-height */
    color: #343a40; /* Softer text color */
    font-size: 1rem;
}

.faq-item.active .faq-answer {
    max-height: 400px; /* Increased max-height for longer content */
    padding: 0 1.75rem 1.75rem 1.75rem;
}

.faq-answer p {
    margin: 0;
}

.faq-answer p:not(:last-child) {
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background-color: #fff;
    padding: 2rem;
    text-align: center;
    border-top: 1px solid var(--border-color);
    color: #6c757d;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem; /* リンク間のスペース */
    margin-bottom: 1.5rem; /* コピーライトとのスペース */
}

.footer-links a {
    color: #6c757d;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

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

.footer-copyright p {
    margin: 0;
}