@charset "UTF-8";

/* ===== 利用規約ページ専用スタイル ===== */

/* ===== スクロール動作の改善 ===== */
/* スムーススクロール */
html {
  scroll-behavior: smooth;
}

/* ニュースページでは自然なスクロールを確保 */
body.term-business-page {
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}

/* ニュースページ専用：スクロールを自然にする */
body.term-business-page .news {
  overscroll-behavior: auto;
}

/* 利用規約ページ専用の設定（必要に応じて使用） */
body.term-business-page.terms-only {
  overscroll-behavior: none;
  overscroll-behavior-y: none;
}

.term-business-page.terms-only {
  overscroll-behavior: none;
  overscroll-behavior-y: none;
}

/* ヘッダーを固定（必要に応じて） */
.term-business-page .header {
  position: sticky;
  top: 0;
}

/* スクロールバーのスタイリング（Webkit系ブラウザ） */
.term-business-page ::-webkit-scrollbar {
  width: 8px;
}

.term-business-page ::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.term-business-page ::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}

.term-business-page ::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* ヘッダーデザイン - coding-test_260123_fitfull (1)のデザインを踏襲 */
.term-business-page .header {
  width: 100%;
  background: #fff;
  z-index: 50;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.term-business-page .header-inner {
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
}

.term-business-page .header-logo {
  flex: 0 0 auto;
  height: 32px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* 利用規約スタイル */
.term-business-page section.terms {
  background-color: #f8f8f8;
  padding: 9% 4%;
  line-height: 1.8;
}

.term-business-page .terms-container {
  max-width: 100%;
  margin: 0 auto;
}

.term-business-page .terms-title {
  position: relative;
  font-size: 35px;
  font-weight: 700;
  color: #333;
  text-align: center;
  padding-bottom: 20px;
}

/* 下線（オレンジバー） */
.term-business-page .terms-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 5px;
  background-color: #f28c28; /* オレンジ */
  border-radius: 2px;
}

.term-business-page .chapter {
  font-size: 24px;
  font-weight: bold;
  margin-top: 10px;
  margin-bottom: 20px;
  color: #555; /* Gray */
  border-bottom: 2px solid #ff821d; /* Orange */
  padding-bottom: 10px;
  line-height: 1.4;
  border-top: none;
}

.term-business-page .article {
  font-size: 20px;
  font-weight: bold;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #ff821d; /* Orange */
  line-height: 1.5;
  border: none;
}

.term-business-page .article:after {
  border: none;
}
.term-business-page .paragraph {
  font-size: 16px;
  margin-bottom: 12px;
  color: #666; /* Gray */
  line-height: 1.8;
  text-align: justify;
}

/* ===== フッター - coding-test_260123_fitfull (1)のデザインを踏襲 ===== */
.term-business-page .site-footer {
  background: #2f2a2a;
  color: #fff;
}

.term-business-page .footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 50px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 250px;
}

@media (max-width: 1400px) {
  .term-business-page .footer-inner {
    gap: clamp(50px, calc(31.65vw - 193.1px), 250px);
  }
}

@media (max-width: 920px) {
  .term-business-page .footer-inner {
    padding: 50px 40px;
  }
}

/* 左：ロゴ */
.term-business-page .footer-left {
  flex: 0 0 auto;
  display: inline-block;
}

.term-business-page .footer-logo {
  width: 225px;
  height: auto;
  display: block;
}

@media (max-width: 920px) {
  .term-business-page .footer-logo {
    width: 180px;
    height: auto;
    display: block;
  }
}

/* 右：リンク */
.term-business-page .footer-right {
  flex: 1;
  min-width: 0;
}

.term-business-page .footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: auto auto;
  gap: 18px 80px;
  justify-content: end;
}

@media (max-width: 920px) {
  .term-business-page .footer-list {
    gap: 18px 40px;
  }
}

.term-business-page .footer-list li {
  margin: 0;
}

.term-business-page .footer-list a {
  display: flex;
  align-items: flex-start;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.2;
  opacity: 0.85;
}

.term-business-page .footer-list a::before {
  content: "-";
  flex: 0 0 12px;
  margin-right: 6px;
  text-align: center;
  opacity: 0.85;
}

.term-business-page .footer-list a:hover {
  opacity: 1;
}

