@charset "UTF-8";
:root {
  --c-cta01: #073190;
  --c-worries: #F1F1F1;
}

/* -----------------header----------------- */
/* お問い合わせボタンだけ変更 */
@media screen and (min-width: 768px) {
  .g-nav-list__li--contact {
    margin-right: -40px;
  }

  .g-nav-list__li--contact > a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 162px;
    height: var(--header-height);
    padding: 0;
    background: var(--c-cta01);
    color: #fff;
    font-weight: 700;
  }
}

@media screen and (max-width: 991px) and (min-width: 768px) {
  .g-nav-list__li--contact {
    margin-right: -20px;
  }
}

@media screen and (max-width: 767px) {
  .g-nav-list__li--contact {
    margin-top: 24px;
  }

  .g-nav-list__li--contact > a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 36px 12px 20px;
    border-bottom: none;
    border-radius: 999px;
    background: var(--c-cta01);
    color: var( --c-white01);
    font-weight: 700;
    text-align: center;
  }

  .g-nav-list__li--contact > a.arrow-right::after {
    right: 18px;
    border-top-color: var( --c-white01);
    border-right-color: var( --c-white01);
  }
}

/* -----------------footer----------------- */
.kiraboshi-tech-footer {
  width: 100%;
  background-color: var(--c-white);
}

.footer-flex-wrap {
  align-items: center;
}

.footer-list__li > a {
  color: var(--c-black02);
}


/* ------------------------------------
                   main
 ------------------------------------*/

/* -----------------common----------------- */
body {
  margin: 0;
}

.page-kaisha-app {
  background: var(--c-kaisha-app);
}

.kaisha-container {
  width: 100%;
  max-width: calc(var(--site-base-container) + 40px);
  margin: 0 auto;
  padding: 0 20px;
}

.kaisha-section-subtitle {
  font-size: 20px;
  font-weight: 700;
  text-align: center;
}

.kaisha-section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
}

.kaisha-section-title--marker {
  display: table;
  margin: 0 auto 70px;
  background: linear-gradient(transparent 58%, var(--c-kaisha-app) 58%);
}

.kaisha-section-title--marker-white {
  background: linear-gradient(transparent 58%, var(--c-white01) 58%);
}

/* ボタン共通 */
.kaisha-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 420px);
  min-height: 58px;
  margin: 0 auto;
  padding: 12px 56px;
  border-radius: 999px;
  background: var(--c-cta01);
  box-shadow: 0 5px 0 rgba(0, 0, 0, 0.18);
  color: var(--c-white01);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
}

.kaisha-btn span {
  color: inherit;
}

.kaisha-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 28px;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--c-white01);
  border-right: 2px solid var(--c-white01);
  transform: translateY(-50%) rotate(45deg);
}

.kaisha-app-main {
  overflow-x: clip;
}

.kiraboshi-tech-wrapper,
.kaisha-app-main {
  overflow-x: hidden;
}

/* -----------------FV----------------- */
.br_sp {
  display: none;
}

.ka-fv {
  position: relative;
  overflow: hidden;
  background: #fff;
  padding-bottom: 110px;
  isolation: isolate;
}

.ka-fv__inner {
  position: relative;
  max-width: 100%;
  padding: 3% 2% 10%;
  overflow: visible;
}

/* 黄色の斜め背景 */
.ka-fv__yellow {
  position: absolute;
  top: 0;
  right: 0;
  width: 52%;
  height: 100%;
  background: var(--c-kaisha-app);
  clip-path: polygon(38% 0, 100% 0, 100% 100%, 0 100%);
  z-index: 1;
}

/* 枠の共通設定 */
.ka-fv__frame {
  position: absolute;
  top: 3%;
  left: 2%;
  right: 2%;
  height: 80%;
  pointer-events: none;
}

/* 全体の黄色い枠 */
.ka-fv__frame--yellow {
  border: 16px solid var(--c-kaisha-app);
  z-index: 2;
}

/* 黄色背景に重なる部分だけ白枠を重ねる */
.ka-fv__frame--white {
  border: 16px solid #fff;
  clip-path: polygon(68% 0, 100% 0, 100% 100%, 51.5% 100%);
  z-index: 4;
}

/* 左側の中身 */
.ka-fv__content {
  position: relative;
  z-index: 5;
  margin-left: 7%;
  padding-top: 4%;
  padding-bottom: 5%;
}

