/* base.css */

/* モバイルファーストの基本的なスタイル */
body {
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* グローバルスタイルから移動 */
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    background-color: #f8f8f8; /* Light background */
    color: #333333; /* Dark text for contrast */
    scroll-behavior: smooth; /* スムーズスクロールを有効にする */
}

.br-m, .br-pc {
    display: none; /* まずはどちらも非表示に */
}

.hero-gradient-overlay {
    background: rgba(0, 0, 0, 0.2); /* Semi-transparent black (20% opacity) */
    padding-top: 4rem;
    padding-bottom: 4rem;
}

/* カスタムスクロールバー - グローバルスタイルから移動 */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #e0e0e0;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb {
    background: #a0a0a0; /* スクロールバーの色 */
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: #808080;
}

/* コンテナの基本設定 */
.container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem; /* Tailwindのpx-4に相当 */
    padding-right: 1rem; /* Tailwindのpx-4に相当 */
}

/* セクションの基本的なパディング */
section {
    padding-top: 4rem; /* py-16 */
    padding-bottom: 4rem; /* py-16 */
}

/* 見出しの基本スタイル */
h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-weight: bold;
    /* グローバルスタイルから移動 */
    font-weight: 900; letter-spacing: 0.03em; line-height: 1.2; /* h1 */
    font-weight: 800; letter-spacing: 0.02em; line-height: 1.3; /* h2 */
    font-weight: 700; /* h3 */
}
/* Section headings (h2) - グローバルスタイルから移動 */
h2 {
    font-size: 2.2rem; /* Reduced from 2.8rem */
    line-height: 1.1;
    margin-bottom: 2.5rem;
    color: #222;
}

/* Sub-paragraphs below section headings - グローバルスタイルから移動 */
.container > p.text-lg.md\:text-xl {
    font-size: 1.1rem; /* Reduced from 1.2rem */
    line-height: 1.8;
    margin-bottom: 3.5rem;
    color: #444;
}

/* リンクの基本スタイル */
a {
    color: inherit;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

/* ボタンの基本スタイル */
button, .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}
/* ボタン共通スタイル - 緑基調 - グローバルスタイルから移動 */
.btn-primary {
    background: linear-gradient(to right, #4CAF50, #8BC34A); /* Green to Lime Green */
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out, background 0.3s ease-in-out;
    box-shadow: 0 8px 20px rgba(76, 175, 80, 0.3); /* 緑系の影 */
    color: #ffffff; /* ここで文字色を白に設定 */
    animation: pulseButton 2s infinite cubic-bezier(0.4, 0, 0.6, 1);
}
.btn-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(76, 175, 80, 0.4);
    animation: none;
}
.btn-secondary {
    border: 2px solid #2196F3; /* 標準的な青のボーダー */
    color: #2196F3; /* 標準的な青のテキスト */
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}
.btn-secondary:hover {
    background-color: #2196F3;
    color: #ffffff;
    box-shadow: 0 8px 15px rgba(33, 150, 243, 0.2);
}

/* ボタンパルスアニメーション (カラーを緑に変更) - グローバルスタイルから移動 */
@keyframes pulseButton {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 20px rgba(76, 175, 80, 0.3);
    }
    50% {
        transform: scale(1.03);
        box-shadow: 0 12px 25px rgba(76, 175, 80, 0.5);
    }
}
/* 白抜きボタン用パルスアニメーション - グローバルスタイルから移動 */
@keyframes pulseWhiteButton {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); /* Light grey shadow for white button */
    }
    50% {
        transform: scale(1.03);
        box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25); /* Darker grey shadow */
    }
}

/* ヘッダーログインボタンの特定スタイル - グローバルスタイルから移動 */
.btn-login-header {
    border: 3px solid #2196F3;
    color: #2196F3;
    background-color: transparent;
    transition: all 0.3s ease-in-out;
}
.btn-login-header:hover {
    background-color: #2196F3;
    color: #ffffff;
    box-shadow: 0 6px 15px rgba(33, 150, 243, 0.3);
}

