@charset "utf-8";

:root {
  --color-accent: #2624A3;
  --color-main-text: #464646;
  --color-sub-text: #757575;
  --color-ink: #101726;
  --color-muted: #5b6376;
  --color-primary: #0b5fff;
  --color-primary-dark: #07399b;
  --color-border: #e0e5ee;
  --shadow-soft: 0 12px 30px rgba(13, 20, 43, 0.08);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --container: 1140px;
  --font-noto: 'Noto Sans JP', sans-serif;
  --font-montserrat: 'Montserrat', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-noto);
  line-height: 1.7;
  letter-spacing: 0.02em;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

a:hover {
  opacity: 0.7;
}


ul {
  list-style: none;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
  padding: 120px 0;
}

.header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: 1340px;
  max-width: calc(100% - 40px);
  margin: 27px auto 0;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 67.76px;
  padding: 0 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  box-sizing: border-box;
  font-family: var(--font-noto);
}

.header__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.header__logo-img {
  height: 28px;
  width: auto;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 33px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header__nav-link {
  text-decoration: none;
  color: #464646;
  font-size: 14px;
  font-weight: bold;
  white-space: nowrap;
}

.header__buttons {
  display: flex;
  align-items: center;
  gap: clamp(6px, 0.8vw, 12px);
  flex-shrink: 0;
}

.header__btn {
  display: inline-flex;
  height: 38px;
  align-items: center;
  justify-content: center;
  position: relative;
  gap: 6px;
  padding: 0 28px 0 14px;
  border-radius: 50px;
  color: #ffffff !important;
  text-decoration: none !important;
  /* font-size: clamp(11px, 0.95vw, 13px); */
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  font-family: 'Noto Sans JP', sans-serif;
  line-height: 1;
  box-sizing: border-box;
}

.header__btn--trial {
  background: #1A17D3;
  font-size: 14px;
  min-width: clamp(155px, 14vw, 205px);
}

.header__btn--document {
  background: #FF8800;
  min-width: clamp(130px, 11vw, 160px);
}

.header__btn > svg {
  flex-shrink: 0;
}

.header__btn-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 8.25px;
  height: 8.25px;
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.2s ease;
}

.header__btn-arrow svg {
  width: 8.25px;
  height: 8.25px;
}

/* 矢印はホバー・タップで動かさず常に固定（ズレ防止） */

@media (max-width: 1200px) {
  .container {
    padding-block: 50px;
  }
  .header__nav {
    display: none;
  }
}


/* FV */
.fv {
  position: relative;
  width: 100%;
  background-image: url('../img/bg_fv.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-top: 50px;
  padding-bottom: 70px;
  box-sizing: border-box;
}

.fv__inner {
  max-width: 1142px;
  margin: 0 auto;
  position: relative;
  line-height: 0;
}

.fv__image {
  width: calc(100% - 40px);
  display: block;
  margin-inline: auto;
}

.fv__btn {
  position: absolute;
  bottom: 14%;
  left: 2%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #FF8800;
  color: #ffffff !important;
  border-radius: 50px;
  padding: 22px 17px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 20px;
  text-decoration: none !important;
  box-shadow: 0 5px 0 #944F00;
  white-space: nowrap;
  min-width: 300px;
  width: min(24vw, 345px);
  min-height: 54px;
}

.fv__btn::before,
.fv__btn::after {
  content: '';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  font-weight: 400;
}

@media (hover: hover) and (pointer: fine) {
  .fv__btn:hover {
    box-shadow: 0 2px 0 #CC5500;
  }
}

.fv__btn-arrow {
  font-size: 20px;
  font-weight: 400;
}

.fv__btn--trial {
  display: none;
}

.fv__btn--cases {
  background: transparent;
  box-shadow: none;
  padding: 0;
  border-radius: 0;
  width: min(28vw, 400px);
  min-width: unset;
  min-height: unset;
  height: auto;
  white-space: normal;
  bottom: 8%;
}

.fv__btn--cases::before,
.fv__btn--cases::after {
  content: none;
}

.fv__btn--cases img {
  width: 100%;
  height: auto;
  display: block;
}

@media (hover: hover) and (pointer: fine) {
  .fv__btn--cases:hover {
    box-shadow: none;
    opacity: 0.9;
  }
}

@media (max-width: 1200px) {
  .fv {
    padding-bottom: 40px;
  }
  .fv__image {
    width: calc(100% - 80px);
  }
}


@media (max-width: 768px) {
  .fv {
    padding-top: 0;
    padding-bottom: 0;
  }
  .header {
    display: none;
  }
}

  .fv__btn--cases {
    display: none;
  }
@media (max-width: 768px) {
  .fv__image {
    width: 100%;
  }

  .fv__btns {
    position: static;
    transform: none;
    display: contents;
  }

  .fv__btn {
    position: relative;
    width: 88.46%;
    max-width: 345px;
    height: 54px;
    min-width: unset;
    min-height: unset;
    font-size: 20px;
    padding: 0;
    box-sizing: border-box;
  }

  .fv__btn--trial {
    display: none;
  }

  .fv__btn--cases {
    display: block;
    position: fixed;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: 92%;
    max-width: 400px;
    height: auto;
    margin: 0;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.18));
  }

  body {
    padding-bottom: 90px;
  }
}

