/* カスタムカラースキームとフォント設定 */
:root {
    --key-red: #E53E3E; /* Red 600 */
    --base-white: #FFFFFF;
    --text-blue: #2B6CB0; /* Blue 700 */
    --text-dark: #1A202C; /* Gray 900 */
    --bg-light: #F7FAFC; /* Gray 100 */
}
body {
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
    color: var(--text-dark);
}
/* キーカラーをTailwindのクラスとして使えるように */
.bg-key-red { background-color: var(--key-red); }
.text-key-red { color: var(--key-red); }
.bg-text-blue { background-color: var(--text-blue); }
.text-text-blue { color: var(--text-blue); }
.border-key-red { border-color: var(--key-red); }
.border-text-blue { border-color: var(--text-blue); }

/* ヘッダー背景を80%透過の白に */
.bg-header-transparent {
    background-color: rgba(255, 255, 255, 0.8);
}

/* フッター背景も80%透過の白に */
.bg-footer-transparent {
    background-color: rgba(255, 255, 255, 0.8);
}

/* スムーススクロール */
html {
    scroll-behavior: smooth;
}
/* メインコンテンツのパディング（固定フッター分） */
body {
    padding-bottom: 120px; /* フッターの高さ分 */
}


/* --- ▼ スタイリッシュ＆ポップ デザイン調整 (ここから追記) --- */

/* フォーム要素 (ポップさ ＆ スタイリッシュさ) */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="tel"],
textarea {
    /* スタイリッシュさ: 滑らかなトランジション */
    transition: all 0.3s ease-in-out;
}

/* Tailwindの focus:ring-2 focus:ring-text-blue をCSSで補完 
  （より滑らかな影）
*/
input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="tel"]:focus,
textarea:focus {
    /* スタイリッシュさ: キーカラー(青)の滑らかな影 */
    box-shadow: 0 0 0 3px rgba(43, 108, 176, 0.3); 
    /* border-color と outline は index.html 内の 
      Tailwindクラス (focus:ring-text-blue) が制御します 
    */
}

/* カード要素 (料金プラン、FAQなど) */
/* (shadow-lg, shadow-sm はTailwindのクラスです) */
.shadow-lg, .shadow-sm, .shadow-xl {
    /* ポップさ: 角丸 (これは index.html の 
      rounded-lg, rounded-xl クラスが担当しています) 
    */
    
    /* スタイリッシュさ: 滑らかなトランジション */
    transition: all 0.3s ease-in-out;
}

/* カードのホバーエフェクト（スタイリッシュさ） */
/* 料金プランのカード（ホバーで少し浮き上がる） */
#pricing .shadow-lg:hover,
#pricing .shadow-xl:hover {
    transform: translateY(-6px);
    /* 影を少しリッチに */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1), 0 6px 6px rgba(0, 0, 0, 0.08);
}

/* FAQのカード（ホバーで少し影が濃くなる） */
#faq .shadow-sm:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

/* ボタン (a タグ, button タグ) 
  index.htmlのホバークラス (hover:bg-opacity-90, hover:scale-105) 
  が、このトランジションによって滑らかに動作します。
*/
a.bg-key-red, a.bg-text-blue, button[type="submit"] {
    /* スタイリッシュさ: 滑らかなトランジション */
    transition: all 0.3s ease-in-out;
}
/* --- ▲ デザイン調整 (ここまで) --- */


/* ヒーローセクション */
.hero {
    position: relative;
    overflow: hidden;
    padding: 120px 20px;
    text-align: center;
    color: #fff;
    background-color: #c50000bb;
}
.hero__slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.hero__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.12);
    transition: opacity 4s ease-in-out; 
}
.hero__slide.active {
    opacity: 1;
    animation: kenburns-in 8s ease-out forwards;
}
@keyframes kenburns-in {
    from { transform: scale(1); }
    to { transform: scale(1.15); }
}
.hero__inner {
    position: relative;
    z-index: 2;
    background-color: rgba(210, 0, 0, 0.711);
    display: inline-block;
    padding: 40px 60px;
    border-radius: 12px;
}
.hero__title {
    font-size: 3rem;
    margin: 0;
}
.hero__title br {
    display: none; /* PCでは<br>を無効化する */
}
.hero__logo-visual {
    display: block;
    max-width: 800px;
    width: 100%;
    margin: 24px auto;
}
.hero__subtitle {
    font-size: 1.2rem;
    margin: 24px 0 32px;
}
.hero__deadline {
    margin-bottom: 32px;
}
.hero__deadline p {
    margin: 0;
}
.hero__date {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
}
/* --- ▲ スライドショー (ここまで) --- */