/* ========================
   基本設定
   ======================== */

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

:root {
    /* カラーパレット */
    --primary-color: #ba2623;       /* メインの赤 */
    --primary-hover: #a01f1d;
    --primary-light: #d44a47;

    /* 元の紫・青紫の代わりに純粋な青 */
    --secondary-color: #2f67d8;     /* 青 */
    --secondary-hover: #2555b7;
    --accent-color: #f2cc8f;        /* 赤×青に合うゴールド */

    --dark: #1e293b;
    --dark-light: #334155;

    --gray: #64748b;
    --gray-light: #cbd5e1;
    --gray-lighter: #f1f5f9;
    --white: #ffffff;

    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;

    /* タイポグラフィ */
    --font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --heading-weight: 700;
    --text-weight: 400;

    /* スペーシング */
    --section-padding: 20px 0;
    --container-padding: 0 10px;
    --border-radius: 12px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --box-shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);

    /* アニメーション */
    --transition: all 0.3s ease;
}


html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-weight: var(--text-weight);
    color: var(--dark);
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* ========================
   ヘッダー
   ======================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: var(--transition);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
}

.header-banner {
    height: 30px;
    display: flex;
    justify-content: center; /* 中央寄せ */
    align-items: center;
    background: #fff;        /* 透過なら削除 */
}

.header-banner img {
    height: 30px;
    width: auto;
    display: block;
}


.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-menu a {
    font-weight: 500;
    color: var(--dark);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--dark);
    cursor: pointer;
}

/* ========================
   ボタン
   ======================== */

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 16px;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.btn-hero-primary {
    background: var(--primary-color);
    color: var(--white);
    padding: 18px 40px;
    font-size: 18px;
    border-radius: 12px;
}

.btn-hero-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(99, 102, 241, 0.4);
}

.btn-hero-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 16px 40px;
    font-size: 18px;
    border-radius: 12px;
}

.btn-hero-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* ========================
   ヒーローセクション
   ======================== */

.hero {
    width: 100%;
    padding: 50px 0px;
    background: linear-gradient(135deg, #2f67d8 0%, #3e7af0 40%, #6ba0ff 100%);
    color: #ffffff;
    text-align: center;
        padding-top: 140px; /* header高さ + 余白 */
}

.hero::before {
    content: '';
    position: relative; /* ← これを追加 */
    overflow: hidden;   /* ← 擬似要素のはみ出し防止 */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="1.5" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    color: var(--white);
}

.hero-title {
    font-size: 34px;
    font-weight: 900;
    line-height: 1.2;
    margin-top: 20px; /* お好みでpxを調整 */
    margin-bottom: 20px;
}

.hero-title .highlight {
    color: var(--accent-color);
    position: relative;
}

.hero-description {
        text-align: left;
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.stat-number {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    opacity: 0.9;
}

/* チャットボットデモ */

.chatbot-demo {
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.demo-header {
    background: var(--primary-color);
    color: var(--white);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
}

.demo-dots {
    display: flex;
    gap: 6px;
}

.demo-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
}

.demo-messages {
    padding: 24px;
    max-height: 400px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.message {
    display: flex;
    gap: 12px;
    animation: messageSlide 0.5s ease;
}

@keyframes messageSlide {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.user-message {
    justify-content: flex-end;
}

.user-message p {
    background: var(--primary-color);
    color: var(--white);
    padding: 12px 18px;
    border-radius: 18px 18px 4px 18px;
    max-width: 80%;
}

.bot-message {
    align-items: flex-start;
}

.bot-avatar {
    width: 36px;
    height: 36px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
}

.bot-message p {
    background: var(--gray-lighter);
    color: var(--dark);
    padding: 12px 18px;
    border-radius: 18px 18px 18px 4px;
    max-width: 80%;
}

/* ========================
   セクション共通
   ======================== */

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 16px;
    color: var(--dark);
}

.section-description {
    font-size: 18px;
    color: var(--gray);
}

/* ========================
   機能セクション
   ======================== */

.features {
    padding: var(--section-padding);
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.feature-card {
    padding: 40px;
    border-radius: var(--border-radius);
    background: var(--gray-lighter);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 24px;
}

.feature-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--dark);
}

.feature-description {
    color: var(--gray);
    line-height: 1.8;
}

/* ========================
   メリットセクション
   ======================== */

.benefits {
    padding: var(--section-padding);
    background: var(--gray-lighter);
}

.benefits-content {
    display: grid;
    gap: 30px;
}

.benefit-item {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    padding: 40px;
    background: var(--white);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.benefit-item:hover {
    transform: translateX(10px);
    box-shadow: var(--box-shadow-lg);
}

.benefit-number {
    font-size: 48px;
    font-weight: 900;
    color: var(--primary-color);
    opacity: 0.2;
    line-height: 1;
}

.benefit-info {
    flex: 1;
}

.benefit-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 12px;
}

.benefit-title i {
    color: var(--primary-color);
}

.benefit-description {
    color: var(--gray);
    line-height: 1.8;
}

/* ========================
   料金プランセクション
   ======================== */

.pricing {
    padding: var(--section-padding);
    background: var(--white);
    
  overflow-x: hidden;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.pricing-card {
    background: var(--white);
    border: 2px solid var(--gray-light);
    border-radius: var(--border-radius);
    padding: 40px;
    transition: var(--transition);
    position: relative;
      box-sizing: border-box;
  max-width: 100%;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-lg);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.2);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    right: 30px;
    background: var(--accent-color);
    color: var(--white);
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
}

.pricing-header {
    margin-bottom: 30px;
}

.pricing-plan-name {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--dark);
}

