/* ==================== */
/* CSS Variables */
/* ==================== */
:root {
  --miraio-blue: #008cfa;
  --miraio-blue-dark: #006ccb;
  --put-blue: #3252b0;
  --grad-blue: linear-gradient(#2275c3 0%, #1b3b98 100%);
  --grad-orange: linear-gradient(#ffb45d 0%, #ff9c40 100%);
  --skyblue: #e1f5ff;
  --paleblue: #e8f0f7;
  --grad-slyblue: linear-gradient(180deg, #e8f4fc 0%, #f0f8fd 100%);
  --white: #ffffff;
  --black: #2d2d2d;
  --black-dark: #222222;
  --lightgray: #f5f8fc;
  --gray-t: #f2f2f2;
  --gray-light: #f2f2f2;
  --gray: #cccccc;
  --orange: #ff9a3d;
  --orange-light: #ffb84d;
  --color-shadow: rgb(0 0 0 / .16);
  --color-shadow-solid-blue: rgb(0 140 250 / .25);
  --font-english: "Jost", sans-serif;
}

/* ==================== */
/* Reset & Base */
/* ==================== */
html {
  scroll-behavior: smooth;
}

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

body {
  font-family: "Zen Kaku Gothic New", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  color: var(--black);
  line-height: 1.6;
}

p,
.about__desc,
.reliability__sub,
.flow__sub,
.contact__sub,
.comparison__text,
.cases__text,
.reasons__card-desc {
  font-size: 14px;
}
@media (min-width: 768px) {
  p {
    font-size: 16px;
  }
}

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

.onlyinlinesp {
  display: inline;
}
@media (min-width: 768px) {
  .onlyinlinesp {
    display: none;
  }
}
.onlyinlinepc {
  display: none;
}
@media (min-width: 768px) {
  .onlyinlinepc {
    display: inline;
  }
}

.cta {
  position: relative;
  height: calc((100vw / 375px) * 59px);
}
.cta__button {
  position: absolute;
  bottom: calc((100vw / 381px) * -30px);
  margin: auto;
  right: 0;
  left: 0;
  z-index: 2;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  white-space: nowrap;
  background-image: var(--grad-orange);
  color: var(--white);
  padding: 14px 36px;
  width: max-content;
  max-width: 100%;
  min-height: calc((100vw / 375px) * 59px);
  border-radius: calc((100vw / 375px) * 30px);
  font-size: calc((100vw / 375px) * 14px);
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(255, 154, 61, 0.3);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
  line-height: 1.25;
}
.cta__buttonimage {
  display: none;
  position: absolute;
  left: 0;
  bottom: calc((100vw / 375px) * 12px);
  width: calc((100vw / 375px) * 65px);
  height: calc((100vw / 375px) * 54px);
}
/* CTA文字はSPでも改行させない（onlyinlinespのbrを無効化） */
.cta__button br {
  display: none;
}
.cta__buttonicon {
  display: grid;
  position: absolute;
  right: calc((100vw / 375px) * 17px);
  top: 0;
  bottom: 0;
  margin: auto;
  place-content: center;
  width: calc((100vw / 375px) * 17px);
  height: calc((100vw / 375px) * 17px);
  background-color: var(--white);
  border-radius: calc((100vw / 375px) * 18px);
  box-shadow: 0 3px 3px 0 var(--color-shadow);
  img {
    width: calc((100vw / 375px) * 4px);
  }
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(255, 154, 61, 0.4);
}

@media (min-width: 768px) {
  .cta {
    height: calc((100vw / 1440px) * 96px);
  }
  .cta__button {
    bottom: calc((100vw / 1440px) * -48px);
    padding: calc((100vw / 1440px) * 30px) 0 calc((100vw / 1440px) * 34px) calc((100vw / 1440px) * 90px);
    width: calc((100vw / 1440px) * 756px);
    height: calc((100vw / 1440px) * 96px);
    min-height: 0;
    border-radius: 50px;
    font-size: calc((100vw / 1440px) * 28px);
  }
  .cta__buttonimage {
    display: block;
    width: calc((100vw / 1440px) * 130px);
    height: calc((100vw / 1440px) * -109px);
    bottom: calc((100vw / 1440px) * 120px);
  }
  .cta__buttonicon {
    right: calc((100vw / 1440px) * 32px);
    width: calc((100vw / 1440px) * 34px);
    height: calc((100vw / 1440px) * 34px);
    border-radius: calc((100vw / 1440px) * 18px);
    img {
      width: calc((100vw / 1440px) * 10px);
    }
  }
  .cta__button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 154, 61, 0.4);
  }
}

@media (min-width: 1440px) {
  .cta {
    height: 96px;
  }
  .cta__buttonimage {
    width: 130px;
    height: -109px;
    bottom: 120px;
  }
  .cta__button {
    bottom: -48px;
    padding: 30px 0 34px 90px;
    width: 756px;
    height: 96px;
    border-radius: 50px;
    font-size: 28px;
  }
  .cta__buttonicon {
    right: 32px;
    width: 34px;
    height: 34px;
    border-radius: 18px;
    img {
      width: 10px;
    }
  }
  .cta__button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 154, 61, 0.4);
  }
}

/* セクション内に収めるCTA（ボタンをはみ出させない in-flow 版）。FV下以外で使用 */
.cta.cta--inline {
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
}
.cta.cta--inline .cta__button {
  position: relative;
  bottom: auto;
  left: auto;
  right: auto;
  margin: 0;
  flex: 0 0 auto;
}
/* 追加した2箇所（トーク例下・他社比較下）は上下をさらに広く */
.cta.cta--inline.cta--wide {
  padding-top: 72px;
  padding-bottom: 72px;
}
@media (min-width: 768px) {
  .cta.cta--inline {
    padding: 56px 20px;
  }
  .cta.cta--inline.cta--wide {
    padding-top: 104px;
    padding-bottom: 104px;
  }
}


