@charset "UTF-8";
/*=============================================================
 01_base
=============================================================*/
@import url("https://fonts.googleapis.com/css2?family=Geologica:wght@400;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Kosugi+Maru&display=swap");
h1, h2, h3, h4, h5, h6, p, ul, ol, dl, dt, dd {
  padding: 0;
  margin: 0;
}

ol, ul {
  list-style-type: none;
}

/*-----------------------------------------------
 root
-----------------------------------------------*/
html {
  overflow-y: scroll;
}

body {
  overflow: hidden;
  font-family: "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, sans-serif;
  font-weight: 400;
}

/*-----------------------------------------------
 font
-----------------------------------------------*/
html {
  overflow-x: hidden;
  font-size: medium;
}

body {
  font-size: 62.5%; /* 16px -> 10px */
}

div {
  line-height: 0;
  box-sizing: border-box;
}

dt, dd, li,
caption, th, td,
input, button, textarea, select,
h1, h2, h3, h4, h5, h6, address {
  line-height: 0;
  font-size: 140%;
  margin: 0;
  padding: 0;
}

p {
  line-height: 1.5;
  font-size: 140%;
  margin: 0;
  padding: 0;
}

h1 *, h2 *, h3 *, h4 *, h5 *, h6 *,
p input, p button, p select,
li h1, li h2, li h3, li h4, li h5, li h6, li p, li dt, li dd, li li, li th, li td, li input, li button, li textarea, li select,
dd h1, dd h2, dd h3, dd h4, dd h5, dd h6, dd p, dd dt, dd dd, dd li, dd th, dd td, dd input, dd button, dd textarea, dd select,
tr h1, tr h2, tr h3, tr h4, tr h5, tr h6, tr p, tr dt, tr dd, tr li, tr input, tr button, tr textarea, tr select {
  font-size: 100%;
}

input, button, select, option, textarea {
  font-size: 14px;
}

figure {
  margin: 0;
}

