@charset "UTF-8";

/* ==================================================
   Reset & Variables
================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-text: #333333;
  --color-main: #0073e6;
  --color-accent: #ff6b00;
  --color-bg: #f9fbfe;
  --color-white: #ffffff;
  --color-yellow: #FFF6CA;
  --color-border: #e0e0e0;
  --width-inner: 1100px;
}

:root {
    --text: #333;
  }

.fw400 {
  font-weight: 400 !important;
}

html {
    font-size: 16px;
  }

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--color-text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, picture {
  max-width: 100%;
  height: auto;
  display: block;
}

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

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, p {
  margin: 0;
}

.width100 {
  width: 100px !important;
}

@media screen and (max-width: 768px) {
    .mt1r { margin-top: 1rem !important;}
    .mb1r {margin-bottom: 1rem !important;}
    .mb20 {margin-bottom: 20px !important;}
    .mb50 {margin-bottom: 50px !important;}
}

/* ==================================================
   Layout & Utility
================================================== */
.l-wrapper {
  overflow-x: hidden;
  width: 100%;
}

.l-inner {
  width: 100%;
  max-width: var(--width-inner);
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}

.sp-only { display: none; }
.pc-only { display: block; }
span.pc-only, br.pc-only { display: inline; }

.c-heading {
  text-align: center;
  margin-bottom: 40px;
}

.c-heading-category {
  text-align: center;
  max-width: 40%;
  margin: 0 auto 50px;
}

.c-subheading {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 24px;
  display: inline-block;
  padding-bottom: 8px;
}

.c-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background-color: var(--color-accent);
  color: var(--color-white);
  text-decoration: none;
  font-size: 20px;
  font-weight: 700;
  padding: 16px 48px;
  border-radius: 50px;
  transition: opacity 0.3s ease;
}

.c-button:hover {
  opacity: 0.8;
}

.c-button-large {
  background-color: #2EA7E0;
  color: #fff;
  font-size: 32px;
  font-weight: bold;
  text-decoration: none;
  padding: 20px 150px;
  border-radius: 50px;
  display: inline-block;
  box-shadow: 0 5px 0 #0288D1;
  transition: transform 0.2s, box-shadow 0.2s;
}

.c-button-large:hover {
  transform: translateY(3px);
  box-shadow: 0 2px 0 #0288D1;
}

@media screen and (max-width: 768px) {
  .pc-only { display: none !important; }
  .sp-only { display: block; }
  span.sp-only, br.sp-only { display: inline; }

  .c-heading { font-size: 24px; margin-bottom: 50px; }
  .c-heading-category { max-width: 90%; margin: 0 auto 40px; }
  .c-button-large { font-size: 24px; padding: 15px 50px; width: 90%; box-sizing: border-box; }
}

/* ==================================================
   Hero
================================================== */
.p-hero {
  background-color: #eaf3ff;
  padding: 30px 0 0;
  text-align: center;
  background-image: url('../images/hero-bg.webp'); 
  background-repeat: no-repeat;
  background-position: center top; 
  background-size: cover; 
  max-height: 800px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.p-hero__decoration {
  position: absolute;
  bottom: 0;
  transform: translateY(50%);
  z-index: 500;
  pointer-events: none;
}

.p-hero__decoration--left {
  left: -50px;
  bottom: 60px;
  width: 300px;
}

.p-hero__decoration--right {
  right: -50px;
  bottom: 70px;
  width: 200px;
}

.p-hero__visual { 
  margin-bottom: 32px;
  position: relative;
  z-index: 1000;
}

.p-hero__visual img {
  margin: 120px auto 50px;
  border-radius: 16px;
}

.p-hero__catchphrase {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 8px;
}

.p-hero__title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.4;
}

.p-hero__subtitle {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 24px;
}

.p-hero__desc {
  font-size: 16px;
  margin-bottom: 24px;
}