/* ==================== */
/* Header */
/* ==================== */
.header {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header__container {
  margin: 0 auto;
  padding: 18px 13px 18px 21px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header__logo {
  width: 120px;
}
.header__buttons {
  display: flex;
  gap: 8px;
}
.header__button {
  position: relative;
  height: 40px;
  width: 100px;
  padding: 14px 0;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  line-height: 1;
}
.header__buttonicon {
  display: none;
}
.header__button--primary {
  background-color: var(--put-blue-dark);
  background-image: var(--grad-blue);
  color: var(--white);
}
.header__button--primary:hover {
  background-image: none;
  background-color: var(--miraio-blue-dark);
}
.header__button--secondary {
  background: var(--miraio-blue);
  color: var(--white);
}
.header__button--secondary:hover {
  background: var(--miraio-blue-dark);
}
@media (min-width: 768px) {
  .header__container {
    padding: 14px 50px;
  }
  .header__logo {
    width: 170px;
  }
  .header__buttons {
    gap: 16px;
  }

  .header__button {
    height: 48px;
    width: 200px;
    padding: 16px 32px;
    border-radius: 24px;
    font-size: 16px;
    line-height: 1;
  }
  .header__buttonicon {
    display: grid;
    position: absolute;
    right: 16px;
    top: 0;
    bottom: 0;
    margin: auto;
    place-content: center;
    width: 24px;
    height: 24px;
    background-color: var(--white);
    border-radius: 13px;
    box-shadow: 0 3px 3px 0 var(--color-shadow);
  }
}

/* ==================== */
/* Hero Section */
/* ==================== */
.hero {
  background-color: var(--skyblue);
  background-image: url(../images/hero_pc.png);
  background-repeat: no-repeat;
  background-position: calc((100vw / 375px) * -367px) top;
  background-size: cover;
  padding: 20px 0 80px;
  height: auto;
  min-height: calc((100vw / 375px) * 386px);
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  .cta {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
  }
}

.hero__container {
  margin: 0 auto;
  padding: 0 calc((100vw / 375px) * 22px);
  display: flex;
  align-items: center;
  gap: calc((100vw / 375px) * 20px);
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
@media (min-width: 768px) {
  .hero__content {
    flex-direction: row;
    justify-content: center;
    gap: 40px;
  }
}
.hero__content--image {
  width: 80%;
  max-width: 400px;
}
@media (min-width: 768px) {
  .hero__content--image {
    max-width: 600px;
  }
}
.hero__content--inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.hero__title {
  font-weight: bold;
  line-height: 1;
}

.hero__title-line0 {
  font-size: calc((100vw / 375px) * 13px);
  display: inline-block;
  letter-spacing: -0.07em;
  line-height: 1.2;
  em {
    font-style: normal;
    font-size: calc((100vw / 375px) * 15px);
    background-image: var(--grad-blue);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}
.hero__title-line1 {
  display: inline-block;
  padding-top: calc((100vw / 375px) * 14px);
  font-size: calc((100vw / 375px) * 20px);
  em {
    font-style: normal;
    background-image: var(--grad-blue);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  span {
    color: var(--black);
    font-size: calc((100vw / 375px) * 54px);
  }
}

.hero__title-line2 {
  color: var(--black);
  display: inline-block;
  letter-spacing: -0.07em;
  font-size: calc((100vw / 375px) * 30px);
  line-height: 1.5;
  em {
    font-style: normal;
  }
}
.hero__title-highlight {
  display: inline-flex;
  justify-content: center;
  align-items: baseline;
  background: var(--put-blue);
  color: var(--white);
  padding: 0 calc((100vw / 375px) * 10px);
  border-radius: 6px;
  height: calc((100vw / 375px) * 47px);
  letter-spacing: 0;
  margin: calc((100vw / 375px) * 12px) 0 0  calc((100vw / 375px) * 11px);
}


.hero__achievement {
  display: flex;
  justify-content: center;
  margin-top: calc((100vw / 375px) * 14px);
  flex-wrap: wrap;
  img {
    width: calc((100vw / 375px) * 321px);
    max-width: calc((100vw / 375px) * 321px);
  }
}

@media (min-width: 768px) {
  .hero {
    background-image: url(../images/hero_pc.png);
    background-position: center;
    background-size: cover;
    padding: calc((100vw / 1440px) * 60px) 0 0;
    height: calc((100vw / 1440px) * 700px);
    min-height: auto;
  }

  .hero__container {
    max-width: 1440px;
    margin-top: -60px;
    padding: 0 calc((100vw / 1440px) * 50px);
    gap: calc((100vw / 1440px) * 60px);
  }

  .hero__title {
    font-weight: bold;
    line-height: 1;
    margin-bottom: calc((100vw / 1440px) * 32px);
  }

  .hero__title-line0 {
    letter-spacing: 0;
    font-size: calc((100vw / 1440px) * 26px);
    em {
      font-size: calc((100vw / 1440px) * 33px);
    }
  }
  .hero__title-line1 {
    padding-top: calc((100vw / 1440px) * 18px);
    font-size: calc((100vw / 1440px) * 64px);
    letter-spacing: -0.08em;
    em {
      font-size: inherit;
    }
  }

  .hero__title-highlight {
    padding: calc((100vw / 1440px) * 16px);
    border-radius: 16px;
    width: calc((100vw / 1440px) * 465px);
    height: calc((100vw / 1440px) * 124px);
    margin:  calc((100vw / 1440px) * 21px) calc((100vw / 1440px) * 17px) 0;
    font-size: calc((100vw / 1440px) * 88px);
    line-height: 1;
    em {
      font-size: calc((100vw / 1440px) * 108px);
    }
  }

  .hero__title-line2 {
    color: var(--black);
    display: inline-block;
    font-size: calc((100vw / 1440px) * 87px);
    letter-spacing: -0.1em;
  }

  .hero__achievement {
    display: flex;
    justify-content: flex-start;
    margin-top: calc((100vw / 1440px) * 40px);
    flex-wrap: wrap;
    img {
      width: calc((100vw / 1440px) * 698px);
      max-width: 698px;
    }
  }
}

@media (min-width: 1440px) {
  .hero {
    padding: 0;
    height: 700px;
  }

  .hero__container {
    max-width: 100%;
    width: 100%;
    padding: 0 50px;
    gap: 60px;
    justify-content: center;
  }

  .hero__title {
    margin-bottom: 32px;
  }

  .hero__title-line0 {
    font-size: 26px;
    em {
      font-size: 33px;
    }
  }
  .hero__title-line1 {
    padding-top: 18px;
    font-size: 64px;
  }

  .hero__title-highlight {
    padding-top: 12px;
    width: 465px;
    height: 124px;
    margin: 21px 17px;
    font-size: 88px;
    em {
      font-size: 108px;
    }
  }

  .hero__title-line2 {
    font-size: 86px;
  }

  .hero__achievement {
    margin-top: 40px;
    img {
      width: 760px;
      max-width: 760px;
    }
  }
}

/* ==================== */
/* Hero KV image：kv.jpg(PC) / kv_sp.jpg(SP) を幅フィット・アスペクト比維持で出し分け。
   旧hero(背景画像・固定高さ・flex中央寄せ)を打ち消す上書き。後勝ちで全幅に適用。 */
.hero {
  background: var(--skyblue);
  padding: 0;
  height: auto;
  min-height: 0;
  display: block;
  position: relative;
  /* overflow:hidden は付けない（上に重ねたCTAが切れるため）。横はみ出しは .hero__kv 側でクリップ。 */
}
.hero__kv {
  display: flex;
  justify-content: center;
  margin: 0;
  font-size: 0;
  line-height: 0;
  overflow: hidden; /* 1200px維持時の画像左右はみ出しをここでクリップ→ページ横スクロールを防止 */
}
.hero__kv img {
  display: block;
  width: 100%;
  height: auto;
}
@media (min-width: 768px) {
  /* PCは1080pxより縮小しない（中央寄せ・はみ出しは左右均等） */
  .hero__kv img {
    min-width: 1080px;
  }
}
.hero .cta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
}

/* ==================== */
/* Lead Section */
/* ==================== */
.lead {
  padding: calc((100vw / 375px) * 80px) 0 0;
  background: var(--white);
  position: relative;
  /*
  &::after {
    position: absolute;
    margin: auto;
    right: 0;
    left: 0;
    transform: translateX(20px);
    bottom: -5px;
    content: "";
    display: block;
    width: 201px;
    height: 265px;
    background-image: url("../images/lead-image-footer.png");
    background-size: cover;
  }
  */
}
.lead__wrapper {
  display: grid;
  gap: 40px;
  padding: 0 20px;
}
.lead__title {
  font-size: 26px;
  font-weight: bold;
  color: var(--black);
  line-height: 1.6;
  text-align: center;
  letter-spacing: normal;
  margin: 0 auto;
  strong {
    letter-spacing: 0;
    font-weight: bold;
  }
}
.lead__subtitle {
  font-size: 22px;
  font-weight: bold;
  color: var(--black);
  line-height: 1.4;
  text-align: center;
  letter-spacing: normal;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .lead__subtitle {
    font-size: 36px;
  }
}
.lead__title-highlight {
  background-image: var(--grad-blue);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.lead__title-small {
  font-size: 0.65em;
}
.lead__title-logo {
  width: 130px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 4px;
  margin-top: -8px;
}
@media (min-width: 768px) {
  .lead__title-logo {
    width: 220px;
    margin-top: -8px;
  }
}
.lead__sub {
  font-weight: 500;
  letter-spacing: 0.05em;
}
.lead__cursor {
  width: 100px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .lead__cursor {
    width: 200px;
  }
}
.lead__marquee {
  position: relative;
  overflow: hidden;
  height: 120px;
  margin-top: 80px;
  font-family: var(--font-english);
  font-weight: 100;
  color: var(--put-blue);
  opacity: .3;
  p {
    position: absolute;
    bottom: .4em;
    left: 0;
    font-size: 70px;
    width: 2372px;
    font-family: var(--font-english);
    line-height: 1;
    animation: marquee-sp 20s linear infinite;
    text-shadow: 1186px 0 0 var(--put-blue);
    will-change: transform;
  }
}

@media (min-width: 768px) {
  .lead {
    padding: 170px 0 0;
    /*
    &::after {
      width: 402px;
      height: 529px;
      background-image: url("../images/lead-image-footer.png");
      background-size: cover;
    }
    */
  }
  .lead__text {
    max-width: 1200px;
    margin: 0 auto 60px;
  }
  .lead__title {
    font-size: 56px;
    line-height: 1.4;
  }
  .lead__sub {
    text-align: center;
  }
  .lead__image {
    width: 100%;
    max-width: 700px;
    margin: 40px auto 0;
  }
  .lead__marquee {
    height: 240px;
    /*margin-top: 240px;*/
    p {
      width: 4744px;
      font-size: 140px;
      text-shadow: 2372px 0 0 var(--put-blue);
      animation: marquee-pc 20s linear infinite;
    }
  }
}
@keyframes marquee-sp {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-1186px);
  }
}
@keyframes marquee-pc {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-2372px);
  }
}


/* ==================== */
/* Reasons Section */
/* ==================== */
.reasons {
  padding: 70px 20px;
  background-color: var(--skyblue);
  background-image: url("../images/background-reason.svg");
  background-position: bottom right;
  background-size: 230px;
  background-repeat: no-repeat;
  border-radius: 32px 32px 0 0;
}
.reasons__container {
  margin: 0 auto;
}
.reasons__title {
  font-size: 28px;
  font-weight: bold;
  text-align: center;
  color: var(--black);
  margin-bottom: 32px;
  line-height: 1.5;
  em {
    font-style: normal;
  }
}
.reasons__title-logo {
  width: 147px;
  vertical-align: sub;
  display: inline-block;
  margin-right: 4px;
}
.reasons__title-highlight {
  background-image: var(--grad-blue);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.reason__emphasis1 {
  font-size: 36px;
}
.reason__emphasis2 {
  font-size: 48px;
}
.reasons__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.reasons__card {
  position: relative;
  z-index: 1;
  background: var(--white);
  border-radius: 40px;
  padding: 32px 20px 20px;
  box-shadow: 0 5px 0 0 var(--color-shadow-solid-blue);
}
.reasons__badge {
  position: absolute;
  top: -10px;
  left: -10px;
  z-index: 2;
  display: grid;
  place-content: center;
  width: 60px;
  height: 60px;
  background-color: var(--put-blue);
  color: var(--white);
  padding: 12px;
  text-align: center;
  border-radius: 50px;
  font-family: var(--font-english);
  margin: 0;
}
.reasons__badgeicon {
  position: absolute;
  left: -10px;
  top: -10px;
  width: 20px;
  height: 20px;
}

.reasons__badgetext {
  font-size: 10px;
}
.reasons__badgenumber {
  font-size: 20px;
  line-height: 1;
}
.reasons__card-title {
  display: block;
  font-size: 28px;
  font-weight: bold;
  background-image: var(--grad-blue);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
  span {
    border-bottom: 3px solid var(--put-blue);
  }
}
.reasons__card-inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
}
.reasons__card-image {
  margin-top: 16px;
  border-radius: 16px;
  height: auto;
}
.reasons__card-image img {
  width: 100%;
  height: auto;
}
.reasons__card-subtitle {
  font-size: 18px;
  font-weight: bold;
  color: var(--black);
  em {
    font-style: normal;
    background-image: var(--grad-blue);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}
.reasons__card-desc {
  margin-top: 16px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.8;
}
@media (min-width: 768px) {
  .reasons__card-desc {
    font-size: 16px;
  }
}

@media (min-width: 768px) {
  .reasons {
    padding: 140px 40px 160px;
    border-radius: 80px 80px 0 0;
    background-size: 460px;
  }
  .reasons__container {
    max-width: 1020px;
  }
  .reasons__title {
    font-size: 36px;
    margin-bottom: 56px;
    em {
      margin-top: 20px;
    }
  }
  .reasons__title-logo {
    width: 295px;
  }
  .reason__emphasis1 {
    font-size: 56px;
  }
  .reason__emphasis2 {
    font-size: 88px;
    .reasons__title-highlight {
      font-size: 98px;
    }
  }
  .reasons__list {
    gap: 32px;
  }
  .reasons__card {
    padding: 48px 40px;
    border-radius: 40px;
    align-items: center;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 60% 1fr;
    gap: 40px;
    box-shadow: 0 10px 0 0 var(--color-shadow-solid-blue);
  }
  .reasons__badge {
    width: 82px;
    height: 82px;
    border-radius: 50px;
    top: -24px;
    left: -24px;
    font-weight: 500;
    &::after {
      width: 24px;
      height: 82px;
      top: 10px;
      left: 0;
      z-index: -1;
    }
  }
  .reasons__badgeicon {
    position: absolute;
    left: -20px;
    top: -20px;
    width: 40px;
    height: 40px;
    img {
      filter: drop-shadow(0px 10px 0 rgba(0, 140, 250,.3)); 
    }
  }
  .reasons__badgetext {
    font-size: 13px;
  }
  .reasons__badgenumber {
    font-size: 30px;
  }
  .reasons__card-title {
    font-size: 32px;
    text-align: left;
  }
  .reasons__card-content {
    gap: 40px;
  }
  .reasons__card-image {
    margin-top: 0;
    img {
      width: 100%;
      height: auto;
    }
  }
  .reasons__card-subtitle {
    font-size: 20px;
    margin-bottom: 24px;
    em {
      font-style: normal;
    }
  }
}

/* ==================== */
/* Reliability Section */
/* ==================== */
.reliability {
  padding: 80px 20px 0;
}
.reliability__container {
  display: grid;
  gap: 40px;
}
.reliability__title {
  font-size: 32px;
  font-weight: bold;
  color: var(--black);
  line-height: 1.5;
  text-align: center;
  letter-spacing: normal;
  margin: 0 auto;
  em {
    background-image: var(--grad-blue);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-style: normal;
  }
}
.reliability__title-logo {
  width: 180px;
  vertical-align: sub;
  display: inline-block;
  margin-right: 8px;
}
.reliability__text {
  display: grid;
  gap: 16px;
}
.reliability__sub {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .05em;
  line-height: 1.6;
  strong {
    display: block;
    text-align: center;
    /* SP・iPad mini でも1行に収まるよう可変フォント＋折り返し禁止 */
    white-space: nowrap;
    font-size: clamp(16px, 5vw, 48px);
    font-feature-settings: "palt";
  }
  em {
    font-style: normal;
    background-image: var(--grad-blue);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}
@media (min-width: 768px) {
  .reliability {
    padding: 160px 40px 0;
  }
  .reliability__container {
    gap: 70px;
  }
  .reliability__title {
    font-size: 36px;
    em {
      font-size: 56px;
    }
  }
  .reliability__title-logo {
    width: 295px;
  }
  .reliability__sub {
    font-size: 16px;
    margin-bottom: 24px;
    text-align: center;
  }
  .reliability__image {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
  }
}

/* ==================== */
/* Points Section */
/* ==================== */
.points {
  background-image: var(--grad-blue);
  .cta {
    height: 0;
  }
}
.points__container {
  margin: 0 auto;
  padding: 64px 0;
  overflow: hidden;
  position: relative;
  &::before {
    content: "";
    display: block;
    width: calc((100vw / 375px) * 620px);
    height: calc((100vw / 375px) * 410px);
    background-image: url("../images/background-point1.svg");
    background-size: cover;
    position: absolute;
    top: calc((100vw / 375px) * -60px);
    left: calc((100vw / 375px) * -204px);
    right: calc((100vw / 375px) * -131px);
    margin: auto;
    mix-blend-mode: multiply;
  }
  &::after {
    content: "";
    display: block;
    width: calc((100vw / 375px) * 400px);
    height: calc((100vw / 375px) * 200px);
    background-image: url("../images/background-point2.svg");
    background-size: cover;
    position: absolute;
    bottom: calc((100vw / 375px) * -90px);
    left: calc((100vw / 375px) * -180px);
    margin: auto;
    mix-blend-mode: multiply;
  }
}
.points__title {
  position: relative;
  font-size: 45px;
  display: grid;
  place-items: center;
  margin-bottom: 40px;
  line-height: 1;
  color: var(--white);
}
.points__title-line1 {
  display: block;
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 12px;
  text-align: center;
}
.points__title-deco {
  font-weight: 300;
  margin: 0 0.3em;
  display: inline-block;
}
.points__title-number {
  font-size: 91px;
  color: var(--orange);
  font-family: var(--font-english);
  font-weight: 700;
}
.points__list {
  display: grid;
  gap: 20px;
  margin-top: 30px;
}
.points__item {
  position: relative;
  background-color: var(--white);
  overflow: hidden;
  img {
    width: 100%;
  }
  &::after {
    position: absolute;
    bottom: -300px;
    left: -100vw;
    right: -100vw;
    margin: auto;
    z-index: 1;
    content: "";
    width: 600px;
    height: 600px;
    border-radius: 50%;
    display: block;
    background-color: var(--lightgray);
  }
}
.points__item:nth-child(odd) {
  border-radius: 0 28px 28px 0;
  margin-right: 20px;
}
.points__item:nth-child(even) {
  border-radius: 28px 0 0 28px;
  margin-left: 20px;
}
.points__item:nth-child(1) {
  .points__item-content {
    justify-content: flex-end;
  }
  .points__item-text {
    padding: 40px 20px 20px 40px;
  }
  .points__item-image {
    width: 234px;
  }
}
.points__item:nth-child(2) {
  .points__item-content {
    justify-content: flex-start;
  }
  .points__item-text {
    padding: 40px 40px 20px 20px;
  }
  .points__item-image {
    width: 234px;
  }
}
.points__item:nth-child(3) {
  .points__item-content {
    justify-content: flex-end;
  }
  .points__item-text {
    padding: 40px 20px 20px 40px;
  }
  .points__item-image {
    width: 211px;
  }
}
.points__item:nth-child(4) {
  .points__item-content {
    justify-content: flex-start;
  }
  .points__item-text {
    padding: 40px 40px 20px 20px;
  }
  .points__item-image {
    width: 184px;
  }
}
.points__item-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-family: var(--font-english);
  font-weight: 700;
  line-height: 1;
  text-align: center;
}
.points__item-label {
  font-size: 24px;
  color: var(--black);
}
.points__item-number {
  position: relative;
  font-size: 50px;
  background-image: var(--grad-blue);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  &::before {
    left: -10px;
    top: -10px;
    position: absolute;
    content: "";
    width: 20px;
    display: block;
    height: 12px;
    background-image: url("../images/icon-point.svg");
    background-size: cover;
  }
}
.points__item-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: flex-start;
}
.points__item-title {
  font-size: 26px;
  font-weight: bold;
  line-height: 1.6;
  margin-bottom: 20px;
}
.points__item-title-highlight {
  background-image: var(--grad-blue);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.points__item-desc {
  font-size: 14px;
  font-weight: bold;
  color: var(--black);
  line-height: 1.8;
}
@media (min-width: 768px) {
  .points__item-desc {
    font-size: 16px;
  }
}
.points__item-text {
  position: relative;
  z-index: 2;
}
.points__item-image {
  position: relative;
  z-index: 2;
  margin: 0 auto;
  padding-bottom: 40px;
  height: 280px;
  img {
    position: absolute;
    bottom: 40px;
  }
}
@media (min-width: 768px) {
  .points {
    padding: 0;
  }
  .points__container {
    padding: 80px 0 160px;
    &::before {
      width: calc((100vw / 1440px) * 3107px);
      height: calc((100vw / 1440px) * 2050px);
      top: calc((100vw / 1440px) * -418px);
      left: calc((100vw / 1440px) * -1138px);
      right: calc((100vw / 1440px) * -527px);
    }
    &::after {
      width: calc((100vw / 1440px) * 1302px);
      height: calc((100vw / 1440px) * 658px);
      bottom: calc((100vw / 1440px) * -300px);
      left: calc((100vw / 1440px) * -550px);
    }

  }
  .points__title {
    font-size: 62px;
  }
  .points__title-line1 {
    width: auto;
    font-size: 28px;
    margin-bottom: 16px;
  }
  .points__title-number {
    font-size: 125px;
  }
  .points__list {
    margin-top: 60px;
    gap: 40px;
  }
  .points__item {
    display: flex;
    align-items: center;
    min-height: 480px;
    &::after {
      top: calc((100vw / 1440px) * -1000px);
      bottom: calc((100vw / 1440px) * -1000px);
      left: auto;
      right: auto;
      width: calc((100vw / 1440px) * 1000px);
      height: calc((100vw / 1440px) * 1000px);
    }
  }
  .points__item:nth-child(odd) {
    border-radius: 0 56px 56px 0;
    margin-right: 40px;
    padding-left: 40px;
  }
  .points__item:nth-child(even) {
    border-radius: 56px 0 0 56px;
    margin-left: 40px;
    padding-right: 40px;
  }
  .points__item-content {
    flex-direction: row;
    gap: 40px;
    width: calc(100vw - 80px);
    max-width: 1280px;
    align-items: center;
  }
  .points__item-title {
    font-size: 30px;
    text-align: center;
    font-weight: bold;
    line-height: 1.6;
    margin-bottom: 30px;
  }
  .points__item-text {
    width: calc((100vw / 1280px) * 680px);
    max-width: 588px;
    line-height: 2;
  }
  .points__item-image {
    height: 480px;
    padding-bottom: 0;
    img {
      top: 0;
      bottom: 0;
      left: 0;
      right: 0;
      margin: auto;
    }
  }
  .points__item:nth-child(1) {
    &::after {
      left: calc((100vw / 1280px) * 670px);
    }
    .points__item-text {
      /* タイトル「一次受付の自動テキスト化・即時通知」を1行に収めるため左右paddingを詰める */
      padding: 40px 12px;
    }
    .points__item-image {
      width: calc((100vw / 1280px) * 331px);
    }
  }
  .points__item:nth-child(2) {
    &::after {
      right: calc((100vw / 1280px) * 670px);
    }
    .points__item-content {
      flex-direction: row-reverse;
    }
    .points__item-text {
      padding: 40px;
    }
    .points__item-image {
      width: calc((100vw / 1280px) * 320px);
    }    
  }
  .points__item:nth-child(3) {
    &::after {
      left: calc((100vw / 1280px) * 670px);
    }
    .points__item-text {
      /* 「AIが自律判定する有人エスカレーション」を1行に収めるため左右paddingを詰める */
      padding: 40px 8px;
    }
    .points__item-title {
      white-space: nowrap;
    }
    .points__item-image {
      width: calc((100vw / 1280px) * 320px);
    }
  }
  .points__item:nth-child(4) {
    &::after {
      right: calc((100vw / 1280px) * 670px);
    }
    .points__item-content {
      justify-content: flex-start;
      flex-direction: row-reverse;
    }
    .points__item-text {
      padding: 40px;
  	}
    .points__item-image {
      width: calc((100vw / 1280px) * 320px);
    }    
  }
  .points__item-header {
    margin-bottom: 30px;
  }
  .points__item-number {
    font-size: 60px;
    &::before {
      left: -20px;
      top: -13px;
      width: 28px;
      display: block;
      height: 19px;
      background-image: url("../images/icon-point.svg");
      background-size: cover;
    }
  }
  .points__item-label {
    font-size: 30px;
  }
  .points__item-title-highlight {
    background-image: var(--grad-blue);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  .points__item-desc {
    font-size: 16px;
    color: var(--black);
    line-height: 1.8;
    letter-spacing: .05em;
  }
}
@media (min-width: 1440px) {
  .points__item:nth-child(odd) {
    margin-right: calc((100vw - 1280px) / 2);
    padding-left: calc((100vw - 1280px) / 2);
  }
  .points__item:nth-child(even) {
    margin-left: calc((100vw - 1280px) / 2);
    padding-right: calc((100vw - 1280px) / 2);
  }
  .points__item-text {
    max-width: 668px;
  }
  .points__item:nth-child(1) {
    .points__item-text {
      /* タイトル「一次受付の自動テキスト化・即時通知」を1行に収めるため左右paddingを詰める */
      padding: 80px 24px;
    }
    .points__item-image {
      width: 600px;
      img {
        width: 467px;
      }
    }
  }
  .points__item:nth-child(2) {
    .points__item-text {
      padding: 80px;
    }
    .points__item-image {
      width: 600px;
      img {
        width: 331px;
      }
    }
  }
  .points__item:nth-child(3) {
    .points__item-text {
      padding: 80px 24px;
    }
    .points__item-image {
      width: 600px;
      img {
        width: 421px;
      }
    }
  }
  .points__item:nth-child(4) {
    .points__item-text {
      padding: 80px;
    }
    .points__item-image {
      width: 600px;
      img {
        width: 368px;
      }
    }
  }

}

/* ==================== */
/* Cases Section */
/* ==================== */
.cases {
  padding: 100px 0 40px;
  background: var(--white);
  overflow: hidden;
}

.cases__container {
  margin: 0 auto;
  padding: 0 20px;
}

.cases__header {
  position: relative;
  margin-bottom: 74px;
}
.cases__title {
  position: relative;
  text-align: center;
}
.cases__title-bg {
  position: absolute;
  top: -64px;
  right: -24px;
  left: -24px;
  width: 408px;
  font-size: 70px;
  font-family: var(--font-english);
  font-weight: 400;
  color: rgba(50, 82, 176, 0.1);
  display: block;
  margin: 0 auto;
}
.cases__title-main {
  margin-top: 40px;
  font-size: 30px;
  font-weight: bold;
  position: relative;
  z-index: 1;
}
.cases__title-highlight {
  background-image: var(--grad-blue);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.cases__sub {
  margin-top: 20px;
  letter-spacing: .05em;
  font-weight: 500;
}
.cases__list {
  display: flex;
  flex-direction: column;
  gap: 50px;
  max-width: 1280px;
  margin: 0 auto;
}

.cases__item {
  position: relative;
  border: 2px solid var(--gray);
  border-radius: 20px;
  padding: 80px 10px 0;
}

.cases__badge {
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
  top: -30px;
  background-image: var(--grad-blue);
  color: var(--white);
  width: 96px;
  height: 96px;
  border-radius: 51%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-english);
}

.cases__badge-label {
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
}
.cases__badge-number {
  font-size: 40px;
  font-weight: 500;
  line-height: 1;
}
@media (min-width: 768px) {
  .cases__badge {
    width: 113px;
    height: 113px;
  }
  .cases__badge-label {
    font-size: 24px;
  }
  .cases__badge-number {
    font-size: 50px;
  }
}
.cases__content {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
}
.cases__text {
  display: grid;
  align-items: center;
  width: 100%;
  gap: 10px;
}
.cases__company {
  font-size: 27px;
  font-weight: bold;
  background-image: var(--grad-blue);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 16px;
  text-align: center;
}
.cases__subtitle {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 16px;
}
.cases__points {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 21px;
}
.cases__point {
  padding: 12px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: bold;
  line-height: 1.6;
  border: 1px solid var(--put-blue);
}
@media (min-width: 768px) {
  .cases__point {
    font-size: 16px;
  }
}
.cases__link {
  display: inline-flex;
  margin: 0 auto;
  background-image: var(--grad-blue);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 20px;
  font-weight: bold;
  text-decoration: none;
  border-bottom: 2px solid var(--put-blue);
  padding-bottom: 4px;
  transition: opacity 0.3s;
  img {
    width: 12px;
    margin-left: 16px;
  }
}
.cases__link:hover {
  opacity: 0.7;
}
.cases__image {
  overflow: hidden;
  margin: 0 -10px;
  border-radius: 0 0 18px 18px;
}

@media (min-width: 768px) {
  .cases {
    padding: 280px 0 160px;
  }
  .cases__container {
    padding: 0 20px 0 20px;
  }
  .cases__header {
    margin-bottom: 100px;
  }
  .cases__title-bg {
    top: -130px;
    right: -80px;
    left: -80px;
    width: 991px;
    font-size: 170px;
    font-weight: 500;
    line-height: 1;
  }
  .cases__title-main {
    font-size: 40px;
  }
  .cases__sub {
    width: 660px;
    margin: 32px auto 0;
  }
  .cases__item {
    max-width: 600px;
    margin: 0 auto;
  }
  .cases__subtitle {
    font-size: 18px;
    margin-bottom: 20px;
  }
  .cases__point {
    padding: 12px 24px;
  }
  .cases__company {
    text-align: left;
    margin-bottom: 4px;
  }
  .cases__image {
    border-radius: 0 18px 18px 0;
  }
}

@media (min-width: 1440px) {
  .cases__item {
    max-width: 1200px;
    padding: 0;
    margin-left: 70px;
  }
  .cases__badge {
    left: -60px;
    right: auto;
    margin: auto;
    top: 23px;
  }
  .cases__content {
    flex-direction: row;
    align-items: stretch;
  }
  .cases__text {
    align-items: flex-start;
    padding: 30px 0 20px 74px;
  }
  .cases__points {
    margin-bottom: 24px;
  }
  .cases__link {
    margin: 0;
    font-size: 20px;
    width: 147px;
    img {
      margin-left: 30px;
    }
  }
  .cases__image {
    margin: 0;
    display: flex;
    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
  }
}

/* ==================== */
/* Comparison Section */
/* ==================== */
.comparison {
  padding: 72px 0 0;
  background-color: var(--paleblue);
  position: relative;
  overflow: hidden;
}

.comparison::after {
  content: "";
  position: absolute;
  right: 0;
  top: 250px;
  width: 280px;
  height: 244px;
  background-image: url(../images/comparison-background.svg);
  background-size: 100%;
  background-repeat: no-repeat;
}
.comparison__container {
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}
.comparison__title {
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 64px;
  display: inline-block;
  width: 100%;
  em {
    border-bottom: 1px solid var(--put-blue);
    font-size: 30px;
    font-style: normal;
  }
}

.comparison__intro {
  margin-bottom: 100px;
}

.comparison__text {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
}
@media (min-width: 768px) {
  .comparison__text {
    font-size: 16px;
  }
}

.comparison__table {
  padding: 0;
  width: 100%;
  overflow-x: hidden;
  img {
    width: 100%;
    height: auto;
  }
}
.comparison__table-image {
  height: auto;
  display: block;
}

/* HTML比較表（comparison-image.png から差し替え） */
.comparison__grid {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(50, 82, 176, 0.08);
  table-layout: fixed;
}
.comparison__th {
  padding: 14px 10px;
  font-size: 15px;
  font-weight: bold;
  text-align: center;
  color: #fff;
  background-color: #8aa0c8;
  vertical-align: middle;
}
.comparison__th--item {
  width: 22%;
  background-color: #6b7c9e;
}
.comparison__th--miraio {
  width: 28%;
  background-color: #f5923a;
  border-top: 3px solid #ef7a12;
  border-left: 3px solid #ef7a12;
  border-right: 3px solid #ef7a12;
}
.comparison__th--other {
  width: 25%;
  background-color: #8aa0c8;
}
.comparison__rowhead {
  padding: 12px 10px;
  font-size: 13px;
  font-weight: bold;
  text-align: center;
  color: var(--put-blue);
  background-color: #ccdcf1;
  border-bottom: 1px solid #fff;
  vertical-align: middle;
}
.comparison__td {
  position: relative;
  overflow: hidden;
  padding: 12px 10px;
  font-size: 13px;
  line-height: 1.55;
  text-align: center;
  color: #333;
  background-color: #f7f9fc;
  border-bottom: 1px solid #e3e9f2;
  border-left: 1px solid #e3e9f2;
  vertical-align: middle;
}
.comparison__td--miraio {
  background-color: #fff6ec;
  font-weight: 500;
  color: #4a3418;
  border-left: 3px solid #ef7a12;
  border-right: 3px solid #ef7a12;
}
.comparison__grid tbody tr:last-child .comparison__rowhead,
.comparison__grid tbody tr:last-child .comparison__td {
  border-bottom: none;
}
/* miraio列の枠を閉じる（最終行の下線を太枠で） */
.comparison__grid tbody tr:last-child .comparison__td--miraio {
  border-bottom: 3px solid #ef7a12;
}

/* 比較マーク（◎○△×）：セル文字の背景に大きく薄く敷く */
.comparison__mark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 72px;
  font-weight: bold;
  line-height: 1;
  opacity: 0.13;
  z-index: 0;
  pointer-events: none;
}
.comparison__celltext {
  position: relative;
  z-index: 1;
}
.comparison__mark--pos {
  color: #ef7a12;
}
.comparison__mark--mid {
  color: #9aa3b0;
}
.comparison__mark--neg {
  color: #d0464a;
}
.comparison__note {
  margin-top: 24px;
  font-size: 12px;
  line-height: 1.6;
  color: #666;
}

/* SP: 比較表タップ拡大 */
.comparison__zoomhint {
  display: none;
}
@media (max-width: 767px) {
  .comparison__table,
  .reliability__image {
    cursor: zoom-in;
  }
  .comparison__zoomhint {
    display: block;
    margin-top: 10px;
    font-size: 11px;
    text-align: center;
    color: var(--put-blue);
  }
}
.comparison__zoom {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(15, 25, 55, 0.88);
  padding: 20px 12px;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
.comparison__zoom.is-open {
  display: block;
}
.comparison__zoom-inner {
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow-x: auto;
}
.comparison__zoom-inner .comparison__grid {
  width: auto;
  min-width: 680px;
  margin: 0 auto;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
}
.comparison__zoom-inner .comparison__th {
  font-size: 15px;
  padding: 12px 10px;
}
.comparison__zoom-inner .comparison__rowhead,
.comparison__zoom-inner .comparison__td {
  font-size: 14px;
  padding: 12px 10px;
}
/* 画像モード（AEI図版の拡大） */
.comparison__zoom--image .comparison__zoom-inner {
  justify-content: center;
}
.comparison__zoom-img {
  display: block;
  width: 900px;
  max-width: none;
  height: auto;
  margin: auto;
  background: #fff;
  border-radius: 8px;
}
.comparison__zoom-close {
  position: fixed;
  top: 12px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: #fff;
  color: var(--put-blue);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  z-index: 1001;
}

@media (min-width: 768px) {
  .comparison__th {
    padding: 18px 16px;
    font-size: 19px;
  }
  .comparison__rowhead {
    padding: 18px 16px;
    font-size: 17px;
  }
  .comparison__td {
    padding: 18px 18px;
    font-size: 16px;
  }
}

/* Pricing（提供価格）：白背景 */
.pricing {
  padding: 72px 0 0;
  background-color: var(--put-blue-dark);
  background-image: var(--grad-blue);
  position: relative;
  overflow: hidden;
  &::before {
    content: "";
    display: block;
    width: calc((100vw / 375px) * 620px);
    height: calc((100vw / 375px) * 410px);
    background-image: url("../images/background-point1.svg");
    background-size: cover;
    position: absolute;
    top: calc((100vw / 375px) * -60px);
    left: calc((100vw / 375px) * -204px);
    right: calc((100vw / 375px) * -131px);
    margin: auto;
    mix-blend-mode: multiply;
    z-index: 0;
  }
  &::after {
    content: "";
    display: block;
    width: calc((100vw / 375px) * 400px);
    height: calc((100vw / 375px) * 200px);
    background-image: url("../images/background-point2.svg");
    background-size: cover;
    position: absolute;
    bottom: calc((100vw / 375px) * -90px);
    left: calc((100vw / 375px) * -180px);
    margin: auto;
    mix-blend-mode: multiply;
    z-index: 0;
  }
}
.pricing__container {
  margin: 0 auto;
  padding: 0 20px;
  max-width: 760px;
  position: relative;
  z-index: 1;
}
.pricing__title {
  font-size: 33px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 48px;
  color: var(--white);
  em {
    font-size: 41px;
    font-style: normal;
  }
}
.pricing__title-sub {
  display: block;
  margin-top: 4px;
  font-size: 20px;
  font-weight: 400;
}
.pricing__plan-label {
  display: block;
  width: fit-content;
  margin: 0 auto 24px;
  padding: 6px 24px;
  border-radius: 999px;
  background-image: var(--grad-orange);
  color: #fff;
  font-size: 15px;
  font-weight: bold;
  letter-spacing: 0.04em;
}
.pricing__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pricing__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 24px;
  background-color: var(--paleblue);
  border-radius: 12px;
}
.pricing__item-label {
  font-size: 18px;
  font-weight: bold;
  color: var(--put-blue);
}
.pricing__item-price {
  font-size: 22px;
  font-weight: bold;
  color: #1f2c4d;
}
.pricing__num {
  font-size: 38px;
  color: var(--orange);
  letter-spacing: 0.02em;
}
.pricing__unit {
  font-size: 16px;
  font-weight: 500;
}
.pricing__price-note {
  display: block;
  text-align: right;
  font-size: 12px;
  font-weight: 500;
  color: #666;
  margin-top: 2px;
}
.pricing__notes {
  margin-top: 24px;
  list-style: none;
  padding: 0;
  li {
    font-size: 12px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 6px;
  }
}
/* 狭い端末（〜360px想定）で料金行が折り返さないよう圧縮 */
@media (max-width: 420px) {
  .pricing__item {
    padding: 16px;
    gap: 8px;
  }
  .pricing__item-label {
    font-size: 15px;
    white-space: nowrap;
  }
  .pricing__item-price {
    font-size: 18px;
    white-space: nowrap;
  }
  .pricing__num {
    font-size: 30px;
  }
  .pricing__unit {
    font-size: 13px;
  }
}
@media (min-width: 768px) {
  .pricing {
    padding: 96px 0 0;
    &::before {
      width: calc((100vw / 1440px) * 3107px);
      height: calc((100vw / 1440px) * 2050px);
      top: calc((100vw / 1440px) * -418px);
      left: calc((100vw / 1440px) * -1138px);
      right: calc((100vw / 1440px) * -527px);
    }
    &::after {
      width: calc((100vw / 1440px) * 1302px);
      height: calc((100vw / 1440px) * 658px);
      bottom: calc((100vw / 1440px) * -300px);
      left: calc((100vw / 1440px) * -550px);
    }
  }
  .pricing__title {
    font-size: 40px;
    em {
      font-size: 50px;
    }
  }
  .pricing__title-sub {
    font-size: 26px;
  }
  .pricing__item {
    padding: 22px 32px;
  }
  .pricing__item-label {
    font-size: 22px;
  }
  .pricing__item-price {
    font-size: 26px;
  }
  .pricing__num {
    font-size: 48px;
  }
  .pricing__unit {
    font-size: 18px;
  }
  .pricing__notes li {
    font-size: 13px;
  }
}

/* Talk examples slider（実際の対応トーク例 / 指示書セクション05） */
.talk {
  padding: 100px 0 0;
  background-color: #fff;
}
.talk__container {
  margin: 0 auto;
  padding: 0 20px;
  max-width: 800px;
}
.talk__title {
  font-size: 28px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 32px;
}
.talk__tabs {
  /* SPは4タブを1行に（等幅で並べ、サイズを縮めて収める） */
  display: flex;
  flex-wrap: nowrap;
  gap: 4px;
  margin-bottom: 24px;
}
.talk__tab {
  appearance: none;
  flex: 1 1 0;
  min-width: 0;
  border: 1px solid var(--put-blue);
  background-color: #fff;
  color: var(--put-blue);
  font-size: 13px;
  font-weight: bold;
  padding: 8px 4px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  text-align: center;
  transition: background-color 0.2s, color 0.2s;
}
.talk__tab.is-active {
  background-color: var(--put-blue);
  color: #fff;
}
.talk__slider {
  position: relative;
}
.talk__viewport {
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
}
.talk__track {
  display: flex;
  transition: transform 0.4s ease;
}
.talk__slide {
  flex: 0 0 100%;
  min-width: 0;
}
.talk__slide img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}
.talk__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  appearance: none;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--put-blue);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: opacity 0.2s;
}
.talk__arrow--prev {
  left: -8px;
}
.talk__arrow--next {
  right: -8px;
}
.talk__arrow:hover {
  opacity: 0.85;
}
@media (min-width: 768px) {
  .talk {
    padding: 140px 0 0;
  }
  .talk__title {
    font-size: 36px;
  }
  .talk__tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }
  .talk__tab {
    flex: 0 1 auto;
    font-size: 15px;
    padding: 10px 22px;
  }
  .talk__slider {
    display: flex;
    align-items: center;
    gap: 24px;
  }
  .talk__viewport {
    flex: 1 1 auto;
    width: auto;
  }
  .talk__arrow {
    position: static;
    transform: none;
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    font-size: 26px;
  }
}