/* ===== Common ===== */
.section__title {
  display: flex;
  align-items: center;
  gap: 16px;
}

.section__title-text {
  font-family: 'Arial Black', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 900;
  color: #D9D9D9;
  line-height: 1;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.section__title-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(to right, #2624A3 0 20px, #C8C8C8 20px 100%);
}

.section__title-line--right {
  background: linear-gradient(to left, #2624A3 0 20px, #C8C8C8 20px 100%);
}

.section__title--pc {
  margin: 0 auto 60px;
}

.section__title--pc .section__title-text {
  font-size: 64px;
}

.section__title--sp {
  display: none;
}

.section__title--sp .section__title-text {
  font-size: 56px;
}
.color-main-text {
  color: var(--color-main-text);
}
.color-accent {
  color: var(--color-accent);
}
.bold {
  font-weight: bold;
}
@media (max-width: 768px) {
  .section__title--pc {
    display: none;
  }

  .section__title--sp {
    display: flex;
    width: calc(100% + 40px);
    max-width: 100%;
    box-sizing: border-box;
    margin-bottom: 24px;
    overflow: hidden;
  }

  .section__title--sp .section__title-line {
    flex: 1 1 0;
    min-width: 24px;
  }

  .section__title-text {
    color: rgba(51, 51, 51, 0.03);
  }

  .about .section__title--sp .section__title-text,
  .issue .section__title--sp .section__title-text {
    font-size: 73px;
  }

  .reason .section__title--sp .section__title-text,
  .flow .section__title--sp .section__title-text {
    font-size: 60px;
  }

  .faq .section__title--sp .section__title-text {
    font-size: 66px;
  }
  .use_cases .section__title-text {
    font-size: 45px;
  }
}

.section__subTitle {
  font-family: 'Hiragino Kaku Gothic Std', 'Noto Sans JP', sans-serif;
  font-size: 33px;
  font-weight: 800;
  line-height: 1;
  color: var(--color-accent);
  margin: 0 0 24px;
  text-align: center;
}

.section__subTitle--desc, 
.normalText {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.8;
  color: #464646;
  margin: 0;
  text-align: center;
}


.sp-only {
  display: none;
}
.pc-only {
  display: block;
}

@media screen and (max-width:768px) {
  .section__subTitle {
    font-size: clamp(1rem, 7.1vw, 1.8rem);
    text-align: left;
  }
  .section__subTitle--desc {
    font-size: 17px;
    text-align: left;
    font-weight: 800;
  }
  .normalText {
    font-size: 15px;
    font-weight: 400;
  }
}
.about {
  background: #ffffff;
  position: relative;
  z-index: 0;
  padding-block: 120px;
}
.issue {
  background-color: #F0F1F5; 
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
}

.issue__section__subTitle {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-bottom: 60px;
  line-height: 1.4;
}
.section__title-text--issue {
  color: rgba(0, 72, 255, 0.32);
}
.issue__text {
  text-align: center;
}
.issue__triangle {
  margin: 60px auto;
}
.issue__text--s {
  font-size: 22px;
  line-height: 1.4;
  color: var(--color-main-text);
  font-weight: bold;
  margin: 60px auto 25px;
}
.issue__text--l {
  background-color: var(--color-accent);
  color: #fff;
  width: fit-content;
  padding: 15px 11px;
  font-size: 33px;
  line-height: 1.2;
  font-weight: 800;
  margin: 0 auto 11px;
  text-align: center;
}
.issue__text--m {
  margin-block: 25px;
}
.issue02 {
  max-width: 934px;
  margin: 60px auto 25px;
}
.issue02__note {
  font-size: 9px;
  color: #707070;
  text-align: center;
  letter-spacing: 0.03em;
}
@media screen and (max-width: 934px) {
  .issue02 {
    max-width: 100%;
  }
  .issue__text--s {
    text-align: left;
    margin-bottom: 8px;
  }
  .issue__triangle {
    margin-block: 27px 37px;
  }
}
@media (max-width: 768px) {
  .sp-only {
    display: block;
  }
  .pc-only {
    display: none;
  }
  .about {
      padding-block: 50px;
  }
  .about__text {
    width: calc(100% - 40px);
    margin-inline: auto;
    margin-top: -30px;
    padding-top: 0;
  }

  .issue .section__title-text {
    color: rgba(255, 255, 255, 0.7);
  }

  .issue__section__subTitle {
    margin-top: -40px;
    gap: 4px;
    margin-bottom: 23px;
  }

  .issue__text--m {
    margin-block: 14px 12px;
    text-align: left;
  }
  .issue__text--l {
    margin-left: 0;
    font-size: clamp(18px, 6.4vw, 25px);
    padding: 1.5px 7px;
    margin-bottom: 6px;
  }

  .issue01 {
    max-width: 350px;
    margin-inline: auto;
  }
  .issue02 {
    margin-top: 0;
    max-width: 350px;
    margin-inline: auto;
  }
  .issue02__note {
    text-align: left;
  }
}



.figure-wrap {
  width: 100%;
  max-width: 100%;
  text-align: center;
  padding: 0 ;
  margin: 60px auto 0px;
  box-sizing: border-box;
}

.figure-wrap__img {
  display: inline-block;
  max-width: 1140px !important;
  height: auto;
}

@media (max-width: 1140px) {
  .figure-wrap {
    padding-left: 20px;
    padding-right: 20px;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    display: block;
    margin-top: 16px;
    margin-bottom: 50px;
    text-align: center;
  }

  .figure-wrap__img {
    display: inline-block;
    width: 746px !important;
    max-width: none !important;
    height: auto;
    margin: 0 auto;
  }
}
.use_cases {
  background-color: #FAFAFA;
}
.use_cases__subTitle {
  font-size: 33px;
  color: var(--color-main-text);
  font-weight: 800;
  text-align: center;
  margin-bottom: 25px;
  line-height: 1;
}
.use_cases__lead {
  text-align: center;
}
.use_cases__list {
  display: flex;
  gap: 2.9%;
  margin-top: 60px;
}

@media screen and (max-width: 768px) {
  .use_cases__list {
  flex-direction: column;
  gap: 35px;
  margin: 28px auto 0;
  max-width: 350px;
}
  .use_cases__subTitle {
    text-align: left;
    font-size: clamp(14px, 7vw, 28px);
    margin-top: -30px;
    margin-bottom: 8px;
  }
  .use_cases .nomalText {
    text-align: left;
  }
}

.reason {
  background: #ffffff;
  position: relative;
  z-index: 0;
}


.reason-bold {
  font-weight: bold;
}


.reason__heading {
  font-family: 'Hiragino Kaku Gothic Std', 'Noto Sans JP', sans-serif;
  font-size: 33px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-main-text);
  margin: 0 0 24px;
  text-align: center;
}

.reason__body {
  font-family: "ryo-gothic-plusn", sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.8;
  color: var(--color-main-text);
  margin: 0 0 60px;
  text-align: center;
}

.reason__accent {
  color: var(--color-accent);
  font-weight: 500;
}

.sp-only {
  display: none;
}

@media (max-width: 768px) {
  .sp-only {
    display: block;
  }

  .reason {
    padding: 50px 0 0;
  }

  .reason__inner {
    padding: 0;
  }


  .reason__heading {
    font-size: 28px;
    text-align: left;
  }


  .reason__body {
    font-size: 15px;
    margin: 0 0 23px;
    text-align: left;
  }
}

.reason__list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 1140px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.reason__item-head {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
}

.reason__point-img {
  display: block;
  width: 145px;
  height: auto;
  flex-shrink: 0;
}

.reason__item-title {
  font-family: 'Hiragino Kaku Gothic Std', 'Noto Sans JP', sans-serif;
  font-size: 33px;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1.4;
  margin: 0;
}

.reason__item-body {
  font-family: "ryo-gothic-plusn", sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.9;
  color: var(--color-main-text);
  margin: 0 0 25px;
}

.reason__item-figure {
  display: block;
  text-align: center;
  max-width: 636px;
  margin-inline: auto;
}
.reason__item-figure01 {
  max-width: 698px;
}
.reason__item-figure img {
  max-width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .reason__item {
    padding: 0 20px;
  }

  .reason__item-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    margin-bottom: 16px;
  }

  .reason__point-img {
    width: 100px;
  }

  .reason__item-title {
    font-size: 22px;
  }

  .reason__item-body {
    font-size: 14px;
    line-height: 1.8;
    margin: 0 0 24px;
  }
  .reason__item-figure {
    max-width: 350px;
    margin-inline: auto;
  }
}


