@charset "UTF-8";
/* Body base styles */
body {
  font-family: arial, helvetica, sans-serif;
  font-size: 16px; /* ブラウザデフォルト。読みやすくアクセシビリティにも推奨 */
  line-height: 1.5;
  color: #000000;
  background-color: #FFF;
}

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

.header-logo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.header-logo-image {
  width: min(60%, 800px);
  display: block;
}

.main {
  position: relative;
  background-image: url(../img/top/main_bg.webp);
  background-size: contain;
  background-position: top;
  background-repeat: repeat-y;
  min-height: 100vh; /* 内容に応じて伸びるように。height: 100vh だと footer の上にコンテンツが重なってしまう */
  padding-top: 3%;
  padding-bottom: 6em;
}
.main::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(153, 153, 153, 0.4);
  z-index: 0;
}

.main-content {
  width: min(80%, 1240px);
  margin: 0 auto;
  padding: 0 2em;
  position: relative;
  z-index: 1;
  background-color: #FFF;
  border-radius: 20px;
  border-color: #d8d8d8;
  border-style: solid;
  border-width: 1px;
}

/* スマホ：main-content をフル幅、main 背景は非表示 */
@media (max-width: 767px) {
  .main {
    background-image: none;
    padding-top: 0;
    padding-bottom: 0;
    min-height: auto;
  }
  .main::before {
    display: none;
  }
  .main-content {
    width: 100%;
    margin: 0;
    padding: 0 1em;
    border-radius: 0;
    border: 0;
  }
}
.main-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 1em;
}

.main-header-line1 {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1em;
}

.main-header-logo {
  width: min(10em, 500px);
  display: block;
}

.main-header-caption {
  display: inline-block;
  margin-top: 0.6em;
}

.main-header-line2 {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.2em;
  flex-wrap: wrap;
  background-color: #FF9021;
  color: #FFF;
  border-radius: 10px;
  padding: 0.1em;
}

.main-header-icons {
  display: flex;
  align-items: center;
  gap: 0.1em;
  width: 3em; /* 左右同じ幅にしてバランスを揃える */
  min-width: 3em;
}
.main-header-icons--left {
  order: 1;
  justify-content: flex-end;
  margin-right: 0.5em;
}
.main-header-icons--right {
  order: 3;
  justify-content: flex-start;
  margin-left: 0.5em;
}

.main-header-icon {
  width: 1em;
  height: auto;
  display: block;
  filter: brightness(0) invert(1);
}

.main-header-text {
  order: 2;
  font-weight: bold;
  color: #FFF;
  font-size: 0.6em;
  padding: 0.2em;
  border-radius: 10px;
}

.main-event-title {
  display: flex;
  align-items: center;
  gap: 0.4em;
}

.main-event-title-icon {
  width: 1.5em;
  height: auto;
  display: block;
}

.main-event-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1em;
}

.main-event-item {
  position: relative;
  width: 550px;
  max-width: 100%;
  height: 400px;
}

.main-event-item-label,
.main-ended-item-label {
  position: absolute;
  top: 5%;
  left: 3%;
  z-index: 2;
  /* アイコン＋文字を flex で並べ、幅は内容に応じて広がる（固定%幅は重なりの原因になる） */
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.4em;
  box-sizing: border-box;
  width: auto;
  max-width: calc(100% - 6%); /* カード左右の余白を確保 */
  min-width: 0;
  white-space: normal;
  word-break: break-word;
  line-height: 1.35;
  padding: 0.35em 0.85em;
  border-radius: 999px;
  background-color: #FF9021;
  color: #fff;
  font-weight: bold;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
}

.main-event-item-label {
  font-size: 0.8em;
}

/* 募集中ラベル内の文字エリア：最小幅を確保し、その中で文字を中央表示 */
.main-event-item-label-text {
  flex: 1 1 auto;
  min-width: 15ch;
  max-width: 100%;
  text-align: center;
  box-sizing: border-box;
}

.main-ended-item-label {
  font-size: 0.6em;
  box-sizing: border-box;
  /* アイコンは左固定、ラベル文字は .main-ended-item-label-text で幅・中央寄せ */
  justify-content: flex-start;
  align-items: center;
  text-align: left;
}