.pricing-description {
    color: var(--gray);
}

.pricing-price {
    margin-bottom: 30px;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.price-currency {
    font-size: 24px;
    font-weight: 600;
    color: var(--gray);
}

.price-amount {
    font-size: 56px;
    font-weight: 900;
    color: var(--primary-color);
}

.price-period {
    font-size: 18px;
    color: var(--gray);
}

.pricing-features {
    margin-bottom: 30px;
}

.pricing-features li {
    padding: 12px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--dark);
    border-bottom: 1px solid var(--gray-lighter);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features i {
    color: var(--success);
    font-size: 18px;
}

.btn-pricing,
.btn-pricing-featured {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid var(--primary-color);
}

.btn-pricing {
    background: var(--white);
    color: var(--primary-color);
}

.btn-pricing:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-pricing-featured {
    background: var(--primary-color);
    color: var(--white);
}

.btn-pricing-featured:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.pricing-note {
    text-align: center;
    color: var(--gray);
    font-size: 14px;
}

/* ========================
   導入事例セクション
   ======================== */

.cases {
    padding: var(--section-padding);
    background: var(--gray-lighter);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 80px;
}

.case-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
}

.case-image {
    height: 180px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
}

.case-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: var(--white);
}

.case-content {
    padding: 30px;
}

.case-company {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--dark);
}

