/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s;

  &:hover {
    opacity: 0.7;
  }

  &.text-link {
    &:link,
    &:visited {
      color: #58b52f;
      text-decoration: underline;
    }
  }
}

ul,
ol,
dl {
  list-style: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

ruby {
  rt {
    font-size: 0.4em;
    font-weight: 400;
  }
}

:root {
  --base-text-color: #3d3f3c;
  --base-bg-color: #ffffff;
  --menu-accent: #f38202;
  --menu-bg: #ffffff;
  --section-side-padding: clamp(20px, 7.7vw, 30px);
}

/* Base */
html {
  overflow-x: hidden;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: clamp(14px, calc(14 / 390 * 100vw), 25px);
  line-height: 2;
  color: var(--base-text-color);
  background: var(--base-bg-color);
  overflow-x: hidden;

  @media (min-width: 769px) {
    font-size: clamp(18px, calc(20 / 1920 * 100vw), 20px);
  }
}

.sp-only {
  display: block;
  @media (min-width: 769px) {
    display: none;
  }
}

.pc-only {
  display: none;
  @media (min-width: 769px) {
    display: block;
  }
}

.no-wrap {
  white-space: nowrap !important;
}

.no-letter-spacing {
  letter-spacing: 0 !important;
}

/* Section: Hero */
.hero {
  position: relative;
  img {
    width: 100%;
  }
  .hero-button {
    display: none;
    @media (min-width: 769px) {
      margin: 0;
      display: block;
      width: calc(257 / 1920 * 100vw);
      position: absolute;
      bottom: min(40px, calc(40 / 1920 * 100vw));
      left: calc(50% - calc(904 / 1920 * 100vw));
    }
  }

  /* スマホ時はカバー非表示 */
  .cover {
    display: none;
    @media (min-width: 769px) {
      display: block;
    }

    opacity: 1;
    -webkit-animation: cover-fade-out 1s ease 2s forwards;
    animation: cover-fade-out 1s ease 2s forwards;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    background-image: url("../img/loading-image.png");
    background-repeat: no-repeat;
    background-position: center 45%;
    background-size: calc(784 / 1920 * 100vw);
  }
}

@-webkit-keyframes cover-fade-out {
  to {
    opacity: 0;
    pointer-events: none;
  }
}

@keyframes cover-fade-out {
  to {
    opacity: 0;
    pointer-events: none;
  }
}

.movie-contents {
  margin-top: min(134px, calc(50 / 390 * 100vw));

  .movie-contents-title {
    margin-bottom: min(60px, calc(20 / 390 * 100vw));
    font-size: clamp(14px, calc(16 / 390 * 100vw), 40px);
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0.05em;
    text-align: center;
  }
}

.main {
  padding-inline: var(--section-side-padding);
}

.inner {
  max-width: 800px;
  margin-inline: auto;
}

/* Section: Intro */
.intro {
  margin-inline: calc(var(--section-side-padding) * -1);
  padding: min(80px, calc(36 / 390 * 100vw)) var(--section-side-padding) min(139px, calc(45 / 390 * 100vw));
  background-color: #fffee1;
}

.intro-text {
  @media (min-width: 769px) {
    display: flex;
    flex-direction: column;
    gap: 2em;
    p {
      line-height: calc(55 / 25);
      text-align: center;
    }
  }
}

.cacheless-button {
  display: block;
  width: min(169px, 100%);
  margin: 0 auto 15px;
  @media (min-width: 769px) {
    display: none;
  }
}

.anchor-nav {
  display: none;

  @media (min-width: 769px) {
    display: block;
    gap: 20px;
    margin-top: min(190px, calc(190 / 1920 * 100vw));
    max-width: 1134px;
    margin-inline: auto;

    .anchor-nav-heading {
      margin-bottom: min(55px, calc(55 / 1920 * 100vw));
      font-size: clamp(20px, calc(36 / 1920 * 100vw), 36px);
      line-height: 1.5;
      font-weight: 700;
      letter-spacing: 0.07em;
      text-align: center;
    }

    .anchor-nav-list {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: min(52px, calc(52 / 1920 * 100vw));
    }
  }
}

/* Section: Anchor Placeholders */
.anchor-placeholder {
  height: 2px;
}

/* Section: Fare Review */
.fare-review {
  padding: min(130px, calc(46 / 390 * 100vw)) 0 min(140px, calc(24 / 390 * 100vw));
  @media (min-width: 769px) {
    padding-bottom: min(144px, calc(144 / 1920 * 100vw));
  }
}

.fare-review-inner {
}

.fare-review-contentainer {
  @media (min-width: 769px) {
    display: flex;
    gap: min(36px, calc(36 / 1920 * 100vw));
  }
}

.fare-review-mv,
.fare-review-content {
  width: 100%;
}

.fare-review-content {
  margin-top: min(24px, calc(24 / 390 * 100vw));
  @media (min-width: 769px) {
    margin-top: 0;
  }
}

.section-mv-heading {
  margin: 0 calc(var(--section-side-padding) * -1) min(95px, calc(30 / 390 * 100vw));
  max-width: 800px;

  @media (min-width: 769px) {
    margin-inline: auto;
  }
}

/* Section: Cashless */
.cashless {
  position: relative;
  padding: min(140px, calc(34 / 390 * 100vw)) 0 0;
}

.cashless::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: url("../img/kei-dot.png") center top / auto 1px repeat-x;
  @media (min-width: 769px) {
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 2px;
    background-size: auto 2px;
  }
}

