@charset "UTF-8";

/* ------------------------------------------- */
/* ABOUT
/* ------------------------------------------- */
.sec-about {
  background: #f9f6e9;
}

.about-panel {
  --u: min(1rem, calc(10 / 1920 * 100vw));
  position: relative;
  max-width: 192rem;
  margin: 0 auto;
  aspect-ratio: 1920 / 1798;

  &::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../../img/about/a-bg-pc.png") no-repeat center / 100% 100%;
    pointer-events: none;

    @media screen and (max-width: 767px) {
      background-image: url("../../img/about/a-bg-sp.png");
    }
  }

  @media screen and (max-width: 767px) {
    --u: 1rem;
    aspect-ratio: 375 / 2522;
  }
}

.about-panel .inner {
  position: absolute;
  left: 52%;
  top: 47%;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 50%;
  max-width: 50%;
  height: 72%;
  transform: translate(-50%, -50%);

  @media screen and (max-width: 767px) {
    left: 50%;
    top: 0;
    justify-content: flex-start;
    width: calc(100% - 6.4rem);
    max-width: none;
    height: 100%;
    transform: translateX(-50%);
    padding: 15.5rem 0 26rem;
  }
}

.about-heading {
  flex-shrink: 0;
  text-align: center;
  font-family: "Zen Kaku Gothic New";
  font-style: normal;
  font-weight: 700;
  font-size: calc(4.6 * var(--u));
  line-height: 1.4;
  letter-spacing: 0.13em;
  color: #282828;

  @media screen and (max-width: 767px) {
    font-size: 2.4rem;
    line-height: 3.5rem;
    text-align: center;
  }
}

.about-wave {
  display: block;
  flex-shrink: 0;
  width: calc(61.7 * var(--u));
  max-width: 100%;
  height: auto;
  margin: calc(0.4 * var(--u)) auto calc(6 * var(--u));

  @media screen and (max-width: 767px) {
    width: 80%;
    margin: 0.8rem auto 3rem;
  }
}

.about-list {
  display: flex;
  flex: none;
  flex-direction: column;
  gap: calc(7 * var(--u));
  height: auto;

  @media screen and (max-width: 767px) {
    flex: 1 1 auto;
    gap: 0;
    min-height: 0;
  }
}

.about-item {
  position: relative;
  flex: none;
  height: auto;
  padding: 0;

  &:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: calc(-3.5 * var(--u));
    height: calc(0.2 * var(--u));
    background-image: repeating-linear-gradient(
      to right,
      #c7c7c7 0,
      #c7c7c7 calc(0.6 * var(--u)),
      transparent calc(0.6 * var(--u)),
      transparent calc(1.4 * var(--u))
    );
  }

  @media screen and (max-width: 767px) {
    /* flex: 1; */
    padding: 5rem 0;

    &:first-child {
      padding-top: 0;
    }

    &:last-child {
      padding-bottom: 0;
    }

    &:not(:last-child)::after {
      bottom: 0;
      width: 85%;
      margin: auto;
    }
  }

  .item-title {
    display: flex;
    align-items: center;
    gap: calc(1.6 * var(--u));
    font-family: "Zen Kaku Gothic New";
    font-style: normal;
    font-weight: 700;
    font-size: calc(2.9 * var(--u));
    line-height: 1.45;
    letter-spacing: 0.04em;
    color: #00a3e0;

    br {
      display: none;
    }

    @media screen and (max-width: 767px) {
      flex-direction: column;
      align-items: center;
      gap: 1.6rem;
      font-size: 1.8rem;
      line-height: 1.5;
      letter-spacing: 0.04em;
      text-align: center;

      br {
        display: block;
      }
    }
  }

  .item-label {
    display: block;

    @media screen and (max-width: 767px) {
      text-align: center;
      font-family: "Zen Kaku Gothic New";
      font-style: normal;
      font-weight: 700;
      font-size: 2.2rem;
      line-height: 3.2rem;
      letter-spacing: 0.13em;
      /* color: #ffffff; */
    }
  }

  .item-num {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: calc(5.8 * var(--u));
    height: calc(5.8 * var(--u));
    border-radius: 50%;
    background: #00a3e0;
    font-family: "Jost";
    font-style: normal;
    font-weight: 500;
    font-size: calc(2.8 * var(--u));
    line-height: calc(4 * var(--u));
    text-align: center;
    letter-spacing: 0.05em;
    color: #ffffff;

    @media screen and (max-width: 767px) {
      width: 4.4rem;
      height: 4.4rem;
      font-size: 2.141rem;
      line-height: 3.1rem;
    }
  }

  .item-text {
    margin-top: calc(2 * var(--u));
    font-family: "Zen Kaku Gothic New";
    font-style: normal;
    font-weight: 500;
    font-size: calc(1.8 * var(--u));
    line-height: 1.83;
    letter-spacing: 0.06em;
    color: #000000;
    text-align: left;

    @media screen and (max-width: 767px) {
      margin-top: 2rem;
      font-size: 1.6rem;
      line-height: 183%;
      text-align: justify;
      padding: 0 2.5rem;
      letter-spacing: 0.015em;
    }
  }
}

