:root {
    --primary-color: #EF454A;
    --primary-dark: #D03539;
    --primary-light: #FF6B70;
    --secondary-color: #333333;
    --text-color: #333333;
    --text-light: #666666;
    --background-light: #F8F8F8;
    --background-white: #FFFFFF;
    --border-color: #E0E0E0;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --success-color: #28a745;
    --font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
}

/* 基本リセットスタイル */
* {
    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.6;
    color: var(--text-color);
    background-color: var(--background-white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

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

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

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

/* アニメーション用のクラス */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ディレイをつけたアニメーション */
[data-delay="200"] {
    transition-delay: 0.2s;
}

[data-delay="400"] {
    transition-delay: 0.4s;
}

/* セクション区切り線の追加 */
.section-divider {
    border-top: 1px solid var(--border-color);
}

/* 画像プレースホルダーの改善 */
.image-placeholder {
    background-color: #e9e9e9;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #777;
    border-radius: 5px;
    font-size: 14px;
    text-align: center;
}

.improved-placeholder {
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    border: 1px dashed #ccc;
    position: relative;
    overflow: hidden;
}

.placeholder-logo {
    font-size: 24px;
    font-weight: bold;
    color: rgba(239, 69, 74, 0.2);
    margin-bottom: 10px;
}

.placeholder-text {
    font-size: 12px;
    color: #999;
}

/* ボタンスタイル */
.primary-button,
.secondary-button,
.plan-button,
.contact-button {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.primary-button,
.contact-button.primary,
.plan-button.primary {
    background-color: var(--primary-color);
    color: white;
    border: none;
}

.primary-button:hover,
.contact-button.primary:hover,
.plan-button.primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(239, 69, 74, 0.3);
}

.secondary-button,
.plan-button,
.contact-button {
    background-color: var(--background-white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.secondary-button:hover,
.plan-button:hover,
.contact-button:hover {
    background-color: var(--primary-light);
    color: white;
    border-color: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(239, 69, 74, 0.3);
}

.contact-button.large {
    padding: 16px 32px;
    font-size: 18px;
}

/* セクションの共通スタイル */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 50px;
    position: relative;
}

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

/* ヘッダー */
.header {
    background-color: white;
    box-shadow: 0 2px 10px var(--shadow-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 10px 0;
}

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

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

.logo-image {
    height: auto;
    max-height: 72px;
    width: auto;
    margin-right: 10px;
    object-fit: contain;
    vertical-align: middle;
}

.service-name {
    font-size: 20px;
    font-weight: bold;
    color: var(--secondary-color);
}

.navigation ul {
    display: flex;
    align-items: center;
    height: 100%;
    margin: 0;
}

.navigation li {
    margin-left: 30px;
    display: flex;
    align-items: center;
    height: 100%;
}

.navigation a {
    color: var(--secondary-color);
    font-weight: 500;
    position: relative;
    padding: 8px 0;
    display: flex;
    align-items: center;
    height: 100%;
}

.navigation a:hover {
    color: var(--primary-color);
}

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

.navigation a:hover::after {
    width: 100%;
}

.contact-button {
    padding: 8px 16px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
}

.navigation .contact-button {
    padding: 8px 24px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
}

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    position: relative;
}

.menu-icon, .close-icon {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.menu-toggle .close-icon {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transform: rotate(-90deg);
}

.menu-toggle.active .menu-icon {
    opacity: 0;
    transform: rotate(90deg);
}

.menu-toggle.active .close-icon {
    opacity: 1;
    transform: rotate(0);
}

/* ヒーローセクション */
.hero {
    background-color: var(--background-light);
    padding: 50px 0;
    position: relative;
}

.hero-enhanced {
    background: linear-gradient(135deg, #f8f8f8 0%, #e8e8e8 100%);
}

.hero-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ef454a' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.5;
    z-index: 0;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
    padding-right: 30px;
}

.main-title {
    font-size: 36px;
    line-height: 1.3;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.service-title {
    font-size: 36px;
    display: block;
    margin-top: 5px;
}

.sub-title {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 30px;
}

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

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

/* 課題セクション */
.problems {
    background-color: var(--background-white);
}

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

.problem-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 10px var(--shadow-color);
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.problem-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.problem-icon {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
    width: 100%;
}

.problem-card h3 {
    margin-bottom: 15px;
    font-size: 20px;
}

.problem-card p {
    color: var(--text-light);
}

/* サービス説明セクション */
.service {
    background-color: var(--background-light);
}

.service-content {
    display: flex;
    align-items: center;
    gap: 30px;
}

.service-text {
    flex: 2;
}

.emphasis-text {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.service-description {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
}

.service-image {
    flex: 1;
}

/* メリットセクション */
.merits {
    background-color: var(--background-white);
}

.merits-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.merit-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 10px var(--shadow-color);
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.merit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.merit-icon {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
    width: 100%;
}

.merit-card h3 {
    margin-bottom: 15px;
    font-size: 20px;
    min-height: 52px;
    display: flex;
    align-items: center;
}

.merit-description {
    color: var(--text-light);
    margin-bottom: 20px;
}

.case-study {
    background-color: var(--background-light);
    border-radius: 5px;
    padding: 15px;
}

.case-study h4 {
    font-size: 16px;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.highlight {
    color: var(--primary-color);
    font-weight: bold;
}

/* アプローチセクション */
.approach {
    background-color: var(--background-light);
}

.approach-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.approach-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 10px var(--shadow-color);
    padding: 30px 30px 30px 60px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.approach-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.approach-number {
    display: none;
}

.approach-card h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: var(--secondary-color);
    text-align: center;
}

.approach-content {
    display: flex;
    gap: 30px;
}

.approach-text {
    flex: 1;
}

.approach-text h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.approach-text ul {
    padding-left: 20px;
}

.approach-text li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 15px;
}

.approach-text li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

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

/* 料金・プランセクション */
.plans {
    background-color: var(--background-white);
}

.plans-notice {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 30px;
}

.plans-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
}

.plan-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 10px var(--shadow-color);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    max-width: 350px;
}

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

.plan-light {
    border-top: 5px solid var(--primary-light);
}

.plan-medium {
    border-top: 5px solid var(--primary-color);
    transform: translateY(-10px);
}

.plan-dark {
    border-top: 5px solid var(--primary-dark);
}

.plan-header {
    padding: 30px;
    text-align: center;
    background-color: var(--background-light);
    border-bottom: 1px solid var(--border-color);
}

.plan-title {
    font-size: 24px;
    margin-bottom: 5px;
}

.plan-subtitle {
    color: var(--text-light);
    margin-bottom: 15px;
}

.plan-price {
    font-size: 20px;
    font-weight: 600;
}

.price-highlight {
    font-size: 36px;
    color: var(--primary-color);
}

.plan-content {
    padding: 30px;
}

.plan-features li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    padding-left: 25px;
}

.plan-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
}

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

.plan-footer {
    padding: 30px;
    text-align: center;
}

.plan-button {
    width: 100%;
}

.common-plan-notice {
    background-color: var(--background-light);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 10px var(--shadow-color);
    border: 2px solid var(--primary-color);
    margin-top: 20px;
}

.common-plan-notice h4 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

/* よくある質問セクション */
.faq {
    background-color: var(--background-light);
}

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

.faq-item {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 10px var(--shadow-color);
    margin-bottom: 30px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
}

.faq-question {
    padding: 20px 20px 0 20px;
    display: block;
    cursor: default;
}

.faq-question h3 {
    font-size: 18px;
    margin-bottom: 15px;
}

.faq-toggle {
    display: none;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 20px 30px 20px;
    max-height: none !important;
    overflow: visible;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 20px 30px 20px;
}

/* お問い合わせセクション */
.contact {
    background-color: var(--background-white);
}

.contact-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.contact-text {
    margin-bottom: 30px;
}

.contact-text p {
    margin-bottom: 15px;
    font-size: 18px;
}

/* 画像のレスポンシブ対応 */
.responsive-image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 5px;
}

