@media screen and (min-width:769px) {
body{
    background-color: #FFFDF8;
    font-family: 'Alyamama', serif;
}
body h1,h2,h3,h4,p,a{
    color: #7C6A6A;
}
/* ----------------------*
 * ヘッダー
 * ----------------------*/
header{
    width: 100%;
}
#header-area{
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding: 20px;
}
#global-nav{
    margin-left: auto;
}
#logo{
    font-size: 32px;
    letter-spacing: 0.1em;
}
#global-nav ul{
    display: flex;
    gap: 50px;
    margin: 0;
    padding: 0;
    font-size: 32px;
}
#global-nav a{
  position: relative;
  display: inline-block;
    transition: 0.5s;
}
#global-nav a:hover{
    color: #E8B7C8;
}
/* ナビの下線 */
#global-nav a::after{
  content: "";
  position: absolute;
  left: 0; bottom: 10px;
  width: 0; height: 2px;
  background: #E8B7C8;
  transition: width 0.5s ease;
}
#global-nav a:hover::after{
  width: 100%;
}
/* スムーススクロール */
html{
  scroll-behavior: smooth;
}
/* ----------------------*
 * ファーストビュー
 * ----------------------*/
.fv{
    display: flex;
    flex-direction: column; /* h1とspanを縦並び */
    align-items: center; /* 横中央 */
    width: 100%;
    height: 90vh;
}
main h1{
  position: relative;
  font-size: 80px;
  letter-spacing: 0.2em;
  z-index: 100;
}
span {
  font-size: 32px;
  letter-spacing: 0.3em;
  color: #7C6A6A;
}
/* シャボン玉 */
.fv{
  position: relative;
  height: 90vh;
  overflow: hidden;
}

.fv-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding-top: 35vh;
}

.bubble {
  position: absolute;
  bottom: -100px;
  border-radius: 50%;

 background: rgba(255, 182, 193, 0.25); /* ほんのりピンク */
  border: 1px solid rgba(255, 255, 255, 0.6);

  backdrop-filter: blur(6px);

  box-shadow:
    inset 0 0 10px rgba(255, 255, 255, 0.6),
    0 0 15px rgba(255, 182, 193, 0.3);

  animation: floatUp linear infinite;
  z-index: 1;
}

.bubbles{
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
}
@keyframes floatUp {
  from {
    transform: translateY(0);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  to {
    transform: translateY(-120vh);
    opacity: 0;
  }
}

/* スクロールボタン */
.scroll {
  position: absolute;
  bottom: 15%;
  width: 3em;
  height: 1em;
  cursor: pointer;
  text-decoration: none;
  color: #7C6A6A;
}
.scroll span {
  font-size: 12px;
  color: #7C6A6A;
  text-align: center;
}

.arrow {
  position: absolute;
  top: 1.25em;
  left: 1em;
  animation: 2s arrow-animation infinite ease-in-out;
  width: 0;
  height: 5em;
  border: 0.5px solid #7C6A6A;
}
.arrow::after {
  content: "";
  display: block;
  position: absolute;
  top: 100%;
  left: -2px;
  width: 1px;
  height: 10px;
  border-top: 10px solid #7C6A6A;
  border-left: 2px solid transparent;
  border-right: 2px solid transparent;
}

@keyframes arrow-animation {
  0% {
    height: 1em;
  }
  66% {
    height: 5em;
  }
}
/* h1のフェードイン */
.fade-title span{
  display: inline-block;
  font-size: inherit;
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

.fade-title span.show{
  opacity: 1;
  transform: translateY(0);
}
/* spanのフェードイン */
.sub-title{
  opacity: 0;
  transform: translateY(20px);

  transition:
    opacity 2s,
    transform 2s;
}
.sub-title.show{
  opacity: 1;
  transform: translateY(0);
}
/* ----------------------*
 * アバウト
 * ----------------------*/
section{
  width: 100%;
  max-width: 1000px;
  margin: 80px auto;
  padding: 60px 0;
}
section h2{
  font-size: 56px;
  position: relative;
}
#about-me{
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 60px;
}
#about-text{
  margin-left: 60px;
}
#about-text h3{
  font-size: 32px;
  margin-top: 0;
  letter-spacing: 0.4em;
}
#about-text h3 span{
  font-size: 18px;
  color: #E8B7C8;
  margin-left: 20px;
}
#about-text p{
  width: 100%;
  margin-top: 20px;
}

