@charset "UTF-8";
/* Shared image captions, following the Moriguchi reference. */
.commonImage { position: relative; }
.commonImgcap {
  position: absolute;
  z-index: 5;
  right: 0;
  bottom: 0;
  max-width: 100%;
  margin: 0;
  padding: 10px;
  color: #fff;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: normal;
  text-align: right;
  text-shadow: 0 0 3px #000, 0 0 3px #000, 0 0 3px #000,
    0 0 3px #000, 0 0 3px #000, 0 0 3px #000, 0 0 3px #000;
  pointer-events: none;
}
.commonImgcap.left { right: auto; left: 0; text-align: left; }
.commonEndCaptions { padding-block: 32px; font-size: 10px; line-height: 1.8; }

/* views */
.spView {
  display: none !important;
}

@media only screen and (max-width: 768px) {
  .spView {
    display: block !important;
  }

  .pcView {
    display: none !important;
  }
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  display: flex;
  height: 60px;
  align-items: stretch;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(8px);
}
.site-header__identity {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 28px;
  padding-left: clamp(12px, 1.25vw, 24px);
  white-space: nowrap;
}
.site-header__logo {
  display: block;
  width: clamp(280px, 24.479vw, 470px);
  flex: 0 0 auto;
}
.site-header__logo img {
  width: 100%;
}
.site-header__identity > span {
  font-size: 1.25rem;
  letter-spacing: 0.13em;
}
.site-header__nav {
  display: flex;
  align-items: stretch;
}
.site-header__nav > a {
  display: flex;
  min-width: 0;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: 0 clamp(8px, 0.833vw, 16px);
  font-size: clamp(12px, 0.782vw, 15px);
  letter-spacing: 0.1em;
  font-weight: 400;
  white-space: nowrap;
  transition:
    background 0.25s,
    color 0.25s;
}
.site-header__nav > a:not(.site-header__cta):hover {
  background: #f0f0ed;
}
.site-header__nav .site-header__cta {
  min-width: clamp(104px, 7.188vw, 138px);
  color: #fff;
  filter: brightness(1);
  transition: filter 0.45s ease;
}
.site-header__cta--olive {
  background: linear-gradient(90deg, #26878d 0%, #32aab1 100%);
}
.site-header__cta--wine {
  background: linear-gradient(90deg, #11494d 0%, #175b60 100%);
}
.site-header__cta:hover {
  filter: brightness(1.18);
}
.menu-button,
.mobile-menu {
  display: none;
}

.site-footer {
  position: relative;
  min-height: 500px;
  padding: 120px 0 65px;
  overflow: hidden;
  color: #fff;
}
.site-footer::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    url("../images/common/footer_bg.jpg") center/cover no-repeat;
}
.site-footer__inner {
  position: relative;
  z-index: 1;
  width: min(1240px, calc(100% - 100px));
  margin: 0 auto;
}
.site-footer__brand {
  display: block;
  width: 280px;
  aspect-ratio: 516 / 63;
  background: url("../images/common/logo_white.png") left center/contain
    no-repeat;
}
.site-footer__brand img {
  opacity: 0;
}
.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  row-gap: 20px;
  margin-top: 42px;
}
.site-footer__nav a {
  display: flex;
  align-items: center;
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  white-space: nowrap;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}
.site-footer__nav a:hover,
.site-footer__nav a:focus-visible {
  opacity: 0.65;
  transform: translateY(-1px);
}
.site-footer__nav a:not(:last-of-type)::after {
  width: 1px;
  height: 22px;
  margin: 0 32px;
  background: rgba(255, 255, 255, 0.55);
  content: "";
}
.site-footer__nav-break {
  display: none;
}
.site-footer__lower {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 56px;
}
.site-footer__company {
  display: flex;
  align-items: center;
  gap: 40px;
}
.site-footer__company::before {
  width: 150px;
  aspect-ratio: 324 / 78;
  flex: 0 0 auto;
  background: url("../images/common/knine_logo.png") center/contain no-repeat;
  content: "";
}
.site-footer__company > img {
  display: none;
}
.site-footer__company address {
  display: flex;
  flex-direction: column;
  font-size: 1.05rem;
  font-style: normal;
  letter-spacing: 0.05em;
  line-height: 1.65;
}
.site-footer__company strong {
  font-weight: 400;
}
.site-footer__copyright {
  font-family: var(--latin);
  font-size: 1.05rem;
  letter-spacing: 0.06em;
}

