@charset: "utf-8";

/*--------------------------------------------------
common
--------------------------------------------------*/

html {
  width: 100%;
  height: 100%;
}

body {
  width: 100%;
  height: 100%;
  margin: 0;
  font-size: 16px;
  font-family: /*"Helvetica Neue", "Arial", */"source-han-sans-japanese", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "游ゴシック", "Yu Gothic", sans-serif;
  color: #333;
  display: flex;
  flex-flow: column;
  min-height: 100vh;
}

input,
select,
textarea {
  font-family: /*"Helvetica Neue", "Arial", */"source-han-sans-japanese", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "游ゴシック", "Yu Gothic", sans-serif;
}

* {
  box-sizing: border-box;
}

p {
  margin: 1.5em 0;
}

a {
  color: #3B3B92;
}

a:hover {
  text-decoration: none;
}

img {
  line-height: 1px;
  vertical-align: bottom;
}

.contents {
  flex: 1;
}

.container {
  width: 1080px;
  margin: 0 auto;
  padding: 100px 0;
}

.page-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
  margin-bottom:  50px;
  border-bottom: solid 1px #dedede;
}

.page-title-text {
  font-size: 2.25rem;
  color: #222;
  padding-right: 40px;
}

.header-error-text {
  padding: 20px;
  background-color: #F8DFE5;
  color: #9D1D3B;
  border-radius: 10px;
  margin-top: -15px;
}

.notice-text {
  background-color: #f5f5f5;
  padding: 20px;
  border-radius: 10px;
  font-size: 0.85rem;
  margin-top: -15px;
}

.header-error-text + .notice-text {
  margin-top: 40px;
}

.notice-text strong {
  font-size: 0.92rem;
  display: block;
  margin-bottom: 10px;
}

.lead-text {
  padding: 0;
}

.prompt-text {
  margin: 100px 0 75px;
  text-align: center;
  position: relative;
}

.prompt-text span {
  display: inline-block;
  padding: 0 3em 1em;
  border-bottom: solid 3px #3B3B92;
  font-weight: bold;
  color: #3B3B92;
}

.prompt-text::after {
  content: url("../img/triangle.svg");
  width:  24px;
  height: 20px;
  display: block;
  position: absolute;
  bottom: -25px;
  left: 50%;
  transform: translate(-50%, 0);
}

.point-text {
  color: #ef9f2f;
}

.thanks-message {
  margin-bottom: 50px;
}

.more-inquiry div {
  display: inline-block;
  border-top: solid 1px #dedede;
  border-bottom: solid 1px #dedede;
  padding: 2em 1em;
}

/*-------------------------
flow
-------------------------*/

.flow {
  font-size: 1rem;
  color: #999;
  white-space: nowrap;
}

.flow span {
  border: solid 1px #dedede;
  padding: 0.5em 1em;
  position: relative;
}

_:-ms-lang(x)::-ms-backdrop, .flow span {
  padding: 0.5em 1em 0.25em;
}

.flow span.current {
  background-color: #3B3B92;
  color: #fff;
}

.flow span:not(:first-child) {
  margin-left: 30px;
}

.flow span:not(:last-child)::after {
  content: "";
  display: block;
  width:  8px;
  height: 8px;
  position: absolute;
  top: 50%;
  right: -20px;
  border-bottom: #afafaf 1px solid;
  border-right:  #afafaf 1px solid;
  transform: translate(0, -50%) rotate(-45deg);
}

/*--------------------------------------------------
header
--------------------------------------------------*/

.header {
  background-color: #030336;
  width: 100%;
}

.header h1 {
  display: inline-block;
  line-height: 20px;
  height: 20px;
  margin: 15px 20px;
}

.header h1 img {
  display: inline-block;
  width: auto;
  height: 100%;
}

/*--------------------------------------------------
footer
--------------------------------------------------*/

.footer {
  background-color: #000;
  color: #fff;
  text-align: center;
  padding: 1em 2em;
}

/*--------------------------------------------------
form
--------------------------------------------------*/

/*-------------------------
form-box
-------------------------*/

.submit-section {
  text-align: center;
  padding: 50px 20px 0;
}

.submit-outer-left-icon {
  margin-right: 40px;
}

.form-group {
  border-top: solid 1px #efefef;
}

.form-row {
  display: flex;
  border: solid 1px #efefef;
  border-top: none;
}

.form-cell-header,
.form-cell-data {
  flex-grow: 0;
  flex-shrink: 0;
  padding: 20px;
}

