@charset "UTF-8";

@font-face {
    font-family: 'CustomFont'; /* フォントの名前 */
    src: url('../fonts/adago_mini.otf') format('truetype'); /* フォントファイルへのパス */
    font-weight: 900; /* より細いフォントの太さ */
    font-style: normal; /* フォントのスタイル */
  }
@font-face {
    font-family: 'CustomFont2'; /* フォントの名前 */
    src: url('../fonts/GoldenGooseUppercase-VariableVF.ttf') format('truetype'); /* フォントファイルへのパス */
    font-weight: 900; /* より細いフォントの太さ */
    font-style: normal; /* フォントのスタイル */
  }
@font-face {
    font-family: 'CustomFont3'; /* フォントの名前 */
    src: url('../fonts/Medium.ttf') format('truetype'); /* フォントファイルへのパス */
    font-weight: 900; /* より細いフォントの太さ */
    font-style: normal; /* フォントのスタイル */
  }



body {
  background-image: url(../img/background.jpg);
  background-position: right;
  background-size: cover;
    font-family: 'CustomFont', sans-serif;

}

main {
  position: relative;
  overflow: hidden; /* はみ出した画像を隠す */
    color: #333;
  margin-top: -20px;
}

.top-view {
  position: relative;
  min-height: 100vh; /* ファーストビュー */
}

/* スター装飾 */
.main-deco-star {
  position: absolute;
  top: -50%;   /* ← ここで上に逃がす */
  right: 0;
  z-index: 1;
  pointer-events: none;
}

.main-deco-star img {
  display: block;
  width: 620px;
  height: auto;
  transform: translateX(40%); /* Yは使わない */
}

/* 左下装飾 */
.main-deco-left-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 1;
  pointer-events: none;
}

.main-deco-left-bottom img {
  display: block;
  width: 620px;
  height: auto;
  transform: translateX(-50%) translateY(30%);
}
@media (max-width: 768px) {

/* スター装飾 */
.main-deco-star {
  position: absolute;
  top: -40%;   /* ← ここで上に逃がす */
  right: 0;
  z-index: 1;
  pointer-events: none;
}
  .main-deco-star img {
    width: 360px;
    transform: translateX(40%); /* Yは使わない */
  }

    .main-deco-left-bottom {
    bottom: -6%;
    left: 0;
  }

  .main-deco-left-bottom img {
    width: 360px;
    transform: translateX(-50%);
  }
}

.outline{
  position: relative;
  z-index: 5;
  border: white 2px solid;
  width: 60%;
  height: auto;
  padding: 10px;
  margin: 180px auto 0;
}
.back{
  background: rgba(255, 255, 255, 0.55); /* ← 半透明 */
  padding: 10px;
}

.frame {
  position: relative;
  height: 70vh;
  overflow: hidden;
  width: 100%;
}

/* 常時表示フレーム */
.frame::before{
  content: "";
  position: absolute;
  inset: 0;
  background-image: url(../img/270.png);
  background-size: 100% 100%;
  background-position: center;
  z-index: 3;
  pointer-events: none;
}

/* 写真レイヤー */
.frame-images {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.frame-images .img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;

  opacity: 0;
  filter: blur(12px);
  transform: scale(1.06);

  transition:
    opacity 1.6s ease,
    filter 1.6s ease,
    transform 1.6s ease;
}

/* 表示中の画像 */
.frame-images .img.active {
  opacity: 1;
  filter: blur(0);
  transform: scale(1);
}

@media (max-width: 1200px) {

.outline{
  position: relative;
  z-index: 5;
  border: white 2px solid;
  width: 80%;
  height: auto;
  padding: 10px;
  margin: 180px auto 0;
}
.back{
  background: rgba(255, 255, 255, 0.55); /* ← 半透明 */
  padding: 10px;
}

}
@media (max-width: 800px) {

.outline{
  position: relative;
  z-index: 5;
  border: white 2px solid;
  width: 90%;
  height: auto;
  padding: 10px;
  margin: 180px auto 0;
}
.back{
  background: rgba(255, 255, 255, 0.55); /* ← 半透明 */
  padding: 10px;
}

}
@media (max-width: 600px) {

  .frame {
  position: relative;
  height: 60vh;
  overflow: hidden;
  width: 100%;
}


/* 常時表示フレーム */
.frame::before{
  content: "";
  position: absolute;
  inset: 0;
  background-image: url(../img/274.png);
  background-size: 100% 100%;
  background-position: center;
  z-index: 3;
  pointer-events: none;
  
}
  .frame-images .img-left-focus {
    background-position: left center;
  }
}



