/* リセット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.6;
    color: #333;
    background-color: #f5f5f5;
    padding-bottom: 100px;
}

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

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

/* ヘッダー */
header {
    background: linear-gradient(135deg, #1b3c87 0%, #2a4a9e 100%);
    color: white;
    padding: 20px 0;
    position: relative;
    box-shadow: 0 4px 20px rgba(27, 60, 135, 0.2);
    overflow: hidden;
    min-height: 40vh;
    display: flex;
    align-items: center;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><rect width="1" height="1" fill="rgba(255,255,255,0.05)"/></svg>');
    opacity: 0.1;
    pointer-events: none;
}

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

.header-left {
    text-align: center;
}

.header-badges {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.header-badge {
    color: white;
    font-weight: 500;
    padding: 5px 10px;
    display: inline-block;
    font-size: 0.85rem;
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(5px);
}

.header-badge.highlight {
    background: rgba(255, 215, 0, 0.2);
    color: #ffd700;
    font-weight: 600;
}

h1 {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 12px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    background: linear-gradient(to right, #ffffff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tagline {
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 400;
    opacity: 0.9;
    line-height: 1.5;
}

.header-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 15px;
    border-radius: 10px;
    backdrop-filter: blur(5px);
}

.feature-icon {
    font-size: 1.2rem;
    color: #ffd700;
}

.header-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 12px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffd700;
    margin-bottom: 3px;
}

.stat-label {
    font-size: 0.8rem;
    opacity: 0.9;
}

.header-cta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #ff9900 0%, #ff6b35 100%);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(255,153,0,0.3);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-align: center;
    min-width: 280px;
    position: relative;
    overflow: hidden;
}

.cta-note {
    font-size: 0.85rem;
    opacity: 0.8;
    font-style: italic;
}

.header-right {
    position: relative;
}

.header-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.header-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.header-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(27, 60, 135, 0.2) 0%, rgba(42, 74, 158, 0.2) 100%);
}

/* メインコンテンツ */
main {
    background-color: white;
    padding: 60px 0;
}

section {
    margin-bottom: 80px;
    padding: 0 20px;
}

h2 {
    font-size: 1.8rem;
    color: #1b3c87;
    margin-bottom: 25px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

h2:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #ff9900;
}

h3 {
    font-size: 1.3rem;
    color: #1b3c87;
    margin-bottom: 15px;
}

p {
    margin-bottom: 15px;
}

ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

li {
    margin-bottom: 10px;
}

.highlight-box {
    background-color: #f9f9f9;
    border-left: 4px solid #ff6b35;
    padding: 20px;
    margin: 30px 0;
    border-radius: 0 5px 5px 0;
}

/* カード */
.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.card {
    border: none;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    background-color: white;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.card-icon {
    font-size: 2rem;
    color: #1b3c87;
    margin-bottom: 15px;
}

/* 数字で見る効果 */
.stats-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 30px 0;
    text-align: center;
}

.stat-box {
    flex: 1 1 calc(50% - 15px);
    min-width: 180px;
    background-color: #f0f4fa;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ff9900;
    margin-bottom: 5px;
    line-height: 1;
}

.stat-text {
    font-size: 1rem;
    color: #1b3c87;
    font-weight: 500;
}

/* 選ばれる理由 */
.reason {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
}

.reason-number {
    background-color: #1b3c87;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
    font-weight: bold;
    flex-shrink: 0;
}

.reason-content {
    flex-grow: 1;
}

/* お客様の声 */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.testimonial-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.8;
    color: #555;
}

.testimonial-author {
    font-weight: bold;
    color: #1b3c87;
    margin-bottom: 15px;
}

.testimonial-stats {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.testimonial-stats span {
    color: #666;
    font-size: 0.9rem;
}

/* 流れ */
.flow {
    counter-reset: step-counter;
}

.flow-step {
    position: relative;
    padding-left: 60px;
    margin-bottom: 30px;
    counter-increment: step-counter;
}

.flow-step:before {
    content: "STEP" counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    background-color: #1b3c87;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 0.8rem;
}

/* 限定特典 */
.benefits {
    background-color: #fff9eb;
    border: 2px dashed #ff9900;
    border-radius: 10px;
    padding: 25px;
    margin: 40px 0;
}

.benefits h3 {
    color: #ff9900;
    text-align: center;
    margin-bottom: 20px;
}

.benefits ul {
    list-style-type: none;
}

.benefits li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 15px;
}