a,
a:link,
a:visited {
  color: #1d99c1;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

section {
  position: relative;
  box-sizing: border-box;
}

br.sp {
  display: none;
}
@media only screen and (max-width: 768px) {
  br.sp {
    display: inline;
  }
}
@media only screen and (max-width: 768px) {
  br.pc {
    display: none;
  }
}

/*-----------------------------------------------
 cf 
-----------------------------------------------*/
.clearfix {
  min-height: 1px;
}
.clearfix::after {
  content: " ";
  display: block;
  clear: both;
  height: 0;
  visibility: hidden;
}

* html .clearfix {
  height: 1px;
  /*¥*/ /*/
height: auto;
overflow: hidden;
/**/
}

/*-----------------------------------------------
 hover
-----------------------------------------------*/
.hover :hover {
  opacity: 0.8;
  animation: btn 0.5s;
  -webkit-animation: btn 0.5s;
  -moz-animation: btn 0.5s;
}
@media only screen and (max-width: 768px) {
  .hover :hover {
    animation: unset;
    -webkit-animation: unset;
    -moz-animation: unset;
  }
}

@keyframes btn {
  0% {
    opacity: 1;
  }
  10% {
    opacity: 0.4;
  }
  100% {
    opacity: 0.8;
  }
}
@-webkit-keyframes btn {
  0% {
    opacity: 1;
  }
  10% {
    opacity: 0.4;
  }
  100% {
    opacity: 0.8;
  }
}
body {
  font-family: "Kosugi Maru", sans-serif;
  font-weight: 500;
  padding-top: 140px;
}
@media only screen and (max-width: 1500px) {
  body {
    padding-top: 9.3333333333vw;
  }
}
@media only screen and (max-width: 768px) {
  body {
    padding-top: 12.5vw;
  }
}
body a:hover {
  text-decoration: none;
}

img {
  border-radius: 20px;
}
@media only screen and (max-width: 768px) {
  img {
    border-radius: 3.125vw;
  }
}

#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 140px;
  background-color: #fff;
  z-index: 10;
}
@media only screen and (max-width: 1500px) {
  #header {
    height: 9.3333333333vw;
  }
}
@media only screen and (max-width: 768px) {
  #header {
    height: 12.5vw;
    z-index: 99;
  }
}
#header img {
  border-radius: 0;
}
#header .wrap {
  position: relative;
  height: 100%;
  margin: 0 auto;
}
@media only screen and (max-width: 768px) {
  #header .wrap {
    width: auto;
  }
}
#header .logo {
  position: absolute;
  top: 50%;
  left: 25px;
  transform: translateY(-50%);
  width: 265px;
}
@media only screen and (max-width: 1500px) {
  #header .logo {
    width: 14.6666666667vw;
  }
}
@media only screen and (max-width: 768px) {
  #header .logo {
    width: 29.6875vw;
  }
}
#header .logo img {
  width: 100%;
}
#header #btn-nav {
  display: none;
}
@media only screen and (max-width: 768px) {
  #header #btn-nav {
    display: block;
    position: fixed;
    top: 4.6875vw;
    right: 4.6875vw;
    width: 4.375vw;
    height: 2.8125vw;
  }
}
@media only screen and (max-width: 768px) {
  #header #btn-nav span {
    position: absolute;
    left: 0;
    width: 4.375vw;
    height: 0.3125vw;
    background-color: #000;
    transition: all 0.3s ease;
  }
}
@media only screen and (max-width: 768px) {
  #header #btn-nav span:nth-child(1) {
    top: 0;
  }
}
@media only screen and (max-width: 768px) {
  #header #btn-nav span:nth-child(2) {
    top: 1.25vw;
  }
}
@media only screen and (max-width: 768px) {
  #header #btn-nav span:nth-child(3) {
    top: 2.5vw;
  }
}
@media only screen and (max-width: 768px) {
  #header #btn-nav.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 1.25vw;
  }
}
@media only screen and (max-width: 768px) {
  #header #btn-nav.active span:nth-child(2) {
    opacity: 0;
  }
}
@media only screen and (max-width: 768px) {
  #header #btn-nav.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 1.25vw;
  }
}
@media only screen and (max-width: 768px) {
  #header .nav-box {
    display: none;
    position: fixed;
    top: 11.71875vw;
    left: 0;
    width: 100%;
    height: 100vh;
    padding: 0 0 18.75vw;
    background-color: #fff;
    overflow-y: scroll;
  }
}
#header .nav-box .open {
  display: none;
}
@media only screen and (max-width: 768px) {
  #header .nav-box .open {
    display: block;
    text-align: center;
    padding-top: 6.25vw;
  }
}
@media only screen and (max-width: 768px) {
  #header .nav-box .open p {
    font-size: 16px;
    font-size: 2.5vw;
  }
}
#header nav {
  position: absolute;
  right: 0;
  bottom: 15px;
}
@media only screen and (max-width: 768px) {
  #header nav {
    position: static;
  }
}
#header nav .menu-header-container > ul {
  display: flex;
  margin-bottom: 0;
}
@media only screen and (max-width: 768px) {
  #header nav .menu-header-container > ul {
    width: 78.125vw;
    margin: 0 auto;
    display: block;
    padding: 0 3.125vw;
    border-top: 1px solid #D4D4D4;
    border-bottom: 1px solid #D4D4D4;
  }
}
#header nav .menu-header-container > ul > li {
  position: relative;
  border-right: 1px solid #D4D4D4;
  transition: all 0.3s ease;
}
@media only screen and (max-width: 768px) {
  #header nav .menu-header-container > ul > li {
    border-bottom: 1px solid #D4D4D4;
    border-right: none;
  }
}
#header nav .menu-header-container > ul > li:last-child {
  border: none;
}
#header nav .menu-header-container > ul > li > a {
  line-height: 1;
  padding: 16px 25px;
  font-size: 15px;
  color: #005CAC;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
  text-decoration: none;
}
@media only screen and (max-width: 1500px) {
  #header nav .menu-header-container > ul > li > a {
    font-size: 1vw;
    padding: 1.0666666667vw 1.6666666667vw;
  }
}
@media only screen and (max-width: 768px) {
  #header nav .menu-header-container > ul > li > a {
    font-size: 18px;
    font-size: 2.8125vw;
    padding: 3.125vw 0;
  }
}
#header nav .menu-header-container > ul > li > a i {
  font-size: 0.9em;
  margin-top: 0;
  margin-right: 0.8em;
}
@media only screen and (max-width: 768px) {
  #header nav .menu-header-container > ul > li > a i {
    width: 5%;
    font-size: 0.8em;
    text-align: center;
    margin-right: 0.5em;
  }
}
#header nav .menu-header-container > ul > li > a i::before {
  font-size: 1em;
}
#header nav .menu-header-container > ul > li > a:hover {
  background-color: #005CAC;
  color: #fff;
}
@media only screen and (max-width: 768px) {
  #header nav .menu-header-container > ul > li.menu-item-has-children a {
    width: 94%;
  }
}
@media only screen and (max-width: 768px) {
  #header nav .menu-header-container > ul > li.menu-item-has-children::after {
    font-size: 22px;
    font-size: 3.4375vw;
    content: "+";
    color: #005CAC;
    transform: scaleX(1.5);
    position: absolute;
    right: 0;
    top: 5vw;
  }
}
@media only screen and (max-width: 768px) {
  #header nav .menu-header-container > ul > li.menu-item-has-children.active {
    padding-bottom: 3.125vw;
  }
}
@media only screen and (max-width: 768px) {
  #header nav .menu-header-container > ul > li.menu-item-has-children.active::after {
    content: "-";
  }
}
#header nav .menu-header-container > ul > li .sub-menu {
  position: absolute;
  top: 50px;
  left: 50%;
  width: 160px;
  padding: 14px 20px;
  transform: translateX(-50%);
  background-color: #005CAC;
  opacity: 0;
  overflow: visible;
  visibility: hidden;
  transition: all 0.3s ease;
}
@media only screen and (max-width: 768px) {
  #header nav .menu-header-container > ul > li .sub-menu {
    display: none;
    position: static;
    transform: unset;
    opacity: 1;
    text-align: left;
    width: auto;
    overflow: inherit;
    visibility: inherit;
    padding: 0 0 0 3.125vw;
    background: transparent;
  }
}
#header nav .menu-header-container > ul > li .sub-menu li:not(:last-child) {
  margin-bottom: 12px;
}
@media only screen and (max-width: 768px) {
  #header nav .menu-header-container > ul > li .sub-menu li:not(:last-child) {
    margin-bottom: 1.875vw;
  }
}
#header nav .menu-header-container > ul > li .sub-menu li a {
  line-height: 1;
  font-size: 15px;
  color: #fff;
}
@media only screen and (max-width: 1500px) {
  #header nav .menu-header-container > ul > li .sub-menu li a {
    font-size: 0.8vw;
  }
}
@media only screen and (max-width: 768px) {
  #header nav .menu-header-container > ul > li .sub-menu li a {
    font-size: 15px;
    font-size: 2.34375vw;
    display: block;
    width: 100%;
    color: #005CAC;
    padding: 1.5625vw;
    text-decoration: none;
  }
}
@media only screen and (max-width: 768px) {
  #header nav .menu-header-container > ul > li .sub-menu li a:hover {
    background-color: #005CAC;
    color: #fff;
  }
}
#header nav .menu-header-container > ul > li:hover .sub-menu {
  opacity: 1;
  visibility: visible;
  overflow: visible;
}
#header .other {
  position: absolute;
  top: 18px;
  right: 25px;
  display: flex;
}
@media only screen and (max-width: 768px) {
  #header .other {
    position: static;
    display: block;
    width: 84.375vw;
    margin: 0 auto;
    padding: 0 3.125vw;
    border-bottom: 1px solid #D4D4D4;
  }
}
#header .other .sns ul {
  display: flex;
}
@media only screen and (max-width: 768px) {
  #header .other .sns ul {
    display: block;
  }
}
#header .other .sns ul li {
  padding: 0 12px;
  line-height: 1;
}
@media only screen and (max-width: 768px) {
  #header .other .sns ul li {
    border-right: none;
    padding: 3.125vw 0;
  }
}
@media only screen and (max-width: 768px) {
  #header .other .sns ul li:not(:last-child) {
    border-bottom: 1px solid #D4D4D4;
  }
}
#header .other .sns ul li a {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #000;
}
@media only screen and (max-width: 1500px) {
  #header .other .sns ul li a {
    font-size: 1vw;
  }
}
@media only screen and (max-width: 768px) {
  #header .other .sns ul li a {
    font-size: 18px;
    font-size: 2.8125vw;
  }
}
#header .other .sns ul li a i {
  font-size: 0.9em;
  margin-top: 0;
  margin-right: 0.8em;
}
@media only screen and (max-width: 768px) {
  #header .other .sns ul li a i {
    width: 5%;
    font-size: 0.8em;
    text-align: center;
    margin-right: 0.5em;
  }
}
#header .other .sns ul li a i::before {
  font-size: 1em;
}
#header .other .contact {
  color: #000;
}
@media only screen and (max-width: 768px) {
  #header .other .contact {
    padding: 3.125vw 0;
  }
}
#header .other .contact a {
  display: flex;
  align-items: center;
  font-size: 14px;
  line-height: 1;
  color: #000;
}
@media only screen and (max-width: 768px) {
  #header .other .contact a {
    font-size: 18px;
    font-size: 2.8125vw;
  }
}
#header .other .contact a::before {
  content: "";
  display: inline-block;
  width: 19px;
  height: 19px;
  background: url("../img/global/icon_contact.svg") no-repeat top center;
  background-size: contain;
  margin-right: 5px;
}
@media only screen and (max-width: 768px) {
  #header .other .contact a::before {
    width: 2.96875vw;
    height: 2.96875vw;
    margin-right: 0.78125vw;
  }
}
#header .add-menu {
  display: none;
}
@media only screen and (max-width: 768px) {
  #header .add-menu {
    display: block;
  }
}
@media only screen and (max-width: 768px) {
  #header .add-menu ul {
    width: 78.125vw;
    margin: 0 auto;
  }
}
#header .add-menu ul li {
  line-height: 1;
}
@media only screen and (max-width: 768px) {
  #header .add-menu ul li {
    border-bottom: 1px solid #D4D4D4;
    border-right: none;
    padding: 3.125vw 0;
  }
}
@media only screen and (max-width: 768px) {
  #header .add-menu ul li a {
    font-size: 18px;
    font-size: 2.8125vw;
    color: #000;
  }
}

