#__bs_notify__ {
  top: auto !important;
  bottom: 0;
}

html {
  font-size: 62.5%;
}

body {
  font-family: 'M PLUS 1p', sans-serif;
  font-size: 1.6rem;
  font-weight: 500;
  font-feature-settings: "palt";
  line-height: 1.8;
  color: #333;
}
@media screen and (max-width: 1219px) {
  body {
    font-size: 1.4rem;
  }
}

a {
  transition: all 0.6s;
  -webkit-transition: all 0.6s;
  color: #333;
  text-decoration: none;
}
a:hover, a:active {
  opacity: .6;
}

img {
  max-width: 100%;
  vertical-align: bottom;
}

ul, li {
  list-style: none;
  padding: 0;
  margin: 0 auto;
}

dl, dt, dd {
  margin: 0;
  padding: 0;
}

p {
  text-align: justify;
  text-justify: inter-ideograph;
  margin: 0 auto;
}

* {
  box-sizing: border-box;
}

*:focus {
  outline: none;
}

h1, h2, h3, h4, h5 {
  margin: 0;
  padding: 0;
  font-weight: inherit;
  font-size: inherit;
}

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

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

@media screen and (max-width: 1219px) {
  .pc {
    display: none;
  }
}

@media screen and (max-width: 767px) {
  .pc-tab {
    display: none;
  }
}

.replace {
  position: absolute;
  overflow: hidden;
  height: 1px;
  width: 1px;
  top: 50%;
  padding: 0;
  margin: 0 auto;
  clip: rect(1px 1px 1px 1px);
  clip: rect(1px, 1px, 1px, 1px);
  -webkit-clip-path: inset(0px 0px 99.9% 99.9%);
  clip-path: inset(0px 0px 99.9% 99.9%);
}

.row {
  position: relative;
  width: calc(100% + 20px);
  margin: 0 -10px;
  font-size: 0;
}

.col {
  position: relative;
  width: 50%;
  position: relative;
  display: inline-block;
  padding: 0 10px;
  font-size: 1.4rem;
}

.m-title {
  position: relative;
  font-size: 4.2rem;
  font-weight: 700;
  letter-spacing: 1rem;
  line-height: 1.4;
  text-align: center;
  margin-bottom: 60px;
}
.m-title:first-letter {
  color: #2C6588;
}
.m-title span {
  position: relative;
  display: block;
  font-size: 1.6rem;
  letter-spacing: 0;
  color: #2C6588;
}
@media screen and (max-width: 1219px) {
  .m-title {
    font-size: 3rem;
    margin-bottom: 30px;
  }
  .m-title span {
    font-size: 1.6rem;
  }
}

.m-bt {
  width: 200px;
  height: 50px;
  margin: 0 auto;
}
.m-bt a {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
  overflow: hidden;
  line-height: 50px;
  text-align: center;
  text-decoration: none;
  background: #2C6588;
  color: #fff;
  border: none;
  padding: 2px;
  margin: 0 auto;
  cursor: pointer;
  transition: 800ms ease all;
  outline: none;
}
.m-bt a:before, .m-bt a:after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  height: 2px;
  width: 0;
  background: #2C6588;
  transition: 400ms ease all;
}
.m-bt a:after {
  right: inherit;
  top: inherit;
  left: 0;
  bottom: 0;
}
@media screen and (min-width: 1220px) {
  .m-bt a:hover {
    opacity: 1;
    background: #fff;
    color: #2C6588;
  }
  .m-bt a:hover:before, .m-bt a:hover:after {
    width: 100%;
    transition: 800ms ease all;
  }
}

.fade1 {
  animation: fade 2s ease 0s 1 normal;
  -webkit-animation: fade 2s ease 0s 1 normal;
}

.fade2 {
  animation: fade 4s ease 0s 1 normal;
  -webkit-animation: fade 4s ease 0s 1 normal;
}

.fadein {
  opacity: 0;
  transform: translate(0, 0);
  transition: all 1s;
}

