@charset "utf-8";
@import url(https://fonts.googleapis.com/css?family=Exo+2:200i);
@import url('https://fonts.googleapis.com/css?family=Noto+Sans+JP');


* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  /* outline: auto; */
}

body {
  background-size: cover;
}


.background {
  position: fixed;
  /* 画面に固定 */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ffecb1;
  /* 背景色を指定 */
  z-index: -1;
  /* 他の要素より後ろに配置 */
}

.top {
  display: flex;
  unicode-bidi: isolate;
  position: relative;
}

.top a {
  margin: 0 auto;
}

header {
  position: fixed;
  /* 固定位置 */
  top: 0;
  /* ページの上部に配置 */
  left: 0;
  text-align: center;
  /* テキスト中央寄せ */
  z-index: 1000;
  /* 他の要素よりも上に表示 */
}

/*=========================================
#hamburger
=========================================*/
.hamburger {
  position: fixed;
  top: 20px;
  right: 30px;
  z-index: 150;
  width: 30px;
  height: 30px;
  cursor: pointer;
}

.hamburger:hover {
  opacity: 0.5;
  transition: 0.3s;
}

.hamburger.is-active span:nth-child(1) {
  top: 50%;
  transform: translate(-50%, -50%) rotate(135deg);
}

.hamburger.is-active span:nth-child(2) {
  opacity: 0;
}

.hamburger.is-active span:nth-child(3) {
  top: 50%;
  transform: translate(-50%, -50%) rotate(-135deg);
}

.hamburger span {
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 2px;
  background-color: #ffffff;
  transition: transform .3s;
}

.hamburger.is-active span {
  background-color: #ffffff;
}

.hamburger span:nth-child(1) {
  top: 30%;
}

.hamburger span:nth-child(2) {
  top: 60%;
}

.hamburger span:nth-child(3) {
  top: 90%;
}

/*=========================================
#drawer
=========================================*/
.drawer {
  visibility: hidden;
  opacity: 0;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 130;
  width: 100%;
  height: 100vh;
  background-color: rgba(255, 162, 213, 0.6);
  transition: opacity .3s, visibility .3s;
}

.drawer__item:hover {
  opacity: 0.5;
  transition: 0.3s;
}

.drawer.is-active {
  visibility: visible;
  opacity: 1;
}

.drawer-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  padding: 0 20px;
}

.drawer__list {
  display: flex;
  flex-direction: column;
  list-style: none;
  gap: 50px;
}

.drawer__link {
  color: #ffffff;
  font-size: 2rem;
  font-family: "Montserrat", sans-serif;
}




/* ===============================================
# 共通
=============================================== */
a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  /* height: auto; */
  background-size: cover;
  background-repeat: no-repeat;
  font-style: italic;
  vertical-align: middle;
  shape-margin: .75rem;
}

/* 実際のプロジェクトではここのコメントを解除して、スマホ時のみ表示させます。 */
/* .sp-show {
  display: none;
} */

.button-13 a {
  font-family: 'Noto Serif JP', serif;
  font-size: 23px;
  color: #ff85b6;
  font-weight: 400;
  display: block;
  position: relative;
  box-sizing: border-box;
  max-width: 200px;
  text-align: center;
  padding: 10px 10px;
  margin: 24px;
  margin-inline: auto;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s;
  z-index: 1000;
}


.button-13 a::before {
  content: "";
  display: block;
  position: absolute;
  width: 180px;
  height: 1px;
  background: #ff85b6;
  bottom: 0;
  transition: all 0.3s;
}

.button-13 a::after {
  content: "";
  display: block;
  position: absolute;
  width: 30px;
  height: 1px;
  background: #ff85b6;
  rotate: 40deg;
  right: -3px;
  bottom: 10px;
  transition: all 0.3s;
}

.button-13 a:hover::after,
.button-13 a:hover::before {
  translate: 20px 0;
  transition: all 0.3s;
}

/* Topボタン */

.topicon {
  position: fixed;
  width: 130px;
  /* height: 130px; */
  left: 0;
  bottom: 0;
  padding: 10px;
  opacity: 0.5;
  cursor: pointer;
  transition: .3s;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
}



.container {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
}

.logo {
  position: absolute;
  z-index: 3;
  opacity: 1;
  animation: fadeOutLogo 0.8s ease 1.5s forwards;
}

.logo img {
  /* max-width: 200px; */
  width: 80%;
  margin: 0 auto;
  display: block;
  height: auto;
}

