@charset "UTF-8";
/* 建築業特化フォーム CSS */
html {
  font-size: 62.5%; /* 1rem = 10px */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@font-face {
  font-family: "ShipporiMincho";
  font-weight: 400;
  src: url(../fonts/ShipporiMincho-Medium.woff) format("woff");
}
@font-face {
  font-family: "ShipporiMincho";
  font-weight: 600;
  src: url(../fonts/ShipporiMincho-SemiBold.woff) format("woff");
}
@font-face {
  font-family: "ShipporiMincho";
  font-weight: bold;
  src: url(../fonts/ShipporiMincho-Bold.woff) format("woff");
}
body {
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.6;
  color: #333;
  min-height: 100vh;
  font-size: 1.6rem;
  background-color: rgb(243, 243, 243);
}

.contents {
  max-width: 1000px;
  margin: 0 auto;
  background: white;
  border-radius: 10px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin-top: 20px;
  margin-bottom: 20px;
}

.phase_check {
  background: #043344;
  font-family: "ShipporiMincho";
  color: white;
  padding: 40px;
  text-align: center;
}
.phase_check h2 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 20px;
}
@media (max-width: 768px) {
  .phase_check h2 {
    font-size: 1.8rem;
  }
}

.phase_check ul {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

/* 進捗線 */
.phase_check ul::before {
  content: "";
  position: absolute;
  top: 30%;
  left: 30%;
  right: 30%;
  height: 4px;
  background: rgb(245, 245, 245);
  transform: translateY(-50%);
  z-index: 1;
  border-radius: 2px;
}

@keyframes progressFill {
  to {
    width: 0%;
  }
}
.phase_check ul li {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 120px;
  padding: 0;
  margin: 0 20px;
}

/* ステップ番号 */
.phase_check ul li::before {
  content: attr(data-step);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgb(211, 211, 211);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: #063344;
  font-size: 1.8rem;
  margin-bottom: 10px;
  /* border: 3px solid rgba(255, 255, 255, 0.3); */
  transition: all 0.3s ease;
}

/* ステップテキスト */
.phase_check ul li span {
  font-size: 1.4rem;
  font-weight: 500;
  opacity: 0.8;
  transition: all 0.3s ease;
}

/* アクティブ状態 */
.phase_check ul li.active::before {
  background: linear-gradient(135deg, #e6bf38, #c27116);
  color: white;
  border-color: #ffffff;
  transform: scale(1.1);
}

.phase_check ul li.active span {
  color: #e6bf38;
  font-weight: 700;
  opacity: 1;
  transform: translateY(-2px);
}

/* 完了状態 */
.phase_check ul li.completed::before {
  background: #2ecc71;
  border-color: #2ecc71;
  content: "✓";
  font-size: 2rem;
}

.phase_check ul li.completed span {
  color: #2ecc71;
  opacity: 1;
}

.in_form_tel {
  margin-top: 20px;
  padding: 15px;
  background: rgb(240, 240, 240);
  border-radius: 10px;
  margin-bottom: 20px;
  color: #043344;
}

.in_form_tel_n {
  font-weight: 600;
  font-size: 3.5rem;
}

.in_form_tel_n a {
  color: #c97f18;
  text-decoration: none;
}

/* フォーム全体のコンテナ */
form {
  padding: 40px;
}

/* フォームボックス */
.form_box {
  margin-bottom: 50px;
}

.inquiry_conf .form_box {
  margin-bottom: 20px;
}

/* フォームラベル */
.form_box label,
.form-label {
  display: inline-block;
  font-weight: 600;
  margin-bottom: 8px;
  color: #2c3e50;
  font-size: 1.8rem;
}
.form_box label small,
.form-label small {
  font-weight: normal;
}

/* 必須・任意マーカー */
.required {
  color: #e74c3c;
  margin-left: 5px;
  font-size: 1.4rem;
  padding: 2px 6px;
  background: #ffebee;
  border-radius: 4px;
}

.not-required {
  color: #27ae60;
  font-weight: normal;
  font-size: 1.4rem;
  margin-left: 5px;
  padding: 2px 6px;
  background: #e8f5e8;
  border-radius: 4px;
}

/* ヘルプテキスト */
.help-text {
  font-size: 1.4rem;
  color: #7f8c8d;
  margin-bottom: 10px;
  padding: 15px;
  background: #f8f9fa;
  border-left: 4px solid #3498db;
  border-radius: 0 4px 4px 0;
}

/* チェックボックスグループ */
.checkbox-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 15px;
  margin-top: 10px;
}

.checkbox-item {
  display: flex;
  align-items: flex-start;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 10px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  cursor: pointer;
}

.checkbox-item:hover {
  background: #e3f2fd;
  border-color: #2196f3;
}

.checkbox-item input[type=checkbox] {
  margin-right: 12px;
  transform: scale(1.2);
  accent-color: #667eea;
}

.checkbox-item label {
  flex: 1;
  cursor: pointer;
  font-weight: 500;
}

.checkbox-item small {
  display: block;
  color: #666;
  font-size: 1.4rem;
  margin-top: 4px;
}

/* ラジオボタングループ */
.radio-group,
.form_box.reply ul,
.form_box ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
  margin-top: 10px;
  list-style: none;
}

