﻿@charset "utf-8";
/*--------------------------------------------------------------------------------

  parts-form

--------------------------------------------------------------------------------*/
.contact-box form {
}
.contact-box form table {
  width: 100%;
}
.contact-box form table tbody {
}
.contact-box form table tbody tr {
  border-top: 1px solid #f3f3f3;
}
.contact-box form table tbody tr:not(:first-child) {
  border-bottom: 1px solid #f3f3f3;
}
.contact-box form table tbody tr th,
.contact-box form table tbody tr td {
  padding: 1.5em 0;
}
.contact-box form table tbody tr th {
  width: 25%;
  padding: 2.1em 0 1.5em 0;
}
.contact-box form table.confirm tbody tr th {
  padding: 1.5em 0;
}
.contact-box form table tbody tr td {
  width: 75%;
}

@media (max-width: 760px) {
.contact-box form table,
.contact-box form table tbody,
.contact-box form table tbody tr,
.contact-box form table tbody tr th,
.contact-box form table tbody tr td {
  display: block;
  width: 100%;
}
.contact-box form table tbody tr th {
  padding: 1em 0;
}
.contact-box form table.confirm tbody tr th {
  padding: 1em 0 0.5em 0;
}
.contact-box form table tbody tr td {
  padding: 0 0 1.5em 0;
}
}

.contact-box form dl.concent {
  background: #f3f3f3;
  margin: 42px 0 0 0;
  padding: 2em;
}
.contact-box form dl.concent dt {
  font-size: var(--fs-l);
  font-family: var(--ff-min);
  font-weight: 500;
}
.contact-box form dl.concent dd {
  margin: 0.5em 0 0 0;
}
.contact-box form dl.concent dd p {
}
.contact-box form dl.concent dd p a::after {
  content: '';
  display: inline-block;
  width: 13px;
  height: 13px;
  color: var(--icon-color, currentColor);
  line-height: 1;
  vertical-align: middle;
  background: currentColor;
  margin: 0 0 0 5px;
  mask-image: var(--icon-newwin);
  mask-repeat: no-repeat;
  mask-position: center center;
  mask-size: contain;
}

@media (max-width: 760px) {
.contact-box form dl.concent {
  padding: 1.5em;
}
}

/* ----------------------------------------------------------------------------------------------------
	alert
---------------------------------------------------------------------------------------------------- */
.mailform-alert {
	width: 100%;
	text-align: center !important;
	background: #f3f3f3;
  margin-bottom: 48px;
  padding: 2em;
}

@media screen and (max-width: 760px) {
.mailform-alert {
	text-align: left !important;
  padding: 1.5em;
}
}

.mailform-alert.error {
	color: #ff5353 !important;
	background: #ffeaea;
}

@media screen and (max-width: 760px) {
.mailform-alert.error p {
	text-align: left !important;
}
}

.mailform-setup-alert {
  width: 100%;
	color: #ff5353 !important;
	text-align: center !important;
	background: #ffeaea;
  margin-bottom: 20px;
  padding: 2em;
}

@media screen and (max-width: 760px) {
.mailform-setup-alert {
  text-align: left !important;
  padding: 1.5em;
}
}

/* ----------------------------------------------------------------------------------------------------
	send end
---------------------------------------------------------------------------------------------------- */
/* send_ok */
.send-ok {
	width: 100%;
	text-align: center;
	margin: 84px auto;
}
.send-ok img {
  margin: 0 auto 42px auto;
}
.send-ok p {
  text-align: center;
  margin: 0 auto;
}
.send-ok p:nth-of-type(1) {
  text-align: center;
  margin: 0 auto 1em auto !important;
}
.send-ok p strong {
	color: #d62121;
	font-size: var(--fs-3l);
  font-family: var(--ff-min);
  font-weight: 500;
}

@media screen and (max-width: 760px) {
.send-ok {
	margin: 42px auto;
}
.send-ok img {
  margin: 0 auto 20px auto;
}
.send-ok p {
  text-align: left;
}
.send-ok p strong {
	font-size: var(--fs-l);
}
}

/* mailsend-box */
.mailform-box {
	width: 100%;
	background: #f5f7f6;
  background-color: #f3f3f3;
  margin: 0 auto;
  padding: 2em;
}
.mailform-box p {
}
.mailform-box p:nth-of-type(1) {
  text-align: center;
  margin: 0 auto 1em auto;
}
.mailform-box p strong {
	color: #d62121;
	font-size: var(--fs-l);
  font-family: var(--ff-min);
  font-weight: 500;
}
.mailform-box p span {
	color: #d62121;
}

@media screen and (max-width: 760px) {
.mailform-box {
  padding: 1.5em;
}
}

