:root {
  --campaign-accent: #c44536;
  --campaign-bg: #fff6e8;
  --campaign-text: #333;
}

.background-color {
  background-color: #fff;
}

.center {
  text-align: center;
}

p {
  font-feature-settings: "palt";
  color: var(--campaign-text);
}

li {
  list-style: none;
}

.pc {
  display: block;
}

.sp {
  display: none;
}

#header {
  max-width: 900px;
  width: 100%;
  margin: 0 auto 10px;
  box-sizing: border-box;
}

#header img {
  width: 100%;
  height: auto;
  display: block;
}

.contents {
  max-width: 900px;
  width: 100%;
  padding: 2px 0 20px;
  margin: 0 auto 80px;
  box-sizing: border-box;
}

.contents-inner {
  padding: 30px 20px 35px;
  background-color: var(--campaign-bg);
}

.page-nav {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 24px;
}

.page-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 1;
  padding: 10px 16px;
  background: var(--campaign-accent);
  color: #fff;
  text-align: center;
  border-radius: 4px;
}

.page-nav__arrow {
  display: block;
  font-size: 0.75rem;
  line-height: 1;
}

.product,
.campaign-read,
.note,
.hikari-info {
  background: #fff;
  padding: 24px 20px;
  margin-bottom: 32px;
}

.note .section-head--image {
  margin: -24px -20px 24px;
  padding: 0;
}

.banners {
  margin: 0 0 32px;
}

.info-block {
  background: #fff;
  padding: 24px 20px;
  margin-bottom: 32px;
}

.info-block__ttl {
  margin: 0 0 24px;
  padding: 12px 16px;
  font-size: 1.4rem;
  font-weight: bold;
  text-align: center;
}

.info-block__ttl--about {
  background: #fff9b8;
}

.info-block__ttl--collab {
  background: #f5c518;
}

.info-block__logo {
  margin: 0 0 20px;
  text-align: center;
  font-weight: bold;
  letter-spacing: 0.08em;
  color: #d4a017;
}

.info-block__body p {
  margin: 0 0 1em;
  line-height: 1.8;
}

.info-block__body p:last-child {
  margin-bottom: 0;
}

.collab-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.collab-item__shot {
  width: 28%;
  flex-shrink: 0;
}

.collab-item__shot img {
  width: 100%;
  height: auto;
  display: block;
}

.collab-item__text .h3_ttl {
  margin-top: 0;
  text-align: left;
}

.product {
  display: flex;
  gap: 24px;
  align-items: center;
}

.product__shot {
  width: 36%;
  flex-shrink: 0;
}

.product__shot img {
  width: 100%;
  height: auto;
  display: block;
}

.h2_ttl {
  font-size: 1.4rem;
  margin: 0 0 16px;
  color: var(--campaign-text);
}

.section-head {
  margin: -24px -20px 24px;
  padding: 6px 16px 18px;
  background-color: #fee6b4;
  background-image: url("../img/recipe-section-bg.png");
  background-size: 100% auto;
  background-position: center top;
  background-repeat: no-repeat;
}

.section-head__title {
  margin: 0;
  color: #942341;
  font-weight: bold;
  text-align: center;
}

.section-head__title-line {
  display: block;
}

.section-head__wave {
  display: block;
  margin: 2px auto 0;
}

.section-head__wave--recipe {
  width: min(597px, 79.6%);
  height: 4px;
}

.section-head__wave--present {
  width: min(645px, 86%);
  height: 5px;
}

.section-head__title-sub {
  display: block;
}

.section-head--image {
  padding: 0;
  background: none;
}

.section-head--image .section-head__title img {
  display: block;
  width: 100%;
  height: auto;
}

.section-head--image .section-head__title img.pc {
  display: block;
}

.section-head--image .section-head__title img.sp {
  display: none;
}

.section-head--recipe:not(.section-head--image) .section-head__title {
  line-height: 1.702;
}

.section-head--recipe:not(.section-head--image) .section-head__title-line {
  font-size: clamp(24px, 4.53vw, 34px);
}

.section-head--recipe:not(.section-head--image) .section-head__title-sub {
  font-size: clamp(19px, 3.6vw, 27px);
}

.section-head--recipe:not(.section-head--image) .section-head__slash {
  font-size: clamp(24px, 4.53vw, 34px);
}

.section-head--present:not(.section-head--image) .section-head__title {
  line-height: 2.2;
}

.section-head--present:not(.section-head--image) .section-head__title-line {
  font-size: clamp(21px, 4vw, 30px);
}

