@charset "UTF-8";

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

  /* gradation */
  --bg-grad: linear-gradient(#F6FAFC, #F0F4FF);

  /* 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(p > span) {
  font-weight: var(--fw-B);
}

: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
}

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-20);
  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);
}

.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);
  position: relative;
  z-index: 0;
}
.sec_content {
  padding: 48px 0;
}
:where(.sec_content > div) {
  max-width: 768px;
  margin: 0 auto;
}
.sec_inner {
  width: 100%;
  max-width: 680px;
}

h2:has(img + p) {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  & img {
    width: initial;
    height: 40px;
  }
}

.merit_content > *,.value_content > *,.scene_content > *,
.about_content > *,.introduce_content > * {
  margin-bottom: 32px;
  &:last-child {
    margin-bottom: 0;
  }
}
.about_content > *,.introduce_content > * {
  margin-bottom: 24px;
}

/* *********************************************** */
.kv {
  padding-top: 32px;
  padding-bottom: 48px;
  margin: 0 auto;
}
.kv_content {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
  margin: 0 auto;
  max-width: 924px;
  & > img {
    max-width: 400px;
  }
}
.kv_inner {
  font-size: var(--fz-16);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  & > img {
    max-width: 500px;
  }
}
.kv-lead_content {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.about_inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  & img {
    max-width: 240px;
    max-height: 240px;
  }
  & img.even  {
    order: 2;
  }
  & .txt_lg {
    margin-bottom: 1.5rem;
  }
}

.value {
  padding-bottom: 8px;
}
.value_content img {
  max-width: 160px;
}
.value_content :nth-last-child(2) img {
  max-width: 230px;
}   

.scene_inner {
  display: grid;
  grid-template-columns:repeat(4,1fr);
}
.scene_card {
  flex: 1;
  font-weight: var(--fw-B);
  width: 100%;
  & img {
    display: block;
    margin: 0 auto;
    width: 80px;
    height: 80px;
  }
}

.introduce {
  padding-bottom: 24px;
}
.introduce_inner {
  display: flex;
  gap: 32px;
  margin-bottom: 32px;
  & p {
    text-align: left;
  }
}
.introduce_inner > :first-child {
  font-size: var(--fz-24);
  font-weight: var(--fw-B);
  text-align: right;
  width: 60%;
  white-space: nowrap;
}
.introduce_inner span {
  font-weight: var(--fw-R);
  margin-bottom: -1em;
  display: block;
}

.contact {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-bottom: 0;
}
.contact_logo {
  height: 88px;
  & img {
    height: 100%;
  }
}
.contact_txt {
  font-size: var(--fz-32);
  font-weight: var(--fw-M);
}
.contact_pic {
  margin: 0 auto -1rem;
  max-width: 300px;
}

@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;
  }

  .sec_content {
    padding-left: 24px;
    padding-right: 24px;
  }

  h2:has(img + p) { 
    flex-direction: column;
    gap: 0.75rem;
  }
  .merit_content > *,.value_content > *,.scene_content > *,
  .about_content > *,.introduce_content > * {
    margin-bottom: 40px;
  }

  .kv_content {
    flex-direction: column;
    & > img {
      max-width: 320px;
    }
  }
  .kv_inner {
    margin-bottom: 24px;
  }
  .about_inner {
    flex-direction: column;
    & img {
      max-width: 160px;
      max-height: 160px;
    }
    & img.even  {
      order: 0;
    }
  }
  .scene_inner {
    justify-content: center;
    grid-template-columns:repeat(2,164px);
    row-gap: 1em;
  }
  .introduce_inner {
    flex-direction: column;
    gap: 24px;
    & > :first-child {
      text-align: left;
    }
  }
}

@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 {
  background: #FFF;
}
.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;
  }
}