@charset "UTF-8";

/* =========================================
   基本設定（リセット、フォントなど）
   ========================================= */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #2d3748;
    background-color: #ffffff;
}

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

ul,
ol {
    list-style: none;
}

/* =========================================
   レイアウト（コンテナ）
   ========================================= */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.grid {
    display: grid;
    gap: 32px;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* =========================================
   ヘッダー（ナビゲーション）
   ========================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    z-index: 1050;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

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

.logo-text {
    font-size: 18px;
    font-weight: 700;
    color: #1a3a5a;
}

.logo-text-en {
    font-size: 12px;
    color: #4a5568;
    display: block;
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nav {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-size: 16px;
    font-weight: 500;
    color: #1a3a5a;
    text-decoration: none;
    padding: 8px 0;
    transition: color 0.15s;
}

.nav-link:hover {
    color: #c5a572;
}

/* =========================================
   ヒーローセクション（トップビュー）
   ========================================= */
.hero {
    min-height: 600px;
    /* index.htmlの高さ */
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #1a3a5a 0%, #2c5f8d 100%);
    color: #ffffff;
    padding: 128px 0 96px 0;
    margin-top: 80px;
}

/* 他のページ用のヒーロー調整（高さなど） */
body:not(.home) .hero {
    min-height: 400px;
}

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

.hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 32px;
}

.hero-subtitle {
    font-size: 20px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 48px;
}

.hero-cta {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

/* =========================================
   ボタン
   ========================================= */
.btn {
    display: inline-block;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-large {
    padding: 24px 48px;
    font-size: 18px;
}

/* プライマリー（オレンジ）：資料請求など */
.btn-primary {
    background-color: #FF6B35;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #FF5722;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(255, 107, 53, 0.3);
}

/* LINEボタン（緑） */
.btn-line {
    background-color: #06C755;
    color: #ffffff;
}

.btn-line:hover {
    background-color: #05B049;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(6, 199, 85, 0.3);
}

/* セカンダリー（枠線のみ）：詳細を見るなど */
.btn-secondary {
    background-color: transparent;
    color: #2c5f8d;
    border: 2px solid #2c5f8d;
}

.btn-secondary:hover {
    background-color: #2c5f8d;
    color: #ffffff;
}

/* ゴールド（アクセント）：パートナー登録・送信 */
.btn-gold {
    background-color: #c5a572;
    color: #ffffff;
    border: none;
}

.btn-gold:hover {
    background-color: #b08d55;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(197, 165, 114, 0.4);
}

/* =========================================
   セクション共通
   ========================================= */
section {
    padding: 96px 0;
}

.section-light {
    background-color: #f7f9fc;
}

.section-dark {
    background-color: #1a3a5a;
    color: #ffffff;
}

.section-title {
    text-align: center;
    margin-bottom: 64px;
}

.section-title h2 {
    font-size: 36px;
    color: #1a3a5a;
    margin-bottom: 16px;
    font-weight: 700;
}

.section-light .section-title h2 {
    color: #1a3a5a;
}

.section-dark .section-title h2 {
    color: #ffffff;
}

.section-title p {
    font-size: 18px;
    color: #4a5568;
    max-width: 800px;
    margin: 0 auto;
}

h2 {
    font-size: 30px;
    font-weight: 700;
    color: #1a3a5a;
    margin-bottom: 24px;
}

h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1a3a5a;
    margin-bottom: 16px;
}

p {
    margin-bottom: 16px;
    line-height: 1.75;
}

/* =========================================
   カード・コンテンツボックス
   ========================================= */
.card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

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

.card-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a3a5a;
    margin-bottom: 16px;
}

.card-content {
    color: #4a5568;
    line-height: 1.75;
}

/* アイコンボックス（事業内容など） */
.icon-box {
    text-align: center;
    padding: 48px 32px;
}

.icon-box-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px auto;
    background: linear-gradient(135deg, #2c5f8d, #c5a572);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 30px;
    font-weight: 700;
}

.icon-box-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a3a5a;
    margin-bottom: 16px;
}

.icon-box-description {
    color: #4a5568;
    line-height: 1.75;
}

/* =========================================
   タイムライン（沿革）
   ========================================= */
.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #cbd5e0;
    transform: translateX(-50%);
}

.timeline-item {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 24px;
    margin-bottom: 48px;
    align-items: start;
}

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

.timeline-item:nth-child(odd) .timeline-dot {
    grid-column: 2;
}

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

.timeline-item:nth-child(even) .timeline-dot {
    grid-column: 2;
}

.timeline-content {
    padding: 32px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.timeline-year {
    font-size: 24px;
    font-weight: 700;
    color: #2c5f8d;
    margin-bottom: 16px;
}

.timeline-dot {
    width: 16px;
    height: 16px;
    background-color: #c5a572;
    border-radius: 50%;
    box-shadow: 0 0 0 6px #f7f9fc;
    margin-top: 20px;
    position: relative;
    z-index: 1;
}

/* =========================================
   比較表（テーブル）
   ========================================= */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 48px 0;
    background-color: #ffffff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    overflow: hidden;
}

