@charset "utf-8";

/* ---------resetCSS--------- */

html,
body,
div,
span,
h1,
h2,
h3,
h4,
h5,
p,
a,
dl,
dt,
dd,
ol,
ul,
li,
embed,
figure,
footer,
header,
nav,
section {
  border: 0;
  font-size: 100%;
  margin: 0;
  padding: 0;
  vertical-align: baseline;
}

ul li,
ol li {
  list-style: none;
  padding: 0;
}

* {
  box-sizing: border-box;
}

img {
  vertical-align: top;
}

a:hover {
  opacity: 0.7;
}

/* FONT */

@font-face {
  font-family: "YrsaBO";
  src: url("../font/Yrsa-Bold.ttf");
}

@font-face {
  font-family: "YrsaME";
  src: url("../font/Yrsa-Medium.ttf");
}

@font-face {
  font-family: "YrsaSE";
  src: url("../font/Yrsa-SemiBold.ttf");
}

/* Header */

header {
  max-width: 1366px;
  margin: 0 auto;
}

.header_wrapper {
  padding: 30px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header .title img {
  width: 100%;
}

header .title {
  flex: 1;
}

header .sub_title {
  font-size: 13px;
  display: block;
  flex: 1;
  padding-left: 7px;
  font-family: "游ゴシック", YuGothic, "Yu Gothic", sans-serif;
}

.header_right {
  flex: 1;
  text-align: right;
}
.header_right .link_yumexia {
  margin-bottom: 10px;
  margin-right: 5px;
}
@keyframes btn_push {
  0% {
    box-shadow: 0 2px 4px #bdbcbc;
    transform: translateY(0);
  }
  10% {
    box-shadow: none;
    transform: translateY(2px);
  }
  20% {
    box-shadow: 0 2px 4px #bdbcbc;
    transform: translateY(0);
  }
  100% {
    box-shadow: 0 2px 4px #bdbcbc;
    transform: translateY(0);
  }
}
@keyframes arrow_move {
  0% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(3px);
  }
  100% {
    transform: translateX(0);
  }
}
.link_yumexia a {
  background-color: #ef6377;
  border-radius: 10px;
  display: inline-block;
  color: #fff;
  font-size: 14px;
  padding: 3px 10px 3px 20px;
  position: relative;
  box-shadow: 0 2px 4px #bdbcbc;
  animation: btn_push 2s ease-in-out infinite;
  font-family: "游ゴシック", YuGothic, "Yu Gothic", sans-serif;
}
.link_yumexia a::before {
  content: "";
  display: inline-block;
  width: 34px;
  height: 31px;
  background: url(../images/chara01.png) no-repeat;
  background-size: contain;
  position: absolute;
  top: -2px;
  left: -20px;
}
.link_yumexia a:hover {
  opacity: 0.9;
}
.link_yumexia a:hover span {
  animation: arrow_move 1s ease-in-out infinite;
}

.link_yumexia a span {
  font-size: 9px;
  padding-left: 5px;
  display: inline-block;
}

header ul {
  display: flex;
  justify-content: flex-end;
  flex: 1;
}

header ul li {
  margin-right: 15px;
}

header ul li:last-of-type {
  margin-right: 5px;
}

header ul li img {
  width: 30px;
  height: 30px;
}

/* SPメニュー */

#sp_menu {
  display: none;
  cursor: pointer;
  z-index: 2000;
  width: 14vw;
  height: 14vw;
  position: absolute;
  top: 0;
  left: 0;
}

#sp_menu div {
  position: relative;
}

#sp_menu span {
  display: block;
  position: absolute;
  height: 3px;
  width: 50%;
  background: #000;
  border-radius: 2px;
  right: 0;
  -webkit-transition: 0.35s ease-in-out;
  -moz-transition: 0.35s ease-in-out;
  transition: 0.35s ease-in-out;
}

#sp_menu span:nth-child(1) {
  top: 4vw;
  right: 25%;
}

#sp_menu span:nth-child(2) {
  top: 7vw;
  right: 25%;
}

#sp_menu span:nth-child(3) {
  top: 10vw;
  right: 25%;
}

#accordion {
  display: none;
}

/* Navigation */

nav {
  background-color: #efeeed;
  max-width: 1360px;
  margin: 0 auto;
  font-family: "YrsaBO";
  font-size: 23px;
  margin-bottom: 20px;
}

nav ul li span {
  font-family: "游明朝体", "Yu Mincho", YuMincho, "ヒラギノ明朝 Pro",
    "Hiragino Mincho Pro", "MS P明朝", "MS PMincho", serif;
  font-weight: bold;
  font-size: 19px;
}

nav ul {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  margin: 0 auto;
}

nav ul li a {
  line-height: 55px;
}

/* FOOTER */

footer {
  background-color: #e1dedd;
}

footer img {
  width: 100%;
}

.footer_outer {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 85px;
  padding-bottom: 45px;
  border-bottom: 6px solid #231815;
}

.footer_nav {
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer_logo {
  margin-right: 110px;
  text-align: center;
}

.footer_logo img {
  max-width: 300px;
  width: 100%;
  text-align: center;
}

.footer_logo p {
  font-family: "游ゴシック", YuGothic, "Yu Gothic", sans-serif;
  font-size: 14px;
  letter-spacing: 0.025em;
}

.footer_sns {
  font-size: 15px;
  text-align: center;
  font-family: "游ゴシック", YuGothic, "Yu Gothic", sans-serif;
}

.footer_sns ul {
  display: flex;
  margin-top: 20px;
}

.footer_sns ul li {
  width: 30px;
  margin-right: 15px;
}

.footer_sns ul li:last-of-type {
  margin-right: 5px;
}

ul.footer_nav {
  padding-top: 30px;
  padding-bottom: 60px;
  font-family: "ヒラギノ角ゴシック", "Hiragino Sans", sans-serif;
  font-size: 19px;
}

ul.footer_nav li:first-child {
  margin-right: 50px;
}

/* PageTop */

#page_top {
  position: fixed;
  right: 30px;
  bottom: 10%;
  z-index: 10;
  display: none;
  transform: rotate(-90deg);
}

