html, body {
    overflow-x: hidden; /* 横方向のはみ出しを強制的にカットする */
    width: 100%;
}

/* ========== HERO / SWIPER ========== */
.hero_top {
  position: relative;
  margin-top: 75px;
  display: flex;
  flex-direction: column;

  /* ★ 追加：背景を白にして、万が一の隙間も同化させる（最強の保険） */
  background-color: #fff;
}

.hero_top .swiper {
  width: 100%;
  height: 60vh;
  /* ★ .heroにあった高さを画像エリアに移動 */
  flex-shrink: 0;
}

.hero_top .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* ★ これを追加（画像下部の見えない隙間を消す） */
}

/* ========== HERO SCROLL INDICATOR ========== */
.hero-scroll {
  position: absolute;
  right: 40px;
  bottom: 0px;
  z-index: 10;
  display: flex;
  flex-direction: row;
  /* ★ column(縦並び) から row(横並び) に変更！ */
  align-items: center;
  /* 縦の真ん中で揃える */
  gap: 12px;
  /* 文字と線の隙間を開ける */
}

.hero-scroll-text {
  font-family: 'Heebo', sans-serif;
  font-weight: 500;
  font-size: 12px;
  color: #f5f5f5;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  /* 縦書き指定 */
  transform: translateY(-15px);
}

.hero-scroll-line {
  position: relative;
  /* ★ ドットの動きの基準点にするために追加 */
  width: 1px;
  height: 100px;
  background: #F5F5F5;
  /* ★ 線を少し半透明にするとドットが目立ちます */
}

.hero-scroll-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  /* 線のど真ん中に配置 */
  width: 7px;
  /* 画像に合わせて少し大きめに */
  height: 7px;
  /* 画像に合わせて少し大きめに */
  border-radius: 50%;
  background: #f5f5f5;

  /* ★ 上から下へ動くアニメーション */
  animation: scrollDown 2s infinite cubic-bezier(0.15, 0.41, 0.69, 0.94);
}

/* ★ アニメーションの動きの指定（追加） */
@keyframes scrollDown {
  0% {
    top: 0;
    opacity: 0;
  }

  20% {
    opacity: 1;
  }

  80% {
    top: 100%;
    opacity: 0;
  }

  100% {
    top: 100%;
    opacity: 0;
  }
}

.hero-overlay {
  background: #fff;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  width: 90%;
  max-width: 1500px;

  /* ★ マイナスマージンは不要になるので通常の中央寄せに戻す */
  margin: 0 auto;

  z-index: 10;
  opacity: 0;
  transform: translateX(-30px);
  animation: heroOverlayIn 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.1s forwards;
}

@keyframes heroOverlayIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ★ 新しく追加するクラス（左側の日本語テキストを縦に並べる用） */
.hero-overlay-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
  /* 右のAMAYADORIと下端のラインを微調整 */
}

.hero-overlay-sub {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  /* ★ベースは500に下げる */

  /* ★追加：文字と同じ色で「0.2px〜0.4px」の縁取りをして太らせる */
  -webkit-text-stroke: 0.3px #1d1d1d;
  font-size: clamp(14px, 2vw, 24px);
  color: #1d1d1d;
  line-height: 1.45;
  letter-spacing: 0.02em;
}

.hero-overlay-sub2 {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  /* ★ベースは500に下げる */

  /* ★追加：文字と同じ色で「0.2px〜0.4px」の縁取りをして太らせる */
  -webkit-text-stroke: 0.3px #1d1d1d;
  font-size: clamp(12px, 1.5vw, 18px);
  color: #1d1d1d;
  letter-spacing: 0.02em;
}

