@charset "UTF-8";

:root {
  /* color */
  --color-main: #2D638F;
  --color-accent-01: #FE6F3B;
  --color-accent-02: #F5DA3C;
  --color-base: #FDFFFF;
  --color-btn: #00A3E0;
  --color-black: #4B4B4B;
  --color-white: #FFF;
  --color-gray: #3B474FB2;

  /* shadow */
  --shadow-sm: 0px 2px 10px 2px #2D638F59;
  --shadow-in-sm: 0px 0px 8px 0px #103D5B59 inset;
  --shadow-in-lg: 0px 0px 16px 0px #103D5BCC inset;
  --shadow-btn: 0px 1px 3px 0px #00486259;

  /* gradation */
  --bg-grad-light: linear-gradient(#EAF9FF80, #EFF5FF80);
  --bg-grad-dark: linear-gradient(180deg, rgba(221, 239, 251, 0.1) 0%, rgba(221, 239, 251, 0.3) 54.33%, rgba(239, 245, 255, 0.4) 90.38%);

  /* fontsize */
  --fz-07: 0.4375rem;
  --fz-08: 0.5rem;
  --fz-10: 0.625rem;
  --fz-12: 0.75rem;
  --fz-13: 0.8125rem;
  --fz-14: 0.875rem;
  --fz-15: 0.9375rem;
  --fz-16: 1rem;
  --fz-17: 1.0625rem;
  --fz-18: 1.125rem;
  --fz-19: 1.1875rem;
  --fz-20: 1.25rem;
  --fz-22: 1.375rem;
  --fz-24: 1.5rem;
  --fz-26: 1.625rem;
  --fz-28: 1.75rem;
  --fz-30: 1.875rem;
  --fz-32: 2rem;
  --fz-34: 2.125rem;
  --fz-36: 2.25rem;
  --fz-38: 2.375rem;
  --fz-40: 2.5rem;
  --fz-60: 3.75rem;

  /* fontweight */
  --fw-R: 400;
  --fw-M: 500;
  --fw-SB: 600;
  --fw-B: 700;
  --fw-BK: 900;
}

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

:where(h2, h3, h4) {
  font-weight: var(--fw-B);
  text-align: center;
  line-height: 1.2;
  line-height: 1.4;
}

:where(h1) {
  line-height: 1;
}

:where(h2) {
  font-size: var(--fz-32);
  color: var(--color-main);
}

:where(h3) {
  font-size: var(--fz-24);
}

:where(h4) {
  font-size: var(--fz-20);
}

:where(p) {
  text-align: center;
}

:where(a) {
  color: var(--color-black);
  text-decoration: none;
}

:where(ol li, ul li) {
  list-style: none;
}

:where(img) {
  width: 100%;
}

:where(button) {
  padding: 0;
  border: none;
  outline: none;
  font: inherit;
  color: inherit;
  background: none
}

:where(summary) {
  display: block;
  list-style-type: none;
}

:where(summary::-webkit-details-marker) {
  display: none;
}

html {
  scroll-padding-top: 60px;
}

body {
  background-color: var(--color-base);
  color: var(--color-black);
  font-family: 'Noto Sans JP', 'メイリオ', 'Meiryo', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Hiragino Sans, 'Osaka', 'MS PGothic', -apple-system, BlinkMacSystemFont, arial, helvetica, sans-serif;
  font-kerning: normal;
  font-size: var(--fz-16);
  line-height: 1.6;
}

/* 共通パーツ ********************************* */
.sp_only {
  display: none;
}

.txt_lg {
  font-size: var(--fz-24);
}

.txt_em {
  font-size: var(--fz-24);
  font-weight: var(--fw-B);
}

.txt_line-01 {
  background: linear-gradient(transparent 75%, var(--color-accent-01) 75%);
}
.txt_line-02 {
  background: linear-gradient(transparent 75%, var(--color-accent-02) 75%);
}

.btn_contact {
  background-color: var(--color-btn);
  border: 1px solid var(--color-white);
  border-radius: 8px;
  box-shadow: var(--shadow-btn);
  color: var(--color-white);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: var(--fz-24);
  font-weight: var(--fw-B);
  margin: 0 auto;
  padding-bottom: 0.2em;
  transition: 0.3s;
  width: 240px;
  height: 56px;

  &:hover {
    background-color: #1A74B0;
  }
}

.sec_bg {
  background: var(--bg-grad-light);
  position: relative;
  z-index: 0;
}
.sec_content {
  padding: 40px 0 48px;
}
:where(.sec_content > div) {
  max-width: 844px;
  margin: 0 auto;
}
.sec_inner {
  width: 100%;
  max-width: 620px;
}

/* *********************************************** */

.kv {
  background-color: #E1EFFA;
  background: linear-gradient(0deg, #F7FCFE 30%, #E1EFFA 30%, #E1EFFA 100%);
  padding-bottom: 0;
  position: relative;
  overflow: hidden;
  z-index: 0;
}
.kv_title {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
  & h2, img {
    height: 88px;
  }
}
.kv_content {
  position: relative;
}
.kv_image {
  position: absolute;
  top: 50%;
  left: 0%;
  transform: translateY(-50%);
  max-width: 450px;
  z-index: -1;

  &::after {
    content: "";
    background: linear-gradient(0deg, transparent 40%, #CADFF4 75%, #CADFF4 100%);
    display: block;
    margin-top: -31px;
    position: absolute;
    left: -100vw;
    width: 200vw;
    height: 400px;
    z-index: -1;
  }
}
.kv_inner {
  max-width: 488px;
  margin: 0 0 24px auto;
  width: fit-content;
}
.kv_card {
  background: #FFFFFF99;
  padding: 24px 54px;
  position: relative;
  width: 100%;
}
.kv_txt {
  font-size: var(--fz-32);
  margin-bottom: 24px;
  white-space: nowrap;

  & br {
    display: none;
  }
}
.kv_txt-title {
  color: var(--color-accent-01);
  font-size: var(--fz-20);
  font-weight: var(--fw-B);
  margin-bottom: 24px;
}
.kv_list-title {
  font-weight: var(--fw-B);
  position: absolute;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
}
.kv_list {
  border: 2px solid var(--color-accent-01);
  border-top: none;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 0 auto 24px;
  position: relative;
  padding: 16px 32px;
  width: fit-content;

  &::before {
    content: "";
    border-top: 2px solid var(--color-accent-01);
    border-left: 2px solid var(--color-accent-01);
    border-radius: 4px 0;
    position: absolute;
    top: 0;
    left: -2px;
    width: 60px;
    height: 50px;
  }
  &::after { 
    content: "";
    border-top: 2px solid var(--color-accent-01);
    border-right: 2px solid var(--color-accent-01);
    border-radius: 0 4px;
    position: absolute;
    top: 0;
    right: -2px;
    width: 60px;
    height: 50px;
  }
  & li::before {
    content: "・";
    width: 1rem;
    height: 1rem;
  }
}
.kv_txt-conclusion {
  font-size: var(--fz-14);

  & span:first-of-type {
    font-weight: var(--fw-B);
  }
  & span:last-of-type {
    color: var(--color-accent-01);
    font-size: var(--fz-16);
    font-weight: var(--fw-B);
  }
}
.kv_lead {
  color: var(--color-white);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 8px 16px 16px;
  position: relative;
  max-width: 804px;
  z-index: 1;

  & p:first-of-type {
    font-size: var(--fz-32);
    font-weight: var(--fw-B);
  }
  & img {
    max-width: 160px;
  }
  &::before {
    content: "";
    background-color: var(--color-gray);
    box-shadow: var(--shadow-in-sm);
    position: absolute;
    top: 0;
    left: 0;
    transform: skewX(15deg);
    width: 100%;
    height: 100%;
    z-index: -1;
  }
}

.about_title {
  font-size: var(--fz-24);
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 32px;
}

.about_title-txt {
  margin-bottom: 1rem;
  width: fit-content;
}

.about_title h2 {
  width: auto;
  height: 88px;
  margin-bottom: 1rem;
}

.about-step_content {
  display: grid;
  align-items: center;
  grid-template-columns: 1fr 1em 1fr 1em 1fr;
  gap: 0.5rem;
  margin-bottom: 40px;
}

.about-step_inner {
  background: var(--bg-grad-dark);
  box-shadow: var(--shadow-sm);
  border: 2px solid #FCFDFF;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  height: 100%;
  max-width: 260px;
  min-width: 0;
  padding: 2em;
  padding-top: calc(1em + 10px);
  position: relative;
  z-index: 0;

  &::before,
  &::after {
    content: "";
    display: block;
    border: 6px solid #FCFDFF;
    border-radius: 6px;
    box-sizing: content-box;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
    width: calc(100% - 2em);
    height: calc(100% - 2em);
    z-index: -1;
  }
  &::after {
    border: 4px solid #8DABC7;
  }
}

.about-step_content>img {
  width: 1em;
  height: 1em;
  margin-left: 0.1em;
}

.about-step_txt {
  color: var(--color-main);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;

  & :last-child {
    letter-spacing: -0.1em;
    white-space: nowrap;
  }
}

.about-step_txt-en {
  font-size: var(--fz-24);
  line-height: 1;
}

.about-step_txt-title {
  font-size: var(--fz-32);
  font-weight: var(--fw-B);
  line-height: 1;
}

.reason_content {
  display: flex;
  flex-direction: column;
  gap: 24px;

  & img {
    align-self: flex-start;
  }
}
.reason_txt {
  font-size: var(--fz-20);
}

.case h2,
.case h2+p {
  margin-bottom: 24px;
}

.case_conrtent {
  display: grid;
  align-items: center;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 720px;
  margin-bottom: 40px;
}

.case_inner {
  color: var(--color-white);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 24px;
  position: relative;
  z-index: 1;

  & img {
    max-width: 160px;
  }
  &::before {
    content: "";
    background-color: var(--color-gray);
    box-shadow: var(--shadow-in-sm);
    position: absolute;
    top: 0;
    left: 0;
    transform: skewX(2deg);
    width: 100%;
    height: 100%;
    z-index: -1;
  }
}

.case_txt {
  font-size: var(--fz-20);
  font-weight: var(--fw-B);
}

.work_content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.work_logo {
  height: 60px;
}

.value {
  display: flex;
  flex-direction: column;
  gap: 24px;

  & img {
    max-width: 120px;
  }
}
.value div .txt_em {
  color: var(--color-main);
}

.point_title {
  color: var(--color-main);
  margin-bottom: 24px;
}
.point_content {
  margin-bottom: 24px;
  & br {
    display: none;
  }
}
.point_inner {
  font-size: var(--fz-24);
  font-weight: var(--fw-BK);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;

  & img {
    width: 60px;
  }
}
.point_txt {
  font-size: var(--fz-20);
  font-weight: var(--fw-B);
  line-height: 1.2;
}

.plan h2 {
  margin-bottom: 40px;
}
.plan_content {
  display: grid;
  align-items: center;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem;
}
.plan_inner {
  background: #FDFFFFBF;
  box-shadow: var(--shadow-sm);
  border: 2px solid #FCFDFF;
  border-radius: 10px;
  color: var(--color-main);
  height: 100%;
  max-width: 300px;
  padding: 2em;
  padding-top: calc(1em + 10px);
  position: relative;
  z-index: 0;

  &::before,
  &::after {
    content: "";
    display: block;
    border: 6px solid #FCFDFF;
    border-radius: 6px;
    box-sizing: content-box;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
    width: calc(100% - 2em);
    height: calc(100% - 2em);
    z-index: -1;
  }
  &::after {
    border: 4px solid #E1EAF1;
  }
  & p:has(img) {
    height: 64px;
    margin-bottom: 0.5em;
  }
  & img {
    max-height: 64px;
  }
}
.plan_txt {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 24px auto;
  height: 3lh;
}
.plan_txt-step {
  font-size: var(--fz-20);
}
.plan_txt_note {
  color: var(--color-black);
  font-size: var(--fz-10);
}
.plan_inner {
  min-width: 0;
  & .txt_em {
    line-height: 1.2;
  }
  & dl {
    color: var(--color-black);
    text-align: center;
  }
}
.plan_card .txt_em {
  white-space: nowrap;
}

.plan_inner div:has(dl) {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 150px;
}

.contact {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-bottom: 80px;
}
.contact_logo {
  height: 88px;

  & img {
    height: 100%;
  }
}
.contact_txt {
  font-size: var(--fz-32);
  font-weight: var(--fw-M);
}

@media screen and (max-width: 890px) {
  .sec_content {
    padding-left: 20px;
    padding-right: 20px;
  }
  .kv_image {
    max-width: 302px;
    &::after {
      margin-top: -23px;
    }
  }
  .kv_txt {
    font-size: var(--fz-28);
  }
  .kv_lead {
    width: calc(100% - 4.6vw);
  }
  .about-step_txt :last-child {
    font-size: var(--fz-14);
  }
  .plan .txt_em {
    font-size: var(--fz-20);
  }
}
@media screen and (max-width: 767px) {
  :root{
    --fz-20: 1.125rem; /* 18px; */
    --fz-24: 1.25rem; /* 20px; */
    --fz-28: 1.5rem; /* 24px; */
    --fz-32: 1.75rem; /* 28px; */
  }
  .pc_only {
    display: none;
  }
  .sp_only {
    display: block;
  }
  .kv_title,.kv_content, .about-step_content, .case_conrtent,.plan_content {
    flex-direction: column;
  }
  .about-step_content,.case_conrtent,.plan_content {
    grid-template-columns: initial;
  }

  .kv {
    background: linear-gradient(0deg, #F7FCFE 0%, #E1EFFA 10%, #E1EFFA 100%);
  }
  .kv_title {
    & h2, img {
      height: fit-content;
    }
  }
  .kv_image {
    position: relative;
    transform: initial;
    max-width: initial;
    &::after {
      width: calc(100% + 40px);
      left: -20px;
      height: 120vw;
      margin-top: -6.1vw;
    }
  }
  .kv_inner {
    width: 100%;
    max-width: initial;
    margin-right: auto;
  }
  .kv_card {
    padding: 1rem 1rem 1.5rem;

  }

  .about-step_inner {
    max-width: initial;
  }
  .about-step_content > p > img {
    rotate: 90deg;
    width: 1rem;
  }

  .plan_inner {
    max-width: initial;
  }
  .plan_inner div:has(dl) {
    height: fit-content;
  }
  .plan_txt {
    height: fit-content;
    margin: 1rem auto;
  }
}

@media screen and (max-width: 540px) {
  .kv {
    padding-top: 1rem;
  }
  .kv_image::after {
    height: 111vw;
  }
  .kv_txt br {
    display: block;
  }
  .kv_list {
    padding: 1.5rem 1rem;
  }
  .kv_lead {
    &::before {
        transform: skewX(2deg);
    }
  }
  .point_content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    & br {
      display: block;
    }
  }
}

/* 流用パーツ ********************************* */
.header_content {
  display: flex;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
}
.header_content img {
  width: 360px;
  height: auto;
}
footer {
  background: #403e3e;
  font-family: 'M PLUS Rounded 1c', '游ゴシック体', 'Yu Gothic', YuGothic, 'ヒラギノ角ゴ Pro', 'Hiragino Kaku Gothic Pro', 'メイリオ', 'Meiryo', sans-serif;
  font-weight: var(--fw-B);
}
.footer_content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 100px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
}
.footer_content ul {
  display: flex;
}
.footer_content li {
  color: #fff;
  font-size: var(--fz-17);
  font-weight: bold;
  margin-right: 24px;
  white-space: nowrap;
}
.footer_content li a {
  color: inherit;
  letter-spacing: 0.1em;
  transition: 0.3s;
}
.footer_content li:hover {
  color: #89c4ff;
}
.footer_content img {
  width: 360px;
  height: auto;
}

@media screen and (max-width: 768px) {
  .footer_content {
    flex-direction: column;
    justify-content: space-around;
    height: 160px;
  }
  .footer_content ul {
    display: flex;
  }
  .footer_content li {
    color: #fff;
    font-size: 1.25rem; /* 20px; */
    font-weight: bold;
    margin-right: 24px;
  }
  .footer_content li:hover {
    color: #89c4ff;
  }
  .header_content img, .footer_content img {
    width: 240px;
    height: auto;
  }
}

@media screen and (max-width: 390px) {
  .footer_content li {
    font-size: 1.05rem;
  }
}