/* 基本設定 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    line-height: 1.8;
    color: #333;
    background-color: #fff;
}

/* ヘッダー */
header {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
    padding: 40px 20px;
    text-align: center;
    color: #fff;
}

header h1 {
    font-size: 28px;
    margin-bottom: 15px;
    line-height: 1.4;
}

.update-date {
    font-size: 14px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.share-buttons p {
    font-size: 14px;
    opacity: 0.9;
}

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

/* イントロセクション */
.intro {
    background-color: #fff5f7;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 40px;
    border-left: 4px solid #ff9a9e;
}

.intro h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #d63384;
}

.intro p {
    margin-bottom: 15px;
}

/* 目次 */
.toc {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 40px;
}

.toc h2 {
    font-size: 22px;
    margin-bottom: 20px;
    color: #333;
}

.toc ul {
    list-style: none;
}

.toc li {
    margin-bottom: 12px;
}

.toc a {
    color: #0066cc;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.toc a:hover {
    color: #004499;
    border-bottom-color: #004499;
}

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

.section h2 {
    font-size: 26px;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 3px solid #ff9a9e;
    color: #d63384;
}

.section h3 {
    font-size: 20px;
    margin: 25px 0 15px;
    color: #333;
}

.section p {
    margin-bottom: 15px;
}

.section-intro,
.section-outro {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 6px;
    margin-bottom: 30px;
}

.lead {
    font-size: 18px;
    font-weight: 600;
    margin: 30px 0 20px;
    color: #d63384;
}

/* ポイント */
.point {
    margin-bottom: 30px;
    padding-left: 20px;
    border-left: 3px solid #ffc0cb;
}

.point h3 {
    color: #d63384;
    margin-bottom: 12px;
}

/* アプリ紹介 */
.app-item {
    background-color: #fff;
    border: 2px solid #ffc0cb;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
}

.app-item h3 {
    font-size: 22px;
    color: #d63384;
    margin-bottom: 20px;
}