/* Simple is Best */
.ka-fv__title {
  margin: 0 0 8px;
  font-size: clamp(16px, 5.2vw, 200px);
  line-height: 1;
  font-weight: 800;
}

.ka-fv__title,
.ka-fv__title * {
  font-family: "Cantarell", sans-serif !important;
}

.ka-fv__title span {
  background: linear-gradient(transparent 60%, var(--c-kaisha-app) 52%);
}

/* リード文 */
.ka-fv__lead {
  margin: 0 0 2%;
  font-size: clamp(16px, 2vw, 100px);
  line-height: 1.6;
  font-weight: 700;
  color: var(--c-black02);
}

/* アイコンボックス */
.ka-fv__points {
  display: flex;
  gap: 20px;
  margin-bottom: 3%;
}

.ka-fv__point {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 1% 2%;
  border: 4px solid var(--c-kaisha-app);
  border-radius: 6px;
  background: #fffef4;
}

.ka-fv__point img {
  width: clamp(16px, 3.5vw, 100px);
  height: auto;
}

.ka-fv__point p {
  margin: 0;
  font-size: clamp(10px, 1vw, 100px);
  line-height: 1.45;
  font-weight: 700;
}

/* CTAボタン */
/* CTAボタン */
.ka-fv__btn {
  position: relative;
  display: block;
  width: 38%;
  text-decoration: none;
  z-index: 10;
}

.ka-fv__btn-copy {
  position: relative;
  z-index: 2;
  display: block;
  max-width: 82%;
  margin: 0 auto -3%;
  padding: 4px 20px 5px;
  border: 3px solid var(--c-cta01);
  border-radius: 999px;
  background: var(--c-white01);
  color: var(--c-black02);
  text-align: center;
  font-size: clamp(10px, 1.1vw, 100px);
  font-weight: 700;
  line-height: 1.4;
}

.ka-fv__btn-main {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4% 8%;
  border-radius: 999px;
  background: var(--c-cta01);
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  color: var(--c-white01);
  font-size: clamp(1px, 2vw, 100px);
  font-weight: 700;
  line-height: 1.4;
}

.ka-fv__btn-main span {
  color: inherit;
}

.ka-fv__btn-icon {
  position: absolute;
  left: 42px;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(1px, 2vw, 100px);
}

.ka-fv__btn-arrow {
  position: absolute;
  right: 34px;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(1px, 1vw, 100px);
  line-height: 1;
}

/* 右側スマホ画像 */
.ka-fv__phone {
  position: absolute;
  right: 4%;
  top: 2%;
  width: min(44vw, 800px);
  z-index: 6;
}

.ka-fv__phone img {
  display: block;
  width: 100%;
  height: auto;
}

.ka-fv {
  position: relative;
  overflow: hidden; /* 円の左右は画面外に見切らせる */
  background: #fff;
}

.ka-fv::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 77%;
  transform: translateX(-50%);

  width: 4000px;
  height: 300px;

  background: #f1f1f1;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  z-index: 20;
  pointer-events: none;
}

/* -----------------trouble----------------- */
.kaisha-trouble {
  position: relative;
  z-index: 21;
  margin-top: -11%;
  background: #f1f1f1;
}

.kaisha-trouble__inner {
  padding: 20px 0 20px;
  border-radius: 0;
  background: #f1f1f1;
}

.kaisha-trouble .kaisha-section-title {
  margin: 4px 0 44px;
}

.kaisha-trouble__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px;
  max-width: 980px;
  margin: 0 auto;
}

.kaisha-trouble-card {
  padding: 34px 20px 26px;
  border-radius: 14px;
  background: var(--c-white01);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.18);
  text-align: center;
}

.kaisha-trouble-card__text {
  margin-bottom: 18px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.7;
}

.kaisha-trouble-card img {
  max-width: 100%;
  height: auto;
}

/* -----------------about----------------- */
.kaisha-about {
  position: relative;
  overflow: hidden;
  padding: 120px 0 110px;
  background: var(--c-kaisha-app);
}

.kaisha-about::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -30%;
  transform: translateX(-50%);

  width: 4000px;
  height: 300px;

  background: #f1f1f1;
  border-radius: 0 0 50% 50% / 0 0 100% 100%;
  z-index: 20;
  pointer-events: none;
}