.form-cell-header {
  flex-basis: auto;
  width: 24%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-right: solid 1px #efefef;
  background-color: #fafaff;
  color: #222;
}

.form-cell-header.column {
  /*flex-direction: column;
  justify-content: center;
  align-items: flex-start;*/
}

.form-cell-data {
  flex-basis: auto;
  width: 76%;
}

.form-cell-header .item-name {
  flex-grow: 0;
  flex-shrink: 1;
  padding-right: 20px;
}

.form-cell-header .required-label {
  flex-grow: 0;
  flex-shrink: 0;
}

.form-cell-header .remarks {
  display: block;
  font-size: 0.75em;
  color: #666;
  margin-top: 0.25em;
}

.required-label {
  font-size: 0.75em;
  display: inline-block;
  padding: 0.25em 0.5em;
  flex-basis: auto;
  width: 4em;
  color: #fff;
  border-radius: 2px;
  text-align: center;
  white-space: nowrap;
}

.form-cell-header.column .required-label {
  width: 7em;
}

_:-ms-lang(x)::-ms-backdrop, .required-label {
  padding: 0.5em 0 0.25em;
}

.required-label.required {
  background-color: #DB5E7B;
}

.required-label.optional {
  background-color: #8f8f9f;
}

.required-label.entered {
  background-color: #86D16f;
}

.data-block {
  display: inline-block;
}

.data-block:not(:first-child) {
  margin: 0 0 0 1em;
}

/*-------------------------
form-input
-------------------------*/

.input-heading {
  font-weight: 600;
  margin-bottom: 8px;
}

.input-heading:not(:first-child) {
  margin-top: 16px;
  padding-top: 16px;
  border-top: solid 1px #efefef;
}

::placeholder {
  color: #999;
}

.form-cell-data.invalid {
  background-color: #F8DFE5;
}

.invalid-message {
  color: #9D1D3B;
  font-size: 0.75rem;
  padding: 1em 0 0 0;
}

/* ラジオボタン＆チェックボックス共通 */

.input-group {
  display: flex;
  flex-wrap: wrap;
  width: auto;
  margin: -10px -5px 0 -5px;
}

.label-radio,
.label-checkbox {
  flex-basis: auto;
  width: calc(33.33% - 10px);
  margin: 10px 5px 0 5px;
  flex-grow: 0;
  flex-shrink: 0;
  cursor: pointer;
  position: relative;
  padding: 1em 1em 1em 40px;
  background-color: #fff;
  border-style: solid;
  border-width: 1px;
  border-color: #dfdfdf;
  border-radius: 4px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.aligned-input {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
}

.no-style-input .label-checkbox {
  width: auto;
  padding: 0 0 0 30px;
  border: none;
  background-color: rgba(255,255,255,0);
  flex-shrink: 1;
}

.no-style-input.aligned-input .label-checkbox {
  width: calc(33.33% - 10px);
}

input[type="radio"],
input[type="checkbox"] {
  display: none;
}

.label-radio::before,
.label-checkbox::before {
  content: "";
  display: block;
  position: absolute;
  width:  20px;
  height: 20px;
  top:  50%;
  left: 10px;
  background: #fff;
  border: 1px solid #ccc;
  transform: translate(0, -50%);
}

.no-style-input .label-checkbox::before {
  left: 0;
}

.label-radio::after,
.label-checkbox::after {
  content: "";
  display: block;
  position: absolute;
  opacity: 0;
}

input[type="radio"]:checked + .label-radio::after,
input[type="checkbox"]:checked + .label-checkbox::after {
  opacity: 1;
}

input[type="radio"]:checked + .label-radio,
input[type="checkbox"]:checked + .label-checkbox {
  background-color: #3B3B92;
  color: #fff;
}

.no-style-input input[type="checkbox"]:checked + .label-checkbox {
  background-color: rgba(255,255,255,0);
  color: #333;
}

/* ラジオボタン */

.label-radio::before {
  border-radius: 50%;
}

.label-radio::after {
  width:  10px;
  height: 10px;
  top:  50%;
  left: 16px;
  background: #3B3B92;
  border-radius: 50%;
  transform: translate(0, -50%);
}

/* チェックボックス */

.label-checkbox::before {
  border-radius: 2px;
}

.label-checkbox::after {
  width:  6px;
  height: 12px;
  top:  50%;
  left: 17px;
  border-right: 2px solid #3B3B92;
  border-bottom: 2px solid #3B3B92;
  transform: translate(0, -50%) rotate(45deg);
  margin-top: -2px;
}

.no-style-input .label-checkbox::after {
  left: 7px;
}

/* テキスト, tel, email */

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="number"],
textarea {
  border-style: solid;
  border-width: 1px;
  border-color: #dfdfdf;
  padding: 1em;
  background: #fff;
  border-radius: 4px;
  font-size: 1rem;
  min-height: 58px;
}

