@charset "UTF-8";

* {
    margin: 0;
    padding: 0;
}

@font-face {
    font-family: 'Caveat-VariableFont_wght';
    src: url(../fonts/Caveat/Caveat-VariableFont_wght.ttf);
}

@font-face {
    font-family: 'Noto_Sans_JP';
    src: url(../font/Noto_Sans_JP/static/NotoSansJP-Medium.ttf);
}

html {
    scroll-behavior: smooth;
}

section {
    overflow: hidden;
}

/* 桜を表示するコンテナのスタイル */
.cherry-blossom-container {
    position: relative;
    height: 102vw; /* コンテナの高さ */
    width: 100%; /* コンテナの横幅 */
    overflow: hidden; /* コンテナからはみ出した要素を隠す */
    background-image: url(../images/top-bg-sky2.png);
    background-repeat: no-repeat;
    background-size: cover;
}
  
/* 桜の花びらのスタイル */

.petal {
    position: absolute;
    background-color: #ffc0cb; /* 花びらの色 */
    border-radius: 150% 0 150% 0;
    animation: animate-petal 10s linear;
}
  
.petal::after {
    content: "";
    position: absolute;
    top: -14%;
    left: -10%;
    display: block;
    width: 100%;
    height: 100%;
    background-color: #ffc0cb;
    border-radius: 150% 0 150% 0;
    transform: rotate(15deg);
}
  
/* 花びらが降るアニメーション */

@keyframes animate-petal {
    0% {
      top: 0;
      opacity: 0;
      transform: rotate(0deg);
    }
    10% {
      opacity: 1;
    }
    90% {
      opacity: 1;
    }
    100% {
      opacity: 0;
      top: 100vh;
      transform: rotate(3000deg);
    }
}

/*メインビジュアル*/

.main-image-flex {
    display: block;
}

.main-image-left {
    position: relative;
    width: 100%;
}

.main-image-left h2 {
    margin-top: 14%;
    text-align: center;
    letter-spacing: 0.2em;
    font-size: 12vw;
    color: #222;
    text-shadow: 2px 3px 3px #888;
    font-family: 'Caveat-VariableFont_wght';
}

.main-image-left p {
    text-align: center;
    letter-spacing: 0.2em;
    font-size: 8vw;
    color: #222;
    text-shadow: 2px 3px 3px #666;
    font-family: 'Caveat-VariableFont_wght';
}

.main-image-right {
    position: relative;
    width: 100%;
}

.arubamu {
    width: 70%;
    margin-top: 0%;
    margin-left: 14%;
}

.arubamu img {
    width: 100%;
    z-index: 800;
}

/*雲を流すスタイル*/

.cloud {
    position: absolute;
    top: 1vw;
    display: flex;
}

.cloud div {
    position: relative;
    width: 26%;
}

.cloud div:nth-child(1) {
    position: absolute;
    top: 3vw;
    animation: cloud1 80s linear infinite;
}

@keyframes cloud1 {
    0% {transform: translateX(-100%);}
    100% {transform: translateX(1020%);}
}

.cloud div:nth-child(2) {
    opacity: 0;
    animation: cloud2 60s linear infinite;
    animation-delay: 5s;
}

@keyframes cloud2 {
    0% {opacity: 1;
        transform: scale(1.2) translateX(-150%);
    }
    100% {
        opacity: 1;
        transform: scale(1.5) translateX(720%);}
}

.cloud div img {
    width: 100%;
}

/*鳥を飛ばすスタイル*/

.bird {
    position: absolute;
    width: 7px;
    height: 7px;
    transform: rotate(45deg);
    animation: moving 16s linear infinite;
}
  
.bird.-type_2 {
    animation-delay: 1s;
}

.bird.-type_2:before,
.bird.-type_2:after {
    animation-delay: -2s;
}
  
.bird.-type_3 {
    animation-delay: 3s;
}
  
