:root {
  --color-primary: #dc5337;
  --color-accent: #3f28d1;
  --color-peach: #ffead8;
  --color-gray: #f4f4f4;
  --color-text: #000;
  --font-base: "Noto Sans", sans-serif;
  --font-point: "Paytone One", var(--font-base);
  --header-height: 96px;
  --card-shadow: 12px 8px 20px 0 rgb(197 197 197 / 50%);
}

@media (width <= 1000px) {
  :root {
    --header-height: 91px;
  }
}

@media (width <= 750px) {
  :root {
    --header-height: 79px;
  }
}

@media (width <= 540px) {
  :root {
    --header-height: 41px;
    --card-shadow: 3px 2px 6px 0 rgb(197 197 197 / 50%);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--color-text);
  font-family: var(--font-base);
  font-weight: 400;
  line-height: 1;
  word-spacing: 1px;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body.is-menu-open {
  overflow: hidden;
}

h1,
h2,
h3,
p,
ul,
ol,
dl {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

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

picture {
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

em {
  font-style: normal;
}

strong {
  font-weight: 700;
}

button {
  font: inherit;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.u-md-down,
.u-sm-down {
  display: none;
}

@media (width <= 1000px) {
  .u-md-down {
    display: inline;
  }
}

@media (width <= 750px) {
  .u-md-up {
    display: none;
  }

  .u-sm-down {
    display: inline;
  }
}

.button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 400px;
  max-width: 100%;
  padding: 29px 40px;
  border-radius: 70px;
  background: var(--color-accent);
  box-shadow: 0 11px 23px rgb(0 0 0 / 26%);
  color: #fff;
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  transition: opacity 0.2s;
}

.button:hover {
  opacity: 0.85;
}

.button--small {
  flex: none;
  width: 190px;
  height: 45px;
  padding: 0;
  font-feature-settings: "palt";
  font-size: 18px;
  line-height: 1.75;
  letter-spacing: -0.02em;
}

@media (width <= 750px) {
  .button {
    width: 100%;
    font-size: 24px;
  }
}

@media (width <= 540px) {
  .button {
    padding: 16px 0;
    font-size: 4.26vw;
  }
}

.section-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.section-heading__label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 24px;
  font-weight: 700;
  line-height: 70px;
}

.section-heading__label::before {
  content: "";
  width: 16px;
  aspect-ratio: 16 / 18;
  background: url("../images/icon-pin.svg") center / contain no-repeat;
}

.section-heading__title {
  font-size: 64px;
  font-weight: 700;
  line-height: 70px;
}

.section-heading--about .section-heading__label {
  margin-left: -25px;
}

.section-heading--merit .section-heading__label {
  margin-left: -18px;
}

@media (width <= 750px) {
  .section-heading__label {
    font-size: 3.2vw;
  }

  .section-heading__label::before {
    width: 2.14vw;
  }

  .section-heading__title {
    font-size: 8.53vw;
    line-height: 1;
  }

  .section-heading--about .section-heading__title {
    font-size: 6.4vw;
  }
}

@media (width <= 540px) {
  .section-heading__label {
    gap: 4px;
    line-height: 1;
  }

  .section-heading__title {
    margin-top: 15px;
  }

  .section-heading--about .section-heading__label {
    margin-left: -18px;
  }

  .section-heading--merit .section-heading__label {
    margin-left: -10px;
  }

  .section-heading--function .section-heading__label {
    margin-left: -5px;
  }

  .section-heading--function .section-heading__title {
    margin-top: 20px;
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  height: var(--header-height);
  background: #fff;
}

.site-header__inner {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  width: 1360px;
  max-width: 100%;
  margin-inline: auto;
  padding-inline: 40px;
}

.site-header__logo {
  position: relative;
  z-index: 2;
  flex: none;
  width: 230px;
  transition: opacity 0.2s;
}

.site-header__logo:hover {
  opacity: 0.7;
}

.site-header__logo img {
  width: 100%;
}

.site-header__toggle {
  --toggle-gap: 11px;

  position: relative;
  z-index: 2;
  display: none;
  flex: none;
  width: 32px;
  height: 40px;
  padding: 0;
  border: 0;
  background: linear-gradient(currentcolor, currentcolor) center / 100% 1px no-repeat;
  color: var(--color-text);
  cursor: pointer;
}

.site-header__toggle::before,
.site-header__toggle::after {
  content: "";
  position: absolute;
  top: calc(50% - 0.5px);
  left: 0;
  width: 100%;
  height: 1px;
  background: currentcolor;
  transition: transform 0.3s;
}

.site-header__toggle::before {
  transform: translateY(calc(var(--toggle-gap) * -1));
}

.site-header__toggle::after {
  transform: translateY(var(--toggle-gap));
}

.site-header__toggle[aria-expanded="true"] {
  background-size: 0 1px;
}

.site-header__toggle[aria-expanded="true"]::before {
  transform: rotate(45deg);
}

.site-header__toggle[aria-expanded="true"]::after {
  transform: rotate(-45deg);
}

.global-nav {
  display: flex;
  flex: none;
  align-items: center;
  gap: 34px;
}

.global-nav__list {
  display: flex;
  align-items: center;
  gap: 30px;
}

.global-nav__list li {
  margin-bottom: -5px;
}

.global-nav__link {
  display: block;
  border-bottom: 5px solid transparent;
  font-feature-settings: "palt";
  font-size: 18px;
  font-weight: 700;
  line-height: 1.75;
}

.global-nav__link:hover,
.global-nav__link:focus-visible {
  border-bottom-color: var(--color-primary);
}

@media (width <= 1000px) {
  .site-header__toggle {
    display: block;
  }

  .global-nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    flex-direction: column;
    gap: 50px;
    padding-top: 100px;
    overflow-y: auto;
    background: #fff;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s, visibility 0.3s;
  }

  .global-nav.is-open {
    visibility: visible;
    opacity: 1;
  }

  .global-nav__list {
    flex-direction: column;
    gap: 35px;
  }

  .global-nav__list li {
    margin-bottom: 0;
  }

  .global-nav__link {
    border-bottom: 0;
    font-size: 16px;
    line-height: 1.362;
  }

  .global-nav__contact {
    width: 200px;
    height: 49px;
    font-size: 15px;
    line-height: 1;
    letter-spacing: 0;
  }
}

@media (width <= 750px) {
  .site-header__inner {
    padding-inline: 32px;
  }

  .site-header__logo {
    width: 188px;
  }
}

@media (width <= 540px) {
  .site-header__inner {
    gap: 16px;
    padding-inline: 16px;
  }

  .site-header__logo {
    width: 94px;
  }

  .site-header__toggle {
    --toggle-gap: 6px;

    width: 16px;
  }
}

.hero {
  padding-bottom: 66px;
  overflow: hidden;
}

.hero__banner {
  display: grid;
  place-items: center;
  height: 78px;
  background: var(--color-primary);
  color: #fff;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

.hero__body {
  padding-top: 50px;
  background: url("../images/fv-bg.jpg") center top / cover no-repeat;
}

.hero__inner {
  display: flex;
  align-items: center;
  width: 1360px;
  max-width: 100%;
  margin-inline: auto;
  padding: 0 40px 90px;
}

.hero__content {
  display: flex;
  flex: none;
  flex-direction: column;
  width: 61%;
}

.hero__heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

.hero__tags {
  display: flex;
  gap: 41px;
}

.hero__tag {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 61px;
  padding: 10px;
  border: 1px solid var(--color-primary);
  border-radius: 10px;
  color: var(--color-primary);
  font-size: 30px;
  font-weight: 700;
}

.hero__tag--ai {
  width: 281px;
}

.hero__tag--reservation {
  width: 192px;
}

.hero__copy {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
  margin-top: 29px;
}

.hero__title {
  font-size: 60px;
  font-weight: 700;
  line-height: 1.2;
}

.hero__title em {
  color: var(--color-primary);
  font-size: 75px;
}

.hero__lead {
  font-size: 30px;
  font-weight: 500;
}

.hero__button {
  margin-top: 60px;
}

.hero__visual {
  flex: none;
  width: 40%;
}

.hero__visual img {
  width: 100%;
}

.hero__features {
  width: 1360px;
  max-width: 100%;
  margin: -70px auto 0;
  padding-inline: 40px;
}

.hero__languages {
  font-size: 48px;
  font-weight: 700;
  text-align: center;
}

.hero__languages-number {
  color: var(--color-primary);
  font-size: 96px;
}

.hero__feature-list {
  display: flex;
  justify-content: space-between;
  margin-top: 24px;
}

.hero__feature-list li {
  --check-width: 49px;
  --check-padding: 9px;
  --check-height: calc((var(--check-width) - var(--check-padding) * 2) * 20 / 32 + 29px);
  --check-overlap: 20px;

  position: relative;
  width: 28.9%;
  margin-top: calc(var(--check-height) - var(--check-overlap));
  padding: 7px 6px;
  border: 5px solid var(--color-gray);
  border-radius: 20px;
  background: #fff;
}

.hero__feature-list li::before {
  content: "";
  position: absolute;
  bottom: calc(100% + 5px - var(--check-overlap));
  left: 50%;
  z-index: 1;
  width: var(--check-width);
  height: var(--check-height);
  border-radius: 50%;
  background: var(--color-primary) url("../images/icon-check.svg") center / calc(var(--check-width) - var(--check-padding) * 2) auto no-repeat;
  translate: -50% 0;
}

.hero__feature {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 98px;
  padding: 10px 0;
  border-radius: 10px;
  background: var(--color-peach);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.4;
}

@media (width <= 1000px) {
  .hero__banner {
    height: 70px;
    font-size: 30px;
  }

  .hero__body {
    padding: 40px 0 113px;
  }

  .hero__inner {
    flex-direction: column-reverse;
    gap: 13px;
    padding-bottom: 10px;
  }

  .hero__content {
    width: 80%;
  }

  .hero__heading {
    align-items: center;
  }

  .hero__copy {
    gap: 20px;
    text-align: center;
  }

  .hero__title {
    font-size: 50px;
  }

  .hero__title em {
    font-size: 66px;
  }

  .hero__lead {
    font-size: 26px;
  }

  .hero__button {
    align-self: center;
  }

  .hero__visual {
    width: 60%;
  }

  .hero__features {
    margin-top: -45px;
  }

  .hero__languages {
    font-size: 40px;
  }

  .hero__languages-number {
    font-size: 70px;
  }

  .hero__feature-list li {
    width: 32%;
  }

  .hero__feature {
    font-size: 30px;
    line-height: 1.2;
  }
}

@media (width <= 750px) {
  .hero__banner {
    font-size: 3.73vw;
  }

  .hero__body {
    padding: 56px 0 103px;
    background-image: url("../images/fv-bg-sp.jpg");
    background-position: center;
  }

  .hero__inner {
    padding-bottom: 0;
  }

  .hero__content {
    align-items: center;
    width: 100%;
  }

  .hero__tags {
    justify-content: center;
    width: 514px;
    max-width: 100%;
  }

  .hero__tag {
    height: auto;
    padding: 5px 0;
    font-size: 4.26vw;
  }

  .hero__tag--ai {
    width: calc(47% - 41px * 0.53);
  }

  .hero__tag--reservation {
    width: calc(40% - 41px * 0.6);
  }

  .hero__title {
    font-size: 6.26vw;
  }

  .hero__title em {
    font-size: 7.87vw;
  }

  .hero__lead {
    font-size: 3.2vw;
  }

  .hero__button {
    width: 50%;
  }

  .hero__visual {
    width: 80%;
  }

  .hero__features {
    margin-top: -30px;
  }

  .hero__languages {
    font-size: 5.33vw;
  }

  .hero__languages-number {
    font-size: 9.33vw;
  }

  .hero__feature-list {
    flex-wrap: wrap;
  }

  .hero__feature {
    font-size: 4vw;
  }
}

@media (width <= 540px) {
  .hero {
    padding-bottom: 29px;
  }

  .hero__banner {
    height: 33px;
    font-size: 3.75vw;
  }

  .hero__body {
    padding: 28px 0 53px;
  }

  .hero__inner {
    gap: 5px;
    padding-inline: 30px;
  }

  .hero__tags {
    gap: 20px;
  }

  .hero__tag {
    padding: 2px 0;
    border-radius: 5px;
  }

  .hero__tag--ai {
    width: calc(41% - 20px * 0.59);
  }

  .hero__tag--reservation {
    width: calc(30% - 20px * 0.7);
  }

  .hero__copy {
    gap: 10px;
    margin-top: 6px;
  }

  .hero__title {
    line-height: 1.5;
  }

  .hero__title em {
    font-size: 7.86vw;
  }

  .hero__button {
    width: 63.5%;
    margin-top: 30px;
  }

  .hero__visual {
    width: 100%;
  }

  .hero__features {
    margin-top: -20px;
    padding-inline: 15px;
  }

  .hero__languages-number {
    font-size: 10vw;
  }

  .hero__feature-list {
    flex-wrap: nowrap;
    gap: 10px;
  }

  .hero__feature-list li {
    --check-width: 6.5vw;
    --check-padding: 4px;
    --check-height: calc((var(--check-width) - var(--check-padding) * 2) * 20 / 32 + 14px);
    --check-overlap: 13px;

    width: calc(33% - 10px * 0.67);
    padding: 4px 3px;
    border-width: 2px;
    border-radius: 10px;
  }

  .hero__feature-list li::before {
    bottom: calc(100% + 2px - var(--check-overlap));
  }

  .hero__feature {
    height: auto;
    text-align: center;
  }
}

.about {
  padding-bottom: 144px;
  background: var(--color-gray);
}

.about__marquee {
  height: 92px;
  background: url("../images/about-marquee.webp") center / cover no-repeat;
}

.about__inner {
  display: flex;
  flex-direction: column;
  width: 1360px;
  max-width: 100%;
  margin: 60px auto 0;
  padding-inline: 40px;
}

.about__summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 62px 0 42px;
  padding: 79px 45px 79px 53px;
  border-radius: 40px;
  background: #fff;
  box-shadow: var(--card-shadow);
}

.about__summary::after {
  content: "";
  position: absolute;
  top: calc(100% - 43px);
  left: 0;
  width: 100%;
  height: 85px;
  background: url("../images/about-dots.webp") center / contain no-repeat;
}

.about__summary-text {
  display: flex;
  flex: none;
  flex-direction: column;
  gap: 32px;
  width: 50%;
}

.about__summary-title {
  width: 92%;
  font-size: 50px;
  line-height: 1.2;
}

.about__summary-title strong {
  color: var(--color-primary);
}

.about__summary-note {
  font-size: 24px;
  font-weight: 700;
}

.about__summary-image {
  position: relative;
  z-index: 1;
  flex: none;
  width: 48%;
}

.about__points {
  display: flex;
  justify-content: space-between;
  margin-top: 50px;
}

.point-card {
  display: flex;
  flex: none;
  flex-direction: column;
  align-items: center;
  width: 48.5%;
  padding-bottom: 56px;
  border-radius: 40px;
  background: #fff;
  box-shadow: var(--card-shadow);
}

.point-card--02 {
  justify-content: center;
  padding-bottom: 30px;
}

.point-card__label {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 270px;
  margin-top: -25px;
  padding: 10px;
  border-radius: 10px;
  background: var(--color-primary);
  color: #fff;
  font-family: var(--font-point);
  font-size: 32px;
  font-weight: 400;
}

.point-card__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 45px;
  width: 100%;
  margin-top: 55px;
  padding-inline: 45px;
}

.point-card__image {
  width: 275px;
}

.point-card__text {
  width: 100%;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
}

.point-card__text strong {
  color: var(--color-primary);
}

@media (width <= 1000px) {
  .about {
    padding-bottom: 92px;
  }

  .about__inner {
    margin-top: 45px;
    padding-inline: 0;
  }

  .about__summary {
    flex-direction: column;
    gap: 59px;
    margin-inline: 90px;
  }

  .about__summary-text {
    width: 70%;
  }

  .about__summary-title {
    width: 100%;
    font-size: 40px;
  }

  .about__summary-note {
    font-size: 20px;
  }

  .about__summary-image {
    width: 78%;
  }

  .about__points {
    flex-direction: column;
    gap: 71px;
    margin-top: 58px;
  }

  .point-card {
    width: calc(100% - 90px);
  }

  .point-card--01 {
    margin-right: 90px;
    border-radius: 0 40px 40px 0;
  }

  .point-card--02 {
    margin-left: 90px;
    border-radius: 40px 0 0 40px;
  }

  .point-card__image {
    width: 40%;
  }

  .point-card--01 .point-card__text {
    width: 70%;
  }

  .point-card--02 .point-card__text {
    width: 90%;
  }
}

@media (width <= 750px) {
  .about__marquee {
    height: 69px;
    background-image: url("../images/about-marquee-sp.webp");
    background-repeat: repeat;
    background-size: contain;
  }

  .about__inner {
    margin-top: 28px;
  }

  .about__summary {
    margin: 76px 40px 42px;
    padding: 79px 0;
  }

  .about__summary-text {
    width: 100%;
    text-align: center;
  }

  .about__summary-title {
    font-size: 5.33vw;
  }

  .about__summary-title strong {
    font-size: 40px;
  }

  .about__summary-note {
    font-size: 3.2vw;
  }

  .about__summary-image {
    width: 86%;
  }

  .point-card {
    width: calc(100% - 40px);
  }

  .point-card--01 {
    margin-right: 40px;
  }

  .point-card--02 {
    margin-left: 40px;
  }

  .point-card__label {
    width: 38.02%;
    height: 65px;
    padding: 0;
    font-size: 4.26vw;
  }

  .point-card__text {
    font-size: 3.2vw;
  }

  .point-card--01 .point-card__text {
    width: 96%;
  }

  .point-card--02 .point-card__text {
    width: 93%;
  }
}

@media (width <= 540px) {
  .about {
    padding-bottom: 45px;
  }

  .about__marquee {
    height: 30px;
  }

  .about__inner {
    margin-top: 40px;
  }

  .about__summary {
    gap: 30px;
    margin: 38px 20px 22px;
    padding: 45px 0 55px;
    border-radius: 20px;
    box-shadow: 3px 0 5px 0 rgb(197 197 197 / 50%);
  }

  .about__summary::after {
    top: calc(100% - 20px);
    height: 42px;
  }

  .about__summary-text {
    gap: 14px;
    margin-top: -3px;
  }

  .about__summary-title strong {
    font-size: 5.33vw;
  }

  .about__summary-image {
    width: 89%;
  }

  .about__points {
    gap: 40px;
    margin-top: 30px;
  }

  .point-card {
    width: calc(100% - 20px);
    padding-bottom: 15px;
  }

  .point-card--01 {
    margin-right: 20px;
    border-radius: 0 20px 20px 0;
  }

  .point-card--02 {
    margin-left: 20px;
    border-radius: 20px 0 0 20px;
  }

  .point-card__label {
    height: 32px;
    margin-top: -15px;
    border-radius: 5px;
  }

  .point-card__body {
    gap: 22px;
    margin-top: 25px;
    padding-inline: 20px;
  }

  .point-card--01 .point-card__body {
    padding-left: 40px;
  }

  .point-card--01 .point-card__image {
    width: 50%;
  }
}

.service {
  padding-bottom: 255px;
  overflow: hidden;
}

.service::before {
  content: "";
  display: block;
  aspect-ratio: 1919 / 111;
  background: url("../images/wave.svg") center / 100% 100% no-repeat;
}

.service__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-inline: 40px;
}

