/*
Theme Name: Flyer Atelier
Theme URI: https://flyer-atelier.com
Author: Flyer Atelier
Description: チラシ・パンフレット・名刺などのデザイン制作サービス用カスタムテーマ
Version: 2.0.0
Text Domain: flyer-atelier
*/

/* ===================================
   リセット & ベース
=================================== */

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

:root {
    --primary-color: #FF6B35;
    --primary-light: #FF8C61;
    --primary-dark: #E8541E;
    --secondary-color: #004E89;
    --accent-color: #FFD23F;
    --text-color: #1A1A2E;
    --text-light: #666666;
    --bg-color: #FFFFFF;
    --bg-gray: #F8F9FA;
    --bg-light: #FFF5F0;
    --border-color: #E0E0E0;
    --shadow: 0 4px 15px rgba(0,0,0,0.1);
    --shadow-hover: 0 8px 30px rgba(0,0,0,0.2);
    --gradient-primary: linear-gradient(135deg, #FF6B35 0%, #FF8C61 100%);
    --gradient-secondary: linear-gradient(135deg, #004E89 0%, #1A659E 100%);
    --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'メイリオ', sans-serif;
    line-height: 1.8;
    color: var(--text-color);
    background-color: var(--bg-color);
}

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

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

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

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

.site-header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 15px 0;
}

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

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

.site-logo img {
    height: 40px;
    width: auto;
}

.site-logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 35px;
}

.main-nav a {
    font-weight: 500;
    color: var(--text-color);
    position: relative;
    padding: 5px 0;
}

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

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

.header-cta .btn-primary {
    padding: 12px 25px;
    font-size: 0.95rem;
}

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

.btn-primary {
    display: inline-block;
    background: var(--gradient-primary);
    color: white;
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(255,107,53,0.4);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255,107,53,0.5);
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--primary-color);
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: bold;
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
}

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

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

.hero-section {
    min-height: 100vh;
    background: var(--gradient-hero);
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    color: white;
    padding: 40px 0;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 25px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero-title .highlight {
    color: var(--accent-color);
    text-decoration: underline;
    text-decoration-color: var(--accent-color);
    text-underline-offset: 8px;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 35px;
    opacity: 0.95;
    line-height: 2;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.hero-feature {
    background: rgba(255,255,255,0.2);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.95rem;
    backdrop-filter: blur(10px);
}

/* 制作実績スクロール */
.hero-portfolio {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.portfolio-scroll {
    display: flex;
    flex-direction: column;
    gap: 20px;
    animation: scroll-up 25s linear infinite;
}

.portfolio-scroll:hover {
    animation-play-state: paused;
}

@keyframes scroll-up {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}

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

.portfolio-item:hover {
    transform: scale(1.05);
}

.portfolio-item img {
    width: 100%;
    height: 280px;
    object-fit: contain;
    background: white;
    border-radius: 10px;
}

.portfolio-item-info {
    padding: 15px 5px 5px;
}

.portfolio-item-category {
    display: inline-block;
    background: var(--gradient-primary);
    color: white;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.8rem;
    margin-bottom: 8px;
}

.portfolio-item-title {
    font-weight: bold;
    color: var(--text-color);
}

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

.section {
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    color: var(--text-color);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 60px;
    font-size: 1.1rem;
}

/* ===================================
   3つの強み
=================================== */

.strengths-section {
    background: linear-gradient(180deg, #FFFFFF 0%, #F8F9FA 100%);
    position: relative;
}

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

.strength-card {
    background: white;
    padding: 50px 35px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.strength-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
}

.strength-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255,107,53,0.2);
    border-color: var(--primary-color);
}

.strength-icon {
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto 30px;
    color: white;
    box-shadow: 0 10px 30px rgba(255,107,53,0.3);
}

.strength-title {
    font-size: 1.6rem;
    font-weight: bold;
    margin-bottom: 18px;
    color: var(--text-color);
}

.strength-description {
    color: var(--text-light);
    line-height: 1.9;
    font-size: 1.05rem;
}

/* ===================================
   制作実績
=================================== */

.works-section {
    background-color: var(--bg-gray);
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 35px;
}

.work-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
}

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

.work-image {
    position: relative;
    height: 300px;
    overflow: hidden;
    background: #f5f5f5;
}

.work-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.5s ease;
}

