@charset "utf-8";

:root {
  --accent: #937960;
  --accent-dark: #7b6350;
  --ink: #2a2724;
  --ink-soft: #5d574f;
  --ink-mute: #8b837a;
  --line: #e3ddd5;
  --paper: #fff;
  --paper-warm: #faf7f3;
  --font-main: "Noto Sans", "Segoe UI", Arial, sans-serif;
  --gutter: 18px;
  --head-h: 64px;
}

*, *:before, *:after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-main);
  font-size: 15px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; border: 0; }
a { color: var(--accent-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
p { margin: 0 0 1.6em; }
ul, ol { margin: 0 0 1.6em; padding-left: 1.4em; }
li { margin-bottom: .5em; }
h1, h2, h3 { margin: 0; font-weight: 600; line-height: 1.5; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
table { border-collapse: collapse; width: 100%; }

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

#site_wrap { display: none; }

/* splash + loader, both fade away on load */
#splash_screen {
  position: fixed;
  overflow: hidden;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  height: 100vh;
  z-index: 9999999;
  opacity: 1;
  transition: opacity 1.2s ease 0s;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  background: #fff;
}
body.end_loading #splash_screen { opacity: 0; pointer-events: none; }
#splash_screen .catch {
  z-index: 3;
  color: #fff;
  font-size: 24px;
  text-align: center;
  line-height: 1.7;
  position: relative;
  margin: 0;
}
#splash_screen .catch span { display: block; position: relative; transform: translate3d(0,30px,0); opacity: 0; }
#splash_screen.animate .catch span { transform: translate3d(0,0,0); opacity: 1; }
#splash_screen.animate .catch span:nth-child(1) { transition: transform .9s ease .2s, opacity .9s ease .2s; }
#splash_screen.animate .catch span:nth-child(2) { transition: transform .9s ease .5s, opacity .9s ease .5s; }
#splash_screen .overlay { width: 100%; height: 100%; position: absolute; top: 0; left: 0; z-index: 2; }
#splash_screen .bg_image { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
#splash_screen .bg_image img { width: 100%; height: 100%; position: absolute; top: 0; left: 0; object-fit: cover; }

#site_loader_overlay {
  position: fixed;
  overflow: hidden;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  height: 100vh;
  z-index: 99999;
  opacity: 1;
  transition: opacity .7s ease 0s;
  background: #fff;
}
body.end_loading #site_loader_overlay { opacity: 0; pointer-events: none; }
.sk-circle {
  width: 40px;
  height: 40px;
  z-index: 10;
  position: absolute;
  left: 50%;
  top: 50%;
  -ms-transform: translate(-50%,-50%);
  -webkit-transform: translate(-50%,-50%);
  transform: translate(-50%,-50%);
}
.sk-circle .sk-child { width: 100%; height: 100%; position: absolute; left: 0; top: 0; }
.sk-circle .sk-child:before {
  content: '';
  display: block;
  margin: 0 auto;
  width: 15%;
  height: 15%;
  background-color: #937960;
  border-radius: 100%;
  -webkit-animation: sk-circleBounceDelay 1.2s infinite ease-in-out both;
  animation: sk-circleBounceDelay 1.2s infinite ease-in-out both;
}
.sk-circle .sk-circle2 { -webkit-transform: rotate(30deg); -ms-transform: rotate(30deg); transform: rotate(30deg); }
.sk-circle .sk-circle3 { -webkit-transform: rotate(60deg); -ms-transform: rotate(60deg); transform: rotate(60deg); }
.sk-circle .sk-circle4 { -webkit-transform: rotate(90deg); -ms-transform: rotate(90deg); transform: rotate(90deg); }
.sk-circle .sk-circle5 { -webkit-transform: rotate(120deg); -ms-transform: rotate(120deg); transform: rotate(120deg); }
.sk-circle .sk-circle6 { -webkit-transform: rotate(150deg); -ms-transform: rotate(150deg); transform: rotate(150deg); }
.sk-circle .sk-circle7 { -webkit-transform: rotate(180deg); -ms-transform: rotate(180deg); transform: rotate(180deg); }
.sk-circle .sk-circle8 { -webkit-transform: rotate(210deg); -ms-transform: rotate(210deg); transform: rotate(210deg); }
.sk-circle .sk-circle9 { -webkit-transform: rotate(240deg); -ms-transform: rotate(240deg); transform: rotate(240deg); }
.sk-circle .sk-circle10 { -webkit-transform: rotate(270deg); -ms-transform: rotate(270deg); transform: rotate(270deg); }
.sk-circle .sk-circle11 { -webkit-transform: rotate(300deg); -ms-transform: rotate(300deg); transform: rotate(300deg); }
.sk-circle .sk-circle12 { -webkit-transform: rotate(330deg); -ms-transform: rotate(330deg); transform: rotate(330deg); }
.sk-circle .sk-circle2:before { -webkit-animation-delay: -1.1s; animation-delay: -1.1s; }
.sk-circle .sk-circle3:before { -webkit-animation-delay: -1s; animation-delay: -1s; }
.sk-circle .sk-circle4:before { -webkit-animation-delay: -.9s; animation-delay: -.9s; }
.sk-circle .sk-circle5:before { -webkit-animation-delay: -.8s; animation-delay: -.8s; }
.sk-circle .sk-circle6:before { -webkit-animation-delay: -.7s; animation-delay: -.7s; }
.sk-circle .sk-circle7:before { -webkit-animation-delay: -.6s; animation-delay: -.6s; }
.sk-circle .sk-circle8:before { -webkit-animation-delay: -.5s; animation-delay: -.5s; }
.sk-circle .sk-circle9:before { -webkit-animation-delay: -.4s; animation-delay: -.4s; }
.sk-circle .sk-circle10:before { -webkit-animation-delay: -.3s; animation-delay: -.3s; }
.sk-circle .sk-circle11:before { -webkit-animation-delay: -.2s; animation-delay: -.2s; }
.sk-circle .sk-circle12:before { -webkit-animation-delay: -.1s; animation-delay: -.1s; }
@-webkit-keyframes sk-circleBounceDelay { 0%,80%,100% { -webkit-transform: scale(0); transform: scale(0) } 40% { -webkit-transform: scale(1); transform: scale(1) } }
@keyframes sk-circleBounceDelay { 0%,80%,100% { -webkit-transform: scale(0); transform: scale(0) } 40% { -webkit-transform: scale(1); transform: scale(1) } }