.service .section-heading {
  width: 100%;
  margin-top: 111px;
}

.service__list {
  display: flex;
  justify-content: space-between;
  width: 1280px;
  max-width: 100%;
  margin-top: 99px;
}

.service-card {
  display: flex;
  flex: none;
  flex-direction: column;
  align-items: center;
  width: 32%;
  padding-bottom: 43px;
  border-radius: 40px;
  background: var(--color-gray);
}

.service-card__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: 547px;
}

.service-card__image {
  width: 100%;
}

.service-card__image img {
  width: 100%;
  border-radius: 40px 40px 0 0;
}

.service-card__title {
  width: 86.26%;
  margin-top: 48px;
  font-size: 35px;
  font-weight: 700;
  line-height: 46px;
  text-align: center;
}

.service-card__text {
  width: 80.09%;
  margin-top: 33px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5;
}

.service-card--compact .service-card__title {
  margin-top: 20px;
}

.service-card--compact .service-card__text {
  margin-top: 15px;
}

.service-card__balloon {
  display: flex;
  align-items: center;
  width: 90.53%;
  height: 188px;
  padding: 14px calc(90.53% * 0.05) 0;
  background: url("../images/balloon.webp") center / 100% 100% no-repeat;
  color: #fff;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.3;
}

@media (width <= 1000px) {
  .service {
    padding-bottom: 168px;
  }

  .service__list {
    flex-direction: column;
    align-items: center;
    gap: 50px;
  }

  .service-card {
    gap: 17px;
    width: 80%;
    border-radius: 60px;
  }

  .service-card__body {
    height: auto;
  }

  .service-card__image img {
    border-radius: 60px 60px 0 0;
  }
}

