@charset "utf-8";

* {
  margin: 0;
  padding: 0;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

ol,
ul {
  list-style: none;
}

a {
  text-decoration: none;
  transition: 0.3s;
  color: #fff;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  cursor: pointer;
  outline: none;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: #000;
  color: #fff;
  font-family: 'Dancing Script', cursive;
  /* 'Noto Sans JP'; */
  letter-spacing: 0.03em;
}

.wrap {
  width: 90%;
  margin: 40px auto;
  max-width: 1000px;
}

h1,
h2 {
  font-weight: 400;
  text-align: center;
  padding: 0.2em
}

h1 {
  font-size: 4em;
  margin-bottom: 0.5em;
}

h2 {
  font-size: 2em;
  margin-bottom: 1em;
  padding-top: 1em;
}

.header h1 span {
  font-size: 0.6em;
}

@media screen and (max-width:480px) {
  .header h1 {
    font-size: 3.2em;
    margin-top: -1em;
  }
}

.gNav {
  position: fixed;
  height: 100vh;
  z-index: 9999;
  top: 1em;
  right: 0;
}

.gNav li {
  display: block;
  -webkit-writing-mode: vertical-rl;
  writing-mode: vertical-rl;
  color: white;
  padding: 0.8em 1em 0.8em 0.2em;
  margin-bottom: 0.6em;
  text-shadow: 0 0 1px #000, 0 0 1px #000;
}

.gNav li a:hover {
  opacity: 0.6;
}

.section-box {
  margin-bottom: 200px;
}

ul.img-box {
  display: grid;
  grid-gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin-bottom: 7em;

  width: 98%;
  max-width: 1600px;
  margin: 0 auto;
}

ul.img-box img {
  filter: grayscale();
  transition: 0.5s;
}

ul.img-box img:hover {
  filter: none;
  transform: scale(1.12);
}

#Amigo figure {
  width: 40%;
  margin: 0 auto 60px;
  text-align: center;
}

.footer {
  text-align: center;
}

.topBack {
  text-align: center;
  font-size: 2em;
  margin-bottom: 1em;
  display: flex;
  justify-content: center;
}

/*===fancybox===*/
.fancybox-slide--iframe .fancybox-content,
.fancybox-slide--map .fancybox-content {
  max-width: 90%;
  max-height: 100%;
}

@media screen and (width:480px) {

  .fancybox-slide--iframe .fancybox-content,
  .fancybox-slide--map .fancybox-content {
    max-width: 100%;
  }
}

header {
  position: relative;
  margin-bottom: .5rem;
}

.header-text {
  position: absolute;
  top: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 2;
  text-align: center;
}

.header-title {
  font-size: 3rem;
  margin-bottom: 3rem;
}

.header-name {
  font-size: 6rem;
  margin-bottom: 6rem;
}

.header-pattern {
  position: absolute;
  z-index: 1;
  background-size: auto auto;
  background-image: repeating-linear-gradient(0deg, transparent, transparent 2px, var(--bg) 2px, var(--bg) 4px);
}

header video {
  object-fit: cover;
  object-position: center top;
  opacity: var(--video-opacity);
}

.header-text,
header video {
  width: 98vw;
  height: 100vh;
}

ul.img-box img {
  filter: grayscale();
  transition: 0.5s;
}

ul.img-box img:hover {
  filter: none;
}

.youtube {
  margin-top: 100px;
  margin-bottom: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  filter: grayscale();
  transition: 0.5s;
}

.youtube {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

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

.youtube:hover {
  filter: none;
}

#Amigo {
  padding-top: 100px;
  margin-bottom: 100px;
}

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

  .btn-open {
    display: block;
  }

  .panel-open {
    width: 100%;
    height: 100vh;
    position: fixed;
    right: 0;
    width: 10%;
    background-color: rgba(0, 0, 0, 0.5);
    overflow: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: 0.5s;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }

  .panel-open .menu {
    display: block;
  }

  .panel-open ul {
    flex-direction: column;
    align-items: center;
    margin-top: 0.5em;
  }

  .panel-open ul li {
    margin-bottom: 1em;
  }

  .panel-open a {
    color: #fff;
  }

  .btn-open {
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 10000;
    width: 50px;
    height: 50px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.7);
  }

  .btn-open span {
    display: inline-block;
    transition: 0.3s;
    position: absolute;
    left: 14px;
    border-radius: 2px;
    background-color: #000;
    width: 45%;
    height: 2px;
  }

  .btn-open span:nth-of-type(1) {
    top: 16px;
  }

  .btn-open span:nth-of-type(2) {
    top: 24px;
  }

  .btn-open span:nth-of-type(3) {
    top: 32px;
  }

  .btn-open.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) translateX(-3px) rotate(-45deg);
  }

  .btn-open.active span:nth-of-type(2) {
    opacity: 0;
  }

  .btn-open.active span:nth-of-type(3) {
    top: 30px;
    left: 18px;
    transform: translateY(-6px) translateX(-3px) rotate(45deg);
  }
}
.fancybox-caption__body {
  font-family: sans-serif;
  /* 'Noto Sans JP'; */
}

.sns {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.sns ul {
  width: 40%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3em;
}
.sns ul a {
  display: inline-block;
  color: #666;
  font-size: 2em;
  transition: 0.3s;
}
.sns ul a:hover {
  color: #0080ff;
}


ul.img-box li a::after, #Web figure a::after {
  content: "\f00e";
  font-family: "Font Awesome 5 Free";
  font-weight: bold;
  font-size: 2.6em;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.7);
  opacity: 0;
  transition: 0.2s 0.1s;
}
ul.img-box li a:hover::after,
#Web figure a:hover::after{
  opacity: 1;
}
#Web figure {
  width: 40%;
  margin: 0 auto 60px;
  text-align: center;
}
#Web figure figcaption {
  margin-top: 1em;
}

@media screen and (max-width:480px){
  #Web figure {
    width: 80%;
  }
}
.logo {
  padding: 50px;
}
.hidden {
  display: none;
}