/* font */
@font-face {
  font-family: 'HiraginoMaruGothicStd';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/HiraginoMaruGothicStd_W6.woff2') format('woff2'),
  url('fonts/HiraginoMaruGothicStd_W6.woff') format('woff');
}
@font-face {
  font-family: 'HiraginoMaruGothicStd';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('fonts/HiraginoMaruGothicStd_W8.woff2') format('woff8'),
  url('fonts/HiraginoMaruGothicStd_W8.woff') format('woff');
}

/* Reset CSS */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Hiragino Maru Gothic StdN", "Hiragino Maru Gothic Pro", sans-serif;
  font-weight: 400;
  line-height: 1.5;
  background-color: #F0FEFF;
  color: #333333;
}

img {
  max-width: 100%;
  display: block;
}

/* Container */
.container {
  width: 100%;
  /*max-width: 375px;*/
  margin: 0 auto;
  background-color: #fff;
}

/* Header */
header {
  display: flex;
  align-items: center;
  justify-content: flex-start; /* 左寄せ */
  gap: 0.5rem;
  padding: 5px 10px 10px 10px;
  border-bottom: 1px solid #eee;
}

header img {
  height: 50px;
  width: auto;
  padding-top: 13px;
}

header p {
  color: #00C2C9;
  font-weight: bold;
}

/* Support Banner */
.support-banner {
  background-color: #00c4cc;
  color: #fff;
  text-align: center;
  padding: 0.5rem;
  font-weight: bold;
}

.banner-arrow {
  display: block; /* imgをブロック要素に変換 */
  margin: 0 auto; /* 左右マージンをautoにして中央寄せ */
  max-width: 50px; /* 画像の幅を調整（必要であれば） */
  height: auto; /* 比率を維持 */
}

/* Hero Section */
.hero {
  padding: 8px, 0, 0, 0;
  text-align: left;
  position: relative;
  width: 100%;
  /* セクションの背景画像を2枚縦に並べる */
  background-image: url("img/background-ten.jpg"), url("img/background-white.png");
  background-size: 375px, 200px;          /* 各画像のサイズ調整 */
  background-position: top center, bottom center;
  background-repeat: no-repeat, no-repeat;
}

.hero-header {
  display: flex;
  align-items: flex-start; /* 画像とテキストの上端を揃える */
  gap: 20px;
  position: relative; /* overlayを重ねるため */
}

.hero ul li {
  white-space: nowrap; /* 自動改行を禁止 */
}

.hero-img {
  width: 38%;        /* ← 画像を小さく（お好みで%やpx指定） */
  height: auto;
  display: block;
  margin-left: auto; /* ← 右寄せのポイント */
  margin-right: 13px;
}

.hero-overlay {
  position: absolute;
  top: 50%;             /* 垂直中央 */
  left: 45%;            /* 水平中央 */
  transform: translate(-50%, -50%);
  z-index: 1;           /* 画像より前面 */
  color: rgb(18, 17, 17);
  text-align: left;
}

.hero-overlay img {
  display: block;
  margin: 0 auto 13px auto; /* 上0、左右自動、下5px */
  width: 10%;
  position: static;
  
  /* 画像を少し右にずらす */
  transform: translateX(20px); /* 右に20px移動 */
}

.hero-overlay h1 {
  font-family: "Hiragino Maru Gothic StdN", "Hiragino Maru Gothic Pro", sans-serif;
  font-family: "HiraginoMaruGothicStd", sans-serif;
  font-weight: 800;
  line-height: 1.4; /* 数値を小さくすると行間が狭く、大きくすると広くなる */
  font-size: 25px;
  margin-bottom: 20px;
  padding-top: 0;
}

.hero-overlay ul {
  list-style: none;
  padding-top: 8px;
  padding-bottom: 10px;
  padding-left: 0;
  text-shadow:
      1px 1px 0 #ffffff,     /* 右下 */
     -1px 1px 0 #ffffff,     /* 左下 */
      1px -1px 0 #ffffff,    /* 右上 */
     -1px -1px 0 #ffffff;    /* 左上 */
}

