/* -------------------------

apply（動画応募フォーム）

---------------------------- */
#apply main {
  background: url(../images/bg_page.png) top center / 100% auto repeat-y, #ede9e1;
}

#apply-page {
  margin: 0 25px;
  border-right: 1px solid #0c79b4;
  border-left: 1px solid #0c79b4;
}

/* 段落間は flex の gap で取るため、module.css の p + p は無効化する */
#apply-page p + p {
  margin-top: 0;
}

#apply-page .m-sec-ttl {
  gap: 12px;
}

#apply-page .m-sec-ttl .en {
  font-size: 4.8rem;
  font-weight: 900;
  letter-spacing: .03em;
}

#apply-page .m-sec-ttl .en b {
  color: #252525;
}

#apply-page .m-sec-ttl .ja {
  font-size: 2.4rem;
}

/* 入力区分ラベル（必須 / 任意） */
.m-form .tag {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  display: inline-block;
  flex-shrink: 0;
  padding: 3px 7px;
}

.m-form .tag.is-required {
  color: #fff;
  background: #0c79b4;
}

.m-form .tag.is-optional {
  color: #797b7f;
  background: #f2ede3;
}

/* 応募の流れ */
#apply-flow {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 36px;
  padding: 64px 144px;
  border-bottom: 1px solid #0c79b4;
  background: rgba(166, 215, 228, .2);
}

#apply-flow::before {
  position: absolute;
  inset: 0;
  content: '';
  opacity: .3;
  background: url(../images/contact_flow_bg.png) center / cover no-repeat;
}

#apply-flow > * {
  position: relative;
}

#apply-flow .step-list {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#apply-flow .step {
  display: flex;
  flex-direction: column;
  align-self: flex-start;
  align-items: center;
  gap: 16px;
  width: 224px;
  text-align: center;
}

#apply-flow .step-list .arrow {
  font-size: 8rem;
  font-weight: 500;
  line-height: 1;
  flex-shrink: 0;
  color: #0c79b4;
}

#apply-flow .step .icon {
  width: 120px;
  height: 120px;
}

#apply-flow .step .no {
  font-size: 1.8rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: .06em;
  color: #0c79b4;
}

#apply-flow .step .name {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  color: #252525;
}

#apply-flow .step .desc {
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.85;
  color: #252525;
}

/* 応募フォーム */
#apply-form {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 64px 144px;
}

.m-form .form-intro {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.m-form .intro-head {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px 24px;
}

.m-form .require-note {
  font-size: 1.2rem;
  line-height: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #797b7f;
}

.m-form .guide {
  font-size: 1.4rem;
  line-height: 1.8;
  color: #252525;
}

.m-form .entry-form,
.m-form .form-sec {
  display: flex;
  flex-direction: column;
}

.m-form .entry-form {
  gap: 40px;
}

.m-form .form-sec.is-upload {
  gap: 16px;
}

.m-form .form-sec.is-agreement {
  gap: 22px;
}

/* セクション見出し（罫線の交点に + マーク） */
.m-form .sec-head {
  position: relative;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  padding: 28px 0 24px;
  border-top: 1px solid #0c79b4;
}

.m-form .sec-head::before,
.m-form .sec-head::after {
  position: absolute;
  content: '';
  background: #0c79b4;
}

.m-form .sec-head::before {
  top: -1px;
  left: -.5px;
  width: 12px;
  height: 2px;
}

.m-form .sec-head::after {
  top: -6px;
  left: 4.5px;
  width: 2px;
  height: 12px;
}

.m-form .sec-head .num {
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  color: #0c79b4;
  background: #e0ff30;
}

.m-form .sec-head .ja {
  font-size: 2.3rem;
  font-weight: 700;
  line-height: 1;
  color: #0c79b4;
}

.m-form .sec-head .en {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .08em;
  color: #0c79b4;
}

/* 入力行 */
.m-form .form-row {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 18px 0;
}

.m-form .form-row.is-top {
  align-items: flex-start;
}

.m-form .row-label .name {
  white-space: nowrap;
}

.m-form .row-label {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 12px;
  width: 248px;
  color: #252525;
}

.m-form .form-row.is-top .row-label {
  padding-top: 14px;
}

.m-form .row-body {
  flex: 1 1 0;
  min-width: 0;
}

.m-form input[type='text'],
.m-form input[type='email'],
.m-form input[type='tel'],
.m-form select,
.m-form textarea {
  font-family: inherit;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.6;
  display: block;
  width: 100%;
  height: 56px;
  padding: 16px 18px;
  color: #252525;
  border: 1px solid #c4d5d9;
  border-radius: 2px;
  background: #fff;
}

.m-form textarea {
  height: 148px;
  resize: vertical;
}

.m-form ::placeholder {
  color: #797b7f;
  opacity: 1;
}

.m-form input:focus-visible,
.m-form select:focus-visible,
.m-form textarea:focus-visible {
  outline: 2px solid #0c79b4;
  outline-offset: -1px;
}

.m-form .counter {
  font-size: 1.2rem;
  line-height: 1;
  margin-top: 8px;
  text-align: right;
  color: #797b7f;
}

/* 姓名の2カラム */
.m-form .row-body.is-split {
  display: flex;
  gap: 28px;
}

.m-form .row-body.is-split .unit {
  display: flex;
  align-items: center;
  flex: 1 1 0;
  gap: 14px;
  min-width: 0;
}

.m-form .row-body.is-split .unit > label {
  font-size: 1.3rem;
  font-weight: 500;
  flex-shrink: 0;
  color: #252525;
}

/* 年齢・性別 */
.m-form .row-body.is-age {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
}

.m-form .select-box {
  position: relative;
  width: 220px;
}

.m-form .select-box select {
  padding-right: 44px;
  cursor: pointer;

  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

.m-form .select-box::after {
  position: absolute;
  top: 50%;
  right: 18px;
  width: 16px;
  height: 16px;
  margin-top: -8px;
  content: '';
  pointer-events: none;
  background: url(../images/chevron_down_blue.svg) center / 16px 16px no-repeat;
}

.m-form .gender-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
}

.m-form .gender-group .group-label {
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #252525;
}

.m-form .radio-list,
.m-form .radio-list .wpcf7-form-control-wrap,
.m-form .radio-list .wpcf7-form-control {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.m-form .radio-list .wpcf7-list-item {
  margin: 0;
}

.m-form .radio-list label {
  font-size: 1.3rem;
  line-height: 1;
  display: flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  color: #252525;
}

.m-form .radio-list input {
  width: 18px;
  height: 18px;
  margin: 0;
  cursor: pointer;
  flex-shrink: 0;
  border: 1px solid #0c79b4;
  border-radius: 50%;
  background: #fff;

  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

.m-form .radio-list input:checked {
  background: #0c79b4;
  box-shadow: inset 0 0 0 4px #fff;
}

/* 動画アップロード */
.m-form .upload-note,
.m-form .agree-note {
  font-size: 1.4rem;
  line-height: 1;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  color: #252525;
}

.m-form .drop-area {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 32px;
  text-align: center;
  border: 1px dashed #0c79b4;
  background: #ebf4f7;
}

.m-form .drop-area.is-over {
  background: #dceaf1;
}

.m-form .drop-area .icon {
  width: 80px;
  height: 80px;
}

.m-form .drop-area .lead {
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1;
  color: #0c79b4;
}

.m-form .drop-area .select-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.m-form .drop-area .or {
  font-size: 1.2rem;
  line-height: 1;
  color: #797b7f;
}

.m-form .drop-area .select-btn {
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 248px;
  height: 48px;
  cursor: pointer;
  color: #0c79b4;
  border: 1px solid #0c79b4;
  background: #fff;
}

/* ドロップ領域全体をクリック・ドロップ可能にする（required の検証対象として残す） */
.m-form .drop-area input[type='file'] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  opacity: 0;
}

.m-form .drop-area .note {
  font-size: 1.2rem;
  line-height: 1;
  color: #797b7f;
}

.m-form .drop-area .file-name {
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
  color: #0c79b4;
}

/* 同意・確認事項 */
.m-form .terms-box {
  height: 307px;
  padding: 40px 32px 40px 40px;
  background: #fff;

  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #0c79b4 transparent;
}

.m-form .terms-box::-webkit-scrollbar {
  width: 8px;
}

.m-form .terms-box::-webkit-scrollbar-track {
  background: transparent;
}

.m-form .terms-box::-webkit-scrollbar-thumb {
  border-radius: 30px;
  background: #0c79b4;
}

.m-form .terms-box h4 {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.6;
  margin: 0 0 34px;
  letter-spacing: -.03em;
  color: #252525;
}

.m-form .terms-box .block {
  font-size: 1.6rem;
  line-height: 1.6;
  letter-spacing: -.03em;
  color: #252525;
}

.m-form .terms-box .block + .block {
  margin-top: 34px;
}

.m-form .terms-box .block .b {
  font-weight: 700;
}

.m-form .agree-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 16px 28px;
}

.m-form .agree-list .wpcf7-list-item {
  margin: 0;
}

.m-form .agree-list input {
  width: 24px;
  height: 24px;
  margin: 0;
  cursor: pointer;
  flex-shrink: 0;
  border: 2px solid #0c79b4;
  border-radius: 2px;
  background: #fff;

  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

.m-form .agree-list input:checked {
  background: #0c79b4 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23fff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8.5 6.5 12 13 4.5'/%3E%3C/svg%3E") center / 14px 14px no-repeat;
}

.m-form .agree-list label {
  font-size: 1.8rem;
  line-height: 1.4;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  color: #252525;
}

/* Contact Form 7 */
.m-form .wpcf7-form-control-wrap {
  display: block;
}

.m-form .unit > .wpcf7-form-control-wrap {
  flex: 1 1 0;
  min-width: 0;
}

/* ファイル入力はドロップ領域全体を覆う */
.m-form .drop-area .wpcf7-form-control-wrap {
  position: absolute;
  inset: 0;
}

.m-form .wpcf7-not-valid-tip {
  font-size: 1.3rem;
  line-height: 1.6;
  margin-top: 8px;
  color: #d93025;
}

.m-form .wpcf7-response-output {
  font-size: 1.4rem;
  line-height: 1.8;
  margin: 0;
  padding: 16px 20px;
  color: #252525;
  border: 1px solid #0c79b4;
  background: #fff;
}

.m-form .wpcf7-spinner {
  margin: 0 0 0 12px;
}

.m-form .form-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.m-form .submit-btn {
  font-family: inherit;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
  width: 520px;
  max-width: 100%;
  height: 72px;
  padding: 0 28px;
  cursor: pointer;
  transition: opacity ease .2s;
  letter-spacing: .04em;
  color: #fff;
  border: 0;
  background: #0c79b4;
}

.m-form .submit-btn:hover {
  opacity: .7;
}

.m-form .back-link {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  color: #0c79b4;
  border-bottom: 1px solid #0c79b4;
}

/* tablet */
@media screen and (max-width: 1200px) {
  #apply-page .m-sec-ttl .en {
    font-size: 4rem;
  }
  #apply-flow,
  #apply-form {
    padding: 48px 40px;
  }
  #apply-flow .step-list {
    gap: 16px;
  }
  #apply-flow .step-list .arrow {
    font-size: 5rem;
  }
  #apply-flow .step {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    max-width: 224px;
  }
  /* 50:50 を保つため、カラム幅に収まらない見出しは折り返させる */
  #top-about .m-sec-ttl .ja,
  #top-award .m-sec-ttl .ja {
    white-space: normal;
  }
}