/* ===== PC版レスポンシブ対応 ===== */
@media screen and (min-width: 768px) {
  /* PC版でのスクロール動作を改善 */
  html {
    overflow-y: auto;
  }
  
  body.term-business-page {
    overflow-x: hidden;
    overflow-y: visible;
    -webkit-overflow-scrolling: auto;
    scroll-behavior: smooth;
  }

  /* ヘッダー PC版 - coding-test_260123_fitfull (1)のデザインを踏襲 */
  .term-business-page .header-inner {
    max-width: none;
  }

  /* 利用規約スタイル PC版 */
  .term-business-page section.terms {
    padding: 3% 5%;
  }

  .term-business-page .terms-container {
    max-width: 900px;
    margin: 0 auto;
  }

  .term-business-page .terms-title {
    font-size: 32px;
    margin-bottom: 40px;
    margin-top: 40px;
  }

  .term-business-page .chapter {
    font-size: 28px;
    margin-top: 50px;
    margin-bottom: 25px;
  }

  .term-business-page .article {
    font-size: 22px;
    margin-top: 35px;
    margin-bottom: 18px;
  }

  .term-business-page .paragraph {
    font-size: 18px;
    margin-bottom: 15px;
    line-height: 2;
  }
}

/* ===== SP対応 ===== */
@media screen and (max-width: 767px) {
  /* ヘッダー SP版 - coding-test_260123_fitfull (1)のデザインを踏襲 */
  .term-business-page .header-inner {
    max-width: none;
    width: 100%;
    padding: 10px 12px;
    gap: 15px;
  }

  .term-business-page .header-logo {
    height: 22px;
    max-width: 100%;
  }

  .term-business-page .terms-title {
    font-size: 26px;
    margin-bottom: 25px;
    padding-bottom: 12px;
    margin-top: 40px;
  }

  .term-business-page .terms-title::after {
    width: 60px;
    height: 4px;
  }

  .term-business-page .chapter {
    font-size: 20px;
    margin-top: 5px;
    margin-bottom: 15px;
  }

  .term-business-page .article {
    font-size: 18px;
    margin-top: 25px;
    margin-bottom: 12px;
  }
  .news-detail__title {
      font-size: 23px;
      font-weight: 700;
      line-height: 1.5;
  }
  .term-business-page .paragraph {
    font-size: 14px;
    margin-bottom: 10px;
    line-height: 1.7;
  }

  /* フッター SP版 - coding-test_260123_fitfull (1)のデザインを踏襲 */
  .term-business-page .footer-inner {
    padding: 60px 30px 80px;
    flex-direction: column;
    gap: 30px;
  }

  .term-business-page .footer-logo {
    width: 170px;
    max-width: 100%;
  }

  .term-business-page .footer-list {
    grid-template-columns: 1fr;
    gap: 15px;
    justify-content: start;
  }

  .term-business-page .footer-list a {
    font-size: 16px;
  }

div .news-card__image {
    aspect-ratio: 16 / 6;
}

}









/* =========================
   お知らせ詳細
========================= */
.news-detail,
body.term-business-page .news-detail,
.main-section .news-detail,
.site-body .news-detail {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 32px 0 80px !important;
  font-size: 15px;
  line-height: 1.9;
  color: #333;
  background: #fff;
}

/* テキスト部分の横幅は今のまま（中央揃え） */
.news-detail__title,
.news-detail__date,
.news-detail__text {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px !important;
  padding-right: 16px !important;
}