.fadeinup {
  opacity: 0;
  transform: translate(0, 50px);
  transition: all 2s;
}

.fadeinright {
  opacity: 0;
  transform: translate(100px, 0);
  transition: all 2s;
}

.fadeinleft {
  opacity: 0;
  transform: translate(-100px, 0);
  transition: all 2s;
}

ul.fadeturn li {
  opacity: 0;
  transform: translate(0, 50px);
  transition: all 1s;
}
ul.fadeturn li:nth-child(n+1) {
  transition-delay: 0.0s;
}
ul.fadeturn li:nth-child(n+2) {
  transition-delay: 0.4s;
}
ul.fadeturn li:nth-child(n+3) {
  transition-delay: 0.8s;
}
ul.fadeturn li:nth-child(n+4) {
  transition-delay: 1.2s;
}
ul.fadeturn li:nth-child(n+5) {
  transition-delay: 1.6s;
}
ul.fadeturn li:nth-child(n+6) {
  transition-delay: 2.0s;
}
ul.fadeturn li:nth-child(n+7) {
  transition-delay: 2.4s;
}
ul.fadeturn li:nth-child(n+8) {
  transition-delay: 2.8s;
}
ul.fadeturn li:nth-child(n+9) {
  transition-delay: 3.2s;
}

.scrollin {
  opacity: 1 !important;
  transform: translate(0, 0) !important;
}

#loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: calc(var(--vh, 1vh) * 100);
  z-index: 9999;
  -webkit-transition: all 1.2s ease;
  transition: all 1.2s ease;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.8);
}
#loading.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
#loading .spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  -webkit-transform-origin: center;
  transform-origin: center;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border-width: 8px;
  border-style: solid;
  border-color: #fff rgba(255, 255, 255, 0.12) rgba(255, 255, 255, 0.12);
  -webkit-animation: spinner_anime 1.5s infinite linear forwards;
  animation: spinner_anime 1.5s infinite linear forwards;
}
#loading .spinner span {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  font-size: 12px;
  animation: spinner_loading_text 1.5s infinite linear forwards reverse;
}

