/* ーーーーー共通スタイルーーーーー */
body {
  background-color:rgb(14, 13, 13);
  font-family: "Helvetica Neue",
  Arial,
  "Hiragino Kaku Gothic ProN",
  "Hiragino Sans",
  Meiryo,
  sans-serif;
  margin: 0px;
  cursor: default;
}

.copyright {
  position: absolute;
  top: 580px;
  line-height: 0;
  font-family: serif;
  color: #a29e9e;
}

.copyright a {
  color: #a29e9e;
  text-decoration-line: none;
}

.sns-btn {
  z-index: 4;
  position: absolute;
  top: 550px;
  right: 10px;
}

.sns-btn li {
  float: right;
  list-style: none;
  margin: 15px;
  height: 30px;
}
/* ーーーーーここまで共通スタイルーーーーー */

/* ーーーーー個別スタイル（index.HTML）ーーーーー */
.headernav {
  z-index: 1;
  position:absolute;
  top: 15px;
  right:40px;
}

.indexul {
  margin: 0;
  list-style: none;
}

.indexul li a:hover {
  color: #b4b4b2;
  text-decoration: underline;
}

.indexul li a {
  font-family: 'Noto Serif', serif;
  text-decoration-line: none;
  color: #f2f2ec;
  font-size: 30px;
}

.indexh1 {
  margin: 0;
  text-shadow: 5px 5px #558abb;
  font-family: 'Roboto Serif', serif;
  z-index: 1;
  position: absolute;
  top: 330px;
  left: 150px;
  font-size: 8rem;
  color: #fff;
  opacity: 0.6;
}

.indexh2 {
  margin: 0;
   text-shadow:
    1px 1px 2px black,
    0 0 1em blue,
    0 0 0.2em blue;
  color: white;
  font:
    1.5em Georgia,
    serif;
  font-family: 'Dancing Script';
  z-index: 1;
  font-size: 3rem;
  position: absolute;
  top: 495px;
  left: 30px;
  color: #f2f2ec;
}

.fullimg {
  position: absolute;
  opacity: 0;
  background-position: center bottom;
  background-size: cover;
  width: 100%;
  height: 575px;
  clip-path: polygon(0 0, 100% 20%, 100% 100%, 0 80%);
  animation: fullimg-switch-animation 25s infinite;
}

.src1 {
  background-image: url(DSC_0052~2.JPG)
}
.src2 {
  background-image: url(DSC_0055~3.JPG)
}
.src3 {
  background-image: url(DSC_0055.JPG)
}
.src4 {
  background-image: url(DSC_0056~2.JPG)
}
.src5 {
  background-image: url(DSC_0059.JPG)
}

.fullimg:nth-of-type(1) {
  animation-delay: 0s
}
.fullimg:nth-of-type(2) {
  animation-delay: 5s
}
.fullimg:nth-of-type(3) {
  animation-delay: 10s
}
.fullimg:nth-of-type(4) {
  animation-delay: 15s
}
.fullimg:nth-of-type(5) {
  animation-delay: 20s
} 

@keyframes fullimg-switch-animation {
  0%{ opacity: 0;}
  5%{ opacity: 1;}
  25%{ opacity: 1;}
  30%{ opacity: 0;}
  100%{ opacity: 0;}
}

/*ローディング画面*/
#loading {
  transition: all 5s;
  transition-timing-function: ease-in;
  background-color: #000;
  z-index: 999;
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column; 
}

.loading-text {
  font-size: 50px;
  font-weight: bold;
  text-align: center;
  text-shadow: 5px 5px #558abb;
  color: #FFF;
  margin: 10px;
}

.spin {
  width: 64px;
  height: auto;
}

.loaded {
  opacity: 0;
  visibility: hidden;
}

.slideshow {
  display: none;
}

.KenBurnseffect {
  display: none;
}
/* ーーーーーここまで個別スタイル（index.HTML）ーーーーー */

/* ーーーーーここから個別スタイル（photo.HTML）ーーーーー */
.photo-body {
  background-color: #fff;
}

#modal-container {
  display: none;
  position: fixed;
  background: rgba(0, 0, 0, .6);
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99;
}

#modal-container .modal-window {
  display: flex;
  height: 100vh;
  justify-content: center;
  align-items: center;
}

#modal-container .modal-window img {
  max-width: calc(100vw - 30px);
  max-height: calc(100vh - 30px);
}

.lazyload {
  cursor: pointer;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 2s, transform 2s;
  max-width: 100%;
  box-sizing: border-box;
}

.lazyload.active {
  opacity: 1;
  transform: translateY(0px);
}

.masonry {
  margin: 0 auto;
}

.masonry-item {
  width: 10%;
  margin-bottom: 5px;
}