.section-head--present:not(.section-head--image) .section-head__title-sub {
  font-size: clamp(15px, 2.53vw, 19px);
}

.section-head--present:not(.section-head--image) .section-head__title-emphasis {
  font-size: clamp(24px, 4.53vw, 34px);
}

.campaign-read__lead {
  text-align: center;
}

.h3_ttl {
  font-size: 1.1rem;
  margin: 12px 0 8px;
  text-align: center;
}

.recipe_flex {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding: 0;
  margin: 24px 0 0;
}

.recipe_item {
  width: calc((100% - 48px) / 3);
}

.recipe_item a {
  color: inherit;
}

.recipe_item img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.banner {
  display: block;
  margin: 0;
}

.banner img {
  display: block;
  width: 100%;
  height: auto;
}

.banner img.pc {
  display: block;
}

.banner img.sp {
  display: none;
}

/* ひかり味噌について / コラボ商品情報（Figma 53:165 の 750px を基準に比率で組む） */
.hikari-info__head {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(52px, 12.4vw, 93px);
  margin-left: -20px;
  margin-right: -20px;
  padding: 0 16px;
  background-color: #fabe00;
  color: #fff;
  font-size: clamp(20px, 5.07vw, 38px);
  font-weight: bold;
  line-height: 1.702;
  text-align: center;
}

.hikari-info__head:first-child {
  margin-top: -24px;
}

.hikari-info__logo {
  width: 60.5%;
  margin: clamp(24px, 6.13vw, 46px) auto clamp(24px, 6vw, 45px);
}

.hikari-info__logo img {
  display: block;
  width: 100%;
  height: auto;
}

.hikari-info__body {
  margin-bottom: clamp(20px, 4.67vw, 35px);
  padding: 0 6.4%;
}

.hikari-info__body p,
.hikari-info__product-text p {
  margin: 0 0 1.45em;
}

.hikari-info__body p:last-child,
.hikari-info__product-text p:last-child {
  margin-bottom: 0;
}

.hikari-info__links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  margin: 0 auto clamp(24px, 6.13vw, 46px);
  padding: 0 6.4%;
}

.hikari-info__link {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  max-width: 648px;
  height: 57px;
  padding: 10px 33px 10px 36px;
  border-radius: 60px;
  color: #fff;
  font-size: clamp(15px, 2.8vw, 21px);
  font-weight: bold;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

.hikari-info__link:link,
.hikari-info__link:visited,
.hikari-info__link:hover,
.hikari-info__link:focus,
.hikari-info__link:active {
  color: #fff;
  text-decoration: none;
}

.hikari-info__link--hp {
  background-color: #fabe00;
}

.hikari-info__link--insta {
  background-color: #ec6140;
}

.hikari-info__link-icon {
  display: flex;
  flex-shrink: 0;
  width: 12px;
  height: 14px;
}

.hikari-info__link-icon img {
  display: block;
}

.hikari-info__glyph-note {
  margin: 16px 0 0;
  font-size: 0.75rem;
  line-height: 1.6;
  color: #666;
  text-align: center;
}

.hikari-info__product {
  display: flex;
  gap: 3.03%;
  align-items: flex-start;
  padding: 0 5.33% 0 2.4%;
}

.hikari-info__product-shot {
  flex: 0 0 37.57%;
}

.hikari-info__product-shot img {
  display: block;
  width: 100%;
  height: auto;
}

.hikari-info__product-text {
  flex: 1 1 auto;
  min-width: 0;
  padding-top: clamp(24px, 8.13vw, 61px);
}

.note_ttl {
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--campaign-accent);
  text-align: center;
}

.note_list {
  margin: 0;
}

.note_list dt {
  font-weight: bold;
  margin: 16px 0 6px;
}

.note_list dd {
  margin: 0 0 8px;
}

.note_list ul {
  padding-left: 0;
  margin: 0;
}

.underline {
  text-decoration: underline;
}

.btn_box {
  text-align: center;
  margin: 40px 0 10px;
}

.form_btn {
  display: inline-block;
  min-width: 60%;
  padding: 16px 24px;
  background: var(--campaign-accent);
  color: #fff;
  font-weight: bold;
  text-align: center;
  border-radius: 4px;
}

.form_btn.form_btn--wait,
.form_btn.form_btn--wait:hover,
.form_btn.form_btn--wait:focus,
.form_btn.form_btn--wait:active {
  background: #e6e6e6;
  color: var(--campaign-accent);
  cursor: default;
  pointer-events: none;
  text-decoration: none;
}

