.request-titlearea {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 30px 30px 30px;
}

.request-documents-title {
	font-size: 30px;
	font-weight: 500;
	margin: 0 0 30px 0;
	width: 100%;
}

.request-documents-title span {
	color: #00ADCA;
}

.request-title-text {
	font-size: 15px;
	width: 100%;
	margin-bottom: 0px;
}

/* タイトルまわりレスポンシブ */

@media(min-width:300px) and (max-width:780px) {

	.request-titlearea {
		width: 90%;
		padding: 0 10px 10px 10px;
	}

    .request-documents-title {
		font-size: 25px;
		width: 90%;
	}

	.request-title-text {
		width: 90%;
		margin-bottom: 20px;
	}
    
}

.split {
	display: flex;
	justify-content: space-between;
	max-width: 1200px;
	margin: 0 auto 50px auto;
	padding: 0 30px;
}

.split-item {
	padding: 30px;
	width: 50%;
}

.split-left {
    color: #fff;
    position: relative;
	width: 50%;
  	height: auto;
}

/* 左側レスポンシブ */

@media(min-width:300px) and (max-width:780px) {



    .split-left {
		display: none;
	}
    
}

.split-left_inner {
	position: sticky;
	top: 80px; /* ステップインジケータの高さ分下げる */
	background: #edf7f6;
	text-align: center;
	border-radius: 10px;
	z-index: 50; /* ステップインジケータより低く */
}

.doqument-image {
	width: 70%;
	margin: 30px;
}

.split-right {
	width: 50%;
	height: auto;
}

/* 右側レスポンシブ */

@media(min-width:300px) and (max-width:780px) {

	.split {
		justify-content: center;
		padding: 0 15px;
	}

	.split-item {
		padding: 10px;
		width: 100%;
	}

    .split-right {
		width: 100%;
		max-width: none;
		height: auto;
	}

	.split-right_inner {
		height: auto;
	}

}

.doquments-form {
	padding: 10px 0 30px 0;
}

.doquments-form-item {
	margin-bottom: 30px;
}

.label-area {
	display: flex;
	flex-direction: row;
	align-items: center;
	margin-bottom: 7px;
}

.label-comments {
	font-size: 14px;
	margin-bottom: 7px;
}

.required {
	padding: 5px 12px;
	background-color: #ea1c24;
	border-radius: 5px;
	color: #fff;
	font-weight: 500;
	margin-right: 10px;
	letter-spacing: 0.2em;
}

.optional {
	padding: 5px 12px;
	background-color: #b0b0b0;
	border-radius: 5px;
	color: #fff;
	font-weight: 500;
	margin-right: 10px;
	letter-spacing: 0.2em;
}

.form-label {
	font-weight: 500;
	font-size: 18px;
	letter-spacing: 0.1em;
}

.input,.textarea {
	border: 1px solid #b0b0b0;
	padding: 15px;
	border-radius: 5px;
	width: 100%;
	max-width: 400px;
	font-size: 15px;
	color: #252525;
	box-sizing: border-box;
}

.textarea {
	height: 150px;
}

/* 入力まわりレスポンシブ */

@media(min-width:300px) and (max-width:780px) {

	.form-label {
		font-size: 16px;
	}

    .input,.textarea {
		width: 100%;
		max-width: none;
		font-size: 14px;
	}

}

/* フォーカス時のスタイル（未入力/入力済み関係なく青枠） */
.input:focus,
.input:placeholder-shown:focus,
.textarea:focus,
.textarea:placeholder-shown:focus {
	border: 3px solid #00adca;
	background-color: #fff;
}

/* 未記入時のスタイル */
.input:placeholder-shown,
.textarea:placeholder-shown {
  background-color: #f0f0f0;
  border-color: #ccc;
}

/* 記入済み時のスタイル */
.input:not(:placeholder-shown),
.textarea:not(:placeholder-shown) {
  background-color: #fff;
  border-color: #00adca;
}


label {
	display: flex;
	flex-direction: row;
	margin-top: 10px;
}

.check-text {
	font-weight: 500;
	font-size: 15px;
	letter-spacing: 0.1em;
}

/* お問い合わせ製品・業種まわり */

.industry-select,.product-select {
	width: 100%;
	max-width: 430px;
	display: inline-block;
	position: relative;
	border: 1px solid #b0b0b0;
	vertical-align: middle;
	padding: 5px 0;
	border-radius: 5px;
	font-size: 15px;
	box-sizing: border-box;
	transition: background-color 0.2s, border-color 0.2s;
}

/* select 未選択時のスタイル */
.industry-select.select-empty,
.product-select.select-empty {
	background-color: #f0f0f0;
	border-color: #ccc;
}

