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

/* 基本スタイル */
body {
    font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    line-height: 1.7;
    color: #2B3D59;
    background-color: #fff;
}

/* アコーディオンスタイル */
.accordion-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    margin-bottom: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.accordion-toggle:hover {
    color: #FFB3B3;
}

.accordion-toggle .toggle-icon {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.accordion-toggle.active .toggle-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-content.active {
    max-height: 500px;
    margin-bottom: 15px;
}

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

/* ヘッダー */
.header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-image {
    width: 160px;
    height: 60px;
    flex-shrink: 0;
    object-fit: contain;
}

.logo-text h1 {
    font-size: 24px;
    color: #FFB3B3;
    margin-bottom: 5px;
}

.logo-text p {
    font-size: 14px;
    color: #666;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
    flex-direction: row;
}

.nav a {
    text-decoration: none;
    color: #2B3D59;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: #6ccac1;
}

/* メイン */
main {
    margin-top: 80px;
}

/* ヒーローページのヘッダー透過設定（トップページ含む） */
.hero-page .header {
    background-color: transparent;
    position: absolute;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.hero-page main {
    margin-top: 0;
}

/* ヒーローセクション */
.hero {
    position: relative;
    background: linear-gradient(135deg, rgba(240, 242, 245, 0.6) 0%, rgba(248, 250, 252, 0.6) 100%);
    color: #2B3D59;
    padding: 100px 0;
    text-align: center;
    overflow: hidden;
}

/* ヒーローページ共通の高さ設定 */
.hero-page .hero {
    padding: 180px 0 100px 0;
}

/* ヒーローページのヘッダーテキストをグレー基調に */
.hero-page .header .logo-text h1,
.hero-page .header .logo-text h1 a {
    color: #2B3D59 !important;
    text-shadow: 1px 1px 3px rgba(255,255,255,0.8);
}

.hero-page .header .logo-text p {
    color: #555 !important;
    text-shadow: 1px 1px 3px rgba(255,255,255,0.8);
}

.hero-page .header .nav a {
    color: #2B3D59 !important;
    text-shadow: 1px 1px 3px rgba(255,255,255,0.8);
    font-weight: 600;
}

/* デスクトップでのナビゲーション表示確保 */
@media (min-width: 769px) {
    .nav ul {
        display: flex;
        flex-direction: row;
        gap: 30px;
        flex-wrap: nowrap;
        justify-content: flex-end;
    }
    
    .nav a {
        font-size: 16px;
    }
    
    .header-content {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    
    .logo {
        flex-direction: row;
        align-items: center;
        gap: 15px;
    }
}

.hero-media {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    z-index: -2;
    object-fit: cover;
    -webkit-object-fit: cover;
    transition: opacity 0.5s ease-in-out;
    -webkit-transition: opacity 0.5s ease-in-out;
    /* Safari用のコントロール完全非表示 */
    -webkit-appearance: none;
    -webkit-media-controls: none;
    -webkit-media-controls-panel: none;
    -webkit-media-controls-play-button: none;
    -webkit-media-controls-start-playback-button: none;
}

/* Safari・WebKit用のコントロール非表示（疑似要素） */
.hero-video::-webkit-media-controls {
    display: none !important;
}

.hero-video::-webkit-media-controls-panel {
    display: none !important;
}

.hero-video::-webkit-media-controls-play-button {
    display: none !important;
}

.hero-video::-webkit-media-controls-start-playbook-button {
    display: none !important;
}

.hero-video::-webkit-media-controls-enclosure {
    display: none !important;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.15) 0%, rgba(255, 179, 179, 0.1) 50%, rgba(108, 202, 193, 0.1) 100%);
    z-index: -1;
}

.hero-content h1,
.hero-content h2 {
    font-size: 56px;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    color: #2B3D59;
}

.hero-content p {
    font-size: 22px;
    margin-bottom: 40px;
    line-height: 1.8;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
    color: #2B3D59;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: #6ccac1;
    color: white;
}

.btn-primary:hover {
    background-color: #FF3366;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: #2B3D59;
    border: 2px solid #2B3D59;
}

.btn-secondary:hover {
    background-color: #FF3366;
    color: white;
    border-color: #FF3366;
    transform: translateY(-2px);
}

/* セクション共通 */
section {
    padding: 80px 0;
}

/* 見出しの共通スタイル */
h2 {
    text-align: center;
}

h3 {
    text-align: center;
}

.section-title {
    font-size: 36px;
    text-align: center;
    margin-bottom: 60px;
    color: #6ccac1;
    position: relative;
}

.contact .section-title {
    margin-bottom: 0px;
}

.section-catchphrase {
    text-align: center;
    color: #FFB3B3;
    margin-bottom: 50px;
    font-size: 20px;
    font-weight: 600;
    font-style: italic;
}

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

/* サービスセクション */
.services {
    background-color: #f8f9fa;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
    color: #6ccac1;
}

.service-icon i {
    font-size: 48px;
}

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

.service-card h3 {
    font-size: 24px;
    color: #6ccac1;
    margin-bottom: 20px;
}

.service-card p {
    color: #666;
    line-height: 1.8;
}

.service-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-cta {
    margin-top: auto;
    padding-top: 20px;
}

.service-features {
    flex: 1;
}

/* 特徴セクション */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.feature-item {
    text-align: center;
    padding: 30px 20px;
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
    color: #FF4444;
}

.feature-icon i {
    font-size: 48px;
}

.feature-item h3 {
    font-size: 24px;
    color: #6ccac1;
    margin-bottom: 15px;
}

.feature-item p {
    color: #666;
    line-height: 1.8;
}

/* 代表者の声セクション */
.message {
    background-color: #f8f9fa;
}

.message-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 60px;
    align-items: start;
    max-width: 1000px;
    margin: 0 auto;
}