.cashless-mv {
  width: 100%;
}

.cashless-mv-heading {
  position: relative;
  margin-bottom: min(85px, calc(20 / 390 * 100vw));
}

.cashless-style-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 25px;
  padding-left: min(50px, calc(20 / 390 * 100vw));
  padding-right: min(50px, calc(20 / 390 * 100vw));

  @media (min-width: 769px) {
    display: none;
  }
}

.cashless-style-links-dt {
  display: none;

  @media (min-width: 769px) {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: min(48px, calc(48 / 1920 * 100vw));
    width: min(705px, calc(705 / 800 * 100%));
    position: absolute;
    left: 52.5%;
    transform: translateX(-50%);
    top: min(427px, calc(427 / 920 * 100%));

    li {
      aspect-ratio: 203 / 89;
      width: 100%;
      -o-object-position: center;
      object-position: center;
      a {
        display: block;
        width: 100%;
        height: 100%;
        -o-object-fit: cover;
        object-fit: cover;
      }
    }
  }
}

.cashless-style-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding-top: 8px;
  padding-bottom: 6px;
  min-height: 50px;
  border-radius: 10px;
  color: #ffffff;
  font-size: 15px;
  letter-spacing: 0.05em;
  line-height: 1.35;
  font-weight: 700;
}

.cashless-style-link::after {
  content: "";
  background-image: url("../img/icon-arrow-anchor2.svg");
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-position: center;
  width: 15px;
  height: 9.5px;
}

.cashless-style-link.is-ic {
  background: #ed9700;
}

.cashless-style-link.is-qr {
  background: #58b92e;
}

.cashless-style-link.is-touch {
  background: #2f99cc;
}

.cashless-text {
  margin-bottom: min(100px, calc(50 / 390 * 100vw));

  @media (min-width: 769px) {
    display: flex;
    flex-direction: column;
    gap: 2em;
    p {
      line-height: calc(55 / 25);
      text-align: center;
      letter-spacing: 0.1em;
    }
  }
}