/* Pricing simulation（毎月のご利用料金イメージ / 指示書セクション10） */
.pricing__sim {
  margin-top: 48px;
}
.pricing__sim-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--white);
  text-align: center;
  margin-bottom: 20px;
}
.pricing__sim-premise {
  display: flex;
  align-items: stretch;
  background-color: #fff;
  border: 1px solid var(--put-blue);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 20px;
}
.pricing__sim-premise-label {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  padding: 10px 16px;
  background-color: #233a7d;
  color: #fff;
  font-size: 15px;
  font-weight: bold;
}
.pricing__sim-premise-text {
  padding: 10px 16px;
  font-size: 15px;
  line-height: 1.5;
  display: flex;
  align-items: center;
}
.pricing__sim-tablewrap {
  width: 100%;
  overflow-x: auto;
}
.pricing__sim-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(50, 82, 176, 0.08);
}
.pricing__sim-th {
  padding: 12px 10px;
  font-size: 15px;
  font-weight: bold;
  color: #fff;
  background-color: #233a7d;
  text-align: center;
}
.pricing__sim-rowhead {
  padding: 12px 10px;
  font-size: 14px;
  font-weight: bold;
  text-align: left;
  background-color: var(--paleblue);
  color: var(--put-blue);
  border-bottom: 1px solid #fff;
  white-space: nowrap;
}
.pricing__sim-td {
  padding: 12px 10px;
  font-size: 14px;
  line-height: 1.5;
  color: #333;
  border-bottom: 1px solid #e3e9f2;
  border-left: 1px solid #e3e9f2;
}
.pricing__sim-td--num {
  text-align: right;
  font-weight: bold;
  white-space: nowrap;
  border-right: 1px solid #e3e9f2;
}
.pricing__sim-total .pricing__sim-rowhead,
.pricing__sim-total .pricing__sim-td {
  background-color: #eef2f9;
  font-size: 16px;
  border-bottom: none;
}
.pricing__sim-notes {
  margin-top: 16px;
  list-style: none;
  padding: 0;
  li {
    font-size: 12px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 4px;
  }
}
@media (min-width: 768px) {
  .pricing__sim-title {
    font-size: 28px;
  }
  .pricing__sim-premise-label,
  .pricing__sim-premise-text {
    font-size: 17px;
    padding: 12px 20px;
  }
  .pricing__sim-th {
    font-size: 17px;
    padding: 16px;
  }
  .pricing__sim-rowhead {
    font-size: 16px;
    padding: 16px;
  }
  .pricing__sim-td {
    font-size: 16px;
    padding: 16px;
  }
  .pricing__sim-total .pricing__sim-rowhead,
  .pricing__sim-total .pricing__sim-td {
    font-size: 18px;
  }
  .pricing__sim-notes li {
    font-size: 13px;
  }
}


