/*
 * ファイル名: assets/front.css
 * 設置パス: /Users/brapi/WebSite/trip.style/NEW/assets/front.css
 * 概要: メインサイト（ポータル）用フロントエンドスタイルシート
 * 日付: 2026-02-11 JST
 */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700&family=Outfit:wght@400;600;800&display=swap');

:root {
    --primary-gradient: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    --accent-gradient: linear-gradient(135deg, #020202 0%, #f5576c 100%);
    --bg-color: #0c0a1d;
    --card-bg: rgba(255, 255, 255, 0.05);
    --text-color: #ffffff;
    --text-muted: #b0b0cc;
    --white: #ffffff;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Noto Sans JP', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.8;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

h1,
h2,
h3 {
    font-family: 'Outfit', 'Noto Sans JP', sans-serif;
    font-weight: 700;
}

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

/* Site Header (共通) */
.site-header {
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(12, 10, 29, 0.95);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.site-logo {
    font-family: 'Outfit', 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: #ffffff;
    text-decoration: none;
}

.site-logo:hover {
    color: rgba(255, 255, 255, 0.85);
}

.site-nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    margin-left: 24px;
    transition: var(--transition);
}

.site-nav a:hover {
    color: #f093fb;
}

/* Section CTA (記事一覧・トップへ戻るなど共通) */
.section-cta {
    text-align: center;
    margin-top: 60px;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: url('images/hero_bg.png') no-repeat center center/cover;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(12, 10, 29, 0.6);
}

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

/* 共通: つながる未来へ！（白・見やすく・サイズ統一） */
.hero-title {
    color: #ffffff;
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    letter-spacing: 0.02em;
    line-height: 1.2;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out;
}

.hero .hero-title {
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 40px;
    animation: fadeInUp 1.2s ease-out;
}

/* Sections */
section {
    padding: 100px 0;
}

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

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.section-title p {
    color: var(--text-muted);
}

.section-alt-bg {
    background: rgba(255, 255, 255, 0.02);
}

/* Cards & Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 20px;
    transition: var(--transition);
    height: 100%;
}

.card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.card h3 {
    margin-bottom: 15px;
    color: var(--white);
}

.card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.card-link {
    color: #f093fb;
    text-decoration: none;
    font-weight: bold;
    display: block;
    margin-top: 15px;
}

.card-link:hover {
    text-decoration: underline;
}

.card-links-wrapper {
    margin-top: 15px;
}

.card-links-wrapper a {
    color: #f093fb;
    text-decoration: none;
    display: block;
}

/* Article Cards (Topics) */
.card-article {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.card-article:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.card-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.card-article .card-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Override h3 for article cards if they use h3, or just target .card-article h3 */
.card-article h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--white);
    line-height: 1.4;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 15px;
    align-items: center;
}

.card-cat {
    color: #f093fb;
    font-weight: bold;
    background: rgba(240, 147, 251, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
}

.card-date {
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.5px;
}

.card-article p {
    color: var(--text-muted);
    font-size: 0.95rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0;
}

/* Icons/Markers */
.step-number {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    opacity: 0.2;
    margin-bottom: -20px;
    display: block;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
}

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

.btn-primary:hover {
    box-shadow: 0 10px 20px rgba(245, 87, 108, 0.4);
    transform: scale(1.05);
}

/* Footer (共通) */
footer {
    padding: 60px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
}

.footer-cta {
    margin-bottom: 30px;
}

footer .btn {
    margin: 0 auto;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }

    .hero-title {
        font-size: 2.25rem;
    }
}

/* --- Message Page Specific Styles --- */
.message-section {
    padding: 120px 0 80px;
    background: linear-gradient(to bottom, var(--bg-color), rgba(255, 255, 255, 0.02));
}

.message-section .hero-title {
    margin-bottom: 40px;
}

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

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

.message-header h2 {
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    margin-bottom: 10px;
    color: var(--text-color);
    font-weight: 700;
}

.message-label {
    color: #f093fb;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.president-portrait {
    width: 150px;
    height: 150px;
    margin: 0 auto 30px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #f093fb;
    box-shadow: 0 10px 30px rgba(240, 147, 251, 0.3);
}

.president-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.message-content {
    font-size: 1.1rem;
    line-height: 2;
    color: var(--text-color);
    background: var(--card-bg);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    white-space: pre-wrap;
}

/* Spec Section Styles */
.spec-section {
    padding: 100px 0;
}

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

.spec-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.spec-card:hover {
    border-color: rgba(240, 147, 251, 0.3);
    transform: translateY(-5px);
}

.spec-label {
    font-family: 'Outfit', sans-serif;
    font-size: 0.8rem;
    color: #f093fb;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 15px;
    display: block;
}

.spec-value {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color);
}

/* RSS Section Styles */
.rss-section {
    padding: 80px 0 120px;
}

.rss-grid {
    margin-top: 40px;
}

.rss-item {
    display: block;
    text-decoration: none;
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0;
    border-radius: 15px;
    margin-bottom: 20px;
    transition: var(--transition);
    overflow: hidden;
}

.rss-item-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.2);
}

.rss-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.rss-item .rss-date,
.rss-item .rss-title,
.rss-item .rss-desc {
    padding: 0 25px;
}

.rss-item .rss-date {
    padding-top: 20px;
}

.rss-item .rss-desc {
    padding-bottom: 25px;
}

.rss-item:hover {
    transform: scale(1.02);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.rss-date {
    font-size: 0.85rem;
    color: #f093fb;
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
}

.rss-title {
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 10px;
    font-family: 'Outfit', 'Noto Sans JP', sans-serif;
}

.rss-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.back-home {
    text-align: center;
    margin-top: 60px;
}