/* common */

body {
  /* -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%; */
  margin: 0;
  font-family: serif, "MS PMincho", "Helvetica Neue", Helvetica, sans-serif;
  background: url(../img/all-background12.png);
  background-size: cover;
  object-fit: cover;
  z-index: -1
}

.container {
  width: 95%;
  margin: 0px auto;
}

h1 {
  margin: 0;
}

p {
  margin: 0;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
}

/* header */

/* header {
  height: 500px;
  position: fixed;
  top: 0;
  z-index: 9;
} */

header .header-back{
  width: 100%;
  background: url(../img/header-back.jpg);
  background-size: cover;
  position: fixed;
  top: 0;
  color: #fff;
  align-items: center;
  z-index: 50;
}


header .header-container {
  display: flex;
  justify-content: space-between;
  width: 95%;
  margin: 0px auto;
  padding: 16px 0;
  align-items: center;
  /* position: absolute;
  top: 0px;
  left: 2.5%; */
  /* z-index: 9; */
}

header h1 {
  font-size: 25px;
  letter-spacing: 10px;
}

header img {
  width: 150px;
  /* object-fit: cover; */
  /* opacity: none; */
}

header p {
  font-weight: bold;
  font-size: 14px;
  position: relative;
  line-height: 1.5em;
}

header .logo a {
  text-decoration: none;
  color: #fff;
  transition: opacity .3s;
  pointer-events: auto;
}

header .logo a:hover {
  opacity: .7;
}

header .logo i {
  margin-right: 8px;
}

header .sp-menu i {
  font-size: 40px;
  cursor: pointer;
}

header .pc-menu {
  display: none;
}

.hg-menu nav {
  position: fixed;
  top: 0;
  right: -200px;
  width: 200px;
  height: 100%;
  padding-top: 50px;
  background: rgba(33,33,33,.9);
  font-size: 16px;
  box-sizing: border-box;
  z-index: 2;
}

.hg-menu nav ul li {
  padding: 20px 28px;
}

.hg-menu nav ul li a {
  text-decoration: none;
  color: #ddd;
  font-weight: bold;
  transition: opacity .3s;
}

.hg-menu nav ul li a:hover {
  opacity: .7;
}

.hg-menu .btn-gnavi {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 30px;
  height: 24px;
  z-index: 3;
  box-sizing: border-box;
  cursor: pointer;
  -webkit-transition: all 400ms;
  transition: all 400ms;
}

.hg-menu .btn-gnavi span {
  position: absolute;
  width: 30px;
  height: 4px;
  background: #fff;
  border-radius: 10px;
  -webkit-transition: all 400ms;
  transition: all 400ms;
}

.hg-menu .btn-gnavi span:nth-child(1) {
  top: 0;
}

.hg-menu .btn-gnavi span:nth-child(2) {
  top: 10px;
}

.hg-menu .btn-gnavi span:nth-child(3) {
  top: 20px;
}

.hg-menu .btn-gnavi.open {
  -webkit-transform: rotate(180deg);
  transform: rotate(180deg);
}

.hg-menu .btn-gnavi.open span {
  background: #fff;
}

.hg-menu .btn-gnavi.open span:nth-child(1) {
  width: 24px;
  -webkit-transform: translate(-7px,17px) rotate(45deg);
  transform: translate(-7px,17px) rotate(45deg);
}

.hg-menu .btn-gnavi.open span:nth-child(3) {
  width: 24px;
  -webkit-transform: translate(-7px,-17px) rotate(-45deg);
  transform: translate(-7px,-17px) rotate(-45deg);
}

