@media screen and (max-width: 519px) {
    img.feature-logo.logo1,
    img.feature-logo.logo2,
    img.feature-logo.logo3 {
        margin-top: 8px;
    }

    img.feature-logo.logo2 {
        width: 266px;
    }
    img.feature-logo.logo3 {
        width: 224px;
    }
}
.button-01{
  position: relative;
  isolation: isolate;

  width: 144px;
  height: 40px;
  border-radius: 100px;
  padding: 10px 30px 10px 20px;

  display: flex;
  justify-content: center;
  align-items: center;

  font-family: "Zen Kaku Gothic New", sans-serif;

  /* 色（反転用） */
  --fg: #fff;
  --fg-hover: #2b9b7d;

  color: var(--fg);
  font-weight: bold;
  font-size: 14px;
  line-height: 32px;
  letter-spacing: .01em;
  text-align: center;

  background: #2b9b7d;
  border: 1px solid var(--btn-border, transparent);

  cursor: pointer;
  overflow: hidden;

    transition: color .0s ease;
}

/* ===== 右端のドット ===== */
.button-01::after{
  content: "";
  position: absolute;
  right: 18px;               /* ← 起点（重要） */
  top: 50%;
  transform: translateY(-50%);

  width: 8px;
  height: 8px;
  border-radius: 50%;

  background-color: var(--fg);
  transition: background-color .25s ease;
  z-index: 1;
}

/* ===== dot起点で広がる背景 ===== */
.button-01::before{
  content:"";
  position:absolute;
  inset:0;
  background:#fff;

  /* dot位置を中心に円を作る */
  clip-path: circle(
    0px at calc(100% - 18px) 50%
  );

  transition: clip-path .45s cubic-bezier(.4,0,.2,1);
  z-index: -1;
}

/* hover時：円が広がる */
.button-01:hover::before,
    .button-01:focus-visible::before{
    clip-path: circle(
        800px at calc(100% - 18px) 50%
    );
}

/* hover時：文字色反転 */
.button-01:hover,
.button-01:focus-visible{
  color: var(--fg-hover);
  outline: none;
}

/* hover時：ドット色反転 */
.button-01:hover::after,
.button-01:focus-visible::after{
  background-color: var(--fg-hover);
}
img.feature-logo.logo1{
    width: 200px;
    
}
img.feature-logo.logo2{
    width: 280px;
    margin-left: -24px;
}
img.feature-logo.logo3{
    width: 235px;
    
}
img.feature-logo.logo4{
    width: 274px;
    
}



.build-hero {
    width: 100%;
    height: 400px;
    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;
    letter-spacing: 0.1em;
}

.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: 20px;
    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{
  display: flex;
}
.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;
  left: 7%;
  bottom: -4px;

  width: 0;
  height: 0;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  border-left: 20px solid #ffd1d8;

  transform-origin: 100% 50%;
  transform: translate(6px, -2px) rotate(35deg);
}

/* 吹き出し内のテキスト */
.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: 30px;
}

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

/* 白い箱 */
.white-box {
    background: #ffffff;
    border-radius: 10px;
    padding: 32px 28px;
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
    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;
    letter-spacing: 0.1em;
}

.sell-rounded-box {
    width: 72%;
    height: auto;
    margin: 90px auto 0;
    background-color: #ffffff;
    border: 4px solid #e85959;
    border-radius: 150px;
    box-sizing: border-box;
    padding: 25px 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;
    letter-spacing: 0.1em;
}

.rounded-text.build {
    margin-top: 10px;
    font-size: 24px;
    color: #222222;
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: center;
    letter-spacing: 0.1em;
}

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

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

.rounded-button {
    --fg-hover: #e85959;
    background-color: #e85959;
    min-width: 240px;
}

.contact-btn {
    width: 240px;
    height: 64px;
    margin: 10px auto;

    --btn-bg: #e85959;
  --btn-fg: #fff;
  --btn-border: transparent;


  --btn-bg-hover: #fff;
  --btn-fg-hover: #e85959;
  --btn-border-hover: #e85959;


  --dot-color: #fff;
  --dot-size: 8px;
  --dot-scale: 2.2;
  --dot-opacity-hover: 0;
  --dot-right: 18px;

  --dot-dur: .24s;
  --btn-dur: .24s;
}

.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:auto 32px 100px;
    line-height: 1.9;
    letter-spacing: 0.1em;
}

.feature-img{
    width: 260px;
    height: 172px;
}

.feature-logo {
  
    height: auto;
    object-fit: contain;
    margin-top: -16px;
}

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

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

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

/* テキスト */
.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;
    letter-spacing: 1px;
}

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

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

.feature-right {
    display: flex;
    flex-direction: column;
    gap: 15px;
    /* padding: 32px 28px; より、43.03-32=11.03, 48.87-28=20.87 */
    margin-top: 11.03px;
    margin-left: auto;
    margin-right: 20.87px;
}

.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;
    display: flex;
    align-items: center;
    justify-content: center; */
