*,*::before,*::after{box-sizing:border-box;font-style: normal;}
*{margin:0;padding:0;}
html,body{height:100%}
body{line-height:1.5;-webkit-font-smoothing:antialiased}
img,picture,video,canvas,svg{display:block;max-width:100%;margin:0 auto;height: auto;}
input,button,textarea,select{font:inherit;}
button{background-color: transparent;border: none;cursor: pointer;outline: none;padding: 0;appearance: none;}
input[type="date"],input[type="submit"],select{-webkit-appearance: none;}
ol,ul,dl{list-style-type: none;}
p,h1,h2,h3,h4,h5,h6{overflow-wrap:break-word}
a {text-decoration: none;color: inherit;}
#root,#__next{isolation:isolate}

html{
  font-size: 62.5%;
}
body{
  font-size:1.6rem;
  font-family: "Helvetica Neue",Arial,"Hiragino Kaku Gothic ProN","Hiragino Sans",Meiryo,sans-serif;
  color: #0A0A0A;
  background-color: #F5F5F6;
}
.w-wide {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}
.w-middle {
  width: 80%;
  max-width: 1000px;
  margin: 0 auto;
}
.w-small {
  width: 75%;
  max-width: 740px;
  margin: 0 auto;
}
.inner {
  margin: 0 auto;
}
.sp {
  display: none;
}
@media screen and (max-width:980px) {
  .w-wide,.w-middle,.w-small {
    width: 90%;
  }
}
@media screen and (max-width:680px) {
  .w-wide .w-middle,
  .w-wide .w-small,
  .w-middle .w-middle,
  .w-middle .w-small {
    width: 100%;
  }
  .sp {
    display: inline-block;
  }
}
main {
  width: 90%;
  max-width: 810px;
  margin: 0 auto;
}
h1 {
  text-align: center;
  font-size: 3rem;
}
h2 {
  font-size: 2.4rem;
  border-left: 5px solid #013399;
  padding: 5px 0 5px 5px;
  margin: 8rem auto 2.5rem;
}
.mfp_phase h2:first-child {
  margin-top: 0;
}
.about ~ h2 {
  margin-top: 5rem;
}
h3 {
	display: flex;
	align-items: center;
	font-size: 1.8rem;
	text-transform: uppercase;
  margin: 5rem auto 2rem;
}

h3::before {
	content: '';
	display: inline-block;
	margin-right: 5px;
	width: 15px;
	height: 2px;
	background-color: #013399;
}
h2 ~ h3 {
  margin-top: 0;
}
a:hover,a:focus {
  opacity: 0.8;
}
.center {
  text-align: center;
}
.right {
  text-align: right;
}
.about {
  padding: 0.5em;
  margin: 2rem auto 1rem;
  background-color: #FFF;
  border-radius: 5px;
	text-align:center;
}
.about_line {
  padding: 0.4em;
  margin: 0 auto;
  border: 3px solid #ff0000;
  border-radius: 5px;
  margin-top: 1.5rem;
  text-align: center;
  font-size: 1.8rem;
  background-color:#fff;
}
.about_line a {
  color: #013399;
  font-weight: bold;
}
form#mailformpro {
  margin-top: 2rem;
}

