@charset "utf-8";
/*=========================
  Common
=========================*/
/* font define */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@200..900&display=swap');

/* color */
:root {
  --blue: #2c3751;
  --black: #1d1d1d;
  --red: #661c1c;
  --gray: #f0f0f0;
}

/* variables */
:root {
  --section-padding: 6rem 0;
}
@media (max-width: 960px) {
  :root {
    --section-padding: 3rem 0;
  }
}

html {
  scroll-behavior: smooth;
  /* scroll-padding-top: 100px;  */
}
/* @media screen and (max-width: 960px) {
  html {
    scroll-padding-top: 0px;
  }
} */
body {
  font-family: 'Noto Serif JP', serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  color: #1d1d1d;
  font-size: 1.125rem;
  /* line-height: 1.7; */
  max-width: 1920px;
  margin-inline: auto;
  position: relative;
  @media (max-width: 960px) {
    font-size: 1rem;
  }
}
a {
  text-decoration: none;
  transition: opacity 0.3s;
  color: inherit;
  &:hover {
    @media (any-hover: hover) {
      opacity: 0.6;
    }
  }
}
span{
	font-weight: 1000;
	color: #2c3751;
	
}
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
p {
  /* line-height: 2; */
  text-align: justify;
  @media (max-width: 960px) {
    /* font-size: 1rem; */
  }
}
h1,
h2,
h3,
h4,
h5,
h6 {
  /* line-height: 1; */
  font-size: inherit;
  font-weight: inherit;
}

.pc-only {
  display: initial;
}
.sp-only {
  display: none;
}
@media (max-width: 960px) {
  .pc-only {
    display: none;
  }
  .sp-only {
    display: initial;
  }
}

.container {
  width: calc(100% - 2rem);
  max-width: 1200px;
  margin-inline: auto;
}

/* button */
.button {
  --bg-color: pink;
  --color: #333333;
  /* --bg-color-lighten: color-mix(in srgb, var(--bg-color), white 25%);
  --color-lighten: color-mix(in srgb, var(--color), white 25%); */
  --r: 0px;
  background-color: var(--bg-color);
  color: var(--color);
  border-radius: var(--r);
  padding: 0.5rem 1rem;
  width: fit-content;
  margin-inline: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  /* font-size: 1.25rem; */
  /* font-weight: bold; */
  position: relative;
  .icon {
    margin-right: 0.5rem;
  }
  @media (any-hover: hover) {
    /* &:hover {
      opacity: 1;
      background-color: var(--bg-color-lighten);
      color: var(--color-lighten);
      border: var(--color-lighten) 1px solid;
    } */
    &::before {
      border-radius: var(--r);
      content: '';
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      background-color: #fff;
      opacity: 0;
      transition: opacity 0.3s;
      pointer-events: none;
    }
    &:hover {
      opacity: 1;
    }
    &:hover::before {
      opacity: 0.25;
    }
  }
}

.button.button-transparent {
  background-color: transparent;
  color: #fff;
  font-size: 1.75rem;
  border: 1px solid #fff;
  transition: color 0.3s, background-color 0.3s;
  width: min(80%, 400px);
  padding: 0.25rem;
  &::before {
    display: none;
  }
  .icon {
    background-color: #fff;
    width: 30px;
    aspect-ratio: 1/1;
    mask-repeat: no-repeat;
    mask-size: contain;
    mask-position: center;
    margin-right: 1rem;
    transition: background-color 0.3s;
  }
  &:hover {
    background-color: #fff;
    color: var(--blue);
    .icon {
      background-color: var(--blue);
    }
  }
}