/* select 選択済み時のスタイル */
.industry-select.select-filled,
.product-select.select-filled {
	background-color: #fff;
	border-color: #00adca;
}

/* select フォーカス時のスタイル */
.industry-select:focus-within,
.product-select:focus-within {
	border: 3px solid #00adca;
	padding: 3px 0;
}

.product-select select {
	appearance: none;
	width: 100%;
	padding: 11px 15px;
	padding-right: 1em;
	border: none;
	outline: 0;
	background-color: inherit;
	background-image: none;
	box-shadow: none;
	text-indent: 0.01px;
	text-overflow: ellipsis;
	cursor: pointer;
	box-sizing: border-box;
	transition: background-color 0.2s;
}

/* select内部 未選択時の背景色 */
.product-select.select-empty select {
	background-color: #f0f0f0;
}

/* select内部 選択済み時の背景色 */
.product-select.select-filled select {
	background-color: #fff;
}

.product-select::before {
	position: absolute;
	top: 18px;
	right: 16px;
	width: 0;
	height: 0;
	border-width: 10px 5px 0 5px;
	border-style: solid;
	border-color: #b0b0b0 transparent transparent transparent;
	content: "";
	pointer-events: none;
}

.industry-select select {
	appearance: none;
	width: 100%;
	padding: 11px 15px;
	padding-right: 1em;
	border: none;
	outline: 0;
	background-color: inherit;
	background-image: none;
	box-shadow: none;
	text-indent: 0.01px;
	text-overflow: ellipsis;
	cursor: pointer;
	box-sizing: border-box;
	transition: background-color 0.2s;
}

/* select内部 未選択時の背景色 */
.industry-select.select-empty select {
	background-color: #f0f0f0;
}

/* select内部 選択済み時の背景色 */
.industry-select.select-filled select {
	background-color: #fff;
}

.industry-select::before {
	position: absolute;
	top: 18px;
	right: 16px;
	width: 0;
	height: 0;
	border-width: 10px 5px 0 5px;
	border-style: solid;
	border-color: #b0b0b0 transparent transparent transparent;
	content: "";
	pointer-events: none;
}



@media(min-width:300px) and (max-width:780px) {

	.industry-select,.product-select {
		max-width: none;
	}

}


/* 個人情報保護 */
.privacy-read {
	font-size: 17px;
	font-weight: 500;
}

a:hover, a:active {
    outline: none;
    color: #00adca;
}

@media(min-width:300px) and (max-width:780px) {

	.privacy-read {
		font-size: 14px;
	}
    
}

/* input マウスをのせた時(hover) - フォーカス時は除外 */
@media (hover: hover) {
  .input:hover:not(:focus), .textarea:hover:not(:focus) {
    background: #e8e8e8;
  }
}


/* ==============================================
   SPA化: ステップ切り替え・確認画面・完了画面
   ============================================== */

/* 横並びステップインジケーター（Google広告風） */
.progress-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: none;
  width: 100%;
  margin: 0 auto 30px auto;
  padding: 15px 0;
  /* ②の丸を中央に見せるため、ステップ1のラベル幅分だけ右にずらす */
  padding-left: 42px;
  /* スクロール時に上部に固定 */
  position: sticky;
  top: 0;
  background-color: #fff;
  z-index: 100;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0);
  transition: box-shadow 0.3s ease;
  box-sizing: border-box;
}

/* 上部に固定時のみシャドウを追加（JSで.is-stickyクラスを付与） */
.progress-steps.is-sticky {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.step-item {
  display: flex;
  align-items: center;
  position: relative;
  white-space: nowrap;
}

.step-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid #dadce0;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 600;
  color: #5f6368;
  transition: all 0.3s;
  flex-shrink: 0;
}

.step-item.active .step-circle {
  border-color: #00adca;
  background-color: #00adca;
  color: #fff;
}

.step-item.completed .step-circle {
  border-color: #00adca;
  background-color: #00adca;
  color: #fff;
}

/* 完了時は番号を非表示にしてチェックマークを表示 */
.step-item.completed .step-number {
  display: none;
}

.step-item.completed .step-circle::after {
  content: '✓';
  font-size: 20px;
  font-weight: 700;
}

.step-label {
  margin-left: 12px;
  font-size: 18px;
  color: #5f6368;
  transition: all 0.3s;
}

.step-item.active .step-label {
  color: #00adca;
  font-weight: 500;
}

.step-item.completed .step-label {
  color: #00adca;
}

.step-line {
  flex: 1;
  height: 1px;
  background-color: #dadce0;
  margin: 0 16px;
  min-width: 40px;
  max-width: 80px;
  transition: background-color 0.3s;
}