.hg-menu .contents section {
  position: relative;
  width: 100%;
  height: 100vh;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hg-menu .contents section p {
  position: absolute;
  top: 50%;
  width: 30%;
  line-height: 1.4;
  -webkit-transform: translate(0,-50%);
  transform: translate(0,-50%);
  font-size: 20px;
  color: #fff;
  text-shadow: 0 0 6px #666;
}

.hg-menu .contents section:nth-child(odd) p {
  left: 10%;
}

.hg-menu .contents section:nth-child(even) p {
  right: 10%;
}

/* space */

.space {
  /* margin-top: 120px; */
  /* margin-top: 153px; */
  margin-top: 149.5px;
}

/* hero */

.hero {
  width: 100%;
  height: 600px;
  pointer-events: none;
  position: relative;
}

.hero img {
  width: 100%;
  height: 600px;
  position: absolute;
  z-index: 7;
  object-fit: cover;
  transition: opacity 3.0s;
  opacity: 0;
}

.hero p {
  width: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 3.0s;
  color: #fff;
  font-size: 20px;
  text-align: center;
  font-weight: bold;
  text-shadow: 2px 4px 3px #000;
  z-index: 8;
}

.hero img.current,
.hero p.current {
  opacity: 1;
}

/* total-navi */

.total-navi {
  height: 1144px;
  text-align: center;
  /* background: #000; */
}

.total-navi ul {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
}

.total-navi li {
  width: 50%;
  min-width: 50%;
  opacity: 0;
  transition: opacity 1s, transform 1s;
}

.total-navi h1 {
  width: 40%;
  margin: 100px auto;
  background: rgba(0, 0, 0, .9);
  color: #fff;
  padding: 10px;
  border-radius: 4px;
}

.total-navi li a:hover {
  opacity: .6;
}

.total-navi .slide-left {
  transform: translateY(-50px);
}
.total-navi .slide-top {
  transform: translateX(-50px);
}
.total-navi .slide-bottom {
  transform: translateX(50px);
}
.total-navi .slide-right {
  transform: translateY(-50px);
}

.total-navi li.appear {
  transform: none;
  opacity: 1;
}

.total-navi a {
  display: block;
  text-decoration: none;
  color: #fff;
  position: relative;
  transition: opacity .4s;
}

.total-navi img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  vertical-align: middle;
}

.total-navi p {
  font-size: 20px;
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-shadow: 3px 3px 3px #000;
  font-weight: bold;
}

.total-navi .text-ja {
  font-size: 25px;
  writing-mode: vertical-rl;
  
}

.total-navi .text-en {
  font-size: 13px;
}

.total-navi p + p {
  margin-top: 70px;
}

/* gallery */

.gallery {
  width: 100%;
  margin: 100px 0;
}

.gallery h1 {
  width: 40%;
  margin: 100px auto;
  background: rgba(0, 0, 0, .9);
  color: #fff;
  padding: 10px;
  border-radius: 4px;
  text-align: center;
}

.swiper--wrapper {
  width: 100%;
  height: 300px;
}

.swiper-slide img {
  width: 100%;
  object-fit: cover;
  height: 300px;
  line-height: 300px;
}


/* news */

.news {
  color: #000;
  /* outline: 2px solid red; */
  background: rgba(224, 118, 57, 0.705)
}

.news .container {
  padding: 100px 0 100px;
  /* outline: 2px solid blue; */
}

.news h1 {
  width: 40%;
  margin: 0 auto 100px;
  background: rgba(0, 0, 0, .9);
  color: #fff;
  padding: 10px;
  border-radius: 4px;
  text-align: center;
}

.news .news-h2 {
  display: flex;
  align-items: center;
}

.news .news-h2 img {
  width: 50px;
  height: 50px;
  margin-right: 10px;
}

.news .news-h2 span {
  font-size: 17px;
}

.news .news-left {
  width: 90%;
  margin: 0 auto;
  font-weight: bold;
  line-height: 1.5em
}

.news .news-button {
  background: rgb(53, 46, 46);
  color: #fff;
  margin: 30px 0 50px;
  padding: 10px 0;
  text-align: center;
  border-radius: 5px;
  cursor: pointer;
}

.news .news-button:hover {
  opacity: .8;
}

.news .news-right {
  width: 95%;
  margin: 0 auto;
}

.news .news-right section + section {
  margin-top: 20px;
}

.news .news-right a {
  display: flex;
  color: #000;
  line-height: 2em;
  transition: background .3s;
}

.news .news-right a:hover {
  background: rgba(0, 0, 0, .4);
}

.news .news-right img {
  margin-right: 15px;
}

.news .news-right .ganle-news {
  background: rgba(190, 0, 0, 0.911);
  padding: 4px 5px;
}

.news .news-right .news-text {
  font-weight: bold;
  font-size: 21px;
  text-decoration: underline;
}

