@media (max-width: 1032px){
  body {
    margin-bottom: 80px;
  }

  .site-header {
    box-sizing: border-box;
    height: 62px;
    padding: 8px 12px;
  }

  .header-inner {
    height: 100%;
    padding: 0;
  }

  .logo-main img {
    height: 38px;
  }

  .logo-sub img {
    height: 25px;
  }

  #top.hero {
    box-sizing: border-box;
    min-height: 350px;
    padding: 14px 10px 40px;
    position: relative;
    z-index: 20;
    overflow: visible;

    background-image:
      linear-gradient(
        rgba(215, 0, 15, 0.4),
        rgba(125, 0, 8, 0.56)
      ),
      url("../img/img-left.png"),
      url("../img/img-right.png"),
      linear-gradient(
        135deg,
        #850008 0%,
        #d7000f 48%,
        #8d0008 100%
      );

    background-position:
      center,
      -115px center,
      calc(100% + 115px) center,
      center;

    background-size:
      cover,
      auto 108%,
      auto 108%,
      cover;
  }

  #top.hero::before {
    left: 16%;
    width: 68%;
    opacity: 0.75;
  }

  #top .hero-content {
    position: static;
    gap: 6px;
  }

  .hero h1 {
    margin: 0 0 4px;
    font-size: 15px;
    line-height: 1.15;
  }

  .hero h1 .catch-copy {
    margin-top: 2px;
    padding: 0 16px;
    font-size: 25px;
    line-height: 1.05;
  }

  .hero h1 strong{
    font-size: 124%;
  }

  .catch-copy::before {
    left: -8px;
    width: 24px;
    height: 2px;
  }

  .catch-copy::after {
    right: -8px;
    width: 24px;
    height: 2px;
  }

  .benefit-ribbon {
    width: 78%;
    max-width: 520px;
    height: 58px;
    padding: 0 14px;
  }

  .benefit-ribbon p {
    width: 100%;
    margin: 0;
    line-height: 1;
  }

  .benefit-ribbon .ribbon-label {
    padding: 0.3em 0.25em 0.4em 0.35em;
    font-size: 12px;
  }

  .ribbon-1 p {
    grid-template-columns: auto auto auto;
    justify-content: center;
    column-gap: 4px;
    font-size: 13px;
    transform: translateX(-3px);
  }

  .ribbon-1 .ribbon-big {
    font-size: 38px;
    line-height: 0.9;
    letter-spacing: -2px;
  }

  .ribbon-1 .ribbon-present {
    font-size: 12px;
    line-height: 1.05;
  }

  .ribbon-2 p {
    gap: 0.1em;
    font-size: 14px;
    transform: translateX(-3px);
  }

  .ribbon-2 .ribbon-label {
    margin-right: 0.1em;
  }

  .ribbon-2 .ribbon-big {
    font-size: 40px;
    line-height: 0.9;
  }

  .ribbon-3 {
    height: 64px;
  }

  .ribbon-3 p {
    font-size: 16px;
    line-height: 1.05;
    letter-spacing: -0.04em;
    transform: translateX(-3px);
  }

  .ribbon-3 .ribbon-label {
    margin-right: 0.25em;
    margin-bottom: 0.1em;
  }

  .floating-banner {
    --floating-banner-edge-gap: 12px;
    position: fixed;
    top: auto;
    right: max(12px, env(safe-area-inset-right));
    bottom: var(--floating-banner-edge-gap);
    z-index: 2147483647;
    transform: none;
  }

  .floating-banner img {
    width: 125px;
  }

  #menu.nav-container {
    display: none;
  }

  #newuser {
    position: relative;
    z-index: 10;
    padding-top:40px;
    padding-bottom:60px;
  }

  #newuser .card-white{
    margin:0 50px;
    padding: 40px 30px;
  }

  #newuser .section-title {
    width: 80%;
    padding: 12px 15px;

    font-size: 1.25rem;
    line-height: 1.3;

    border-radius: 8px;

    margin-top: 10px;
    margin-bottom: 0;
    top: -20px;
  }

  #newuser .section-title::before,
  #newuser .section-title::after {
    top: 7px;
    bottom: 7px;
    width: 7%;
  }

  #newuser .section-title::before {
    left: -7%;
  }

  #newuser .section-title::after {
    right: -7%;
  }

  .campaign-box{
    display: none;
  }

  .campaign-box_sp {
      display: block;
  }

  .campaign-box_sp img {
    width: 65%;
  }

  .link-modal {
    display: block;
    width: 100%;
  }

  .link-modal p {
    padding: 10px 50px 10px 30px;
    font-size: 0.9rem;
  }

  .cta-primary a {
    width: 100%;
    font-size: 100%;
    padding: 18px 10px;
  }

  .cta-primary a span::after{
    right: 0;
  }

  .modal-overlay {
    padding: 20px;
  }

  .modal-dialog {
    width: 100%;
  }

  .modal-content {
    padding: 45px 20px 25px;
  }

  .modal-close {
    top: 8px;
    right: 8px;
    width: 36px;
    height: 36px;
    font-size: 1.6rem;
  }

  .modal-content h2 {
    font-size: 1.2rem;
  }

  #reason.container {
    padding-top: 40px;
}

  #reason h2{
    font-size: 165%;
  }

  #reason h2 span {
    display: block;
  }

  .reason-grid {
    grid-template-columns: 1fr;
  }

  .reason-item {
    margin-top: 35px;
    padding: 45px 18px 25px;
  }

  .reason-item .number {
    padding-left: 15px;
    font-size: 143%;
  }

  .reason-item .number span {
    top: -28px;
    left: -15px;

    width: 78px;
    height: 78px;

    font-size: 2rem;
    box-shadow: 0 0 0 4px #fff;
  }

  .item-01 .reason-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .item-01 .desc,
  .item-02 .desc,
  .item-03 .desc,
  .item-04 .desc,
  .item-05 .desc{
    font-size: 108%;
  }

  .item-02 .desc span{
    display: block;
    font-size: 90%;
    margin-top: 10px;
  }

  .item-02 .pay-list{
    display: none;
  }

  .item-02 .pay-list_sp{
    display: block;
    margin: auto;
    text-align: center;
    padding: 10px 0;
  }

  .item-02 .pay-list_sp img{
    width: 70%;
  }

  .item-02 .point-catch {
    font-size: 130%;
    text-align: center;
  }

  .item-02 .point-details {
    grid-template-columns: 1fr;
  }

  .item-02 .point-item {
    padding: 15px;
  }

  .item-02 .point-head span{
    font-size:125%;
  }

  .item-02 .point-text{
    font-size: 100%;
  }

  .item-02 .note{
    font-size: 85%;
    text-align: left;
  }

  .reason-grid .item-04 > img{
    margin-top:20px;
  }

  #vote {
    background-color: #de353c;
  }

  #vote .vote-wrap{
    padding:10px 15px;
  }

  #vote.step-section {
    padding: 30px 20px 40px;
  }

  #vote .section-title {
    font-size: 2rem;
  }

  #vote .step-sub p {
    font-size: 1.6rem;
  }

  #vote .step-sub p::before,
  #vote .step-sub p::after {
    margin-right: 0.2em;
    margin-left: 0.2em;
  }

  #vote .step-flex {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  #vote .step-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 25%;
    align-items: center;
    column-gap: 5px;
    min-height: 135px;
    padding: 40px 10px 20px 15px;
  }

  #vote .step-card:nth-child(1) .step-icon {
    max-width: 75px;
  }

  #vote .step-card:nth-child(2) .step-icon{
    max-width: 75px;
    }

  #vote .step-card:nth-child(3) .step-icon{
    max-width: 60px;
  }

  #vote .step-card:nth-child(4) .step-icon {
    max-width: 70px;
  }

  #vote .step-num {
    width: 55px;
    height: 55px;
    font-size: 80%;
  }

  #vote .step-card > p {
    min-width: 0;
    margin: 0;

    font-size: 144%;
    line-height: 1.2;
    text-align: center;
  }

  #vote .step-card .step-icon {
    display: block;
    justify-self: center;

    width: 100%;
    height: auto;
    max-height: 130px;
    margin: 0;

    object-fit: contain;
  }

  /* SPでは下向きの赤い矢印 */
  #vote .step-card:not(:last-child)::before {
    top: auto;
    right: auto;
    bottom: -32px;
    left: 50%;

    border-top: 32px solid #df191b;
    border-right: 32px solid transparent;
    border-bottom: 0;
    border-left: 32px solid transparent;

    transform: translateX(-50%);
  }

  /* 下向き矢印の白い内側 */
  #vote .step-card:not(:last-child)::after {
    top: auto;
    right: auto;
    bottom: -25px;
    left: 50%;

    border-top: 28px solid #fff;
    border-right: 28px solid transparent;
    border-bottom: 0;
    border-left: 28px solid transparent;

    transform: translateX(-50%);
  }

  #vote .highlight{
    font-size:0.8em;
  }

  #about .about-title {
    margin-bottom: 35px;
  }

  #about .about-title img {
    max-width: 260px;
  }

  #about .about-text{
    font-size: 100%;
    letter-spacing: -0.8px;
  }

  #about.about-section{
    min-height: 0;
    padding: 50px 20px;
  }

  #about .legal-notes a{
    overflow-wrap: anywhere;
    word-break: break-word;
  }

 /* --- フッター --- */
