/* Kiyonami footer module CSS */

footer {
  background: #2c2a26;
  color: #d4cfc6;
  padding: 4rem 1.5rem 2.5rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: var(--font-sans);
  line-height: 1.8;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
}

.footer-sub {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 1.2rem;
}

.footer-brand {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
  color: #f8f5f0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
}

.footer-addr {
  font-size: 13.6px !important;
  line-height: 1.9 !important;
  color: #a09a90 !important;
  font-weight: 400 !important;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem 2rem;
  font-size: 13.6px !important;
}

.footer-links a {
  color: #c8c2b8 !important;
  font-size: 13.6px !important;
  font-weight: 400 !important;
  text-decoration: none;
  transition: color 0.25s;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  max-width: 1120px;
  margin: 3rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid #3f3c36;
  font-size: 12.5px !important;
  color: #7a756c !important;
  font-weight: 400 !important;
  text-align: center;
}

@media (max-width: 960px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
}

.footer-home {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
  color: inherit;
  text-decoration: none;
}

.footer-home:hover .footer-logo {
  opacity: 1;
}

.footer-logo {
  height: 48px;
  width: auto;
  max-width: min(320px, 90vw);
  display: block;
  filter: none;
  opacity: 0.95;
}

footer .footer-addr,
footer .footer-bottom,
footer [data-i18n='footer_copy'],
footer [data-i18n-html='footer_addr'] {
  font-family: var(--font-sans) !important;
}

footer .footer-links,
footer .footer-links a {
  font-family: inherit !important;
}

html[lang='ja'] footer .footer-links a,
html[data-lang='ja'] footer .footer-links a {
  font-family: 'Noto Sans JP', 'Hiragino Sans', 'Yu Gothic', sans-serif !important;
}

html[lang='zh-Hans'] footer .footer-links a,
html[data-lang='zh-Hans'] footer .footer-links a {
  font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif !important;
}

html[lang='zh-Hant'] footer .footer-links a,
html[data-lang='zh-Hant'] footer .footer-links a {
  font-family: 'Noto Sans TC', 'PingFang TC', 'Microsoft JhengHei', sans-serif !important;
}

html[lang='en'] footer .footer-links a,
html[data-lang='en'] footer .footer-links a {
  font-family:
    system-ui,
    -apple-system,
    'Segoe UI',
    Roboto,
    'Helvetica Neue',
    Arial,
    sans-serif !important;
}

html[lang='ko'] footer .footer-links a,
html[data-lang='ko'] footer .footer-links a {
  font-family: 'Noto Sans KR', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif !important;
}