.about-snack {
  display: none;

  @media screen and (max-width: 767px) {
    display: block;
    position: absolute;
    z-index: 2;
    height: auto;
    max-width: none;
  }

  &.is-left {
    top: -3rem;
    left: -3rem;
    width: 9.6rem;
    transform: rotate(4deg);
  }

  &.is-right {
    right: -2.5rem;
    bottom: -5.4rem;
    width: 9.4rem;
    /* transform: rotate(-16deg); */
    transform: rotate(0);
  }
}

/* ------------------------------------------- */
/* FEATURES
/* ------------------------------------------- */
.sec-features {
  padding: 12rem 0;
  background: #fff;

  @media screen and (max-width: 1240px) and (min-width: 767.01px) {
    padding-left: 4rem;
    padding-right: 4rem;
  }

  @media screen and (max-width: 767px) {
    padding: 6rem 0 8rem;
  }
}

.feat-list {
  display: flex;
  flex-direction: column;
  margin-top: 6rem;

  @media screen and (max-width: 767px) {
    margin-top: 4rem;
  }
}

.feat-item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 25.4rem;
  grid-template-rows: auto 1fr;
  column-gap: 4.8rem;
  row-gap: 3rem;
  padding: 6rem 0;

  &:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 0.2rem;
    background-image: repeating-linear-gradient(to right, #c7c7c7 0, #c7c7c7 0.6rem, transparent 0.6rem, transparent 1.4rem);
  }

  &:first-child {
    padding-top: 0;
  }

  &:last-child {
    padding-bottom: 0;
  }

  &.is-invest {
    grid-template-rows: auto 1fr;
  }

  @media screen and (max-width: 767px) {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
    padding: 4rem 0;
  }
}

.feat-title {
  grid-column: 1;
  grid-row: 1;
  font-family: "Zen Kaku Gothic New";
  font-style: normal;
  font-weight: 700;
  font-size: 2.8rem;
  line-height: 3rem;
  letter-spacing: 0.13em;
  color: #00a3e0;

  @media screen and (max-width: 767px) {
    order: 2;
    font-size: 2.1rem;
    line-height: 3.1rem;
    padding-top: 1rem;
    padding-bottom: 1.1rem;
  }
}

.feat-body {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;

  @media screen and (max-width: 767px) {
    order: 3;
    gap: 1.5rem;
  }
}

.feat-text {
  grid-column: 1;
  grid-row: 2;
  font-family: "Zen Kaku Gothic New";
  font-style: normal;
  font-weight: 500;
  font-size: 1.8rem;
  line-height: 183%;
  letter-spacing: 0.06em;
  color: #000000;

  @media screen and (max-width: 767px) {
    order: 3;
    font-size: 1.6rem;
    line-height: 178%;
    text-align: justify;
  }
}

.feat-points {
  display: flex;
  flex-direction: column;
  font-family: "Zen Kaku Gothic New";
  font-style: normal;
  font-weight: 500;
  font-size: 1.8rem;
  line-height: 183%;
  letter-spacing: 0.06em;
  color: #000000;

  .point-label {
    color: #00a3e0;
  }

  @media screen and (max-width: 767px) {
    font-size: 1.6rem;
    line-height: 178%;
  }
}

.feat-photo {
  position: relative;
  grid-column: 2;
  grid-row: 2;
  align-self: start;
  width: 25.4rem;
  height: 25.4rem;
  overflow: hidden;
  border-radius: 1.6rem;

  .is-invest & {
    grid-row: 2;
  }

  & picture {
    position: absolute;
    inset: 0;
    display: block;
  }

  & img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  @media screen and (max-width: 767px) {
    order: 1;
    width: 100%;
    height: auto;
    margin: 0;
    border-radius: 1.6rem;

    & picture {
      position: static;
      inset: auto;
      display: block;
      width: 100%;
      margin: 0;
    }

    & img {
      position: static;
      inset: auto;
      display: block;
      width: 100%;
      height: auto;
      object-fit: cover;
    }
  }
}