/* 近日公開アプリ用の特別スタイル */
.app-item-coming-soon {
    position: relative;
    background: linear-gradient(135deg, #e8f5e9 0%, #f1f8e9 100%);
    border: 2px solid #4caf50;
}

.coming-soon-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.app-subtitle {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
    font-weight: normal;
}

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


.app-info {
    background-color: #fff5f7;
    padding: 20px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.app-info p {
    margin-bottom: 10px;
}

.app-info strong {
    color: #d63384;
}

.app-recommend h4 {
    font-size: 18px;
    color: #d63384;
    margin-bottom: 15px;
}

.app-recommend p {
    margin-bottom: 15px;
}

.official-link {
    margin-top: 20px;
}

.official-link a {
    display: inline-block;
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
    color: #fff;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.official-link a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 154, 158, 0.4);
}

/* 安全ポイント */
.safety-point {
    background-color: #fff9e6;
    border-left: 4px solid #ffc107;
    padding: 20px;
    margin-bottom: 25px;
    border-radius: 4px;
}

.safety-point h3 {
    color: #e65100;
    margin-bottom: 12px;
}

.safety-point ul {
    margin-left: 20px;
    margin-top: 10px;
}

.safety-point li {
    margin-bottom: 8px;
}

/* デートスポット */
.spot-item {
    background-color: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 25px;
    border-left: 4px solid #ff9a9e;
}

.spot-item h3 {
    color: #d63384;
    margin-bottom: 15px;
}

.spot-item .official-link {
    margin-top: 15px;
}

.spot-item .official-link a {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 8px 16px;
    font-size: 14px;
}

/* フッター */
footer {
    background-color: #f8f9fa;
    padding: 30px 20px;
    margin-top: 60px;
    border-top: 3px solid #ff9a9e;
    text-align: center;
}

footer .publisher {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

footer .copyright {
    font-size: 13px;
    color: #999;
}

/* リンク */
a {
    color: #0066cc;
    text-decoration: underline;
}

a:hover {
    color: #004499;
}

/* リスト */
ul {
    margin-left: 20px;
}

li {
    margin-bottom: 8px;
}

/* 画像プレースホルダーとマップ */
.hero-image-placeholder {
    width: 100%;
    max-width: 800px;
    margin: 0 auto 30px;
    border-radius: 8px;
    overflow: hidden;
}

.hero-image-placeholder img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.image-placeholder {
    width: 100%;
    max-width: 600px;
    margin: 20px auto;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
}

.image-placeholder img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.placeholder-text {
    text-align: center;
    color: #d63384;
    font-weight: bold;
    padding: 10px;
}

.placeholder-text small {
    display: block;
    font-weight: normal;
    font-size: 14px;
    color: #e65100;
    margin-top: 5px;
}

.map-container {
    margin: 20px 0;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #ffc0cb;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* レスポンシブ */
@media (max-width: 768px) {
    header h1 {
        font-size: 22px;
    }

    main {
        padding: 20px 15px;
    }

    .section h2 {
        font-size: 22px;
    }

    .section h3 {
        font-size: 18px;
    }

    .app-item,
    .spot-item {
        padding: 20px;
    }

    .intro,
    .toc {
        padding: 20px;
    }

    /* モバイルで画像をフル幅に */
    .hero-image-placeholder {
        max-width: 100%;
        margin-bottom: 20px;
    }

    .image-placeholder {
        max-width: 100%;
        margin: 15px 0;
    }
}

/* まとめ注釈 */
.summary-note {
    font-size: 13px;
    color: #666;
    margin-top: 20px;
    padding: 15px;
    background-color: #f0f0f0;
    border-radius: 6px;
    line-height: 1.6;
}

/* PR表記（アフィリエイト記事の冒頭） */
.ad-disclosure {
    font-size: 12px;
    color: #999;
    text-align: right;
    margin-bottom: 20px;
}

/* =========================================================
   ブログ共通パーツ（ヘッダー / フッター / カード等）
   ========================================================= */

/* --- 共通ヘッダー（ナビ） --- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    padding: 0;
    text-align: left;
    color: #333;
    box-shadow: 0 2px 8px rgba(214, 51, 132, 0.08);
    border-bottom: 2px solid #ffe0ea;
}

.site-header-inner {
    max-width: 1040px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.site-logo {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    line-height: 1.2;
}

.site-logo-main {
    font-size: 20px;
    font-weight: 700;
    color: #d63384;
}

.site-logo-sub {
    font-size: 11px;
    color: #999;
    margin-top: 2px;
}

.site-nav {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.site-nav a {
    display: inline-block;
    padding: 8px 14px;
    color: #555;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    border-radius: 20px;
    transition: all 0.2s ease;
}

.site-nav a:hover {
    background: #fff0f5;
    color: #d63384;
}

/* モバイルメニュー（チェックボックスハック） */
.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    position: relative;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
    content: "";
    position: absolute;
    left: 8px;
    width: 24px;
    height: 3px;
    background: #d63384;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-toggle-label span {
    top: 19px;
}

.nav-toggle-label span::before {
    top: -8px;
}

.nav-toggle-label span::after {
    top: 8px;
}

/* --- パンくず --- */
.breadcrumb {
    max-width: 1040px;
    margin: 0 auto;
    padding: 12px 20px;
    font-size: 13px;
    color: #999;
}

.breadcrumb a {
    color: #0066cc;
    text-decoration: none;
}

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

.breadcrumb .sep {
    margin: 0 8px;
    color: #ccc;
}

/* --- トップのヒーロー --- */
.top-hero {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
    padding: 60px 20px;
    text-align: center;
    color: #fff;
}

.top-hero-inner {
    max-width: 760px;
    margin: 0 auto;
}

.top-hero h1 {
    font-size: 32px;
    margin-bottom: 18px;
    line-height: 1.4;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.top-hero p {
    font-size: 16px;
    margin-bottom: 28px;
    line-height: 1.9;
}

.top-hero-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.25s ease;
}

.btn-primary {
    background: #d63384;
    color: #fff;
    box-shadow: 0 4px 12px rgba(214, 51, 132, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    color: #fff;
    box-shadow: 0 6px 16px rgba(214, 51, 132, 0.45);
}

.btn-secondary {
    background: #fff;
    color: #d63384;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    color: #d63384;
}

/* --- トップ本体 --- */
.top-main {
    max-width: 1040px;
    margin: 0 auto;
    padding: 50px 20px;
}

.post-section {
    margin-bottom: 55px;
}

.section-heading {
    font-size: 24px;
    color: #d63384;
    margin-bottom: 25px;
    padding-left: 14px;
    border-left: 6px solid #ff9a9e;
}

/* --- 記事カード一覧 --- */
.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
}

.post-card {
    background: #fff;
    border: 1px solid #f0d6df;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.25s ease;
}

.post-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(214, 51, 132, 0.15);
}

.card-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #fff0f5;
}

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

.card-thumb-shindan,
.card-thumb-soon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
}

.card-thumb-shindan {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
}