@keyframes moving {
    0% {
      top: 68vw;
      left: -2vw;
    }
    25% {
      top: 70vw;
      left: 23vw
    }
    100% {
      top: 64vw;
      left: 101vw;
    }
}
  
.bird:before, .bird:after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: black;
    transform: rotate(-30deg);
    transform-origin: right bottom;
}
  
.bird:before {
    width: 100%;
    height: 1px;
    animation: leftWing 8s linear infinite;
}
.bird:after {
    width: 1px;
    height: 100%;
    animation: rightWing 8s linear infinite;
}
  
@keyframes leftWing {
    0%   { transform: rotate(-30deg); }
    2%   { transform: rotate(-110deg); }
    4%   { transform: rotate(-30deg); }
    6%   { transform: rotate(-110deg); }
    8%   { transform: rotate(-30deg); }
    10%  { transform: rotate(-110deg); }
    12%  { transform: rotate(-30deg); }
    30%  { transform: rotate(-30deg); }
    42%  { transform: rotate(-35deg); }
    72%  { transform: rotate(-35deg); }
    74%  { transform: rotate(10deg); }
    76%  { transform: rotate(-30deg); }
    78%  { transform: rotate(-110deg); }
    80%  { transform: rotate(-30deg); }
    82%  { transform: rotate(-110deg); }
    84%  { transform: rotate(-30deg); }
    86%  { transform: rotate(-110deg); }
    88%  { transform: rotate(-30deg); }
    90%  { transform: rotate(-110deg); }
    92%  { transform: rotate(-30deg); }
    94%  { transform: rotate(-110deg); }
    96%  { transform: rotate(-30deg); }
    98%  { transform: rotate(-110deg); }
    100% { transform: rotate(-30deg); }
}
  
@keyframes rightWing {
    0%   { transform: rotate(30deg); }
    2%   { transform: rotate(110deg); }
    4%   { transform: rotate(30deg); }
    6%   { transform: rotate(110deg); }
    8%   { transform: rotate(30deg); }
    10%  { transform: rotate(110deg); }
    12%  { transform: rotate(30deg); }
    30%  { transform: rotate(30deg); }
    42%  { transform: rotate(35deg); }
    72%  { transform: rotate(35deg); }
    74%  { transform: rotate(0deg); }
    76%  { transform: rotate(30deg); }
    78%  { transform: rotate(110deg); }
    80%  { transform: rotate(30deg); }
    82%  { transform: rotate(110deg); }
    84%  { transform: rotate(30deg); }
    86%  { transform: rotate(110deg); }
    88%  { transform: rotate(30deg); }
    90%  { transform: rotate(110deg); }
    92%  { transform: rotate(30deg); }
    94%  { transform: rotate(110deg); }
    96%  { transform: rotate(30deg); }
    98%  { transform: rotate(110deg); }
    100% { transform: rotate(30deg); }
}

/*トップイメージ街並み*/

.main-image-bottom {
    position: absolute;
    top: 88vw;
    width: 100%;
}

.main-image-bottom img {
    width: 100%;
    z-index: 900;
}

/*スクロール矢印*/

.arrow-paret {
    position: absolute;
    top: 68vw;
    right: 6%;
    display: flex;
    width: 5vw;
    height: 10vw;
    margin: 5% auto;
}

.arrow-left {
    width: 1vw;
    height: 0vw;
    transform: skewY(45deg);
    border-right: 0.3vw solid rgb(219, 178, 149);
    border-bottom: 0.6vw solid rgb(219, 178, 149);
    animation: 2.6s fromTop infinite;
}

@keyframes fromTop {
    100% {
        height: 12vw;
    }
}

.arrow-right {
    width: 1vw;
    height: 0vw;
    transform: skewY(-45deg);
    border-left: 0.3vw solid rgb(219, 178, 149);
    border-bottom: 0.6vw solid rgb(219, 178, 149);
    animation: 2.6s fromTop infinite;
}

