/*
Theme Name: I's TOKYO
Description: Backorder Page Styles
*/

/* --- Container Reset --- */
.page-template-template-backorder #content { padding: 0 !important; }
.page-template-template-backorder #inner-content { max-width: none !important; width: 100% !important; padding: 0 !important; }

.backorder-main {
    font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
    color: #333;
    line-height: 1.8;
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
    width: 100%;
}

/* --- Block & Inner Structure --- */
.bo-hero-block, .bo-manga-block, .bo-overview-block, .bo-target-block, 
.bo-steps-block, .bo-president-block, .bo-faq-block, .bo-final-cta-block {
    width: 100%;
    box-sizing: border-box;
}

.bo-hero-inner, .bo-manga-inner, .bo-overview-inner, .bo-target-inner, 
.bo-steps-inner, .bo-president-inner, .bo-faq-inner, .bo-final-cta-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* --- Common UI --- */
.bo-section-title {
    font-family: "Noto Sans JP", sans-serif;
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 900;
    text-align: center;
    margin-bottom: clamp(30px, 5vw, 50px);
    position: relative;
    padding-bottom: 15px;
    line-height: 1.4;
    color: #111;
    letter-spacing: 0.05em;
}

.bo-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 4px;
    background-color: #e70314;
    border-radius: 2px;
}

.bo-section-title.left { text-align: left; }
.bo-section-title.left::after { left: 0; transform: none; }

