html {
  font-size: 18px;
  scroll-behavior: smooth;
}
body {
  min-height: 75rem;
  font-family: "Avenir", "Noto Sans JP", "Hiragino Kaku Gothic Pro",
    "ヒラギノ角ゴ Pro W3", "メイリオ", "Meiryo", sans-serif;
  line-height: 1.9;
  color: #3b4043;
  background-color: #fff;
  text-align: justify;
}
a {
  color: #043f6d;
}
a:hover {
  color: #052c4a;
}
ul {
  padding-left: 0;
}
li {
  list-style: none;
}
.btn.focus,
.btn:focus {
  box-shadow: none;
}
.mt10 {
  margin-top: 0.5rem;
}
.mt20 {
  margin-top: 1.1rem;
}
.mt30 {
  margin-top: 1.6rem;
}
.mt50 {
  margin-top: 2.8rem;
}
.mt100 {
  margin-top: 6.25rem;
}
.mb0{
  margin-bottom: 0;
}
.mb50 {
  margin-bottom: 2.8rem;
}
.mb27 {
  margin-bottom: 1.5rem;
}
.pdl0 {
  padding-left: 0;
}
.pdr0 {
  padding-right: 0;
}
.pdl8 {
  padding-left: 8px;
}
.pdr8 {
  padding-right: 8px;
}
.pdrl5 {
  padding-left: 5px;
  padding-right: 5px;
}
.pdrl8 {
  padding-left: 8px;
  padding-right: 8px;
}
.bg-gray, .bg-gray2{
  background-color: #f2f2f2;
}
.bg-blue {
  background-color: #043f6d;
  color: #fff;
}
.bg-white {
  background-color: #fff;
}
.bg-dblue{
  background-color: #002A3A;
}
.bg-brown{
  background-color: #A57B43;
}
.bd-pink {
  border: 3px solid #ea4778;
}
.bd-blue, .service #specialist .bd-blue {
  border: 3px solid #052c4a;
}
.service .bd-blue {
  border: 2px solid #043f6d;
}
.txt-pink {
  color: #ea4778;
}
.txt-blue {
  color: #043f6d;
}
.txt-white{
  color: #fff !important;
}
.gray-box{
  background: #f2f2f2;
  border: 1px solid #707070;
  padding: 15px;
  margin-bottom: 1.1rem;
}
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.3;
}
h3,
.h3 {
  font-size: 1.6rem;
  line-height: 1.3;
}
.h5 {
  line-height: 1.6 !important;
}
.txt16 {
  font-size: 0.8rem;
}
.xsmall {
  font-size: 0.5rem;
}
.centeryose {
  text-align: center;
  margin: 0 auto;
  width: 100%;
}
section {
  padding: 70px 0;
}
section.price-table {
  padding: 85px 0;
}
.breadcrumbs{
  padding-top: 0.2rem;
}
/* footer */
.footer-obi {
  background: #043f6d;
  color: #fff;
  padding: 0;
  z-index: 300;
  font-size: 1.3rem;
}
p.obi-txt {
  position: relative;
  background: #ea4778;
  z-index: 1;
  color: #ffffff;
  margin-bottom: 0;
  font-weight: 500;
  text-align: center;
  padding: 5px 0;
  letter-spacing: 0.05em;
}
p.obi-txt:before {
  position: absolute;
  content: "";
  left: 0px;
  top: 0;
  width: 0;
  height: 0;
  border: none;
  border-left: solid 40px #043f6d; /*bodyのカラーと同じ色に*/
  border-bottom: solid 55px transparent;
  z-index: 2;
}
p.obi-txt:after {
  position: absolute;
  content: "";
  right: 0px;
  top: 1px;
  width: 0;
  height: 0;
  border: none;
  border-left: solid 40px transparent; /*bodyのカラーと同じ色に*/
  border-bottom: solid 55px #043f6d;
  z-index: 2;
}
p.obi-txt span {
  vertical-align: middle;
}