@media (width <= 750px) {
  .service .section-heading__title {
    font-size: 6.4vw;
    line-height: 1.3;
  }

  .service__list {
    gap: 40px;
    width: 82%;
    margin-top: 77px;
  }

  .service-card {
    width: 100%;
    border-radius: 40px;
  }

  .service-card__image img {
    border-radius: 40px 40px 0 0;
  }

  .service-card__title {
    font-size: 4.8vw;
  }

  .service-card__text {
    width: 85%;
    font-size: 3.2vw;
  }

  .service-card__balloon {
    height: 165px;
    font-size: 4vw;
  }
}

@media (width <= 540px) {
  .service {
    padding-bottom: 84px;
  }

  .service::before {
    aspect-ratio: auto;
    height: 38px;
    background: none;
  }

  .service__inner {
    padding-inline: 30px;
  }

  .service .section-heading {
    margin-top: 60px;
  }

  .service__list {
    gap: 25px;
    width: 87%;
    margin-top: 35px;
  }

  .service-card {
    gap: 10px;
    padding-bottom: 20px;
    border-radius: 20px;
  }

  .service-card__image img {
    border-radius: 20px 20px 0 0;
  }

  .service-card__title,
  .service-card--compact .service-card__title {
    margin-top: 25px;
    line-height: 1.3;
  }

  .service-card__text {
    margin-top: 15px;
  }

  .service-card__balloon {
    height: auto;
    aspect-ratio: 499 / 165;
    padding-top: 10px;
    background-image: url("../images/balloon-sp.webp");
  }
}

