/* ベース設定・カラーパレット（⑩ カラフルなデザイン） */
:root {
    --primary-color: #ff007f;
    --secondary-color: #ff9900;
    --accent-color: #00d2ff;
    --bg-color: #fdf6f9;
    --text-main: #333333;
    --white: #ffffff;
}

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

body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    color: var(--text-main);
    background-color: var(--bg-color);
    line-height: 1.6;
}

/* ヒーローセクション */
.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    background-size: 200% 200%;
    animation: gradientBG 10s ease infinite;
    padding: 40px 20px;
    text-align: center;
    color: var(--white);
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.release-news {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.hero-title {
    font-size: 2rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* ② 100%保証を一番目立たせるデザイン */
.guarantee-badge {
    background: linear-gradient(to bottom, #fff500, #ffaa00);
    color: #ff0000;
    padding: 20px;
    border-radius: 15px;
    border: 5px solid #fff;
    display: inline-block;
    margin: 20px 0;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    transform: scale(1);
    animation: pop 2s infinite alternate;
}

@keyframes pop {
    0% { transform: scale(1); }
    100% { transform: scale(1.05); box-shadow: 0 15px 30px rgba(255,215,0,0.6); }
}

.guarantee-badge .small-text {
    font-size: 1.5rem;
    color: #333;
}

.guarantee-badge .huge-text {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    display: block;
    text-shadow: 2px 2px 0 #fff;
}

/* ③ メインビジュアルの画像調整 */
.main-visual-container {
    width: 100%;
    max-width: 600px;
    margin: 30px auto 0 auto;
}

.main-visual {
    width: 100%;
    height: 350px;
    object-fit: cover; /* 縦横比を維持して枠いっぱいに表示（歪みを防ぐ） */
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    display: block;
}

/* 共通セクション設定 */
section {
    padding: 60px 20px;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

h2::after {
    content: '';
    width: 100%;
    height: 3px;
    background: var(--accent-color);
    position: absolute;
    bottom: -10px;
    left: 0;
}

/* メッセージセクション */
.empathy-box {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.empathy-text {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.highlight-text {
    font-size: 1.4rem;
    color: #e60000;
    font-weight: bold;
    border: 2px dashed #ff9900;
    padding: 20px;
    background-color: #fffaf0;
    border-radius: 10px;
}

.text-underline {
    background: linear-gradient(transparent 60%, #ffff66 60%);
}

/* サービスセクション */
.service-content {
    font-size: 1.2rem;
}

.guarantee-repeat {
    margin-top: 20px;
    font-size: 1.5rem;
    font-weight: bold;
}

.color-accent {
    color: var(--primary-color);
    font-size: 1.8rem;
}

/* ④ 顔写真セクション（レスポンシブな2カラム） */
.photo-container {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap; /* スマホ表示では縦並びになる */
}

.photo-card {
    background: var(--white);
    padding: 25px;
    border-radius: 15px;
    width: calc(50% - 15px);
    min-width: 280px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.portrait {
    width: 180px;
    height: 180px;
    border-radius: 50%; /* 丸形に切り抜く */
    object-fit: cover;  /* 写真の歪みを防ぐ */
    margin-bottom: 20px;
    border: 4px solid var(--accent-color);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.photo-desc {
    text-align: left;
    font-size: 1rem;
    color: #555;
    line-height: 1.5;
}

/* CTAセクション */
.cta-section {
    background: #fff0f5;
    border-top: 5px solid var(--primary-color);
    border-bottom: 5px solid var(--primary-color);
    margin-bottom: 40px;
}

.cta-instruction {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* 目立つ「購入はこちらから」ボタン */
.purchase-button {
    background: linear-gradient(to right, #ff007f, #ff4e00);
    color: var(--white);
    font-size: 2rem;
    font-weight: bold;
    padding: 20px 40px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(255,0,127,0.4);
    transition: all 0.3s ease;
    animation: heartbeat 1.5s infinite;
}

.purchase-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(255,0,127,0.6);
}

@keyframes heartbeat {
    0% { transform: scale(1); }
    15% { transform: scale(1.05); }
    30% { transform: scale(1); }
    45% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

footer {
    text-align: center;
    padding: 20px;
    background: var(--text-main);
    color: var(--white);
}

/* フェードインアニメーション用クラス（JSと連携） */
.section-fade {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.section-fade.visible {
    opacity: 1;
    transform: translateY(0);
}