/* jumppage-auto */
.jumppage-auto {
	width: 100%;
	max-width: 600px;
	text-align: center;
  margin: 84px auto 0 auto;
}

@media screen and (max-width: 760px) {
.jumppage-auto {
	text-align: left !important;
  margin: 42px auto 0 auto;
}
}

/* ----------------------------------------------------------------------------------------------------
  form parts
---------------------------------------------------------------------------------------------------- */
.icon-required {
  float: right;
  color: #ffffff;
  font-size: var(--fs-3s);
  font-weight: 400;
  background: #d62121;
  margin: 0.5em 20px 0 0;
  padding: 0 1em;
}
.postcode {
  display: flex;
  align-items: center;
  margin-bottom: 1em;
}
.postcode input {
  margin: 0 0.25em;
}

@media (max-width: 760px) {
.icon-required {
  position: relative;
  top: -2px;
  float: none;
  line-height: var(--fs-3s);
  margin: 0 0 0 20px;
  padding: 0 1em 1px 1em;
}
}

.width_zip01 	{ width: calc(3em + 10px); }
.width_zip02 	{ width: calc(4em + 10px); }
.width_10p 		{ width: 10%; }
.width_25p 		{ width: 25%; }
.width_50p 		{ width: 50%; }
.width_75p 		{ width: 75%; }
.width_max 		{ width: 100%; }

@media screen and (max-width: 760px) {
.width_10p 		{ width: 30%; }
.width_25p 		{ width: 40%; }
.width_50p 		{ width: 60%; }
.width_75p 		{ width: 75%; }
.width_max 		{ width: 100%; }
}

@media screen and (max-width: 640px) {
.width_10p 		{ width: 60%; }
.width_25p 		{ width: 60%; }
.width_50p 		{ width: 100%; }
.width_75p 		{ width: 100%; }
.width_max 		{ width: 100%; }
}

:root {
  --input-pd: 0.75rem;
  --select-icon-area: 1rem;
  --select-icon-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M4,7l8,10,8-10H4Z"/></svg>');
  --select-icon: #323232;
  --select-icon-size: 75%;
}

/* text系 */
input[type="text"],
input[type="tel"],
input[type="email"],
textarea {
  position: relative;
	background: #ffffff;
	border: 1px solid #cccccc;
	border-radius: 5px;
	padding: 10px;
	}
input[type="text"]:focus,
input[type="tel"]:focus,
input[type="email"]:focus,
textarea:focus {
	border-color: #b9b9b9;
	}
textarea { resize: vertical; }
.select-flex-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: stretch;
  gap: 0.5em 1em;
  width: 100%;
}
.select-box {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.25em;
  white-space: nowrap;
}
.select-box .select {
  display: inline-block;
  position: relative;
	background: #ffffff;
	border: 1px solid #cccccc;
	border-radius: 5px;
  overflow: hidden;
  cursor: pointer;
}
.select-box .select:has(select:focus) {
	border-color: #b9b9b9;
}
.select-box .select::before {
  content: "";
  position: absolute;
  top: 0;
  right: calc(var(--input-pd) / 2);
  width: var(--select-icon-area);
  height: 100%;
  background-color: var(--select-icon);
  pointer-events: none;
  mask-image: var(--select-icon-image);
  mask-repeat: no-repeat;
  mask-size: var(--select-icon-size);
  mask-position: center center;
  z-index: 1;
}
.select-box .select select {
  position: relative;
  width: calc(auto + 0.5em);
	padding: 10px 1.65em 10px 1em;
  cursor: pointer;
}

/* radio系 */
ul.radio_group {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5em;
  margin: 3px 0;
	padding: 4px 0;
	list-style: none;
	}
ul.radio_group.vertical {
  flex-direction: column;
}
ul.radio_group.horizontal {
  flex-direction: row;
}
ul.radio_group li {
}
ul.radio_group li label {
  text-indent: -1.75em;
	margin: 0 1.5em 0 0;
  padding: 0 0 0 1.75em;
}
ul.radio_group li input[type="radio"] {
	position: absolute;
	opacity: 0;
	z-index: -1; 
}
ul.radio_group li input[type="radio"]+label {
	display: block;
	font-family: inherit;
	margin-top: 0.25em;
	margin-bottom: 0.25em;
	cursor: pointer;
}
ul.radio_group li input[type="radio"]+label::before {
	content: "";
	display: inline-block;
	width: 1.25em;
	height: 1.25em;
	vertical-align: middle;
	background: #ffffff;
	border: 2px solid #c8c8c8;
	border-radius: 1.25em;
	margin: -3px 0.5em 0 0;
	transition: border-color ease-in-out .15s, background-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
}
ul.radio_group li input[type="radio"]:hover+label::before {
	background-color: #c8c8c8;
	border-color: #c8c8c8;
	box-shadow: inset 0 0 0 0.25em #ffffff;
}
ul.radio_group li input[type="radio"]:checked+label::before {
	background-color: var(--color-secondary);
	border-color: var(--color-secondary);
	box-shadow: inset 0 0 0 0.25em #ffffff;
}