/* ------------------------------------------- */
/* HISTORY
/* ------------------------------------------- */
.sec-history {
  padding: 12rem 0;
  background: #f9f6e9;

  @media screen and (max-width: 1240px) and (min-width: 767.01px) {
    padding-left: 4rem;
    padding-right: 4rem;
  }

  @media screen and (max-width: 767px) {
    padding: 6rem 0 8rem;
  }
}

.hist-list {
  position: relative;
  display: flex;
  flex-direction: column;
  margin-top: 6rem;

  @media screen and (max-width: 767px) {
    margin-top: 2rem;
  }
}

.hist-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 3.2rem;
  padding: 0 0 0 3.2rem;

  &::before {
    content: "";
    position: absolute;
    top: 4.7rem;
    left: 0.5rem;
    z-index: 1;
    width: 1.7rem;
    height: 1.7rem;
    border-radius: 50%;
    background: #00a3e0;
    transform: translate(-50%, -50%);
  }

  &::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0.45rem;
    width: 0.1rem;
    background: #dcdcdc;
  }

  &:first-child::after {
    top: 4.7rem;
  }

  &:last-child::after {
    bottom: auto;
    height: 4.7rem;
  }

  @media screen and (max-width: 767px) {
    flex-direction: column;
    align-items: flex-start;
    flex-wrap: nowrap;
    gap: 0.8rem;
    padding: 0 0 0 3.2rem;

    &::before {
      top: 3.6rem;
    }

    &:first-child::after {
      top: 3.6rem;
    }

    &:last-child::after {
      bottom: auto;
      height: 3.6rem;
    }
  }
}

.hist-year {
  flex-shrink: 0;
  width: 10%;
  padding: 2.4rem 0;
  font-family: "Jost";
  font-style: normal;
  font-weight: 500;
  font-size: 3.2rem;
  line-height: 4.6rem;
  letter-spacing: 0.05em;
  color: #00a3e0;

  @media screen and (max-width: 767px) {
    width: auto;
    padding-bottom: 0;
    font-size: 2.4rem;
    line-height: 1;
  }
}

.hist-content {
  display: flex;
  align-items: flex-start;
  align-self: stretch;
  gap: 2.4rem;
  flex: 1;
  min-width: 0;
  padding: 2.4rem 0;

  .hist-item:not(:last-child) & {
    border-bottom: 0.1rem solid #e0e0e0;
  }

  @media screen and (max-width: 767px) {
    flex: 1 1 auto;
    flex-direction: column;
    align-items: flex-start;
    flex-wrap: nowrap;
    width: 100%;
    padding-top: 0;
    gap: 1.6rem;
  }
}

.hist-text {
  flex: 1;
  min-width: 0;
  font-family: "Zen Kaku Gothic New";
  font-style: normal;
  font-weight: 500;
  font-size: 1.8rem;
  line-height: 162%;
  letter-spacing: 0.06em;
  color: #000000;
  padding-top: 0.5rem;

  @media screen and (max-width: 767px) {
    flex: 1 1 auto;
    width: 100%;
    font-size: 1.4rem;
    line-height: 1.6;
  }
}

.hist-photo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 10.5rem;
  height: 12.8rem;

  @media screen and (max-width: 767px) {
    width: 7rem;
    height: 8.5rem;
    margin-left: 0;
  }

  & img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
  }
}

/* ------------------------------------------- */
/* VALUES
/* ------------------------------------------- */
.sec-values {
  padding: 15rem 0 8rem;
  /* padding-top: 5rem; */
  background: #fff;

  @media screen and (max-width: 1240px) and (min-width: 767.01px) {
    padding-left: 4rem;
    padding-right: 4rem;
  }

  @media screen and (max-width: 767px) {
    padding: 6rem 0 4rem;
  }
}