@media screen and (max-width:980px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.8rem;
    margin: 5rem auto 2rem;
  }
  h3 {
    font-size: 1.6rem;
  }
}
/* ヘッダー/フッター */
header {
  width: 100%;
  background-color: #FFFFFF;
  border-top: 5px solid #013399;
  margin-bottom: 3rem;
  box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.1);
}
header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
header .logo {
  max-width: 30rem;
}
header .tel {
  max-width: 30rem;
  width: 60%;
}
footer {
  background-color: #013399;
  color: #FFF;
  width: 100%;
  margin-top: 8rem;
  font-size: 1.4rem;
}
footer .inner {
  padding: 2rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
footer ul {
  display: flex;
  align-items: center;
  gap: 2rem;
}
@media screen and (max-width:680px) {
  header {
    margin-bottom: 1.5rem;
  }
  header .logo {
    width: 50%;
  }
  header .tel {
    width: 50%;
  }
  footer {
    margin-top: 4rem;
  }
  footer .inner {
    flex-direction: column;
    justify-content: center;
  }
}

/* プログレスバー */
#mfp_phase_stat {
  position: relative;
  margin: 3rem auto 3rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
#mfp_phase_stat li {
  position: relative;
  list-style-type: none;
  text-align: center;
  text-transform: uppercase;
  width: 20%;
  color: #D0D1DD;
  font-weight: bold;
  counter-increment: steps;
}
#mfp_phase_stat li:before {
  content: counter(steps);
  display: block;
  width: 30px;
  height: 30px;
  margin: 0 auto 10px auto;
  line-height: 30px;
  font-size: 16px;
  text-align: center;
  border-radius: 50%;
  color: #FFF;
  background-color: #D0D1DD;
}
#mfp_phase_stat li:after {
  content: '';
  position: absolute;
  z-index: -1;
  top: 15px;
  left: -50%;
  width: 100%;
  height: 2px;
  background-color: #D0D1DD;
}
#mfp_phase_stat li:first-child:after {
  content: none;
}

#mfp_phase_stat li:not(.mfp_active_phase ~ li) {
  color: #013399;
}
#mfp_phase_stat li:not(.mfp_active_phase ~ li):before {
  background-color: #013399;
  color: #FFF;
}
#mfp_phase_stat li:not(.mfp_active_phase ~ li):after {
  background-color: #013399;
}
@media screen and (max-width:680px) {
  #mfp_phase_stat li {
    font-size: 1.2rem;
  }
}

/* フォームパーツ */
form#mailformpro dl {
  margin-bottom: 3rem;
}
form#mailformpro dl dt {
  width: 100%;
  margin-bottom: 0.5em;
  font-weight: bold;
  display: flex;
  align-items: center;
}
form#mailformpro dl dt.h2 {
  font-size: 2.4rem;
  border-left: 5px solid #013399;
  padding: 5px;
  margin: 8rem auto 3rem;
}

form#mailformpro span.required,
form#mailformpro span.nin {
  display: block;
  width: 50px;
  padding: 5px 0;
  background-color: #013399;
  color: #fff;
  text-align: center;
  line-height: 1;
  margin-left: 10px;
  font-size: 1.4rem;
}
form#mailformpro span.nin {
  background-color: #CCCCCC;
}

form#mailformpro dl dd {
	font-size: 1.6rem;
  position: relative;
}
form#mailformpro dl dd input,
form#mailformpro dl dd textarea,
form#mailformpro dl dd select {
  font-size: 1.6rem;
  width: 100%;
  max-width: none;
  padding: 0.8em;
  margin: auto;
  box-shadow: none;
  border: 1px solid #CCCCCC;
  border-radius: 5px;
}
@media screen and (max-width:980px) {
  form#mailformpro dl dt.h2 {
    font-size: 1.8rem;
    margin: 5rem auto 2rem;
  }
}
@media screen and (max-width:680px) {
  form#mailformpro dl dd input,
  form#mailformpro dl dd textarea,
  form#mailformpro dl dd select {
    padding: 0.5em;
  }
}

