@charset "UTF-8";

/* =========================================
   吹き出し用スタイル
   ========================================= */

/* 1. 上部3つの悩みカード（下向きのしっぽ） */
.speech-bubble {
    position: relative;
    /* 背景色はHTML側のTailwindクラス(bg-gray-100)で指定されていますが、
       しっぽの色と合わせるために #f3f4f6 であることを意識します */
}

.speech-bubble::after {
    content: "";
    position: absolute;
    bottom: -20px; /* カードの下に配置 */
    left: 50%;
    transform: translateX(-50%); /* 中央揃え */
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 20px solid #f3f4f6; /* Tailwindのbg-gray-100と同じ色 */
}

/* 2. 女性の解決メッセージ（上向きのしっぽ） */
.speech-bubble-inverse {
    position: relative;
}


/* =========================================
   メインビジュアル・装飾用スタイル
   ========================================= */

/* 斜めの背景オーバーレイ（青） */
.hero-diagonal-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(59,130,246,0.9) 0%, rgba(37,99,235,0.8) 50%, transparent 50%);
    z-index: 10;
    pointer-events: none;
}

@media (max-width: 768px) {
    .hero-diagonal-bg {
        background: linear-gradient(180deg, rgba(59,130,246,0.9) 0%, rgba(37,99,235,0.8) 100%);
        opacity: 0.85;
    }
}

/* 斜めの価格ボックス */
.skew-box {
    display: inline-block;
    background: #fff;
    transform: skewX(-15deg);
    padding: 5px 20px;
    box-shadow: 5px 5px 0px rgba(0,0,0,0.2);
}

.skew-text {
    transform: skewX(15deg);
    color: #f97316; /* Tailwind orange-500 */
    font-weight: 900;
    margin: 0;
    line-height: 1;
}

/* メインCTAボタン */
.hero-btn {
    background: linear-gradient(to right, #f97316, #ea580c);
    color: white;
    font-weight: bold;
    padding: 1rem 3rem;
    border-radius: 9999px;
    box-shadow: 0 10px 20px rgba(234, 88, 12, 0.4);
    transition: all 0.3s ease;
    text-align: center;
    display: inline-block;
    text-decoration: none;
}

.hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(234, 88, 12, 0.5);
}

/* =========================================
   アニメーション用クラス（修正済み）
   ========================================= */

.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

/* ★ここを .active から .visible に変更しました！これでJSと繋がります */
.reveal-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   その他の装飾
   ========================================= */

/* チェックリストのアイコン */
.check-icon-custom {
    display: inline-block;
    width: 24px;
    height: 24px;
    background-color: #f97316;
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
    
}

.check-icon-custom::after {
    content: '';
    position: absolute;
    left: 8px;
    top: 5px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

#problem {
    margin-bottom: 120px;
}
.text-sub {
    padding-top: 60px;
}
.construction-img img{
    object-fit: top;
}
#price {
    color: #333;
}
.price-lead {
    text-align: center;
    padding-top: 30px;
    color: #2563eb;
    font-weight: bold;
    font-size: 18px;
}