@keyframes fade {
  0% {
    opacity: 0;
  }
  30% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@-webkit-keyframes fade {
  0% {
    opacity: 0;
  }
  30% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@-webkit-keyframes spinner_anime {
  0% {
    -webkit-transform: translate(-50%, -50%) rotate(0);
    transform: translate(-50%, -50%) rotate(0);
  }
  100% {
    -webkit-transform: translate(-50%, -50%) rotate(360deg);
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
@keyframes spinner_anime {
  0% {
    -webkit-transform: translate(-50%, -50%) rotate(0);
    transform: translate(-50%, -50%) rotate(0);
  }
  100% {
    -webkit-transform: translate(-50%, -50%) rotate(360deg);
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
@-webkit-keyframes spinner_loading_text {
  0% {
    opacity: 1;
    -webkit-transform: translate(-50%, -50%) rotate(0deg);
    transform: translate(-50%, -50%) rotate(0deg);
  }
  50% {
    opacity: 0;
    -webkit-transform: translate(-50%, -50%) rotate(180deg);
    transform: translate(-50%, -50%) rotate(180deg);
  }
  100% {
    opacity: 1;
    -webkit-transform: translate(-50%, -50%) rotate(360deg);
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
@keyframes spinner_loading_text {
  0% {
    opacity: 1;
    -webkit-transform: translate(-50%, -50%) rotate(0deg);
    transform: translate(-50%, -50%) rotate(0deg);
  }
  50% {
    opacity: 0;
    -webkit-transform: translate(-50%, -50%) rotate(180deg);
    transform: translate(-50%, -50%) rotate(180deg);
  }
  100% {
    opacity: 1;
    -webkit-transform: translate(-50%, -50%) rotate(360deg);
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
.formfield {
  position: relative;
}
.formfield.radio label {
  position: static;
  display: block;
  color: #333;
  margin: 0 5px 8px 0;
  -moz-transform: translateY(0);
  -ms-transform: translateY(0);
  -webkit-transform: translateY(0);
  transform: translateY(0);
}
.formfield.radio span {
  display: inline-block;
  text-align: left;
}
@media screen and (max-width: 1219px) {
  .formfield.radio span {
    display: block;
  }
}
.formfield.radio input {
  width: auto;
  height: auto;
  vertical-align: middle;
  margin: 0;
}
.formfield.radio input:focus {
  border-bottom: none;
  box-shadow: none;
}
.formfield.select label {
  position: static;
  display: block;
  -moz-transform: translateY(0);
  -ms-transform: translateY(0);
  -webkit-transform: translateY(0);
  transform: translateY(0);
}
.formfield.select select {
  position: relative;
  display: block;
}
@media screen and (max-width: 767px) {
  .formfield.select select {
    -webkit-appearance: none;
  }
}
.formfield.check label {
  position: static;
  display: block;
  text-align: center;
  color: #333;
  margin: 0 0 8px;
  -moz-transform: translateY(0);
  -ms-transform: translateY(0);
  -webkit-transform: translateY(0);
  transform: translateY(0);
}
.formfield.check span {
  display: block;
  text-align: left;
}
.formfield.check input {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  margin: 0;
}
.formfield.check input:focus {
  border-bottom: none;
  box-shadow: none;
}
.formfield input[type="date"] {
  position: relative;
  padding: 0 10px;
  border: 0;
  background: #FFF;
  border: 1px solid #DCDCDC;
  box-sizing: border-box;
  font-size: 14px;
  color: #999;
}
@media screen and (max-width: 767px) {
  .formfield input[type="date"] {
    -webkit-appearance: none;
  }
}
.formfield .white {
  color: #FFF;
}

.formfield input, textarea, select {
  width: 100%;
  height: 40px;
  line-height: 1.15;
  border: 1px solid #DCDCDC;
  border-radius: 5px;
  background-color: #FFF;
  box-sizing: border-box;
  box-shadow: none;
  overflow: visible;
  padding: 0 .8rem;
}
.formfield input:focus, textarea:focus, select:focus {
  border: 1px solid #2C6588;
}
.formfield input.error, textarea.error, select.error {
  background-color: #ffe3e3;
}
.formfield input.long_s, textarea.long_s, select.long_s {
  width: 15%;
}
@media screen and (max-width: 767px) {
  .formfield input.long_s, textarea.long_s, select.long_s {
    width: 30%;
  }
}
.formfield input.long_m, textarea.long_m, select.long_m {
  width: 45%;
}
@media screen and (max-width: 767px) {
  .formfield input.long_m, textarea.long_m, select.long_m {
    width: 100%;
  }
}
.formfield input.long_mm, textarea.long_mm, select.long_mm {
  width: 45%;
}
@media screen and (max-width: 767px) {
  .formfield input.long_mm, textarea.long_mm, select.long_mm {
    width: 80%;
  }
}
.formfield input::placeholder, textarea::placeholder, select::placeholder {
  color: #BBB;
}

.formfield label {
  font-size: 1.6rem;
  line-height: 1.15;
  vertical-align: middle;
}

.formfield textarea {
  line-height: normal;
  overflow-y: hidden;
  padding: .8rem;
  resize: none;
  min-height: 10rem;
  box-sizing: border-box;
}

.formfield input:focus {
  border: 1px solid #2C6588;
}

.formfield error {
  position: absolute;
  left: 0;
  top: -10px;
  display: block;
  font-size: 10px;
  font-weight: bold;
  text-align: left;
  color: #FFF;
  background-color: #2C6588;
  padding: 2px 5px;
}
.formfield error:before {
  position: absolute;
  bottom: -6px;
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 5px 0 5px;
  border-color: #2C6588 transparent transparent transparent;
}
@media screen and (max-width: 1219px) {
  .formfield error {
    bottom: -25px;
    font-size: 12px;
  }
}
