@charset "utf-8";

.page_visual {
  background: url("../img/support/pre_mv.jpg") 50% 40% no-repeat !important;
  background-size: cover;
}

.apply_inner {
  max-width: 1024px;
  margin: 80px auto;
}
.apply_title {
  text-align: center;
  line-height: 1.3;
  padding-bottom: 5rem;
}
.apply_title h2 {
  font-size: 3.2rem;
  font-weight: bold;
  letter-spacing: 6.4px;
  line-height: 1.5;
}
.apply_sub {
  font-weight: bold;
  color: #e2540a;
}

/* ==========================================================================
    活動報告（※完全に元の正しいレイアウトに復元しました）
   ========================================================================== */
.inform {
  background: #f4f3e8;
  padding: 55px 0 112px;
}
.inform_inner {
  max-width: 1024px;
  margin: 0 auto;
}
.inform_title {
  text-align: center;
  line-height: 1.3;
}
.inform_title h2 {
  font-size: 3.2rem;
  font-weight: bold;
  letter-spacing: 6.4px;
  line-height: 1.5;
}
.inform_sub {
  font-weight: bold;
  color: #e2540a;
}
.inform_box {
  background: #fff;
  margin-top: 50px;
  padding: 50px;
  border: 1px solid #665c54;
  border-radius: 25px;
}
.inform_list_title {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #665c54;
}
.inform_type {
  width: 120px;
  border-radius: 50px;
  color: #fff;
  text-align: center;
  font-weight: 500;
  line-height: 2;
  background: #94caa7;
}
.inform_list_title .inform_title_text,
.inform_data {
  font-size: 2rem;
  font-weight: bold;
  line-height: 1.5;
  letter-spacing: 0.8px;
}
.inform_text {
  margin-top: 56px;
}

.is-layout-flex {
  display: flex;
  gap: 20px;
}
.is-layout-flex > * {
  max-width: calc(50% - 10px);
}
@media screen and (min-width: 768px) {
  /* PCの場合はtelリンクを無効 */
  a[href*="tel:"] {
    pointer-events: none;
    cursor: default;
    text-decoration: none;
  }
}

/* ==========================================================================
    プレゼント応募エリア：注意事項ブロック
   ========================================================================== */
.support-notes-block {
  margin-top: 8rem;
  padding: 3rem;
  background-color: rgba(244, 243, 232, 0.2);
  border: 1px solid #d1c6be;
  border-radius: 8px;
  width: 100%;
  box-sizing: border-box;
}

.support-notes-heading {
  font-size: 2rem;
  line-height: 2rem;
  font-weight: 700;
  color: #665c54;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px dashed #d1c6be;
}

.support-notes-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.support-notes-item {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.support-notes-item:last-child {
  margin-bottom: 0;
}

.notes-item-title {
  flex: none;
  font-size: 1.6rem;
  font-weight: 700;
  color: #665c54;
  position: relative;
  padding-bottom: 0.5rem;
}

.notes-item-text {
  font-size: 1.4rem;
  flex: 1;
  color: #665c54;
}


/* ==========================================================================
    プレゼント応募ブロックパターン用のスタイル（コメントアウト部分を完全保持）
   ========================================================================== */
/* .support-apply-pattern {
  display: flex !important;
  flex-wrap: wrap;
  gap: 4rem;
  align-items: center;
  margin-bottom: 3rem;
}

.support-apply-left,
.support-apply-right {
  flex-basis: calc(50% - 1rem) !important;
  flex-grow: 1;
  min-width: 300px;
}

.support-apply-title {
  margin-top: 0 !important;
  margin-bottom: 2rem !important;
  font-size: 2.2rem;
  line-height: 1.6;
  font-weight: bold;
}

.support-apply-text {
  margin-top: 0 !important;
  margin-bottom: 3rem !important;
  font-size: 1.6rem;
  line-height: 2;
}

.support-apply-btn .wp-block-button__link {
  display: inline-block;
  background-color: #81c8cd;
  color: #ffffff !important;
  padding: 1rem 5rem;
  font-size: 1.8rem;
  letter-spacing: .05em;
  text-decoration: none;
  border-radius: 25px;
  transition: background-color 0.3s ease;
}

.support-apply-btn .wp-block-button__link:hover {
  opacity: .7;
}

.support-apply-img {
  margin: 0 !important;
  text-align: center;
}

.support-apply-img img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
} */


/* ==========================================================================
    PC用：プレゼント応募ブロック共通装飾（ベース）
   ========================================================================== */
.support-apply-pattern.type-eyecatch {
  display: flex !important;
  /* flex-wrap: wrap !important; */
  flex-flow: row wrap;
  align-items: flex-start;
  background: #ffffff;
  border: 1px solid #d1c6be;
  border-radius: 12px;
  padding: 4rem 3rem 4rem 3rem;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.02);
  box-sizing: border-box;
  position: relative;
}

