/* リセットCSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #FAFAFA;
    overflow-x: hidden;
}

/* === グローバルなCTAボタンスタイル === */
.cta-button {
    display: inline-block;
    background-color: #FF4500; /* アクセントカラー: フレイムオレンジ */
    color: white !important; /* 文字色を白に強制 */
    padding: 15px 35px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none !important; /* 下線を強制的に消す */
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 69, 0, 0.4);
    border: none; /* ボタンのデフォルトボーダーを消す */
    cursor: pointer; /* カーソルをポインターに */
}
.cta-button:hover {
    background-color: #e03e00;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(255, 69, 0, 0.6);
    color: white !important; /* ホバー時も文字色白 */
}

/* ヘッダー */
header {
    background: #003C8F;
    color: white;
    padding: 15px 0;
    position: fixed;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo, .logo-link {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
    color: white;
}
.logo-image {
    height: 36px;
    margin-right: 10px;
}
.logo span, .logo-link span { /* aタグ内のspanにもスタイル適用 */
    color: #FF4500;
}


.nav-menu {
    display: flex;
}
.nav-menu a {
    color: white;
    text-decoration: none;
    margin-left: 25px;
    font-weight: 500;
    transition: color 0.3s, transform 0.3s;
}
.nav-menu a:hover {
    color: #FF4500;
    transform: translateY(-2px);
}

/* ファーストビュー (ヒーローヘッダー) */
.hero {
    background-color: #003C8F;
    min-height: 90vh;
    padding: 120px 20px 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    color: white;
    text-align: center;
}
.limited-offer {
    background-color: #FFD700;
    color: #003C8F;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 30px;
    font-size: 17px;
    border: 1px solid rgba(0,60,143,0.2);
    box-shadow: 0 3px 10px rgba(255, 215, 0, 0.4);
    opacity: 0;
    transform: translateY(-20px);
    animation: fadeInDownElement 0.8s ease-out 0.3s forwards;
}
.hero h1 {
    font-size: calc(32px + 2.2vw);
    margin-bottom: 25px;
    font-weight: 900;
    line-height: 1.3;
    color: white;
    max-width: 800px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUpElement 0.8s ease-out 0.5s forwards;
}
.hero h1 .highlight-orange {
    color: #FF4500;
}
.hero .sub-copy {
    font-size: calc(17px + 0.5vw);
    margin-bottom: 50px;
    max-width: 700px;
    color: rgba(255,255,255,0.9);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUpElement 0.8s ease-out 0.7s forwards;
}
.hero .cta-button {
    padding: 18px 45px;
    font-size: calc(17px + 0.3vw);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUpElement 0.8s ease-out 0.9s forwards;
}

.scroll-down-icon {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 28px;
    color: rgba(255,255,255,0.6);
    animation: bounceArrow 2s infinite;
    z-index: 2;
    opacity: 0;
    animation: fadeInUpElement 0.8s ease-out 1.2s forwards, bounceArrow 2s 2s infinite;
}
@keyframes bounceArrow {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-12px); }
    60% { transform: translateX(-50%) translateY(-6px); }
}
@keyframes fadeInUpElement {
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDownElement {
    to { opacity: 1; transform: translateY(0); }
}

/* セクション共通スタイル (ヒーロー以外) */
section:not(.hero) {
    padding: 100px 0;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-title { text-align: center; margin-bottom: 60px; }
.section-title h2 { font-size: 36px; margin-bottom: 15px; position: relative; display: inline-block; color: #003C8F; }
.section-title h2::after { content: ''; position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%); width: 70px; height: 4px; background-color: #B8E986; border-radius: 2px; transition: width 0.4s ease-in-out; }
.section-title.is-visible h2::after { width: 120px; }
.section-title p { color: #546E7A; font-size: 18px; }

/* スクロールアニメーション用クラス */
.animate-on-scroll { opacity: 0; transition: opacity 0.7s ease-out, transform 0.7s ease-out; }
.animate-on-scroll.fade-in { transform: translateY(30px); }
.animate-on-scroll.slide-in-left { transform: translateX(-50px); }
.animate-on-scroll.slide-in-right { transform: translateX(50px); }
.animate-on-scroll.is-visible { opacity: 1; transform: translateY(0) translateX(0); }
.pain-grid .pain-card:nth-child(2),
.feature-grid .feature-card:nth-child(2),
.plans-grid .plan-card:nth-child(2),
.benefit-category:nth-of-type(2) { transition-delay: 0.1s; }
.pain-grid .pain-card:nth-child(3),
.feature-grid .feature-card:nth-child(3),
.plans-grid .plan-card:nth-child(3),
.benefit-category:nth-of-type(3) { transition-delay: 0.2s; }
.pain-grid .pain-card:nth-child(4), .feature-grid .feature-card:nth-child(4) { transition-delay: 0.3s; }
.pain-grid .pain-card:nth-child(5), .feature-grid .feature-card:nth-child(5) { transition-delay: 0.4s; }
.pain-grid .pain-card:nth-child(6), .feature-grid .feature-card:nth-child(6) { transition-delay: 0.5s; }

/* 「こんな悩みはありませんか？」セクション */
.pain-points { background-color: #ffffff; }
.pain-card { background-color: #ffffff; border-radius: 10px; box-shadow: 0 5px 20px rgba(0, 60, 143, 0.1); padding: 30px; transition: transform 0.3s ease, box-shadow 0.3s ease; border-left: 5px solid #003C8F; }
.pain-card:hover { transform: translateY(-6px) scale(1.02); box-shadow: 0 12px 28px rgba(0, 60, 143, 0.18); }
.pain-card h3 { font-size: 22px; margin-bottom: 15px; color: #002c6f; }
.pain-card p { color: #546E7A; line-height: 1.7; }
.pain-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }

/* AizeBotサービス概要 */
.aizebot-service-overview { background-color: #FAFAFA; }
.service-content { display: flex; align-items: center; flex-wrap: wrap; }
.service-text { flex: 1; min-width: 300px; padding-right: 40px; }
.service-text h3 { font-size: 28px; margin-bottom: 25px; color: #002c6f; }
.service-text .intro-paragraph { margin-bottom: 30px; font-size: 17px; color: #546E7A; }
.service-key-points { list-style: none; padding-left: 0; margin-top: 25px; }
.service-key-points li { display: flex; align-items: flex-start; margin-bottom: 20px; font-size: 16px; }
.service-key-points li .icon { font-size: 28px; color: #003C8F; margin-right: 15px; line-height: 1.5; width: 35px; text-align: center; flex-shrink: 0; }
.service-key-points li .text strong { color: #002c6f; font-weight: 600; display: block; margin-bottom: 5px; }
.service-key-points li .text { color: #546E7A; }
.service-text .conclusion-paragraph { margin-top: 30px; font-size: 16px; color: #546E7A; }
.service-image-wrapper { flex: 1; min-width: 350px; text-align: center; }
.service-image img { max-width: 100%; border-radius: 10px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); transition: transform 0.4s ease; }
.service-image.is-visible img:hover,
.service-image-wrapper.is-visible .service-image img:hover { transform: scale(1.03); }
.image-caption { text-align: center; font-size: 14px; color: #777; margin-top: 10px; }

/* メリットセクション */
.benefits { background-color: #F5F7F9; }
.benefit-category { background-color: #ffffff; border-radius: 12px; padding: 35px; box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07); transition: transform 0.3s ease, box-shadow 0.3s ease; margin-bottom: 30px; border-left-width: 6px; border-left-style: solid; }
.benefit-category.owner-merit { border-left-color: #003C8F; }
.benefit-category.owner-merit h3, .benefit-category.owner-merit .benefit-list li::before { color: #003C8F; }
.benefit-category.guest-merit { border-left-color: #FF4500; }
.benefit-category.guest-merit h3, .benefit-category.guest-merit .benefit-list li::before { color: #FF4500; }
.benefit-category.business-merit { border-left-color: #B8E986; }
.benefit-category.business-merit h3 { color: #8CBF54; }
.benefit-category.business-merit .benefit-list li::before { color: #B8E986; }
.benefit-category:hover { transform: translateY(-8px) scale(1.01); box-shadow: 0 15px 35px rgba(0,0,0,0.1); }
.benefit-category h3 { font-size: 26px; margin-bottom: 25px; padding-bottom: 0; border-bottom: none; display: flex; align-items: center; }
.benefit-category h3 .icon { font-size: 1.3em; margin-right: 12px; }
.benefit-list { list-style: none; padding-left: 0; }
.benefit-list li { margin-bottom: 20px; padding-left: 38px; position: relative; font-size: 16px; line-height: 1.7; color: #546E7A; }
.benefit-list li::before { content: '✔'; position: absolute; left: 0; top: 2px; font-weight: bold; font-size: 24px; line-height: 1; }
.benefit-list li strong { color: #37474F; font-weight: 600; }

/* 特徴・差別化セクション */
.features { background-color: #FAFAFA; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.feature-card { background-color: white; border-radius: 10px; box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08); padding: 30px; transition: all 0.3s ease; position: relative; overflow: hidden; }
.feature-card::before { content: ''; position: absolute; top: -100%; left: 0; width: 100%; height: 100%; background-color: rgba(184, 233, 134, 0.2); transition: top 0.4s ease; z-index: 0; }
.feature-card:hover::before { top: 0; }
.feature-card > * { position: relative; z-index: 1; }
.feature-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.12); }
.feature-card h3 { font-size: 20px; margin-bottom: 15px; color: #002c6f; }
.feature-card p { color: #546E7A; }
.feature-icon { font-size: 40px; color: #003C8F; margin-bottom: 20px; transition: transform 0.3s ease, color 0.3s ease; }
.feature-card:hover .feature-icon { color: #FF4500; transform: scale(1.2) rotate(10deg); }

/* 選べる3つのプラン セクション */
.service-plans { background-color: #ffffff; }
.plans-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.plan-card { background-color: #FAFAFA; border-radius: 12px; padding: 35px 30px; text-align: center; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05); transition: transform 0.3s ease, box-shadow 0.3s ease; display: flex; flex-direction: column; border: 1px solid #E0E0E0; }
.plan-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1); }
.plan-icon {
    font-size: inherit;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
    line-height: 1;
    transition: transform 0.3s ease;
}
.plan-card:hover .plan-icon { transform: scale(1.15) rotate(-5deg); }
.web-icon { color: #003C8F; font-size: 50px; }
.hybrid-icon { color: #FF4500; font-size: 50px; }
.plan-image-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}
.plan-card h3 { font-size: 24px; color: #002c6f; margin-bottom: 15px; }
.plan-description { color: #546E7A; font-size: 15px; line-height: 1.7; margin-bottom: 25px; flex-grow: 1; }
.plan-features { list-style: none; padding-left: 0; margin-bottom: 20px; text-align: left; }
.plan-features li { margin-bottom: 12px; font-size: 15px; color: #546E7A; display: flex; align-items: center; }
.plan-features li .icon { font-size: 18px; margin-right: 10px; color: #B8E986; width: 20px; text-align: center; }

/* お客様の声 */
.testimonials { background-color: #FAFAFA; }
.testimonial-card { background-color: #ffffff; border-radius: 10px; padding: 30px; box-shadow: 0 5px 20px rgba(0, 0, 0, 0.07); position: relative; margin-bottom: 40px; border-left: 5px solid #003C8F; }
.testimonial-card:hover { transform: scale(1.02); box-shadow: 0 8px 25px rgba(0, 60, 143, 0.12); }
.testimonial-text { font-style: italic; margin-bottom: 20px; position: relative; padding: 0 20px; color: #424242; }
.testimonial-text::before { content: '“'; font-size: 70px; font-family: 'Georgia', serif; color: rgba(0, 60, 143, 0.12); position: absolute; left: -20px; top: -30px; }
.testimonial-text::after { content: '”'; font-size: 70px; font-family: 'Georgia', serif; color: rgba(0, 60, 143, 0.12); position: absolute; right: -5px; bottom: -40px; line-height: 0; }
.testimonial-author { display: flex; align-items: center; margin-top: 25px; }
.author-info h4 { margin-bottom: 5px; color: #002c6f; font-weight: 600; }
.author-info p { color: #757575; font-size: 14px; }

/* デモ動画セクション */
.demo { background-color: #F5F7F9; text-align: center; }
.demo-video {
    max-width: 800px; /* 元の最大幅 */
    width: 100%;
    margin: 0 auto 30px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    position: relative;
    padding-bottom: 56.25%; /* 16:9 アスペクト比に戻す */
    height: 0;
}
.demo-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.demo p:last-of-type { color: #546E7A; }


/* キャンペーンセクション */
.campaign { background: linear-gradient(135deg, #003C8F, #FF4500); color: white; text-align: center; padding: 80px 0; position: relative; overflow: hidden; }
.campaign::before, .campaign::after { content: ''; position: absolute; border-radius: 50%; opacity: 0.08; animation: pulse 4s infinite ease-in-out; }
.campaign::before { width: 200px; height: 200px; background: #B8E986; top: -50px; left: -50px; }
.campaign::after { width: 300px; height: 300px; background: #B8E986; bottom: -80px; right: -80px; animation-delay: -2s; }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 0.08; } 50% { transform: scale(1.2); opacity: 0.12; } }
.campaign > .container { position: relative; z-index: 1; }
.campaign h2 { font-size: 38px; margin-bottom: 20px; font-weight: 700; }
.campaign p { font-size: 18px; margin-bottom: 40px; max-width: 800px; margin-left: auto; margin-right: auto; }

/* FAQセクション */
.faq { background-color: #FAFAFA; }
.faq-item { margin-bottom: 20px; border-radius: 10px; overflow: hidden; box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06); transition: box-shadow 0.3s ease; border: 1px solid #E0E0E0; }
.faq-item:hover { box-shadow: 0 6px 15px rgba(0,0,0,0.1); }
.faq-question { background-color: #ffffff; padding: 20px 25px; cursor: pointer; font-weight: 600; font-size: 17px; color: #002c6f; display: flex; justify-content: space-between; align-items: center; transition: background-color 0.3s ease; }
.faq-question:hover { background-color: #f0f4ff; }
.faq-question span:last-child { font-size: 24px; transition: transform 0.3s ease; color: #003C8F; }
.faq-question.active span:last-child { transform: rotate(45deg); color: #FF4500; }
.faq-answer { padding: 25px; display: none; background-color: #ffffff; color: #546E7A; line-height: 1.7; border-top: 1px dashed #B8E986; }
.faq-answer.active { display: block; }

/* 最終CTA */
.final-cta { text-align: center; background-color: #F5F7F9; padding: 100px 0; }
.final-cta h2 { font-size: 38px; margin-bottom: 20px; color: #003C8F; }
.final-cta p { font-size: 18px; margin-bottom: 40px; max-width: 700px; margin-left: auto; margin-right: auto; color: #546E7A; }


/* フッター */
footer { background-color: #002c6f; color: #FAFAFA; padding: 70px 0 30px; }
.footer-container { display: flex; flex-wrap: wrap; justify-content: space-between; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.footer-section { flex: 1; min-width: 250px; margin-bottom: 30px; padding: 0 15px; }
.footer-section h3 { margin-bottom: 25px; font-size: 20px; position: relative; padding-bottom: 12px; color: #ffffff; }
.footer-section h3::after { content: ''; position: absolute; bottom: 0; left: 0; width: 50px; height: 3px; background-color: #FF4500; }
.footer-section p, .footer-section a { color: #CFD8DC; font-size: 15px; }
.footer-section a:hover { color: #FF4500; text-decoration: underline; }
.footer-bottom { text-align: center; padding-top: 40px; border-top: 1px solid rgba(250, 250, 250, 0.15); margin-top: 30px; color: #CFD8DC; font-size: 14px; }

/* レスポンシブ調整 */
@media (max-width: 992px) {
    .plans-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
    .hero h1 { font-size: calc(28px + 1.8vw); }
    .hero .sub-copy { font-size: calc(16px + 0.4vw); }
    .hero .cta-button { font-size: calc(16px + 0.2vw); padding: 16px 40px; }
    .service-image-wrapper { min-width: 300px; }
}
@media (max-width: 768px) {
    .hero { min-height: 80vh; padding: 100px 20px 60px; }
    .hero h1 { font-size: 28px; }
    .hero .sub-copy { font-size: 16px; margin-bottom: 40px; }
    .hero .cta-button { font-size: 16px; padding: 15px 35px; }
    .limited-offer { top: 80px; right: auto; left: 50%; transform: translateX(-50%); font-size: 14px; padding: 8px 18px; margin-bottom: 20px;}

    .nav-menu { display: none; }
    section:not(.hero) { padding: 60px 20px; }
    .container { padding: 0; }
    .section-title h2 { font-size: 26px; }
    .section-title p { font-size: 16px; }
    .service-text { padding-right: 0; margin-bottom: 30px; }
    .service-text h3 { font-size: 22px; }
    .service-key-points li { font-size: 15px; }
    .service-key-points li .icon { font-size: 22px; margin-right: 10px; }
    .service-image-wrapper { min-width: 100%; }

    .benefits .benefit-category { padding: 25px; }
    .benefits .benefit-category h3 { font-size: 20px; }
    .benefits .benefit-category h3 .icon { font-size: 1.2em; }
    .benefits .benefit-list li { font-size: 15px; padding-left: 30px; }
    .benefits .benefit-list li::before { font-size: 20px; }
    .plans-grid { grid-template-columns: 1fr; }
    .plan-card { padding: 25px; }
    .plan-card h3 { font-size: 20px; }
    .plan-description, .plan-features li { font-size: 14px; }
    .faq-question { padding: 15px 20px; font-size: 16px; }
    .faq-answer { padding: 20px; }
    .campaign h2, .final-cta h2 { font-size: 28px; }
    .footer-container { padding: 0 10px; }
}

/* オプション用の小バッジ */
.option-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  font-size: 12px;
  border-radius: 9999px;
  background: #003C8F;
  color: #fff;
  vertical-align: middle;
}

/* 特徴カード内の画像アイコンを文字アイコンと同じサイズに揃える */
.feature-image-icon {
  width: 1em;         /* .feature-icon の font-size(=40px)と連動 */
  height: 1em;        /* 同上 */
  display: inline-block;
  object-fit: contain; /* 伸び潰れ防止 */
  vertical-align: middle;
}

/* 余白で大きく見えないよう念のため */
.feature-icon { 
  line-height: 1; 
}

.plan-entry    { color: #22c55e; font-size: 50px; } /* 緑：はじめやすい */
.plan-standard { color: #003C8F; font-size: 50px; } /* ブランド紺：推奨 */
.plan-premium  { color: #f59e0b; font-size: 50px; } /* ゴールド系：上位 */