/* ----------------------*
 * スキル
 * ----------------------*/
 #skill-area{
  margin-top: 60px;
 }
 #skill-area img{
  margin: 0 auto;
  width: 80px;
}
#skill-area span{
  font-size: 20px;
  font-weight: bold;
  display: block;
  text-align: center;
  margin: 10px;
}
#skill-area li{
  width: 450px;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.7);
  padding: 20px 30px;
  border-radius: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}
.skill-list{
  display: flex;
  justify-content: space-between;
  margin: 30px auto;
  gap: 30px;
}
/* ----------------------*
 * ワークス
 * ----------------------*/
 /* Webサイト */
section h3{
  font-size: 40px;
  color: #9F8F8F;
  margin-top: 60px;
}
.works{
  display: flex;
  justify-content: center;
  align-items: center;
}
.img-area{
  position: relative;
  display: inline-block;
  margin-top: 30px;
}
.img-area img{
  display: block;
  margin-top: 20px;
}

.title{
  font-size: 24px;
  font-weight: bold;
  position: absolute;
  top: 20px;
 left: 50%;
  transform: translateX(-50%);

}
.small-text{
  font-size: 14px;
  position: absolute;
  top: 55px;
  left: 50%;
  transform: translateX(-50%);
}
.text-area{
  margin-top: 60px;
}
.text-area h4{
  font-size: 18px;
}
.text-area p{
  margin-top: 5px;
  margin-bottom: 20px;
}
.btn{
  text-align: center;
  margin-top: 20px;
  margin-bottom: 80px;
}
.btn a{
  background-color: #E8B7C8;
  color: #fff;
  font-size: 24px;
  font-weight: bold;
  padding: 12px 40px 6px; 
  border-radius: 25px;
  box-shadow: 2px 4px 0 #ba97a4;
  transition: 0.2s;
}
.btn a:hover{
  opacity: 0.8;
}

.works-reverse .works{
    display: flex;
    flex-direction: row-reverse;
}
/* バナー */
#banner-area{
  margin-top: 50px;
  display: flex;
}

/* バナー画像 */
#banner-area img{
    width: 250px;
    cursor: pointer;
    transition: 0.3s;
}

/* ホバー時 */
#banner-area img:hover{
   transform: scale(1.05);
}

/* ポップアップ背景 */
#popup{
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
    z-index: 999;
}

/* 画像と×をまとめる */
.popup-content{
    position: relative;
}

/* 拡大画像 */
#popup-image{
  width: 50vh;
    max-width: 500px
}

/* 閉じるボタン */
#close{
    position: absolute;
    right: -50px;
    bottom: -15px;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 40px;
    cursor: pointer;
}

/* ----------------------*
 * コンタクト
 * ----------------------*/
#contact-btn{
  margin-top: 120px;
  text-align: center;
}
#contact-btn a{
  background-color: #E8B7C8;
  color: #fff;
  font-size: 40px;
  padding: 24px 64px 12px; 
  border-radius: 50px;
  box-shadow: 2px 4px 0 #ba97a4;
  transition: 0.2s;
}
#contact-btn a:hover{
  opacity: 0.8;
}


/* ----------------------*
 * フッター
 * ----------------------*/
 footer small{
    text-align: center;
    display: block;
 }

/* ----------------------*
 * h2の下線
 * ----------------------*/
section h2::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;

  width: 100%;
  height: 1px;
  background-color: #7C6A6A;

  /* 最初は線を縮める */
  transform: scaleX(0);

  /* 左から伸ばす */
  transform-origin: left;

  transition: transform 3s ease;
}

/* スクロール後 */
section h2.active::after{
  transform: scaleX(1);
}

/* ----------------------*
 * フェードイン
 * ----------------------*/
.fadein{
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 2s ease,transform 2s ease;
}

.fadein.show{
  opacity: 1;
  transform: translateY(0);
}
}