@charset "UTF-8";

/*----------------------------------------共通----------------------------------------*/
html {
  height: -webkit-fill-available;
}

body {
  position: relative;
  min-height: 100vh;
  min-height: -webkit-fill-available;
  color: #141414;
}

body::before {
  position: absolute;
  top: 0;
  content: "";
  width: 100%;
  height: 16px;
  background: #dbdbdb;
}

body::after {
  position: absolute;
  top: 0;
  content: "";
  width: 100%;
  height: 9px;
  background: url(../img/common/red_back.svg);
  background-size: 4px;
}

.container {
  min-height: 100vh;
  position: relative;
  box-sizing: border-box;
}

.container.header {}

/* .container.nonactive {
  height: 100vh;
  overflow: hidden;
} */
.inner {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

section {
  padding: 5% 3%;
}

.youtube_box {
  width: 48%;
  margin: 0 auto 3%;
}

.youtube {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  overflow: hidden;
  margin: 0% auto 3%;
}

.youtube img {
  width: 100%;
}

.youtube iframe {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

@media screen and (max-width: 768px) {
  .inner {
    padding: 0;
  }

  .youtube_box {
    width: 90%;
  }
}

/*----------------------------------------header----------------------------------------*/
header {
  padding: 60px 0 0;
  margin: 0px auto 20px;
}

header a,
header a:link,
header a:visited {
  color: #fff;
}

header img.announce {
  width: 47%;
}

#lang {
  top: 3em;
  right: 1.1em;
}

#lang a {
  color: #e60000;
  text-decoration: none;
  font-size: 1.6rem;
}

#font_size {
  width: 200px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  -webkit-box-align: baseline;
  -ms-flex-align: baseline;
  align-items: baseline;
  font-weight: bold;
  margin: 0 0 0 auto;
  bottom: 0;
  right: 0;
}

#font_size .font {
  font-size: 0.9em;
  margin: 0 5px 0 0;
}

#font_size dd {}

#font_size dd.s,
#font_size dd.m,
#font_size dd.l {
  width: 22px;
  height: 22px;
  text-align: center;
  line-height: 22px;
  /*padding:2px 4px;*/
  border-top: 1px solid #d2d2c8;
  border-bottom: 1px solid #d2d2c8;
  border-right: 1px solid #d2d2c8;
  cursor: pointer;
  background-color: #fff;
}

#font_size dd.l {
  border-left: 1px solid #d2d2c8;
}

#font_size dd.s {
  font-size: 100%;
}

#font_size dd.m {
  font-size: 100%;
}

#font_size dd.l {
  font-size: 100%;
}

@media screen and (max-width: 768px) {
  header img {
    width: 50%;
    max-width: 220px;
  }

  header img.announce {
    width: 100%;
    max-width: initial;
    padding: 5% 5% 0;
  }
}

/*----------------------------------------ハンバーガー----------------------------------------*/
.shadow_back {
  background: rgba(0, 0, 0, 0);
  transition-duration: 0.2s;
}

.shadow_back.active {
  position: fixed;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
  cursor: pointer;
}

/*----------------------------------------header----------------------------------------*/
.hamburger {
  display: none;
  position: fixed;
  background: #e60000;
  cursor: pointer;
  width: 50px;
  height: 50px;
  top: 2em;
  right: 1em;
  border-radius: 3px;
  z-index: 300;
}

.hamburger span {
  display: inline-block;
  transition: all 0.4s;
  position: absolute;
  left: 14px;
  height: 2px;
  border-radius: 1px;
  background: #fff;
  width: 45%;
}

.hamburger p {
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  line-height: 131%;
  text-align: center;
  font-size: 8px;
  color: #fff;
}

/* .hamburger.active span {
  background: #fff;
} */
.hamburger span:nth-child(1) {
  top: 15px;
}

.hamburger span:nth-child(2) {
  top: 23px;
}

.hamburger span:nth-child(3) {
  top: 31px;
}

/*activeクラスが付与されると線が回転して×に*/
.hamburger.active span:nth-of-type(1) {
  top: 18px;
  left: 18px;
  transform: translateY(6px) rotate(-45deg);
  width: 30%;
}

.hamburger.active span:nth-of-type(2) {
  opacity: 0;
  /*真ん中の線は透過*/
}

