@charset "UTF-8";
/* layout.css : ヘッダー・グローバルナビ（SP はメニュー）・フッター・共通の幅 */

/* ==========================================
   ヘッダー
   ========================================== */
.siteHeader {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--header-h);
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.siteHeaderInner {
  max-width: 1100px;
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.siteLogo {
  display: block;
  width: 240px;
  line-height: 0;
}
.siteLogo img {
  width: 100%;
}
@media screen and (width < 46.875em) {
  .siteHeaderInner {
    padding: 0 16px;
  }
  .siteLogo {
    width: 190px;
  }
}

/* ==========================================
   グローバルナビ（PC）
   ========================================== */
.globalNav ul {
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.globalNav a {
  display: block;
  color: var(--ink);
  text-decoration: none;
  font-size: .9rem;
  font-weight: bold;
  text-align: center;
  line-height: 1.4;
  position: relative;
}
.globalNav .en {
  display: block;
  font-family: var(--serif);
  font-size: .7rem;
  font-weight: normal;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--accent);
}
.globalNav a:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform .25s;
}
.globalNav a:hover:after,
.globalNav a:focus-visible:after {
  transform: scaleX(1);
}
.globalNav .navSp {
  display: none;
}

/* ==========================================
   メニューボタン・SP メニュー
   ========================================== */
.menuBtn {
  display: none;
}
@media screen and (width < 46.875em) {
  .menuBtn {
    display: block;
    position: relative;
    width: 44px;
    height: 44px;
    margin-right: -8px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--brown);
    cursor: pointer;
  }
  .menuBtn span {
    position: absolute;
    left: 11px;
    width: 22px;
    height: 2px;
    background: currentColor;
    border-radius: 1px;
    transition: transform .25s, opacity .25s;
  }
  .menuBtn span:nth-child(1) { top: 14px; }
  .menuBtn span:nth-child(2) { top: 21px; }
  .menuBtn span:nth-child(3) { top: 28px; }
  .menuBtn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menuBtn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menuBtn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .globalNav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--brown);
    padding: 24px 24px 40px;
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transition: opacity .25s, visibility .25s;
  }
  .siteHeader.is-open .globalNav {
    visibility: visible;
    opacity: 1;
  }
  .globalNav ul {
    display: block;
  }
  .globalNav li {
    border-bottom: 1px solid rgba(241,217,181,.2);
  }
  .globalNav a {
    display: flex;
    align-items: baseline;
    gap: 14px;
    padding: 18px 4px;
    color: #fff;
    font-size: 1.05rem;
    text-align: left;
  }
  .globalNav .en {
    width: 7em;
    color: var(--cream);
  }
  .globalNav a:after {
    display: none;
  }
  .globalNav .navSp {
    display: block;
  }
}

/* ==========================================
   共通の幅
   ========================================== */
.inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
}
@media screen and (width < 46.875em) {
  .inner {
    padding: 0 16px;
  }
}

/* ==========================================
   フッター
   ========================================== */
.siteFooter {
  background: var(--brown);
  color: var(--cream);
  padding: 56px 0 32px;
  text-align: center;
}
.footLogo {
  display: inline-block;
  width: 260px;
  line-height: 0;
}
.footNav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 28px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}
.footNav a {
  color: var(--cream);
  text-decoration: none;
  font-size: .85rem;
}
.footNav a:hover {
  text-decoration: underline;
}
.copyright {
  margin: 32px 0 0;
  font-size: .75rem;
  opacity: .7;
}
@media screen and (width < 46.875em) {
  .siteFooter {
    padding: 44px 0 28px;
  }
  .footLogo {
    width: 210px;
  }
  .footNav ul {
    gap: 10px 22px;
  }
}
