/* media-lending.css */


    .media-lending-page {
      font-family: "Helvetica Neue", sans-serif;
      max-width: 900px;
      margin: auto;
      padding: 1.5em;
    }

    .media-lending-page img {
      max-width: 100%;
      height: auto;
      display: block;
      margin: 1.5em auto;
    }

    .media-lending-page p {
      font-size: 16px;
      line-height: 1.8;
      margin: 1.5em 0;
      text-align: left;
    }

    .media-lending-page p.strong {
      font-size: 18px;
      font-weight: bold;
    }

    .flow-section {
      width: 100%;
      padding: 2em 1em;
      background: #fff;
      font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
    }

    .flow-container {
      max-width: 1000px;
      margin: 0 auto;
      width: 80%;
    }

    .flow-heading {
      font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
      font-size: 1.5em;
      color: #a1793c;
      border-left: 4px solid #a1793c;
      padding-left: 0.5em;
      margin: 0 0 1em 0;
      padding-top: 0;
      line-height: 1.4;
    }

    .step-block {
      display: flex;
      align-items: flex-start;
      margin-bottom: 1em;
      flex-wrap: wrap;
    }

    .step-image {
      position: relative;
      width: 60px;
      margin-right: 1em;
      text-align: center;
    }

    .step-image img {
      position: relative;
      z-index: 1;
      display: block;
      margin: 0 auto;
    }

    .vertical-line {
      position: absolute;
      top: 60px;
      left: 50%;
      transform: translateX(-50%);
      width: 1px;
      height: 60px;
      background-color: #d8c7a1;
      z-index: 0;
    }

    .step-content {
      flex: 1;
    }

    .step-title {
      font-weight: bold;
      font-size: 1.2em;
      margin: 0 0 0.5em;
    }

    .step-sub {
      margin: 0 0 1em;
    }

    .step-description {
      font-size: 16px;
      line-height: 1.8;
      margin-bottom: 1.5em;
    }

    .step-list {
  padding-left: 1.2em;  /* リストの左余白を明示 */
  list-style-type: disc;  /* 黒丸の箇条書きに */
  text-align: left;  /* センター寄せ解除 */
  margin-top: 0.5em;
  margin-bottom: 1.5em;
    }

.step-list li {
  margin-bottom: 0.5em;
  list-style-type: disc; /* 念押し */
}

    .divider {
      border: none;
      border-bottom: 1px solid #ccc;
      margin: 2em 0;
    }

    .button-wrapper {
      text-align: right;
      margin-bottom: 2em;
    }

.contact-button-rent {
  background-color: #888 !important;
  color: #fff !important;
  text-decoration: none !important;
  padding: 0.7em 1.2em !important;
  border-radius: 4px !important;
  font-weight: bold !important;
  font-size: 0.95em !important;
  min-width: 200px !important; 
  display: inline-block !important;
  text-align: center !important;
}



@media (max-width: 768px) {

  .media-lending-page {
    padding: 1em 0.5em;  /* スマホでは左右の余白を狭める */
    max-width: 100%;     /* 幅を画面いっぱいに */
  }

  .flow-section {
    padding: 0em 0em;
  }

  .flow-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    box-sizing: border-box;
  }

  .flow-heading {
    margin-top: 4em;
    margin-bottom: 0.1em;
  }

.flow-heading.step {
  margin-bottom: 1.5em; /* ← これで特定の見出しだけ余白を広く */
}
  .step-block {
    margin-bottom: 0.5em;
    flex-direction: column;
  }

  .step-description {
    margin-top: 0;
    margin-bottom: 0.5em; /* ボタンとの間隔は少し取る */
  }

  .button-wrapper {
    margin-top: 0.5em;       /* 本文との隙間を詰める */
    margin-bottom: 2.5em;    /* 次セクション見出しとの余白は保つ */
    text-align: center;
  }

  .contact-button-rent {
    display: inline-block;
    max-width: 300px;
    width: 100%;
    padding: 0.7em 1.2em;
    box-sizing: border-box;
  }

  .vertical-line {
    display: none;
  }

}
