/* リセット */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 基本スタイル */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', sans-serif;
    line-height: 1.8;
    color: #333;
    background-color: #fff;
    font-size: 16px;
}

/* ヘッダー */
header {
    background-color: #f8f9fa;
    padding: 10px 20px;
    text-align: right;
    border-bottom: 1px solid #dee2e6;
}

.update-date {
    font-size: 14px;
    color: #666;
}

/* メインコンテンツ */
main {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* 見出し */
h1 {
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid #3498db;
}

h2 {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
    margin: 50px 0 25px;
    padding-left: 15px;
    border-left: 5px solid #3498db;
}

h3 {
    font-size: 20px;
    font-weight: 600;
    color: #34495e;
    margin: 30px 0 15px;
}

h4 {
    font-size: 18px;
    font-weight: 600;
    color: #34495e;
    margin: 20px 0 10px;
}

/* 段落 */
p {
    margin-bottom: 1.2em;
}

/* ヒーロー画像プレースホルダー */
.hero-image-placeholder {
    margin: 0 -20px 30px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 0;
}

.hero-image-placeholder .placeholder-box {
    background-color: rgba(255, 255, 255, 0.9);
    border: 3px dashed #3498db;
    border-radius: 8px;
    padding: 100px 40px;
    text-align: center;
    color: #7f8c8d;
    margin: 0;
}

.hero-image-placeholder .placeholder-box p {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.hero-image-placeholder .placeholder-box small {
    font-size: 14px;
    color: #95a5a6;
}

/* セクションイラストプレースホルダー */
.section-illustration {
    margin: 20px 0 30px;
}

.section-illustration .placeholder-box {
    background: linear-gradient(135deg, #ffeef8 0%, #e3f2fd 100%);
    border: 2px dashed #9b59b6;
    border-radius: 8px;
    padding: 60px 30px;
    text-align: center;
    color: #7f8c8d;
}

.section-illustration .placeholder-box p {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
}

.section-illustration .placeholder-box small {
    font-size: 13px;
    color: #95a5a6;
}

/* イントロ */
.intro {
    background-color: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 35px;
}

.intro p {
    margin-bottom: 1em;
}

/* 目次 */
.toc {
    background-color: #fff;
    border: 2px solid #3498db;
    border-radius: 8px;
    padding: 25px;
    margin: 35px 0;
}

.toc h2 {
    margin: 0 0 20px;
    padding: 0;
    border: none;
    font-size: 22px;
}

.toc ul {
    list-style: none;
    padding-left: 0;
}

.toc li {
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
}

.toc li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: #3498db;
    font-size: 12px;
}

.toc a {
    color: #2980b9;
    text-decoration: none;
    font-weight: 500;
}

.toc a:hover {
    text-decoration: underline;
}

/* セクション */
.section {
    margin-bottom: 50px;
}

.section ul {
    padding-left: 25px;
    margin-bottom: 1.5em;
}

.section li {
    margin-bottom: 0.8em;
}

/* アプリランキング */
.app-ranking {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.app-item {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 30px;
    position: relative;
}

/* 近日公開アプリ用スタイル */
.app-item-coming-soon {
    background: linear-gradient(135deg, #fff5f7 0%, #f0f8ff 100%);
    border: 2px solid #ff6b9d;
    box-shadow: 0 4px 12px rgba(255, 107, 157, 0.15);
}

.coming-soon-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: linear-gradient(135deg, #ff6b9d, #c86dd7);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 14px;
    box-shadow: 0 4px 8px rgba(255, 107, 157, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.coming-soon-note {
    background-color: #fff3cd;
    border-left: 4px solid #ff6b9d;
    padding: 12px;
    border-radius: 4px;
    font-size: 14px;
    color: #856404;
    margin: 15px 0;
}

.app-header h3 {
    color: #2c3e50;
    margin-top: 0;
    margin-bottom: 5px;
}

.app-header h3 a {
    color: #2c3e50;
    text-decoration: none;
}

.app-header h3 a:hover {
    color: #3498db;
    text-decoration: underline;
}

.app-subtitle {
    color: #7f8c8d;
    font-size: 14px;
    margin-bottom: 15px;
}

.app-image-placeholder {
    margin: 15px 0;
}

.placeholder-box {
    background-color: #ecf0f1;
    border: 2px dashed #bdc3c7;
    border-radius: 6px;
    padding: 60px 20px;
    text-align: center;
    color: #95a5a6;
    font-size: 14px;
}

.app-details {
    margin: 20px 0;
}

.app-table {
    width: 100%;
    border-collapse: collapse;
    margin: 10px 0;
}

.app-table th,
.app-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #dee2e6;
}

.app-table th {
    background-color: #e9ecef;
    font-weight: 600;
    width: 100px;
    color: #2c3e50;
}

.app-table td {
    color: #495057;
}

.app-recommend {
    background-color: #fff;
    padding: 15px;
    border-radius: 6px;
    margin: 15px 0;
}

.app-recommend h4 {
    margin-top: 0;
    font-size: 16px;
    color: #2980b9;
    margin-bottom: 10px;
}

.app-recommend ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.app-recommend li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.app-recommend li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: 700;
}

/* インタビューセクション */
.interview-section {
    background-color: #fff5f7;
    padding: 30px;
    border-radius: 8px;
    margin: 50px 0;
}

.interview {
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.interviewer-info {
    background-color: #f0f8ff;
    padding: 15px;
    border-radius: 6px;
    margin: 20px 0;
}

.interviewer-info h4 {
    margin-top: 0;
    font-size: 16px;
    color: #2980b9;
}

.interviewer-info p {
    margin-bottom: 0;
    font-size: 14px;
}

.interview-content p {
    margin-bottom: 1.2em;
    line-height: 1.9;
}

.interview-content strong {
    color: #2c3e50;
}

.tips-list {
    list-style: none;
    padding-left: 0;
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.tips-list li {
    margin-bottom: 12px;
    padding-left: 10px;
}

/* 公的支援 */
.support-item {
    background-color: #f0f8ff;
    border: 1px solid #b8daff;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 25px;
}

.support-item h3 {
    color: #2c3e50;
    margin-top: 0;
}

.support-url {
    margin-bottom: 15px;
}

.support-url a {
    color: #2980b9;
    font-size: 14px;
    word-break: break-all;
}

.support-item ul {
    list-style: none;
    padding-left: 0;
    margin: 15px 0;
}

.support-item li {
    margin-bottom: 10px;
    padding-left: 30px;
    position: relative;
}

/* カフェリスト */
.cafe-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.cafe-item {
    background-color: #fff9f0;
    border: 1px solid #ffe4cc;
    border-radius: 8px;
    padding: 20px;
}

.cafe-item h3 {
    color: #2c3e50;
    margin-top: 0;
    margin-bottom: 10px;
}

.cafe-url {
    margin-bottom: 12px;
}

.cafe-url a {
    color: #e67e22;
    font-size: 14px;
    word-break: break-all;
}

/* Google Map埋め込み用 */
.map-container {
    margin: 15px 0;
    border-radius: 6px;
    overflow: hidden;
}

.map-container iframe {
    display: block;
    width: 100%;
    border-radius: 6px;
}

/* FAQ */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.faq-item {
    background-color: #f8f9fa;
    border-left: 4px solid #3498db;
    border-radius: 4px;
    padding: 20px;
}

.faq-item h3 {
    color: #2c3e50;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 18px;
}

.faq-answer h4 {
    color: #2980b9;
    font-size: 17px;
    margin-top: 0;
    margin-bottom: 12px;
}

.faq-answer ul {
    padding-left: 25px;
    margin: 12px 0;
}

/* ボタン */
.btn {
    display: inline-block;
    background-color: #3498db;
    color: #fff !important;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

.btn:hover {
    background-color: #2980b9;
    text-decoration: none;
}

/* 目次に戻る */
.back-to-toc {
    text-align: right;
    margin-top: 30px;
}

.back-to-toc a {
    color: #7f8c8d;
    font-size: 14px;
    text-decoration: none;
}

.back-to-toc a:hover {
    text-decoration: underline;
}

/* まとめセクション */
#matome ul {
    list-style: none;
    padding-left: 0;
}

#matome li {
    margin-bottom: 12px;
    padding-left: 30px;
    position: relative;
}

.closing-message {
    background-color: #fff5f7;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    color: #e74c3c;
    margin-top: 30px;
}

/* フッター */
footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    text-align: center;
    padding: 30px 20px;
    margin-top: 60px;
}

footer p {
    margin: 5px 0;
    font-size: 14px;
}

.footer-note {
    font-size: 12px;
    color: #95a5a6;
}

/* リンクスタイル */
a {
    color: #3498db;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* 強調 */
strong {
    font-weight: 700;
    color: #2c3e50;
}

/* レスポンシブ */
@media (max-width: 768px) {
    main {
        padding: 20px 15px;
    }

    h1 {
        font-size: 24px;
    }

    h2 {
        font-size: 20px;
        margin: 35px 0 20px;
    }

    h3 {
        font-size: 18px;
    }

    .intro {
        padding: 20px;
    }

    .toc {
        padding: 20px;
    }

    .app-item,
    .support-item,
    .cafe-item,
    .interview,
    .faq-item {
        padding: 18px;
    }

    .interview-section {
        padding: 20px 15px;
    }
}

/* スムーススクロール */
html {
    scroll-behavior: smooth;
}

/* セクション間の余白調整 */
section+section {
    margin-top: 50px;
}