.values-box {
  display: flex;
  align-items: center;
  gap: 8rem;
  margin-top: 6rem;
  padding: 5.3rem 8rem;
  border: 2px solid #0000fe;
  border-radius: 4rem;
  background: #fff;

  @media screen and (max-width: 1240px) and (min-width: 767.01px) {
    gap: 4.8rem;
    padding: 4.8rem 4rem;
  }

  @media screen and (max-width: 767px) {
    flex-direction: column;
    align-items: center;
    gap: 3.2rem;
    margin-top: 4rem;
    padding: 3.2rem 2.4rem;
    border-radius: 2.4rem;
  }
}

.values-logo {
  flex-shrink: 0;
  /* width: 28rem; */

  @media screen and (max-width: 767px) {
    width: 18rem;
  }

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

.values-body {
  flex: 1;
  min-width: 0;

  @media screen and (max-width: 767px) {
    width: 100%;
  }
}

.values-lead {
  font-family: "Zen Kaku Gothic New";
  font-style: normal;
  font-weight: 700;
  font-size: 2.6rem;
  line-height: 2.6rem;
  letter-spacing: 0.13em;
  color: #0000fe;

  @media screen and (max-width: 767px) {
    font-size: 1.6rem;
    text-align: center;
  }
}

.values-text {
  margin-top: 1.6rem;
  font-family: "Zen Kaku Gothic New";
  font-style: normal;
  font-weight: 500;
  font-size: 1.8rem;
  line-height: 183%;
  leading-trim: both;
  text-edge: cap;
  letter-spacing: 0.06em;
  color: #000000;

  & p + p {
    margin-top: 1.6rem;
  }

  @media screen and (max-width: 767px) {
    font-size: 1.4rem;
  }
}

/* ------------------------------------------- */
/* BEHAVIORAL GUIDELINES
/* ------------------------------------------- */
.sec-guide {
  padding: 8rem 0;
  padding-top: 5rem;
  background: #fff;

  @media screen and (max-width: 1240px) and (min-width: 767.01px) {
    padding-left: 4rem;
    padding-right: 4rem;
  }

  @media screen and (max-width: 767px) {
    padding: 4rem 0;
  }
}

.guide-intro {
  margin-top: 5rem;

  @media screen and (max-width: 767px) {
    margin-top: 4rem;
  }
}

.guide-intro-title {
  font-family: "Zen Kaku Gothic New";
  font-style: normal;
  font-weight: 700;
  font-size: 2.2rem;
  line-height: 183%;
  letter-spacing: 0.06em;
  color: #00a3e0;

  @media screen and (max-width: 767px) {
    font-size: 1.8rem;
    line-height: 1.6;
  }
}

.guide-intro-text {
  margin-top: 1.6rem;
  font-family: "Zen Kaku Gothic New";
  font-style: normal;
  font-weight: 500;
  font-size: 1.8rem;
  line-height: 183%;
  letter-spacing: 0.06em;
  color: #000000;

  & p + p {
    margin-top: 1.6rem;
  }

  @media screen and (max-width: 767px) {
    font-size: 1.4rem;
    line-height: 1.6;
  }
}

.guide-list {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  margin-top: 5rem;

  @media screen and (max-width: 767px) {
    gap: 2rem;
    margin-top: 4rem;
  }

  li {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 0.8rem;

    @media screen and (max-width: 767px) {
      display: grid;
      grid-template-columns: auto 1fr;
      column-gap: 0.4rem;
      row-gap: 0.8rem;
      align-items: baseline;
    }
  }
}

.guide-num {
  flex-shrink: 0;
  font-family: "Zen Kaku Gothic New";
  font-style: normal;
  font-weight: 900;
  font-size: 2rem;
  line-height: 197%;
  letter-spacing: 0.06em;
  color: #00a3e0;

  @media screen and (max-width: 767px) {
    grid-column: 1;
    grid-row: 1;
    font-size: 1.8rem;
    line-height: 1.6;
    margin-left: -1rem;
  }
}

.guide-text {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  min-width: 0;

  @media screen and (max-width: 767px) {
    display: contents;
  }
}

.gt-title {
  font-family: "Zen Kaku Gothic New";
  font-style: normal;
  font-weight: 700;
  font-size: 1.8rem;
  line-height: 183%;
  letter-spacing: 0.06em;
  color: #000000;

  @media screen and (max-width: 767px) {
    grid-column: 2;
    grid-row: 1;
    font-size: 1.6rem;
    line-height: 1.6;
  }
}

.gt-text {
  font-family: "Zen Kaku Gothic New";
  font-style: normal;
  font-weight: 500;
  font-size: 1.8rem;
  line-height: 183%;
  letter-spacing: 0.06em;
  color: #000000;

  @media screen and (max-width: 767px) {
    grid-column: 1 / -1;
    grid-row: 2;
    font-size: 1.4rem;
    line-height: 1.6;
  }
}

/* ------------------------------------------- */
/* GALLERY
/* ------------------------------------------- */
.sec-gallery {
  padding: 8rem 0 12rem;
  padding-top: 5rem;
  background: #fff;

  @media screen and (max-width: 1240px) and (min-width: 767.01px) {
    padding-left: 4rem;
    padding-right: 4rem;
  }

  @media screen and (max-width: 767px) {
    padding: 4rem 0 8rem;
  }
}

.gallery-swiper {
  margin-top: 6rem;

  @media screen and (max-width: 767px) {
    margin-top: 4rem;
  }
}

.gallery-stage {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-rows: auto auto auto;
  column-gap: 2.4rem;
  align-items: start;

  @media screen and (max-width: 767px) {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    column-gap: 0;
  }
}

.gallery-viewport {
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  overflow: hidden;
  border-radius: 1.2rem;

  @media screen and (max-width: 767px) {
    grid-column: 1;
    border-radius: 1.2rem;
  }
}

.gallery-track {
  display: flex;
  width: 100%;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;

  & img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 1;
    object-fit: cover;

    @media screen and (max-width: 767px) {
      aspect-ratio: 16 / 9;
    }
  }
}