.cashless-check {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cashless-check-title {
  width: min(800px, calc(330 / 390 * 100vw));
}

.cashless-check-arrow {
  width: min(40px, calc(20 / 390 * 100vw));
  margin: min(36px, calc(10 / 390 * 100vw)) auto 0;

  @media (min-width: 769px) {
  }
}

.cashless-method {
  margin-top: clamp(20px, 5.2vw, 28px);
  margin-inline: calc(var(--section-side-padding) * -1);
  padding-bottom: clamp(20px, 5.2vw, 30px);
}

.cashless-method .inner {
  @media (min-width: 769px) {
    max-width: 880px;
  }
}

.cashless-method-ic {
  margin-top: 9px;
  padding-top: min(100px, calc(20 / 390 * 100vw));
  background: #fce1cb;

  @media (min-width: 769px) {
    margin-top: min(50px, calc(50 / 1920 * 100vw));
  }
}

.cashless-method-qr {
  margin-top: 0;
  padding-top: min(120px, calc(30 / 390 * 100vw));
  background: #deedd2;
}

.cashless-method-touch {
  margin-top: 0;
  padding-top: min(107px, calc(24 / 390 * 100vw));
  background: #d9eef8;
}

.cashless-method-title {
  margin: 0 auto;
  margin-bottom: min(110px, calc(25 / 390 * 100vw));
  padding-inline: var(--section-side-padding);
}

.cashless-method-title-ic {
  max-width: 1000px;
}
.cashless-method-title-qr {
  max-width: 1000px;
}
.cashless-method-title-touch {
  max-width: 1000px;
}

.cashless-method-title img {
  width: 100%;
}

.cashless-method-cards {
  margin-top: clamp(10px, 2.8vw, 16px);
  padding-inline: var(--section-side-padding);
  display: flex;
  flex-direction: column;
  gap: min(160px, calc(30 / 390 * 100vw));
}

.cashless-card {
  background: #fff;
  border-radius: min(30px, calc(20 / 390 * 100vw));
  padding: min(34px, calc(10 / 390 * 100vw)) min(32px, calc(10 / 390 * 100vw)) min(80px, calc(28 / 390 * 100vw));
}

.cashless-card-label {
  margin: 0 0 min(65px, calc(18 / 390 * 100vw));
  border-radius: 999px;
  padding: calc(6 / 18 * 1em) 0.2em calc(8 / 18 * 1em);
  text-align: center;
  color: #fff;
  font-size: clamp(14px, calc(18 / 390 * 100vw), 40px);
  line-height: 1.3;
  letter-spacing: 0.05em;

  @media (min-width: 769px) {
    /* margin-bottom: min(95px, calc(95 / 1920 * 100vw)); */
    border-radius: min(25px, calc(25 / 1920 * 100vw));
  }
}

.cashless-card-label.is-ic {
  background: #ed9700;
}

.cashless-card-label.is-qr {
  background: #58b92e;
}

.cashless-card-label.is-touch {
  background: #2f99cc;
}

.card-inner {
  padding: 0 min(25px, calc(10 / 390 * 100vw));
}

.cashless-card img {
  margin-inline: auto;
  margin-bottom: min(65px, calc(15 / 390 * 100vw));
  width: 100%;

  &.cashless-card-image {
    &.is-ic-1,
    &.is-ic-2 {
      width: min(420px, calc(217 / 390 * 100vw));
    }
    &.is-qr-1 {
      width: min(320px, calc(132 / 390 * 100vw));
    }
    &.is-qr-2 {
      width: min(320px, calc(111 / 390 * 100vw));
    }
    &.is-touch-1 {
      width: min(420px, calc(204 / 390 * 100vw));
    }
  }
}

.cashless-points {
  padding-left: min(20px, calc(10 / 390 * 100vw));
  display: flex;
  flex-direction: column;
  gap: min(30px, calc(8 / 390 * 100vw));
}

.cashless-points .points-title {
  position: relative;
  padding-left: min(40px, calc(20 / 390 * 100vw));
  font-size: clamp(14px, calc(14 / 390 * 100vw), 26px);
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: 0.1em;
  cursor: pointer;
}

.cashless-points .points-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4em;
  aspect-ratio: 13 / 11;
  width: min(26px, calc(13 / 390 * 100vw));
  background-color: #f39800;
  -webkit-mask-image: url("../img/icon-sankaku.svg");
  mask-image: url("../img/icon-sankaku.svg");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: cover;
  mask-size: cover;
  transform: rotate(-90deg);
  transition: transform 0.15s;
}

.cashless-points .points-title.is-opened::before {
  transform: rotate(0deg);
}

.cashless-points .points-data {
  margin-top: -0.4em;
  margin-left: min(40px, calc(20 / 390 * 100vw));
  font-size: clamp(10px, calc(10 / 390 * 100vw), 20px);
  line-height: 1.6;
  font-weight: 300;
  color: #444;
  letter-spacing: 0.1em;
  @media (min-width: 769px) {
    margin-top: -0.8em;
  }
}

.cashless-points.qr .points-title::before {
  background-color: #58b92e;
}

.cashless-points.touch .points-title::before {
  background-color: #2f99cc;
}

.cashless-card-text {
  margin-top: min(10px, calc(10 / 390 * 100vw));
  font-size: clamp(10px, calc(12 / 390 * 100vw), 18px);
  line-height: 1.7;
  letter-spacing: 0.1em;

  @media (min-width: 769px) {
    margin-top: min(30px, calc(30 / 1920 * 100vw));
    margin-inline: calc(var(--section-side-padding) * -1);
    text-align: center;
    line-height: 2;
  }
}

.cashless-points-text {
  margin: min(20px, calc(20 / 390 * 100vw)) min(20px, calc(10 / 390 * 100vw)) 0;
  font-size: clamp(11px, calc(11 / 390 * 100vw), 16px);
  line-height: 1.7;
  letter-spacing: 0.1em;

  @media (min-width: 769px) {
    margin-top: min(30px, calc(30 / 390 * 100vw));
  }
}