/* ラジオボタンとチェックボックス */
form#mailformpro dl dd label {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #CCCCCC;
  border-radius: 5px;
  padding: 0.8em;
}
form#mailformpro dl dd label.center {
  align-items: center;
} 
form#mailformpro dl dd label img {
  max-width: 250px;
  width: 100%;
}
form#mailformpro dl dd input[type="radio"],
form#mailformpro dl dd input[type="checkbox"] {
  appearance: none;
  display: none;
  opacity: 0;
  width: 1px;
  position: absolute;
  height: 1px;
}
form#mailformpro dl dd input[type="radio"] + span,
form#mailformpro dl dd input[type="checkbox"] + span {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  cursor: pointer;
  padding-left: 30px;
  font-weight: 500;
  background: #FFF;
}
@media screen and (max-width:680px) {
  form#mailformpro dl dd label {
    padding: 0.5em;
  }
}
/* ラジオボタン */
form#mailformpro dl dd input[type="radio"] + span::before,
form#mailformpro dl dd input[type="radio"] + span::after {
  content: "";
  position: absolute;
  display: block;
  border-radius: 50%;
  box-sizing: border-box;
}
form#mailformpro dl dd input[type="radio"] + span::before {
  width: 20px;
  height: 20px;
  border: 1px solid #CCCCCC;
  top: 2px;
  left: 0;
}
form#mailformpro dl dd input[type="radio"]:checked + span::before {
  border: 1px solid #013399;
}
form#mailformpro dl dd input[type="radio"] + span::after {
  width: 14px;
  height: 14px;
  background: #013399;
  top: 5px;
  left: 3px;
  opacity: 0;
}
form#mailformpro dl dd input[type="radio"]:checked + span::after {
  opacity: 1;
}
/* チェックボックス */
form#mailformpro dl dd input[type="checkbox"] + span::before,
form#mailformpro dl dd input[type="checkbox"] + span::after {
  content: "";
  position: absolute;
  display: block;
  box-sizing: border-box;
}
form#mailformpro dl dd input[type="checkbox"] + span::before {
  top: 2px;
  left: 0;
  height: 20px;
  width: 20px;
  background: #fff;
  border: 1px solid #013399;
}
form#mailformpro dl dd input[type="checkbox"]:checked + span::before {
  background-color: #013399;
}
form#mailformpro dl dd input[type="checkbox"] + span::after {
  left: 6px;
  top: 4px;
  width: 8px;
  height: 12px;
  border: 3px solid #FFF;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
  opacity: 0;
}
form#mailformpro dl dd input[type="checkbox"]:checked + span::after {
  opacity: 1;
}

/* ファイル */
form#mailformpro dl dd .mfp_element_file {
  padding: 0;
  border: none;
  border-radius: 0;
  display: none;
}
form#mailformpro dl dd .mfp_attached_thumbnails {
  border: none;
  border-radius: 3px;
  box-shadow: none;
  background: none;
  pointer-events: none;
}
/* サブタイトルのラベルがつく時 */
form#mailformpro dl dd .col-label {
  display: grid;
  grid-template-columns: 10rem 1fr;
}
form#mailformpro dl dd .col-label:not(:first-of-type) {
  margin-top: 1rem;
}
form#mailformpro dl dd .col-label label {
  background-color: #9CAACC;
  color: #FFF;
  text-align: center;
  border-radius: 5px 0 0 5px;
  border-right: none;
}
form#mailformpro dl dd .col-label input {
  border-radius: 0px 5px 5px 0;
}

/* レイアウト */
form#mailformpro dl .col2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
form#mailformpro dl .col3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}
form#mailformpro div.mfp_err {
  color: #F00;
  font-size: 1.4rem;
}
form#mailformpro p.attention {
  font-size: 1.4rem;
  margin-top: 1rem;
}
form#mailformpro h2 ~ p.attention {
  margin-top: -0.5rem;
  margin-bottom: 2rem;
}
form#mailformpro dd > p.attention:first-child {
  margin-bottom: 1rem;
}
form#mailformpro dd > p.attention__ttl {
  font-size: 1.4rem;
  margin: 1rem 0;
  position: absolute;
  bottom: 100%;
  right: 0;
}
@media screen and (max-width:980px) {
  form#mailformpro dd > p.attention__ttl {
    position: static;
  }
}
@media screen and (max-width:680px) {
  form#mailformpro dl .col2:not(.fixed),
  form#mailformpro dl .col3 {
    grid-template-columns: 1fr;
  }
}