.benefits li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #ff9900;
    font-weight: bold;
}

/* CTA */
.cta-section {
    background-color: #1b3c87;
    color: white;
    padding: 40px 20px;
    text-align: center;
    border-radius: 10px;
    margin: 40px 0;
}

.cta-section h2 {
    color: white;
}

.cta-section h2:after {
    background-color: white;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

/* フッター */
footer {
    background-color: #2b3d41;
    color: white;
    padding: 40px 0;
    text-align: center;
}

.footer-links {
    margin: 20px 0;
}

.footer-links a {
    color: white;
    margin: 0 10px;
    text-decoration: none;
}

/* 訴求強化のためのスタイル */
.highlight-yellow {
    background: linear-gradient(transparent 60%, #ffdf80 60%);
    font-weight: bold;
}

.price-tag {
    display: inline-block;
    background-color: #ff9900;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    margin: 10px 0;
    font-weight: bold;
}

.discount-label {
    display: inline-block;
    background-color: #ff2d2d;
    color: white;
    padding: 3px 8px;
    border-radius: 5px;
    font-size: 0.85rem;
    font-weight: bold;
    margin-left: 10px;
    text-decoration: none;
    transform: rotate(-5deg);
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    header {
        padding: 15px 0;
        min-height: auto;
    }

    .header-content {
        padding: 0 15px;
    }

    .header-badges {
        gap: 6px;
        margin-bottom: 12px;
    }

    .header-badge {
        padding: 4px 8px;
        font-size: 0.75rem;
    }

    h1 {
        font-size: 1.8rem;
        margin-bottom: 8px;
        line-height: 1.3;
    }

    .tagline {
        font-size: 0.95rem;
        margin-bottom: 15px;
        line-height: 1.5;
    }

    .header-features {
        gap: 8px;
        margin-bottom: 15px;
    }

    .feature-item {
        padding: 8px 12px;
        font-size: 0.9rem;
    }

    .header-stats {
        gap: 8px;
        margin-bottom: 15px;
    }

    .stat-card {
        padding: 8px;
    }

    .stat-number {
        font-size: 1.4rem;
    }

    .header-image {
        margin: 0 10px;
        border-radius: 10px;
    }

    .header-image img {
        height: 160px;
    }

    section {
        margin-bottom: 60px;
        padding: 30px 15px;
    }

    .card-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .achievement-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .comparison-header, .comparison-row {
        grid-template-columns: 1.5fr 1fr 1fr;
        font-size: 0.9rem;
    }

    .comparison-cell {
        padding: 12px 10px;
    }

    .fixed-footer-content {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }

    .fixed-footer-text {
        text-align: center;
        padding-right: 0;
    }

    .fixed-cta-button {
        width: 100%;
        padding: 12px 20px;
    }

    .countdown {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .countdown-item {
        flex: 0 0 calc(50% - 15px);
        min-width: auto;
        padding: 15px 10px;
    }

    .case-study-image {
        height: 200px;
    }

    .case-study-content {
        padding: 20px 15px;
    }

    .before-after {
        flex-direction: column;
        gap: 15px;
    }

    .arrow {
        transform: rotate(90deg);
        margin: 10px 0;
    }

    .carousel-nav {
        padding: 0 15px;
    }

    .carousel-nav button {
        padding: 10px;
        font-size: 1.8rem;
    }

    .dot {
        width: 12px;
        height: 12px;
    }

    .benefits {
        padding: 20px 15px;
    }

    .cta-button {
        width: 100%;
        max-width: none;
        padding: 12px 15px;
        font-size: 1rem;
        margin: 0 10px;
        border-radius: 25px;
        background: linear-gradient(135deg, #ff9900 0%, #ff6b35 100%);
    }

    .cta-note {
        font-size: 0.8rem;
        margin-top: 5px;
    }

    /* タッチ操作の最適化 */
    .cta-button {
        -webkit-tap-highlight-color: transparent;
        min-height: 44px;
    }

    .feature-item {
        -webkit-tap-highlight-color: transparent;
        min-height: 44px;
    }

    /* パフォーマンス最適化 */
    .header-image::after {
        opacity: 0.5;
    }

    /* アニメーション最適化 */
    .pulse {
        animation: none;
    }

    /* スクロールバー最適化 */
    ::-webkit-scrollbar {
        width: 4px;
    }

    ::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.1);
    }

    ::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.3);
        border-radius: 2px;
    }

    /* 導入事例 */
    .case-study-section {
        padding: 20px 0;
    }

    .case-study-section h2 {
        font-size: 1.4rem;
        margin-bottom: 15px;
    }

    .case-study-image {
        height: 160px;
    }

    .case-study-content {
        padding: 12px;
    }

    .case-study-title {
        font-size: 1rem;
        margin-bottom: 10px;
    }

    .case-study-description {
        font-size: 0.85rem;
        margin-bottom: 12px;
    }

    .before-after {
        flex-direction: column;
        gap: 12px;
    }

    .before, .after {
        width: 100%;
        padding: 12px;
    }

    .arrow {
        transform: rotate(90deg);
        margin: 3px 0;
        font-size: 1.5rem;
    }

    .case-study-results {
        padding: 12px;
        margin-top: 12px;
    }

    .case-study-results h3 {
        font-size: 0.95rem;
        margin-bottom: 8px;
    }

    .case-study-results li {
        font-size: 0.85rem;
        margin-bottom: 6px;
        padding-left: 20px;
    }

    .carousel-nav {
        margin-top: 15px;
    }

    .carousel-nav button {
        font-size: 1.3rem;
        padding: 10px;
    }

    /* お客様の声 */
    .testimonial-section {
        padding: 20px 0;
    }

    .testimonial-section h2 {
        font-size: 1.4rem;
        margin-bottom: 15px;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 0 10px;
    }

    .testimonial-card {
        padding: 12px;
    }

    .testimonial-icon {
        font-size: 1.6rem;
        margin-bottom: 8px;
    }

    .testimonial-text {
        font-size: 0.85rem;
        margin-bottom: 8px;
    }

    .testimonial-author {
        font-size: 0.8rem;
    }

    .testimonial-stats {
        margin-top: 8px;
        gap: 6px;
    }

    .testimonial-stat {
        font-size: 0.75rem;
    }

    /* FAQ */
    .faq-section {
        padding: 20px 0;
    }

    .faq-section h2 {
        font-size: 1.4rem;
        margin-bottom: 15px;
    }

    .faq-container {
        padding: 0 10px;
    }

    .faq-item {
        margin-bottom: 8px;
    }

    .faq-question {
        padding: 10px 12px;
        font-size: 0.9rem;
    }

    .faq-icon {
        font-size: 0.85rem;
        margin-right: 6px;
    }

    .faq-answer {
        padding: 0 12px 10px;
        font-size: 0.85rem;
    }

    /* お問い合わせ */
    .contact-section {
        padding: 20px 0;
    }

    .contact-section h2 {
        font-size: 1.4rem;
        margin-bottom: 15px;
    }

    .contact-content {
        padding: 15px 10px;
    }

    .contact-content p {
        font-size: 0.95rem;
        margin-bottom: 15px;
    }

    /* 固定フッター */
    .fixed-footer {
        padding: 8px 10px;
    }

    .fixed-footer-content {
        flex-direction: column;
        gap: 6px;
        text-align: center;
    }

    .fixed-footer-text {
        font-size: 0.85rem;
    }

    .fixed-footer-cta {
        width: 100%;
        max-width: none;
        padding: 10px 15px;
        font-size: 0.95rem;
        border-radius: 25px;
    }
}

