/* ================================================== */
/*          index.html (LP) 専用スタイル              */
/* ================================================== */

/* ================================================== */
/*                   HEADER SECTION                  */
/* ================================================== */

.header {
    background: url('../assets/images/lp/RBS_top.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 60px 20px;
    padding-top: 120px;
    text-align: left;
    position: relative;
    border-bottom: 3px solid #6cb4e4;
}

.header-content {
    background: transparent;
    padding: 20px 0;
    max-width: 800px;
    box-shadow: none;
    margin: 0 auto;
    text-align: center;
}

.logo-img {
    width: 90px;
    height: auto;
    display: block;
    margin-bottom: 0;
}

.header h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    line-height: 1.3;
    color: #fff;
    font-weight: 700;
    text-shadow: 0px 4px 8px rgba(0, 0, 0, 0.36);
}

.headline-pin-img {
    display: block;
    width: auto;
    max-width: 280px;
    height: auto;
    margin-bottom: 12px;
}

@media (max-width: 768px) {
    .headline-pin-img {
        max-width: 180px;
        margin-bottom: 8px;
    }
}

.subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    font-weight: bold;
    color: #fff;
    text-shadow: 0px 4px 8px rgba(0, 0, 0, 0.36);
}

/* ================================================== */
/*                   HEADER CTA（オレンジ）            */
/* ================================================== */

.header .cta-button {
    background: linear-gradient(135deg, #FF8C42 0%, var(--accent-color) 50%, #E55A28 100%);
    box-shadow: 0 6px 0 #c95a20, 0 6px 14px rgba(255, 107, 53, 0.2);
    transform: translateY(0);
    transition: transform 0.1s ease, box-shadow 0.1s ease, filter 0.1s ease;
}

.header .cta-button:hover {
    filter: brightness(0.92);
    transform: translateY(3px);
    box-shadow: 0 3px 0 #c95a20, 0 4px 10px rgba(255, 107, 53, 0.15);
}

.header .cta-button:active {
    filter: brightness(0.85);
    transform: translateY(6px);
    box-shadow: 0 0px 0 #c95a20, 0 2px 4px rgba(255, 107, 53, 0.1);
}

/* ヘッダー用：CTAと募集ラベルをグループ化して上下配置 */
.header .cta-wrapper {
    display: flex;
    justify-content: flex-start;
    /* PC: 左寄せ */
    align-items: center;
    position: relative;
    width: 100%;
}

.header .cta-button-wrap {
    position: relative;
    display: inline-block;
}

/* バッジをボタン上部に固定し、ボタン位置は変えない */
.header .recruitment-badge--header {
    position: absolute;
    left: 50%;
    top: -28px;
    transform: translateX(-50%);
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 12px 22px;
    border-radius: 999px;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    background: rgba(255, 255, 255, 0.98);
    font-weight: 800;
    font-size: 13px;
    line-height: 1;
    pointer-events: none;
    white-space: nowrap;
}

.header .recruitment-badge--header .slash {
    font-size: 13px;
    letter-spacing: 0.04em;
}

.header .recruitment-badge--header .recruiting {
    font-size: 11px;
    opacity: 0.95;
}

/* 下向き三角（バッジの下に小さな▼） */
.header .recruitment-badge--header::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-width: 8px 8px 0 8px;
    border-style: solid;
    border-color: rgba(255, 255, 255, 0.98) transparent transparent transparent;
    /* バッジ背景に合わせる */
    pointer-events: none;
}

.headline-pin-img--cta {
    display: none;
}

@media (max-width: 480px) {
    h1 .headline-pin-img {
        display: none;
    }

    .headline-pin-img--cta {
        display: block;
        max-width: 260px;
        height: auto;
        margin: 0 auto 16px;
    }
}

@media (max-width: 480px) {
    .header .recruitment-badge--header::after {
        border-width: 6px 6px 0 6px;
    }

    .header .recruitment-badge--header {
        font-size: 12px;
    }
}

@media (max-width: 768px) {

    /* SP: CTAを中央に配置 */
    .header .cta-wrapper {
        justify-content: center;
    }
}