#footer {
  margin: 50px 0 0;
  padding-bottom: 40px;
  position: relative;
  background-color: #1B4EB7;
  z-index: 2;
}
@media only screen and (max-width: 768px) {
  #footer {
    margin: 7.8125vw 0 0;
    padding-bottom: 6.25vw;
  }
}
@media only screen and (max-width: 1500px) {
  #footer img {
    width: 100%;
  }
}
#footer::before {
  content: "";
  display: block;
  position: absolute;
  top: -98px;
  left: 0;
  width: 100%;
  height: 98px;
  background: url("../img/bg/wave_db_top.png") repeat-x top center;
}
@media only screen and (max-width: 768px) {
  #footer::before {
    top: -11.5625vw;
    height: 11.71875vw;
    background: url("../img/bg/wave_db_top-sp.png") repeat-x top center;
  }
}
#footer .inner {
  width: 1200px;
  margin: 0 auto;
}
@media only screen and (max-width: 1500px) {
  #footer .inner {
    width: auto;
    margin: 0 2vw;
  }
}
@media only screen and (max-width: 768px) {
  #footer .inner {
    width: auto;
  }
}
#footer .foot-nav {
  margin-bottom: 30px;
}
@media only screen and (max-width: 1500px) {
  #footer .foot-nav {
    margin-bottom: 2vw;
  }
}
@media only screen and (max-width: 768px) {
  #footer .foot-nav {
    width: 89.0625vw;
    margin: 0 auto 4.6875vw;
  }
}
#footer .foot-nav ul {
  display: flex;
  justify-content: center;
}
#footer .foot-nav ul li {
  line-height: 1;
  color: #fff;
  font-weight: 400;
  padding: 0 42px;
  border-right: 1px solid #fff;
}
@media only screen and (max-width: 1500px) {
  #footer .foot-nav ul li {
    padding: 0 2.8vw;
  }
}
@media only screen and (max-width: 768px) {
  #footer .foot-nav ul li {
    padding: 0 3.90625vw;
  }
}
#footer .foot-nav ul li:first-child {
  border-left: 1px solid #fff;
}
#footer .foot-nav ul li a {
  font-size: 18px;
  color: #fff;
}
@media only screen and (max-width: 1500px) {
  #footer .foot-nav ul li a {
    font-size: 1.2vw;
  }
}
@media only screen and (max-width: 768px) {
  #footer .foot-nav ul li a {
    font-size: 18px;
    font-size: 2.8125vw;
  }
}
#footer .info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 28px;
}
@media only screen and (max-width: 768px) {
  #footer .info {
    margin-bottom: 4.375vw;
    justify-content: center;
  }
}
#footer .info .logo {
  width: 256px;
  margin-right: 52px;
}
@media only screen and (max-width: 1500px) {
  #footer .info .logo {
    width: 13.3333333333vw;
  }
}
@media only screen and (max-width: 768px) {
  #footer .info .logo {
    width: 37.5vw;
    margin-right: 3.125vw;
  }
}
#footer .info .logo img {
  width: 100%;
}
#footer .info p {
  font-size: 16px;
  color: #fff;
}
@media only screen and (max-width: 1500px) {
  #footer .info p {
    font-size: 1.0666666667vw;
  }
}
@media only screen and (max-width: 768px) {
  #footer .info p {
    font-size: 18px;
    font-size: 2.8125vw;
  }
}
#footer .copy {
  font-size: 14px;
  color: #fff;
  text-align: center;
}
@media only screen and (max-width: 1500px) {
  #footer .copy {
    font-size: 1vw;
  }
}
@media only screen and (max-width: 768px) {
  #footer .copy {
    font-size: 14px;
    font-size: 2.1875vw;
  }
}

