/* ==========================================
   Landing Page - Mobile First Styles
   ========================================== */

/* Google Fonts インポート */
@import url('https://fonts.googleapis.com/css2?family=Klee+One:wght@400;600&family=Yuji+Syuku&display=swap');

/* カラー変数 */
:root {
    --main-color: #87CEEB; /* スカイブルー（明るめ） */
    --main-light: #B0E0E6; /* パウダーブルー */
    --main-dark: #4682B4; /* スティールブルー */
    --accent-color: #FF69B4; /* ホットピンク */
    --accent-light: #FFB6C1; /* ライトピンク */
    --text-dark: #333333;
    --text-light: #666666;
    --bg-white: #FFFFFF;
    --bg-light: #F8F9FA;
}

/* ベースフォント設定 */
body {
    font-family: 'Klee One', cursive, 'Hiragino Kaku Gothic ProN', 'メイリオ', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

/* コンテナ - PC表示の中央揃え */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (max-width: 767px) {
    .container {
        padding: 0 16px;
    }
}

/* リセット */
.landing-page-body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.landing-page {
    overflow-x: hidden;
    padding-top: 60px; /* ヘッダーの高さ分 */
}

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

/* ==========================================
   ヘッダー
   ========================================== */
.landing-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    height: 60px;
}

.landing-header .container {
    height: 100%;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.site-logo a {
    color: var(--main-color);
    text-decoration: none;
    font-size: 24px;
    font-weight: 600;
}

.site-logo img {
    height: 40px;
    width: auto;
}

/* ハンバーガーメニュー */
.hamburger-menu {
    width: 30px;
    height: 30px;
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger-menu span {
    display: block;
    position: absolute;
    width: 100%;
    height: 3px;
    background: var(--main-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger-menu span:nth-child(1) {
    top: 0;
}

.hamburger-menu span:nth-child(2) {
    top: 13px;
}

.hamburger-menu span:nth-child(3) {
    bottom: 0;
}

.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 13px;
}

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

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg);
    bottom: 14px;
}

/* モバイルメニュー */
.mobile-menu {
    position: fixed;
    top: 60px;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: calc(100vh - 60px);
    background: var(--bg-white);
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    overflow-y: auto;
    z-index: 999;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu ul {
    list-style: none;
    padding: 20px 0;
}

.mobile-menu li {
    border-bottom: 1px solid #eee;
}

.mobile-menu a {
    display: block;
    padding: 15px 20px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
}

.mobile-menu a:hover {
    background: var(--bg-light);
    color: var(--main-color);
}

/* フッター */
.landing-footer {
    background: var(--main-dark);
    color: var(--bg-white);
    padding: 40px 0 20px;
    margin-top: 80px;
}

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

.footer-nav {
    margin-top: 20px;
}

.footer-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-nav a {
    color: var(--bg-white);
    text-decoration: none;
    font-size: 14px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-nav a:hover {
    opacity: 1;
}

.copyright {
    font-size: 14px;
    opacity: 0.8;
}

/* 全体的なセクションの中央揃え */
.landing-page {
    text-align: center;
}

.landing-page section {
    padding: 60px 0;
}

/* テキストの左寄せが必要な部分のみ個別に指定 */
.faq-question,
.voice-text,
.post-excerpt {
    text-align: left;
}

.section-title {
    font-size: 28px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.4;
    color: var(--main-color);
    font-family: 'Yuji Syuku', serif;
}

/* ==========================================
   ヒーローセクション
   ========================================== */
.hero-section {
    background: linear-gradient(135deg, var(--main-light) 0%, var(--main-color) 100%);
    color: white;
    padding: 40px 0;
    min-height: calc(100vh - 60px);
    display: flex;
    align-items: center;
    text-align: center;
}

.hero-inner {
    width: 100%;
}

.hero-content {
    text-align: center;
    padding: 0 20px;
}

.hero-title {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 16px;
    line-height: 1.3;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.hero-subtitle {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.95;
    line-height: 1.6;
}

.hero-image {
    margin-top: 30px;
}

.hero-image img,
.hero-image > div {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    margin: 0 auto;
}

/* ==========================================
   CTA セクション
   ========================================== */
.cta-section {
    text-align: center;
    padding: 40px 0;
}

.cta-primary {
    background: var(--bg-light);
}

.cta-secondary {
    background: var(--bg-white);
}

.cta-final {
    background: linear-gradient(135deg, var(--main-color) 0%, var(--main-dark) 100%);
    color: white;
}

.cta-title {
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 10px;
}

.cta-subtitle {
    font-size: 16px;
    margin-bottom: 20px;
    opacity: 0.8;
}

.cta-button {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 10px 20px rgba(255,105,180,0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(255,105,180,0.4);
    background: var(--accent-light);
}

.cta-text {
    display: block;
    font-size: 18px;
}

.cta-subtext {
    display: block;
    font-size: 12px;
    margin-top: 4px;
    opacity: 0.9;
}

.cta-button-large {
    padding: 20px 60px;
}

.cta-final .cta-button {
    background: white;
    color: var(--accent-color);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.cta-final .cta-button:hover {
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

/* ==========================================
   チェックリストセクション
   ========================================== */
.check-section {
    background: var(--bg-light);
}

.check-list {
    list-style: none;
    max-width: 400px;
    margin: 0 auto;
}

.check-item {
    background: white;
    padding: 20px;
    margin-bottom: 16px;
    border-radius: 15px;
    box-shadow: 0 3px 10px rgba(135,206,235,0.2);
    display: flex;
    align-items: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    text-align: left;
}

.check-item:hover {
    border-color: var(--main-light);
    transform: translateY(-2px);
}

.check-icon {
    color: var(--accent-color);
    font-size: 24px;
    margin-right: 16px;
    font-weight: bold;
}

.check-text {
    flex: 1;
    font-size: 16px;
    line-height: 1.5;
}

/* ==========================================
   ユーザーボイスセクション
   ========================================== */
.voice-section {
    background: white;
}

.voice-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 500px;
    margin: 0 auto;
}

.voice-item {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 15px;
    border-left: 4px solid var(--main-color);
}

.voice-header {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

/* プレースホルダー画像のスタイル */
.voice-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 12px;
    object-fit: cover;
    border: 2px solid var(--main-light);
    background: #E0E0E0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.voice-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--main-color);
}

.voice-text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-dark);
}

/* ==========================================
   ニーズセクション
   ========================================== */
.needs-section {
    background: linear-gradient(to bottom, var(--bg-white), var(--bg-light));
}

.needs-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 400px;
    margin: 0 auto;
}

.needs-item {
    text-align: center;
    background: white;
    padding: 30px 20px;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(135,206,235,0.2);
    transition: all 0.3s ease;
}

.needs-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(135,206,235,0.3);
}

.needs-icon {
    font-size: 48px;
    margin-bottom: 16px;
    filter: hue-rotate(15deg);
}

.needs-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--main-color);
}

