/*****************************************
  *----------------------------------
  |  ThisStyleVersion: 1.0.1      |
  |  © 2021-2024 By PusyuuWanko/  |
  |  LastUpdate: 2025-05-23       |
  |  License: none                |
  |  GrobalIpReturn               |
----------------------------------*
******************************************/

* {
  box-sizing: border-box;
}
body {
  margin: 0;
  padding: 0;
}

#dispIp {
  color: #0f0;
  text-align: center;
  font-size: 30px;
}
#dispIp > span {
  font-size: 40px;
  color: #0cf;
  font-weight: bold;
}

#ipProducts {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  padding: 25px;
}
#ipProducts > a {
  padding: 10px;
  background: #00ffaa;
  color: #fff;
  text-decoration: none;
  border-radius: 10px;
  margin: 10px;
}
#ipProducts > a:hover {
  background: #00aaff;
}

header {
  width: 100%;
  height: 75px;
  background: #00ff00;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0px 20px 0px;
}
nav > ul {
  display: flex;
  gap: 15px;
}
nav > ul > li {
  list-style: none;
}
nav > ul > li > a {
  color: #fff;
  text-decoration: none;
  transition: all 0.3s;
}
nav > ul > li > a:hover {
  color: #000;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-decoration-color: #00aaff;
  text-underline-offset: 10px
}

main {
  display: block;
  padding: 20px;
  min-height: 100vh;
  background: #eeffff;
}

footer {
  background: #222;
  color: #FFF;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
footer > div {
  padding: 15px;
}
footer > div > h3 {
  color: #00ff00;
}
footer > div > ul {
  margin: 0;
  padding: 0;
}
footer > div > ul > li {
  list-style: none;
}
footer > div > ul > li >  a {
  color: #00aaff;
  transition: all 0.3s;
}
footer > div > ul > li > a:hover {
  color: #00aacc;
}
footer > div > small {
  color: #aaff00;
}

.readmore {
  position: relative;
  margin: 50px auto 0;
  padding: 0 0 75px;
}

.readmore > label {
  position: absolute;
  display: table;
  left: 50%;
  bottom: 0;
  margin: 10px auto;
  width: 200px;
  padding: 10px 0;
  color: #fff;
  text-align: center;
  border-radius: 5px;
  background-color: #00ee00;
  transform: translateX(-50%);
  cursor: pointer;
  z-index: 1;
}
.readmore > label:active {
  background: #00aa00;
}

.readmore > label::before{
  content: '続きを見る';
}

.readmore > input[type="checkbox"]:checked ~ label::before {
  content: '元に戻す';
}

.readmore > input[type="checkbox"]{
  display: none;
}

.readmore > div {
  position: relative;
  height: 50px;
  overflow: hidden;
  background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0));
}

.readmore > input[type="checkbox"]:checked ~ div {
  height: auto;
  background: rgba(0,0,0,0);
}

.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_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%;
  z-index: -1;
}
.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 > div {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid #fff;
}
.modal > div > div > span {
  position: var(--modal_position);
  width: var(--modal_width);
  background: #77ff00;
  min-height: 20px;
  font-size: 20px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  border-bottom: 2px solid #00ffff;
  color: #fff;
  word-break: break-all;
}
.modal > div > div > div {
  position: var(--modal_position);
  width: var(--modal_width);
  height: 60vh;
  border-radius: 0px;
  overflow: hidden;
  cursor: default;
  padding: 15px;
  overflow: auto;
  color: #fff;
}

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

.yokoori {
  display: flex;
  flex-wrap: wrap;
}
.app_link {
  text-decoration: none;
  color: #fff000;
  transition: all 0.1s;
  color: #fff000;
  display: block;
}
.app_link:hover {
  color: #fff000;
}
.app_link:active {
  background-color: rgba(10,255,10,0.2);
  color: #ffffff;
}
.app_box-1 {
  height: 40px;
  padding: 5px;
  background-color: #ccc;
  border-radius: 5px;
}
.app-name {
  @extend .app_box-1;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}
.app_name {
  font-size: 12px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  text-shadow: 1px 1px #000; 
}
.app_wrapper {
  text-align: center;
  margin: 15px;
  width: 50px;
  height: 80px;
  display: inline-block;
}

@media only screen and (max-width: 600px) {
  #dispIp {
    font-size: 20px;
  }
  #dispIp > span {
    font-size: 30px;
  }
}
