@charset "UTF-8";
/*--------------------------
文字に対して、一括でfont-size、line-height、letter-spacing、font-weightを指定する
line-heightがpxの場合
---------------------------*/
/*--------------------------
文字に対して、一括でfont-size、line-height、letter-spacing、font-weightを指定する
line-heightが％の場合
---------------------------*/
/*--------------------------------
    remの換算
--------------------------------*/
/*--------------------------------
    vwにする
--------------------------------*/
/*--------------------------------
    親要素に対する割合
--------------------------------*/
/*--------------------------------
背景のグラデーション
--------------------------------*/
/*--------------------------------
一次関数
画面幅 1440pxの時は、120pxで、そこからどんどん小さくなり、1000pxの時に20pxになるという実装の際に使える関数。
--------------------------------*/
/*--------------------------------
一次関数（最大値、最小値付き）
画面幅 1440pxの時は、120pxで、そこからどんどん小さくなり、1000pxの時に20pxになるという実装の際に使える関数。
--------------------------------*/
/*--------------------------------
擬似要素の背景
--------------------------------*/
/*--------------------------------
三角形
--------------------------------*/
/*--------------------------
  フォント読み込み
---------------------------*/
body {
  font-family: "Shippori Mincho B1", YuMincho, "Yu Mincho", "Noto Serif JP", serif, "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "Hiragino Sans", "ヒラギノ角ゴシック", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", Arial, Helvetica, sans-serif;
  color: #333;
  background: url(../img/pc-bg.jpg) center top repeat;
}
@media (min-width: 641px) {
  body {
    background-attachment: fixed;
  }
}

@media screen and (min-width: 768px) {
  .sp {
    display: none;
  }
}

.pc {
  display: none;
}
@media screen and (min-width: 768px) {
  .pc {
    display: block;
  }
}

/*--------------------------------
リキッドの設定（750pxカンプ基準・640pxで固定）
--------------------------------*/
html {
  font-size: 2.1333333333vw;
}
@media (min-width: 640px) {
  html {
    font-size: 13.6533333333px;
  }
}

