@charset 'UTF-8';

/* body */
body {
  background-image: url(../images/bg_home.svg);
  background-repeat: no-repeat;
  background-position: 50% calc(50svh - 171 / 1366 * 100vw);
  background-size: calc(1964 / 1366 * 100vw) auto;
}

/* wrapper */
#wrapper {
  padding-top: 0;
  max-width: 104.2rem;
}

/* header logo */
#drawer + header .logo a {
  transition: 0.4s opacity ease-out;
}
#drawer + header .logo:not(.visible) a {
  opacity: 0;
  pointer-events: none;
}
@media screen and (max-width: 767px) {
  #drawer:checked + header .logo:not(.visible) a {
    opacity: 1;
    pointer-events: auto;
  }
}

/* fv */
#fv {
  padding: 8.4rem 2.6rem;
  margin: 0 calc(50% - 50vw);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100svh;
  position: relative;
  box-sizing: border-box;
  /* transition: 0.8s opacity ease-in-out 0.2s, 0.8s filter ease-in-out 0.2s; */
}
@media screen and (min-width: 768px) {
  #fv {
    padding-left: calc(114 / 1366 * 100vw);
    padding-right: calc(114 / 1366 * 100vw);
  }
}
:root:not(.loaded) #fv {
  opacity: 0;
  -webkit-filter: blur(16px);
  filter: blur(16px);
}

#fv .logo {
  padding: 0 0 4.8rem 0;
}
#fv .logo .image {
  margin: 0 auto;
  width: 31.4rem;
}
@media screen and (min-width: 768px) {
  #fv .logo .image {
    margin: 0;
    width: calc(314 / 1366 * 100vw);
  }
}
#fv .logo img {
  width: 100%;
}
#fv .scroll a {
  padding-left: 0.2em;
  display: block;
  position: absolute;
  bottom: 2.6rem;
  left: 1.8rem;
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.01em;
  -webkit-writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
}
@media screen and (min-width: 768px) {
  #fv .scroll a {
    bottom: 2rem;
    left: 4rem;
  }
}
#fv .scroll a::before {
  content: "";
  margin: auto;
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.25rem;
  background-color: currentColor;
}
#fv .scroll a::after {
  content: "";
  margin-top: 0.5rem;
  margin-right: 0.2em;
  display: inline-block;
  width: 1px;
  height: 8rem;
  background-color: currentColor;
}

/* statement */
#statement {
  padding: 6.4rem 0;
}
@media screen and (min-width: 768px) {
  #statement {
    padding: 9rem 0;
  }
}
#statement .desc {
  padding: 0.5em 0;
  font-size: 1.9rem;
  line-height: 2;
}
@media screen and (min-width: 768px) {
  #statement .desc {
    padding: 0.865em 0 0.865em 1.4rem;
    font-size: 2.2rem;
    line-height: 2.73;
  }
}
#statement .desc p {
  margin: 0;
  font-weight: 500;
  text-align: justify;
}
@media screen and (min-width: 768px) {
  #statement .desc p {
    letter-spacing: calc(0.88 / 22 * 1em);
    text-align: start;
  }
}
#statement .desc p + p {
  margin-top: 2em;
}
@media screen and (min-width: 768px) {
  #statement .desc p + p {
    margin-top: 2.73em;
  }
}
#statement .tagline {
  padding: 0.3em 0;
  margin: 1.2em 0;
  display: block;
  font-size: 4.2rem;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: calc(2 / 50 * 1em);
}
@media screen and (min-width: 768px) {
  #statement .tagline {
    font-size: 5rem;
  }
}

/* article */
main > article {
  padding: 6.4rem 0;
}
@media screen and (min-width: 768px) {
  main > article {
    padding: 9rem 0;
  }
}

