.hero-offer-btn {
    background-color: var(--accent-color);
    color: var(--white);
    border-radius: 30px;
    display: inline-block;
}


/* Base Styles */
:root {
    --background-light: #f8f7f5; /* 温かみのあるオフホワイト */
    --primary-color: #1a1a1a;    /* テキストや見出しの基本色（ダークグレー） */
    --text-color: #333333;
    --text-light: #757575;
    --accent-color-red: #e74c3c; /* NIMのブランドカラー */
    --accent-color-gold: #c09f58; /* 高級感を出すゴールド */
    --accent-color: #c09f58; /* サイト全体の統一アクセント */
    --white: #ffffff;
    --border-color: #e0e0e0;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    --transition: all 0.4s ease;
    --primary-dark: #0f0f0f; /* 影・ホバー用の濃いめ */
    --secondary-color: #2196f3; /* 補助ボタン用（電話など） */
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Serif JP', serif;
    color: var(--text-color);
    line-height: 1.8;
    overflow-x: hidden;
    font-weight: 400;
    background-color: var(--background-light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    line-height: 1.5;
    color: var(--primary-color);
}

p {
    margin-bottom: 1.2rem;
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

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

a:hover {
    color: var(--accent-color);
}

ul {
    list-style: none;
}

.btn {
    display: inline-block;
    padding: 14px 35px;
    background-color: var(--accent-color);
    color: var(--white);
    border-radius: 100px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(192, 159, 88, 0.35);
}

.btn-large {
    padding: 18px 45px;
    font-size: 1.1rem;
}

.section {
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 10px;
    position: relative;
    padding-bottom: 15px;
}

.section-title:after {
    content: '';
    display: block;
    width: 70px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 15px auto 0;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1rem;
    letter-spacing: 0.1em;
    margin-bottom: 70px;
    text-transform: uppercase;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: all 0.4s ease;
}

.header.scrolled {
    padding: 10px 0;
    background-color: rgba(255, 255, 255, 0.95);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-list a {
    font-weight: 600;
    position: relative;
    padding: 5px 0;
    color: var(--primary-color);
}

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

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

.hamburger {
    display: none;
    /* ... a day passes ... */
}

/* Main Visual (image-based) */
.main-visual {
    position: relative;
    display: block;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
    overflow: hidden;
    margin: 0 auto;
}

.main-visual-img {
    display: block;
    width: 100%;
    height: auto; /* feature画像と同じ挙動 */
}

.main-visual-content {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 40px; /* 位置を少し下げる */
    max-width: 560px;
    width: calc(100% - 40px);
    color: var(--white);
    text-align: center;
}

.main-visual-content h1 {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 24px; /* ボタンとの間隔 */
    letter-spacing: 2px;
    text-shadow: none;
    color: var(--primary-color);
    background-color: rgba(255, 255, 255, 0.9);
    padding: 10px 20px;
    display: inline-block; /* ブロック要素にして幅を固定 */
    line-height: 1.7;
}

.main-visual-content .sub-copy {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}


@media (max-width: 768px) {
    .main-visual-content h1 { font-size: 0.9rem; line-height: 1.5; }
    .main-visual-content .sub-copy { font-size: 0.9rem; line-height: 1.7; }
}

/* About */
/* About Section */
.about {
    background-color: var(--white);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-top: 70px;
}

.about-text {
    flex: 1;
    text-align: center;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 2.2;
    margin-bottom: 2rem;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
}

/* Feature */
.feature {
    background-color: var(--background-light);
    padding: 120px 0; /* 余白を広げて読みやすく */
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 72px; /* 縦のアイテム間の余白を拡大 */
    max-width: 640px; /* 中央寄せのための最大幅をスマホ相当に */
    margin: 80px auto 0;
}

.feature-item {
    display: flex;
    flex-direction: column; /* 画像 → 説明 の縦並び */
    gap: 18px;
    align-items: center;
}

.feature-item:nth-child(even) {
    flex-direction: column; /* 偶数行も同じ縦並び */
}

.feature-image {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.feature-content {
    width: 100%;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(44, 62, 80, 0.12);
}

.feature-number {
    width: 45px;
    height: 45px;
    background-color: var(--accent-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.feature-title {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-weight: 700;
}

.feature-text {
    color: var(--text-color);
    line-height: 1.9;
    margin-bottom: 1em;
    font-size: 0.95rem;
}

.feature-text.bullet {
    position: relative;
    padding-left: 1.4em;
}
.feature-text.bullet::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 0.2em;
    color: var(--accent-color);
    font-weight: 900;
}

.feature-text.note {
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 1.5em;
    font-size: 0.9rem;
    display: block;
}

.page-top.active {
    opacity: 1;
    visibility: visible;
}

.page-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Responsive */
/* Price Section */
.price {
    background-color: var(--white);
}

.price-table {
    max-width: 700px;
    margin: 70px auto 0;
    font-family: 'Noto Serif JP', serif;
}

.price-category {
    margin-bottom: 50px;
}

.price-category:last-child {
    margin-bottom: 0;
}

.price-category-title {
    background-color: #f0eae2;
    color: #5a4a3b;
    font-weight: 700;
    text-align: center;
    padding: 12px;
    border-radius: 5px;
    border: 1px solid #e0d8ce;
    font-family: 'Noto Serif JP', serif;
    font-size: 1.1rem;
}

.price-category-amount {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-top: 25px;
    margin-bottom: 0;
}

.subscription-list {
    margin-top: 25px;
}

.subscription-list li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 15px 0;
    border-bottom: 1px dotted var(--border-color);
}

.subscription-list li:last-child {
    border-bottom: none;
}

.subscription-list span {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.subscription-list .dots {
    flex-grow: 1;
    border-bottom: 1px dotted #ccc;
    margin: 0 15px;
    position: relative;
    bottom: 4px;
}

/* Staff Section (match Price styling) */
.staff {
    background-color: var(--white);
}

.trainer-profile {
    background: var(--white);
    border: 1px solid #e0d8ce; /* 同系色のボーダー */
    border-radius: 12px;
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.trainer-header {
    background-color: #f0eae2; /* Priceの見出し帯と同系色 */
    color: #5a4a3b;
    padding: 16px 20px;
    border-bottom: 1px solid #e0d8ce;
}

.trainer-header h3 {
    margin: 0;
    font-weight: 700;
}

.trainer-title {
    margin-top: 6px;
    color: #7a6a59;
}

.trainer-banner img {
    display: block;
    width: 100%;
    height: auto;
}

.trainer-content {
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.trainer-section h4 {
    color: #5a4a3b;
    margin-bottom: 10px;
    border-left: 4px solid #e0d8ce;
    padding-left: 10px;
}

.timeline {
    padding-left: 18px;
}

.timeline li {
    margin-bottom: 8px;
}

/* Contact Section */
.contact {
    background-color: var(--white);
}

.contact-button-container {
    text-align: center;
    margin-top: 20px;
}

.btn-line {
    background-color: #00B900;
    color: var(--white);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-line:hover {
    background-color: #009d00;
    box-shadow: 0 10px 25px rgba(0, 185, 0, 0.3);
}

.btn-line .fab {
    font-size: 1.5rem;
}

.contact-note {
    margin-top: 20px;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Access Section (中央カラム内のはみ出し防止と正方形マップ) */
.access .access-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.access .access-map {
    width: 100%;
    aspect-ratio: 1 / 1; /* 正方形 */
    border-radius: 12px;
    overflow: hidden; /* 角丸外に出さない */
}

.access .access-map iframe {
    width: 100%;
    height: 100%;
    display: block;
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo .logo-main {
    color: var(--white);
}

.footer-logo .logo-sub {
    color: rgba(255, 255, 255, 0.7);
    border-left-color: rgba(255, 255, 255, 0.2);
}

.footer-nav-list {
    display: flex;
    gap: 25px;
}

.footer-nav-list a {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.footer-nav-list a:hover {
    color: var(--white);
}

.copyright {
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}


/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 16px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 0 var(--primary-dark);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 0 var(--primary-dark);
}

/* Header CTA specific coloring */
.header-cta .btn.btn-primary {
    background-color: #FF0000;
    color: #ffffff;
    box-shadow: 0 4px 0 #B30000;
}

.header-cta .btn.btn-primary:hover {
    background-color: #FF3333;
    box-shadow: 0 6px 0 #B30000;
}

.btn-line {
    background-color: #06C755;
    color: white;
    box-shadow: 0 4px 0 #059e42;
}

.btn-line:hover {
    background-color: #059e42;
    transform: translateY(-2px);
    box-shadow: 0 6px 0 #059e42;
}

.btn-phone {
    background-color: var(--secondary-color);
    color: white;
    box-shadow: 0 4px 0 #1976D2;
}

.btn-phone:hover {
    background-color: #1976D2;
    transform: translateY(-2px);
    box-shadow: 0 6px 0 #1565C0;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 15px 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Header width aligned to central column */
.header .header-inner {
    max-width: 560px;
    margin: 0 auto;
}

.logo-tagline {
    font-size: 12px;
    line-height: 1.4;
    color: var(--text-light);
    margin-top: 4px;
}

.logo a {
    display: block;
    line-height: 1; /* 画像の上下の余分な余白を削除 */
}

.logo img {
    max-height: 45px; /* ロゴの高さを調整 */
    width: auto;
    transition: all 0.3s ease;
}

.header.scrolled .logo img {
    max-height: 40px; /* スクロール後のロゴの高さを調整 */
}

@media (max-width: 768px) {
    .header-inner {
        justify-content: space-between;
    }
    .logo-main {
        font-size: 18px;
    }
    .logo-sub {
        font-size: 10px;
    }
    .header-cta {
        display: none; /* モバイルではCTAボタンを非表示 */
    }
    .header {
        display: flex; /* Show original header on mobile */
        padding: 2px 0; /* 高さを最小限に */
        background-color: transparent; /* 完全に透明 */
        backdrop-filter: none;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
    }

    /* Enlarge logo on mobile */
    .header .header-inner { width: auto; max-width: none; margin: 0 20px; } /* 幅の制約をなくし、左右に余白 */
    .logo img { max-height: 24px; } /* ロゴをさらに小さく */

    /* Hamburger to far right of screen */
    .hamburger {
        position: fixed; /* 画面右端に固定 */
        right: 16px;
        top: 16px;
        z-index: 1001;
    }
}

@media (min-width: 1201px) {
    .header {
        display: none;
    }
}

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-list a {
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

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

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

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--text-color);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 700px;
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/hero-bg.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
    padding-top: 80px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* Problem Section */
.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 60px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent-color);
}

.problem {
    background-color: var(--light-gray);
    padding: 80px 0;
    text-align: center;
}

/* 問題セクション */
#problem {
    background-color: #f9f9f9;
    padding: 80px 0;
    text-align: center;
}

#problem .container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 15px;
}

#problem .section-title {
    font-size: 32px;
    color: #333;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
}

#problem .section-title:after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #ff4d4f;
    margin: 15px auto 0;
}

/* 問題パネル */
#problem .problem-panel {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    padding: 40px;
    max-width: 800px;
    margin: 0 auto;
}

/* 問題リスト */
/* 問題セクション */
#problem {
    background-color: #f9f9f9;
    padding: 80px 0;
    text-align: center;
}

#problem .container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 15px;
}

#problem .section-title {
    font-size: 32px;
    color: #333;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
}

#problem .section-title:after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #ff4d4f;
    margin: 15px auto 0;
}