.cashless-divider {
  margin: min(55px, calc(20 / 390 * 100vw)) 0;
  border-top: 2px dotted #ed9700;
}

.cashless-divider.qr {
  border-top-color: #58b52f;
}

.cashless-divider.touch {
  border-top-color: #2f99cc;
}

.cashless-divider.is-welfare {
  border-top-color: #e60113;
}

.cashless-subheading {
  margin-inline: auto;
  font-size: clamp(13px, calc(15 / 390 * 100vw), 32px);
  line-height: 1.45;
  text-align: center;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.cashless-subheading.ic {
  color: #ed9700;
}

.cashless-subheading.qr {
  color: #58b92e;
}

.cashless-subheading.touch {
  color: #2f99cc;
}

.app-download {
  margin-top: min(80px, calc(30 / 390 * 100vw));
}

img.app-download-image {
  width: min(164px, calc(73 / 390 * 100vw));
  margin-inline: auto;
  margin-bottom: min(30px, calc(12 / 390 * 100vw));
}

.app-store-badges {
  margin: min(54px, calc(26 / 390 * 100vw)) auto 0;
  display: flex;
  justify-content: center;
  gap: 27px;
  width: calc(268 / 290 * 100%);
  max-width: 602px;

  @media (min-width: 769px) {
    gap: min(60px, calc(60 / 1920 * 100vw));
  }

  a {
    display: block;
  }
}

.app-store-badges img {
  margin: 0;
}

.app-download-title {
  font-size: clamp(15px, calc(18 / 390 * 100vw), 32px);
  line-height: 1.5;
  text-align: center;
  font-weight: 500;
  color: #5da71f;
  letter-spacing: 0.05em;
}

.cashless-route-note {
  margin-top: min(105px, calc(24 / 390 * 100vw));
  margin-inline: var(--section-side-padding);

  &.is-welfare {
    margin-inline: 0;
  }
}

.cashless-route-note h4 {
  margin: 0 calc(var(--section-side-padding) * -1) 24px;
  text-align: center;
  .cashless-route-note-title {
    margin-inline: auto;
    width: auto;
    max-width: unset;
    height: min(calc(58 * 1.25px), calc(24 * 1.25 / 390 * 100vw));
  }
}

.cashless-route-note p {
}

.cashless-route-note .cashless-route-title {
  margin-bottom: min(30px, calc(10 / 390 * 100vw));
  font-size: clamp(15px, calc(15 / 390 * 100vw), 32px);
  letter-spacing: 0.05em;
  line-height: 1.45;
  font-weight: 500;
  text-align: center;
}

.cashless-route-note .cashless-route-detail {
  margin-bottom: min(30px, calc(10 / 390 * 100vw));
  font-size: clamp(10px, calc(10 / 390 * 100vw), 16px);
  font-weight: 300;
  line-height: 1.5;
  max-width: 926px;
  margin-inline: auto;

  &.attention {
    font-weight: 700;
    color: #ff0000;

    @media (min-width: 769px) {
      max-width: unset;
      font-size: clamp(10px, calc(10 / 390 * 100vw), 20px);
      text-align: center;
    }
  }
}

.cashless-route-note .cashless-route-attention {
  font-size: clamp(12px, calc(12 / 390 * 100vw), 20px);
  line-height: 1.3;
  text-align: center;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #ff0000;
}

.cashless-route-note.ic h4,
.cashless-route-note.ic p {
}

.cashless-route-note.qr h4,
.cashless-route-note.qr p {
}

.cashless-route-note.touch h4,
.cashless-route-note.touch p {
}

.cashless-route-note .cashless-cta {
  margin: min(100px, calc(24 / 390 * 100vw)) auto;
  width: calc(290 / 330 * 100%);
}

.cashless-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: min(60px, calc(30 / 390 * 100vw)) auto 0;
  padding: 0.5em 25px;
  max-width: 812px;
  border-radius: 10px;
  color: #ffffff;
  font-size: clamp(12px, calc(12 / 390 * 100vw), 24px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.05em;
  text-align: center;
  background: #45bfa3;
  box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.16);
  position: relative;

  @media (min-width: 769px) {
    padding: 0.55em 55px 0.75em;
    letter-spacing: 0.1em;
  }
}

.cashless-cta::after {
  content: "";
  position: absolute;
  right: min(30px, calc(14 / 390 * 100vw));
  top: 50%;
  width: min(13px, calc(6 / 390 * 100vw));
  height: min(13px, calc(6 / 390 * 100vw));
  border-right: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  transform: translateY(-50%) rotate(-45deg);

  @media (min-width: 769px) {
    border-right: 4px solid #ffffff;
    border-bottom: 4px solid #ffffff;
  }
}