.card-thumb-soon {
    background: #f2f2f2;
    color: #bbb;
    font-size: 16px;
    font-weight: 700;
}

.card-body {
    padding: 16px;
}

.card-cat {
    display: inline-block;
    background: #ffe0ea;
    color: #d63384;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 12px;
    margin-right: 8px;
}

.card-date {
    font-size: 12px;
    color: #999;
}

.card-title {
    font-size: 16px;
    line-height: 1.5;
    margin-top: 10px;
    color: #333;
}

.post-card-soon {
    opacity: 0.75;
}

.post-card-soon .card-title {
    color: #999;
}

/* --- 人気記事ランキング --- */
.popular-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.popular-list li {
    margin-bottom: 14px;
}

.popular-list a {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    border: 1px solid #f0d6df;
    border-radius: 10px;
    padding: 10px 14px;
    text-decoration: none;
    color: #333;
    transition: all 0.2s ease;
}

.popular-list a:hover {
    background: #fff5f7;
}

.popular-list .rank {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    background: #d63384;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 15px;
}

.popular-thumb {
    flex: 0 0 auto;
    width: 60px;
    height: 45px;
    border-radius: 6px;
    overflow: hidden;
    background: #fff0f5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.popular-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.popular-title {
    font-size: 15px;
    line-height: 1.5;
    font-weight: 600;
}

/* --- 診断CTAバンド --- */
.cta-band {
    background: #fff5f7;
    border: 2px dashed #ffb3c8;
    border-radius: 12px;
    padding: 32px 20px;
    text-align: center;
}

.cta-band p {
    font-size: 18px;
    font-weight: 700;
    color: #d63384;
    margin-bottom: 18px;
}

/* --- 固定ページ（運営者情報・プライバシー・お問い合わせ） --- */
.page-main {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 20px 50px;
}

.page-title {
    font-size: 28px;
    color: #d63384;
    margin: 20px 0 30px;
    padding-bottom: 14px;
    border-bottom: 3px solid #ff9a9e;
}

.page-section {
    margin-bottom: 32px;
}

.page-section h2 {
    font-size: 20px;
    color: #d63384;
    margin-bottom: 14px;
    padding-left: 12px;
    border-left: 4px solid #ffc0cb;
}

.page-section p {
    margin-bottom: 14px;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
}

.info-table th,
.info-table td {
    border: 1px solid #f0d6df;
    padding: 12px 14px;
    text-align: left;
    font-size: 15px;
    vertical-align: top;
}

.info-table th {
    background: #fff5f7;
    color: #d63384;
    width: 34%;
    white-space: nowrap;
}

.page-note {
    font-size: 13px;
    color: #999;
    margin-top: 30px;
}

.form-placeholder {
    background: #fff5f7;
    border: 2px dashed #ffb3c8;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
}

.form-placeholder-title {
    font-size: 18px;
    font-weight: 700;
    color: #d63384;
    margin-bottom: 14px;
}

.form-placeholder-note {
    font-size: 13px;
    color: #888;
    margin-top: 14px;
}

/* --- 共通フッター --- */
.site-footer {
    background: #4a2c38;
    color: #f0e0e6;
    padding: 40px 20px;
    margin-top: 60px;
    border-top: none;
    text-align: center;
}

.site-footer-inner {
    max-width: 1040px;
    margin: 0 auto;
}

.site-footer-logo {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.site-footer-catch {
    font-size: 14px;
    color: #d9c2ca;
    margin-bottom: 24px;
}

.site-footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 20px;
    margin-bottom: 24px;
}

.site-footer-nav a {
    color: #f0e0e6;
    text-decoration: none;
    font-size: 14px;
}

.site-footer-nav a:hover {
    color: #ff9a9e;
    text-decoration: underline;
}

.site-copyright {
    font-size: 12px;
    color: #b39aa4;
}

/* =========================================================
   レスポンシブ（ブログ共通パーツ）
   ========================================================= */
@media (max-width: 768px) {
    .nav-toggle-label {
        display: block;
    }

    .site-nav {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 0;
        margin-top: 10px;
    }

    .nav-toggle:checked ~ .site-nav {
        display: flex;
    }

    .site-nav a {
        border-radius: 8px;
        padding: 12px 14px;
        border-bottom: 1px solid #ffe0ea;
    }

    .top-hero {
        padding: 44px 18px;
    }

    .top-hero h1 {
        font-size: 25px;
    }

    .top-hero-actions {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
    }

    .section-heading {
        font-size: 21px;
    }

    .info-table th {
        width: 40%;
    }
}