.comparison-table th,
.comparison-table td {
    padding: 24px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.comparison-table thead th {
    background-color: #1a3a5a;
    color: #ffffff;
    font-weight: 700;
    font-size: 18px;
}

.comparison-table tbody tr:hover {
    background-color: #f7f9fc;
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

/* =========================================
   フォーム（お問い合わせ・パートナー登録）
   ========================================= */
.form-group {
    margin-bottom: 32px;
}

.form-label {
    display: block;
    font-weight: 600;
    color: #1a3a5a;
    margin-bottom: 8px;
    font-size: 16px;
}

.form-label.required::after {
    content: " *";
    color: #e74c3c;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.15s;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #2c5f8d;
}

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

/* =========================================
   フッター
   ========================================= */
.footer {
    background-color: #2d3748;
    color: #ffffff;
    padding: 96px 0 32px 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 48px;
    margin-bottom: 64px;
}

.footer-section h3 {
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 24px;
}

.footer-section p {
    color: #cbd5e0;
    margin-bottom: 8px;
}

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

.footer-links a {
    color: #cbd5e0;
    text-decoration: none;
    transition: color 0.15s;
}

.footer-links a:hover {
    color: #c5a572;
}

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

.en {
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.02em;
}

/* =========================================
   各種パーツ（トップへ戻るボタンなど）
   ========================================= */
.scroll-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 56px;
    height: 56px;
    background-color: rgba(0, 0, 0, 0.4);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    z-index: 1000;
}

.scroll-to-top:hover {
    background-color: rgba(0, 0, 0, 0.6);
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.scroll-to-top.show {
    display: flex;
}

/* =========================================
   ニュースセクション (News)
   ========================================= */
.news-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.news-list {
    max-width: 900px;
    margin: 0 auto;
    border-top: 1px solid #e2e8f0;
}

.news-item {
    display: flex;
    gap: 24px;
    padding: 24px 0;
    border-bottom: 1px solid #e2e8f0;
    align-items: flex-start;
    transition: background-color 0.2s;
}

.news-item:hover {
    background-color: #fafaef;
    /* ゴールドの薄い色 */
}

.news-image {
    width: 120px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    background-color: #f0f0f0;
    flex-shrink: 0;
}

.news-content {
    flex: 1;
}

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

.news-date {
    font-family: 'Inter', sans-serif;
    color: #718096;
    font-size: 14px;
}

.news-badge {
    display: inline-block;
    padding: 2px 8px;
    background-color: #e53e3e;
    color: #fff;
    font-size: 11px;
    border-radius: 4px;
    font-weight: 700;
}

.news-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a3a5a;
    margin-bottom: 8px;
    line-height: 1.5;
}

.news-title a {
    color: #1a3a5a;
    text-decoration: none;
    transition: color 0.2s;
}

.news-title a:hover {
    color: #c5a572;
}

.news-lead {
    font-size: 14px;
    color: #4a5568;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-more {
    text-align: center;
    margin-top: 48px;
}

/* =========================================
   SNSアイコン (Footer)
   ========================================= */
.footer-sns {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.sns-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.sns-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.sns-icon:hover {
    background-color: #c5a572;
    transform: translateY(-2px);
    border-color: #c5a572;
}

/* =========================================
   レスポンシブ対応（スマホ表示）
   ========================================= */
@media (max-width: 768px) {
    .header {
        height: 64px;
    }

    .hero {
        margin-top: 64px;
        padding: 96px 0 64px 0;
        min-height: 400px;
    }

    .hero-title {
        font-size: 30px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    section {
        padding: 64px 0;
    }

    .section-title h2 {
        font-size: 24px;
    }

    h2 {
        font-size: 24px;
    }

    h3 {
        font-size: 20px;
    }

    .container {
        padding: 0 16px;
    }

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }

    /* タイムラインのレスポンシブ */
    .timeline::before {
        left: 30px;
    }

    .timeline-item {
        grid-template-columns: 60px 1fr;
        gap: 16px;
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        grid-column: 2;
        text-align: left;
    }

    .timeline-dot,
    .timeline-item:nth-child(odd) .timeline-dot,
    .timeline-item:nth-child(even) .timeline-dot {
        grid-column: 1;
        left: 22px;
        margin-top: 24px;
    }

    /* =========================================
       モバイルメニュー（ハンバーガー）
       ========================================= */
    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 21px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 1050;
    }

    .hamburger span {
        width: 100%;
        height: 3px;
        background-color: #1a3a5a;
        border-radius: 3px;
        transition: all 0.3s ease-in-out;
    }

    /* ハンバーガーのアニメーション */
    .hamburger.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

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

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

    /* モバイルナビゲーション */
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: #ffffff;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 32px;
        padding: 64px 24px;
        transition: right 0.3s ease-in-out;
        z-index: 1040;
    }

    .nav.active {
        right: 0;
    }

    .nav-link {
        font-size: 18px;
        font-weight: 700;
    }

    /* オーバーレイ（背景暗転） */
    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease-in-out;
        z-index: 1040;
    }

    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }
}