/* 問題パネル */
#problem .problem-panel {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    padding: 40px;
    max-width: 800px;
    margin: 0 auto;
}

/* 問題リスト */
#problem .problem-list {
    list-style: none;
    padding: 0;
    margin: 0 0 40px;
    text-align: left;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

#problem .problem-item {
    padding: 15px 15px 15px 50px;
    background: #fff;
    border-radius: 8px;
    position: relative;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    border-left: 4px solid #ff4d4f;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.2s ease;
    min-height: 60px;
    display: flex;
    align-items: center;
}

#problem .problem-item:before {
    content: '✓';
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 26px;
    height: 26px;
    background: #ff4d4f;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
}

/* CTAテキスト */
#problem .problem-cta {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin: 40px 0 30px;
    text-align: center;
}

/* ボタン */
#problem .problem-actions {
    margin-top: 30px;
    text-align: center;
}

#problem .btn-trial {
    display: inline-block;
    background: #ff4d4f;
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s;
}

#problem .btn-trial:hover {
    background: #ff6b6b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 77, 79, 0.3);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    #problem {
        padding: 60px 0;
    }
    
    #problem .problem-panel {
        padding: 25px 20px;
    }
    
    #problem .problem-list {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    #problem .problem-cta {
        font-size: 18px;
        margin: 30px 0 25px;
    }
}

