/* @font-face {
  font-family: 'Primary';
  src: url('./fonts/Marcellus-Regular.woff2') format('woff2'), url('./fonts/Marcellus-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
} */

@font-face {
  font-family: 'Primary';
  src: url('./fonts/Cinzel-Regular.woff2') format('woff2'), url('./fonts/Cinzel-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* @font-face {
  font-family: 'Primary';
  src: url('./fonts/Mori-Regular.woff2') format('woff2'), url('./fonts/Mori-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
} */

/* @font-face {
  font-family: 'Primary';
  src: url('./fonts/Manrope-Medium.woff2') format('woff2'), url('./fonts/Manrope-Medium.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  フォントのダウンロードが完了するまで、仮のフォントでWebページを表示できる
  font-display: swap;
} */

@font-face {
  font-family: 'Secondary';
  src: url('./fonts/Hiragino Mincho ProN W3.woff2') format('woff2'),
    url('./fonts/Hiragino-Mincho-ProN-W3.woff') format('woff');
  /* src: url('./fonts/Hiragino Kaku Gothic Pro W3.woff2') format('woff2'), url('./fonts/Hiragino-Kaku-Gothic-Pro-W3.woff') format('woff'); */
  /* src: url('./fonts/G-OTF Shin Go Pro M.woff2') format('woff2'), url('./fonts/G-OTF-Shin-Go-Pro-M.woff') format('woff'); */
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}


:root {
  --primary: #f0f0f0;
  --secondary: #111111;
  /* NEW --------------------------------------*/
  /* --tertiary: #dda288; */
  /* --tertiary: #f3d3b8; */
  /* --tertiary: #dac3b3; */
  /* --tertiary: #a4c05b; */
  --tertiary: #eed8c9;
}

::-webkit-scrollbar {
  display: none;
}

html {
  font-size: calc(100vw / 1920 * 10);
}

body {
  font-family: 'Primary';
}

h1 {
  font-size: 12rem;
}

h2 {
  font-size: 12rem;
}

h3 {
  font-size: 6.4rem;
}

p,
span {
  font-size: 2.2rem;
  line-height: 1;
}

.btn {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-right: -2px;
}

.cta-btn {
  font-size: 3rem;
  background-color: #e9e9e9;
  padding: 1.9rem 2.8rem;
  color: var(--secondary);
  border-radius: 0.4rem;
  transition: background-color 0.5s;
}

.cta-btn:hover,
.cta-btn:focus {
  color: #fff;
}




/* Mobile -------------------------------------------------------------------------------------------- */
.mobile-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
}

.mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Header Section ----------------------------------------------------------------------------------- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 99;
  height: 128px;
  transition: height 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

header.shrink {
  height: 70px;
  background-color: #fff;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

/* ------------------------------------------------------------ */
@media only screen and (max-width: 600px) {
  header.shrink {
    height: 50px;
  }
}

@media only screen and (max-width: 600px) {
  header {
    /* height: 90px; */

    /* new */
    height: 70px;

    /* new【最初から白にした】 */
    background-color: #fff;
  }
}

/* ------------------------------------------------------------ */
header.active {
  background-color: #fff;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header-inner .mobile-toggle {
  display: none;
  cursor: pointer;
}

/* ------------------------------------------------------------ */
@media only screen and (max-width: 600px) {
  .header-inner .mobile-toggle {
    display: block;
  }
}

/* ------------------------------------------------------------ */
.header-inner .logo {
  font-size: 3rem;
  font-weight: 700;
  color: #14764f;
}

.header-inner .nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.header-inner .nav > * ~ * {
  margin-left: 3rem;
}

/* ------------------------------------------------------------ */
@media only screen and (max-width: 600px) {
  .header-inner .nav > * ~ * {
    margin-left: 0;
  }
}

/* ------------------------------------------------------------ */
.header-inner .nav li {
  font-size: 1.5rem;
}

/* ------------------------------------------------------------ */
@media only screen and (max-width: 600px) {
  .header-inner .nav li {
    font-size: 2.5rem;
  }
}

/* ------------------------------------------------------------ */
.header-inner .nav li.active {
  font-weight: 700;
  color: #14764f;
}
.header-inner .nav li:hover {
  color: #14764f;
}

/* ------------------------------------------------------------ */
@media only screen and (max-width: 600px) {
  .header-inner .nav {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex-direction: column;
    background-color: #fff;
    position: absolute;
    top: 100%;
    right: -25px;
    width: 80%;
    height: 100vh;
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }
}

.header-inner .nav.active {
  transform: translateX(0);
}

/* -------------------------------------------------------------- */
.container {
  max-width: 90%;
  margin: auto;
  padding: 0 2rem;
  position: relative;
}

/* ★ Lenis CSS Settings ------------------------------------------------------------*/
html.lenis {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

/* -------------------------------------------- */
.app {
  position: relative;
  background-color: var(--primary);
  color: var(--secondary);
  overflow: hidden;
}

/* Intro ------------------------------------------------------- */
.intro {
  position: relative;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(11, 11, 11, 0.75) 0%, var(--tertiary) 100%);
}

.intro_one {
  position: relative;
  height: 100vh;
  z-index: 1;
}

.intro_two {
  position: relative;
  height: 100%;
  z-index: 1;
}

.intro_card {
  width: 96rem;
  height: 100%;
  margin: 0 auto;
  background-color: var(--primary);
  padding: 16rem;

  /* NEW */
  opacity: 0.96;
}

.intro_two .intro_card {
  height: 200rem;
}

.intro_card_inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* gap: 18rem; */
  gap: 7rem;
  height: inherit;
  padding: 3.2rem 6.4rem;
  text-align: center;
}

.intro_card_caption span {
  display: block;
}

.intro_card_description p {
  line-height: 1.2;
}

.intro_card_info p {
  line-height: 1.2;
}

.intro_media {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.intro_media_image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Gallery ----------------------------------------------------*/
.gallery {
  position: relative;
  height: 300vh;
  background-color: var(--tertiary);
}

.gallery_wrapper {
  position: absolute;
  width: 100%;
  height: inherit;
  z-index: 10;
}

.gallery_media {
  position: absolute;
}

.gallery_media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery_media:nth-child(1) {
  left: 4%;
  top: 4%;
  width: 16rem;
  height: 24rem;
}

.gallery_media:nth-child(2) {
  right: 2%;
  top: 8%;
  width: 32rem;
  height: 48rem;
}

.gallery_media:nth-child(3) {
  right: 24%;
  top: 48%;
  width: 24rem;
  height: 48rem;
}

.gallery_media:nth-child(4) {
  left: 8%;
  top: 24%;
  width: 32rem;
  height: 48rem;
}

.gallery_media:nth-child(5) {
  left: 8%;
  top: 64%;
  width: 32rem;
  height: 48rem;
}

.gallery_media:nth-child(6) {
  right: 7%;
  top: 80%;
  width: 32rem;
  height: 48rem;
}

.gallery_media:nth-child(7) {
  display: none;
}

.gallery_text {
  position: relative;
  height: 100vh;
  z-index: 20;
}

.gallery_text_items {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  height: 12rem;
  line-height: 12rem;

  text-align: center;
  color: var(--primary);
  overflow: hidden;
}

/* Connect -------------------------------------------------*/
.connect {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.connect_wrapper {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: inherit;
  gap: 8rem;
  padding: 12rem;
}

.connect_title {
  text-transform: uppercase;
  position: relative;
  z-index: 10;
}

.connect_caption span {
  display: block;
}

.connect_media {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.connect_media.image--front {
  left: 72rem;
  z-index: 2;
  scale: 60%;
}

.connect_media.image--back {
  right: 72rem;
  z-index: 1;
}

.connect_media img {
  width: 48rem;
  height: 64rem;
  object-fit: contain;
}

/* ★Horizontal ----------------------------------------------*/
.horizontal {
  position: relative;
  width: max-content;
  height: 100vh;
  overflow: hidden;
}

.horizontal_wrapper {
  display: flex;
  align-items: center;
  width: inherit;
  height: inherit;
  overflow: hidden;
}

.horizontal_box {
  position: relative;
  width: 100vw;
  height: inherit;
  overflow: hidden;
}

.horizontal_box.horizontal_box--full {
  width: 80vw;
}

.horizontal_box.horizontal_box--vertical {
  width: 30vw;
  height: 200vh;
  background-color: white;
  padding: 6.4rem;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 8rem;
}

.horizontal_box_title {
  position: relative;
  display: flex;
  gap: 2rem;
  align-items: center;
  justify-content: center;
  width: inherit;
  height: inherit;
  z-index: 10;
  color: var(--primary);
}

.horizontal_box--vertical .horizontal_box_title {
  color: var(--secondary);
}

.horizontal_box_paragraph {
  display: flex;
  gap: 2rem;
}

.horizontal_box_media {
  position: absolute;
  left: 0;
  top: 0;
  width: inherit;
  height: inherit;
  z-index: 1;
}

.horizontal_box_media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.horizontal_box_container {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8rem;
}

.horizontal_box.horizontal_box--end {
  width: 100vw;
}

.horizontal_box--end .horizontal_box_title {
  color: var(--primary);
}

/* Outro ---------------------------------------------------- */
.outro {
  position: relative;
  width: 100%;
  height: 100vh;
  background-color: var(--tertiary);
  /* color: var(--primary); */
  color: var(--secondary);

  /* new */
  overflow: hidden;
}

.outro_wrapper {
  display: flex;
  flex-direction: column;
  width: inherit;
  height: inherit;
  /* gap: 8rem; */
  gap: 6rem;
  justify-content: center;
  align-items: center;
  padding: 6.4rem;
}

.outro_titles,
.outro_description,
.outro_caption {
  text-align: center;
}

.outro_caption span {
  display: block;
}

.info_description {
  line-height: 1.3;
}

/* ★★★ Responsive 1 -----------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  html {
    font-size: calc(100vw / 768 * 10);
  }

  h2 {
    /* font-size: 6rem; */
    font-size: 8rem;
  }

  /* NEW-------------- */
  h3 {
    font-size: 4rem;
  }

  p,
  span {
    font-size: 3.2rem;
    line-height: 1;
  }

  .intro {
    padding-top: 25rem;
  }

  .intro_card {
    width: 64rem;
    padding: 0 2rem;
  }

  .intro_one {
    height: 100%;
  }

  /* --------------------------------------------- */
  .gallery_text_wrapper {
    text-align: center;
    gap: 8rem;
    height: 12rem;
    overflow: hidden;
  }

  .gallery_media:nth-child(7) {
    display: block;
    left: 14%;
    top: 94%;
    width: 16rem;
    height: 24rem;
  }

  /* --------------------------------------------- */
  .connect_media.image--front {
    left: 14.5rem;
  }

  .connect_media.image--back {
    right: 14.5rem;
  }

  .connect_title h3 {
    display: none;
  }

  /* new */
  .connect_wrapper {
    gap: 40rem;
  }

  /* --------------------------------------------- */
  .outro {
    height: 150vh;
  }

  /* Responsive Horizontal --------------------------------------*/
  .horizontal {
    width: 100%;
    height: 100%;
  }

  .horizontal_wrapper {
    flex-direction: column;
  }

  .horizontal_box {
    width: 100%;
    height: 60rem;
  }

  .horizontal_box.horizontal_box--full {
    width: inherit;
    height: 100rem;
  }

  .horizontal_box.horizontal_box--vertical {
    width: inherit;
    height: 100%;
  }

  .horizontal_box_title h3:nth-child(1) {
    text-align: center;
  }

  .horizontal_box_title h3:nth-child(2) {
    display: none;
  }
}

/* ★★★ Responsive 2 -------------------------------------------------------------------- */
@media screen and (max-width: 450px) {
  .outro {
    height: 125vh;
  }
}

/* new */
@media screen and (min-width: 900px) {
  .outro {
    height: 110vh;
  }
}

@media screen and (min-width: 1100px) {
  .outro {
    height: 120vh;
  }
}

/* new renew */
@media screen and (min-width: 1350px) {
  .outro {
    height: 150vh;
  }
}