/* sp */
@media screen and (max-width: 767px) {
  #apply-page {
    margin: 0 16px;
  }
  #apply-page .m-sec-ttl .en {
    font-size: 3.2rem;
  }
  #apply-page .m-sec-ttl .ja {
    font-size: 1.8rem;
  }
  #apply-flow,
  #apply-form {
    padding: 40px 16px;
  }
  #apply-flow .step-list {
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
  }
  #apply-flow .step-list .arrow {
    display: none;
  }
  #apply-flow .step {
    flex: none;
    width: 100%;
    max-width: none;
  }
  .m-form .sec-head {
    gap: 12px;
    padding: 20px 0 16px;
  }
  .m-form .sec-head .ja {
    font-size: 1.8rem;
  }
  .m-form .form-row,
  .m-form .form-row.is-top {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
    padding: 14px 0;
  }
  .m-form .form-row.is-top .row-label {
    padding-top: 0;
  }
  .m-form .row-label {
    width: auto;
  }
  .m-form .row-body.is-split {
    flex-direction: column;
    gap: 12px;
  }
  .m-form .row-body.is-age {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }
  .m-form .select-box {
    width: 100%;
  }
  .m-form .gender-group {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .m-form .drop-area {
    padding: 24px 16px;
  }
  .m-form .drop-area .lead {
    font-size: 1.4rem;
    line-height: 1.5;
  }
  .m-form .drop-area .select-row {
    flex-direction: column;
    gap: 12px;
  }
  .m-form .drop-area .select-btn {
    width: 100%;
  }
  .m-form .drop-area .note {
    font-size: 1.1rem;
    line-height: 1.6;
  }
  .m-form .terms-box {
    height: 280px;
    padding: 24px 12px 24px 16px;
  }
  .m-form .terms-box h4 {
    font-size: 1.8rem;
    margin-bottom: 24px;
  }
  .m-form .terms-box .block {
    font-size: 1.3rem;
  }
  .m-form .terms-box .block + .block {
    margin-top: 24px;
  }
  .m-form .agree-list {
    gap: 16px;
    padding: 8px 0;
  }
  .m-form .agree-list .check {
    align-items: flex-start;
  }
  .m-form .agree-list label {
    font-size: 1.4rem;
  }
  .m-form .submit-btn {
    font-size: 1.6rem;
    width: 100%;
    height: 64px;
  }
}


/* -------------------------

top

---------------------------- */
.home main {
  background: url(../images/bg_page.png) top center / 100% auto repeat-y, #ede9e1;
}

.top-frame {
  position: relative;
  margin: 0 25px;
  border-right: 1px solid #0c79b4;
  border-left: 1px solid #0c79b4;
}

.top-frame .txt {
  font-size: 1.4rem;
  line-height: 1.6;
  letter-spacing: .04em;
}

/* mv */
#top-mv {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 597px;
  color: #fff;
}

#top-mv .bg-area {
  position: absolute;
  inset: 0;
  display: flex;
}

#top-mv .bg-area img {
  width: 50%;
  height: 100%;
  object-fit: cover;
}