.worries-footer {
  display: none;
}

.kaisha-about__heading {
  margin-bottom: 54px;
  text-align: center;
}

.kaisha-about__heading p {
  margin-bottom: 10px;
  font-size: clamp(18px, 3vw, 28px);
  font-weight: 700;
}

.kaisha-about__heading h2 {
  font-size: clamp(54px, 8vw, 92px);
  font-weight: 700;
  line-height: 1.1;
}

.kaisha-about__heading h2 span {
  background: linear-gradient(transparent 60%, var(--c-white01) 52%);
  line-height: 1.1;
}

.kaisha-about__box {
  display: grid;
  grid-template-columns: 1fr 40%;
  align-items: center;
  gap: 36px;
  max-width: 960px;
  margin: 0 auto;
  padding: 70px 72px;
  border-radius: 16px;
  background: var(--c-white01);
}

.kaisha-about__content h3 {
  margin-bottom: 24px;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.3;
}

.kaisha-about__content h3 span {
  font-family: "Cantarell", sans-serif !important;
  background: linear-gradient(transparent 60%, var(--c-kaisha-app) 52%);
}

.kaisha-about__content p {
  margin-top: 20px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.9;
}

.kaisha-about__image {
  margin: 0;
}

.kaisha-about__image img {
  width: 100%;
  height: auto;
}

/* -----------------point----------------- */
.kaisha-point {
  padding: 86px 0 108px;
  background: #fff8e8;
}

.kaisha-point__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px;
  max-width: 1040px;
  margin: 0 auto;
}

.kaisha-point-item {
  display: grid;
  grid-template-rows: auto 76px auto;
}

.kaisha-point-card {
  position: relative;
  margin-top: 10px;
  padding: 28px 24px 26px;
  border-radius: 14px;
  background: var(--c-white01);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.16);
  text-align: center;
}

.kaisha-point-card h3 {
  margin-bottom: 16px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.5;
}

.kaisha-point-card p {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.8;
}

.kaisha-point-card img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 16px auto 0;
}

.kaisha-point-label {
  display: inline-block;
  margin: -46px auto 18px;
  padding: 5px 16px;
  border-radius: 999px;
  background: var(--c-gray02);
  color: var(--c-white01);
  font-size: 12px;
  font-weight: 700;
}

.kaisha-point-label--yellow {
  background: var(--c-kaisha-app);
  color: var(--c-black02);
}

.kaisha-point-arrow {
  position: relative;
}

.kaisha-point-arrow::before {
  content: "";
  position: absolute;
  inset: 18px 0 auto;
  width: 0;
  height: 0;
  margin: 0 auto;
  border-top: 60px solid var(--c-kaisha-app);
  border-right: 42px solid transparent;
  border-left: 42px solid transparent;
}

/* -----------------contact----------------- */
.kaisha-contact {
  padding: 86px 0 126px;
  background: var(--c-kaisha-app);
}

.kaisha-contact__box {
  max-width: 960px;
  margin: 0 auto;
  padding: 66px 20px 72px;
  border-radius: 16px;
  background: var(--c-white01);
  text-align: center;
}

.kaisha-contact__box p {
  font-size: 22px;
  font-weight: 700;
}

.kaisha-contact__box h2 {
  margin-bottom: 46px;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.45;
}

.kaisha-contact__box h2 span {
  background: linear-gradient(transparent 58%, var(--c-kaisha-app) 58%);
}

.kaisha-contact__btn {
  position: relative;
  display: block;
  width: min(100%, 500px);
  margin: 0 auto;
  text-decoration: none;
}

.kaisha-contact__btn-copy {
  position: relative;
  z-index: 2;
  display: block;
  max-width: 82%;
  margin: 0 auto -14px;
  padding: 4px 20px 5px;
  border: 3px solid var(--c-cta01);
  border-radius: 999px;
  background: var(--c-white01);
  color: var(--c-black02);
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
}

.kaisha-contact__btn-main {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 82px;
  padding: 0 80px;
  border-radius: 999px;
  background: var(--c-cta01);
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  color: var(--c-white01);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.4;
}

.kaisha-contact__btn-main span {
  color: inherit;
}

.kaisha-contact__btn-icon {
  position: absolute;
  left: 42px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
}

