@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;
    color: #333;
  margin-top: -20px;
  overflow-x: hidden; /* はみ出した画像を隠す */
}


.top-view {
  position: relative;
}

/* スター装飾 */
.main-deco-star {
  position: absolute;
  top: -20%;   /* ← ここで上に逃がす */
  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: -5%;   /* ← ここで上に逃がす */
  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;
  }
}



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

.fortune-title {
  display: inline-block;
  margin-bottom: 80px;
  padding: 80px 120px;
  background-image: url(../img/724.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  position: relative;
  z-index: 12;
}


.fortune-title h2 {
  font-size: 2rem;
  font-weight: 500;
  color: #866488;
  font-family: 'CustomFont3', sans-serif;
  padding-bottom: 20px;

}
.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: 60px 80px;
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

.fortune-title h2 {
  font-size: 1.6rem;
  font-weight: 500;
  color: #866488;
  font-family: 'CustomFont3', sans-serif;
  padding-bottom: 20px;

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

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

  .fortune-license {
    text-align: left;
  }
  .fortune-photo {
  flex: 1;
  text-align: center;
  max-width: 300px;
}


/* 占い師紹介 背景アクセント */
.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;
}
}
/* =========================
  Story Section 全体
========================= */
.story-section {
    padding: 0px 20px;
    font-family: 'CustomFont3', sans-serif;
      opacity: 1 !important;
  transform: none !important;
  position: relative;
  z-index: 12;
}

/* =========================
  内枠
========================= */
.story-inner {
    max-width: 760px;
    margin: 0 auto;
    background: #ffffff;
    padding: 70px 50px;
    border-radius: 20px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.06);
}

/* =========================
  前置き
========================= */
.story-intro {
    padding-bottom: 50px;
    margin-bottom: 70px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.story-intro p {
    margin-bottom: 24px;
    line-height: 2;
    color: #444;
}

.story-greeting {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 32px;
}

.story-invite {
    margin-top: 40px;
    font-style: italic;
    opacity: 0.75;
    text-align: center;
}

/* =========================
  メインタイトル
========================= */
.story-main-title {
    position: relative;
    text-align: center;
    font-size: 2rem;
    margin: 0px 0 80px;
    letter-spacing: 0.14em;
    font-weight: 500;
    color: #333;
}

/* 上の小見出し */
.story-main-title::before {
    content: "STORY";
    display: block;
    font-size: 0.9rem;
    letter-spacing: 0.35em;
    color: #b9a6ff;
    margin-bottom: 12px;
}

/* 下の装飾ライン */
.story-main-title::after {
    content: "";
    display: block;
    width: 100px;
    height: 1px;
    background: linear-gradient(
        to right,
        transparent,
        #b9a6ff,
        transparent
    );
    margin: 24px auto 0;
}

/* =========================
  各ストーリーブロック
========================= */
.story-block {
    margin-bottom: 70px;
}

/* サブタイトル */
.story-sub-title {
    display: inline-block;
    font-size: 1.15rem;
    margin-bottom: 30px;
    padding: 10px 20px;
    border-radius: 10px;
    background: rgba(185, 166, 255, 0.12);
    color: #333;
    letter-spacing: 0.05em;
}

/* 本文 */
.story-block p {
    margin-bottom: 22px;
    line-height: 2;
    color: #444;
}

/* 感情強調（任意で使える） */
.story-block p em {
    font-style: normal;
    color: #7d6bcf;
}

/* =========================
  締め
========================= */
.story-closing {
    text-align: center;
    margin-top: 80px;
    padding-top: 50px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.story-closing p {
    margin-bottom: 22px;
    line-height: 2;
    color: #444;
}

/* =========================
  フェードイン用（既存JS想定）
========================= */
.fade-in-target {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease, transform 1s ease;
}

.fade-in-target.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================
  スマホ対応
========================= */
@media (max-width: 768px) {
    .story-inner {
        padding: 45px 22px;
        border-radius: 16px;
    }

    .story-main-title {
        font-size: 1.5rem;
        margin: 70px 0 60px;
    }

    .story-sub-title {
        font-size: 1.05rem;
    }

    .story-intro {
        margin-bottom: 50px;
    }
}



/* 占いの種類エリア */
.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-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;
}

/* 各料金行 */
.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 20px;

  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 20px;

  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;
}
}
