
* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, Arial, sans-serif;
  color: #000;
  background: linear-gradient(180deg, #fff 0%, #fff8f0 48%, #fff 100%);
}
div#breadcrumb_container {
  border-bottom: none;
}
.page {
  max-width: 980px;
  margin: 0 auto;
  background: #fff;
  min-height: 100vh;
  box-shadow: 0 0 30px rgba(0,0,0,.06);
  overflow: hidden;
}

/*-----------------------------
共通
-----------------------------*/
.section {
  padding: 60px 40px 80px;
  @media (max-width: 760px) {
    padding: 45px 20px 40px; 
  }
}
.sectionTtl {
  line-height: 1.2;
  text-align: center;
  margin: 0 0 24px;
  font-size: clamp(26px, 4.5vw, 40px);
  font-weight: bold;
}
.sectionTtl-white {  
  color: #fff;
}
.sectionTtl-red {
  color: #E60012;
}
.sectionTtl span {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 20px;
}
.sectionTtl span::before,
.sectionTtl span::after {
  content: '';
  width: 31px;
  height: 45px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.sectionTtl span::before {
  background-image: url(../img/fukidashiL-white.png);
}
.sectionTtl span::after {
  background-image: url(../img/fukidashiR-white.png);
}
.sectionTtl-red span::before {
  background-image: url(../img/fukidashiL-red.png);
}
.sectionTtl-red span::after {
  background-image: url(../img/fukidashiR-red.png);
}

/*-----------------------------
mainvisual
-----------------------------*/
#mainvisual {
  text-align: center;
  font-weight: bold;
  background-image: url(../img/mv_bg-pc.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center top;
  padding: 40px 0 0;
  @media (max-width: 760px) {
    background-image: url(../img/mv_bg-sp.png);
    padding: 70px 0 10px;
  }
  .catch {
    display: inline-block;
    font-size: clamp(18px, 5vw, 26px);
    line-height: 1;
    color: #fff;
    font-weight: bold;
    background-color: #E60012;
    letter-spacing: .02em;
    border-radius: 30px;
    padding: .5em 1em;
    margin: 0;
    position: relative;
    &:after {
      content: "";
      position: absolute;
      bottom: 0;
      left: 50%;
      border-style: solid;
      border-width: 15px 10px 0 10px;
      border-color: #E60012 transparent transparent;
      translate: -50% 100%;
    }
    small {
      font-size: 70%;
    }
  }
  h1 {
    font-size: clamp(60px, 7vw, 70px);
    color: #E60012;
    line-height: 1;
    margin: .5em 0 0;
    span {
      @media (max-width: 760px) {
        display: block;
        font-size: 84%;
        font-weight: bold;
      }
    }
  }
  figure {
    width: 90%;
    text-align: center;
    margin: 0 auto;
    @media (max-width: 760px) {
      width: 90%;
    }
    img {
      width: 100%;
    }
  }
  .lead {
    display: block;
    font-size: clamp(18px, 5vw, 24px);
    font-weight: bold;
    line-height: 1.2;
    color: #fff;
    background-color: #000;
    padding: .5em 0;
    margin: 0;
    @media (max-width: 760px) {
      display: inline-block;
      color: #000;
      background-color: #fff;
      border-top: solid 5px #000;
      border-bottom: solid 5px #000;
    }
  }
  .period {
    font-size: clamp(14px, 5vw, 20px);
    margin: .5em 0 0;
    @media (max-width: 760px) {
    }
    span {
      display: inline-block;
      color: #fff;
      background-color: #E60012;
      line-height: 1;
      padding: .3em .3em .3em .3em;
      border-radius: 5px;
      margin-right: .5em;
    }
  }
}

/*-----------------------------
tokuten
-----------------------------*/
#tokuten {
  background-color: #E60012;
}

.stairs-wrap {
  background: #fff;
  border-radius: 28px;
  padding: 28px 22px 34px;
}

.stairs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  align-items: end;
  margin: 0 auto;
  @media (max-width: 760px) {
    display: flex;
    overflow-x: auto;
    padding-bottom: 8px;
  }
}
.step-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 118px;
  padding: 14px 10px;
  text-align: center;
  border-radius: 16px 16px 0 0;
  color: #fff;
  @media (max-width: 760px) {
    min-width: 120px;
  }
}
.step-card:nth-child(1) { 
  height: 160px; 
  background: #60AE5D; 
  @media (max-width: 760px) {
    height: 140px;
  }
  .people {
    color: #60AE5D;
  }
}
.step-card:nth-child(2) { 
  height: 170px; 
  background: #B0896A; 
  @media (max-width: 760px) {
    height: 150px;
  }
  .people {
    color: #B0896A;
  }
}
.step-card:nth-child(3) { 
  height: 180px; 
  background: #9F9F9F; 
  @media (max-width: 760px) {
    height: 160px;
  }
  .people {
    color: #9F9F9F;
  }
}
.step-card:nth-child(4) { 
  height: 190px; 
  background: #B59C46; 
  @media (max-width: 760px) {
    height: 170px;
  }
  .people {
    color: #B59C46;
  }
}
.step-card:nth-child(5) { 
  height: 200px;
  background-image: url(../img/tokuten_bg.png); 
  background-size: cover;
  @media (max-width: 760px) {
    height: 180px;
  }
  .people {
    color: #E60012;
  }
}
.star {
  text-align: center;
  img {
    width: 23px;
  }
}
.cup {
  text-align: center;
  img {
    width: 61px;
  }
}
.people {
  display: inline-block;
  align-self: center;
  background: #fff;
  font-weight: bold;
  font-size: 22px;
  border-radius: 20px;
  padding: 5px 14px;
  margin-bottom: 8px;
  line-height: 1;
  small {
    font-size: 55%;
  }
}

