@charset "UTF-8";

* {
    margin: 0;
    padding: 0;
}

/* -----オープニングアニメ start----- */
.anime {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
    background-color: #111;
    position: absolute;
    z-index: 20000;
}

.anime img {
  display: block;
}
/* -----オープニングアニメ end----- */

li {
  list-style-type: none;
}

html {
  scroll-behavior: smooth;
}

body {
    background-color: lightskyblue;
}

/* -----ヘッダー start----- */
header {
  width: 95%;
  margin-top: 1%;
  display: flex;
  background-color: white;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 13px 12px 18px -15px navy;
}

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: 1%;
  margin-left: 2%;
  position: absolute; /* 絶対配置で移動を制御 */
  position: fixed;
  top: 0;
  opacity: 0;
  animation: stamp-animation 1s forwards; /* アニメーションを適用 */
  animation-delay: 4.5s;

  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;
  box-shadow: 13px 12px 18px -15px navy;
}

/* -----かもめ部分 ----- */
header .main-visual .kamome {
  position: absolute;
  width: 3vw;
  top: 10%;
  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----- */

/* -----表題トモスエアツコ・portfolio start----- */
header .postcard .atsuko .name {
  margin-top: 30%;
  margin-left: 40%;
}

  /* -----表題部分ゆっくり出すアニメ start----- */
.fadeIn {
animation: fadeIn 5s ease 0s 1 normal;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
  }
}
  /* -----表題部分ゆっくり出すアニメ end----- */

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: 2vw;
  color: #202020;
  white-space: pre-wrap;
  letter-spacing: 0.2em;
}

header .postcard .atsuko .letter {
  width: 82%;
  margin-top: 14%;
  margin-left: 9vw;
}

header .postcard .atsuko .letter p {
  font-family: "klee-one", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 0.9vw;
  color: #202020;
  white-space: pre-wrap;
  letter-spacing: 0.1em;
}
/* -----表題トモスエアツコ・portfolio end----- */

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

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

.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 {
  margin-left: auto;
  margin-right: auto;
}

main section h2 {
  margin-top: 5%;
  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;
}

/* -----カーソルでスタンプ----- */
main section .work-parent .work-box figure a {
  cursor: url(../images/stamp2.png),auto;
}

main section .work-parent .work-box figcaption {
  margin-top: 1%;
  font-family: "klee-one", sans-serif;
  font-weight: 600;
  font-style: normal;
  font-size: 1vw;
  color: #202020;
}

main section .work-parent .work-box figcaption span {
  font-size: 0.8vw;
  padding: 0.2vw;
  color: white;
  background-color: navy;
  border-radius: 5px;
}

main section .work-parent .work-box p {
  font-family: "klee-one", sans-serif;
  font-weight: 600;
  font-style: normal;
  font-size: 0.8vw;
  color: #505050;
  letter-spacing: 0.1em;
}

/* -----作品横並び start----- */
main section .work-parent {
  padding: 2% 20%;
}

main section .work-parent .work-box {     
  width: 100%;
  display: flex;
  z-index: 1000;
}

main section .work-parent .work-box:nth-of-type(2) {
  margin-top: 5%;
}

main section .work-parent .work-box figure {
  width: 40%;
}

main section .work-parent .work-box .tate {
  width: 30%;
  margin-left: 5%;
  margin-right: 5%;
}

main section .work-parent .work-box figure:nth-of-type(2) {
  margin-left: 20%;
}

main section .work-parent .work-box figure img {
  display: block;
  width: 100%;
}

main section .work-parent .work-box figure img:hover {
  opacity: 0.5;
  transform: 0.5s;
}
/* -----作品横並び end----- */

/* -----背景の色と文字 start----- */
main section .work-parent:nth-of-type(1) {
  position: relative;
  background-color: powderblue;
  z-index: 1;
}

main section .work-parent:nth-of-type(1)::before {
  content: "website";
  position: absolute;
  top: -6vw;
  right: 0;
  left: auto;
  font-size: 15vw;
  font-weight: bold;
  font-style: italic;
  color: rgba(135,206,250,0.5);
  letter-spacing: 0.1em;
  pointer-events: none;
  white-space: nowrap;
  z-index: -1;
}

main section .work-parent:nth-of-type(2) {
  position: relative;
  background-color: paleturquoise;
  z-index: 1;
}

