/* ============================================================
   1. リセット・基本・フォント
   ============================================================ */
* {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  color: #333;
  font-size: 16px;
  line-height: 1.6;
  background-image: url('/images/parts/bg_01.png');
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  background-attachment: fixed;
  min-height: 100vh;
}

/* ページが入ってくるときのアニメーション */
body {
  -webkit-animation: fadeIn 0.5s ease-out forwards;
  animation: fadeIn 0.5s ease-out forwards;
}

/* ページから出ていくとき（フェードアウト用クラス） */
body.fade-out {
  -webkit-animation: fadeOut 0.5s ease-in forwards;
  animation: fadeOut 0.5s ease-in forwards;
}

@-webkit-keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@-webkit-keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

:root {
  --top-fonts: 'Noto Sans JP', sans-serif;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

li {
  list-style: none;
}

/* ============================================================
   2. ヘッダー・ロゴ・PCメニュー・モバイルメニュー
   ============================================================ */
.header {
  background-color: #fff;
  text-align: center;
}

.logo {
  height: 60px;
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.logo img {
  width: 250px;
  height: 40px;
  margin: 10px 0;
}

#hamberBtn {
  display: none;
}

.header-menu {
  height: 60px;
  font-family: var(--top-fonts);
}

.mobile-header-menu {
  display: none;
}

.mobile-header-menu ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  padding: 12px 0;
}

.header .header-menu ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.header .header-menu ul li {
  font-family: 'Noto Sans Japanese';
  font-size: 20px;
  width: 150px;
  height: 60px;
  line-height: 60px;
}

.header .header-menu ul li:hover {
  border-bottom: 3px solid #bc2aae;
}

/* ============================================================
   3. メインレイアウト・外枠・フッター
   ============================================================ */
main {
  padding-top: 50px;
}

.main-content-wrapper {
  max-width: 860px;
  margin: 0 auto;
  background: white;
  -webkit-box-shadow: 0px 0px 10px 3px rgba(0, 0, 0, 0.3);
  box-shadow: 0px 0px 10px 3px rgba(0, 0, 0, 0.3);
  padding-bottom: 32px;
  border-radius: 7px;
}

.mid .main-content-wrapper {
  padding-bottom: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
  background-color: transparent;
  color: #444;
  text-align: center;
}

.content-footer {
  text-align: center;
  padding-top: 40px;
}

.content-footer img {
  width: 480px;
}

footer {
  height: 40px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  margin-top: 40px;
  margin-bottom: 30px;
}

footer p {
  font-size: 12px;
  text-align: center;
  color: #666;
}

/* ============================================================
   4. 占い共通（ランキング・見出し・詳細ページ共通）
   ============================================================ */
.content-header {
  padding: 32px 0 20px 0;
  text-align: center;
}

.content-header img {
  width: 480px;
}

.content-header-text {
  font-size: 24px;
  color: #7a3e78;
  padding: 30px 15px 20px 15px;
  line-height: 1.8;
}

h1 {
  margin-bottom: 16px;
  font-size: 32px;
}

.content-seiza {
  text-align: center;
}

.content-seiza img {
  margin-bottom: 20px;
  padding: 0 20px;
}

/* 運勢ランク色 */
.fortune-rank.daikichi {
  color: #c9302c;
  font-weight: bold;
  font-size: 24px;
}
.fortune-rank.kichi {
  color: #1e7e34;
  font-weight: bold;
  font-size: 24px;
}
.fortune-rank.futsu {
  color: #555555;
  font-weight: normal;
  font-size: 28px;
}
.fortune-rank.kyo {
  color: #003366;
  font-weight: bold;
  font-size: 28px;
}

/* 詳細ページタイトルエリア */
.detail-title {
  padding: 20px 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.detail-title img {
  width: 100px;
  height: 100px;
  margin-right: 10px;
}

.detail-title div p {
  font-size: 12px;
}
.detail-title div p:nth-of-type(2) {
  font-size: 26px;
  font-weight: bold;
}

.detail-header {
  text-align: center;
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 20px;
}

.detail-header img {
  width: 480px;
}

#detail-date {
  font-size: 20px;
  color: #444;
}