/* 画像のレスポンシブ対応 */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* リストの基本スタイル */
ul, ol {
    margin-top: 0;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

/* その他の汎用的な要素のリセットや調整 */
p {
    margin-top: 0;
    margin-bottom: 1rem;
}

/* スムーズスクロールの有効化 */
html {
    scroll-behavior: smooth;
}

/* モバイルメニューの表示/非表示を制御するクラス */
.mobile-menu-open {
    display: block;
}
.mobile-menu-closed {
    display: none;
}

/* アニメーション用クラス - グローバルスタイルから移動 */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}
.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}
.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}
.slide-in-left.appear {
    opacity: 1;
    transform: translateX(0);
}
.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}
.slide-in-right.appear {
    opacity: 1;
    transform: translateX(0);
}

/* カードスタイル - グローバルスタイルから移動 */
.card-shadow {
    background-color: #ffffff;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease-in-out, box-shadow 0.4s ease-in-out, background-color 0.3s ease;
    border: 1px solid rgba(240, 240, 240, 0.5);
}
.card-shadow:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
}

/* 特徴・ステップのアイコン背景 - グローバルスタイルから移動 */
.icon-bg-step1 { background-color: #4CAF50; } /* Green */
.icon-bg-step2 { background-color: #2196F3; } /* Blue */
.icon-bg-step3 { background-color: #FFB300; } /* Amber */

/* ヒーローテキストの新しいアニメーション - グローバルスタイルから移動 */
@keyframes heroTextClipIn {
    0% {
        transform: translateY(100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}
.animated-hero-line {
    display: block;
    opacity: 0;
    transform: translateY(100%);
    animation: heroTextClipIn 0.8s ease-out forwards;
}

/* ヒーローメインタイトルテキストのスタイル - グローバルスタイルから移動 */
.hero-main-title-text {
    font-size: 3.2rem; /* Reduced for desktop */
    font-weight: 900;
    line-height: 1.2;
    color: #ffffff; /* Changed to white */
    text-shadow: none; /* Removed text shadow */
    transition: transform 0.5s ease-out;
    letter-spacing: 0.02em;
    
}
.hero-main-title-text:hover {
    transform: scale(1.02);
}

/* カウントアップのアニメーション - グローバルスタイルから移動 */
.count-up-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #FF5722; /* 元の強調色 */
    display: inline-block;
}
/* AIアイコンのアニメーション - グローバルスタイルから移動 */
@keyframes rotate-pulse {
    0% { transform: rotate(0deg) scale(1); opacity: 1; }
    50% { transform: rotate(10deg) scale(1.05); opacity: 0.9; }
    100% { transform: rotate(0deg) scale(1); opacity: 1; }
}
.animate-ai-icon {
    animation: rotate-pulse 4s infinite ease-in-out;
}
/* Range Slider Thumb Customization - グローバルスタイルから移動 */
.range-thumb-new-color::-webkit-slider-thumb {
    background: #4CAF50;
}
.range-thumb-new-color::-moz-range-thumb {
    background: #4CAF50;
}

/* お悩みカードのスタイル（最適化） - グローバルスタイルから移動 */
.problem-card {
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    padding: 1.75rem 1.25rem; /* Reduced padding */
    border-radius: 1.5rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out, background 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center; /* カード全体を中央揃えに保つ */
    border: 2px solid #e0e0e0; /* 薄いグレーのボーダーを追加 */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1); /* 影を少し強調 */
}
.problem-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
}
.problem-card .icon-circle {
    width: 3rem; /* Reduced size */
    height: 3rem; /* Reduced size */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.5rem; /* Reduced size */
    margin-bottom: 1rem; /* Adjusted margin */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
/* 各アイコンの背景色を元に戻す */
.problem-card .icon-circle.bg-blue {
    background-color: #2196F3; /* Blue */
}
.problem-card .icon-circle.bg-green {
    background-color: #4CAF50; /* Green */
}
.problem-card .icon-circle.bg-orange {
    background-color: #FF9800; /* Orange */
}
.problem-card h3 {
    font-size: 1.2rem; /* Reduced size */
    font-weight: 800;
    margin-bottom: 0.75rem; /* Adjusted margin */
    color: #222;
    line-height: 1.4;
}
.problem-card p {
    font-size: 0.8rem; /* Reduced size */
    color: #555;
    margin-bottom: 1rem; /* Adjusted margin */
    text-align: left; /* 個別のpタグを左揃えにする */
}
.problem-card a {
    font-weight: 600;
    font-size: 0.9rem; /* Reduced size */
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    transition: background-color 0.3s ease;
}
.problem-card a:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

/* Feature Card (選ばれる理由) Style adjustments - グローバルスタイルから移動 */
.feature-card {
    background: linear-gradient(145deg, #ffffff, #fcfcfc);
    padding: 2.5rem;
    border-radius: 1.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
    text-align: center;
}
.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}
.feature-card img {
    width: 7.5rem;
    height: 7.5rem;
    padding: 1rem;
    border-radius: 50%;
    background-color: #edf2f7;
    margin-bottom: 1.5rem;
    object-fit: contain;
}
.feature-card h3 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #222;
    margin-bottom: 0.75rem;
}
.feature-card p {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.6;
}
.feature-card ul {
    font-size: 0.95rem;
    color: #666;
    margin-top: 1rem;
    padding-left: 1.5rem;
    text-align: left;
}
.count-up-value {
    font-size: 3.5rem;
    font-weight: 900;
    color: #FF5722; /* 元の強調色 */
    display: inline-block;
}

/* Success Stories / Realized Future section adjustments - グローバルスタイルから移動 */
#success-stories .card-shadow {
    padding: 2.5rem;
    text-align: left;
    background: linear-gradient(145deg, #ffffff, #fcfcfc);
    box-shadow: 0 10px 25px rgba(0,0,0,0.07);
}
#success-stories h3 {
    font-size: 1.6rem; /* Reduced from 1.8rem */
    font-weight: 800;
    color: #222;
    margin-top: 0;
    margin-bottom: 1rem;
}
#success-stories p {
    font-size: 0.95rem; /* Reduced from 1.05rem */
    color: #555;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}
#success-stories .text-sm {
    font-size: 0.8rem; /* Reduced from 0.9rem */
}
#success-stories .rounded-full {
    background-color: #e0e0e0;
    color: #444;
    padding: 0.4rem 0.8rem;
}
/* Style for image container in success stories */
.success-story-image-container {
    width: calc(100% + 2.5rem * 2); /* card-shadowのpaddingを考慮 */
    margin-left: -2.5rem; /* card-shadowのpaddingを打ち消す */
    margin-top: -2.5rem; /* card-shadowのpaddingを打ち消す */
    height: 10rem; /* Reduced height */
    border-radius: 1.25rem 1.25rem 0 0; /* 上部の角丸のみ */
    overflow: hidden; /* はみ出しを隠す */
    margin-bottom: 1.5rem;
}
.success-story-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Testimonials / User Voices section adjustments - グローバルスタイルから移動 */
#user-voices {
    background-image: url('https://miniflu.com/wp-content/themes/cocoon-child-master/miniflu/img/Whisk_623.jpg'); /* ユーザーの声を表現する背景画像のプレースホルダー */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative; /* オーバーレイを配置するために必要 */
}
#user-voices h2,
#user-voices p {
    color: #333333; /* 背景画像に合わせてテキスト色を濃い色に変更 */
}
/* カードの背景色を半透明にするか、削除して背景画像が見えるように調整 */
#user-voices .card-shadow {
    background: rgba(255, 255, 255, 0.85); /* カードの背景を半透明の白に */
}
#user-voices .card-shadow h3,
#user-voices .card-shadow p,
#user-voices .card-shadow .font-semibold,
#user-voices .card-shadow .text-sm {
    color: #333333; /* カード内のテキスト色を濃い色に戻す */
}
.user-voices-overlay {
    position: absolute;
    inset: 0;
    /* 明るいグレーのグラデーションオーバーレイに調整 */
    background: linear-gradient(to bottom, rgba(240, 240, 240, 0.7), rgba(220, 220, 220, 0.9));
    z-index: 1; /* コンテンツの下、背景画像の上に配置 */
}
#user-voices .container {
    position: relative;
    z-index: 2; /* コンテンツがオーバーレイの上に表示されるように */
}
#user-voices img {
    width: 3.5rem; /* Reduced from 4.5rem */
    height: 3.5rem; /* Reduced from 4.5rem */
    border-radius: 50%;
    margin-right: 1rem;
    object-fit: cover;
    border: 3px solid #eee;
}
#user-voices .font-semibold {
    font-size: 1.3rem; /* Reduced from 1.1rem */
    color: #222;
}
#user-voices .text-sm {
    font-size: 0.8rem; /* Reduced from 0.9rem */
    color: #777;
}