.text {
    width: 1.6vw;
    margin-top: 1.2vw;
    margin-left: 1.4vw;
    writing-mode: vertical-rl;
    letter-spacing: 0.05em;
    font-size: 3vw;
    color: rgb(219, 178, 149);
    animation: 2.6s blink infinite;
}

@keyframes blink {
    0% { opacity: 0; }

    100% { opacity: 1;}
}

/*web site works*/

.web-site {
    width: 84%;
    margin-top: 5%;
    margin-left: 4%;
    padding: 4%;
    border-radius: 2em;
    box-shadow: 0px 0px 4px #444;
    background-color: rgb(255, 254, 180);
}

.web-site h2 {
    width: 100%;
    text-align: center;
    font-size: 10vw;
    color: #222;
    text-shadow: 2px 2px 2px #999;
    font-family: 'Caveat-VariableFont_wght';
}

.web-flex {
    display: block;
}

.web-flex div {
    width: 80%;
    margin: 5% auto 8%;
}

.web-flex div img {
    width: 100%;
    transition: 0.5s;
}

.web-flex div img:hover {
    transform: rotate(10deg);
    transition: 0.5s;
}

.web-site h3 {
    margin-top: 0;
    margin-bottom: 2%;
    text-align: center;
    font-size: 5vw;
    color: #222;
    font-family: 'Noto_Sans_JP';
}

.web-site p {
    margin-top: 0;
    letter-spacing: 0.05em;
    font-size: 3vw;
    color: #222;
    font-family: 'Noto_Sans_JP';
}

.web-site p:nth-of-type(1) {
    text-align: center;
}

.web-site p:nth-of-type(2) {
    padding-left: 1.6em;
    padding-right: 1.6em;
    text-align: center;
}

.web-site p:nth-of-type(3) {
    padding-top: 5%;
    text-align: left;
    letter-spacing: 0;
}

.web-site p:nth-of-type(4) {
    margin-top: 5%;
    font-size: 3vw;
    text-align: center;
}

.web-site a:nth-of-type(2) {
    display: block;
    width: 60%;
    margin: 5% auto 15%;
    text-align: center;
    text-decoration: none;
    line-height: 2;
    font-size: 4vw;
    color: #FFF;
    border-radius: 1em;
    border: 1px solid transparent;
    background-color: steelblue;
    box-shadow: 2px 2px 3px #222;
    font-family: 'Noto_Sans_JP';
    transition: 0.5s;
}

.web-site a:nth-of-type(2):hover {
    color: steelblue;
    font-weight: 500;
    border: 1px solid steelblue;
    background-color: #FFF;
    transition: 0.5s;
}

.web-site a:nth-of-type(2) span {
    margin-left: 5%;
    font-size: 4vw;
    font-weight: 500;
}

.web-site a:nth-of-type(3) {
    display: block;
    margin-top: -8%;
    text-align: center;
    font-size: 3.8vw;
}


/*風船１*/

.position1 {
    position: relative;
}

.balloon1 {
    position: absolute;
    bottom: -10%;
    right: 40%;
    width: 20%;
}

.balloon1 img {
    width: 100%;
}

.isAnimate {
    animation: 16s balloon linear forwards;
}

@keyframes balloon {
    0% {
        transform: translateY(0) translateX(0);
    }

    35% {
        transform: translateY(-500%) translateX(190%);
    }

    100% {
        transform: translateY(-1600%) translateX(0%);
    }
}

/*トップに戻る*/

.top {
    position: sticky;
    top: 84vh;
    width: 10%;
    margin-left: auto;
    margin-right: 2%;
    border-radius: 0.5em;
    box-shadow: 2px 2px 3px #444;
    background-color: rgb(0, 132, 205);
    z-index: 990;
}

.top a {
    display: block;
    padding-top: 0.5vw;
    text-align: center;
    line-height: 1.8;
    font-size: 5vw;
    color: #fff;
   
}

/*Illustrator works*/

.ai {
    width: 84%;
    margin-left: 4%;
    padding: 4%;
    border-radius: 2em;
    box-shadow: 0px 0px 4px #444;
    background-color: rgb(218, 231, 234);
}

