/*! sanitize.css v13.0.0 | CC0 License | github.com/csstools/sanitize.css */
*,:after,:before {
    background-repeat: no-repeat;
    -webkit-box-sizing: border-box;
    box-sizing: border-box
}

:after,:before {
    text-decoration: inherit;
    vertical-align: inherit
}

:where(:root) {
    -webkit-tap-highlight-color: transparent;
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
    cursor: default;
    line-height: 1.5;
    overflow-wrap: break-word;
    -moz-tab-size: 4;
    -o-tab-size: 4;
    tab-size: 4
}

:where(body) {
    margin: 0
}

:where(h1) {
    font-size: 2em;
    margin: .67em 0
}

:where(dl,ol,ul) :where(dl,ol,ul) {
    margin: 0
}

:where(hr) {
    color: inherit;
    height: 0
}

:where(nav) :where(ol,ul) {
    list-style-type: none;
    padding: 0
}

:where(pre) {
    font-family: monospace,monospace;
    font-size: 1em;
    overflow: auto
}

:where(abbr[title]) {
    text-decoration: underline;
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted
}

:where(b,strong) {
    font-weight: bolder
}

:where(code,kbd,samp) {
    font-family: monospace,monospace;
    font-size: 1em
}

:where(small) {
    font-size: 80%
}

:where(audio,canvas,iframe,img,svg,video) {
    vertical-align: middle
}

:where(iframe) {
    border-style: none
}

:where(svg:not([fill])) {
    fill: currentColor
}

:where(table) {
    border-collapse: collapse;
    border-color: currentColor;
    text-indent: 0
}

:where(button,input,select) {
    margin: 0
}

:where(button,[type=button i],[type=reset i],[type=submit i]) {
    appearance: button;
    -webkit-appearance: button
}

:where(fieldset) {
    border: 1px solid #a0a0a0
}

:where(progress) {
    vertical-align: baseline
}

:where(textarea) {
    margin: 0;
    resize: vertical
}

:where([type="search" i]) {
  appearance: textfield;
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

::-webkit-inner-spin-button,::-webkit-outer-spin-button {
    height: auto
}

::-webkit-input-placeholder {
    color: inherit;
    opacity: .54
}

::-webkit-search-decoration {
    -webkit-appearance: none
}

::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit
}

:where(dialog) {
    background-color: #fff;
    border: solid;
    color: #000;
    height: -moz-fit-content;
    height: -webkit-fit-content;
    height: fit-content;
    left: 0;
    margin: auto;
    padding: 1em;
    position: absolute;
    right: 0;
    width: -moz-fit-content;
    width: -webkit-fit-content;
    width: fit-content
}

:where(dialog:not([open])) {
    display: none
}

:where(details>summary:first-of-type) {
    display: list-item
}

:where([aria-busy=true i]) {
    cursor: progress
}

:where([aria-disabled=true i],[disabled]) {
    cursor: not-allowed
}

:where([aria-hidden=false i][hidden]) {
    display: initial
}

:where([aria-hidden=false i][hidden]:not(:focus)) {
    clip: rect(0,0,0,0);
    position: absolute
}


html {
    scroll-behavior: smooth;
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    -moz-tab-size: 4;
    -o-tab-size: 4;
    tab-size: 4;
    font-family: "Noto Sans JP", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-feature-settings: normal;
    font-variation-settings: normal;
    -webkit-tap-highlight-color: transparent;
  }

body {
    background-color: #243B55;
    margin: auto;
    overflow-x: hidden;
}





.top-padding{
  padding-top: 140px;

}



/* ヘッダー全体 */
.site-header {
    position: fixed;            
    top: 0;                  
    left: 0;
    width: 100%;                
    z-index: 999;            
    background-color: #243B55;  
    border-bottom: 1px solid #243B55;
    box-sizing: border-box;
  }

  .logo {
    display: flex; /* 横並びにする */
    align-items: center;
    padding-left: 20px;
  }
  
  .logo-text {
    display: none;
    color: white;
    font-size: clamp(12px, 3vw, 30px);
    margin-left: 10px;
  }
  
  @media (max-width: 1024px) {
    .logo-text {
      display: inline-block;
    }
  }