/* サブセクション画像アイテム */
.subsection-image-item {
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 5px;
}

/* 固定サイズ画像の設定 */
.fixed-size-image {
    width: 350px;
    height: 250px;
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 0 3px 10px var(--shadow-color);
}

/* モバイル表示では幅100%に戻す */
@media (max-width: 768px) {
    .fixed-size-image {
        width: 100%;
        height: auto;
        max-width: 350px;
    }
}

/* アプローチ画像の調整 */
.approach-image img {
    border-radius: 5px;
    box-shadow: 0 2px 10px var(--shadow-color);
}

/* ヒーロー画像調整 */
.hero-image img {
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* サービスサブセクション */
.service-subsection {
    margin-top: 60px;
    padding: 30px;
    background-color: var(--background-white);
    border-radius: 8px;
    box-shadow: 0 4px 10px var(--shadow-color);
}

.subsection-title {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 25px;
    position: relative;
    padding-left: 30px;
}

.subsection-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    height: 80%;
    width: 5px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.subsection-content {
    display: flex;
    gap: 30px;
}

.subsection-text {
    flex: 1.5;
}

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

/* サブセクション画像コンテナ */
.subsection-image-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

@media (max-width: 768px) {
    .subsection-image-container {
        width: 100%;
    }
    
    .subsection-image-container .image-placeholder {
        width: 100% !important;
        height: 140px !important;
    }
    /* 2つ目の画像を非表示にする */
    .subsection-image-container .image-placeholder:nth-child(2) {
        display: none; /* 2つ目の画像を非表示 */
    }

    /* 1つ目の画像をセンタリング */
    .subsection-image-container .image-placeholder:first-child {
        margin: 0 auto;
    }

}

.feature-list, .service-list {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-list li, .service-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.feature-icon, .service-icon {
    font-size: 24px;
    color: var(--primary-color);
    min-width: 30px;
    text-align: center;
}

.feature-info h4, .service-info h4 {
    margin-bottom: 5px;
    font-size: 20px;
    color: var(--secondary-color);
}

.feature-info p, .service-info p {
    color: var(--text-light);
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .hero-buttons {
        justify-content: center;
    }

    .service-content {
        flex-direction: column;
    }
    
    .approach-content {
        flex-direction: column;
    }

    .merit-card {
        max-width: calc(50% - 15px);
    }
    
    .plans-container {
        flex-direction: column;
        align-items: center;
    }
    
    .plan-card {
        max-width: 100%;
    }
    
    .plan-medium {
        transform: none;
    }
    
    .plan-medium:hover {
        transform: translateY(-8px);
    }
}

@media (max-width: 768px) {
    .navigation {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .navigation.active {
        display: block;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background-color: white;
        box-shadow: 0 5px 10px var(--shadow-color);
    }
    
    .navigation.active ul {
        flex-direction: column;
        padding: 20px;
    }
    
    .navigation.active li {
        margin: 0;
        padding: 10px 0;
        border-bottom: 1px solid var(--border-color);
    }
    
    .navigation.active li:last-child {
        border-bottom: none;
    }
    
    .merit-card {
        max-width: 100%;
    }

    .merits-container {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        margin-bottom: 30px;
    }
    
    .plan-card, .merit-card, .problem-card {
        padding: 20px;
    }
    
    .subsection-content {
        flex-direction: column;
    }
    
    .subsection-image {
        margin-top: 20px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 28px;
    }
    
    .main-title {
        font-size: 24px;
    }
    
    .sub-title {
        font-size: 18px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .primary-button, .secondary-button {
        width: 100%;
    }
    
    .emphasis-text {
        font-size: 20px;
    }
}

/* サービス内の注釈 */
.service-note {
    margin-top: 25px;
    padding: 10px 15px;
    background-color: #f8f8f8;
    border-left: 3px solid var(--primary-color);
    font-size: 0.9em;
    color: var(--text-light);
}

/* ヒーローオファー */
.hero-offer {
    margin-top: 25px;
    padding: 10px 15px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 6px;
    border-left: 4px solid var(--primary-color);
}

.hero-offer p {
    font-size: 16px;
    color: var(--secondary-color);
    font-weight: 600;
    display: flex;
    align-items: center;
}

.hero-offer i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 20px;
}

@media (max-width: 768px) {
    .hero-offer {
        text-align: center;
    }
    
    .hero-offer p {
        justify-content: center;
    }
}

/* 30分無料相談サブセクション */
.contact-free-consultation {
    margin-top: 60px;
    padding: 30px;
    background-color: #f8f8f8;
    border-radius: 8px;
    text-align: center;
    border-top: 3px solid var(--primary-color);
}

.contact-free-consultation h3 {
    color: var(--primary-color);
    font-size: 22px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-free-consultation h3 i {
    margin-right: 10px;
    font-size: 24px;
}

.contact-free-consultation p {
    margin-bottom: 25px;
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.6;
}

.free-consultation-button {
    background-color: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 12px 24px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.free-consultation-button:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}