*,
*::before,
*::after {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

/* Remove default padding */
ul,
ol {
  padding: 0;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
ul,
ol,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

/* Set core root defaults */
html {
  scroll-behavior: smooth;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

/* Remove list styles on ul, ol elements with a class attribute */
ul,
ol {
  list-style: none;
}

a {
  text-decoration: none;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  -webkit-text-decoration-skip: ink;
          text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img {
  max-width: 100%;
  display: block;
  width: 100%;
}

/* Natural flow and rhythm in articles by default */
article > * + * {
  margin-top: 1em;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

/* Blur images when they have no alt attribute */
img:not([alt]) {
  -webkit-filter: blur(10px);
          filter: blur(10px);
}

/* フォームリセット */
input,
button,
select,
textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: transparent;
  border: none;
  border-radius: 0;
  font: inherit;
  outline: none;
}

textarea {
  resize: vertical;
}

input[type=checkbox],
input[type=radio] {
  display: none;
}

input[type=submit],
input[type=button],
label,
button,
select {
  cursor: pointer;
}

select::-ms-expand {
  display: none;
}

.inner {
  width: 100%;
  padding-right: 1.875rem;
  padding-left: 1.875rem;
  margin-right: auto;
  margin-left: auto;
  max-width: 640px;
}

/* ==================================================
   占いLP - 全体スタイル
   - デザイン基準幅 750px / 表示最大幅 640px
   - 画像は <img> エッジtoエッジ、CTAは絶対配置(% or rem)
================================================== */
.opacity-hover {
  -webkit-transition: -webkit-transform 0.3s ease, -webkit-filter 0.3s ease;
  transition: -webkit-transform 0.3s ease, -webkit-filter 0.3s ease;
  transition: transform 0.3s ease, filter 0.3s ease;
  transition: transform 0.3s ease, filter 0.3s ease, -webkit-transform 0.3s ease, -webkit-filter 0.3s ease;
}
@media (hover: hover) and (pointer: fine) {
  .opacity-hover:hover {
    -webkit-transform: translateX(-50%) translateY(-1px);
            transform: translateX(-50%) translateY(-1px);
    -webkit-filter: brightness(1.08);
            filter: brightness(1.08);
  }
}

/* メインラッパー（pc-bg.jpg の前面に重なる本体カラム） */
.lp {
  width: 100%;
  max-width: 640px;
  margin-right: auto;
  margin-left: auto;
  position: relative;
  background: #ffffff;
}

.lp > section,
.lp > footer {
  position: relative;
  display: block;
}

.lp > section > img,
.lp > footer > img {
  width: 100%;
  height: auto;
  display: block;
}

/* ==========================
     ① ファーストビュー
  ========================== */
.fv__cta {
  position: absolute;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  bottom: 10.8378170638%;
  width: 42.875rem;
  z-index: 2;
  display: block;
}

.fv__cta img {
  width: 100%;
  height: auto;
  display: block;
}

/* ==========================
     ④ 解決策
  ========================== */
.sec04__cta {
  position: absolute;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  bottom: 10.0911458333%;
  width: 42.875rem;
  z-index: 2;
  display: block;
}

.sec04__cta img {
  width: 100%;
  height: auto;
  display: block;
}

/* ==========================
     ⑥ アンケート
     - qa-top.jpg(750x528) を頂部に置き、配下に qa-bg を縦リピート
     - 上下に重ねるため margin で調整（実機で値を微調整）
  ========================== */
.survey {
  margin-top: -0.0625rem;
}

.survey__top {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 1;
}

.survey__body {
  background: url(../img/qa-bg.png) center top repeat;
  background-size: 100% auto;
  padding: 21.125rem 1.875rem 5rem;
  margin-top: -18.125rem;
}

.survey__form {
  display: block;
}

/* ==========================
     .qa（白カード１枚 = 1問）
  ========================== */
.qa {
  position: relative;
  background: #ffffff;
  border: none;
  border-radius: 1.875rem;
  padding: 3.625rem 1.875rem 6.375rem;
}

.qa + .qa {
  margin-top: 1.25rem;
}

.qa.is-error {
  -webkit-box-shadow: 0 0 0 0.1875rem #c0392b;
          box-shadow: 0 0 0 0.1875rem #c0392b;
}

.qa.is-shake {
  -webkit-animation: qaShake 0.4s ease-in-out;
          animation: qaShake 0.4s ease-in-out;
}

.qa.is-error::before {
  content: "選択してください";
  position: absolute;
  top: 1.25rem;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  background: #c0392b;
  color: #ffffff;
  font-family: "Shippori Mincho B1", YuMincho, "Yu Mincho", "Noto Serif JP", serif, "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "Hiragino Sans", "ヒラギノ角ゴシック", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", Arial, Helvetica, sans-serif;
  font-size: 1.75rem;
  font-weight: 600;
  padding: 0.625rem 2.25rem;
  border-radius: 3.125rem;
  letter-spacing: 0.1em;
  white-space: nowrap;
  z-index: 4;
  pointer-events: none;
  -webkit-animation: errorBadgeIn 0.3s ease-out;
          animation: errorBadgeIn 0.3s ease-out;
}

@-webkit-keyframes qaShake {
  0%, 100% {
    -webkit-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
  }
  20% {
    -webkit-transform: translate3d(-0.375rem, 0, 0);
            transform: translate3d(-0.375rem, 0, 0);
  }
  40% {
    -webkit-transform: translate3d(0.375rem, 0, 0);
            transform: translate3d(0.375rem, 0, 0);
  }
  60% {
    -webkit-transform: translate3d(-0.25rem, 0, 0);
            transform: translate3d(-0.25rem, 0, 0);
  }
  80% {
    -webkit-transform: translate3d(0.25rem, 0, 0);
            transform: translate3d(0.25rem, 0, 0);
  }
}

@keyframes qaShake {
  0%, 100% {
    -webkit-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
  }
  20% {
    -webkit-transform: translate3d(-0.375rem, 0, 0);
            transform: translate3d(-0.375rem, 0, 0);
  }
  40% {
    -webkit-transform: translate3d(0.375rem, 0, 0);
            transform: translate3d(0.375rem, 0, 0);
  }
  60% {
    -webkit-transform: translate3d(-0.25rem, 0, 0);
            transform: translate3d(-0.25rem, 0, 0);
  }
  80% {
    -webkit-transform: translate3d(0.25rem, 0, 0);
            transform: translate3d(0.25rem, 0, 0);
  }
}
@-webkit-keyframes errorBadgeIn {
  from {
    opacity: 0;
    -webkit-transform: translateX(-50%) translateY(-0.375rem);
            transform: translateX(-50%) translateY(-0.375rem);
  }
  to {
    opacity: 1;
    -webkit-transform: translateX(-50%) translateY(0);
            transform: translateX(-50%) translateY(0);
  }
}
@keyframes errorBadgeIn {
  from {
    opacity: 0;
    -webkit-transform: translateX(-50%) translateY(-0.375rem);
            transform: translateX(-50%) translateY(-0.375rem);
  }
  to {
    opacity: 1;
    -webkit-transform: translateX(-50%) translateY(0);
            transform: translateX(-50%) translateY(0);
  }
}
.qa__deco {
  position: absolute;
  top: 1.1875rem;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  width: 15.6875rem;
  height: 2.4375rem;
  pointer-events: none;
}

.qa__num {
  text-align: center;
  color: #674E06;
  font-family: "Italianno", sans-serif;
  font-size: 6.25rem;
  line-height: 1.1;
  font-weight: 400;
  margin-top: 0.625rem;
}

.qa__title {
  margin-top: 0.25rem;
  display: block;
  width: 100%;
  text-align: center;
  font-size: 2.8125rem;
  line-height: 1.2222222222;
  font-weight: 700;
}

.qa__options {
  width: 37.5rem;
  margin-top: 3.4375rem;
  margin-inline: auto;
  list-style: none;
  padding: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 1.25rem;
}

.mt-30 {
  margin-top: 1.875rem;
}

.ls-50 {
  letter-spacing: -0.05em;
}

.qa__corner {
  position: absolute;
  width: 8.25rem;
  height: 8.1875rem;
  pointer-events: none;
  display: block;
}

.qa__corner--tl {
  top: 1.4375rem;
  left: 1rem;
}

.qa__corner--tr {
  top: 1.4375rem;
  right: 1rem;
  -webkit-transform: rotate(90deg);
          transform: rotate(90deg);
}

.qa__corner--br {
  bottom: 1.4375rem;
  right: 1rem;
  -webkit-transform: rotate(180deg);
          transform: rotate(180deg);
}

.qa__corner--bl {
  bottom: 1.4375rem;
  left: 1rem;
  -webkit-transform: rotate(270deg);
          transform: rotate(270deg);
}

/* ==========================
     選択肢ボタン
  ========================== */
.qa-option {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  border: 1px solid #674E06;
  background: #ffffff;
  padding: 0.3125rem;
  height: 5.8125rem;
  cursor: pointer;
  -webkit-box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.25);
          box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.25);
  -webkit-transition: background 0.15s ease, color 0.15s ease;
  transition: background 0.15s ease, color 0.15s ease;
}

.qa-option__inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 100%;
  height: 100%;
  gap: 1.5rem;
  border: 1px solid rgba(103, 78, 6, 0.7);
  background: transparent;
}

.qa-option:has(input:checked) {
  background: #9F763B;
}

.qa-option:has(input:checked) .qa-option__num,
.qa-option:has(input:checked) .qa-option__text {
  color: #ffffff;
}

.qa-option__num {
  padding-left: 0.25rem;
  padding-top: 0.5rem;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  color: #BC9356;
  font-size: 5.625rem;
  line-height: 0.7;
  font-weight: 400;
  font-family: "Italianno", sans-serif;
}

li:not(:first-child) .qa-option__num {
  letter-spacing: -0.05em;
}

.qa-option__text {
  font-size: 1.875rem;
  font-weight: 700;
}

/* ==========================
     ⑦ Footer
     - footer-bg.jpg を <img> で配置
     - 上から51px の位置に cta-line.jpg を絶対配置
     - その下にテキスト
  ========================== */
.footer {
  position: relative;
  margin-top: -2.625rem;
}

.footer__bg {
  width: 100%;
  height: auto;
  display: block;
}

.footer__line {
  position: absolute;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  top: 11.8329466357%;
  width: 42.875rem;
  z-index: 2;
  display: block;
}

.footer__line img {
  width: 100%;
  height: auto;
  display: block;
}

.footer__note {
  position: absolute;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  top: 54.524361949%;
  width: 100%;
  text-align: center;
  color: #ffffff;
  text-shadow: 4px 4px 10px rgba(0, 0, 0, 0.5);
  font-size: 2.1875rem;
  letter-spacing: -0.05em;
  font-weight: 800;
  z-index: 2;
  margin: 0;
}