html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Zen Kaku Gothic New";
}

/* header */
header {
  position: fixed;
  top: 0;
  width: 100%;
  margin: 0;
  z-index: 998;
}
header.click_on {
  background-color: rgba(0, 138, 170, 0.8);
  height: 100%;
  z-index: 998;
}
header .header_container {
  display: flex;
  justify-content: space-between;
  margin: auto;
}
header .header_left {
  margin: auto 0;
  background: white;
  padding: 30px 5% 10px;
  border-radius: 0px 0px 35px 0px;
  cursor: pointer;
}
header .icon-hamburger {
  position: relative;
  top: 10px;
  height: 60px;
  width: 60px;
  display: none;
  border-radius: 50%;
  vertical-align: middle;
  cursor: pointer;
}
header .icon-hamburger span {
  background: white;
  position: absolute;
  height: 2px;
  left: 16%;
  width: 70%;
  transition: all 0.4s;
  cursor: pointer;
}
header .icon-hamburger span header .icon-hamburger span {
  content: "";
  background: white;
  position: absolute;
  display: block;
  height: 2px;
  width: 100%;
}
header .icon-hamburger span:nth-of-type(1) {
  top: 28%;
}
header .icon-hamburger span:nth-of-type(2) {
  top: 48%;
}
header .icon-hamburger span:nth-of-type(3) {
  top: 68%;
}
header .click_on span:nth-of-type(1) {
  top: 30%;
  left: 16%;
  transform: translateY(6px) rotate(-45deg);
}
header .click_on span:nth-of-type(2) {
  opacity: 0;
}
header .click_on span:nth-of-type(3) {
  top: 50%;
  left: 16%;
  transform: translateY(-6px) rotate(45deg);
}
header .menu-container {
  position: absolute;
  width: 100%;
  max-width: 850px;
  margin: 13px 0;
  right: 10%;
  white-space: nowrap;
}
header .menu-container ul.menu {
  display: flex;
  justify-content: end;
}
header .menu-container ul li.menu-item {
  list-style-type: none;
  margin-left: 80px;
}
header .menu-container ul li.menu-item a {
  color: white;
  text-decoration: none;
  cursor: pointer;
  font-size: 16px;
  letter-spacing: 0.2em;
}
header .menu-container ul li.menu-item span {
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid #fff;
  transition: transform 0.6s ease;
  display: inline-block;
  margin-left: 5px;
  transform: rotate(180deg);
  cursor: pointer;
}
header .menu-container ul li.menu-item span {
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid #fff;
  transition: transform 0.6s ease;
  display: inline-block;
  margin-left: 5px;
  transform: rotate(180deg);
  cursor: pointer;
}
header .menu-container ul li .sub_categories {
  padding: 10px 0;
}
header .menu-container ul li .sub_categories .category_inner {
  width: 180px;
  margin-right: 30px;
  height: 130px;
}
header .menu-container ul li .sub_categories .category_inner .post-thumnbail {
  background: gray;
  height: 120px;
}
header
  .menu-container
  ul
  li
  .sub_categories
  .category_inner
  .post-thumnbail
  img {
  height: 120px;
}
header .menu-container ul li .sub_categories .category_inner .category_title {
  display: flex;
  justify-content: space-between;
}
header .menu-container ul li .sub_categories .category_inner label {
  position: relative;
  display: block;
  margin-top: 8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: solid 1px white;
}
header .menu-container ul li .sub_categories .category_inner label::before {
  content: "";
  position: absolute;
  top: calc(50% - 1px);
  right: 5px;
  width: 9px;
  height: 1px;
  border-radius: 9999px;
  background-color: #fff;
  transform: rotate(45deg);
  transform-origin: calc(100% - 1px) 50%;
}
header .menu-container ul li .sub_categories .category_inner label::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 5px;
  width: 18px;
  height: 1px;
  border-radius: 9999px;
  background-color: #fff;
}
header .menu-container ul li.menu-item .sub_categories {
  display: none;
}
header .menu-container ul li.open .sub_categories {
  display: flex;
}
header .menu-container ul li.open .sub_categories p.entry-title {
  margin-top: 8px;
  font-size: 16px;
  color: white;
  width: 120px;
}
header .menu-container ul li.open span {
  transform: rotate(0deg);
}