.photoheadernav {
  z-index: 1;
  position:absolute;
  top: 15px;
  right:40px;
}

.photoul {
  margin: 0;
  list-style: none;
}

.photoul li a:hover {
  color: #555;
  text-decoration: underline;
}

.photoul li a {
  font-family: 'Noto Serif', serif;
  text-decoration-line: none;
  color: #000;
  font-size: 30px;
}

.photoh1 {
  font-family: 'Rubik Doodle Shadow', system-ui;
  text-align: center;
  font-size: 3rem;
}

/* ーーーーーここまで個別スタイル（photo.HTML）ーーーーー */

/* ーーーーーここから個別スタイル（about.HTML）ーーーーー */
.about-body {
  background-color: #fff;
}

.aboutheadernav {
  z-index: 1;
  position:absolute;
  top: 15px;
  right:40px;
}

.aboutul {
  margin: 0;
  list-style: none;
}

.aboutul li a:hover {
  color: #555;
  text-decoration: underline;
}

.aboutul li a {
  font-family: 'Noto Serif', serif;
  text-decoration-line: none;
  color: #000;
  font-size: 30px;
}

.abouth1 {
  display: flex;
  justify-content: center;
  font-size: 50px;
  margin: 20px 0 50px 0;
}

.nameimg {
  position: absolute;
  top: 30px;
  left: 10px;
}

.myname {
  text-align: center;
}

.prfimg {
  width:200px;
  height: 250px;
  border-radius: 50%;
}

.comment {
  font-size: 15px;
}

section {
  text-align: center;
}

.base-data {
  list-style: none;
}

.language {
  margin: 0 auto;
  width: 20%;
  list-style: none;
  padding-left: 0;
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(5, auto);
  gap: 10px;
}

.listitem {
  list-style: none;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}
/* ーーーーーここから★マークーーーーー */
.star {
  list-style: none;
}

.star li {
  margin: 0;
  padding-bottom:35px;
}

.rate {
  position: relative;
  display: inline-block;
}

.rate::before {
  content: "★★★★★";
  color: #ccc 
}

.rate0-5:after,
.rate1:before,
.rate1:after,
.rate1-5:before,
.rate1-5:after,
.rate2:before,
.rate2:after,
.rate2-5:before,
.rate2-5:after,
.rate3:before,
.rate3:after,
.rate3-5:before,
.rate3-5:after,
.rate4:before,
.rate4:after,
.rate4-5:before,
.rate4-5:after,
.rate5:after{
position: absolute;
top:0;
left:0;
color: #FFA500;
overflow: hidden;
height: 24px;
}

.rate .rate0-5:after,
.rate .rate1-5:after,
.rate .rate2-5:after,
.rate .rate3-5:after,
.rate .rate4-5:after{
	width: 8px;
	content: "★";
}

.rate .rate1:after,
.rate .rate1-5:before{
	content: "★";
}
.rate .rate1-5:after{
	left: 1em;
}
.rate .rate2:after,
.rate .rate2-5:before{
	content: "★★";
}

.rate .rate2-5:after{
	left: 2em;
}
.rate .rate3:after,
.rate .rate3-5:before{
	content: "★★★";
}
.rate .rate3-5:after{
	left: 3em;
}
.rate .rate4:after,
.rate .rate4-5:before{
	content: "★★★★";
}
.rate .rate4-5:after{
	left: 4em;
}
.rate .rate5:after{
	content: "★★★★★";
}
/* ーーーーーここまで★マークーーーーー */
/* ーーーーーここまで個別スタイル（about.HTML）ーーーーー */