.logo img{
  width: clamp(80px, 18vw, 187px); 
  height: auto;
}

.container {
    display: flex;
    justify-content: space-between;
    align-items: center; 
  }




/* ナビメニュー */
.main-nav ul {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    padding: 0;
    padding-right: 18px;
    margin: 0;
  }

.main-nav a {
    font-size: 32px;
    text-decoration: none;
    color: #fff;
    transition: color 0.3s ease;
  }
  

/* ハンバーガーボタン最初は隠す */
.menu-toggle {
  display: none;
}


/* 1024px以下で切り替え */
@media (max-width: 1024px) {

  /* ナビメニュー全体を制御する */
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #243B55;
    display: none; /* 最初は隠す */
    text-align: center;
    z-index: 998; /* ヘッダーより1小さくして重ならないように */
  }

  .main-nav ul {
    display: block; /* 縦並びにする */
    padding: 1rem 0;
  }

  /* ハンバーガー出す */
  .menu-toggle {
    display: block;
    font-size: 32px;
    color: white;
    cursor: pointer;
    padding-right: 50px;
    padding-bottom: 10px;

  }

  @media (max-width: 480px) {
    .menu-toggle {
      padding-right: 30px;
    }
  }

  /* activeが付いたときだけ表示 */
  .main-nav.active {
    display: block;
  }

  .main-nav li {
    margin: 1rem 0;
  }
}





/* ここからコンタクトです */
#contact {
    color: #fff;
    padding: 6rem 1rem 0rem 1rem;
    font-family: sans-serif;
    margin: 0 auto;
    max-width: 1000px;
  }
  
  #contact h2 {
    font-size: 36px;
    margin-bottom: 2rem;
  }
  
  #contact h2 span {
    font-size: 14px;
    color: #fff;
    margin-top: 0.3rem;
  }
  
  form {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1rem 0 1rem;
    padding-right: 2rem; 
    box-sizing: border-box;
  }
  
  
  form label {
    font-weight: bold;
    display: block;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
  }
  
  input[type="text"],
  input[type="email"],
  textarea,
  select {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 0;
    font-size: 1rem;
    background-color: #fefef8;
    color: #000;
    font-family: inherit;
  }
  
  textarea {
    height: 150px;
    resize: vertical;
  }
  
  input::placeholder,
  textarea::placeholder {
    color: #aaa;
  }
  
  .radio-wrapper {
    display: flex;
    gap: 2rem;
    margin-top: 0.5rem;
    font-size: 14px;
    align-items: center;
  }
  
  .radio-wrapper label {
    display: flex;
    align-items: center;
    gap: 0.3rem;
  }
  button[type="submit"],
  button[type="button"] {
    background-color: #3b4b5b;
    color: white;
    font-size: 18px;
    border: none;
    padding: 0.75rem 2.5rem;
    border-radius: 4px;
    margin-top: 2rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
    cursor: pointer;
  }
  
  button:hover {
    background-color: #506579;
  }
  
  .success-message {
    color: #2ecc71;
    text-align: center;
    margin-top: 1rem;
    font-weight: bold;
  }
  
  
  @media screen and (max-width: 480px) {
    #contact {
      padding: 2rem 1rem;
    }
  
  
    form label {
      font-size: 14px;
    }
  
    input[type="text"],
    input[type="email"],
    textarea,
    select {
      width: 100%;
      padding: 1rem;
      box-sizing: border-box;
    }
  
    .radio-wrapper {
      flex-direction: column;
      align-items: flex-start;
      gap: 0.8rem;
    }
  
    button[type="submit"],
    button[type="button"] {
      font-size: 16px;
      padding: 0.6rem 1.5rem;
      width: 100%;
    }
  
    .success-message {
      font-size: 16px;
      padding: 0.5rem 0;
    }
  }

