@charset "utf-8";
/*---------------------------------------------
ヘッダー(navbar) 
===============================================*/
/*---------------------------------------------*/
/* header/navigation
============================================== */

/* ---------- header ---------- */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: 0.35s ease;
}
.bar {
  display: grid;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0px;
  transition: 0.35s ease;
  width: 92%;
  margin: 0 auto;
  max-width: 1200px;
  grid-template-columns: 200px 1fr auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #111;
  transition: color 0.35s;
  text-shadow: 0px 0px 5px #ffffff;
}

.logo img {
  width: 65px;
  height: 65px;
  flex: none;
  background: transparent;
}

.bar a.logo {
    display: grid;
    grid-template-columns: 50px 1fr;
    width:  100%;
}

.logo .ttl {
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.04em;
  line-height: 1.1;
      text-shadow: 0px 0px 5px #ffffff;
}
.logo .ttl small {
  display: block;
  font-size: 9px;
  letter-spacing: 0.18em;
  font-weight: 500;
  opacity: 0.85;
  margin-top: 2px;
}
nav.main {
  display: flex;
  align-items: center;
  gap: 34px;
}
nav.main a {
  color: #111;
  font-size: 14px;
  font-weight: 500;
  position: relative;
  transition: color 0.35s;
}
nav.main a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: 0.3s;
}
nav.main a:hover::after {
  width: 100%;
}
.head-cta {
  display: flex;
  align-items: center;
  /* gap: 0; */
}

.tel {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  color: #111;
  transition: color 0.35s;
}
.tel .num {
  font-family: "Inter";
  font-weight: 600;
  font-size: 19px;
  letter-spacing: 0.02em;
}
.tel small {
  font-size: 10px;
  opacity: 0.85;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  padding: 12px 22px;
  border-radius: 0;
  font-size: 14px;
  font-weight: 600;
  transition: 0.25s;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.5);
}
.btn svg {
  width: 15px;
  height: 15px;
}

/* scrolled state */
header.scrolled,
header.header--filled {
  background: rgba(242, 247, 250, 0.94);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
}
header.scrolled .bar,
header.header--filled .bar {
  padding-top: 8px;
  padding-bottom: 8px;
}
header.scrolled .logo,
header.scrolled .tel,
header.header--filled .logo,
header.header--filled .tel {
  color: var(--ink);
}
header.scrolled nav.main a,
header.header--filled nav.main a {
  color: var(--ink);
}

header.scrolled .logo .mark .leaf,
header.header--filled .logo .mark .leaf {
  fill: var(--theme);
}
.burger {
  display: none;
}


/* ---------- hero ---------- */
.hero {
  position: relative;
  height: clamp(560px, 82vh, 820px);
  overflow: hidden;
  background: #102015;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero .ph,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  transition: opacity 1.8s ease;
}

.hero-slide.on {
  opacity: 1;
}

.hero-slide img,
.hero-slide__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-slide__video {
  display: block;
  pointer-events: none;
}

.hero .ph::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(5, 22, 15, 0.68) 0%,
      rgba(5, 22, 15, 0.36) 34%,
      rgba(5, 22, 15, 0.06) 62%,
      rgba(5, 22, 15, 0.22) 100%
    ),
    linear-gradient(
      180deg,
      rgba(5, 20, 14, 0.18) 0%,
      rgba(5, 20, 14, 0.08) 48%,
      rgba(5, 20, 14, 0.28) 100%
    );
  z-index: 2;
}

/* .hero-contour {
  position: absolute;
  left: -8%;
  bottom: -10%;
  width: 42%;
  height: 78%;
  z-index: 3;
  opacity: 0.28;
  background-image: url("data:image/svg+xml,%3Csvg width='520' height='520' viewBox='0 0 520 520' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23c8b878' stroke-width='1'%3E%3Cpath d='M33 497C70 396 69 310 129 238c64-77 160-68 223-137 36-40 48-79 53-101'/%3E%3Cpath d='M65 520c35-96 38-174 96-241 64-75 151-64 209-130 32-37 42-70 47-116'/%3E%3Cpath d='M103 520c31-88 36-149 87-208 60-69 142-58 194-119 30-35 37-65 42-104'/%3E%3Cpath d='M140 520c29-78 37-126 82-177 55-62 126-52 174-108 26-31 33-57 38-91'/%3E%3Cpath d='M178 520c28-69 39-103 76-145 47-54 109-45 151-94 23-27 30-50 34-78'/%3E%3Cpath d='M218 520c25-58 39-82 69-116 41-46 92-38 128-80 20-24 27-43 31-66'/%3E%3C/g%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
} */

.hero-message {
  position: absolute;
    left: -25%;
    /* top: 21%; */
    z-index: 4;
    color: #fff;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    position: relative;
}

.hero-message p {
  margin: 0;
  font-size: clamp(26px, 3.5vw, 50px);
  line-height: 1.85;
  letter-spacing: 0.14em;
  font-weight: 500;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.42);
}

.hero-message span {
  display: block;
  margin-top: 32px;
  font-size: clamp(14px, 1.4vw, 20px);
  letter-spacing: 0.12em;
  font-weight: 600;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}

.scrollhint {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 4;
  transform: translateX(-50%);
  color: #fff;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-align: center;
}

.scrollhint i {
  display: block;
  width: 1px;
  height: 32px;
  margin: 8px auto 0;
  background: rgba(255, 255, 255, 0.75);
}


@media (max-width: 900px) {
  .hero {
    height: 72vh;
    min-height: 520px;
  }

  .hero-message {
    position: absolute;
    left: 50%;
    top: 18%;
    transform: translateX(-50%);
    width: max-content;
  }

  .hero-message p {
    font-size: clamp(24px, 7vw, 38px);
  }
}