/* タッチデバイス向けの最適化 */
@media (hover: none) {
    .header-badge,
    .feature-item,
    .stat-card {
        -webkit-tap-highlight-color: transparent;
    }
}

/* タッチ操作の改善 */
@media (pointer: coarse) {
    .header-badge,
    .feature-item,
    .stat-card {
        min-height: 44px;
    }
}

/* モバイルでのアニメーション最適化 */
@media (max-width: 768px) {
    .fade-in {
        transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    }

    .pulse {
        animation: none;
    }

    .case-study-card.active {
        animation: none;
    }
}

/* モバイルでのフォント最適化 */
@media (max-width: 768px) {
    body {
        -webkit-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }

    h1, h2, h3, h4, h5, h6 {
        -webkit-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }
}

/* 比較表 */
.comparison-section {
    padding: 60px 0;
    background: white;
}

.comparison-section h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #1b3c87;
    font-size: 2.2rem;
}

.comparison-table {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.comparison-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    background: #1b3c87;
    color: white;
    font-weight: 600;
    padding: 20px;
    text-align: center;
}

.comparison-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    padding: 20px;
    border-bottom: 1px solid #eee;
    text-align: center;
    align-items: center;
}

.comparison-row:last-child {
    border-bottom: none;
}

.comparison-row div:first-child {
    text-align: left;
    font-weight: 600;
    color: #1b3c87;
}