/* ブランド説明 */
.brand-about {
  padding: 20px 20px;
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0.0),
    rgba(255,255,255,0.6),
    rgba(255,255,255,0.0)
  );
    position: relative;
  z-index: 10;
}

.brand-inner {
  position: relative;
  max-width: 800px;
  padding: 120px 0;
  margin: 0 auto;
  text-align: center;
  color: #555;
  line-height: 2;
  letter-spacing: 0.04em;
  background-image: url(../img/386553.png);
  background-size: 100% 100%;
}
.brand-title-img{
  margin: 0 auto;
  max-width: 300px;
  width: 100%;
}
.brand-title-img img{
  width: 100%;
}

.brand-title {
  font-size: 1.5rem;
  color: #333;
  font-weight: 500;
  margin: -10px 0 40px;
}

.brand-inner p {
  margin-bottom: 28px;
    font-family: 'CustomFont3', sans-serif;
  font-size: 1rem;
  line-height: 1.5;
}

/* フェードイン */
.fade-in-target {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.5s ease, transform 1.2s ease;
}

.fade-in-target.is-visible {
  opacity: 1;
  transform: translateY(0);
}
/* .brand-inner::after {
  content: "";
  position: absolute;

  bottom: -5%;
  left: 100%;
  transform: translate(-50%, -50%);

  width: 250px;
  height: 250px;

  background-image: url(../img/constellation_1.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;

  opacity: 0.40;          
  z-index: 0;          
  pointer-events: none; 
} */
.fortune-profile-btn {
  margin-top: 30px;
  text-align: right;
}

.profile-detail-btn {
  position: relative;
  display: inline-block;
  padding: 16px 36px;
  font-size: 1.2rem;
  font-family: 'CustomFont3', sans-serif;
  color: #ffffff;
  text-decoration: none;

  /* ピンク系グラデーション */
  background: linear-gradient(
    135deg,
    #f3a1b3,
    #e07aa5
  );

  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(224, 122, 165, 0.35);

  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.profile-detail-btn::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 6px;
  right: 6px;
  bottom: 6px;

  border: 2px dashed rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  pointer-events: none;
}
.profile-detail-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(224, 122, 165, 0.45);
}

/* スマホ微調整 */
@media (max-width: 600px) {

  .brand-inner {
  max-width: 800px;
  padding: 70px 0;
  margin: 0 auto;
  text-align: center;
  color: #555;
  line-height: 2;
  letter-spacing: 0.04em;
  background-image: url(../img/Untitled-3.png);
  background-size: 100% 100%;
}
  .brand-title-img{
  margin: 0 auto;
  max-width: 250px;
  width: 100%;
}
.brand-title-img img{
  width: 100%;
}

  .brand-about {
    padding: 0px 20px;
  }

  .brand-title {
    font-size: 1.3rem;
  }

  .brand-inner p {
    font-size: 0.85rem;
  }
    .brand-inner::after {
    width: 260px;
    height: 260px;
  }
    .fortune-profile-btn {
    text-align: center;
  }
}



/* 占い師紹介 */
.fortune-teller {
  position: relative;
  z-index: 10;
  padding: 140px 20px;
  text-align: center;
}

