/*
  ファイル名: style.css
  説明: 宮崎DXサミットLP用のスタイルシート。
  変数を使用してカラーパレットを管理し、Larkを想起させる配色とDXらしいモダンなデザインを実装。
  レスポンシブデザイン対応（ブレークポイント: 768px）。
*/

:root {
    /* カラーパレット */
    --primary-blue: #3370FF;
    /* Lark Blueに近い色 */
    --secondary-teal: #00D6B9;
    /* Lark Tealに近い色 */
    --accent-orange: #FF6B00;
    /* 指定のボタン色 */
    --accent-orange-hover: #E65A00;
    --text-main: #1F2329;
    /* Lark Black */
    --text-sub: #646A73;
    --bg-light: #F5F6F7;
    --white: #FFFFFF;
    --border-color: #DEE0E3;

    /* フォント */
    --font-base: "Noto Sans JP", sans-serif;
}

/* リセット & 基本設定 */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-base);
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

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

/* 共通クラス */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.container.narrow {
    max-width: 800px;
}

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

.text-white {
    color: var(--white);
}

.font-bold {
    font-weight: 700;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mt-6 {
    margin-top: 1.5rem;
}

.section {
    padding: 80px 0;
}

.section-gray {
    background-color: var(--bg-light);
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: var(--primary-blue);
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-blue), var(--secondary-teal));
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* ヘッダー */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    height: 70px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-cta {
    background-color: var(--accent-orange);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.9rem;
}

.header-cta:hover {
    background-color: var(--accent-orange-hover);
    transform: translateY(-1px);
}

/* ファーストビュー (Hero) */
.hero {
    height: 100vh;
    min-height: 600px;
    position: relative;
    background-image: url('images/horikiri-scaled.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    margin-top: 70px;
    /* ヘッダー分 */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(51, 112, 255, 0.8), rgba(0, 214, 185, 0.7));
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 20px;
    max-width: 800px;
}