main section .work-parent:nth-of-type(2)::before {
  content: "banner";
  position: absolute;
  bottom: 13vw;
  right: auto;
  left: 0;
  font-size: 18vw;
  font-weight: bold;
  font-style: italic;
  color: rgba(115,226,230,0.5);
  letter-spacing: 0.1em;
  pointer-events: none;
  white-space: nowrap;
  z-index: -1;
}

main section .work-parent:nth-of-type(3) {
  position: relative;
  background-color: powderblue;
  z-index: 1;
}

main section .work-parent:nth-of-type(3)::before {
  content: "poster";
  position: absolute;
  top: -7.5vw;
  right: 0;
  left: auto;
  font-size: 15vw;
  font-weight: bold;
  font-style: italic;
  color: rgba(135,206,250,0.5);
  letter-spacing: 0.1em;
  pointer-events: none;
  white-space: nowrap;
  z-index: -1;
}

main section .work-parent:nth-of-type(4) {
  position: relative;
  background-color: paleturquoise;
  z-index: 1;
}

main section .work-parent:nth-of-type(4)::before {
  content: "business card";
  position: absolute;
  bottom: 27vw;
  right: auto;
  left: 0;
  font-size: 12vw;
  font-weight: bold;
  font-style: italic;
  color: rgba(115,226,230,0.5);
  pointer-events: none;
  white-space: nowrap;
  z-index: -1;
}

main section .work-parent:nth-of-type(5) {
  position: relative;
  background-color: powderblue;
  z-index: 1;
}

main section .work-parent:nth-of-type(5)::before {
  content: "collage";
  position: absolute;
  bottom: 14vw;
  right: 0;
  left: auto;
  font-size: 250px;
  font-weight: bold;
  font-style: italic;
  color: rgba(135,206,250,0.5);
  letter-spacing: 0.1em;
  pointer-events: none;
  white-space: nowrap;
  z-index: -1;
}
/* -----背景の色と文字  end----- */

/* -----Works section end----- */

/* -----セクション区切り start----- */
.container {
  position: relative;
  background: powderblue;
  height: 10vh;
}

.wave {
  position: absolute;
  height: 70px;
  width: 100%;
  background: powderblue;
  bottom: 0;
}

.wave::before, .wave::after {
  content: "";
  display: block;
  position: absolute;
  border-radius: 100% 50%;
}

.wave::before {
  width: 55%;
  height: 109%;
  background-color: lightskyblue;
  right: -1.5%;
  top: 60%;
}
.wave::after {
  width: 55%;
  height: 100%;
  background-color: powderblue;
  left: -1.5%;
  top: 40%;
}
/* -----セクション区切り end----- */

/* -----about section start----- */
main section .about-box {
  display: flex;
  width: 80%;
  height: 30vw;
  margin-top: 5%;
  margin-left: auto;
  margin-right: auto;
}

main section .about-box .about-text {
  width: 45%;
  margin-top: 6%;
}

main section .about-box .about-text p {
  font-family: "klee-one", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 1vw;
  color: #202020;
  text-align: center;
  line-height: 2;
  white-space: pre-wrap;
}

/* ボタンのスタイル */
main section .about-box .about-text .about-more {
  width: 100%;
  margin-left: 35%;
}

main section .about-box .about-text .about-more .btn a {
  position: relative;
  display: block;
  width: 10vw;
  font-size: 1vw;
  color: #202020;
  text-decoration: none;
  text-align: center;
  transition: 0.5s;
}

main section .about-box .about-text .about-more .btn a:hover {
  opacity: 0.5;
  transition: 0.5s;
}

/* アイコンのスタイル */
main section .about-box .about-more .btn-arrow-right a::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: 1vw;
  width: 0.5vw;
  height: 0.5vw;
  margin: auto;
  border-top: 0.6px solid #202020;
  border-right: 0.6px solid #202020;
  transform: rotate(45deg);
  box-sizing: border-box;
  transition: 0.5s;
}

main section .about-box .about-more .btn-arrow-right a::after:hover {
  opacity: 0.5;
  transition: 0.5s;
}


/* 画像の親要素のスタイル */
main section .about-box .about-profile {
  width: 25%;
  margin-left: 30%;
  margin-inline: auto;
  position: relative;
  transform-style: preserve-3d;
  transition: transform .7s;
}
/* 画像のスタイル */
main section .about-box .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 section .about-box .about-profile img:last-of-type {
  transform: rotateY( 180deg );
}
/* hoverすると2枚とも回転 */
main section .about-box .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----- */
