@charset "utf-8";
@import url("reset.min.css");

@view-transition {
  navigation: auto;
}

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.5s;
}

html {
  --width: 1366px;
  --delay: 2s;
  --font-xxl: clamp(34px, 2.676vw + 13.45px, 50px);
  --font-xl: clamp(28px, 2.007vw + 12.59px, 40px);
  --font-l: clamp(20px, 1.672vw + 7.16px, 30px);
  --font-m: clamp(14px, 1.505vw + 2.44px, 23px);
  --font-s: 20px;

  @media (width < 768px) {
    --font-xxl: 34px;
    --font-xl: 28px;
    --font-l: 20px;
    --font-m: 13px;
    --font-s: 12px;
  }
}

ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

body {
  font-size: var(--font-m);
  line-height: 2.25;
  font-family: 'Noto Serif JP', serif;
  font-weight: 600;
}

.font-xxl {
  font-size: var(--font-xxl);
}

.font-xl {
  font-size: var(--font-xl);
}

.font-l {
  font-size: var(--font-l);
}

.font-l {
  font-size: var(--font-l);
}

.font-m {
  font-size: var(--font-m);
}

.font-s {
  font-size: var(--font-s);
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1;
  background-color: #fff;
  width: 100%;
  /* max-width: var(--width); */
  margin: 0 auto;
  padding: 1em 2em;
  @media (width < 1024px) {
    position: fixed;
    height: 60px;
    padding: 16px 18px;
  }
}
header a {
  display: block;
  width: fit-content;
}
header .logo {
  width: 125px;
  height: auto;
}

main {
  @media (width < 1024px) {
    padding-top: 60px;
  }
}

.hero {
  position: relative;
  width: 100%;
  /* max-width: var(--width); */
  margin: 0 auto;
}

.hero img {
  width: 100%;
  height: auto;
  max-height: 992px;
  object-fit: cover;
  object-position: center;
}

.hero video {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.hero .hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 2.5rem;
}

footer {
  background-color: #9C9564;
  height: 240px;
}

/* ---------------------------------------- */

.text {
  span {
    display: inline-block;
  }
}


/* ---------------------------------------- */

.hero .top-h1 {
  font-size: clamp(40px, 5.12vw, 70px);
  width: max-content;

  img {
    width: clamp(168px, 22vw, 300px);
    height: auto;
    margin: 0 auto;
  }

  @media (width < 768px) {
    font-size: 24px;

    img {
      width: 100px;
    }
  }
}

.top-lead {
  background-color: #E3DECC;
  width: 100%;
  padding: 100px 30px;
  margin: auto;
  text-align: center;

  p:first-of-type {
    margin: 2.5em 0 0 0;
  }

  h2 {
    margin: .125em 0 .75em 0;
  }

  h3 {
    margin: 4em 0 2em 0;
  }

  @media (width < 768px) {
    padding: 60px 0;
  }
}

.top-lead img {
  margin: 0 auto;
  padding: 0 20px;
}

.top-lead .yvideo {
  width: min(840px, 100%);
  aspect-ratio: 16 / 9;
  margin: 0 auto;
  padding: 0 20px;

  iframe {
    width: 100%;
    height: 100%;
  }
}

/* ---------------------------------------- */

.woodliving {
  text-align: center;
  padding: 140px 0 0 0;

  h2 {
    line-height: 1;
  }

  .logo {
    max-width: 468px;
    width: clamp(264px, 34vw, 468px);
    margin: 0 auto;
  }

  .finland {
    font-size: clamp(16px, 2.341vw - 1.98px, 30px);
  }

  p {
    margin: 2em 0;
  }

  .forest {
    width: 100%;
    height: auto;
    max-height: 768px;
    object-fit: cover;
    object-position: center;
    margin-top: 140px;
  }

}

/* ---------------------------------------- */

.top-tertiary {
  background-color: #E3DECC;
  width: 100%;
  padding: 100px 30px 60px 30px;
  margin: auto;
  text-align: center;

  h2 {
    margin: 0 0 .75em 0;
  }

  p:last-of-type {
    margin: 2em 0 3em 0;
    white-space: nowrap;
  }

  ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1em;
    max-width: var(--width);
    padding: 0;
    margin: 0 auto;
  }

  @media (width < 768px) {
    padding: 80px 0 60px 0;

    .font-xl {
      font-size: 20px;
    }

    ul {
      grid-template-columns: repeat(2, 1fr);
      margin: 0 1em;
    }
  }
}

/* ---------------------------------------- */

.top-catalog {
  width: 100%;
  padding: 100px 30px;
  margin: auto;
  text-align: center;

  h2 {
    margin: 0 0 .75em 0;
  }

  p {
    margin: 0 0 2.5em 0;
  }

  @media (width < 768px) {
    padding: 60px 20px;
  }
}

/* ---------------------------------------- */
.qlist-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1em 1em;
  list-style: none;
  width: 100%;
  max-width: var(--width);
  margin: 0 auto;
  /* padding: 50px 0; */
  text-align: left;

  a {
    display: inline-flex;
    align-items: center;
    width: min(100%, 630px);
    aspect-ratio: 630 / 110;
    /* background-image: url('images/qlist.svg'); */
    background-size: 100% 100%;
    background-repeat: no-repeat;
    text-decoration: none;
    color: #000;
    padding: 0 0 4px 2em;
  }

  a {
    background-image: url(images/qlist_sprite.svg);
    background-size: 100% 300%;
    /* 画像3枚分が縦に並んでいる場合 */
    background-position: top;
    /* 1枚目（通常時）を表示 */
    -webkit-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
  }

  /* PC：マウスオーバー時 */
  @media (hover: hover) {
    a:hover {
      /* 2枚目（ホバー時）を表示 */
      background-position: 0 50%;
    }
  }

  /* PC：マウスダウン時 ＆ スマホ：タッチ時（JSで付与） */
  a.is-active {
    /* 3枚目（アクティブ時）を表示 */
    background-position: 0 100%;
    padding-top: 1px;
  }


  @media (width <=720px) {
    grid-template-columns: 1fr;
    justify-items: center;

    a {
      width: min(90vw, 360px);
    }
  }
}