.more-btn__wrap {
  text-align: center;
}

.more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-block: 100px 0px;
  position: relative;
  width: 464px;
  height: 73px;
  background: #828282;
  border-radius: 50px;
  padding: 0 22px;
  box-sizing: border-box;
  color: #ffffff !important;
  text-decoration: none !important;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 27px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 5px 0 #2D2D2D;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
  cursor: pointer;
}

@media (hover: hover) and (pointer: fine) {
  .more-btn:hover {
    box-shadow: 0 2px 0 #333333;
  }
}

.more-btn::after {
  content: '';
  position: absolute;
  right: 23px;
  top: 50%;
  transform: translateY(calc(-50% - 3px)) rotate(135deg);
  width: 13px;
  height: 13px;
  border-top: 2px solid #ffffff;
  border-right: 2px solid #ffffff;
}

.more-btn--open::after {
  transform: translateY(calc(-50% + 3px)) rotate(-45deg);
}

@media (max-width: 768px) {
  .more-btn {
    max-width: 345px;
    width: calc(100% - 40px);
    height: 54px;
    font-size: 20px;
    padding: 0 16px;
    margin-top: 50px;
  }
}

.reason04__btns {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 20px;
  white-space: nowrap;
}

.reason04__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 464px;
  height: 73px;
  border-radius: 50px;
  padding: 0 22px;
  box-sizing: border-box;
  text-decoration: none !important;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 27px;
  font-weight: 700;
  white-space: nowrap;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.reason04__btn--orange {
  background: #FF8800;
  color: #ffffff !important;
  box-shadow: 0 5px 0 #CC5500;
}

