@charset "UTF-8";
/*
---------------------------------------------------------------------------------------------------------------------
ヘッダー
---------------------------------------------------------------------------------------------------------------------
*/
#header {
  position: fixed;
  z-index: 100;
  height: 0;
  top: 0;
  width: 100%;
}
#header .header-logo {
  background-color: rgba(255, 255, 255, 0.8);
  border-bottom-right-radius: 30px;
  /* width: 250px; 新ロゴ */
  width: 270px;
  padding: 10px 0 10px 15px;
}
@media (min-width: 768px) {
  #header .header-logo {
    border-bottom-right-radius: 45px;
    /* width: 320px; 新ロゴ */
    width: 320px;
    padding: 12px 0 12px 20px;
  }
}
@media (min-width: 1200px) {
  #header .header-logo {
    /* width: 350px; 新ロゴ */
    width: 350px;
  }
}
#header .header-logo a img {
  /* width: 200px; 新ロゴ */
  width: 220px;
}
@media (min-width: 768px) {
  #header .header-logo a img {
    /* width: 260px; 新ロゴ */
    width: 260px;
  }
}
@media (min-width: 1200px) {
  #header .header-logo a img {
    /* width: 300px; 新ロゴ */
    width: 300px;
  }
}
#header .main-menu {
  position: absolute;
  top: 27px;
  right: 70px;
  /*hoverしたら表示*/
}
@media (min-width: 1200px) {
  #header .main-menu {
    right: 100px;
  }
}
#header .main-menu nav {
  display: none;
  /*2階層目以降は横並びにしない*/
}
@media (min-width: 1180px) {
  #header .main-menu nav {
    display: flex;
    align-items: center;
  }
}
#header .main-menu nav ul {
  margin: 0 10px 0 0;
  display: flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.8);
  padding: 0px 20px;
  height: 60px;
  border-radius: 50px;
}
#header .main-menu nav ul li {
  margin-right: 10px;
  position: relative;
}
@media (min-width: 1200px) {
  #header .main-menu nav ul li {
    margin-right: 20px;
  }
}
#header .main-menu nav ul li.has-oya a::after {
  position: absolute;
  bottom: 0;
  left: 0;
  content: "";
  width: 0;
  height: 1px;
  background-color: #000;
  transition: 0.3s;
}
#header .main-menu nav ul li.has-oya a:hover::after {
  width: 100%;
}
#header .main-menu nav ul li a {
  color: #000;
  font-size: 0.8em;
  font-weight: 700;
  position: relative;
  display: inline-block;
  transition: 0.3s;
  text-decoration: none;
}
@media (min-width: 1200px) {
  #header .main-menu nav ul li a {
    font-size: 0.9em;
  }
}
#header .main-menu nav ul li.has-child > a {
  cursor: default;
}
#header .main-menu nav ul li.has-child::before {
  content: "";
  position: absolute;
  right: -10px;
  top: 9px;
  width: 6px;
  height: 6px;
  border-top: 1px solid #000;
  border-right: 1px solid #000;
  transform: rotate(135deg);
}
@media (min-width: 1200px) {
  #header .main-menu nav ul li.has-child::before {
    right: -14px;
    top: 8px;
  }
}
#header .main-menu nav ul ul {
  display: block;
}
#header .main-menu nav li.has-child ul {
  position: absolute;
  left: -65px;
  top: 44px;
  z-index: 4;
  background-color: #fff;
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s;
  border-radius: 10px;
  padding: 6px 10px;
  height: auto;
}
#header .main-menu nav li.has-child ul li {
  position: relative;
  margin: 0;
}
#header .main-menu nav li.has-child ul li a {
  color: #000;
  border-bottom: solid 1px rgba(0, 0, 0, 0.2);
  width: 140px;
}
#header .main-menu nav li.has-child ul li a h6 {
  font-size: 0.9em;
  padding: 10px 0;
}
#header .main-menu nav li.has-child ul li::after {
  position: absolute;
  top: 50%;
  left: inherit;
  right: 8px;
  content: "";
  margin: -2px 0 0 16px;
  width: 6px;
  height: 6px;
  border: 0px;
  border-top: solid 1px #000;
  border-right: solid 1px #000;
  -ms-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  transition: 0.5s;
}
#header .main-menu nav li.has-child ul li:last-child > a {
  border-bottom: none;
}
#header .main-menu nav li.has-child:hover > ul,
#header .main-menu nav li.has-child ul li:hover > ul,
#header .main-menu nav li.has-child:active > ul,
#header .main-menu nav li.has-child ul li:active > ul {
  visibility: visible;
  opacity: 1;
}
#header .main-menu nav li.has-child ul li a:hover,
#header .main-menu nav li.has-child ul li a:active {
  color: #223588;
}
#header .main-menu .entry-btn a {
  display: inline-block;
  text-align: center;
  font-size: 0.8em;
  font-weight: 700;
  border-radius: 50px;
  transition: 0.5s;
  background-color: #155fd5;
  width: 150px;
  height: 60px;
  line-height: 60px;
  position: relative;
  color: #fff;
}
@media (min-width: 1024px) {
  #header .main-menu .entry-btn a {
    font-size: 0.9em;
  }
}
#header .main-menu .entry-btn a::after {
  position: absolute;
  top: 50%;
  right: 15px;
  content: "";
  margin: -2.5px 0 0 0;
  width: 6px;
  height: 6px;
  border: 0px;
  border-top: solid 1px #fff;
  border-right: solid 1px #fff;
  -ms-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  transition: 0.5s;
}
#header .main-menu .entry-btn a:hover::after {
  right: 10px;
}
#header .openbtn {
  position: fixed;
  top: 10px;
  right: 10px;
  cursor: pointer;
  width: 60px;
  height: 60px;
  z-index: 1000;
  transition: 0.5s;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 50px;
  /*activeクラスが付与されると線が回転して×に*/
}
@media (min-width: 768px) {
  #header .openbtn {
    top: 27px;
    right: 27px;
  }
}
#header .openbtn span {
  display: inline-block;
  transition: all 0.4s;
  /*アニメーションの設定*/
  position: absolute;
  left: 13px;
  height: 1.5px;
  background: #000;
  width: 36px;
}
#header .openbtn span:nth-child(1) {
  top: 20px;
}
#header .openbtn span:nth-child(2) {
  top: 28px;
}
#header .openbtn span:nth-of-type(2)::after {
  content: "MENU";
  position: absolute;
  top: 3px;
  left: 0px;
  color: #000;
  font-size: 0.7em;
  text-transform: uppercase;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-style: normal;
}
#header .openbtn.active span {
  width: 22px;
  left: 20px;
}
#header .openbtn.active span:nth-of-type(1) {
  top: 18px;
  transform: translateY(6px) rotate(-45deg);
}
#header .openbtn.active span:nth-of-type(2) {
  top: 30px;
  transform: translateY(-6px) rotate(45deg);
}
#header .openbtn.active span:nth-of-type(2)::after {
  content: "CLOSE";
  transform: translateY(0) rotate(-45deg);
  top: 5px;
  left: 2px;
}