#top-mv .bg-area::after {
  position: absolute;
  inset: 0;
  content: '';
  background: rgba(0, 25, 52, .3);
}

#top-mv .presented {
  font-size: 1.4rem;
  position: absolute;
  top: 75px;
  left: 0;
  width: 100%;
  letter-spacing: .04em;
  text-align: center;
  text-transform: uppercase;
}

#top-mv .txt-area {
  position: relative;
  width: 878px;
  padding: 39px 25px 37px;
  text-align: center;
  border: 1.435px solid rgba(255, 255, 255, .5);
  --cross-size: 26px;
  --cross-color: #fff;
}

/* 字詰め分のセンターずれは padding-left で戻す */
#top-mv .ttl {
  font-size: 9.2rem;
  font-weight: 700;
  padding-left: .08em;
  line-height: 1;
  letter-spacing: -.08em;
}

#top-mv .ttl em {
  font-style: normal;
  color: #e0ff30;
}

#top-mv .catch {
  font-size: 2.8rem;
  font-weight: 700;
  position: relative;
  margin-top: 12px;
  line-height: 1.6;
  letter-spacing: .04em;
}

#top-mv .catch .line {
  position: absolute;
  top: 36px;
  left: 50%;
  width: min(473px, 100%);
  transform: translateX(-50%);
}

#top-mv .txt {
  font-size: 1.4rem;
  margin-top: 22px;
  line-height: 1.6;
  letter-spacing: .04em;
  text-shadow: 0 4px 24px rgba(0, 0, 0, .55);
}

/* PC はデザインどおりの改行。SP は幅に任せる */
@media screen and (max-width: 767px) {
  #top-mv .txt br {
    display: none;
  }
}

#top-mv .bnr-floating {
  font-weight: 700;
  position: fixed;
  z-index: 90;
  right: 40px;
  bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 172px;
  height: 172px;
  color: #0c79b4;
  border-radius: 50%;
  background: #e0ff30;
  transition: opacity .4s, visibility .4s;
}

/* フッターまでスクロールしたら消す（JS で付与） */
#top-mv .bnr-floating.is-hidden {
  visibility: hidden;
  opacity: 0;
}

#top-mv .bnr-floating .en {
  font-size: 3.1rem;
  font-weight: 900;
  line-height: 1.2;
}

#top-mv .bnr-floating .ja {
  font-size: 1.4rem;
  line-height: 1.3;
  text-align: center;
}

#top-mv .bnr-floating .arrow {
  margin-top: 8px;
}

#top-mv .date {
  font-size: 1rem;
  position: absolute;
  top: 16px;
  right: -20px;
  line-height: 1;
  letter-spacing: .1em;
  color: #0c79b4;
  writing-mode: vertical-rl;
}

/* about / week / award */
.top-row {
  display: grid;
  /* 1fr の最小幅はコンテンツ幅になるため、狭めると中身の大きい左だけが居座って
     右が潰れる。minmax(0, 1fr) で常に 50:50 に割る。 */
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.top-row section {
  min-width: 0;
  padding: 40px 32px;
  border-top: 1px solid #0c79b4;
  border-bottom: 1px solid #0c79b4;
}

#top-about,
#top-week {
  border-right: 1px solid #0c79b4;
}

/* 右の #top-award が高いと余った分が top-week の下に空く。
   列を flex にして #top-week に伸ばす */
.top-col {
  display: flex;
  flex-direction: column;
}

#top-week {
  flex: 1;
}

#top-about {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}

#top-about .m-sec-ttl .en,
#top-about .m-sec-ttl .ja {
  letter-spacing: 0;
}

#top-about .txt {
  color: #0c79b4;
}

#top-week {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 487px;
  margin-top: -1px;
  background: url(../images/bg_dot.png) center / cover no-repeat;
}

/* 本文が中央寄せなので CAMPAIGN は padding の余白に重ねる */
#top-week .m-sec-ttl {
  position: absolute;
  top: 28px;
  left: 28px;
}

#top-week .logo {
  width: 360px;
  max-width: 100%;
}

#top-week .body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
}

#top-week .catch {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .04em;
  color: #0c79b4;
  border-bottom: 4px solid #e0ff30;
}

#top-week .txt-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  text-align: center;
  color: #0c79b4;
}

#top-week .txt {
  font-size: 1.4rem;
  line-height: 1.6;
  letter-spacing: .04em;
}

#top-week .txt.is-strong {
  font-size: 1.6rem;
  font-weight: 700;
}

/* 2026 ページ公開までのプレースホルダー。リンク化するときは .m-arrow-btn に寄せる */
#top-week .soon {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.6;
  width: 100%;
  padding: 16px 24px;
  text-align: center;
  letter-spacing: .04em;
  color: #0c79b4;
  background: #fff;
}

#top-award {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 32px 40px;
  border-left: 1px solid #0c79b4;
  background: rgba(166, 215, 228, .2);
}

/* ドット柄は 20% で敷く */
#top-award::before {
  position: absolute;
  inset: 0;
  content: '';
  opacity: .2;
  background: url(../images/award_bg.png) center / cover no-repeat;
}

#top-award > * {
  position: relative;
}

#top-award .m-sec-ttl .en,
#top-award .m-sec-ttl .ja {
  letter-spacing: 0;
}

#top-award .m-sec-ttl .ja {
  line-height: 1.2;
  color: #252525;
}

#top-award .img-box {
  aspect-ratio: 651 / 318;
  overflow: hidden;
}

#top-award .img-box img {
  height: 100%;
  object-fit: cover;
}

#top-award .txt-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #0c79b4;
}

#top-award .lead {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: .04em;
}

#top-award .txt {
  font-size: 1.4rem;
  line-height: 1.8;
  letter-spacing: .04em;
}

/* journal */
.m-slide-sec {
  padding: 56px 40px;
  border-top: 1px solid #0c79b4;
  border-bottom: 1px solid #0c79b4;
}

.m-slide-sec .swiper {
  overflow: hidden;
}

#top-journal {
  margin-top: -1px;
  color: #fff;
  background: #0c79b4;
}

#top-journal .m-sec-ttl .en {
  color: #e0ff30;
}

#top-journal .m-sec-ttl .ja {
  color: #fff;
}

#top-journal .m-slide-nav {
  --nav-color: #e0ff30;
}

#top-journal .m-slide-nav .swiper-scrollbar::before,
#top-journal .m-slide-nav .swiper-scrollbar::after {
  background: #fff;
}

#top-journal .item-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 380px;
  color: #fff;
}

#top-journal .item-box.is-reverse {
  flex-direction: column-reverse;
  justify-content: flex-end;
}

#top-journal .item-box::after {
  position: absolute;
  top: 0;
  right: -16px;
  width: 1px;
  height: 100%;
  content: '';
  background: #fff;
}

#top-journal .img-area {
  position: relative;
  display: block;
  aspect-ratio: 380 / 220;
}

#top-journal .img-area img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#top-journal .img-area .play {
  position: absolute;
  top: 45px;
  left: 50%;
  width: 95px;
  height: 95px;
  transform: translateX(-50%);
}

#top-journal .txt-area {
  display: flex;
  flex-direction: column;
  gap: 12px;
  line-height: 1.6;
  text-transform: uppercase;
}

#top-journal .cat {
  font-size: 1.4rem;
  color: #e0ff30;
}

