﻿@charset "UTF-8";

/* ==========================================================================
   全体基本設定
   ========================================================================== */
body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #333333;
    line-height: 1.6;
    background-color: #f9f9f9;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* ==========================================================================
   ヘッダー（Header）
   ========================================================================== */
.header {
    background: #ffffff;
    border-bottom: 1px solid #eef0f4;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    height: 40px;
    width: auto;
    display: block;
}

/* ナビゲーションメニュー (PC) */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-menu a {
    text-decoration: none;
    color: #444444;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-menu a:hover {
    color: #ff3b68;
}

.nav-menu .apply-btn {
    background: #ff3b68;
    color: #ffffff;
    padding: 8px 18px;
    border-radius: 20px;
    font-weight: bold;
    transition: background 0.2s;
}

.nav-menu .apply-btn:hover {
    background: #e02e55;
    color: #ffffff;
}

/* ハンバーガーボタン (初期状態は非表示) */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #333;
    border-radius: 2px;
    position: absolute;
    transition: all 0.3s ease;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 10px; }
.hamburger span:nth-child(3) { top: 20px; }

/* ハンバーガー開閉用（JSでactiveが付与された時） */
.hamburger.active span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }


/* ==========================================================================
   メインコンテンツ（Palmuキャンペーン報酬）
   ========================================================================== */
.palmu-campaign-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 15px;
    box-sizing: border-box;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.palmu-card {
    background: #ffffff;
    border: 1px solid #eef0f4;
    border-radius: 16px;
    padding: 30px 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.palmu-main-title {
    font-size: 22px;
    font-weight: bold;
    color: #ff3b68;
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 3px solid #ffe6eb;
    display: block;
    white-space: normal;
}

.palmu-info-box {
    background: #fff8f9;
    border-left: 4px solid #ff3b68;
    padding: 15px;
    border-radius: 0 8px 8px 0;
    margin-bottom: 25px;
}

.palmu-info-box p {
    margin: 0 0 10px 0;
    font-size: 0.95em;
}

.palmu-info-box p:last-child {
    margin-bottom: 0;
}

.palmu-badge-common {
    display: inline-block;
    background: #ff3b68;
    color: #ffffff;
    font-size: 0.8em;
    font-weight: bold;
    padding: 3px 8px;
    border-radius: 4px;
    margin-bottom: 8px;
}

.palmu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
}

.bonus-card {
    background: #fafafa;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 18px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.bonus-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-bottom: 1px dashed #ddd;
    padding-bottom: 10px;
    margin-bottom: 12px;
    gap: 8px;
    flex-wrap: wrap;
}

.bonus-title {
    font-size: 1.05em;
    font-weight: bold;
    color: #222222;
    margin: 0;
}

.bonus-price {
    font-size: 1.3em;
    font-weight: bold;
    color: #ff3b68;
    white-space: nowrap;
}

.bonus-list {
    margin: 0;
    padding-left: 18px;
    font-size: 0.88em;
    color: #444444;
}

.bonus-list li {
    margin-bottom: 6px;
    line-height: 1.5;
}

.bonus-note {
    font-size: 0.8em;
    color: #ff3b68;
    margin-top: 8px;
    font-weight: bold;
    list-style: none;
    margin-left: -18px;
}

/* ==========================================================================
   フッター（Footer）
   ========================================================================== */
.footer {
    background: #ffffff;
    border-top: 1px solid #eef0f4;
    padding: 40px 0 20px;
    margin-top: 60px;
}

.footer-logo {
    text-align: center;
    margin-bottom: 20px;
}

.footer-logo img {
    max-height: 45px;
    width: auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px 25px;
    margin-bottom: 20px;
}

.footer-links a {
    text-decoration: none;
    color: #555555;
    font-size: 0.85rem;
}

.footer-links a:hover {
    color: #ff3b68;
}

.copyright {
    text-align: center;
    font-size: 0.75rem;
    color: #888888;
    margin-top: 20px;
}

/* ==========================================================================
   レスポンシブ対応 (スマホ用: 768px以下)
   ========================================================================== */
@media (max-width: 768px) {
    /* ヘッダー・スマホメニュー */
    .hamburger {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: #ffffff;
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 30px 30px;
        box-shadow: -4px 0 10px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
        box-sizing: border-box;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu a {
        font-size: 1rem;
        width: 100%;
        padding: 10px 0;
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-menu .apply-btn {
        text-align: center;
        margin-top: 15px;
    }

    /* メインコンテンツスマホ最適化 */
    .palmu-campaign-container {
        margin: 20px auto;
    }

    .palmu-card {
        padding: 20px 15px;
    }

    .palmu-main-title {
        font-size: 19px;
    }

    .palmu-grid {
        grid-template-columns: 1fr;
    }
}