@charset "utf-8";

.hamburger {
  display: none;
}

.tablet {
  display: none;
}

/*========================================================================*\

$header

\*========================================================================*/

header {
  background-color: #ffffff;
  left: 0;
  margin: 0 auto;
  padding: 2rem 3rem;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

header h1 {
  color: rgba(0, 0, 0, 0.8);
  font-size: 1rem;
  line-height: 1.6rem;
}

header #headerInner #headerL h1 {
  display: none;
}

header #headerInner {
  align-items: center;
  display: flex;
  position: relative;
  transition: all 0.5s;
  width: 100%;
}

header #headerInner #headerL {
  margin: 0;
  width: 15%;
  z-index: 1000;
}

header #headerInner #headerL .logo {
  width: 100%;
}

header #headerInner #headerR {
  width: calc(100% - 15%);
}

/*========================================================================*\

$navi

\*========================================================================*/

.navi {
  margin: 0 auto;
  width: 100%;
}

.navi > ul {
  align-items: center;
  display: flex;
  justify-content: flex-end;
  margin: 0 auto;
  width: 100%;
}

.navi > ul > li {
  display: flex;
  flex-wrap: wrap;
  font-weight: 700;
  letter-spacing: 0.1rem;
  line-height: 1;
  margin: 0;
  padding: 0;
}

.navi > ul > li:nth-child(n + 2) {
  margin-top: 0 !important;
}

.navi > ul > li.sponly {
  display: none !important;
}

.navi > ul > li.toggle {
  position: relative;
}

.navi > ul > li.toggle::after {
  border: 0.15em solid currentColor;
  border-bottom: 0;
  border-left: 0;
  box-sizing: border-box;
  color: #ff0000;
  content: "";
  display: inline-block;
  height: 0.8rem;
  line-height: 1;
  position: absolute;
  right: 21px;
  top: 47%;
  transform: translateY(-25%) rotate(135deg);
  vertical-align: middle;
  width: 0.8rem;
}

.navi > ul > li a {
  align-items: center;
  color: #000000;
  display: flex;
  font-size: 1.5rem;
  justify-content: center;
  line-height: 1;
  margin: 0;
  padding: 3rem 2.5rem 3rem 0;
  text-decoration: none;
  transition: all 0.3s ease-out;
}

.navi > ul > li.toggle a {
  padding-right: 3.5rem;
}

.navi > ul > li a.title {
  display: block;
  position: relative;
}

.navi > ul > li a.title:hover {
  color: #ff0000;
}

.navi > ul > li a.title::after {
  background: #ff0000;
  bottom: 15px;
  content: "";
  height: 2px;
  left: 14%;
  position: absolute;
  transform: translateX(-50%);
  transform: scale(0, 1);
  transform-origin: center top;
  transition: all 0.3s ease-out;
  width: 50%;
}

.navi > ul > li a.title:hover::after {
  transform: scale(1, 1);
}

.navi > ul .menu {
  border-radius: 22px;
  box-sizing: border-box;
  left: 40%;
  margin: 0 auto;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  padding: 1.5rem 2rem;
  position: absolute;
  text-align: center;
  top: 70px;
  transform: translateX(-50%);
  width: 250px;
  z-index: 100000000;
}

.navi > ul > li:hover .menu,
.navi > ul > li .menu.checked {
  background: #ff0000;
  max-height: 9999px;
  opacity: 1;
}

.navi > ul .menu .menu_inner {
  display: block;
  margin: 0 auto;
  position: relative;
  text-align: left;
  z-index: 10000000;
}

.navi > ul .menu .menu_inner .child {
  margin: 0;
}

.navi > ul .menu .menu_inner .child li:nth-child(n + 2) {
  margin-top: 0 !important;
}

.navi > ul .menu .menu_inner .child a {
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  color: #ffffff;
  display: block;
  font-size: 1.4rem;
  height: auto;
  padding: 1.5rem 0;
  position: relative;
  text-align: left;
  width: 100%;
}

.navi > ul .menu .menu_inner .child a:hover {
  color: #d01a0a;
}

.navi > ul .menu .menu_inner .child li:last-child a {
  border-bottom: none;
}

.navi > ul .menu .menu_inner .child a:after {
  border-bottom: 1px solid #ffffff;
  bottom: -0.22rem;
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  transform: scale(0, 1);
  transform-origin: left top;
  transition: transform 0.2s;
  width: 100%;
}

.navi > ul .menu .menu_inner .child a:hover::after {
  transform: scale(1, 1);
}

.navi > ul .menu .menu_inner .child a:before {
  border-right: solid 2px #ffffff;
  border-top: solid 2px #ffffff;
  content: "";
  height: 8px;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  transition: 0.2s;
  width: 8px;
}

.navi > ul .contactArea a {
  background: #ff0000;
  border-radius: 15px;
  box-shadow: 0 3px 0 #d01a0a;
  color: #ffffff;
  font-family: "Josefin Sans", sans-serif;
  font-size: 2.6rem;
  padding: 0.6rem 2rem 0.2rem 2rem;
  transition: all 0 ease-out;
}