/* ★ AMAYADORIの文字サイズ変更（最大120px） */
.hero-overlay-title {
  font-family: 'Heebo', sans-serif;
  font-weight: 700;
  /* 最小40px、通常時は画面幅の8%程度、最大120pxに設定 */
  /* 30vwだと大きすぎるため、8vw前後に戻すのがおすすめです */
  font-size: clamp(40px, 8vw, 120px);
  color: #1d1d1d;
  letter-spacing: 4px;
  line-height: 0.8;
  /* 行間をさらに詰めて、上の見えない余白をなくす */
}

.hero-pagination {
  position: absolute;
  right: 120px;
  bottom: 40px !important;
  z-index: 10;
  display: flex;
  gap: 18px;
  left: auto !important;
  width: auto !important;
}

.hero-pagination .swiper-pagination-bullet {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #a5a5a5;
  opacity: 1;
  margin: 0 !important;
  transition: background 0.3s;
}

.hero-pagination .swiper-pagination-bullet-active {
  background: #1d1d1d;
}

/*-----------------------------------
    レスポンシブ: PC (max-width: 1500px)
-----------------------------------*/
@media screen and (max-width: 1500px) {}

/*-----------------------------------
    レスポンシブ: PC小 (max-width: 1280px)
-----------------------------------*/
@media screen and (max-width: 1280px) {

  /* PC用フォントのまま画面が狭くなると窮屈になるため、少しだけ縮小 */
  .hero-overlay-sub {
    font-size: 18px;
  }

  .hero-overlay-sub2 {
    font-size: 14px;
  }

  /* ページネーションが被らないように少し内側へ */
  .hero-pagination {
    right: 60px;
  }
  .hero-scroll {
  right: 10px;
}
}

/*-----------------------------------
    レスポンシブ: タブレット (max-width: 980px)
-----------------------------------*/
@media screen and (max-width: 980px) {

  /* タブレットサイズでは横並びだと文字がぶつかる可能性が高いため、縦並びに切り替え */
  .hero-overlay {
    flex-direction: column-reverse;
    justify-content: center;
    gap: 16px;
    /* 上の日本語と下のAMAYADORIの隙間 */
    padding: 30px 0;
  }

  .hero-overlay-text {
    margin-top: 0;
  }

  .hero-overlay-title {
    font-size: clamp(48px, 15vw, 80px);
    /* 画面に合わせて程よく縮小 */
    letter-spacing: 0.2em;
  }

  /* --- テキスト白帯エリア --- */
  .hero-overlay {
    width: 90%;
    /* PC版と同じ90%にすることで、全体の統一感をキープ */
    margin: 50px auto 0 10px;
    padding: 0px 0 0px;
    /* スマホ用に上下の余白を最適化 */
    gap: 8px;
    /* 文字同士の隙間を少し詰める */
    align-items: flex-start;
    /* 左寄せ */
  }

  .hero-overlay-sub2 {
    font-size: 18px;
    letter-spacing: 0.04em;
    -webkit-text-stroke: 0;
  }  
  .hero-overlay-sub {
    font-size: 18px;
    /* スマホで長文が改行されないギリギリの美しさ */
    letter-spacing: 0.04em;
    -webkit-text-stroke: 0;
  }
.hero_top .swiper {
  width: 100%;
  height: 45vh;
  /* ★ .heroにあった高さを画像エリアに移動 */
  flex-shrink: 0;
}



}