/* プライバシーポリシー */
.infobox {
  height: 12em;  
  overflow: scroll; 
  background-color: #ffffff; 
  padding: 2rem;
  margin: 0 auto;
  margin-bottom: 3rem;
  font-size: 1.4rem;
}
.info_ttl {
  text-align: center;
  font-weight: bold;
  font-size: 1.6rem;
}
.info_txt {
 line-height: 1.5;
}
.info_txt strong {
 line-height: 2;
 vertical-align: bottom;
 font-weight: bold;
}
.info_txt p {
 margin-top:1rem;
 letter-spacing: 0.5px;
 text-align: left;
}
@media screen and (max-width:980px) {
  .infobox {
    height: 30em;
  }
}

/* ボタン */
.button-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8rem;
}
.mfp_element_submit,
.mfp_element_reset,
.mfp_element_button,
.thanks_btn {
  background: #013399;
  color: #fff;
  display: block;
  font-weight: 700;
  margin: 0 auto;
  padding: 1em 0;
  text-align: center;
  text-decoration: none;
  max-width: 560px;
  width: 100%;
  border: none;
  border-radius: 5px;
}
.mfp_element_reset,
.mfp_attached_reset {
  background: #CCCCCC;
}

button.mfp_next {
  background: #013399;
  color: #fff;
}
button.mfp_prev,
#mfp_button_cancel {
  background: none;
  color: #080808;
  padding: 10px 0;
}
.mfp_element_submit:hover,
.mfp_element_reset:hover,
.mfp_element_button:hover,
button.mfp_next:hover,
button.mfp_prev:hover,
#mfp_button_cancel:hover,
.thanks_btn:hover {
  opacity: 0.8;
}
@media screen and (max-width:680px) {
  .button-list {
    margin-top: 5rem;
  }
}

/* 確認画面 */
table#mfp_confirm_table tr {
  display: flex;
}
table#mfp_confirm_table tr th,
table#mfp_confirm_table tr td {
  display: flex;
  align-items: center;
  text-align: left;
  font-size: 1.6rem;
  border-top: none;
  border-bottom: solid 1px #CCCCCC;
  padding: 1em;
  white-space: break-spaces;
}
table#mfp_confirm_table tr th {
  border-right: solid 1px #CCCCCC;
  font-weight: bold;
  width: 20rem;
}
table#mfp_confirm_table tr td {
  width: calc(100% - 20rem);
}
table#mfp_confirm_table .table_separator {
  margin-top: 4rem;
}
table#mfp_confirm_table .table_separator:first-child {
  margin-top: 0;
}
table#mfp_confirm_table .table_separator th {
  width: 100%;
  border: none;
  background-color: #9CAACC;
  color: #FFF;
  font-size: 1.8rem;
  border-spacing: 8px 0px;
}
table#mfp_confirm_table tr.mfp_colored {
  background-color: #FFF;
}
table#mfp_confirm_table .table_separator:has(+ .table_separator) {
  display: none;
}
@media screen and (max-width:680px) {
  table#mfp_confirm_table tr th,
  table#mfp_confirm_table tr td {
    font-size: 1.4rem;
  }
  table#mfp_confirm_table tr th {
    width: 40%;
  }
  table#mfp_confirm_table tr td {
    width: 60%;
  }
  table#mfp_confirm_table .table_separator th {
    font-size: 1.6rem;
  }
  table#mfp_confirm_table .table_separator:has(+ .table_separator) {
    display: none;
  }
}
/* サンクスページ */
.st-thanks a:not(.thanks_btn) {
  color: #013399;
  font-weight: bold;
}
.thanks_tel {
  text-align: center;
  margin: 4rem auto;
}
.thanks_tel i {
  width: 1em;
}
.thanks_tel a {
  font-size: 3.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
