/* 基本設定 */
:root {
    --bg-color: #121212;
    --text-color: #e0e0e0;
    /* ロゴの色を参考にパープルを定義 */
    --primary-color: #7F5AF0; 
    --card-bg-color: #1d1d1d;
    --font-serif: 'Shippori Mincho', serif;
    --font-sans: 'Poppins', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-sans);
    margin: 0;
    line-height: 1.8;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
}

h1, h2, h3 {
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.4;
}

/* "One"など特定テキストをパープルにするためのユーティリティクラス */
.text-purple {
    color: var(--primary-color);
}

a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* ヘッダー */
.header {
    padding: 20px 0;
    position: absolute;
    width: 100%;
    z-index: 10;
}

.header .logo img {
    height: 45px;
}

/* ヒーローセクション */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden; /* 動画のはみ出し防止 */
}

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

.hero-video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 画面全体をカバー */
}

/* 動画の上に被せる半透明のオーバーレイ */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(18, 18, 18, 0.7);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3; /* テキストを最前面に */
    text-align: center;
}

.hero-title {
    font-size: 4.5rem;
    color: #ffffff;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* コンテンツセクション共通 */
.content-section {
    padding: 120px 0;
}

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

.section-title h2 {
    font-size: 3rem;
    color: var(--text-color);
    font-family: var(--font-sans);
    font-weight: 600;
    letter-spacing: 0.1em;
    margin: 0;
}

.section-title p {
    font-size: 1.2rem;
    font-family: var(--font-serif);
    margin: 5px 0 0;
    color: #aaa;
}

/* 思い */
#philosophy .philosophy-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    font-family: var(--font-serif);
    text-align: center;
}

/* Article */
.bg-dark {
    background-color: #0d0d0d;
}

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

.article-card {
    background-color: var(--card-bg-color);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
    border: 1px solid #2a2a2a;
}

.article-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: var(--primary-color);
}

.card-image-top {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.article-card:hover .card-image-top {
    transform: scale(1.05);
}


.card-content {
    padding: 25px;
}

.card-content h3 {
    font-size: 1.4rem;
    margin: 0 0 10px;
    color: #ffffff;
}

.card-content p {
    font-size: 0.95rem;
    margin: 0 0 20px;
    color: var(--text-color);
}

.card-link {
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    font-size: 0.9em;
    letter-spacing: 0.05em;
}

/* 創設者の思い */
.founder-profile {
    display: flex;
    align-items: flex-start; /* 上揃えに変更 */
    gap: 60px;
}

.founder-image {
    flex-shrink: 0;
    text-align: center;
}

.founder-image img {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #2a2a2a;
}

.founder-text .message-body {
    font-size: 1.05rem;
    line-height: 2;
    margin-bottom: 1.5em;
}

.founder-text .quote {
    font-size: 1.1rem;
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 2;
    padding: 20px;
    border-left: 4px solid var(--primary-color);
    background-color: var(--card-bg-color);
    border-radius: 0 8px 8px 0;
    margin: 40px 0;
}

.founder-text .signature {
    text-align: right;
    font-size: 1.2rem;
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.6;
}

.founder-text .signature span {
    display: block;
    font-size: 0.8em;
    font-weight: 400;
    font-family: var(--font-sans);
    color: #aaa;
}


/* 今後の事業展開 */
.future-plan-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
    max-width: 900px;
    margin: 0 auto;
}

.future-plan-content h3 {
    font-size: 1.5rem;
    color: #ffffff;
    border-left: 4px solid var(--primary-color);
    padding-left: 15px;
    margin-bottom: 25px;
}

.future-plan-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.future-plan-list li {
    background-color: #2a2a2a;
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 5px;
    font-weight: 600;
}


/* 会社概要 */
.profile-table {
    max-width: 800px;
    margin: 0 auto;
    border-top: 1px solid #333;
}

.profile-table dl {
    display: flex;
    margin: 0;
    border-bottom: 1px solid #333;
    padding: 25px 0;
}

.profile-table dt {
    width: 25%;
    font-weight: 600;
    padding-right: 20px;
    flex-shrink: 0;
}

.profile-table dd {
    width: 75%;
    margin: 0;
}

/* フッター */
.footer {
    padding: 40px 0;
    text-align: center;
    background-color: #0d0d0d;
    color: #888;
    font-size: 0.9rem;
}

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

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

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .hero-title { font-size: 2.8rem; }
    .content-section { padding: 80px 0; }
    .section-title h2 { font-size: 2.2rem; }

    .founder-profile {
        flex-direction: column;
        align-items: center; /* 中央揃えに */
        text-align: center;
    }
    
    .founder-text .quote {
        text-align: left;
    }

    .future-plan-content {
        grid-template-columns: 1fr; /* 1カラムに */
    }

    .profile-table dl {
        flex-direction: column; /* 縦並びに */
        padding: 20px 0;
    }

    .profile-table dt {
        width: 100%;
        margin-bottom: 10px;
    }

    .profile-table dd {
        width: 100%;
    }
}