.gradient-bg {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, #ffffff 0%, #ffbbec 100%);
  /* transform: translateY(100%); */
  z-index: -1;
  animation: rollUp 1.2s ease 1.5s forwards;
}

.main-image {
  max-width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  z-index: -1;
  animation: fadeInImage 1.5s ease 2.7s forwards;
}

.content {
  position: relative;
  z-index: 4;
  opacity: 0;
  padding: 0 20px;
  animation: fadeInContent 1s ease 3s forwards;
  text-align: center;
}

.main-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin: 0 0 1rem;
  letter-spacing: 0.1em;
  line-height: 1.4;
}

.sub-title {
  font-size: 1.2rem;
  font-weight: 300;
  margin: 0 0 2rem;
  letter-spacing: 0.05em;
}

.scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  opacity: 0;
  animation: fadeInContent 1s ease 4s forwards;
}

.scroll-hint::before {
  content: "";
  display: block;
  width: 1px;
  height: 80px;
  background: #fff;
  margin: 0 auto 10px;
  animation: scrollLine 1.5s ease-in-out infinite;
}

.scroll-text {
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  white-space: nowrap;
}

@keyframes fadeOutLogo {
  0% {
    opacity: 1;
    transform: translateY(0);
  }

  100% {
    opacity: 0;
    transform: translateY(-20px);
  }
}

@keyframes rollUp {
  0% {
    transform: translateY(100%);
  }

  100% {
    transform: translateY(0%);
  }
}

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

  100% {
    opacity: 0.4;
  }
}

@keyframes fadeInContent {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scrollLine {
  0% {
    height: 0;
    opacity: 0;
  }

  50% {
    height: 80px;
    opacity: 1;
  }

  100% {
    height: 0;
    opacity: 0;
  }
}

@media (max-width: 768px) {
  .main-title {
    font-size: 2.5rem;
  }

  .sub-title {
    font-size: 1.4rem;
  }
}



.button-05 a {
  font-family: 'Noto Serif JP', serif;
  font-size: 1rem;
  color: #ffffff;
  font-weight: 400;
  border: solid 1px #ffffff;
  border-radius: 999px;
  display: flex;
  box-sizing: border-box;
  max-width: 200px;
  text-align: center;
  padding: 10px 30px;
  margin: 15px;
  margin-inline: auto;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s;
}

.button-05 a:hover {
  color: #fff;
  background: #e466aa;
  transition: all 0.3s;
}

.top_bottan {
  display: block;
  flex-wrap: nowrap;
  justify-content: space-evenly;
  z-index: 999;
  position: fixed;
  margin-left: auto;
  left: 20px;
  top: 100px;
}

@media (max-width: 600px) {
  .top_bottan {
    display: none;
  }
}

.top_bottan a {
  margin: 10px auto;
  padding: 15px 20px;
  justify-content: space-evenly;
  align-items: center;
}

.top_bottan a:hover {
  opacity: 0.5;
  transition: 0.3s;
}

.top__inner,
.top_bottan a {
  animation-name: fadein;
  animation-duration: 3s;
}

@keyframes fadein {
  from {
    opacity: 0;
    transform: translatey(20px);
  }

  to {
    opacity: 1;
    transform: translatey(0);
  }
}

.about {
  text-align: center;
  width: 80%;
  margin: 100px auto;
  background-color: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.about__inner {
  display: flex;
  justify-content: center;
  width: 100%;
  align-items: center;
  height: 100%;
  padding: 0 20px;
}

.abouttext {
  font-family: 'Noto Sans JP', sans-serif;
  background: #ffb6c1;
  border: 1px solid #ffb6c1;
  padding-left: 20px;
}

.abouttexttop {
  font-family: 'Noto Sans JP', sans-serif;
  color: white;
  /* font-size: 2rem; */
  position: relative;
  padding-top: 35px;
  font-size: 26px;
  text-align: center;
}


.abouttexttop span {
  position: relative;
  z-index: 2;
}

.abouttexttop::before {
  content: attr(data-en);
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(224, 66, 114, 0.2);
  /* font-size: 3rem; */
  font-style: italic;
}

.abouttexttop::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
}


.smooth {
  font-size: 100%;
  padding: 20px;
  color: rgb(255, 91, 165);
  font-family: 'Noto Sans JP', sans-serif;
}

@keyframes fade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.smooth {
  animation: fade 2s ease-in-out;
}



.me img {
  opacity: 0.7;
  max-width: 80%;
}

.works {
  display: block;
  text-align: center;
  width: 80%;
  margin: 50px auto;
  background-color: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  display: block;
}

.works__inner {
  justify-content: center;
  width: 100%;
  align-items: center;
  height: 100%;
  padding: 0 20px;
}

.works__inner a:hover {
  opacity: 0.5;
  transition: 0.3s;
}



.flex {
  display: flex;
}

.top_bottan {
  display: block;
}

.column {
  justify-content: center;
  margin: 10px auto;
  text-align: center;
}

/* ふわっと出現 */

.fade {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.5s, transform 1s;
}

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

footer {
  margin: 10px auto;
  text-align: center;
  color: #ff85b6;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.2rem;
  z-index: 4;
}


/* privacypolicy */
.privacyimg {
  display: flex;
  margin: 5% auto;
  text-align: center;
  justify-content: center;
}

.privacy {
  font-family: 'Noto Sans JP', sans-serif;
  text-align: center;
  text-justify: auto;
  color: #ffffff;
}

/* ここまで */

/* work.html */
.workimg {
  justify-content: center;
  margin: 0 auto;
  text-align: center;
}

.workimg a:hover {
  opacity: 0.5;
  transition: 0.3s;
  content: "read more";
}

#webdesign a {
  display: inline-flex;
  margin: 15px 15px;
  text-align: center;
  max-width: 40%;
}