.merit {
  padding: 109px 0 204px;
  border-radius: 80px;
  background: var(--color-peach);
}

.merit__inner {
  width: 1360px;
  max-width: 100%;
  margin-inline: auto;
  padding-inline: 40px;
}

.merit__list {
  display: flex;
  justify-content: space-between;
  margin-top: 101px;
}

.merit-card {
  --m: calc(100cqi / 610);

  position: relative;
  flex: none;
  width: 47.65%;
  aspect-ratio: 1220 / 1896;
  container-type: inline-size;
}

.merit-card__body {
  min-height: calc(688 * var(--m));
  padding-bottom: calc(60 * var(--m));
  overflow: hidden;
  border-radius: calc(40 * var(--m));
  background: #fff;
}

.merit-card__title {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: calc(21 * var(--m));
  height: calc(156 * var(--m));
  padding-top: calc(44 * var(--m));
  background: url("../images/merit-head.svg") center / 100% 100% no-repeat;
  color: #fff;
  font-size: calc(50 * var(--m));
  font-weight: 700;
  line-height: calc(68 * var(--m));
}

.merit-card__title::before {
  content: "";
  width: calc(56 * var(--m));
  height: calc(64 * var(--m));
  background: url("../images/icon-shop.svg") center / contain no-repeat;
}