.needs-text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-light);
}

/* ==========================================
   共感セクション（4コマ）
   ========================================== */
.empathy-section {
    background: var(--bg-white);
}

.comic-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    max-width: 400px;
    margin: 0 auto;
}

.comic-panel {
    background: var(--bg-light);
    padding: 16px;
    border-radius: 15px;
    text-align: center;
    position: relative;
    border: 3px solid var(--main-light);
}

.panel-number {
    position: absolute;
    top: 8px;
    left: 8px;
    background: var(--accent-color);
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
}

.panel-image {
    margin-bottom: 12px;
}

.panel-image img,
.panel-image > div {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 10px;
}

.panel-caption {
    font-size: 13px;
    line-height: 1.4;
    color: var(--text-dark);
    font-weight: 600;
}

/* ==========================================
   投稿セクション
   ========================================== */
.posts-section {
    background: var(--bg-light);
}

.posts-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 500px;
    margin: 0 auto;
}

.post-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(135,206,235,0.2);
    transition: all 0.3s ease;
}

.post-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(135,206,235,0.3);
}

.post-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.post-content {
    padding: 20px;
}

.post-title {
    font-size: 18px;
    margin-bottom: 10px;
}

.post-title a {
    color: var(--main-color);
    text-decoration: none;
}

.post-title a:hover {
    color: var(--main-dark);
}

.post-excerpt {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* ==========================================
   機能説明セクション
   ========================================== */
.features-section {
    background: white;
}

.features-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 400px;
    margin: 0 auto;
}

.feature-item {
    text-align: center;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: var(--main-light);
    color: white;
}

.feature-item:hover .feature-title,
.feature-item:hover .feature-text {
    color: white;
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 12px;
}

.feature-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--main-color);
}

.feature-text {
    font-size: 12px;
    color: var(--text-light);
    line-height: 1.5;
}