.top-padding {
    padding-top: clamp(75px, 15vw, 140px);
  }
  .visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
  }

/* トップページに戻るボタン */
.back-to-top {
    text-align: left;
    margin-left: 50px;
    margin-bottom: 30px;
  }
  
  .back-to-top a {
    display: inline-block;
    font-size: clamp(12px, 2vw, 20px);
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    border-bottom: 1px solid #fff;
    width: 80%;
  }

  .breadcrumb {
    list-style: none; /* ←黒丸（リストマーク）を消す！ */
    padding: 0;
    margin: 0;
  }

  
  /* ホームページ制作ヘッダー */
  .home-production-header {
    text-align: center;
    margin-bottom: 300px;
    margin-top: 100px;
  }
  
  .home-production-header h1 {
    font-size: clamp(24px, 5vw, 48px);
    margin-bottom: 20px;
    color: #fff;
  }
  
  .home-production-header .sub-title {
    font-size: clamp(14px, 3vw, 24px);
    color: #fff;
    line-height: 1.6;
  }

  /* アニメーションキーフレーム */
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.home-production-header h1 {
  animation: fadeUp 1s ease-out;
}

.home-production-header .sub-title {
  animation: fadeUp 1s ease-out;
  animation-delay: 0.3s;
  animation-fill-mode: both;
}

@media (max-width: 426px) {
  .sub-title {
    padding: 0px 2rem;
  }
}
  



/* ここからコンセプトです */

.home-production-concept {
  text-align: center;
  margin: 150px auto 400px;
  padding: 2rem 70px 2rem 70px;
  max-width: 100%;
  background-color: #fff;
  color: #243B55;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

.home-production-concept h2 {
  font-size: clamp(20px, 4vw, 36px);
  margin-bottom: 1rem;
  margin-top: 0;
  color: #243B55;
  text-align: center;
}

.concept-box {
  text-align: center;
  font-size: clamp(14px, 2.5vw, 20px);
  line-height: 1.8;
}

.concept-box p {
  margin: 0;
}

/* 通常は表示する */
.only-pc {
  display: inline;
}

/* スマホサイズ（例えば768px以下）では消す */
@media (max-width: 768px) {
  .only-pc {
    display: none;
  }
}

/* 最初は透明＋下にズレた状態 */
.fade-up {
  opacity: 0;
  transform: translateY(50px); /* 少し大きめに下にずらす */
  transition: opacity 1.5s ease-out, transform 1.5s ease-out; /* ゆっくりめ 1.5秒 */
}

/* スクロールで見えたら */
.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 426px) {
  .home-production-concept {
    padding: 2rem 2rem; /* ←横paddingをぐっと小さく！ */
    margin: 70px auto 200px;
  }
}
@media (max-width: 320px) {
  .home-production-concept {
    padding: 2rem 1rem; /* ←横paddingをぐっと小さく！ */
  }
  .home-production-concept h2 {
    font-size: 18px;
  }
}





/* 見積参考 */