.case-industry {
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

.case-description {
    color: var(--gray);
    margin-bottom: 24px;
    line-height: 1.8;
}

.case-results {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.case-result {
    text-align: center;
    padding: 16px;
    background: var(--gray-lighter);
    border-radius: 8px;
}

.result-value {
    display: block;
    font-size: 28px;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.result-label {
    display: block;
    font-size: 12px;
    color: var(--gray);
}

/* お客様の声 */

.testimonials {
    margin-top: 60px;
}

.testimonials-title {
    font-size: 32px;
    font-weight: 900;
    text-align: center;
    margin-bottom: 40px;
    color: var(--dark);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.testimonial-rating {
    color: var(--accent-color);
    margin-bottom: 16px;
    font-size: 18px;
}

.testimonial-text {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.testimonial-author strong {
    color: var(--dark);
    font-weight: 700;
}

.testimonial-author span {
    color: var(--gray);
    font-size: 14px;
}

/* ========================
   FAQセクション
   ======================== */

.faq {
    padding: var(--section-padding);
    background: var(--white);
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 16px;
    border-radius: var(--border-radius);
    background: var(--white);
    border: 2px solid var(--gray-light);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.1);
}

.faq-question {
    width: 100%;
    padding: 24px 30px;
    background: none;
    border: none;
    text-align: left;
    font-size: 18px;
    font-weight: 600;
    color: var(--dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-question i {
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 30px 24px;
    color: var(--gray);
    line-height: 1.8;
}

/* ========================
   お問い合わせセクション
   ======================== */

.contact {
    padding: var(--section-padding);
    background: linear-gradient(135deg, #2f67d8 0%, #3e7af0 40%, #6ba0ff 100%); /* 青グラデ */
    color: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.contact-title {
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 20px;
}

.contact-description {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 30px;
    opacity: 0.95;
}

.contact-benefits {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-benefits li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
}

.contact-benefits i {
    color: var(--success);
    font-size: 20px;
}

.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow-lg);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: var(--dark);
    font-size: 14px;
}

.required {
    color: var(--error);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 16px;
    border: 2px solid var(--gray-light);
    border-radius: 8px;
    font-size: 16px;
    font-family: var(--font-family);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.btn-form-submit {
    background: var(--primary-color);
    color: var(--white);
    padding: 18px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-form-submit:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.form-note {
    font-size: 12px;
    color: var(--gray);
    text-align: center;
}

/* ========================
   フッター
   ======================== */

.footer {
    background: var(--dark);
    color: var(--white);
    padding: 30px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 16px;
}

.footer-logo i {
    font-size: 32px;
    color: var(--primary-light);
}

.footer-description {
    color: var(--gray-light);
    line-height: 1.8;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: var(--dark-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--gray-light);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--dark-light);
    text-align: center;
    color: var(--gray-light);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.floating {
    animation: floatingY 6s ease-in-out infinite,
               floatingShadow 6s ease-in-out infinite;
}

@keyframes floatingY {
    0%   { transform: translateY(0); }
    25%  { transform: translateY(-12px); }
    50%  { transform: translateY(0); }
    75%  { transform: translateY(12px); }
    100% { transform: translateY(0); }
}



/* ========================
   レスポンシブデザイン
   ======================== */

@media (max-width: 1024px) {
    .hero-title {
        font-size: 32px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
            overflow: hidden;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .cases-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {

      .header-banner {
    height: 24px;          /* ← 今18pxなのでさらに圧縮 */
  }

  .header-banner img {
    height: 24px;
  }
      .pricing-card {
    padding: 20px 16px; /* ← PCより確実に小さく */
  }
      .nav-cta {
    display: none;
  }
        .pricing-card.featured {
        transform: none !important;
    }
      .pricing-card {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
        width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
        .hero-description {
        text-align: center;
    }
            .header-banner {
        height: 18px;
    }
    
    .nav-menu {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }
    
    .hero {
        padding: 120px 0 60px;
                padding-top: 120px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .hero-buttons {
        width: 100%;
        align-items: stretch;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .benefit-item {
        flex-direction: column;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
        .benefit-item:hover {
        transform: none;
    }
      .pricing-grid {
    padding-left: 0;
    padding-right: 0;
  }
          .btn-hero-primary,
    .btn-hero-secondary {
        font-size: 12px;
        padding: 4px 5px;
    }
}

@media (max-width: 480px) {
        .header-banner {
        height: 18px;
    }
    .hero-title {
        font-size: 24px;
    }
    
    .hero-buttons {
        width: 100%;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        font-size: 16px;
        padding: 14px 20px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .feature-card,
    .benefit-item {
        padding: 24px;
    }
    
    .contact-form-wrapper {
        padding: 24px;
    }
}

.hero {
    padding: 100px 0 50px 0px;
    background: #ffffff;
}

.hero-text {
  text-align: left;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;

  min-width: 0;
  align-items: start; /* ← 左寄せ感が出る */
}

/* 左側テキスト */
.hero-eyebrow {
    color: #d60000;
    font-weight: 700;
    margin-bottom: 16px;
}

.hero-title {
    font-size: 28px;
    line-height: 1.3;
    font-weight: 900;
    margin-bottom: 24px;
    color: #111;
}

.hero-title .highlight {
    color: #d60000;
}

.hero-description {
    font-size: 18px;
    color: #555;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

.btn {
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
}

.btn-primary {
    background: #d60000;
    color: #fff;
}

.btn-secondary {
    border: 1px solid #ddd;
    color: #333;
    background: #fff;
}

/* 右側デモ */
.hero-demo,
.hero-demo * {
  text-align: left;
}
.hero-demo-list > div {
  text-align: left;
  line-height: 1.5;
}
.demo-card {
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.demo-search {
    background: #f5f5f5;
    border-radius: 999px;
    padding: 14px 20px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}

.typing {
    color: #999;
    font-size: 14px;
}

.demo-hint {
    font-size: 14px;
    color: #666;
    margin-bottom: 16px;
}

.demo-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.demo-list li {
    background: #f7f7f7;
    padding: 14px 16px;
    border-radius: 10px;
    margin-bottom: 10px;
    font-size: 14px;
}

.demo-list li.active {
    background: #ffecec;
    border: 1px solid #f3b3b3;
}

.demo-footer {
    text-align: right;
    font-size: 14px;
    color: #d60000;
}
/* モバイル */
@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
  }
    .hero-eyebrow {
    font-size: 12px;
    margin-bottom: 8px;
  }

  .hero-title {
    font-size: 20px;      /* PC: 48px → SP: 28px */
    line-height: 1.35;
  }

  .hero-description {
    font-size: 14px;
    line-height: 1.6;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .hero-buttons .btn {
    width: 100%;
    text-align: center;
  }
}


/* ===== benefits セクション ===== */


/* カードレイアウト */
/* セクション全体 */
.benefits-section {
  background: #f7f7f7; /* 背景を白に（UI/DASHBOARDとの対比） */
  padding: 50px 20px;
}

.benefits-section .container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

/* ヘッダー部分 */
.benefits-section .section-header {
  margin-bottom: 64px;
}

.benefits-section .section-label {
  display: block;
  color: #d40000;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.benefits-section .section-title {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 24px;
  line-height: 1.5;
}

.benefits-section .section-description {
  color: #666;
  font-size: 18px;
  line-height: 1.6;
}

/* グリッドレイアウト */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.benefits-card {
  background: #fff;
  border-radius: 20px;
  padding: 48px 32px;
  /* 課題を強調するため、少し目立つ影や枠線にしても良い */
  border: 1px solid #eee;
  box-shadow: 0 15px 35px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.benefits-card:hover {
  transform: translateY(-5px);
  border-color: #d40000;
}

.benefits-card .icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  background: #fdeaea; /* 薄い赤 */
  border-radius: 25%; /* 課題系は円形にするのも変化があっておすすめ */
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d40000;
}

.benefits-card .icon svg {
  width: 32px;
  height: 32px;
}

.benefits-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.4;
}

.benefits-card p {
  font-size: 15px;
  color: #666;
  line-height: 1.7;
  text-align: left; /* 長文になる場合は左寄せが見やすい */
}

/* モバイル対応 */
@media (max-width: 992px) {
  .benefits-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .benefits-section {
    padding: 60px 20px;
  }
  
  .benefits-section .section-title {
    font-size: 22px;
  }
}

/* セクション全体 */
.features-section {
  background: #fdfdfd; /* わずかにグレーがかった白 */
  padding: 50px 20px;
}

.features-section .container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
      padding: 0;
}

/* ヘッダー部分 */
.features-section .section-header {
  margin-bottom: 64px;
}

.features-section .section-label {
  display: block;
  color: #d40000;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.features-section .section-title {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 24px;
  line-height: 1.5;
}

.features-section .section-description {
  color: #666;
  font-size: 16px;
}

/* グリッドレイアウト */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.features-card {
  background: #fff;
  border-radius: 20px;
  padding: 40px 24px;
  border: 1px solid #eee;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  text-align: center;
}

.features-card .icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  background: #f5f5f5; /* 比較用なので少し落ち着いた色 */
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
}

.features-card .icon svg {
  width: 28px;
  height: 28px;
}

.features-card h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #333;
}

/* カード内のリストスタイル */
.feature-list {
  text-align: left;
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  position: relative;
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  padding-left: 1.5em;
  margin-bottom: 12px;
}

.feature-list li::before {
  content: "×"; /* 課題・NGを強調するマーク */
  position: absolute;
  left: 0;
  color: #d40000;
  font-weight: 800;
}

/* モバイル対応 */
@media (max-width: 992px) {
  .features-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
}



/* ===== 解決策セクション ===== */
.solution-section {
  background: #c40000;
  padding: 50px 0;
  color: #fff;
}

.section-header.center {
  text-align: center;
  margin-bottom: 32px;
}

.solution-title {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.3;
}

.solution-description {
  margin-top: 16px;
  font-size: 16px;
  opacity: 0.9;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.solution-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 40px 32px;
  text-align: center;
}

.solution-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.solution-icon svg {
  width: 28px;
  height: 28px;
  color: #fff;
}

.solution-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
}

.solution-card p {
  font-size: 14px;
  line-height: 1.7;
  opacity: 0.95;
}


/* モバイル */
@media (max-width: 768px) {
  .solution-grid {
    grid-template-columns: 1fr;
  }

  .solution-section {
    padding: 72px 0;
  }
.solution-title {
    font-size: 22px;
  }
    .features-section .section-title {
    font-size: 22px;
  }
}

/* ===== FEATURES（白背景） ===== */
.features-detail {
  background: #ffffff;
  padding: 50px 0;
}

.section-header.center {
  text-align: center;
  margin-bottom: 32px;
}

.section-eyebrow {
  display: inline-block;
  color: #c40000;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.15em;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: #222;
}

.features-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.features-detail-card {
  background: #fff;
  border-radius: 20px;
  padding: 40px 32px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);

  /* 追加 */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}.features-detail-card {
  background: #fff;
  border-radius: 20px;
  padding: 40px 32px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);

  /* 追加 */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.features-detail-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: rgba(196, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.features-detail-icon svg {
  width: 28px;
  height: 28px;
  color: #c40000;
}

.features-detail-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #111;
  margin-bottom: 16px;
}

.features-detail-card p {
  font-size: 14px;
  line-height: 1.7;
  color: #555;
}

/* モバイル */
@media (max-width: 768px) {
  .features-detail {
    padding: 72px 0;
  }

  .features-detail-grid {
    grid-template-columns: 1fr;
  }
}

/* カードグリッド */
.ui-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* PCは5列 */
  gap: 24px;
}

.ui-card {
  background: #fff;
  border-radius: 20px;
  padding: 32px 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.ui-card:hover {
  transform: translateY(-5px);
}

.ui-card .icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  background: #fdeaea;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d40000;
}

.ui-card .icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.ui-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.ui-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

/* モバイル・タブレット対応 */
@media (max-width: 1200px) {
  .ui-grid {
    grid-template-columns: repeat(3, 1fr); /* 大きめタブレット・小型PC */
  }
}

@media (max-width: 992px) {
  .ui-grid {
    grid-template-columns: repeat(2, 1fr); /* タブレット */
  }
}
.ui-card h3,
.ui-card p {
  text-align: center;
}
@media (max-width: 768px) {
  .ui-section {
    padding: 60px 0px;
  }

  .ui-section .section-title {
    font-size: 22px;
  }
  /* ui-card 内の h3 を中央寄せ */


  .ui-grid {
    grid-template-columns: 1fr; /* スマホ縦 */
  }

  .ui-images {
    margin-bottom: 40px;
  }
}




.dashboard-section {
  background: #ffffff;
  padding: 50px 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ヘッダー */
.section-header {
  text-align: center;
    margin-top: 50px;
  margin-bottom: 20px;
}

.section-label {
  color: #c40000;
  font-weight: 700;
  letter-spacing: 0.15em;
  font-size: 14px;
}

.section-title {
  font-size: 28px;
  font-weight: 800;
  margin: 16px 0;
}

.section-description {
  color: #666;
  font-size: 16px;
}

/* 縦画像 */
.dashboard-images {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
  margin-bottom: 50px;
}

.dashboard-images img {

  width: 100%;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}
.voice-section {
  padding-bottom: 80px; /* 下に余白を確保 */
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* PCは5列 */
  gap: 32px;
}

.dashboard-card {
  background: #fff;
  border-radius: 20px;
  padding: 32px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.dashboard-card:hover {
  transform: translateY(-5px);
}

.dashboard-card .icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  background: #fdeaea;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dashboard-card svg {
  width: 28px;
  height: 28px;
  stroke: #c40000;
  stroke-width: 2;
  fill: none;
}

.dashboard-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.dashboard-card p {
  font-size: 14px;
  color: #666;
}

/* レスポンシブ設定 */
@media (max-width: 1200px) {
  .dashboard-grid {
    grid-template-columns: repeat(3, 1fr); /* 大型タブレットや小型PC */
  }
}

@media (max-width: 900px) {
  .dashboard-grid {
    grid-template-columns: repeat(2, 1fr); /* タブレット */
  }
}

@media (max-width: 600px) {
  .section-title {
    font-size: 24px;
  }

  .dashboard-grid {
    grid-template-columns: 1fr; /* スマホ縦 */
  }
}


/* ===== RESULTS（背景灰色） ===== */
.results-section {
  background: #f8f8f8; /* 薄いグレー背景 */
  padding: 50px 0;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.results-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* 数字部分のスタイル */
.results-value {
  color: #c40000; /* 画像の赤色 */
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1;
}

.results-value .num {
  font-size: clamp(48px, 6vw, 80px); /* レスポンシブな数字サイズ */
  letter-spacing: -0.02em;
}

.results-value .unit {
  font-size: clamp(18px, 2vw, 28px);
  margin-left: 4px;
}

/* ラベル部分のスタイル */
.results-label {
  font-size: 18px;
  font-weight: 700;
  color: #111;
  line-height: 1.6;
}

.results-label .sub-text {
  font-size: 14px;
  color: #888;
  font-weight: 400;
}

/* モバイル対応 */
@media (max-width: 768px) {
  .results-section {
    padding: 72px 0;
  }

  .results-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .results-value .num {
    font-size: 48px;
  }
}

/* ===== FLOW（白背景） ===== */
.flow-section {
  background: #ffffff;
  padding: 50px 0;
}

.section-subtitle {
  margin-top: 16px;
  font-size: 18px;
  color: #666;
  font-weight: 500;
}

.flow-grid {
  display: flex;
  align-items: center; /* 矢印を中央に配置 */
  justify-content: space-between;
  gap: 16px;
  margin-top: 48px;
}

.flow-card {
  flex: 1;
  background: #fff;
  border-radius: 20px;
  padding: 40px 32px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
  min-height: 320px; /* 高さを揃える（任意） */
  border: 1px solid #f0f0f0;
}

.step-num {
  display: block;
  color: #c40000;
  font-weight: 800;
  font-size: 20px;
  margin-bottom: 12px;
}

.flow-card h3 {
  font-size: 22px;
  font-weight: 800;
  color: #222;
  margin-bottom: 24px;
  line-height: 1.4;
}

.flow-card p {
  font-size: 15px;
  line-height: 1.8;
  color: #555;
  text-align: justify;
}

/* 矢印のスタイル */
.flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.flow-arrow svg {
  width: 24px;
  height: 24px;
  color: #c40000;
}

/* モバイル対応 */
@media (max-width: 992px) {
  .flow-grid {
    flex-direction: column;
    gap: 32px;
  }

  .flow-arrow {
    display: none; /* 矢印を非表示 */
  }

  .flow-card {
    width: 100%;
    max-width: 500px; /* モバイルで見やすい幅に制限 */
    min-height: auto;
  }
}

@media (max-width: 768px) {
  .flow-section {
    padding: 72px 0;
  }
  
  .section-subtitle {
    font-size: 15px;
  }
}

/* ===== PRICING（背景灰色） ===== */
.pricing-section {
  background: #f8f8f8;
  padding: 50px 0;
}

.section-note {
  margin-top: 16px;
  font-size: 16px;
  color: #666;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
  align-items: stretch;
}

.pricing-card {
  background: #fff;
  border-radius: 12px;
  padding: 48px 32px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  text-align: center;
  position: relative;
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
}

/* おすすめプランの強調 */
.pricing-card.featured {
  border-color: #c40000;
  transform: scale(1.03);
  z-index: 1;
}

.pricing-card.featured .badge {
  position: absolute;
  top: 0;
  right: 0;
  background: #c40000;
  color: #fff;
  padding: 4px 16px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 0 10px 0 10px;
}

.pricing-card h3 {
  font-size: 24px;
  font-weight: 800;
  color: #222;
  margin-bottom: 24px;
}

/* 価格表示 */
.price {
  margin-bottom: 32px;
  color: #222;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
}

.price .monthly, .price .tax {
  font-size: 14px;
  color: #666;
}

.price .amount {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* リスト表示 */
.features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
  text-align: left;
  flex-grow: 1;
}

.features-list li {
  font-size: 15px;
  color: #444;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
}

.features-list .check {
  color: #c40000;
  font-weight: bold;
  margin-right: 12px;
}

/* ボタン */
.btn {
  display: block;
  padding: 14px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: 0.3s;
}

.btn-outline {
  border: 1px solid #ddd;
  color: #333;
}

.btn-outline:hover {
  background: #f0f0f0;
}

.btn-primary {
  background: #c40000;
  color: #fff;
}

.btn-primary:hover {
  background: #a30000;
}

/* モバイル対応 */
@media (max-width: 992px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
    gap: 40px;
  }
  
  .pricing-card.featured {
    transform: scale(1);
  }
}
/* =========================
   COMMON
========================= */
:root {
  --brand-red: #c40000;
  --brand-red-dark: #c62828;
  --text-dark: #222;
  --text-gray: #555;
  --bg-light: #fafafa;
}

/* =========================
   FAQ
========================= */
.faq-section {
  background: #fff;
  padding: 50px 0;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,.03);
  overflow: hidden;
  transition: .3s;
}
.faq-item:hover {
  border-color: var(--brand-red);
}

.faq-question {
  width: 100%;
  padding: 24px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
}

.faq-question .chevron {
  color: var(--brand-red);
  margin-left: 16px;
  transition: transform .3s;
}

.faq-item.active .chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
  background: var(--bg-light);
}

.faq-answer-inner {
  padding: 0 32px 24px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-gray);
}

/* =========================
   CTA
========================= */
.cta-section {
  background: var(--brand-red);
  padding: 50px 0;
  color: #fff;
  text-align: center;
}

.cta-title {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.5;
  margin-bottom: 32px;
}

.cta-text {
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.8;
  margin-bottom: 48px;
  opacity: .9;
}

.btn-white {
  display: inline-block;
  background: #fff;
  color: var(--brand-red);
  padding: 20px 64px;
  border-radius: 12px;
  font-size: 20px;
  font-weight: 800;
  text-decoration: none;
  transition: .3s;
  box-shadow: 0 10px 30px rgba(0,0,0,.15);
}
.btn-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0,0,0,.25);
}

.pc-only {
  display: block;
}

/* =========================
   FOOTER
========================= */
.footer {
  background: #222;
  color: #fff;
  text-align: center;
}

.footer-logo {
  margin-bottom: 24px;
}
.footer-logo img {
  max-width: 300px;
}
.footer-logo img[src=""],
.footer-logo img:not([src]) {
  display: none;
}

.footer-company-name {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .05em;
  margin-bottom: 10px;
}

.footer-nav {
  list-style: none;
  padding: 0;
  margin-bottom: 40px;
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #ccc;
  font-size: 14px;
  text-decoration: none;
}
.footer-nav a:hover {
  color: #fff;
}

.copyright {
  color: #888;
  font-size: 13px;
}

/* =========================
   MODAL
========================= */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.7);
  z-index: 9999;
}

.modal-content {
  background: #fff;
  margin: 5vh auto;
  padding: 32px;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 12px;
  position: relative;
}

.close-btn {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 22px;
  color: #aaa;
  cursor: pointer;
}
.close-btn:hover {
  color: #000;
}

/* =========================
   FORM
========================= */
.modal-content form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.modal-content label {
  font-size: 13px;
  font-weight: 600;
}

.modal-content input:not([type="checkbox"]),
.modal-content textarea,
.modal-content select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.form-row {
  display: flex;
  gap: 12px;
}
.form-row input {
  flex: 1;
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  margin-top: 12px;
}
.checkbox-center {
  justify-content: center;
}

/* =========================
   BUTTONS
========================= */
.btn-primary,
.btn-submit {
  background: var(--brand-red);
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.btn-primary {
  padding: 12px 20px;
}

.btn-submit {
  align-self: center;
  padding: 10px 28px;
  font-size: 14px;
  font-weight: 600;
  margin-top: 16px;
}
.btn-submit:hover {
  background: var(--brand-red-dark);
}

/* =========================
   TOAST
========================= */
.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #222;
  color: #fff;
  padding: 14px 20px;
  border-radius: 8px;
  font-size: 14px;
  opacity: 0;
  transform: translateY(10px);
  transition: .3s;
}
.toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
  .faq-question {
    padding: 20px;
    font-size: 16px;
  }
  .faq-answer-inner {
    padding: 0 20px 20px;
  }
  .pc-only {
    display: none;
  }
  .cta-title {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.5;
  margin-bottom: 32px;
}
  .cta-section {
    padding: 80px 20px;
  }
}

@media (max-width: 600px) {
  .form-row {
    flex-direction: column;
  }
  .modal-content {
    padding: 20px;
  }
  .btn-submit {
    width: 100%;
  }
}

.container {
  max-width: 1200px !important;
}
.error-text {
    color: red;          /* 赤文字 */
    font-size: 12px;     /* 小さい文字 */
    margin-top: 4px;     /* 上に少し余白 */
    display: none;       /* 初期は非表示 */
}

.checkbox-group {
    display: flex;          /* 横並びにする */
    gap: 16px;              /* ラベル間の隙間 */
    flex-wrap: wrap;        /* 狭い画面では折り返す */
    margin-top: 8px;        /* 上下に少し余白 */
}

.checkbox-group label {
    display: flex;          /* チェックボックスと文字を横並びに */
    align-items: center;    /* 垂直中央揃え */
    font-size: 14px;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 6px;      /* チェックボックスと文字の間隔 */
}
label.checkbox a {
    text-decoration: underline;  /* 下線を付ける */
}

.voice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* PCで3列 */
  gap: 32px;
}

.voice-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden; /* 写真をカード内に収める */
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
}