/* ==========================================
   登録フローセクション
   ========================================== */
.flow-section {
    background: linear-gradient(to bottom, var(--bg-light), var(--bg-white));
}

.flow-steps {
    max-width: 400px;
    margin: 0 auto;
}

/* モバイルファースト：縦並びがデフォルト */
.flow-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
    position: relative;
    padding-left: 60px;
}

.flow-step:last-child {
    margin-bottom: 0;
}

.step-number {
    background: var(--main-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    position: absolute;
    left: 0;
    top: 0;
}

/* 縦の接続線 */
.flow-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 20px;
    top: 45px;
    width: 2px;
    height: calc(100% - 25px);
    background: var(--main-light);
    z-index: -1;
}

.step-content {
    flex: 1;
    padding-top: 5px;
}

.step-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--main-color);
}

.step-text {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
}

/* 矢印は非表示（縦レイアウトでは不要） */
.flow-arrow {
    display: none;
}

/* タブレット（768px以上）：まだ縦並びを維持 */
@media (min-width: 768px) {
    .flow-steps {
        max-width: 600px;
    }
    
    .flow-step {
        padding-left: 80px;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .flow-step:not(:last-child)::after {
        left: 25px;
        top: 55px;
    }
    
    .step-title {
        font-size: 20px;
    }
    
    .step-text {
        font-size: 15px;
    }
}

/* ==========================================
   FAQセクション
   ========================================== */
.faq-section {
    background: white;
}

.faq-list {
    max-width: 600px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 16px;
    border: 2px solid var(--main-light);
    border-radius: 15px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px;
    background: white;
    border: none;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
    color: var(--main-color);
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-icon {
    font-size: 20px;
    transition: transform 0.3s ease;
    color: var(--accent-color);
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: var(--bg-light);
}

.faq-answer p {
    padding: 0 20px 20px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-dark);
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

/* ==========================================
   タブレット対応（768px以上）
   ========================================== */
@media (min-width: 768px) {
    .section-title {
        font-size: 36px;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .hero-subtitle {
        font-size: 20px;
    }
    
    .voice-list {
        flex-direction: row;
        max-width: 100%;
        flex-wrap: wrap;
    }
    
    .voice-item {
        flex: 1;
        min-width: 250px;
    }
    
    .needs-list {
        flex-direction: row;
        max-width: 100%;
    }
    
    .needs-item {
        flex: 1;
    }
    
    .comic-strip {
        grid-template-columns: repeat(4, 1fr);
        max-width: 100%;
    }
    
    .posts-grid {
        flex-direction: row;
        max-width: 100%;
        flex-wrap: wrap;
    }
    
    .post-card {
        flex: 1;
        min-width: 300px;
    }
    
    .features-list {
        grid-template-columns: repeat(4, 1fr);
        max-width: 100%;
    }
}

/* PC表示での最大幅制御 */
@media (min-width: 1200px) {
    .hero-content,
    .check-list,
    .voice-list,
    .needs-list,
    .comic-strip,
    .posts-grid,
    .features-list,
    .flow-steps,
    .faq-list {
        max-width: 1000px;
        margin-left: auto;
        margin-right: auto;
    }
    
    /* セクションごとの内部パディング調整 */
    .landing-page section > .container {
        max-width: 1200px;
        margin: 0 auto;
    }
}
    .landing-page section {
        padding: 80px 0;
    }
    
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-content {
        max-width: 800px;
        margin: 0 auto;
    }
    
    .flow-steps {
        display: flex;
        justify-content: space-between;
        max-width: 100%;
    }
    
    .flow-step {
        flex: 1;
        flex-direction: column;
        text-align: center;
        margin-bottom: 0;
    }
    
    .step-number {
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .flow-arrow {
        top: 40px;
        right: -30px;
    }
    
    /* デスクトップではハンバーガーメニューを通常のナビに変更 */
    .hamburger-menu {
        display: none;
    }
    
    .mobile-menu {
        position: static;
        width: auto;
        height: auto;
        background: transparent;
        box-shadow: none;
        right: 0;
    }
    
    .mobile-menu ul {
        display: flex;
        gap: 30px;
        padding: 0;
    }
    
    .mobile-menu li {
        border: none;
    }
    
    .mobile-menu a {
        padding: 5px 10px;
        color: var(--main-color);
        font-weight: 600;
    }
    
    .mobile-menu a:hover {
        background: transparent;
        color: var(--main-dark);
    }
}