body #problem .problem-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    text-align: left;
    max-width: 700px;
    margin: 0 auto 40px;
}

body #problem .problem-item {
    padding: 20px 20px 20px 60px;
    margin: 15px 0;
    background: #f9f9f9;
    border-radius: 8px;
    position: relative;
    font-size: 18px;
    line-height: 1.6;
    color: #333;
    transition: all 0.3s ease;
    border-left: 4px solid #ff4d4f;
}

body #problem .problem-item:before {
    content: '?';
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background: #ff4d4f;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
}

body #problem .problem-item:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

body #problem .problem-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

body #problem .problem-text {
    font-size: 18px;
    line-height: 2;
    color: #333;
    margin: 0 0 30px 0;
    text-align: center;
    width: 100%;
}

body #problem .problem-cta {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin: 40px 0 30px;
    text-align: center;
    width: 100%;
    line-height: 1.6;
    position: relative;
    padding: 0 20px;
}

body #problem .problem-cta span {
    position: relative;
    padding: 0 15px;
    background: #fff;
    z-index: 1;
}

body #problem .problem-cta:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: #e0e0e0;
    z-index: 0;
}

body #problem .problem-actions {
    margin-top: 20px;
    text-align: center;
}

body #problem .btn-trial {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ff4d4f;
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    font-size: 16px;
    border: none;
    cursor: pointer;
}