a.arrow-btn {
  padding-right: 80px;
  position: relative;
  color: #fff;
}
a.arrow-btn:hover {
  text-decoration: none;
}
a.arrow-btn span.arr {
  position: absolute;
  right: 62px;
  width: 13px;
  height: 13px;
  top: 27%;
  margin-left: -12px;
  border-top: 5px solid #fff;
  border-right: 5px solid #fff;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  -webkit-animation: sdb 2s infinite;
  animation: sdb 2s infinite;
  opacity: 0;
  box-sizing: border-box;
}
a.arrow-btn span.arr:nth-of-type(1) {
  -webkit-animation-delay: 0s;
  animation-delay: 0s;
}
a.arrow-btn span.arr:nth-of-type(2) {
  right: 48px;
  -webkit-animation-delay: 0.15s;
  animation-delay: 0.15s;
}
a.arrow-btn span.arr:nth-of-type(3) {
  right: 34px;
  -webkit-animation-delay: 0.3s;
  animation-delay: 0.3s;
}
@-webkit-keyframes sdb {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@keyframes sdb {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
.btn-arrow2 {
  margin-top: 20px;
}
.btn-arrow2 a {
  color: #fff;
  padding: 10px 30px;
  background-color: #043f6d;
  font-weight: 500;
  font-size: 1.15rem;
  line-height: 1;
  border-radius: 25px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  display: inline-block;
}
.btn-arrow2.bg-pink a {
  background-color: #ea4778;
}
.btn-arrow2.bg-pink a:hover {
  background-color: #e93269;
}
.btn-arrow2.bg-pink a:focus{
  color: #fff;
}
.btn-arrow2 a i {
  padding-left: 5px;
}
.btn-arrow2 a:hover {
  color: #fff;
  background-color: #033053;
  text-decoration: none;
  animation: small 0.1s;
  animation-fill-mode: forwards;
}
.btn-arrow2 a:focus{
  color: #fff;
}
@keyframes small {
  100% {
    transform: scale(0.98);
  }
}
footer {
  position: relative;
  background: #fff;
  color: #004171;
  padding-top: 20px;
  padding-bottom: 10px;
  text-align: center;
}
footer a {
  color: #004171;
}
footer a:hover {
  color: #043f6d;
  text-decoration: none;
}
footer ul {
  margin-top: 2rem;
}
footer ul li {
  font-size: 1.1rem;
}
footer ul .list-inline-item:not(:last-child) {
  margin-right: 40px;
}
footer ul.sub {
  border-top: 1px solid #fff;
  margin-top: 0;
}
footer ul.sub li {
  margin-right: 20px;
  font-size: 1rem;
}
footer ul.sub li:last-child {
  margin-right: 0;
}
.footer-top {
  position: fixed;
  bottom: 0;
  left: 0;
  overflow: hidden;
  width: 100%;
}
.footer-top.static {
  position: relative;
}
.footer-bottom {
  padding: 15px 0 5px;
}
.footer {
  width: 100%;
  overflow: hidden;
}
.sns {
  margin: 0 auto 2rem;
  width: 200px;
  text-align: center;
}
.sns img {
  margin-right: 10px;
  width: 50px;
}
.sns p {
  text-align: left;
  line-height: 1.4;
  margin-bottom: 0;
  padding-top: 3px;
}
#page_top {
  width: 50px;
  height: 50px;
  position: fixed;
  right: 30px;
  bottom: 30px;
  background: rgba(255, 255, 255, 0.8);
  z-index: 400;
  /* box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.5); */
  border: 1px solid #043f6d;
}
#page_top a {
  position: relative;
  display: block;
  width: 50px;
  height: 50px;
  text-decoration: none;
  color: #043f6d;
  text-align: center;
  font-size: 13px;
  font-weight: bold;
  line-height: 1;
}
#page_top a img {
  width: 12px;
  margin: 5px auto;
}

/* mouseover btn */
/*ボックスサイズ算出をborer-boxに */
*,
*:before,
*:after {
  -webkit-box-sizing: inherit;
  box-sizing: inherit;
}

html {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.mo-btn {
  text-align: center;
  margin: 2.3rem auto 0;
  width: 100%;
}
.mo-btn .btn,
.mo-btn a.btn,
.mo-btn button.btn {
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.5;
  position: relative;
  display: inline-block;
  padding: 0.8rem 2rem;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  color: #fff;
  border-radius: 0;
  pointer-events: auto;
  border: none;
  width: 380px;
}
a.btn-flat {
  overflow: hidden;
  padding: 1.5rem 6rem;
  color: #fff;
  border-radius: 0;
  background: #000;
}
.bg-blue a.btn-flat {
  background: #fff;
  color: #000;
}
.bg-blue a.btn-flat:hover {
  color: #fff;
}
a.btn-flat span {
  position: relative;
  z-index: 1;
}
a.btn-flat:before {
  position: absolute;
  top: 0;
  left: calc(-116% + 50px);
  width: 152%;
  height: 500%;
  content: "";
  -webkit-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
  -webkit-transform: rotate(45deg) translateX(0) translateY(0);
  transform: rotate(45deg) translateX(0) translateY(0);
  background: #ea4778;
}
a.btn-flat:after {
  position: absolute;
  top: -400%;
  right: calc(-116% + 50px);
  width: 152%;
  height: 500%;
  content: "";
  -webkit-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
  -webkit-transform: rotate(45deg) translateX(0) translateY(0);
  transform: rotate(45deg) translateX(0) translateY(0);
  background: #ea4778;
}
/* a.btn-flat:hover, .mo-btn a.btn-flat i:hover{
  color: #000;
} */
a.btn-flat:hover:before {
  -webkit-transform: rotate(45deg) translateX(0) translateY(-50%);
  transform: rotate(45deg) translateX(0) translateY(-50%);
}
a.btn-flat:hover:after {
  -webkit-transform: rotate(45deg) translateX(0) translateY(50%);
  transform: rotate(45deg) translateX(0) translateY(50%);
}
.fa-position-right {
  position: absolute;
  top: calc(50% - 0.5em);
  right: 1rem;
  z-index: 1;
}
@media (max-width: 1600px) {
  html {
    font-size: 16px;
  }
  .mo-btn .btn,
  .mo-btn a.btn,
  .mo-btn button.btn {
    font-size: 1.3rem;
  }
  a.btn-flat:before {
    left: calc(-116% + 56px);
  }
  a.btn-flat:after {
    right: calc(-116% + 56px);
  }
}

@media (max-width: 1200px) {
  .container-xl {
    padding-left: 25px;
    padding-right: 25px;
  }
  .footer-top .container-xl {
    padding-left: 10px;
    padding-right: 10px;
  }
  #page_top {
    right: 10px;
  }
}