/* ---------- PC submenu ---------- */

header {
  --header-menu-bg: transparent;
  --header-menu-border: rgba(17, 17, 17, 0.18);
  --header-menu-text: #111;
  --header-menu-text-hover: var(--theme-dark, #8EABC0);
  --header-menu-hover-bg: rgba(197, 216, 229, 0.18);
}

header.scrolled,
header.header--filled {
  --header-menu-bg: rgba(242, 247, 250, 0.94);
  --header-menu-border: var(--line);
  --header-menu-text: var(--ink, #1f2a24);
  --header-menu-text-hover: var(--theme-dark, #8EABC0);
  --header-menu-hover-bg: rgba(197, 216, 229, 0.18);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: end;
}

.nav-parent {
  position: relative;
  min-width: 130px;
}

.nav-parent > a {
  display: block;
  padding: 10px 14px;
  color: #111;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: .04em;
  transition: color .35s ease;
}

.nav-parent > a:hover {
  color: var(--theme-dark, #8EABC0);
}

header.scrolled .nav-parent > a,
header.header--filled .nav-parent > a {
  color: var(--ink, #1f2a24);
}

header.scrolled .nav-parent > a:hover,
header.header--filled .nav-parent > a:hover {
  color: var(--theme-dark, #8EABC0);
}

.submenu-toggle {
  display: none;
}

.nav-children {
  position: absolute;
  top: 40px;
  left: 50%;
  z-index: 100;
  width: 450px;
  padding: 0 10px;
  background: var(--header-menu-bg);
  border: 1px solid var(--header-menu-border);
  box-shadow: none;
  backdrop-filter: blur(12px);
  transform: translateX(-50%) translateY(8px);
  /* transform: translateX(200px) translateY(10px); */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: .25s ease;
  display: grid;
  grid-template-columns: repeat(4,1fr);
}

.nav-children::before {
  /* content: ""; */
  /* position: absolute; */
  /* top: -14px; */
  /* left: 0; */
  /* width: 100%; */
  /* height: 14px; */
}

.nav-children a {
  display: block;
  padding: 0;
  color: var(--header-menu-text);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--header-menu-border);
}

.nav-children a:last-child {
  border-bottom: 0;
}

.nav-children a:hover {
  color: var(--header-menu-text-hover);
  /* background: var(--header-menu-hover-bg); */
}

.nav-parent:hover .nav-children,
.nav-parent:focus-within .nav-children {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  /* transform: translateX(-50%) translateY(0); */
}

/* ---------- SP hamburger ---------- */

.burger {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
  z-index: 210;
}

.burger i {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 26px;
  height: 2px;
  margin: 0;
  background: #27442f;
  transform: translate(-50%, -50%);
  transition: .25s ease;
}

.burger i:nth-child(1) {
  transform: translate(-50%, calc(-50% - 7px));
}

.burger i:nth-child(3) {
  transform: translate(-50%, calc(-50% + 7px));
}

.head-cta .burger i {
  background: #111;
}

header.scrolled .head-cta .burger i,
header.header--filled .head-cta .burger i,
body.nav-open .head-cta .burger i {
  background: #27442f;
}

body.nav-open .burger i:nth-child(1) {
  transform: translate(-50%, -50%) rotate(45deg);
}

body.nav-open .burger i:nth-child(2) {
  opacity: 0;
}

body.nav-open .burger i:nth-child(3) {
  transform: translate(-50%, -50%) rotate(-45deg);
}

@media (max-width: 1023px) {
  .burger {
    display: block;
  }

  .bar {
    display: flex;
    justify-content: space-between;
  }
  
  .site-nav {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 200;
    width: min(86vw, 380px);
    height: 100vh;
    padding: 92px 26px 36px;
    display: block;
    background: rgba(255,255,255,.96);
    box-shadow: -18px 0 50px rgba(20,40,28,.18);
    transform: translateX(100%);
    transition: transform .3s ease;
    overflow-y: auto;
  }

  body.nav-open .site-nav {
    transform: translateX(0);
  }

  body.nav-open {
    overflow: hidden;
  }

  .nav-parent {
    border-bottom: 1px solid rgba(51,102,0,.14);
  }

  .nav-parent > a {
    padding: 18px 42px 18px 0;
    font-size: 16px;
    color: var(--ink, #1f2a24);
  }

  .nav-parent > a:hover,
  header.scrolled .nav-parent > a:hover {
    color: var(--theme-dark, #8EABC0);
  }

  .has-children .submenu-toggle {
    display: grid;
    place-items: center;
    position: absolute;
    top: 9px;
    right: 0;
    width: 38px;
    height: 38px;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .submenu-toggle span {
    position: relative;
    width: 16px;
    height: 16px;
  }

  .submenu-toggle span::before,
  .submenu-toggle span::after {
    content: "";
    position: absolute;
    background: #336600;
    transition: .2s ease;
  }

  .submenu-toggle span::before {
    top: 7px;
    left: 0;
    width: 16px;
    height: 2px;
  }

  .submenu-toggle span::after {
    top: 0;
    left: 7px;
    width: 2px;
    height: 16px;
  }

  .nav-parent.is-open .submenu-toggle span::after {
    opacity: 0;
  }

  .nav-children {
    position: static;
    width: auto;
    padding: 0 0px 10px 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    display: none;
  }

  .nav-parent.is-open .nav-children {
    display: block;
  }

  .nav-children a {
    padding: 10px 0 10px 0px;
    font-size: 14px;
    color: #49634f;
    border-bottom: 0;
    text-align: center !important;
    display: flex;
    justify-content: center;
  }

  .nav-children a::before {
    content: "— ";
    color: #336600;
  }
}