.support-badge {
  position: absolute;
  top: 0;
  left: 3rem;
  transform: translateY(-50%);
  display: inline-block;
  background: #e2540a;
  color: #fff;
  font-size: 1.4rem;
  padding: 1rem 3rem;
  border-radius: 100vmax;
  box-shadow: 0 4px 10px rgba(129, 200, 205, 0.3);
  z-index: 10;
  letter-spacing: 0.05em;
}

/* 応募終了時のバッジの色（グレー） */
.support-badge.is-closed {
  background: #B3B3B3 !important; /* オレンジを上書きしてグレーにする */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1) !important; /* 影も落ち着いた色に */
}

.support-apply-top {
  flex-basis: 100%;
  padding: 2rem 0;
}

/* PC：左カラム（WordPressのwidth自動計算を上書き） */
.support-apply-left {
  /* flex: 1.1 !important; */
  flex-basis: calc(62% - 1.5rem) !important; /* 横幅のベースを明示的に固定 */
  /* width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important; */
  margin-right: 3rem;
}
.support-apply-title {
  font-size: 2.2rem;
  line-height: 1.4;
  color: #665c54;
  margin-bottom: 2rem;
  font-weight: 700;
}
.support-apply-text {
  font-size: 1.6rem;
  color: #665c54;
  margin-bottom: 2rem;
}

.support-spec-meta {
  background-color: rgba(244, 243, 232, 0.4);
  border-radius: 8px;
  padding: 1rem 2rem;
}
.spec-meta-row {
  display: flex;
  border-bottom: 1px solid #d1c6be;
  font-size: 1.6rem;
  padding: 2rem;
}
.spec-meta-row:last-child {
  border-bottom: none;
}
.meta-label {
  width: 100px;
  font-weight: 700;
  color: #665c54;
  flex: none;
}
.meta-value {
  color: #665c54;
}
.meta-value.font-highlight {
  color: #e2540a;
  font-weight: 700;
}

.support-apply-bottom {
  flex-basis: 100%;
  padding: 2rem 0;
  margin-top: 4rem;
}

/* PC用：ボタンを左右並びから100%離脱させ、下中央に1カラムで確実に配置するリセット命令 */
.support-apply-buttons.js-movable-btn-wrapper {
  display: block !important;     /* Flex子要素としての挙動を無効化 */
  flex: none !important;          /* WordPressコアの縮小・拡大設定を完全破壊 */
  flex-basis: 100% !important;    /* 100%の横幅を確保して、必ず次の行へ強制改行 */
  width: 100% !important;
  max-width: 100% !important;
  margin: 3rem auto 0 !important;
  text-align: center !important;
}

.support-apply-btn {
  display: inline-block !important;
  width: auto !important;
  margin: 0 auto !important;
  text-align: center !important;
}
.support-apply-btn a {
  display: inline-block;
  background: #81c8cd;
  color: #fff;
  text-decoration: none;
  padding: 1rem 5rem;
  border-radius: 100vmax;
  transition: background 0.3s, transform 0.2s;
  box-shadow: 0 4px 12px rgba(0, 115, 170, 0.2);
  font-size: 1.8rem;
}
.support-apply-btn a:hover {
  opacity: 0.7;
}

/* PC：右カラム（WordPressのwidth自動計算を上書き） */
.support-apply-right {
  /* flex: 0.9 !important; */
  flex-basis: calc(38% - 1.5rem) !important; /* 横幅のベースを明示的に固定 */
  /* width: 100% !important; */
  max-width: 460px !important;
  /* margin: 0 auto !important; */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-width: 280px;
}