.navi > ul .contactArea a:before {
  background-image: url(../images/chara_02.png);
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
  display: inline-block;
  height: 48px;
  margin-right: 10px;
  vertical-align: 0;
  width: 23px;
}

.navi > ul .contactArea a .tel:before {
  background-image: url(../images/ico_tel.png);
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
  display: inline-block;
  height: 18px;
  margin-right: 6px;
  vertical-align: 0;
  width: 18px;
}

.navi > ul .contactArea a .ss {
  display: block;
  font-size: 1.1rem;
  margin-top: 0;
}

.navi > ul .contactArea.lineBtn {
  margin-right: 2rem;
  width: 54px;
}

.navi > ul .contactArea.lineBtn a {
  background: transparent;
  box-shadow: 0 3px 0 #08a046;
  padding: 0;
}

.navi > ul .contactArea.lineBtn a .linesp {
  display: none;
}

.navi > ul .contactArea.lineBtn a {
  background: transparent;
  box-shadow: 0 3px 0 #08a046;
  padding: 0;
}

.navi > ul .contactArea.lineBtn a:before {
  content: none;
}

.navi > ul .contactArea a:hover {
  box-shadow: none;
  transform: translateY(3px);
  transition: all 0 ease-out;
}

#headerInner #headerR .text {
  display: none;
}

@media screen and (max-width: 1650px) {
  header {
    padding: 1.5rem 2rem;
  }

  .navi > ul > li a {
    padding: 2rem 1.5rem 2rem 0;
  }

  .navi > ul .menu {
    padding: 1.5rem;
    top: 50px;
  }

  .navi > ul .contactArea a {
    line-height: 1;
    padding: 1.6rem 1.5rem;
  }

  .navi > ul .contactArea a:before {
    content: none;
  }

  .navi > ul .contactArea a .tel:before {
    height: 14px;
    width: 14px;
  }

  .navi > ul .contactArea a .tel {
    display: block;
    font-size: 1.8rem;
  }

  .navi > ul .contactArea a .ss {
    display: none;
  }

  .navi > ul .contactArea.lineBtn {
    margin-right: 1.5rem;
    width: 50px;
  }
}

@media screen and (max-width: 1400px) {
  header #headerInner #headerL {
    margin: 0;
    width: 20%;
    z-index: 1000;
  }

  .navi > ul > li a {
    font-size: 1.3rem;
  }

  .navi > ul .contactArea a {
    padding: 1rem 1.2rem 0.6rem 1.2rem;
  }

  .navi > ul .contactArea a .tel {
    display: block;
    font-size: 1.6rem;
  }
}

@media screen and (max-width: 1260px) {
  #header {
    overflow: hidden;
    width: 100%;
  }

  header h1 {
    display: none;
    margin-bottom: 0.5rem;
  }

  header #headerInner #headerL h1 {
    display: block;
    margin-top: 0.5rem;
  }

  header #headerInner #headerL {
    width: 40%;
  }

  header.fixed #headerInner #headerL {
    height: 64px;
  }

  .navi > ul > li a.title::after {
    content: none;
  }

  .navi > ul .menu .menu_inner .child a:hover::after {
    transform: scale(0, 1);
  }

  .navi > ul .contactArea.lineBtn a .linepc {
    display: none;
  }

  .navi > ul .contactArea.lineBtn a .linesp {
    display: block;
  }
}

@media screen and (max-width: 768px) {
  header {
    padding: 1rem 2rem 1.5rem 2rem;
  }
  header #headerInner {
    display: block;
  }

  header #headerInner #headerL {
    margin-right: 0;
    width: 85%;
  }

  header #headerInner #headerL .logo {
    width: 80%;
  }

  .navi > ul > li a.title::after {
    content: none;
  }
}

/*========================================================================*\

$navi

\*========================================================================*/