/*-----------------------------------
    レスポンシブ: スマートフォン (max-width: 640px)
-----------------------------------*/
@media screen and (max-width: 640px) {
  .hero_top {
    margin-top: 60px;
  }

  /* --- MV画像エリア --- */
  .hero_top .swiper {
    height: calc(45svh - 60px);
    max-height: 550px;
  }

  /* --- スクロールインジケーター --- */
  .hero-scroll {
    right: 10px;
    bottom: 0px;
    gap: 5px;
  }

  .hero-scroll-line {
    height: 60px;
  }

  /* --- テキスト白帯エリア --- */
  .hero-overlay {
    width: 95%;
    /* PC版と同じ90%にすることで、全体の統一感をキープ */
    margin: 50px auto 0 5px;
    padding: 0px 0 0px;
    /* スマホ用に上下の余白を最適化 */
    gap: 12px;
    /* 文字同士の隙間を少し詰める */
    align-items: flex-start;
    /* 左寄せ */
  }

  .hero-overlay-text {
    gap: 8px;
  }

  .hero-overlay-sub {
    font-size: 15px;
    /* スマホで長文が改行されないギリギリの美しさ */
    letter-spacing: 0.04em;
    -webkit-text-stroke: 0;
  }

  .hero-overlay-sub2 {
    font-size: 15px;
    letter-spacing: 0.04em;
    -webkit-text-stroke: 0;
  }

  .hero-overlay-title {
    /* 推奨値を 26vw から 21vw 前後に下げます */
    /* これで「9文字」が横幅 95% にちょうど収まる計算になります */
    font-size: 53px;

    width: 100%;
    white-space: nowrap;
    /* ★絶対に改行させず、1行に収めるお守り */
    letter-spacing: 0.17em;
    /* 文字間を詰めると、その分文字を大きくできます */
    line-height: 0.8;
  }

  /* --- ページネーション（右側のドット） --- */
  .hero-pagination {
    position: absolute;
    right: 16px;
    bottom: 60% !important;
    transform: translateY(50%);
    /* 完全に縦の真ん中に配置 */
    display: flex;
    flex-direction: column;
    /* 縦並びに変更 */
    gap: 16px;
    left: auto !important;
    width: auto !important;
  }

  .hero-pagination .swiper-pagination-bullet {
    width: 6px;
    height: 6px;
    margin: 0 !important;
  }

}

/* ========== ABOUT ========== */
.about {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 90px 0 100px;
  gap: 10%;
}

.about-image {
  flex-shrink: 0;
  width: 45%;
  max-width: 554px;
  object-fit: cover;
}

.about-content {
  flex: 1;
  padding-top: 5px;
}

.about-title {
  font-family: 'Shippori Mincho B1', serif;
  font-weight: 700;
  font-size: 30px;
  color: #1d1d1d;
  line-height: 1.6;
  margin-bottom: 24px;
}

.about-text {
  font-family: 'Shippori Mincho B1', serif;
  font-weight: 600;
  font-size: 14px;
  color: #1d1d1d;
  line-height: 2.5;
  letter-spacing: 0.42px;
  margin-bottom: 24px;
}

.about-subtitle {
  font-family: 'Shippori Mincho B1', serif;
  font-weight: 700;
  font-size: 30px;
  color: #1d1d1d;
  margin-bottom: 16px;
}

/*-----------------------------------
    レスポンシブ: PC (max-width: 1500px)
-----------------------------------*/
@media screen and (max-width: 1500px) {}

/*-----------------------------------
    レスポンシブ: PC小 (max-width: 1280px)
-----------------------------------*/
@media screen and (max-width: 1280px) {
  .about {
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 80px 32px 60px;
    gap: 48px;
  }

  .about-image {
    width: 100%;
    height: 400px;
  }

  .about-content {
    text-align: center;
    width: 100%;
    max-width: 500px;
  }

  .about-title {
    font-size: 26px;
  }
}

/*-----------------------------------
    レスポンシブ: タブレット (max-width: 840px)
-----------------------------------*/


/*-----------------------------------
    レスポンシブ: スマートフォン (max-width: 640px)
-----------------------------------*/
@media screen and (max-width: 640px) {
  .about {
    padding: 60px 0px 48px;
    gap: 40px;
  }

.about-image {
  height: 250px;
  width: 80vw; /* 画像の幅はお好みで調整 */
  display: block;

  /* --- ここがポイント --- */
  margin-left: auto; /* 左側を自動にして右に寄せる */
  margin-right: calc(50% - 50vw); /* 魔法の計算式：親要素の幅に関わらず画面右端に固定 */
  
  object-fit: cover;
  /* 横揺れ防止の念押し */
  max-width: none; 
}

  .about-title {
    font-size: 22px;
  }

  .about-subtitle {
    font-size: 24px;
  }

  .about-content {
    text-align: left;
  }

  .about-text {
    font-size: 13px;
    line-height: 2.2;
  }
}