@media (min-width: 768px) {
  .comparison {
    padding: 96px 0 0;
  }
  .comparison::after {
    top: 122px;
    width: 458px;
    height: 348px;
  }
  .comparison__container {
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 20px;
  }
  .comparison__title {
    font-size: 40px;
    margin-bottom: 53px;
    em {
      font-size: 50px;
    }
  }
  .comparison__intro {
    margin: 0 auto 73px;
    max-width: 660px;
  }
  .comparison__table {
    width: 100%;
    overflow-x: auto;
    img {
      width: 100%;
    }
  }
}

/* ==================== */
/* About miraio Section */
/* ==================== */
.about {
  padding: 70px 0 64px;
  background-color: var(--white);
}
@media (min-width: 768px) {
  .about {
    padding: 80px 0;
  }
}
.about__container {
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 768px) {
  .about__container {
    padding: 0 20px;
    max-width: 1040px;
  }
}
.about__logo-wrapper {
  display: grid;
  gap: 16px;
  margin-bottom: 58px;
  place-items: center;
}
@media (min-width: 768px) {
  .about__logo-wrapper {
    justify-content: center;
    gap: 16px;
    margin-bottom: 96px;
  }
}
.about__logo {
  width: 300px;
}
@media (min-width: 768px) {
  .about__logo {
    width: 478px;
  }
}
.about__powered {
  width: 142px;
}
@media (min-width: 768px) {
  .about__powered {
    width: 227px;
  }
}
.about__content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 42px;
  margin: 0 auto 32px;
  max-width: 800px;
}
@media (min-width: 768px) {
  .about__content-wrapper {
    margin: 0 auto 60px;
  }
}
.about__image {
  width: 100%;
}
.about__content {
  width: 100%;
}
.about__title {
  font-size: 22px;
  font-weight: bold;
  line-height: 1.7;
  margin-bottom: 32px;
  text-align: center;
}
@media (min-width: 768px) {
  .about__title {
    font-size: 30px;
    margin-bottom: 26px;
  }
}
.about__title-highlight {
  color: var(--miraio-blue);
}
.about__desc {
  font-size: 14px;
  line-height: 1.9;
}
@media (min-width: 768px) {
  .about__desc {
    font-size: 16px;
  }
}
.about__another {
  height: 416px;
  background-color: var(--white);
  border-radius: 10px;
}
@media (min-width: 768px) {
  .about__another {
    margin: 0 auto;
    max-width: 846px;
    height: 416px;
  }
}
.about .cta {
  margin-top: 10px;
  height: auto;
  padding-bottom: 50px;
  display: flex;
  justify-content: center;
}
.about .cta .cta__button {
  position: relative;
  bottom: auto;
}
@media (min-width: 768px) {
  .about .cta {
    margin-top: 10px;
    padding-bottom: 70px;
  }
}

