.elementor-1120 .elementor-element.elementor-element-dced534{--display:flex;}/* Start custom CSS */.profile-select-page,
.profile-select-page * {
  box-sizing: border-box;
}

.profile-select-page {
  min-height: 100vh;
  padding: 48px 14px 70px;

  background: transparent !important; /* ←これに変更 */

  font-family: "Noto Serif JP", "Yu Mincho", serif;
  position: relative;
  color: #3a2b33;
}

.profile-select-box {
  max-width: 550px;
  margin: auto;
  text-align: center;
}


#dynamicTitle {
  font-size: 26px;
  margin: 0 0 8px;
  color: #7b2637;
}

.lead-text {
  margin: 0 0 25px;
  color: #7b4b5c;
  line-height: 1.8;
  font-size: 14px;
}

.tabs {
  display: flex;
  width: 100%;
  max-width: 520px;
  margin: 0 auto 26px;
  border-bottom: 2px solid #f1c9d6;
}

.tabs button {
  flex: 1;
  position: relative;
  background: none;
  border: none;
  padding: 14px 0 12px;
  font-size: 15px;
  font-weight: 700;
  color: #8a6b75;
  cursor: pointer;
  transition: 0.25s;
}

/* ホバー・クリック・フォーカス全部無効化 */
.tabs button:hover,
.tabs button:active,
.tabs button:focus,
.tabs button:focus-visible {
  color: inherit;
  background: none;
  outline: none;
  box-shadow: none;
}

.tabs button::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 4px;
  background: transparent;
  transition: 0.25s;
}

.tabs button.active {
  color: #3a232a;
}

.tabs button.active::after {
  background: linear-gradient(
    90deg,
    rgba(200,150,50,0.15) 0%,
    #c79a42 20%,
    #e6c36a 50%,
    #c79a42 80%,
    rgba(200,150,50,0.15) 100%
  );
  border-radius: 2px;
}

.hidden {
  display: none;
}

.custom-select {
  position: relative;
  margin-bottom: 10px;
}

#selectTrigger {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid #ddd;
  background: #fff;
  display: flex;
  justify-content: space-between;
  cursor: pointer;
}

#selectList {
  display: none;
  position: absolute;
  z-index: 10;
  width: 100%;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  max-height: 200px;
  overflow-y: auto;
  box-shadow: 0 10px 24px rgba(143, 68, 96, 0.14);
}

.custom-select.open #selectList {
  display: block;
}

#selectList div {
  padding: 12px;
  cursor: pointer;
  text-align: left;
}

#selectList div:hover {
  background: #f7e9f0;
}

#preview {
  margin: 10px 0;
  padding: 12px;
  background: #fff7fb;
  border-radius: 10px;
  color: #7b4b5c;
  line-height: 1.7;
}

.form-grid {
  display: grid;
  gap: 12px;
}

.form-grid input,
.form-grid select {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #ddd;
  background: #fff;
}

.birth-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
}

/* クリック時の変な色を消す */
.tabs button:focus {
  outline: none;
}

.tabs button:active {
  background: none;
  color: inherit;
}

.tabs button:focus,
.tabs button:active,
.tabs button:focus-visible {
  outline: none;
  background: none;
  box-shadow: none;
}
.profile-select-box {
  animation: fadeInUp 0.6s ease;
}
.fortune-label-img {
  display: block;
  margin: -40px auto -60px;
  width: 350px;
  max-width: 90%;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,0.08));
}
.form-grid input:-webkit-autofill,
.form-grid input:-webkit-autofill:hover,
.form-grid input:-webkit-autofill:focus,
.form-grid select:-webkit-autofill {
  -webkit-text-fill-color: #5a2b3a !important;

  -webkit-box-shadow:
    0 0 0 1000px rgba(255, 248, 250, 0.95) inset !important;

  transition: background-color 9999s ease-in-out 0s;
}


@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#preview {
  background: #fff;
  border: 1px solid #f1c9d6;
  box-shadow: 0 10px 20px rgba(143,68,96,0.1);
  padding: 16px;
}

button#fortuneBtn.fortune-btn,
button#fortuneBtn.fortune-btn:hover,
button#fortuneBtn.fortune-btn:focus,
button#fortuneBtn.fortune-btn:active,
button#fortuneBtn.fortune-btn:focus-visible {
  display: inline-block !important;
  width: auto !important;
  height: auto !important;
  padding: 0 !important;
  margin: 20px auto !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  line-height: 0 !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

button#fortuneBtn.fortune-btn {
  display: block;
  width: 60%;
  max-width: 300px;
  margin: 20px auto;
  padding: 0;
  border: 0;
  background: transparent;
  line-height: 0;
  position: relative;

  overflow: visible; /* ←ここが重要（hidden禁止） */
}

button#fortuneBtn.fortune-btn img {
  display: block;
  width: 250px;
  height: 70px;

  transform-origin: center center; /* ←中心固定 */
  transition: transform 0.25s ease, filter 0.25s ease;
}

/* ホバー */
button#fortuneBtn.fortune-btn:hover img {
  transform: scale(1.05);
}

/* 押したとき */
button#fortuneBtn.fortune-btn:active img {
  transform: scale(0.96);
}

.fortune-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.5), transparent);
  transform: skewX(-25deg);
}

.fortune-btn:hover::after {
  left: 120%;
  transition: 0.6s;
}
button#fortuneBtn.fortune-btn {
  overflow: hidden !important;
}