.gift {
  font-weight: bold;
  font-size: clamp(13px, 2vw, 17px);
  line-height: 1.25;
  strong {
    font-size: clamp(15px, 2vw, 22px);
  }
  small {
    display: block;
    margin-top: 5px;
    font-size: .72em;
    opacity: .95;
  }
}
.note {
  margin: 20px auto 0;
  color: #666666;
  font-size: 13px;
  line-height: 1.7;
  text-align: left;
}
/*-----------------------------
howto
-----------------------------*/
#howto {
}
.flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 22px;
  @media (max-width: 760px) {
    grid-template-columns: 1fr;
  }
}
.flow-card {
  background: #FFF8F9;
  border: 2px solid #FFEBEC;
  border-radius: 20px;
  padding: 22px 18px;
  text-align: center;
  position: relative;
}
.illust {
  position: absolute;
  img {
    width: 100%;
  }
}
.illust-01 {
  width: 64px;
  left: -7px;
  top: -30px;
  @media (max-width: 767px) {
    left: auto;
    right: -6px;
  }
}
.illust-02 {
  width: 69px;
  left: -7px;
  bottom: -30px;
  @media (max-width: 767px) {
    left: 12px;
    top: -46px;
    bottom: auto;
  }
}
.illust-03 {
  width: 58px;
  right: -8px;
  top: -20px;
  @media (max-width: 767px) {
    top: -33px;
  }
}
.illust-04 {
  width: 96px;
  right: 0;
  bottom: -29px;
  @media (max-width: 767px) {
    left: -10px;
    right: auto;
    top: -35px;
    bottom: auto;
  }
}
.flow-num {
  width: 42px;
  height: 42px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: #E60012;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 20px;
}

.flow-card h3 {
  margin: 0 0 8px;
  color: #E60012;
  font-size: 20px;
}

.flow-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
}

.copy-url {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px!important;
  margin-top: 12px!important;
  padding: 7px 2em 4px;
  border-radius: 999px;
  background: #E60012;
  color: #fff;
  font-weight: bold;
  font-size: 14px;
  cursor: pointer;
}

.app-block {
  background: #f8f8f8;
  text-align: center;
}

.store-buttons {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.store-btn {
  width: 270px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: #050505;
  color: #fff;
  border-radius: 14px;
  border: 3px solid #333;
  font-weight: 800;
  box-shadow: 0 5px 0 rgba(0,0,0,.18);
}

.store-icon {
  font-size: 34px;
}

.store-btn strong {
  display: block;
  font-size: 26px;
  line-height: 1;
}
.store-btn span {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  color: #eee;
}

/*-----------------------------
form
-----------------------------*/
#form {
  background-image: url(../img/form_bg.png);
  background-size: auto;
  h3 {
    color: #E60012;
    font-size: clamp(18px, 5vw, 26px);
    text-align: center;
    margin: 0 0 18px;
    padding-bottom: 1em;
    position: relative;
    &:after {
      content: '';
      width: 2em;
      height: 5px;
      background-color: #E60012;
      position: absolute;
      left: 0;
      right: 0;
      bottom: 0;
      margin: 0 auto;
    }
  }
  .formBox {
    width: 80%;
    margin: 0 auto;
    @media (max-width: 767px) {
      width: 100%;
    }
    .field {
      display: grid;
      grid-template-columns: 215px 1fr;
      gap: 16px;
      align-items: center;
      padding: 12px 0;
      border-bottom: 1px dashed #e9a8ad;
      @media (max-width: 760px) {
        grid-template-columns: 1fr; gap: 8px;
      }
    }

    .field label {
      font-weight: 800;
    }
    .required {
      display: inline-block;
      margin-left: 8px;
      padding: 2px 7px;
      color: #fff;
      background: #E60012;
      border-radius: 4px;
      font-size: 12px;
    }

    input[type="text"], input[type="tel"] {
      width: 100%;
      border: 2px solid #fff;
      background: #fff;
      border-radius: 8px;
      padding: 14px 12px;
      font-size: 16px;
      outline: none;
    }

    .cta {
      display: block;
      width: min(100%, 420px);
      margin: 26px auto 0;
      padding: .7em 1em;
      background: #E60012;
      border: 0;
      border-radius: 50px;
      color: #fff;
      font-size: clamp(18px, 5vw, 22px);
      font-weight: bold;
      line-height: 1;
      cursor: pointer;
    }
    .attention {
      color: #666666;
      font-size: 13px;
      line-height: 1.7;
      margin-top: 4em;
      @media (max-width: 767px) {
        margin-top: 3em;
      }
    }
  }
  
}