input[type="text"].input-with-right-icon ,
input[type="tel"].input-with-right-icon ,
input[type="email"].input-with-right-icon,
input[type="number"].input-with-right-icon {
  padding-right: 2em;
}

input[type="tel"] {
  width: 12em;
}

.input-text-long {
  width: 100%;
}

.input-text-medium {
  width: 18em;
}

.input-text-short {
  width: 10em;
}

.input-text-veryshort {
  width: 8em;
}

.input-text-address {
  width: calc(100% - 6em);
}

/* セレクト */

select{
  -webkit-appearance: none;
  appearance: none;
  padding: 1em 3em 1em 1em;
  font-size: 1em;
  border-style: solid;
  border-width: 1px;
  border-color: #dfdfdf;
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
  min-height: 58px;
}

select::-ms-expand {
  display: none;
}

.select-outer {
  display: inline-block;
  width: auto;
  position: relative;
}

.select-outer::after{
  content: "";
  display: block;
  width:  6px;
  height: 6px;
  position: absolute;
  top: 50%;
  right: 1em;
  border-bottom: #666 2px solid;
  border-right:  #666 2px solid;
  transform: translate(0, -50%) rotate(45deg);
  margin-top: -3px;
  pointer-events: none;
}

.form-row[data-name="BirthDay"] .data-block {
  margin-right: -0.5rem;
}

.form-row[data-name="BirthDay"] .select-outer, .form-row[data-name="FamiNum"] .select-outer {
  margin-right: 0.5em;
}

.form-row[data-name="BirthDay"] .select-outer:not(:first-child) {
  margin-left: 0.5em;
}

/* デイトピッカー */

#datepicker1,
#datepicker2,
#datepicker3 {
  background: url("../img/icon-calendar.png") no-repeat right 1em center;
}

/* ボタン */

input {
  -webkit-appearance: none;
}

input[type="submit"] {
  cursor: pointer;
}

.btn {
  display: inline-block;
  border-radius: 4px;
  transition: all ease 0.3s;
  text-decoration: none;
}

.btn-medium {
  font-size: 1rem;
  padding: 1em 2em;
}

.btn-large {
  font-size: 1rem;
  padding: 1.5em 3em;
}

.btn-primary {
  border: solid 1px #ef9f2f;
  background-color: #ef9f2f;
  color: #fff;
  box-shadow: 0 20px 20px -10px rgba(240,120,10,0.3);
}

.btn-primary:hover {
  background-color: #fff;
  color: #ef9f2f;
}

.btn-ghost {
  border: solid 1px #666;
  background-color: #fff;
  color: #666;
  box-shadow: 0 20px 20px -10px rgba(60,60,60,0.1);
}

.btn-ghost:hover {
  background-color: #666;
  color: #fff;
}

.btn-width-right-icon {
  padding-right: 4.5em;
}

.btn-width-left-icon {
  padding-left: 4.5em;
}

.submit-outer-right-icon,
.submit-outer-left-icon {
  display: inline-block;
  width: auto;
  position: relative;
}

.submit-outer-right-icon::after {
  content: "";
  display: block;
  width:  8px;
  height: 8px;
  position: absolute;
  top: 50%;
  right: 1.5em;
  border-bottom: #fff 2px solid;
  border-right:  #fff 2px solid;
  transform: translate(0, -50%) rotate(-45deg);
}

.submit-outer-right-icon:hover::after {
  border-bottom: #ef9f2f 2px solid;
  border-right:  #ef9f2f 2px solid;
  pointer-events: none;
}

.submit-outer-left-icon::before {
  content: "";
  display: block;
  width:  8px;
  height: 8px;
  position: absolute;
  top: 50%;
  left: 1.5em;
  border-bottom: #666 2px solid;
  border-right:  #666 2px solid;
  transform: translate(0, -50%) rotate(135deg);
}

.submit-outer-left-icon:hover::before {
  border-bottom: #fff 2px solid;
  border-right:  #fff 2px solid;
  pointer-events: none;
}

.submit-outer.submit-not-active,
.submit-outer.btn {
  pointer-events: none;
}