.hero-overlay ul li {
  font-family: "HiraginoMaruGothicStd", sans-serif;
  font-weight: 600;
  position: relative;
  padding-left: 25px;
  margin-bottom: 0.5rem;
  font-size: 13px;
}

.hero-overlay ul li .highlight-color2 {
  color: #FA9600;
  /*font-weight: 700;*/
  text-shadow:
      1px 1px 0 #ffffff,
     -1px 1px 0 #ffffff,
      1px -1px 0 #ffffff,
     -1px -1px 0 #ffffff;
}

.hero-overlay ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 15px;   /* 画像サイズ */
  height: 15px;
  background-image: url('img/check-icon.png'); /* 画像パス */
  background-size: contain;  /* 画像の比率を維持 */
  background-repeat: no-repeat;
}

.highlight {
  color: #FFFB00; /* 好きな色に変更 */
  font-weight: 900; /* 必要に応じて太字に */
}

.highlight-color {
  font-family: "Hiragino Maru Gothic ProN", "Hiragino Maru Gothic Pro", sans-serif;
  font-family: "HiraginoMaruGothicStd", sans-serif;
  font-weight: 800;
  color: #07ABB1;
}

.highlight-color2 {
  color: #FA9600;
  font-weight: 700; 
}

.highlight-size {
  font-size: 20px;   /* サイズを変更 */
  font-weight: 900;
}

/* Steps */
.steps {
  display: flex;
  align-items: center;
  justify-content: space-between; /* ステップを均等配置 */
  gap: 5px;
  margin: 10px 0;
  width: 300px; /* 横幅を固定 */
  max-width: 100%; /* モバイルでもはみ出さないように */
  margin-left: auto; /* 中央寄せ */
  margin-right: auto; /* 中央寄せ */
  background-color: #F0FEFF; /* 好きな色に変更 */
}

.steps-section {
  background-color: #F0FEFF;
  padding: 10px 0; /* セクション全体に背景 */
}

.step {
  width: 40px;
  height: 40px;
  border-radius: 50%;      /* 円にする */
  background-color: #ffffff; /* 円の中を白 */
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Arial, sans-serif; /* フォントをArialに */
  font-weight: bold;              /* 太字 */
  font-size: 16px;                /* サイズ16px */
  color: #B5B5B5;                    /* 数字の色 */
  border: none;                   /* 外枠を消す */
}

.step.active {
  background: #00c2c9;
  color: #fff;
  border-color: #00c2c9;
}

.line {
  flex: 0.5;
  height: 2px;
  background: #ccc;
}

/* Experience Section */
.experience {
  background-color: #ffffff;
  padding: 1.5rem;
  text-align: center;
}

.experience-section {
  background-color: #F0FEFF; /* 両サイドの色 */
  padding: 0 20px 94px 20px;
}

.experience {
  background-color: #ffffff; /* 中央だけ白 */
  max-width: 800px; /* 中央の幅を制限 */
  margin: 0 auto; /* 真ん中に配置 */
  padding: 1.5rem;
  text-align: center;
  border-radius: 8px; /* お好みで角丸 */
}

.experience h2 {
  font-family: 'Hiragino Kaku Gothic', sans-serif;
  font-weight: 500;
  font-size: 16px;
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start; /* 上揃えにする */
  justify-content: flex-start; /* 左寄せにする */
  gap: 10px; /* 画像と文字の間隔 */
  text-align: left; /* テキストも左寄せ */
}

.experience .buttons {
  display: flex;
  justify-content: center;
  gap: 15px;            /* ← ボタン同士の間隔を広げる */
}

.experience button {
  padding: 8px 0;
  border: 1px solid #E0E0E0;
  background-color: #fff;
  color: #333333;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  font-family: 'Hiragino Kaku Gothic', sans-serif;
  font-weight: 500;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  width: 140px;
  height: 117px;       /* ← 高さを固定 */
}

.experience button img {
  height: 70px;
  width: 140px;
}

.experience button:hover {
  background-color: #F7FDFE;
  color: #00C2C9;
  transition: 0.3s;
  border: 1px solid #00C2C9;
  font-weight: bolder; /* 太さを変更 */
}