/* ==================== */
/* Flow Section */
/* ==================== */
.flow {
  padding: 117px 0 88px;
  background-color: var(--paleblue);
}
.flow__container {
  margin: 0 auto;
  padding: 0 20px;
}
.flow__header {
  position: relative;
}
.flow__title {
  position: relative;
  text-align: center;
}
.flow__title-bg {
  position: absolute;
  top: -77px;
  right: 0;
  left: 0;
  width: 300px;
  font-size: 80px;
  font-family: var(--font-english);
  font-weight: 500;
  color: rgba(50, 82, 176, 0.1);
  display: block;
  margin: 0 auto;
}

.flow__title-main {
  font-size: 30px;
  font-weight: bold;
  color: var(--black);
  position: relative;
  z-index: 1;
  &::before {
    position: relative;
    bottom: -5px;
    font-size: 40px;
    background-image: var(--grad-blue);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    content: "＼"
  }
  &::after {
    position: relative;
    bottom: -5px;
    font-size: 40px;
    background-image: var(--grad-blue);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    content: "／"
  }
}
.flow__sub {
  margin: 28px auto;
  font-weight: 500;
  letter-spacing: .05em;
}
.flow__steps {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-direction: column;
  width: 277px;
  margin: 0 auto;
}

.flow__step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.flow__step-circle {
  width: 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.flow__step-content {
  width: 100%;
}

.flow__step-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 12px;
}