/* promise */
#promise dl {
  padding: 3.2rem 0;
  margin: 0 0 0 auto;
  /* max-width: 61.6rem; */
  max-width: 64.8rem;
  counter-reset: pnum;
}
@media screen and (min-width: 768px) {
  #promise dl {
    padding: 5.4rem 0;
  }
}
#promise dl > div {
  padding: 3.2rem 0;
  counter-increment: pnum;
}
@media screen and (min-width: 768px) {
  #promise dl > div {
    padding: 5.4rem 0;
  }
}
#promise dt {
  padding: 0.215em 0;
  display: flex;
  align-items: center;
  position: relative;
  font-size: 1.9rem;
  font-weight: 500;
  line-height: 1.43;
  letter-spacing: calc(1.12 / 28 * 1em);
}
@media screen and (min-width: 768px) {
  #promise dt {
    /* font-size: 2.8rem; */
    font-size: 3rem;
    align-items: baseline;
  }
}
#promise dt::before {
  content: counter(pnum);
  margin-right: 1em;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 5.6rem;
  height: 5.6rem;
  border: solid 1px;
  border-radius: 50%;
  box-sizing: border-box;
  font-size: 2.4rem;
  font-weight: normal;
  line-height: 1;
  letter-spacing: normal;
  -webkit-clip-path: polygon(
    0% 0%,
    100% 0%,
    100% calc(30 / 56 * 100%),
    calc(43 / 56 * 100%) calc(30 / 56 * 100%),
    calc(43 / 56 * 100%) calc(50 / 56 * 100%),
    100% calc(50 / 56 * 100%),
    100% 100%,
    0% 100%
  );
  clip-path: polygon(
    0% 0%,
    100% 0%,
    100% calc(30 / 56 * 100%),
    calc(43 / 56 * 100%) calc(30 / 56 * 100%),
    calc(43 / 56 * 100%) calc(50 / 56 * 100%),
    100% calc(50 / 56 * 100%),
    100% 100%,
    0% 100%
  );
}
@media screen and (min-width: 768px) {
  #promise dt::before {
    margin-right: 6rem;
  }
}
#promise dt::after {
  content: ".";
  position: absolute;
  left: 4.6rem;
  top: 2.8rem;
  font-size: 2.6rem;
  font-weight: normal;
  line-height: 1;
  letter-spacing: normal;
}
#promise dd {
  padding: 0.5em 0;
  margin: 0;
  /* font-size: 1.5rem; */
  font-size: 1.6rem;
  line-height: 2;
}
@media screen and (min-width: 768px) {
  #promise dd {
    padding-left: 11.6rem;
  }
}
#promise dd p {
  margin: 0;
  font-size: inherit;
  font-weight: 500;
  line-height: inherit;
  letter-spacing: calc(0.6 / 15 * 1em);
  text-align: justify;
}

