/* --- Fonts --- */
@font-face {
  font-family: "Rahere Roman Display";
  src: url("../fonts/demo-rahereromandisplay-regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "CircularLLSub-Bold";
  src: url("../fonts/CircularLLSub-Bold.woff2") format("woff2"),
    url("../fonts/CircularLLSub-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "CircularLLWeb-Bold";
  src: url("../fonts/CircularLLWeb-Bold.woff2") format("woff2"),
    url("../fonts/CircularLLWeb-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

#main::before {
  /* 	content: ""; */
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  filter: url(#noiseFilter);
  opacity: 0.15;
  pointer-events: none;
  z-index: 9999;
}

/* ============================================
   CSS Variables for Column Top Page
   ============================================ */
:root {
  --primary-red: #a43424;
  --primary-red-dark: #a72813;
  --bg-beige: #f9f8f6;
  --bg-gray: #f3f0ef;
  --bg-white: #ffffff;
  --text-dark: #1a1a1a;
  --text-gray: #5b5b5b;
  --border-gray: #e5e5e5;
  --max-width-desktop: 1280px;
  --max-width-content: 1028px;
}

/* --- Column Top Page Specific Styles --- */
/* 既存CSSの上書き - フルワイドコンテナ */
#container.container-fullwidth {
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

#main.column-top-main {
  float: none !important;
  width: 100% !important;
  max-width: 100% !important;
  background-color: var(--bg-gray);
}

.column-top-main * {
  box-sizing: border-box;
}

.column-top-main img {
  max-width: 100%;
  height: auto;
  display: block;
}

.column-top-main a {
  color: #000000;
  text-decoration: none;
}

.column-top-main button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

/* Utility Classes */
.column-top-main .is-md-show {
  display: none;
}

@media (max-width: 768px) {
  .column-top-main .is-md-show {
    display: block;
  }

  .column-top-main .is-md-hide {
    display: none !important;
  }
}

/* Side Bar (Breadcrumb) */
.column-top-main .side-bar {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 45px;
  height: 40px;
}

.column-top-main .side-bar a {
  font-size: 12px;
  font-weight: 500;
}

.column-top-main .side-bar span {
  font-size: 12px;
}

@media (max-width: 768px) {
  .column-top-main .side-bar {
    padding-block: 20px;
    padding-inline: 22px 0;
    gap: 2px;
  }

  .column-top-main .side-bar a {
    font-size: 10px;
  }

  .column-top-main .side-bar span {
    font-size: 10px;
  }
}


body {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.6' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.15'/%3E%3C/svg%3E");
  background-color: #f3f0ef;
  /* 元の背景色 */
}

footer {

  /* background: */
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.6' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.15'/%3E%3C/svg%3E"), url(https://rokumeicoffee.itembox.cloud/item/footer.png?d=20260130095221) no-repeat center / cover !important;
  background: #a72813 !important;
}

/* ============================================
   404 Page
   ============================================ */
.error404-main {
  float: none !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: calc(100vh - 200px);
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
}

#container.container-fullwidth > .side-bar {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 45px;
  font-size: 12px;
}

#container.container-fullwidth > .side-bar a {
  font-size: 12px;
  font-weight: 500;
  color: #000;
  text-decoration: none;
}

#container.container-fullwidth > .side-bar span {
  font-size: 12px;
}

.error404-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 900px;
  padding: 60px 40px 120px;
}

.error404-title {
  font-family: "CircularLLWeb-Bold", "CircularLLSub-Bold", sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 60px;
}

.error404-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.error404-text {
  font-size: 14px;
  line-height: 2;
  color: var(--text-dark);
  text-align: left;
  width: 100%;
  max-width: 640px;
  margin-bottom: 60px;
}

.error404-btn {
  width: 228px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  border: 1px solid #a72813;
  background-color: transparent;
  font-size: 14px;
  color: #a72813!important;
  margin: auto;
  text-decoration: none !important;
  position: relative;
  overflow: hidden;
  transition: color 0.3s ease;
}

.error404-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: #a72813;
  transition: width 0.3s ease;
  z-index: 0;
}

.error404-btn p,
.error404-btn .back-arr {
  position: relative;
  z-index: 1;
  transition: color 0.3s ease, filter 0.3s ease;
}

.error404-btn p {
  margin: 0;
}

.error404-btn .back-arr {
  width: 42px;
  height: auto;
}

.error404-btn:hover {
  color: #ffffff;
}

.error404-btn:hover::before {
  width: 100%;
}

.error404-btn:hover p {
  color: #ffffff;
}

.error404-btn:hover .back-arr {
  filter: brightness(0) invert(1);
}