/* 募集中ラベル：アイコンを左端に固定（縮まない・常に先頭） */
.main-event-item-label .main-event-item-label-icon {
  flex-shrink: 0;
  align-self: center;
  order: -1;
}


/* 終了イベントラベル内の文字エリア（募集中 .main-event-item-label-text と同等） */
.main-ended-item-label-text {
  flex: 1 1 auto;
  min-width: 15ch;
  max-width: 100%;
  text-align: center;
  box-sizing: border-box;
}

/* 終了イベントラベル：アイコンを左端に固定 */
.main-ended-item-label .main-event-item-label-icon {
  flex-shrink: 0;
  align-self: center;
  order: -1;
}

.main-event-item-label-icon {
  width: 1em;
  height: auto;
  flex-shrink: 0;
  display: block;
  position: static;
  transform: none;
}

.main-event-item-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.main-event-item-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 150px;
  padding: 1em;
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.main-event-item-name {
  line-height: 1.5;         /* 1行の高さを指定 */
  height: 3em;              /* 1.5 × 2行分 ＝ 3em で高さを完全固定 */
  margin: 0.2em 0 0.5em;
  font-size: 1.6em;
  font-weight: bold;
/* ▼ 2行で三点リーダー「...」にする魔法の4行 ▼ */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2; /* ここで「2行」を指定します */
  overflow: hidden;
}

.main-event-item-period {
  margin: 0;
  font-size: 1.2em;
}

/* ---------------------------------------------------------
   ▼ スマホサイズ（767px以下）の可変設定 ▼
--------------------------------------------------------- */
@media (max-width: 767px) {
  .main-event-item {
    height: auto;
    aspect-ratio: 550 / 400; /* PCと同じ縦横比を保つ */
  }
  
  /* 黒帯部分：高さを固定せず、中の文字に合わせて自動で伸縮させる */
  .main-event-item-info {
    height: auto; 
    padding: 0.8em 1em; /* 左右の余白は保ちつつ、上下を少しスッキリ */
  }
  
  /* イベント名：スマホ用に文字を小さくし、きっちり2行分に収める */
  .main-event-item-name {
    font-size: 0.9rem;      /* PCの1.6emからスマホ用に縮小 */
    line-height: 1.4;        /* 行間を少し詰める */
    height: 2.8em;           /* 1.4 × 2行 ＝ 2.8em（ピッタリ2行分の高さに固定） */
    margin: 0 0 0.4em;       /* 下の余白を調整 */
  }
  
  /* 募集期間：スマホ用に文字を小さく */
  .main-event-item-period {
    font-size: 0.85rem;
  }
}

/* 終了したイベント：小さいカード・横スクロール用（募集中とは別クラス） */
.main-ended {
  margin-top: 2em;
}