.reveal {
  opacity: 0;
  transform: translateY(35px);
  transition:
    opacity 0.9s ease,
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.reveal--delay-1 {
  transition-delay: 0.12s;
}
.reveal--delay-2 {
  transition-delay: 0.24s;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
  will-change: auto;
}

/* Smartphone image modal
---------------------------------------- */
#spCommonModalArea[hidden] {
  display: none;
}

@media (min-width: 768px) {
  #spCommonModalArea {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .commonSpModalImage {
    position: relative;
    cursor: zoom-in;
  }
  .commonSpModalImage::after {
    position: absolute;
    z-index: 3;
    top: 0;
    right: 0;
    width: 30px;
    height: 30px;
    background: url("../images/common/ico_sp_modal.svg") center / contain no-repeat;
    content: "";
    pointer-events: none;
  }
  body.is-sp-modal-open {
    overflow: hidden;
  }
  #spCommonModalArea {
    position: fixed;
    z-index: 9999999;
    inset: 0;
    overflow: auto;
    background: rgba(0, 0, 0, 0.72);
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.25s ease,
      visibility 0.25s ease;
    -webkit-overflow-scrolling: touch;
  }
  #spCommonModalArea.is-open {
    opacity: 1;
    visibility: visible;
  }
  #spCommonModalTable {
    display: grid;
    box-sizing: border-box;
    min-height: 100%;
    padding: 72px 0 24px;
    place-items: center;
  }
  #spCommonModalCell {
    width: 100%;
  }
  #spCommonModalInner {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
  }
  #spCommonModalContents {
    position: relative;
    max-height: calc(100svh - 96px);
    overflow: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
  #spCommonModalContents::before {
    position: fixed;
    z-index: 2;
    top: 50%;
    left: 50%;
    display: block;
    width: 70px;
    height: 70px;
    background: url("../images/common/swipe_icon.svg") center / contain no-repeat;
    animation: sp-common-swipe 3s 0s infinite ease;
    content: "";
    opacity: 1;
    pointer-events: none;
    transform: translateY(-50%);
    transition: opacity 0.25s ease;
  }
  #spCommonModalContents.is-scrolled::before {
    opacity: 0;
  }
  #spCommonModalContents figure {
    box-sizing: border-box;
    width: max(200%, 760px);
    margin: 0;
    padding: 10px 20px;
    background: #fff;
  }
  #spCommonModalContents img {
    display: block;
    width: 100%;
    height: auto;
  }
  #spCommonModalClose {
    position: absolute;
    z-index: 3;
    top: -58px;
    right: 6px;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
  }
  #spCommonModalClose::before,
  #spCommonModalClose::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 38px;
    height: 1px;
    background: #fff;
    content: "";
    transform-origin: center;
  }
  #spCommonModalClose::before {
    transform: translate(-50%, -50%) rotate(45deg);
  }
  #spCommonModalClose::after {
    transform: translate(-50%, -50%) rotate(-45deg);
  }
  #spCommonModalClose:focus-visible {
    outline: 1px solid rgba(255, 255, 255, 0.9);
    outline-offset: 2px;
  }
}

@keyframes sp-common-swipe {
  50% {
    margin-left: -70px;
  }
  100% {
    margin-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  #spCommonModalContents::before {
    animation: none;
  }
}

