/* Contact, order, reorder and sample request pages only. */

#right {
	--form-navy: #12324b;
	--form-teal: #009b8f;
	--form-teal-dark: #007d73;
	--form-orange: #f47716;
	--form-orange-dark: #c95a08;
	--form-text: #243746;
	--form-muted: #607481;
	--form-line: #d7e1e6;
	--form-soft: #f3f7f8;
	--form-focus: rgba(0, 155, 143, 0.2);
	width: 750px;
	max-width: 100%;
	color: var(--form-text);
	font-family: "BIZ UDPGothic", "Yu Gothic UI", "Yu Gothic", Meiryo, sans-serif;
	font-size: 15px;
	line-height: 1.75;
}

#right,
#right * {
	box-sizing: border-box;
}

#breadcrumbsarea {
	margin-bottom: 12px;
}

#breadcrumbsarea .breadcrumbs {
	color: #607481;
	font-size: 12px;
}

#right .content_wrap {
	width: 100%;
	margin: 0;
	padding: 24px 26px 28px;
	border: 1px solid var(--form-line);
	border-radius: 6px;
	background: #fff;
	box-shadow: 0 2px 8px rgba(18, 50, 75, 0.06);
}

#right .content_wrap > br {
	display: none;
}

#right .content_wrap h1.title {
	display: block;
	width: 100%;
	height: auto;
	min-height: 0;
	margin: 0 0 14px;
	padding: 8px 0 8px 16px;
	border: 0;
	border-left: 5px solid var(--form-teal);
	border-radius: 0;
	background: transparent;
	color: var(--form-navy);
	font-family: inherit;
	font-size: 26px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0;
	text-align: left;
}

#right .content_wrap > img {
	display: block;
	width: 100%;
	height: auto;
	margin: 18px 0;
	border: 1px solid var(--form-line);
	border-radius: 6px;
}

#right p.form_memo {
	width: 100%;
	margin: 12px 0 !important;
	padding: 12px 14px;
	border-left: 4px solid #8ca4b2;
	background: var(--form-soft);
	color: #425b6b;
	font-size: 14px;
	line-height: 1.75;
	text-align: left;
}

#right p.form_memo a {
	color: #006f9f;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 2px;
}

#right .red,
#right span.req {
	color: #c72d3f !important;
}

#estimate_contact_02 {
	width: 100%;
	margin: 18px 0 0;
}

#estimate_contact_02 .wpcf7,
#estimate_contact_02 form,
#estimate_contact_02 .contact-wrap {
	width: 100%;
	margin: 0;
}

#estimate_contact_02 .contact-wrap > h2,
#estimate_contact_02 .contact-wrap > h3,
#estimate_contact_02 .contact-wrap > h4,
#estimate_contact_02 .contact-wrap > h5,
#estimate_contact_02 .contact-wrap > h6 {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	height: auto;
	min-height: 0;
	margin: 28px 0 12px;
	padding: 11px 14px;
	border: 0;
	border-left: 4px solid var(--form-teal);
	border-radius: 0 4px 4px 0;
	background: var(--form-soft);
	color: var(--form-navy);
	font-family: inherit;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.45;
	letter-spacing: 0;
	text-align: left;
}

#estimate_contact_02 .contact-wrap > h2:first-child,
#estimate_contact_02 .contact-wrap > h3:first-child,
#estimate_contact_02 .contact-wrap > h4:first-child,
#estimate_contact_02 .contact-wrap > h5:first-child,
#estimate_contact_02 .contact-wrap > h6:first-child {
	margin-top: 0;
}

#estimate_contact_02 h6 p,
#estimate_contact_02 h6 p.att {
	position: static;
	width: auto;
	margin: 0 0 0 12px;
	padding: 3px 8px;
	border-radius: 3px;
	background: #fff;
	color: #c72d3f;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.4;
	text-align: right;
}

#estimate_contact_02 .contact-wrap > p {
	margin: 10px 0;
}

#estimate_contact_02 table {
	width: 100% !important;
	margin: 0 0 16px;
	border: 1px solid var(--form-line);
	border-collapse: separate;
	border-spacing: 0;
	border-radius: 5px;
	background: #fff;
	overflow: hidden;
	font-family: inherit;
	font-size: 14px;
}

