/* style.css */

:root {
    --primary-red: #cc0000;
    --dark-red: #990000;
    --highlight-yellow: #ffff00;
    --bg-color: #f7f7f7;
    --text-main: #333333;
    --gold: #d4af37;
}

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

body {
    font-family: 'Noto Sans JP', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
}

.text-red { color: var(--primary-red); }
.text-bold { font-weight: 900; }
.highlight {
    background: linear-gradient(transparent 50%, var(--highlight-yellow) 50%);
    font-weight: bold;
}
.highlight-red {
    background: linear-gradient(transparent 50%, #ffcccc 50%);
    color: var(--primary-red);
    font-weight: bold;
}

/* Header */
.header {
    background-color: black;
    color: yellow;
    text-align: center;
    padding: 10px;
    font-weight: bold;
    font-size: 14px;
    letter-spacing: 1px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.container {
    max-width: 800px;
    margin: 60px auto 0;
    background: white;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    padding-bottom: 50px;
}

/* Blocks */
.block {
    padding: 40px 20px;
    border-bottom: 2px dashed #ccc;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 60px 20px 20px;
    background: #fff;
}

.hero h1 {
    font-size: 32px;
    margin-bottom: 20px;
    line-height: 1.4;
    border-bottom: 5px solid var(--primary-red);
    display: inline-block;
    padding-bottom: 10px;
}

.sub-headline {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 30px;
}

.evidence-image {
    margin: 30px 0;
    text-align: center;
}

.product-image {
    max-width: 100%;
    height: auto;
    border: 10px solid #fff;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    transform: rotate(-2deg);
    transition: transform 0.3s;
}
.product-image:hover {
    transform: rotate(0deg) scale(1.05);
}

.badge-image {
    position: absolute;
    top: -40px;
    left: -40px;
    width: 150px;
    z-index: 10;
    transform: rotate(-10deg);
    filter: drop-shadow(0 5px 5px rgba(0,0,0,0.5));
}

.stock-image {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    margin: 10px 0;
}

.problem-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.caption {
    font-size: 12px;
    color: #666;
    margin-top: 10px;
}

.lead-text {
    flex: 1;
    min-width: 300px;
    font-size: 18px;
    text-align: left;
    background: #f9f9f9;
    padding: 20px;
    border-left: 5px solid var(--primary-red);
    line-height: 1.8;
}

/* Story Section */
.story-section {
    background: #222;
    color: #fff;
}
.story-section .section-title {
    color: #fff;
    border-bottom: 3px solid var(--primary-red);
    display: inline-block;
    padding-bottom: 10px;
    margin-bottom: 20px;
    text-align: center;
    width: 100%;
}

/* Profile Section */
.profile {
    background: #eef5ff;
}

.section-title {
    text-align: center;
    font-size: 28px;
    margin-bottom: 30px;
    color: #003366;
}

.profile-content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}

.profile-text {
    flex: 1;
    min-width: 300px;
    font-size: 16px;
    padding: 15px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.profile-images {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.polaroid {
    width: 140px;
    height: auto;
    background: white;
    padding: 10px 10px 30px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transform: rotate(3deg);
    border: 1px solid #ddd;
}
.polaroid:nth-child(2) {
    transform: rotate(-4deg);
}

/* Method Blocks */
.method-title {
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 20px;
    padding: 15px;
    color: white;
    text-align: center;
    border-radius: 5px;
}

.method-red .method-title { background: var(--primary-red); }
.method-gold .method-title { background: linear-gradient(135deg, #d4af37, #aa8000); }
.method-black .method-title { background: #333; }

.method-desc {
    font-size: 18px;
    text-align: center;
    margin-bottom: 30px;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    margin-bottom: 20px;
    border: 5px solid #333;
    box-shadow: 0 10px 15px rgba(0,0,0,0.2);
}

.video-container iframe,
.video-container script,
.video-container object,
.video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.story-box {
    background: #fff;
    border: 3px solid #333;
    padding: 20px;
    margin-bottom: 30px;
    position: relative;
}
.story-box::before {
    content: "重要証言";
    position: absolute;
    top: -15px;
    left: 20px;
    background: #333;
    color: #fff;
    padding: 5px 15px;
    font-size: 14px;
    font-weight: bold;
}
.story-box h3 {
    margin-bottom: 15px;
    color: var(--primary-red);
}

/* Testimonials Section */
.testimonials {
    background: #fff8e1;
}
.testimonial-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}
.testimonial-card {
    background: #fff;
    border: 2px solid #ccc;
    padding: 20px;
    width: 100%;
    max-width: 250px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.testimonial-card h3 {
    font-size: 18px;
    margin-bottom: 5px;
}
.testimonial-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--gold);
    margin-bottom: 15px;
}
.stars {
    color: var(--primary-red);
    font-size: 20px;
    margin-bottom: 10px;
    letter-spacing: 2px;
}
.testimonial-text {
    font-size: 14px;
    text-align: left;
    background: #f4f4f4;
    padding: 10px;
    border-radius: 5px;
    font-style: italic;
}

/* CTA Section */
.cta {
    background: linear-gradient(to bottom, #fff, #ffe6e6);
    text-align: center;
    padding: 60px 20px;
}

.cta h2 {
    font-size: 32px;
    color: var(--primary-red);
    margin-bottom: 20px;
}

.price-box {
    background: white;
    border: 5px dashed var(--primary-red);
    display: inline-block;
    padding: 20px 40px;
    margin: 30px 0;
    border-radius: 10px;
}

.price-old {
    text-decoration: line-through;
    color: #666;
    font-size: 16px;
    margin-bottom: 10px;
}

.price-new {
    color: var(--primary-red);
    font-size: 40px;
    font-weight: 900;
}
.price-new .tax {
    font-size: 16px;
    font-weight: normal;
}

.cta-button {
    display: block;
    width: 90%;
    max-width: 600px;
    margin: 0 auto 20px;
    padding: 20px;
    background: linear-gradient(to bottom, #ff3333, #cc0000);
    color: white;
    text-decoration: none;
    font-size: 24px;
    font-weight: 900;
    border-radius: 50px;
    box-shadow: 0 10px 20px rgba(204,0,0,0.4);
    transition: all 0.2s;
    border: 2px solid #fff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    text-align: center;
}
.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(204,0,0,0.6);
    background: linear-gradient(to bottom, #ff4c4c, #e60000);
}

.pulse-btn {
    animation: pulse 1.5s infinite;
}
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

.footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 30px 20px;
}

.small-text {
    font-size: 11px;
    color: #aaa;
    margin-top: 10px;
}

/* Sticky Timer Footer */
#sticky-timer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(204, 0, 0, 0.95);
    color: white;
    text-align: center;
    padding: 15px;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    box-shadow: 0 -5px 15px rgba(0,0,0,0.3);
}

.timer-text {
    font-weight: bold;
    font-size: 16px;
}

.timer-clock {
    font-size: 32px;
    font-weight: 900;
    color: yellow;
    font-family: monospace;
    background: black;
    padding: 5px 15px;
    border-radius: 5px;
    letter-spacing: 2px;
}

.timer-btn {
    background: #ffff00;
    color: #cc0000;
    padding: 10px 20px;
    font-weight: 900;
    text-decoration: none;
    border-radius: 30px;
    border: 2px solid transparent;
    transition: 0.3s;
}
.timer-btn:hover {
    background: #fff;
    border-color: #ffff00;
}

/* Popup Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none; /* hidden by default */
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.modal-content {
    background: white;
    padding: 40px;
    max-width: 600px;
    width: 90%;
    border-radius: 10px;
    text-align: center;
    position: relative;
    border: 10px solid var(--primary-red);
    box-shadow: 0 0 50px rgba(0,0,0,0.8);
    animation: bounceIn 0.5s;
}

@keyframes bounceIn {
    0% { transform: scale(0.5); opacity: 0; }
    80% { transform: scale(1.05); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 30px;
    font-weight: bold;
    color: #999;
    cursor: pointer;
}
.close-btn:hover { color: #333; }

.modal-title {
    font-size: 32px;
    color: var(--primary-red);
    margin-bottom: 15px;
}

.modal-desc {
    font-size: 18px;
    margin-bottom: 20px;
}

.modal-sub {
    font-size: 12px;
    color: #666;
    margin-top: 15px;
}

@media (max-width: 600px) {
    .profile-content { flex-direction: column; }
    .hero h1 { font-size: 24px; }
    .cta-button { font-size: 18px; }
    .badge-image { width: 100px; top: -20px; left: -20px; }
    #sticky-timer { display: none !important; }
}