.news-detail__image {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.news-detail__text > *,
.news-detail > *:not(.news-detail__heading):not(.news-detail__title):not(.news-detail__date):not(.news-detail__image):not(.news-detail__text) {
  padding-left: 0 !important;
}

.news-detail__title {
  font-size: 22px;
  font-weight: 700;
}

.news-detail__date {
  color: #999;
  margin: 8px 0 24px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px !important;
  padding-right: 16px !important;
}

.news-detail__image {
  position: relative;
  max-width: 800px;
  width: calc(100% - 32px);
  margin: 24px auto;
  border-radius: 12px;
  overflow: hidden;
  background: #eafafa;
  box-sizing: border-box;
}

/* ぼかした背景画像 */
.news-detail__image::before {
  content: '';
  position: absolute;
  top: -10%;
  left: -10%;
  right: -10%;
  bottom: -10%;
  width: 120%;
  height: 120%;
  background-image: var(--bg-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(20px);
  z-index: 0;
}

.news-detail__image img {
  position: relative;
  width: 100%;
  height: auto;
  display: block;
  vertical-align: top;
  z-index: 1;
}

.news-detail__image-note {
  text-align: center;
  color: #999;
  font-size: 13px;
  margin-top: -16px;
  margin-bottom: 24px;
}

/* バナー挿入用 */
.news-detail__banner {
  margin: 32px 0;
  text-align: center;
}

/* テキスト */
.news-detail__text p {
  margin-bottom: 16px;
}

.news-detail__text .accent {
  color: #f39800;
  font-weight: 700;
}

/* 見出し */
.news-detail__heading {
  margin: 40px 0 16px;
  font-size: 18px;
  font-weight: 700;
  position: relative;
  padding-left: 24px !important;
  color: #f39800;
}

.news-detail__heading::before {
  content: "■";
  color: #f39800;
  position: absolute;
  left: 0;
}

/* Lightningテーマの見出しボーダーをキャンセル */
.entry-title--post-type--page,
h2:where(:not(.wp-block-post-title)) {
  padding: 0 !important;
  border-top: none !important;
  border-bottom: none !important;
}

/* WordPressブロックエディタの見出しをnews-detail__headingと同じスタイルに */
.news-detail .wp-block-heading,
.news-detail h2.wp-block-heading {
  margin: 40px 0 16px !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  position: relative !important;
  padding-left: 24px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  color: #f39800 !important;
  border-top: none !important;
  border-bottom: none !important;
}

.news-detail .wp-block-heading::before,
.news-detail h2.wp-block-heading::before {
  content: "■" !important;
  color: #f39800 !important;
  position: absolute !important;
  left: 0 !important;
}

/* WordPressブロックエディタのリストをnews-detail__listと同じスタイルに */
.news-detail .wp-block-list {
  list-style: none !important;
  padding-left: 0 !important;
  margin: 16px 0 !important;
}

.news-detail .wp-block-list li {
  position: relative !important;
  padding-left: 1.2em !important;
  margin-bottom: 8px !important;
  font-size: 15px !important;
  line-height: 1.9 !important;
}

.news-detail .wp-block-list li::before {
  content: "・" !important;
  position: absolute !important;
  left: 0 !important;
  color: #f39800 !important;
}

.news-detail .wp-block-list li.has-small-font-size {
  font-size: 13px !important;
}

/* WordPressブロックエディタの画像をnews-detail__imageと同じスタイルに */
.news-detail .wp-block-image {
  margin: 24px 0 !important;
  text-align: center !important;
}

.news-detail .wp-block-image img {
  max-width: 100% !important;
  height: auto !important;
  border-radius: 12px !important;
}

.news-detail .wp-block-image.aligncenter {
  text-align: center !important;
}

/* WordPressブロックエディタのギャラリー（通常の画像ギャラリー用） */
.news-detail .wp-block-gallery {
  margin: 24px 0 !important;
}

.news-detail .wp-block-gallery .wp-block-image {
  margin: 0 !important;
}

.news-detail .wp-block-gallery img {
  max-width: 100% !important;
  height: auto !important;
  border-radius: 12px !important;
}

/* WordPressブロックエディタの段落スタイル */
.news-detail .wp-block-paragraph.has-black-color strong,
.news-detail .wp-block-paragraph.has-text-color strong {
  font-weight: 700 !important;
}

.news-detail .wp-block-paragraph.has-small-font-size {
  font-size: 13px !important;
  color: #666 !important;
  margin-bottom: 16px !important;
}

.news-detail .wp-block-paragraph.has-text-color[style*="color:#787878"] {
  color: #787878 !important;
  font-size: 13px !important;
}

/* キャンペーン期間 */
.news-detail__period {
  margin-bottom: 8px;
  font-weight: 700;
}

.news-detail__note {
  font-size: 13px;
  color: #666;
  margin-bottom: 24px;
}

/* ボックス */
.news-detail__box {
  margin-bottom: 24px;
}

.news-detail__box h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
}

/* 条件説明 */
.news-detail__condition-note {
  margin-bottom: 16px;
  font-size: 14px;
  color: #666;
}

/* 条件説明（注釈） */
.news-detail__dotbox + .news-detail__condition-note {
  font-size: 12px;
  color: #999;
  margin-top: 8px;
  margin-bottom: 16px;
}

/* 点線枠 */
body.term-business-page .news-detail__dotbox,
body.term-business-page .news-detail__text .wp-block-group.is-style-news-dotbox,
body.term-business-page .news-detail .wp-block-group.is-style-news-dotbox,
.news-detail__dotbox,
.news-detail__text .wp-block-group.is-style-news-dotbox,
.news-detail .wp-block-group.is-style-news-dotbox {
  border: 2px dotted #f39800 !important;
  border-radius: 12px !important;
  padding: 16px !important;
  margin-bottom: 16px !important;
  display: block !important;
}

.news-detail__dotbox ul,
.news-detail__dotbox .wp-block-list,
.news-detail .wp-block-group.is-style-news-dotbox ul,
.news-detail .wp-block-group.is-style-news-dotbox .wp-block-list {
  padding-left: 0;
  list-style: none;
  margin: 0;
}

.news-detail__dotbox li,
.news-detail__dotbox .wp-block-list li,
.news-detail .wp-block-group.is-style-news-dotbox li,
.news-detail .wp-block-group.is-style-news-dotbox .wp-block-list li {
  position: relative;
  padding-left: 1.2em;
  margin-bottom: 8px;
}

.news-detail__dotbox li:last-child,
.news-detail__dotbox .wp-block-list li:last-child,
.news-detail .wp-block-group.is-style-news-dotbox li:last-child,
.news-detail .wp-block-group.is-style-news-dotbox .wp-block-list li:last-child {
  margin-bottom: 0;
}

.news-detail__dotbox li::before,
.news-detail__dotbox .wp-block-list li::before,
.news-detail .wp-block-group.is-style-news-dotbox li::before,
.news-detail .wp-block-group.is-style-news-dotbox .wp-block-list li::before {
  content: "・";
  position: absolute;
  left: 0;
  color: #f39800;
}

/* ボーナスリスト */
.news-detail__bonus-list {
  margin: 24px 0;
  padding: 16px;
  background: #f8f8f8;
  border-radius: 8px;
}

.news-detail__bonus-list p {
  margin-bottom: 8px;
}

.news-detail__bonus-list p:last-child {
  margin-bottom: 0;
}

/* フォームボタン */
.news-detail__form-button {
  margin: 24px 0;
  text-align: center;
}

.news-detail__button {
  display: inline-block;
  padding: 14px 32px;
  background: #f39800;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 700;
  transition: background 0.2s ease;
}

.news-detail__button:hover {
  background: #e08900;
}

/* アプリ */
.news-detail__store {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin: 24px 0;
}

.news-detail__store-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #333;
  border-radius: 8px;
  transition: background 0.2s ease;
    flex-direction: row;
}

