@charset "utf-8";

/* Source Han Serif (Regular) */
@font-face {
  font-family: 'SourceHanSerif';
  font-weight: 400;
  src: url('https://cdn.jsdelivr.net/gh/adobe-fonts/source-han-serif@2.003R/OTF/Japanese/SourceHanSerifJP-Regular.otf') format('opentype');
}
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@400;700&display=swap');

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

body {
  margin: 0;
  background: #8e88dd;
  color: #FFFFFF;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", Meiryo, sans-serif;
  line-height: 1.7;
  font-size: 16px;
}

.wrapper {
  max-width: 600px;
  margin: 0 auto;
  background-color: #0f001c;
}

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

/* Fade‑in (handled by jQuery) ------------------------------------------ */
.fadein {
  opacity: 0;          /* 初期は非表示 */
}

/* Bonus section images spacing */
.bonus-img + .bonus-img {
  margin-top: 16px;
}

/* Headings rendered as images ----------------------------------------- */
.heading-img {
  margin: 40px 0 24px;
  text-align: center;
}

.heading-img img {
  width: 100%;
}

/* Lists (得意な占術・鑑定内容) ------------------------------------------ */
.skills-list,
.topics-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: left;
}

/* ───────── skills-list ───────── */
.skills-list li {
  padding: 4px 8px;
  border: 1px solid #FFFFFF;
  border-radius: 4px;
  font-size: 14px;
  white-space: nowrap;
  background: linear-gradient(90deg, #7158E2 0%, #CD84F1 100%);
  color: #FFFFFF;
}

/* skills-list の highlight（ピンクグラデのまま）*/
.skills-list li.highlight {
  background: linear-gradient(90deg, #E258D2 0%, #F184B9 100%);
}

/* ───────── topics-list ───────── */
.topics-list li {
  padding: 4px 8px;
  border: 1px solid #FFFFFF;
  border-radius: 4px;
  font-size: 14px;
  white-space: nowrap;
  background: transparent;   /* ← グラデを外す */
  color: #FFFFFF;
}

/* topics-list の highlight（ソリッドピンク）*/
.topics-list li.highlight {
  border: 1px solid #FF79E0; /* 枠を残す場合 */
  color: #FF79E0;
}

/* Reviews -------------------------------------------------------------- */
.reviews {
  margin-bottom: 40px;
}

.reviews p {
  font-size: 14px;
  margin: 0 0 3em;
}

.reviews .mark{ 
  background: linear-gradient(transparent 0%, #5e3884 0%);
}

.reviewer,
.req-label {
  display: inline-block;
  vertical-align: middle;
  color: #AE85D6;
  font-weight: 800;
}

/* Reviewer star icon */
.review-icon,
.req-icon {
  width: 20px;
  height: auto;
  display: inline-block;
  vertical-align: middle;
  margin-right: 0px;   /* アイコンと文字の間隔 */
}

/* 署名行を右揃え */
.signature {
  display: block;          /* 行を独立させる */
  text-align: right;       /* 右寄せ */
  margin-top: 6px;         /* 文章との間隔はお好みで */
}

.signature .review-icon {
  margin-right: 4px;       /* アイコンと名前の間隔 */
}

/* CTA button ----------------------------------------------------------- */
.cta {
  margin: 40px 0;
}

.cta-btn img {
  width: 100%;
}

/* FAQ ----------------------------------------------------------------- */
.faq-heading {
  margin-top: 32px;
  margin-bottom: 0px;
}

.faq dl {
  margin: 0;
}

.faq dt {
  font-family: 'SourceHanSerif', serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* 1 つめだけ 0 に上書き */
.faq dt:first-of-type {
  margin-top: 0;
}

.q-icon {
  width: 60px;
  flex-shrink: 0;
  height: auto;
  object-fit: contain;
}

.faq dd {
  margin: 8px 0 0 0px;
  font-size: 14px;
}

/* Register form ------------------------------------------------------- */
.entry {
  margin-top: 60px;
}

.form-heading {
  margin-bottom: 24px;
}

.reg-attention {
  font-size: 12px;
  color: #FFFFFF;
  text-align: center;
}

.form-note {
  font-size: 12px;
  color: #fff;
  margin: -20px auto 30px auto;
  max-width: 400px;
  padding-left: 2px; /* 少し文字下げる */
}

/* -------- ラベル文字を入力欄の左端に合わせる -------- */
.reg-form label {
  font-size: 14px;
  margin: 0 auto 32px;   /* ← 24px → 32px など好きな数値に */
  padding-left: calc((100% - 400px) / 2);
  padding-bottom: 0;     /* ここは 0 に戻して OK */
}

@media (max-width: 420px) {
  .reg-form label {
    padding-left: 0;
  }
}


/* -------- 入力欄（中央寄せ）のまま維持 -------- */
.reg-form input[type="email"],
.reg-form input[type="password"] {
  display: block;
  width: 100%;
  max-width: 400px;
  padding: 18px 14px;
  border-radius: 4px;
  border: none;
  border: 1px solid #E258D2; /* ← 縁取りを追加 */
  font-size: 15px;
  margin: 4px auto 30px;        /* ← 中央に配置 */
}


.reg-form .submit-btn img {
  width: 100%;
}

/* Registration form container */
.reg-form {
  width: 90%;
  max-width: 600px;
  margin: 0 auto -29px;
}

.reg-form label input {
  margin-top: 4px;      /* ← ラベル文と入力ボックスの間隔 */
}

/* ボトム画像に相対位置を与える */
.form-bottom {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 1;
  margin-top: 16px;
}

/* Required icon */
.req-icon {
  width: 28px;                /* 既定サイズ */
  height: auto;
  display: inline-block;
  vertical-align: middle;     /* ★ 中央揃えのポイント */
  margin-left: 4px;
}

/* -------- 利用規約 チェックボックス -------- */
.reg-form .terms {
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 24px;
}

.reg-form .terms input[type="checkbox"] {
  width: 24px;          /* 好きなサイズに変更 */
  height: 24px;
  accent-color: #E258D2;   /* □や✔ の色をピンク寄りに（対応ブラウザのみ） */
  border: 1px solid #E258D2; /* ← 明示的な枠線を追加 */
  cursor: pointer;
}

.terms a {
  color: #E258D2;      /* お好みで */ 
  text-decoration: underline;
}

/* ---------- 送信ボタン（画像専用） ---------- */
.reg-form .submit-btn {
  background: none;   /* ← 背景色を完全に無くす */
  border: none;       /* ← 枠線も消す */
  padding: 0;         /* ← 余白もリセット */
  display: block;
  width: 100%;
  cursor: pointer;    /* optional: カーソルをポインターに */
}

.reg-form .submit-btn img {
  width: 100%;        /* 既存と同じ = ボタン画像をフル幅 */
}

.reg-note {
  font-size: 12px;
  color: #FFFFFF;
  max-width: 400px;
  text-align: center;
  margin: 0 auto;
  position: relative;
  bottom: -25px;        /* ← この数値で “かぶせ具合” を調整 */
  z-index: 2;        /* ← 上に重なるように */
}

/* Footer -------------------------------------------------------------- */
.site-footer {
  background-color: #06001c;
  padding: 40px 0 10px;
  color: #FFFFFF;
  font-size: 13px;
}

.footer-inner {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.footer-inner ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* === 2列グリッド ========================= */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid #555;
  border-bottom: 1px solid #555; /* ← これで1本だけ残す */
  background-color: #140131;
}

.footer-grid li {
  border-bottom: 1px solid #555;
  padding: 0;
  text-align: center;
}

/* 右端セルの縦線を削除 */
.footer-grid li:nth-child(2n) {
  border-right: none;
}

/* 最後が奇数の場合は1列ぶち抜き */
.footer-grid li:last-child:nth-child(2n+1) {
  grid-column: 1 / -1;
}

/* リンク装飾 */
.footer-grid a {
  display: block;
  padding: 12px;
  color: #FFFFFF;
  text-decoration: none;
  transition: opacity 0.2s;
  border-left: 1px solid #555; /* 左線だけにして分割感 */
}

.footer-grid li:nth-child(2n+1) a {
  border-left: none; /* 左列の左線は不要 */
}



.footer-grid a:hover {
  opacity: 0.7;
}

/* コピーライト */
.copyright {
  display: block;
  margin-top: 20px;
  text-align: center;
  font-size: 10px;
  color: #AAA;
}

/* Horizontal padding utility */
.padding-1rem {
  padding-left: 1rem;
  padding-right: 1rem;
}

/* Button image universal sizing */
.cta-btn img,
.submit-btn img {
  width: 85%;
  max-width: 600px;
  margin: 0 auto;
  display: block;
}

.gender {
  margin-bottom: 16px;
  border: none;
  padding: 0;
  display: flex;
  gap: 16px;
}

.gender legend {
  font-size: 15px;
  margin-bottom: 4px;
}


/* Button overlay utilities */
.btn-relative {
  position: relative;
}

.btn-wrap {
  position: absolute;
  left: 0;
  right: 0;
  margin: 0 auto;
  text-align: center;
  width: 100%;              /* ★ 幅をフルに */
}

.btn-wrap img {
  display: inline-block;    /* ★ インラインブロック＋margin:auto でも可 */
  width: 80%;
  max-width: 600px;
}

.top-1{
  top: 60%;
}

.top-2{
  top: 65%;
}

.top-3{
  top: 62%;
}

/*==============================================================

アニメーション

==============================================================*/



.fadein_soon {/*　フェードインすぐ　*/
	display: none;
}

.fadein {/*　フェードイン下から上に　*/
    opacity : 0;
    transform : translate(0, 50px);
    transition : all 1000ms;
}

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

.fadein2 {/*　新規登録メリットのボタン　*/
    opacity : 0;
    transition : all 2500ms;
}

.fadein2.scrollin {
    opacity : 1;
}

/*==============================================================

エラー

==============================================================*/

.error_msg{
    text-align: center;
    margin: 0px 16px 8px;
    color:#fff;
    border: 2px solid;
    border-color: #fff;
    padding: 4px;
    font-weight: 600;
}

.error_msg_form{
  font-size: 14px;
  color: #fff;
  margin: -40px auto 30px auto;
  max-width: 400px;
  padding-left: 2px; /* 少し文字下げる */
  color: #FFFFFF;
}

@media screen and (max-width: 767px){

.error_msg_form{
  font-size: 14px;
  color: #fff;
  margin: -20px auto 30px auto;
  max-width: 400px;
  padding-left: 2px; /* 少し文字下げる */
  color: #FFFFFF;
}
}