header.change {
  background: white;
}
header.change .menu-container ul li.menu-item a {
  color: black;
}
/* aside */
#sidebar {
  position: fixed;
  display: grid;
  top: 100px;
  height: 300px;
  right: 0;
  z-index: 998;
}
#sidebar .login_banner,
#sidebar .form_banner {
  position: relative;
  overflow: hidden;
  outline: none;
  letter-spacing: 0.2em;
  display: inline-block;
  margin: auto;
  width: 50px;
  font-size: 15px;
  writing-mode: vertical-rl;
  text-align: center;
  border-radius: 15px 0px 0px 15px;
  cursor: pointer;
  text-decoration: none;
  transition: ease 0.2s;
}
#sidebar .login_banner {
  background: #008aaa;
  border: 1px solid #008aaa;
  height: 180px;
}
#sidebar .form_banner {
  background: transparent;
  border: 1px solid white;
  height: 280px;
  top: 50px;
}
#sidebar .login_banner span,
#sidebar .form_banner span {
  position: relative;
  display: block;
  z-index: 999;
}
#sidebar .login_banner span,
#sidebar .form_banner span {
  padding-right: 12px;
}
#sidebar .login_banner span {
  color: white;
}
#sidebar .form_banner span {
  color: white;
}
#sidebar .login_banner:before,
#sidebar .form_banner:before {
  content: "";
  position: absolute;
  top: 0;
  left: -250%;
  width: 240%;
  height: 100%;
  transform: skewX(-10deg);
  transform-origin: right top;
  z-index: 998;
}
#sidebar .login_banner:before {
  background: white;
}
#sidebar .form_banner:before {
  background: #008aaa;
}
#sidebar .change {
  border: 1px solid #008aaa;
}
#sidebar .change span {
  color: #008aaa;
}
#sidebar .change:hover span {
  color: white;
}
#sidebar #topBtn {
  position: fixed;
  cursor: pointer;
  display: block;
  text-decoration: none;
  background-image: url(./assets/img/top_up.png);
  background-repeat: no-repeat;
  background-size: contain;
  width: 30px;
  height: 25px;
  bottom: 20px;
  right: 15px;
  box-sizing: border-box;
  z-index: 998;
}

/* slider */
#silder_pc .slick-slide {
  display: none;
  transition:
    transform 0.5s,
    opacity 0.5s;
}
#silder_pc .slick-active {
  display: block;
}
#silder_pc .sp-selected img {
  background-color: white;
  animation: zoomIn 15s linear 0s normal both;
}

