@charset "UTF-8";
/*
Template: swell
Theme Name: うちねこ快適ガイド SWELL CHILD
Theme URI: https://uchineko-guide.jp/
Description: SWELLを親テーマとする、うちねこ快適ガイド専用の更新可能な子テーマ。
Version: 0.3.20
Author: うちねこ快適ガイド

Based on the official SWELL CHILD scaffold by LOOS WEB STUDIO.
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
  --brand: #d94e78;
  --action: #9c3d54;
  --ink: #332628;
  --muted: #716466;
  --white: #fff;
  --surface: #fff7f5;
  --border: #9f8882;
  --border-soft: #eadfdd;
  --accent: #f2c84b;
  --max: 1240px;
  --serif: "Yu Mincho", "Hiragino Mincho ProN", serif;
  --sans: "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  --uchineko-brand: #d94e78;
  --uchineko-action: #9c3d54;
  --uchineko-ink: #332628;
  --uchineko-muted: #716466;
  --uchineko-surface: #fff7f5;
  --uchineko-accent: #f2c84b;
  --uchineko-border: #e4d9d6;
}

body.collection-article-page {
  margin: 0;
  overflow-x: hidden;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

.collection-article-page :where(a) {
  color: inherit;
  text-decoration: none;
}

.collection-article-page :where(img) {
  max-width: 100%;
  display: block;
}

.collection-article-page :where(a, button):focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

/* Retained only as a low-priority rollback layer; site-shell.css owns the live shell. */
@layer uchineko-legacy-shell {
.collection-article-page .site-header {
  height: 88px;
  padding: 0 max(30px, calc((100vw - var(--max)) / 2));
  position: relative;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 36px;
  border-bottom: 1px solid var(--border-soft);
  background: #fff;
}

.collection-article-page .brand {
  width: 340px;
  flex: none;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.collection-article-page .brand-symbol {
  width: 82px;
  height: 35px;
  flex: none;
  object-fit: contain;
  filter: none;
  opacity: 1;
  mix-blend-mode: normal;
}

.collection-article-page .brand-wordmark {
  width: 242px;
  height: auto;
  filter: none;
  opacity: 1;
  mix-blend-mode: normal;
}

.collection-article-page .site-header nav {
  margin-left: auto;
  display: flex;
  gap: 30px;
  font-size: 12px;
  font-weight: 700;
}

.collection-article-page .site-header nav a,
.collection-article-page .header-search {
  position: relative;
  text-decoration: none;
}

.collection-article-page .site-header nav a::after {
  content: "";
  height: 2px;
  position: absolute;
  right: 100%;
  bottom: -8px;
  left: 0;
  background: var(--brand);
  transition: right .2s ease;
}

.collection-article-page .site-header nav a:hover::after {
  right: 0;
}

.collection-article-page .header-search {
  min-height: 44px;
  padding: 9px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #d9ccca;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}

.collection-article-page .header-search span,
.collection-article-page .mobile-nav__search span {
  width: 14px;
  height: 14px;
  position: relative;
  border: 1.6px solid var(--ink);
  border-radius: 50%;
}

.collection-article-page .header-search span::after,
.collection-article-page .mobile-nav__search span::after {
  content: "";
  width: 6px;
  height: 1.6px;
  position: absolute;
  right: -5px;
  bottom: -2px;
  background: var(--ink);
  transform: rotate(45deg);
}

.collection-article-page .menu {
  display: none;
}

.collection-article-page .mobile-nav:not([open]) {
  display: none;
}

.collection-article-page .mobile-nav {
  width: min(380px, calc(100vw - 28px));
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0 0 0 auto;
  padding: 26px;
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 1000;
  overflow-y: auto;
  border: 0;
  background: #fff;
  color: var(--ink);
  box-shadow: -18px 0 48px color-mix(in srgb, var(--ink) 16%, transparent);
  overscroll-behavior: contain;
}

.collection-article-page .mobile-nav[open] {
  display: flex;
  flex-direction: column;
}

.collection-article-page .mobile-nav::backdrop {
  background: color-mix(in srgb, var(--ink) 40%, transparent);
  backdrop-filter: blur(2px);
}

.collection-article-page .mobile-nav__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.collection-article-page .mobile-nav__head p {
  margin: 0;
  color: var(--action);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
}

.collection-article-page .mobile-nav__close {
  min-width: 76px;
  min-height: 44px;
  padding: 0 9px;
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.collection-article-page .mobile-nav__close span {
  margin-left: 5px;
  color: var(--brand);
  font-size: 18px;
}

.collection-article-page .mobile-nav nav {
  margin: 28px 0 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
  font-size: 16px;
  font-weight: 700;
}

.collection-article-page .mobile-nav nav a {
  padding: 17px 0;
  border-bottom: 1px solid var(--border-soft);
  text-decoration: none;
}

.collection-article-page .mobile-nav__search {
  min-height: 52px;
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--action);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

html.mobile-nav-open,
body.mobile-nav-open {
  overflow: hidden;
  overscroll-behavior: none;
}

.collection-article-page .uchineko-site-footer {
  padding: 80px max(30px, calc((100vw - var(--max)) / 2)) 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  background: var(--ink);
  color: #fff;
}

.collection-article-page .footer-brand img:not(.footer-symbol) {
  width: 310px;
  filter: none;
  opacity: 1;
  mix-blend-mode: normal;
}

.collection-article-page .footer-symbol {
  width: 76px;
  height: 32px;
  margin-bottom: 17px;
  filter: none;
  opacity: 1;
  mix-blend-mode: normal;
}

.collection-article-page .footer-brand p {
  margin: 16px 0 0;
  color: #d5c9cb;
  font-size: 11px;
}

.collection-article-page .footer-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 46px;
}

.collection-article-page .footer-nav > div {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.collection-article-page .footer-nav b {
  margin-bottom: 4px;
  color: #f4b4c6;
  font-size: 10px;
  letter-spacing: .1em;
}

.collection-article-page .footer-nav a {
  font-size: 11px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.collection-article-page .copyright {
  grid-column: 1 / -1;
  padding-top: 21px;
  display: flex;
  gap: 24px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: #bcaeb1;
  font-size: 8px;
  letter-spacing: .09em;
}
}

.collection-article-page .visually-hidden {
  width: 1px;
  height: 1px;
  position: absolute;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

@layer uchineko-legacy-shell {
@media (max-width: 900px) {
  .collection-article-page .site-header {
    height: 76px;
    padding: 0 17px;
    gap: 10px;
  }

  .collection-article-page .brand {
    width: 276px;
    gap: 9px;
  }

  .collection-article-page .brand-symbol {
    width: 68px;
    height: 29px;
  }

  .collection-article-page .brand-wordmark {
    width: 196px;
  }

  .collection-article-page .site-header nav,
  .collection-article-page .header-search {
    display: none;
  }

  .collection-article-page .menu {
    width: 44px;
    height: 44px;
    margin-left: auto;
    padding: 7px;
    display: block;
    border: 0;
    background: transparent;
  }

  .collection-article-page .menu i {
    width: 22px;
    height: 1px;
    margin: 6px auto;
    display: block;
    background: var(--ink);
  }

  .collection-article-page .uchineko-site-footer {
    padding: 62px 24px 25px;
    display: block;
  }

  .collection-article-page .footer-brand img:not(.footer-symbol) {
    width: 270px;
  }

  .collection-article-page .footer-nav {
    margin-top: 44px;
    gap: 28px;
  }

  .collection-article-page .copyright {
    margin-top: 26px;
    flex-wrap: wrap;
  }
}

@media (max-width: 390px) {
  .collection-article-page .brand {
    width: min(256px, calc(100vw - 78px));
  }

  .collection-article-page .brand-symbol {
    width: 58px;
  }

  .collection-article-page .brand-wordmark {
    width: min(188px, calc(100vw - 148px));
  }
}
}
