.build-hero {
    width: 100%;
    height: 600px;
    display: flex;      
}

.hero-img {
    background-size: cover;
    background-position: center;
}

/* 左：1/3 */
.hero-left {
    flex: 1;
    background-image: url('/img/art/build/build-top-01.png');
    transition: all 0.8s ease;
}

/* 右：2/3 */
.hero-right {
    flex: 2;
    background-image: url('/img/art/build/build-top-02.png');
    transition: all 0.8s ease;
}


.build-title-card {
    position: relative;
    width: 100%;       
    max-width: 640px;    
    height: auto;         
    background-color: white;
    border-radius: 20px;
    margin: -100px auto 0;
    padding: 40px 20px; 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.title-jp {
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 18px;
    color: #222;
}

.title-en {
    font-family: "Ubuntu", sans-serif;
    font-size: 16px;
    font-weight: bold;
    color: #CF5364;
}

.spacer {
    height: 800px;
    width: 100%;
}

.build-catch-main {
    font-size: 34px;
    font-weight: bold;
    letter-spacing: 0.05em;
    color: #cf5364;
    font-family: "Zen Kaku Gothic New", sans-serif;
    margin-top: 100px;
    padding-left: 200px;
}

.build-catch-main .big-number {
    font-size: 53px;
    color: #cf5364;
    font-weight: bold;
    font-family: "Zen Kaku Gothic New", sans-serif;
}

.build-catch-sub {
    font-size: 34px;
    font-weight: bold;
    letter-spacing: 0.05em;
    color: #cf5364;
    margin-bottom: 10px;
    font-family: "Zen Kaku Gothic New", sans-serif;
}

/* 左右行全体 */
.build-price-row {
    display: flex;
    align-items: center;
    padding-left: 200px;
    gap: 10px;
}

/* 左側ラベル縦並び */
.build-price-label {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    font-size: 30px;
    font-weight: bold;
    font-family: "Zen Kaku Gothic New", sans-serif;
    color: #222222;
}

/* 右側数字＋単位のラッパー */
.build-price-number-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* 数字と単位 */
.build-price-number {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* 単位＋サブテキスト縦並び */
.number-unit-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

/* 数字 */
.number-line {
    font-size: 109px;
    font-weight: bold;
    line-height: 1.1;
    margin-bottom: 30px;
    font-family: "Zen Kaku Gothic New", sans-serif;
    color: #222222;
}

/* 単位 */
.number-unit {
    font-size: 30px;
    font-weight: bold;
    font-family: "Zen Kaku Gothic New", sans-serif;
    color: #222222;
}

/* サブテキスト */
.number-subtext {
    font-size: 30px;
    font-weight: bold;
    font-family: "Zen Kaku Gothic New", sans-serif;
    color: #222222;
}

.build-price-product {
    font-size: 82px;
    font-weight: bold;
    line-height: 1.1;
    margin-bottom: 20px;
    font-family: "Zen Kaku Gothic New", sans-serif;
    color: #222222;
}

.build-tag-container {
    display: flex;
    align-items: baseline;
    gap: 20px;
    padding-left: 200px;
    flex-wrap: wrap;
}

.build-tag-and-image {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
}

.build-side-img {
    max-width: 300px;
    height: auto;
}
.speech-bubble {
    margin-top: 20px;
}

.build-tag {
    display: inline-flex;
    background-color: #cf5364;
    color: #fff;
    font-weight: bold;
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-size: 24px;
    padding: 12px 40px;
    align-items: baseline;
    line-height: 1;
}

.build-tag span {
    font-size: 52px;
    line-height: 1;
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: bold;
}

.build-image-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.build-image-row img {
    flex: 0 0 300px;
    width: 100%;
    height: auto;
}

.build-side-img {
    align-self: flex-start;
    margin-top: -90px;
}

.speech-bubble {
    flex-wrap: wrap;
    position: relative;
    background-color: #ffd1d8;
    padding: 20px 2px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
    min-height: 160px;
    font-family: "Zen Kaku Gothic New", sans-serif;
    top: -170px;
}

/* 吹き出しの三角形（しっぽ） */
.speech-bubble::after {
    content: "";
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%) matrix(-0.86, -0.52, 0.52, -0.86, 0, 0);
    background: #ffd1d8 0% 0% no-repeat padding-box;
    opacity: 1;
    clip-path: polygon(80% 9%, 34% 100%, 100% 100%);

    /* 三角形作成 */
    width: 0;
    height: 0;
    border-top: 14px solid transparent;
    border-bottom: 14px solid transparent;
    border-right: 20px solid #ffd1d8;
}

/* 吹き出し内のテキスト */
.bubble-text {
    font-size: 20px;
    font-weight: bold;
    color: #222222;
    text-align: center;
    line-height: 1.4;
}

/* 外側の背景（色のみ） */
.outer-bg {
    background-color: #f4f4f4;
    padding-top: 78px;
    padding-bottom: 78px;
}

.box-area {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

/* 上段 */
.upper-boxes {
    gap: 30px;
    margin-bottom: 60px;
}

/* 下段 */
.lower-boxes {
    gap: 30px;
}

/* 白い箱 */
.white-box {
    background: #ffffff;
    border-radius: 10px;
    padding: 32px 28px;
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: center;
    gap: 20px;
    min-width: 380px;
}

/* テキスト */
.wb-text {
    font-size: 16px;
    line-height: 1.6;
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: bold;
    color: #222222;
}

.recommend-title {
    text-align: center;
    font-size: 32px;
    font-weight: bold;
    font-family: "Zen Kaku Gothic New", sans-serif;
    margin-bottom: 49px;
}

.sell-rounded-box {
    width: 90%;
    height: 185px;
    margin: 90px auto 0;
    background-color: #ffffff;
    border: 4px solid #e85959;
    border-radius: 92.5px;
    box-sizing: border-box;
    padding: 40px 40px;
    text-align: center;
    margin-bottom: 77px;
}

.rounded-text {
    margin: 0;
    font-size: 24px;
    color: #222222;
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}

.rounded-phone {
    font-size: 40px;
    color: #e85959;
    font-weight: bold;
    font-family: "Ubuntu", sans-serif;
}

.rounded-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.rounded-button {
    background-color: #e85959;
    min-width: 250px;
}

.feature-box {
    background-color: #f4f4f4;
    padding-top: 78px;
    padding-bottom: 78px;
}

.feature-title {
    text-align: center;
    font-size: 27px;
    font-weight: bold;
    font-family: "Zen Kaku Gothic New", sans-serif;
    margin-bottom: 100px;
    line-height: 1.9;
}

/* 上段 */
.upper-feature-boxes {
    gap: 30px;
    margin-bottom: 60px;
    display: flex;
}

/* 下段 */
.lower-feature-boxes {
    gap: 30px;
    display: flex;
}

/* 白い箱 */
.white-featurebox {
    background: #ffffff;
    border-radius: 10px;
    padding: 32px 28px;
    flex-direction: row;
    gap: 20px;
    display: flex;
}

/* テキスト */
.feature-text {
    font-size: 16px;
    line-height: 1.6;
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: bold;
    color: #222222;
    padding-bottom: 20px;
    text-align: left;
}

.feature-text .highlight {
    color: #c94e60;
}

.feature-logo {
    padding-bottom: 20px;
}

.feature-right {
    display: flex;
    flex-direction: column;
    gap: 15px; /* お好みで */
}

.feature-left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.green-button {
    position: relative;
    background-color: #2b9b7d;
    color: #ffffff;
    width: 148px;
    height: 40px;
    font-size: 14px;
    border: none;
    border-radius: 24px;
    cursor: pointer;
    font-weight: bold;
    text-align: center;
}

.green-button::before {
    content: "";
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #fff;
}

@media screen and (min-width: 960px) {
}
@media screen and (min-width: 520px) and (max-width: 959px) {
}
@media screen and (max-width: 519px) {

    .build-hero {
        height: 400px;
        position: relative;
        overflow: hidden;
    }

    .hero-left {
        flex: unset;      
        width: 100%;         
    }

    .hero-right {
        opacity: 0;
        flex: unset;
        width: 100%;
        position: absolute;
        right: 0;
        top: 0;
        height: 100%;
    }

.build-title-card {
        max-width: 327px;  
        margin-top: -60px;
        padding: 24px 16px;
        border-radius: 16px;
    }

    .title-jp {
        font-size: 24px; 
    }

    .title-en {
        font-size: 13px;
    }

.build-catch-main,
    .build-catch-sub {
        font-size: 20px;
        padding-left: 10px;
        margin-top: 40px;
    }

    .build-catch-main .big-number {
        font-size: 32px;
    }

    /* 価格行 */
    .build-price-row {
        align-items: flex-start;
        padding-left: 10px;
        gap: 8px;
    }

    .build-price-label {
        font-size: 20px;
        gap: 5px;
        margin-top: 15px;
    }

    .number-line {
        font-size: 60px;
        margin-bottom: 15px;
    }

    .number-unit,
    .number-subtext {
        font-size: 16px;
    }

    .build-price-product {
        font-size: 48px;
    }

    /* タグ */
    .build-tag-container,
    .build-tag-and-image {
        align-items: flex-start;
        padding-left: 10px;
        gap: 10px;
    }


    .build-tag {
        flex: 0 0 auto;         
        font-size: 18px;       
        padding: 8px 12px;     
    }

    .build-tag span {
        font-size: 36px;        
    }

    /* 画像行 */
    .build-image-row {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .build-image-row img,
    .build-side-img {
        flex: 0 0 80%;
        max-width: 199px;
        margin: 0 auto;
        height: auto;
        margin-top:20px;
    }

    .build-side-img {
        margin-top: 0;
    }

    /* 吹き出し */
    .speech-bubble {
        min-width: 120px;
        min-height: 120px;
        padding: 15px;
        top: 0;
    }

    .speech-bubble::after {
        border-right: 14px solid #ffd1d8;
        border-top: 10px solid transparent;
        border-bottom: 10px solid transparent;
    }

    .bubble-text {
        font-size: 14px;
        line-height: 1.2;
    }

    .feature-box {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    /* 上下段のボックスを縦並びに */
    .upper-feature-boxes,
    .lower-feature-boxes {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 40px;
        padding: 0 10px;
    }

    .white-featurebox {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
        text-align: center;
    }

    .feature-text {
        line-height: 1.4;
        text-align: center;
    }

    /* ボタンサイズ調整 */
    .green-button {
        width: 120px;
        height: 36px;
        font-size: 13px;
    }

    .rounded-button {
        min-width: 180px;
        font-size: 14px;
        padding: 10px 0;
    }

    /* アイコン・画像幅を調整 */
    .feature-logo,
    .feature-img {
        height: auto;
    }

    /* 余白調整 */
    .feature-left,
    .feature-right {
        align-items: center;
    }

    .feature-right {
        flex-direction: row; 
        justify-content: center;
        gap: 10px;
    }

    /* 全体のマージン */
    .feature-title {
        font-size: 22px;
        margin-bottom: 40px;
        line-height: 1.4;
    }

    .recommend-title {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .sell-rounded-box {
        width: 90%;
        padding: 30px 15px;
        height: auto;
        margin: 50px auto 30px;
        border-radius: inherit;
    }

    .rounded-text {
        font-size: 18px;
    }

    .rounded-phone {
        font-size: 28px;
    }

    .rounded-action {
        flex-direction: column;
        gap: 15px;
    }

    .outer-bg {
    margin-top: 60px;
}

}