@media (max-width: 991px) {
  html {
    font-size: 15px;
  }
  section,
  section.price-table {
    padding: 60px 0;
  }
  #page_top {
    bottom: 40px;
  }
  a.btn-flat:before {
    left: calc(-109% + 50px);
  }
  a.btn-flat:after {
    right: calc(-109% + 50px);
  }
  .fa-position-right {
    right: 2.1rem;
  }
  .btn-arrow2 a {
    padding: 7px 25px 7px;
  }
}

@media (max-width: 767px) {
  html {
    font-size: 14px;
  }
  .txt60 {
    font-size: 40px;
  }
  .mt100 {
    margin-top: 4rem;
  }
  .mb20-sm {
    margin-bottom: 20px;
  }
  .mb10-sm {
    margin-bottom: 10px;
  }
  .mb0-sm{
    margin-bottom: 0;
  }
  .container-xl {
    padding-left: 15px;
    padding-right: 15px;
  }
  section,
  section.price-table {
    padding: 30px 0;
  }
  h2 {
    margin-top: 10px;
  }
  p.obi-txt {
    padding: 5px 0 3px;
  }
  a.arrow-btn span.arr {
    top: 24%;
  }
  footer ul {
    margin-top: 1rem;
  }
  footer ul .list-inline-item:not(:last-child) {
    margin-right: 0;
  }
  footer ul.sub li.list-inline-item:not(:last-child) {
    margin-right: 40px;
  }
  footer ul.sub {
    border-top: 1px solid #fff;
    margin-top: 1rem;
    margin-bottom: 1rem;
  }
  .footer-bottom {
    padding: 5px 0;
  }
  .sns {
    width: 170px;
  }
  .sns img {
    width: 40px;
  }
  #page_top {
    bottom: 30px;
  }
  a.btn-flat:before {
    left: calc(-105% + 50px);
  }
  a.btn-flat:after {
    right: calc(-105% + 50px);
  }
  .btn-arrow2 {
    margin-top: 14px;
  }
  .btn-arrow2 a {
    padding: 8px 35px 8px;
    font-size: 1.3rem;
  }
  small {
    display: inline-block;
    line-height: 1.2;
  }
  .bd-pink,
  .bd-blue,
  .service #specialist .bd-blue,
  .balloon,
  .balloon-right {
    border-width: 2px;
  }
}

@media (max-width: 575px) {
  html {
    font-size: 13px;
  }
  body {
    line-height: 1.8;
  }
  section,
  section.price-table {
    padding: 20px 0 30px;
  }
  .pdrl5 {
    padding-left: 2px;
    padding-right: 2px;
  }
  h2 {
    font-size: 1.8rem;
    margin-top: 10px;
  }
  .footer-obi {
    font-size: 1rem;
  }
  .footer a.arrow-btn {
    width: 100%;
    padding-right: 30px;
  }
  a.arrow-btn span.arr {
    right: 15px;
    top: 19%;
    border-top: 4px solid #fff;
    border-right: 4px solid #fff;
    width: 12px;
    height: 12px;
  }
  a.arrow-btn span.arr:nth-of-type(2) {
    right: 4px;
  }
  a.arrow-btn span.arr:nth-of-type(3) {
    right: -7px;
  }
  footer ul.sub li.list-inline-item:not(:last-child) {
    margin-right: 10px;
  }
  footer ul.sub li {
    margin-right: 0;
  }
  .sns {
    margin: 0 auto 1.5rem;
    width: 150px;
  }
  #page_top {
    width: 43px;
    height: 43px;
    right: 5px;
  }
  #page_top a {
    width: 43px;
    height: 43px;
    font-size: 11px;
  }
  #page_top a img {
    width: 10px;
    margin: 5px auto 3px;
  }

  .mo-btn .btn,
  .mo-btn a.btn,
  .mo-btn button.btn {
    width: 310px;
  }
  .mo-btn {
    margin-top: 1.5rem;
  }
  a.btn-flat:before {
    left: calc(-116% + 60px);
  }
  a.btn-flat:after {
    right: calc(-116% + 60px);
  }
}