/* --- 1. Hero Block --- */
.bo-hero-block {
    padding: clamp(40px, 8vh, 80px) 0;
    background: linear-gradient(135deg, #e70314 0%, #a3020e 100%);
    color: #fff;
    text-align: center;
}

.bo-sub-title {
    display: inline-block;
    font-size: clamp(14px, 2vw, 16px);
    font-weight: 700;
    background: #fff;
    color: #e70314;
    padding: 4px 12px;
    margin-bottom: 15px;
    border-radius: 4px;
}

.bo-main-title {
    font-family: "Noto Serif JP", serif;
    font-size: clamp(32px, 6vw, 56px);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 15px;
    letter-spacing: 0.1em;
}

.bo-lead-text {
    font-size: clamp(15px, 2vw, 18px);
    margin-bottom: 30px;
    color: #f0f0f0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.bo-hero-ctas {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.btn-bo-line, .btn-bo-final-line {
    background-color: #06C755;
    color: #fff;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: clamp(16px, 2vw, 20px);
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-bo-contact, .btn-bo-final-contact {
    background-color: #fff;
    color: #111;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: clamp(16px, 2vw, 20px);
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid #fff;
}

.bo-hero-note {
    font-size: 13px;
    color: #ccc;
}

/* --- 2. Manga Block --- */
.bo-manga-block {
    padding: 60px 0;
    background-color: #f9f9f9;
    text-align: center;
}

.bo-manga-container {
    max-width: 900px;
    margin: 0 auto 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.bo-manga-header {
    text-align: center;
    margin-bottom: 60px;
}

.bo-manga-label {
    font-family: "Noto Sans JP", sans-serif;
    font-size: clamp(20px, 3.5vw, 28px);
    font-weight: 900;
    color: #e70314;
    letter-spacing: 0.1em;
    margin-bottom: 5px;
    display: block;
    line-height: 1.2;
}

.bo-manga-title {
    font-size: clamp(32px, 6vw, 72px);
    font-weight: 900;
    line-height: 1.1;
    color: #111;
    letter-spacing: -0.02em;
    margin: 0 0 10px;
    position: relative;
    display: inline-block;
}

.bo-manga-title span.red-dot {
    position: absolute;
    top: 5px;
    right: -25px;
    width: clamp(10px, 1.5vw, 15px);
    height: clamp(10px, 1.5vw, 15px);
    background-color: #e70314;
    border-radius: 50%;
}

.bo-manga-lead {
    font-size: clamp(18px, 3vw, 24px);
    font-weight: 700;
    color: #111;
    margin: 10px 0 0;
    letter-spacing: 0.05em;
    display: block;
}

.bo-manga-border {
    width: 80px;
    height: 6px;
    background-color: #e70314;
    margin: 25px auto 0;
}

.bo-manga-img {
    width: 100%;
    height: auto;
    display: block;
}

.bo-manga-caption {
    font-size: 16px;
    font-weight: 700;
    color: #555;
    margin-bottom: 30px;
}

.bo-manga-cta {
    margin-top: 20px;
}

.btn-bo-manga-line {
    background-color: #06C755;
    color: #fff !important;
    padding: 18px 45px;
    border-radius: 50px;
    font-size: clamp(16px, 2.2vw, 22px);
    font-weight: 900;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 25px rgba(6, 199, 85, 0.3);
}

.btn-bo-manga-line:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(6, 199, 85, 0.4);
    opacity: 0.9;
}

/* --- 3. Overview Block --- */
.bo-overview-block {
    padding: 80px 0;
}

.bo-ov-item {
    margin-bottom: 50px;
}

.bo-ov-item:last-child {
    margin-bottom: 0;
}

.bo-ov-sub-title {
    color: #e70314;
    font-family: "Noto Sans JP", sans-serif;
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 900;
    margin-bottom: 20px;
    border-left: 6px solid #e70314;
    padding-left: 15px;
    text-align: left;
    line-height: 1.3;
}

.bo-overview-content {
    max-width: 850px;
    margin: 0 auto;
    font-size: 17px;
}

/* --- 4. Target Block --- */
.bo-target-block {
    padding: 80px 0;
    background-color: #f2f2f2;
}

.bo-target-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.bo-target-item {
    background: #fff;
    padding: 35px 25px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
}

.bo-target-item:hover {
    transform: translateY(-5px);
}

.bo-target-icon {
    font-size: 40px;
    color: #e70314;
    margin-bottom: 20px;
}

.bo-target-item h3 {
    font-size: 19px;
    font-weight: 900;
    margin-bottom: 15px;
    color: #111;
}

.bo-target-item p {
    font-size: 14px;
    text-align: left;
    color: #555;
    line-height: 1.6;
}

/* --- 5. Steps Block --- */
.bo-steps-block {
    padding: 80px 0;
}

.bo-steps-list {
    max-width: 850px;
    margin: 0 auto;
    position: relative;
}

.bo-step-item {
    display: flex;
    gap: 30px;
    margin-bottom: 60px;
    align-items: flex-start;
}

.bo-step-num {
    flex-shrink: 0;
    width: 120px;
    color: #e70314;
    font-family: 'Oswald', sans-serif;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 0.05em;
    line-height: 1;
    margin-top: 5px;
}

.bo-step-content {
    flex: 1;
}

.bo-step-content h3 {
    font-size: 22px;
    font-weight: 900;
    margin-bottom: 10px;
    color: #111;
}

.bo-step-content p {
    font-size: 15px;
    color: #444;
}

.bo-steps-cta {
    margin-top: 60px;
    padding: 40px;
    background-color: #f9f9f9;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #eee;
}

.bo-steps-cta-text {
    font-size: 18px;
    font-weight: 900;
    margin-bottom: 25px;
    color: #111;
}

.bo-steps-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-bo-steps-line {
    background-color: #06C755;
    color: #fff !important;
    padding: 15px 35px;
    border-radius: 50px;
    font-size: clamp(16px, 1.8vw, 18px);
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-bo-steps-contact {
    background-color: #111;
    color: #fff !important;
    padding: 15px 35px;
    border-radius: 50px;
    font-size: clamp(16px, 1.8vw, 18px);
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-bo-steps-line:hover, .btn-bo-steps-contact:hover {
    transform: translateY(-3px);
    opacity: 0.9;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* --- 6. President Block --- */
.bo-president-block {
    padding: 80px 0;
    background-color: #111;
    color: #fff;
}

.bo-president-flex {
    display: flex;
    gap: 50px;
    align-items: center;
}

.bo-president-text {
    flex: 1.2;
}

.bo-president-text .bo-section-title {
    color: #fff;
}

.bo-president-text p {
    margin-bottom: 20px;
    color: #ccc;
    font-size: 16px;
}

.bo-president-visual {
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
}

.bo-president-visual img {
    width: 100%;
    height: auto;
    display: block;
}

/* --- 7. FAQ Block --- */
.bo-faq-block {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.bo-faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.bo-faq-item {
    background: #fff;
    margin-bottom: 15px;
    padding: 25px;
    border-radius: 10px;
}

.bo-faq-item dt {
    font-weight: 900;
    font-size: 18px;
    margin-bottom: 10px;
    color: #111;
    display: flex;
    gap: 10px;
}

.bo-faq-item dt::before {
    content: 'Q.';
    color: #e70314;
}

.bo-faq-item dd {
    font-size: 15px;
    color: #555;
    padding-left: 25px;
    position: relative;
}

.bo-faq-item dd::before {
    content: 'A.';
    position: absolute;
    left: 0;
    font-weight: 900;
    color: #111;
}

/* --- 8. Final CTA Block --- */
.bo-final-cta-block {
    padding: 80px 20px;
}

.bo-cta-panel {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 20px;
    text-align: center;
    background: #fff;
    border: 2px solid #111;
    border-radius: 20px;
}

.bo-cta-title {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 900;
    margin-bottom: 20px;
}

.bo-cta-lead {
    font-size: 16px;
    margin-bottom: 40px;
    color: #666;
}

.bo-cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.btn-bo-final-contact {
    background-color: #e70314;
    color: #fff !important;
    border: 1px solid #e70314;
}

.bo-cta-sub-links {
    display: flex;
    gap: 30px;
    justify-content: center;
    font-size: 15px;
    font-weight: 700;
}

.bo-cta-sub-links a {
    color: #111;
    text-decoration: none;
    border-bottom: 1px solid #111;
}

/* --- Responsive --- */
@media screen and (max-width: 639px) {
    .bo-hero-block { padding: 60px 0; }
    .bo-hero-ctas, .bo-cta-buttons, .bo-steps-cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn-bo-line, .btn-bo-contact, .btn-bo-final-line, .btn-bo-final-contact, .btn-bo-steps-line, .btn-bo-steps-contact {
        width: 100%;
        justify-content: center;
    }

    /* 4兄弟の横スクロール */
    .bo-target-block { padding: 60px 0; overflow: hidden; }
    .bo-target-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 15px;
        padding: 0 20px 20px;
        margin: 0 -20px;
        -webkit-overflow-scrolling: touch;
    }
    .bo-target-grid::-webkit-scrollbar { display: none; }
    .bo-target-item {
        flex: 0 0 260px;
        scroll-snap-align: center;
        padding: 30px 20px;
    }

    /* ステップの縦並び調整 */
    .bo-steps-block { padding: 60px 0; }
    .bo-step-item {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 40px;
    }
    .bo-step-num { width: auto; font-size: 24px; margin-top: 0; }
    .bo-step-content h3 { font-size: 18px; border-bottom: 1px solid #eee; padding-bottom: 10px; }
    .bo-steps-cta { padding: 30px 20px; margin-top: 40px; }

    .bo-president-flex { flex-direction: column; gap: 30px; }
    .bo-president-text, .bo-president-visual { width: 100%; }
    .bo-section-title.left { text-align: center; }
    .bo-section-title.left::after { left: 50%; transform: translateX(-50%); }

    .bo-cta-sub-links { flex-direction: column; gap: 15px; }

    /* 漫画セクション見出しのスマホ調整 */
    .bo-manga-header { margin-bottom: 30px; }
    .bo-manga-label { font-size: 16px; }
    .bo-manga-title { font-size: 32px; }
    .bo-manga-border { width: 60px; height: 4px; margin-top: 15px; }
}