/* Footer */
.site-footer {
  background-color: #d9d9d9; /* 画像の背景グレー */
  text-align: center;
  padding: 10px 0;
  font-family: 'Hiragino Kaku Gothic', sans-serif;
  color: #333;
}

.site-footer .footer-links {
  margin-bottom: 5px;
  font-size: 10px;
  font-weight: normal;
}

.site-footer .footer-links a {
  color: #333;
  text-decoration: none;
  margin: 0 5px;
}

.site-footer .footer-links span {
  margin: 0 5px;
  color: #333;
}

.site-footer .footer-copy {
  font-size: 10px;
  letter-spacing: 1px;
  font-family: Arial, sans-serif;
  font-weight: lighter;
}

/* Media Query for wider screens */
@media screen and (min-width: 600px) {
  .container {
    max-width: 600px;
  }
}





/* Step1 Hero Section */
.hero-overlay-step1 img {
    display: block;
    margin: 0 auto -3vw auto;
    width: 8%;
    position: relative;
    z-index: 5;
    transform: translateX(1px);
}
@media screen and (min-width: 600px) {
  .hero-overlay-step1 img {
    margin-bottom: -18px;
  }
}

/* Step2 Hero Section */
.hero-step2 {
  background-image: url("img/background-ten2.jpg"); 
  padding: 0 0 20px 0;
  text-align: center;
}

.hero-overlay-step2 {
  position: static; /* absoluteを解除 */
  transform: none;
  color: #333333;
  text-align: center;
}

.hero-overlay-step2 img {
  display: block;
  margin: 0 auto 13px auto; /* 上0、左右自動、下5px */
  width: 8%;
  position: static;
  
  /* 画像を少し右にずらす */
  transform: translateX(1px); /* 右に20px移動 */
}

.hero-overlay-step2 h1 {
  font-family: "HiraginoMaruGothicStd", sans-serif;
  font-weight: 800;
  font-size: 25px;
  line-height: 1.4;
}

.question-section h2 {
  display: flex;
  gap: 10px; /* 画像と文字の間隔 */
  align-items: center;
  font-size: 16px;
  margin-bottom: 20px;
  font-weight: bolder;
  font-family: 'Hiragino Kaku Gothic', sans-serif;
  font-weight: 500;
  color: #333;
}

.questions {
  background-color: #ffffff; /* 中央だけ白 */
  max-width: 800px; /* 中央の幅を制限 */
  margin: 0 auto; /* 真ん中に配置 */
  padding: 20px;
  text-align: center;
  border-radius: 8px; /* お好みで角丸 */
}

.questions button:hover {
  background-color: #F7FDFE;
  color: #00C2C9;
  transition: 0.3s;
  border: 1px solid #00C2C9;
  font-weight: bolder;
}

.q-icon {
  display: inline-block;
  background: #FA9600;
  color: #fff;
  font-weight: bold;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  text-align: center;
  line-height: 22px;
  font-size: 14px;
}

/* Options */
.options {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: flex-start; /* ←中央から左寄せに変更 */
  padding: 0 ;
}

.option {
  flex: 1 1 calc(50% - 15px);
  min-width: 140px;
  max-width: 140px;
  background: #fff;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  text-align: center;
  padding: 15px 0;
  cursor: pointer;
  transition: 0.3s;
  font-family: 'Hiragino Kaku Gothic', sans-serif;
  font-weight: 500;
}

.option img {
  width: 140px;
  height: 70px;
  margin: 0 auto 8px;
}

.option {
  font-size: 14px;
  font-weight: normal;
  color: #333;
}

/* 派遣ボタンだけ左寄せ */
.options .option:nth-child(3) {
  margin-right: auto;
}






/* Hero Section (Step 3) */
.hero-step3 {
  background-image: url("img/background-ten2.jpg"); 
  padding: 0 0 0 0;
  text-align: center;
}

.hero-overlay-step3 {
  position: static; /* absoluteを解除 */
  transform: none;
  color: #333333;
  text-align: center;
}