.cashless-cta.is-ic {
  background: #f39800;
}

.cashless-cta.is-qr {
  background: #58b92e;
}

.cashless-cta.is-touch {
  background: #2f99cc;
}

.cashless-cta.is-welfare {
  background: #3dbebe;
  margin-top: min(120px, calc(30 / 390 * 100vw));
  margin-bottom: min(74px, calc(50 / 390 * 100vw));
  padding-top: min(12px, calc(10 / 390 * 100vw));
  padding-bottom: min(12px, calc(10 / 390 * 100vw));
  line-height: calc(19 / 12);
  white-space: nowrap;

  @media (min-width: 769px) {
    padding-top: 1em;
    padding-bottom: 1em;
    letter-spacing: 0.05em;
  }
}

.cashless-cta-button-wrapper {
  margin-top: min(120px, calc(20 / 390 * 100vw));
  margin-bottom: min(74px, calc(30 / 390 * 100vw));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: min(60px, calc(20 / 390 * 100vw));

  @media (min-width: 769px) {
    margin-top: min(58px, calc(58 / 1920 * 100vw));
    margin-bottom: min(86px, calc(86 / 1920 * 100vw));
  }

  .cashless-cta {
    margin: 0;
    width: 100%;
  }
}

.new-service-wrapper {
  margin-top: clamp(10px, 2.8vw, 16px);
  padding-inline: var(--section-side-padding);
}

.new-service-header {
  margin-top: min(200px, calc(24 / 390 * 100vw));
  margin-inline: auto;

  @media (min-width: 769px) {
    margin-top: min(200px, calc(200 / 1920 * 100vw));
  }
}

.cashless-campaign-box {
  margin-bottom: min(157px, calc(20 / 390 * 100vw));
  padding: 0 12px;
  border: 3px solid #58b52f;
  border-radius: 20px;
  text-align: center;
  color: #58b52f;
  max-width: 1056px;
  background: #fcfccf;
  box-shadow: 6px 6px 6px rgba(0, 0, 0, 0.16);

  @media (min-width: 769px) {
    margin-bottom: min(57px, calc(57 / 1920 * 100vw));
    border-width: 5px;
    border-radius: 25px;
  }

  .cashless-campaign-box-title {
    padding: calc(19 / 18 * 1em) 0;
    font-size: clamp(15px, calc(18 / 390 * 100vw), 40px);
    line-height: calc(25 / 18);
    font-weight: 700;
    letter-spacing: 0.05em;

    @media (min-width: 769px) {
      padding: calc(39 / 55 * 1em) 0 calc(50 / 55 * 1em);
      line-height: calc(88 / 55);
    }
  }

  .cashless-cta {
    margin: min(39px, calc(11 / 390 * 100vw)) auto 0;
    width: min(336px, calc(140 / 330 * 100%));
    border-radius: 999px;
    box-shadow: none;
    letter-spacing: 0.2em;
    white-space: nowrap;

    @media (min-width: 769px) {
      font-size: clamp(20px, calc(24 / 1920 * 100vw), 24px);
    }
  }
}

.about-credit-touch-text {
  padding-right: min(36px, calc(16 / 390 * 100vw));
  display: flex;
  align-items: center;
  gap: min(20px, calc(14 / 390 * 100vw));
  position: relative;

  &::after {
    content: "";
    flex-shrink: 0;
    background-image: url("../img/icon-tuoch.png");
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: center;
    width: min(175px, calc(33 / 390 * 100vw));
    height: min(100px, calc(40 / 390 * 100vw));
  }

  @media (min-width: 769px) {
    display: block;
    padding-right: 0;
    &::after {
      content: none;
    }
    .cashless-card-text {
      &::after {
        content: "";
        display: inline-block;
        background-image: url("../img/icon-tuoch.png");
        background-size: 100% auto;
        background-repeat: no-repeat;
        background-position: center;
        width: min(50px, calc(50 / 1920 * 100vw));
        height: min(60px, calc(60 / 1920 * 100vw));
        position: absolute;
        bottom: 0.15em;
        transform: translateX(8%);
      }
    }
  }
}

/* Section: New Service */
.new-service {
  padding: min(170px, calc(10 / 390 * 100vw)) 0 0;

  @media (min-width: 769px) {
    padding-top: min(67px, calc(67 / 390 * 100vw));
  }
}

.new-service-mv,
.new-service-content {
  width: 100%;
}