.home-production-problems {
    background: #f9f9f9; 
  }
  
  .home-production-problems h2 {
    font-size: 28px;
    color: #243B55;
    text-align: center;
    padding-top: 23px;
  }
  

  .problems-container {
    background: #d9d9d9; 
    padding: 2rem 1rem;
    
  }
  
  .problems-box{
    width: 80%;
    margin: 0 auto;
  }
  .problems-padding{
    width: 80%;
    margin: 0 auto;
  }

  .problems-header {
    display: inline-block;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 2rem;
    border-bottom: 2px solid #555;
    padding-bottom: 1rem;
    color: #333;
  }
  

  .problems-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    border: 1px solid #999;
    padding: 1rem;
    margin-bottom: 2rem;
    font-size: 18px;
    font-weight: bold;
  }
  

  .problems-label {
    text-align: left;
  }
  
  .problems-price {
    text-align: right;
  }
  

  .problems-arrow {
    font-size: 30px;
    color: #243B55;
    margin: 2rem 0;
    text-align: center;
  }
  

  .problems-detail {
    background: #fff;
    padding: 2rem 1rem;
    position: relative;
    border: 1px solid #999;
  }
  
  .problems-subheader {
    background: #2c5aa0;
    color: #fff;
    font-weight: bold;
    margin: 0 auto;
    font-size: 20px;
    padding: 0.8rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    text-align: center;
    width: 80%;
  }
  

  .problems-detail ul {
    list-style: none;
    padding: 0 30px 0px;
    margin: 0;
    text-align: left;
    font-size: 20px;
    line-height: 2;
  }
  

  .problems-extra {
    position: absolute;
    top: 100px;
    right: 1px;
  }
  
  .extra-circle {
    width: 150px;
    height: 150px;
    background: #243B55;
    color: #fff;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    font-weight: bold;
    line-height: 1.2;
  }
  
  .extra-circle span {
    padding: 5px 0;
    margin: 5px 0;
    font-size: 20px;
    text-align: center;
  }
  
  .problems-item.bottom {
    margin-top: 100px;
  }

  .plan-note a{
    color: #fff;
  }

  @media (max-width: 426px) {
    .extra-circle {
      width: 100px; /* ←小さくする */
      height: 100px; /* ←小さくする */
      font-size: 14px; /* ←中の文字も少し小さく調整 */
    }
  
    .extra-circle span {
      font-size: 16px; /* ←太文字部分も少し小さく */
    }

    .problems-extra {
      top: 190px; /* ←上に寄せる */
      right: 0; /* ←右に寄せる */
    }
  }

  @media (max-width: 426px) {
    .problems-padding {
      width: 100%; /* ←幅を100%に！ */
      margin: 0; /* ←左右のマージンもゼロに！ */
    }
  }
  @media (max-width: 320px) {
    .problems-box {
      width: 100%; /* ←幅を100%に！ */  
      margin: 0; /* ←左右のマージンもゼロに！ */
      padding: 0; /* ←必要なら少しだけ左右paddingして詰まりすぎ防止 */
    }
  }

    @media (max-width: 426px) {
    .home-production-problems h2 {
      font-size: 20px; /* ←タイトルも少し小さく */
      padding: 1rem 1rem;
      margin-bottom: 0;
    }
  }
  
  




  /* 次は値段サービスです */

  /* プラン一覧（plan） */
.home-production-plan {
  margin: 0;
}
.plan-header {
  background: #3260A5; /* 深い青 (#243B55) に近い */
  padding: 0.1rem 1rem;
  margin: 0;
  text-align: center;
  font-style: Inter;
}
.plan-header h2{
  margin: 0;
}

.home-production-plan h2 {
  font-size: clamp(24px, 5vw, 36px);
  color: #ffffff;
}

.plan-content {
  max-width: 800px;
  margin: 0 auto;
}

.plan-content img {
  width: 100%;
  height: auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  border-radius: 8px;
}





/* プラン詳細（plan-detail） */
/* プラン全体 */
.plan-wrapper {
  background: #243B55;
  padding: 3rem 1rem;
  color: #fff;
  border-radius: 12px;
}

/* プランタイトル */
.plan-title {
  font-size: clamp(20px, 4vw, 28px);
  display: flex;
  align-items: center;
  width: 80%;
  margin: 0 auto;
  margin-bottom: 2rem;
}

.plan-title .bar {
  display: inline-block;
  width: 10px;
  height: 30px;
  background: #44c0e0; /* 水色 */
  margin-right: 1rem;
}

/* プラン表 */
.plan-table {
  display: table;
  width: 80%;
  margin: 0 auto;
  border-collapse: collapse;
  margin-bottom: 2rem;
}

.plan-row {
  display: table-row;
}