@media screen and (max-width: 400px) {


.about-image {
    height: 170px;
  }
}

/* ========== FEATURES (about page) ========== */
/* --- 1. PC用（ベーススタイル） --- */
.about-features {
  position: relative;
  background-color: #1D1D1D;
}

.about-features-inner {
  position: relative;
  z-index: 2;
  padding: 100px 0px 120px;
}

.about-features-header {
  display: flex;
  justify-content: space-between;
  /* 左と右にピタッと振り分ける */
  align-items: flex-end;
  /* 下のラインで揃える（中央揃えが良い場合は center に変更） */
  margin-bottom: 80px;
}

.features-cta-mobile {
  display: none;
}

.about-features-header .section-title-en,
.about-features-header .section-title-ja {
  color: #fff;
}


/* ボタンが潰れないようにする設定 */
.about-features-header .btn-outline {
  flex-shrink: 0;
  /* 画面が狭くなってもボタンの横幅を維持する */
}

.about-features-header .section-title-ja {
  margin-bottom: 0;
}

.about-features-grid {
  display: flex;
  gap: 45px;
}

.about-feature-card {
  flex: 1;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.about-feature-card:hover {
  transform: translateY(-6px);
}

.about-feature-label {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1px 5px;
  margin-bottom: 12px;
}

.about-feature-line {
  width: 16px;
  height: 1px;
  background: #fff;
}

.about-feature-num {
  font-family: 'Heebo', sans-serif;
  font-weight: 500;
  font-size: 32px;
  color: #fff;
  line-height: 1;
}

.about-feature-label-text {
  font-family: 'Heebo', sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.7px;
}

.about-feature-title {
  font-family: 'Shippori Mincho B1', serif;
  font-weight: 700;
  font-size: 24px;
  color: #fff;
  letter-spacing: 0.48px;
  padding-left: 1em;
  margin-bottom: 16px;
}

.about-feature-image {
  width: 100%;
  height: 271px;
  object-fit: cover;
  margin-bottom: 16px;
}

.about-feature-desc {
  font-family: 'Shippori Mincho B1', serif;
  font-weight: 600;
  font-size: 16px;
  color: #fff;
  width: 95%;
  margin: 0 auto;
  line-height: 1.75;
  letter-spacing: 0.32px;
}

/*-----------------------------------
    レスポンシブ: PC (max-width: 1500px)
-----------------------------------*/
@media screen and (max-width: 1500px) {}

/*-----------------------------------
    レスポンシブ: PC小 (max-width: 1280px)
-----------------------------------*/
@media screen and (max-width: 1280px) {
  .about-features-bg {
    left: 0;
    right: 0;
  }

  .about-features-inner {
    padding: 80px 32px;
  }

  .about-feature-title {
    font-size: 18px;
    height: auto;
  }

  .about-feature-desc {
    font-size: 14px;
  }

  .about-features-grid {
    gap: 30px;
  }

  .about-feature-image {
    height: 300px;
  }
}

/*-----------------------------------
    レスポンシブ: タブレット (max-width: 840px)
-----------------------------------*/
@media screen and (max-width: 840px) {
  .feature-title {
    font-size: 18px;
    line-height: 1.5;
    min-height: 54px;
  }

  .feature-desc {
    font-size: 14px;
    color: #fff;
    line-height: 1.7;
  }

  .about-features-grid {
    flex-direction: column;
    gap: 48px;
  }

  /* スマホ時はヘッダーの構成を縦に（またはブロックに）して余白を調整 */
  .about-features-header {
    display: block;
    margin-bottom: 40px;
  }

  /* スマホ時は上のボタンを隠す */
  .about-features-header .btn-outline {
    display: none;
  }

  .about-feature-title {
    height: auto;
    font-size: 21px;
  }

  /* スマホ時は下のボタンを表示する */
  .features-cta-mobile {
    display: flex;
    justify-content: center;
    margin-top: 48px;
  }

  .features-cta-mobile .btn-outline {
    width: 100%;
  }

  .about-feature-image {
    height: 350px;
  }
}

/*-----------------------------------
    レスポンシブ: スマートフォン (max-width: 640px)
-----------------------------------*/
@media screen and (max-width: 640px) {
  .about-features-inner {
    padding: 60px 20px;
  }

  .about-feature-label {
    margin-bottom: 5px;
  }

  .about-feature-title {
    font-size: 20px;
    height: auto;
  }

  .about-feature-image {
    height: 250px;
  }

  .about-feature-desc {
    font-size: 14px;
  }

  .about-features-grid {
    gap: 30px;
  }
}

/* ========== ACCEPTED ITEMS ========== */
.items {
  padding: 100px 0 100px;
  text-align: center;
}

#items .contents_inner {
  width: 95%;
}

