/*
mainCSS
Ver 1.1.2
© 2020-2024 Created By PusyuuWanko/
*/

* {
  box-sizing: border-box;
}

:root {
  --base-bg-color: rgba(230,255,255);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
}

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

.show {
  position: relative;
  width: auto;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}
.show > video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  min-width: 100%;
  min-height: 100%;
  z-index: -1;
}
.show > img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  min-width: 100%;
  min-height: 100%;
  z-index: -1;
}
.show > div {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80%;
  height: 80%;
  transform: translate(-50%,-50%);
  z-index: 5;
}
.show > div::after {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translate(-50%,-50%);
  content: "下にスクロール";
  color: #00ccff;
}
.show > div::before {
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translate(-50%,0);
  font-size: 40px;
  content: "↓";
  animation: allow 0.5s infinite;
}
@keyframes allow {
  0% {
    opacity: 1;
    color: #00ff00;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
    color: #00aaff;
  }
}
.show > div > .content-1 {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  line-height: 60px;
}
.show > div > .content-1 > strong {
  font-size: 50px;
  color: #00aaff;
  text-decoration: underline dotted #00eeff;
  -webkit-text-decoration: underline dotted #00eeff;
  text-underline-offset: 15px;
  text-shadow: 0px 0px 0px;
}
.show > div > .content-1 > span {
  color: #fff;
} 

header {
  position: sticky;
  top: 0;
  bottom: auto;
  height: 55px;
  border-top: 0px solid;
  background-color: rgba(0,100,255,0.5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  box-sizing: border-box;
  z-index: 100;
}
header > h1 {
  display: block;
  width: 80px;
  height: 40px;
}
header > h1 > a > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

main {
  display: block;
  min-height: 80vh;
  padding: 20px;
  background-color: var(--base-bg-color);
}
main section {
  min-height: 70vh;
}
main a {
  color: #00ff00;
}
main a:hover {
  color: #fff000;
}

footer {
  min-height: 10px;
  padding: 5px;
  display: flex;
  justify-content: center;
  background-color: #00aacc;
}

article {
  margin: 10px;
}

section {
  padding-top: 50px;
}

.swiper {
  width: 100%;
  height: 300px;
}
.swiper-slide > img {
  height: 100%; 
}
.img_rs {
  object-fit: cover;
}
.gap15 {
  display: flex;
  gap: 15px;
}
.resize_content {
  width: 30vh;
  height: auto;
}
.yokoori {
  display: flex;
  flex-wrap: wrap;
}

.fetureCard {
  width: 30vw;
  height: 500px;
  overflow: hidden;
  border-radius: 10px;
  background: #00aaff;
  margin: 5px;
}
.fetureCard > a {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  transition: all 0.3s;
}
.fetureCard > a:hover {
  transform: scale(1.1);
}
.fetureCard > a > img {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.fetureCard > a > div {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 5%;
  right: 5%;
  width: auto;
  height: 150px;
  overflow: hidden;
  background: rgba(0,0,0,0.3);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border-radius: 10px;
}
.fetureCard > a > div > div {
  width: 100%;
  height: 100%;
  overflow: auto;
  padding: 20px;
}
.fetureCard > a > div > h3 {
  color: #00eeff;
  font-size: 20px;
}
.fetureCard > a > div > p {
  color: #fff;
}

.youtube-card {
  width: 40vw;
  height: 500px;
  border: 5px solid #00aaff;
  border-radius: 10px;
  margin: 10px;
  overflow: hidden;
}
.youtube-card > iframe {
  width: 100%;
  height: 100%;
}

strong {
  text-shadow: 2px 2px 1px #ccc;
  color: #00aacc;
}

h2 {
  text-align: center;
  color: #00ffcc;
  box-sizing: border-box;
  margin: 30px 0 30px;
  position: relative;
}
h2::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 5px;
  width: 100px;
  height: 3px;
  background: #00ffff;
}
h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  right: 5px;
  width: 100px;
  height: 3px;
  background: #00ffff;
}

nav > ul {
  display: flex;
}
nav > ul > li {
  margin: 5px;
  list-style: none;
}
nav > ul > li > a {
  color: #fff;
  text-decoration: none;
  transition: all 0.3s;
  transform: rotate(0deg);
}
nav > ul > li > a:hover {
  color: #000;
  text-decoration: none;
  transform: rotate(5deg);
  display: inline-block
}