/* FAQ Section adjustments - グローバルスタイルから移動 */
#faq .card-shadow {
    padding: 1.75rem;
    border-radius: 1rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    border: none;
}
#faq .group summary {
    font-size: 1.1rem; /* Reduced from 1.25rem */
    font-weight: 700;
    color: #222;
    padding: 0.5rem 0;
}
#faq .group summary:hover {
    color: #4CAF50; /* 元の緑に戻す */
}
#faq .group[open] summary {
    color: #4CAF50; /* 元の緑に戻す */
}
#faq .mt-4 {
    margin-top: 1rem;
}
#faq .pt-4 {
    padding-top: 1rem;
}
#faq .text-gray-700 {
    color: #555;
    line-height: 1.7;
    font-size: 0.9rem; /* Added text size reduction */
}

/* フローティングCTAバナーのベーススタイル - バナー用に調整 - グローバルスタイルから移動 */
.floating-cta-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    width: 100%; /* 画面幅いっぱいに */
    background: linear-gradient(to right, #4CAF50, #8BC34A); /* Green gradient */
    box-shadow: 0 -8px 20px rgba(76, 175, 80, 0.3); /* Green shadow */
    color: #ffffff;
    padding: 0.75rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem; /* テキストとボタンの間のスペース */
    border-radius: 0; /* 角丸なしに修正 */
    animation: fadeInSlideUp 0.8s ease-out forwards; /* 新しいアニメーション */
}
/* フローティングCTAバナーのテキストスタイル - グローバルスタイルから移動 */
.floating-cta-banner-text {
    font-size: 1rem; /* Reduced from 1.125rem */
    font-weight: 700; /* font-bold */
    text-align: center;
    color: #ffffff; /* 白い文字 */
}
/* フローティングCTAバナー内のボタンのスタイル - グローバルスタイルから移動 */
.floating-cta-button {
    background-color: #ffffff; /* 白抜き背景 */
    color: #4CAF50; /* 緑色の文字 */
    font-weight: bold;
    padding: 0.6rem 1.8rem; /* Reduced from 0.75rem 2rem */
    border-radius: 9999px; /* rounded-full */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); /* 白ボタンに合う影 */
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out, background-color 0.3s ease-in-out;
    animation: pulseWhiteButton 2s infinite cubic-bezier(0.4, 0, 0.6, 1); /* 白ボタン用アニメーション */
}
.floating-cta-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25); /* ホバー時の影 */
    animation: none; /* ホバー時はアニメーション停止 */
}
/* 新しいバナーアニメーション - グローバルスタイルから移動 */
@keyframes fadeInSlideUp {
    0% {
        opacity: 0;
        transform: translateY(100%);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ヒーローセクションの説明文のスタイル - グローバルスタイルから移動 */
.hero-description-text {
    font-size: 1.3rem; /* Reduced from 1.5rem */
    color: #ffffff; /* Changed to white */
    text-shadow: none; /* Removed text shadow */
    font-weight: 500;
    line-height: 1.6;
    white-space: nowrap; /* 強制的に一行表示 */
}
.hero-description-text .highlight-bold {
    font-weight: 800;
    color: #FFD700; /* Changed to Gold */
    text-shadow: none; /* Removed text shadow */
}
.hero-description-text .highlight-bold-secondary {
    font-weight: 800;
    color: #90EE90; /* Changed to LightGreen */
    text-shadow: none; /* Removed text shadow */
}

/* Comparison Section Styles (新しいセクションのスタイル) - グローバルスタイルから移動 */
#new-comparison-section .comparison-card-before,
#new-comparison-section .comparison-card-after {
    background-color: #ffffff;
    border-radius: 1.25rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07);
    padding: 1.5rem; /* Reduced from 2rem */
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
#new-comparison-section .comparison-card-before {
    border: 2px solid #ef4444; /* Red border */
}
#new-comparison-section .comparison-card-after {
    border: 2px solid #4CAF50; /* Green border */
}
#new-comparison-section .comparison-card-before h3 {
    color: #b91c1c; /* Darker red */
    font-size: 1.3rem; /* Reduced from 1.5rem */
    font-weight: 800;
}
#new-comparison-section .comparison-card-after h3 {
    color: #4CAF50; /* Green */
    font-size: 1.3rem; /* Reduced from 1.5rem */
    font-weight: 800;
}
#new-comparison-section .icon-comparison { /* General style for all icons */
    width: 2.5rem; /* Reduced from 3rem */
    height: 2.5rem; /* Reduced from 3rem */
    margin-bottom: 0.75rem; /* Reduced from 1rem */
}
/* Specific colors for Before/After icons */
#new-comparison-section .icon-comparison-before {
    color: #b91c1c; /* Matched with Before heading color */
}
#new-comparison-section .icon-comparison-after {
    color: #4CAF50; /* Matched with After heading color */
}
#new-comparison-section .comparison-card-before p,
#new-comparison-section .comparison-card-after p {
    font-size: 0.85rem; /* Reduced from 0.95rem */
}