.plan-cell {
  display: table-cell;
  padding: 1.5rem;
  border: 1px solid #fff;
  text-align: center;
  vertical-align: middle;
  font-size: clamp(14px, 3vw, 18px);
  background: #fff;
  color: #000;
}

.plan-row.header{
  font-weight: bold;
  background: #fff;
  color: #000;
}

.plan-cell.label {
  background: #004AAD; /* 左側だけ青背景 */
  color: #fff;
  font-weight: bold;
}

/* 注意書き */
.plan-note {
  font-size: clamp(12px, 2.5vw, 16px);
  color: #fff;
  line-height: 1.8;
  text-align: left;
  width: 80%;
  margin: 0 auto;
}

@media (max-width: 426px) {
  /* スマホでは縦並びに */
  .plan-table {
    display: block;
  }

  .plan-row {
    display: block;
    margin-bottom: 2rem;
  }

  .plan-cell {
    display: block;
    width: 100%;
    border: 1px solid #fff;
    text-align: left;
    padding: 1rem;
  }

  .plan-cell.label {
    color: #fff;
    font-weight: bold;
  }

  .plan-wrapper{
    padding-left: 0;
    padding-right: 15px;
  }
}

@media (max-width: 426px) {
  /* 2個目以降に番号つける */
  .plan-row .plan-cell:nth-child(2)::before {
    content: "① ";
    font-weight: bold;
    margin-right: 0.5rem;
  }

  .plan-row .plan-cell:nth-child(3)::before {
    content: "② ";
    font-weight: bold;
    margin-right: 0.5rem;
  }

  .plan-row .plan-cell:nth-child(4)::before {
    content: "③ ";
    font-weight: bold;
    margin-right: 0.5rem;
  }

  /* スマホではbrを消す */
  .plan-row .plan-cell br {
    display: none;
  }
}









/* メリットセクション全体 */

/* セクションタイトル */
.home-production-merits {
  display: grid;
  gap: 20px;
}

.home-production-merits h2 {
  font-size: clamp(20px, 5vw, 28px);
  color: #fff;
  margin-bottom: 3rem;
  width: 80%;
  margin: 0 auto; /* 中央寄せ */
  font-weight: bold;
}

/* メリットブロック */
.merit-block {
  background: #ffffff;
  border-radius: 12px;
  width: 80%;
  margin: 0 auto 20px; /* 中央寄せ */
  padding: 20px;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 400px; /* ← ここで高さを調整。全ブロック共通になります */
  height: 100%;
}

.header-title {
  font-size: clamp(20px, 4vw, 28px);
  display: flex;
  align-items: center;
  width: 80%;
  margin: 0 auto;
  padding: 2rem 0 20px 0;
}

.header-title .bar {
  display: inline-block;
  width: 10px;
  height: 30px;
  background: #44c0e0; /* 水色 */
  margin-right: 1rem;
}

/* 番号＋タイトル */
.merit-number-title {
  display: flex;
  align-items: center;
  font-size: clamp(20px, 4vw, 28px);
}
.merit-number-title h3 {
  margin: 0;
}

.merit-number-title .number {
  color: #243B55;
  font-weight: bold;
  font-size: clamp(28px, 6vw, 28px); /* かなり大きめに */
  margin-right: 1rem;
  flex-shrink: 0;
}

.merit-number-title .highlight {
  font-size: clamp(20px, 5vw, 28px);
  font-weight: bold;
  color: #243B55;
}

/* 赤文字にしたい部分だけ */
.merit-number-title .highlight .red {
  color: #ff5b5b;
}

/* 本文と画像の並び */
.merit-content {
  display: flex;
  flex-direction: column;
  justify-content: center; /* ← この1行を追加 */
  gap: 2rem;
  height: 100%; /* これもあれば入れてください */
}

.merit-text {
  font-size: clamp(14px, 3vw, 18px);
  color: #000;
  line-height: 1.8;
  text-align: left;
  margin: 0 10px;
}