/* ================================================== */
/*                 実績数字バナー                       */
/* ================================================== */

.stats-banner {
    background: linear-gradient(315deg, var(--navy) 0%, #2C5F7C 100%);
    background: #ffefdc;
    padding: 32px 0;
}

.stats-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.stat-item {
    text-align: center;
    color: #fff;
    padding: 16px;
    background: rgb(255 255 255);
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.stat-number {
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 800;
    line-height: 1;
    color: #1c3a57;
}

.stat-number span {
    color: var(--accent-color);
}

.stat-label {
    font-size: 12px;
    color: rgb(28 58 87);
    margin-top: 8px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

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

.empathy-section-v2 {
    --notch: clamp(28px, 6vw, 96px);
    background: #edf3f8;
    padding: 0 0 80px;
}

.empathy-problem-wrap {
    background: var(--navy);
    background: linear-gradient(315deg, var(--navy) 0%, #2C5F7C 100%);
    padding: 80px 0 calc(60px + var(--notch));
    clip-path: polygon(
        0 0,
        100% 0,
        100% calc(100% - var(--notch)),
        50% 100%,
        0 calc(100% - var(--notch))
    );
}

.empathy-problem-wrap .empathy-main-title {
    color: #fff !important;
}

.empathy-section-v2 {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: var(--navy);
    text-transform: uppercase;
    text-align: center;
}

.empathy-section-v2 .empathy-main-title {
    font-size: clamp(22px, 4vw, 32px);
    font-weight: bold;
    color: var(--navy);
    text-align: center;
    margin-bottom: 50px;
    line-height: 1.35;
}

@media (max-width: 768px) {
    .empathy-section-v2 .empathy-main-title {
        font-size: 18px;
        margin-bottom: 40px;
    }
}

.empathy-list-v2 {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 580px;
    margin: 0 auto;
}

.empathy-item-v2 {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #fff;
    border-radius: 6px;
    padding: 18px 22px;
    box-shadow: 10px 10px 0 #0e2035, 0 4px 12px rgba(14, 32, 53, 0.18);
}

.empathy-check {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--navy);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
    padding-left: 2px;
}

.empathy-item-v2 p {
    font-size: 14px;
    font-weight: 600;
    color: var(--navy);
    line-height: 1.55;
    margin: 0;
}

.empathy-conclusion-v2 {
    text-align: center;
    padding: 36px 0 0;
    max-width: 580px;
    margin: 0 auto;
}

.empathy-conclusion-v2 .empathy-lead {
    font-size: clamp(18px, 3vw, 24px);
    font-weight: 700;
    color: var(--navy);
    line-height: 1.6;
    margin-bottom: 12px;
}

.empathy-conclusion-v2 .empathy-lead strong {
    color: var(--accent-color);
    font-size: 1.3em;
}

.emphasis-dots {
    text-emphasis: filled dot var(--accent-color);
    text-emphasis-position: over right;
    -webkit-text-emphasis: filled dot var(--accent-color);
    -webkit-text-emphasis-position: over right;
}

.empathy-conclusion-v2 .empathy-text {
    font-size: clamp(18px, 3vw, 24px);
    color: var(--navy);
    line-height: 1.75;
}

/* ================================================== */
/*                 WHY REPAIR SECTION                */
/* ================================================== */

.why-repair-item .item-image {
    width: 100%;
    max-width: 700px;
    margin: 0 auto 25px auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.why-repair-item .item-image img {
    width: 100%;
    max-width: 700px;
    height: auto;
    display: block;
    object-fit: contain;
}

/* ================================================== */
/*                 講習概要                             */
/* ================================================== */

.overview-layout {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.overview-main-card {
    background: var(--navy);
    border-radius: 6px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 340px;
}

.overview-main-text-area {
    padding: 44px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.overview-main-title {
    font-size: clamp(20px, 3.2vw, 26px);
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.35;
}

.overview-main-desc {
    font-size: 13.5px;
    color: #fff;
    line-height: 1.75;
}

.overview-main-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 280px;
}

.overview-sub-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.overview-sub-card {
    background: #fff;
    border-radius: 6px;
    padding: 26px 22px;
    border: 1.5px solid var(--border-blue);
}

.overview-sub-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.overview-sub-icon {
    font-size: 20px;
    color: var(--accent-color);
}

.overview-sub-title {
    font-size: 15px;
    font-weight: 800;
    color: var(--navy);
    margin: 0;
}

.overview-sub-desc {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.7;
    color: #333;
}

.overview-note-v2 {
    text-align: center;
    font-size: 13px;
    color: #333;
    margin-top: 16px;
}

/* ================================================== */
/*           受講の流れ（2カラム）                       */
/* ================================================== */

.learning-flow-wrapper {
    display: flex;
    flex-direction: row;
    gap: 40px;
    margin-top: 48px;
    align-items: flex-start;
}

/* PC: constrain learning flow width to match overview-layout */
@media (min-width: 901px) {
    .learning-flow-wrapper {
        max-width: 860px;
        margin: 48px auto 0;
        box-sizing: border-box;
    }
}

.learning-flow-left {
    order: 1;
    flex: 0 0 320px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.learning-flow-right {
    order: 2;
    flex: 1;
}

.learning-flow-main-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--navy);
}

.learning-flow-item {
    margin-bottom: 24px;
    padding: 20px;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.learning-flow-item-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.learning-flow-item-title i {
    font-size: 18px;
}

.learning-flow-item-desc {
    font-size: 14px;
    color: var(--text-color);
    line-height: 1.7;
    margin: 0;
}

/* フロー図の行 */
.flow-row {
    display: flex;
    align-items: center;
    gap: 24px;
    width: 100%;
}

.flow-circle {
    width: 60px;
    height: 60px;
    min-width: 60px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.flow-circle-start {
    background: var(--navy);
    border-color: var(--navy);
}

.flow-circle-start::after {
    content: '';
    width: 15px;
    height: 15px;
    background: #fff;
    border-radius: 50%;
    display: block;
}

.flow-line {
    width: 2px;
    min-width: 2px;
    height: 60px;
    background: #cbd5e1;
    margin-left: 29px;
    flex-shrink: 0;
}

.flow-line-dashed {
    background: repeating-linear-gradient(to bottom,
            #cbd5e1 0px, #cbd5e1 6px,
            transparent 6px, transparent 10px);
}

.flow-label-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.4;
}

.flow-label-badge {
    display: inline-block;
    font-size: 13px;
    font-weight: 500;
    color: var(--white);
    background: #236fb7;
    padding: 4px 12px;
    border-radius: 6px;
    margin-left: 12px;
}

/* flow-starアイコン用カラー */
.flow-star {
    color: #f59e0b;
}

/* ================================================== */
/*                 受講者の声                           */
/* ================================================== */

.voices-section {
    background: #cae0fa;
    padding: 80px 0;
    text-align: center;
}

.voices-section .testimonial-list {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    flex-wrap: nowrap;
    gap: 25px;
    padding: 0;
    max-width: 1080px;
    margin: 0 auto 48px;
}

.voices-section .testimonial-card {
    background: #ffffff;
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: left;
    flex: 1;
    max-width: 340px;
    display: flex;
    flex-direction: column;
}

.voices-section .testimonial-card .card-body {
    border-bottom: 1px solid #cae0fa;
    margin-bottom: 20px;
}

.voices-section .testimonial-card .card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 15px 0;
}

.voices-section .testimonial-card .avatar-img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
}

.voices-section .testimonial-card .badge {
    background: var(--navy);
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
    padding: 4px 14px;
    letter-spacing: 0.05em;
    align-self: flex-start;
    margin-bottom: 4px;
    border-radius: 6px;
}

.voices-section .testimonial-card .name-age {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
}

.voices-section .testimonial-card .occupation {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
    font-weight: bold;
}

.voices-section .testimonial-card .testimonial-text {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-color);
    margin: 24px 0 24px 0;
    flex: 1;
    font-weight: 700;
}

.testimonial-cta {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

/* ================================================== */
/*                 最終CTA（LP固有スタイル）            */
/* ================================================== */

.final-cta-section .final-cta-title {
    font-size: clamp(20px, 3.5vw, 28px);
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.4;
}

.final-cta-section .final-cta-text {
    font-size: 14px;
    color: #fff;
    margin-bottom: 36px;
    line-height: 1.7;
}

/* ================================================== */
/*                 講師・メディア紹介                   */
/* ================================================== */

/* ================================================== */
/*                PC RESPONSIVE - LP                 */
/* ================================================== */

@media (min-width: 769px) {
    .header {
        padding: 20px 0 0 0;
        padding-top: 120px;
        text-align: left;
        border-bottom: none;
        min-height: 60vh;
        height: auto;
    }

    .header-content {
        max-width: 1000px;
        margin: 0;
        padding: 20px 0 40px 60px;
        text-align: left;
        display: flex;
        flex-direction: column;
        min-height: 60vh;
        height: auto;
    }

    .logo-img {
        width: 70px;
        margin: 0;
    }

    .header h1 {
        font-size: 2.5rem;
        margin-bottom: 20px;
        text-align: left;
        line-height: 1.3;
    }

    .headline-small,
    .headline-large {
        display: block;
        font-size: clamp(1.8rem, 2.3vw, 2.5rem);
        font-weight: 700;
        line-height: 1.3;
    }

    .subtitle {
        font-size: 1.1rem;
        margin-left: 0;
        margin-bottom: 40px;
        text-align: left;
        line-height: 1.6;
    }

    .subtitle br {
        display: none;
    }

@media (max-width: 940px) {
    .subtitle br {
        display: inline;
    }
}

    .header .cta-container {
        text-align: left;
        padding: 0;
        margin-top: auto;
        margin-bottom: 20px;
    }

    .why-repair-list {
        gap: 120px;
    }

    .why-repair-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 100px;
    }

    .why-repair-item:nth-child(even) {
        flex-direction: row-reverse;
    }

    .why-repair-item .item-image {
        max-width: 550px;
        margin: 0;
    }

    .why-repair-item .item-image img {
        max-width: 100%;
    }

    .item-text {
        flex: 1;
    }

    .testimonial-list {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: stretch;
        flex-wrap: nowrap;
        gap: 25px;
        padding: 0;
    }

    .testimonial-card {
        flex: 1;
        max-width: 340px;
        display: flex;
        flex-direction: column;
    }

    .card-body {
        flex: 1;
        display: flex;
        flex-direction: column;
    }

    .testimonial-text {
        flex: 1;
    }

}

/* ================================================== */
/*                SP RESPONSIVE - LP                 */
/* ================================================== */


@media (max-width: 768px) {
    .header {
        background: url('../assets/images/lp/RBS_top.png');
        background-size: cover;
        background-position: 65% center;
        background-repeat: no-repeat;
        min-height: 700px;
        height: auto;
        padding: 0;
        padding-top: 80px;
        padding-bottom: 30px;
        text-align: left;
        border-bottom: none;
        display: block;
    }

    .header-content {
        width: 100%;
        box-shadow: none;
        text-align: left;
        display: flex;
        flex-direction: column;
        min-height: 620px;
        height: auto;
        box-sizing: border-box;
    }

    .logo-img {
        width: 63.5px;
        height: auto;
        margin: 0;
    }

    .header h1 {
        margin-top: 0;
        margin-bottom: 53px;
        text-align: left;
        padding-left: 38px;
        color: #fff;
        line-height: 1.1;
        display: block;
        font-weight: 800;
        text-shadow: 0px 4px 8px rgba(0, 0, 0, 0.36);
    }

    .headline-small {
        font-size: 22.6px;
        display: block;
        margin-bottom: 14px;
        font-weight: 700;
        letter-spacing: -0.02em;
    }

    .headline-large {
        font-size: 22.6px;
        display: block;
        font-weight: 800;
        letter-spacing: -0.05em;
    }

    .subtitle {
        font-size: 14px;
        margin-top: 0;
        margin-left: 38px;
        margin-bottom: 40px;
        font-weight: 700;
        line-height: 1.4;
        color: #fff;
        text-shadow: 0px 4px 8px rgba(0, 0, 0, 0.36);
        text-align: left;
    }

    .cta-container {
        margin-top: auto;
        width: 100%;
        padding-bottom: 20px;
        text-align: center;
    }

    .stats-inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        padding: 0 16px;
    }

    .stat-item {
        padding: 12px 8px;
    }

    .stat-number {
        font-size: clamp(20px, 4vw, 26px);
    }

    .stat-label {
        font-size: 11px;
    }

    .empathy-section-v2 {
        padding: 0;
    }

    .empathy-problem-wrap {
        padding: 56px 0 calc(40px + var(--notch));
    }

    .empathy-conclusion-v2 {
        padding: 40px 20px;
    }

    .empathy-conclusion-v2 .empathy-lead {
        font-size: 15px;
    }

    .empathy-conclusion-v2 .empathy-text {
        font-size: 15px;
    }

    .overview-note-v2 {
        font-size: 11px;
    }

    .why-repair-list {
        gap: 60px;
        margin-top: 0;
    }

    .why-repair-item {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        text-align: left;
    }

    .item-desc {
        order: 2;
    }

    .why-repair-conclusion-v2 {
        margin: 20px auto 0;
        padding: 28px 0 0;
        text-align: left;
    }

    .section-bg-light {
        padding: 0 0 56px 0;
    }

    .strengths-grid-2x2 {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .str-header {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 25px;
    }

    .str-num {
        margin-bottom: 0;
        font-size: 40px;
        flex-shrink: 0;
        min-width: 45px;
        line-height: 1;
    }

    .str-title {
        margin-bottom: 0;
        text-align: left;
    }

    .overview-main-card {
        grid-template-columns: 1fr;
    }

    .overview-main-text-area {
        padding: 30px 24px;
    }

    .overview-main-card-img {
        min-height: 200px;
        max-height: 240px;
    }

    .overview-sub-cards {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .overview-sub-card {
        text-align: center;
    }

    .overview-sub-header {
        justify-content: center;
    }

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

    .voices-section .testimonial-list {
        flex-direction: column;
        align-items: center;
        padding: 0 25px;
    }

    .voices-section .testimonial-card {
        width: 100%;
        max-width: 340px;
    }

    .voices-section {
        padding: 56px 0;
    }

    .company-section-v2 {
        padding: 56px 0;
    }

    .company-inner {
        gap: 16px;
    }

    .faq-section-v2 {
        padding: 56px 0;
    }

    .final-cta-section {
        padding: 56px 0;
    }

    .learning-flow-wrapper {
        flex-direction: column;
        gap: 24px;
    }

    .learning-flow-right {
        order: 1;
    }

    .learning-flow-left {
        order: 2;
        flex: 0 0 auto;
        width: 100%;
        background: #fff;
        padding: 20px;
        border-radius: 6px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
        align-items: center;
    }

    .flow-row {
        display: grid;
        grid-template-columns: 0.45fr 60px 1.55fr;
        align-items: center;
        column-gap: 12px;
        width: min(100%, 360px);
        margin: 0 auto;
    }

    .flow-circle,
    .flow-line {
        grid-column: 2;
        justify-self: center;
    }

    .flow-label-title,
    .flow-label-badge {
        grid-column: 3;
        justify-self: start;
    }

    .flow-line {
        margin-left: 0;
    }

    .flow-label-title {
        font-size: 13px;
    }

    .flow-label-badge {
        font-size: 11px;
        padding: 3px 10px;
        margin-left: 0;
    }

    .learning-flow-main-title {
        font-size: 18px;
    }

    .learning-flow-item {
        padding: 16px;
        margin-bottom: 16px;
    }

    .learning-flow-item-title {
        font-size: 15px;
    }

    .learning-flow-item-desc {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .header {
        background-image: url('../assets/images/lp/RBS_top_sp.png');
        padding-bottom: 0;
    }

    .header h1 {
        margin-bottom: 33px;
    }

    .headline-small {
        font-size: 26px;
    }

    .headline-large {
        font-size: 26px;
    }

    .header-content {
        min-height: 700px;
    }

    .cta-container {
        padding-top: 40px;
        padding-bottom: 0;
    }

    .cta-wrapper {
        margin-top: 40px;
    }
}