.merit-card--customer .merit-card__title::before {
  width: calc(61 * var(--m));
  height: calc(65 * var(--m));
  background-image: url("../images/icon-customer.svg");
}

.merit-card__items {
  display: grid;
  gap: calc(36 * var(--m));
  margin-top: calc(55 * var(--m));
  padding-inline: calc(71 * var(--m)) calc(20 * var(--m));
  font-size: calc(30 * var(--m));
  font-weight: 500;
  line-height: 1.362;
}

.merit-card__items li {
  position: relative;
}

.merit-card__items li::before {
  content: "";
  position: absolute;
  top: calc(5 * var(--m));
  left: calc(-45 * var(--m));
  width: calc(33 * var(--m));
  height: calc(33 * var(--m));
  background: url("../images/icon-check.svg") center / contain no-repeat;
}

.merit-card__items em {
  color: var(--color-primary);
}

.merit-card__items sup {
  display: inline-block;
  width: 0;
  font-size: calc(20 * var(--m));
  line-height: 0;
  vertical-align: 1em;
  translate: -0.15em 0;
}

.merit-card__items small {
  display: block;
  color: var(--color-text);
  font-size: calc(20 * var(--m));
}

.merit-card__image {
  position: absolute;
  top: calc(617 * var(--m));
  left: calc(203 * var(--m));
  width: calc(205 * var(--m));
}

