@charset "utf-8";

/* 共通スタイル */
html,body{
  margin: auto;
  padding: 0px;
  width: 100%;
}
.main{
  position: relative; /*相対的な位置指定*/
  z-index: 1; /*スタック順序１*/
  margin: 0;
}
.txtBOX{
  margin: 0;
  margin-left: 15%;
  margin-right: 15%;
}

/*セクション毎背景*/
#l0 {
  text-align: center; /* 中央揃えに指定 */
  padding: 4% 7%;
  background-color: rgba(0, 0, 0, 0); /* 背景色を透明にする */
}
#l1 {
  text-align: center; /* 中央揃えに指定 */
  padding: 4% 7%;
  background-color: #eff5fa;
}
#l2 {
  padding: 4% 7%;
  background-color: white;
}
#l3 {
  padding: 4% 7%;
  background-color: #f0f0f0;
}
#l4 {
  text-align: center; /* 中央揃えに指定 */
  padding: 4% 7%;
  background-color: white;
}
#l5 {
  text-align: center; /* 中央揃えに指定 */
  padding: 4% 7%;
  background-color: #eff5fa;
}

/* ロード画面 */
#loading-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #517D99;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: all 0.3s;
  z-index: 9999;
}
#loading-wrapper p{
  color: white;
  font-size: 30px;
  font-family: 'Staatliches', cursive;
}
.loader,/* ロードアニメーション */
.loader:before,
.loader:after {
  background: #ffffff;
  -webkit-animation: load1 1s infinite ease-in-out;
  animation: load1 1s infinite ease-in-out;
  width: 1em;
  height: 4em;
}
.loader {
  color: #ffffff;
  text-indent: -9999em;
  margin: 88px auto;
  position: relative;
  font-size: 11px;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-animation-delay: -0.16s;
  animation-delay: -0.16s;
}
.loader:before,
.loader:after {
  position: absolute;
  top: 0;
  content: '';
}
.loader:before {
  left: -1.5em;
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
}
.loader:after {
  left: 1.5em;
}
@-webkit-keyframes load1 {
  0%,
  80%,
  100% {
    box-shadow: 0 0;
    height: 4em;
  }
  40% {
    box-shadow: 0 -2em;
    height: 5em;
  }
}
@keyframes load1 {
  0%,
  80%,
  100% {
    box-shadow: 0 0;
    height: 4em;
  }
  40% {
    box-shadow: 0 -2em;
    height: 5em;
  }
}
.completed {/* ロード終わり */
  opacity: 0;
  visibility: hidden;
}



/*ホビーページCSS*/
.gallery {
  padding-right: 2%;
  width: 20%;
  height:11%;
}
.Pic-back {
  position: relative;
  background-color: black;
}
.Pic-back img {
  opacity: 0.2; /*透明度*/
  width: 100%;　/* ページ幅100% */
  margin: 0;　/* 余白の設定 */
}
.H_TOPtext{
  position: absolute;
  margin: 0;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 20vw; /* ビューポートに合わせて変更 */
  color: white;
  letter-spacing: 25px; /* 文字間隔 */
  line-height: 100%; /* 行間 */
  font-family: 'Staatliches', cursive;
}
.H_main{
  padding: 7%;
  padding-top: 0px;
  padding-bottom: 2%;
}
.H_IMbox{
  padding: 0px;
  padding-bottom: 3%;
  float: left; /*自動改行*/
}
.H_IMbox img{
  padding: 0px;
  padding-top: 1%;
  padding-right: 1%;
  object-fit: cover; /*比率変えない*/
  height: 200px;
  width: auto;
}
.btn {
  font-size: 1.5vw;
  border-radius: 20px;
  background-color: #517D99;
  padding: 0.4vw;
  text-decoration: none;
  color: white;
  position: fixed; /* 絶対位置に固定 */
  left: 7%;
  bottom: 1vw;
}
.btn:hover{
  color: white;
  opacity: 0.5;
}
@media(max-width:750px){/*スマホでは非表示*/
  .btn{
    display: none !important;
  }
}
/*画像の処理*/
.image-grid-a,.image-grid-b,.image-grid-c {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  max-width: 80%;
}
.image-grid-a img,.image-grid-b img,.image-grid-c img {
  margin: 10px;
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
}
.image-grid-a img:hover,.image-grid-b img:hover,.image-grid-c img:hover {
  transform: scale(1.1);
}


/*プライベートページ*/
.container {
  text-align: center; /* 中央揃えに指定 */
  padding: 3% 7%;
  font-family: 'Kosugi Maru', sans-serif;
  background-color: #eff5fa;
}
#password-input {
  width: 20%;
  height: 5%;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin-right: 10px;
}
#submit-button {
  background-color: #517D99;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 1%;
  cursor: pointer;
}
#submit-button:hover {
  background-color: #454545;
}
#wrong-password {
  color: red;
  margin-top: 10px;
}
#content {
  margin-top: 20px;
}
#P1 {
  padding: 4% 7%;
  background-color: #f0f0f0;
}