#top-journal .ttl {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: .04em;
}

#top-journal .txt {
  display: block;
}

/* news */
#top-news {
  display: flex;
  align-items: flex-start;
  gap: 56px;
  margin-top: -1px;
  padding: 56px 40px;
  border-top: 1px solid #0c79b4;
  border-bottom: 1px solid #0c79b4;
}

#top-news .m-sec-ttl {
  flex-shrink: 0;
  gap: 24px;
  width: 231px;
}

#top-news .news-body {
  display: flex;
  align-items: center;
  flex-direction: column;
  flex: 1 1 0;
  gap: 22px;
  min-width: 0;
}

.m-post-container {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
}

.m-post-container li {
  display: flex;
  align-items: center;
  gap: 56px;
  padding: 24px 16px 24px 0;
  border-bottom: 1px solid #0c79b4;
}

.m-post-container .body {
  font-size: 1.4rem;
  line-height: 1.8;
  display: flex;
  flex-direction: column;
  flex: 1 1 0;
  gap: 8px;
  min-width: 0;
}

.m-post-container .date {
  color: #0c79b4;
}

.m-post-container .ttl {
  color: #252525;
}


/* sp */
@media screen and (max-width: 767px) {
  .home main {
    background-size: auto;
  }
  .top-frame {
    width: auto;
    margin: 0 16px;
  }
  #top-mv {
    align-items: flex-start;
    height: 640px;
    padding: 150px 16px 0;
  }
  #top-mv .bg-area {
    flex-direction: column;
  }
  #top-mv .bg-area img {
    width: 100%;
    height: 50%;
  }
  #top-mv .presented {
    font-size: 1rem;
    top: 120px;
  }
  #top-mv .txt-area {
    width: 100%;
    padding: 24px 16px 24px;
    border-width: 1px;
    --cross-size: 12px;
  }
  /* 「ふるさとシェア」を 1 行で収める。txt-area の内寸は 100vw から
     .top-frame の余白＋罫線＋#top-mv と txt-area の padding = 100px を引いた幅 */
  #top-mv .ttl {
    font-size: min(5.2rem, (100vw - 100px) * .152);
  }
  #top-mv .catch {
    font-size: min(1.8rem, 4.4vw);
  }
  #top-mv .catch .line {
    top: 1.3em;
  }
  #top-mv .txt {
    font-size: 1.2rem;
    max-width: 300px;
    margin: 20px auto 0;
    text-shadow: 0 2px 6px rgba(0, 0, 0, .21);
  }
  #top-mv .bnr-floating {
    right: 16px;
    bottom: 16px;
    width: 120px;
    height: 120px;
  }
  #top-mv .bnr-floating .en {
    font-size: 2.2rem;
  }
  #top-mv .bnr-floating .ja {
    font-size: 1.1rem;
  }
  #top-mv .bnr-floating .arrow {
    width: 14px;
    margin-top: 6px;
  }
  #top-mv .date {
    display: none;
  }
  .top-row {
    display: flex;
    flex-direction: column;
  }
  .top-row section {
    padding: 32px 16px;
  }
  /* 縦積みになると各セクションの縦罫線が .top-frame の罫線と重なって 2px に見える。
     ID で指定しているので同じ詳細度で打ち消す。 */
  #top-about,
  #top-week,
  #top-award {
    border-right: 0;
    border-left: 0;
  }
  #top-award {
    order: -1;
    gap: 24px;
    padding: 32px 16px;
  }
  #top-about {
    margin-top: -1px;
  }
  #top-about .m-sec-ttl .en {
    font-size: 1.8rem;
  }
  #top-about .m-sec-ttl .ja,
  #top-award .m-sec-ttl .ja,
  #top-news .m-sec-ttl .ja {
    font-size: 2.4rem;
    white-space: normal;
  }
  #top-award .m-sec-ttl {
    gap: 12px;
  }
  #top-award .m-sec-ttl .en {
    font-size: 1.8rem;
  }
  #top-news {
    flex-direction: column;
    gap: 24px;
    padding: 32px 16px;
  }
  #top-news .m-sec-ttl {
    gap: 12px;
    width: auto;
  }
  #top-news .m-sec-ttl .en {
    font-size: 1.8rem;
  }
  .m-post-container li {
    gap: 16px;
    padding: 16px 0;
  }
  #top-award .img-box {
    aspect-ratio: 375 / 183;
  }
  #top-award .txt {
    line-height: 1.6;
  }
  /* SP は左寄せ。ロゴだけ中央に置く */
  #top-week {
    align-items: stretch;
    gap: 16px;
    min-height: 0;
  }
  #top-week .m-sec-ttl {
    position: static;
  }
  #top-week .m-sec-ttl .en {
    font-size: 1.8rem;
  }
  #top-week .logo {
    align-self: center;
    width: 86%;
  }
  #top-week .body {
    align-items: flex-start;
  }
  #top-week .catch,
  #top-week .soon {
    font-size: 1.6rem;
  }
  #top-week .txt-box {
    gap: 16px;
    text-align: left;
  }
  #top-week .txt {
    font-size: 1.4rem;
  }
  #top-week .txt.is-strong {
    font-size: 1.6rem;
  }
  #top-week .txt br {
    display: none;
  }
  #top-week .soon {
    padding: 12px 16px;
  }
  .m-slide-sec {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 32px 16px;
  }
  .m-slide-sec .swiper {
    width: 100%;
  }
  #top-journal .item-box {
    width: 269px;
  }
  #top-journal .item-box::after {
    right: -8px;
  }
  #top-journal .img-area {
    aspect-ratio: 269 / 156;
  }
  #top-journal .cat,
  #top-journal .txt {
    font-size: 1.2rem;
  }
  #top-journal .ttl {
    font-size: 1.4rem;
  }
}

/* -------------------------------------------------------------
loading（トップのみ）
  1. 全画面ブルー＋協会ロゴ
  2. ブルーが引けてヘッダー・罫線・日付が出る
  3. MV画像が左＝上から／右＝下から伸びる
  4. オーバーレイとタイトルが出て MV に繋がる
  JS なしでも最後まで進むよう CSS アニメーションだけで完結させる。
------------------------------------------------------------- */
#loader {
  position: fixed;
  z-index: 9999;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0c79b4;
  animation: loading-curtain .6s ease 1.3s forwards;
}

#loader img {
  width: min(498px, 62vw);
  height: auto;
  opacity: 0;
  animation: loading-logo .5s ease forwards;
}

html.is-loaded #loader {
  display: none;
}

@keyframes loading-logo {
  from {
    transform: translateY(10px);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}

@keyframes loading-curtain {
  to {
    visibility: hidden;
    opacity: 0;
  }
}

/* MV：画像が上下から伸びてくる */
html:not(.is-loaded) #top-mv .bg-area img:first-child {
  clip-path: inset(0 0 100% 0);
  animation: loading-mv-in .9s ease 1.9s forwards;
}

html:not(.is-loaded) #top-mv .bg-area img:last-child {
  clip-path: inset(100% 0 0 0);
  animation: loading-mv-in .9s ease 1.9s forwards;
}

@keyframes loading-mv-in {
  to {
    clip-path: inset(0 0 0 0);
  }
}

