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

  base

--------------------------------------------------------------------------------*/
.pc { display: inline; }
.sp { display: none; }
@media (max-width: 760px) {
.pc { display: none; }
.sp { display: inline; }
}


/*--------------------------------------------------------------------------------

  contact

--------------------------------------------------------------------------------*/
#contact {
}

#contact .eyecatch {
  background: #ffffff url("../../assets/img/contact/eyecatch.jpg") center center / cover no-repeat;
}

#contact .sec-contact {
  padding: var(--space-2l) 0;
}

#contact .sec-contact > p:nth-of-type(1) {
  margin: var(--space-m) 0 0 0 !important;
}

#contact .sec-contact table {
  width: 100%;
  border-top: solid 1px var(--border-color);
  margin-top: var(--space-m);
}
#contact .sec-contact table colgroup:nth-of-type(1) {
  width: 13em;
}
#contact .sec-contact table colgroup:nth-of-type(2) {
  width: auto;
}
#contact .sec-contact table tbody {
}
#contact .sec-contact table tbody tr {
  border-bottom: solid 1px var(--border-color);
}
#contact .sec-contact table tbody tr th span.icon_required {
  float: right;
  color: #ffffff;
  font-size: 12px;
  background: #de5253;
  border-radius: var(--rd-q);
  margin: 1px 0 0 0;
  padding: 0.3em 1em 0.15em 1em;
}
#contact .sec-contact table tbody tr th {
  padding: calc(var(--space-3s) + 0.675em) 2em calc(var(--space-3s) + 0.675em) 0;
}
#contact .sec-contact table tbody tr td {
  padding: var(--space-3s) 0;
}
#contact .sec-contact table tbody tr td span {
  display: inline-block;
  color: var(--color-gray);
  margin: 0 0 0 1em;
}
#contact .sec-contact table tbody tr td dl:nth-of-type(1) {
  margin: calc(var(--space-3s) - 0.125em) 0 0 0;
}
#contact .sec-contact table tbody tr td dl:not(:nth-of-type(1)) {
  margin: var(--space-3s) 0 0 0;
}
#contact .sec-contact table tbody tr td dl dt {
}
#contact .sec-contact table tbody tr td dl dd {
  margin: 0.25em 0 0 0;
}
#contact .sec-contact table.confirmation tbody tr th {
  padding: var(--space-3s) 2em var(--space-3s) 0 !important;
}
#contact .sec-contact table.confirmation tbody tr td {
  padding: var(--space-3s) 0 !important;
}

#contact .sec-contact .ssl-box {
  background-color: var(--bg-quaternary);
  border-radius: var(--rd-q);
  margin-top: var(--space-l);
  padding: min(var(--inner-space-m), 2rem);
}

@media (max-width: 760px) {
#contact .sec-contact table,
#contact .sec-contact table tbody,
#contact .sec-contact table tbody tr,
#contact .sec-contact table tbody tr th,
#contact .sec-contact table tbody tr td {
  display: block;
  width: 100%;
}
#contact .sec-contact table tbody tr th {
  padding: var(--space-s) 0 0 0;
}
#contact .sec-contact table tbody tr th span.icon_required {
  float: none;
  margin: 0 0 0 1em;
  padding: 0.25em 1em 0.20em 1em;
}
#contact .sec-contact table tbody tr td {
  padding: var(--space-3s) 0 var(--space-s) 0;
}
#contact .sec-contact table tbody tr td span {
  display: block;
  margin: var(--space-3s) 0 0 0;
}
#contact .sec-contact table.confirmation tbody tr th {
  padding: var(--space-s) 0 0 0 !important;
}
#contact .sec-contact table.confirmation tbody tr td {
  padding: var(--space-3s) 0 var(--space-s) 0 !important;
}
}


/* ----------------------------------------------------------------------------------------------------
	alert
---------------------------------------------------------------------------------------------------- */
.mailform_alert {
	width: 100%;
	text-align: center !important;
	background: #e3fff2;
  border-radius: var(--rd-q);
  padding: 1rem;
}

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

.mailform_alert.error {
	width: 100%;
	color: #ff5353 !important;
	background: #ffeaea;
  border-radius: var(--rd-q);
  padding: 1rem;
}