/*=========================
  header
=========================*/
header {
  position: absolute;
  z-index: 100;
  top: 0;
  width: 100%;
  max-width: 1920px;
  height: 100px;
  margin-inline: auto;
  padding: 1rem;
  background-color: rgba(255, 255, 255, 0.6);
  display: flex;
  justify-content: space-between;
  align-items: center;
  @media (max-width: 960px) {
    height: 60px;
  }
  .logo {
    font-size: 2rem;
    font-weight: 600;
  }
  .pc-nav {
    margin-left: auto;
    .nav-items {
      display: flex;
      justify-content: center;
      align-items: flex-end;
      gap: 1.5rem;
      .nav-items__item {
        text-align: center;
        font-weight: 500;
        .en {
          color: var(--red);
          font-size: 0.8rem;
        }
        .jp {
          font-size: 1.2rem;
        }
      }
    }
  }
  .sp-hamburger {
    background-color: var(--blue);
    display: none;
    position: relative;
    z-index: 1001;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10%;
    width: 30px;
    height: fit-content;
    aspect-ratio: 1/1;
    .line {
      height: 1px;
      width: 70%;
      background-color: #ffffff;
      transition: 0.3s;
    }
  }
  .sp-hamburger.active {
    .line {
      background-color: #ffffff;
    }
    .line:nth-child(1) {
      position: absolute;
      top: 50%;
      bottom: 50%;
      width: 70%;
      rotate: -45deg;
    }
    .line:nth-child(2) {
      opacity: 0;
    }
    .line:nth-child(3) {
      position: absolute;
      top: 50%;
      bottom: 50%;
      width: 70%;
      rotate: 45deg;
    }
  }
  .sp-nav {
    position: fixed;
    z-index: 1000;
    top: 0;
    right: -120%;
    width: 100vw;
    height: 100dvh;
    background-color: #f0f0f0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    transition: 0.3s;
    .nav-items {
      width: 100%;
      height: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 2rem;
      .nav-items__item a {
        text-align: center;
        text-wrap: balance;
        font-weight: 500;
        .en {
          color: var(--red);
          font-size: 0.8rem;
        }
        .jp {
          font-size: 1.2rem;
        }
      }
    }
  }
  .sp-nav.active {
    right: 0;
  }
  .overlay {
    display: none;
    position: fixed;
    z-index: 999;
    inset: 0;
    background-color: #000;
    opacity: 0.75;
  }
  .overlay.active {
    display: block;
  }
}
body.no-scroll {
  overflow: hidden;
  height: 100%;
}
@media (max-width: 960px) {
  header {
    .logo {
      font-size: 1.5rem;
    }
    .pc-nav {
      display: none;
    }
    .sp-hamburger {
      display: flex;
    }
  }
}

/*=========================
  mv
=========================*/
section.mv {
  position: relative;
  .splide {
    .splide__list img {
      width: 100%;
      height: 100%;
      min-height: 600px;
      object-fit: cover;
      @media (max-width: 960px) {
        min-height: 480px;
      }
    }
  }
  .copy {
    position: absolute;
    top: 55%;
    left: 50%;
    translate: -50% -50%;
    color: #fff;
    text-shadow: 0px 0px 4px rgb(0 0 0 / 0.75);
    /* font-size: 2rem; */
    font-size: clamp(2.5rem, 1.5rem + 1.6667vw, 3.5rem);
    width: max-content;
    @media (max-width: 960px) {
      font-size: 2rem;
    }
  }
}

main.top-main {
  background-color: var(--blue);
  color: #fff;
}

/*=========================
  topics
=========================*/
section.topics {
  background-color: var(--blue);
  @media (max-width: 960px) {
    background-color: var(--black);
  }
  > .flex {
    display: flex;
    justify-content: center;
    max-width: 1600px;
    margin-inline: auto;
    @media (max-width: 960px) {
      flex-direction: column;
    }
  }
  .title-wrapper {
    width: 25%;
    background-color: #1d1d1d;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem 1rem;
    @media (max-width: 960px) {
      width: 100%;
      padding: 2rem 1rem;
    }
    .section-title {
      text-align: right;
      font-weight: 600;
      .en {
        font-size: 1.5rem;
      }
      .jp {
        font-size: 2.5rem;
      }
      @media (max-width: 960px) {
        text-align: center;
        .en {
          font-size: 2rem;
        }
        .jp {
          font-size: 1rem;
        }
      }
    }
  }
  .items-wrapper {
    background-color: #fff;
    color: var(--black);
    width: 75%;
    padding: 2rem 5%;
    @media (max-width: 960px) {
      width: 95%;
      margin-inline: auto;
    }
    .topics-items {
      width: 100%;
      max-height: 260px;
      overflow-y: auto;
      padding-inline: 1rem;
      @media (max-width: 960px) {
        padding-inline: 0;
      }
      .topics-item {
        display: flex;
        align-items: baseline;
        gap: 1rem;
        border-bottom: #bbbbbb 1px solid;
        padding-bottom: 0.5rem;
        margin-bottom: 0.5rem;
        .date {
          background-color: var(--blue);
          color: #fff;
          font-size: 1rem;
          padding: 0.25rem 0.5rem;
        }
        @media (max-width: 960px) {
          flex-direction: column;
          gap: 0.5rem;
          margin-bottom: 1rem;
        }
      }
    }
  }
}