.hero-overlay-step3 img {
  display: block;
  margin: 0 auto 13px auto; /* 上0、左右自動、下5px */
  width: 8%;
  position: static;
  
  /* 画像を少し右にずらす */
  transform: translateX(1px); /* 右に20px移動 */
}

.hero-overlay-step3 h1 {
  font-size: 25px;
  line-height: 1.4;
  font-weight: bold;
}

.steps-section .step.active + .line {
  background: #00c2c9;
}

/* Question Section */
.question-section {
  background-color: #F0FEFF;
  padding: 0 20px 56px 20px;
}

.question {
  background-color: #ffffff;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  text-align: center;
  border-radius: 8px;
}

.question h2 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 10px;
  text-align: left;
}

.q-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FA9600;
  color: #fff;
  font-weight: bold;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  font-size: 14px;
  
}

.zip-code-label {
  font-size: 14px;
  font-family: 'Hiragino Kaku Gothic', sans-serif;
  font-weight: 500;
  letter-spacing: 0.1em; /* ←字間を広げる */
  text-align: left;
  margin-bottom: 5px;
}

.form-group {
  margin-bottom: 20px;
}

.zip-code-input {
  width: 100%;
  padding: 10px;
  border: 1px solid #E0E0E0;
  border-radius: 5px;
  font-size: 16px;
  text-align: left;
  background-color: #F7FDFE;
}

.zip-code-info {
  font-size: 12px;
  font-family: 'Hiragino Kaku Gothic', sans-serif;
  font-weight: 400;
  color: #666;
  text-align: center;
  margin-bottom: 20px;
}

.zip-code-info a {
  color: #0074F0;
  text-decoration: none;
  font-weight: 400;
}

.zip-code-info a u {
  text-decoration: underline;
}

.step3-button {
  width: 287px;
  height: 60px;
  font-family: 'Hiragino Kaku Gothic', sans-serif;
  font-weight: 500;
  font-size: 18px;
    /* 影を追加 */
    box-shadow: 0 4px 0px #ABABAB;

}

/* 初期状態 */
.next-step-button {
  background-color: #CCCCCC; /* 入力前はグレー */
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: not-allowed;
  transition: background-color 0.3s;
}

/* 有効状態 */
.next-step-button.active {
  background-color: #FA9600; /* オレンジ */
  cursor: pointer;
  box-shadow: 0 4px 0px #c77f13;
}

/* ↓↓↓ここから追加↓↓↓ */
.custom-select-wrapper {
  position: relative;
  width: 100%;
}

.prefecture-select {
  width: 100%;
  padding: 10px;
  border: 1px solid #E0E0E0;
  border-radius: 5px;
  font-size: 16px;
  background-color: #F7FDFE;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  cursor: pointer;
  
}

.arrow-down {
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #888;
  pointer-events: none;
}
/* ↑↑↑ここまで追加↑↑↑ */






/* Step 4: Question Section */
.hero-overlay-step4 h1 {
  line-height: 1.4;        /* 行間 */
  font-size: 25px;         /* 文字サイズ */
  margin-bottom: 0;        /* 下の余白なし */
  padding: 0 0 10px 0;       /* 上に余白 */
  font-weight: 700;        /* bolder より数値指定が安定 */
  text-align: center;      /* センター寄せしたい場合 */
  font-weight: bold;
}

.hero-step4 {
  background-image: url("img/background-ten2.jpg"); 
  padding: 0 0 0 0;
  text-align: center;
}

.hero-overlay-step4 {
  position: static; /* absoluteを解除 */
  transform: none;
  color: #333333;
  text-align: center;
  margin-bottom: 10px;
}

.hero-overlay-step4 img {
  display: block;
  margin: 0 auto 13px auto; /* 上0、左右自動、下5px */
  width: 8%;
  position: static;
  
  /* 画像を少し右にずらす */
  transform: translateX(1px); /* 右に20px移動 */
}

.question-section {
  background-color: #F0FEFF;
  padding: 0 20px 56px 20px;
}

.question {
  background-color: #ffffff;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  text-align: center;
  border-radius: 8px;
}