@media screen and (max-width: 1260px) {
  .tablet {
    display: block !important;
  }

  .navi > ul > li.sponly {
    display: block !important;
  }

  .navi {
    background: #ffffff;
    box-sizing: border-box;
    color: #000000;
    display: none;
    height: 100%;
    left: 0;
    opacity: 0;
    overflow: auto;
    padding: 0;
    position: fixed;
    text-align: center;
    text-align: left;
    top: 0;
    transition: opacity 0.6s ease, visibility 0.6s ease;
    width: 100%;
    z-index: -1;
  }

  .navi .logo {
    width: 70%;
  }
  .navi .logo a {
    display: block;
    padding: 2rem 0 0 2rem;
  }

  .navi.active {
    display: block;
    opacity: 1;
    z-index: 30000;
  }

  .navi > ul {
    display: block;
    padding: 3rem 0 2rem 0;
  }

  .navi ul li {
    border-bottom: 1px solid #e0e0e0;
    display: block;
    position: relative;
  }

  .navi > ul > li:nth-child(8) {
    margin-right: 0;
  }

  .navi ul li a.title {
    color: #000000;
    display: block;
    font-size: 1.5rem;
    height: auto;
    line-height: 1;
    padding: 2rem;
    position: relative;
    text-decoration: none;
    width: 100%;
  }

  .navi ul li a.title::after {
    background: transparent;
    border-right: solid 2px #ff0000;
    border-top: solid 2px #ff0000;
    content: "";
    height: 8px;
    left: auto;
    position: absolute;
    right: 21px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    transition: 0.2s;
    width: 8px;
  }

  .navi ul li a.title::before {
    border-right: solid 2px #ff0000;
    border-top: solid 2px #ff0000;
    content: "";
    height: 8px;
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    transition: 0.2s;
    width: 8px;
  }

  .navi > ul > li.toggle::after,
  .navi ul li a.title::after {
    content: none;
  }

  .navi ul li.toggle a.title:before {
    background-color: #ff0000;
    bottom: 0;
    content: "";
    display: block;
    height: 2px;
    left: auto;
    margin: auto;
    position: absolute;
    right: 20px;
    top: 0;
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
    transition: 0.2s;
    width: 14px;
  }

  .navi ul li.toggle a.title:after {
    background: #ff0000;
    bottom: 0;
    content: "";
    display: block;
    height: 2px;
    left: auto;
    margin: auto;
    position: absolute;
    right: 20px;
    top: 0;
    transform: none;
    transition: 0.3s;
    width: 14px;
  }

  .navi ul li a.title.clicked:before {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  .navi ul li a.title.clicked:after {
    background-color: transparent;
  }

  .navi > ul .menu {
    border-radius: 0;
    display: none;
    max-height: none;
    opacity: 1;
    overflow: visible;
    padding: 0;
    position: static;
    text-align: left;
    transform: none;
    width: 100%;
  }

  .navi ul li .menu .menu_inner ul {
    display: block;
    margin: 0;
    width: 100%;
  }

  .navi ul ul {
    margin-bottom: 0;
  }

  .navi ul ul li {
    border-bottom: 1px solid #ffffff;
  }

  .navi ul ul li:last-child {
    border: none;
  }

  .navi ul ul li:before {
    content: none !important;
  }

  .navi > ul .menu .menu_inner .child a {
    border: none;
    display: block;
    font-size: 1.4rem;
    padding: 2rem;
    position: relative;
    text-align: left;
    text-decoration: none;
    width: 100%;
  }

  .navi > ul .menu .menu_inner .child a:before {
    right: 2.1rem;
  }

  .navi ul li.contactArea {
    display: none;
  }

  #headerInner #headerR .navi ul li.contactArea {
    border: none;
    display: block;
    float: left;
    margin: 0 2% 0 1.5% !important;
  }

  #headerInner #headerR .navi > ul .contactArea.lineBtn {
    margin: 0 1.5% 0 2% !important;
  }

  #headerInner #headerR .navi ul li.contactArea::before {
    content: none;
  }

  #headerInner #headerR .navi > ul .contactArea {
    width: 46.5%;
  }

  #headerInner #headerR .navi > ul .contactArea a {
    align-items: center;
    background: #ff0000;
    border-radius: 600px;
    color: #ffffff;
    display: flex;
    font-size: 1.3rem;
    height: auto;
    justify-content: center;
    padding: 1.5rem 0 1.2rem 0;
    text-align: center;
    height: 45px;
    text-decoration: none;
  }

  #headerInner #headerR .navi > ul .contactArea.lineBtn a {
    background: #06c755 !important;
  }

  #headerInner #headerR .text {
    display: block;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 3rem 0 1rem 0;
    text-align: center;
  }

  #headerInner #headerR .text .ss {
    font-size: 1.2rem;
  }
}

/*========================================================================*\

$hamburger

\*========================================================================*/

@media screen and (max-width: 1260px) {
  .hamburger {
    background: #ff0000;
    border-radius: 0 0 0 30px;
    display: block;
    height: 70px;
    overflow: hidden;
    position: fixed;
    right: 0;
    top: 0;
    width: 70px;
    z-index: 99999;
  }

  .hamburger__line {
    background-color: #ffffff;
    display: block;
    height: 2px;
    left: 50%;
    position: absolute;
    top: 26px;
    transform: translateX(-50%);
    transition: 0.4s;
    width: 24px;
  }

  .hamburger__line:before,
  .hamburger__line:after {
    background-color: #ffffff;
    content: "";
    display: block;
    height: 100%;
    position: absolute;
    transition: inherit;
    width: 100%;
  }

  .hamburger__line:before {
    top: -6px;
  }

  .hamburger__line:after {
    top: 6px;
  }

  .hamburger__text {
    bottom: 8px;
    left: 50%;
    margin: auto;
    position: absolute;
    transform: translateX(-50%);
  }

  .hamburger__text::before {
    color: #ffffff;
    content: "MENU";
    font-size: 10px;
    font-weight: 900;
    text-align: center;
  }

  .hamburger.active .hamburger__line {
    background-color: transparent;
  }
  .hamburger.active .hamburger__line::before {
    top: 0;
    transform: rotate(45deg);
  }
  .hamburger.active .hamburger__line::after {
    top: 0;
    transform: rotate(-45deg);
  }
  .hamburger.active .hamburger__text::before {
    content: "Close";
  }
}