/* reviews */
#reviews .artlist {
  padding: 4.6rem 0;
}
@media screen and (min-width: 768px) {
  #reviews .artlist {
    padding: 12.5rem 0;
  }
}
#reviews .artlist article:not(:first-of-type) {
  margin-top: 4.6rem;
}
@media screen and (min-width: 768px) {
  #reviews .artlist {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  #reviews .artlist article {
    flex-basis: calc(300 / 1042 * 100%);
  }
  #reviews .artlist article:last-of-type:nth-of-type(3n - 1) {
    margin-right: calc(371 / 1042 * 100%);
  }
  #reviews .artlist article:not(:first-of-type) {
    margin-top: 0;
  }
  #reviews .artlist article:nth-of-type(n + 4) {
    margin-top: 4.6rem;
  }
}
#reviews article a {
  display: flex;
  flex-direction: column;
  height: 100%;
}
#reviews article h3 {
  padding: 0.25em 0;
  margin: 0;
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
@media screen and (min-width: 768px) {
  #reviews article h3 {
    font-size: 2rem;
  }
}
#reviews article .meta {
  padding: 1em 0;
  margin: auto 0 0 0;
  list-style: none;
  font-size: 1.4rem;
  line-height: 2;
}
#reviews article .meta li {
  font-weight: 500;
  letter-spacing: calc(0.9 / 14 * 1em);
}
#reviews article .ftimage {
  order: -10;
  padding-bottom: 2.1rem;
}
#reviews article .ftimage .image {
  aspect-ratio: 300 / 192;
}
#reviews article .ftimage .image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}
#reviews article .more {
  padding: 1em 0;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: calc(0.56 / 14 * 1em);
  text-align: end;
  border-top: 1px dashed;
}
#reviews article .more::after {
  content: "";
  margin-left: 0.7em;
  display: inline-block;
  vertical-align: sub;
  width: 0.5rem;
  height: 1em;
  background-image: radial-gradient(circle, currentColor calc(0.5rem / 2), transparent calc(0.5rem / 2));
  background-repeat: no-repeat;
}
#reviews .button a {
  margin-left: auto;
  margin-right: auto;
  display: flex;
  align-items: center;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  min-height: 4.4rem;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1;
}
@media screen and (min-width: 768px) {
  #reviews .button a {
    margin-right: 0;
  }
}
#reviews .button a::after {
  content: "";
  margin-left: 0.8rem;
  display: inline-block;
  width: 1.2rem;
  height: 1.1rem;
  background: url(../images/ico_arrow.svg) no-repeat 50% 50% / contain;
}

/* news */
#news .artlist {
  padding: 1.6rem 0;
  margin: 0 auto;
  max-width: 87.8rem;
}
@media screen and (min-width: 768px) {
  #news .artlist {
    padding: 3.1rem 0;
  }
}
#news article {
  padding: 1.6rem 0;
}
@media screen and (min-width: 768px) {
  #news article {
    padding: 3.1rem 0;
  }
}
#news article a {
  display: flex;
  flex-direction: column;
}
@media screen and (min-width: 768px) {
  #news article a {
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
  }
}
#news article h3 {
  padding: 0.25em 0;
  margin: 0;
  /* font-size: 1.4rem; */
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: calc(0.56 / 14 * 1em);
}
#news article time {
  padding: 0.7em 0;
  order: -10;
  display: block;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: calc(0.84 / 14 * 1em);
}
#news .button {
  padding: 1.4rem 0;
  margin: 0 auto;
  max-width: 87.8rem;
}
#news .button a {
  margin-left: auto;
  margin-right: auto;
  display: flex;
  align-items: center;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  min-height: 4.4rem;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1;
}
@media screen and (min-width: 768px) {
  #news .button a {
    margin-left: 0;
    margin-right: 0;
  }
}
#news .button a::after {
  content: "";
  margin-left: 0.8rem;
  display: inline-block;
  width: 1.2rem;
  height: 1.1rem;
  background: url(../images/ico_arrow.svg) no-repeat 50% 50% / contain;
}

/* company */
#company > dl {
  padding: 2.5rem 0;
}
#company dl {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: calc(0.64 / 16 * 1em);
}
#company > dl {
  margin: 0 auto;
  max-width: 87.8rem;
}
#company > dl > div {
  padding: 0.75em 0;
  display: flex;
}
@media screen and (min-width: 768px) {
  #company > dl > div {
    padding: 2.5rem 0;
  }
}
#company > dl > div > dt {
  flex-basis: 5em;
  flex-shrink: 0;
}
@media screen and (min-width: 768px) {
  #company > dl > div > dt {
    flex-basis: 29.6rem;
  }
}
#company dd {
  margin: 0;
}
#company dd dl > div:not(:last-of-type) {
  padding-bottom: 1.5em;
}
#company ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

/* media queries */
@media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 1.5dppx) {
}
@media (-webkit-min-device-pixel-ratio: 3), (min-resolution: 3dppx) {
}
@media screen and (min-width: 480px) {
  /* sp_horizon- */
}
@media screen and (min-width: 768px) {
  /* tablet- */
}
@media screen and (min-width: 1280px) {
  /* pc- */
}
