/* =================================
   みえデコビルダーズページ
   ================================= */

/* Hero Section */
.builders-hero {
    position: relative;
    max-width: 1366px;
    margin: 0 auto;
    height: 589px;
    overflow: hidden;
}

.builders-hero__bg {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* Hero Subtitle (green bar) */
.builders-hero-subtitle {
    background-color: var(--green);
    padding: 19px 41px 27px;
}

.builders-hero-subtitle__text {
    color: var(--white);
    font-size: 2.8rem;
    font-weight: bold;
    text-align: center;
    margin: 0;
}

/* Section Title */
.builders-section-title {
    text-align: center;
    margin-bottom: 50px;
}

.builders-section-title h2 {
    display: inline-block;
    font-size: 2.4rem;
    font-weight: bold;
    color: var(--green);
    line-height: 1.6;
    position: relative;
}

.builders-section-title h2::before,
.builders-section-title h2::after {
    content: '';
    display: inline-block;
    width: 40px;
    height: 3px;
    background-color: var(--green);
    vertical-align: middle;
}

.builders-section-title h2::before {
    margin-right: 20px;
}

.builders-section-title h2::after {
    margin-left: 20px;
}

.builders-section-title--secondary h2 {
    font-size: 2rem;
    border-bottom: none;
    padding-bottom: 0;
}

.builders-section-title--secondary h2::before,
.builders-section-title--secondary h2::after {
    display: none;
}

.builders-section-title--secondary h2 img {
    width: 269px;
    height: auto;
}

.builders-howto .builders-section-title {
    margin-bottom: 30px;
}

.builders-section-title--white h2 {
    color: var(--white);
    border-bottom-color: var(--white);
}

.builders-section-title--image h2 {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.builders-section-title--image h2::before,
.builders-section-title--image h2::after {
    display: none;
}

.builders-section-title--image h2 img {
    width: 100%;
}

/* About Section */
.builders-about {
    padding: 60px 0 0;
    background-color: #ECFAFC;
    position: relative;
}

.builders-about::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1366px;
    height: 100%;
    background-image: url(../img/builders/about-bg-new.jpg);
    background-size: 100%;
    background-position: center bottom;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 0;
}

.builders-about__card {
    padding: 60px 40px;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.builders-about__desc {
    font-family: "Noto Sans", "Noto Sans JP", sans-serif;
    font-size: 2.0rem;
    font-weight: 700;
    line-height: 40px;
    color: #333;
    margin-bottom: 60px;
    text-align: left;
    max-width: 705px;
    margin-left: auto;
    margin-right: auto;
}

.builders-about__desc-highlight {
    color: var(--green);
}

.builders-about__movie {
    margin-bottom: 0;
}

.builders-about__bottom {
    padding: 40px 15px 320px;
    position: relative;
    z-index: 1;
}

/* YouTube Responsive */
.builders-youtube {
    position: relative;
    width: 100%;
    max-width: 705px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 10px;
}

.builders-youtube iframe {
    width: 100%;
    height: 100%;
}

/* Screenshots */
.builders-about__screenshots {
    display: flex;
    justify-content: center;
    gap: 30px;
    max-width: 1080px;
    margin: 0 auto;
}

.builders-about__screenshots img {
    width: calc((100% - 60px) / 3);
    border-radius: 20px;
    border: 10px solid var(--white);
    box-sizing: border-box;
    object-fit: cover;
    aspect-ratio: 340 / 255;
}

/* Download Section */
.builders-download {
    padding: 60px 0;
}

.builders-download__cards {
    display: flex;
    justify-content: center;
    gap: 20px;
    max-width: 1080px;
    margin: 0 auto;
}

.builders-download__card {
    display: block;
    flex: 1;
    max-width: 524px;
}

.builders-download__card img {
    width: 100%;
    height: auto;
    display: block;
}

/* How to Section */
.builders-howto {
    padding: 0 0 80px;
    background-color: var(--white);
}

.builders-howto__inner {
    max-width: 1080px;
    margin: 0 auto;
    background-color: var(--white);
    border: 1px solid var(--green);
    border-radius: 30px;
    padding: 80px 80px;
    box-sizing: border-box;
}

.builders-howto__movie {
    margin-bottom: 50px;
}

.builders-howto__desc {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.6;
    color: #000;
    text-align: left;
}

/* Webinar Section */
.builders-webinar {
    padding: 160px 0 300px;
    background-color: var(--light-green);
}

.builders-webinar__list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 100px;
    max-width: 712px;
    margin: 0 auto;
}

.builders-webinar__item {
    display: flex;
    flex-direction: column;
    align-self: stretch;
    gap: 30px;
}

.builders-webinar .builders-section-title--image h2 {
    max-width: 565px;
}

.builders-webinar__profile img {
    width: 100%;
    height: auto;
}

.builders-education .builders-section-title--image h2 {
    max-width: 420px;
}

.builders-education .builders-section-title {
    margin-bottom: 70px;
}

/* Wave Border */
.builders-wave {
    line-height: 0;
}

.builders-wave img {
    width: 100%;
    height: auto;
    display: block;
}

/* Education & Resource Wrap */
.builders-education-wrap {
    background-color: var(--green);
}

/* Education Section */
.builders-education {
    padding: 160px 0 80px;
}

.builders-education__inner {
    max-width: 1080px;
    margin: 0 auto;
}

.builders-education__content {
    display: flex;
    gap: 30px;
    align-items: stretch;
    margin-bottom: 85px;
}

.builders-education__photo {
    flex: 1;
    min-width: 0;
}

.builders-education__photo img {
    width: 100%;
    height: 100%;
    border-radius: 30px;
    object-fit: cover;
}

.builders-education__text {
    flex: 1;
    min-width: 0;
}

.builders-education__lead {
    font-family: "Noto Sans", "Noto Sans JP", sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.5;
    margin: 0 0 33px 0;
}

.builders-education__highlight {
    color: var(--fluorescence-green);
}

.builders-education__desc {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.6;
    color: var(--white);
    margin: 0;
}

.builders-education__screenshots {
    display: flex;
    gap: 30px;
}

.builders-education__screenshots img {
    flex: 1;
    min-width: 0;
    height: 226px;
    border-radius: 30px;
    object-fit: cover;
}

/* Resource Download Section */
.builders-resource {
    padding: 30px 0 80px;
}

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

.builders-resource .builders-section-title h2 {
    font-family: "Noto Sans", "Noto Sans JP", sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
}

.builders-resource .builders-section-title--secondary h2::after {
    content: '';
    display: block;
    width: 96px;
    height: 2px;
    background-color: var(--fluorescence-green);
    margin: 15px auto 0;
}

.builders-resource__preview {
    margin-bottom: 30px;
}

.builders-resource__preview img {
    width: 219px;
    height: 208px;
    border-radius: 0;
    object-fit: contain;
}


/* =================================
   レスポンシブ（SP: 〜790px）
   ================================= */
@media screen and (max-width: 790px) {
    .builders-hero {
        height: auto;
    }

    .builders-hero-subtitle__text {
        font-size: 1.6rem;
    }

    .builders-hero-subtitle {
        padding: 15px;
    }

    .builders-section-title h2 {
        font-size: 1.8rem;
    }

    .builders-section-title h2::before,
    .builders-section-title h2::after {
        width: 20px;
    }

    .builders-section-title h2::before {
        margin-right: 10px;
    }

    .builders-section-title h2::after {
        margin-left: 10px;
    }

    .builders-about__card {
        padding: 30px 20px;
        margin: 30px 15px 0;
        border-radius: 20px;
    }

    .builders-about__bottom {
        padding: 20px 15px 40px;
    }

    .builders-about__desc {
        font-size: 1.4rem;
    }

    .builders-about__screenshots {
        flex-direction: column;
        gap: 15px;
    }

    .builders-about__screenshots img {
        width: 100%;
    }

    .builders-download__cards {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .builders-howto {
        padding: 40px 15px;
    }

    .builders-howto__inner {
        padding: 30px 20px;
    }

    .builders-howto__desc {
        font-size: 1.4rem;
        text-align: left;
    }

    .builders-section-title--secondary h2 {
        font-size: 1.6rem;
    }

    .builders-webinar {
        padding: 40px 15px;
    }

    .builders-webinar__list {
        gap: 60px;
    }

    .builders-education {
        padding: 40px 15px;
    }

    .builders-education__content {
        flex-direction: column;
        margin-bottom: 40px;
    }

    .builders-education__screenshots {
        gap: 10px;
    }

    .builders-education__screenshots img {
        height: auto;
        border-radius: 20px;
    }

    .builders-education__lead {
        font-size: 2rem;
    }

    .builders-resource {
        padding: 40px 15px;
    }

    /* 羽付きタイトル画像をコンテンツ幅いっぱいに広げる */
    .builders-section-title--image h2 {
        max-width: none;
    }
}

/* SP横スクロール防止 */
.builders {
    overflow-x: hidden;
}