.merit-card--customer .merit-card__image {
  top: calc(609 * var(--m));
  left: calc(165 * var(--m));
  width: calc(272 * var(--m));
}

@media (width <= 1000px) {
  .merit {
    padding-bottom: 151px;
  }

  .merit__list {
    margin-top: 76px;
  }
}

@media (width <= 750px) {
  .merit__list {
    flex-direction: column;
    gap: 77px;
  }

  .merit-card {
    --m: calc(100cqi / 334);

    width: 100%;
    aspect-ratio: 1336 / 1502;
  }

  .merit-card--customer {
    aspect-ratio: 1336 / 1666;
  }

  .merit-card__body {
    min-height: calc(338 * var(--m));
    padding-bottom: calc(50 * var(--m));
    border-radius: calc(20 * var(--m));
  }

  .merit-card__title {
    align-items: center;
    gap: calc(10 * var(--m));
    height: calc(78 * var(--m));
    padding-top: 0;
    font-size: calc(26 * var(--m));
    line-height: 1.362;
  }

  .merit-card__title::before {
    width: calc(28 * var(--m));
    height: calc(32 * var(--m));
  }

  .merit-card--customer .merit-card__title::before {
    width: calc(30.5 * var(--m));
    height: calc(32 * var(--m));
  }

  .merit-card__items {
    gap: calc(15 * var(--m));
    margin-top: calc(27.5 * var(--m));
    padding-inline: calc(42.5 * var(--m)) calc(14 * var(--m));
    font-size: calc(16 * var(--m));
  }

  .merit-card__items li::before {
    top: calc(3 * var(--m));
    left: calc(-27 * var(--m));
    width: calc(16.5 * var(--m));
    height: calc(16.5 * var(--m));
  }

  .merit-card__items sup,
  .merit-card__items small {
    font-size: calc(10 * var(--m));
  }

  .merit-card__image {
    top: calc(260.5 * var(--m));
    left: calc(253 * var(--m));
    width: calc(71 * var(--m));
  }

  .merit-card--customer .merit-card__image {
    top: calc(239 * var(--m));
    left: calc(190.5 * var(--m));
    width: calc(143 * var(--m));
  }
}