.work-card:hover .work-image img {
    transform: scale(1.1);
}

.work-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--gradient-primary);
    color: white;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.work-info {
    padding: 25px;
}

.work-title {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--text-color);
}

.work-description {
    color: var(--text-light);
    font-size: 0.95rem;
}

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

.pricing-section {
    background: white;
}

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

.price-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 2px solid var(--border-color);
}

.price-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.price-card.featured {
    border-color: var(--primary-color);
    position: relative;
}

.price-card.featured::before {
    content: '人気';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: white;
    padding: 5px 20px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: bold;
}

.price-title {
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--text-color);
}

.price-amount {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.price-amount span {
    font-size: 1rem;
    font-weight: normal;
}

.price-note {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 25px;
}

.price-features {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
}

.price-features li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-features li::before {
    content: '✓';
    color: var(--primary-color);
    font-weight: bold;
}

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

.cta-section {
    background: var(--gradient-hero);
    padding: 80px 0;
    text-align: center;
    color: white;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.cta-description {
    font-size: 1.2rem;
    margin-bottom: 35px;
    opacity: 0.95;
}

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

.cta-section .btn-primary:hover {
    background: var(--accent-color);
    color: var(--text-color);
}

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

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

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

.footer-brand .site-logo-text {
    color: white;
    margin-bottom: 15px;
}

.footer-description {
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
}

.footer-title {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
}

/* ===================================
   ページヘッダー
=================================== */

.page-header {
    background: var(--gradient-hero);
    padding: 150px 0 80px;
    text-align: center;
    color: white;
}

.page-title {
    font-size: 3rem;
    font-weight: bold;
}

/* ===================================
   お問い合わせフォーム
=================================== */

.contact-form {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

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

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    color: var(--text-color);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.required {
    color: var(--primary-color);
    margin-left: 5px;
}

/* ===================================
   Contact Form 7 スタイル
=================================== */

.contact-form-wrapper {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.wpcf7-form label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    color: var(--text-color);
    margin-top: 20px;
}

.wpcf7-form label:first-child {
    margin-top: 0;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea,
.wpcf7-form select {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
    margin-top: 5px;
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form textarea:focus,
.wpcf7-form select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.wpcf7-form textarea {
    min-height: 150px;
    resize: vertical;
}

.wpcf7-form input[type="submit"] {
    display: inline-block;
    background: var(--gradient-primary);
    color: white;
    padding: 18px 50px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 30px;
}

.wpcf7-form input[type="submit"]:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.wpcf7-form .wpcf7-response-output {
    margin: 20px 0;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.wpcf7-form.sent .wpcf7-response-output {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.wpcf7-form.failed .wpcf7-response-output,
.wpcf7-form.invalid .wpcf7-response-output {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.wpcf7-not-valid-tip {
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 5px;
}

.wpcf7-spinner {
    display: none;
}

@media (max-width: 768px) {
    .contact-form-wrapper {
        padding: 30px 20px;
    }
    
    .wpcf7-form input[type="submit"] {
        width: 100%;
        padding: 15px;
    }
}

/* ===================================
   レスポンシブ
=================================== */

@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-portfolio {
        display: none;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    
    .header-cta {
        display: none;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
}

/* ===================================
   サービスページ - 取り扱いサービス
=================================== */

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
}

.service-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 25px rgba(0,0,0,0.12);
}

.service-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.service-content {
    flex: 1;
}

.service-title {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--text-color);
    margin-bottom: 10px;
}

.service-description {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 12px;
}

.service-price {
    color: var(--primary-color);
    font-size: 0.95rem;
    font-weight: 500;
}

.service-price strong {
    font-size: 1.2rem;
}

/* ===================================
   サービスページ - 制作の流れ
=================================== */

.flow-section {
    background: var(--gradient-secondary);
    padding: 80px 0;
}

.flow-steps {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 15px;
    flex-wrap: wrap;
}

.flow-step {
    background: white;
    padding: 30px 25px;
    border-radius: 15px;
    text-align: center;
    width: 200px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.flow-number {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.flow-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--text-color);
    margin-bottom: 10px;
}

.flow-description {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.6;
}

.flow-arrow {
    color: white;
    font-size: 2rem;
    font-weight: bold;
    align-self: center;
    margin-top: -20px;
}

@media (max-width: 1024px) {
    .flow-steps {
        flex-direction: column;
        align-items: center;
    }
    
    .flow-arrow {
        transform: rotate(90deg);
        margin: 10px 0;
    }
    
    .flow-step {
        width: 280px;
    }
}

@media (max-width: 768px) {
    .service-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        flex-direction: column;
        text-align: center;
    }
}

/* ===================================
   料金表 - 両面価格表示
=================================== */

.price-double {
    margin-top: 15px;
    padding: 10px 15px;
    background: var(--bg-light);
    border-radius: 8px;
    color: var(--text-light);
    font-size: 0.95rem;
}

.price-double::before {
    content: "📋 ";
}

/* ===================================
   ヒーローバッジ
=================================== */

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.hero-badge {
    background: rgba(255, 210, 63, 0.9);
    color: #1A1A2E;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: bold;
    display: inline-block;
}

/* ===================================
   実績バッジセクション
=================================== */

.achievements-section {
    background: white;
    padding: 60px 0;
    border-bottom: 1px solid var(--border-color);
}

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

.achievement-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 30px;
    background: var(--bg-light);
    border-radius: 15px;
    border: 2px solid var(--primary-light);
}

.achievement-icon {
    font-size: 3rem;
}

.achievement-content {
    text-align: left;
}

.achievement-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1.2;
}

.achievement-number span {
    font-size: 1.2rem;
    font-weight: normal;
}

.achievement-label {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.4;
}

.client-industries {
    text-align: center;
}

.client-label {
    font-weight: bold;
    color: var(--text-color);
    margin-bottom: 15px;
}

.industry-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.industry-tag {
    background: var(--bg-gray);
    color: var(--text-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid var(--border-color);
}

@media (max-width: 1024px) {
    .achievements-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .achievement-item {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .hero-badges {
        justify-content: center;
    }
    
    .achievement-item {
        flex-direction: column;
        text-align: center;
    }
    
    .achievement-content {
        text-align: center;
    }
}

/* ===================================
   制作実績スライダー
=================================== */

.work-slider {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: #f5f5f5;
}

.work-slider-images {
    display: flex;
    gap: 8px;
    width: 100%;
    height: 100%;
    padding: 10px;
}

.work-slider-image {
    flex: 1;
    height: 100%;
    overflow: hidden;
}

.work-slider-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    border-radius: 4px;
}

.slider-btn {
    display: none;
}

.slider-dots {
    display: none;
}

/* ===================================
   制作実績カテゴリーフィルター
=================================== */

.works-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 10px 25px;
    border: 2px solid var(--primary-color);
    border-radius: 30px;
    background: white;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: var(--primary-light);
    color: var(--primary-color);
}

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

@media (max-width: 768px) {
    .works-filter {
        gap: 8px;
    }
    
    .filter-btn {
        padding: 8px 18px;
        font-size: 0.9rem;
    }
}

/* ===================================
   画像モーダル（ライトボックス）
=================================== */

.image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
}

.image-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    cursor: pointer;
}

.modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    z-index: 10001;
    cursor: pointer;
}