/* 期間限定オファー */
.limited-offer-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #ff9900 0%, #ff6b35 100%);
    color: white;
    text-align: center;
}

.limited-offer-section h2 {
    font-size: 2.4rem;
    margin-bottom: 30px;
}

.offer-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 8px 20px;
    border-radius: 30px;
    margin-bottom: 20px;
    font-weight: 600;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
}

.countdown-item {
    background: rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: 15px;
    min-width: 100px;
    backdrop-filter: blur(5px);
}

.countdown-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.countdown-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.offer-content {
    max-width: 600px;
    margin: 40px auto;
    background: white;
    padding: 30px;
    border-radius: 20px;
    color: #333;
}

.offer-price {
    margin-bottom: 30px;
}

.original-price {
    text-decoration: line-through;
    color: #999;
    margin-bottom: 10px;
}

.discount-price {
    font-size: 2rem;
    font-weight: 700;
    color: #ff6b35;
    margin-bottom: 10px;
}

.discount-badge {
    display: inline-block;
    background: #ff6b35;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
}

.offer-features {
    text-align: left;
}

.offer-features h3 {
    color: #1b3c87;
    margin-bottom: 20px;
}

.offer-features ul {
    list-style: none;
    padding: 0;
}

.offer-features li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

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

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

    .case-study-section h2 {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .case-study-image {
        height: 200px;
    }

    .case-study-content {
        padding: 20px 15px;
    }

    .case-study-title {
        font-size: 1.2rem;
    }

    .before-after {
        flex-direction: column;
        gap: 20px;
    }

    .arrow {
        transform: rotate(90deg);
        margin: 10px 0;
    }

    .case-study-results {
        padding: 15px;
    }

    .carousel-nav {
        margin-top: 20px;
    }

    .carousel-nav button {
        font-size: 1.8rem;
        padding: 8px;
    }

    .comparison-section {
        padding: 40px 0;
    }

    .comparison-section h2 {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .comparison-header, .comparison-row {
        grid-template-columns: 1.5fr 1fr 1fr;
        font-size: 0.9rem;
        padding: 15px;
    }

    .limited-offer-section {
        padding: 40px 0;
    }

    .limited-offer-section h2 {
        font-size: 2rem;
    }

    .countdown {
        flex-wrap: wrap;
        gap: 15px;
    }

    .countdown-item {
        flex: 0 0 calc(50% - 15px);
        min-width: auto;
        padding: 15px;
    }

    .offer-content {
        margin: 20px 15px;
        padding: 20px;
    }

    .discount-price {
        font-size: 1.8rem;
    }
}

/* FAQ */
.faq-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

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

.faq-item {
    background: white;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    font-weight: bold;
    color: #1b3c87;
    position: relative;
}

.faq-icon {
    margin-right: 15px;
    font-weight: bold;
    color: #ff9900;
}

.toggle-icon {
    margin-left: auto;
    transition: transform 0.3s ease;
    color: #1b3c87;
}

.faq-answer {
    padding: 0 20px 20px;
    display: none;
    color: #666;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    display: block;
}

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

.faq-item.active {
    border: 1px solid #ff9900;
}

/* モバイル対応 */
@media (max-width: 768px) {
    header {
        padding: 15px 0;
        min-height: auto;
    }

    .header-content {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
        padding: 0 15px;
    }

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

    .faq-question {
        padding: 15px;
        font-size: 0.95rem;
    }

    .faq-answer {
        padding: 0 15px 15px;
        font-size: 0.9rem;
    }
}

/* 実績セクション */
.achievement-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.achievement-section h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #1b3c87;
    font-size: 2.2rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.achievement-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #ff9900, #ff6b35);
    border-radius: 2px;
}

.achievement-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.achievement-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.achievement-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(27, 60, 135, 0.05) 0%, rgba(42, 74, 158, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.achievement-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.achievement-card:hover::before {
    opacity: 1;
}

.achievement-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #1b3c87;
    transition: transform 0.3s ease;
}

.achievement-card:hover .achievement-icon {
    transform: scale(1.1);
}