/* ---------------------------------------- */

.catalog-container {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  gap: 4em;
  text-align: left;
  font-size: var(--font-s);
  border: 1px solid #6B6B6B;
  width: 100%;
  max-width: 940px;
  margin: 0 auto;
  padding: 50px 30px;

  p {
    margin: 0 0 1.5em 0;
  }

  .btn {
    background-color: #F3D632;
    border: none;
    padding: .5em 4em;
    cursor: pointer;
    text-decoration: none;
    color: #000;
    font-size: .85em;
  }

  @media (width < 768px) {
    flex-flow: column nowrap;
    text-align: center;
    font-size: 20px;
    gap: 2em;
  }
}

.mailmag {
  margin: 4em 0 0 0 !important;
}

.mailmag a {
  display: inline-block;
  color: #fff;
  text-decoration: none;
  background-color: #9D9666;
  padding: 0 1em;
  margin-top: 1em;
}

/* -------------------------------- */

.cta {
  display: none;

  ul {
    display: flex;
    column-gap: 2px;
    flex-flow: row nowrap;
  }
  img {
    width: 45px;
  }

  @media (width < 1024px) {
    display: block;
  }
}


.fixed-cta {
  display: none;
}

@media (width >= 1024px) {

  /* .content-honka-logo-youtube {
    bottom: 0;
    left: 0;
    position: absolute;
  } */
  .fixed-cta {
    bottom: 0;
    display: block;
    left: auto;
    position: fixed;
    right: 90px;
    z-index: 200002;
  }

  .fixed-cta ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin-bottom: 0;
    padding: 0;
    column-gap: 10px;
  }

  .fixed-cta a {
    align-items: center;
    background-color: #ffe300;
    color: #fff;
    font-family: serif;
    display: flex;
    font-size: 16px;
    font-weight: 700;
    justify-content: center;
    line-height: 1;
    height: 45px;
    width: 260px;
  }

  .fixed-cta span {
    padding-left: 45px;
    position: relative;
  }

  .fixed-cta a.catalog {
    background-color: #f7c00b;
  }

  .fixed-cta a.catalog span:before {
    background-image: url(images/catalog.svg);
    background-position: center left;
    background-repeat: no-repeat;
    background-size: 35px;
    content: '';
    position: absolute;
    left: 0;
    height: 45px;
    top: 50%;
    translate: 0 -50%;
    width: 36px;
  }

  .fixed-cta a.contact {
    background-color: #937b0f;
  }

  .fixed-cta a.contact span:before {
    background-image: url(images/contact.svg);
    background-position: center left;
    background-repeat: no-repeat;
    background-size: 35px;
    content: '';
    position: absolute;
    left: 0;
    height: 45px;
    top: 50%;
    translate: 0 -50%;
    width: 36px;
  }

  .fixed-cta a.tokyo {
    background-color: #bb7e4d;
  }

  .fixed-cta a.tokyo span:before {
    background-image: url(images/tokyo.svg);
    background-position: bottom left;
    background-repeat: no-repeat;
    background-size: 35px;
    content: '';
    position: absolute;
    left: 0;
    height: 45px;
    top: 50%;
    translate: 0 -50%;
    width: 36px;
  }

  .fixed-cta2 {
    top: 140px;
    display: block;
    left: auto;
    position: fixed;
    right: 0;
    z-index: 200002;
  }

  .fixed-cta2 ul {
    list-style: none;
    margin-bottom: 0;
    padding: 0;
  }

  .fixed-cta2 ul li+li {
    margin-top: 5px;
  }
}


/* -------------------------------- */

#wpfront-scroll-top-container {
  position: fixed;
  display: flex;
  cursor: pointer;
  z-index: 9999;
  border: none;
  outline: none;
  background-color: rgba(0, 0, 0, 0);
  box-shadow: none;
  outline-style: none;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  /* transition: opacity 0.3s ease, visibility 0.3s ease; */
  transition: opacity .8s ease-out, visibility .8s ease-out;

  right: 20px;
  bottom: calc(20px - 9.5px);
  transition: all .2s ease-out;

  img {
    margin: 0;
  }
}

#wpfront-scroll-top-container.show {
  display: flex;
  opacity: .8;
  visibility: visible;
  transition: opacity 0.3s linear, visibility 0.3s linear;
}

@media (hover: hover) {
  #wpfront-scroll-top-container.show:hover {
    opacity: 1;
  }
}


/* -------------------------------- */
/* FADE IN */
.fade-in {
  opacity: 0;
  transition: opacity var(--delay) ease-out;
  transition-delay: .5s;
}

.fade-in.is-show {
  opacity: 1;
  /* transform: none; */
}

.fade-in-up {
  opacity: 0;
  transform: translateY(1em);
  transition: opacity var(--delay) ease-out, transform var(--delay) ease-out;
  transition-delay: .5s;
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-2em);
  transition: opacity var(--delay) ease-out, transform calc(var(--delay) * 0.5) ease-out;
  transition-delay: .5s;
}

.fade-in-right {
  opacity: 0;
  transform: translateX(2em);
  transition: opacity var(--delay) ease-out, transform calc(var(--delay) * 0.5) ease-out;
  transition-delay: .5s;
}

.fade-in-up.is-show,
.fade-in-left.is-show,
.fade-in-right.is-show {
  opacity: 1;
  transform: none;
}