@charset "utf-8";
/* CSS Document */

:root {
  --red: #ff2750;
  --red-dark: #d32143;
  --hero-bg: #fdf6ee;
  --text: #20202b;
  --text-sub: #6a6a7a;
  --border: #e1e1ea;
  --gray: #f0f0f8;
  --white: #fff;
  --input-bg: #fafafa;
  --modal-bg: #f32149;
  --shadow-page: 0 6px 20px rgb(0 0 0 / 20%);
  --shadow-card: 0 6px 20px rgb(0 0 0 / 15%);
  --ease: cubic-bezier(0.4, 0.4, 0, 1);
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
#form-step {
  scroll-margin-top: 25px;
}
#trust-points,
#track-record,
#reviews,
#flow,
#faq,
#privacy-policy,
#company {
  scroll-margin-top: 25px;
}
@media (min-width: 1080px) {
  #form-step {
    scroll-margin-top: 24px;
  }
  #trust-points,
  #track-record,
  #reviews,
  #flow,
  #faq,
  #privacy-policy,
  #company {
    scroll-margin-top: 20px;
  }
}
@keyframes sparkle {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.15;
  }
}
@keyframes thumb-spin {
  to {
    transform: rotate(360deg);
  }
}
.blink {
  animation: blink 1s infinite;
}
@keyframes blink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}
body {
  font-family: "Inter", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  background: var(--red) url("../media/bg.webp") center top / cover no-repeat fixed;
  color: var(--text);
  line-height: 1.6;
  padding-bottom: calc(90px + env(safe-area-inset-bottom));
}
@media (max-width: 829px) {
  body {
    background: var(--gray);
  }
}
.page {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
  transition: max-width 0.4s var(--ease), padding 0.4s var(--ease);
}
.content > div > header hgroup {
  display: flex;
  align-items: center;
  gap: 10px;
}
.content > div > header hgroup > a {
  display: contents;
  text-decoration: none;
}
.content > div > header hgroup h1 {
  display: block;
  order: 2;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-sub);
  line-height: 1.4;
}
.content > div > header hgroup p {
  order: 1;
  font-size: 32px;
  font-weight: 900;
  letter-spacing: 0.03em;
  white-space: nowrap;
  color: var(--red);
  opacity: 1;
  transition: opacity 0.35s ease;
}
.content > div > header button {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--red);
  border: none;
  opacity: 1;
  position: fixed;
  top: 14px;
  right: clamp(25px, 50vw - 315px, 400px);
  z-index: 101;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.35s ease;
  & span {
    display: block;
    width: 20px;
    height: 3px;
    background: var(--white);
    border-radius: 4px;
    position: relative;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease), background 0.18s ease;
  }
  & span::before,
  & span::after {
    content: "";
    position: absolute;
    left: 0;
    width: 20px;
    height: 3px;
    background: var(--white);
    border-radius: 4px;
    transition: transform 0.3s var(--ease), top 0.3s var(--ease), background 0.18s ease;
  }
  & span::before {
    top: -9px;
  }
  & span::after {
    top: 9px;
  }
  &[data-corner] {
    top: 24px;
    right: 24px;
  }
  &[data-corner-out] {
    opacity: 0;
    transition: opacity 0.18s ease;
  }
  &[data-corner-in] {
    opacity: 1;
    transition: opacity 0.18s ease;
  }
  &[data-open],
  &[data-corner] {
    background: var(--white);
    & span,
    & span::before,
    & span::after {
      background: var(--red);
    }
  }
  &[data-open] {
    & span {
      background: transparent;
    }
    & span::before {
      top: 0;
      transform: rotate(45deg);
    }
    & span::after {
      top: 0;
      transform: rotate(-45deg);
    }
  }
}
.content {
  background: var(--gray);
  border-radius: 0;
  margin-left: 0;
  margin-right: 0;
  transition: border-radius 0.4s var(--ease), max-width 0.4s var(--ease), margin-left 0.4s var(--ease), margin-right 0.4s var(--ease);
  & > div {
    max-width: 680px;
    margin: 0 auto;
    padding: 0 0 5px;
    & > header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 25px;
      opacity: 1;
      max-height: 84px;
      overflow: hidden;
      transition: max-height 0.4s var(--ease), padding 0.4s var(--ease), opacity 0.2s ease;
    }
  }
}
.hero {
  position: relative;
  background: var(--hero-bg);
  border-radius: 28px;
  margin: 0 20px 16px;
  overflow: hidden;
  transition: margin 0.4s var(--ease);
  & video {
    display: block;
    width: 100%;
    height: auto;
  }
  & > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  &::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 65%;
    background: linear-gradient(to top, #1f1a35, transparent);
    mix-blend-mode: multiply;
    z-index: 1;
  }
  & > div {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: clamp(30px, 3.333vw + 17.33px, 40px);
    & p {
      color: var(--white);
      font-weight: 900;
      font-size: clamp(32px, 6vw + 9.2px, 50px);
      line-height: 1.3;
    }
    & p:last-child {
      font-weight: 700;
      font-size: clamp(13px, 2.667vw + 2.87px, 21px);
      margin-top: 6px;
    }
  }
}
.badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 0 20px 16px;
  list-style: none;
  transition: margin 0.4s var(--ease);
  & li {
    background: var(--white);
    border-radius: 14px;
    padding: 14px 6px;
    text-align: center;
    & img {
      width: 48px;
      height: 48px;
      margin: 0 auto;
    }
    & p {
      font-weight: 500;
      font-size: clamp(12px, 2.1429vw + 3.857px, 15px);
      color: var(--text-sub);
    }
    & p:last-child {
      font-size: clamp(14px, 2.1429vw + 5.857px, 17px);
      font-weight: 900;
      color: var(--text);
      margin-top: 2px;
    }
  }
}
.trust {
  display: flex;
  gap: 16px;
  align-items: center;
  margin: 0 20px 16px;
  padding: 25px 30px 25px 20px;
  background: var(--white);
  border: 1px solid var(--red);
  border-radius: 16px;
  transition: margin 0.4s var(--ease);
  & figure {
    position: relative;
    flex-shrink: 0;
    & img {
      width: 92px;
      height: 92px;
      border-radius: 50%;
      object-fit: cover;
    }
    & svg {
      position: absolute;
      top: -8px;
      left: -8px;
      width: 22px;
      height: 22px;
      color: var(--red);
      animation: sparkle 1.0s ease-in-out infinite;
    }
  }
  & dt {
    color: var(--red);
    font-weight: 900;
    font-size: 15px;
    margin-bottom: 8px;
  }
  & dt br {
    display: none;
  }
  & dd:first-of-type {
    color: var(--text);
    font-size: 14px;
    line-height: 1.7;
  }
  & address {
    color: var(--text-sub);
    font-size: 11px;
    font-style: normal;
    margin-top: 8px;
  }
}
.form-step {
  margin: 26px 20px 20px;
  background: var(--red);
  border-radius: 24px;
  padding: 28px 20px;
  transition: margin 0.4s var(--ease);
  & > header {
    color: var(--white);
    text-align: center;
    padding: 0 0 20px;
    & p {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 19px;
      font-weight: 900;
      & img {
        width: 34px;
        height: 32px;
      }
    }
  }
  & > form {
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-card);
    padding: 22px 20px 26px;
    display: block;
    & > div {
      margin-bottom: 22px;
      & > p:first-child {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 17px;
        font-weight: 900;
        margin-bottom: 10px;
        & span {
          background: var(--red);
          color: var(--white);
          font-size: 10px;
          font-weight: 700;
          padding: 2px 6px;
          border-radius: 4px;
        }
      }
      & > p:last-child {
        font-size: 12px;
        color: var(--red);
        margin-top: 6px;
        display: none;
      }
      & input + input {
        margin-top: 10px;
      }
    }
    & .file-group {
      display: flex;
      gap: 8px;
      & label:first-child {
        flex: 7;
        display: flex;
        align-items: center;
        justify-content: space-between;
        border: 3px solid var(--border);
        border-radius: 10px;
        padding: 12px 14px;
        cursor: pointer;
        background: var(--input-bg);
        & span {
          font-size: 15px;
          color: var(--text-sub);
        }
        & svg {
          width: 25px;
          height: 25px;
          color: var(--text-sub);
        }
      }
      & label:last-child {
        flex: 3;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px solid var(--red);
        border-radius: 10px;
        background: var(--red);
        cursor: pointer;
        & svg {
          width: 27px;
          height: 27px;
          color: var(--white);
        }
      }
      & input[type="file"] {
        display: none;
      }
    }
    & #fileThumb {
      display: none;
      grid-template-columns: repeat(3, 1fr);
      gap: 12px;
      margin-top: 16px;
      &[data-show] {
        display: grid;
      }
      & > div {
        position: relative;
        width: 100%;
        min-width: 0;
        aspect-ratio: 1 / 1;
        & img {
          width: 100%;
          height: 100%;
          object-fit: cover;
          border-radius: 10px;
          /*border: 3px solid var(--border);*/
        }
        & button {
          position: absolute;
          top: -12px;
          right: -12px;
          width: 32px;
          height: 32px;
          border-radius: 50%;
          background: var(--white);
          border: 1px solid var(--border);
          box-shadow: var(--shadow-card);
          color: var(--text-sub);
          font-size: 17px;
          line-height: 1;
          cursor: pointer;
          display: flex;
          align-items: center;
          justify-content: center;
        }
      }
      & > .thumb-loading {
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--input-bg);
        border-radius: 10px;
        border: 3px solid var(--border);
        & > span {
          width: 26px;
          height: 26px;
          border: 3px solid var(--border);
          border-top-color: var(--red);
          border-radius: 50%;
          animation: thumb-spin 0.8s linear infinite;
        }
      }
    }
    & input[type="text"],
    & input[type="email"],
    & input[type="tel"] {
      width: 100%;
      border: 3px solid var(--border);
      border-radius: 10px;
      padding: 14px;
      font-size: 16px;
      font-weight: 700;
      background: var(--input-bg);
      &:focus {
        outline: none;
        border-color: var(--red);
      }
    }
    & .zip-row {
      display: flex;
      align-items: center;
      gap: 8px;
    }
    & #zipInput {
      width: 48%;
    }
    & .zip-example {
      font-size: 12px;
      color: var(--text-sub);
      white-space: nowrap;
    }
    & > .form-consent {
      font-size: 12px;
      color: var(--text-sub);
      text-align: center;
      margin-bottom: 12px;
    }
    & #addressDisplay {
      font-size: 13px;
      font-weight: 700;
      color: var(--text-sub);
      margin-top: 8px;
    }
    & #addressDisplay:empty {
      margin-top: 0;
    }
    & > button {
      width: 100%;
      background: var(--red);
      color: var(--white);
      border: none;
      border-radius: 14px;
      padding: 16px;
      font-size: 19px;
      font-weight: 900;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      cursor: pointer;
      &:active {
        background: var(--red-dark);
      }
    }
  }
}
@media (min-width: 480px) {
  .form-step form #fileThumb {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (min-width: 590px) {
  .form-step form #fileThumb {
    grid-template-columns: repeat(5, 1fr);
  }
}
.trust-points {
  margin: 0 20px 20px;
  & h2 {
    font-size: 36px;
    font-weight: 900;
    text-align: center;
    margin-top: 50px;
  }
  & .lead {
    font-weight: 600;
    font-size: 15px;
    color: var(--text);
    text-align: left;
    margin: 15px 5px 10px;
    line-height: 1.8;
    & span {
      color: var(--red);
    }
  }
  & ol {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
  }
  & li {

    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    border-radius: 24px;
    padding: 25px 24px 25px 10px;
    & figure {
      flex: 0 0 40%;
      & img {
        display: block;
        width: 100%;
      }
    }
    & dl {
      flex: 1;
    }
    & dt {
      font-size: clamp(18px, 2.8571vw + 7.143px, 22px);
      font-weight: 900;
      margin-bottom: 10px;
      text-align: left;
      & span {
        color: var(--red);
      }
    }
    & dd {
      font-size: 15px;
      font-weight: 500;
      color: var(--text);
      line-height: 1.6;
    }
  }
}
.track-record {
  margin: 0 20px 20px;
  & h2 {
    font-size: 36px;
    font-weight: 900;
    text-align: center;
    margin-top: 50px;
  }
  & ul {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 20px;
  }
  & li {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
  }
  & figure {
    position: relative;
    aspect-ratio: 4 / 3;
    & img {
      border-radius: 0 0 16px 16px;
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    & p {
      position: absolute;
      top: 0;
      right: 0;
      background: var(--red);
      color: var(--white);
      font-size: 13px;
      font-weight: 900;
      padding: 2px 8px;
      border-radius: 0 0 0 10px;
      & span {
        font-size: 20px;
        margin-right: 1px;
      }
    }
  }
  & > ul > li > p {
    padding: 10px clamp(12px, 8.5714vw - 26.571px, 18px) 4px;
    font-size: clamp(15px, 4.2857vw - 4.286px, 18px);
    font-weight: 900;
    line-height: 1.3;
    min-height: 3.6em;
  }
  & dl {
    padding: 0 clamp(12px, 8.5714vw - 26.571px, 18px) 14px;
    & > div {
      display: flex;
      gap: 6px;
      font-size: 12px;
      line-height: 1.8;
      & dt {
        flex: 0 0 56px;
        color: var(--text-sub);
      }
      & dd {
        color: var(--text);
        font-weight: 700;
      }
    }
  }
}
.reviews {
  margin: 0 0 20px;
  & h2 {
    font-size: 36px;
    font-weight: 900;
    text-align: center;
    margin: 50px 20px 4px;
  }
  & .reviews-note {
    font-size: 11px;
    color: var(--text-sub);
    text-align: center;
    margin-bottom: 16px;
  }
  & ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 0 20px;
  }
  & li {
    display: grid;
    grid-template-columns: 44px 1fr;
    column-gap: 12px;
    row-gap: 4px;
    background: var(--white);
    border-radius: 28px;
    padding: 28px 24px;
    & > svg {
      grid-column: 1;
      grid-row: 1 / 3;
      align-self: center;
      width: 44px;
      height: 44px;
      border-radius: 50%;
    }
    & > p:first-of-type {
      grid-column: 2;
      grid-row: 1;
      font-size: 14px;
      font-weight: 700;
      color: var(--text);
    }
    & > div {
      grid-column: 2;
      grid-row: 2;
      display: flex;
      align-items: center;
      gap: 8px;
      & svg {
        width: 110px;
        height: 18px;
      }
      & span {
        font-size: 12px;
        color: var(--text-sub);
      }
    }
    & > p:last-of-type {
      font-size: 15px;
      font-weight: 700;
      grid-column: 1 / -1;
      grid-row: 3;
      margin-top: 10px;
      color: var(--text);
      line-height: 1.7;
    }
  }
}
.flow {
  margin: 0 20px 20px;
  & h2 {
    font-size: 36px;
    font-weight: 900;
    text-align: center;
    margin-top: 50px;
  }
  & ol {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
  }
  & li {
    display: flex;
    position: relative;
    & figure {
      flex: 0 0 34%;
      border-radius: 16px 0 0 16px;
      overflow: hidden;
      & img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
      }
    }
    & div {
      flex: 1;
      background: var(--white);
      border-radius: 0 16px 16px 0;
      padding: 20px 22px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      & p:first-child {
        color: var(--red);
        font-size: 13px;
        font-weight: 900;
        letter-spacing: 0.05em;
        margin-bottom: 6px;
      }
      & h3 {
        font-size: 20px;
        font-weight: 900;
        margin-bottom: 6px;
        line-height: 1.4;
      }
      & p:last-child {
        font-size: 15px;
        font-weight: 500;
        color: var(--text);
        line-height: 1.7;
      }
    }
  }
  & li:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -16px;
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 20px solid var(--white);
    transform: translateX(-50%);
  }
}
.faq {
  margin: 0 20px 20px;
  & h2 {
    font-size: 36px;
    font-weight: 900;
    text-align: center;
    margin-top: 50px;
  }
  & ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
  }
  & li {
    background: var(--white);
    border-radius: 16px;
  }
  & summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 20px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
    &::-webkit-details-marker {
      display: none;
    }
    & .q {
      display: flex;
      gap: 6px;
      flex: 1;
      & b {
        font-size: 17px;
        font-weight: 900;
        flex-shrink: 0;
        color: var(--red);
      }
    }
    & .icon {
      flex-shrink: 0;
      width: 32px;
      height: 32px;
      border-radius: 50%;
      background: var(--gray);
      display: flex;
      align-items: center;
      justify-content: center;
      & svg {
        width: 14px;
        height: 14px;
        color: var(--text-sub);
        transition: transform 0.3s var(--ease);
      }
    }
  }
  & details[open] summary .icon svg {
    transform: rotate(180deg);
  }
  & details p {
    font-size: 15px;
    font-weight: 500;
    padding: 0 20px 18px 46px;
    text-indent: -26px;
    color: var(--text);
    line-height: 1.7;
    & b {
      font-weight: 900;
      font-size: 17px;
      color: var(--red);
      margin-right: 6px;
    }
  }
}
.site-footer {
  padding: 24px 20px 40px;
  text-align: center;
  & nav {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 12px;
  }
  & nav a {
    font-size: 13px;
    color: var(--text);
    text-decoration: none;
  }
  & small {
    display: block;
    font-size: 12px;
    color: var(--text-sub);
  }
}
.legal-page {
  margin: 0 20px 20px;
  & h2 {
    font-size: clamp(28px, 4.7059vw + 11.529px, 36px);
    font-weight: 900;
    text-align: center;
    margin-top: 50px;
    margin-bottom: 24px;
  }
  & .legal-box {
    background: var(--white);
    border-radius: 20px;
    padding: 24px 25px;
  }
  & h3 {
    font-size: 18px;
    font-weight: 900;
    color: var(--text);
    margin-top: 28px;
    margin-bottom: 10px;
  }
  & h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    margin-top: 18px;
    margin-bottom: 8px;
  }
  & p {
    font-size: 14px;
    color: var(--text-sub);
    line-height: 1.9;
    margin-bottom: 12px;
  }
  & ul {
    list-style: disc;
    padding-left: 1.2em;
    margin-bottom: 12px;
  }
  & li {
    font-size: 14px;
    color: var(--text-sub);
    line-height: 1.9;
  }
  & .legal-date {
    margin-top: 32px;
    font-size: 13px;
    color: var(--text-sub);
    text-align: right;
  }
}
.company-page {
  margin: 0 20px 20px;
  & h2 {
    font-size: 36px;
    font-weight: 900;
    text-align: center;
    margin-top: 50px;
    margin-bottom: 24px;
  }
}
.company-info {
  background: var(--white);
  border-radius: 20px;
  padding: 8px 25px;
  & > div {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
  }
  & > div:last-child {
    border-bottom: none;
  }
  & dt {
    flex: 0 0 64px;
    font-size: 13px;
    color: var(--text-sub);
  }
  & dd {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
  }
}
.cta-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  background: var(--red);
  padding: 14px 20px calc(14px + env(safe-area-inset-bottom));
  transform: translateY(100%);
  transition: transform 0.3s var(--ease);
  &[data-show] {
    transform: translateY(0);
  }
  & a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    max-width: 480px;
    margin: 0 auto;
    background: var(--white);
    color: var(--red);
    font-size: 18px;
    font-weight: 900;
    border-radius: 14px;
    padding: 15px;
    text-decoration: none;
    & img {
      width: 34px;
      height: 34px;
    }
  }
}
@media (min-width: 830px) {
  .cta-bar {
    background: var(--red-dark);
  }
}
.menu-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  & > div {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 100%;
    background: var(--modal-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 24px 28px 32px;
    transform: translateX(100%);
    transition: transform 0.45s var(--ease);
    display: flex;
    flex-direction: column;
    & ul {
      list-style: none;
      margin-top: 72px;
      & a {
        display: block;
        padding: 18px 2px;
        font-size: 20px;
        font-weight: 700;
        color: var(--white);
        text-decoration: none;
      }
    }
    & > div:last-child {
      margin-top: auto;
      padding-top: 24px;
      & p {
        font-size: 14px;
        color: var(--white);
        margin-bottom: 12px;
      }
      & div {
        display: flex;
        gap: 10px;
        & span,
        & a {
          width: 36px;
          height: 36px;
          border-radius: 50%;
          border: 1px solid var(--white);
          display: flex;
          align-items: center;
          justify-content: center;
          & svg {
            width: 16px;
            height: 16px;
            color: var(--white);
          }
        }
      }
    }
  }
  &[data-open] {
    pointer-events: auto;
    & > div {
      transform: translateX(0);
    }
  }
  &[data-instant] {
    visibility: hidden;
  }
  &[data-instant] > div {
    transition: none;
  }
}
/* 830px以上：ソリッドをインセット表示にする（=それ未満は画面幅いっぱいに広がる） */
@media (min-width: 830px) {
  .page {
    max-width: 580px;
    padding: 40px 0;
  }
  .content {
    border-radius: 28px;
  }
  .hero {
    margin-left: 0;
    margin-right: 0;
  }
  .form-step form .file-group {
    & label:first-child {
      flex: 1;
    }
    & label:last-child {
      display: none;
    }
  }
}
@media (max-width: 570px) {
  .trust {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    column-gap: 16px;
    row-gap: 8px;
    & dl {
      display: contents;
    }
    & figure {
      grid-column: 1;
      grid-row: 1;
    }
    & figure img {
      width: 100px;
      height: 100px;
      border-radius: 50%;
      object-fit: cover;
    }
    & svg {
      position: absolute;
      top: -5px;
      left: -5px;
      width: 27px;
      height: 27px;
    }
    & dt {
      grid-column: 2;
      grid-row: 1;
      text-align: left;
      font-size: clamp(16px, 5.7143vw - 9.714px, 20px);
      margin-bottom: 0;
    }
    & dt br {
      display: block;
    }
    & dd:first-of-type {
      grid-column: 1 / -1;
      font-size: 15px;
      font-weight: 500;
      line-height: 1.7;
    }
    & dd:last-of-type {
      grid-column: 1 / -1;
    }
  }
}
.content > div > header hgroup p span {
  color: var(--text);
}
/* 1080px以上：既存のLOGOとメニューをそのまま左右フランクへ切り替える */
.content > div > header hgroup[data-desktop] {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: fixed;
  top: 50%;
  left: calc(25vw - 145px);
  transform: translate(-50%, -50%);
  width: max-content;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0s linear 0.35s;
}
.content > div > header hgroup[data-desktop][data-visible] {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.35s ease, visibility 0s linear 0s;
}
.content > div > header hgroup[data-desktop] h1 {
  display: block;
  order: 1;
  text-align: center;
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.05em;
  white-space: nowrap;
  padding-right: 5px;
  & br {
    display: none;
  }
}
.content > div > header hgroup[data-desktop] p {
  order: 2;
  color: var(--white);
  font-weight: 900;
  line-height: 1;
  font-size: clamp(40px, 4vw, 60px);
  letter-spacing: 0.03em;
  opacity: 1;
}
.content > div > header hgroup[data-desktop] p span {
  color: var(--white);
}
.menu-modal[data-desktop] {
  inset: auto;
  top: 50%;
  left: calc(74vw + 145px);
  transform: translate(-50%, -50%);
  width: max-content;
  height: auto;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0s linear 0.35s;
}
.menu-modal[data-desktop][data-visible] {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.35s ease, visibility 0s linear 0s;
}
.menu-modal[data-desktop] > div {
  position: static;
  width: auto;
  height: auto;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 0;
  transform: none;
  transition: none;
}
.menu-modal[data-desktop] ul {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-top: 0;
}
.menu-modal[data-desktop] ul li a {
  padding: 0;
  font-size: 19px;
  font-weight: 900;
}
.menu-modal[data-desktop] > div > div:last-child {
  margin-top: 40px;
  padding-top: 0;
  text-align: left;
}
.menu-modal[data-desktop] > div > div:last-child p {
  font-size: 13px;
}
.menu-modal[data-desktop] > div > div:last-child div {
  justify-content: flex-start;
}
.menu-modal[data-desktop] > div > div:last-child div span,
.menu-modal[data-desktop] > div > div:last-child div a {
  width: 38px;
  height: 38px;
}
.menu-modal[data-desktop] > div > div:last-child div span svg,
.menu-modal[data-desktop] > div > div:last-child div a svg {
  width: 18px;
  height: 18px;
}
body[data-header-hidden] .content > div > header hgroup:not([data-desktop]) p,
body[data-header-hidden] .content > div > header button {
  opacity: 0;
}
@media (min-width: 1080px) {
  .page {
    max-width: 920px;
  }
  .content {
    margin-left: 170px;
    margin-right: 170px;
    box-shadow: var(--shadow-page);
  }
  .content > div > header {
    max-height: 0;
    padding: 0 20px;
    pointer-events: none;
    transition: max-height 0.4s var(--ease) 0.35s, padding 0.4s var(--ease) 0.35s;
  }
  .content > div > header button {
    opacity: 0;
    transition: opacity 0.35s ease;
  }
  .content > div > header hgroup:not([data-desktop]) p {
    opacity: 0;
    transition: opacity 0.35s ease;
  }
}
.simple-header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 25px 25px;
  & p {
    font-size: 32px;
    font-weight: 900;
    letter-spacing: 0.03em;
    color: var(--red);
    & span {
      color: var(--text);
    }
  }
}
.confirm-page {
  margin: 0 20px 20px;
  & h1 {
    font-size: 26px;
    font-weight: 900;
    text-align: center;
    margin-bottom: 24px;
  }
}
.confirm-photos {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
  & img {
    display: block;
    width: 100%;
    border-radius: 16px;
  }
}
.confirm-info {
  background: var(--white);
  border-radius: 20px;
  padding: 8px 20px;
  margin-bottom: 24px;
  & > div {
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    &:last-child {
      border-bottom: none;
    }
  }
  & dt {
    font-size: 13px;
    color: var(--text-sub);
    margin-bottom: 4px;
  }
  & dd {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    word-break: break-all;
    white-space: pre-line;
  }
}
#confirmSubmit {
  display: block;
  width: 100%;
  background: var(--red);
  color: var(--white);
  border: none;
  font-size: 17px;
  font-weight: 900;
  border-radius: 14px;
  padding: 18px;
  cursor: pointer;
  &:disabled {
    opacity: 0.6;
    cursor: default;
  }
}
.confirm-submit-error {
  display: none;
  margin-top: 10px;
  font-size: 13px;
  color: var(--red);
  text-align: center;
}
.confirm-back {
  display: block;
  width: 50%;
  margin: 28px auto 0;
  background: var(--white);
  color: var(--text);
  border: 1px solid var(--border);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  border-radius: 14px;
  padding: 12px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}
body.no-cta-bar {
  padding-bottom: env(safe-area-inset-bottom);
}
.complete-page {
  margin: 0 30px 20px;
  text-align: center;
  padding: 40px 0;
  & h1 {
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 20px;
  }
  & p {
    font-size: 14px;
    color: var(--text-sub);
    line-height: 1.9;
    margin-bottom: 32px;
  }
  & a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--red);
    color: var(--white);
    font-size: 16px;
    font-weight: 900;
    border-radius: 14px;
    padding: 16px 40px;
    text-decoration: none;
  }
}