*{
  margin: 0;
  padding: 0;
}

html, body {
  overflow-x: hidden;
}

body {
  color: #fff;
  font-family: "Hiragino Mincho ProN", "Hiragino Mincho Pro", "Yu Mincho", "YuMincho", "MS PMincho", serif;
  position: relative;
  background:#000;
  margin: 0;
  padding: 0;
  min-height: 100vh; /* 画面いっぱいに広がるように */
  z-index: 0;
}

a{
  text-decoration:none;
  color:#fff;
}

h2{
  text-align: center;
}

h2 img{
  height:31px;
  max-width:100%;
}

.about, .feature, .product, .store{
  padding:100px 12%;
}


body::before {
  content: "";
  position: fixed; /* ここを変更 */
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #000;
  background-size: cover;
  background-position: center;
  z-index: -1; /* 背景がコンテンツの後ろに来るように */
}

.text{
  letter-spacing: 0.08em;
  line-height: 2;
}

.text-en{
  margin-top:50px;
  font-size:12px;
}

/* ロゴ */
.scroll-logo {
  position: fixed;
  top: 10%;
  left: 50%;
  width: min(80vw, 400px);
  transform: translateX(-50%);
  z-index: 1000;
  will-change: top, left, width, transform;
}

/* ファーストビュー */
.fv {
  min-height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 380px 20px 40px;
}

.fv-inner {
  text-align: center;
}

.fv-inner img{
  width:80%;
}


/* 文字 */
.top-text {
  height: 40vh;              /* min-height ではなく height */
  padding: 10px 20px;
  display: flex;             /* これが必要 */
  justify-content: center;   /* 横中央 */
  align-items: center;       /* 縦中央 */
}

.top-text > img {
  max-height: 70%;
  max-width:40%;
  width: auto;
  display: block;
}


/*about*/

/*写真のパララックス*/
.parallax-photo {
  will-change: transform;
}

.about-text{
  margin-top:30px;
}

.img01-text{
  margin-top:60px;
}

.img01{
  text-align: center;
}
.img01 .parallax-img01 {
  display: inline-block;
  width: 100%;
}

.img01 .parallax-img01 img {
  max-width: 100%;
  height: auto;
  border: 2px solid #fff;
  box-sizing: border-box;
}

.img02-03 {
  position: relative;
  margin-top: 70px;
  width: 100%;
  padding-bottom: 120px; /* 重なり分の高さ確保。必要に応じて調整 */
}

.img02-03 img {
  display: block;
  height: auto;
  /*border-radius: 10px;*/
  border: 2px solid #fff;
  box-sizing: border-box;
}

.img02-03 .parallax-img02 {
  position: relative;
  z-index: 2;
  width: 75%;
  max-width: 75%;
  margin-right: auto;
}

.img02-03 .parallax-img03 {
  position: absolute;
  z-index: 3;
  width: 50%;
  max-width: 50%;
  right: 0;
  top: 50%;
}


.img01-text-en,
.img02-03-text-en,
.store-text-en {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.img01-text-en.show,
.img02-03-text-en.show,
.store-text-en.show {
  opacity: 0.7; /* 今の text-en の見た目に合わせる */
  transform: translateY(0);
}

.img02-03 .parallax-photo img {
  display: block;
  width: 100%;
  height: auto;
  border: 2px solid #fff;
  box-sizing: border-box;
}



.about-text.typing-ready,
.store-text.typing-ready,
.img01-text-en.typing-ready,
.img02-03-text-en.typing-ready,
.store-text-en.typing-ready {
  visibility: hidden;
}

.about-text.typing-active,
.about-text-en.typing-active,
.store-text-en.typing-active {
  visibility: visible;
}

.about-text.typing-active::after,
.about-text-en.typing-active::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 1em;
  margin-left: 6px;
  background: #fff;
  vertical-align: -0.1em;
  animation: typingCursorBlink 0.8s steps(1) infinite;
}

.about-text.typing-done::after,
.about-text-en.typing-done::after {
  display: none;
}

.store-text.typing-active::after,
.store-text-en.typing-active::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 1em;
  margin-left: 6px;
  background: #fff;
  vertical-align: -0.1em;
  animation: typingCursorBlink 0.8s steps(1) infinite;
}

.store-text.typing-done::after,
.store-text-en.typing-done::after {
  display: none;
}

@keyframes typingCursorBlink {
  0%, 50% {
    opacity: 1;
  }
  50.01%, 100% {
    opacity: 0;
  }
}





/*特徴*/
.feature{
  background:#000;
  border-top:solid 1px #fff;
  border-bottom:solid 1px #fff;
}

.feature-content {
  position: relative;
  width: 100%;
  max-width: 600px; /* 必要に応じて調整 */
  aspect-ratio: 1 / 1.2; /* 画像比率に合わせて調整 */
  margin: 100px auto 30px auto;
}