.merit-text strong,
.merit-text .red {
  color: #ff5b5b;
  font-weight: bold;
}

/* 右側の画像 */
.merit-image img {
  width: 100%;
  max-width: 300px;
  height: 80%;
  margin: 0 auto;
  display: block;
  margin: 0 auto;
}

/* スマホ・PC切替 */
@media (min-width: 768px) {
  .merit-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .merit-text {
    flex: 2;
  }
  .merit-image {
    flex: 1;
    text-align: center;
  }
}

@media (max-width: 426px) {
  .merit-content {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    padding: 0 1rem;
  }

  .merit-image img {
    width: 80%;         /* 幅を80%に拡大（以前は40%やmax-widthで制限されていた） */
    max-width: none;    /* 制限を外す */
    height: auto;
    display: block;
    margin: 0 auto;
  }

  .merit-block {
    width: 95%;
    padding: 1rem;
    box-sizing: border-box;
  }

  .merit-text {
    font-size: 15px;
    text-align: left;
  }
}








/* サービスの流れセクション全体 */
.home-production-flow {
  background: #e5e5e5;
  margin-top: 6.5rem;
}

.home-production-flow h2 {
  font-size: clamp(24px, 5vw, 36px);
  background: #fff;
  color: #243B55;
  margin-bottom: 4rem;
  padding: 1rem 0;
  font-weight: bold;
  text-align: center;
}

/* 各STEP */
.flow-steps {
  width: 80%;
  margin: 0 auto;
  padding-bottom: 150px;
}

.flow-step {
  background: #ffffff;
  display: flex;
  justify-content: center;
  flex-direction: row; 
  align-items: stretch;
  align-items: center;
  margin-bottom: 3rem;
  border: 1px solid #ccc;
  gap: 1rem;
}



.flow-step-number {
  display: flex; /* ←絶対必要！flexにする */
  background: #243B55;
  color: #ffffff;
  font-weight: bold;
  font-size: clamp(14px, 3vw, 18px);
  padding: 10rem 1rem;
  text-align: center;
  min-width: 100px;
  height: 100%;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-sizing: border-box; /* ←これを必ず追加！！！ */
}


.flow-step-number span {
  display: block;
  font-weight: bold;
  font-size: clamp(16px, 4vw, 24px);
  line-height: 1.4;
  box-sizing: border-box; /* ←これを必ず追加！！！ */
  height: 100%;
}

.flow-step-content {
  flex: 2;
  text-align: left;
}

.flow-step-content h3 {
  font-size: clamp(18px, 4vw, 24px);
  margin-bottom: 1rem;
  color: #243B55;
}

.flow-step-content p {
  font-size: clamp(14px, 3vw, 18px);
  color: #333;
  line-height: 1.8;
}

.flow-step-image {
  flex: 1;
  text-align: center;
}

.flow-step-image img {
  width: clamp(70px, 18vw, 150px);
  height: auto;

}
@media (max-width: 426px) {
  .flow-step {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 0.2rem; /* ← gapをさらに小さく！（今0.5rem → 0.2remに） */
    margin-bottom: 1.5rem; /* ← ステップ間の余白もさらに縮める */
  }

  .flow-step-number {
    width: 100%;
    min-width: auto;
    padding: 0.3rem 0; /* ←番号部分もさらに上下padding少なく */
    font-size: clamp(14px, 5vw, 18px);
    box-sizing: border-box;
  }

  .flow-step-content {
    text-align: center;
    padding: 0.3rem 0.5rem 0; /* ←本文もpaddingをさらに詰める */
    margin: 5px 0 0 0 ; /* ← marginもゼロにして詰める */
  }
  .flow-step-content h3{
    text-align: center;
    margin: 0; /* ← marginもゼロにして詰める */
  }

  .flow-step-image {
    text-align: center;
  }

  .flow-step-image img {
    max-width: 100px; /* ←画像自体も少し小さめにしてバランスを取る */
  }
}