/*=========================
  quality
=========================*/
section.quality {
  padding: var(--section-padding);
  background-color: var(--blue);
  color: #fff;
  .container {
    max-width: 1800px;
  }
  .container > .flex {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    @media (max-width: 960px) {
      flex-direction: column;
    }
    .texts-wrapper {
      width: 60%;
      @media (max-width: 960px) {
        width: 100%;
      }
      .section-title {
        position: relative;
        z-index: 1;
        margin-bottom: 4rem;
        @media (max-width: 960px) {
          margin-bottom: 2rem;
        }
        .jp {
          font-size: 2.5rem;
          @media (max-width: 960px) {
            font-size: 2rem;
            text-align: center;
          }
        }
        .en {
          position: absolute;
          z-index: -1;
          bottom: -2rem;
          right: 2rem;
          color: #35415e;
          font-size: 2.5rem;
          @media (max-width: 960px) {
            position: initial;
            font-size: 1.5rem;
            text-align: center;
          }
        }
      }
      .text {
        margin-bottom: 2rem;
      }
      .name {
        font-size: 1.5rem;
        text-align: right;
      }
    }
    .img {
      width: 40%;
      min-width: 400px;
      @media (max-width: 960px) {
        width: min(100%, 500px);
        min-width: initial;
        margin-inline: auto;
      }
    }
  }
}

/*=========================
  contents
=========================*/
section.contents {
  padding: var(--section-padding);
  padding-top: 0;
  background-color: var(--blue);
  color: #fff;
  > .flex {
    position: relative;
    display: flex;
    justify-content: space-between;
    @media (max-width: 960px) {
      flex-direction: column;
    }
  }
  .title-wrapper {
    width: 40%;
    max-width: 600px;
    padding: 1rem;
    @media (max-width: 960px) {
      position: relative;
      width: 100%;
    }
    .bg-white {
      position: absolute;
      top: 0;
      left: 0;
      z-index: 1;
      background-color: #fff;
      width: 30%;
      max-width: 400px;
      height: 60%;
      min-height: 400px;
      @media (max-width: 960px) {
        display: none;
        /* height: 100%;
        width: 60%;
        min-height: initial; */
      }
    }
    .section-title {
      width: 450px;
      max-width: 100%;
      position: relative;
      z-index: 1;
      margin-top: 5vw;
      margin-left: 3vw;
      @media (max-width: 960px) {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column-reverse;
        margin: 0;
      }
      .jp {
        color: var(--black);
        /* font-size: 3rem; */
        font-size: clamp(2rem, 1rem + 1.6667vw, 3rem);
        border-bottom: 1px solid var(--black);
        width: fit-content;
        @media (max-width: 960px) {
          color: #fff;
          border: none;
          font-size: 1rem;
        }
      }
      .en {
        position: absolute;
        z-index: -1;
        bottom: -6.5rem;
        right: 0;
        font-size: clamp(3.5rem, 2rem + 2.5vw, 5rem);
        color: #f0f0f0;
        @media (max-width: 960px) {
          position: initial;
          font-size: 2.5rem;
        }
      }
    }
  }
  .items-wrapper {
    flex-grow: 1;
    max-width: 1200px;
    padding-inline: 2rem;
    margin-top: 5rem;
    @media (max-width: 960px) {
      margin-top: 2rem;
      padding-inline: 1rem;
    }
    .item {
      width: 90%;
      margin-left: auto;
      display: flex;
      margin-bottom: 4rem;
      background-color: #20283d;
      @media (max-width: 960px) {
        width: 100%;
        flex-direction: column;
        margin-bottom: 2rem;
      }
      .body {
        width: 30%;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        @media (max-width: 960px) {
          width: 100%;
          padding: 1rem;
          justify-content: space-between;
        }
        .title {
          .jp {
            font-size: 1.25rem;
          }
          .border {
            width: 80px;
            height: 1px;
            background-color: #fff;
            margin: 0.5rem 0;
          }
          .en {
            font-size: 1rem;
          }
        }
      }
      .img {
        width: 70%;
        @media (max-width: 960px) {
          width: 100%;
        }
      }
    }
    .item.item2 {
      background-color: #661c1c;
      margin-right: 10%;
      @media (max-width: 960px) {
        margin: 0;
      }
    }
  }
}

