@charset "UTF-8";

@import url("https://fonts.googleapis.com/css2?family=Shippori+Mincho:wght@400;600;700&family=Unbounded:wght@400;700&family=Zen+Antique+Soft&family=Zen+Kaku+Gothic+New:wght@400;500;700&display=swap");

:root {
  --navy: #232b56;
  --gold: #c8b687;
  --serif: "Shippori Mincho", "Noto Serif JP", serif;
  --sans: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  color: var(--navy);
  font-family: var(--sans);
}

body.menu-open {
  overflow: hidden;
}

.about-container {
  width: min(1290px, calc(100% - 80px));
  margin: 0 auto;
}

.fade-in {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .8s ease, transform .8s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: none;
}

/* Page hero */
.page-hero {
  position: relative;
  height: 353px;
  background: #e6e7ec;
}

.page-hero__title {
  position: absolute;
  top: 174px;
  left: max(40px, calc((100% - 1290px) / 2));
  display: flex;
  align-items: flex-end;
  gap: 20px;
}

.page-hero__title h1 {
  color: var(--navy);
  font-family: "Unbounded", var(--sans);
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 3.2px;
}

.page-hero__title p {
  padding-bottom: 2px;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 700;
}

.page-hero__breadcrumb {
  position: absolute;
  top: 184px;
  right: max(40px, calc((100% - 1290px) / 2));
  font-family: var(--serif);
  font-size: 16px;
  line-height: 50px;
}

/* Who are we */
.about-story {
  height: 965px;
  padding-top: 56px;
  background: #fff;
}

.about-story__eyebrow {
  font-family: var(--serif);
  font-size: 16px;
  line-height: 30px;
}

.about-story__grid {
  display: grid;
  grid-template-columns: 619px 686px;
  gap: 60px;
  margin-top: 61px;
}

.about-story__content h2 {
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 700;
  line-height: 1.25;
}

.about-story__content>p {
  margin-top: 31px;
  font-size: 14px;
  line-height: 2.5;
}

.about-story__signature-line {
  display: block;
  width: 619px;
  height: 1px;
  margin-top: 28px;
}

.about-story__signatures {
  display: flex;
  gap: 56px;
  margin-top: 12px;
  font-size: 14px;
  line-height: 30px;
}

.about-story__signatures div {
  display: flex;
  flex-direction: column;
}

.about-story__signatures b {
  font-weight: 700;
}

.about-story__visual {
  position: relative;
  overflow: hidden;
  text-align: center;
}

.about-story__visual img{
  width: 60%;
}

.about-story__visual p {
  position: absolute;
  top: 260px;
  left: 0;
  width: 100%;
  color: #fff;
  font-family: "Zen Antique Soft", var(--serif);
  font-size: 20px;
  line-height: 30px;
  text-align: center;
}

/* Mission and Vision */
.philosophy {
  height: 404px;
  background: #fff;
}

.philosophy--vision {
  height: 369px;
}

.philosophy__inner,
.values__inner {
  position: relative;
  height: 100%;
  padding-top: 16px;
}

.philosophy__divider {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 1px;
}

.philosophy__label {
  display: grid;
  place-items: center;
  width: 106px;
  height: 32px;
  border: 1px solid var(--navy);
  border-radius: 30px;
  font-family: "Unbounded", var(--sans);
  font-size: 16px;
  line-height: 30px;
}

.philosophy__grid {
  display: grid;
  grid-template-columns: 619px 1fr;
  gap: 102px;
  margin-top: 45px;
}

.philosophy__grid h2,
.values__list h2 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 1.92px;
}

.philosophy__grid p {
  font-size: 14px;
  line-height: 2.5;
}

/* Values */
.values {
  height: 793px;
  background: #fff;
}

.values__list {
  width: 599px;
  margin: 52px 0 0 auto;
}

.values__list article {
  position: relative;
  min-height: 208px;
  padding: 0 30px;
}

.values__list article>img {
  position: absolute;
  top: -49px;
  left: 0;
  display: block;
  width: 599px;
  height: 1px;
}

.values__list p {
  margin-top: 9px;
  font-size: 14px;
  line-height: 2.5;
}

/* Shared consultation/footer alignment for this page */
.consultation {
  background-image: url("../image/consultation-bg.webp");
}

.footer {
  margin-top: -2px;
}

@media (max-width:1199px) {
  .about-container {
    width: calc(100% - 80px);
  }

  .about-story {
    height: auto;
    padding-bottom: 100px;
  }

  .about-story__grid {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 1fr);
    gap: 40px;
  }

  .about-story__signature-line,
  .about-story__visual {
    width: 100%;
  }

  .philosophy,
  .philosophy--vision,
  .values {
    height: auto;
    padding-bottom: 100px;
  }

  .philosophy__grid {
    grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr);
    gap: 50px;
  }
}

@media (max-width:767px) {
  .about-container {
    width: calc(100% - 50px);
  }

  .page-hero {
    height: 260px;
  }

  .page-hero__title {
    top: 125px;
    left: 25px;
    display: block;
  }

  .page-hero__title h1 {
    font-size: 30px;
    letter-spacing: 2.4px;
  }

  .page-hero__title p {
    margin-top: 10px;
    font-size: 13px;
  }

  .page-hero__breadcrumb {
    top: 213px;
    right: 25px;
    font-size: 11px;
    line-height: 1.5;
  }

  .about-story {
    padding: 55px 0 75px;
  }

  .about-story__eyebrow {
    font-size: 12px;
  }

  .about-story__grid {
    display: flex;
    flex-direction: column;
    gap: 45px;
    margin-top: 40px;
  }

  .about-story__content h2 {
    font-size: 27px;
    line-height: 1.5;
  }

  .about-story__content>p {
    margin-top: 25px;
    font-size: 14px;
    line-height: 1.8;
  }

  .about-story__content>p br,
  .philosophy__grid p br,
  .values__list p br {
    display: none;
  }

  .about-story__signatures {
    display: grid;
    gap: 14px;
    font-size: 14px;
    line-height: 1.8;
  }

  .about-story__visual {
    order: -1;
  }

  .about-story__visual p {
    top: 115px;
    font-size: 15px;
    line-height: 1.6;
  }

  .about-story__visual img{
    width: 80%;
  }

  .philosophy,
  .philosophy--vision,
  .values {
    padding-bottom: 75px;
  }

  .philosophy__inner,
  .values__inner {
    padding-top: 16px;
  }

  .philosophy__label {
    width: 90px;
    height: 28px;
    font-size: 12px;
  }

  .philosophy__grid {
    display: block;
    margin-top: 35px;
  }

  .philosophy__grid h2,
  .values__list h2 {
    font-size: 20px;
    line-height: 1.65;
    letter-spacing: 1px;
  }

  .philosophy__grid p {
    margin-top: 24px;
    font-size: 14px;
    line-height: 1.8;
  }

  .values__list {
    width: 100%;
    margin-top: 40px;
  }

  .values__list article {
    min-height: 0;
    padding: 0 0 55px;
  }

  .values__list article+article {
    padding-top: 45px;
  }

  .values__list article>img {
    top: 0;
    width: 100%;
  }

  .values__list p {
    margin-top: 14px;
    font-size: 14px;
  }
}

@media (prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }

  .fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