.achievement-number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ff6b35 0%, #ff9900 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
    line-height: 1;
}

.achievement-label {
    font-size: 1.1rem;
    color: #1b3c87;
    font-weight: 600;
    margin-bottom: 15px;
}

.achievement-detail {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    text-align: left;
    width: 100%;
}

.achievement-detail ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.achievement-detail li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    color: #555;
}

.achievement-detail li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #ff9900;
    font-weight: bold;
}

.achievement-detail li:last-child {
    margin-bottom: 0;
}

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

    .achievement-section h2 {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .achievement-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }

    .achievement-card {
        padding: 25px;
    }

    .achievement-icon {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }

    .achievement-number {
        font-size: 2.5rem;
    }

    .achievement-label {
        font-size: 1rem;
    }

    .achievement-detail {
        font-size: 0.85rem;
    }

    .achievement-detail li {
        padding-left: 18px;
        margin-bottom: 6px;
    }
}

/* 固定フッターCTA */
.fixed-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 15px;
    box-shadow: 0 -3px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(4px);
    border-top: 3px solid #ff6b35;
}

.fixed-footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 800px;
    padding: 0 20px;
}

.fixed-footer-text {
    flex: 2;
    text-align: left;
    padding-right: 15px;
    font-size: 1.1rem;
    color: #1b3c87;
    font-weight: 600;
}

.fixed-footer-text .price {
    color: #ff6b35;
    font-weight: bold;
    font-size: 1.2rem;
}

.fixed-cta-button {
    flex: 1;
    background: linear-gradient(135deg, #ff9900 0%, #ff6b35 100%);
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    text-align: center;
    box-shadow: 0 3px 8px rgba(255, 107, 53, 0.3);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.fixed-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

/* モバイル対応 */
@media (max-width: 768px) {
    .fixed-footer {
        padding: 10px;
    }

    .fixed-footer-content {
        flex-direction: column;
        gap: 10px;
        padding: 0 15px;
    }

    .fixed-footer-text {
        text-align: center;
        padding-right: 0;
        font-size: 1rem;
    }

    .fixed-cta-button {
        width: 100%;
        padding: 12px 20px;
        font-size: 0.95rem;
    }
}

/* お問い合わせセクション */
.contact-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.contact-section h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #1b3c87;
    font-size: 2.2rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.contact-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #ff9900, #ff6b35);
    border-radius: 2px;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-content p {
    font-size: 1.2rem;
    color: #1b3c87;
    margin-bottom: 30px;
    font-weight: 500;
}

.contact-content .cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #ff9900 0%, #ff6b35 100%);
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(255,153,0,0.3);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    min-width: 300px;
}

.contact-content .cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255,153,0,0.4);
}

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

    .contact-section h2 {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .contact-content {
        padding: 30px 20px;
        margin: 0 15px;
    }

    .contact-content p {
        font-size: 1.1rem;
        margin-bottom: 25px;
    }

    .contact-content .cta-button {
        width: 100%;
        padding: 12px 20px;
        font-size: 1.1rem;
        min-width: auto;
    }
}

.case-study-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.case-study-section h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #1b3c87;
    font-size: 2.2rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.case-study-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #ff9900, #ff6b35);
    border-radius: 2px;
}

.case-study-carousel {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    padding: 0 20px;
}

.case-study-card {
    display: none;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.case-study-card.active {
    display: block;
    animation: fadeIn 0.5s ease-out;
}

.case-study-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.case-study-content {
    padding: 30px;
}

.case-study-title {
    font-size: 1.4rem;
    color: #1b3c87;
    margin-bottom: 20px;
    font-weight: 700;
}

.case-study-description {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.8;
}

.before-after {
    display: flex;
    gap: 30px;
    margin-top: 30px;
    align-items: center;
}

.before, .after {
    flex: 1;
    padding: 20px;
    border-radius: 15px;
    background: #f8f9fa;
    position: relative;
}

.before::before, .after::before {
    content: 'Before';
    position: absolute;
    top: -12px;
    left: 20px;
    background: #1b3c87;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.after::before {
    content: 'After';
    background: #ff9900;
}

.arrow {
    font-size: 2rem;
    color: #1b3c87;
    margin: 0 10px;
    transform: rotate(45deg);
}

.case-study-results {
    margin-top: 25px;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 15px;
    border: 1px solid rgba(0,0,0,0.1);
}

.case-study-results h3 {
    color: #1b3c87;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.case-study-results ul {
    list-style: none;
    padding: 0;
}

.case-study-results li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    color: #555;
}