@media (max-width: 1180px) {
  .site-header {
    height: 60px;
    padding: 0 20px;
    align-items: center;
  }
  .site-header__identity {
    position: relative;
    z-index: 3;
    gap: 14px;
    padding: 0;
  }
  .site-header__logo {
    width: clamp(150px, 18vw, 240px);
  }
  .site-header__nav {
    display: none;
  }
  .menu-button {
    position: relative;
    z-index: 3;
    display: block;
    width: 27px;
    height: 27px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
  }
  .menu-button span {
    position: absolute;
    top: calc(50% - 0.5px);
    right: 1px;
    left: 1px;
    height: 1px;
    background: #222;
    transform-origin: center;
    transition:
      transform 0.3s,
      opacity 0.3s;
  }
  .menu-button span:nth-child(1) {
    transform: translateY(-7px);
  }
  .menu-button span:nth-child(3) {
    transform: translateY(7px);
  }
  .site-header.is-menu-open {
    height: 100svh;
    align-items: flex-start;
    padding-top: 0;
    background: #f7f7f5;
  }
  .site-header.is-menu-open .site-header__identity {
    position: absolute;
    top: 30px;
    left: 20px;
    transform: translateY(-50%);
  }
  .site-header.is-menu-open .menu-button {
    position: absolute;
    top: 30px;
    right: 20px;
    transform: translateY(-50%);
  }
  .site-header.is-menu-open .menu-button span:nth-child(1) {
    transform: rotate(45deg);
  }
  .site-header.is-menu-open .menu-button span:nth-child(2) {
    opacity: 0;
  }
  .site-header.is-menu-open .menu-button span:nth-child(3) {
    transform: rotate(-45deg);
  }
  .mobile-menu {
    position: absolute;
    z-index: 2;
    inset: 0;
    display: flex;
    padding: 82px 10vw 40px;
    background: #f7f7f5;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: 0.3s;
  }
  .site-header.is-menu-open .mobile-menu {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .mobile-menu nav {
    display: grid;
    width: 100%;
    align-content: start;
  }
  .mobile-menu a {
    padding: 15px 4px;
    border-bottom: 1px solid #ccc;
    font-size: 1.25rem;
    letter-spacing: 0.08em;
  }
}

@media (max-width: 767px) {
  .site-header {
    height: 50px;
    padding: 0 12px;
    align-items: center;
  }
  .site-header__identity {
    gap: 8px;
    padding: 0;
  }
  .site-header__logo {
    width: 260px;
  }
  .site-header__identity > span {
    font-size: 0.9rem;
    letter-spacing: 0.06em;
  }
  .site-header__nav {
    display: none;
  }
  .site-header.is-menu-open .site-header__identity {
    top: 25px;
    left: 12px;
  }
  .site-header.is-menu-open .menu-button {
    top: 25px;
    right: 12px;
  }
  .mobile-menu {
    position: absolute;
    inset: 0;
    display: flex;
    padding: 82px 10vw 40px;
    background: #f7f7f5;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: 0.3s;
  }
  .site-header.is-menu-open .mobile-menu {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .mobile-menu nav {
    display: grid;
    width: 100%;
    align-content: start;
  }
  .mobile-menu a {
    padding: 15px 4px;
    border-bottom: 1px solid #ccc;
    font-size: 1.25rem;
    letter-spacing: 0.08em;
  }
  .site-footer {
    min-height: 0;
    padding: 34px 0px 20px;
  }
  .site-footer__inner {
    width: 100%;
  }
  .site-footer__brand {
    width: 220px;
    margin: auto;
  }
  .site-footer__nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    row-gap: 0;
    margin-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.28);
  }
  .site-footer__nav a {
    min-height: 40px;
    justify-content: center;
    border-right: 1px solid rgba(255, 255, 255, 0.28);
    border-bottom: 1px solid rgba(255, 255, 255, 0.28);
    font-size: 1.2rem;
    line-height: 1.4;
    text-align: center;
  }
  .site-footer__nav a:nth-of-type(even) {
    border-right: 0;
  }
  .site-footer__nav a:not(:last-of-type)::after {
    display: none;
  }
  .site-footer__nav-break {
    display: block;
    flex-basis: 100%;
    height: 0;
  }
  .site-footer__lower {
    display: block;
    margin-top: 24px;
  }
  .site-footer__company {
    justify-content: center;
    gap: 22px;
  }
  .site-footer__company::before {
    width: 85px;
  }
  .site-footer__company address {
    font-size: 0.8rem;
    line-height: 1.5;
  }
  .site-footer__copyright {
    display: block;
    margin-top: 24px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.35);
    font-size: 0.8rem;
    text-align: center;
  }
}

/* 設備／構造の公開まで、メニュー項目を無効化。 */
.site-header__nav > a.is-disabled,
.mobile-menu a.is-disabled,
.site-footer__nav a.is-disabled {
  color: #aaa;
  cursor: default;
  pointer-events: none;
}

/* Yutenji property adaptation */