.feature-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  display: block;
}

.feature01 {
  z-index: 1;
}

.feature02 {
  z-index: 2;
}

.feature-button {
  position: absolute;
  z-index: 5;
  width: 13%;
  aspect-ratio: 1 / 1;
  border: none;
  border:solid 1px #000;
  background: #fff;
  cursor: pointer;
  padding: 0;
  transform-origin: center center;
  animation: featurePulseButton 3s ease-in-out infinite;
}

.feature-button::before,
.feature-button::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: #000;
  transform: translate(-50%, -50%);
  border-radius: 999px;
}

.feature-button::before {
  width: 20px;
  height: 2px;
}

.feature-button::after {
  width: 2px;
  height: 20px;
}

.feature03 {
  top: 30%;
  left: 22%;
}

.feature04 {
  bottom: 33%;
  right: 22%;
}

@keyframes featurePulseButton {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
}

.feature-button:hover {
  animation-play-state: paused;
  filter: brightness(1.08);
  background:#58b331;
  border:solid 1px #fff;

}

.feature-button:hover::before,
.feature-button:hover::after{
  background:#fff;
}



#popup2, #popup3{
  background-color: #fff;
  border:solid 1px #000;
  max-width:500px;
  margin:0 auto;
}
#closePopup2, #closePopup3{
  color:#000;
}
.popup02-img{
  padding:30px 0px;
}
.popup02-img img{
  width:100%;
  max-width:500px;
}
.popup02-text{
  color:#000;
}
.popup02-under{
  padding:10px 30px 30px 30px;
}

.popup-content-c{
  max-width:400px;
  margin:0 auto;
}
/* popup2, popup3 だけ内容に応じた高さ + 上限80vh */
#popup2,
#popup3 {
  top: 50% !important;
  left: 30px;
  right: 30px;
  bottom: auto !important;
  transform: translateY(-50%) !important;

  height: auto !important;
  max-height: 80vh !important;
  overflow: hidden !important; /* 本体からはみ出さないようにする */
  box-sizing: border-box;
}

/* スクロールは中身側に持たせる */
#popup2 .popup-content,
#popup3 .popup-content {
  height: auto !important;
  min-height: auto !important;
  max-height: calc(80vh - 140px) !important; /* popupのpaddingぶんを考慮 */
  overflow-y: auto !important;
  box-sizing: border-box;
}

/* 念のため内側ラッパーも高さ固定を解除 */
#popup2 .popup-content-c,
#popup3 .popup-content-c {
  height: auto !important;
  min-height: auto !important;
}

.popup02-text-en{
  color:#000;
}



/*商品*/

.product{
  text-align:center;
}

.product-content-img{
  padding:50px 0px;
}

.product-content-img img{
  width: 90%;
  max-width: 500px;
  filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.4));
}


/*販売店*/

.store{
  padding-top:40px;
}

.store-content{
  padding:50px 0px;
}

.button-container {
  margin-top:70px;
  display: flex;
  justify-content: center;
}

.transparent-button {
  display: inline-block;
  background-color: transparent;
  color: white;
  border: 1px solid white;
  padding: 10px 30px;
  font-size:16px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
  width:100%;
}

.transparent-button:hover {
  background-color: white;
  color: black;
}

/*footer*/

.footer-center{
  text-align:center;
}

.footer-img {
  position: relative;
  width: 80%;
  max-width: 600px; /* 必要に応じて調整 */
  aspect-ratio: 3 / 1; /* 画像比率に合わせて調整 */
  margin: 30px auto;
}

footer p{
  font-size:10px;
  padding-bottom:40px;
}


.bottom-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  display: block;
}

.bottom01 {
  z-index: 3;
}

.bottom02 {
  z-index: 1;
}

.bottom03 {
  z-index: 2;
  animation: blinkbottom03 7s infinite;
}

@keyframes blinkbottom03 {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}


footer ul {
  display: flex;
  flex-wrap: wrap;        /* 画面が狭い時は折り返し */
  justify-content: center; /* 必要なければ削除OK */
  align-items: center;
  gap: 0;                /* / で区切るのでgapは基本なし */
  padding: 70px 0;
  margin: 0;
  list-style: none;
}

footer ul li {
  display: flex;
  align-items: center;
  font-size: 14px;       /* お好みで */
}

footer ul li::after {
  content: "　/　";
  white-space: pre;      /* スペースを保持 */
}

footer ul li:last-child::after {
  content: "";
}

footer ul li a {
  color: inherit;
  text-decoration: none;
}

footer ul li a:hover {
  text-decoration: underline;
}






/*ポップアップ*/


/* ポップアップのスタイリング */
.popup {
  display: none; /* デフォルトでは非表示 */
  position: fixed;
  top: 30px;
  left: 30px;
  right: 30px;
  bottom: 30px;
  z-index: 2000; /* ポップアップを最前面に */
  overflow-y: auto; /* 内容が多い場合は内部をスクロール */
  padding:70px 0px;
}