.hamburger.active span:nth-of-type(3) {
  top: 30px;
  left: 18px;
  transform: translateY(-6px) rotate(45deg);
  width: 30%;
}

nav.globalMenuSp {
  position: fixed;
  z-index: 200;
  top: 0;
  left: 0;
  color: #000;
  background: #fff;
  text-align: center;
  transform: translateY(-100%);
  transition: all 0.6s;
  width: 100%;
}

nav.globalMenuSp .logo {
  text-align: left;
  background: #fff;
}

nav.globalMenuSp img.logo {
  width: 20%;
  min-width: 150px;
  padding: 10px;
}

nav.globalMenuSp ul {
  margin: 0 auto;
  padding: 0;
  width: 100%;
  height: 100vh;
  background: #fff;
}

nav.globalMenuSp ul li {
  position: relative;
  list-style-type: none;
  padding: 0;
  width: 100%;
  height: 9vh;
  transition-duration: 0.3s;
}

nav.globalMenuSp ul li:nth-child(3n-2) {
  border-bottom: 5px solid #42767a;
}

nav.globalMenuSp ul li:nth-child(3n-1) {
  border-bottom: 5px solid #e2a346;
}

nav.globalMenuSp ul li:nth-child(3n) {
  border-bottom: 5px solid #bf3c4e;
}

nav.globalMenuSp ul li.now::after {}

nav.globalMenuSp ul li:nth-child(3n-2):hover {
  background: #e2a346;
}

nav.globalMenuSp ul li:nth-child(3n-1):hover {
  background: #bf3c4e;
}

nav.globalMenuSp ul li:nth-child(3n):hover {
  background: #42767a;
}

nav.globalMenuSp ul li:hover a {
  color: #fff;
}

nav.globalMenuSp ul li a {
  display: block;
  width: 100%;
  height: 100%;
  transition-duration: 0.3s;
}

.cls-1 {
  /* fill: #e81d1b; */
}

nav.globalMenuSp ul li svg {
  position: absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  height: 25%;
}

nav.globalMenuSp ul li path {
  transition-duration: 0.3s;
}

nav.globalMenuSp ul li:hover path {
  fill: #ffffff;
}

/* このクラスを、jQueryで付与・削除する */
nav.globalMenuSp.active {
  transform: translateY(0%);
}

#nav {
  position: absolute;
  width: 100%;
  background: #fff;
  border-bottom: 2px solid;
  overflow: hidden;
  display: none;
  top: 0;
  /* right: 0; */
  z-index: 90;
}

#nav {
  width: 100%;
  background: #fff;
  border-bottom: 2px solid;
}

#nav .dummy {
  height: 20vh;
}

@media screen and (max-width: 768px) {
  .hamburger {
    display: block;
  }
}

/*----------------------------------------sidebar----------------------------------------*/
.side.left {
  width: 20%;
}

#sidebar {}

#sidebar ul.nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

#sidebar ul.nav li {
  position: relative;
  width: 33.33333%;
  background: url(../img/common/nav_back.png);
  background-size: cover;
  overflow: hidden;
}

#sidebar ul.nav li:nth-child(1) {
  border-top: 1px solid #ccc;
  border-left: 1px solid #ccc;
}

#sidebar ul.nav li:nth-child(2) {
  border-top: 1px solid #ccc;
  border-left: 1px solid #ccc;
}

#sidebar ul.nav li:nth-child(3) {
  border-top: 1px solid #ccc;
  border-left: 1px solid #ccc;
  border-right: 1px solid #ccc;
}

#sidebar ul.nav li:nth-child(4) {
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  border-left: 1px solid #ccc;
}

#sidebar ul.nav li:nth-child(5) {
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  border-left: 1px solid #ccc;
}

#sidebar ul.nav li:nth-child(6) {
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  border-right: 1px solid #ccc;
  border-left: 1px solid #ccc;
}

#sidebar ul.nav li.now,
#sidebar ul.nav li.now:hover {
  background: url(../img/common/nav_back_hover.png);
  background-size: cover;
}

#sidebar ul.nav li:hover img {
  fill: #fff;
}

#sidebar ul.nav li.now .absolute {
  display: none;
}

#sidebar ul.nav li:hover {
  background: none;
}