.main-ended-list {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  overflow-x: auto;
  gap: 1em;
  padding-bottom: 0.5em;
  -webkit-overflow-scrolling: touch;
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.main-ended-item {
  position: relative;
  width: 275px;
  height: 200px;
  flex-shrink: 0;
}

.main-ended-item-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.main-ended-item-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 75px;
  padding: 0.5em;
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.main-ended-item-name {
  line-height: 1.5;         /* 1行の高さを指定 */
  height: 3em;              /* 1.5 × 2行分 ＝ 3em で高さを完全固定 */
  margin: 0 0 0.2em;
  font-size: 0.9em;
  font-weight: bold;
/* ▼ 2行で三点リーダー「...」にする魔法の4行 ▼ */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2; /* ここで「2行」を指定します */
  overflow: hidden;
}

.main-ended-item-period {
  margin: 0;
  font-size: 0.75em;
}

.main-procedure-title {
  text-align: center;
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 1em;
  color: #FFF;
  background-color: #FF9021;
  border-radius: 10px;
  padding: 0.1em;
  width: 80%;
  margin: 2em auto;
}

/* 常時画面下部に固定表示するボタン */
.fixed-bottom-btn {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: block;
  text-align: center;
  padding-bottom: 3em;
}
.fixed-bottom-btn img {
  width: auto;
  max-width: min(500px, 80vw);
  height: auto;
  display: inline-block;
  vertical-align: middle;
}

.footer {
  background-color: #000;
  color: #FFF;
  padding: 1em 0 10em;
  text-align: center;
}

.footer-contact {
  font-size: 1.2em;
  text-align: center;
  margin-top: 1em;
}

.footer-support {
  font-size: 1.2em;
  text-align: center;
  margin-top: 2em;
  color: #FF9021;
  display: block;
}

.footer-time {
  font-size: 1.2em;
  text-align: center;
  margin-top: 0.5em;
  color: #FFF;
  display: block;
}

/* 特典のお申込み手順（はてなブログ由来・該当スタイルのみ） */
.main-step {
  padding: 3em 0;
  margin-top: 2em;
}

.main-step-header {
  margin: 0 auto 3em;
  max-width: 1200px;
  width: 100%;
}

.main-step-title {
  font-family: "Kosugi Maru", sans-serif;
  font-size: 2.625rem;
  line-height: 1;
  text-align: center;
  margin: 0 0 2em;
  background-color: #FF9021;
  color: #FFF;
  border-radius: 10px;
  padding: 0.1em;
  width: 80%;
  margin: 0em auto;
  padding: 0.3em;
}

.main-step-lead {
  font-family: "Kosugi Maru", sans-serif;
  text-align: center;
  font-size: 1.7rem;
  line-height: 1.8;
  margin: 1em 0 0.5em;
  font-weight: bold;
}

.main-step-cont {
  background-color: #fff;
  border-radius: 50px;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  box-sizing: border-box;
  /* 768px付近で左右paddingが効きすぎて潰れないよう可変にする */
  --main-step-pad-inline: clamp(24px, 8vw, 120px);
  padding: 75px var(--main-step-pad-inline) 40px;
  border: 1px solid #555555;
}

/* 縦線：画像の中央を通り、STEP3の画像まで伸ばす */
.main-step-cont::after {
  content: "";
  position: absolute;
  border-left: 6px solid #eaeaea;
  width: 0;
  z-index: 1;
  box-sizing: border-box;
  /* 画像中央：左padding + step(120) + margin(10) + 画像半分(80) = padding + 210px */
  left: calc(var(--main-step-pad-inline) + 210px);
  top: 18%;
  height: 63%;
}

.main-step-notes {
  text-align: center;
  font-size: min(2.6vw, 1em);
  line-height: 1.5;
  margin: 0;
  margin-bottom: 2em;
  padding: 0 1em;
}

.main-step-block {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 3em;
  position: relative;
  z-index: 2;
}
.main-step-block:last-of-type {
  margin-bottom: 2em;
}

.main-step-num {
  font-family: "Lato", sans-serif;
  font-weight: 700;
  font-size: 3.25rem;
  line-height: 1;
  color: #ff8216;
  text-align: center;
  width: 120px;
  padding-right: 58px;
  margin: 0 10px 0 0;
  flex-shrink: 0;
}
.main-step-num span {
  display: block;
  font-size: 1.4375rem;
  line-height: 1;
}

.main-step-img {
  width: 160px;
  margin: 0 2em 0 0;
  flex-shrink: 0;
}
.main-step-img img {
  width: 100%;
  height: auto;
  display: block;
}

.main-step-desc {
  flex: 1;
  text-align: left;
  font-size: 1.5rem;
  line-height: 1.5;
  font-weight: bold;
  margin: 0;
}

.main-step-dl {
  flex: 1;
  margin: 0;
  max-width: 660px;
}

.main-step-dl dt {
  font-size: 1.5rem;
  line-height: 1.5;
  font-weight: bold;
  margin: 0 0 1em;
}
.main-step-dl dt img {
  display: inline;
  width: auto;
  height: 35px;
  margin-right: 0.5em;
  vertical-align: middle;
}

.main-step-dl dd {
  font-family: "Kosugi Maru", sans-serif;
  font-size: 1rem;
  line-height: 1.75;
  margin: 0;
}

/* PC寄り（768px以上）：800px前後で縦に並びすぎないよう文字サイズをvwでなだらかに調整 */
@media (min-width: 768px) {
  .main-step-desc {
    font-size: clamp(18px, 2.1vw, 24px);
  }
  .main-step-dl dt {
    font-size: clamp(18px, 2.1vw, 24px);
  }
  .main-step-dl dd {
    font-size: clamp(14px, 1.35vw, 16px);
  }
}
.main-step-block-notes {
  margin: 1em 0 0;
  text-align: left;
  font-size: 0.75rem;
  line-height: 1.65;
}

.main-step-cont-notes {
  margin: 0;
  text-align: center;
  font-size: 0.75rem;
  line-height: 1.75;
}

/* 特典のお申込み手順・レスポンシブ（top.css @media(max-width: 767px) の app-flow を反映） */
@media (max-width: 767px) {
  .main-step {
    padding: 5em 0;
  }
  .main-step-header {
    margin: 0 auto 2.5em;
    width: 100%;
  }
  .main-step-title {
    font-size: 1.5rem;
    margin-bottom: 1.875em;
  }
  .main-step-lead {
    font-size: min(3vw, 1.25em);
    line-height: 1.8;
    margin-bottom: 0.9375em;
  }
  .main-step-header .main-step-notes {
    font-size: 0.75rem;
    line-height: 1.83;
  }
  .main-step-cont {
    border-radius: 20px;
    width: 90%;
	padding: min(8vw, 3.75em) 0 2.5em;	
  }
  .main-step-cont::after {
    display: none;
  }
  .main-step-block {
    display: block;
    margin-bottom: 1.875em;
  }
  .main-step-block:last-of-type {
    margin-bottom: 1.875em;
  }
  .main-step-num {
    font-size: 2.625rem;
    line-height: 1;
    width: auto;
    padding: 0;
    margin: 0 0 0.625em;
    text-align: center;
    background: none;
  }
  .main-step-num span {
    font-size: 1.125rem;
    line-height: 1;
  }
  .main-step-img {
    width: 45%;
    margin: 0 auto 1.25em;
  }
  .main-step-img img {
    margin: 0 auto;
  }
  .main-step-desc {
    width: 90%;
    margin: 0 auto;
    font-size: 1.25rem;
    line-height: 1.6;
    text-align: center;
  }
  .main-step-dl {
    width: 90%;
    margin: 0 auto;
  }
  .main-step-dl dt {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 0.9375em;
    text-align: left;
  }
  .main-step-dl dt img {
    height: 35px;
  }
  .main-step-dl dd {
    font-size: 0.875rem;
    line-height: 1.8;
  }
  .main-step-block-notes {
    width: 100%;
    margin: 0.625em 0 0;
    padding-left: 0.75em;
    text-indent: -0.75em;
    font-size: 0.75rem;
    line-height: 1.65;
  }
  .main-step-cont-notes {
    width: 80%;
    margin: 0 auto;
    font-size: 0.75rem;
    line-height: 1.6;
  }
}
/* Pontaパスについて（はてなブログ由来・該当スタイルのみ） */
.main-about {
  position: relative;
  width: min(80%, 1220px);
  background-color: #fff;
  padding: 2em;
  margin: 2em auto 0;
  z-index: 1;
  border-radius: 30px;
  border: 2em solid #ff8217;
}

.main-about-cont {
  background-color: #fff;
  border-radius: 50px;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 4em 2em;
}

.main-about-crown {
  text-align: center;
  display: block;
  font-size: 1rem;
  color: #0372d8;
  font-weight: bold;
  margin: 0 0 1.25em;
}

.main-about-crown-inner {
  position: relative;
  padding: 0 15px;
}

.main-about-crown-inner::before {
  content: "";
  border-left: solid 3px #0372d8;
  height: 22px;
  width: 10px;
  position: absolute;
  left: 0;
  bottom: 0;
  transform: rotate(-12deg);
}

.main-about-crown-inner::after {
  content: "";
  border-left: solid 3px #0372d8;
  height: 22px;
  width: 10px;
  position: absolute;
  right: 0;
  bottom: 0;
  transform: rotate(12deg);
}

.main-about-crown-accent {
  font-size: 1.375rem;
}

.main-about-title {
  width: 100%;
  max-width: 420px;
  margin: 0 auto 2.5em;
}
.main-about-title img {
  width: 100%;
  height: auto;
  display: block;
}

.main-about-btn {
  width: 100%;
  max-width: 410px;
  margin: 0 auto 3.5em;
  text-align: center;
}
.main-about-btn a {
  display: inline-block;
  background-color: #ff8217;
  color: #fff;
  font-size: 1rem;
  line-height: 1;
  padding: 0.75em 1.5em;
  border-radius: 4px;
}

.main-about-trial {
  max-width: 700px;
  margin: 0 auto 2.5em;
  position: relative;
}

.main-about-trial-catch {
  font-family: "Kosugi Maru", sans-serif;
  font-weight: bold;
  font-size: 52px;
  line-height: 70px;
  color: #ff8217;
  margin: 0 0 20px;
}

.main-about-trial-catch span {
  font-size: 36px;
}

.main-about-trial-notes {
  font-family: "Kosugi Maru", sans-serif;
  font-size: 0.875rem;
  line-height: 1.4;
  margin: 0 0 0.5em;
  padding-left: 1em;
}

.main-about-trial-notes li {
  margin-bottom: 0.5em;
}

.main-about-trial-price {
  width: 180px;
  position: absolute;
  right: 2em;
  top: 0;
}
.main-about-trial-price img {
  width: 100%;
  height: auto;
  display: block;
}

.main-about-caution {
  max-width: 700px;
  margin: 0 auto 3em;
  border: solid 2px #000;
  text-align: center;
  padding: 1.5em;
}

.main-about-caution-txt {
  font-size: 1rem;
  line-height: 1.875;
  margin: 0 0 1.25em;
}

.main-about-caution-link a {
  font-size: 1rem;
  line-height: 1;
  border-bottom: solid 1px #000;
  padding: 0 1.25em 0.2em 0;
  color: #000;
}

.main-about-benefit {
  max-width: 1040px;
  margin: 0 auto;
}

.main-about-benefit-title {
  font-family: "Kosugi Maru", sans-serif;
  text-align: center;
  width: 100%;
  font-size: 1.6875rem;
  line-height: 1.3;
  margin: 0 0 2.5em;
  font-weight: bold;
}

.main-about-benefit-title .main-about-benefit-accent {
  font-size: 2.1875rem;
  color: #ff8217;
}

.main-about-benefit-title .main-about-benefit-accent2 {
  font-size: 2.1875rem;
}

.main-about-benefit-banners {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.main-about-benefit-banners li {
  width: 48%;
  margin-bottom: 2em;
}
.main-about-benefit-banners li img {
  width: 100%;
  height: auto;
  display: block;
}

.main-about-benefit-notes {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 0 0 1em;
  text-align: right;
  font-size: 0.8125rem;
  line-height: 1.3;
}

.main-about-benefit-notes li {
  margin-bottom: 0.5em;
}

.main-about-detail {
  max-width: 1054px;
  margin: 0 auto;
  padding-top: 5em;
}

.main-about-detail-title {
  width: 100%;
  font-size: 1.75rem;
  line-height: 1.3;
  font-weight: bold;
  text-align: center;
  margin: 0 0 2.5em;
}

.main-about-detail-block {
  margin-bottom: 2.5em;
}
.main-about-detail-block:last-child {
  margin-bottom: 0;
}

.main-about-detail-heading {
  font-size: 1.125rem;
  line-height: 1.3;
  font-weight: bold;
  margin: 0 0 0.625em;
}
.main-about-detail-heading--alert {
  color: #eb2502;
}

.main-about-detail-block dl {
  font-size: 0.875rem;
  line-height: 1.8;
  margin: 0 0 1em;
}

.main-about-detail-block dl dt {
  font-weight: bold;
  margin-bottom: 0.5em;
}

.main-about-detail-block dl dd ul {
  list-style-type: disc;
  padding-left: 1em;
}

.main-about-detail-notes {
  font-size: 0.875rem;
  line-height: 1.8;
  padding-left: 1em;
  text-indent: -1em;
  margin: 0 0 0.5em;
}

.main-about-detail-notes--highlight {
  color: #ff8217;
}

.main-about-detail-txt {
  font-size: 0.875rem;
  line-height: 1.8;
  margin: 0 0 0.5em;
}

.main-about-detail-tlinks {
  padding: 0.625em 0 1em;
}
.main-about-detail-tlinks a {
  font-size: 0.875rem;
  line-height: 1.8;
}
.main-about-detail-tlinks p {
  margin: 0 0 0.25em;
}

.main-about-detail-table {
  width: 100%;
  max-width: 700px;
  border-collapse: collapse;
}

.main-about-detail-table th,
.main-about-detail-table td {
  text-align: left;
  padding: 1.5em 0 1.5em 3em;
  border: solid 1px #bababa;
  font-size: 1rem;
  line-height: 1.6;
}

.main-about-detail-table th {
  width: 40%;
  font-weight: 400;
}

/* Pontaパスについて・レスポンシブ（top.css @media(max-width: 767px) の about-ponta-pass を反映） */
@media (max-width: 767px) {
  .main-about-wrap {
    padding: 0;
    margin-top: 1.5em;
    padding-bottom: 5em;
    border-radius: 0;
  }
  .main-about {
    width: 100%;
    margin: 0;
    padding: 0 0 3em;
    border-radius: 0;
  }
  .main-about-cont {
    border-radius: 0;
    width: 100%;
    padding: 4.375em 1em;
  }
  .main-about-crown {
    font-size: 0.6875rem;
    margin-bottom: 0.75em;
  }
  .main-about-crown-inner::before,
  .main-about-crown-inner::after {
    height: 20px;
    width: 10px;
    transform: rotate(-12deg);
  }
  .main-about-crown-inner::after {
    transform: rotate(12deg);
  }
  .main-about-crown-accent {
    font-size: 1.0625rem;
  }
  .main-about-title {
    width: 72%;
    margin-bottom: 2em;
  }
  .main-about-btn {
    width: 85%;
    margin-bottom: 2.5em;
  }
  .main-about-btn a {
    font-size: 0.875rem;
    line-height: 1;
  }
  .main-about-trial {
    width: 85%;
    margin: 0 auto 1.25em;
  }
  .main-about-trial-catch {
    font-size: 28px;
    line-height: 40px;
    margin-bottom: 20px;
  }
  .main-about-trial-catch span {
    font-size: 18px;
  }
  .main-about-trial-notes {
    font-size: 0.75rem;
    line-height: 1.67;
  }
  .main-about-trial-notes li {
    margin-bottom: 0.1875em;
  }
  .main-about-trial-price {
    width: 126px;
    right: 0;
    top: 0;
  }
  .main-about-caution {
    width: 85%;
    margin: 0 auto 2.5em;
    padding: 1.25em 0;
  }
  .main-about-caution-txt {
    font-size: 0.875rem;
    line-height: 1.8;
    margin-bottom: 0.625em;
  }
  .main-about-caution-link a {
    font-size: 0.875rem;
    line-height: 1;
  }
  .main-about-benefit {
    width: 85%;
    margin: 0 auto;
  }
  .main-about-benefit-title {
    display: none;
  }
  .main-about-benefit-banners {
    width: 100%;
    margin: 0 auto;
    display: block;
  }
  .main-about-benefit-banners li {
    width: 100%;
    margin-bottom: 1.25em;
  }
  .main-about-benefit-notes {
    width: 100%;
    font-size: 0.75rem;
    line-height: 1.67;
  }
  .main-about-benefit-notes li {
    margin-bottom: 0.5em;
  }
  .main-about-detail {
    width: 85%;
    padding-top: 4.375em;
  }
  .main-about-detail-title {
    font-size: 1.375rem;
    line-height: 1.14;
    margin-bottom: 2.5em;
  }
  .main-about-detail-block {
    margin-bottom: 2.5em;
  }
  .main-about-detail-block:last-child {
    margin-bottom: 0;
  }
  .main-about-detail-heading {
    font-size: 1.125rem;
    line-height: 1.39;
    margin-bottom: 0.625em;
  }
  .main-about-detail-block dl {
    font-size: 0.875rem;
    line-height: 1.8;
  }
  .main-about-detail-tlinks {
    padding: 0.625em 0 0.9375em;
  }
  .main-about-detail-table {
    width: 100%;
  }
  .main-about-detail-table th,
  .main-about-detail-table td {
    text-align: center;
    padding: 0.625em 3%;
    font-size: 0.75rem;
    line-height: 1.38;
  }
  .main-about-detail-table th {
    width: 30%;
  }
}

/* ジャンルの絞り込み用ハンバーガメニューのスタイル */
.filter-container {
	width: min(80%, 1220px);
	margin: 0 auto 2.5em;
	text-align: center;
	display: none; /* 将来の拡張用のため、今は非表示 */
}
@media (max-width: 767px) {
    .filter-container { width: 90%; }
}
.filter-toggle-btn {
	background-color: #fff;
	color: #FF9021;
	border: 2px solid #FF9021;
	padding: 0.8em 2em;
	border-radius: 999px;
	font-size: 1em;
	font-weight: bold;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 0.8em;
	transition: all 0.3s;
	box-shadow: 0 4px 6px rgba(255, 144, 33, 0.15);
}
.filter-toggle-btn:hover {
        background-color: #FF9021;
	color: #fff;
}
.filter-toggle-icon {
	display: inline-block;
	width: 16px;
	height: 2px;
	background: currentColor;
	position: relative;
}
.filter-toggle-icon::before, .filter-toggle-icon::after {
	content: '';
	position: absolute;
	width: 16px;
	height: 2px;
	background: currentColor;
	left: 0;
}
.filter-toggle-icon::before { top: -5px; }
.filter-toggle-icon::after { bottom: -5px; }

.filter-drawer {
	background: #fdfdfd;
	border: 1px solid #eee;
	border-radius: 12px;
	padding: 1.5em;
	margin-top: 1em;
	display: none;
	box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.filter-list {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.8em;
        list-style: none;
        padding: 0;
        margin: 0;
}
.filter-list li { display: inline-flex; }
.filter-list label {
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 0.4em;
        font-weight: bold;
        font-size: 0.9em;
        background: #fff;
        padding: 0.5em 1em;
        border-radius: 999px;
        border: 2px solid #ddd;
        color: #666;
        transition: all 0.2s;
}
.filter-list input[type="checkbox"] {
        accent-color: #FF9021;
        width: 16px;
        height: 16px;
        cursor: pointer;
}

/* ▼ 修正：グレーの暗幕（z-index）対策 ▼ */
      .top-module-wrapper {
        width: min(80%, 1220px);
        margin: 2em auto 4em;
        position: relative; /* これで暗幕より前に出ます！ */
        z-index: 1;         /* これで暗幕より前に出ます！ */
      }
      @media (max-width: 767px) {
        .top-module-wrapper { width: 100%; padding: 0 1em; }
      }

      /* ▼ 修正：フッターの追従ボタン被り対策 ▼ */
      .footer.override-footer {
        background-color: transparent !important; /* モジュールの黒を活かすために背景を消す */
        padding: 2em 0 10em !important;           /* 追従ボタン用の巨大な余白だけを復活させる！ */
      }

/* ▼ フッター（お問い合わせ先） 余白対応▼ */
.mod-contactBlock {
    padding: 20px 0 120px !important;
}

/* =========================================================
  トップページ背景・問い合わせ背景のグレー化
========================================================= */

/* トップページ全体：背景画像をやめて薄いグレーに */
.main {
  background-image: none !important;
  background-color: #f3f3f3 !important;
}

/* 背景画像用のグレー暗幕を無効化 */
.main::before {
  display: none !important;
}

/* 下部フッター・問い合わせ背景を黒からグレーに */
.footer,
.footer.override-footer {
  background-color: #f3f3f3 !important;
  color: #111111 !important;
}

/* 問い合わせブロック周辺もグレーに */
.mod-contactBlock {
  background-color: #f3f3f3 !important;
  color: #111111 !important;
}

/* 問い合わせ内の文字色調整 */
.footer-contact,
.footer-time {
  color: #111111 !important;
}

/* オレンジ文字はそのまま活かす */
.footer-support {
  color: #FF9021 !important;
}

/* =========================================================
  上段ロゴ：白背景の高さを圧縮
========================================================= */

/* ロゴエリア全体の上下余白を小さくする */
.header-logo {
  padding: 10px 0 8px !important;
  min-height: 0 !important;
  height: auto !important;
}

/* ロゴ画像サイズ */
.header-logo-image {
  width: min(46%, 560px) !important;
  height: auto !important;
}

/* スマホ */
@media (max-width: 767px) {
  .header-logo {
    padding: 8px 0 6px !important;
  }

  .header-logo-image {
    width: min(78%, 360px) !important;
  }
}
.header-logo img {
  margin: 0 !important;
}

.header-logo {
  margin: 0 !important;
}
/* =========================================================
  イベントカード：画像の見やすさを保ちつつ高さを揃える
========================================================= */

/* 募集中イベントカード */
.main-event-item {
  width: 550px !important;
  max-width: 100% !important;
  height: auto !important;
  background-color: #ffffff !important;
  border: 1px solid #d8d8d8 !important;
  border-radius: 12px !important;
  overflow: hidden !important;
}

/* 募集中イベント画像：表示エリアの高さを固定 */
.main-event-item-image {
  width: 100% !important;
  height: 360px !important;
  object-fit: contain !important;
  background-color: #f7f7f7 !important;
}

/* 募集中イベントの情報欄は下に固定 */
.main-event-item-info {
  position: static !important;
  height: 130px !important;
  background: #222222 !important;
  color: #ffffff !important;
  padding: 16px !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}

/* 募集中イベント名 */
.main-event-item-name {
  font-size: 1.25em !important;
  line-height: 1.4 !important;
  height: 3.5em !important;
  margin: 0 0 0.5em !important;
}

/* 募集中イベント期間 */
.main-event-item-period {
  font-size: 0.95em !important;
  margin: 0 !important;
}


/* 終了イベントカード */
.main-ended-item {
  width: 275px !important;
  height: auto !important;
  background-color: #ffffff !important;
  border: 1px solid #d8d8d8 !important;
  border-radius: 8px !important;
  overflow: hidden !important;
}

/* 終了イベント画像：高さを固定してカードを揃える */
.main-ended-item-image {
  width: 100% !important;
  height: 210px !important;
  object-fit: contain !important;
  background-color: #f7f7f7 !important;
}

/* 終了イベントの情報欄 */
.main-ended-item-info {
  position: static !important;
  height: 86px !important;
  background: #222222 !important;
  color: #ffffff !important;
  padding: 10px 12px !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}

/* 終了イベント名 */
.main-ended-item-name {
  font-size: 0.85em !important;
  line-height: 1.4 !important;
  height: 2.8em !important;
  margin: 0 0 0.35em !important;
}

/* 終了イベント期間 */
.main-ended-item-period {
  font-size: 0.72em !important;
  margin: 0 !important;
}
/* =========================================================
  募集中イベントカード：控えめな影・ホバー演出
========================================================= */

.main-event-item {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.10) !important;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease !important;
  cursor: pointer;
}

.main-event-item:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16) !important;
  border-color: #ff9021 !important;
}