#estimate_contact_02 table th,
#estimate_contact_02 table td {
	height: auto;
	padding: 11px 13px;
	border: 0;
	border-bottom: 1px solid var(--form-line);
	background: #fff;
	color: var(--form-text);
	font-size: 14px;
	line-height: 1.65;
	text-align: left;
	vertical-align: middle;
}

#estimate_contact_02 table th {
	width: 170px;
	background: var(--form-soft);
	color: var(--form-navy);
	font-weight: 700;
}

#estimate_contact_02 table tr:last-child > th,
#estimate_contact_02 table tr:last-child > td {
	border-bottom: 0;
}

#estimate_contact_02 table.product th,
#estimate_contact_02 table.product td,
#estimate_contact_02 table.data th,
#estimate_contact_02 table.data td,
#estimate_contact_02 table.adding th,
#estimate_contact_02 table.adding td {
	padding: 11px 13px;
	border-color: var(--form-line);
}

#estimate_contact_02 table.product th {
	border-top: 0;
}

#estimate_contact_02 table.sheet,
#estimate_contact_02 table.print,
#estimate_contact_02 table.sheet2 {
	table-layout: fixed;
}

#estimate_contact_02 table.sheet th,
#estimate_contact_02 table.sheet td,
#estimate_contact_02 table.print th,
#estimate_contact_02 table.print td,
#estimate_contact_02 table.sheet2 th,
#estimate_contact_02 table.sheet2 td {
	width: auto;
	padding: 8px;
	text-align: center;
}

#estimate_contact_02 table.sheet tr.title th,
#estimate_contact_02 table.sheet tr.title td,
#estimate_contact_02 table.print tr.title th,
#estimate_contact_02 table.print tr.title td,
#estimate_contact_02 table.sheet2 tr.title th,
#estimate_contact_02 table.sheet2 tr.title td {
	background: #eaf1f4;
	color: var(--form-navy);
	font-weight: 700;
}

#estimate_contact_02 table.print th.left {
	background: var(--form-soft);
}

#estimate_contact_02 input[type="text"],
#estimate_contact_02 input[type="email"],
#estimate_contact_02 input[type="tel"],
#estimate_contact_02 input[type="number"],
#estimate_contact_02 input[type="date"],
#estimate_contact_02 select,
#estimate_contact_02 textarea {
	display: block;
	width: 100% !important;
	max-width: 100%;
	min-height: 42px;
	margin: 0;
	padding: 9px 11px;
	border: 1px solid #9fb2bf;
	border-radius: 4px;
	background: #fff;
	box-shadow: inset 0 1px 2px rgba(18, 50, 75, 0.05);
	color: #152c3d;
	font-family: inherit;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.4;
}

#estimate_contact_02 textarea {
	min-height: 122px;
	resize: vertical;
}

#estimate_contact_02 input[type="text"]:focus,
#estimate_contact_02 input[type="email"]:focus,
#estimate_contact_02 input[type="tel"]:focus,
#estimate_contact_02 input[type="number"]:focus,
#estimate_contact_02 input[type="date"]:focus,
#estimate_contact_02 select:focus,
#estimate_contact_02 textarea:focus {
	border-color: var(--form-teal);
	box-shadow: 0 0 0 3px var(--form-focus);
	outline: none;
}

#estimate_contact_02 input[type="radio"],
#estimate_contact_02 input[type="checkbox"] {
	width: 18px;
	height: 18px;
	margin: 1px 7px 0 0;
	accent-color: var(--form-teal);
	vertical-align: top;
}

#estimate_contact_02 .wpcf7-list-item {
	display: inline-flex;
	align-items: flex-start;
	margin: 4px 8px 4px 0;
}

#estimate_contact_02 .wpcf7-list-item > label {
	display: inline-flex;
	align-items: flex-start;
	min-height: 40px;
	padding: 8px 11px;
	border: 1px solid #b7c7d0;
	border-radius: 4px;
	background: #fff;
	cursor: pointer;
}

#estimate_contact_02 input[type="file"] {
	display: block;
	width: 100%;
	max-width: 100%;
	margin: 5px 0 9px;
	padding: 7px;
	border: 1px solid #b7c7d0;
	border-radius: 4px;
	background: var(--form-soft);
	color: var(--form-muted);
	font-family: inherit;
	font-size: 13px;
}