.items .section-title-en,
.items .section-title-ja {
  color: #1d1d1d;
}

.items-desc {
  font-family: 'Shippori Mincho B1', serif;
  font-weight: 600;
  font-size: 16px;
  color: #1d1d1d;
  line-height: 1.875;
  letter-spacing: 0.48px;
  margin-bottom: 57px;
}

.items-grid {
  display: flex;
  gap: 44px;
  margin-bottom: 57px;
}

.item-card {
  flex: 1;
  aspect-ratio: 1 / 1;
  /* ★これを追加！幅に合わせて高さが自動で同じになり、正方形になります */
  position: relative;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  /* （display: block; は重複していたので削除しました） */
  align-items: center;
  /* 上下の中央揃え */
  justify-content: center;
  /* 左右の中央揃え */
}

.item-card img {
  width: 90%;
  height: 90%;
  object-fit: contain;
  object-position: center center;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.item-card:hover img {
  transform: scale(1.08);
}

.item-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.40);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  transition: background 0.4s ease;
}

.item-card:hover .item-card-overlay {
  background: rgba(0, 0, 0, 0.55);
}

.item-card-en {
  font-family: 'Heebo', sans-serif;
  font-weight: 700;
  font-size: 28px;
  color: #fff;
  line-height: 1.47;
  letter-spacing: 2.24px;
  text-transform: uppercase;
  transition: transform 0.4s ease, letter-spacing 0.4s ease;
}

.item-card:hover .item-card-en {
  transform: translateY(-4px);
  letter-spacing: 2px;
}

.item-card-ja {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: #fff;
  margin-top: 4px;
  transition: opacity 0.4s ease 0.05s;
  opacity: 0.85;
}

.item-card:hover .item-card-ja {
  opacity: 1;
}

.items .btn-outline-wide {
  margin: 0 auto;
}

/*-----------------------------------
    レスポンシブ: PC (max-width: 1500px)
-----------------------------------*/
@media screen and (max-width: 1500px) {}

/*-----------------------------------
    レスポンシブ: PC小 (max-width: 1280px)
-----------------------------------*/
@media screen and (max-width: 1280px) {
  .items {
    padding: 80px 0 60px;
  }

  .items-grid {
    flex-wrap: wrap;
    gap: 16px;
  }

  .item-card-en {
    font-size: 18px;
  }

  .item-card-overlay {
    padding: 0 20px;
  }
}

/*-----------------------------------
    レスポンシブ: タブレット (max-width: 840px)
-----------------------------------*/
@media screen and (max-width: 840px) {}