.news .news-right .date {
  opacity: .6;
}

/* access */

.access {
  
  margin: 100px 0;
}

.access h1 {
  width: 40%;
  margin: 0 auto 100px;
  background: rgba(0, 0, 0, .9);
  color: #fff;
  padding: 10px;
  border-radius: 4px;
  text-align: center;
}

.access table {
  width: 100%;
  font-size: 13px;
  margin-bottom: 25px;
  border: 1px solid #000;
  border-collapse: collapse;
}

.access .table-head {
  border: 1px solid #000;
  padding: 10px;
  font-weight: bold;
  text-align: center;
  background: rgba(224, 118, 57, 0.705)
}

.access tr td {
  border: 1px solid #000;
  padding: 10px;
  background: #fff;
}

.access tr td a {
  color: #000;
}

.access .access-map {
  width: 100%;
}

.access .access-map iframe {
  width: 100%;
  height: 379px;
}

/* footer */

footer {
  width: 100%;
  background: rgb(197, 199, 194);
  padding: 20px 0;
  text-align: center;
  font-weight: bold;
  font-size: 13px;
}

footer nav {
  width: 75%;
  margin: 0 auto;
}

footer ul {
  display: flex;
  margin-bottom: 15px;
}

footer li {
  width: 30%;
}

footer a {
  color: #000;
  font-size: 11px;
}


/* large screen */

@media (min-width: 750px) {
  /* header */

  header .pc-menu {
    display: block;
  }

  header .pc-menu ul {
    display: flex;
  }

  header .pc-menu li {
    width: 50px;
    text-align: center;
  }

  header h1 {
    font-size: 32px;
    letter-spacing: 15px;
  }

  header img {
    width: 300px;
  }

  header p {
    font-size: 20px;
  }

  header .pc-menu a {
    text-decoration: none;
    color: #fff;
    writing-mode: vertical-rl;
    font-weight: bold;
    font-size: 20px;
    letter-spacing: 8px;
    transition: opacity .3s;
  }

  header .pc-menu a:hover {
    opacity: .7;
  }

  header .logo a {
    pointer-events: none;
  }

  header .logo span {
    display: none;
  }


  header .hg-menu {
    display: none;
  }

  /* space */

  .space {
    margin-top: 197.66px;
  }

  /* hero */

  .hero {
    height: 750px;
    margin-top: 0;
  }

  .hero img {
    width: 100%;
    height: 750px;
    object-fit: cover;
  }

  .hero p {
    font-size: 36px
  }

  /* total-navi */

  .total-navi {
    height: 800px;
  }

  .total-navi li {
    width: 25%;
    min-width: 25%;
  }

  .total-navi img {
    height: 650px;
  }

  .total-navi .text-en {
    font-size: 16px;
  }

  /* news */

  .news .container > div {
    display: flex;
    align-items: center;
  }

  .news .news-left {
    width: 25%;
    margin: 0 10px;
  }

  .news .news-right {
    width: 75%;
    display: flex;
    flex-wrap: wrap;
  }

  .news .news-right section {
    width: 50%;
  }

  .news .news-right section a {
    width: calc(100% - 20px);
    margin: 0 auto;
  }

  .news .news-right section + section {
    margin: 0;
  }

  .news .news-right .news-margin {
    margin-top: 20px;
  }

  .news .news-right .news-text {
    font-size: 23px;
  }

  /* access */

  .access .container {
    display: flex;
    flex-direction: row-reverse;
  }

  .access .access-table {
    width: calc(50% - 20px);
    margin: 0 auto;

  }
  .access .access-map {
    width: calc(50% - 20px);
    margin: 0 auto;
  }

  .access table {
    font-size: 15px;
  }

  .access .access-map iframe {
    height: 416px;
  }

  /* footer */

  footer {
    font-size: 15px;
  }

  footer a {
    font-size: 15px;
  }

  footer ul {
    margin-bottom: 30px;
  }



}

@media (min-width: 900px) {


  /* .hero {
    height: 900px;
  }

  .hero img {
    width: 100%;
    height: 900px;
    object-fit: cover;
  }

  .hero p {
    font-size: 50px
  } */

}