#estimate_contact_02 input[type="file"]::file-selector-button {
	margin-right: 10px;
	padding: 7px 12px;
	border: 1px solid #8ea4b1;
	border-radius: 3px;
	background: #fff;
	color: var(--form-navy);
	font-family: inherit;
	font-weight: 700;
	cursor: pointer;
}

#estimate_contact_02 input[type="button"],
#estimate_contact_02 button:not([type="submit"]) {
	min-height: 40px;
	padding: 8px 14px;
	border: 1px solid var(--form-teal);
	border-radius: 4px;
	background: #fff;
	color: var(--form-teal-dark);
	font-family: inherit;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
}

#estimate_contact_02 .btn {
	width: 100% !important;
	margin: 28px 0 12px !important;
	text-align: center;
}

#estimate_contact_02 input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: min(360px, 100%);
	min-height: 52px;
	padding: 12px 20px;
	border: 0;
	border-radius: 4px;
	background: var(--form-orange);
	box-shadow: 0 3px 0 var(--form-orange-dark);
	color: #fff;
	font-family: inherit;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.4;
	cursor: pointer;
}

#estimate_contact_02 input[type="submit"]:hover,
#estimate_contact_02 input[type="submit"]:focus-visible {
	background: #e66b0c;
	outline: 3px solid rgba(244, 119, 22, 0.22);
	outline-offset: 2px;
}

#estimate_contact_02 input[type="submit"]:disabled {
	background: #aebbc2;
	box-shadow: none;
	cursor: wait;
}

#estimate_contact_02 .wpcf7-not-valid-tip {
	display: block;
	margin-top: 5px;
	color: #c72d3f;
	font-size: 13px;
	font-weight: 700;
}

#estimate_contact_02 .wpcf7-response-output {
	margin: 16px 0 0;
	padding: 12px 14px;
	border: 1px solid #c6d5dc;
	border-radius: 4px;
	background: var(--form-soft);
}

#estimate_contact_02 .contact-wrap > .data,
#estimate_contact_02 .js-name-and-number-personal-spec-open-close-area {
	margin: 0 0 16px;
	padding: 14px;
	border: 1px solid var(--form-line);
	border-radius: 5px;
	background: #fbfcfd;
}

#right .to_top3 {
	margin-top: 18px;
}