.news-detail__store-link:hover {
  background: #f8f8f8;
}

.news-detail__store-link img {
  height: 50px;
}

.news-detail__store-link span {
  font-weight: 700;
}

@media screen and (min-width: 768px) {
  .news-detail__store {
    flex-direction: row;
    justify-content: center;
  }

.news-detail__store-link img {
  height: 68px;
  width: auto;
}

.news-detail {
    max-width: 850px;
    margin: 0 auto;
    padding: 32px 46px 80px;
    font-size: 15px;
    line-height: 1.5;
    color: #333;
    background: #fff;
}
  
}

/* リスト */
.news-detail__list {
  padding-left: 0;
  list-style: none;
}

.news-detail__list li {
  position: relative;
  padding-left: 1.2em;
}

.news-detail__list li::before {
  content: "・";
  position: absolute;
  left: 0;
  color: #333;
}

/* 締めのテキスト */
.news-detail__closing {
  margin-top: 24px;
  text-align: center;
  font-weight: 700;
  color: #f39800;
}

/* 戻る */
.news-detail__back {
  max-width: 1200px;
  margin: 48px auto 0;
  padding: 0 16px;
  text-align: right;
}

.news-detail__back a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 32px;
  border: 2px solid #333;
  border-radius: 999px;
  text-decoration: none;
  color: #333;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease;
}

.news-detail__back a:hover {
  background: #333;
  color: #fff;
}

.news-detail__back-arrow {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 6px solid #333;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  margin-left: 8px;
  vertical-align: middle;
  transition: border-left-color 0.2s ease;
}

.news-detail__back a:hover .news-detail__back-arrow {
  border-left-color: #fff;
}
body.term-business-page {
    background: #f3f3f3;
}
.news-detail__back {
    max-width: 1200px;
    margin: 48px auto 48px;
    padding: 0 16px;
    text-align: right;
    text-align: center;
}