/* announcement + header */
#header_message {
  position: relative;
  z-index: 60;
  text-align: center;
  font-size: 12px;
  line-height: 1.5;
  padding: 9px var(--gutter);
}
#header_message .label { color: inherit; text-decoration: underline; }

#header {
  position: sticky;
  top: 0;
  z-index: 55;
  background: #fff;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px var(--gutter);
  min-height: var(--head-h);
}
#header_logo2 { margin: 0; line-height: 0; }
#header_logo2 img { width: 148px; height: auto; }
#header_logo2 .mobile { display: none; }
#global_menu { display: none; }
#drawer_menu_button {
  position: relative;
  width: 34px;
  height: 26px;
  flex: 0 0 auto;
}
#drawer_menu_button span:not(.sr) {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--ink);
  transition: transform .3s ease, opacity .3s ease;
}
#drawer_menu_button span:nth-child(1) { top: 3px; }
#drawer_menu_button span:nth-child(2) { top: 12px; }
#drawer_menu_button span:nth-child(3) { top: 21px; }
body.drawer_open #drawer_menu_button span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
body.drawer_open #drawer_menu_button span:nth-child(2) { opacity: 0; }
body.drawer_open #drawer_menu_button span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

#site_desc {
  background: var(--paper-warm);
  border-bottom: 1px solid var(--line);
  padding: 10px var(--gutter);
}
#site_desc .desc { margin: 0; font-size: 12.5px; color: var(--ink-soft); text-align: center; }

/* icon rail */
#side_icon_button { display: none; }
.icon_button .item a {
  display: block;
  color: var(--ink);
  text-align: center;
}

/* drawer */
#drawer_menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(86%, 380px);
  z-index: 200;
  background: #fff;
  border-left: 1px solid var(--line);
  padding: 20px var(--gutter) 40px;
  overflow-y: auto;
}
#drawer_menu[hidden] { display: none; }
#drawer_logo img { width: 140px; }
#drawer_logo .mobile { display: none; }
.close_button_area { position: absolute; top: 18px; right: var(--gutter); }
.close_button { width: 26px; height: 26px; position: relative; }
.close_button:before, .close_button:after {
  content: '';
  position: absolute;
  top: 12px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--ink);
}
.close_button:before { transform: rotate(45deg); }
.close_button:after { transform: rotate(-45deg); }
#drawer_icon_button { margin: 26px 0 18px; border-top: 1px solid var(--line); }
#drawer_icon_button .item { border-bottom: 1px solid var(--line); }
#drawer_icon_button .item a { padding: 12px 0; text-align: left; font-size: 14px; }
#mobile_menu ul { list-style: none; margin: 0; padding: 0; }
#mobile_menu li { margin: 0; border-bottom: 1px solid var(--line); }
#mobile_menu a { display: block; padding: 13px 0; color: var(--ink); font-size: 15px; }
body.drawer_open { overflow: hidden; }

/* footer */
#footer_icon_banner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
#footer_icon_banner .item { background: #fff; }
#footer_icon_banner .item a {
  display: block;
  padding: 18px 10px;
  font-size: 12.5px;
  color: var(--ink);
}
#footer_icon_banner .item a:before {
  content: '';
  display: block;
  width: 34px;
  height: 34px;
  margin: 0 auto 8px;
  border: 1px solid var(--accent);
  border-radius: 100%;
  background: var(--paper-warm);
}