/* checkbox系 */
ul.checkbox_group {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5em;
  margin: 5px 0;
	padding: 3px 0;
	list-style: none;
	}
ul.checkbox_group.vertical {
  flex-direction: column;
}
ul.checkbox_group.horizontal {
  flex-direction: row;
}
ul.checkbox_group li {
}
ul.checkbox_group li label {
  text-indent: -1.75em;
	margin: 0 1.5em 0 0;
  padding: 0 0 0 1.75em;
}
ul.checkbox_group li input[type="checkbox"] {
	display: none;
	margin-top: -0.25em;
}
ul.checkbox_group li input[type="checkbox"]+label {
	display: inline-block;
	font-family: inherit;
	margin-top: 0.25em;
	margin-bottom: 0.25em;
	cursor: pointer;
}
ul.checkbox_group li input[type="checkbox"]+label::before {
	content: "";
	display: inline-block;
	width: 1.25em;
	height: 1.25em;
	color: transparent;
	font-size: 1em;
	line-height: 1.2em;
	text-align: center;
	vertical-align: middle;
	background: #ffffff;
	border: 2px solid #c8c8c8;
	border-radius: 3px;
	margin: -4px 0.5em 0 0;
	padding: 0;
	transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s, background-color ease-in-out .15s;
}
ul.checkbox_group li input[type="checkbox"]:hover+label::before {
	color: #ffffff;
	background: #c8c8c8;
}
ul.checkbox_group li input[type="checkbox"]:checked+label::before {
	content: "✔";
  text-indent: 0;
	color: #ffffff;
	background: #084e18;
	border-color: #cccccc;
}

/* agree系 */
label.agree {
	display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: stretch;
  align-content: stretch;
  column-gap: 0.5em;
	font-family: inherit;
	margin: 1em 0;
	cursor: pointer;
}
label.agree input[type="checkbox"] {
	display: none;
	margin-top: -0.25em;
}
label.agree::before {
	content: "";
  flex-shrink: 0;
	display: inline-block;
	width: 1.25em;
	height: 1.25em;
	color: transparent;
	font-size: 1em;
	line-height: 1em;
	text-align: center;
	vertical-align: middle;
	background: #ffffff;
	border: 1px solid #c8c8c8;
	border-radius: 3px;
	margin: 8px 0;
	padding: 0;
	transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s, background-color ease-in-out .15s;
}
label.agree:hover::before {
	color: #ffffff;
	background: #c8c8c8;
	border: 1px solid #c8c8c8;
}
label.agree:has(input:checked)::before {
	content: "✔";
  text-indent: 0;
	color: #ffffff;
	background: #084e18;
	border: 1px solid #084e18;
}
@media (max-width: 760px) {
label.agree::before {
  margin: 6px 0;
}
}

/* button系 */
.flex-button {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: stretch;
  column-gap: 20px;
  margin: 84px 0 0 0;
}
.flex-button button {
  display: block;
  width: 320px;
  height: 60px;
  color: #ffffff;
  font-weight: 400;
  font-family: var(--ff-min);
  text-align: center;
  line-height: 60px;
  background: #e6a925;
	transition: ease-in-out .15s;
}
.flex-button button:hover:not(:disabled) {
  background: #f0ca7b;
}
.flex-button button:disabled {
  color: #cccccc;
  background: #f3f3f3;
}
.flex-button button[type="button"] {
  color: var(--txt-color);
  background: #f3f3f3;
}
.flex-button button[type="button"]:hover:not(:disabled) {
  color: #666666;
  background: #f6f6f6;
}

@media screen and (max-width: 760px) {
.flex-button {
  flex-direction: column;
  align-items: center;
  row-gap: 20px;
  column-gap: 0;
  margin: 42px 0 0 0;
}
}

/* error系 */
/*
input[type="text"]:user-valid,
input[type="tel"]:user-valid,
input[type="email"]:user-valid,
input[type="radio"]:user-valid,
select:user-valid,
textarea:user-valid {
	background-color: #ffffff;
}
input[type="text"]:user-invalid,
input[type="tel"]:user-invalid,
input[type="email"]:user-invalid,
input[type="radio"]:user-invalid,
select:user-invalid,
textarea:user-invalid {
	background-color: #f7d5d5;
	border-color: #de5253;
}
*/