#footer {
  padding: 50px 25px 25px;
  background-color: #fff;
  color: #000;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  margin-top: -15px;
}
@media (min-width: 1024px) {
  #footer {
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
    padding: 100px 5% 25px;
    margin-top: -30px;
  }
}
#footer .site-footer__inner {
  position: relative;
  display: grid;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  #footer .site-footer__inner {
    grid-template-columns: 320px 1fr;
    gap: 0;
  }
}
@media (min-width: 1024px) {
  #footer .site-footer__inner {
    grid-template-columns: 360px 1fr;
    gap: 0 100px;
  }
}
#footer .site-footer__info {
  display: flex;
  flex-direction: column;
}
#footer .site-footer__logo {
  /* width: 210px; 新ロゴ */
  width: 130px;
  margin-bottom: 28px;
}
@media (min-width: 1024px) {
  #footer .site-footer__logo {
    /* width: 250px; 新ロゴ */
    width: 170px;
    margin-bottom: 36px;
  }
}
#footer .site-footer__site-name {
  margin: 0 0 32px 0;
  font-size: 0.95em;
  font-weight: 700;
  line-height: 1.8em;
}
@media (min-width: 1024px) {
  #footer .site-footer__site-name {
    font-size: 1.1em;
  }
}
#footer .site-footer__site-name span {
  font-family: "DM Sans", sans-serif;
  font-optical-sizing: auto;
  display: inline-block;
  font-weight: 600;
  letter-spacing: 0.08em;
  font-size: 1.2em;
  line-height: 1em;
}
@media (min-width: 1024px) {
  #footer .site-footer__site-name span {
    font-size: 1.35em;
  }
}
#footer .site-footer__address {
  margin: 0 0 32px 0;
  font-style: normal;
  font-size: 0.9em;
  font-weight: 500;
  line-height: 2em;
}
@media (min-width: 1024px) {
  #footer .site-footer__address {
    font-size: 1em;
  }
}
#footer .link-btns {
  max-width: 260px;
}
@media (min-width: 768px) {
  #footer .link-btns {
    max-width: 280px;
  }
}
#footer .link-btns__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
@media (min-width: 768px) {
  #footer .link-btns__list {
    gap: 16px;
  }
}
#footer .link-btns__item {
  width: 100%;
}
#footer .link-btns__item img {
  width: 26px;
}
#footer .link-btns__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 20px;
  border: 2px solid #155fd5;
  border-radius: 50px;
  text-decoration: none;
  color: #155fd5;
  transition:
    background-color 0.4s ease,
    color 0.2s ease;
}
@media (min-width: 768px) {
  #footer .link-btns__link {
    padding: 8px 25px;
  }
}
#footer .link-btns__link:hover,
#footer .link-btns__link:focus-visible {
  background-color: #155fd5;
  color: #fff;
}
#footer .link-btns__link:hover svg .st0,
#footer .link-btns__link:focus-visible svg .st0 {
  fill: #fff;
}
#footer .link-btns__label {
  font-size: 0.9em;
}
@media (min-width: 768px) {
  #footer .link-btns__label {
    font-size: 1em;
  }
}
#footer .link-btns__icon {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
}
@media (min-width: 768px) {
  #footer .link-btns__icon {
    width: 26px;
    height: 26px;
  }
}
#footer .link-btns__icon svg {
  width: 100%;
  height: 100%;
}
#footer .link-btns__icon svg .st0 {
  fill: #155fd5;
}
#footer .site-footer__cert {
  margin-top: 48px;
}
@media (min-width: 1024px) {
  #footer .site-footer__cert {
    margin-top: auto;
    padding-top: 120px;
  }
}
#footer .site-footer__cert img {
  display: block;
  height: auto;
  margin-bottom: 20px;
}
#footer .site-footer__cert img:first-child {
  width: 170px;
}
#footer .site-footer__cert img:nth-child(2) {
  width: 72px;
}
#footer .site-footer__cert p {
  font-size: 0.8em;
  font-weight: 400;
  line-height: 1.2em;
  margin: 0;
}
@media (min-width: 1024px) {
  #footer .site-footer__cert p {
    font-size: 0.9em;
  }
}
#footer .site-footer__nav {
  display: grid;
  grid-template-columns: 1fr;
  gap: 42px;
}
@media (min-width: 768px) {
  #footer .site-footer__nav {
    grid-template-columns: repeat(2, max-content);
    justify-content: space-between;
    gap: 0;
    margin-bottom: 40px;
  }
}
@media (min-width: 1200px) {
  #footer .site-footer__nav {
    grid-template-columns: repeat(3, max-content);
    justify-content: space-between;
    gap: 0 60px;
  }
}
#footer .site-footer__nav-group {
  display: none;
}
@media (min-width: 768px) {
  #footer .site-footer__nav-group {
    display: block;
  }
}
#footer .site-footer__nav-group h2 {
  font-family: "DM Sans", sans-serif;
  font-optical-sizing: auto;
  font-size: 1.5em;
  font-weight: 400;
  line-height: 1em;
  color: #155fd5;
  margin: 0 0 10px 0;
}
@media (min-width: 1024px) {
  #footer .site-footer__nav-group h2 {
    font-size: 2em;
    margin: 0 0 15px 0;
  }
}
#footer .site-footer__nav-group ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
#footer .site-footer__nav-group ul li {
  margin-top: 5px;
}
@media (min-width: 1200px) {
  #footer .site-footer__nav-group ul li {
    margin-top: 10px;
  }
}
#footer .site-footer__nav-group ul li:first-child {
  margin-top: 0;
}
#footer .site-footer__nav-group ul li:first-child a,
#footer .site-footer__nav-group ul li:first-child span {
  font-weight: 700;
  font-size: 0.85em;
}
@media (min-width: 1024px) {
  #footer .site-footer__nav-group ul li:first-child a,
  #footer .site-footer__nav-group ul li:first-child span {
    font-size: 0.9em;
  }
}
#footer .site-footer__nav-group ul li a {
  position: relative;
  font-size: 0.8em;
  font-weight: 400;
  line-height: 1.2em;
  color: #000;
}
@media (min-width: 1024px) {
  #footer .site-footer__nav-group ul li a {
    font-size: 0.85em;
  }
}
#footer .site-footer__nav-group ul li a::after {
  position: absolute;
  bottom: 0;
  left: 0;
  content: "";
  width: 100%;
  height: 1px;
  background: #000;
  transform: scale(0, 1);
  transform-origin: right top;
  transition: transform 0.3s;
}
#footer .site-footer__nav-group ul li a:hover::after {
  transform-origin: left top;
  transform: scale(1, 1);
}
#footer .site-footer__bottom {
  display: grid;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid #d8d8d8;
}
@media (min-width: 768px) {
  #footer .site-footer__bottom {
    position: absolute;
    bottom: 0;
    right: 0;
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
    padding-top: 0;
    border-top: none;
  }
}
#footer .site-footer__bottom small {
  font-size: 0.8em;
  font-weight: 400;
  line-height: 1.2em;
  margin: 0;
}
@media (min-width: 1024px) {
  #footer .site-footer__bottom small {
    font-size: 0.9em;
  }
}
#footer .site-footer__bottom a {
  font-size: 0.7em;
  font-weight: 400;
  line-height: 1.2em;
  margin: 0;
}
@media (min-width: 1024px) {
  #footer .site-footer__bottom a {
    font-size: 0.8em;
  }
}
#footer .site-footer__bottom a:hover {
  text-decoration: underline;
}
