@charset "UTF-8";
/* CSS Document */

/* =========================
  contact-page
========================= */

.contact-page {
  padding-top: 90px;
  margin-bottom: 160px;
}
.contact-page__head {
  margin-top: 60px;
  padding-bottom: 40px;
  text-align: center;
  border-bottom: 1px solid #d2d2d2;
}
.contact-page__ttl {
  color: #274870;
  line-height: 1.4;
}
.contact-page__lead {
  margin-top: 40px;
}
.contact-page__lead p {
  line-height: 1.8;
}
.contact-page__note {
  display: inline-block;
  background: #ffff00;
}
.contact-page__error-all {
  margin-top: 20px;
  padding: 20px;
  color: #ff0000;
  font-weight: 700;
  text-align: center;
  background: #fbe3e6;
}
.contact-page__btn-wrap {
  margin-top: 80px;
  text-align: center;
}

@media screen and (max-width: 768px) {
  .contact-page {
    padding-top: 80px;
    margin-bottom: 120px;
  }
  .contact-page__head {
    margin-top: 50px;
    padding-bottom: 30px;
  }
  .contact-page__lead {
    margin-top: 25px;
  }
  .contact-page__btn-wrap {
    margin-top: 70px;
  }
}

@media screen and (max-width: 500px) {
  .contact-page {
    padding-top: 65px;
    margin-bottom: 100px;
  }
  .contact-page__head {
    margin-top: 40px;
    padding-bottom: 25px;
  }
  .contact-page__lead {
    margin-top: 20px;
  }
  .contact-page__btn-wrap {
    margin-top: 60px;
  }
}

/* =========================
  contact-step
========================= */

.contact-step {
  margin-top: 40px;
}
.contact-step__list {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  list-style: none;
}
.contact-step__item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc((100% - 40px) / 3);
  min-height: 70px;
  color: #fff;
  font-weight: 700;
  background: #9aa8bc;
}
.contact-step__item--current {
  background: #274870;
}
.contact-step__arrow {
  position: relative;
  width: 10px;
  height: 20px;
  flex-shrink: 0;
}
.contact-step__arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 10px;
  height: 10px;
  border-top: 2px solid #000;
  border-right: 2px solid #000;
  transform: translateY(-50%) rotate(45deg);
}

@media screen and (max-width: 768px) {
  .contact-step {
    margin-top: 30px;
  }
  .contact-step__list {
    gap: 15px;
  }
  .contact-step__item {
    min-height: 60px;
  }
}

@media screen and (max-width: 500px) {
  .contact-step {
    margin-top: 25px;
  }
  .contact-step__list {
    gap: 10px;
  }
  .contact-step__item {
    min-height: 48px;
  }
}

/* =========================
  contact-table
========================= */

.contact-table {
  width: 100%;
  border-collapse: collapse;
  background: #fafafa;
}
.contact-table__head {
  width: 300px;
  padding: 25px 20px;
  text-align: left;
  vertical-align: middle;
  border: 1px solid #d2d2d2;
}
.contact-table__head--top {
  vertical-align: top;
}
.contact-table__data {
  padding: 25px 30px;
  border: 1px solid #d2d2d2;
}
.contact-table__label-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.contact-table__label {
  line-height: 1.5;
}

@media screen and (max-width: 768px) {
  .contact-table__head {
    width: 200px;
    padding: 20px 15px;
  }
  .contact-table__data {
    padding: 20px;
  }
}

@media screen and (max-width: 500px) {
  .contact-table__head {
    width: 140px;
    padding: 15px;
  }
  .contact-table__data {
    padding: 15px;
  }
}

/* =========================
  form-required
========================= */

.form-required {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 24px;
  padding: 3px 8px;
  color: #fff;
  line-height: 1;
  background: #ff0000;
}

/* =========================
  contact-btn
========================= */

