/* 制作までの流れ - プロセスページ CSS */

/* パンくずリストは共通スタイルを使用するためコメントアウト */
/* 共通の.breadcrumbsスタイルはcommon.cssに定義されています */

/***** ヒーローセクション *****/
.page-header {
    background-color: #f5f5f5;
    padding: 60px 0;
    text-align: center;
}

.hero-section .container {
    position: relative;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    position: relative;
}

/* 赤いバーを削除
.page-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: #e83a3b;
    margin: 15px auto 0;
}
*/

.page-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/***** セクションの共通スタイル *****/
.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #333;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

/* タイトル下の赤いバーを削除 */
/*
.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: #e83a3b;
    margin: 15px auto 0;
}
*/

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

/***** プロセスタイムライン *****/
.process-timeline {
    padding: 80px 0;
    background-color: #fff;
}

.timeline-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding-bottom: 100px; /* 下部に余白を追加 */
}

/* タイムラインの中央線 */
.timeline-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 60px;
    width: 4px;
    background-color: #d0d0d0;
    z-index: 0;
    height: 100%;
    min-height: 2000px; /* 十分な長さを確保 */
}

.timeline-item {
    position: relative;
    margin-bottom: 70px;
    z-index: 1;
    max-width: 950px;
    margin-left: auto;
    margin-right: auto;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

/* 番号円形 */
.timeline-number {
    position: absolute;
    left: 60px; /* 左にズラした位置 */
    top: 0;
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(-50%);
    z-index: 2;
}

.step-number-image {
    width: 150px;
    height: 150px;
    object-fit: contain;
}

/* コンテンツボックス */
.timeline-content {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: 40px;
    margin-left: 150px;
    position: relative;
    transition: all 0.3s ease;
    max-width: 800px;
    box-sizing: border-box;
}

/* ステップ画像とテキストの横並びレイアウト */
.step-content-wrapper {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    margin: 15px 0 25px;
}

/* ステップ画像 */
.step-image {
    flex: 0 0 300px;
    width: 300px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.step-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* ステップコンテンツ（テキスト部分） */
.step-content {
    flex: 1;
}

/* ステップタイトル */
.step-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
    line-height: 1.3;
}

/* 担当者バッジ */
.step-role {
    display: inline-block;
    padding: 6px 18px;
    font-size: 1rem;
    font-weight: 600;
    margin-right: 12px;
    margin-bottom: 15px;
    min-width: 70px;
    text-align: center;
}

/* 弊社バッジ */
.company {
    background-color: #333;
    color: #fff;
}

/* クライアント様バッジ */
.client {
    background-color: #e83a3b;
    color: #fff;
}

.step-content {
    line-height: 1.7;
    color: #555;
}

.step-content p {
    margin-bottom: 15px;
}

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

/* ハイライトテキスト */
/* ハイライトテキストは使用しないためコメントアウト */
/*
.highlight-text {
    background-color: rgba(255, 240, 116, 0.3);
    padding: 12px;
    border-left: 4px solid #f1c40f;
    border-radius: 4px;
    font-weight: 500;
}
*/

.note-text {
    font-size: 15px;
    color: #777;
    font-style: italic;
}

/* 重要情報ボックス */
.important-information-box {
    background-color: rgba(232, 58, 59, 0.08);
    border-left: 4px solid #e83a3b;
    padding: 25px 30px;
    margin: 25px 0;
    border-radius: 4px;
}

.important-information-box p {
    margin-bottom: 10px;
    font-size: 15px;
    line-height: 1.6;
}

.important-information-box p:last-child {
    margin-bottom: 0;
}

/* 打ち合わせ方法タブ */
.meeting-options-box {
    margin: 25px 0;
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.meeting-options-box h4 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #e83a3b;
    font-weight: 600;
}

.meeting-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.meeting-tabs li {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 30px;
    padding: 12px 25px;
    font-size: 1.2rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.meeting-tabs li i {
    color: #e83a3b;
    font-size: 1.2rem;
}

.meeting-tabs li:hover {
    background-color: #f1f1f1;
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.important-note {
    background-color: rgba(231, 76, 60, 0.1);
    padding: 20px 25px;
    border-left: 4px solid #e74c3c;
    border-radius: 4px;
    margin-top: 20px;
    font-weight: 500;
    color: #c0392b;
}

/* 特長ボックス */
.feature-box {
    background-color: #f3f4f6;
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
}

.feature-box h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.feature-items {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.feature-tag {
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #555;
}

/***** 制作期間の目安 *****/
.delivery-time {
    padding: 70px 0;
    background-color: #333333;
    color: #ffffff;
}

.delivery-time .section-title,
.delivery-time .plan-name,
.delivery-time .plan-description {
    color: #ffffff;
}

.delivery-time-simple-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
}

.delivery-time-simple-item {
    flex: 1 1 300px;
    max-width: 400px;
    min-width: 280px;
    text-align: center;
    transition: all 0.3s ease;
}

/* 画像コンテナ */
.time-image-container {
    margin: 0 auto 25px;
    width: 180px;
    height: 180px;
}

.time-plan-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.plan-name {
    font-size: 2.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 18px;
}

.plan-description {
    color: #666;
    font-size: 1.6rem;
    line-height: 1.6;
    margin-top: 15px;
}

/***** よくある質問 *****/
/* template.cssの共通スタイルを使用するため、上書き設定 */
.faq-section {
    padding: 80px 0;
    background-color: #f2f2f2; /* template.cssと同じ背景色 */
}

/* 他のFAQスタイルはtemplate.cssから継承 */

/***** CTAブロック *****/
.cta-block {
    background-color: #f8f9fa;
    padding: 80px 0;
    text-align: center;
}

.cta-block h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
}

.cta-block p {
    font-size: 1.6rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.footer-cta-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 30px;
}

.shopify-cta-button {
    display: inline-block;
    background-color: #f24242;
    color: white;
    text-decoration: none;
    padding: 20px 60px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 50px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: none;
    text-align: center;
    max-width: 400px;
    margin: 10px auto;
}

.shopify-cta-button:hover {
    background-color: #e22e2e;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.small-note {
    font-size: 0.9rem;
    color: #777;
    margin-top: 15px;
    text-align: center;
}

/***** レスポンシブデザイン *****/
/* タブレット */
@media (max-width: 992px) {
    .page-title {
        font-size: 2.2rem;
    }
    
    .hero-section {
        padding: 60px 0 40px;
    }
    
    .timeline-content {
        padding: 30px;
        margin-left: 60px;
    }
    
    .timeline-wrapper::before {
        left: 35px;
    }
    
    .timeline-number {
        left: 35px;
        width: 50px;
        height: 50px;
    }
    
    .step-number-image {
        width: 50px;
        height: 50px;
    }
    
    .step-title {
        font-size: 1.6rem;
    }
    
    .important-information-box {
        padding: 20px 25px;
    }
}

/* モバイル */
@media (max-width: 767px) {
    .page-title {
        font-size: 1.8rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.6rem;
        margin-bottom: 30px;
    }

    .timeline-wrapper::before {
        left: 30px;
    }
    
    .timeline-content {
        margin-left: 60px;
        padding: 25px 20px;
    }
    
    .hero-section {
        padding: 50px 0 30px;
    }
    
    .process-timeline,
    .delivery-time,
    .faq-section {
        padding: 50px 0;
    }
    
    .timeline-content {
        padding: 25px;
        margin-left: 45px;
    }
    
    .timeline-wrapper::before {
        left: 25px;
    }
    
    .timeline-number {
        left: 30px;
        width: 80px;
        height: 80px;
    }
    
    .step-number-image {
        width: 80px;
        height: 80px;
    }
    
    .step-title {
        font-size: 1.4rem;
    }
    
    /* モバイル表示時に画像とテキストを縦並びにする */
    .step-content-wrapper {
        flex-direction: column;
        gap: 20px;
    }
    
    .step-image {
        flex: 0 0 100%;
        width: 100%;
        margin-bottom: 15px;
    }
    
    .time-circle {
        width: 120px;
        height: 120px;
    }
    
    .days {
        font-size: 1.8rem;
    }
    
    .delivery-time-wrapper {
        gap: 40px;
    }
    
    .cta-block h2 {
        font-size: 2.2rem;
    }
    
    .cta-block p {
        font-size: 1.4rem;
    }
    
    .sp-only {
        display: inline-block;
    }
    
    /* スマホでもボタンサイズを維持 */
    .shopify-cta-button {
        padding: 18px 50px;
        font-size: 16px;
        width: 85%;
        max-width: 320px;
    }
    
    .note-text {
        font-size: 15px;
    }
    
    .important-information-box {
        padding: 20px;
    }
}

/* モバイル（小） */
@media (max-width: 576px) {
    .cta-block h2 {
        font-size: 2rem;
    }
    
    .cta-block p {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 1.6rem;
    }
    
    .timeline-item {
        margin-bottom: 50px;
    }
    
    .step-role {
        margin-bottom: 10px;
    }
    
    .timeline-content {
        margin-left: 40px;
    }
    
    .time-circle {
        width: 100px;
        height: 100px;
    }
    
    .days {
        font-size: 1.6rem;
    }
    
    .unit {
        font-size: 0.9rem;
    }
    
    .plan-name {
        font-size: 1.2rem;
    }
}

/* FAQのJavaScript動作用クラス */
.faq-answer {
    display: none;
}

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

/* スマホのみ表示するクラス */
.sp-only {
    display: none;
}

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