.ai h2 {
    width: 100%;
    margin-bottom: 4%;
    text-align: center;
    font-size: 10vw;
    color: #222;
    text-shadow: 2px 2px 2px #888;
    font-family: 'Caveat-VariableFont_wght';
}

.ai-flex1 {
    display: block;
}

.ai-flex1 div:nth-of-type(1){
    width: 72%;
    margin: 5% auto 12%;
}

.ai-flex1 div:nth-of-type(2){
    width: 72%;
    margin: 5% auto 12%;
}

.ai-flex1 div:nth-of-type(3){
    width: 72%;
    margin: 5% auto 12%;
}

.ai-flex1 div img {
    width: 100%;
    box-shadow: 3px 3px 5px #222;
    transition: 0.5s;
}

.ai-flex1 div img:hover {
    transform: scale(1.05);
    transition: 0.5s;
}

.radius {
    border-radius: 1em;
}

.ai-flex1 div h3 {
    margin-top: 3%;
    margin-bottom: 2%;
    text-align: center;
    letter-spacing: -0.03em;
    font-size: 5vw;
    color: #222;
    font-family: 'Noto_Sans_JP';
}

.ai-flex1 div p {
    margin-top: 2%;
    letter-spacing: 0.05em;
    font-size: 3vw;
    color: #222;
    font-family: 'Noto_Sans_JP';
}

.ai-flex2 {
    display: block;
    margin-top: 3%;
}

.ai-flex2 h3 {
    margin-top: 3%;
    margin-bottom: 2%;
    text-align: center;
    letter-spacing: -0.05em;
    font-size: 4.6vw;
    color: #222;
    font-family: 'Noto_Sans_JP';
}

.ai-flex2 p {
    margin-top: 2%;
    letter-spacing: 0.05em;
    font-size: 3vw;
    color: #222;
    font-family: 'Noto_Sans_JP';
}

.ai-box1 {
    width: 72%;
    margin: 5% auto 12%;
}

.ai-box1 img {
    width: 100%;
    box-shadow: 3px 3px 5px #222;
    transition: 0.5s;
}

.ai-box1 img:hover {
    transform: scale(1.1);
    transition: 0.5s;
}

.ai-box2 {
    width: 72%;
    margin: 5% auto 12%;
}

.ai-flex3 {
    display: block;
}

.ai-flex3 a {
    display: inline-block;
    width: 100%;
}

.ai-flex3 a:nth-of-type(1) {
    margin-bottom: 5%;
}

.ai-flex3 a img {
    width: 100%;
    box-shadow: 3px 3px 5px #222;
    transition: 0.5s;
}

.ai-flex3 a img:hover {
    transform: scale(1.1);
    transition: 0.5s;
}

.ai-flex4 {
    display: block;
    margin-top: 10%;
}

.ai-flex4 a {
    display: inline-block;
    width: 100%;
}

.ai-flex4 a:nth-of-type(1) {
    margin-bottom: 5%;
}

.ai-flex4 a img {
    width: 100%;
    box-shadow: 3px 3px 5px #222;
    transition: 0.5s;
}

.ai-flex4 a img:hover {
    transform: scale(1.1);
    transition: 0.5s;
}

/*風船2*/

.position2 {
    position: relative;
}

.balloon2 {
    position: absolute;
    bottom: -10%;
    left: 50%;
    width: 20%;
}

.balloon2 img {
    width: 100%;
}

.isAnimate2 {
    animation: 25s balloon2 linear forwards;
}

@keyframes balloon2 {
    0% {
        transform: translateY(0) translateX(0);
    }

    12% {
        transform: translateY(-400%) translateX(-235%);
    }

    100% {
        transform: translateY(-3600%) translateX(80%);
    }
}

/*フォトショップ作品集*/