/* Comparison Table Styles - グローバルスタイルから移動 */
#comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border-radius: 1rem;
    overflow: hidden;
    table-layout: fixed; /* Added for fixed column widths */
}
#comparison-table th, #comparison-table td {
    padding: 1.25rem 1.5rem; /* Keep original padding */
    border-bottom: 1px solid #d1d5db; /* Stronger border color */
    text-align: left; /* Default to left align */
    font-size: 0.95rem;
    word-break: break-word; /* Allow long words to break */
}
#comparison-table th:first-child,
#comparison-table td:first-child {
    width: 30%; /* Allocate more width to the description column */
}
#comparison-table th:nth-child(2),
#comparison-table td:nth-child(2) {
    width: 35%; /* Allocate width to comparison columns */
}
#comparison-table th:nth-child(3),
#comparison-table td:nth-child(3) {
    width: 35%; /* Allocate width to comparison columns */
}
#comparison-table th {
    background-color: #e9ecef; /* Slightly darker header background */
    font-weight: 700;
    color: #343a40; /* Darker text for header */
    text-align: center; /* Center align headers */
}
#comparison-table td {
    background-color: #ffffff;
    color: #374151;
}
#comparison-table tr:last-child td {
    border-bottom: none;
}
/* Alternating row colors */
#comparison-table tbody tr:nth-child(odd) td {
    background-color: #f8f9fa; /* Light grey for odd rows */
}
#comparison-table tbody tr:nth-child(even) td {
    background-color: #ffffff; /* White for even rows */
}
/* Hover effect for rows */
#comparison-table tbody tr:hover td {
    background-color: #e2f0d9; /* Light green on hover */
    transition: background-color 0.3s ease;
}
#comparison-table .check-icon-table {
    color: #4CAF50; /* Green check */
    width: 1.25rem; /* Slightly larger icon */
    height: 1.25rem; /* Slightly larger icon */
    flex-shrink: 0; /* Prevent icon from shrinking */
}
#comparison-table .cross-icon-table {
    color: #ef4444; /* Red cross */
    width: 1.25rem; /* Slightly larger icon */
    height: 1.25rem; /* Slightly larger icon */
    flex-shrink: 0; /* Prevent icon from shrinking */
}
/* Ensure flexbox for icon and text alignment in comparison columns */
#comparison-table td div.flex {
    justify-content: flex-start; /* Align content to the left */
    align-items: flex-start; /* Align content to the top for multi-line text */
    width: 100%; /* Take full width of the cell */
    flex-direction: row; /* Ensure row direction for icon and text */
}