.new-service-mv-heading {
  margin-bottom: min(60px, calc(20 / 390 * 100vw));
}

.new-service-intro {
  margin-top: clamp(10px, 2.6vw, 16px);

  @media (min-width: 769px) {
    display: flex;
    flex-direction: column;
    gap: 2em;
    p {
      line-height: calc(55 / 25);
      text-align: center;
      letter-spacing: 0.1em;
    }
  }
}

.new-service-intro p {
}

.new-service-more {
  margin: min(53px, calc(19 / 390 * 100vw)) calc(var(--section-side-padding) * -1) 0;
  padding: 0 var(--section-side-padding) min(257px, calc(50 / 390 * 100vw));
  background: #deedd2;

  @media (min-width: 769px) {
    margin-top: min(138px, calc(138 / 1920 * 100vw));
  }

  .cashless-check-arrow {
    margin-bottom: min(36px, calc(10 / 390 * 100vw));
    /* width: min(39px, calc(12 / 390 * 100vw)); */
  }
}

.new-service-content {
  &.content-2 {
    margin-bottom: min(77px, calc(18 / 390 * 100vw));
  }
  &.content-3 {
    margin-bottom: min(28px, calc(11 / 390 * 100vw));
  }
  &.content-4 {
    margin-top: min(100px, calc(20 / 390 * 100vw));
    @media (min-width: 769px) {
      margin-bottom: min(134px, calc(134 / 1920 * 100vw));
    }
  }
}

.new-service-content-text {
  font-size: clamp(10px, calc(10 / 390 * 100vw), 16px);
  line-height: calc(14 / 10);

  @media (min-width: 769px) {
    line-height: calc(30 / 20);
  }
}

/* Section: How to Use */
.howto {
  margin-inline: calc(var(--section-side-padding) * -1);
  padding: min(87px, calc(33 / 390 * 100vw)) var(--section-side-padding) min(216px, calc(33 / 390 * 100vw));
  background-color: #fffee1;
}

.howto-inner {
}

.howto-mv,
.howto-content {
  width: 100%;
}

.howto-content-container {
  @media (min-width: 769px) {
    margin-top: min(calc(60px * -1), calc(60 / 1920 * 100vw * -1));
    margin-inline: auto;
    max-width: 800px;
    @media (min-width: 1650px) {
      margin-top: min(calc(125px * -1), calc(125 / 1920 * 100vw * -1));
      transform: translateX(min(calc(76px * -1), calc(76 / 1920 * 100vw * -1)));
    }
  }
}

.howto-mv-heading {
  margin-bottom: min(80px, calc(30 / 390 * 100vw));
  margin-inline: auto;
  width: min(800px, calc(278 / 390 * 100vw));

  @media (min-width: 769px) {
    margin-bottom: min(15px, calc(15 / 1920 * 100vw));
    width: 100%;
  }
}

.howto-text {
  margin-bottom: min(80px, calc(30 / 390 * 100vw));

  @media (min-width: 769px) {
    text-align: center;
  }
}

/* Section: Welfare */
.welfare {
  margin-inline: calc(var(--section-side-padding) * -1);
  padding: min(126px, calc(52 / 390 * 100vw)) var(--section-side-padding) clamp(50px, 12vw, 70px);
  background: #fff2f2;
}

.welfare-inner {
}

.welfare-mv,
.welfare-content {
  width: 100%;
}

.welfare-mv-heading {
  margin-bottom: min(20px, calc(9 / 390 * 100vw));
}

.welfare-attention {
  font-size: clamp(10px, calc(10 / 390 * 100vw), 16px);
  line-height: calc(15 / 10);
  text-align: center;
  letter-spacing: 0.1em;
  color: #3d3f3c;

  @media (min-width: 769px) {
    display: none;
  }
}

.welfare-intro p {
  font-size: 14px;
  line-height: 2;
  letter-spacing: 0.02em;
  text-align: center;
}