@media (max-width: 426px) {
  .flow-step-content br {
    display: none; /* ← これでbrを消せる！ */
  }
}

@media (max-width: 426px) {
  .flow-step-number {
    flex-direction: row; /* ←スマホだけ横並び！ */
    gap: 0.5rem; /* ←間も開ける */
  }

  .flow-step-number br {
    display: none; /* ←brはスマホだけ消す！ */
  }
}


/* ここからフッターです */



.site-footer {
    display: block;
    position: relative;
    width: 100vw;
    height: auto;
    aspect-ratio: 16 / 7;
    background: url("../images/footer-background-img.png") no-repeat top center;
    background-size: contain;
    background-repeat: no-repeat;
    overflow: hidden;
    margin-top: 120px;
    color: #243B55;
    }
    
    .footer-inner {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      max-width: clamp(300px, 80%, 1000px);
      margin: 0 auto;  
      gap: 2rem;
    }
    
    .footer-logo-center {
      text-align: center;
      margin-top: 30px;
    }
    
    .footer-logo-center img {
      max-width: 300px;
      height: auto;
      width: clamp(80px, 18vw, 300px);
    }
    
    .footer-info {
      flex: 1;
      min-width: 240px;
      line-height: 1.8;
      margin-top: clamp(0px, 4vw, 30px);
      font-size: clamp(7px, 1.5vw, 25px);
    }
    
    .footer-nav ul {
      list-style: none;
      padding: 0;
      margin: 0;
      margin-top: clamp(0px, 4vw, 30px);
      font-size: clamp(7px, 1.5vw, 25px);
    }
    
    .footer-nav li {
      margin-bottom: 0.8rem;
    }
    
    .footer-nav a {
      text-decoration: none;
      color: #000;
    }
    
    .footer-nav a:hover {
      text-decoration: underline;
    }


    @media (max-width: 1440px) {
      .footer-nav ul {
        font-size: 30px; 
      }
    }
    @media (max-width: 1024px) {
      .footer-nav ul {
        font-size: 18px; 
      }
    }
    @media (max-width: 768px) {
      .footer-nav ul {
        display: grid;
        grid-template-columns: repeat(2, 1fr); 
      }
    }
    @media (max-width: 426px) {
      .footer-nav ul {
        font-size: 9px; 
      }
    }    
    @media (max-width: 321px) {
      .footer-nav ul {
        margin-top: 7px;
      }
    }
    
    @media (max-width: 1024px) {
      .footer-nav  {
        transform: translateX(-60px);
      }
    }
    
    @media (max-width: 768px) {
      .footer-nav  {
        transform: translateX(-60px);
      }
    }
    
    @media (max-width: 462px) {
      .footer-nav  {
        transform: translateX(-40px);
      }
    }
    
    @media (max-width: 321px) {
      .footer-nav  {
        transform: translateX(-50px);
      }
    }
    
    
    @media (max-width: 768px) {
      .footer-nav li  {
        margin-right: 10px;
      }
    }
    
    


    @media (max-width: 1440px) {
      .footer-info {
        font-size: 30px; 
      }
    }
    @media (max-width: 1024px) {
      .footer-info {
        font-size: 18px; 
      }
    }
    @media (max-width: 768px) {
      .footer-info {
        font-size: 13px;
        margin-top: 18px; 
      }
    }
    @media (max-width: 426px) {
      .footer-info {
        font-size: 9px; 
        margin-top: 0;
      }
    }
    
    @media (max-width: 321px) {
      .footer-info {
        transform: translateX(20px);
        font-size: 7px;
      }
    }
    
    
    
    @media (max-width: 425px) {
      .footer-logo-center  {
        margin-top: 10px; 
      }
    }

    @media (max-width: 425px) {
      .site-footer  {
        margin-top: 10px; 
      }
    }
    
    
    .copyright {
      text-align: center;
      font-size: clamp(6px, 0.8vw, 12px); 
      color: #666;
      margin: 0;
    }