.flow__step-desc {
  width: 260px;
  margin: auto;
  font-size: 14px;
  text-align: left;
}
@media (min-width: 768px) {
  .flow__step-desc {
    font-size: 16px;
  }
}

.flow__arrow {
  width: 35px;
  height: 18px;
  margin: auto;
}

@media (min-width: 768px) {
  .flow {
    padding-bottom: 195px;
  }
  .flow__title-bg {
    top: -77px;
    width: auto;
    font-size: 170px;
  }
  .flow__title {
    padding-top: 100px;
  }
  .flow__title-main {
    font-size: 40px;
    padding-top: 90px;
    &::before {
      font-size: 40px;
    }
    &::after {
      font-size: 40px;
    }
  }
  .flow__sub {
    font-size: 16px;
    width: 660px;
    margin: 58px auto;
  }
}
@media (min-width: 1440px) {
  .flow__steps {
    gap: 17px;
    flex-direction: row;
    width: 1280px;
    margin: 0 auto;
  }
  .flow__step {
    width: 277px;
  }
  .flow__step-circle {
    width: 266px;
    height: 266px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
  }
  .flow__arrow {
    transform: rotate(-90deg) translateX(74px);
    width: 35px;
    height: 18px;
    margin: 202px auto;
    img {
      width: auto;
    }
  }
}

