:root {
  --ink: #161616;
  --accent: #c02925;
  --paper: #f7f5f2;
  --line: #1d1d1d;
  --serif: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --sans: "Noto Sans JP", "Yu Gothic", "Hiragino Sans", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 16px;
}

body {
  min-width: 320px;
  margin: 0;
  background-color: var(--paper);
  background-image: url("images/アセット 15@2x.webp");
  background-size: 1164px auto;
  background-repeat: repeat;
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 600;
  font-feature-settings: "palt" 1;
  line-height: 1.75;
  overflow-x: hidden;
}

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

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

p,
h1,
h2 {
  margin: 0;
}

.back-link {
    display: inline-block;
    text-align: center;
    margin: 30px 0 auto;
    padding: 10px 20px;
    font-size: 15px;
    line-height: 1.4;
    letter-spacing: 0;
    background: #000;
    color: #fff;
}

.hero {
  padding-top: 77px;
}

.hero-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
}

.hero-play {
  width: 90px;
  height: 90px;
}

.hero h1 {
  font-size: 52px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
}

.hero-image {
  width: 550px;
  height: auto;
  margin: 25px auto 0;
}

.campaign-copy {
  width: 580px;
  margin: 60px auto 10px;
  font-size: 35px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0;
}

.campaign-copy span,
.section-lead span,
.benefit-title {
  color: var(--accent);
}

.campaign-copy-mobile {
  display: none;
}
.section-intro {
  margin-top: 50px;
}

.intro-copy {
  width: fit-content;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.8;
  font-weight: bold;
}

.intro-copy p + p {
  margin-top: 23px;
}

main h2 {
  font-size: 35px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  letter-spacing: 0;
}

.section-conditions {
  margin-top: 100px;
}

.section-lead {
  width: 650px;
  margin: 50px auto 25px;
  font-size: 16px;
  line-height: 1.7;
  text-align: center;
}

.condition-box {
  width: 550px;
  margin: 0 auto;
  border: 1px solid var(--line);
  padding: 45px;
  font-size: 16px;
  line-height: 1.55;
}

.condition-box p + p {
  margin-top: 10px;
}

.condition-box .period-title {
  margin-top: 24px;
}

.line-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 350px;
  height: 50px;
  margin-top: 20px;
  background: var(--accent);
  color: #fff;
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}

.section-guideline {
  width: 550px;
  margin: 25px auto 0;
  font-size: 16px;
  line-height: 1.7;
}

.guide-button {
  display: inline-flex;
  align-items: center;
  width: 350px;
  height: 50px;
  margin-top: 25px;
  background: #000;
  color: #fff;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  justify-content: center;
}

.guide-button img {
  width: 33px;
  height: auto;
  margin-right: 30px;
}

.section-benefit {
  margin-top: 100px;
  text-align: center;
}

.benefit-title {
  margin-top: 27px;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.35;
}

.benefit-copy {
  margin: 50px auto 0;
  font-size: 16px;
  line-height: 1.8;
  width: 550px;
  text-align: left;
}

.benefit-notes {
  width: 550px;
  margin: 25px auto 0;
  font-size: 12px;
  line-height: 1.55;
  text-align: left;
}

.sample-image {
  width: 550px;
  margin: 25px auto 0;
}

.section-form {
  margin-top: 100px;
  text-align: center;
}

.form-lead {
  margin-top: 25px;
  font-size: 16px;
  line-height: 1.8;
}

.form-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 26px auto 0;
  padding: 0;
  list-style: none;
}

.form-steps li {
  min-width: 94px;
  border: 1px solid #9b9b9b;
  padding: 4px 14px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  color: #5c5c5c;
  background: rgba(255, 255, 255, 0.6);
}

.form-steps li.is-current {
  border-color: #000;
  color: #000;
  background: #fff;
}

.form-alert {
  width: 550px;
  margin: 24px auto 0;
  padding: 12px 14px;
  border: 1px solid #c02925;
  color: #c02925;
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.5;
  text-align: left;
}

form {
  width: 550px;
  margin: 70px auto 0;
}