@media (hover: hover) and (pointer: fine) {
  .reason04__btn--orange:hover {
    box-shadow: 0 2px 0 #CC5500;
  }
}

.reason04__btn--white {
  background: #ffffff;
  color: #2624A3 !important;
  box-shadow: 0 5px 0 #B8B8B8;
}

@media (hover: hover) and (pointer: fine) {
  .reason04__btn--white:hover {
    box-shadow: 0 2px 0 #B8B8B8;
  }
}

.reason04__btn--orange::after,
.reason04__btn--white::after {
  content: '';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

.reason04__btn--orange::after {
  border-color: #ffffff;
}

.reason04__btn--white::after {
  border-color: #2624A3;
}

@media (max-width: 1000px) {
  .reason04 {
    margin-block: 61px 0px;
  }

  .reason04__btns {
    width: 100%;
    margin-inline: auto;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
  }

  .reason04__btn {
    max-width: 345px;
    width: 100%;
    height: 54px;
    font-size: clamp(12px, 4.1vw, 20px);
  }
}

.reasons05__more--title {
  margin: 120px auto 60px;
  font-size: 33px;
  color: var(--color-main-text);
  font-weight: 800;
}

.reasons05__more {
  display: none;
}

.reasons05__features--list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  row-gap: 60px;
  column-gap: 4.2%;
  list-style: none;
  padding: 0;
  margin: 120px 0 0 0;
}

