@font-face {
  font-family: 'DNP Shuei MaruGothic Std';
  src: local('DNP 秀英丸ゴシック Std'), local('DNP Shuei MaruGothic Std');
  font-display: swap;
}

:root {
  --color-primary: #7bb661;
  --color-bg: #faf7f0;
  --color-text: #333333;
  --color-accent: #f5c842;

  --font-number: 'Rampart One', cursive;
  --font-base: 'DNP Shuei MaruGothic Std', 'Hiragino Maru Gothic Pro', 'Rounded Mplus 1c', sans-serif;

  /* モバイル背景タイル（小さいほどマスが細かく見える） */
  --bg-mobile-tile-min: 340px;
  --bg-mobile-tile-vw: 110vw;
  --bg-mobile-tile-max: 520px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-base);
  color: var(--color-text);
  line-height: 1.7;
  min-height: 100vh;
  background-color: var(--color-bg);
  background-image: url('images/background.png');
  background-repeat: repeat;
  background-size: auto;
  background-position: 0 0;
  background-attachment: scroll;
}

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

.section {
  padding: 36px 16px;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
}

/* LPのバナー・透過PNGは cover だと欠けるため既定は contain */
.full-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center center;
}

.mt-14 {
  margin-top: 14px;
}

.mt-18 {
  margin-top: 18px;
}

.text-title {
  margin: 0;
  font-size: clamp(1.25rem, 4.8vw, 2rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--color-primary);
  line-height: 1.3;
  display: inline-block;
  position: relative;
  padding-bottom: 10px;
}

.text-title::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  border-radius: 999px;
  background: var(--color-primary);
}

.text-title--accent::after {
  background: var(--color-accent);
}

.grid {
  display: grid;
  gap: 18px;
}

.grid-2 {
  grid-template-columns: 1fr;
}

.card {
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}

.detail {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.detail-photo {
  width: 100%;
  height: auto;
}

.detail-body {
  padding: 14px 16px 18px;
}

.detail-line {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}

.detail-comment {
  margin-top: 10px;
  font-size: 0.95rem;
}

.num {
  font-family: var(--font-number);
  color: var(--color-primary);
}

.section-fv {
  padding-top: 0;
  padding-bottom: 0;
  background: transparent;
}

.section-fv-gallery {
  padding-top: 6px;
  padding-bottom: 0;
}

/* 他セクションと同じ .container（max-width: 1080px）で横幅を揃える */
.fv-gallery-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: unset;
  margin: 0 auto;
  object-fit: contain;
  object-position: center center;
}

.section-chigai {
  padding-top: 0;
  padding-bottom: 10px;
}

.chigai-title-img {
  width: 100%;
  height: auto;
  aspect-ratio: unset;
  object-fit: contain;
  object-position: center center;
}

.section-examples,
.section-example-details {
  background-color: var(--color-bg);
  background-image: url('images/background.png');
  background-repeat: repeat;
  background-size: auto;
  background-position: 0 0;
}

.section-examples {
  padding-top: 10px;
}

.examples-title-img {
  width: 100%;
  height: auto;
  aspect-ratio: unset;
  object-fit: contain;
  object-position: center center;
}

.fv {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  max-height: none;
  background: #eee;
  overflow: hidden;
}

.fv-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fv-title {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(92%, 520px);
  height: auto;
}

/* タイトルPNG（背景透過）を切らずに表示し、LP背景が透けるようにする */
.fv.fv-single {
  aspect-ratio: unset;
  background: transparent;
  overflow: visible;
}

.fv-single .fv-bg {
  position: static;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: center center;
}

.section-reserve {
  background: transparent;
  padding-top: 4px;
  padding-bottom: 4px;
}

.gift-banner {
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
}

.gift-duo {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: center;
}

.gift-item {
  background: #fff;
  border-radius: 16px;
  padding: 12px;
}

.gift-img {
  height: 170px;
  object-fit: cover;
  border-radius: 12px;
}

.gift-img--quo {
  background: #fff;
}

.gift-label {
  margin: 10px 0 0;
  font-weight: 800;
  text-align: center;
}

.gift-or {
  text-align: center;
  font-family: var(--font-number);
  font-weight: 900;
  font-size: 2rem;
  color: var(--color-primary);
}

.section-extra {
  padding-top: 0;
}

.section-form {
  padding-top: 50px;
}

.form-card {
  position: relative;
  background: #fff;
  border-radius: 18px;
  padding: 18px 16px 22px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.06);
}

.form-header-img {
  margin-bottom: 8px;
}

.form-flyer-img {
  margin-bottom: 12px;
}