#sidebar ul.nav li img {
  z-index: 10;
}

#sidebar ul.nav li .absolute {
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  opacity: 0;
  z-index: -1;
}

#sidebar ul.nav li:hover .absolute {
  top: 0%;
  opacity: 1;
}

#sidebar ul.nav li a {}

#sidebar ul.nav li img {
  width: 99%;
}

#sidebar ul.nav li img.ok_swap {}

#sidebar .twitter {
  text-align: center;
  margin: 10% auto;
}

#sidebar .twitter .twitter-timeline {
  width: 100% !important;
  margin: 0 auto;
}

h1.timeline-Header-title {
  font-size: 10px;
}

#sidebar .search {
  margin: 10% auto;
}

#sidebar .search .txt {
  width: calc(100% - 60px);
  height: 32px;
  padding: 5px;
  border-top: 1px solid #d2d2d2;
  border-right: none;
  border-bottom: 1px solid #d2d2d2;
  border-left: 1px solid #d2d2d2;
  margin: 0px;
  vertical-align: top;
}

#sidebar .search .btn {
  width: 60px;
  height: 32px;
  margin: 0px;
  vertical-align: top;
}

#sidebar .banner {}

#sidebar .banner .box {}

#sidebar .banner p {
  margin: 5% auto;
}

#sidebar .banner p img {
  height: 22px;
}

#sidebar .banner ul {}

#sidebar .banner ul li {
  padding: 0 0 10px;
}

#sidebar .banner ul li img {
  width: 100%;
}

@media screen and (max-width: 768px) {
  .side.left {
    width: 100%;
  }

  #sidebar .banner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 10% auto;
  }

  #sidebar .banner .box {
    width: 49%;
  }

  #sidebar .banner p {
    text-align: center;
  }

  #sidebar .banner ul li {
    text-align: center;
  }

  #sidebar ul.nav {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    margin: 5% auto;
  }

  #sidebar ul.nav li {
    width: 33%;
    background: url(../img/common/nav_back_sp.png);
    margin: 0 0 0.7%;
    border: 1px solid #c6c6c6;
  }

  #sidebar ul.nav li:hover,
  #sidebar ul.nav li.now,
  #sidebar ul.nav li.now:hover {
    background: url(../img/common/nav_back_hover.png);
    background-size: 105%;
    background-position: center;
  }

  #sidebar ul.nav li img {
    padding: 0 0 0 3%;
  }

  #sidebar .banner ul li img {
    width: 80%;
  }

  #sidebar .twitter {
    background: #00acee;
    padding: 5% 10%;
    margin: 5% auto;
  }

  #sidebar .twitter img {
    width: 100%;
  }

  #sidebar .twitter iframe {
    width: 90% !important;
    background: #fff;
  }

  #sidebar .search {
    margin: 10% 5%;
  }
}

@media screen and (max-width: 480px) {
  #sidebar ul.nav li {
    width: 49.5%;
  }
}

/*----------------------------------------patron----------------------------------------*/
.patron {}

.red {
  color: #ff0000;
}

.patron ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.patron ul li {
  width: 32%;
}

@media screen and (max-width: 768px) {
  .patron ul li {
    width: 49%;
  }
}

@media screen and (max-width: 480px) {
  .patron ul li {
    width: 100%;
  }
}

/*----------------------------------------footer----------------------------------------*/
footer {
  position: relative;
  margin: 0 auto;
  background: #dbdbdb;
}

footer::after {
  position: absolute;
  bottom: -20%;
  left: 0;
  content: "";
  width: 100%;
  height: 9px;
  background: url(../img/common/red_back.svg);
  background-size: 4px;
}

footer p {
  text-align: center;
}

footer p img {
  height: 40px;
}

.footer_sp {
  display: none;
}

@media screen and (max-width: 768px) {
  .footer_pc {
    display: none;
  }

  .footer_sp {
    /* display: block; */
  }

  footer .footer_sp {
    position: fixed;
    right: 0;
    z-index: 100;
  }

  footer .footer_sp.sticky {
    position: absolute;
    top: -70px;
  }

  footer::after {
    bottom: -10%;
  }

  footer .clearfix::after {
    display: none;
    content: "";
  }
}

img#wpstats {
  display: none;
}