#pagetop {
  position: fixed;
  bottom: 50px;
  right: 35px;
  z-index: 3;
}
@media only screen and (max-width: 768px) {
  #pagetop {
    bottom: 3.125vw;
    right: 2.34375vw;
  }
}
#pagetop a {
  display: block;
  width: 60px;
  height: 60px;
  border-radius: 50px;
  background-color: #bbbbbb;
  transition: all 0.4s ease;
}
@media only screen and (max-width: 768px) {
  #pagetop a {
    width: 9.375vw;
    height: 9.375vw;
    border-radius: 7.8125vw;
  }
}
#pagetop a:hover {
  transform: scale(1.15);
  background-color: #ddd;
}
@media only screen and (max-width: 768px) {
  #pagetop a:hover {
    transform: scale(1);
  }
}
#pagetop a::after {
  content: ">";
  font-size: 25px;
  color: #fff;
  position: absolute;
  line-height: 1;
  top: 30%;
  left: 40%;
  transform: rotate(-90deg);
}
@media only screen and (max-width: 768px) {
  #pagetop a::after {
    font-size: 25px;
    font-size: 3.90625vw;
  }
}

@media only screen and (max-width: 768px) {
  #contact .wpcf7-list-item input[type=checkbox] {
    position: relative;
    width: 3.90625vw !important;
    height: 3.90625vw !important;
    border: 1px solid #000;
    vertical-align: -5px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: #fff;
  }
  #contact .wpcf7-list-item input[type=checkbox]:checked:before {
    position: absolute;
    top: 0.78125vw;
    left: 1.25vw;
    transform: rotate(50deg);
    width: 1.09375vw;
    height: 1.71875vw;
    border-right: 2px solid #000;
    border-bottom: 2px solid #000;
    content: "";
  }
}