.contact-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 450px;
  min-height: 90px;
  color: #fff;
  border: none;
  border-radius: 6px;
}
.contact-btn--next {
  background: #00bce3;
}
.contact-btn--next::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 20px;
  width: 15px;
  height: 15px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: translateY(-55%) rotate(45deg);
}

@media screen and (max-width: 500px) {
  .contact-btn {
    width: 100%;
    min-height: 60px;
  }
  .contact-btn--next::before {
    width: 10px;
    height: 10px;
  }
}

/* =========================
  contact-input
========================= */

.contact-input__form {
  margin-top: 40px;
}
.contact-input__field {
  width: 100%;
  max-width: 450px;
  height: 44px;
  padding: 0 15px;
  border: 1px solid #d2d2d2;
  background: #fff;
}
.contact-input__field--wide {
  max-width: none;
}
.contact-input__field::placeholder {
  color: #c8c8c8;
}
.contact-input__textarea {
  width: 100%;
  min-height: 160px;
  padding: 15px;
  border: 1px solid #d2d2d2;
  resize: vertical;
  background: #fff;
}
.contact-input__privacy {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.contact-input__privacy-link {
  color: #00bce3;
  text-decoration: underline;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
}
.contact-input__check {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.contact-input__checkbox {
  width: 18px;
  height: 18px;
}
.contact-input__error {
  margin-top: 10px;
  color: #ff0000;
  font-weight: 700;
}
.contact-page__error-all,
.contact-input__error {
  display: none;
}
.contact-page__error-all.is-show,
.contact-input__error.is-show {
	display: block;
}
.hp-field {
	position: absolute;
	left: -9999px;
	top: -9999px;
	height: 0;
	overflow: hidden;
}

@media screen and (max-width: 768px) {
  .contact-input__form {
    margin-top: 40px;
  }
}

@media screen and (max-width: 500px) {
  .contact-input__form {
    margin-top: 15px;
  }
  .contact-input__field {
    max-width: none;
    height: 40px;
  }
  .contact-input__textarea {
    min-height: 140px;
  }
  .contact-input__check {
    margin-top: 15px;
  }
}


/* =========================
  contact-confirm
========================= */

.contact-confirm__form {
  margin-top: 30px;
}
.contact-confirm__txt {
  line-height: 1.8;
}
.contact-confirm__message p {
  line-height: 1.8;
}
.contact-confirm__message p + p {
  margin-top: 5px;
}
.contact-confirm__btn-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 160px;
  margin-top: 60px;
}

@media screen and (max-width: 768px) {
  .contact-confirm__form {
    margin-top: 25px;
  }
  .contact-confirm__btn-wrap {
    gap: 60px;
    margin-top: 50px;
  }
}

@media screen and (max-width: 500px) {
  .contact-confirm__form {
    margin-top: 20px;
  }
  .contact-confirm__txt {
    line-height: 1.7;
  }
  .contact-confirm__message p {
    line-height: 1.7;
  }
  .contact-confirm__btn-wrap {
    display: block;
    margin-top: 40px;
  }
  .contact-confirm__btn-wrap .contact-btn + .contact-btn {
    margin-top: 20px;
  }
}


/* =========================
  contact-thanks
========================= */

.contact-thanks__head {
  margin-top: 60px;
  text-align: center;
}
.contact-thanks__ttl {
  color: #274870;
  line-height: 1.4;
}
.contact-thanks__body {
  margin-top: 50px;
}
.contact-thanks__body p {
  line-height: 1.9;
}
.contact-thanks__body p + p {
  margin-top: 30px;
}
.contact-thanks__back {
  margin-top: 80px;
}
.contact-thanks__back-link {
  position: relative;
  display: inline-block;
  padding-left: 18px;
  color: #274870;
  line-height: 1.4;
  border-bottom: 1px solid #00bce3;
  font-weight: 600;
}
.contact-thanks__back-link::before {
  content: "<";
  position: absolute;
  top: 0;
  left: 0;
  color: #00bce3;
}

@media screen and (max-width: 768px) {
  .contact-thanks__head {
    margin-top: 50px;
  }
  .contact-thanks__body {
    margin-top: 40px;
  }
  .contact-thanks__body p + p {
    margin-top: 25px;
  }
  .contact-thanks__back {
    margin-top: 70px;
  }
}

@media screen and (max-width: 500px) {
  .contact-thanks__head {
    margin-top: 40px;
  }
  .contact-thanks__body {
    margin-top: 30px;
  }
  .contact-thanks__body p {
    line-height: 1.8;
  }
  .contact-thanks__body p + p {
    margin-top: 20px;
  }
  .contact-thanks__back {
    margin-top: 60px;
  }
}


/* =========================
  popup
========================= */

div#modal,
div#pop {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity .3s ease, visibility .3s ease;
}