/* ==================== */
/* Contact Section */
/* ==================== */
.contact {
  padding: 55px 0;
  background-image: var(--grad-blue);
  /* sticky ヘッダー分だけスクロール停止位置を下げ、見出しが隠れないようにする */
  scroll-margin-top: 80px;
}
.contact__container {
  margin: 0 auto;
  padding: 0 20px;
}
.contact__title {
  font-size: 30px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 45px;
  line-height: 2;
  color: var(--white);
  em {
    font-style: normal;
    border-bottom: 2px solid var(--orange);
    padding-bottom: 8px;
  }
}
.contact__sub {
  color: var(--white);
}
.contact__form {
  background-color: var(--white);
  margin-top: 40px;
  padding: 20px;
  border-radius: 24px;
}
/* honeypot: 視覚・支援技術の双方から隠す（display:none はbotに見抜かれやすいため位置で隠す） */
.contact__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
/* 送信失敗時のグローバルエラー表示 */
.contact__error-global {
  margin-bottom: 24px;
  padding: 16px;
  border: 1px solid #e0b4b4;
  border-radius: 8px;
  background-color: #fdf2f2;
  color: #c0392b;
}
.contact__error-global[hidden] {
  display: none;
}
.contact__error-item {
  font-size: 14px;
  font-weight: bold;
  line-height: 1.7;
}
.contact__error-item + .contact__error-item {
  margin-top: 4px;
}
/* 送信中（二重送信防止）の無効化スタイル */
.contact__submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}
.contact__row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 24px;
}
.contact__label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact__label-required {
  color: #999999;
  font-size: 16px;
  font-weight: bold;
}