body #problem .btn-trial:hover {
    background: #ff6b6b;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 77, 79, 0.4);
}

/* 問題リスト */
body #problem .problem-bullets,
body #problem .problem-text {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

body #problem .problem-text {
    text-align: center;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

body #problem .problem-bullets li {
    position: relative;
    padding: 12px 0 12px 40px;
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    border-bottom: 1px solid #f0f0f0;
}

body #problem .problem-bullets li:last-child {
    border-bottom: none;
}

body #problem .problem-bullets.with-checks li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 14px;
    color: #ff4d4f;
    font-size: 14px;
    width: 24px;
    height: 24px;
    background: #fff0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* CTAテキスト */
body #problem .problem-cta {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin: 30px 0;
    text-align: center;
    line-height: 1.6;
}

/* ボタンスタイル */
body #problem .problem-actions {
    text-align: center;
    margin: 40px 0 10px;
}

body #problem .btn-trial {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ff4d4f;
    color: #fff;
    padding: 16px 36px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 77, 79, 0.3);
}

body #problem .btn-trial .btn-text {
    margin-right: 8px;
}

body #problem .btn-trial i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

body #problem .btn-trial:hover {
    background: #ff6b6b;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 77, 79, 0.4);
}

body #problem .btn-trial:hover i {
    transform: translateX(4px);
}

/* レスポンシブ */
@media (max-width: 768px) {
    body #problem.section {
        padding: 40px 0;
    }
    
    body #problem .problem-panel {
        padding: 25px 20px;
        margin: 0 0 25px 0;
        width: 100%;
        border-radius: 0;
    }
    
    body #problem .section-title {
        font-size: 26px;
        margin-bottom: 30px;
    }
    
    body #problem .problem-bullets li {
        font-size: 15px;
        padding: 10px 0 10px 32px;
    }
    
    body #problem .problem-cta {
        font-size: 16px;
        margin: 25px 0;
    }
    
    body #problem .btn-trial {
        padding: 14px 28px;
        font-size: 15px;
        width: 100%;
        max-width: 300px;
    }
}