/* MV：暗幕とコピーは画像が揃ってから */
html:not(.is-loaded) #top-mv .bg-area::after,
html:not(.is-loaded) #top-mv .presented,
html:not(.is-loaded) #top-mv .txt-area,
html:not(.is-loaded) #top-mv .bnr-floating {
  opacity: 0;
  animation: loading-fade-in 1.1s ease-out 2.8s forwards;
}

@keyframes loading-fade-in {
  to {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  #loader {
    display: none;
  }
  html:not(.is-loaded) #top-mv .bg-area img:first-child,
  html:not(.is-loaded) #top-mv .bg-area img:last-child,
  html:not(.is-loaded) #top-mv .bg-area::after,
  html:not(.is-loaded) #top-mv .presented,
  html:not(.is-loaded) #top-mv .txt-area,
  html:not(.is-loaded) #top-mv .bnr-floating {
    clip-path: none;
    opacity: 1;
    animation: none;
  }
}

/* -------------------------

about（ふるさとシェアとは）

---------------------------- */
#about main {
  background: url(../images/bg_page.png) top center / 100% auto repeat-y, #ede9e1;
}

#about-page {
  margin: 0 25px;
  border-right: 1px solid #0c79b4;
  border-left: 1px solid #0c79b4;
}

/* 段落間は flex の gap で取るため、module.css の p + p は無効化する */
#about-page p + p {
  margin-top: 0;
}

#about-page .m-sec-ttl {
  gap: 16px;
}

#about-page .m-sec-ttl .en {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0;
}

#about-page .m-sec-ttl .ja {
  font-size: 4rem;
  line-height: 1.2;
  letter-spacing: 0;
  color: #252525;
}

/* 背景と理念 */
#about-background {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 64px 56px;
}

#about-background .intro {
  display: flex;
  align-items: flex-start;
  gap: 56px;
}

#about-background .head {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  gap: 16px;
  width: 500px;
}

#about-background .head .en {
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  color: #0c79b4;
}

#about-background .head .ja {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.4;
  color: #252525;
}

#about-background .desc {
  display: flex;
  flex-direction: column;
  flex: 1 1 0;
  gap: 22px;
  min-width: 0;
  padding-top: 4px;
  font-size: 1.6rem;
  line-height: 1.6;
  color: #252525;
}

#about-background .mission {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.8;
  padding: 24px 32px;
  text-align: center;
  color: #0c79b4;
  border-top: 1px solid #0c79b4;
  border-bottom: 1px solid #0c79b4;
}

/* 3つの魅力 */
#about-merit {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: -1px;
  padding: 64px 56px;
  border-top: 1px solid #0c79b4;
  border-bottom: 1px solid #0c79b4;
  background: url(../images/about_merit_bg.png) top left / 1466px 433px, rgba(166, 215, 228, .2);
}

#about-merit .merit-list {
  display: flex;
  align-items: flex-start;
  gap: 32px;
}

#about-merit .merit {
  display: flex;
  flex-direction: column;
  flex: 1 1 0;
  min-width: 0;
}

#about-merit .icon {
  position: relative;
  width: 100%;
  aspect-ratio: 430 / 242;
}

#about-merit .icon .base,
#about-merit .icon .mark {
  position: absolute;
}

#about-merit .icon img {
  display: block;
  width: 100%;
  height: 100%;
}

#about-merit .icon .base {
  inset: 13.22% 29.3%;
}

#about-merit .icon.is-01 .mark {
  inset: 24.28% 32.74% 25.1% 31.81%;
}

#about-merit .icon.is-02 .mark {
  inset: 21.38% 32.73% 21.39% 27.01%;
}

#about-merit .icon.is-03 .mark {
  inset: 24.69% 31.81% 20.97% 31.81%;
}

#about-merit .icon .no {
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: #0c79b4;
  background: #e0ff30;
}

#about-merit .merit .ttl {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.6;
  color: #0c79b4;
}

#about-merit .merit .txt {
  font-size: 1.5rem;
  line-height: 1.8;
  margin-top: 20px;
  color: #252525;
}

/* 二地域居住とふるさと住民登録制度 */
#about-system .sys-intro {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 48px 56px;
  color: #fff;
  background: #0c79b4;
}

#about-system .sys-intro .en {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .04em;
  color: #e0ff30;
}

#about-system .sys-intro .ja {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.2;
}

#about-system .sys-intro .lead {
  font-size: 1.6rem;
  line-height: 1.8;
}

#about-system .sys-list {
  display: flex;
  align-items: flex-start;
  gap: 48px;
  padding: 64px 56px;
}

#about-system .sys {
  display: flex;
  flex-direction: column;
  flex: 1 1 0;
  gap: 26px;
  min-width: 0;
}

#about-system .sys + .sys {
  padding-left: 48px;
  border-left: 1px solid rgba(12, 121, 180, .3);
}

#about-system .sys-head {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

#about-system .label {
  display: flex;
  align-items: center;
  gap: 14px;
}

#about-system .label .no {
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  color: #0c79b4;
  background: #e0ff30;
}

#about-system .label .name {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
  color: #0c79b4;
}

#about-system .msg {
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.6;
  color: #252525;
}

#about-system .desc {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 1.5rem;
  line-height: 1.8;
  color: #252525;
}

#about-system .photo {
  width: 100%;
  height: auto;
  aspect-ratio: 628 / 353;
  object-fit: cover;
}

#about-system .photo.is-flip {
  transform: scaleX(-1);
}

#about-system .note-box {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  background: #e7f0ef;
}

#about-system .note-box .box-ttl {
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1;
  color: #0c79b4;
}

#about-system .point-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

#about-system .point-list li {
  font-size: 1.5rem;
  line-height: 1.4;
  position: relative;
  padding-left: 15px;
  color: #252525;
}

#about-system .point-list li::before {
  position: absolute;
  top: .55em;
  left: 0;
  width: 5px;
  height: 5px;
  content: '';
  background: #0c79b4;
}

#about-system .plan {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 1.5rem;
  line-height: 1.8;
  color: #252525;
}

#about-system .note-box.is-plan {
  gap: 22px;
}

#about-system .plan + .plan {
  padding-top: 22px;
  border-top: 1px solid rgba(12, 121, 180, .3);
}

/* 「※」をぶら下げて 2 行目以降の頭を揃える */
#about-system .note {
  font-size: 1.3rem;
  line-height: 1.8;
  padding-left: 13px;
  text-indent: -13px;
  color: #252525;
}

@media screen and (max-width: 1200px) {
  #about-page .m-sec-ttl .ja,
  #about-background .head .ja,
  #about-system .sys-intro .ja {
    font-size: 3.2rem;
  }
  #about-background,
  #about-merit,
  #about-system .sys-list {
    padding: 48px 40px;
  }
  #about-system .sys-intro {
    padding: 40px 40px;
  }
  #about-background .intro {
    gap: 40px;
  }
  #about-background .head {
    width: 340px;
  }
  #about-merit .merit-list {
    gap: 24px;
  }
  #about-system .sys-list,
  #about-system .sys + .sys {
    gap: 32px;
  }
  #about-system .sys + .sys {
    padding-left: 32px;
  }
  #about-system .msg {
    font-size: 2.6rem;
  }
}