.reasons05__features--list > li {
  grid-column: span 2;
  width: 100%;
  max-width: 346px;
}

.reasons05__features--list > li:nth-child(1) { justify-self: start; }
.reasons05__features--list > li:nth-child(2) { justify-self: center; }
.reasons05__features--list > li:nth-child(3) { justify-self: end; }

.reasons05__features--list > li:nth-child(4),
.reasons05__features--list > li:nth-child(5) {
  grid-column: span 3;
  max-width: 458px;
}
.reasons05__features--list > li:nth-child(4) { justify-self: center; }
.reasons05__features--list > li:nth-child(5) { justify-self: center; }

.reasons05__features--list > li img {
  display: block;
  width: 100%;
  height: auto;
}

.reasons05__support {
  width: 100%;
  max-width: 1140px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 549px));
  justify-content: space-between;
  column-gap: 42px;
  row-gap: 42px;
  padding: 0;
  list-style: none;
}
.reasons05__support li {
  width: 100%;
}
.reasons05__support li img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .reasons05__support {
    grid-template-columns: 1fr;
    row-gap: 18px;
  }
  .reasons05__more--title {
    font-size: 22px;
    margin-block: 50px 26px;
  }
  .reasons05__features--list {
    grid-template-columns: 1fr;
    margin-top: 50px;
    row-gap: 24px;
  }
  .reasons05__features--list > li,
  .reasons05__features--list > li:nth-child(4),
  .reasons05__features--list > li:nth-child(5) {
    grid-column: span 1;
    max-width: 100%;
  }
}
.features__image {
  display: block;
  width: 100%;
  max-width: 1142px;
  margin-inline: auto;
  height: auto;
}

.middleCta {
  background: url(../img/middle_cta_bg.webp) center / cover;
  background-repeat: no-repeat;
  border-radius: 24.48px;
  max-width: 1141px;
  margin-inline: auto;
  margin-bottom: 120px;
}
.middleCta__container {
  padding-block: 35px 55px;
}
.middleCta__content {
  max-width: 907px;
  width: calc(100% - 40px);
  margin-inline: auto;
  margin-bottom: 30px;
}
@media screen and (max-width: 768px) {
  .middleCta {
    background: url(../img/middle_cta_sp_bg.webp) center / 100%;

    border-radius: 30px;
    max-width: 100%;
    padding-block: 31px;
    margin-bottom: 0;
  }
  .middleCta__content {
    max-width: 350px;
    width: calc(100% - 40px);
  }
  .features__image {
    max-width: 350px;
    width: calc(100% - 40px);
  }
}

.features {
  background-color: #FAFAFA;
}
.features__lead {
  line-height: 1.8;
  margin-bottom: 60px;
  text-align: center;
}
@media screen and (max-width: 768px) {
.features__lead {
  margin-bottom: 26px;
  text-align: left;
}
}
/* ===============================
  PLAN セクション
   =============================== */

.plan__pc {
  display: block;
  width: 100%;
  max-width: 744px;
  margin-inline: auto;
  height: auto;
}
.plan__pc img {
  width: 100%;
}
.plan {
  font-family: 'Noto Sans JP', sans-serif;
  text-align: center;
  color: #464646;
}

.plan__sp {
  display: none;
}

.plan__section-label {
  max-width: 368px;
  width: 100%;
  margin-right: 0;
  padding-left: 20px;
}


.plan__lead {
  line-height: 1.8;
  margin-bottom: 40px;
}

.plan__tabs {
  display: flex;
  justify-content: center;
  gap: 16px;
  padding-bottom: 13px;
}

.plan__tab {
  position: relative;
  width: 159px;
  height: 43px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  font-weight: 700;
  background: #D9D9D9;
  color: #727272;
}

.plan__tab::after {
  content: '';
  position: absolute;
  bottom: -13px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 13px solid transparent;
}

.plan__tab--agent.plan__tab--active {
  background: #2624A3;
  color: #fff;
}

.plan__tab--agent.plan__tab--active::after {
  border-top-color: #2624A3;
}

.plan__tab--scenario.plan__tab--active {
  background: #417293;
  color: #fff;
}

