/*
  copy: create by 2022-2025 ISAMI ABE
  lastupdate: 2025-10-01
*/

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  padding: 0;
  margin: 0;
  background: linear-gradient(to left bottom, #ccFFcc, #cceeff);
}

show {
  display: block;
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}
show > video {
  z-index: -1;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
}
show > div {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 5%;
  width: 50%;
}
show > div > .show_content1 {
  padding: 20px;
}
show > div > .show_content1 > p,
show > div > .show_content1 > strong {
  line-height: 150px;
  display: inline;
  padding-block: 5px;
  padding-inline: 5px;
}
show > div > .show_content1 > strong {
  font-size: 60px;
  text-shadow: 5px -5px 3px #af5;
  color: #fff;
  background: rgba(0,100,255,0.3);
}
show > div > .show_content1 > p {
  color: #fff;
  background: rgba(0,255,100,0.3);
}
header {
  position: sticky;
  top: 0;
  width: 100;
  height: 65px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 100;
}
header > h1 {
  width: 100px;
  height: 50px;
}
header > h1 > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
nav > ul {
  display: flex;
}
nav > ul > li {
  list-style: none;
  margin: 10px;
}
nav > ul > li > a {
  color: #00ff00;
  text-decoration: none;
  transform: scale(1);
  display: block;
  transition: all 0.2s;
}
nav > ul > li > a:hover {
  transform: scale(1.1);
  color: #00aaff;
  text-shadow: 0 0 10px #69e0ff,0 0 20px #69e0ff,0 0 40px #69e0ff
}
main {
  display: block;
  min-height: 200vh;
  padding: 15px;
}
footer {
  background: #000;
  display: flex;
  justify-content: center;
  color: #FFF;
}
footer > div {
  width: 50%;
  padding: 15px;
}
footer > div > h3 {
  color: #00aaff;
}
footer > div > ul {
  margin: 0;
  padding: 0;
}
footer > div > ul > li {
  list-style: none;
}
footer > div > ul > li > a {
  color: #aaff00;
  transition: all 0.3s;
}
footer > div > ul > li > a:hover {
  color: #aaffaa;
}
footer > div > small {
  display: inline-block;
  margin: 20px 0  10px;
}
footer > div > .shareLink {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

footer > div > .shareLink > a {
  display: block;
  width: 100px;
  height: 100px;
  background: #ff00ff;
  margin: 5px;
  position: relative;
}
footer > div > .shareLink > a:before {
  position: absolute;
  inset: 0;
  content: "";
  transition: all 0.2s;
}
footer > div > .shareLink > a:hover::before {
  background: rgba(0,100,255,0.3);
}
footer > div > .shareLink > a > img {
  width: 100%;
  height: 100%;
  z-index: -1;
}

section {
  padding-top: 75px;
}

h2 {
  border-bottom: 2px solid #0aa;
  color: #00ccff;
  padding: 10px 20px 10px;
  position: relative;
}
h2:after {
  position: absolute;
  content: "";
  display: block;
  border-bottom: 2px solid #0af;
  width: 20%;
  bottom: -2px;
  left: 0;
}

.videoList {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.videoList > p-video {
  width: 30vw;
  height: 300px;
  margin: 5px;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid #00ff00;
}

.pagenation {
  display: flex;
  justify-content: center;
  padding: 10px;
  width: 100%;
  overflow-x: auto;
}
.pagenation > a {
  flex: 0 0 auto; /* ← 子を縮ませない */
  min-width: 0;   /* ← flexのはみ出し対策 */
  padding: 10px;
  display: block;
  text-align: center;
  color: #00aaff;
  text-decoration: none;
  border: 1px solid #0f0;
  margin: 5px;
  transition: all 0.3s;
  background: rgba(255,255,255,0.5);
}
.pagenation > a:hover {
  border: 1px solid #0ef;
  color: #0fa;
}

.char {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  padding: 20px;
}
.char > div {
  width: 40vh;
  height: 400px;
  background: rgba(0,100,255,0.5);
  border-radius: 10px;
  padding: 10px;
  position: relative;
  overflow: hidden;
  transform: skew(5deg);
  margin: 5px;
  box-shadow: 2px 1px 3px #777;
}
.char > div > div {
  height: 50%;
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  z-index: 0;
  padding: 10px;
}
.char > div > h3 {
  position: absolute;
  top: 0;
  left: 0;
  padding: 10px 20px 10px;
  margin: 0;
  color: #00ff00;
  z-index: 2;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}
.char > div > img {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  object-fit: cover;
  transition: all 0.3s;
}
.char > div > img:hover {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: 50%;
}

.products {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}
.products > .product_card {
  width: 25vw;
  height: 400px;
  border-radius: 15px;
  margin: 10px;
  overflow: hidden;
}
.products > .product_card > a {
  display: block;
  text-decoration: none;
  background: #00ff00;
  color: #fff;
  width: 100%;
  height: 100%;
  transition: all 0.3s;
}
@keyframes productAnime {
  0% {
    opacity: 0;
    transform: scale(1.5);
  }
  50% {
    opacity: 1;
    transform: rotate(360deg);
  }
  100% {
    transform: rotate(0deg) scale(1);
  }
}
.products > .product_card > a:hover {
  background: #00aaff;
  animation: productAnime 1s;
}
.products > .product_card > a > img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.products > .product_card > a > div {
  padding: 20px;
  height: 200px;
  overflow-y: auto;
}

#ham-check {
  display: none;
}
@media only screen and (max-width: 900px) {
  .menu-icon {
    cursor: pointer;
    width: 50px;
    height: 50px;
    z-index: 1;
    background: #00aaff;
    position: fixed;
    border-radius: 3px;
    top: 10px;
    right: 10px;
    padding: 5px 10px 5px;
  }
  .menu-icon > span {
    display: block;
    width: 30px;
    height: 2px;
    margin: 8.5px 0;
    text-align: center;
    background: #fff;
    transition: 0.3s;
  }

  #ham-check:checked + .menu-icon span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
  }
  #ham-check:checked + .menu-icon span:nth-child(2) {
    opacity: 0;
  }
  #ham-check:checked + .menu-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
  }

  .ham-nav {
    position: fixed;
    top: 100%;
    left: 100%;
    width: 100vw;
    height: 100vh;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: rgba(0,0,0,0.5);
  }
  .ham-nav > nav {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
  }
    
  .ham-nav > nav > ul {
    display: block;
    margin: 0;
    padding: 0;
  }
  .ham-nav > nav > ul > li > a {
    color: #00ffaa;
    transition: all 0.3s;
    font-size: 20px;
  }
  .ham-nav > nav > ul > li > a:hover {
    color: #00ff00;
  }

  @keyframes hamNavAnime {
    0% {
      transform: translate(-50%,-50%) scale(0.4);
    }
    40% {
      transform: translate(50%,50%) scale(0.6);
      background: rgba(255,0,0,0.5);
    }
    70% {
      transform: translate(-30%,-30%) scale(0.8);
      background: rgba(0,255,0,0.5);
    }
    100% {
      transform: translate(10%,10%);
      background: rgba(0,0,255,0.5) scale(1);
    }
  }

  #ham-check:checked ~ .ham-nav {
    inset: 0;
    animation: hamNavAnime 1s;
  }
  
  show > div {
    top: 50%;
    transform: translate(-50%,-50%);
    left: 50%;
    width: 100%;
  }

  show > div > .show_content1 > p,
  show > div > .show_content1 > strong {
    line-height: 100px;
  }
  show > div > .show_content1 > strong {
    font-size: 40px;
  }
   show > div > .show_content1 > p {
     font-size: 15px;
     line-height: 50px;
  }
  
  footer {
    display: block;
  }
  
  footer > div,
  .char > div,
  .products > .product_card,
  .videoList > p-video {
    width: 100%;
  }
}