/* Pricing Section Specific Styles - グローバルスタイルから移動 */
#pricing {
    padding-top: 4rem; /* Reduced from 16 */
    padding-bottom: 4rem; /* Reduced from 16 */
}

.pricing-card {
    background-color: #ffffff;
    border-radius: 1.5rem;
    padding: 0.75rem; /* Reduced from 1rem */
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%; /* ADDED for uniform height */
}
.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}
.pricing-card-header {
    font-size: 1.5rem; /* Reduced from 1.75rem */
    font-weight: 800;
    margin-bottom: 0.25rem; /* Reduced from 0.5rem */
    color: #222;
}
.pricing-card-price {
    font-size: 2.5rem; /* Reduced from 3rem */
    font-weight: 900;
    color: #4CAF50; /* Green */
    margin-bottom: 0.25rem; /* Reduced from 0.5rem */
    white-space: nowrap;
}
.pricing-card-price small {
    font-size: 1.1rem; /* Reduced from 1.3rem */
    font-weight: 600;
    color: #555;
    display: block; /* Force new line for small text */
    white-space: nowrap; /* Ensure small text itself doesn't wrap */
}
.pricing-card-features {
    list-style: none;
    padding: 0;
    margin-bottom: 0.75rem;
    text-align: left;
    width: 100%;
    max-width: 250px; /* Reduced from 280px */
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.pricing-card-features li {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.pricing-card-features li svg {
    color: #4CAF50;
    margin-right: 0.5rem;
    flex-shrink: 0;
    width: 0.9rem;
    height: 0.9rem;
}
.pricing-card-note {
    font-size: 0.7rem;
    color: #777;
    margin-top: 0.5rem;
    white-space: normal;
}
.pricing-card-discount {
    background-color: #FFB300;
    color: #ffffff;
    font-weight: bold;
    padding: 0.4rem 0.8rem;
    border-radius: 9999px;
    margin-bottom: 0.75rem;
    font-size: 0.8rem;
    white-space: nowrap;
}

/* Pricing Card Styling for "Gorgeousness" - グローバルスタイルから移動 */
/* Individual Plan (Default) */
.pricing-card.individual {
    border: 2px solid #e0e0e0;
}
.pricing-card.individual:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}
/* Pack Plan (Mid-level gorgeousness) */
.pricing-card.pack-mid {
    border: 2px solid #A5D6A7;
    background-color: #ffffff;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.1);
}
.pricing-card.pack-mid:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}
/* Monthly Premium Plan (Most gorgeous) */
.pricing-card.highlight {
    border: 3px solid #4CAF50;
    background-color: #ffffff;
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 30px 80px rgba(76, 175, 80, 0.3);
}
.pricing-card.highlight:hover {
    transform: translateY(-20px) scale(1.05);
    box-shadow: 0 40px 90px rgba(76, 175, 80, 0.4);
}