.gallery-nav {
  display: flex;
  grid-row: 1;
  align-self: center;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 7.8rem;
  height: 7.8rem;
  padding: 0;
  border: 0.15rem solid #00a3e0;
  border-radius: 50%;
  background: transparent;
  line-height: 0;
  cursor: pointer;
  transition: opacity 0.3s;

  &:hover {
    opacity: 0.7;
  }

  &::before {
    content: "";
    display: block;
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    border-top: 0.3rem solid #00a3e0;
    border-right: 0.3rem solid #00a3e0;
  }

  @media screen and (max-width: 767px) {
    grid-column: 1;
    grid-row: 1;
    z-index: 2;
    width: 4rem;
    height: 4rem;
    background: #fff;
    border: 0;
    box-shadow: 0 0.2rem 0.8rem rgb(0 0 0 / 18%);

    &::before {
      width: 0.7rem;
      height: 0.7rem;
    }
  }
}

.gallery-prev {
  grid-column: 1;

  &::before {
    transform: translate(0.55rem, 0) rotate(-135deg);
  }

  @media screen and (max-width: 767px) {
    justify-self: start;
    margin-left: -1rem;

    &::before {
      transform: translate(0.22rem, 0) rotate(-135deg);
    }
  }
}

.gallery-next {
  grid-column: 3;

  &::before {
    transform: translate(-0.55rem, 0) rotate(45deg);
  }

  @media screen and (max-width: 767px) {
    grid-column: 1;
    justify-self: end;
    margin-right: -1rem;

    &::before {
      transform: translate(-0.22rem, 0) rotate(45deg);
    }
  }
}

.gallery-caption {
  grid-column: 2;
  grid-row: 2;
  margin-top: 1.6rem;
  font-family: "Zen Kaku Gothic New";
  font-style: normal;
  font-weight: 500;
  font-size: 1.8rem;
  line-height: 1.6;
  letter-spacing: 0.04em;
  color: #282828;

  @media screen and (max-width: 767px) {
    grid-column: 1;
    margin-top: 1.2rem;
    font-size: 1.4rem;
    /* text-align: center; */
  }
}

.gallery-thumbs {
  display: grid;
  grid-column: 2;
  grid-row: 3;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.6rem;
  margin-top: 2.4rem;

  @media screen and (max-width: 767px) {
    grid-column: 1;
    grid-row: 3;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1.6rem;
  }
}

.gallery-thumb {
  overflow: hidden;
  padding: 0;
  border: 0.2rem solid transparent;
  border-radius: 1.2rem;
  background: transparent;
  cursor: pointer;
  transition:
    opacity 0.3s,
    border-color 0.3s;

  @media screen and (max-width: 767px) {
    border-radius: 0.8rem;
  }

  &:hover {
    opacity: 0.8;
  }

  &.is-active {
    border-color: #00a3e0;
  }

  & img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 1;
    object-fit: cover;
  }
}

.sec-white {
  padding: 0 0 4rem;
  background: #fff;
}