/*==============================================================
  Laravel アプリ側の追加分（STGデザインには存在しない要素）
  - フォームの検証エラー表示
  - 確認 / 完了 / 期間外 画面
  - <p> から <button> へ変更した copy-url のリセット
  2026-08-05 追加
==============================================================*/

/*--------------------------------------------------------------
  copy-url: STGでは <p> だったものを <button> にしたため
  ブラウザ既定のボタンスタイルを打ち消す
--------------------------------------------------------------*/
button.copy-url {
  border: 0;
  font-family: inherit;
  line-height: 1.5;
  -webkit-appearance: none;
  appearance: none;
}
button.copy-url:focus-visible {
  outline: 3px solid #7a1f26;
  outline-offset: 2px;
}
.copy-url.is-copied {
  background: #7a1f26;
}

/*--------------------------------------------------------------
  フォームの検証エラー
--------------------------------------------------------------*/
.error-summary {
  margin: 0 auto 20px;
  padding: 14px 16px;
  border: 2px solid #E60012;
  border-radius: 8px;
  background: #fff5f6;
  color: #b3000e;
  font-weight: bold;
  font-size: 15px;
  text-align: center;
}
.error-summary:focus {
  outline: 3px solid #E60012;
  outline-offset: 2px;
}

.formBox .field-body {
  min-width: 0;
}

.field-error {
  margin: 6px 0 0;
  color: #b3000e;
  font-size: 13px;
  line-height: 1.6;
  font-weight: bold;
}

.formBox input[aria-invalid="true"] {
  border-color: #E60012;
  background: #fff5f6;
}

.formBox input:focus-visible {
  outline: 3px solid #E60012;
  outline-offset: 1px;
}

/*--------------------------------------------------------------
  確認画面
--------------------------------------------------------------*/
.confirm-lead {
  text-align: center;
  font-size: 16px;
  line-height: 1.8;
  margin: 0 0 24px;
}

.confirm-list {
  width: 80%;
  margin: 0 auto;
  padding: 0;
}
@media (max-width: 767px) {
  .confirm-list {
    width: 100%;
  }
}

.confirm-list div {
  display: grid;
  grid-template-columns: 215px 1fr;
  gap: 16px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px dashed #e9a8ad;
}
@media (max-width: 760px) {
  .confirm-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

.confirm-list dt {
  margin: 0;
  font-weight: 800;
}

.confirm-list dd {
  margin: 0;
  font-size: 18px;
  word-break: break-all;
}

.confirm-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
}

.confirm-actions form {
  width: min(100%, 420px);
}

.btn-back {
  display: block;
  width: 100%;
  padding: .7em 1em;
  background: #fff;
  border: 2px solid #E60012;
  border-radius: 50px;
  color: #E60012;
  font-size: 16px;
  font-weight: bold;
  line-height: 1;
  cursor: pointer;
  font-family: inherit;
}

/*--------------------------------------------------------------
  送信エラー / 完了 / 期間外
--------------------------------------------------------------*/
.submission-error {
  margin: 0 auto 24px;
  padding: 16px;
  border: 2px solid #E60012;
  border-radius: 8px;
  background: #fff5f6;
  color: #b3000e;
  font-weight: bold;
  line-height: 1.7;
  text-align: center;
}

.result-box {
  width: min(100%, 640px);
  margin: 0 auto;
  padding: 40px 24px;
  text-align: center;
}

.result-box p {
  font-size: 16px;
  line-height: 1.9;
  margin: 0 0 12px;
}

.result-period {
  margin-top: 24px;
  font-weight: bold;
  color: #E60012;
}

.result-actions {
  margin-top: 30px;
}

.result-actions a {
  display: inline-block;
  padding: .7em 2em;
  background: #E60012;
  border-radius: 50px;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
}

/*--------------------------------------------------------------
  読み上げ専用テキスト（画面には出さない）
  「URLをコピー」の結果を aria-live で伝えるために使う。
  display:none や visibility:hidden は読み上げ対象から外れるため使えない。
--------------------------------------------------------------*/
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/*--------------------------------------------------------------
  完了メッセージ（フォームがあった位置に出る）
  2026-08-06 デザイナー指示の完成イメージ準拠。
  入力欄と同じ幅・同じ余白の中に、本文より大きい文字で中央寄せ。
--------------------------------------------------------------*/
.complete-message {
  margin: 1.2em 0 0;
  padding: 1.6em 0 2em;
  font-size: clamp(24px, 6vw, 32px);
  line-height: 1.6;
  text-align: center;
  outline: none;
}
@media (max-width: 767px) {
  .complete-message {
    padding: 1.2em 0 1.6em;
  }
}

/*--------------------------------------------------------------
  二重送信防止（送信中の見た目）
--------------------------------------------------------------*/
.cta[disabled],
.btn-back[disabled] {
  opacity: .6;
  cursor: progress;
}