.question h2 {
  font-size: 16px;
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 10px;
  text-align: left;
}

.q-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FA9600;
  color: #fff;
  font-weight: lighter;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  font-size: 14px;
}

.question-text {
  padding-top: 3px; /* 上に10pxのパディングを追加 */
}

.zip-code-label {
  font-size: 16px;
  flood-color: #333333;
  font-weight: normal; /* 太字にしたい場合 */
  margin-bottom: 5px; /* 下に少し余白を追加（見やすさ向上） */
}

.zip-code-input::placeholder {
  color: #999;   /* 薄いグレー */
  font-size: 16px; /* サイズも変えたい場合 */
}

.zip-code-info {
  background-color: #F8F8F8; /* 背景色（好みで変更可能） */
  padding: 15px 20px;        /* 上下15px、左右20pxの余白で少し大きめに */
  border-radius: 8px;        /* 角丸にする場合 */
  font-size: 14px;            /* 文字サイズ調整 */
  line-height: 1.6;           /* 行間を少し広く */
  text-align: center;         /* 中央寄せにしたい場合 */
}

/* Form Styles */
.form-label {
  font-family: 'Hiragino Kaku Gothic', sans-serif;
  font-weight: 500;
  font-size: 14px;
  font-weight: 900;
  text-align: left;
  margin-bottom: 5px;
}

.form-group {
  margin-bottom: 20px;
}

.text-input {
  width: 100%;
  padding: 10px;
  border: 1px solid #E0E0E0;
  border-radius: 5px;
  font-size: 16px;
  text-align: left;
  background-color: #F7FDFE;
}

.birthday-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.year-input {
  width: 100%;
  max-width: 100px;
}

.year-unit {
  font-family: 'Hiragino Kaku Gothic', sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: #333;
}

/* Buttons */
.buttons-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 30px;
}

.next-step-button2 {
  width: 210px;        /* 横幅 */
  height: 50px;        /* 高さ */
  border: none;
  background-color: #D9D9D9;
  color: #fff;
  font-family: 'Hiragino Kaku Gothic', sans-serif;
  font-size: 16px;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
  /* 影を追加 */
  box-shadow: 0 4px 0px #ABABAB;
  display: flex;       /* テキストを中央に配置 */
  align-items: center;
  justify-content: center;
}

.next-step-button2.active {
  background-color: #FA9600; /* オレンジ */
  cursor: pointer;
  box-shadow: 0 4px 0px #c77f13;
}







/* Hero Section (Step5) */
.hero-overlay-step5 h1 {
  line-height: 1.4;        /* 行間 */
  font-size: 25px;         /* 文字サイズ */
  margin-bottom: 0;        /* 下の余白なし */
  padding: 0 0 10px 0;       /* 上に余白 */
  font-weight: 700;        /* bolder より数値指定が安定 */
  text-align: center;      /* センター寄せしたい場合 */
}

.hero-step5 {
  background-image: url("img/background-ten2.jpg"); 
  padding: 0 0 10px 0;
  text-align: center;
  background-color: #F0FEFF; /* 例: グレーの色 */
}

.hero-overlay-step5 {
  position: static; /* absoluteを解除 */
  transform: none;
  color: #333333;
  text-align: center;
  margin-bottom: 0px;
}

.hero-overlay-step5 img {
  display: block;
  margin: 0 auto 13px auto; /* 上0、左右自動、下5px */
  width: 8%;
  position: static;
  
  /* 画像を少し右にずらす */
  transform: translateX(1px); /* 右に20px移動 */
}

.hero-overlay-step5 h1 {
  font-size: 25px;
  line-height: 1.4;
  font-weight: bold;
}

.final-step-text {
  font-family: "HiraginoMaruGothicStd", sans-serif;
  font-weight: 800;
  font-size: 12px;
  color: #FA9600;

  /* ここから追加・修正 */
  background-image: url('img/final-step-bg.png'); /* 背景画像のパスを指定 */
  background-size: contain; /* 画像を要素に収まるように調整 */
  background-repeat: no-repeat; /* 画像の繰り返しをなしに */
  background-position: center; /* 画像を中央に配置 */
  
  /* テキストが背景画像の上に乗るように、paddingでスペースを確保することも検討 */
  padding: 5px 10px; /* 例: 上下5px、左右10pxのパディング */
  display: inline-block; /* 背景がテキストのサイズに合わせるようにする */
}