.section-form-visual {
  padding-top: 8px;
  padding-bottom: 20px;
}

.form-placeholder-card {
  width: min(100%, 520px);
  margin: 0 auto;
  min-height: 230px;
  background: #d9d9d9;
  color: #333;
  display: grid;
  place-content: center;
  text-align: center;
  font-size: clamp(0.95rem, 3.3vw, 1.2rem);
  line-height: 1.8;
}

.form-placeholder-card p {
  margin: 0;
}

.form-deco {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.12;
  pointer-events: none;
  object-fit: cover;
}

.form-card > * {
  position: relative;
  z-index: 1;
}

form {
  margin-top: 14px;
}

.form-group {
  margin-bottom: 14px;
}

label {
  display: inline-block;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.required {
  color: #c83636;
  font-size: 0.8rem;
  font-weight: 900;
  margin-left: 6px;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #d5d5d5;
  font: inherit;
  background: #fff;
}

textarea {
  resize: vertical;
  min-height: 120px;
}

.is-error {
  border-color: #c83636;
}

.form-error {
  min-height: 1.2em;
  margin: 6px 0 0;
  font-size: 0.85rem;
  color: #c83636;
  font-weight: 700;
}

.submit-btn {
  width: 100%;
  min-height: 48px;
  border: none;
  border-radius: 999px;
  background: var(--color-primary);
  color: #fff;
  font-weight: 900;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.submit-btn:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

.flyer-placeholder {
  width: 100%;
  height: 360px;
  background: #eee;
  border-radius: 16px;
  display: grid;
  place-items: center;
  padding: 16px;
  font-weight: 800;
  text-align: center;
  color: #777;
}

.voice-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.voice-card {
  background: #fff;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.voice-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 12px;
  background: #eee;
}

.voice-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.voice-card h3 {
  margin: 0;
  font-size: 1.05rem;
  text-align: center;
  color: var(--color-primary);
}

.voice-card p {
  margin-top: 10px;
  font-size: 0.95rem;
}

/* --------------------------------------------------
 * 久留米LP準拠: フォーム / お客様の声
 * -------------------------------------------------- */
.sec_form_orange {
  background: #faa800;
  padding: 2.5em 16px;
}

.sec_form_orange_inr {
  max-width: 700px;
  margin: 0 auto;
}

.sec_form_orange_ttl {
  text-align: center;
  color: #2d7a3e;
  font-size: 1.6rem;
  margin: 0 0 0.5em;
  font-weight: 800;
}

.sec_form_orange_lead {
  color: #333;
  margin-bottom: 1.5em;
  text-align: center;
}

.sec_form_orange_lead p {
  margin: 0.2em 0;
}

.sec_form_orange_white {
  background: #fff;
  padding: 2em;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.b {
  font-weight: 800;
}

.Form-Item-Label-Required {
  border-radius: 6px;
  margin-left: 8px;
  width: 42px;
  line-height: 1.7em;
  display: inline-block;
  text-align: center;
  background: #d84e5a;
  color: #fff;
  font-size: 75%;
}

.Form-Item-Label-Optional {
  font-size: 75%;
  color: #666;
  margin-left: 6px;
}

.form_row {
  margin-bottom: 1.2em;
}

.form_help {
  font-size: 0.85em;
  color: #555;
  margin: 0.2em 0 0.3em;
}

.form_sublabel {
  font-size: 0.9em;
  margin-bottom: 0.3em;
}

.box_form {
  padding: 0.7em 0 0.5em;
  border-bottom: 2px solid #ccc;
  margin-bottom: 0.5em;
}

.box_form_last {
  padding: 0.7em 0 0.5em;
  margin-bottom: 1em;
}

.sec_form_orange_white input[type="radio"] {
  width: 16px;
  height: 16px;
  min-height: 0;
  padding: 0;
  margin-right: 8px;
  vertical-align: middle;
}

.form_input,
.form_textarea {
  width: 100%;
  max-width: 400px;
  padding: 0.5em 0.6em;
  font-size: 1em;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

.form_textarea {
  min-height: 80px;
  resize: vertical;
}

.accordion-hidden {
  display: none;
}

.accordion-open {
  display: block;
  cursor: pointer;
}

.accordion-close {
  display: block;
  height: 0;
  overflow: hidden;
  padding: 0;
  opacity: 0;
  transition: 0.5s;
}

.accordion-hidden:checked + .accordion-open + .accordion-close {
  height: auto;
  opacity: 1;
}

.form_optional_toggle {
  padding: 0.8em 1em;
  background: #ebe9dd;
  color: #006837;
  font-weight: 700;
  margin: 0.5em 0;
  border-radius: 6px;
}

.form_optional .accordion-close {
  padding: 1em 0 0;
}

.entry_btn {
  display: inline-block;
  color: #fff;
  background: #d84e5a;
  border: none;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  padding: 0.7em 1.5em;
  cursor: pointer;
}

.entry_btn_full {
  width: 100%;
  max-width: 400px;
  display: block;
  margin: 0 auto;
  font-size: 1.1em;
}

.form_btn {
  padding: 1em 0;
  margin-top: 1em;
  text-align: center;
}

.section-voice-legacy {
  background: transparent;
  padding-top: 0;
  padding-bottom: 0;
}

.tit_voice {
  width: 86%;
  margin: 0 auto;
}

.tit_voice img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center center;
}

.ctn_voice {
  padding: 0.4em 0 0;
}

.box_voice {
  background-color: #fff;
  padding: 3em 2em 1em;
  border-radius: 20px;
  margin-bottom: 20px;
}

.img_voice {
  float: left;
  width: 42%;
  padding-right: 1em;
  padding-bottom: 0.5em;
}

.voice-photo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 12px;
}

.voice-photo {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
}

.txt_voice h3 {
  margin: 0 0 0.6em;
  color: #333;
  font-size: 1.25rem;
}

.green {
  color: #006837;
}

.voice_short {
  margin-bottom: 0.5em;
  line-height: 1.6;
}

.voice_toggle {
  display: inline-block;
  cursor: pointer;
  padding: 0.4em 1em;
  background: #006837;
  color: #fff;
  font-size: 0.9em;
  border-radius: 4px;
  margin-bottom: 0.5em;
}

.box_voice .voice_toggle.accordion-open::after {
  content: " ▼";
  font-size: 0.85em;
  margin-left: 0.2em;
}

.box_voice .accordion-hidden:checked + .voice_toggle.accordion-open::after {
  content: " ▲";
}

.voice_detail {
  margin-top: 0.5em;
  padding-top: 0.5em;
  border-top: 1px dashed #ccc;
}

.box_voice .accordion-hidden:checked + .voice_toggle + .voice_detail.accordion-close {
  background: #f5f5f0;
  color: #222;
  padding: 1em;
  border-radius: 0 0 8px 8px;
}

.al-r {
  text-align: right;
}

.clearfix::after {
  content: "";
  display: block;
  clear: both;
}

.pc_img {
  display: block;
}

.sp_img {
  display: none;
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .gift-duo {
    grid-template-columns: 1fr auto 1fr;
    gap: 18px;
  }

  .gift-img {
    height: 200px;
  }

  .voice-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  /* FVまわりに余白を作り、詰まり感を解消する */
  .section-fv {
    padding-top: 12px;
    padding-bottom: 0;
  }

  .section-fv-gallery {
    padding-top: 10px;
    padding-bottom: 18px;
  }

  .section-chigai {
    padding-top: 2px;
  }

  body,
  .section-examples,
  .section-example-details {
    background-image: url('images/background_mobile400.png');
    background-repeat: repeat;
    /* 横幅基準で縮尺し、縦はautoで比率維持（縦つぶれ防止） */
    background-size: clamp(
      var(--bg-mobile-tile-min),
      var(--bg-mobile-tile-vw),
      var(--bg-mobile-tile-max)
    )
      auto;
    background-position: 0 0;
  }

  .sec_form_orange {
    padding: 1.5em 12px;
  }

  .sec_form_orange_ttl {
    font-size: 1.35rem;
  }

  .sec_form_orange_white {
    padding: 1.2em 1em;
  }

  .form_input,
  .form_textarea {
    min-height: 48px;
    max-width: 100%;
  }

  .form_textarea {
    min-height: 100px;
  }

  .tit_voice {
    width: 92%;
    margin: 0 auto;
  }

  .ctn_voice {
    padding: 0.2em 0.5em 0;
  }

  .box_voice {
    padding: 2em 1em 1em;
  }

  .img_voice {
    float: none;
    width: 70%;
    margin: 0 auto 0.8em;
    padding-right: 0;
  }

  .voice-photo-grid {
    grid-template-columns: 1fr;
  }

  .voice-photo {
    height: auto;
  }

  .txt_voice h3 {
    font-size: 1.05rem;
  }

  .pc_img {
    display: none;
  }

  .sp_img {
    display: block;
  }
}

@media (min-width: 1080px) {
  .section {
    padding: 64px 24px;
  }

  .section-fv {
    padding-top: 0;
    padding-bottom: 0;
  }

  .fv:not(.fv-single) {
    aspect-ratio: 4 / 3;
  }

  .voice-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