@media (width <= 540px) {
  .merit {
    padding-block: 75px;
    border-radius: 40px;
  }

  .merit__inner {
    padding-inline: 20px;
  }

  .merit__list {
    gap: 38px;
    margin-top: 38px;
  }
}

.function {
  padding: 117px 0 70px;
}

.function__inner {
  width: 1360px;
  max-width: 100%;
  margin-inline: auto;
  padding-inline: 40px;
}

.function__lead {
  margin-top: 40px;
  font-size: 32px;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
}

.function__list {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-around;
  row-gap: 99px;
  margin-top: 91px;
}

.function-item {
  display: flex;
  flex: none;
  flex-direction: column;
  align-items: center;
  width: 40.07%;
}

.function-item__image {
  width: 327px;
}

.function-item__title {
  margin-top: 55px;
  font-size: 32px;
  font-weight: 700;
  text-align: center;
}

.function-item__text {
  margin-top: 35px;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
}

@media (width <= 750px) {
  .function {
    padding: 60px 0 108px;
  }

  .function__lead {
    font-size: 4.26vw;
    line-height: 1.4;
  }

  .function__list {
    flex-flow: column nowrap;
    align-items: center;
    row-gap: 0;
  }

  .function-item {
    width: 80%;
  }

  .function-item + .function-item {
    margin-top: 100px;
  }

  .function-item:nth-child(3) {
    margin-top: 99px;
  }

  .function-item__title {
    font-size: 4.26vw;
  }

  .function-item__text {
    font-size: 3.2vw;
  }
}

@media (width <= 540px) {
  .function {
    padding-bottom: 49px;
  }

  .function__inner {
    padding-inline: 30px;
  }

  .function__lead {
    margin-top: 30px;
  }

  .function__list {
    margin-top: 45px;
  }

  .function-item {
    width: 90%;
  }

  .function-item + .function-item {
    margin-top: 35px;
  }

  .function-item:nth-child(3) {
    margin-top: 30px;
  }

  .function-item__image {
    width: 60%;
  }

  .function-item__title,
  .function-item__text {
    margin-top: 25px;
  }

  .function-item__text {
    line-height: 1.4;
  }
}

.floating-contact {
  position: sticky;
  bottom: 0;
  z-index: 5;
  display: flex;
  justify-content: center;
  margin-inline: auto;
  padding-bottom: 30px;
  pointer-events: none;
}

.floating-contact__button {
  pointer-events: auto;
}

@media (width <= 750px) {
  .floating-contact {
    width: 60%;
    padding-bottom: 15px;
  }
}

.support {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  height: 360px;
  margin-top: 120px;
  padding-inline: 40px;
  background: var(--color-primary) url("../images/cta-bg.jpg") center / cover no-repeat;
  color: #fff;
  text-align: center;
}

.support__title {
  font-size: 56px;
  font-weight: 700;
  line-height: 70px;
}

.support__text {
  font-size: 22px;
  font-weight: 500;
}

@media (width <= 1000px) {
  .support {
    height: 300px;
  }

  .support__title {
    font-size: 40px;
  }

  .support__text {
    font-size: 20px;
    line-height: 1.4;
  }
}

@media (width <= 750px) {
  .support__title {
    font-size: 5.33vw;
  }

  .support__text {
    font-size: 2.4vh;
  }
}

@media (width <= 540px) {
  .support {
    gap: 5px;
    height: 135px;
    margin-top: 60px;
    padding-inline: 0;
    background-image: url("../images/cta-bg-sp.jpg");
  }

  .support__title {
    line-height: 1.4;
  }

  .support__text {
    font-size: 3.2vw;
  }
}

.contact {
  display: flow-root;
  padding-bottom: 70px;
  background: var(--color-gray);
}

.contact__inner {
  width: 1360px;
  max-width: 100%;
  margin-inline: auto;
  padding-inline: 40px;
}

.contact__card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-top: 62px;
  padding: 71px 62px 65px;
  border-radius: 40px;
  background: #fff;
}

.contact__content {
  display: flex;
  flex: none;
  flex-direction: column;
  align-items: flex-start;
  width: 74%;
}

.contact__title {
  margin-top: 45px;
  font-size: 50px;
  font-weight: 700;
}

.contact__text {
  margin-top: 45px;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.5;
}

.contact__button {
  margin-top: 60px;
}

.contact__visual {
  position: relative;
  z-index: 1;
  flex: none;
  width: 280px;
}

@media (width <= 1000px) {
  .contact__card {
    flex-direction: column-reverse;
    align-items: center;
    padding-bottom: 62px;
  }

  .contact__content {
    width: 94%;
  }

  .contact__title {
    line-height: 1.5;
  }

  .contact__text {
    margin-top: 65px;
  }

  .contact__button {
    align-self: center;
    margin-top: 50px;
  }

  .contact__visual {
    width: 40%;
  }
}