#newTime {
  text-align: center;
  display: block;
  margin: 0 auto;
  padding-right: 30px;
  padding-left: 30px;
  padding-right: 30px;
}
/* 時間入力だけ中央寄せ */
.form-grid input#newTime {
  text-align: center !important;
  padding-left: 42px !important;
  padding-right: 42px !important;
}

/* Chrome / Edge の時間アイコン位置対策 */
.form-grid input#newTime::-webkit-calendar-picker-indicator {
  margin-left: -28px;
}





/* ==============================
   入力・セレクト（薄ピンク版）
============================== */
.form-grid input,
.form-grid select {
  width: 100% !important;
  padding: 12px !important;
  border-radius: 12px !important;

  border: 1px solid rgba(255, 180, 200, 0.3) !important;

  background: linear-gradient(
  135deg,
  rgba(255, 248, 250, 0.85),
  rgba(255, 242, 250, 0.85)
);

  color: #5a2b3a !important;

  box-shadow:
    inset 0 2px 6px rgba(255,255,255,0.8),
    0 3px 10px rgba(220, 120, 150, 0.08);

  backdrop-filter: blur(6px);

  transition: all 0.25s ease !important;
}


/* ==============================
   フォーカス
============================== */
.form-grid input:focus,
.form-grid select:focus {
  outline: none !important;

  border: 1px solid rgba(220, 140, 170, 0.6) !important;

  background: linear-gradient(
    135deg,
    rgba(255, 240, 245, 1),
    rgba(255, 225, 235, 1)
  ) !important;

  box-shadow:
    0 0 0 3px rgba(255, 190, 210, 0.2),
    0 5px 14px rgba(220, 120, 150, 0.12);
}

/* ==============================
   プレースホルダー
============================== */
.form-grid input::placeholder {
  color: #d2a0b2;
}

/* ==============================
   セレクト矢印
============================== */
.form-grid select {
  appearance: none;
  -webkit-appearance: none;

  background-image:
    linear-gradient(45deg, transparent 50%, #e0a5b8 50%),
    linear-gradient(135deg, #e0a5b8 50%, transparent 50%);

  background-position:
    calc(100% - 18px) calc(50% - 3px),
    calc(100% - 12px) calc(50% - 3px);

  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

/* ==============================
   hover（控えめ）
============================== */
.form-grid input:hover,
.form-grid select:hover {
  box-shadow:
    inset 0 2px 6px rgba(255,255,255,0.8),
    0 4px 12px rgba(220, 120, 150, 0.1);
}


/* =========================
   プロフィール保存チェック
========================= */

.save-profile-check {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 10px;

  padding: 14px 16px;
  border-radius: 16px;

  background: linear-gradient(
    135deg,
    #fff6fb,
    #f7fbff
  );

  border: 1px solid #f1dce7;

  color: #7b6670;
  font-size: 13px;
  line-height: 1.6;

  cursor: pointer;
}

.save-profile-check input[type="checkbox"] {

  width: 18px;
  height: 18px;

  accent-color: #d76fa3;

  cursor: pointer;

  flex-shrink: 0;
}

.save-profile-check span {
  flex: 1;
}

.save-profile-check input[type="checkbox"] {
  width: 18px !important;
  height: 18px !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 4px !important;
  box-shadow: none !important;
  background: #fff !important;
  appearance: auto !important;
  -webkit-appearance: checkbox !important;
  accent-color: #d76fa3;
  flex: 0 0 18px;
}

/* ==============================
   お相手情報エリア
============================== */

.partner-area {
  margin-top: 38px;
  padding-top: 24px;

  border-top: 1px solid rgba(255, 210, 225, 0.4);
}

.partner-area h2 {
  margin: 0 0 18px;

  font-size: 20px;
  font-weight: 700;

  color: #7b2637;
  letter-spacing: 0.05em;
}

/* ==============================
   お相手セレクト
============================== */

#partnerSelectTrigger {
  width: 100%;
  padding: 14px;

  border-radius: 12px;
  border: 1px solid #ddd;

  background: #fff;

  display: flex;
  justify-content: space-between;

  cursor: pointer;
}

#partnerSelectList {
  display: none;

  position: absolute;
  z-index: 10;

  width: 100%;

  background: #fff;

  border: 1px solid #ddd;
  border-radius: 12px;

  max-height: 200px;

  overflow-y: auto;

  box-shadow:
    0 10px 24px rgba(143, 68, 96, 0.14);
}

.custom-select.open #partnerSelectList {
  display: block;
}

#partnerSelectList div {
  padding: 12px;
  cursor: pointer;
  text-align: left;
}

#partnerSelectList div:hover {
  background: #f7e9f0;
}

/* ==============================
   お相手プレビュー
============================== */

#partnerPreview {
  margin: 10px 0;

  padding: 16px;

  background: #fff;

  border-radius: 10px;

  border: 1px solid #f1c9d6;

  box-shadow:
    0 10px 20px rgba(143,68,96,0.1);

  color: #7b4b5c;

  line-height: 1.7;
}

/* ==============================
   お相手タイトル余白
============================== */

.partner-area .tabs {
  margin-bottom: 20px;
}

@media (max-width: 700px) {
  .profile-select-box {
    max-width: 100%;
  }

  #dynamicTitle {
    font-size: 22px;
  }
  /* モバイルのタップ時の色も消す */
.tabs button {
  -webkit-tap-highlight-color: transparent;
}
/* スマホのタップ色も消す */
.tabs button {
  -webkit-tap-highlight-color: transparent;
}
}/* End custom CSS */