.modal-content img {
    max-width: 90vw;
    max-height: 85vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 36px;
    cursor: pointer;
    padding: 5px 15px;
    transition: transform 0.2s ease;
}

.modal-close:hover {
    transform: scale(1.2);
}

/* 画像にホバー時の拡大アイコン表示 */
.work-image,
.work-slider-image {
    position: relative;
}

.work-image::after,
.work-slider-image::after {
    content: '🔍';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    background: rgba(255, 255, 255, 0.9);
    padding: 10px 15px;
    border-radius: 50%;
}

.work-image:hover::after,
.work-slider-image:hover::after {
    opacity: 1;
}

@media (max-width: 768px) {
    .modal-close {
        top: -35px;
        right: -5px;
        font-size: 30px;
    }
    
    .modal-content img {
        max-width: 95vw;
        max-height: 80vh;
    }
}

/* ===================================
   競合比較セクション
=================================== */

.comparison-section {
    background: linear-gradient(180deg, #FFF9F5 0%, #FFFFFF 100%);
}

.comparison-table-wrapper {
    overflow-x: auto;
    margin: 0 -20px;
    padding: 0 20px;
}

.comparison-table {
    width: 100%;
    min-width: 800px;
    border-collapse: collapse;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.comparison-table thead {
    background: linear-gradient(135deg, #2D3748 0%, #1A202C 100%);
}

.comparison-table th {
    padding: 25px 20px;
    text-align: center;
    color: white;
    font-weight: 600;
    font-size: 1rem;
}

.comparison-table th.comparison-feature {
    background: #4A5568;
    width: 150px;
}

.comparison-table th.comparison-us {
    background: var(--gradient-primary);
    width: 220px;
}

.comparison-header-us {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.comparison-badge {
    background: white;
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
}

.comparison-table th.comparison-other {
    background: #4A5568;
}

.comparison-table tbody tr {
    border-bottom: 1px solid #E2E8F0;
}

.comparison-table tbody tr:last-child {
    border-bottom: none;
}

.comparison-table tbody tr:hover {
    background: #FFF9F5;
}

.comparison-table td {
    padding: 20px;
    text-align: center;
    vertical-align: middle;
    font-size: 0.95rem;
    line-height: 1.6;
}

.comparison-table td.comparison-feature {
    background: #F7FAFC;
    font-weight: 600;
    color: var(--text-color);
    text-align: left;
}

.comparison-table td.comparison-us {
    background: #FFF9F5;
    color: var(--text-color);
}

.comparison-table td.comparison-other {
    color: var(--text-light);
}

.comparison-table td.comparison-other small {
    display: block;
    color: #A0AEC0;
    font-size: 0.8rem;
    margin-top: 4px;
}

.check-icon {
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 4px;
}

.price-highlight {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.comparison-summary {
    margin-top: 40px;
    text-align: center;
    padding: 30px 40px;
    background: var(--gradient-primary);
    border-radius: 20px;
    color: white;
}

.comparison-summary-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 0;
}

.comparison-summary-text strong {
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .comparison-section {
        padding: 60px 0;
    }
    
    .comparison-table {
        min-width: 650px;
        font-size: 0.85rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 15px 10px;
    }
    
    .comparison-summary {
        padding: 20px;
    }
    
    .comparison-summary-text {
        font-size: 0.95rem;
    }
}

/* ===================================
   お問い合わせ完了ページ（サンクスページ）
=================================== */

.thanks-section {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 0;
    background: linear-gradient(180deg, #FFF9F5 0%, #FFFFFF 100%);
}

.thanks-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.thanks-icon {
    margin-bottom: 30px;
}

/* チェックマークアニメーション */
.checkmark {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: block;
    stroke-width: 2;
    stroke: #fff;
    stroke-miterlimit: 10;
    margin: 0 auto;
    box-shadow: inset 0px 0px 0px var(--primary-color);
    animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
}

.checkmark-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke: var(--primary-color);
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    stroke: var(--primary-color);
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes scale {
    0%, 100% {
        transform: none;
    }
    50% {
        transform: scale3d(1.1, 1.1, 1);
    }
}

@keyframes fill {
    100% {
        box-shadow: inset 0px 0px 0px 50px #FFF9F5;
    }
}

.thanks-title {
    font-size: 2rem;
    font-weight: bold;
    color: var(--text-color);
    margin-bottom: 20px;
}

.thanks-message {
    font-size: 1.1rem;
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 30px;
}

.thanks-message strong {
    color: var(--primary-color);
}

.thanks-note {
    background: #F7FAFC;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 40px;
}

.thanks-note p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.8;
}

.thanks-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.thanks-actions .btn-secondary {
    background: white;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.thanks-actions .btn-secondary:hover {
    background: var(--primary-light);
}

@media (max-width: 768px) {
    .thanks-section {
        padding: 60px 20px;
    }
    
    .thanks-title {
        font-size: 1.5rem;
    }
    
    .thanks-message {
        font-size: 1rem;
    }
    
    .thanks-note p {
        font-size: 0.85rem;
    }
    
    .thanks-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .thanks-actions .btn-primary,
    .thanks-actions .btn-secondary {
        width: 100%;
        max-width: 280px;
    }
}

/* ===================================
   制作実績 横スクロール（マーキー）
=================================== */

.works-marquee-section {
    padding: 80px 0;
    background: var(--bg-gray);
    overflow: hidden;
}

.works-marquee-section .section-title,
.works-marquee-section .section-subtitle {
    text-align: center;
}

.works-marquee {
    margin-top: 50px;
    overflow: hidden;
    position: relative;
}

.works-marquee::before,
.works-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.works-marquee::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-gray), transparent);
}

.works-marquee::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-gray), transparent);
}