.submit-outer.submit-not-active::after {
  border-bottom: #dfdfdf 2px solid;
  border-right:  #dfdfdf 2px solid;

}

.submit-outer.submit-not-active .btn {
  border: solid 1px #999;
  background-color: #999;
  color: #dfdfdf;
  box-shadow: none;
}

@media screen and (max-width: 480px) {

  .hide-mobile {
    display: none;
  }

  body {
    font-size: 14px;
  }

  .wide-only {
    display: none;
  }

  .container {
    width: 100%;
    padding: 50px 0;
  }

  .page-title {
    flex-direction: column;
    margin-right: 20px;
    margin-left: 20px;
    align-items: flex-start;
  }

  .page-title-text {
    padding-right: 0;
    font-size: 1.2rem;
  }

  .page-title .flow {
    margin-top: 25px;
  }

  .lead-text {
    padding: 0 16px;
  }

  .thanks-message,
  .more-inquiry {
    margin-right: 20px;
    margin-left: 20px;
  }

  .form-row {
    flex-direction: column;
  }

  .form-cell-header,
  .form-cell-data {
    flex-basis: auto;
    width: 100%;
    padding: 20px 16px;
  }

  .form-cell-header {
    justify-content: flex-start;
  }

  .form-cell-header .item-name {
    order: 2;
  }

  .form-cell-header .required-label {
    order: 1;
    margin-right: 20px;
  }

/* ラジオボタン＆チェックボックス共通 */

.input-group {
  margin: -10px -4px 0 -4px;
}

  .label-radio,
  .label-checkbox {
    flex-basis: auto;
    width: calc(50% - 8px);
    margin: 10px 4px 0 4px;
    padding: 1em 0.5em 1em 40px;
  }

  input[type="text"],
  input[type="tel"],
  input[type="email"],
  input[type="number"],
  textarea {
    padding: 0.75em;
  }

  select{
    padding: 0.75em 3em 0.75em 0.75em;
  }

  input[type="text"],
  input[type="tel"],
  input[type="email"],
  input[type="number"],
  textarea,
  select,
  ::placeholder {
    font-size: 14px;
  }

  .no-style-input.aligned-input .label-checkbox {
    width: calc(50% - 10px);
  }

  .picker, .picker__holder {
    width: calc(100% - 20px);
  }

  .submit-outer-left-icon {
    margin-right: 0;
    margin-bottom: 20px;
  }

}

.mt10 {
  margin-top: 10px;
}

.mr10 {
  margin-right: 10px;
}

.mb10 {
  margin-bottom: 10px;
}

.mb50 {
  margin-bottom: 50px;
}

/*-------------------------
loader
-------------------------*/

#background{
  position:fixed;
  top: 0;
  left: 0;
  width:100%;
  height:100%;
  background-color: #fff;
}

#logocontainer{
  display:block;
  position:fixed;
  top:50%;
  left:50%;
  width:20vh;
  height:20vh;
  margin-left:-10vh;
  margin-top:-10vh;
  overflow:hidden;
  transition:background-color 500ms;
  cursor:pointer;
}

#loader_logo{
  display: block;
  position: absolute;
  left: 1vh;
  top: 1vh;
  width: 18vh;
  height: 18vh;
  background: #030336;
  background: -moz-linear-gradient(-45deg, #030336 0%, #161222 100%);
  background: -webkit-linear-gradient(-45deg, #030336 0%,#161222 100%);
  background: linear-gradient(135deg, #030336 0%,#161222 100%);
  background-size: contain;
  font-family: Trebuchet MS, sans-serif;
  font-weight: bold;
  color: #3ebffa;
  text-align: center;
  line-height: 18vh;
}

#loader_logo img {
  width: 100%;
  height: 100%;
}

.loader{
  display:block;
  position:absolute;
  background-color:#3ebffa;
}

/*Pretty complex animation, so each side needs its own @keyframes.*/

@keyframes slide1{
  50%{width:19vh; margin-left:0;}
  100%{margin-left:19vh;}
}

@keyframes slide2{
  50%{height:19vh; margin-top:0;}
  100%{margin-top:19vh;}
}

@keyframes slide3{
  50%{width:19vh; margin-right:0;}
  100%{margin-right:19vh;}
}

@keyframes slide4{
  50%{height:19vh; margin-bottom:0}
  100%{margin-bottom:19vh;}
}

.none {
  display: none !important;
}

.annotation {
 color: #666;
 font-size: 0.75rem;
 padding: 1em 0 0 0;
}