.step-line.completed {
  background-color: #00adca;
}

/* レスポンシブ対応 */
@media(min-width:300px) and (max-width:780px) {
  .progress-steps {
    max-width: 100%;
    padding: 15px 10px;
  }

  .step-circle {
    width: 34px;
    height: 34px;
    font-size: 14px;
  }

  .step-label {
    font-size: 15px;
    margin-left: 8px;
  }

  .step-line {
    min-width: 20px;
    margin: 0 8px;
  }

  .step-item.completed .step-circle::after {
    font-size: 18px;
  }
}

/* 確認画面スタイル */
.confirm-item .label-area {
  border-left: 3px solid #00adca;
  padding-left: 10px;
}

.confirm-value {
  padding: 15px;
  background-color: #f5f5f5;
  border: none;
  border-bottom: 1px solid #ddd;
  border-radius: 0;
  min-height: 20px;
  font-size: 15px;
  color: #333;
  white-space: pre-wrap;
  word-break: break-word;
  cursor: default;
}

.confirm-value:empty::before {
  content: '（未入力）';
  color: #999;
}

.confirm-item .input-area {
  display: none;
}

/* 完了画面 */
.complete-message {
  text-align: center;
  padding: 40px 30px 60px 30px;
}

.complete-icon {
  font-size: 60px;
  color: #00adca;
  margin-bottom: 20px;
}

.complete-title {
  font-size: 26px;
  font-weight: 500;
  margin-bottom: 25px;
  color: #00adca;
}

.complete-text {
  font-size: 16px;
  line-height: 1.8;
  color: #666;
  margin-bottom: 20px;
}

.complete-notice {
  font-size: 14px;
  line-height: 1.8;
  color: #666;
  margin-bottom: 30px;
}

.complete-error .complete-title {
  color: #ea1c24;
}

/* ボタンスタイル統一 */
.btn-primary, .btn-secondary {
  padding: 20px 50px;
  border-radius: 5px;
  font-size: 17px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
}

.btn-primary {
  background: #00adca;
  color: #fff;
  border: 1px solid #00adca;
}

.btn-primary:hover {
  background: #008ba3;
}

.btn-primary:disabled {
  background: #ccc;
  border-color: #ccc;
  cursor: not-allowed;
}

.btn-secondary {
  background: #fff;
  color: #666;
  border: 1px solid #ccc;
}

.btn-secondary:hover {
  background: #f5f5f5;
}

/* ボタングループ */
.button-group {
  display: flex;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

@media(min-width:300px) and (max-width:780px) {
  .button-group {
    flex-direction: column;
  }

  .btn-primary, .btn-secondary {
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
  }
}

/* ステップ切り替えアニメーション */
.step-section {
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* エラーフォーム */
.error_form {
  border: 2px solid #ea1c24 !important;
  background-color: #fff0f0 !important;
}

/* Chrome風バリデーションポップアップ */
.error_message {
  position: relative;
  display: inline-block;
  margin-top: 6px;
  padding: 8px 10px 8px 28px;
  background-color: #fff;
  color: #333;
  font-size: 13px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 400;
  line-height: 1.3;
  border: 1px solid #767676;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  max-width: 280px;
  white-space: normal;
  /* 黄色い警告アイコン（SVG - Chrome風） */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23f9a825' d='M1 21h22L12 2 1 21z'/%3E%3Cpath fill='%23263238' d='M11 15h2v2h-2zm0-6h2v5h-2z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 6px center;
  background-size: 16px 16px;
}

/* 吹き出しの三角形（上向き矢印） - 外側 */
.error_message::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 12px;
  border-width: 0 6px 6px 6px;
  border-style: solid;
  border-color: transparent transparent #767676 transparent;
}

/* 吹き出しの三角形（上向き矢印） - 内側（白） */
.error_message::after {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 13px;
  margin-bottom: -1px;
  border-width: 0 5px 5px 5px;
  border-style: solid;
  border-color: transparent transparent #fff transparent;
}

/* 空のエラーメッセージは非表示 */
.error_message:empty {
  display: none;
}

/* モバイル対応 */
@media(min-width:300px) and (max-width:780px) {
  .error_message {
    max-width: calc(100% - 20px);
    font-size: 12px;
    padding: 6px 8px 6px 26px;
  }
}

/* 送信中ローディング */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 5px solid #f3f3f3;
  border-top: 5px solid #00adca;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* noscript用スタイル */
.noscript-warning {
  background: #fff3cd;
  border: 1px solid #ffc107;
  padding: 20px;
  margin: 20px 0;
  border-radius: 5px;
  text-align: center;
}