.voice-photo {
  width: 100%;
  height: 200px; /* 上半分を占める高さに調整 */
  overflow: hidden;
}

.voice-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 写真をカードにフィットさせる */
}

.voice-card p {
  font-size: 14px;
  color: #666;
  margin: 16px;
  flex-grow: 1;
}

.voice-card strong {
  display: block;
  font-weight: 700;
  color: #222;
  margin: 0 16px 16px;
}

/* レスポンシブ */
@media (max-width: 992px) {
  .voice-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .voice-grid {
    grid-template-columns: 1fr;
  }
}
/* campaign-section */
.campaign-section {
  padding: 80px 0; /* セクション上下余白 */
  background-color: #fff5f5; /* セクション背景 */
}

.campaign-wrapper {
  border: 2px solid #d32f2f;
  border-radius: 12px;
  background: #fff5f5;
  padding: 40px;
  position: relative;
}

/* ヘッダー */
.campaign-header.center {
  text-align: center;
  margin-bottom: 30px;
}
.campaign-section .center {
  text-align: center;
}
.campaign-limit {
  background: #d32f2f;
  color: #fff;
  display: inline-block;
  padding: 5px 20px;
  border-radius: 50px;
  font-weight: bold;
  margin-bottom: 15px;
}

.campaign-title {
  font-size: 2rem;
  color: #333;
}

/* グリッド */
.campaign-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.campaign-item {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

/* アイテム内テキスト */
.item-label {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 10px;
}

.item-value {
  font-size: 1.8rem;
  font-weight: 800; /* 太字 */
  color: #d32f2f;   /* 赤文字 */
  margin-bottom: 5px;
}

.item-note {
  font-size: 0.85rem;
  color: #d32f2f;  /* 赤文字 */
}

/* 条件 */
.campaign-condition {
  background: #f0f0f0; /* 灰色 */
  padding: 25px 20px;
  border-radius: 8px;
  margin-bottom: 30px;
}

.campaign-condition p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
}



/* モバイル対応：縦並び */
@media (max-width: 768px) {
  .campaign-grid {
    grid-template-columns: 1fr;
  }
}
  /* 説明文とフォームの間に余白 */
  #contactModal p {
    margin-bottom: 20px; /* 好みで調整可能 */
  }

  /* 必須マークを赤に */
  label span {
    color: red;
  }

  /* フォーム行の間隔を少し広げる */
  form label {
    display: block;
    margin-top: 15px;
    margin-bottom: 5px;
  }