/* sp */
@media screen and (max-width: 767px) {
  #about-page {
    margin: 0 16px;
  }
  #about-page .m-sec-ttl .en {
    font-size: 1.3rem;
  }
  #about-page .m-sec-ttl .ja,
  #about-background .head .ja,
  #about-system .sys-intro .ja {
    font-size: 2.4rem;
    white-space: normal;
  }
  #about-background,
  #about-merit,
  #about-system .sys-intro,
  #about-system .sys-list {
    padding: 40px 16px;
  }
  #about-background .intro {
    flex-direction: column;
    gap: 24px;
  }
  #about-background .head {
    width: 100%;
  }
  #about-background .mission {
    font-size: 1.8rem;
    padding: 20px 0;
  }
  #about-merit {
    background-size: auto 220px;
  }
  #about-merit .merit-list {
    flex-direction: column;
    gap: 40px;
  }
  #about-merit .merit .ttl {
    font-size: 2rem;
  }
  #about-system .sys-intro .en {
    font-size: 1.6rem;
  }
  #about-system .sys-list {
    flex-direction: column;
    gap: 40px;
  }
  #about-system .sys + .sys {
    padding-top: 40px;
    padding-left: 0;
    border-top: 1px solid rgba(12, 121, 180, .3);
    border-left: none;
  }
  #about-system .msg {
    font-size: 2.2rem;
  }
}

/* -------------------------

entry（エントリーフォーム）

---------------------------- */
#entry main {
  background: url(../images/bg_page.png) top center / 100% auto repeat-y, #ede9e1;
}

#entry-page {
  margin: 0 25px;
  border-right: 1px solid #0c79b4;
  border-left: 1px solid #0c79b4;
}

/* 段落間は flex の gap で取るため、module.css の p + p は無効化する */
#entry-page p + p {
  margin-top: 0;
}

/* メインビジュアル：日本語見出しだけ既定より大きくする */
#entry .m-page-mv .ttl {
/*   font-size: 5.6rem; */
  line-height: 1.4;
  letter-spacing: 0;
}

/* セクション見出し（英字 + 日本語の縦積み） */
#entry-page .sec-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#entry-page .sec-head .en {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #252525;
}

#entry-page .sec-head .ja {
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -.05em;
  color: #0c79b4;
}

/* 開催概要 */
#entry-overview {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 64px 144px;
  border-bottom: 1px solid #0c79b4;
}

#entry-overview .outline {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(12, 121, 180, .3);
}

#entry-overview .item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

#entry-overview .item .label {
  font-size: 1.4rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: .04em;
  color: #0c79b4;
}

#entry-overview .item .value {
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.7;
  color: #252525;
}

#entry-overview .item.is-lead .value {
  font-size: 3.2rem;
}

#entry-overview .item-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

#entry-overview .detail {
  display: flex;
  align-items: stretch;
  gap: 1px;
}

#entry-overview .detail .col {
  display: flex;
  flex-direction: column;
  flex: 1 1 0;
  gap: 20px;
  min-width: 0;
}

#entry-overview .detail .col:first-child {
  padding-right: 48px;
  border-right: 1px solid rgba(12, 121, 180, .3);
}

#entry-overview .detail .col:last-child {
  padding-left: 48px;
}

#entry-overview .detail .ttl {
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1;
  color: #0c79b4;
}

#entry-overview .list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.75;
  color: #252525;
}

#entry-overview .list.is-prize {
  gap: 16px;
  font-size: 1.8rem;
  line-height: 1;
}

#entry-overview .list li {
  padding-left: 17px;
  text-indent: -17px;
}

#entry-overview .list li::before {
  display: inline-block;
  width: 17px;
  text-indent: 0;
  content: '•';
}

#entry-overview .note {
  font-size: 1.3rem;
  line-height: 1.85;
  color: #252525;
}

#entry-overview .note.is-sub {
  font-size: 1.2rem;
  font-weight: 500;
  color: #797b7f;
}

/* 部門選択 */
#entry-category {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 40px;
  padding: 64px 144px;
  border-bottom: 1px solid #0c79b4;
  background: #ebf4f7;
}

#entry-category > * {
  width: 100%;
}

#entry-category .sec-head {
  gap: 16px;
}

#entry-category .sec-head .en + .ja {
  margin-top: -8px;
}

#entry-category .sec-head .lead {
  font-size: 1.5rem;
  line-height: 1.8;
  color: #252525;
}

#entry-category .cat-list {
  display: flex;
  align-items: stretch;
  gap: 24px;
}

#entry-category .cat {
  display: flex;
  flex-direction: column;
  flex: 1 1 0;
  gap: 20px;
  min-width: 0;
  padding: 32px;
  border: 2px solid #c4d5d9;
  background: #fff;
}

#entry-category .cat .no {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
  align-self: flex-start;
  padding: 6px 16px;
  letter-spacing: .04em;
  color: #252525;
  border-radius: 40px;
  background: #ebf4f7;
}

#entry-category .cat .ttl {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.3;
  color: #252525;
}

#entry-category .cat .desc {
  font-size: 1.4rem;
  line-height: 1.85;
  color: #252525;
}

#entry-category .cat .note {
  font-size: 1.2rem;
  line-height: 1.7;
  color: #797b7f;
}

/* 2枚のカードで本文量が違っても応募ボタンの位置を揃える */
#entry-category .cat .btn {
  font-family: inherit;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 52px;
  margin-top: auto;
  cursor: pointer;
  letter-spacing: .02em;
  color: #0c79b4;
  border: 1.5px solid #0c79b4;
  border-radius: 2px;
  background: none;
}

/* 選択中の部門 */
#entry-category .cat.is-selected {
  border-color: #0c79b4;
  box-shadow: 0 4px 8px rgba(12, 121, 180, .15);
}

#entry-category .cat.is-selected .no {
  color: #fff;
  background: #0c79b4;
}

#entry-category .cat.is-selected .ttl {
  color: #0c79b4;
}

#entry-category .cat.is-selected .btn {
  color: #fff;
  border-color: #0c79b4;
  background: #0c79b4;
}

#entry-category .cat .btn .label-on,
#entry-category .cat.is-selected .btn .label-off {
  display: none;
}

#entry-category .cat.is-selected .btn .label-on {
  display: inline;
}

#entry-category .cat-note {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.8;
  text-align: center;
  color: #0c79b4;
}

/* 部門と連動する CF7 のラジオ本体。カードが操作の入口なので隠す */
#entry-form .cat-field {
  display: none;
}

/* 部門別・共通の設問ボックス */
#entry-form .q-box {
  border: 1px solid #0c79b4;
  background: #fff;
}

#entry-form .q-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 20px 28px;
  border-bottom: 1px solid #0c79b4;
  background: #ebf4f7;
}

#entry-form .q-head .badge {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
  padding: 4px 12px;
  letter-spacing: .04em;
  color: #fff;
  border-radius: 40px;
  background: #0c79b4;
}

#entry-form .q-head .txt {
  font-size: 1.3rem;
  line-height: 1;
  color: #0c79b4;
}

#entry-form .q-row {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  padding: 32px 28px;
}

#entry-form .q-label {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  gap: 8px;
  width: 280px;
}

#entry-form .q-label .name {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #252525;
}

#entry-form .q-label .note {
  font-size: 1.4rem;
  line-height: 1.6;
  color: #797b7f;
}

#entry-form .q-body {
  flex: 1 1 0;
  min-width: 0;
}

#entry-form .q-body .wpcf7-list-item {
  display: block;
  margin: 0;
}