.form-row {
  display: grid;
  grid-template-columns: 180px 300px;
  align-items: start;
  justify-content: center;
  gap: 10px;
  margin-bottom: 25px;
  text-align: left;
}

.form-row label {
  padding-top: 0;
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.2;
}

.form-row label span {
  font-size: 11px;
}

.form-row label em {
  display: block;
  margin-top: 4px;
  color: var(--accent);
  font-size: 10px;
  font-style: normal;
  font-weight: 500;
}

.form-control {
  width: 300px;
}

input,
textarea {
  width: 350px;
  border: 1px solid #9d9d9d;
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  font: 14px/1.5 var(--sans);
}

input {
  height: 30px;
  padding: 3px 8px;
}

textarea {
  height: 100px;
  padding: 7px 8px;
  resize: vertical;
}

.field-error {
  min-height: 18px;
  margin-top: 4px;
  color: var(--accent);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
}

.form-row.has-error input,
.form-row.has-error textarea {
  border-color: var(--accent);
}

.hp-field {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.submit-button {
  display: block;
  width: 240px;
  height: 50px;
  margin: 50px auto 0;
  border: 0;
  border-radius: 0;
  background: #000;
  color: #fff;
  cursor: pointer;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}

.confirm-button.submit-button {
  margin: auto 0;
}

.submit-button.is-disabled,
.submit-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.simple-main {
  min-height: calc(100vh - 160px);
}

.section-confirm,
.section-thanks {
  margin-top: 0px;
  padding-top: 100px;
}

.confirm-box {
  width: 550px;
  margin: 40px auto 0;
  border: 1px solid var(--line);
  text-align: left;
}

.confirm-list {
  margin: 0;
  padding: 0;
}

.confirm-item {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 16px;
  padding: 18px 20px;
  border-top: 1px solid #d0d0d0;
}

.confirm-item:first-child {
  border-top: 0;
}

.confirm-item dt {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
}

.confirm-item dt span {
  font-size: 11px;
}

.confirm-item dd {
  margin: 0;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
}

.confirm-item .url-cell a {
  color: #1d4ed8;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.confirm-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.action-form {
  width: auto;
  margin: 0;
}

.secondary-button {
  display: block;
  width: 240px;
  height: 50px;
  border: 1px solid #000;
  border-radius: 0;
  background: #fff;
  color: #000;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.thanks-message {
  margin-top: 30px;
  font-size: 19px;
  line-height: 1.8;
  text-align: center;
}

.thanks-actions {
  width: 550px;
  margin: 40px auto 0;
}

.thanks-actions .submit-button {
  margin-top: 0;
  text-align: center;
  line-height: 50px;
}

.section-notes {
  margin-top: 70px;
}

.notes-box {
  width: 550px;
  min-height: 145px;
  margin: 0 auto;
  border: 1px solid var(--line);
  padding: 45px;
  text-align: left;
}

.notes-box h2 {
  margin-bottom: 7px;
  font-size: 18px;
  text-align: left;
}

.notes-box p {
  font-size: 16px;
  line-height: 1.75;
}

.site-footer {
  margin-top: 100px;
  padding: 57px 0 30px;
  background: rgba(239, 238, 233, 0.64);
}

.footer-inner {
  width: 690px;
  margin: 0 auto;
}

.footer-top {
display: grid;
    grid-template-columns: auto auto;
    gap: 0px;
    font-size: 14px;
    line-height: 1.7;
    justify-content: space-evenly;
}

.footer-top address {
  font-style: normal;
}

.footer-top strong {
  font-size: 15px;
  font-weight: 700;
}

.footer-top a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.share-heading {
  margin-top: 46px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}

.share-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.share {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  height: 36px;
  padding: 5px 10px;
  border: 1px solid transparent;
  color: #fff;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.1;
  text-align: left;
}

.share img {
  width: 18px;
  height: 18px;
  margin-right: 6px;
  object-fit: contain;
}

.share-x {
  background: #000;
}

.share-facebook {
  background: #0866ff;
}

.share-facebook img {
  width: 21px;
  height: 21px;
}

.share-line {
  background: #06c755;
}

.share-copy {
  color: #000;
  border-color: #000;
  background: transparent;
}

.share-video {
  background: #c92826;
}

.share-video img {
  width: 16px;
  height: 16px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 35px;
  margin-top: 45px;
  font-size: 12px;
  line-height: 1.2;
}

.copyright {
  margin-top: 26px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
}

.copyright-mobile,
.sp-only {
  display: none;
}

.share-copy-lead {
  margin: 10px 0;
}

@media (min-width: 601px) and (max-width: 900px) {
  :root {
    --tablet-side-margin: 30px;
    --tablet-content-width: min(600px, calc(100% - (var(--tablet-side-margin) * 2)));
    --tablet-wide-width: min(700px, calc(100% - (var(--tablet-side-margin) * 2)));
  }

  .back-link,
  .hero-image,
  .campaign-copy,
  .condition-box,
  .section-guideline,
  .benefit-copy,
  .benefit-notes,
  .sample-image,
  .form-alert,
  form,
  .confirm-box,
  .thanks-actions,
  .notes-box {
    width: var(--tablet-content-width);
  }

  .section-lead,
  .footer-inner {
    width: var(--tablet-wide-width);
  }

  .form-row {
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 20px;
  }

  .form-control,
  input,
  textarea {
    width: 100%;
  }
}

@media (max-width: 600px) {
  :root {
    --mobile-side-margin: 30px;
    --mobile-content-width: calc(100% - (var(--mobile-side-margin) * 2));
  }

  body {
    background-size: 760px auto;
  }

  .back-link {
    font-size: 17px;
    margin: 30px 0 auto;
    padding: 15px 30px;
  }

  .hero {
    padding-top: 50px;
  }

  .hero-title {
    display: block;
    padding: 0 25px 0px;
  }

  .hero-play {
    width: 75px;
    height: 75px;
  }

  .hero h1 {
    font-size: 40px;
    margin-top: 10px;
  }

  .hero-image {
    width: var(--mobile-content-width);
    margin: 50px auto 0;
  }

  .campaign-copy {
    width: var(--mobile-content-width);
    margin: 25px auto 0;
    font-size: 24px;
    line-height: 1.35;
  }

  .campaign-copy-mobile {
    display: block;
  }

  .section-intro {
    margin-top: 50px;
  }

  .intro-copy {
    width: var(--mobile-content-width);
    font-size: 15px;
    line-height: 1.5;
  }

  .intro-copy p + p {
    margin-top: 20px;
  }

  main h2 {
    font-size: 31px;
  }

  .section-conditions {
    margin-top: 120px;
  }

  .section-lead {
    width: var(--mobile-content-width);
    margin: 45px auto;
    font-size: 16px;
    line-height: 1.55;
    text-align: left;
  }

  .condition-box {
    width: var(--mobile-content-width);
    margin: 0 auto;
    padding: 25px 20px;
    font-size: 15px;
    line-height: 1.5;
  }

  .condition-box p + p {
    margin-top: 5px;
  }

  .condition-box .period-title {
    margin-top: 32px;
  }

  .line-cta {
    width: 100%;
    height: 70px;
    margin: 28px auto 0;
    font-size: 17px;
    line-height: 1.5;
    padding: 0 20px;
  }

  .section-guideline {
    width: var(--mobile-content-width);
    margin: 25px auto 0;
    font-size: 15px;
    line-height: 1.55;
  }

  .guide-button {
    width: 100%;
    height: 75px;
    margin-top: 25px;
    font-size: 16px;
  }

  .guide-button img {
    width: 33px;
    margin-right: 28px;
  }

  .section-benefit {
    margin-top: 120px;
  }

  .benefit-title {
    margin-top: 15px;
    font-size: 30px;
    line-height: 1.35;
  }

  .benefit-copy {
    width: var(--mobile-content-width);
    margin: 25px auto 0;
    font-size: 16px;
    line-height: 1.75;
    text-align: left;
  }

  .benefit-notes {
    width: var(--mobile-content-width);
    margin: 20px auto 0;
    font-size: 14px;
    line-height: 1.3;
  }

  .sample-image {
    width: var(--mobile-content-width);
    margin: 20px auto 0;
  }

  .section-form {
    margin-top: 120px;
  }

  .form-lead {
    margin-top: 25px;
    font-size: 16px;
    line-height: 1.55;
    width: var(--mobile-content-width);
    margin-left: auto;
    margin-right: auto;
  }

  .form-steps {
    gap: 8px;
    margin-top: 20px;
  }

  .form-steps li {
    min-width: 82px;
    padding: 5px 10px;
    font-size: 12px;
  }

  .form-alert {
    width: var(--mobile-content-width);
    margin: 20px auto 0;
    font-size: 13px;
  }

  form {
    width: var(--mobile-content-width);
    margin: 50px auto 0;
  }

  .form-row {
    display: block;
    margin-bottom: 0px;
  }

  .form-row label {
    display: block;
    margin-bottom: 11px;
    padding-top: 0;
    font-size: 16px;
    line-height: 1.15;
  }

  .form-row label span {
    font-size: 11px;
  }

  .form-row label em {
    display: inline;
    margin-left: 11px;
    color: var(--accent);
    font-size: 11px;
    vertical-align: 2px;
  }

  .form-control {
    width: 100%;
  }

  input,
  textarea {
    width: 100%;
  }

  input {
    height: 45px;
  }

  textarea {
    height: 120px;
  }

  .field-error {
    min-height: 20px;
    margin-top: 5px;
    font-size: 13px;
  }

  .submit-button {
    width: 240px;
    height: 60px;
    margin-top: 30px;
    font-size: 17px;
  }

  .section-confirm,
  .section-thanks {
      margin-top: 0;
      padding-top: 80px;
  }

  .confirm-box {
    width: var(--mobile-content-width);
    margin: 30px auto 0;
  }

  .confirm-item {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 16px 14px;
  }

  .confirm-item dt {
    font-size: 15px;
  }

  .confirm-item dd {
    font-size: 14px;
  }

  .confirm-actions {
    display: block;
    width: var(--mobile-content-width);
    margin: 30px auto 0;
  }

  .action-form + .action-form {
    margin-top: 14px;
  }

  .secondary-button,
  .confirm-actions .submit-button {
    width: 240px;
    height: 56px;
    margin: 0 auto;
  }

  .thanks-message {
    margin-top: 24px;
    font-size: 17px;
    line-height: 1.8;
  }

  .thanks-actions {
    width: var(--mobile-content-width);
    margin: 32px auto 0;
  }

  .thanks-actions .submit-button {
    line-height: 56px;
  }

  .section-notes {
    margin-top: 70px;
  }

  .notes-box {
    width: var(--mobile-content-width);
    margin: 0 auto;
    min-height: 163px;
    padding: 30px;
  }

  .notes-box h2 {
    margin-bottom: 16px;
    font-size: 22px;
  }

  .notes-box p {
  font-size: 14px;
  line-height: 1.4;
  }

  .site-footer {
    margin-top: 120px;
    padding: 30px 0 35px;
  }

  .footer-inner {
    width: var(--mobile-content-width);
    margin: 0 auto;
  }

  .footer-top {
    display: block;
    font-size: 14px;
    line-height: 1.55;
    text-align: center;
  }

  .footer-top p {
    margin-top: 25px;
  }

  .footer-top strong {
    font-size: 17px;
  }

  .share-heading {
    margin-top: 43px;
    font-size: 17px;
  }

  .share-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-content: center;
    gap: 8px 12px;
    width: 260px;
    margin: 20px auto 0;
  }

  .share {
    width: 124px;
    height: 50px;
    min-width: 0;
    padding: 6px 9px;
    font-size: 12px;
  }

  .share-video {
    grid-column: 1;
  }

  .footer-links {
    gap: 31px;
    margin-top: 78px;
    font-size: 12px;
  }

  .copyright {
    margin-top: 34px;
    font-size: 14px;
  }

  .copyright-mobile,
  .sp-only {
    display: inline;
  }
  .share-copy-lead {
    height: 40px;
  }
}

/* ===== Loading overlay ===== */
#loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background-color: var(--paper);
  transition: opacity 0.25s ease;
}
#loading-overlay.is-hidden {
  opacity: 0;
  pointer-events: none;
}
#loading-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: #c02925;
}