.case-study-results li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #ff9900;
    font-weight: bold;
}

.carousel-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    gap: 20px;
}

.carousel-nav button {
    background: none;
    border: none;
    font-size: 2rem;
    color: #1b3c87;
    cursor: pointer;
    padding: 10px;
    transition: all 0.3s ease;
}

.carousel-nav button:hover {
    color: #ff9900;
    transform: scale(1.1);
}

.carousel-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #ff9900;
    transform: scale(1.2);
}

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

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

    .case-study-section h2 {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .case-study-carousel {
        padding: 0 15px;
    }

    .case-study-image {
        height: 200px;
    }

    .case-study-content {
        padding: 20px;
    }

    .case-study-title {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }

    .case-study-description {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    .before-after {
        flex-direction: column;
        gap: 20px;
    }

    .before, .after {
        width: 100%;
        padding: 15px;
    }

    .arrow {
        transform: rotate(90deg);
        margin: 10px 0;
    }

    .case-study-results {
        padding: 15px;
        margin-top: 20px;
    }

    .case-study-results h3 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }

    .case-study-results li {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }

    .carousel-nav {
        margin-top: 20px;
    }

    .carousel-nav button {
        font-size: 1.8rem;
        padding: 8px;
    }
}

/* モバイル対応の改善 */
@media (max-width: 768px) {
    /* 全体的な調整 */
    body {
        padding-bottom: 80px;
    }

    .container {
        padding: 0 15px;
    }

    section {
        padding: 30px 15px;
        margin-bottom: 40px;
    }

    h2 {
        font-size: 1.6rem;
        margin-bottom: 20px;
        text-align: center;
        padding-bottom: 10px;
    }

    /* ヘッダー調整 */
    header {
        min-height: auto;
        padding: 20px 0;
    }

    .header-content {
        padding: 0 15px;
    }

    .header-badges {
        gap: 8px;
        margin-bottom: 15px;
    }

    .header-badge {
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    h1 {
        font-size: 1.8rem;
        line-height: 1.3;
        margin-bottom: 10px;
    }

    .tagline {
        font-size: 1rem;
        margin-bottom: 15px;
    }

    /* カード調整 */
    .card {
        padding: 20px;
        margin-bottom: 15px;
    }

    .card-icon {
        font-size: 1.8rem;
        margin-bottom: 12px;
    }

    .card h3 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }

    /* 実績セクション調整 */
    .achievement-card {
        padding: 20px;
    }

    .achievement-number {
        font-size: 2rem;
    }

    .achievement-label {
        font-size: 1rem;
    }

    /* お客様の声調整 */
    .testimonial-card {
        padding: 20px;
    }

    .testimonial-text {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    /* 無料相談セクション調整 */
    .contact-section {
        padding: 40px 0;
    }

    .contact-section h2 {
        text-align: center;
        font-size: 1.6rem;
        margin-bottom: 25px;
    }

    .contact-content {
        padding: 25px 20px;
        margin: 0 15px;
    }

    .contact-content p {
        font-size: 1.1rem;
        margin-bottom: 20px;
        text-align: center;
    }

    .contact-content .cta-button {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        padding: 15px 30px;
        font-size: 1.1rem;
        display: block;
    }

    /* 固定フッター調整 */
    .fixed-footer {
        padding: 12px 15px;
    }

    .fixed-footer-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .fixed-footer-text {
        font-size: 0.9rem;
        padding-right: 0;
    }

    .fixed-cta-button {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        padding: 12px 20px;
        font-size: 1rem;
    }

    /* タッチ操作の最適化 */
    .cta-button,
    .fixed-cta-button,
    .feature-item,
    .header-badge {
        -webkit-tap-highlight-color: transparent;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* スクロールバー最適化 */
    ::-webkit-scrollbar {
        width: 4px;
    }

    ::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.1);
    }

    ::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.3);
        border-radius: 2px;
    }

    /* アニメーション最適化 */
    .fade-in {
        transition: none;
    }

    .pulse {
        animation: none;
    }
}

/* モバイルでのフォント最適化 */
@media (max-width: 768px) {
    body {
        -webkit-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }

    h1, h2, h3, h4, h5, h6 {
        -webkit-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }
} 