.p-hero__deadline {
  font-size: 24px;
  font-weight: 700;
  display: inline-block;
  background: var(--color-white);
  padding: 16px 32px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.p-hero__deadline span {
  color: #ff0000;
  font-size: 32px;
}

@media screen and (max-width: 768px) {

  .p-hero {
    padding: 0;
    background-image: none;
    background-color: transparent;
    max-height: none;
    display: block;
  }

  .p-hero .l-inner {
    padding: 0;
  }

  .p-hero__visual {
    margin-bottom: 30px;
  }
  .p-hero__visual img {
    margin: 0;
    border-radius: 0;
    width: 100%;
  }

  .p-hero__decoration {
    display: none;
  }

  .sp-2top {
    max-width: 60%;
    margin: 0 auto 30px;
  }


  .p-hero__decoration--left { width: 150px; }
  .p-hero__decoration--right { width: 150px; }
  .p-hero__title { font-size: 24px; }
  .p-hero__subtitle { font-size: 18px; }
  .p-hero__deadline { font-size: 18px; padding: 12px 24px; }
  .p-hero__deadline span { font-size: 24px; display: block; }
}

/* ==================================================
   Prizes
================================================== */
.p-prizes {
  padding: 80px 0 80px;
  background-color: var(--color-yellow);
  background-image: url('../images/p-prizes-bg.webp');
  background-repeat: repeat;
  position: relative;
  z-index: 50;
}

.p-prizes__section {
  margin-bottom: 64px;
}

.p-prizes__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.p-prizes__card {
  flex: 1 1 calc(33.333% - 24px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.p-prizes__card img {
  width: 100%;
  object-fit: cover;
}

.p-prizes__notes-container {
  display: block;
  max-width: 800px;
  margin: 0 auto;
}

.p-prizes__notes p {
  color: #333;
  font-weight: 700;
}

.p-prizes__bg {
  position: absolute;
  z-index: -5;
  pointer-events: none;
  max-width: none;
}

@media screen and (max-width: 768px) {
  .p-prizes {
    padding: 50px 0 80px;
  }

  .p-prizes__card { 
    max-width: 90%;
    flex: 1 1 100%;
   }
}

/* ==================================================
   Categories
================================================== */
.p-categories {
  background-color: var(--color-white);
  padding: 80px 0;
  position: relative;
}

.p-categories .l-inner {
  position: relative;
  z-index: 10;
}

.p-categories__bg {
  position: absolute;
  z-index: 1; 
  pointer-events: none;
  max-width: none;
}

.p-categories__bg--1 {
  top: -10%;
  left: -15%;
  width: 250px;
}

.p-categories__bg--2 {
  top: 40%;
  right: -20%;
  width: 300px;
}

.p-categories__bg--3 {
  bottom: 10%;
  left: -25%;
  width: 400px;
}

.p-categories__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 30px;
  margin-top: 40px;
  position: relative;
  z-index: 2;
}

.p-category__card {
  position: relative;
  padding: 50px 30px 35px;
  border-radius: 15px;
  height: 100%;
}

.p-category__icon {
  position: absolute;
  top: -20px;
  right: 20px;
  width: 90px;
  height: auto;
  z-index: 1;
}

.p-category__icon2 {
  position: absolute;
  top: -20px;
  right: 20px;
  width: 110px;
  height: auto;
  z-index: 1;
}

.p-category__header h3 {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 20px;
}

.p-category__desc {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 25px;
  color: #333;
}

.p-category__info-row {
  display: flex;
  margin-bottom: 12px;
}

.p-category__info-row dt {
  color: #fff;
  font-size: 13px;
  font-weight: bold;
  padding: 3px 10px;
  border-radius: 4px;
  margin-right: 12px;
  flex-shrink: 0;
  height: fit-content;
}

.p-category__info-row dd {
  font-size: 15px;
  line-height: 1.6;
}

/* カラーバリエーション */
.p-category__card--blue { background-color: #EAF6FD; }
.p-category__card--blue h3 { color: #036EB8; }
.p-category__card--blue dt { background-color: #036EB8; }

.p-category__card--pink { background-color: #FDEFF5; }
.p-category__card--pink h3 { color: #E95377; }
.p-category__card--pink dt { background-color: #E95377; }

.p-category__card--green { background-color: #F2F8ED; }
.p-category__card--green h3 { color: #8FC31F; }
.p-category__card--green dt { background-color: #8FC31F; }

.p-category__card--orange { background-color: #FFF6EA; }
.p-category__card--orange h3 { color: #F39700; }
.p-category__card--orange dt { background-color: #F39700; }

.u-link {
    color: #0071bc;
    text-decoration: underline;
    font-weight: 700;
    transition: opacity 0.3s;
    font-size: 1.1rem;
}

.u-link:hover {
    text-decoration: none;
    opacity: 0.7;
}

@media screen and (max-width: 768px) {
  .p-categories {
    padding: 80px 0 50px;
  }

  .p-categories__bg--1 { width: 350px; top: 2%; left: -20%; }
  .p-categories__bg--2 { width: 400px; top: 40%; right: -30%; }
  .p-categories__bg--3 { width: 350px; bottom: 2%; left: -15%; }
  
  .p-categories__grid { grid-template-columns: 1fr; }
  .p-category__card { padding: 40px 20px 30px; }
  .p-category__icon { top: -15px; right: 15px; width: 70px; }
  .p-category__icon2 { top: -15px; right: 10px; width: 90px; }
  
  .p-category__info-row { flex-direction: column; align-items: flex-start; }
  .p-category__info-row dt { margin-right: 0; margin-bottom: 8px; }
  .p-category__info-row dd { margin-left: 0; }
}

/* ==================================================
   How to Apply (フローと注意事項)
================================================== */
.p-howto {
  padding: 80px 0;
}

.ttl-apply,
.ttl-result {
  max-width: 15%;
  margin: 50px auto;
}

.text-result {
  text-align: center;
  margin: 50px auto;
  font-weight: 700;
}

.p-howto__steps {
  max-width: var(--width-inner);
  margin: 40px auto;
}

.p-howto__step {
  margin-bottom: 40px;
}

.p-howto__step-title {
  background-color: #F7A9B6;
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  padding: 10px 20px;
  border-radius: 8px 8px 0 0;
  margin: 0;
  width: max-content;
  padding-right: 40px;
}

.p-howto__step-content {
  background-color: #FEF1C8;
  padding: 25px 30px;
  border-radius: 0 8px 8px 8px;
  color: #333;
}

.p-howto__desc {
  font-weight: bold;
  margin-bottom: 20px;
}

.p-howto__columns {
  display: flex;
  gap: 30px;
  margin-top: 15px;
}

.p-howto__col {
  flex: 1;
}

.p-howto__col-title {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 10px;
}

.p-howto__col-title--caution {
  font-size: 16px;
  font-weight: bold;
  background-color: #AED581;
  display: inline-block;
  padding: 4px 15px;
  margin-bottom: 10px;
}

.p-howto__caution-list,
.p-howto__rule-list {
  list-style: none;
  padding: 0;
  margin: 0 0 10px 0;
  line-height: 1.8;
}

.p-howto__caution-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px 15px;
}

.p-howto__note-small {
  font-size: 13px;
  color: #555;
  margin-top: 10px;
}

.p-howto__schedule {
  text-align: center;
  line-height: 1.8;
  margin-top: 60px;
}

.p-howto__bg {
  position: absolute;
  z-index: -1; 
  pointer-events: none; 
  max-width: none;
}

.p-howto__bg--1 {
  top: 10%;
  right: -20%;
  width: 300px;
}

@media screen and (max-width: 768px) {
  .p-howto {
    padding: 10px 0 80px;
  }
  .ttl-apply, .ttl-result { max-width: 40%; margin: 30px auto; }
  .p-howto__columns { flex-direction: column; gap: 20px; }
  .p-howto__caution-list { grid-template-columns: 1fr; }
  .p-howto__bg--1 { width: 30%; left: -5%; top: 5%; }
}

/* ==================================================
   Notes (注意事項)
================================================== */
.p-notes {
  max-width: var(--width-inner);
  margin: 0 auto 80px;
}

.p-notes__title {
  background-color: #B0BEC5;
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  display: inline-block;
  padding: 10px 40px;
  border-radius: 10px 10px 0 0;
  margin: 0;
}

.p-notes__content {
  background-color: #F5F5F5;
  padding: 40px;
  border-radius: 0 10px 10px 10px;
}

.p-notes__list {
  padding-left: 20px;
  margin: 0;
}

.p-notes__list li {
  margin-bottom: 10px;
  line-height: 1.6;
  font-size: 15px;
  color: #333;
}

.p-notes__bg {
  position: absolute;
  z-index: -1; 
  pointer-events: none; 
  max-width: none;
}

.p-notes__bg--1 {
  top: 5%;
  left: -23%;
  width: 300px;
}

.p-notes__bg--2 {
  bottom: -48%;
  right: -25%;
  width: 300px;
}

@media screen and (max-width: 768px) {
  .p-notes__content { padding: 20px; }
  .p-notes__bg--1 { width: 25%; right: -2%; top: -20px; }
  .p-notes__bg--2 { width: 25%; left: -5%; bottom: 10%; }
}

/* ==================================================
   Footer
================================================== */
.p-footer {
  position: relative;
  z-index: 0;
  text-align: center;
  padding: 60px 0 250px; 
  overflow: hidden; 
}

.p-footer__cta {
  margin-bottom: 80px;
}

.p-footer__sponsor-main {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 30px;
  line-height: 1.5;
}

.p-footer__logos ul {
  column-count: 5; 
  column-gap: 40px; 
  list-style: none;
  padding: 0;
  max-width: 1000px;
  width: fit-content; 
  margin: 0 auto;
  text-align: left;
}

.p-footer__logos li {
  margin-bottom: 20px; 
  break-inside: avoid;
  font-size: 15px;
  color: #333;
  line-height: 1.6;
}

.p-footer__note {
  text-align: right;
  max-width: 1000px;
  margin: 20px auto 0;
  font-size: 15px;
  color: #333;
}

.p-footer__bg {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  max-width: none;
  opacity: 0.8; 
}

.p-footer__bg--1 {
  width: 400px;
  bottom: -50px;
  left: -80px;   
}

.p-footer__bg--2 {
  width: 600px;
  bottom: -10%;
  left: 50%;
  transform: translateX(-50%); 
}

.p-footer__bg--3 {
  width: 400px;
  bottom: -60px;
  right: -100px;
}

@media screen and (max-width: 768px) {
  .p-footer {
    padding: 0 0 180px; 
  }

  .p-footer__logos ul { 
    column-count: 1; 
    width: auto; 
    text-align: center;
  }

  .p-footer__logos li {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
    break-inside: avoid;
  }

  .p-footer__note {
    text-align: left;
    margin: 20px auto 0;
    font-size: 16px;
  }

  .p-footer__bg--1 { width: 35%; left: -10%; bottom: -30px; }
  .p-footer__bg--2 { width: 30%; bottom: -40px; }
  .p-footer__bg--3 { width: 40%; right: -15%; bottom: -40px; }
}

/* =================================================== 
    CF7
   =================================================== */
   .form-page {
    background-color: #f4f7f8;
    padding: 60px 0;
    font-family: "Noto Sans JP", sans-serif;
}

.form-wrap {
    max-width: 1000px; /* インナー1000px */
    margin: 0 auto;
    background-color: #fff;
    padding: 50px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border-radius: 12px;
}

.form-title {
    text-align: center;
    margin-bottom: 40px;
}
.form-title img {
    max-width: 100%;
    height: auto;
}

.oubo-title {
  font-size: 20px;
}

/* キャンペーン情報セクション */
.campaign-info {
    margin-bottom: 100px;
    border-top: 2px solid #eee;
}

.info-item {
    display: flex;
    border-bottom: 1px solid #eee;
    padding: 20px 0;
}

.info-item .label {
    width: 200px;
    font-weight: bold;
    flex-shrink: 0;
    color: var(--text);
    padding-right: 20px;
}

.info-item .content {
    flex-grow: 1;
    font-size: 15px;
    line-height: 1.7;
}

.highlight-text {
    font-weight: bold;
}

.info-list {
    margin: 0;
    padding-left: 1.2em;
    list-style-type: disc;
}

.info-list li {
    margin-bottom: 8px;
    color: var(--text);
}

.form-content {
    margin-top: 40px;
}

.wpcf7-form .form-row {
    display: flex;
    align-items: flex-start; /* 上揃えに変更 */
    margin: 2rem 0;
    justify-content: space-between;
}

.form-label {
    width: 240px;
    margin-right: 20px;
    font-weight: bold;
    flex-shrink: 0;
    padding-top: 10px; /* 入力欄との高さを合わせる */
}

/* 必須ラベル */
.form-label.required::after {
    content: "必須";
    font-size: 0.75em;
    color: #fff;
    background-color: #d32f2f;
    padding: 2px 8px;
    border-radius: 3px;
    margin-left: 10px;
    vertical-align: middle;
}

.form-row .wpcf7-form-control-wrap,
.form-row .input-wrapper {
    flex: 1;
    min-width: 0;
    max-width: 640px;
}

/* 入力フィールドの基本スタイル */
.input-text,
.input-textarea,
.wpcf7-form-control.wpcf7-select,
.wpcf7-form-control.wpcf7-number,
.wpcf7-form-control.wpcf7-textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
    background-color: #fafafa;
    transition: border-color 0.3s, background-color 0.3s;
}

.input-text:focus,
.input-textarea:focus,
.wpcf7-select:focus,
.wpcf7-form-control.wpcf7-textarea:focus {
    border-color: #0071bc;
    background-color: #fff;
    outline: none;
}

.input-textarea,
.wpcf7-form-control.wpcf7-textarea  {
    height: 250px; 
    resize: vertical; 
    line-height: 1.6;
}

/* バリデーションエラーメッセージ */
.error-message {
    display: block;
    color: #d32f2f;
    font-size: 0.85em;
    font-weight: bold;
    margin-top: 5px;
}

.is-error {
    border-color: #d32f2f !important;
    background-color: #fff8f8 !important;
}

.form-input-area[aria-hidden="true"] {
    display: none;
}

.confirmation-view {
    display: none;
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #eee;
}

.confirmation-view[aria-hidden="false"] {
    display: block;
}

.confirmation-view ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.confirmation-view li {
    display: flex;
    padding: 1.2rem 0;
    border-bottom: 1px solid #ddd;
}

.confirmation-view li:last-child {
    border-bottom: none;
}

.confirmation-view .conf-label {
    flex-shrink: 0;
    width: 240px;
    margin-right: 20px;
    font-weight: bold;
    color: var(--text);
}

.confirmation-view .conf-value {
    flex: 1;
    min-width: 0;
    white-space: pre-wrap;
    word-break: break-all;
}

.js-btn-wrap {
    margin-top: 40px;
    text-align: center;
}

.js-btn-wrap [aria-hidden="true"] {
    display: none !important;
}

.js-confirm-btn,
.js-return-btn,
.wpcf7-submit {
    display: inline-block;
    width: 100%;
    max-width: 350px;
    padding: 18px 20px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
}

/* 確認するボタン */
.js-confirm-btn {
    background-color: #0071bc;
    color: #fff;
}
.js-confirm-btn:hover:not(:disabled) {
    background-color: #005a96;
    transform: translateY(-2px);
}
.js-confirm-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* 送信・修正ボタンの並び（確認画面時） */
.js-secondstep {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* CF7が勝手に出力する不要な改行や空のPタグを消去 */
.js-secondstep br,
.js-secondstep p:empty {
    display: none !important;
}

/* pタグの中にボタンが入っている場合、pタグの箱を「なかったこと」にする魔法 */
.js-secondstep p {
    margin: 0;
    padding: 0;
    display: contents; 
}

.cf7-cf-turnstile {
    order: 1;
    margin: 0 0 25px 0 !important; /* CF7の変なインラインマイナスマージンを強制リセット */
    display: flex;
    justify-content: center;
    width: 100%;
}

.js-return-btn {
    order: 2;
    background-color: #999;
    color: #fff;
    padding: 18px 20px;
}

.wpcf7-submit {
    order: 1;
    background-color: #28a745;
    color: #fff;
    margin-bottom: 20px;
}


.form-footer {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid #ddd;
    text-align: center;
    font-size: 14px;
    color: var(--text);
}

.madoguchi a {
    color: #0071bc;
    text-decoration: underline;
}

.form-thanks-nav {
  margin: 50px 0;
}

/* スマホ対応 (768px以下) */
@media screen and (max-width: 768px) {
  .oubo-title {
    font-size: 15px;
  }

  .form-page {
    padding: 60px 20px;
  }
    .form-wrap {
        padding: 30px 15px;
    }
    
    .info-item,
    .wpcf7-form .form-row,
    .confirmation-view li {
        flex-direction: column;
    }

    .wpcf7-form .form-row {
        margin: 0;
    }
    
    .info-item .label,
    .form-label,
    .confirmation-view .conf-label {
        width: 100%;
        margin-right: 0;
        margin-bottom: 10px;
        padding-top: 0;
    }

    .form-label {
        margin-bottom: 0;
    }
    
    .js-secondstep {
        flex-direction: column;
        align-items: center;
    }
    
    .js-return-btn {
        order: 2; /* 修正ボタンを下に */
    }
    .wpcf7-submit {
        order: 1; /* 送信ボタンを上に */
    }

    .wpcf7-conditional-field[data-name="group-dept-letter"] .form-row,
    .wpcf7-conditional-field[data-name="group-dept-illust"] .form-row {
        margin-bottom: 30px !important;
    }

    .form-row:has(input[name="your-file"]) {
        margin-top: 30px !important;
    }
}


/* =================================================== 
   同意チェックボックス内のリンク装飾
   =================================================== */
   .input-wrapper a {
    color: #0071bc; /* メインカラーの青色 */
    text-decoration: underline; /* 下線を引く */
    font-weight: bold; /* 少しだけ太字にして目立たせる */
    transition: opacity 0.3s;
}

/* マウスを乗せた時の動き（フワッと少し薄くなり、下線が消える） */
.input-wrapper a:hover {
    text-decoration: none;
    opacity: 0.7;
}


/* -----------------------------------------------
  Privacy Policy Page
----------------------------------------------- */

/* 全体コンテナ：インナー1000px固定 */
.policy-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 20px;
    box-sizing: border-box;
    color: var(--text);
    line-height: 1.8;
}


.form-title {
    text-align: center;
    margin-bottom: 40px;
}
.form-title img {
    max-width: 100%;
    height: auto;
}

.policy-content h2 {
    font-size: 24px;
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    position: relative;
}

.policy-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #0071bc;
}

/* 各セクションの調整 */
.policy-section {
    margin-bottom: 40px;
}

.policy-section h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    border-left: 4px solid #0071bc;
    padding-left: 15px;
}

.policy-item {
    margin-bottom: 15px;
}

/* a. b. c. などのリスト形式 */
.sub-list {
    list-style: none;
    padding-left: 1.5em;
    margin-top: 5px;
}

.sub-list li {
    display: flex;
    margin-bottom: 8px;
}

.sub-list li span {
    display: inline-block;
    width: 20px;
    flex-shrink: 0;
}

/* お問い合わせ窓口のボックス */
.contact-box {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
}

.contact-detail {
    margin-top: 15px;
}

.company-name {
    font-weight: bold;
    font-size: 1.1em;
}

.email a {
    color: #0071bc;
    text-decoration: underline;
}

/* 戻るボタン */
.thanks-nav {
    text-align: center;
    margin-top: 60px;
}

.btn-back {
    display: inline-block;
    padding: 15px 50px;
    background-color: #666;
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    transition: background-color 0.3s;
}

.btn-back:hover {
    background-color: #333;
    color: #fff;
}

.sub-list li div a {
  color: #0071bc;
  text-decoration: underline;
  font-weight: bold;
  word-break: break-all;
}

.sub-list li div a:hover {
  text-decoration: none;
  opacity: 0.7;
}

.sub-list li div {
  flex: 1; /* 残りの幅をすべて使う */
}

@media screen and (max-width: 768px) {
    .policy-inner {
        padding: 40px 15px;
    }
    .policy-content h2 {
        font-size: 20px;
    }
    .contact-box {
        padding: 20px;
    }
}

/* =================================================== 
   サンクスページ専用スタイル
   =================================================== */

/* メッセージエリア */
.is-thanks .thanks-message {
    text-align: center;
    padding: 40px 0;
    line-height: 2;
    color: var(--text)
}

.is-thanks .main-msg {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}

.is-thanks .sub-msg {
    font-size: 16px;
    margin-bottom: 30px;
    color: var(--text)
}

.thanks-nav {
    text-align: center;
    margin-top: 40px;
}

.btn-back {
    display: inline-block;
    padding: 18px 60px;
    background-color: #666;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.btn-back:hover {
    background-color: #333;
    color: #fff;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
    .is-thanks .main-msg {
        font-size: 20px;
    }
    .is-thanks .sub-msg {
        font-size: 14px;
        text-align: left;
    }
}

/* =================================================== 
    右下追従応募ボタン（CTA）
   =================================================== */
   .p-floating-cta {
    position: fixed;
    bottom: 35px;
    right: 35px;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
}

/* スクロール時にJSで付与されるクラス */
.p-floating-cta.is-show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.c-floating-button {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px 40px; /* キラキラが無くなった分、横幅のバランスを調整 */
    
    background: linear-gradient(to bottom, #ffb300, #ff6b00); 
    color: #fff !important;
    font-size: 20px;
    font-weight: bold;
    border-radius: 50px;
    
    border: 3px solid #fff;
    
    box-shadow: 0 6px 0 #cc5200, 0 10px 20px rgba(0, 0, 0, 0.15);
    
    position: relative;
    transition: all 0.15s ease;
}

.c-floating-button:hover {
    transform: translateY(3px);
    box-shadow: 0 3px 0 #cc5200, 0 5px 10px rgba(0, 0, 0, 0.15);
}

@media screen and (max-width: 768px) {
    .p-floating-cta {
        bottom: 25px;
        right: 20px;
    }

    .c-floating-button {
        padding: 10px 30px;
        font-size: 16px;
        border: 2px solid #fff;
        box-shadow: 0 4px 0 #cc5200, 0 6px 12px rgba(0, 0, 0, 0.15);
    }
    
    .c-floating-button:hover {
        transform: translateY(2px);
        box-shadow: 0 2px 0 #cc5200, 0 3px 6px rgba(0, 0, 0, 0.15);
    }
}