@keyframes zoomIn {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.2); /* 拡大率 */
  }
}
/* contact */
section#contact {
  padding: 40px 0;
  background: #0089a9;
  margin: -8px;
  color: white;
  margin-top: 300px;
}
section#contact .contact_conteiner {
  width: 85%;
  max-width: 1280px;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
}
section#contact .contact_left h2 {
  font-size: 52px;
  letter-spacing: 0.1em;
  line-height: 0.5em;
}
section#contact .contact_left h2 span {
  font-size: 20px;
  letter-spacing: 0.1em;
  margin-left: 5px;
}
section#contact .contact_right {
  text-align: center;
  width: 50%;
}
section#contact .contact_right h2 {
  font-size: 20px;
  color: white;
  vertical-align: middle;
  margin-bottom: -10px;
}
section#contact .contact_right h2 a {
  color: white;
  text-decoration: none;
  font-size: 32px;
}
section#contact .contact_right .form_banner {
  background: white;
  width: 360px;
  margin: 10px auto;
  padding: 30px 0;
  cursor: pointer;
}
section#contact .contact_right .form_banner a {
  color: #0089a9;
  font-size: 20px;
  letter-spacing: 0.2em;
  cursor: pointer;
  text-decoration: none;
}
/* アコーディオン */
h3.accordion_submit {
  position: relative;
  cursor: pointer;
}
.wp-block-group-is-layout-grid h2 span,
h3.accordion_submit span,
h3.accordion_submit label {
  position: absolute;
  display: inline-block;
  width: 62px;
  height: 25px;
  right: 0;
}
h3.accordion_submit label {
  font-size: 16px;
  font-weight: 300;
  background: #455da9;
  text-align: center;
  color: white;
  margin-right: 10px;
  border-radius: 50px;
  width: 80px;
}
.wp-block-group-is-layout-grid h2 span {
  right: 0;
  left: 0;
  top: 50px;
  width: inherit;
}
.wp-block-group-is-layout-grid h2:nth-of-type(n + 5) span {
  top: 40px;
}
.wp-block-group-is-layout-grid h2 span:before,
.wp-block-group-is-layout-grid h2 span:after,
h3.accordion_submit span:before,
h3.accordion_submit span:after {
  content: "";
  display: block;
  position: absolute;
  left: calc(50% - 2px);
  width: 2px;
  height: 25px;
  border-radius: 9999px;
  background-color: #4b88a6;
  transform-origin: 50% 100%;
}
h2.inactive span:before,
h2.inactive span:after {
  background-color: #d3d3d3;
}
.wp-block-group-is-layout-grid h2 span:before,
h3.accordion_submit span:before {
  transform: rotate(45deg);
}
.wp-block-group-is-layout-grid h2 span:after,
h3.accordion_submit span:after {
  transform: rotate(-45deg);
}
h3.accordion_submit + p,
h3.accordion_submit + div {
  display: none;
}
h3.accordion_submit.open + p,
h3.accordion_submit.open + div {
  display: block;
}
h3.accordion_submit.open span {
  transform: scaleY(-1);
  top: 25px;
}
blockquote h3.accordion_submit:before {
  content: "";
  border-top-width: 8px;
  border-left-width: 10px;
  border-right-width: 10px;
  border-top-style: solid;
  border-left-style: solid;
  border-right-style: solid;
  border-top-color: black;
  border-left-color: transparent;
  border-right-color: transparent;
  width: 0px;
  height: 0px;
  display: inline-block;
  margin: 3px 8px;
}
h3.accordion_submit.open:before {
  border-top-width: 0px;
  border-bottom-width: 8px;
  border-top-style: none;
  border-bottom-style: solid;
}
/* footer */
footer {
  background: #b4b4b4;
  color: white;
  padding-top: 60px;
}
footer .footer_list {
  display: flex;
  justify-content: center;
  width: 85%;
  max-width: 1280px;
  margin: auto;
}
footer .footer_left {
  width: 35%;
  min-width: 300px;
}
footer .footer_right {
  min-width: 360px;
  margin-top: -1em;
}
footer ul.footer_link {
  padding-left: 0;
  display: flex;
  justify-content: space-between;
  margin: 10px auto;
}
footer .footer_bottom ul.footer_link {
  margin-bottom: 20px;
}
footer ul.footer_link li {
  position: relative;
  list-style-type: none;
  width: 130px;
  white-space: nowrap;
}
footer ul.footer_link li a:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -5px;
  z-index: 0;
  width: 100%;
  height: 1px;
  background: white;
  transition: all 0.5s ease-out;
  transform: translateX(-25%);
  transform-origin: center top;
  opacity: 0;
}
footer .footer_left p code,
footer .footer_left .footer_address p a {
  font-family: "Yu Gothic", "Hiragino Kaku Gothic Pro", "Meiryo", sans-serif;
}
footer .footer_left .footer_address p a,
footer ul.footer_link li a {
  list-style-type: none;
  color: white;
  text-decoration: none;
  cursor: pointer;
}
footer .footer_left p code {
  margin-right: 20px;
}
footer .footer_right .footer_bannerlink {
  display: flex;
  justify-content: left;
}
footer .footer_right .login_banner,
footer .footer_right .form_banner {
  position: relative;
  overflow: hidden;
  outline: none;
  display: inline-block;
  border: 1px solid white;
  margin: 0;
  margin-right: 20px;
  width: 200px;
  text-align: center;
  padding: 5px 0;
  text-decoration: none;
  cursor: pointer;
  transition: ease 0.2s;
}
footer .footer_right .login_banner {
  background: #b4b4b4;
}
footer .footer_right .form_banner {
  background: white;
}
footer .footer_right .login_banner span,
footer .footer_right .form_banner span {
  position: relative;
  z-index: 100;
}
footer .footer_right .login_banner span {
  color: white;
}
footer .footer_right .form_banner span {
  color: #b4b4b4;
}
footer .footer_right .login_banner:before,
footer .footer_right .form_banner:before {
  content: "";
  position: absolute;
  top: 0;
  left: -130%;
  width: 120%;
  height: 100%;
  transform: skewX(-25deg);
  transform-origin: right top;
  background: #c5c6c6;
  z-index: 99;
}
footer .footer_right .login_banner:before {
  background: white;
}
footer .footer_right .form_banner:before {
  background: #b4b4b4;
}
footer .footer_credit {
  text-align: center;
  padding: 10px 0;
}
/* 会員ページログイン　*/
#main form {
  height: 26vh;
}
#main form p {
  display: block;
  text-align: center;
  margin-top: 60px;
}
#main form p span {
  opacity: 0.5;
  font-size: 18px;
}
#main form p select#member_type {
  display: block;
  margin: auto;
  width: 30%;
  min-width: 250px;
  height: 40px;
}
#main form p:first-of-type input {
  width: 40%;
  min-width: 300px;
  height: 40px;
  border: 1px solid;
  display: block;
  margin: 10px auto;
}
#main form p input[type="submit"] {
  border-radius: 50px;
  width: 300px;
  height: 50px;
  padding: 10px;
  background-color: #4b88a6;
  color: white;
  font-size: 20px;
  border: none;
  cursor: pointer;
}
/* animation */
header .click_on span:before {
  transform: translate(-50%, -50%) rotate(45deg);
}
header .click_on span::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}
#sidebar .login_banner:hover:before,
#sidebar .form_banner:hover:before,
footer .footer_right .login_banner:hover:before,
footer .footer_right .form_banner:hover:before {
  animation: skewanime 0.5s forwards;
}
#sidebar .login_banner:hover span {
  color: #008aaa;
}
footer ul.footer_link li a:hover::after {
  transform: translateX(0);
  opacity: 1;
}
footer .footer_right .login_banner:hover span {
  color: #b4b4b4;
}
footer .footer_right .form_banner:hover span {
  color: white;
}
@keyframes skewanime {
  100% {
    left: -10%; /*画面の見えていない左から右へ移動する終了地点*/
  }
}
.sp {
  display: block;
}
.pc {
  display: none !important;
}
/* スマホ向け */
@media screen and (max-width: 767px) {
  body {
    min-width: auto;
    margin: 0;
  }
  .wp-block-image .alignleft {
    margin: 0;
  }
  /* ヘッダー　*/
  header .menu-container {
    display: none;
    right: 0;
  }
  header .menu-container ul.menu {
    display: grid;
    justify-content: center;
    padding-left: 0;
  }
  header .menu-container ul li.menu-item {
    margin: 15px 0;
  }
  header.change .menu-container ul li.menu-item a {
    color: white;
  }
  header .icon-hamburger {
    display: inline-block;
  }
  header.change {
    background: transparent;
  }
  header.click_on {
    background-color: rgba(0, 138, 170, 0.8);
    padding-right: 8px;
    padding-bottom: 16px;
  }
  /* サイドバー　*/
  #sidebar {
    top: auto;
    height: auto;
    bottom: 60;
  }

  #sidebar .login_banner,
  #sidebar .form_banner {
    background: transparent;
    border: none;
    background-size: contain;
    background-repeat: no-repeat;
    width: 70px;
    height: 50px;
  }
  #sidebar .login_banner {
    background-image: url(./assets/img/SPicon_01.png);
    top: -10px;
  }
  #sidebar .form_banner {
    background-image: url(./assets/img/SPicon_02.png);
    top: 0;
  }
  #sidebar.click_on .login_banner,
  #sidebar.click_on .form_banner {
    border-radius: 30px 0 0 30px;
    border: 1px solid white;
  }
  #sidebar .login_banner span,
  #sidebar .form_banner span {
    display: none;
  }
  #sidebar .login_banner:before,
  #sidebar .form_banner:before {
    content: none;
  }
  /* アコーディオン */
  .wp-block-group-is-layout-grid h2 span {
    top: 6.5vw;
  }
  .wp-block-group-is-layout-grid h2:nth-of-type(n + 5) span {
    top: 5.2vw;
  }
  .wp-block-group-is-layout-grid h2:nth-of-type(7) span {
    top: 7vw;
  }
  h3.accordion_submit span {
    top: 20px;
    width: 6.7vw;
    align-content: center;
  }
  h3.accordion_submit.open span {
    top: 1.3vw;
  }
  h3.accordion_submit label {
    font-size: 3.8vw;
    width: 13.6vw;
    height: 5.9vw;
  }
  .wp-block-group-is-layout-grid h2 span:before,
  .wp-block-group-is-layout-grid h2 span:after,
  h3.accordion_submit span:before,
  h3.accordion_submit span:after {
    height: 2.7vw;
  }
  blockquote h3.accordion_submit:before {
    border-top-width: 6px;
    border-left-width: 8px;
    border-right-width: 8px;
    margin: 3px;
  }
  /* フッター　*/
  footer {
    padding-top: 20px;
  }
  footer .footer_left {
    width: 100%;
  }
  footer .footer_left .footer_address p {
    font-family: "Yu Gothic", "Hiragino Kaku Gothic Pro", "Meiryo", sans-serif;
  }

  footer .footer_left p code:after {
    content: "\A";
    white-space: pre-line;
  }
  footer .footer_right {
    min-width: auto;
  }
  footer .footer_list {
    display: block;
  }
  footer ul.footer_link li:nth-of-type(2) {
    text-align: center;
  }
  footer ul.footer_link li:nth-of-type(3) {
    text-align: right;
  }
  footer .footer_top ul.footer_link {
    margin: 30px auto 15px;
  }
  footer .footer_bottom ul.footer_link {
    margin-bottom: 0;
    margin-top: 0;
  }
  footer .footer_right .footer_bannerlink {
    display: grid;
    justify-content: normal;
  }
  footer .footer_right .login_banner,
  footer .footer_right .form_banner {
    width: 100%;
  }
  footer .footer_right .login_banner {
    margin-top: 30px;
    margin-right: 0;
    width: 100%;
  }
  footer .footer_right .form_banner {
    margin-top: 20px;
    margin-right: 0;
    width: 100%;
  }
  .sp {
    display: none;
  }
  .pc {
    display: block !important;
  }
}