/*=========================
  works
=========================*/
section.works {
  padding: var(--section-padding);
  background-color: #232c41;
  color: #fff;
  .section-title {
    width: max-content;
    margin-left: auto;
    display: flex;
    align-items: baseline;
    gap: 2rem;
    margin-right: 5%;
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #fff;
    line-height: 1;
    .jp {
      font-size: 2rem;
    }
    .en {
      font-size: 5rem;
    }
    @media (max-width: 960px) {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 0;
      line-height: initial;
      flex-direction: column-reverse;
      margin-inline: auto;
      border-bottom: none;
      .en {
        font-size: 2.5rem;
      }
      .jp {
        font-size: 1rem;
      }
    }
  }
  .splide {
    margin-bottom: 4rem;
    .splide__list {
      height: auto;
    }
    .splide__slide {
      width: 400px;
      aspect-ratio: 4/3;
      img {
        width: 100%;
        height: 100%;
        object-fit: cover;
      }
    }
    /* .splide__slide:nth-of-type(2n) {
      margin-top: 2rem;
    }
    .splide__slide:nth-of-type(2n + 1) {
      margin-bottom: 2rem;
    } */
  }
}

/*=========================
  footer
=========================*/
footer {
  section.contact {
    padding: var(--section-padding);
    background-color: var(--blue);
    color: #fff;
    .section-title {
      text-align: center;
      text-wrap: balance;
      margin-bottom: 2rem;
      .en {
        font-size: 3rem;
        @media (max-width: 960px) {
          font-size: 2.5rem;
        }
      }
      .jp {
        /* font-size: 1rem; */
      }
    }
    .container > .flex {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 2rem;
      @media (max-width: 960px) {
        flex-direction: column;
        gap: 2rem;
      }
      .flex-item {
        width: max-content;
        min-width: 400px;
        text-align: center;
        .title {
          font-size: 1.125rem;
          margin-bottom: 1rem;
          span {
            font-size: 1.5em;
          }
        }
        .button.button-transparent {
          /* @media (max-width: 960px) {
            width: 90%;
          } */
          .icon-mail {
            mask-image: url(../img/icon-mail.svg);
          }
          .icon-tel {
            mask-image: url(../img/icon-tel.svg);
          }
        }
      }
    }
  }
  section.map {
    .wrapper {
      width: 100%;
      height: 400px;
      @media (max-width: 960px) {
        height: 300px;
      }
      iframe {
        width: 100%;
        height: 100%;
      }
    }
  }
}

.copyright {
  background-color: var(--black);
  color: #fff;
  padding: 1.5rem;
  text-align: center;
  font-size: 0.8rem;
}

/* scroll top button */
.scroll-top {
  position: fixed;
  bottom: 5%;
  right: 5%;
  z-index: 99;
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
  a {
    --radius: 0px;
    .block {
      border-radius: var(--radius);
      width: 50px;
      height: 50px;
      background: #1d1d1d;
      box-shadow: 0 0 2px rgb(255 255 255 / 0.5);
      display: flex;
      justify-content: center;
      align-items: center;
      .triangle {
        display: block;
        width: 50%;
        height: 50%;
        clip-path: polygon(100% 60%, 100% 75%, 50% 45%, 0 75%, 0 60%, 50% 25%);
        background: #ffffff;
      }
    }
  }
  a::before {
    border-radius: var(--radius);
    content: '';
    position: absolute;
    inset: 0;
    background-color: #ffffff;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
  }
  a:hover {
    opacity: 1;
  }
  a:hover::before {
    opacity: 0.25;
  }
}
.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
}
@media screen and (max-width: 768px) {
  .scroll-top {
    bottom: 5%;
    right: 5%;
    a .block{
      width: 40px;
      height: 40px;
    }
    a::before {
      display: none;
    }
  }
}