.welfare-description {
  margin-top: min(90px, calc(40 / 390 * 100vw));
  margin-bottom: min(67px, calc(28 / 390 * 100vw));
  display: flex;
  flex-direction: column;
  gap: min(30px, calc(13 / 390 * 100vw));

  @media (min-width: 769px) {
    margin-top: min(calc(40px * -1), calc(40 / 1920 * 100vw * -1));
    flex-direction: row-reverse;
    align-items: center;
    gap: 0;
  }

  h3 {
    margin-bottom: min(35px, calc(15 / 390 * 100vw));
    font-size: clamp(16px, calc(20 / 390 * 100vw), 32px);
    line-height: 1.5;
    text-align: center;
    font-weight: 700;
    color: #e60113;
    letter-spacing: 0.1em;

    @media (min-width: 769px) {
      text-align: left;
    }
  }
  p {
    line-height: 1.8;
    color: #3d3f3c;

    @media (min-width: 769px) {
      line-height: 2;
      letter-spacing: 0.1em;
    }
  }
  .item-data {
    @media (min-width: 769px) {
      padding-left: min(30px, calc(30 / 1920 * 100vw));
      width: calc(100% - min(260px, calc(260 / 1920 * 100vw)));
    }
  }
  figure {
    margin-inline: auto;
    width: calc(150 / 330 * 100%);
    @media (min-width: 769px) {
      width: min(260px, calc(260 / 1920 * 100vw));
    }
  }
}

.welfare-content {
  margin-bottom: min(54px, calc(20 / 390 * 100vw));

  h3 {
    margin-bottom: min(35px, calc(17 / 390 * 100vw));
    font-size: clamp(12px, calc(14 / 390 * 100vw), 32px);
    line-height: 1.5;
    text-align: center;
    font-weight: 700;
    color: #e60113;
    letter-spacing: 0.05em;
    white-space: nowrap;
  }
}

.welfare-cta {
  display: block;
  margin-top: clamp(16px, 4.2vw, 22px);
  border-radius: 999px;
  text-align: center;
  color: #ffffff;
  background: #58b92e;
  font-size: clamp(13px, 3.8vw, 16px);
  font-weight: 700;
  line-height: 1.4;
  padding: 12px 36px 12px 14px;
  position: relative;
}

.welfare-cta::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  transform: translateY(-50%) rotate(-45deg);
}

/* Section: Footer Call */
.footer-call {
  padding: min(94px, calc(50 / 390 * 100vw)) var(--section-side-padding) min(46px, calc(26 / 390 * 100vw));
  background: #ffffff;
}

.footer-call-bus {
  margin: 0 auto min(85px, calc(25 / 390 * 100vw));
  width: min(344px, calc(121 / 330 * 100%));
}

.footer-call-text {
  margin-bottom: min(86px, calc(54 / 390 * 100vw));
  font-size: clamp(12px, calc(14 / 390 * 100vw), 28px);
  text-align: center;
  letter-spacing: 0.03em;
  line-height: calc(27 / 14);
}

.footer-call-button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.9em 0.5em;
  border-radius: 999px;
  background: #3cbebe;
  color: #ffffff;
  font-size: clamp(12px, calc(14 / 390 * 100vw), 30px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-align: center;
  white-space: nowrap;
  &::after {
    content: none;
  }

  @media (min-width: 769px) {
    border-radius: 10px;
    max-width: 812px;
    margin-inline: auto;
    &::after {
      content: "";
    }
  }
}

.footer-call-text2 {
  margin-top: min(136px, calc(25 / 390 * 100vw));
  font-size: clamp(10px, calc(10 / 390 * 100vw), 16px);
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: 0.1em;
  color: #3d3f3c;

  @media (min-width: 769px) {
    font-size: clamp(16px, calc(16 / 1920 * 100vw), 16px);
    line-height: calc(40 / 25);
  }
}

/* Footer */
.footer {
  padding: min(75px, calc(19 / 390 * 100vw)) var(--section-side-padding);
  padding-bottom: clamp(120px, 32vw, 180px);
  background: #e8e8e8;

  @media (min-width: 769px) {
    padding-top: min(75px, calc(75 / 1920 * 100vw));
    padding-bottom: min(50px, calc(50 / 1920 * 100vw));
  }
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: min(25px, calc(12 / 390 * 100vw));
}

.footer-title {
  font-size: clamp(20px, calc(22 / 390 * 100vw), 40px);
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
  letter-spacing: 0.1em;
}

.footer-department {
  font-size: clamp(14px, calc(14 / 390 * 100vw), 24px);
  line-height: 1.3;
  text-align: center;
  letter-spacing: 0.03em;

  @media (min-width: 769px) {
    margin-top: min(10px, calc(10 / 1920 * 100vw));
  }
}

.footer-copyright {
  font-size: clamp(14px, calc(14 / 390 * 100vw), 16px);
  font-weight: 500;
  line-height: 1.3;
  text-align: center;

  @media (min-width: 769px) {
    margin-top: min(30px, calc(30 / 1920 * 100vw));
  }
}