#entry-form .q-body .wpcf7-list-item + .wpcf7-list-item {
  margin-top: 20px;
}

#entry-form .q-body label {
  font-size: 1.6rem;
  line-height: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  color: #252525;
}

#entry-form .q-body input[type='checkbox'],
#entry-form .q-body input[type='radio'] {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin: 0;
  cursor: pointer;
  border: 2px solid #0c79b4;
  border-radius: 2px;
  background: #fff;

  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

#entry-form .q-body input[type='radio'] {
  width: 20px;
  height: 20px;
  border-width: 1px;
  border-radius: 50%;
}

#entry-form .q-body input[type='checkbox']:checked {
  background: #0c79b4 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23fff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8.5 6.5 12 13 4.5'/%3E%3C/svg%3E") center / 14px auto no-repeat;
}

#entry-form .q-body input[type='radio']:checked {
  border-width: 2px;
  background: radial-gradient(#0c79b4 0 5px, #fff 5px);
}

#entry-form .q-body input:focus-visible {
  outline: 2px solid #0c79b4;
  outline-offset: 2px;
}

/* 「その他」選択時の自由記述 */
#entry-form .other-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 16px;
}

#entry-form .other-ttl {
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
  color: #0c79b4;
}

#entry-form .other-box textarea {
  height: 96px;
}

/* 応募者情報フォーム */
#entry-form {
  display: flex;
  flex-direction: column;
}

#entry-form .sec-head {
  font-size: 2.3rem;
  font-weight: 700;
  line-height: 1;
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 18px;
  padding: 28px 0 24px;
  color: #0c79b4;
  border-top: 1px solid #0c79b4;
}

#entry-form .sec-head::before,
#entry-form .sec-head::after {
  position: absolute;
  content: '';
  background: #0c79b4;
}

#entry-form .sec-head::before {
  top: -1px;
  left: -.5px;
  width: 12px;
  height: 2px;
}

#entry-form .sec-head::after {
  top: -6px;
  left: 4.5px;
  width: 2px;
  height: 12px;
}

#entry-form .sec-head .en {
  font-size: 1.1rem;
  letter-spacing: .08em;
  text-transform: none;
  color: #0c79b4;
}

/* 応募者情報と送信ボタンは [group grp-about] で囲まれていて .entry-form の gap(40px) が
   効かないため、その分も margin-top で持つ */
#entry-form .form-action {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

#entry-form .entry-btn {
  font-family: inherit;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
  width: 652px;
  max-width: 100%;
  padding: 18px 56px 18px 24px;
  cursor: pointer;
  letter-spacing: .04em;
  color: #fff;
  border: 0;
  background: url(../images/arrow_white.svg) right 24px center / 17px auto no-repeat, #0c79b4;
}

@media screen and (max-width: 1200px) {
  #entry-page .sec-head .ja {
    font-size: 2.8rem;
  }
  #entry-overview,
  #entry-category {
    padding: 48px 40px;
  }
  #entry-overview .item.is-lead .value {
    font-size: 2.6rem;
  }
  #entry-overview .detail .col:first-child {
    padding-right: 32px;
  }
  #entry-overview .detail .col:last-child {
    padding-left: 32px;
  }
  #entry-category .cat .ttl {
    font-size: 2.4rem;
  }
}

/* sp */
@media screen and (max-width: 767px) {
  #entry-page {
    margin: 0 16px;
  }
  #entry-page .sec-head .en {
    font-size: 1.4rem;
  }
  #entry-page .sec-head .ja {
    font-size: 2.2rem;
  }
  #entry-overview,
  #entry-category {
    padding: 40px 16px;
  }
  #entry-overview .item.is-lead .value {
    font-size: 2rem;
  }
  #entry-overview .item-grid {
    grid-template-columns: 1fr;
  }
  #entry-overview .detail {
    flex-direction: column;
    gap: 32px;
  }
  #entry-overview .detail .col:first-child {
    padding-right: 0;
    padding-bottom: 32px;
    border-right: 0;
    border-bottom: 1px solid rgba(12, 121, 180, .3);
  }
  #entry-overview .detail .col:last-child {
    padding-left: 0;
  }
  #entry-overview .detail .ttl {
    font-size: 2.2rem;
  }
  #entry-overview .list.is-prize {
    font-size: 1.6rem;
  }
  #entry-category .cat-list {
    flex-direction: column;
  }
  #entry-category .cat {
    padding: 24px;
  }
  #entry-category .cat .ttl {
    font-size: 2.2rem;
  }
  #entry-form .q-row {
    flex-direction: column;
    gap: 20px;
    padding: 24px 16px;
  }
  #entry-form .q-head {
    padding: 16px;
  }
  #entry-form .q-label {
    width: 100%;
  }
  #entry-form .sec-head {
    gap: 12px;
    padding: 20px 0 16px;
    font-size: 1.8rem;
  }
  #entry-form .form-action {
    margin-top: 64px;
  }
  #entry-form .entry-btn {
    font-size: 1.6rem;
    padding: 16px 44px 16px 16px;
  }
}

/* -------------------------

share-week（ふるさとシェアWeek 年次ページ共通）

---------------------------- */
[id^='share-week-'] main {
  background: url(../images/bg_page.png) top center / 100% auto repeat-y, #ede9e1;
}

#sw-page {
  margin: 0 25px;
  border-right: 1px solid #0c79b4;
  border-left: 1px solid #0c79b4;
}

/* 段落間は flex の gap で取るため、module.css の p + p は無効化する */
#sw-page p + p {
  margin-top: 0;
}

#sw-page .m-sec-ttl {
  gap: 16px;
}

#sw-page .m-sec-ttl .en {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0;
}

#sw-page .m-sec-ttl .ja {
  font-size: 4rem;
  line-height: 1.2;
  letter-spacing: 0;
  color: #252525;
}

/* コンセプト */
#sw-concept {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 64px 56px;
}

#sw-concept .intro {
  display: flex;
  align-items: flex-start;
  gap: 56px;
}

#sw-concept .head {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  gap: 16px;
  width: 500px;
}

#sw-concept .head .en {
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  color: #0c79b4;
}

#sw-concept .head .ja {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.4;
  color: #252525;
}

#sw-concept .desc {
  display: flex;
  flex-direction: column;
  flex: 1 1 0;
  gap: 22px;
  min-width: 0;
  padding-top: 4px;
  font-size: 1.6rem;
  line-height: 1.6;
  color: #252525;
}

#sw-concept .desc .lead {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.5;
  color: #0c79b4;
}

#sw-concept .mission {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.8;
  padding: 24px 32px;
  text-align: center;
  color: #0c79b4;
  border-top: 1px solid #0c79b4;
  border-bottom: 1px solid #0c79b4;
}

/* 参画企業キャンペーン */
#sw-campaign {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: -1px;
  padding: 64px 56px;
  border-top: 1px solid #0c79b4;
  border-bottom: 1px solid #0c79b4;
  background: rgba(166, 215, 228, .2);
}

#sw-campaign .lead {
  font-size: 1.6rem;
  line-height: 1.8;
  color: #252525;
}

#sw-campaign .cp-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

#sw-campaign .cp {
  display: flex;
}

/* カード表面。詳細は .cp-modal に入れ、ここはボタンひとつにする */
#sw-campaign .cp-open {
  font: inherit;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  padding: 28px 24px;
  cursor: pointer;
  text-align: left;
  color: inherit;
  border: 0;
  background: #fff;
  transition: opacity ease .2s;
}