.message-photo {
    text-align: center;
}

.representative-photo {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    border: 5px solid #fff;
}

.message-text h3 {
    font-size: 24px;
    color: #6ccac1;
    margin-bottom: 25px;
    text-align: left;
}

.message-body {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.message-body p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #555;
    font-size: 16px;
}

.message-body p:last-child {
    margin-bottom: 0;
}

/* 料金セクション */
.pricing {
    background-color: #fff;
}

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

.pricing-card {
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-card.featured {
    border: 3px solid #ff6b35;
    transform: scale(1.05);
}

.pricing-card.featured::before {
    content: 'おすすめ';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ff6b35;
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.pricing-card h3 {
    font-size: 24px;
    color: #6ccac1;
    margin-bottom: 20px;
}

.price {
    font-size: 32px;
    font-weight: 700;
    color: #ff6b35;
    margin-bottom: 30px;
}

.pricing-card ul {
    list-style: none;
    text-align: left;
}

.pricing-card li {
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
    color: #666;
}

.pricing-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

.pricing-note {
    text-align: center;
    color: #666;
    font-size: 14px;
}

/* 会社情報セクション */
.company-info {
    max-width: 600px;
    margin: 0 auto;
}

.company-details h3 {
    font-size: 28px;
    color: #6ccac1;
    margin-bottom: 30px;
    text-align: center;
}

.company-details dl {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 15px 30px;
}

.company-details dt {
    font-weight: 600;
    color: #2B3D59;
}


/* 会社情報セクション */
.company {
    background-color: rgba(108, 202, 193, 0.05);
    padding: 80px 0;
}

.company-content {
    display: flex;
    justify-content: center;
}

.company-details {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    max-width: 600px;
    width: 100%;
}

.company-details dl {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 20px 40px;
    margin: 0;
}

.company-details dt {
    font-weight: 700;
    color: #2B3D59;
    font-size: 16px;
}

.company-details dd {
    color: #666;
    margin: 0;
    font-size: 16px;
}

/* お問い合わせセクション */
.contact {
    background-color: #f8f9fa;
}

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

.contact-info h3 {
    font-size: 28px;
    color: #6ccac1;
    margin-bottom: 20px;
}

.contact-info p {
    color: #666;
    margin-bottom: 40px;
    line-height: 1.8;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-method h4 {
    font-size: 18px;
    color: #2B3D59;
    margin-bottom: 10px;
}

.phone-number {
    font-size: 24px;
    font-weight: 700;
    color: #6ccac1;
    margin-bottom: 5px;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2B3D59;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #6ccac1;
}

.form-group textarea {
    resize: vertical;
}

/* フッター */
.footer {
    background-color: rgba(255, 179, 179, 0.4);
    color: #2B3D59;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}


.footer-nav ul {
    list-style: none;
    display: flex;
    flex-direction: row;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-nav a {
    color: #2B3D59;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-nav a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(43, 61, 89, 0.2);
    opacity: 0.8;
}

/* プラン選択ガイド */
.plan-guide {
    background: linear-gradient(135deg, rgba(255, 179, 179, 0.05) 0%, rgba(108, 202, 193, 0.05) 100%);
    padding: 80px 0;
}

.contact + .plan-guide {
    padding-top: 0px;
    margin-top: 0px;
}

.guide-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.guide-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.guide-card {
    background: white;
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.guide-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    border-color: #6ccac1;
}

.guide-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #FFB3B3 0%, #6ccac1 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.guide-icon i {
    font-size: 24px;
    color: white;
}

.guide-card h3 {
    font-size: 20px;
    color: #2B3D59;
    margin-bottom: 15px;
    font-weight: 700;
}

.guide-card p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.guide-recommendation {
    background: rgba(108, 202, 193, 0.1);
    border-radius: 8px;
    padding: 15px;
    margin-top: 20px;
}

.recommended-plan {
    display: block;
    font-weight: 700;
    color: #2B3D59;
    font-size: 18px;
    margin-bottom: 5px;
}

.recommended-price {
    color: #FFB3B3;
    font-weight: 600;
    font-size: 16px;
}

.guide-cta {
    text-align: center;
    margin-top: 60px;
    padding: 40px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.contact + .plan-guide .guide-cta {
    margin-top: 0px;
}

.guide-cta h3 {
    font-size: 24px;
    color: #2B3D59;
    margin-bottom: 15px;
    font-weight: 700;
}

.guide-cta p {
    color: #666;
    margin-bottom: 25px;
    font-size: 16px;
    line-height: 1.6;
}

/* 個別ページ用スタイル */
.logo a {
    text-decoration: none;
    color: inherit;
}

.nav .active {
    color: #6ccac1;
    font-weight: 700;
}


.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.spot-plans {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1200px) {
    .spot-plans {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }
}

.plan-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.plan-card.featured {
    border: 3px solid #FF4444;
    position: relative;
}

.plan-card.featured::before {
    content: 'おすすめ';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #FF4444;
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.plan-icon {
    text-align: center;
    margin-bottom: 25px;
}

.plan-icon i {
    font-size: 48px;
    color: #6ccac1;
}

.plan-price {
    text-align: center;
    margin-bottom: 15px;
}

.plan-price .price {
    display: inline-block;
    font-size: 32px;
    font-weight: 700;
    color: #FF4444;
    margin-bottom: 5px;
}

.plan-price .price-note {
    font-size: 14px;
    color: #666;
}

.plan-price .price-unit {
    display: inline-block;
    font-size: 18px;
    font-weight: 400;
    color: #333;
    margin-left: 4px;
    vertical-align: baseline;
}

.plan-card h3 {
    font-size: 28px;
    color: #2B3D59;
    margin-bottom: 8px;
    text-align: center;
}

.plan-subtitle {
    color: #FFB3B3;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 15px;
    text-align: center;
    line-height: 1.5;
}

.plan-description {
    color: #666;
    margin-bottom: 30px;
    line-height: 1.8;
    text-align: center;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.plan-features h4 {
    color: #2B3D59;
    font-size: 18px;
    margin-bottom: 15px;
    margin-top: 25px;
}

.plan-features ul {
    list-style: none;
    margin-bottom: 20px;
}

.plan-features li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: #666;
    line-height: 1.6;
}

.plan-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #6ccac1;
    font-weight: bold;
}

.plan-features {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.plan-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* プランカードの上部固定部分とアコーディオン部分を分離 */
.plan-card .plan-features {
    margin-top: auto;
}

/* サイトマップページのスタイル */
.sitemap-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.sitemap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.sitemap-category {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.sitemap-category h2 {
    color: #2B3D59;
    font-size: 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sitemap-category h2 i {
    color: #FFB3B3;
    font-size: 18px;
}

.sitemap-category ul {
    list-style: none;
}

.sitemap-category li {
    margin-bottom: 10px;
}

.sitemap-category a {
    color: #666;
    text-decoration: none;
    padding: 8px 0;
    display: block;
    border-bottom: 1px solid #f0f0f0;
    transition: color 0.3s ease;
}

.sitemap-category a:hover {
    color: #FFB3B3;
}

.sitemap-info {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
}

.sitemap-info h3 {
    color: #2B3D59;
    margin-bottom: 20px;
    font-size: 24px;
}

.sitemap-info p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.contact-info {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #f0f0f0;
}

.contact-info h4 {
    color: #2B3D59;
    margin-bottom: 15px;
}

.contact-info p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

.contact-info i {
    color: #FFB3B3;
    width: 20px;
}

.plan-cta {
    text-align: center;
    margin-top: auto;
    padding-top: 30px;
}

.plan-selection-guide {
    background-color: #f8f9fa;
    padding: 80px 0;
}

.guide-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.guide-step {
    text-align: center;
    padding: 30px 20px;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #FF4444;
    color: white;
    font-size: 24px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
}

.guide-step h3 {
    font-size: 22px;
    color: #2B3D59;
    margin-bottom: 15px;
}

.guide-step p {
    color: #666;
    line-height: 1.7;
}

.guide-cta {
    background: white;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.guide-cta h3 {
    color: #2B3D59;
    margin-bottom: 15px;
}

.guide-cta p {
    color: #666;
    margin-bottom: 25px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.benefit-item {
    text-align: center;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.benefit-icon {
    margin-bottom: 20px;
}

.benefit-icon i {
    font-size: 48px;
    color: #FF4444;
}

.benefit-item h3 {
    font-size: 22px;
    color: #2B3D59;
    margin-bottom: 15px;
}

.benefit-item p {
    color: #666;
    line-height: 1.7;
}

.usage-flow, .participation-flow {
    background-color: #f8f9fa;
    padding: 80px 0;
}

.flow-steps {
    display: flex;
    flex-direction: column;
    max-width: 600px;
    margin: 0 auto;
    gap: 20px;
    position: relative;
}

.flow-steps::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 60px;
    bottom: 60px;
    width: 2px;
    background: linear-gradient(to bottom, #FFB3B3, #6ccac1);
    z-index: 1;
}

.flow-step {
    display: flex;
    align-items: center;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    position: relative;
    z-index: 2;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #FFB3B3, #6ccac1);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin-right: 20px;
    flex-shrink: 0;
}

.flow-step-content {
    flex: 1;
}

.flow-step h3 {
    font-size: 20px;
    margin-bottom: 8px;
    color: #2B3D59;
    text-align: left;
}

.flow-step p {
    color: #666;
    margin: 0;
}

/* レスポンシブ対応: フロー */
@media (max-width: 768px) {
    .flow-steps::before {
        left: 20px;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 18px;
        margin-right: 15px;
    }
    
    .flow-step {
        padding: 15px;
    }
    
    .flow-step h3 {
        font-size: 18px;
    }
    
}

.cta-section {
    background: linear-gradient(135deg, rgba(108, 202, 193, 0.3) 0%, rgba(138, 212, 204, 0.3) 100%);
    color: #2B3D59;
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.faq-section {
    padding: 80px 0;
}

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

.faq-item {
    background: white;
    padding: 30px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.faq-item h3 {
    color: #2B3D59;
    margin-bottom: 15px;
    font-size: 18px;
}

.faq-item p {
    color: #666;
    line-height: 1.7;
    margin: 0;
}

/* モバイル専用改行 */
.mobile-br {
    display: none;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .mobile-br {
        display: inline;
    }
    
    .feature-item {
        text-align: left;
    }
    
    .feature-icon {
        text-align: center;
    }
    
    .feature-item h3 {
        text-align: center;
    }
    
    .header {
        position: static;
        box-shadow: none;
        border-bottom: 1px solid #eee;
    }
    
    /* ヒーローページでは絶対配置ヘッダーを維持 */
    .hero-page .header {
        position: absolute !important;
        border-bottom: none !important;
        background-color: transparent !important;
    }
    
    main {
        margin-top: 0;
    }
    
    /* ヒーローページのmainは固定ヘッダー分のマージンを削除 */
    .hero-page main {
        margin-top: 0 !important;
    }
    
    .header-content {
        flex-direction: column;
        gap: 20px;
        padding: 20px 0;
    }
    
    .logo {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
    }
    
    .logo-image {
        width: 180px;
        height: 60px;
        object-fit: contain;
    }
    
    .logo-text h1 {
        font-size: 20px;
        margin-bottom: 5px;
    }
    
    .logo-text p {
        font-size: 12px;
    }
    
    .nav ul {
        gap: 15px;
        flex-wrap: nowrap;
        justify-content: center;
        flex-direction: row;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .nav ul::-webkit-scrollbar {
        display: none;
    }
    
    .nav a {
        font-size: 14px;
        white-space: nowrap;
    }
    
    /* モバイルでのヒーロー表示を最適化 */
    .hero {
        position: relative;
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: left;
    }
    
    .hero-page .hero {
        padding: 0;
    }
    
    .hero-media {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        -webkit-object-fit: cover;
        object-position: 75% center;
        -webkit-object-position: 75% center;
        transform: none;
        -webkit-transform: none;
    }
    
    .hero-overlay {
        background: linear-gradient(135deg, rgba(248, 250, 252, 0.25) 0%, rgba(255, 179, 179, 0.15) 50%, rgba(108, 202, 193, 0.15) 100%);
    }
    
    .hero .container {
        position: relative;
        z-index: 1;
        width: 100%;
        height: auto;
        display: flex;
        align-items: flex-start;
        justify-content: center;
        min-height: 100vh;
        padding-top: 180px;
        padding-bottom: 20px;
    }
    
    .hero-content {
        text-align: left;
        width: 100%;
        max-width: 90%;
    }
    
    /* 料金プラン・無料サービスページのヒーロー調整 */
    .pricing-page.hero-page .hero,
    .seminar-page.hero-page .hero {
        min-height: auto !important;
        display: block !important;
    }
    
    .pricing-page.hero-page .hero .container,
    .seminar-page.hero-page .hero .container {
        padding-bottom: 50px !important;
        min-height: auto !important;
        display: block !important;
    }
    
    .hero-content h1,
    .hero-content h2 {
        text-align: center;
        margin-top: 0;
        font-size: 42px;
    }
    
    .hero-content p {
        font-size: 20px;
    }
    
    /* トップページのヒーローエリアも同様に調整 */
    .home-page .hero-content h2 {
        font-size: 42px;
    }
    
    .home-page .hero-content p {
        font-size: 20px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .services-grid,
    .features-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .message-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: left;
    }
    
    .footer-content {
        justify-content: center;
    }
    
    .footer-nav ul {
        gap: 20px;
    }
    
    .company-details dl {
        grid-template-columns: 1fr;
        gap: 10px;
        text-align: center;
    }
    
    .company-details dt {
        font-weight: 700;
        margin-top: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    /* モバイルでのヒーローコンテンツ最適化 */
    .hero-content h1,
    .hero-content h2 {
        font-size: 32px;
        line-height: 1.3;
        margin-bottom: 15px;
    }
    
    .hero-content p {
        font-size: 18px;
        line-height: 1.6;
        margin-bottom: 30px;
    }
    
    .cta-buttons {
        gap: 15px;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .feature-item {
        text-align: left;
    }
    
    .feature-icon {
        text-align: center;
    }
    
    .footer-nav ul {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .footer-nav a {
        font-size: 14px;
        white-space: nowrap;
        padding: 8px 2px;
    }
    
    /* 極小画面対応 */
    @media (max-width: 360px) {
        .footer-nav a {
            font-size: 9px;
            padding: 8px 1px;
        }
    }
    
    .comparison-table-wrapper {
        margin: 20px -15px;
        border-radius: 0;
    }
    
    .comparison-table {
        min-width: 600px;
        border-radius: 0;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 10px 5px;
        font-size: 12px;
    }
    
    .price-small {
        font-size: 10px;
    }
    
    .popular-badge {
        font-size: 8px;
        padding: 2px 4px;
    }
    
    .budget-filter {
        padding: 20px 15px;
        margin: 20px 0;
    }
    
    .budget-filter h3 {
        font-size: 18px;
        margin-bottom: 15px;
    }
    
    .budget-options {
        gap: 10px;
    }
    
    .budget-btn {
        padding: 8px 12px;
        font-size: 12px;
        flex: 1;
        min-width: 80px;
    }
    
    .feature-item h3 {
        text-align: center;
    }

    .hero {
        min-height: 100vh;
        padding: 0;
    }
    
    .hero-page .hero {
        padding: 0;
    }
    
    .hero .container {
        min-height: 100vh;
        padding-top: 200px;
        padding-bottom: 20px;
        display: flex;
        align-items: flex-start;
        justify-content: center;
    }
    
    .hero-content {
        max-width: 95%;
        text-align: left;
    }
    
    /* 料金プラン・無料サービスページのヒーロー調整 */
    .pricing-page.hero-page .hero,
    .seminar-page.hero-page .hero {
        min-height: auto !important;
        display: block !important;
    }
    
    .pricing-page.hero-page .hero .container,
    .seminar-page.hero-page .hero .container {
        padding-bottom: 30px !important;
        min-height: auto !important;
        display: block !important;
    }
    
}

/* セミナーページのサービスカード内のリストを左寄せに */
.seminar-services .service-card ul {
    text-align: left;
}

/* セミナーページのサービス内容見出しを左寄せに */
.seminar-services .service-card .plan-features h4 {
    text-align: left;
}

/* セミナーページのサービス概要説明を左寄せに */
.seminar-services .service-card .service-description {
    text-align: left;
}

/* スマホでセミナーメリットの段落を左寄せに */
@media (max-width: 768px) {
    .benefit-item p {
        text-align: left;
    }
}

/* よくある質問の質問文を左寄せに */
.faq-item h3 {
    text-align: left;
}

/* セミナー・相談のメリットの説明文を左寄せに */
.benefit-item p {
    text-align: left;
}

/* プラン比較表 */
.plan-comparison {
    background-color: #f8f9fa;
    padding: 80px 0;
}

.comparison-table-wrapper {
    overflow-x: auto;
    margin: 40px 0;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.comparison-table {
    width: 100%;
    background: white;
    border-collapse: collapse;
    border-radius: 15px;
    overflow: hidden;
    min-width: 800px;
}

.comparison-mobile {
    display: none;
}

.comparison-table th,
.comparison-table td {
    padding: 15px 10px;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
}

.comparison-table th {
    background: linear-gradient(135deg, #6ccac1 0%, #5bb8af 100%);
    color: white;
    font-weight: 700;
    font-size: 14px;
}

.comparison-table th.popular {
    background: linear-gradient(135deg, #FFB3B3 0%, #ff9999 100%);
    position: relative;
}

.popular-badge {
    position: absolute;
    top: -5px;
    right: 5px;
    background: #FF3366;
    color: white;
    font-size: 10px;
    padding: 3px 6px;
    border-radius: 10px;
    font-weight: 700;
}

.feature-column {
    text-align: left !important;
    width: 200px;
    background: #2B3D59 !important;
    color: white !important;
}

.plan-column {
    width: 120px;
}

.price-small {
    display: block;
    font-size: 12px;
    font-weight: 400;
    margin-top: 3px;
}

.feature-name {
    font-weight: 600;
    text-align: left;
    background: #f8f9fa;
    color: #2B3D59;
}

.feature-included {
    color: #6ccac1;
    font-weight: 700;
    font-size: 16px;
}

.feature-not-included {
    color: #ccc;
    font-weight: 700;
}

.comparison-notes {
    text-align: center;
    margin-top: 30px;
    padding: 20px;
    background: rgba(108, 202, 193, 0.1);
    border-radius: 10px;
}

.comparison-notes p {
    color: #666;
    font-size: 14px;
    margin: 0;
}

/* 予算別ガイド機能 */
.budget-filter {
    text-align: center;
    margin: 40px 0;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.budget-filter h3 {
    color: #2B3D59;
    margin-bottom: 20px;
    font-size: 20px;
}

.budget-options {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.budget-btn {
    padding: 12px 20px;
    border: 2px solid #6ccac1;
    background: transparent;
    color: #6ccac1;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 14px;
}

.budget-btn:hover {
    background: #6ccac1;
    color: white;
    transform: translateY(-2px);
}

.budget-btn.active {
    background: #6ccac1;
    color: white;
}

.guide-card-link {
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 1;
    transform: translateY(0);
}

.guide-card-link.hidden {
    display: none;
}

/* プラン比較表のレスポンシブ対応 */
@media (max-width: 768px) {
    .comparison-table-wrapper {
        overflow-x: auto;
        padding: 0 10px;
        margin: 20px -10px;
    }
    
    .comparison-table {
        min-width: 600px;
        font-size: 13px;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 12px 8px;
        min-width: 80px;
    }
    
    .comparison-table th {
        font-size: 13px;
    }
    
    .comparison-mobile {
        display: none;
    }
    
    /* スクロールヒント */
    .comparison-table-wrapper::after {
        content: "← 横にスクロールできます →";
        display: block;
        text-align: center;
        font-size: 12px;
        color: #999;
        margin-top: 10px;
        font-style: italic;
    }
}

/* 480px以下のヒーロー調整 */
@media (max-width: 480px) {
    .hero-content h1,
    .hero-content h2 {
        text-align: center;
        margin-top: 0;
        font-size: 36px;
    }
    
    .hero-content p {
        font-size: 18px;
    }
    
    /* トップページのヒーローエリアも同様に調整 */
    .home-page .hero-content h2 {
        font-size: 36px;
    }
    
    .home-page .hero-content p {
        font-size: 18px;
    }
    
    .hero-media {
        object-position: 75% center;
        -webkit-object-position: 75% center;
    }
    
    .hero-overlay {
        background: rgba(248, 250, 252, 0.4);
    }
    
    section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
}