/* Fixed UI: Page Top Button + Floating Menu */
.page-top-button {
  position: fixed;
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition:
    opacity 0.45s ease,
    transform 0.45s ease;
  z-index: 40;
  right: 10px;
  bottom: min(150px, calc(110 / 390 * 100vw));
  width: min(73px, calc(24 / 390 * 100vw));
  height: min(73px, calc(24 / 390 * 100vw));
  img {
    width: 100%;
    height: 100%;
  }
  @media (min-width: 769px) {
    right: min(30px, calc(30 / 1920 * 100vw));
    bottom: min(30px, calc(30 / 1920 * 100vw));
    width: 72px;
    height: 72px;
  }
}

.page-top-button.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Fixed UI: Floating Menu */
.floating-menu {
  position: fixed;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.45s ease,
    transform 0.45s ease;
  z-index: 40;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  left: 50%;
  bottom: 14px;
  width: calc(100vw - clamp(12px, 7.7vw, 30px));
  /* height: 84px; */
  transform: translateX(-50%) translateY(14px);
  border: 1px solid var(--menu-accent);
  border-radius: 10px;
  background: var(--menu-bg);
  padding: 9px min(25px, calc(16 / 390 * 100vw)) 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);

  @media (min-width: 769px) {
    left: auto;
    right: min(70px, calc(70 / 1920 * 100vw));
    bottom: 200px;
    transform: translateX(0) translateY(0);
    width: auto;
    height: auto;
    padding: 0 19px 39px 32px;
  }
}

.floating-menu.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;

  @media (min-width: 769px) {
    transform: translateX(0) translateY(0);
  }
}

.floating-menu-title {
  text-align: center;
  font-size: clamp(10px, calc(12 / 390 * 100vw), 20px);
  line-height: 1.4;
  color: var(--menu-accent);
  letter-spacing: 0.05em;
  font-weight: 700;
  margin-bottom: 0.15em;

  @media (min-width: 769px) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-inline: auto;
    padding: 2px 6px 4px;
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
    border-radius: 0 0 3px 3px;
    background-color: var(--menu-accent);
    font-size: 16px;
    color: #fff;
    line-height: 1;
  }
}

.floating-menu-list {
  margin-top: 0.5em;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: min(12px, calc(12 / 390 * 100vw)) min(100px, calc(20 / 390 * 100vw));

  @media (min-width: 769px) {
    margin-top: 35px;
    grid-template-columns: 1fr;
    align-items: flex-end;
    gap: 25px;
  }
}

.floating-menu-list li {
  @media (min-width: 769px) {
    width: auto;
    max-width: unset;
  }
}

.floating-menu-list {
  li {
    @media (min-width: 769px) {
      width: 100%;
    }
    a {
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: clamp(11px, calc(13 / 390 * 100vw), 20px);
      font-weight: 700;
      line-height: 1;
      color: var(--menu-accent);
      letter-spacing: 0.05em;
      white-space: nowrap;

      @media (min-width: 769px) {
        justify-content: flex-end;
        align-items: flex-end;
        font-size: 16px;
        text-align: center;
      }

      span {
        @media (min-width: 769px) {
          width: calc(100% - 20px);
          display: flex;
          flex-direction: column;
          align-items: center;
          gap: 10px;
        }
      }

      .floating-menu-item-icon {
        display: none;

        @media (min-width: 769px) {
          display: block;
        }
      }

      &::after {
        content: "";
        margin-left: 8px;
        flex-shrink: 0;
        width: 16px;
        height: 10px;
        background-image: url("../img/icon-arrow-anchor.svg");
        background-repeat: no-repeat;
        background-position: center;
        background-size: auto 100%;

        @media (min-width: 769px) {
          margin-left: 11px;
          flex-shrink: 0;
          width: 22px;
          height: 12px;
          background-image: url("../img/icon-arrow-anchor3.svg");
        }
      }
    }

    @media (min-width: 769px) {
      &.item-1 {
        order: 1;
        a {
          span {
            gap: 10px;
          }
          .floating-menu-item-icon {
            width: 67px;
            height: 63px;
          }
        }
      }
      &.item-2 {
        order: 3;
        a {
          span {
            gap: 10px;
          }
          .floating-menu-item-icon {
            width: 89px;
            height: 72px;
          }
        }
      }
      &.item-3 {
        order: 2;
        a {
          span {
            gap: 10px;
          }
          .floating-menu-item-icon {
            width: 89px;
            height: 72px;
          }
        }
      }
      &.item-4 {
        order: 4;
        a {
          span {
            gap: 10px;
          }
          .floating-menu-item-icon {
            width: 70px;
            height: 62px;
          }
        }
      }
    }
  }
}