.plan__tab--scenario.plan__tab--active::after {
  border-top-color: #417293;
}

.plan__contents {
  margin-top: 20px;
  display: flex;
  justify-content: center;
}

.plan__panel {
  display: none;
}

.plan__panel--active {
  display: block;
}

.plan__panel img {
  width: 100%;
  max-width: 340px;
  height: auto;
}
.plans__note {
  max-width: 728px;
  display: flex;
  flex-direction: column;
  gap: 17px;
  margin: 25px auto 0;
}

@media (max-width: 768px) {
  .plan__pc {
    display: none;
  }

  .plan__sp {
    display: block;
  }

  .plan__lead {
    text-align: left;
    margin-bottom: 27px;
  }

  .plans__note {
    margin-top: 14px;
    max-width: 350px;
  }

  .plan__note img {
    width: 100%;
    height: auto;
  }

  .plan__panel--agent img {
    max-width: 364px;
  }
}

.plan-case__image {
  display: block;
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
  height: auto;
}
.case__content {
  max-width: 1140px;
}
.case__lead {
  text-align: center;
  margin-bottom: 40px;
}
.case__subTitle {
  margin-block: 69px 60px;
}
@media screen and (max-width: 786px) {
  .case__content {
    max-width: 350px;
    margin-inline: auto;
  }
  .case__lead {
    text-align: left;
  }
  .case__subTitle {
    line-height: 1.4;
    margin-block: 25px 30px;
  }
}

/* ===============================
   FLOW セクション
   =============================== */
.flow {
  background-color: #F6F7F9;
  text-align: center;
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
}

.flow__pc {
  max-width: 1140px;
  width: calc(100% - 40px);
  margin: 60px auto 0;
}

.flow__sp {
  display: none;
}

.flow__pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
}

.flow__pagination-step {
  display: flex;
  align-items: center;
}

.flow__pagination-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #2624A3;
  background: #fff;
  color: #2624A3;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}

.flow__pagination-step--active .flow__pagination-circle {
  background: #2624A3;
  color: #fff;
}

.flow__pagination-line {
  width: 28px;
  height: 0.4px;
  background: #2624A3;
}

.flow__slider-wrapper {
  position: relative;
  max-width: 346px;
  width: 89%;
  margin: 0 auto;
  overflow: visible;
}

.flow__slider .splide__slide img {
  width: 100%;
  max-width: 346px;
  height: auto;
  display: block;
}

.flow__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 100px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  z-index: 10;
}

.flow__arrow--prev {
  left: -20px;
}

.flow__arrow--next {
  right: -20px;
}

.flow__arrow img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.flow__arrow:disabled {
  opacity: 0.3;
  cursor: default;
}

.flow__title {
  text-align: left;
  margin-bottom: 24px;
}


.flow__title-heading {
  font-size: 28px;
  font-weight: 700;
  color: #464646;
  margin-bottom: 12px;
  line-height: 1.4;
  padding-inline: 20px;
}

.flow__title-lead {
  font-size: 15px;
  color: #464646;
  line-height: 1.8;
  padding-inline: 20px;
  margin-bottom: 32px;
  text-align: left;
}

@media (max-width: 768px) {
  .flow__title-heading,
  .flow__title-lead {
    padding-inline: 20px;
    text-align: left;
  }

  .flow__pc {
    display: none;
  }

  .flow__sp {
    display: block;
    margin-top: 32px;
  }
}

/* ===============================
   FAQ セクション
   =============================== */
.faq {
  font-family: 'Noto Sans JP', sans-serif;
  color: #464646;
  max-width: 1139px;
  margin: 0 auto;
}

.faq__heading {
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #464646;
}

.faq__item {
  border-bottom: 4px dotted #E6D9D9;
  padding: 20px 0;
}