/* Enhanced presentation */
.problem-bullets.with-checks li {
    list-style: none;
    position: relative;
    padding-left: 1.6em;
}

.problem-bullets.with-checks li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    top: 0.1em;
    color: var(--accent-color);
    font-weight: 900;
}

.problem-actions {
    max-width: 900px;
    margin: 18px auto 0;
    text-align: left;
}

.btn-trial {
    display: inline-block;
    background: var(--accent-color);
    color: #fff;
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 700;
    box-shadow: 0 6px 16px rgba(255, 107, 107, 0.35);
    transition: var(--transition);
}

.btn-trial:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(255, 107, 107, 0.45);
}

.problem-item {
    background: var(--white);
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.problem-item:hover {
    transform: translateY(-5px);
}

.problem-item.active {
    background: var(--accent-color);
    color: white;
}

.problem-item.active .problem-icon {
    color: white;
}

.problem-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 15px;
    transition: var(--transition);
}

.problem-item p {
    font-weight: 500;
    margin: 0;
    transition: var(--transition);
}

/* Problem Details */
.problem-details {
    max-width: 800px;
    margin: 40px auto 0;
    text-align: left;
}

.problem-detail {
    background: white;
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.problem-detail h3 {
    background: var(--primary-color);
    color: white;
    padding: 15px 20px;
    margin: 0;
    cursor: pointer;
    position: relative;
    padding-right: 50px;
    font-size: 1.1rem;
}

.problem-detail h3::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    transition: var(--transition);
}

.problem-detail.active h3::after {
    content: '-';
}

.problem-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 20px;
}

.problem-detail.active .problem-content {
    max-height: 1000px;
    padding: 20px;
}

.problem-content p:first-child {
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.problem-content p:last-child {
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .problem-list {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .problem-detail h3 {
        font-size: 1rem;
        padding: 15px 45px 15px 15px;
    }
}

/* Scroll Top Button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.scroll-top.active {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
}

/* Floating CTA */
.floating-cta {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 998;
    width: 90%;
    max-width: 500px;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.floating-cta.active {
    opacity: 1;
    visibility: visible;
}

.floating-cta .btn {
    width: 100%;
    padding: 16px;
    font-size: 18px;
    box-shadow: 0 6px 0 var(--primary-dark);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 80px);
        background-color: var(--white);
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
        transition: var(--transition);
        padding: 30px 0;
        z-index: 999;
    }

    .nav.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 70px 0;
    }

    .section-title {
        font-size: 30px;
        margin-bottom: 40px;
    }

    .problem-list {
        grid-template-columns: 1fr;
    }
}

/* Utility Classes */
.sp-only {
    display: none;
}

@media (max-width: 768px) {
    .sp-only {
        display: inline;
    }
}

/* Google Form Container */
.google-form-container {
    position: relative;
    width: 100%;
    max-width: 800px; /* PCでの最大幅 */
    margin: 40px auto;
    overflow: hidden;
    padding-top: 120%; /* フォームの縦横比に応じて調整 */
    border: 1px solid #ddd;
    border-radius: 8px;
}

.google-form-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 768px) {
    .google-form-container {
        padding-top: 180%; /* モバイルでの縦長フォームに対応 */
        border: none;
        margin: 0 -20px; /* 左右の余白をなくす */
        width: calc(100% + 40px);
    }
}

/* Google Form Container */
.google-form-container {
    position: relative;
    width: 100%;
    max-width: 800px; /* PCでの最大幅 */
    margin: 40px auto;
    overflow: hidden;
    padding-top: 120%; /* フォームの縦横比に応じて調整 */
    border: 1px solid #ddd;
    border-radius: 8px;
}

.google-form-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 768px) {
    .google-form-container {
        padding-top: 180%; /* モバイルでの縦長フォームに対応 */
        border: none;
        margin: 0 -20px; /* 左右の余白をなくす */
        width: calc(100% + 40px);
    }
}