/*フッターメニュー調整*/
#footer .foot-nav ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 700px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

#footer .foot-nav ul li {
    margin: 0;
    padding: 0 22px;
    border: 1px solid transparent;
    white-space: nowrap;
    border-right: 1px solid #fff;
    margin-bottom: 1em;
}

/* 最初の3つのリストアイテムを1行に */
#footer .foot-nav ul li:nth-child(-n+3) {
    width: auto;
}

/* 4番目以降のリストアイテムを2行目以降に */
#footer .foot-nav ul li:nth-child(n+4) {
    width: auto;
    border-left: 1px solid #fff;
    border-right: none;
}

/* 5番目の要素に対する既存のスタイルは一旦削除または調整 */
#footer .foot-nav ul li:nth-child(5) {
    width: auto; /* widthの固定を解除 */
    text-align: center;
    border-right: 1px solid #fff;
    padding: 0 22px;
    position: static;
}

#footer .foot-nav ul li:nth-child(5)::before,
#footer .foot-nav ul li:nth-child(5)::after {
    content: "";
    display: none;
}

@media only screen and (max-width: 768px) {
  #footer .foot-nav ul li:nth-child(4),
  #footer .foot-nav ul li:nth-child(5) {
      width: 100%;
      text-align: center;
      border-right: none;
  }
  #footer .foot-nav ul li:nth-child(4)::before,
  #footer .foot-nav ul li:nth-child(5)::before {
      content: "";
      display: inline-block;
      height: 1em;
      border-left: 1px solid #fff;
      margin-right: 3.90625vw;
  }
  #footer .foot-nav ul li:nth-child(4)::after,
  #footer .foot-nav ul li:nth-child(5)::after {
    content: "";
    display: inline-block;
    height: 1em;
    border-right: 1px solid #fff;
    padding-right: 3.90625vw;
  }
  #footer .foot-nav ul li:last-child::after {
    margin-bottom: 0;
  }
  #footer .foot-nav ul li:nth-child(n+4) {
      border-left: none;
      border-right: none;
  }
}