.site-footer {
  padding: 40px 17px 100px;
}

.footer-main {
  width: 100%;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 35px;
}

.footer-top {
  display: flex;
  width: 100%;
  min-width: 0;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-around;
  gap: 24px;
}

.footer-top p {
  min-width: 0;
}

/* チャリロトロゴ側 */
.footer-top p:first-child {
  flex: 0 1 205px;
}

/* MIXIロゴ側 */
.footer-top p:last-child {
  flex: 0 1 90px;
}

.footer-top a {
  display: block;
  width: 100%;
}

.footer-top img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.footer-links {
  width: 155px;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.footer-links p {
  width: 100%;
}

.footer-links a {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 36px;
  padding: 6px 0;
  gap: 15px;

  font-size: 90%;
  font-weight: 700;
}

  .copyright {
    margin-top: 38px;
    font-size: 0.75rem;
    line-height: 1.6;
    text-align: left;
  }

  #register {
    height: 80px;
    padding: 8px 12px;
  }

  #register .register-button {
    width: 100%;
    max-width: none;
    min-width: 0;
    height: 60px;
    padding: 12px 16px;

    font-size: 1rem;
    border-radius: 6px;
  }

  #register .register-button span {
    max-width: 100%;
    padding-right: 25px;
    white-space: normal;
  }

  #register .register-button span::after {
    width: 7px;
    height: 7px;
    border-width: 0 3px 3px 0;
  }
}

@media (max-width: 440px) {
  .benefit-ribbon {
    width: 82%;
  }

  .floating-banner {
    right: max(12px, env(safe-area-inset-right));
    bottom: 12px;
  }

  .floating-banner img {
    width: 95px;
  }

  #newuser .card-white {
    margin: 0 12px;
  }

  #newuser .section-title {
    width: 100%;
  }

  .campaign-box_sp img {
    width: 100%;
  }

  
}