/* 詳細ページメインコンテンツ */
.detail-main-wrapper {
  max-width: 780px;
  margin: 0 auto;
  overflow-wrap: break-word;
  padding: 20px;
}

h2.detail-main-title,
.detail-main-title {
  font-size: 24px;
  font-weight: bold;
  text-align: left;
  margin-bottom: 20px;
  margin-top: 60px;
  padding-top: 60px;
  border-top: 2px dotted #ddd;
  color: #333;
}

p.detail-main-title {
  margin-bottom: 20px;
}

h2.detail-main-title + p,
.detail-main-title + p {
  font-size: 18px;
  text-align: left;
  font-style: normal;
  color: #444;
  line-height: 1.8;
}

.detail-sections p + h2.detail-main-title,
.detail-sections p + .detail-main-title,
.detail-sections .ad2 + h2.detail-main-title,
.detail-sections .ad2 + .detail-main-title {
  margin-top: 60px;
  padding-top: 60px;
}

section.detail-sections,
.detail-sections {
  margin-bottom: 40px;
}

article.detail-sections {
  padding: 0 20px;
}

section.detail-sections:first-of-type h2.detail-main-title:first-child,
section.detail-sections:first-of-type .detail-main-title:first-child,
.detail-sections > .detail-main-title:first-child,
.detail-sections > h2.detail-main-title:first-child {
  border-top: none;
  margin-top: 0;
  padding-top: 0;
}

.detail-sections-sub {
  margin-top: 50px;
  font-size: 18px;
  font-weight: bold;
  padding: 25px 20px;
  margin-bottom: 30px;
  background-color: #f3e8f7;
  border-radius: 12px;
}

.detail-sections-sub p:first-child {
  margin-bottom: 12px;
}

.detail-sections-sub-color,
.detail-sections-sub-item {
  font-weight: normal;
  color: #555;
}

/* ============================================================
   5. ボタン装飾
   ============================================================ */
.return-button,
#continue-btn {
  display: block;
  text-align: center;
  margin: 48px auto 30px;
  padding: 12px 28px;
  max-width: 400px;
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  background: linear-gradient(135deg, #b55fe0 0%, #7b4fd1 100%);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  -webkit-box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.added-button {
  display: none;
}

.return-button:hover,
#continue-btn:hover {
  background: linear-gradient(135deg, #a050d0 0%, #6a3fc0 100%);
  -webkit-transform: scale(1.03);
  transform: scale(1.03);
  -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.detail-sections + .return-button {
  margin-top: 60px;
}

#continue-btn {
  cursor: not-allowed;
  opacity: 0.5;
  -webkit-transition: opacity 0.3s;
  transition: opacity 0.3s;
}

#continue-btn.active {
  cursor: pointer;
  opacity: 1;
}