.worktext {
  font-family: 'Noto Sans JP', sans-serif;
  position: relative;
  padding-top: 50px;
  padding-bottom: 50px;
  font-size: 26px;
  text-align: center;
}

.worktext span {
  color: white;
  font-family: 'Noto Sans JP', sans-serif;
  position: relative;
  z-index: 2;
}

.worktext::before {
  font-family: 'Noto Sans JP', sans-serif;
  content: attr(data-en);
  position: absolute;
  top: 3px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(224, 66, 114, 0.2);
  font-size: 60px;
  font-style: italic;
}

.worktext::after {
  font-family: 'Noto Sans JP', sans-serif;
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%) rotate(30deg);
  width: 1px;
  height: 40px;
  background-color: rgba(224, 66, 114, 1);
}

.contact {
  text-align: center;
  width: 80%;
  margin: 50px auto;
  padding: 10px;
  background-color: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  display: block;
}

.contact__inner {
  justify-content: center;
  width: 100%;
  align-items: center;
  height: 100%;
  padding: 0 20px;
  padding-top: 10px;
}

.contact__inner:hover {
  opacity: 0.5;
  transition: 0.3s;
}

/* ===== Fairy Sparkle Cursor ===== */
:root{
  --sparkle-aqua: #38ffff;
  --sparkle-gold: #ffaa38;
}

/* モーション苦手な人の環境では自動で無効 */
@media (prefers-reduced-motion: reduce){
  .sparkle{ display:none !important; }
}

/* ホバーできない端末（多くのスマホ）では非表示：パフォーマンス配慮 */
@media (any-hover: none){
  .sparkle{ display:none !important; }
}

.sparkle{
  position: fixed;
  left: 0; top: 0;
  z-index: 9999;
  width: 10px; height: 10px;           /* JSで上書きされます */
  pointer-events: none;                 /* クリックの邪魔をしない */
  border-radius: 50%;
  /* 中心が白→縁に色味のグラデーション＋外側に発光 */
  background:
    radial-gradient(circle at 30% 30%, #fff 0%, #fff 25%, rgba(255,255,255,.6) 40%, rgba(255,255,255,0) 70%),
    radial-gradient(circle at 60% 60%, var(--sparkle-gold), rgba(255,170,56,0));
  box-shadow:
    0 0 10px rgba(255,255,255,.9),
    0 0 18px rgba(255,255,255,.6),
    0 0 26px rgba(56,255,255,.35),
    0 0 40px rgba(255,170,56,.35);
  transform: translate(-50%,-50%) scale(.6);
  opacity: .95;
  animation:
    sparkle-move .8s cubic-bezier(.2,.8,.2,1) forwards,
    sparkle-fade .8s linear forwards;
  /* 個体ごとの動きはCSS変数でJSが注入 */
}

@keyframes sparkle-move{
  from{
    transform: translate(-50%,-50%) scale(.7) rotate(0.001deg);
  }
  to{
    transform:
      translate(calc(-50% + var(--tx, 0px)), calc(-50% + var(--ty, 0px)))
      scale(0) rotate(20deg);
  }
}

@keyframes sparkle-fade{
  0%{ opacity: .95; }
  100%{ opacity: 0; }
}