/* Question Section (Contact Info) */
.form-label {
  font-size: 16px;
  font-weight: normal;
  letter-spacing: 2px;  /* 文字と文字の間を2px広げる */
  text-align: left;
  margin-bottom: 10px;
}

.required {
  background-color: #FF4B4B;
  color: #fff;
  font-size: 12px;
  font-weight: normal;
  padding: 5px 6px;
  border-radius: 3px;
  margin-left: 5px;
}

.text-input {
  width: 100%;
  padding: 15px;
  border: 1px solid #E0E0E0;
  border-radius: 5px;
  font-size: 18px;
  text-align: left;
  background-color: #F7FDFE;
}

.year-input {
  width: 200%;
}

.text-input::placeholder {
  color: #E0E0E0;   /* 赤色に変更（好みで変更可能） */
}

.available-time {
  font-family: 'Hiragino Kaku Gothic', sans-serif;
  font-weight: 100;
  font-size: 12px;
  letter-spacing: 1px;  /* 文字と文字の間を2px広げる */
  color: #00C2C9;
  text-align: left;
  margin-top: 5px;
  line-height: 1.4;
}

.highlight-time {
  color: #333333; /* ここを希望の色に変更 */
}

.checkbox-group {
  display: flex;
  align-items: center;
  margin-top: 20px;
  margin-bottom: 20px;
}

.checkbox-group input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-right: 10px;
}

.checkbox-group label {
  font-family: 'Hiragino Kaku Gothic', sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: #0074F0;
}

/* Buttons */
.buttons-group {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 30px;
  font-size: 14px;
}

/* back-linkの横並びを確実に適用 */
.back-link {
  display: flex;
  align-items: center;    /* 垂直方向の中央揃え */
  gap: 5px;               /* 画像と文字の間の隙間を適切に設定 */
  text-decoration: none;
  color: #333;
  font-size: 14px;        /* 元のデザインに合わせて文字サイズを14pxに戻す */
  font-family: 'Hiragino Kaku Gothic', sans-serif;
  font-weight: 500;
}

.back-link img {
  width: 12px;
  height: auto;
}

.submit-button {
  flex-grow: 1;
  padding: 15px;
  border: none;
  background-color: #D9D9D9;
  color: #fff;
  font-size: 16px;
  font-family: 'Hiragino Kaku Gothic', sans-serif;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
   /* 影を追加 */
   box-shadow: 0 4px 0px #ABABAB;
}

.submit-button.active {
  background-color: #FA9600; /* オレンジ */
  cursor: pointer;
  box-shadow: 0 4px 0 #c77f13;
}

.steps-section2 {
  background-image: url('img/icon.png');
  background-size: 20px auto; /* 幅を30px、高さは自動で比率維持 */
  background-repeat: no-repeat;
  background-position: right top; /* 右寄せ、縦は中央 */
  
  padding: 0 15px;
  display: inline-block;
}







/* Completion Hero Section step6 */
.completion-hero {
  background-color: #F0FEFF;
  text-align: center;
  padding: 30px 20px 30px 20px;
}

.completion-title {
  font-size: 20px;
  color: #00c2c9;
  font-weight: bolder;

}

.completion-message {
  font-size: 20px;
  color: #00c2c9;
  font-weight: 900;
  line-height: 1.4;
}

/* Call Info Section */
.call-info-section {
  background-color: #F0FEFF;
  padding: 0 20px 94px 20px;
}

.call-info-card {
  background-color: #fff;
  padding: 2rem 1.5rem;
  border-radius: 8px;
  text-align: center;
}

.call-info-card h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #FF4B4B;
  margin-bottom: 20px;
  font-family: "HiraginoMaruGothicStd", sans-serif;
  font-weight: 800;
}