.kaisha-contact__btn-arrow {
  position: absolute;
  right: 34px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
}

/* -----------------footer adjustment----------------- */
.page-kaisha-app .kiraboshi-tech-footer {
  background: var(--c-white01);
}

.page-kaisha-app .footer-flex-wrap::after {
  background-color: var(--c-gray01);
}

.page-kaisha-app .footer-list__li > a,
.page-kaisha-app .footer-copy-right__text,
.page-kaisha-app .footer-copy-right__text .copyright-year {
  color: var(--c-black02);
}

/* -----------------SP----------------- */
@media screen and (max-width: 767px) {
  .br_sp {
    display: block;
  }

  .ka-fv {
    padding-bottom: 0;
  }

  .ka-fv__inner {
    position: relative;
    padding: 0;
    aspect-ratio: 375 / 726;
    background: url("../img/kaisha-app/sp-fv.jpg") center top / contain no-repeat;
    overflow: visible;
  }

  /* SPでは背景画像に含めるので非表示 */
  .ka-fv__yellow,
  .ka-fv__frame,
  .ka-fv__title,
  .ka-fv__lead,
  .ka-fv__points,
  .ka-fv__phone {
    display: none;
  }

  .ka-fv__content {
    display: block;
    position: static;
    margin: 0;
    padding: 0;
  }

  /* ボタンだけ背景の上に配置 */
  .ka-fv__btn {
    position: absolute;
    left: 50%;
    bottom: 21%;
    transform: translateX(-50%);
    width: 80%;

    z-index: 10;
  }

  .ka-fv__btn-copy {
    max-width: 82%;
    margin: 0 auto -9px;
    padding: 3px 12px 4px;
    border-width: 2px;
    font-size: 11px;
  }

  .ka-fv__btn-main {
    min-height: 58px;
    padding: 0 54px;
    font-size: 21px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
  }

  .ka-fv__btn-icon {
    left: 30px;
    width: 26px;
  }

  .ka-fv__btn-arrow {
    right: 28px;
    width: 13px;
  }

  .ka-fv::after {
    display: none;
  }

  .kaisha-trouble {
    margin-top: 0;
  }

  .kaisha-trouble__inner {
    padding: 0;
    border-radius: 0;
  }

  .kaisha-section-subtitle {
    font-size: 16px;
  }

  .kaisha-section-title {
    font-size: 26px;
  }

  .kaisha-trouble .kaisha-section-title {
    margin-bottom: 28px;
  }

  .kaisha-trouble__list {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 260px;
  }

  .kaisha-trouble-card {
    padding: 24px 18px 20px;
  }

  .kaisha-about {
    padding: 0 0 64px;
  }

  .worries-footer {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 20px;
  }

  .kaisha-about::before {
    display: none;
  }

  .kaisha-about__heading {
    margin-bottom: 40px;
  }

  .kaisha-about__heading p {
    font-size: 5vw;
    line-height: 1.7;
  }

  .kaisha-about__heading h2 {
    font-size: 15vw;
  }

  .kaisha-about__box {
    display: block;
    padding: 34px 24px;
  }

  .kaisha-about__content h3 {
    font-size: 8vw;

  }

  .kaisha-about__content p {
    font-size: 14px;
  }

  .kaisha-about__image {
    margin-top: 24px;
  }

  .kaisha-point {
    padding: 54px 0 70px;
  }

  .kaisha-section-title--marker {
    margin-bottom: 30px;
  }

  .kaisha-point__scroll {
    overflow-x: auto;
    margin: 0 -20px;
    padding: 0 20px 12px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .kaisha-point__list {
    display: flex;
    gap: 20px;
    width: max-content;
    max-width: none;
  }

  .kaisha-point-item {
    flex: 0 0 min(76vw, 290px);
    scroll-snap-align: center;
  }

  .kaisha-point-card {
    padding: 26px 20px 24px;
  }

  .kaisha-point-card h3 {
    font-size: 20px;
  }

  .kaisha-contact {
    padding: 54px 0 70px;
  }

  .kaisha-contact__box {
    padding: 36px 20px 42px;
  }

  .kaisha-contact__box p {
    font-size: 15px;
  }

  .kaisha-contact__box h2 {
    margin-bottom: 28px;
    font-size: 24px;
  }
}