@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;
  border-radius: var(--rd-q);
  margin: var(--space-3s) 0 0 0;
  padding: 1rem;
}

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


/* ----------------------------------------------------------------------------------------------------
	send end
---------------------------------------------------------------------------------------------------- */
/* send_ok */
.send_ok {
	width: 100%;
	text-align: center;
	margin: 0 auto;
}
.send_ok img {
  margin: var(--space-m) auto !important;
}
.send_ok h3 {
	color: #ff5353;
	font-size: var(--fs-l);
  font-weight: 700;
  text-align: center;
}
.send_ok p {
  text-align: center;
  margin: var(--space-s) 0 0 0 !important;
}

@media screen and (max-width:740px) {
.send_ok p:nth-of-type(2) {
  text-align: left !important;
}
.send_ok p strong {
	font-size: clamp(20px,6.25vw,25px);
}
}

/* mailsend_box */
.mailsend_box {
	width: 100%;
	max-width: 700px;
	background: #f5f7f6;
  background-color: var(--bg-gray);
  border-radius: var(--rd-q);
  margin: var(--space-m) auto 0 auto;
  padding: var(--inner-space-m);
}
.mailsend_box h4 {
  display: block;
	color: #ff5353;
	font-size: var(--fs-l);
  font-weight: bold;
  text-align: center;
  white-space: pre-wrap;
  word-break: keep-all;
}
.mailsend_box p strong {
	color: #ff5353;
}

/* jump_page_auto */
.jump_page_auto {
	width: 100%;
	max-width: 600px;
	text-align: center;
  margin: var(--space-m) auto 0 auto;
}

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


/* ----------------------------------------------------------------------------------------------------
	form parts
---------------------------------------------------------------------------------------------------- */
.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: 2rem;
  --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: 60%;
}

/* text系 */
input[type="text"],
input[type="tel"],
input[type="email"],
select,
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,
select:focus,
textarea:focus {
	border-color: #b9b9b9;
	}
textarea { resize: vertical; }
.selectbox {
  display: inline-block;
  position: relative;
}
.selectbox::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;
}

/* 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: var(--color-secondary);
	border-color: var(--color-secondary);
}

/* sendfile */
ul.sendfile_group {
  list-style: none;
	margin: 10px 0 0 0;
	padding: 0;
}
ul.sendfile_group li {
  margin: 20px 0 0 0;
}
ul.sendfile_group li:first-child {
  margin: 0 !important;
}

.sendfile_button {
	display: block;
	width: 320px;
	box-sizing: border-box;
	border: solid 1px #cccccc;
	border-radius: 5px;
	margin: 20px 0 0 0 !important;
	padding: 10px 10px 11px 60px !important;
}
.sendfile_button:nth-of-type(1) { margin:0 !important; }
.sendfile_button.icon_img { background: transparent url("../../assets/image/contents/contact/icon_img.png") 20px center no-repeat; background-size:20px; }
.sendfile_button.icon_pdf { background: transparent url("../../assets/image/contents/contact/icon_pdf.png") 20px center no-repeat; background-size:20px; }
.sendfile_button.icon_doc { background: transparent url("../../assets/image/contents/contact/icon_doc.png") 20px center no-repeat; background-size:20px; }
.sendfile_button.icon_xls { background: transparent url("../../assets/image/contents/contact/icon_xls.png") 20px center no-repeat; background-size:20px; }
.sendfile_button.icon_ppt { background: transparent url("../../assets/image/contents/contact/icon_ppt.png") 20px center no-repeat; background-size:20px; }
.sendfile_button span {
  font-size: 11px;
}

@media screen and (max-width:760px) {
ul.sendfile_group {
	margin: 0;
}
.sendfile_button:nth-of-type(1) { margin:10px 0 0 0 !important; }
}

@media screen and (max-width:640px) {
.sendfile_button {
	width: 100%;
}
}

/* button系 */
.flex-btn {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: stretch;
  gap: var(--space-s);
  margin: var(--space-m) 0 0 0;
}

@media screen and (max-width:760px) {
.flex-btn {
  flex-direction: column;
  align-items: center;
}
}

/* 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;
}
*/