div#modal.is-open,
div#pop.is-open {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

body.is-fixed {
	overflow: hidden;
}

div#modal {
	width: 100%;
	height: 100%;
	background: rgba(35,40,58,.5);
	position: fixed;
	top: 0;
	left: 0;
	z-index: 110;
	display: block;
}

div#pop {
	width: 100%;
	height: 100%;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 120;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
}

div#pop div.pop_block{
	width: 84%;
	max-width: 680px;
	height: 80%;
	max-height: 675px;
	background: #FFF;
	border-radius: 6px;
	padding-bottom: 20px;
	overflow: hidden;
}

div#pop div.pop_block div.head_box{
	background: #f1f5fe;
	padding: 15px 50px;
	position: relative;
}

div#pop div.pop_block div.head_box h6{
	font-weight: 600;
	line-height: 1.3;
	color: #274870;
	letter-spacing: 0.06rem;
	text-align: center;
}

div#pop div.pop_block div.head_box span.close {
	width: 30px;
	height: 30px;
	display: inline-block;
	line-height: 0;
	cursor: pointer;
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 10;
}

div#pop div.pop_block div.hidden {
	width: 93.2%;
	height: calc(100% - 154px);
	margin: 30px auto 0;
	overflow: hidden;
}

div#pop div.pop_block div.scroll_block {
	width: 100%;
	height: 100%;
	margin: 0;
	overflow-y: scroll;
	-ms-overflow-style: none;
	scrollbar-width: none;
}

div#pop div.pop_block div.scroll_block::-webkit-scrollbar {
	display: none;
}

div#pop div.pop_block div.scroll_block ul{
	width: 94%;
	list-style: none;
}

div#pop div.pop_block div.scroll_block ul li{
	font-size: 1.4rem;
	font-weight: 400;
	line-height: 1.28;
	padding-left: 5rem;
	position: relative;
}

div#pop div.pop_block div.scroll_block ul li a{
	color: #00bce3;
}

div#pop div.pop_block div.scroll_block ul li span.num{
	position: absolute;
	top: 0.15em;
	left: 0;
}

div#pop div.pop_block div.scroll_block ul li + li{
	margin-top: 1.25em;
}

.simplebar-scrollbar::before {
	background: #274870;
	border-radius: 0;
	width: 9px;
	
}

.simplebar-scrollbar.simplebar-visible::before {
	opacity: 1;
}

.simplebar-track {
	background: #f1f5fe;
	width: 9px !important;
}

div#pop div.pop_block .btn_block {
	margin: 28px 0 0;
}

div#pop div.pop_block .btn_block div.close{
	width: 240px;
	height: 40px;
	margin: 0 auto;
	font-size: 1.6rem;
	font-weight: 600;
	line-height: 1;
	color: #FFF;
	cursor: pointer;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	background: #274870;
	border-radius: 6px;
}

@media screen and (min-width: 641px) {
	.sp {
		display: none;
	}
}

@media screen and (max-width: 640px) {
	.sp {
		display: block;
	}
	
	div#pop div.pop_block{
        padding-bottom: 40px;
    }
}

@media screen and (max-width: 500px) {	
	
	div#pop div.pop_block div.head_box h6{
		font-size: 1.5rem;
		letter-spacing: -0.02em;
    }
}