/* ーーーーーここからレスポンシブデザイン511px以上、1024px以下ーーーーー */
@media (max-width: 1024px) and (min-width: 511px) {
/* ーーーーーここからindex.HTML（511px以上、1024px以下）ーーーーー */
   .headernav {
    z-index: 4;
    position:absolute;
    top: 15px;
    right:15px;
  }
  
  .indexul {
    margin: 0;
    list-style: none;
  }
  
  .indexul li a {
    font-family: 'Noto Serif', serif;
    text-decoration-line: none;
    color: #f2f2ec;
    font-size: 30px;
  }
  
  .indexh1 {
    display: none;
  }
  
  .indexh2 {
    display: none;
  }
  
  .fullimg {
    display: none;
  }
  
  .slideshow {
    display: block;
  }
  
  .KenBurnseffect {
    display: block;
  }
  
  .sns-btn {
    z-index: 4;
    position: absolute;
    top: 80%;
    right: 10px;
  }

  .sns-btn a img{
    width: 100%;
  }

  .copyright {
    position: absolute;
    top: 93%;
    z-index: 4;
    font-size: 100%;
  }
  /* ーーーーーここまでindex.HTML（511px以上、1024px以下）ーーーーー */

  /* ーーーーーここからphoto.HTML（511px以上、1024px以下）－ーーーー */
  .photoheadernav {
    z-index: 1;
    position:absolute;
    top: 15px;
    right:15px;
  }

  .photoul {
    margin: 0;
    list-style: none;
  }
  
  .photoul li a {
    font-family: 'Noto Serif', serif;
    text-decoration-line: none;
    color: #000;
    font-size: 30px;
  }
  /* ーーーーーここまでphoto.HTML（511px以上、1024px以下）－ーーーー */
  /* ーーーーーここからabout.HTML（511px以上、1024px以下）－ーーーー */
  .aboutheadernav {
    z-index: 1;
    position:absolute;
    top: 15px;
    right:15px;
  }

  .abouth1 {
    display: flex;
    justify-content: center;
    font-size: 40px;
    margin: 20px 0 50px 0;
  }

  .nameimg {
    position: absolute;
    top: 20px;
    left: 20px;
  }

  .prfimg {
    width:140px;
    height: 190px;
    border-radius: 50%;
  }

  .motto {
    font-size: 20px;
  }
  
  .aboutul {
    margin: 0;
    list-style: none;
  }
  
  .aboutul li a {
    font-family: 'Noto Serif', serif;
    text-decoration-line: none;
    color: #000;
    font-size: 30px;
  }

  .language {
  margin: 0 auto;
  width: 30%;
  list-style: none;
  padding-left: 0;
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(5, auto);
  gap: 10px;
}

.listitem {
  list-style: none;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}
  /* ーーーーーここまでabout.HTML（511px以上、1024px以下）－ーーーー */
}
/* ーーーーーここまでレスポンシブデザイン431以上、1024px以下ーーーーー */

/* ーーーーーここからレスポンシブデザイン510px以下ーーーーー */
@media (max-width: 510px) {
/* ーーーーーここからindex.HTML（510px以下）ーーーーー */
  .headernav {
    z-index: 4;
    position:absolute;
    top: 15px;
    right:15px;
  }

  .indexul {
    margin: 0;
    list-style: none;
  }

  .indexul li a {
    font-family: 'Noto Serif', serif;
    text-decoration-line: none;
    color: #f2f2ec;
    font-size: 20px;
  }

  .indexh1 {
    display: none;
  }

  .indexh2 {
    display: none;
  }

  .fullimg {
    display: none;
  }

  .copyright {
    position: absolute;
    top: 95%;
    z-index: 4;
    font-size: 18px;
  }

  .slideshow {
    display: block;
  }

  .KenBurnseffect {
    display: block;
  }

  .sns-btn {
    z-index: 4;
    position: absolute;
    top: 85%;
    right: 10px;
  }

  .sns-btn a img{
    width: 30px;
  }
  /* ーーーーーここからphoto.HTML（510px以下）ーーーーー */
  .photoh1 {
    font-family: 'Rubik Doodle Shadow', system-ui;
    text-align: center;
    font-size: 27px;
    margin: 25px;
  }

  .photoheadernav {
    z-index: 1;
    position:absolute;
    top: 15px;
    right:15px;
  }

  .photoul {
    margin: 0;
    list-style: none;
  }
  
  .photoul li a {
    font-family: 'Noto Serif', serif;
    text-decoration-line: none;
    color: #000;
    font-size: 20px;
  }

  .masonry-item {
    width: 170px;
    margin-bottom: 5px;
  }
/* ーーーーーここまでphoto.HTML（510px以下）ーーーーー */

/* ーーーーーここからabout.HTML（510px以下）ーーーーー */
  .about-body {
  margin: 5px 5px 0 5px;
  }

  .abouth1 {
  display: none;
  }

  .aboutheadernav {
  z-index: 1;
  position:absolute;
  top: 15px;
  right:15px;
  }

  .aboutul {
  margin: 0;
  list-style: none;
  }

  .aboutul li a {
  font-family: 'Noto Serif', serif;
  text-decoration-line: none;
  color: #000;
  font-size: 20px;
  }

  .nameimg {
  position: static;
  text-align: center;
  }

  .myname {
  margin: 0;
  text-align: center;
  }

  .prfimg {
  width:100px;
  height: 120px;
  border-radius: 50%;
  }

  .comment {
  font-size: 14px;
  margin: 0;
  }

  .data {
  font-size: 14px;
  margin: 0 10px 0 10px;
  }

  .language {
  margin: 0 auto;
  width: 60%;
  list-style: none;
  padding-left: 0;
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(5, auto);
  gap: 10px;
}

.listitem {
  list-style: none;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}
/* ーーーーーここまでabout.HTML（510px以下）ーーーーー */
}
/* ーーーーーここまでレスポンシブデザイン510px以下ーーーーー */