.green-button{
  position: relative;
  background-color: #2b9b7d;
  color: #ffffff;

  width: 144px;
  height: 40px;
  padding: 0 28px;

  font-size: 14px;
  font-weight: bold;
  letter-spacing: 1.4px;

  border: 1px solid transparent;
  border-radius: 24px;
  cursor: pointer;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;

  overflow: hidden;
  isolation: isolate;

  transition:
    background-color .22s ease,
    color .22s ease,
    border-color .22s ease;
}


.green-button::before{
  content: "";
  position: absolute;
  top: 50%;
  right: 14px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;

  transform: translateY(-50%) scale(1);
  transform-origin: center;
  z-index: 0;

  transition:
    transform .22s cubic-bezier(.2,.8,.2,1),
    opacity .22s ease;
}


.green-button:hover::before{
  transform: translateY(-50%) scale(2.0);
  opacity: 0;
}


.green-button:hover{
  background-color: #fff;
  color: #2b9b7d;
  border-color: #2b9b7d;
}


@media screen and (min-width: 960px) {

    .rounded-action{
        display: grid;
    }

    .rounded-action{
        gap:20px;
        grid-auto-flow: column;
    }

    .white-featurebox {
        width: 680px;
        height: 261px;
    }


    }



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

    .build-image{
         margin: 100px auto 20px;
    }
 .build-catch-main{
    font-size: 26px;
 }
 .feature-logo{
    max-width: 200px;
 }

 .feature-img{
    max-width: 260px;
 }

 .green-button{
    max-width: 240px;
 }

    .build-catch-box{
        padding-left: 32px;
    }

    .build-catch-main, .build-price-row ,.build-tag-container{
        padding-left: 20px;
    }

    .number-unit, .build-price-label, .number-subtext{
        font-size: 20px;
    }

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

    .number-line{
        font-size: 90px;
    }

    .build-tag{
    font-size: 20px;
    padding: 12px 20px;
    }

    .build-rounded-box{
        margin:auto 32px;
    }

    .sell-rounded-box {
        width: 85%;
        padding: 30px 20px;
        height: auto;
        width: 100%;
        height: auto;
        border-radius: 0;

    }


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

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

    .rounded-action .rounded-button{
        margin: 0 auto;
    }
}
@media screen and (max-width: 519px) {

   .build-price-number, .build-price-number-wrapper {
    gap: 5px;
}

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

    .build-catch-box{
        padding-left: 32px;
    }
    .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: 16px;
        padding-left: 0px;
        margin-top: 40px;
    }

        .build-price-row ,.build-tag-container{
        padding-left: 0px;
    }

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

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

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

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

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

    .build-price-product {
        font-size: 38px;
        margin-bottom: 10px;
    }

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


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

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

    /* 画像行 */
    .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: 50px;
        min-height: 50px;
        padding: 15px;
        top: 0;
        margin-bottom: 60px;
    }

    .speech-bubble::after {
        content: "";
        position: absolute;
        left: 7%;
        bottom: -4px;
        width: 0;
        height: 0;
        border-top: 10px solid transparent;
        border-bottom: 10px solid transparent;
        border-left: 14px solid #ffd1d8;
        tphp artisan serve --host=0.0.0.0 --port=8000ransform-origin: 100% 50%;
        transform: translate(6px, -2px) rotate(35deg);
        display: block;
    }

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

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

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

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

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

    /* ボタンサイズ調整 */
    .green-button {
        width: 144px;
        height: 40px;
        font-size: 14px;
        margin: 0 auto;
    }

    .rounded-button {
        min-width: 180px;
        font-size: 16px;
        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;
        margin-left: auto;
        margin-right: auto;
    }

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

    /* 全体のマージン */
    .feature-title {
        font-size: 18px;
        margin-bottom: 0px;
        line-height: 1.6;
        letter-spacing: 0.2em;
        padding: 60px 0px;
    }

    .wb-text {
    font-size: 14px;
}


    .recommend-title {
        font-size: 18px;
        margin-bottom: 60px;
    }

    .sell-rounded-box {
        width: 85%;
        padding: 40px 12px;
        height: auto;
        margin: 80px 32px 0;
        border-radius: inherit;
    }

    .build-rounded-box {
        padding-bottom: 80px;
    }

    .rounded-text {
        font-size: 20px;
        line-height: 1.6;
        letter-spacing: 0.1em;
    }

    .rounded-text.build {
        font-size: 20px;
        line-height: 1.6;
        letter-spacing: 0.1em;
}

    .rounded-phone {
        font-size: 24px;
        letter-spacing: 0.1em;
    }

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

    .outer-bg {
    margin-top: 60px;
}
  .white-box{
    width: 100%;
    margin: auto 32px;
    min-width: 0 !important;
  }
.feature-box {

    padding-bottom: 0px;
}

 .contact-btn {

    height: 48px;


}
}

.sp-only {
    display: none;
}
.tb-only {
    display: none;
}
@media screen and (max-width: 519px) {

    .pc-only {
        display: none;
    }
    .sp-only {
        display: block;
    }

    .green-button.sp-only {
        display: flex;
    }
}

@media screen and (max-width: 1024px) {
    .tb-only {
        display: block;
    }
}