.faq__question {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  list-style: none;
  padding-right: 40px;
  position: relative;
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__label {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #2624A3;
  flex-shrink: 0;
  line-height: 1.5;
}

.faq__question-text {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.6;
  flex: 1;
}

.faq__icon {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background-color: rgba(38, 36, 163, 0.15);
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq__icon::before {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  border-right: 1.4px solid #2624A3;
  border-bottom: 1.4px solid #2624A3;
  transform: rotate(45deg);
  margin-top: -3px;
  transition: transform 0.3s;
}

.faq__item--open .faq__icon::before {
  transform: rotate(-135deg);
  margin-top: 3px;
}

.faq__answer {
  display: none;
  padding-top: 16px;
}

.faq__item--open .faq__answer {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding-right: 30px;
}

.faq__answer-text {
  font-size: 20px;
  line-height: 1.8;
  flex: 1;
  font-weight: 500;
}

@media (max-width: 768px) {
  .faq__heading {
    font-size: 26px;
    text-align: left;
    margin: 0 auto 32px;
    padding-inline: 20px;
  }
  .faq__question-text,
  .faq__answer-text {
    font-size: 16px;
  }
  .faq__label {
    font-size: 16px;
  }

  .faq__icon {
    top: 20px;
    width: 25px;
    height: 25px;
  }

  .faq__icon::before {
    width: 4px;
    height: 4px;
    margin-top: 3px;
  }

  .faq__item {
    margin-inline: 20px;
  }
}

.bottom {
  position: relative;
  width: 100%;
  background-image: url('../img/bottom_bg.webp');
  background-size: cover;
  background-position: top;
  background-repeat: no-repeat;
  padding: 124px 0 149px;
}

.bottom__inner {
  max-width: 1140px;
  width: calc(100% - 40px);
  display: flex;
  gap: 4%;
  margin: 0 auto;
}

.bottom__content--img {
  width: 100%;
  aspect-ratio: 349.72 / 331;
  max-width: 350px;
  display: block;
  flex-shrink: 0;
  margin-inline: auto;
}
.bottom__content--title {
  font-size: clamp(36px, 3.4vw, 49px);
  font-weight: bold;
  margin-bottom: 25px;
}
.bottom__content--desc {
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 60px;
}
.bottom__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #FF8800;
  color: #ffffff !important;
  border-radius: 50px;
  padding: 22px 17px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 25px;
  text-decoration: none !important;
  box-shadow: 0 5px 0 #944F00;
  white-space: nowrap;
  min-width: 300px;
  width: min(30vw, 437px);
  max-height: 69px;
}

.bottom__btn::before,
.bottom__btn::after {
  content: '';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

@media (hover: hover) and (pointer: fine) {
  .bottom__btn:hover {
    box-shadow: 0 2px 0 #944F00;
  }
}
  .bottom__btn--sp {
    display: none;
  }
  .bottom__btn--pc {
    display: flex;
  }

@media (max-width: 768px) {
  .bottom {
    background-image: url('../img/bottom_bg_sp.webp');
  }

  .bottom__content--title {
    font-size: clamp(24px, 9.2vw, 36px);
  }
  .bottom__content--desc {
    font-size: 15px;
  }

  .bottom__inner {
    flex-direction: column;
    inset: 0;
  }

  .bottom__content-img {
    display: none;
  }

  .bottom {
    padding-block: 44px 56px;
  }
  .bottom__btn {
    max-width: 345px;
    margin: 30px auto 0;
    width: calc(100% - 40px);
    height: 54px;
    min-height: unset;
    font-size: 20px;
    padding: 0;
    box-sizing: border-box;
  }
  .bottom__btn--sp {
    display: flex;
  }
  .bottom__btn--pc {
    display: none;
  }

}

.footer {
  background-color: #F6F7F9;
  border-radius: 30px 30px 0 0;
  padding: 36px 20px 17px;
  text-align: center;
  font-family: 'Noto Sans JP', sans-serif;
}

.footer__logo {
  display: block;
  width: 157px;
  height: 42px;
  margin: 0 auto 18px;
}

.footer__nav {
  list-style: none;
  margin: 0 0 9px;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}

.footer__nav-item {
  display: flex;
  align-items: center;
  font-size: 10px;
  color: #464646;
}

.footer__nav-item+.footer__nav-item::before {
  content: '｜';
  color: #464646;
  font-size: 10px;
  margin: 0 4px;
}

.footer__nav-link {
  color: #464646;
  text-decoration: none;
  font-size: 10px;
  font-family: 'Noto Sans JP', sans-serif;
}

.footer__copyright {
  font-family: 'Montserrat', sans-serif;
  font-weight: 100;
  font-size: 10px;
  color: #ffffff;
}

.s_footer-peraichi {
  display: none;
}
/* ===== sponsor ===== */
.sponsor {
  background: #fff;
  border-top: 2px solid #D9D9D9;
  border-bottom: 2px solid #D9D9D9;
  padding: 10px 0;
  overflow: hidden;
  height: 100px;
  box-sizing: border-box;
}
.sponsor__sp { display: none; }
.sponsor__pc { height: 100%; display: flex; align-items: center; }
.sponsor__track {
  display: flex;
  width: max-content;
  height: 100%;
  align-items: center;
}
.sponsor__track--ltr { animation: sponsor-ltr 60s linear infinite; }
.sponsor__track--rtl { animation: sponsor-rtl 60s linear infinite; }
.sponsor__list {
  display: flex;
  align-items: center;
  height: 100%;
  list-style: none;
  margin: 0;
  padding: 0;
}
.sponsor__list li {
  flex: 0 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sponsor__pc .sponsor__list li img {
  height: 60px;
  width: auto;
  max-width: none;
  display: block;
  object-fit: contain;
}
@keyframes sponsor-ltr {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes sponsor-rtl {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}
@media (max-width: 768px) {
  .sponsor {
    height: 90px;
    padding: 12px 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .sponsor__pc { display: none; }
  .sponsor__sp {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    gap: 8px;
  }
  .sponsor__sp .sponsor__list li {
    padding: 0 16px;
  }
  .sponsor__sp .sponsor__list li img {
    max-height: 24px;
    width: auto;
    height: auto;
    display: block;
  }
  .sponsor__sp .sponsor__track--ltr { animation-duration: 25s; }
  .sponsor__sp .sponsor__track--rtl { animation-duration: 25s; }
}

/* ===== 資料ダウンロード フォーム一体型セクション ===== */
.formsec {
  background-color: #F6F7F9;
  padding: 64px 20px 88px;
  scroll-margin-top: 80px;
}
.formsec__inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.formsec__title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(24px, 5vw, 36px);
  font-weight: 700;
  color: #2D2D2D;
  margin-bottom: 12px;
}
.formsec__desc {
  font-size: 16px;
  line-height: 1.8;
  color: #555555;
  margin-bottom: 36px;
}
.formsec .formrun-embed {
  text-align: left;
}

@media (max-width: 768px) {
  .formsec {
    padding: 44px 16px 56px;
    scroll-margin-top: 64px;
  }
  .formsec__desc {
    font-size: 14px;
    margin-bottom: 28px;
  }
}

/* スマホでは .fv__btn--cases のホバー演出を無効化（transformは中央寄せ維持のため触らない） */
@media (max-width: 768px) {
  .fv__btn--cases:hover,
  .fv__btn--cases:active,
  .fv__btn--cases:focus {
    opacity: 1;
    box-shadow: none;
  }
}

/* ===== フォームセクションの資料画像 ===== */
.formsec__img {
  display: block;
  width: 100%;
  max-width: 560px;
  height: auto;
  margin: 0 auto 36px;
  border-radius: 10px;
}
@media (max-width: 768px) {
  .formsec__img {
    margin-bottom: 28px;
  }
}

/* ===== 離脱防止ポップアップ ===== */
.exit-popup {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.exit-popup.is-open {
  display: flex;
}
.exit-popup__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  cursor: pointer;
}
.exit-popup__box {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  background: #ffffff;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  text-align: center;
  animation: exitPopupIn 0.25s ease;
}
@keyframes exitPopupIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.exit-popup__close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: #2D2D2D;
  color: #ffffff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.exit-popup__media {
  display: block;
}
.exit-popup__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}
.exit-popup__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  padding: 16px 20px;
  background: #FF8800;
  color: #ffffff !important;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 18px;
  border-radius: 50px;
  text-decoration: none !important;
  box-shadow: 0 4px 0 #CC5500;
}
@media (max-width: 768px) {
  .exit-popup {
    padding: 16px;
  }
  .exit-popup__box {
    padding: 20px 16px;
  }
  .exit-popup__btn {
    font-size: 16px;
    padding: 14px 16px;
  }
}
