@charset "UTF-8";

* {
    margin: 0;
    padding: 0;
}

li {
  list-style-type: none;
}

html {
  scroll-behavior: smooth;
}

body {
    background-color: lightskyblue;
}

/* -----ヘッダー start----- */
header {
  width: 95%;
  margin-top: 1%;
  display: flex;
  margin-left: auto;
  margin-right: auto;
}

header .postcard {
  width: 40%;
  margin-top: 2%;
}

header .postcard .post-cord {
  width: 70%;
  display: flex;
  margin-left: 0;
  margin-right: auto;
}

header .postcard .post-cord h1 {
  width: 20%;
}

/* -----スタンプぺったんアニメ start----- */
header .postcard .post-cord h1 .stamp {
  width: 10vw;
  margin-top: 2%;
  margin-left: 2%;
  position: absolute; /* 絶対配置で移動を制御 */
  position: fixed;
  top: 0;
  z-index: 10000;
}

@keyframes stamp-animation {
  0% { /* 開始時 */
    opacity: 1;
    transform: translateY(0) scale(0.8);
    animation-timing-function: ease-in;
  }
  20% { /* 落下 */
    opacity: 1;
    transform: translateY(2vw) scale(1.2);
    animation-timing-function: ease-out;
  }
  30% { /* 初回のバウンド */
    opacity: 1;
    transform: translateY(0.5vw) scale(1);
    animation-timing-function: ease-in;
  }
  40% { /* 2回目のバウンド */
    opacity: 1;
    transform: translateY(2vw) scale(1);
    animation-timing-function: ease-out;
  }
  50% { /* 3回目のバウンド */
    opacity: 1;
    transform: translateY(1vw) scale(1);
    animation-timing-function: ease-in;
  }
  100% { /* 終了時 */
    opacity: 1;
    transform: translateY(1vw) scale(1);
    opacity: 0.7; /* 最終的な見た目を少し調整 */
  }
}

header .postcard .post-cord h1 .stamp img {
    width: 100%;
    transition: 0.5s;
}

header .postcard .post-cord h1 .stamp img:hover {
  transform: scale(1.2,1.2);
  transition: 0.5s;
}
/* -----スタンプぺったんアニメ end----- */

/* -----ナビ部分 start----- */
header .postcard .post-cord nav {
  margin-left: 18vw;
  position: fixed;
  z-index: 10000;
}

header .postcard .post-cord nav ul {
  display: flex;
}

header .postcard .post-cord nav li {
}

header .postcard .post-cord nav li:nth-of-type(2) {
  margin-left: 0.7vw;
  margin-right: 0.7vw;
}

header .postcard .post-cord nav li a {
  display: block;
  text-align: center;
  width: 3.5vw;
  height: 3vw;
  padding-top: 50%;
  border: 0.3px solid navy;
  font-family: "klee-one", sans-serif;
  font-weight: 600;
  font-style: normal;
  font-size: 0.9vw;
  text-decoration: none;
  color: #202020;
  box-shadow: 1px 2px 14px -3px #e8e9f7;
  background-color:rgba(256, 256, 256, 0.5);
  transition: 0.5s;
}

header .postcard .post-cord nav li a:hover {
  color: white;
  background-color: lightskyblue;
  opacity: 0.8;
  transition: 0.5s;
}
/* -----ナビ部分 end----- */

/* -----地球岬写真部分 start----- */
header .main-visual {
  position: relative;
  display: flex;
  width: 50%;
  margin-left: 7%;
}

header .main-visual img {
  position: relative;
  display: block;
  width: 100%;
  margin: 4% 1%;
  border-radius: 10px;
}

/* -----かもめ部分 ----- */
header .main-visual .kamome {
  position: absolute;
  width: 3vw;
  top: 20%;
  left: 20%;
  animation: floating-x 7.2s ease-in-out infinite alternate-reverse;
}

header .main-visual .kamome img {
  width: 100%;
}

.target {
  display: block;
  width: 100%;
  height: auto;
}

/* かもめが飛んだ日アニメ */
.target {
  animation: floating-y 1.8s ease-in-out infinite alternate-reverse;
}
@keyframes floating-x {
  0% {
    transform: translateX(-20%);
  }
  100% {
    transform: translateX(20%);
  }
}
@keyframes floating-y {
  0% {
    transform: translateY(-20%);
  }
  100% {
    transform: translateY(20%);
  }
}
/* -----地球岬写真部分 end----- */

/* -----表題About start----- */
header .postcard .atsuko .name {
  margin-top: 30%;
  margin-left: 40%;
}

header .postcard .atsuko .name p {
  font-family: "klee-one", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 2vw;
  color: #202020;
  white-space: pre-wrap;
  letter-spacing: 0.1em;

}

header .postcard .atsuko .portfolio {
  margin-top: 8%;
  margin-left: 48%;
}

header .postcard .atsuko .portfolio p {
  font-family: "klee-one", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 1.4vw;
  color: #202020;
  white-space: pre-wrap;
  letter-spacing: 0.2em;
}
/* -----表題About end----- */

/* -----ヘッダー end----- */

/* -----かもめの戻るボタン----- */
.re-button {
  position: fixed;
  top: 15vw;
  right: 13vw;
  width: 5%;
  z-index: 1500;
}

.re-button :hover {
  transition: 1s;
}

.re-button a {
  display: block;
}

.re-button a:hover {
  transition: 1s;
}

.re-button a img {
  width: 100%;
}

  /* ふわふわアニメ */
.fuwafuwa {
  animation: fuwafuwa 3s ease-in-out infinite alternate;
  transition: 1.5s ease-in-out;
}
 
@keyframes fuwafuwa {
  0% {
    transform:translate(0, 0) rotate(-7deg);
  }
  50% {
    transform:translate(0, -7px) rotate(0deg);
  }
  100% {
    transform:translate(0, 0) rotate(7deg);
  }
}
/* -----かもめの戻るボタン----- */

/* -----メイン start----- */

main section h2 {
  font-family: "klee-one", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 3vw;
  color: #202020;
  text-align: center;
}

main section .work-parent h3 {
  width: fit-content;
  margin-bottom: 3%;
  font-family: "klee-one", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 1.5vw;
  color: #202020;
}

/* -----about section start----- */



/* 画像の親要素のスタイル */
main {
  width: 80%;
  height: 30vw;
  margin-top: 5%;
  display: flex;
  margin-left: auto;
  margin-right: auto;
}

main .about-profile {
  width: calc(100% / 3);
  margin-inline: auto;
  position: relative;
  transform-style: preserve-3d;
  transition: transform .7s;
}

main .about-profile:nth-of-type(2) {
  margin-left: 3%;
  margin-right: 3%;
}
/* 画像のスタイル */
main .about-profile img {
  width: 100%;
  display: block;
  text-align: center;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  height: auto;
  left: 0;
  position: absolute;
}
/* 2枚目の画像は最初裏返し */
main .about-profile img:last-of-type {
  transform: rotateY( 180deg );
}
/* hoverすると2枚とも回転 */
main .about-profile:hover {
  transform: rotateY( 180deg );
}

/* -----メイン end----- */

/* -----フッター start----- */
footer {
  padding: 5%;
  background-color: navy;
}

footer p {
  text-align: center;
  color: #fff;
  font-size: 0.9vw;
  letter-spacing: 0.1em; 
}
/* -----フッター end----- */