.fortune-title {
  display: inline-block;
  margin-bottom: 80px;
  padding: 40px 80px;
  background-image: url(../img/2715404.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

.fortune-title h2 {
  font-size: 1.6rem;
  font-weight: 500;
  color: #333;
  font-family: 'CustomFont3', sans-serif;

}
.fortune-body {
  position: relative;
  z-index: 11;
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  gap: 60px;
  align-items: center;
}
.fortune-photo {
  flex: 1;
  text-align: center;
}

.fortune-photo img {
  max-width: 100%;
  height: auto;
}
.fortune-profile {
  flex: 1;
  text-align: left;
}
.fortune-name {
  display: inline-block;
  padding: 20px 40px;
  margin-bottom: 30px;
  background-image: url(../img/7977.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

.fortune-name h3 {
  font-size: 1.4rem;
  font-weight: 500;
  color: #ffffff;
}
.fortune-message {
  margin-bottom: 40px;
  font-family: 'CustomFont3', sans-serif;
  font-size: 1.5rem;
  line-height: 1.7;
  color: #e29393;
}
.fortune-license {
  padding: 50px 40px;
  background-image: url(../img/78977.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

.fortune-license p {
  text-align: center;
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #ffffff;
  margin-bottom: 20px;
}

.fortune-license ul {
  padding-left: 20px;
  font-size: 1.3rem;
  color: #ffffff;
}

.fortune-license li {
  line-height: 1.6;
}

/* 占い師紹介 背景アクセント */
.fortune-teller::after {
  content: "";
  position: absolute;

  /* 右上あたり */
  top: 30%;
  right: 10%;

  width: 600px;
  height: 400px;

  background-image: url(../img/8977.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;

  opacity: 0.45;        /* 主張しすぎない */
  z-index: 0;           /* コンテンツより背面 */
  pointer-events: none;
}
@media (max-width: 768px) {

  .fortune-body {
    flex-direction: column;
    gap: 40px;
  }
  .fortune-title {
  display: inline-block;
  margin-bottom: 30px !important;
  padding: 40px 80px;
  background-image: url(../img/2715404.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
}


  .fortune-profile {
    text-align: center;
  }

  .fortune-message {
    text-align: center;
  }

  .fortune-license {
    text-align: left;
  }

/* 占い師紹介 背景アクセント */
.fortune-teller::after {
  content: "";
  position: absolute;

  /* 右上あたり */
  top: 50%;
  right: -10%;

  width: 400px;
  height: 300px;

  background-image: url(../img/8977.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;

  opacity: 0.45;        /* 主張しすぎない */
  z-index: 0;           /* コンテンツより背面 */
  pointer-events: none;
}
}



/* 占いの種類エリア */
.fortune-menu {
  position: relative;
  z-index: 10;
  padding: 100px 20px 30px;
  max-width: 1200px;
  margin: 0 auto;

  /* background: linear-gradient(
    to bottom,
    rgba(255,255,255,0.75),
    rgba(255,255,255,0.55)
  ); */
  background-image: url(../img/22493582.jpg);

  border-radius: 40px;
    opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.4s ease, transform 1.2s ease;
}

/* fortune-menu 背景の紫アクセント */
.fortune-menu::before,
.fortune-menu::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  filter: blur(2px);
}
/* 背景写真の上に白を被せる */
.fortune-menu::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 40px;

  background: rgba(255, 255, 255, 0.8); /* ← 白の濃さここで調整 */

  z-index: 0;
}

/* 右下の丸 */
.fortune-menu::after {
  width: 320px;
  height: 320px;
  bottom: -100px;
  right: -80px;

  background: radial-gradient(
    circle,
    rgba(199,168,226,0.35),
    rgba(199,168,226,0.0) 70%
  );
}


.fortune-title {
  display: block;              /* ← inline-block をやめる */
  width: fit-content;          /* 中身の幅だけ使う */
  margin: 0 auto 80px;         /* ← 完全センター */
  position: relative;
  z-index: 10;
  padding: 40px 80px;
  background-image: url(../img/2715404.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  text-align: center;
}

/* 表示後 */
.fortune-menu.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* 中身幅 */
.fortune-menu-inner {
  max-width: 1000px;
  margin: 0 auto;
}

/* 各占い */
.fortune-item {
  display: flex;
  gap: 50px;
  align-items: center;
  max-width: 100%;
  position: relative;
  padding: 60px 50px;
  margin-bottom: 120px;
    opacity: 0;
  transition:
    opacity 0.9s ease,
    transform 0.9s ease;
}
/* 右から来る（1つ目・3つ目） */
.fortune-item.from-right {
  transform: translateX(80px);
}

/* 左から来る（2つ目） */
.fortune-item.from-left {
  transform: translateX(-80px);
}

/* 表示されたら中央へ */
.fortune-item.is-visible {
  opacity: 1;
  transform: translateX(0);
}
/* 左上・右下に紫ライン装飾 */
.fortune-item::before,
.fortune-item::after {
  content: "";
  position: absolute;
  width: 80px;
  height: 80px;
  pointer-events: none;
}

.fortune-item::before {
  top: 0;
  left: 0;
  border-top: 2px solid rgba(155,123,199,0.6);
  border-left: 2px solid rgba(155,123,199,0.6);
  border-top-left-radius: 24px;
}

.fortune-item::after {
  bottom: 0;
  right: 0;
  border-bottom: 2px solid rgba(155,123,199,0.4);
  border-right: 2px solid rgba(155,123,199,0.4);
  border-bottom-right-radius: 24px;
}
/* 写真 */
.fortune-item-photo {
  flex: 1;
  text-align: center;
  width: 100%;
  max-width: 100%;
}

.fortune-item-photo img {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  max-width: 400px;
}

/* 右側テキスト */
.fortune-item-content {
  flex: 1;
}

.fortune-item-content h3 {
  font-size: 1.4rem;
  margin-bottom: 20px;
  padding-bottom: 12px;

  color: #4b2f6b;

  border-bottom: 1px solid rgba(155,123,199,0.4);
}

/* 説明文 */
.fortune-desc {
  font-family: 'CustomFont3', sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 30px;
  color: #555;
}

/* 料金 */
.fortune-price {
  position: relative;
  padding: 28px 28px 26px 32px;

  background: rgba(255,255,255,0.85);
  border-radius: 16px;

  /* 紫の縁アクセント */
  border-left: 4px solid rgba(155,123,199,0.7);

  /* ふわっと浮かせる */
  box-shadow:
    0 10px 30px rgba(120, 80, 160, 0.12),
    inset 0 0 0 1px rgba(155,123,199,0.15);
}

/* 上に小さな紫ラベル風アクセント */
.fortune-price::before {
  content: "PRICE";
  position: absolute;
  top: -12px;
  left: 24px;

  padding: 4px 12px;
  font-size: 0.7rem;
  letter-spacing: 0.15em;

  color: #fff;
  background: linear-gradient(
    135deg,
    #9b7bc7,
    #c7a8e2
  );

  border-radius: 12px;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .9rem;
}

.price-title {
  flex: 1;
}

.price-detail {
  white-space: nowrap;
}

/* 各料金行 */
.fortune-price p {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 6px;
  color: #444;
}

/* 金額だけほんのり強調 */
.fortune-price p:not(.fortune-note) {
  font-weight: 500;
}

/* 注意書き */
.fortune-note {
  margin-top: 14px;
  padding-top: 10px;
  font-size: 0.8rem;
  color: #666;

  border-top: 1px dashed rgba(155,123,199,0.4);
}

/* スマホ対応 */
@media (max-width: 1200px) {


/* 占いの種類エリア */
.fortune-menu {
  position: relative;
  z-index: 10;
  padding: 100px 20px 30px;
  max-width: 1200px;
  margin: 0 20px;
  border-radius: 40px;
    opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.4s ease, transform 1.2s ease;
}


}
/* スマホ対応 */
@media (max-width: 768px) {
  .fortune-menu {
  position: relative;
  z-index: 10;
  padding: 50px 10px 30px;
  max-width: 1200px;
  margin: 0 10px;

  border-radius: 40px;
    opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.4s ease, transform 1.2s ease;
}

  .fortune-item {
    flex-direction: column;
    gap: 30px;
  display: flex;
  gap: 50px;
  align-items: center;
  max-width: 100%;
  position: relative;
  padding: 15px 10px;
  margin-bottom: 120px;
  }

  .fortune-price {
  position: relative;
  padding: 20px 15px 15px 15px;

  background: rgba(255,255,255,0.85);
  border-radius: 16px;

  /* 紫の縁アクセント */
  border-left: 4px solid rgba(155,123,199,0.7);

  /* ふわっと浮かせる */
  box-shadow:
    0 10px 30px rgba(120, 80, 160, 0.12),
    inset 0 0 0 1px rgba(155,123,199,0.15);
}

  .fortune-item-content {
    text-align: center;
  }

  .fortune-price {
    text-align: left;
  }

  /* 各料金行 */
.fortune-price p {
  font-size: 0.85rem;
  line-height: 1.7;
  margin-bottom: 6px;
  color: #444;
}
/* 注意書き */
.fortune-note {
  margin-top: 14px;
  padding-top: 10px;
  font-size: 0.75rem;
  color: #666;

  border-top: 1px dashed rgba(155,123,199,0.4);
}

  .fortune-item-photo img {
    width: 100%;
    max-width: 100%;
    height: auto;
  }
  
    .fortune-item.from-right {
    transform: translateY(40px);
  }

  .fortune-item.from-left {
    transform: translateY(40px);
  }

}


/* ご利用の流れ */
.usage-flow {
  position: relative;
  padding: 140px 20px;
  text-align: center;
  font-family: 'CustomFont3', sans-serif;
}

.usage-flow-title {
  display: inline-block;
  margin-bottom: 80px;
  padding: 40px 80px;
  background-image: url(../img/2715404.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

.usage-flow-title h2 {
  font-size: 1.6rem;
  font-weight: 500;
  color: #333;
}
.usage-flow-steps {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 40px;
  justify-content: center;
}
.flow-step {
  position: relative;
  flex: 1;
  padding: 40px 30px 50px;
  background-color: #ffffff;

  /* ここ追加 */
  border-radius: 24px; /* 角丸 */
  box-shadow:
    0 12px 30px rgba(180, 120, 160, 0.18),
    0 4px 12px rgba(0, 0, 0, 0.05);

  overflow: hidden;
  text-align: center;

  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media (hover: hover) {
  .flow-step:hover {
    transform: translateY(-6px);
    box-shadow:
      0 18px 40px rgba(180, 120, 160, 0.25),
      0 6px 16px rgba(0, 0, 0, 0.08);
  }
}

.flow-step::after {
  content: "";
  position: absolute;

  bottom: -50px;
  right: -20px;

  width: 120px;
  height: 200px;
  rotate: 40deg;

  background-image: url(../img/1240902.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;

  pointer-events: none;
}
.flow-step-number {
  display: inline-block;
  margin-bottom: 40px;
  font-size: 1.1rem;
  color: #ffffff;
  padding: 5px 40px;
  background-image: url(../img/226943.png);
  background-size: 100% 100%;
}
.flow-step-illustration {
  margin-bottom: 30px;
}

.flow-step-illustration img {
  width: 100px;
  height: auto;
}
.flow-step-text {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #454545;
}
.line_btn {
  max-width: 500px;
  width: 100%;
  margin: 50px auto;
}

.line_btn a {
  display: block;
}

.line_btn img {
  width: 100%;
  display: block;

  transition:
    transform 0.25s ease,
    filter 0.25s ease;
}
@media (hover: hover) {
  .line_btn a:hover img {
    transform: rotate(-1.5deg) scale(1.02);
    filter: brightness(1.05);
  }
}

.line_btn a:active img {
  transform: scale(0.98);
}

@media (max-width: 768px) {

  .usage-flow-steps {
    flex-direction: column;
    align-items: center;

    gap: 30px;
  }
.usage-flow {
  position: relative;
  padding: 140px 20px 50px;
  text-align: center;
  font-family: 'CustomFont3', sans-serif;
}

  .flow-step {
    padding: 40px 30px;
  }
    .fade-in-target {
    opacity: 1 !important;
    transform: none !important;
  }
  .flow-step {
  position: relative;
  flex: 1;
  padding: 40px 30px 50px;
  background-color: #ffffff;
  max-width: 250px;
  width: 100%;

  /* ここ追加 */
  border-radius: 24px; /* 角丸 */
  box-shadow:
    0 12px 30px rgba(180, 120, 160, 0.18),
    0 4px 12px rgba(0, 0, 0, 0.05);

  overflow: hidden;
  text-align: center;

  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
}