@media screen and (max-width: 750px) {
	#right {
		width: 100% !important;
		max-width: 100%;
		margin: 0 !important;
		font-size: 14px;
	}

	#right .content_wrap {
		width: 100%;
		padding: 17px 13px 22px;
		border-right: 0;
		border-left: 0;
		border-radius: 0;
		box-shadow: none;
	}

	#right .content_wrap h1.title {
		margin-bottom: 12px;
		padding: 6px 0 6px 12px;
		font-size: 22px;
	}

	#right p.form_memo {
		margin: 10px 0 !important;
		padding: 10px 11px;
		font-size: 13px;
	}

	#estimate_contact_02 .contact-wrap > h2,
	#estimate_contact_02 .contact-wrap > h3,
	#estimate_contact_02 .contact-wrap > h4,
	#estimate_contact_02 .contact-wrap > h5,
	#estimate_contact_02 .contact-wrap > h6 {
		flex-wrap: wrap;
		gap: 6px;
		margin-top: 22px;
		padding: 10px 11px;
		font-size: 16px;
	}

	#estimate_contact_02 h6 p,
	#estimate_contact_02 h6 p.att {
		margin-left: 0;
		font-size: 11px;
	}

	#estimate_contact_02 table.user,
	#estimate_contact_02 table.product,
	#estimate_contact_02 table.data,
	#estimate_contact_02 table.adding,
	#estimate_contact_02 table.user tbody,
	#estimate_contact_02 table.product tbody,
	#estimate_contact_02 table.data tbody,
	#estimate_contact_02 table.adding tbody,
	#estimate_contact_02 table.user tr,
	#estimate_contact_02 table.product tr,
	#estimate_contact_02 table.data tr,
	#estimate_contact_02 table.adding tr,
	#estimate_contact_02 table.user th,
	#estimate_contact_02 table.product th,
	#estimate_contact_02 table.data th,
	#estimate_contact_02 table.adding th,
	#estimate_contact_02 table.user td,
	#estimate_contact_02 table.product td,
	#estimate_contact_02 table.data td,
	#estimate_contact_02 table.adding td {
		display: block;
		float: none;
		width: 100% !important;
	}

	#estimate_contact_02 table.user th,
	#estimate_contact_02 table.product th,
	#estimate_contact_02 table.data th,
	#estimate_contact_02 table.adding th {
		padding: 8px 10px;
		border-bottom: 1px solid var(--form-line);
	}

	#estimate_contact_02 table.user td,
	#estimate_contact_02 table.product td,
	#estimate_contact_02 table.data td,
	#estimate_contact_02 table.adding td {
		padding: 10px;
	}

	#estimate_contact_02 table.sheet,
	#estimate_contact_02 table.sheet tbody {
		display: table !important;
		width: 100% !important;
		table-layout: fixed;
	}

	#estimate_contact_02 table.sheet tr {
		display: table-row !important;
		float: none !important;
	}

	#estimate_contact_02 table.sheet th,
	#estimate_contact_02 table.sheet td {
		display: table-cell !important;
		float: none !important;
		width: auto !important;
		padding: 6px 4px;
		font-size: 12px;
	}

	#estimate_contact_02 table.print,
	#estimate_contact_02 table.sheet2 {
		display: block !important;
		width: 100% !important;
		overflow-x: auto;
		overscroll-behavior-inline: contain;
		-webkit-overflow-scrolling: touch;
	}

	#estimate_contact_02 table.print tbody,
	#estimate_contact_02 table.sheet2 tbody {
		display: table;
		width: 610px;
		table-layout: fixed;
	}

	#estimate_contact_02 table.print tr,
	#estimate_contact_02 table.sheet2 tr {
		display: table-row !important;
	}

	#estimate_contact_02 table.print th,
	#estimate_contact_02 table.print td,
	#estimate_contact_02 table.sheet2 th,
	#estimate_contact_02 table.sheet2 td {
		display: table-cell !important;
		float: none !important;
		width: auto !important;
	}

	#estimate_contact_02 .wpcf7-list-item {
		display: flex;
		width: 100%;
		margin: 4px 0;
	}

	#estimate_contact_02 .wpcf7-list-item > label {
		width: 100%;
	}

	#estimate_contact_02 input[type="file"] {
		font-size: 12px;
	}

	#estimate_contact_02 input[type="submit"] {
		width: 100%;
		font-size: 16px;
	}

	#estimate_contact_02 .contact-wrap > .data,
	#estimate_contact_02 .js-name-and-number-personal-spec-open-close-area {
		padding: 10px;
	}
}

/* --- #send_design: タブ形式（20260820 改訂3: 枠線廃止・背景色のみで選択状態を表現、常時グリッドでタブレット崩れ対策） --- */
#send_design {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
#send_design > p:not(:has(input[type="radio"])) {
  display: none;
}
#send_design > p {
  margin: 0;
}
#send_design > p > label {
  display: block;
  padding: 12px 10px;
  border-radius: 8px;
  background: #eceff1;
  cursor: pointer;
  color: #4a555d;
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
  transition: color .15s ease, background-color .15s ease;
}
#send_design > p > label:hover {
  color: #165d72;
  background: #dfe7ea;
}
#send_design > p > label:has(input:checked) {
  color: #fff;
  font-weight: bold;
  background: #165d72;
}
#send_design > p > label:has(input:focus-visible) {
  outline: 2px solid #165d72;
  outline-offset: 2px;
}
#send_design input[type="radio"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
#send_design .send_detail {
  display: none;
  order: 999;
  grid-column: 1 / -1;
  margin-top: 10px;
  padding: 20px;
  border-radius: 8px;
  background: #f4f8fa;
}
#send_design .send_detail.is-active {
  display: block;
}

@media (max-width: 640px) {
  #send_design {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- WEB見積CTAボタン: SP用a:link(#6EAB23)に負けるため詳細度を上げて白文字を固定（20260820） --- */
.nsp-order-estimate-cta a,
.nsp-order-estimate-cta a:link,
.nsp-order-estimate-cta a:visited,
.nsp-order-estimate-cta a:hover,
.nsp-order-estimate-cta a:active,
.nsp-order-estimate-cta a:focus {
  color: #fff;
  text-decoration: none;
}