#footer { padding: 34px var(--gutter) 90px; text-align: center; }
.footer_logo { margin-bottom: 22px; }
.footer_logo img { width: 160px; margin: 0 auto; }
.footer_menu ul { list-style: none; margin: 0; padding: 0; }
.footer_menu li { margin: 0; }
.footer_menu a, .cookie_again {
  display: block;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 13.5px;
  width: 100%;
  text-align: center;
}
.footer_menu { display: none; }
.footer_menu_mobile { display: block; }
#footer_address { margin: 24px 0 8px; font-size: 13px; color: var(--ink-soft); }
#footer_address span:empty:before { content: '\3000'; }
#copyright { margin: 0; font-size: 11.5px; color: var(--ink-mute); }

#return_top { position: fixed; right: 12px; bottom: 74px; z-index: 40; }
#return_top a {
  display: block;
  width: 42px;
  height: 42px;
  background: var(--accent);
  color: #fff;
  border-radius: 100%;
  font-size: 0;
  position: relative;
}
#return_top a:before {
  content: '';
  position: absolute;
  top: 17px;
  left: 15px;
  width: 11px;
  height: 11px;
  border-left: 2px solid #fff;
  border-top: 2px solid #fff;
  transform: rotate(45deg);
}

/* cookie box */
#cookie_box {
  position: fixed;
  left: 10px;
  right: 10px;
  bottom: 66px;
  z-index: 300;
  background: #fff;
  border: 1px solid var(--accent);
  box-shadow: 0 10px 30px rgba(42,39,36,.16);
  max-height: 84vh;
  overflow-y: auto;
}
#cookie_box[hidden] { display: none; }
.cookie_inner { padding: 16px 16px 18px; }
.cookie_title { margin: 0 0 6px; font-weight: 600; font-size: 15px; }
.cookie_text { margin: 0 0 14px; font-size: 13px; color: var(--ink-soft); line-height: 1.7; }
.cookie_acts { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie_btn {
  border: 1px solid var(--accent);
  border-radius: 100px;
  padding: 9px 16px;
  font-size: 12.5px;
  color: var(--accent-dark);
  white-space: nowrap;
}
.cookie_btn.is_main { background: var(--accent); color: #fff; }
.cookie_btn.is_plain { border-color: transparent; text-decoration: underline; padding: 9px 4px; }
.cookie_panel { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 6px; }
.cookie_panel .cookie_btn { margin-top: 12px; }
.cookie_row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}
.cookie_row_title { margin: 0 0 2px; font-weight: 600; font-size: 13.5px; }
.cookie_row_text { margin: 0; font-size: 12.5px; color: var(--ink-soft); line-height: 1.6; }
.cookie_fixed { font-size: 11.5px; color: var(--ink-mute); white-space: nowrap; padding-top: 3px; }
.cookie_switch { position: relative; flex: 0 0 auto; width: 44px; height: 24px; cursor: pointer; }
.cookie_switch input { position: absolute; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.cookie_switch span:first-of-type {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #d8d1c8;
  border-radius: 20px;
  transition: background .2s linear;
}
.cookie_switch span:first-of-type:after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 100%;
  transition: transform .2s linear;
}
.cookie_switch input:checked + span { background: var(--accent); }
.cookie_switch input:checked + span:after { transform: translateX(20px); }

@media screen and (min-width: 768px) {
  :root { --gutter: 32px; --head-h: 78px; }
  body { font-size: 15.5px; }
  #splash_screen .catch { font-size: 29px; }
  #header_logo2 img { width: 176px; }
  #footer_icon_banner { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer_menu { display: block; }
  .footer_menu_mobile { display: none; }
  .footer_menu ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 26px; }
  .footer_menu a, .cookie_again { border-bottom: 0; padding: 6px 0; width: auto; }
  #footer { padding-bottom: 46px; }
  #cookie_box { left: auto; right: 24px; bottom: 24px; width: 420px; }
  #return_top { bottom: 24px; right: 24px; }
}

@media screen and (min-width: 1222px) {
  #splash_screen .catch { font-size: 34px; }
  #drawer_menu_button { display: none; }
  #global_menu { display: block; }
  #global_menu .menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 30px; }
  #global_menu li { margin: 0; }
  #global_menu a { color: var(--ink); font-size: 14px; }
  #global_menu .menu-item-103 a {
    border: 1px solid var(--accent);
    border-radius: 100px;
    padding: 8px 20px;
    color: var(--accent-dark);
  }
  #side_icon_button {
    display: block;
    position: fixed;
    right: 0;
    top: 190px;
    z-index: 45;
    border: 1px solid var(--line);
    border-right: 0;
    background: #fff;
  }
  #side_icon_button .item + .item { border-top: 1px solid var(--line); }
  #side_icon_button .item a { padding: 14px 10px; font-size: 11px; width: 74px; }
  #side_icon_button .item a:before {
    content: '';
    display: block;
    width: 22px;
    height: 22px;
    margin: 0 auto 6px;
    border: 1px solid var(--accent);
    border-radius: 100%;
    background: var(--paper-warm);
  }
}