.radio-item,
.form_box.reply li,
.form_box li {
  display: flex;
  align-items: center;
}

.radio-item input[type=radio],
.form_box.reply li input[type=radio],
.form_box li input[type=radio] {
  margin-right: 10px;
  transform: scale(1.1);
  accent-color: #667eea;
}

.radio-item label,
.form_box.reply li label,
.form_box li label {
  padding: 12px;
  background: #f8f9fa;
  border-radius: 8px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  cursor: pointer;
  font-weight: 500;
  width: 100%;
  box-sizing: border-box;
}
.radio-item label:hover,
.form_box.reply li label:hover,
.form_box li label:hover {
  background: #e8f5e8;
  border-color: #4caf50;
}

/* 入力フィールド */
input[type=text],
input[type=email],
input[type=tel],
textarea,
select,
.form-text {
  width: 100%;
  padding: 15px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 1.6rem;
  transition: all 0.3s ease;
  background: white;
  font-family: inherit;
  line-height: 1;
}

input[type=text]:focus,
input[type=email]:focus,
input[type=tel]:focus,
textarea:focus,
select:focus,
.form-text:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

textarea,
.form-text[rows] {
  min-height: 120px;
  resize: vertical;
}

/* 例示テキスト */
.example {
  font-size: 1.4rem;
  color: #7f8c8d;
  margin-top: 5px;
  padding: 5px 10px;
  background: #f8f9fa;
  border-radius: 4px;
}

/* 例示ボックス */
.example-box {
  background: #f0f8ff;
  border: 1px solid #b3d9ff;
  border-radius: 10px;
  padding: 20px;
  margin: 15px 0;
}

.example-title {
  font-weight: 600;
  color: #1976d2;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.example-title::before {
  content: "💡";
  margin-right: 8px;
}

.example-content {
  font-size: 1.5rem;
  line-height: 1.6;
  color: #424242;
}

/* エラーメッセージ */
.erre_name {
  color: #e74c3c;
  font-size: 1.4rem;
  margin-top: 5px;
  display: block;
}

/* 注意事項 */
.notice {
  font-size: 1.4rem;
  color: #7f8c8d;
  margin-top: 10px;
  padding: 10px;
  background: #fff3cd;
  border-left: 4px solid #ffc107;
  border-radius: 0 4px 4px 0;
}

/* 送信ボタン */
.submit_btn {
  text-align: center;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 2px solid #f0f0f0;
}

.soushin_btn,
.submit-btn {
  background: #667eea;
  color: white;
  padding: 18px 50px;
  border: none;
  border-radius: 50px;
  margin-bottom: 40px;
  font-size: 1.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}
@media (max-width: 768px) {
  .soushin_btn,
  .submit-btn {
    padding: 18px;
    width: 100%;
  }
}

.soushin_btn:hover,
.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(102, 126, 234, 0.4);
}

