:root {
  --blue: #0093ff;
  --green: #58e186;
  --yellow: #ffff9d;
  --ink: #005ca7;
  --line: #7ccaf1;
  --surface: rgba(255, 255, 255, 0.9);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body.ev-home {
  margin: 0;
  color: var(--ink);
  font-family: "Noto Sans JP", sans-serif;
  background: linear-gradient(
    165deg,
    var(--blue) 0%,
    var(--green) 20%,
    var(--yellow) 40%,
    var(--green) 70%,
    var(--blue) 100%
  );
}
img {
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
}
.page {
  overflow: hidden;
}
.container {
  position: relative;
  width: min(100% - 24px, 960px);
  margin-inline: auto;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* Mobile first */
.hero {
  position: relative;
  padding: 12px 0 10px;
}
.hero__light {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
}
.hero__inner {
  position: relative;
  z-index: 1;
  text-align: center;
}
.hero__composition {
  position: relative;
  width: 100%;
  aspect-ratio: 2464 / 1661;
}
.hero__composition img {
  position: absolute;
  display: block;
  pointer-events: none;
}
.hero__firework {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: screen;
  filter: brightness(0.05) invert(0.95);
}
.hero__title {
  top: 4.5%;
  left: 13%;
  width: 74%;
}
.hero__batch {
  top: 8%;
  right: 2%;
  width: 18%;
}
.hero__motorcycle {
  bottom: 7%;
  left: -1%;
  width: 21%;
  animation: hero-float 3.8s ease-in-out -1.6s infinite alternate;
}
.hero__car {
  right: -3%;
  bottom: 4%;
  width: 29%;
  animation: hero-float 4.7s ease-in-out -0.5s infinite alternate;
}
@keyframes hero-float {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-10px);
  }
}
@keyframes hero-float-centered {
  from {
    transform: translateY(-50%);
  }
  to {
    transform: translateY(calc(-50% - 10px));
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero__motorcycle,
  .hero__car,
  .subsidy__turtle,
  .benefit .benefit__decoration,
  .links__coral {
    animation: none !important;
  }
}
.hero__button {
  display: inline-block;
  width: 58%;
  margin-top: -36px;
  transition: transform 0.2s;
}
.hero__button:hover {
  transform: translateY(-3px);
}
.subsidy {
  padding: 20px 0 24px;
  position: relative;
}
.subsidy .container,
.benefits .container,
.links .container {
  width: min(100% - 48px, 960px);
}
.subsidy__car-pattern {
  position: absolute;
  top: 25%;
  left: -12px;
  width: 170px;
  z-index: 0;
}
.subsidy__inner {
  position: relative;
  z-index: 1;
  padding: 32px 14px 8px;
  background: var(--surface);
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 99, 149, 0.12);
}
.subsidy__turtle {
  position: absolute;
  top: -57px;
  left: -57px;
  width: 114px;
  z-index: 2;
  animation: hero-float 5.3s ease-in-out -2.8s infinite alternate;
}
.subsidy__image {
  display: block;
  width: 100%;
  margin: -52px auto 0;
}
.subsidy__note {
  margin: 0 0 10px;
  font-size: 0.67rem;
  line-height: 1.5;
}
.subsidy__conditions {
  margin: 14px 0 18px;
  text-align: left;
}
.subsidy__conditions-main {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 8px;
  align-items: start;
  padding: 0;
}
.subsidy__balloon {
  width: 58px;
}
.subsidy__conditions ul {
  margin: 0;
  padding: 0;
  color: #000;
  list-style: none;
  font-size: 0.64rem;
  line-height: 1.55;
}
.subsidy__conditions li {
  position: relative;
  padding-left: 0.9em;
}
.subsidy__conditions li::before {
  position: absolute;
  left: 0;
  content: "●";
}
.subsidy__conditions-detail {
  margin: 10px 0 0;
  font-size: 0.6rem;
  line-height: 1.55;
  text-align: center;
}
.benefits {
  padding: 24px 0;
  position: relative;
}
.benefits__car-pattern {
  position: absolute;
  top: 26%;
  right: -12px;
  width: 170px;
  z-index: 0;
}
.benefits__car-pattern--left {
  top: auto;
  right: auto;
  bottom: 96px;
  left: -34px;
  width: 190px;
}
.benefits__car-pattern--right-bottom {
  top: 70%;
}
.benefits__inner {
  position: relative;
  z-index: 1;
  padding: 50px 22px 35px;
  background: var(--surface);
  border-radius: 14px;
}
.benefits__title {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(66%, 240px);
  transform: translate(-50%, -50%);
  z-index: 2;
}
.benefits__title > img:first-child {
  display: block;
  width: 100%;
}
.benefits__title-turtle {
  position: absolute;
  top: 50%;
  right: -16%;
  width: 26%;
  transform: translateY(-50%);
}
.benefits h2 {
  margin: 0;
  font-size: 1.3rem;
  letter-spacing: 0.04em;
}
.benefits__heading-image {
  display: block;
  width: 100%;
}
.benefits__list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.benefit {
  position: relative;
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 10px;
  padding: 23px 0;
}
.benefit::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 68px;
  height: 1px;
  background: var(--line);
  content: "";
}
.benefit > img {
  width: 54px;
  align-self: start;
}
.benefit--crown-1 > div {
  padding-top: 1em;
}
.benefit h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  line-height: 1.35;
}
.benefit p {
  margin: 0;
  font-size: 0.77rem;
  font-weight: 500;
  line-height: 1.8;
  text-align: justify;
  text-justify: inter-character;
}
.benefit__note {
  margin-top: 8px !important;
  font-size: 0.6rem !important;
  line-height: 1.5 !important;
}
.benefits__source {
  margin: 22px 0 0;
  font-size: 0.62rem;
  line-height: 1.5;
  word-break: break-all;
}
.benefit a {
  display: inline-block;
  margin-top: 10px;
  padding: 0.55em 1.3em;
  color: #fff;
  font-size: 0.78rem;
  font-weight: bold;
  text-decoration: none;
  background: #009fe8;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 159, 232, 0.38);
}
.benefit__number {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 800;
  background: #08a4e4;
  border-radius: 50%;
}
.benefit .benefit__decoration {
  position: absolute;
  z-index: 2;
  pointer-events: none;
}
.benefit .benefit__decoration--earth {
  top: 50%;
  right: -66px;
  width: 70px;
  transform: translateY(-50%);
  animation: hero-float-centered 4.2s ease-in-out -0.9s infinite alternate;
}
.benefit .benefit__decoration--station {
  top: 70%;
  left: -58px;
  width: 70px;
  transform: translateY(-50%);
  animation: hero-float-centered 5.1s ease-in-out -3.1s infinite alternate;
}
.benefit .benefit__decoration--calculator {
  right: -54px;
  bottom: -38px;
  width: 64px;
  animation: hero-float 3.7s ease-in-out -2.2s infinite alternate;
}
.benefit .benefit__decoration--radio {
  bottom: -20px;
  left: -54px;
  width: 72px;
  animation: hero-float 4.8s ease-in-out -1.3s infinite alternate;
}
.benefits__memo {
  position: relative;
  width: 100%;
  aspect-ratio: 616 / 319;
  margin: 42px auto 0;
}
.benefits__memo-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.benefits__ecol {
  position: absolute;
  top: 50%;
  left: -14%;
  width: 43%;
  z-index: 1;
  transform: translateY(-50%);
}
.benefits__memo p {
  position: absolute;
  top: 50%;
  right: 20%;
  left: 20%;
  z-index: 1;
  margin: 0;
  color: var(--ink);
  font-size: clamp(0.74rem, 3vw, 0.9rem);
  font-weight: 600;
  line-height: 1.9;
  text-align: center;
  transform: translateY(-50%);
}
@media (max-width: 767px) {
  .benefits__ecol {
    left: -20%;
  }
  .benefits__memo p {
    font-size: 11px;
    font-weight: 500;
  }
  .link-card__label {
    text-align: center;
  }
  .footer__main {
    align-items: center;
    gap: 20px;
    padding: 32px 24px 28px;
  }
  .footer__campaign {
    width: 205px;
  }
  .footer address {
    width: 100%;
    padding-top: 14px;
    font-size: 0.76rem;
    line-height: 1.8;
    text-align: center;
  }
  .footer address strong {
    display: block;
    margin-bottom: 0;
    color: #000;
    font-size: 1.05rem;
  }
  .footer address b {
    font-size: 1.2rem;
  }
  .footer address small {
    display: block;
    margin-top: 6px;
    color: #000;
    font-size: 0.7rem;
  }
}
.links {
  position: relative;
  padding: 24px 0 58px;
}
.links__car-pattern {
  position: absolute;
  width: 170px;
  z-index: 0;
}
.links__car-pattern--right {
  top: 66%;
  right: -12px;
}
.links__inner {
  position: relative;
  z-index: 1;
  padding: 54px 16px 28px;
  background: var(--surface);
  border-radius: 14px;
}
.links__title-wrap {
  position: absolute;
  top: 0;
  left: 50%;
  width: 190px;
  transform: translate(-50%, -50%);
  z-index: 2;
}
.links__title {
  display: block;
  width: 100%;
}
.links__title-turtle {
  position: absolute;
  top: 50%;
  right: -17%;
  width: 30%;
  transform: translateY(-50%);
}
.links__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.link-card {
  display: grid;
  grid-template-columns: 105px 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 10px;
  padding: 0;
  text-align: left;
  text-decoration: none;
  background: transparent;
  border-radius: 0;
}
.link-card__button {
  text-decoration: none;
}
.link-card > img {
  grid-row: span 2;
  width: 105px;
  height: 88px;
  margin: auto;
  padding: 12px;
  background: #fff;
  border-radius: 8px;
  object-fit: contain;
}
.link-card span {
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.45;
}
.link-card__label--emphasis small,
.link-card__label--emphasis strong {
  display: block;
}
.link-card__label--emphasis small {
  font-size: 0.78em;
  font-weight: 600;
}
.link-card__label--emphasis strong,
.link-card__label--passport strong {
  font-size: 1.35em;
  font-weight: 600;
}
.link-card b {
  --link-button-angle: 90deg;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.8em 0.5em;
  border: 2px solid transparent;
  border-radius: 26px;
  background:
    linear-gradient(#fff, #fff) padding-box,
    conic-gradient(from var(--link-button-angle), #70ff37, #008cff, #70ff37) border-box;
  font-size: 0.72rem;
  line-height: 1;
  text-align: center;
  transition: transform 0.2s;
}
@property --link-button-angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 90deg;
}
@keyframes link-button-border-spin {
  to {
    --link-button-angle: 450deg;
  }
}
.link-card__button:hover b {
  animation: link-button-border-spin 0.8s linear;
  transform: translateY(-2px);
}
@media (prefers-reduced-motion: reduce) {
  .link-card__button:hover b {
    animation: none;
  }
}
.link-card b img {
  position: absolute;
  top: 50%;
  right: 0.8em;
  width: 0.46em;
  height: auto;
  transform: translateY(-50%);
}
.links__coral {
  position: absolute;
  z-index: 0;
  right: -40px;
  bottom: -38px;
  width: 85px;
  animation: hero-float 5.5s ease-in-out -4s infinite alternate;
}
.links__cactus {
  position: absolute;
  z-index: 0;
  bottom: -38px;
  left: -40px;
  width: 85px;
}
.fixed-application-button {
  position: fixed;
  right: auto;
  bottom: 16px;
  left: 50%;
  z-index: 10;
  display: grid;
  width: min(100% - 40px, 340px);
  height: 58px;
  place-items: center;
  padding: 0 32px 0 78px;
  border: 3px solid transparent;
  border-radius: 999px;
  background:
    linear-gradient(#ffff00, #ffff00) padding-box,
    conic-gradient(from 90deg, #70ff37, #008cff, #70ff37) border-box;
  box-shadow: 0 5px 14px rgba(0, 94, 173, 0.22);
  transform: translateX(-50%);
  transition: transform 0.2s, box-shadow 0.2s;
}
.fixed-application-button:hover {
  transform: translate(-50%, -3px);
  box-shadow: 0 8px 18px rgba(0, 94, 173, 0.3);
}
.fixed-application-button__label {
  display: none;
}
.fixed-application-button__turtle {
  position: absolute;
  top: 50%;
  left: 0;
  z-index: 1;
  width: 64px;
  height: auto;
  transform: translateY(-50%);
}
.fixed-application-button__label-sp {
  width: 100%;
  height: auto;
}
.footer {
  color: #111;
  background: #fff;
}
.footer__main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 30px 20px;
  text-align: center;
}
.footer__campaign {
  width: 190px;
  margin-inline: auto;
}
.footer address {
  color: #000;
  font-size: 0.75rem;
  font-style: normal;
  line-height: 1.65;
}
.footer address strong,
.footer address small {
  color: #000;
}
.footer__contact {
  margin-bottom: 8px;
}
.footer__contact strong,
.footer__phone {
  font-weight: 500;
}
.footer__hours-separator {
  display: none;
}
.footer__contact span {
  display: block;
}
.footer address b {
  font-size: 1.1rem;
}
.footer__prefecture {
  padding: 12px 12px 96px;
  text-align: center;
  background: #e4e4e4;
}
.footer__prefecture img {
  width: 150px;
}

/* Tablet and desktop */
@media (min-width: 768px) {
  .container {
    width: min(100% - 32px, 960px);
  }
  .hero {
    min-height: 760px;
    padding: 72px 0 36px;
    display: grid;
    align-items: center;
  }
  .hero__image {
    width: min(100%, 920px);
  }
  .hero__button {
    width: min(78%, 420px);
    margin-top: -35px;
  }
  .subsidy {
    padding-bottom: 88px;
  }
  .subsidy__inner {
    width: min(100%, 780px);
    margin-inline: auto;
    padding: 40px 38px 28px;
  }
  .subsidy__car-pattern,
  .benefits__car-pattern,
  .links__car-pattern {
    width: min(50vw, 400px);
  }
  .subsidy__car-pattern,
  .benefits__car-pattern--left {
    left: max(-42px, calc(50% - 426px));
  }
  .subsidy__car-pattern {
    top: 40%;
    left: max(-180px, calc(50% - 690px));
  }
  .benefits__car-pattern,
  .links__car-pattern--right {
    right: max(-180px, calc(50% - 690px));
  }
  .links__car-pattern--right {
    top: 45%;
  }
  .benefits__car-pattern--left {
    left: max(-180px, calc(50% - 690px));
    right: auto;
    bottom: 120px;
  }
  .subsidy__turtle {
    top: -140px;
    left: -135px;
    width: 300px;
  }
  .subsidy__image {
    margin-top: -78px;
  }
  .subsidy__note {
    margin-bottom: 16px;
    font-size: 0.84rem;
    text-align: center;
  }
  .subsidy__conditions {
    width: 100%;
    margin: 22px auto 26px;
  }
  .subsidy__conditions-main {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 8px;
    align-items: center;
    width: max-content;
    max-width: 100%;
    margin-inline: auto;
  }
  .subsidy__balloon {
    width: 82px;
  }
  .subsidy__conditions ul {
    font-size: 0.84rem;
    line-height: 1.65;
    white-space: nowrap;
  }
  .subsidy__conditions li::before {
    top: 0.35em;
    font-size: 0.62em;
  }
  .subsidy__conditions-detail {
    margin-top: 16px;
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.65;
  }
  .benefits {
    padding: 42px 0 90px;
  }
  .benefits__inner {
    width: min(100%, 780px);
    margin-inline: auto;
    padding: 30px 150px 60px;
  }
  .benefits__heading {
    padding: 34px 0 20px;
  }
  .benefits__heading p {
    margin: -66px 0 26px;
    padding: 14px 52px;
    font-size: 1.2rem;
  }
  .benefits h2 {
    margin: 40px 0 50px;
    font-size: clamp(1.45rem, 3vw, 2rem);
    letter-spacing: 0.08em;
  }
  .benefit {
    grid-template-columns: 88px 1fr;
    gap: 20px;
    padding: 27px 0;
  }
  .benefit > img {
    width: 76px;
  }
  .benefit h3 {
    font-size: 32px;
    font-weight: 500;
  }
  .benefit a {
    margin-top: 15px;
    border-radius: 9px;
    font-size: 1.17rem;
  }
  .benefit p {
    font-size: 18px;
  }
  .benefit__number {
    width: 54px;
    height: 54px;
    margin-left: 12px;
    font-size: 1.5rem;
  }
  .benefit .benefit__decoration--earth {
    top: auto;
    right: -220px;
    bottom: -70px;
    width: 140px;
  }
  .benefit .benefit__decoration--station {
    top: auto;
    left: -220px;
    bottom: -70px;
    width: 140px;
  }
  .benefit .benefit__decoration--calculator {
    right: -214px;
    bottom: -64px;
    width: 128px;
  }
  .benefit .benefit__decoration--radio {
    bottom: -64px;
    left: -222px;
    width: 144px;
  }
  .benefits__source {
    margin-right: -120px;
    margin-left: -120px;
    font-size: 18px;
    text-align: center;
  }
  .benefits__memo {
    width: min(100%, 540px);
    margin-top: 56px;
    transform: translateX(11.5%);
  }
  .benefits__memo-background {
    width: 100%;
    height: 100%;
  }
  .benefits__ecol {
    top: 50%;
    left: -23%;
    width: 46%;
    transform: translateY(-50%);
  }
  .benefits__memo p {
    right: 12%;
    left: 18%;
    font-size: 22px;
    font-weight: 500;
    line-height: 2.1;
  }
  .links {
    padding: 38px 0 110px;
  }
  .links__inner {
    width: min(100%, 780px);
    margin-inline: auto;
    padding: 66px 64px 46px;
  }
  .links__title-wrap {
    width: 220px;
  }
  .links__title {
    width: 100%;
    margin: 0;
  }
  .links__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
  }
  .link-card {
    grid-template-columns: none;
    grid-template-rows: 182px auto auto;
    gap: 18px;
    padding: 0;
    text-align: center;
    background: transparent;
    border-radius: 0;
  }
  .link-card > img {
    grid-row: auto;
    width: 100%;
    height: 182px;
    padding: 24px;
    background: #fff;
    border-radius: 8px;
  }
  .link-card span {
    min-height: 3em;
    font-size: 0.82rem;
    font-weight: 500;
  }
  .link-card__label--emphasis small,
  .link-card__label--emphasis strong,
  .link-card__label--passport strong {
    font-weight: 500;
  }
  .link-card .link-card__label--emphasis small {
    font-size: 16px;
  }
  .link-card .link-card__label--emphasis strong {
    font-size: 24px;
  }
  .link-card .link-card__label--passport {
    font-size: 16px;
  }
  .link-card .link-card__label--passport strong {
    font-size: 24px;
  }
  .link-card b {
    height: 52px;
    padding: 0 0.5em;
    font-size: 19px;
    font-weight: 500;
  }
  .links__coral {
    right: -66px;
    bottom: -38px;
    width: 130px;
  }
  .links__cactus {
    width: 130px;
  }
  .fixed-application-button {
    right: 28px;
    bottom: 28px;
    left: auto;
    width: 160px;
    height: auto;
    aspect-ratio: 1;
    padding: 30px;
    border-width: 3px;
    border-radius: 50%;
    transform: none;
  }
  .fixed-application-button:hover {
    transform: translateY(-3px);
  }
  .fixed-application-button__label {
    display: block;
    width: 100%;
    height: auto;
  }
  .fixed-application-button__turtle {
    top: -12px;
    left: -22px;
    width: 68px;
    transform: none;
  }
  .fixed-application-button__label-sp {
    display: none;
  }
  .footer__main {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 36px 25px;
    text-align: left;
  }
  .footer__campaign {
    width: auto;
    height: 196px;
    margin-inline: 0;
  }
  .footer address {
    font-size: 0.82rem;
    text-align: left;
  }
  .footer__contact {
    margin-bottom: 2px;
  }
  .footer__contact-label {
    font-size: 19px;
  }
  .footer__contact-office {
    font-size: 24px;
  }
  .footer__contact-address {
    font-size: 16px;
  }
  .footer__phone {
    display: inline-flex;
    align-items: baseline;
    gap: 0.35em;
    line-height: 1.2;
  }
  .footer__phone-label {
    font-size: 30px;
  }
  .footer__phone-number {
    font-size: 36px;
  }
  .footer__hours {
    display: block;
    font-size: 14px;
    line-height: 1.65;
  }
  .footer__hours br {
    display: none;
  }
  .footer__hours-separator {
    display: inline;
  }
  .footer__prefecture img {
    width: auto;
    height: 65px;
  }
  .footer__prefecture {
    padding: 12px;
  }
}