/*-----------------------------------
    レスポンシブ: スマートフォン (max-width: 640px)
-----------------------------------*/
@media screen and (max-width: 640px) {
  .items {
    padding: 60px 0 48px;
  }

  .items-grid {
    flex-direction: row;
    flex-wrap: wrap;
    padding: 0 20px;
    gap: 12px;
    margin-bottom: 48px;
  }

  .item-card {
    flex: 0 0 calc(50% - 6px);
  }

  .item-card-en {
    font-size: 16px;
  }

  .item-card-ja {
    font-size: 12px;
  }

  .items-desc {
    font-size: 14px;
    padding: 0 25px;
    margin-bottom: 48px;
  }
}

/* ========== LANDSCAPE ========== */
/* Landscape (PC・スマホ共通のベース設定) */
.landscape {
  width: 100%;
  height: 523px;

  background-image: url("../img/index/landscape.jpg");
  /* 画像のパスを指定 */
  background-size: cover;
  /* 枠いっぱいに広げる（object-fit: coverと同じ） */
  background-position: center;
  /* 中央基準で配置 */
  background-repeat: no-repeat;
  /* 繰り返さない */

  background-attachment: fixed;
}

/*-----------------------------------
    レスポンシブ: PC (max-width: 1500px)
-----------------------------------*/
@media screen and (max-width: 1500px) {}

/*-----------------------------------
    レスポンシブ: PC小 (max-width: 1280px)
-----------------------------------*/
@media screen and (max-width: 1280px) {}

/*-----------------------------------
    レスポンシブ: タブレット (max-width: 840px)
-----------------------------------*/
@media screen and (max-width: 840px) {}

/*-----------------------------------
    レスポンシブ: スマートフォン (max-width: 640px)
-----------------------------------*/
@media screen and (max-width: 640px) {
  .landscape {
    height: 250px;

    background-image: url("../img/index/landscape_sp.jpg");
    background-attachment: scroll;
    background-position: center top;
    background-size: cover;
  }
}

/* ========== HOW IT WORKS ========== */
/* =========================================
   HOW IT WORKS - 新しいタイムライン設計
========================================= */
#how {
  padding: 100px 0 100px;
}

#how .section-title-ja {
  margin-bottom: 80px;
}

#how .swiper {
  padding-bottom: 20px !important;
}

/* 1ステップの枠組み（SVGの距離に合わせて幅を固定） */
.how-step-box {
  position: relative;
  width: 350px !important;
  /* Swiperの自動幅を上書きして固定幅にする */
  height: 250px;
  /* 縦線が収まる高さを確保 */
  margin-right: 0 !important;
}

/* --- 最後の閉じる線用の枠（幅をゼロにする） --- */
.how-last-box.is-last {
  width: 0 !important;
  /* 幅をなくす */
  min-width: 0 !important;
  margin-right: 0 !important;
  /* Swiperの余白を消す */
  padding: 0 !important;
}

/* 最後のスライドには横の点線を表示させない */
.how-last-box.is-last .step-hline {
  display: none !important;
}

/* ① 左端の境界線グループ（絶対配置で左端に固定） */
.step-boundary {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
}