#popup{
  background-color: #000;
  border: 2px solid #fff;
  max-width:500px;
  margin:0 auto;
}

.popup-content {
  position: relative;
  width: 100%;
  height: 100%;
}

.close-button {
  color:#ffffff;
  position: absolute;
  top: 10px;
  right: 18px;
  font-size: 35px;
  background: none;
  border: none;
}

.close-button:hover{
  cursor: pointer;
}

/* 半透明の背景 */
.popup-overlay {
  display: none; /* デフォルトでは非表示 */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* 80%の黒いスクリーン */
  z-index: 1999; /* 背景をポップアップの下に */
}


/*ポップアップコンテンツ*/
.pop-block{
  font-size:14px;
}

.caption {
  font-size: 12px; /* キャプションのフォントサイズを小さく設定 */
  margin-top: 5px; /* 画像とキャプションの間隔を設定 */
}

.about-p-end{
  padding-bottom:40px;
}

.fudoki{
  text-align:right;
  font-size:9px;
}
/*ポップアップコンテンツ終了*/
/*ポップアップ終了*/



/* パララックス背景模様 */
.parallax-moyo {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: -1;
}

.moyo {
  position: absolute;
  width: 200px;
  height: 200px;
  background-image: url('img/moyo/moyo-y.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.5;
  will-change: transform;
}


.moyo01 {
  top: 2%;
  left: -40px;
}

.moyo02 {
  bottom: -75%;
  left: 60%;
}



/*浮遊リング*/
.top-text,
.store {
  position: relative;
}

/* 浮遊 + パララックス用の外側 */
.float-parallax {
  position: absolute;
  width: 150px;
  height: 150px;
  pointer-events: none;
  z-index: -1;
  will-change: transform;
}

/* 浮遊アニメーション用の内側 */
.float-inner {
  width: 100%;
  height: 100%;
  animation: floatMoyo 20s ease-in-out infinite;
}

.float-inner img {
  display: block;
  width: 100%;
  height: 100%;
}

/* ふわふわ浮く動き */
@keyframes floatMoyo {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  25% {
    transform: translateY(-8px) rotate(3deg);
  }
  50% {
    transform: translateY(4px) rotate(0deg);
  }
  75% {
    transform: translateY(-6px) rotate(-3deg);
  }
  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

.ring-top-text .float-inner {
  animation-duration: 5.8s;
  animation-delay: 0s;
}

.ring-store .float-inner {
  animation-duration: 7.2s;
  animation-delay: 1.1s;
}

.ring-top-text {
  top: -70px;
  right: -40px;
  opacity:0.7;
}

.ring-store {
  top: 90px;
  left: -35px;
  opacity:0.7;
}


/*フェードイン（しずくコピー）*/
.fadein {
	opacity : 0.1;
	transform : translate(0, 50px);
	transition : all 500ms;
	}

  .fadein.scrollin {
	opacity : 1;
	transform : translate(0, 0);
	}







  @media screen and (min-width: 601px){

    .about, .feature, .product, .store {
    padding: 200px 12%;
}


    .scroll-logo {
  top: 100px;
  left: 30%;
  width: min(28vw, 320px);
  transform: translateX(-50%);
}

.fv-inner {
  text-align: center;
}

.fv-inner img{
  width:73%;
  max-width:700px;
  padding-left:20%;
}

.fv {
    padding: 260px 20px 130px;
}

.moyo {
  width: 400px;
  height: 400px;
  background-image: url('img/moyo/moyo-y-pc.svg');
}


.moyo01 {
  top: 2%;
  left: -40px;
}

.moyo02 {
  bottom: -75%;
  left: 60%;
}

.float-parallax {
  position: absolute;
  width: 280px;
  height: 280px;
  pointer-events: none;
  z-index: -1;
  will-change: transform;
}


.ring-top-text {
  top: -70px;
  right: -70px;
  opacity:0.3;
}

.ring-store {
  top: 90px;
  left: -55px;
  opacity:0.3;
}

.img01-text,.img02-03-text{
  margin-top:150px;
}



    .img01 img{
      max-width:500px !important;
    }

    .img02-03 .parallax-img02{
      max-width:375px !important;
    }

    .img02-03 .parallax-img03{
      max-width:250px;
    }

    .body-pc{
      max-width:780px;
      margin:0 auto;
    }
    .body-pc-feature{
      max-width:400px;
    }

    .product-content-img img{
      max-width:350px;
    }

    h2 img {
    height: 40px;
    max-width: 100%;
    padding-bottom:40px;
}

.store-content {
  text-align:center;
}

.button-container{
  max-width:400px;
  margin-right:auto;
  margin-left:auto;
}


  }