@media (width <= 750px) {
  .contact__content {
    width: 100%;
  }

  .contact__title {
    margin-top: 10px;
    font-size: 6.26vw;
  }

  .contact__text {
    margin-top: 33px;
    font-size: 3.2vw;
  }

  .contact__button {
    width: 60%;
    font-size: 4vw;
  }

  .contact__visual {
    width: 50%;
  }
}

@media (width <= 540px) {
  .contact {
    padding-bottom: 25px;
  }

  .contact__inner {
    padding-inline: 18px;
  }

  .contact__card {
    margin-top: 25px;
    padding: 10px 30px 29px;
    border-radius: 20px;
  }

  .contact__text {
    margin-top: 10px;
  }

  .contact__button {
    width: 72%;
    margin-top: 30px;
    padding-block: 17px;
  }

  .contact__visual {
    width: 55%;
  }
}

.site-footer {
  padding: 65px 0 12px;
  color: var(--color-primary);
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  width: 1360px;
  max-width: 100%;
  margin-inline: auto;
  padding-inline: 40px;
}

.site-footer__logo {
  display: block;
  flex: none;
  width: 230px;
}

.site-footer__logo img {
  width: 100%;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0 30px;
  font-feature-settings: "palt";
  font-size: 18px;
  font-weight: 700;
  line-height: 1.75;
}

.site-footer__link:hover {
  text-decoration: underline;
}

.site-footer__copyright {
  margin-top: 53px;
  padding: 15px 40px 0;
  border-top: 1px solid var(--color-primary);
  font-feature-settings: "palt";
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
}

.site-footer__copyright small {
  font-size: inherit;
}

@media (width <= 750px) {
  .site-footer {
    padding: 54px 0 16px;
  }

  .site-footer__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 52px;
  }

  .site-footer__logo {
    width: 32.5vw;
  }

  .site-footer__links {
    flex-direction: column;
    gap: 30px 20px;
    font-size: 2.4vw;
  }

  .site-footer__copyright {
    margin-top: 42px;
    padding-top: 14px;
    font-size: 2.4vw;
    text-align: left;
  }
}

@media (width <= 540px) {
  .site-footer {
    padding: 25px 0 8px;
  }

  .site-footer__inner {
    gap: 26px;
    padding-inline: 35px 16px;
  }

  .site-footer__links {
    gap: 10px 20px;
  }

  .site-footer__copyright {
    margin-top: 21px;
    padding: 7px 16px 0 35px;
  }
}

.page {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 1360px;
  max-width: 100%;
  margin-inline: auto;
  padding: 150px 40px;
}

.page__title {
  width: 100%;
  font-size: 64px;
  font-weight: 700;
  line-height: 70px;
  text-align: center;
}

.contact-form {
  width: 70%;
  margin-top: 100px;
}

.legal {
  width: 100%;
  margin-top: 150px;
  font-size: 18px;
  line-height: 1.6;
}

.legal > p + p,
.legal section > * + * {
  margin-top: 1.6em;
}

.legal > section + section,
.legal > p + section {
  margin-top: 50px;
}

.legal h2 {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
}

.legal section > h2 + * {
  margin-top: 10px;
}

.legal ol {
  padding-left: 0;
  list-style-position: inside;
}

.legal li > ul {
  margin-block: 1.6em;
}

.legal__bullets li::before {
  content: "・";
}

.legal a {
  text-decoration: underline;
  transition: opacity 0.2s;
}

.legal a:hover {
  opacity: 0.7;
}

.legal section > .legal__attached-list,
.legal section > .legal__links,
.legal section > .legal__info,
.legal section > .legal__contact {
  margin-top: 0;
}

.legal__info div {
  display: flex;
}

.legal__info dt::after {
  content: "：";
}

.legal__info dd {
  margin: 0;
}

@media (width <= 1000px) {
  .contact-form {
    width: 80%;
    margin-top: 80px;
  }
}

@media (width <= 750px) {
  .page {
    padding-block: 100px;
  }

  .page__title {
    font-size: 6.4vw;
  }

  .contact-form {
    width: 90%;
    margin-top: 40px;
  }

  .legal {
    margin-top: 100px;
    font-size: 2.4vw;
  }

  .legal h2 {
    font-size: 3.2vw;
  }
}

@media (width <= 540px) {
  .page {
    padding: 50px 30px;
  }

  .contact-form {
    width: 100%;
  }

  .legal {
    margin-top: 50px;
    font-size: 3.2vw;
  }

  .legal > section + section,
  .legal > p + section {
    margin-top: 30px;
  }

  .legal h2 {
    font-size: 4.26vw;
  }
}