/* STEPと数字（ドットの「上」に配置） */
.step-header {
  position: absolute;
  bottom: 15px;
  /* ドットからの距離 */
  left: 0;
  transform: translateX(-50%);
  /* 縦線の真上にセンタリング */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.step-label {
  font-family: 'Heebo', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #1d1d1d;
  line-height: 1;
  margin-bottom: 2px;
}

.step-num {
  font-family: 'Heebo', sans-serif;
  font-size: 32px;
  font-weight: 500;
  color: #1d1d1d;
  line-height: 1;
}

/* 黒いドット */
.step-dot {
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  /* 十字の交点ど真ん中に配置 */
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #333;
}

/* 縦の実線（ドットから下に伸びる） */
.step-vline {
  position: absolute;
  top: 0;
  left: 0;
  transform: translateX(-50%);
  width: 1px;
  height: 240px;
  /* 縦線の長さ */
  background: #1d1d1d;
}

/* ② 横の点線（次のステップまで伸びる） */
.step-hline {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  transform: translateY(-50%);
  background-color: transparent;
  background-image: repeating-linear-gradient(to right, #1d1d1d, #1d1d1d 2px, transparent 1px, transparent 10px);
  z-index: 1;
}

/* ③ コンテンツ部分（テキスト・アイコン・ボタン） */
.step-content {
  padding-top: 40px;
  /* ドットからテキストまでの間隔 */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-left: 10px;
  padding-right: 10px;
}

.step-text {
  font-family: 'Shippori Mincho B1', serif;
  font-size: 16px;
  font-weight: 600;
  color: #1d1d1d;
  line-height: 1.6;
  min-height: 52px;
  /* ★重要：1行でも2行でも高さを揃え、アイコンの位置を横一列にする */
  margin-bottom: 20px;
}

.step-icon {
  width: 70px;
  height: 70px;
  object-fit: contain;
  margin-bottom: 24px;
}

.how .btn-outline-wide {
  display: flex;
  /* ★これを追加して inline-flex を上書きします */
  margin: 0 auto;
}

/* 黒いボタン */
.btn-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #1d1d1d;
  color: #fff;
  font-family: 'Shippori Mincho B1', serif;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 40px;
  text-decoration: none;
  transition: background 0.3s;
}

.btn-dark:hover {
  background: #444;
}

/* --- Bottom --- */
.how-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 32px 0 48px;
  padding: 0 150px;
}

/*-----------------------------------
    レスポンシブ: PC (max-width: 1500px)
-----------------------------------*/
@media screen and (max-width: 1500px) {}

/*-----------------------------------
    レスポンシブ: PC小 (max-width: 1280px)
-----------------------------------*/
@media screen and (max-width: 1280px) {}

/*-----------------------------------
    レスポンシブ: タブレット (max-width: 840px)
-----------------------------------*/
@media screen and (max-width: 840px) {}

/*-----------------------------------
    レスポンシブ: スマートフォン (max-width: 640px)
-----------------------------------*/
@media screen and (max-width: 640px) {
  #how {
    padding: 60px 0 50px;
  }

  #how .section-title-ja {
    margin-bottom: 40px;
  }

  .how-step-box {
    width: 280px !important;
    /* スマホ画面に合わせて幅をグッと狭める */
    height: 220px;
    /* 全体の高さ */
  }

  .how-last-box.is-last {
    width: 0 !important;
    margin-right: 0 !important;
  }

  /* STEPと数字のサイズ調整 */
  .step-header {
    bottom: 16px;
    /* ドットとの距離を少し縮める */
  }

  .step-num {
    font-size: 26px;
  }

  .step-label {
    font-size: 12px;
  }

  /* 境界線（ドット・点線・縦線）の調整 */
  .step-vline {
    height: 210px;
    /* 縦線を少し短くする */
  }

  .step-hline {
    /* スマホ用に点線の間隔を少し狭める（お好みで） */
    background-image: repeating-linear-gradient(to right, #1d1d1d, #1d1d1d 1px, transparent 1px, transparent 8px);
  }

  /* コンテンツ（テキスト・アイコン・ボタン）の調整 */
  .step-content {
    padding-top: 30px;
    padding-left: 5px;
    padding-right: 5px;
  }

  .step-text {
    font-size: 13px;
    /* 改行が多くならないように少し小さく */
    line-height: 1.5;
    /* ★重要：スマホでテキストが3行になってもアイコンの高さが揃うように、少し高めに確保します */
    min-height: 60px;
    margin-bottom: 16px;
  }

  .step-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 16px;
  }

  /* ボタンの調整 */
  .how-step-box .btn-dark {
    padding: 10px 20px;
    font-size: 12px;
    width: 100%;
    /* スマホではボタンを押しやすいように横幅いっぱいに広げる */
  }

  .how-bottom {
    margin: 20px 0 40px;
  }
}