.support-circle-wrapper {
  position: relative;
  width: 80%;
  aspect-ratio: 1 / 1;
}
.support-circle-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  display: block;
}

.image-overlay-message {
  width: 100%;
  /* max-width: 420px; */
  box-sizing: border-box;
  position: relative;
  z-index: 2;
  /* margin-top: -36px; */
}

.overlay-title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #ffffff;
  color: #e2540a;
  font-size: 2rem;
  font-weight: 700;
  padding: 0.5rem 3rem;
  border: 1px solid #e2540a;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  white-space: nowrap;
  position: absolute;
  top: 0;
  left: 3rem;
  transform: translate(0%, -50%);
  /* left: 50%;
  transform: translate(-50%, -50%); */
  z-index: 3;
}

.overlay-text {
  display: block;
  background: #ffffff;
  color: #665c54;
  font-size: 1.6rem;
  text-align: left;
  padding: 3rem 1.5rem 2rem 2rem;
  margin: 0;
  font-weight: 500;
  border: 1px solid #e2540a;
  border-radius: 24px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
  width: 100%;
  box-sizing: border-box;
}


/* ==========================================================================
    💡 スマートフォン用メディアクエリ（767px以下一括統合版）
========================================================================== */
@media screen and (max-width: 767px) {
  /* 1. 既存のベーススタイル */
  .page_visual {
  background-size: auto;
}
  .apply {
    background-position: left;
    padding-top: 7rem;
    padding-bottom: 7rem;
  }
  .pre_text {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 47px;
  }

  /* 2. 大元のインナーをFlexboxにして全体の順序（カード、注意事項、ボタン）を制御可能にする */
  .apply_inner {
    width: 90%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
  }
  .apply_inner h3 {
    font-size: 1.8rem;
  }
  .apply_text > p {
    padding: 30px 0 20px;
  }

  /* 3. カード外枠：通常の縦並び（上から下）にし、全体の中で「1番目」に配置 */
  .support-apply-pattern.type-eyecatch {
    display: flex !important; /* スマホ時はFlexの通常縦並びに戻す */
    flex-direction: column !important; 
    gap: 1rem;
    padding: 4rem 1.5rem 4rem;
    align-items: center;
    order: 1; /* 全体の中で1番上（最初） */
  }

  /* カード内並び順：「テキスト」が1番、「画像」が2番 */
  .support-apply-left {
    order: 1; /* 左カラム（テキスト）が最初 */
    width: 100% !important;
  }
  
  .support-apply-right {
    order: 2; /* 右カラム（画像）がその下 */
    max-width: 380px !important;
    margin: 0 auto !important;
  }

  /* 4. 注意事項ブロック：全体の「2番目（カードの次）」に配置 */
  .support-notes-block {
    order: 2;
    margin-top: 2rem; 
    padding: 2rem 1.5rem;
  }

  /* 5. 応募ボタン：すべての要素（カード・注意事項）を追い抜いて、全体の「3番目（完全最下部）」に配置 */
  .support-apply-buttons.js-movable-btn-wrapper {
    order: 3;
    text-align: center !important;
    margin-top: 3rem !important;
    width: 100% !important;
  }

  /* 6. その他の細かなスマホ専用デザイン調整 */
  .support-badge {
    left: 50%;
    transform: translate(-50%, -50%);
  }
  .support-apply-title {
    font-size: 1.35rem;
  }
  .support-circle-wrapper {
    width: 85%;
  }
  .image-overlay-message {
    width: 100%;
    margin-top: -24px;
  }

  /* 注意事項アイテム内の縦並び制御 */
  .support-notes-item {
    flex-direction: column;
    margin-bottom: 1.25rem;
  }
  .notes-item-title {
    width: 100%;
    margin-bottom: 0.25rem;
  }
  .inform_inner {
  width: 90%;
}
.inform_box {
        padding: 35px 5%;
    }
    .inform_text {
      margin-top: 30px;
    }
}

/* 印刷用設定 */
@media print {
  body {
    width: 1280px;
    zoom: 0.68;
    -webkit-print-color-adjust: exact;
  }
}
@page {
  size: A4;
  margin: 5px;
}