.main-event-item:active {
  transform: translateY(-1px) !important;
}
/* =========================================================
  終了したイベントのリンク削除
========================================================= */
.main-ended-item-inner {
  display: block;
  width: 100%;
  height: 100%;
}
/* =========================================================
  募集中イベントがない場合の固定バナー
========================================================= */

.main-event-item--static {
  cursor: default;
}

.main-event-static {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 8px;
  background: #ffffff;
}

.main-event-item-image--static {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
/* =========================================================
  募集中イベントがない場合の固定バナー
========================================================= */

.main-event-item--static {
  grid-column: 1 / -1;
  height: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  cursor: default;
}

.main-event-static {
  display: block;
  width: 100%;
  height: auto !important;
  overflow: hidden;
  border-radius: 8px;
  background: #ffffff;
}

.main-event-item--static .main-event-item-image--static {
  display: block;
  width: 100%;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
}
/* =========================================================
  募集終了までの残日数
========================================================= */

.main-event-item > a {
  position: relative;
  display: block;
}

.main-event-countdown {
  position: absolute;
  top: 16px;
  right: 14px;
  z-index: 5;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 30px;
  padding: 6px 13px;

  background: #3f3f3f;
  color: #ffffff;

  border: 2px solid #ffffff;
  border-radius: 999px;

  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.02em;
  white-space: nowrap;

  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

/* 終了が近いイベント */
.main-event-countdown.is-soon {
  background: #3f3f3f;
}

/* 本日終了 */
.main-event-countdown.is-today {
  background: #2f2f2f;
}

/* 終了済み */
.main-event-countdown.is-ended {
  background: #777777;
}

@media (max-width: 767px) {
  .main-event-countdown {
    top: 10px;
    right: 8px;
    min-height: 27px;
    padding: 5px 9px;
    font-size: 11px;
  }
}