/* 成功事例セクションのCTAボタンの文字色を強制的に白にする - グローバルスタイルから移動 */
#success-stories-cta-button {
    color: #ffffff !important;
}

/* 初回登録特典のスタイル - グローバルスタイルから移動 */
@keyframes subtlePulse {
    0% {
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
    }
    50% {
        transform: scale(1.03); /* Slightly smaller scale change */
        box-shadow: 0 20px 50px rgba(255, 215, 0, 0.6); /* Slightly larger shadow */
    }
    100% {
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
    }
}
.initial-registration-offer {
    background-color: #FFFACD; /* 薄い黄色に変更 */
    color: #8B4513;
    padding: 0.75rem 1.5rem;
    border-radius: 1.5rem;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 1.5;
    animation: bounceIn 1s ease-out forwards, subtlePulse 3s infinite ease-in-out 1s; /* Add subtlePulse after bounceIn completes */
    border: 3px solid #FFC107; 
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Add transition for hover */
        
}

.initial-registration-offer:hover {
    transform: translateY(-5px) scale(1.01); /* Lift and slightly scale on hover */
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.6); /* More pronounced shadow on hover */
    animation-play-state: paused; /* Pause pulse animation on hover */
}
.initial-registration-offer .icon {
    font-size: 2.25rem;
    margin-bottom: 0.5rem;
    animation: tada 1.5s infinite ease-in-out;
}
@keyframes bounceIn {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    60% {
        transform: scale(1.05);
        opacity: 1;
    }
    100% {
        transform: scale(1);
    }
}
@keyframes tada {
    0% { transform: scale(1); }
    10%, 20% { transform: scale(0.9) rotate(-3deg); }
    30%, 50%, 70%, 90% { transform: scale(1.1) rotate(3deg); }
    40%, 60%, 80% { transform: scale(1.1) rotate(-3deg); }
    100% { transform: scale(1) rotate(0); }
}

/* 個別プランの余白調整 - グローバルスタイルから移動 */
.pricing-card.individual .pricing-card-features {
    margin-top: 2rem;
}

/* Reintroduced hero-gradient-overlay with semi-transparent dark grey */
.hero-gradient-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2); /* Semi-transparent black (20% opacity) */
    z-index: 10;
}
/* Ensure content is above the overlay */
#hero .container {
    position: relative;
    z-index: 20;
}
/* Remove specific styling from the left half div as it's now covered by the overlay */
.hero-content-left {
    background: none;
    border-radius: 0;
}