#menu-btn-check {
  display: none;
}

.menu-btn {
  display: none;
}

/* モーダルウィンドウ調整部
-----------------------------------------------------------------*/

.modal {
  display: none;
  z-index: 666;
}
.modal:target {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.modal > div {
  animation: modal-show 0.3s linear 0s;
  --modal_width: 70vw;
  --modal_box-sizing: border-box;
  --modal_position: relative;
}
@keyframes modal-show {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.modal > div > a {
  position: relative;
  display: block;
}
.modal > div > a::before {
  position: fixed;
  top: 0;
  left: 0;
  content: "";
  background-color: rgba(0,0,0,0.4);
  width: 100%;
  height: 100%;

}
.modal > div > a::after {
  content: "✕";
  color: white;
  position: absolute;
  right: -13px;
  top: -13px;
  width: 25px;
  height: 25px;
  z-index: 1;
  border-radius: 50px;
  background-color: black;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.modal > div > span {
  position: var(--modal_position);
  box-sizing: var(--modal_box-sizing);
  width: var(--modal_width);
  min-height: 40px;
  font-size: 20px;
  padding: 15px;
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid #ccc;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background-color: var(--base-bg-color);
  color: #222;
  word-break: break-all;
  border-radius: 10px 10px 0px 0px;
}
.modal > div > div {
  position: var(--modal_position);
  box-sizing: var(--modal_box-sizing);
  width: var(--modal_width);
  height: 50vh;
  overflow: hidden;
  cursor: default;
  padding: 10px;
  overflow: auto;
  word-break: break-all;
  background-color: var(--base-bg-color);
  border-radius: 0px 0px 10px 10px;
}

@media only screen and (max-width: 600px) {
  .youtube-card,
  .fetureCard {
    width: 90%;
  }

  .menu-btn {
    position: fixed;
    top: 5px;
    right: 5px;
    display: flex;
    height: 45px;
    width: 45px;
    justify-content: center;
    align-items: center;
    z-index: 20;
    background-color: #00aacc;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
  }

  .menu-btn span,
  .menu-btn span:before,
  .menu-btn span:after {
    content: '';
    display: block;
    height: 3px;
    width: 20px;
    border-radius: 3px;
    background-color: #fff;
    position: absolute;
    transition: all 0.45s;
  }

  .menu-btn span:before {
    bottom: 8px;
  }

  .menu-btn span:after {
    top: 8px;
  }

  #menu-btn-check:checked ~ .menu-btn span {
    background-color: rgba(255, 255, 255, 0);
  }

  #menu-btn-check:checked ~ .menu-btn span::before {
    bottom: 0;
    transform: rotate(45deg);
  }

  #menu-btn-check:checked ~ .menu-btn span::after {
    top: 0;
    transform: rotate(-45deg);
  }

  #menu-btn-check:checked ~ .menu-content {
    bottom: 0;
    left: 0;
  }

  .menu-content {
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    padding: 30px 0px 30px;
    box-sizing: border-box;
    position: fixed;
    left: 100%;
    bottom: 100%;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    background-color: rgba(0,50,100,0.3);
    border: var(--page_base_border);
    transition: all 0.45s;
    z-index: 10;
  }

  .menu-content > div {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 70%;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 55;
  }

  .menu-content > div > nav {
    display: block;
    width: 90vw;
  }

  .menu-content > div > nav > ul {
    display: block;
    padding: 0;
  }

  .menu-content > div > nav > ul > li {
    border-bottom: solid 1px #2b00ff;
    list-style: square;
    display: flex;
  }

  .menu-content > div > nav > ul > li > a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    font-size: 15px;
    box-sizing: border-box;
    text-decoration: none;
    padding: 9px 15px 10px 0;
    position: relative;
  }

  .menu-content > div > nav > ul > li > a::after {
    content: "";
    width: 7px;
    height: 7px;
    border-top: solid 2px #ffffff;
    border-right: solid 2px #ffffff;
    transform: rotate(45deg);
    position: absolute;
    right: 11px;
    top: 16px;
  }
  
  .show > div > .content-1 {
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 100%;
    height: 100%;
  }
  
  .show > div > .content-1 > strong {
    font-size: 30px;
  }

  .resize_content {
    width: 100%;
    height: auto;
  }
}