#page_top a {
  font-size: 20px;
  color: #000;
  background-color: #fff;
  padding: 18px;
  text-decoration: none;
  border: 1px solid #000;
  border-radius: 50%;
  opacity: 0.7;
}

#page_top a:hover {
  opacity: 0.7;
}

/* breadcrumbs */

.breadcrumbs {
  max-width: 1366px;
  margin: 0 auto 0 auto;
  font-family: "游ゴシック", YuGothic, "Yu Gothic", sans-serif;
  font-size: 1.1em;
  padding-left: 7px;
}

.breadcrumbs span {
  padding: 0 2px;
}

.breadcrumbs a {
  text-decoration: underline;
}

/*------------ Smartphone ---------------*/

@media screen and (max-width: 900px) {
  /* header */

  .pc_none {
    display: block;
  }

  .sp_none {
    display: none;
  }

  header ul {
    display: none;
  }

  .header_wrapper {
    flex-direction: column;
    text-align: center;
    align-items: flex-end;
    padding: 5px 0 0;
  }

  header .sub_title {
    order: 2;
    color: #9fa0a0;
    font-size: 18px;
    letter-spacing: 0.05em;
    margin: 0 auto;
  }

  header .title {
    order: 1;
    max-width: 245px;
    margin: 0 auto;
  }

  /* SP Accordion */

  @keyframes menuFadeIn {
    0% {
      opacity: 0;
      -webkit-transform: translateY(-20px);
      -ms-transform: translateY(-20px);
      transform: translateY(-20px);
    }
    100% {
      opacity: 1;
      -webkit-transform: translateY(0);
      -ms-transform: translateY(0);
      transform: translateY(0);
    }
  }

  #sp_menu {
    display: block;
  }

  header.open #accordion {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding-top: 100px;
    padding-bottom: 30px;
    background-color: #f4f2f1;
    display: block;
    z-index: 1500;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-name: menuFadeIn;
    animation-name: menuFadeIn;
  }

  header.open #accordion li {
    font-family: "YrsaBO";
    text-decoration: none;
    color: #333;
    font-size: 22px;
    padding: 1.8% 0 1.8% 5%;
    display: block;
    font-weight: 700;
    line-height: 30px;
  }

  header.open #accordion a span {
    font-family: "游明朝体", "Yu Mincho", YuMincho, "ヒラギノ明朝 Pro",
      "Hiragino Mincho Pro", "MS P明朝", "MS PMincho", serif;
    font-weight: bold;
    font-size: 18px;
    color: #000;
  }

  header.fixed #accordion {
    top: 17vw;
  }

  .open #sp_menu span:nth-child(1) {
    top: 6.5vw;
    -webkit-transform: rotate(315deg);
    -moz-transform: rotate(315deg);
    transform: rotate(315deg);
  }

  .open #sp_menu span:nth-child(2) {
    width: 0;
    left: 50%;
    display: none;
  }

  .open #sp_menu span:nth-child(3) {
    top: 6.5vw;
    -webkit-transform: rotate(-315deg);
    -moz-transform: rotate(-315deg);
    transform: rotate(-315deg);
  }

  .open .navigation {
    -moz-transform: translateY(800px);
    -webkit-transform: translateY(800px);
    transform: translateY(800px);
  }

  .header_right {
    position: relative;
    top: 0;
    right: 0;
  }
  .header_right .link_yumexia {
    margin-bottom: 0;
  }
  .link_yumexia a {
    font-size: 0.8em;
  }
  .link_yumexia a::before {
    width: 24px;
    height: 21px;
    top: 0;
    left: -8px;
  }
  /* NAIGATION */

  nav {
    background-color: #fff;
    margin-bottom: 0;
  }

  nav ul {
    overflow-x: auto;
    white-space: nowrap;
    width: 100%;
  }

  nav ul li {
    padding-right: 30px;
  }

  nav ul li:first-child {
    padding-left: 30px;
  }

  nav ul li a {
    line-height: 70px;
  }

  /* footer */

  .footer_outer {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 8.5vw;
  }

  .footer_logo {
    margin: 0 0 7.5vw 0;
  }

  ul.footer_nav {
    padding: 6.5vw 0 8vw 0;
    font-size: 13px;
  }

  /* breadcrumbs */

  .breadcrumbs {
    font-size: 0.9em;
    margin: 20px auto 0 20px;
  }
}

/*------------ Smartphone Small Size ---------------*/

@media screen and (max-width: 500px) {
  /* header */

  header .title {
    max-width: 40%;
  }

  header .sub_title {
    font-size: 0.6em;
  }
  .link_yumexia a {
    font-size: 0.6em;
  }

  .link_yumexia a span {
    display: none;
  }
  nav ul li:first-child {
    padding-left: 10px;
  }

  nav ul li {
    padding-right: 10px;
  }

  nav ul li a {
    line-height: 35px;
    font-size: 0.65em;
  }

  nav ul li span {
    font-size: 0.7em;
  }

  /* Footer */
  .footer_logo img {
    max-width: 50%;
  }

  .footer_logo p,
  .footer_sns,
  ul.footer_nav {
    font-size: 13px;
  }

  /* breadcrumbs */

  .breadcrumbs {
    font-size: 0.9em;
    margin: 10px auto 0 5px;
  }
}