.call-icon {
  width: 20px;
  height: auto;
  margin-right: 10px;
}

.call-text {
  font-size: 15px;
  color: #333;
  line-height: 1.8;
  text-align: left;
  margin-bottom: 20px;
  font-weight: normal;
  letter-spacing: 0.08em; /* 文字と文字の間隔を広げる */
}

.call-note {
  font-size: 13px;   /* 文字サイズを小さめに */
  color: #333;    /* 赤っぽい色に変更 */
  line-height: 1.6;  /* 行間も調整 */
  display: inline-block; /* 複数行でも崩れないように */
  font-weight: lighter;
  letter-spacing: 0.08em; /* 文字と文字の間隔を広げる */
  padding-top: 10px;
}

.customer-center {
  background-color: #FAFAFA;
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
}

.customer-center p {
  font-size: 14px;
  margin-bottom: 5px;
  letter-spacing: 0.08em; /* 文字と文字の間隔を広げる */
}

.tel-number {
  font-family: Arial, sans-serif; /* フォントを Arial に変更 */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #FF4B4B;
  font-weight: bold;
  text-decoration: none;
  letter-spacing: 0.05em; /* 文字と文字の間隔を広げる */
  margin: 10px 0 0 0;
}

.tel-number img {
  width: 20px;
  height: auto;
  margin-right: 10px;
}

.tel-hours {
  font-size: 14px;
  color: #B5B5B5;
}









/* Modal Overlay */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7); /* 半透明の黒で背景を暗くする */
  z-index: 10; /* 他のコンテンツの上に表示 */
}

/* Modal Window */
.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 20; /* オーバーレイよりさらに上に表示 */
  width: 90%;
  max-width: 400px; /* モーダルの最大幅 */
}

.modal-content {
  background-color: #ffffff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* 影を追加 */
}

.modal-question-area {
  padding: 40px 16px;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  position: relative;
  text-align: left;
  min-height: 120px;
  overflow: hidden;

  /* 背景画像を追加 */
  background-image: url("img/background.jpg");
  background-size: 295px 120px;       /* 枠いっぱいにフィット */
  background-position: center;  /* 中央基準に配置 */
  background-repeat: no-repeat; /* 繰り返しなし */
}

.modal-question-area h3 {
  font-family: "HiraginoMaruGothicStd", sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: #333333;
  line-height: 1.5;
  padding-left: 10px;

  -webkit-text-stroke: 0.0px #ffffff; /* 白の境界線 */
  /* Firefoxなど他ブラウザ用にtext-shadowも追加可能 */
  text-shadow:
     1.5px 1.5px 0 #fff,
    -1.5px 1.5px 0 #fff,
     1.5px -1.5px 0 #fff,
    -1.5px -1.5px 0 #fff;

    position: relative; /* z-indexを効かせるために必要 */
  z-index: 2; /* 画像より前に表示 */
}

.modal-girl-img {
  position: absolute;
  bottom: 9px;
  right: -8px;
  width: 170px;
  height: auto;
  z-index: 1; /* 文字より後ろに */
}

.modal-options {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.modal-option-button {
  flex: 1 1 calc(50% - 0.5rem);
  max-width: 140px;
  padding: 20px 0;
  border: 1px solid #00C2C9;
  border-radius: 8px;
  background-color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
  min-height: 170px;

  /* 影を追加 */
  box-shadow: 0 4px 0px #00C2C9;
}

.modal-option-button img {
  width: 150px;       /* 横幅はボタンに合わせる */
  height: auto;      /* 高さは自動で調整、縦横比を維持 */
  display: block;    /* 余白をなくすため */
  margin-bottom: 0.5rem;
}

.modal-option-button span {
  font-family: "ヒラギノ丸ゴシック StdN", "Hiragino Maru Gothic Pro", sans-serif ;
  font-size: 1rem;
  color: #333333;
  font-weight: bold;
  line-height: 1.4;
}
.modal-form-wrap01 {
    display: flex;
    gap: 4%;
}
.error-message {
  background: #FF4B4B;
  padding: 1em;
  color: #fff;
  text-align: left;
}