.contact__label-text {
  font-size: 16px;
  font-weight: bold;
}
.contact__label-textoption {
  padding-left: 40px;
}

.contact__input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray);
  border-radius: 8px;
  font-size: 16px;
  font-family: inherit;
  transition: border-color 0.3s;
}
.contact__select {
  padding: 12px 16px;
  border: 1px solid var(--gray);
  border-radius: 8px;
  font-size: 16px;
  font-family: inherit;
  width: 100%;
}

.contact__input:focus {
  outline: none;
  border-color: var(--put-blue);
}

.contact__textarea {
  padding: 12px 16px;
  border: 1px solid var(--gray);
  border-radius: 8px;
  font-size: 16px;
  font-family: inherit;
  resize: vertical;
  transition: border-color 0.3s;
  width: 100%;
}

.contact__textarea:focus {
  outline: none;
  border-color: var(--put-blue);
}

.contact__privacy {
  margin-top: 48px;
  padding-top: 32px;
}
.contact__checkbox {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
  span {
    font-weight: 400;
    font-size: 14px;
  }
}
.contact__checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
}
.contact__turnstile {
  margin-top: 24px;
  display: flex;
  justify-content: center;
}
.contact__submit-wrapper {
  text-align: center;
  margin-top: 48px;
}
.contact__submit {
  position: relative;
  background-image: var(--grad-orange);
  color: var(--white);
  padding: 20px;
  border: none;
  border-radius: 50px;
  font-size: 18px;
  text-align: center;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(255, 154, 61, 0.3);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 340px;
}
.contact__submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(255, 154, 61, 0.4);
}
.contact__buttonicon {
  display: grid;
  position: absolute;
  right: 17px;
  top: 0;
  bottom: 0;
  margin: auto;
  place-content: center;
  width: 34px;
  height: 34px;
  background-color: var(--white);
  border-radius: 18px;
  box-shadow: 0 3px 3px 0 var(--color-shadow);
  img {
    width: 8px;
  }
}

@media (min-width: 768px) {
  .contact {
    padding: 104px 0;
  }
  .contact__container {
    max-width: 1060px;
    margin: 0 auto;
  }
  .contact__title {
    font-size: 40px;
    margin-bottom: 45px;
    line-height: 2;
  }
  .contact__sub {
    font-size: 16px;
    text-align: center;
    letter-spacing: .05em;
    margin: 0 auto;
  }
  .contact__form {
    margin-top: 80px;
    border-radius: 24px;
    padding: 60px 100px;
  }
  .contact__row {
    display: grid;
    grid-template-columns: 210px 1fr;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 24px;
  }
  .contact__label {
    height: 52px;
  }

  .contact__label-required {
    color: #999999;
    font-size: 16px;
    font-weight: bold;
  }

  .contact__label-text {
    font-size: 16px;
    font-weight: bold;
  }
  .contact__label-textoption {
    padding-left: 40px;
  }

  .contact__input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--gray);
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s;
  }
  .contact__select {
    padding: 12px 16px;
    border: 1px solid var(--gray);
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    width: 100%;
  }

  .contact__input:focus {
    outline: none;
    border-color: var(--put-blue);
  }

  .contact__textarea {
    padding: 12px 16px;
    border: 1px solid var(--gray);
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    resize: vertical;
    transition: border-color 0.3s;
    width: 100%;
  }

  .contact__textarea:focus {
    outline: none;
    border-color: var(--put-blue);
  }

  .contact__privacy {
    max-width: 580px;
    margin: 48px auto;
    padding-top: 32px;
  }
  .contact__privacy-note {
    font-size: 14px;
    color: var(--black);
    line-height: 1.7;
    margin-bottom: 16px;
  }
  .contact__checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
  }
  .contact__checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
  }
  .contact__submit-wrapper {
    text-align: center;
    margin-top: 48px;
  }
  .contact__submit {
    justify-content: center;
  }
  .contact__submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 154, 61, 0.4);
  }
}

/* ==================== */
/* Video Player Component */
/* ==================== */
.c-movie-player {
  position: relative;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  width: 100%;
  height: auto;
}
.c-movie-player .thumb {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
}
.c-movie-player .thumb video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.75);
}
.c-movie-player .controller {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  opacity: 1;
  transition: opacity 0.3s ease;
}
.c-movie-player[data-is-playing=true] .controller {
  opacity: 0;
  pointer-events: none;
}
.c-movie-player[data-is-playing=true]:hover .controller {
  opacity: 1;
  pointer-events: auto;
}
.c-movie-player .play {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.3s ease;
}
.c-movie-player .play .icon-pause {
  display: none;
}
.c-movie-player[data-is-playing=true] .play .icon-play {
  display: none;
}
.c-movie-player[data-is-playing=true] .play .icon-pause {
  display: block;
}
.c-movie-player .sound {
  cursor: pointer;
  transition: opacity 0.3s ease;
}
.c-movie-player .sound .sound-wave {
  transition: opacity 0.3s ease;
}
.c-movie-player .sound[data-js-sound-btn=muted] .sound-wave {
  opacity: 0.3;
}
@media (max-width: 767px) {
  .c-movie-player .thumb {
    padding-bottom: 56.25%;
  }
}

/* ==================== */
/* Footer */
/* ==================== */
.footer {
  background: var(--black-dark);
  color: var(--white);
  padding: 60px 0;
}
.footer__bottom {
  text-align: center;
  font-size: 14px;
  opacity: 0.6;
}