#sw-campaign .cp-open:hover {
  opacity: .7;
}

/* ロゴは縦横比がばらつくので枠を固定し、contain で収める */
#sw-campaign .logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 120px;
  aspect-ratio: 3 / 2;
  padding: 8px;
  border: 1px solid rgba(12, 121, 180, .2);
}

#sw-campaign .logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

#sw-campaign .cp-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  min-width: 0;
}

#sw-campaign .cat {
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1;
  padding: 7px 12px;
  letter-spacing: .04em;
  color: #fff;
  background: #0c79b4;
}

#sw-campaign .company {
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.4;
  color: #797b7f;
}

#sw-campaign .ttl {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.5;
  color: #252525;
}

#sw-campaign .period {
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.4;
  color: #0c79b4;
}

#sw-campaign .cp-open .more {
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
  margin-top: auto;
  padding: 6px 0;
  letter-spacing: .04em;
  color: #0c79b4;
  border-bottom: 2px solid #0c79b4;
}

#sw-campaign .cp-empty {
  font-size: 1.6rem;
  line-height: 1.8;
  padding: 40px;
  text-align: center;
  color: #797b7f;
  background: #fff;
}

/* 詳細モーダル */
#sw-campaign .cp-modal {
  /* sanitize.css の dialog ノーマライズが position: absolute を当てていて、
     開いた瞬間にページ最上部へスクロールしてしまうので viewport 基準に戻す */
  position: fixed;
  inset: 0;
  width: min(720px, 92vw);
  max-width: none;
  max-height: 86vh;
  margin: auto;
  padding: 0;
  border: 0;
  background: none;
  overflow: visible;
}

#sw-campaign .cp-modal::backdrop {
  background: rgba(37, 37, 37, .7);
}

#sw-campaign .cp-modal .close {
  font-size: 3.2rem;
  line-height: 1;
  position: absolute;
  z-index: 1;
  top: -44px;
  right: 0;
  padding: 0;
  cursor: pointer;
  color: #fff;
  border: 0;
  background: none;
}

#sw-campaign .cp-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-height: 86vh;
  padding: 40px;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #fff;
}

#sw-campaign .cp-head {
  display: flex;
  align-items: center;
  gap: 20px;
}

#sw-campaign .cp-body .ttl {
  font-size: 2.2rem;
}

#sw-campaign .cp-body .period {
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(12, 121, 180, .3);
}

#sw-campaign .txt {
  font-size: 1.5rem;
  line-height: 1.8;
  color: #252525;
}

#sw-campaign .cp-detail {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  background: #ebf4f7;
}

#sw-campaign .cp-detail .label {
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
  color: #0c79b4;
}

#sw-campaign .cp-detail .step-list {
  counter-reset: step;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 1.4rem;
  line-height: 1.7;
  color: #252525;
}

#sw-campaign .cp-detail .step-list li {
  display: flex;
  gap: 8px;
}

#sw-campaign .cp-detail .step-list li::before {
  counter-increment: step;
  content: counter(step) '.';
  flex-shrink: 0;
  font-weight: 700;
  color: #0c79b4;
}

#sw-campaign .code {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1px dashed #0c79b4;
}

#sw-campaign .code .label {
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
  color: #0c79b4;
}

#sw-campaign .code .value {
  font-size: 1.8rem;
  font-weight: 900;
  line-height: 1.2;
  word-break: break-all;
  letter-spacing: .04em;
  color: #252525;
}

#sw-campaign .note {
  font-size: 1.2rem;
  line-height: 1.7;
  color: #797b7f;
}

#sw-campaign .m-arrow-btn {
  margin-top: 8px;
}

/* ハッシュタグ */
#sw-hashtag {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin-top: -1px;
  padding: 64px 56px;
  text-align: center;
  border-bottom: 1px solid #0c79b4;
}

#sw-hashtag .m-sec-ttl {
  align-items: center;
}

#sw-hashtag .tag {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1.3;
  color: #0c79b4;
}

#sw-hashtag .lead {
  font-size: 1.6rem;
  line-height: 1.8;
  color: #252525;
}

#sw-hashtag .step-list {
  display: flex;
  align-items: stretch;
  gap: 32px;
  width: 100%;
  margin-top: 16px;
}

#sw-hashtag .step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1 1 0;
  gap: 12px;
  min-width: 0;
  padding: 32px 24px;
  background: #fff;
}

#sw-hashtag .step .icon {
  width: 88px;
  height: auto;
}

#sw-hashtag .step .no {
  font-family: 'Inter', sans-serif;
  font-size: 2rem;
  font-weight: 500;
  line-height: 1;
  color: #0c79b4;
}

#sw-hashtag .step .ttl {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.4;
  color: #252525;
}

#sw-hashtag .step .txt {
  font-size: 1.4rem;
  line-height: 1.7;
  color: #252525;
}

/* クロージング */
#sw-closing {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin-top: -1px;
  padding: 64px 56px;
  text-align: center;
  border-top: 1px solid #0c79b4;
}

#sw-closing .ttl {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.4;
  color: #0c79b4;
}

#sw-closing .txt {
  font-size: 1.6rem;
  line-height: 1.8;
  color: #252525;
}

#sw-closing .btn-box {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 8px;
}

@media screen and (max-width: 1024px) {
  #sw-campaign .cp-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 767px) {
  #sw-page {
    margin: 0 8px;
  }
  #sw-page .m-sec-ttl .ja {
    font-size: 2.4rem;
  }
  #sw-concept {
    gap: 24px;
    padding: 40px 16px;
  }
  #sw-concept .intro {
    flex-direction: column;
    gap: 24px;
  }
  #sw-concept .head {
    width: 100%;
  }
  #sw-concept .head .ja {
    font-size: 2.4rem;
  }
  #sw-concept .desc .lead {
    font-size: 1.8rem;
  }
  #sw-concept .mission {
    font-size: 1.6rem;
    padding: 20px 16px;
  }
  #sw-campaign {
    gap: 24px;
    padding: 40px 16px;
  }
  #sw-campaign .cp-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  #sw-campaign .cp-open {
    padding: 24px 20px;
  }
  #sw-campaign .cp-head {
    gap: 16px;
  }
  #sw-campaign .logo {
    width: 96px;
  }
  #sw-campaign .cp-body {
    gap: 12px;
    padding: 24px 20px;
  }
  #sw-campaign .cp-body .ttl {
    font-size: 1.8rem;
  }
  #sw-hashtag {
    gap: 16px;
    padding: 40px 16px;
  }
  #sw-hashtag .tag {
    font-size: 2.2rem;
  }
  #sw-hashtag .step-list {
    flex-direction: column;
    gap: 16px;
  }
  #sw-hashtag .step {
    padding: 24px 20px;
  }
  #sw-hashtag .step .icon {
    width: 72px;
  }
  #sw-hashtag .step .ttl {
    font-size: 1.8rem;
  }
  #sw-closing {
    padding: 40px 16px;
  }
  #sw-closing .ttl {
    font-size: 2.4rem;
  }
  #sw-closing .btn-box {
    flex-direction: column;
    gap: 16px;
    width: 100%;
  }
  #sw-closing .btn-box .m-arrow-btn {
    width: 100%;
  }
}