.form_btn_note {
  margin-top: 8px;
  font-size: 0.9rem;
}

.form-error {
  margin: 16px 0;
  padding: 12px;
  background: #fdecea;
  border: 1px solid #d9534f;
  color: #a3312d;
  font-weight: bold;
}

/* 電話番号: Semantic UI が 767px 以下で .n.fields を縦積みにするのを打ち消し、3枠を1行に収める */
.ui.form .fields.form-tel {
  flex-wrap: nowrap;
  align-items: center;
}

.ui.form .fields.form-tel > .field {
  flex: 1 1 0;
  min-width: 0;
}

.ui.form .form-tel__sep {
  flex: 0 0 auto;
  padding: 0 0.2em;
  line-height: 2.5em;
}

@media only screen and (max-width: 767px) {
  .ui.form .three.fields.form-tel > .field {
    width: auto !important;
    margin: 0;
    padding-left: 0.25em;
    padding-right: 0.25em;
  }
}

/* 応募フォーム: Semantic UI (.ui.form > p) より詳細度を上げ、padding で下端余白を確保 */
.ui.form > p.form-submit {
  margin: 40px 0 0;
  padding-bottom: 60px;
  text-align: center;
}

.ui.form > p.form-submit:has(+ .form-submit-actions) {
  padding-bottom: 24px;
}

.ui.form .form-submit-actions {
  padding-bottom: 60px;
  text-align: center;
}

.ui.form > p.form-submit .vote-form-btn-large {
  display: block;
  width: 80%;
  max-width: 500px;
  margin: 0 auto;
}

.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  border: 2px dashed var(--campaign-accent);
  background: repeating-linear-gradient(
    -45deg,
    #fff,
    #fff 8px,
    #f7f7f7 8px,
    #f7f7f7 16px
  );
  color: #666;
  font-size: 13px;
  box-sizing: border-box;
}

.placeholder--hero {
  min-height: 280px;
}

.placeholder--square,
.placeholder--recipe {
  aspect-ratio: 1 / 1;
  width: 100%;
}

.placeholder--banner {
  min-height: 120px;
}

@media screen and (max-width: 480px) {
  .pc {
    display: none;
  }

  .sp {
    display: block;
  }

  #header,
  .contents {
    width: 100%;
    margin-bottom: 0;
  }

  .contents-inner {
    padding: 24px 10px 40px;
  }

  .product,
  .collab-item,
  .recipe_flex,
  .page-nav {
    display: block;
  }

  .product__shot,
  .collab-item__shot,
  .recipe_item {
    width: 100%;
  }

  .collab-item__shot {
    max-width: 200px;
    margin: 0 auto 16px;
  }

  .recipe_item {
    margin-bottom: 24px;
  }

  .page-nav a {
    margin-bottom: 8px;
  }

  .section-head {
    margin: -24px -10px 20px;
    padding: 6px 10px 16px;
  }

  .section-head--image .section-head__title img.pc {
    display: none;
  }

  .section-head--image .section-head__title img.sp {
    display: block;
  }

  .banner img.pc {
    display: none;
  }

  .banner img.sp {
    display: block;
  }

  .note .section-head--image {
    margin: -24px -10px 20px;
  }

  .section-head--recipe:not(.section-head--image) .section-head__title-line {
    font-size: 24px;
  }

  .section-head--recipe:not(.section-head--image) .section-head__title-sub {
    font-size: 19px;
  }

  .section-head--recipe:not(.section-head--image) .section-head__slash {
    font-size: 24px;
  }

  .section-head--present:not(.section-head--image) .section-head__title-line {
    font-size: 21px;
  }

  .section-head--present:not(.section-head--image) .section-head__title-sub {
    font-size: 15px;
  }

  .section-head--present:not(.section-head--image) .section-head__title-emphasis {
    font-size: 24px;
  }

  .section-head__wave {
    width: 90%;
    height: auto;
  }

  .hikari-info__head {
    margin-left: -10px;
    margin-right: -10px;
  }

  .hikari-info__product {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 0 6.4%;
  }

  .hikari-info__product-shot {
    flex: none;
    width: 100%;
    max-width: 260px;
  }

  .hikari-info__product-text {
    width: 100%;
    padding-top: 0;
  }

  .hikari-info__link {
    height: auto;
    min-height: 48px;
    padding: 12px 16px;
  }

  .form_btn {
    min-width: 90%;
  }

  .placeholder--hero {
    min-height: 200px;
  }
}