.hero-main-copy {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 2rem;
    line-height: 1.4;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.hero-sub-copy {
    font-size: 1.1rem;
    margin-bottom: 3rem;
    line-height: 1.8;
}

/* CTAボタン */
.hero-cta-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cta-button {
    background-color: var(--accent-orange);
    color: var(--white);
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    box-shadow: 0 5px 20px rgba(255, 107, 0, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.cta-button:hover {
    background-color: var(--accent-orange-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 0, 0.5);
}

.cta-button.large {
    font-size: 1.5rem;
    padding: 20px 60px;
}

.cta-note {
    font-size: 0.9rem;
    margin-top: 10px;
    font-weight: 500;
}

/* Section: Reality */
.content-box {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.reality-list {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.reality-list li {
    font-size: 1.2rem;
    font-weight: 700;
    color: #D93025;
    /* 警告色 */
}

.highlight-box {
    background-color: #E8F0FF;
    /* 薄い青 */
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    border-left: 5px solid var(--primary-blue);
}

.highlight-box p {
    margin-bottom: 10px;
    font-weight: 700;
    color: var(--primary-blue);
}

.highlight-box p:last-child {
    margin-bottom: 0;
}

/* Section: Problem (Reason Grid) */
.reason-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.reason-item {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s;
}

.reason-item:hover {
    transform: translateY(-5px);
}

.reason-icon {
    font-size: 3rem;
    color: #8F959E;
    margin-bottom: 15px;
}

.marker {
    background: linear-gradient(transparent 60%, #FFEB3B 60%);
    font-weight: 900;
    padding: 0 5px;
}

/* Section: Misconception */
.section-accent-bg {
    background-color: var(--bg-light);
}

/* 背景色が明るくなったため、白文字指定を解除して視認性を確保 */
.section-accent-bg .text-white {
    color: var(--primary-blue);
}

.card {
    background: var(--white);
    padding: 50px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Section: Benefit */
.benefit-wrapper {
    display: flex;
    gap: 40px;
    align-items: center;
}

.benefit-img {
    flex: 1;
}

.benefit-img img {
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.caption {
    font-size: 0.8rem;
    color: var(--text-sub);
    text-align: right;
    margin-top: 5px;
}

.benefit-content {
    flex: 1;
}

.check-list li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 20px;
    font-size: 1.1rem;
    font-weight: 700;
}

.check-list li::before {
    content: "\f00c";
    /* FontAwesome check */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--secondary-teal);
    font-size: 1.2rem;
}

/* Section: Target */
.target-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.target-card {
    background: var(--white);
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
}

.target-card i {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.target-card p {
    font-size: 0.95rem;
    font-weight: 700;
}

/* Section: Process Flow */
.process-flow {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.process-step {
    background: var(--white);
    border: 2px solid var(--primary-blue);
    width: 100%;
    max-width: 500px;
    padding: 20px;
    text-align: center;
    border-radius: 50px;
    position: relative;
}

.process-step span {
    display: block;
    font-size: 0.8rem;
    color: var(--primary-blue);
    font-weight: 900;
    margin-bottom: 5px;
}

.process-step p {
    font-size: 1.2rem;
    font-weight: 700;
}

.process-arrow {
    color: var(--text-sub);
}

/* Section: CTA BG */
.section-cta-bg {
    background-color: #1F2329;
    /* Dark Grey */
    padding: 60px 0;
}

.cta-pre-text {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Section: Speakers */
.speaker-group-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-sub);
    margin: 40px 0 20px;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 10px;
}

.speakers-grid {
    display: grid;
    gap: 30px;
}

.speaker-card {
    display: flex;
    gap: 30px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    align-items: flex-start;
}

.organizer-card {
    background: #E8F0FF;
    border: none;
}

.speaker-img {
    flex: 0 0 150px;
}

.speaker-img img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--white);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.speaker-img-group {
    flex: 0 0 150px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.speaker-img-group img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--white);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-left: 25px;
    /* 中央寄せ調整 */
}

.speaker-info {
    flex: 1;
}

.company-name {
    font-size: 0.9rem;
    color: var(--text-sub);
    margin-bottom: 5px;
}

.speaker-name {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--primary-blue);
}

.speaker-role {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.speaker-bio {
    font-size: 0.95rem;
    color: var(--text-sub);
    line-height: 1.6;
}

/* Section: Details Table */
.outline-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
}

.outline-table th,
.outline-table td {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
}

.outline-table th {
    width: 30%;
    background-color: #F0F4FF;
    color: var(--primary-blue);
}

.map-link {
    display: inline-block;
    margin-top: 10px;
    color: var(--primary-blue);
    font-size: 0.9rem;
    font-weight: 700;
}

/* Footer CTA */
.footer-cta {
    background: linear-gradient(135deg, var(--secondary-teal), var(--primary-blue));
    color: var(--white);
    padding: 80px 0;
}

/* Footer */
.footer {
    background-color: #1F2329;
    color: #9CA3AF;
    padding: 20px 0;
    font-size: 0.8rem;
}


/* レスポンシブ対応 (SP) */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.5rem;
    }

    .sp-only {
        display: block;
    }

    .hero-main-copy {
        font-size: 1.8rem;
    }

    .reality-list {
        flex-direction: column;
        gap: 10px;
    }

    .reason-grid {
        grid-template-columns: 1fr;
    }

    .card {
        padding: 30px;
    }

    .benefit-wrapper {
        flex-direction: column;
    }

    .target-grid {
        grid-template-columns: 1fr;
    }

    .speaker-card {
        flex-direction: column;
        /* text-align: center; 削除 */
        align-items: center;
    }

    /* プロフィールテキストは左揃えにする */
    .speaker-info {
        text-align: left;
        width: 100%;
    }

    .speaker-img img,
    .speaker-img-group img {
        margin: 0 auto;
    }

    .speaker-img-group {
        flex-direction: row;
        justify-content: center;
    }

    .speaker-img-group img {
        margin: 0;
        width: 80px;
        height: 80px;
    }

    .outline-table th,
    .outline-table td {
        display: block;
        width: 100%;
    }

    .outline-table th {
        border-bottom: none;
        padding-bottom: 5px;
    }

    .outline-table td {
        padding-top: 5px;
    }

    .cta-button {
        width: 100%;
        justify-content: center;
        padding: 15px 20px;
        font-size: 1.1rem;
    }
}