.soushin_btn:disabled,
.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* 信頼指標 */
.trust-indicators {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 20px;
  font-size: 1.4rem;
  color: #666;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* フォーム選択エリア */
.form_select {
  margin-top: 10px;
}

/* プログレスバー（PHPフォーム用） */
.progress-bar {
  background: #f0f0f0;
  height: 6px;
  border-radius: 3px;
  margin: 20px 40px 30px 40px;
  overflow: hidden;
}

.progress-fill {
  background: linear-gradient(90deg, #667eea, #764ba2);
  height: 100%;
  width: 20%;
  border-radius: 3px;
  transition: width 0.3s ease;
}

.sm_only {
  display: none !important;
}

@media screen and (max-width: 768px) {
  .sm_only {
    display: unset !important;
  }
}
@media screen and (max-width: 768px) {
  .pc_only {
    display: none !important;
  }
}
.max_img {
  width: 1000px;
  display: block;
  margin: 0 auto;
}

@media screen and (max-width: 768px) {
  .max_img {
    width: 100%;
  }
}
/* フッター */
footer {
  background-color: gray;
  padding: 50px 30px;
  text-align: center;
  color: white;
}
@media screen and (max-width: 768px) {
  footer {
    padding: 30px 15px;
    font-size: 1.4rem;
  }
}

/* 確認画面用スタイル */
.form_caution {
  background: linear-gradient(135deg, #ff6b6b, #ee5a52);
  color: white;
  padding: 25px;
  border-radius: 15px;
  margin-bottom: 50px;
  text-align: center;
}

.form_caution p {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.form_caution span {
  font-size: 1.6rem;
  line-height: 1.6;
  opacity: 0.95;
}

.form_caution span span {
  background: rgba(255, 255, 255, 0.2);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
}

/* 確認画面のフォームボックス */
.form_box p,
.form_box .kakunin {
  background: #f8f9fa;
  padding: 15px 20px;
  border-radius: 10px;
  font-size: 1.5rem;
  font-style: italic;
  line-height: 1.6;
  color: #606060;
  min-height: 50px;
  margin-top: 8px;
  word-wrap: break-word;
}

.form_box .kakunin {
  display: block;
}

.form_box {
  /* スクロールボックス（プライバシーポリシー） */
}
.form_box .scrollbox {
  max-height: 200px;
  overflow-y: auto;
  border: 2px solid #e9ecef;
  border-radius: 10px;
  padding: 20px;
  background: #f8f9fa;
  margin-top: 10px;
}
.form_box .scrollbox * {
  font-size: 1.4rem;
}
.form_box .scrollbox::-webkit-scrollbar {
  width: 8px;
}
.form_box .scrollbox::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}
.form_box .scrollbox::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 4px;
}
.form_box .scrollbox::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

/* ボタンエリア */
.btn_area {
  text-align: center;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 2px solid #f0f0f0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

/* 戻るボタン */
.modoru_btn {
  padding: 15px 40px;
  border: none;
  font-size: 1.7rem;
  font-weight: 600;
  cursor: pointer;
}

/* 確認画面での送信ボタン調整 */
.btn_area .soushin_btn {
  width: 80%;
  background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
  box-shadow: 0 10px 20px rgba(39, 174, 96, 0.3);
  font-size: 1.7rem;
  padding: 18px 40px;
  line-height: 1.4;
  white-space: nowrap;
}
@media (max-width: 768px) {
  .btn_area .soushin_btn {
    width: 100%;
    margin-bottom: 0;
  }
}

.btn_area .soushin_btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(39, 174, 96, 0.4);
}

@keyframes progressFill {
  to {
    width: 50%;
  }
}
/* 完了画面専用のphase_checkスタイル */
.phase_check.inqpage li[data-step="3"].active::before {
  background: linear-gradient(135deg, #2ecc71, #27ae60);
}

@keyframes completePulse {
  0%, 100% {
    transform: scale(1.1);
    box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7);
  }
  50% {
    transform: scale(1.2);
    box-shadow: 0 0 0 10px rgba(46, 204, 113, 0);
  }
}
/* 成功アニメーション */
.contents {
  animation: slideInUp 0.8s ease-out;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* レスポンシブ対応 */
@media (max-width: 768px) {
  .contents {
    margin: 20px 10px;
    border-radius: 10px;
  }
  .phase_check,
  form {
    padding: 30px 20px;
  }
  .checkbox-group,
  .radio-group,
  .form_box.reply ul,
  .form_box ul {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .trust-indicators {
    flex-direction: column;
    gap: 10px;
  }
  .phase_check ul li {
    min-width: unset;
  }
  .form_caution {
    padding: 25px 12px;
  }
  .form_caution p {
    font-size: 1.8rem;
  }
  .form_caution span {
    font-size: 1.4rem;
  }
}
.form-select {
  width: 100%;
  padding: 15px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 1.6rem;
  background: white;
  font-family: inherit;
  transition: all 0.3s ease;
  margin-top: 5px;
  margin-bottom: 5px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg fill="gray" height="20" viewBox="0 0 20 20" width="20" xmlns="http://www.w3.org/2000/svg"><path d="M5.516 7.548a1 1 0 0 1 1.415 0L10 10.617l3.07-3.07a1 1 0 1 1 1.415 1.415l-3.777 3.778a1 1 0 0 1-1.415 0L5.516 8.963a1 1 0 0 1 0-1.415z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 1.2em center;
  background-size: 1.5em 1.5em;
}

.form-select:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}/*# sourceMappingURL=form_.css.map */