.works-marquee-track {
    display: flex;
    gap: 20px;
    animation: marqueeScroll 40s linear infinite;
    width: max-content;
}

.works-marquee-track:hover {
    animation-play-state: paused;
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.works-marquee-item {
    flex-shrink: 0;
    width: 280px;
    height: 360px;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.works-marquee-item:hover {
    transform: scale(1.03);
}

.works-marquee-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.works-marquee-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
    padding: 60px 20px 20px;
    color: white;
}

.works-marquee-category {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    margin-bottom: 8px;
}

.works-marquee-title {
    font-size: 1rem;
    font-weight: bold;
    margin: 0;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .works-marquee-item {
        width: 220px;
        height: 280px;
    }
    
    .works-marquee-track {
        animation-duration: 30s;
    }
    
    .works-marquee::before,
    .works-marquee::after {
        width: 50px;
    }
}

/* ===================================
   CTA 20%OFF バッジ
=================================== */

.cta-badge {
    display: inline-block;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #333;
    padding: 10px 30px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 20px;
    animation: pulseBadge 2s ease-in-out infinite;
}

@keyframes pulseBadge {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.cta-button-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.btn-cta {
    position: relative;
    padding: 20px 50px 20px 70px;
    font-size: 1.2rem;
}

.btn-discount-badge {
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%) rotate(-15deg);
    background: linear-gradient(135deg, #FF4444 0%, #CC0000 100%);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: bold;
    box-shadow: 0 3px 10px rgba(255, 0, 0, 0.3);
    animation: wiggle 1s ease-in-out infinite;
}

@keyframes wiggle {
    0%, 100% {
        transform: translateY(-50%) rotate(-15deg);
    }
    25% {
        transform: translateY(-50%) rotate(-12deg);
    }
    75% {
        transform: translateY(-50%) rotate(-18deg);
    }
}

.cta-note {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
    margin: 0;
}

/* ===================================
   カウントダウンタイマー
=================================== */

.countdown-wrapper {
    margin: 30px 0;
}

.countdown-label {
    font-size: 1.1rem;
    color: #FFD700;
    margin-bottom: 15px;
    font-weight: bold;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 15px 20px;
    min-width: 80px;
    text-align: center;
}

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

.countdown-unit {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 5px;
}

.countdown-separator {
    font-size: 2rem;
    font-weight: bold;
    color: white;
}

@media (max-width: 768px) {
    .countdown-item {
        padding: 10px 12px;
        min-width: 60px;
    }
    
    .countdown-number {
        font-size: 1.8rem;
    }
    
    .countdown-unit {
        font-size: 0.7rem;
    }
    
    .countdown-separator {
        font-size: 1.5rem;
    }
}

/* ヒーローセクション用CTA */
.hero-cta-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-top: 10px;
}

.hero-discount-label {
    display: inline-block;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #333;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: bold;
    animation: pulseBadge 2s ease-in-out infinite;
}

@media (max-width: 768px) {
    .cta-badge {
        font-size: 1rem;
        padding: 8px 20px;
    }
    
    .btn-cta {
        padding: 18px 30px 18px 50px;
        font-size: 1rem;
    }
    
    .btn-discount-badge {
        left: -5px;
        padding: 6px 10px;
        font-size: 0.75rem;
    }
    
    .hero-cta-wrapper {
        align-items: center;
        width: 100%;
    }
    
    .hero-discount-label {
        font-size: 0.85rem;
    }
}