/* 特殊装飾ボタン */
.pink-button {
  display: block;
  max-width: 400px;
  margin: 48px auto;
  padding: 12px 28px;
  background: -webkit-gradient(linear, left top, right bottom, from(#ffe0f0), to(#fbeaff));
  background: linear-gradient(to bottom right, #ffe0f0, #fbeaff);
  color: #d63384;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  border-radius: 30px;
  -webkit-box-shadow: 0 4px 8px rgba(255, 192, 203, 0.4);
  box-shadow: 0 4px 8px rgba(255, 192, 203, 0.4);
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  border: 2px solid #f8c6d8;
  text-align: center;
}
.pink-button:hover {
  background: -webkit-gradient(linear, left top, right bottom, from(#ffcce0), to(#fdf0ff));
  background: linear-gradient(to bottom right, #ffcce0, #fdf0ff);
  -webkit-transform: scale(1.05);
  transform: scale(1.05);
  -webkit-box-shadow: 0 6px 12px rgba(255, 182, 193, 0.6);
  box-shadow: 0 6px 12px rgba(255, 182, 193, 0.6);
}
.pink-button:active {
  -webkit-transform: scale(0.97);
  transform: scale(0.97);
  -webkit-box-shadow: 0 2px 6px rgba(255, 160, 180, 0.5);
  box-shadow: 0 2px 6px rgba(255, 160, 180, 0.5);
}

/* スタイルシートへ移動 */
#toTopBtn {
  position: fixed;
  bottom: 60px;
  right: 30px;
  z-index: 100;
  background-color: #7b4fd1;
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  -webkit-box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  -webkit-transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

#toTopBtn.show {
  opacity: 1;
  visibility: visible;
}

/* ============================================================
   6. レスポンシブ設定 (PC・タブレット・モバイル)
   ============================================================ */
@media (max-width: 1271px) {
  .vertical1,
  .vertical2 {
    display: none;
  }
}

@media (max-width: 860px) {
  html,
  body {
    width: 100%;
    overflow-x: hidden;
  }
  .header-menu {
    display: none;
  }

  #hamberBtn {
    display: block;
    position: absolute;
    right: 15px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    width: 30px;
    height: 22px;
    z-index: 1000;
    cursor: pointer;
  }

  #hamberBtn span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #7a3e78;
    margin-bottom: 5px;
  }

  #hamberBtn span:last-child {
    margin-bottom: 0;
  }

  .mobile-header-menu {
    display: none;
    position: fixed;
    top: 60px;
    right: 0;
    background-color: #e6ddfe;
    color: black;
    width: 100%;
    z-index: 999;
    -webkit-box-shadow: -2px 2px 10px rgba(0, 0, 0, 0.2);
    box-shadow: -2px 2px 10px rgba(0, 0, 0, 0.2);
  }

  .mobile-header-menu.active {
    display: block;
  }

  .mobile-header-menu ul {
    display: block;
    padding: 0;
  }

  .mobile-header-menu ul li {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  }

  .mobile-header-menu ul li a {
    display: block;
    padding: 15px 20px;
    color: #444;
  }

  .content-header-text {
    line-height: 1.6;
  }

  .detail-main-wrapper {
    padding: 0 15px;
  }
}

@media (max-width: 480px) {
  .content-header img {
    width: 100%;
    min-width: 200px;
  }
  .content-header {
    padding: 20px 0 15px 0;
  }

  h1 {
    font-size: 24px;
  }

  h2.detail-main-title + p,
  .detail-main-title + p {
    font-size: 16px;
    line-height: 1.7;
  }

  .detail-main-wrapper {
    padding: 15px;
  }

  section.detail-sections,
  .detail-sections {
    margin-bottom: 30px;
  }

  /* 今日の運勢 */
  .content-header-text {
    font-size: 22px;
  }

  #fortune-result.result {
    font-size: 18px;
  }

  /* 宝くじスマホ対応 */
  .lotto-result {
    width: 100% !important;
    max-width: 100%;
    height: auto !important;
    min-height: 60px;
    gap: 18px !important;
    padding: 15px 8px;
  }

  .numberResult {
    width: 38px !important;
    height: 38px !important;
    line-height: 38px !important;
    font-size: 15px !important;
  }

  .lotto-container button {
    width: 110px;
    font-size: 14px;
    margin: 8px 4px 0 4px;
  }

  /* タロットスマホ対応 */
  .spread-container img {
    width: 80% !important;
    min-width: auto !important;
  }

  .tarots-resul-box {
    opacity: 0;
    width: 100% !important;
    height: auto !important;
    margin: 20px auto 0 !important;
    -webkit-box-orient: vertical !important;
    -webkit-box-direction: normal !important;
    -ms-flex-direction: column !important;
    flex-direction: column !important;
    -webkit-box-align: center !important;
    -ms-flex-align: center !important;
    align-items: center !important;
    -webkit-transform: translateY(20px);
    transform: translateY(20px);
    -webkit-transition:
      opacity 0.8s ease-out,
      -webkit-transform 0.8s ease-out;
    transition:
      opacity 0.8s ease-out,
      -webkit-transform 0.8s ease-out;
    transition:
      opacity 0.8s ease-out,
      transform 0.8s ease-out;
    transition:
      opacity 0.8s ease-out,
      transform 0.8s ease-out,
      -webkit-transform 0.8s ease-out;
  }
  .tarots-resul-box.is-visible {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  .tarots-result-box-img {
    text-align: center;
    width: 100%;
  }
  .tarots-result-box-img img {
    width: 150px !important;
    margin: 0 auto 20px auto !important;
  }
  .tarots-result-box-text {
    margin-left: 0 !important;
    width: 100% !important;
    padding: 0 15px !important;
  }
  .tarots-result-box-text-position,
  .tarots-result-box-text-keyword,
  .tarots-result-box-text-detail,
  .tarots-result-box-text-advise1 {
    text-align: center !important;
  }

  /* 吹き出しスマホ対応 */
  .fukidashi {
    max-width: 100% !important;
    padding: 0 10px !important;
    margin-bottom: 20px !important;
    -webkit-box-orient: vertical !important;
    -webkit-box-direction: normal !important;
    -ms-flex-direction: column !important;
    flex-direction: column !important;
    -webkit-box-align: center !important;
    -ms-flex-align: center !important;
    align-items: center !important;
  }
  .fukidashi .icon {
    position: static !important;
    -webkit-box-ordinal-group: 0 !important;
    -ms-flex-order: -1 !important;
    order: -1 !important;
  }
  .fukidashi .icon img {
    width: 100px !important;
    height: 100px !important;
    border-radius: 50% !important;
  }
  .fukidashi .text {
    width: 100% !important;
    max-width: 100% !important;
  }
  .fukidashi .text p {
    font-size: 14px !important;
    padding: 0.6em 0.8em !important;
    text-align: left !important;
  }
  .fukidashi .text::after {
    display: none !important;
  }

  .return-button {
    width: 85% !important;
  }
  .content-seiza img {
    max-width: 300px;
    left: 11px;
  }
  .content-footer img,
  .detail-header img {
    max-width: 330px;
  }
}

/* ============================================================
   7. コラム・段落・見出し・装飾
   ============================================================ */
.detail-sections p.p14,
.detail-sections ul {
  margin-bottom: 35px;
  line-height: 1.8;
}
.detail-sections > p {
  margin-bottom: 16px;
  line-height: 1.8;
}
h1.detail-main-title + p {
  margin-bottom: 24px;
  line-height: 1.8;
}

.detail-sections .midasi,
.detail-sections h2.midasi {
  margin-top: 45px;
  margin-bottom: 25px;
}
.detail-sections .midasi h2,
.detail-sections h2.midasi {
  font-size: 20px;
  font-weight: bold;
  color: #333;
  margin: 0;
}
.midasi + p,
h2.midasi + p {
  margin-top: 16px;
}

.underBar {
  margin: 20px 0;
  color: antiquewhite;
}
.fa-thumbs-up {
  margin-right: 30px;
  color: palevioletred;
  -webkit-transform: rotate(50deg);
  transform: rotate(50deg);
  -webkit-transition: 0.1s;
  transition: 0.1s;
  font-size: 30px;
}

.aboutUl {
  text-align: left;
}
.ulList:hover i {
  -webkit-transform: rotate(0);
  transform: rotate(0);
}
.ulList {
  display: inline;
}
.paddig15 {
  max-width: 560px;
  margin: 0 auto;
}

/* ============================================================
   8. 宝くじ (LOTTO) 専用スタイル
   ============================================================ */
.lotto-result,
.mini-lottoResult,
.lotto6Result,
.lotto7Result {
  width: 80%;
  height: 80px;
  border: 2px solid rgb(71, 147, 190);
  border-radius: 10px;
  margin: 0 auto 16px auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: distribute;
  justify-content: space-around;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.mini-lotto,
.lotto6 {
  margin-bottom: 50px;
}

.lotto-container {
  text-align: center;
}

.lotto-container button {
  width: 140px;
  height: 40px;
  border: none;
  background-color: #007bff;
  color: #fff;
  font-size: 18px;
  margin-top: 10px;
}

.numberResult {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #f9f9f9;
  line-height: 40px;
  font-weight: bold;
  -webkit-box-shadow: inset 4px 4px 4px #eaecec;
  box-shadow: inset 4px 4px 4px #eaecec;
}

.lottoh1 {
  padding-top: 30px;
  padding-left: 10px;
  margin-bottom: 5px;
  font-weight: bold;
}
.lottoh1 + p {
  padding: 10px 30px;
}
.lotto-header {
  line-height: 2;
}
.result {
  margin-bottom: 30px;
  margin-top: 20px;
  font-size: 20px;
  color: #444;
}
.result-ended {
  margin: 0 auto 30px auto;
}

#fortune-result h2 {
  margin-bottom: 24px;
  padding: 12px;
  background: -webkit-gradient(linear, left top, right top, from(#fff), color-stop(30%, #f3e8f7), color-stop(70%, #f3e8f7), to(#fff));
  background: linear-gradient(to right, #fff 0%, #f3e8f7 30%, #f3e8f7 70%, #fff 100%);
  color: #444;
}

.lotto6Btn,
.lotto6Btn-reset,
.lotto7Btn,
.lotto7Btn-reset,
.minilottoBtn,
.minilottoBtn-reset {
  cursor: pointer;
}

/* 宝くじページ専用 */
.lotto-page .lotto-container button {
  background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%);
  color: #fff;
  font-size: 16px;
  margin: 10px 8px 0 8px;
  max-width: 400px;
  -webkit-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.lotto-page .lotto-container button:hover {
  background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%);
}
.lotto-page .content-header-text {
  color: #555;
}
.lotto-result {
  border: 2px solid #d0d0d0;
  gap: 24px;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}
.numberResult {
  -webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* ============================================================
   9. 広告 (AD) 関連
   ============================================================ */
.articleAD {
  margin: 48px auto;
  max-width: 100%;
  text-align: center;
}
.AD-vertiacal {
  max-width: 160px;
  position: absolute;
  text-align: center;
}
.vertical1 {
  left: 30px;
  top: 300px;
}
.vertical2 {
  right: 30px;
  top: 300px;
}
.yokonagaAD {
  margin: 40px auto;
  padding: 0 1rem;
  text-align: center;
}
@media (max-width: 480px) {
  .yokonagaAD {
    display: none;
  }
}

/* 広告枠 */
.ad-rec-container {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin: 48px 0;
  text-align: center;
}

.detail-main-wrapper > .ad-rec-container:first-child,
.detail-sections > .ad-rec-container:first-child {
  margin-top: -20px;
}

.ad {
  margin: 48px auto;
  width: 100%;
  max-width: 728px;
  height: 90px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  color: #999;
  border-radius: 8px;
}

.ad2 {
  margin: 48px auto;
  width: 100%;
  max-width: 300px;
  height: 250px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  color: #999;
  border-radius: 8px;
}

/* ============================================================
   10. 各ページ専用スタイル（About, takara, origin）
   ============================================================ */
.about-text h2 {
  font-size: 18px;
}
.about-text p {
  font-size: 14px;
}
.m30 {
  margin: 50px 0;
}
.middle {
  text-align: center;
}
.lotto-container button {
  border-radius: 10px;
}
.lotto-container button:hover {
  opacity: 0.7;
}

/* コラム */
.column-set {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-bottom: 30px;
  border-bottom: 2px solid whitesmoke;
  padding-bottom: 15px;
  -webkit-transition: 0.3s;
  transition: 0.3s;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
}
.column-set:hover img {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}
.column-text {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}
.column-text h2 {
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: bold;
}
.column-text p {
  font-size: 12px;
  width: 400px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.column-set img {
  width: 100px;
  height: 100px;
  margin-left: 15px;
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
  transition:
    transform 0.3s ease,
    -webkit-transform 0.3s ease;
  transition:
    transform 0.3s ease,
    -webkit-transform 0.3s ease;
  transition:
    transform 0.3s ease,
    -webkit-transform 0.3s ease;
  transition:
    transform 0.3s ease,
    -webkit-transform 0.3s ease;
  transition:
    transform 0.3s ease,
    -webkit-transform 0.3s ease;
  transition:
    transform 0.3s ease,
    -webkit-transform 0.3s ease;
  transition:
    transform 0.3s ease,
    -webkit-transform 0.3s ease;
  transition:
    transform 0.3s ease,
    -webkit-transform 0.3s ease;
  transition:
    transform 0.3s ease,
    -webkit-transform 0.3s ease;
  transition:
    transform 0.3s ease,
    -webkit-transform 0.3s ease;
  transition:
    transform 0.3s ease,
    -webkit-transform 0.3s ease;
}
.column-set:hover .column-text {
  opacity: 0.7;
}

.midasi h2 {
  position: relative;
  background: #dfefff;
  -webkit-box-shadow: 0px 0px 0px 5px #dfefff;
  box-shadow: 0px 0px 0px 5px #dfefff;
  border: dashed 2px white;
  padding: 0.2em 0.5em;
  color: #474645;
}
.midasi h2::after {
  position: absolute;
  content: '';
  left: -7px;
  top: -7px;
  border-width: 0 0 15px 15px;
  border-style: solid;
  border-color: #fff #fff #a8d4ff;
  -webkit-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.15);
  box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.15);
}

.column-list {
  padding: 15px 30px;
  font-size: 14px;
  line-height: 1.9;
}
.p14 {
  font-size: 14px;
}
.mt15 {
  margin-top: 15px;
}
.column-list li::before {
  content: '●';
  font-size: 7px;
  position: relative;
  left: -2px;
}

.highlight {
  background: -webkit-gradient(linear, left top, left bottom, color-stop(70%, transparent), color-stop(0%, #ffcb65));
  background: linear-gradient(transparent 70%, #ffcb65 0%);
  line-height: 1.3em;
}

@media screen and (max-width: 530px) {
  .column-set {
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
    -ms-flex-direction: column-reverse;
    flex-direction: column-reverse;
    text-align: center;
  }
  .column-set img {
    max-width: 80px;
    max-height: 80px;
    margin-bottom: 10px;
  }
  .column-text span:last-child {
    width: 360px;
    -webkit-line-clamp: 1;
  }
}

@media screen and (max-width: 390px) {
  .content-header-text {
    margin-left: 10px;
    margin-right: 10px;
  }
  .flexcard-select {
    max-width: 50%;
  }
}

.link-box {
  background-color: #eef;
  border-left: 5px solid #88c;
  padding: 1em;
  margin-top: 2em;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}
.link-box:hover {
  -webkit-transform: scale(1.03);
  transform: scale(1.03);
}

/* ============================================================
   11. タロット (Tarots) 演出・吹き出し詳細
   ============================================================ */
.content-header img.tarots-logo {
  width: 350px;
  height: 350px;
  -webkit-perspective: 1000px;
  perspective: 1000px;
}
.content-header img.tarots-card-main {
  width: 224px;
  height: 424px;
  -webkit-transform-origin: center;
  transform-origin: center;
  border-radius: 8px;
  -webkit-box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  -webkit-transition: -webkit-transform 0.4s;
  transition: -webkit-transform 0.4s;
  transition: transform 0.4s;
  transition: transform 0.4s, -webkit-transform 0.4s;
  transition:
    transform 0.4s,
    -webkit-transform 0.4s;
  transition:
    transform 0.4s,
    -webkit-transform 0.4s;
  transition:
    transform 0.4s,
    -webkit-transform 0.4s;
  transition:
    transform 0.4s,
    -webkit-transform 0.4s;
  transition:
    transform 0.4s,
    -webkit-transform 0.4s;
  transition:
    transform 0.4s,
    -webkit-transform 0.4s;
  transition:
    transform 0.4s,
    -webkit-transform 0.4s;
  transition:
    transform 0.4s,
    -webkit-transform 0.4s;
  transition:
    transform 0.4s,
    -webkit-transform 0.4s;
  transition:
    transform 0.4s,
    -webkit-transform 0.4s;
  transition:
    transform 0.4s,
    -webkit-transform 0.4s;
}
.content-header img.tarots-card-main:hover {
  cursor: pointer;
  -webkit-transform: rotateY(15deg) scale(1.05);
  transform: rotateY(15deg) scale(1.05);
  -webkit-filter: brightness(1.1) contrast(1.2) saturate(1.2);
  filter: brightness(1.1) contrast(1.2) saturate(1.2);
}

.tarots-resul-box {
  width: 100%;
  max-width: 740px;
  margin: 60px auto 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
}
.tarots-result-box-img img {
  width: 191px;
  height: auto;
}
.tarots-result-box-text {
  margin-left: 20px;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
}
.tarots-result-box-text-position {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 20px;
  text-align: left;
}
.tarots-result-box-text-keyword {
  font-size: 16px;
  text-align: left;
  margin-bottom: 10px;
}
.tarots-result-box-text-keyword p span {
  color: #7b4fd1;
  font-weight: bold;
  font-size: 18px;
}
.tarots-result-box-text-detail {
  font-size: 16px;
  margin-bottom: 20px;
  text-align: left;
  line-height: 1.8;
}
.tarots-result-box-text-advise1 {
  font-size: 18px;
  font-weight: bold;
  text-align: left;
  margin-bottom: 5px;
  color: #555;
}
.tarots-result-box-text-advise2 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  position: relative;
}
.tarots-result-box-text-advise2 img {
  width: 130px;
  height: 130px;
  position: absolute;
  right: -300px;
}

/* 吹き出し構造 */
.fukidashi {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  gap: 15px;
  max-width: 870px;
  margin: 0 auto 50px auto;
}
.fukidashi .text {
  position: relative;
  display: block;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
}
.fukidashi .text p {
  background: #eceefe;
  padding: 0.8em 1em;
  border-radius: 11px;
  font-size: 16px;
  text-align: left;
  line-height: 1.8;
  color: #555;
  margin: 0;
}
.fukidashi .icon {
  text-align: center;
  position: relative;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  -webkit-box-ordinal-group: 3;
  -ms-flex-order: 2;
  order: 2;
}
.fukidashi .icon img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  -o-object-fit: contain;
  object-fit: contain;
}
.fukidashi .text::after {
  content: '';
  position: absolute;
  top: 15px;
  right: -14px;
  z-index: 1;

  border-style: solid;
  border-width: 10px 0 10px 15px;
  border-color: transparent transparent transparent #eceefe;
}

/* ============================================================
   12. カードアニメーション
   ============================================================ */
.initial-card-stack {
  opacity: 1;
  -webkit-transition: opacity 1s ease;
  transition: opacity 1s ease;
}
.flexcard-select {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  max-width: 90%;
  margin: 0 auto;
}
.spread-container img {
  width: 70%;
  height: auto;
}
.flex-card {
  margin-bottom: 15px;
  opacity: 0;
  -webkit-transform: translateY(20px);
  transform: translateY(20px);
  -webkit-transition:
    opacity 0.8s ease,
    -webkit-transform 0.8s ease;
  transition:
    opacity 0.8s ease,
    -webkit-transform 0.8s ease;
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
  transition:
    opacity 0.8s ease,
    transform 0.8s ease,
    -webkit-transform 0.8s ease;
}
.flex-card.show {
  opacity: 1;
  -webkit-transform: translateY(0);
  transform: translateY(0);
}