.ps {
    width: 84%;
    margin-top: 5%;
    margin-bottom: 2%;
    margin-left: 4%;
    padding: 4%;
    border-radius: 2em;
    box-shadow: 0px 0px 4px #444;
    background-color: rgb(255, 231, 231);
}

.ps h2 {
    width: 100%;
    margin-bottom: 4%;
    text-align: center;
    font-size: 10vw;
    color: #222;
    text-shadow: 2px 2px 2px #888;
    font-family: 'Caveat-VariableFont_wght';
}

.ps-flex1 {
    display: block;
}

.ps-box1 {
    width: 72%;
    margin: 5% auto 12%;
}

.ps-box1 img {
    width: 100%;
    box-shadow: 3px 3px 5px #222;
    transition: 0.5s;
}

.ps-box1 img:hover {
    transform: translateX(-5%) translateY(-5%);
    transition: 0.5s;
}

.ps-box1  h3 {
    margin-top: 3%;
    margin-bottom: 2%;
    text-align: center;
    font-size: 5vw;
    color: #222;
    font-family: 'Noto_Sans_JP';
}

.ps-box1 p {
    margin-top: 2%;
    letter-spacing: 0.05em;
    font-size: 3vw;
    color: #222;
    font-family: 'Noto_Sans_JP';
}

.ps-box2 {
    width: 72%;
    margin: 0 auto;
}

.ps-box2  h3 {
    margin-top: 3%;
    margin-bottom: 2%;
    text-align: center;
    font-size: 5vw;
    color: #222;
    font-family: 'Noto_Sans_JP';
}

.ps-box2 p {
    margin-top: 2%;
    letter-spacing: 0.05em;
    font-size: 3vw;
    color: #222;
    font-family: 'Noto_Sans_JP';
}

.ps-flex2 {
    display: block;
}

.ps-flex2 div {
    width: 100%;
    margin-top: 5%;
    margin-bottom: 12%;
}

.ps-flex2 div img {
    width: 100%;
    box-shadow: 3px 3px 5px #222;
    transition: 0.5s;
}

.ps-flex2 img:hover {
    transform: translateX(-5%) translateY(-5%);
    transition: 0.5s;
}

.ps-flex3 {
    display: block;
    margin-top: 5%;
}

.ps-flex3 div {
    width: 100%;
    margin-top: 5%;
    margin-bottom: 12%;
}

.ps-flex3 div img {
    width: 100%;
    box-shadow: 3px 3px 5px #222;
    transition: 0.5s;
}

.ps-flex3 img:hover {
    transform: translateX(-5%) translateY(-5%);
    transition: 0.5s;
}

/*風船3*/

.position3 {
    position: relative;
}

.balloon3 {
    position: absolute;
    bottom: -10%;
    right: 40%;
    width: 18%;
}

.balloon3 img {
    width: 100%;
}

.isAnimate3 {
    animation: 16s balloon3 linear forwards;
}

@keyframes balloon3 {
    0% {
        transform: translateY(0) translateX(0);
    }

    15% {
        transform: translateY(-300%) translateX(190%);
    }

    100% {
        transform: translateY(-2390%) translateX(-330%);
    }
}

/*風船4*/

.position4 {
    position: relative;
}

.balloon4 {
    position: absolute;
    bottom: -10%;
    left: 40%;
    width: 24%;
}

.balloon4 img {
    width: 100%;
}

.isAnimate4 {
    animation: 39s balloon4 linear forwards;
}

@keyframes balloon4 {
    0% {
        transform: translateY(0) translateX(0);
    }
    
    10% {
        transform: translateY(-400%) translateX(-160%);
    }

    100% {
        transform: translateY(-4400%) translateX(140%);
    }
}

/*フッター*/

footer {
    width: 100%;
    margin-top: 6%;
    box-shadow: 0px -2px 2px #666;
    background-color: rgb(83, 161, 164);
}

footer p {
    padding: 3%;
    text-align: center;
    font-size: 7vw;
    color: #fff;
    font-family: 'Caveat-VariableFont_wght';
}