/*
Theme Name: ANOINE
Theme URI: https://anoine.example
Author: ANOINE
Author URI: https://anoine.example
Description: ANOINE 個人運営サイト用 WordPress テーマ。クリーンなホームページデザイン。
Version: 2.54.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: anoine
Tags: custom-logo, custom-menu, featured-images, one-column, two-columns, responsive-layout, translation-ready, japanese
*/

/* ==================================================
   ANOINE — Design Tokens
================================================== */
:root {
  --ink: #0f0f0f;
  --ink-soft: #2a2a2a;
  --muted: #6b6b6b;
  --line: #e8e8e8;
  --line-soft: #f2f2f2;
  --paper: #FFFFFF;
  --paper-dim: #f7f7f7;
  --accent: #5069cc;
  --accent-hover: #3d56b0;
  --white: #FFFFFF;
  --radius: 6px;
  --radius-lg: 12px;
  --header-h: 72px;
  --max: 1120px;
  --frame-w: 30px;
  --font: "Helvetica Neue", "Avenir Next", "Hiragino Sans", "Noto Sans JP", "Yu Gothic", sans-serif;
  --font-display: "Helvetica Neue", "Avenir Next", "Hiragino Sans", "Noto Sans JP", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t: 0.28s var(--ease);
  --shadow: 0 1px 3px rgba(0,0,0,0.04), 0 8px 24px rgba(0,0,0,0.04);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--t), opacity var(--t); }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%);
  height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px;
}

/* ==================================================
   Typography
================================================== */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.02em;
  color: var(--ink);
  overflow-wrap: anywhere;
  word-break: keep-all;
}

h1 { font-size: clamp(1.85rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.4rem, 3vw, 1.85rem); }
h3 { font-size: 1.15rem; }

p { color: var(--muted); }

/* ==================================================
   Layout helpers
================================================== */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.site-main {
  flex: 1;
}

.section {
  padding: 5rem 0;
}

.section--dim {
  background: var(--paper-dim);
}

.section-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.section-title {
  margin-bottom: 1rem;
}

.section-lead {
  font-size: 1rem;
  max-width: 36em;
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.section-head {
  text-align: center;
  margin-bottom: 3rem;
}

.section-head .section-lead {
  margin-left: auto;
  margin-right: auto;
}

/* ==================================================
   Buttons
================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.85rem;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  border-radius: 999px;
  transition: background var(--t), color var(--t), border-color var(--t), transform var(--t);
  cursor: pointer;
  border: 1px solid transparent;
  line-height: 1.3;
}

.btn--primary {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.btn--primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--white);
}

.btn--outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn--outline:hover {
  background: var(--ink);
  color: var(--white);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn--ghost:hover {
  border-color: var(--ink);
}

/* ==================================================
   Header
================================================== */
.site-header {
  position: sticky;
  top: var(--frame-w);
  z-index: 200;
  height: var(--header-h);
  background: linear-gradient(90deg, #5069cc 0%, #FFFFFF 100%);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid rgba(80, 105, 204, 0.35);
}

.header-bar {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.site-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  line-height: 1.2;
}
.site-brand a,
.site-brand__name {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
}
.site-brand a:hover,
.site-brand__name:hover { opacity: 0.7; }
.site-brand__sub {
  display: block;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-indent: 0.28em;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.main-nav a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  position: relative;
  padding: 0.25rem 0;
}

.main-nav a:hover,
.main-nav .current-menu-item a {
  color: var(--ink);
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t);
}

.main-nav a:hover::after,
.main-nav .current-menu-item a::after {
  transform: scaleX(1);
}

.header-cta { display: none !important; }

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: #fff;
  transition: var(--t);
}

.menu-toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 800px) {
  /* backdrop-filter は fixed 子孫の基準をヘッダーに閉じ込めるため無効化 */
  .site-header {
    background: linear-gradient(90deg, #5069cc 0%, #FFFFFF 100%);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .menu-toggle {
    display: flex;
    position: relative;
    z-index: 260;
  }

  .main-nav {
    display: block;
    position: fixed;
    top: calc(var(--header-h) + var(--frame-w));
    left: var(--frame-w);
    right: var(--frame-w);
    width: auto;
    height: calc(100vh - var(--header-h) - 2 * var(--frame-w));
    height: calc(100dvh - var(--header-h) - 2 * var(--frame-w));
    margin: 0;
    padding: 0;
    background: linear-gradient(180deg, #5069cc 0%, #FFFFFF 100%);
    z-index: 250;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.25s var(--ease), visibility 0.25s, transform 0.25s var(--ease);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border-top: 1px solid var(--line);
  }

  .main-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .main-nav ul {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    margin: 0;
    padding: 0.5rem 0 2rem;
  }

  .main-nav .menu-item {
    width: 100%;
    border-bottom: 1px solid var(--line-soft);
  }

  .main-nav a {
    display: block;
    width: 100%;
    padding: 1.15rem 1.5rem;
    font-size: 0.95rem;
    box-sizing: border-box;
  }

  .main-nav a::after { display: none; }

  body.nav-open { overflow: hidden; }
}

/* ==================================================
   Hero
================================================== */
.hero {
  position: relative;
  min-height: min(78vh, 640px);
  display: flex;
  align-items: center;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(255,255,255,0.06) 0%, transparent 60%),
    linear-gradient(160deg, #5069cc 0%, #1a1a1a 50%, #121212 100%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: 5rem 1.5rem;
  width: 100%;
}

.hero-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1.25rem;
}

.hero h1 {
  color: var(--white);
  font-weight: 600;
  max-width: 14em;
  margin-bottom: 1.35rem;
  line-height: 1.3;
}

.hero p {
  color: rgba(255,255,255,0.6);
  font-size: 1.05rem;
  max-width: 32em;
  line-height: 1.8;
  margin-bottom: 2.25rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero .btn--primary {
  background: var(--white);
  color: var(--ink);
  border-color: var(--white);
}

.hero .btn--primary:hover {
  background: rgba(255,255,255,0.9);
}

.hero .btn--outline {
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}

.hero .btn--outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  color: var(--white);
}

@media (max-width: 640px) {
  .hero {
    min-height: auto;
    align-items: flex-start;
  }
  .hero-inner {
    padding: 2.75rem 1.25rem 2.5rem;
  }
  .hero-label {
    font-size: 0.62rem;
    letter-spacing: 0.08em;
    line-height: 1.55;
    max-width: 100%;
    word-break: break-word;
    color: rgba(255,255,255,0.65);
  }
  .hero h1 {
    font-size: clamp(1.55rem, 7vw, 2rem);
    max-width: 100%;
    margin-bottom: 1rem;
    line-height: 1.4;
  }
  .hero p {
    font-size: 0.92rem;
    max-width: 100%;
    line-height: 1.75;
    color: rgba(255,255,255,0.72);
    margin-bottom: 1.75rem;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ==================================================
   Features / Value props
================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 800px) {
  .features-grid { grid-template-columns: 1fr; }
}

.feature-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  transition: box-shadow var(--t), transform var(--t);
}

.feature-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.feature-num {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 1rem;
}

.feature-card h3 {
  margin-bottom: 0.65rem;
  font-size: 1.1rem;
}

.feature-card p {
  font-size: 0.9rem;
  line-height: 1.75;
  margin: 0;
}

/* ==================================================
   About
================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

@media (max-width: 800px) {
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
}

.about-visual {
  aspect-ratio: 4 / 3;
  background: var(--paper-dim);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  overflow: hidden;
}

.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-content .section-label { margin-bottom: 0.5rem; }
.about-content h2 { margin-bottom: 1.15rem; }
.about-content p { margin-bottom: 1rem; line-height: 1.85; }
.about-content .btn { margin-top: 1rem; }

/* ==================================================
   News list
================================================== */
.news-list {
  border-top: 1px solid var(--line);
}

.news-item {
  border-bottom: 1px solid var(--line);
}

.news-item a {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 1.25rem;
  align-items: baseline;
  padding: 1.25rem 0;
  transition: opacity var(--t);
}

.news-item a:hover { opacity: 0.65; }

.news-date {
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}

.news-title {
  font-size: 0.95rem;
  color: var(--ink);
  line-height: 1.55;
  font-weight: 500;
}

@media (max-width: 560px) {
  .news-item a {
    grid-template-columns: 1fr;
    gap: 0.35rem;
    padding: 1.1rem 0;
  }
}

.news-more {
  text-align: center;
  margin-top: 2rem;
}

/* ==================================================
   CTA banner
================================================== */
.cta-banner {
  background: var(--ink);
  color: var(--white);
  text-align: center;
  padding: 4.5rem 1.5rem;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 0.85rem;
}

.cta-banner p {
  color: rgba(255,255,255,0.55);
  max-width: 28em;
  margin: 0 auto 1.75rem;
  line-height: 1.75;
}

.cta-banner .btn--primary {
  background: var(--white);
  color: var(--ink);
  border-color: var(--white);
}

.cta-banner .btn--primary:hover {
  background: rgba(255,255,255,0.9);
}

/* ==================================================
   Breadcrumb
================================================== */
.crumb-wrap {
  background: #5069cc;
  border-bottom: 1px solid #000;
}

.crumb {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  font-size: 0.75rem;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}

.crumb a { color: #fff; }
.crumb a:hover { color: rgba(255,255,255,0.75); }
.crumb .sep { opacity: 0.45; color: #fff; }
.crumb .current { color: #fff; }

/* ==================================================
   Page content
================================================== */
.page-hero {
  background: var(--paper-dim);
  border-bottom: 1px solid var(--line);
  padding: 2.75rem 0 2.25rem;
  text-align: center;
  overflow: visible;
}

.page-hero .wrap {
  overflow: visible;
  box-sizing: border-box;
}

.page-hero h1 {
  margin: 0 auto 0.65rem;
  padding: 0 0.25rem;
  max-width: 100%;
  color: var(--ink);
  font-size: clamp(1.6rem, 5.5vw, 2.35rem);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.04em;
  word-break: keep-all;
  overflow-wrap: anywhere;
  white-space: normal;
  overflow: visible;
}

.page-hero p {
  max-width: 36em;
  margin: 0 auto;
  padding: 0 0.25rem;
  font-size: clamp(0.88rem, 3.2vw, 0.98rem);
  line-height: 1.8;
  color: var(--ink-soft);
  word-break: keep-all;
  overflow-wrap: anywhere;
  white-space: normal;
  overflow: visible;
}

@media (max-width: 640px) {
  .page-hero {
    padding: 2rem 0 1.75rem;
    text-align: center;
  }
  .page-hero h1 {
    font-size: clamp(1.45rem, 7vw, 1.85rem);
    line-height: 1.5;
  }
  .page-hero p {
    font-size: 0.9rem;
    line-height: 1.75;
  }
}

.page-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

.page-body--wide {
  max-width: var(--max);
}

.entry-content {
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--ink-soft);
}

.entry-content p { margin-bottom: 1.15rem; color: inherit; }
.entry-content h2 {
  margin: 2.25rem 0 0.85rem;
  font-size: 1.25rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--line);
}
.entry-content h3 { margin: 1.75rem 0 0.65rem; }
.entry-content ul, .entry-content ol {
  margin: 0 0 1.15rem 1.4rem;
  list-style: disc;
}
.entry-content li { margin-bottom: 0.35rem; }
.entry-content a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ==================================================
   Contact form
================================================== */
.contact-notice {
  padding: 1rem 1.15rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.contact-notice--success {
  background: #f0faf0;
  color: #1a5c1a;
  border-color: #c8e6c8;
}

.contact-notice--error {
  background: #fdf0f0;
  color: #8a1f1f;
  border-color: #f0c8c8;
}

.contact-form { margin-top: 0.5rem; }

.contact-form__row { margin-bottom: 1.25rem; }

.contact-form label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-bottom: 0.4rem;
  color: var(--ink-soft);
}

.contact-form .required {
  color: #c44;
  font-size: 0.75rem;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form input[type="url"],
.contact-form select,
.contact-form textarea {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 0.75rem 0.95rem;
  min-height: 2.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.95rem;
  line-height: 1.4;
  background: #fff;
  color: var(--ink);
  transition: border-color var(--t);
  -webkit-appearance: none;
  appearance: none;
}

.contact-form select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23333' d='M1.4 0L6 4.6 10.6 0 12 1.4 6 7.4 0 1.4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 12px 8px;
  padding-right: 2.25rem;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--ink);
}

.contact-form textarea {
  resize: vertical;
  min-height: 160px;
  line-height: 1.7;
}

.contact-form__hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.contact-form__row--check {
  margin-top: 0.5rem;
}

.contact-check {
  display: flex !important;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.85rem;
  cursor: pointer;
  color: var(--ink-soft);
}

.contact-check input[type="checkbox"] {
  width: auto;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.contact-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.contact-step--confirm[hidden],
.contact-step--input[hidden] {
  display: none !important;
}

.contact-confirm__title {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.contact-confirm__lead {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.contact-confirm__list {
  margin: 0 0 2rem;
  padding: 1.25rem 1.15rem;
  background: var(--paper-dim);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.contact-confirm__list dt {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.06em;
  margin-top: 1rem;
}

.contact-confirm__list dt:first-child { margin-top: 0; }

.contact-confirm__list dd {
  margin: 0.25rem 0 0;
  font-size: 0.95rem;
  color: var(--ink);
  white-space: pre-wrap;
  word-break: break-word;
  line-height: 1.7;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
}

.contact-confirm__list dd:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

@media (max-width: 768px) {
  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    font-size: 16px;
  }
}

/* ==================================================
   Sitemap
================================================== */
.sitemap-section {
  margin-bottom: 2.25rem;
}

.sitemap-section h2 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--line);
}

.sitemap-list li {
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--line-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: baseline;
}

.sitemap-list a:hover { opacity: 0.65; }

.sitemap-date {
  font-size: 0.75rem;
  color: var(--muted);
}

/* ==================================================
   Info table
================================================== */
.info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

.info-table th,
.info-table td {
  padding: 1rem 0;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
  vertical-align: top;
}

.info-table th {
  width: 28%;
  color: var(--muted);
  font-weight: 500;
}

.info-table td { color: var(--ink); }

@media (max-width: 560px) {
  .info-table th { width: 35%; }
}

/* ==================================================
   News archive / single
================================================== */
.archive-title {
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 2rem;
}

.news-archive-list {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
}

.single-news {
  max-width: 720px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

.single-news__date {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.single-news__title {
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}

/* ==================================================
   Pagination
================================================== */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.4rem;
  height: 2.4rem;
  font-size: 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  transition: all var(--t);
}

.pagination a:hover,
.pagination .current {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

/* ==================================================
   Empty / 404
================================================== */
.empty-state {
  text-align: center;
  padding: 5rem 1.5rem;
}

.empty-state h1 { margin-bottom: 0.75rem; }
.empty-state p { margin-bottom: 1.5rem; }

/* ==================================================
   Footer
================================================== */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  margin-top: 0;
  padding: 2.5rem 1.5rem;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  text-align: center;
}
.footer-brand {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #fff;
  margin: 0 0 1rem;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1.25rem;
  margin-bottom: 1.25rem;
}
.footer-links a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
}
.footer-links a:hover { color: #fff; }
.footer-copy {
  margin: 0;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
}

/* ==================================================
   Operated sites list
================================================== */
.sites-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sites-list__item {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}
.sites-list__name {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}
.sites-list__name:hover { opacity: 0.7; }
.sites-list__desc {
  margin: 0.4rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}
.sites-list__url {
  margin: 0.25rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
  word-break: break-all;
}
.page-hero .sitemap-updated {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: var(--muted);
}

/* News source title underline in content */
.entry-content a.news-source-title {
  text-decoration: none;
  color: var(--ink);
}
.entry-content a.news-source-title u {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.entry-content a.news-source-title:hover {
  opacity: 0.7;
}

/* Related news on single */
.news-related {
  margin-top: 3rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}
.news-related__heading {
  font-size: 1rem;
  margin-bottom: 1.25rem;
  letter-spacing: 0.04em;
}
.news-related__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.news-related__item {
  border-bottom: 1px solid var(--line-soft);
}
.news-related__item a {
  display: block;
  padding: 1rem 0;
  text-decoration: none;
  color: inherit;
  transition: opacity var(--t);
}
.news-related__item a:hover { opacity: 0.65; }
.news-related__date {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.25rem;
  letter-spacing: 0.02em;
}
.news-related__title {
  display: block;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.5;
}

/* Tighten space above footer */
.site-main {
  margin-bottom: 0;
  padding-bottom: 0;
}
.site-main > .section:last-child,
.site-main > .section--dim:last-child {
  padding-bottom: 2rem;
}
.news-archive-list {
  padding-bottom: 2rem !important;
}
.single-news {
  padding-bottom: 2rem;
}


/* ==================================================
   Front minimal — simple scroll
================================================== */
body.front-minimal {
  margin: 0;
  background: linear-gradient(180deg, #5069cc 0%, #FFFFFF 100%);
  background-attachment: fixed;
  color: #0f0f0f;
  overflow-x: hidden;
}
body.front-minimal .site-header,
body.front-minimal .crumb-wrap {
  display: none !important;
}

.fm-stage { position: relative; width: 100%; }

/* Loading screen — slow fade */
.fm-loader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #5069cc;
  transition: opacity 1.4s ease, visibility 1.4s ease;
}
.fm-loader.is-done {
  opacity: 0;
  visibility: hidden;
}
.fm-loader.is-gone {
  display: none;
}
.fm-loader__inner {
  text-align: center;
}
.fm-loader__mark {
  display: block;
  font-family: var(--font-display), system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.35em;
  text-indent: 0.35em;
  color: #FFFFFF;
  margin-bottom: 1.25rem;
  animation: fmLoaderPulse 2.2s ease-in-out infinite;
}
.fm-loader__bar {
  display: block;
  width: 72px;
  height: 1px;
  margin: 0 auto;
  background: #FFFFFF;
  transform-origin: left center;
  animation: fmLoaderBar 2.2s ease-in-out infinite;
}
@keyframes fmLoaderPulse {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}
@keyframes fmLoaderBar {
  0% { transform: scaleX(0.15); opacity: 0.4; }
  50% { transform: scaleX(1); opacity: 1; }
  100% { transform: scaleX(0.15); opacity: 0.4; }
}

/* Large center ANOINE (after load / back to top) — independent from header */
.fm-brand {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  overflow: hidden;
background: #5069cc;
}
.fm-brand__text {
  font-family: var(--font-display), system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(2.75rem, 14vw, 7.5rem);
  letter-spacing: 0.28em;
  text-indent: 0.28em;
  white-space: nowrap;
  color: #FFFFFF;
  line-height: 1;
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 1.2s ease, transform 1.2s ease;
}
.fm-brand__text.is-large-in {
  opacity: 1;
  transform: scale(1);
}
.fm-brand__text.is-large-out {
  opacity: 0;
  transform: scale(1.02);
}
.fm-brand.is-hidden {
  visibility: hidden;
  pointer-events: none;
  background: transparent;
}
.fm-brand.is-hidden .fm-brand__text {
  opacity: 0;
}

/* Tagline + BLOG / ROOM under large ANOINE */
.fm-brand {
  flex-direction: column;
  gap: 1.25rem;
}
.fm-brand__tagline {
  margin: 0;
  max-width: 18em;
  font-size: clamp(0.72rem, 2.2vw, 0.88rem);
  font-weight: 400;
  letter-spacing: 0.12em;
  line-height: 1.9;
  color: #FFFFFF;
  text-align: center;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 1.2s ease 0.25s, transform 1.2s ease 0.25s;
}
.fm-brand__tagline--label {
  max-width: none;
  font-size: clamp(0.7rem, 2vw, 0.82rem);
  font-weight: 600;
  letter-spacing: 0.32em;
  text-indent: 0.32em;
  line-height: 1.4;
}
.fm-brand__text.is-large-in ~ .fm-brand__tagline,
.fm-brand:not(.is-hidden) .fm-brand__tagline.is-in {
  opacity: 0.72;
  transform: translateY(0);
}
.fm-brand.is-hidden .fm-brand__tagline {
  opacity: 0;
}
.fm-brand__subs {
  display: flex;
  gap: 2rem;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 1.2s ease 0.45s, transform 1.2s ease 0.45s;
  pointer-events: auto;
}
.fm-brand__subs.is-in {
  opacity: 1;
  transform: translateY(0);
}
.fm-brand.is-hidden .fm-brand__subs {
  opacity: 0;
  pointer-events: none;
}
.fm-brand__sub {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-indent: 0.28em;
  color: #0f0f0f;
  text-decoration: none;
  opacity: 0.55;
  transition: opacity 0.35s ease;
}
.fm-brand__sub:hover {
  opacity: 1;
}

/* Scroll header — fixed to viewport for every section */
.fm-topbar {
  position: fixed;
  top: var(--frame-w);
  left: var(--frame-w);
  right: var(--frame-w);
  width: auto;
  z-index: 100;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #5069cc;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-100%);
  transition:
    opacity 0.85s ease,
    visibility 0.85s ease,
    transform 0.85s ease,
    background 0.6s ease;
  /* Keep fixed layer stable while scrolling sections */
  will-change: transform, opacity;
  backface-visibility: hidden;
}
.fm-topbar.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.fm-topbar__text {
  font-family: var(--font-display), system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.22em;
  text-indent: 0.22em;
  white-space: nowrap;
  color: #fff;
  line-height: 1;
  opacity: 0;
  transition: opacity 0.85s ease, color 0.6s ease;
}
.fm-topbar.is-visible .fm-topbar__text {
  opacity: 1;
}
/* Section themes for fixed header */
/* Dark (black) page sections → white header, black text */
.fm-topbar.is-on-dark,
.fm-topbar.is-on-news {
  background: #fff;
}
.fm-topbar.is-on-dark .fm-topbar__text,
.fm-topbar.is-on-news .fm-topbar__text {
  color: #0f0f0f;
}
.fm-topbar.is-on-blog {
  background: #5069cc;
}
.fm-topbar.is-on-blog .fm-topbar__text {
  color: #fff;
}
.fm-topbar.is-on-room {
  background: #5069cc;
}
.fm-topbar.is-on-room .fm-topbar__text {
  color: #fff;
}

/* Space so section content is not hidden under fixed header when scrolled */
body.front-minimal.fm-scrolled .fm-section {
  scroll-margin-top: 56px;
}

/* Intro full viewport */
.fm-intro {
  min-height: 100vh;
  min-height: 100dvh;
}

.fm-main {
  position: relative;
  z-index: 10;
}

/* Independent sections — same width / height box as 私について */
.fm-section {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 5rem 1.5rem;
  text-align: center;
  border-top: 1px solid #efefef;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.fm-section:first-of-type,
.fm-about {
  border-top: 0;
}
/* Inner content: same max width on every section */
.fm-section > .fm-heading,
.fm-section > .fm-about__body,
.fm-section > .fm-news-list,
.fm-section > .fm-news-empty,
.fm-section > .fm-simple-list,
.fm-section > .fm-simple-empty,
.fm-section > .fm-pager,
.fm-section > .fm-contact__inner {
  width: 100%;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}
/* Alternating section backgrounds: white / blue (ABOUT → BLOG → NEWS → CONTACT) */
.fm-about {
  background: #fff;
  color: #0f0f0f;
  border-top-color: #efefef;
}
.fm-blog {
  background: #5069cc;
  color: #fff;
  border-top-color: #0f0f0f;
}
.fm-blog .fm-heading {
  color: #fff;
}
.fm-blog .fm-simple-date {
  color: rgba(255, 255, 255, 0.55);
}
.fm-blog .fm-simple-title {
  color: #fff;
}
.fm-blog .fm-simple-item {
  border-bottom-color: rgba(255, 255, 255, 0.18);
}
.fm-blog .fm-simple-empty {
  color: rgba(255, 255, 255, 0.65);
}
.fm-blog .fm-archive-link a {
  color: #fff;
  border-color: #fff;
  background: transparent;
}
.fm-blog .fm-archive-link a::before {
  background: #fff;
}
.fm-blog .fm-archive-link a:hover,
.fm-blog .fm-archive-link a:focus-visible {
  color: #0f0f0f;
}
.fm-blog .fm-pager__btn {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: rgba(255, 255, 255, 0.75);
}
.fm-blog .fm-pager__btn:hover:not(:disabled) {
  border-color: #fff;
  color: #fff;
}
.fm-blog .fm-pager__btn.is-active {
  background: #fff;
  border-color: #fff;
  color: #0f0f0f;
}
/* NEWS — light (alternates after BLOG) */
.fm-news {
  background: #fff;
  color: #0f0f0f;
  border-top-color: #efefef;
}
.fm-news .fm-heading {
  color: #0f0f0f;
}
.fm-news .fm-news-empty,
.fm-news .fm-simple-empty {
  color: #7a7268;
}
/* CONTACT — background image (no solid bg) */
.fm-contact {
  background-color: transparent;
  background-image: url("assets/images/contact-bg.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  color: #fff;
  border-top-color: transparent;
  position: relative;
}
.fm-contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20, 18, 30, 0.45);
  pointer-events: none;
  z-index: 0;
}
.fm-contact > * {
  position: relative;
  z-index: 1;
}
.fm-contact .fm-heading {
  color: #fff;
}
.fm-section .fm-heading {
  width: 100%;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

.fm-heading {
  font-size: clamp(1.75rem, 6vw, 2.6rem);
  font-weight: 600;
  letter-spacing: 0.14em;
  margin: 0 0 2.25rem;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 2s ease, transform 2s ease;
}
.fm-heading.is-in {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1.9s ease, transform 1.9s ease;
}
[data-reveal].is-in {
  opacity: 1;
  transform: translateY(0);
}

.fm-about__body p {
  font-size: 0.98rem;
  line-height: 2;
  color: #2a2a2a;
  margin: 0 0 1.75rem;
  text-align: left;
}
.fm-about__body p:last-child { margin-bottom: 0; }

/* News accordion — dark section */
.fm-news-list {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: left;
}
.fm-news-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}
.fm-news-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0.15rem;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: #fff;
}
.fm-news-toggle__title {
  position: relative;
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.5;
  flex: 0 1 auto;
  max-width: calc(100% - 1.5rem);
  width: fit-content;
  color: #fff;
}
.fm-news-toggle__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.05em;
  width: 0;
  height: 0.5px;
  background: currentColor;
  transition: width 0.35s ease;
  pointer-events: none;
}
.fm-news-toggle:hover .fm-news-toggle__title::after,
.fm-news-toggle:active .fm-news-toggle__title::after,
.fm-news-toggle.is-press .fm-news-toggle__title::after,
.fm-news-toggle:focus-visible .fm-news-toggle__title::after {
  width: 100%;
}
.fm-news-toggle:focus-visible {
  outline: none;
}
.fm-news-toggle__icon {
  margin-left: auto;
}
.fm-news-toggle__icon {
  flex-shrink: 0;
  width: 0.65rem;
  height: 0.65rem;
  margin-left: 0.25rem;
  border-right: 1.5px solid rgba(255, 255, 255, 0.7);
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.7);
  transform: rotate(45deg);
  transform-origin: center;
  transition: transform 0.7s ease;
}
.fm-news-item.is-open .fm-news-toggle__icon {
  transform: rotate(-135deg);
}
.fm-news-panel {
  padding: 0 0.15rem 1.25rem;
  animation: fmPanelIn 1.1s ease;
}
.fm-news-panel__date {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  margin: 0 0 0.65rem;
}
.fm-news-panel__body {
  font-size: 0.92rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.9);
}
.fm-news-panel__body,
.fm-news-panel__body p,
.fm-news-panel__body a {
  color: rgba(255, 255, 255, 0.9);
}
.fm-news-panel__body a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.fm-news-empty {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
}

/* BLOG / ROOM section layout (colors set above) */

/* Simple list (blog / room) */
.fm-simple-list {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: left;
  width: 100%;
  max-width: 40rem;
}
body.anoine-admin-page .fm-simple-list,
body.anoine-admin-page .fm-admin-list,
body.anoine-admin-page .fm-admin-system-list {
  max-width: 100% !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.fm-simple-item {
  border-bottom: 1px solid var(--line, #e8e8e8);
}
.fm-simple-link {
  position: relative;
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: 1rem;
  align-items: baseline;
  padding: 1.1rem 0.15rem;
  text-decoration: none;
  color: inherit;
  opacity: 1;
}
.fm-simple-link .fm-simple-title {
  position: relative;
  display: inline-block;
  max-width: 100%;
  width: fit-content;
  vertical-align: baseline;
}
.fm-simple-link .fm-simple-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.05em;
  width: 0;
  height: 0.5px;
  background: currentColor;
  transition: width 0.35s ease;
  pointer-events: none;
}
.fm-simple-link:hover .fm-simple-title::after,
.fm-simple-link:active .fm-simple-title::after,
.fm-simple-link.is-press .fm-simple-title::after,
.fm-simple-link:focus-visible .fm-simple-title::after {
  width: 100%;
}
.fm-simple-link:focus-visible {
  outline: none;
}
.fm-simple-date {
  font-size: 0.8rem;
  color: #6b6b6b;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}
.fm-simple-title {
  font-size: 0.95rem;
  font-weight: 500;
  color: #0f0f0f;
  line-height: 1.5;
}
.fm-simple-empty {
  color: #6b6b6b;
  font-size: 0.95rem;
}
.fm-archive-link {
  margin-top: 2rem;
  text-align: center;
}
.fm-archive-link a {
  position: relative;
  display: inline-block;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: #0f0f0f;
  text-decoration: none;
  border: 1px solid #0f0f0f;
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  background: #fff;
  overflow: hidden;
  z-index: 0;
  transition: color 0.45s ease;
}
.fm-archive-link a::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #5069cc;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: -1;
}
.fm-archive-link a:hover,
.fm-archive-link a:focus-visible {
  color: #fff;
  background: transparent;
}
.fm-archive-link a:hover::before,
.fm-archive-link a:focus-visible::before {
  transform: scaleX(1);
}

/* Pagination */
.fm-pager {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 2rem;
  width: 100%;
  max-width: 40rem;
}
.fm-pager__btn {
  min-width: 2.4rem;
  height: 2.4rem;
  padding: 0 0.75rem;
  border: 1px solid #e0e0e0;
  border-radius: 999px;
  background: #fff;
  color: #6b6b6b;
  font-size: 0.8rem;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.fm-pager__btn:hover:not(:disabled) {
  border-color: #0f0f0f;
  color: #0f0f0f;
}
.fm-pager__btn.is-active {
  background: #5069cc;
  border-color: #0f0f0f;
  color: #fff;
}
.fm-pager__btn:disabled {
  opacity: 0.35;
  cursor: default;
}

@media (max-width: 560px) {
  .fm-simple-link {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }
}

@keyframes fmPanelIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Contact on front */
.fm-contact__inner {
  text-align: left;
}
.fm-contact-form .contact-form__row {
  margin-bottom: 1rem;
}
.fm-contact-form label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
}
.fm-contact-form input,
.fm-contact-form select,
.fm-contact-form textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  font: inherit;
  background: #fff;
}
.fm-contact-form .contact-form__actions {
  margin-top: 1.25rem;
  text-align: center;
}

/* Footer — only footer area, not full screen */
.fm-footer {
  background: #5069cc;
  color: #fff;
  padding: 2.25rem 1.5rem;
  text-align: center;
  margin-top: 2rem;
}
.fm-footer__copy {
  margin: 0;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.85);
}

@media (max-width: 640px) {
  .fm-brand__text {
    font-size: clamp(2.4rem, 12.5vw, 3.4rem);
    letter-spacing: 0.18em;
    text-indent: 0.18em;
  }
  .fm-topbar__text {
    font-size: 0.85rem;
  }
  .fm-section {
    padding: 3.5rem 1.25rem;
    min-height: 100vh;
    min-height: 100dvh;
  }
  .fm-about__body p {
    font-size: 0.92rem;
  }
}


/* ==================================================
   Archive list (BLOG / ROOM) — top-page style
================================================== */
.archive-main {
  flex: 1;
  background: #fff;
}
.archive-main--blog {
  background: #5069cc;
  color: #fff;
}
.archive-main--blog .page-hero {
  background: #5069cc;
  border-bottom-color: rgba(255,255,255,0.12);
}
.archive-main--blog .page-hero h1,
.archive-main--blog .page-hero p {
  color: #fff;
}
.archive-main--blog .page-hero p {
  color: rgba(255,255,255,0.65);
}
.archive-main--blog .fm-simple-date {
  color: rgba(255,255,255,0.55);
}
.archive-main--blog .fm-simple-title {
  color: #fff;
}
.archive-main--blog .fm-simple-item {
  border-bottom-color: rgba(255,255,255,0.18);
}
.archive-main--blog .fm-simple-empty {
  color: rgba(255,255,255,0.65);
}
.archive-main--blog .fm-pager__btn {
  background: transparent;
  border-color: rgba(255,255,255,0.35);
  color: rgba(255,255,255,0.75);
}
.archive-main--blog .fm-pager__btn:hover:not(:disabled) {
  border-color: #fff;
  color: #fff;
}
.archive-main--blog .fm-pager__btn.is-active {
  background: #fff;
  border-color: #fff;
  color: #0f0f0f;
}
.archive-main--room {
  background: #fff;
}
.archive-body {
  max-width: 40rem;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}
.archive-simple-list {
  max-width: 100%;
}
.page-hero--archive {
  text-align: center;
}

/* Archive list pages use front-minimal (same as top); site-header hidden via .front-minimal */

/* ==================================================
   Single BLOG / ROOM — fixed header, black / white
================================================== */
body.entry-dark-page {
  background: #5069cc;
  color: #fff;
}
body.entry-dark-page .site-header {
  position: fixed;
  top: var(--frame-w);
  left: var(--frame-w);
  right: var(--frame-w);
  width: auto;
  background: #5069cc;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
body.entry-dark-page .site-brand__name,
body.entry-dark-page .site-brand a {
  color: #fff;
}
body.entry-dark-page .site-brand__sub {
  color: rgba(255,255,255,0.55);
}
body.entry-dark-page .main-nav a {
  color: rgba(255,255,255,0.75);
}
body.entry-dark-page .main-nav a:hover,
body.entry-dark-page .main-nav .current-menu-item a {
  color: #fff;
}
body.entry-dark-page .main-nav a::after {
  background: #fff;
}
body.entry-dark-page .menu-toggle span {
  background: #fff;
}
body.entry-dark-page .site-main {
  padding-top: var(--header-h);
}
body.entry-dark-page .crumb-wrap {
  background: #5069cc;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
body.entry-dark-page .crumb,
body.entry-dark-page .crumb a,
body.entry-dark-page .crumb .sep,
body.entry-dark-page .crumb .current {
  color: rgba(255,255,255,0.75);
}
body.entry-dark-page .crumb a:hover {
  color: #fff;
}
body.entry-dark-page .site-footer {
  background: #5069cc;
}

.entry-dark {
  background: #5069cc;
  color: #fff;
  min-height: 60vh;
}
.entry-dark__article {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}
.entry-dark__thumb {
  margin: 0 -1.5rem 2rem;
  width: calc(100% + 3rem);
  max-height: 70vh;
  overflow: hidden;
  background: #5069cc;
}
@media (min-width: 800px) {
  .entry-dark__thumb {
    margin: 0 0 2.5rem;
    width: 100%;
    border-radius: 4px;
  }
}
.entry-dark__img {
  width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: cover;
  display: block;
}
.entry-dark__header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.entry-dark__date {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 0.75rem;
}
.entry-dark__title {
  color: #fff;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.04em;
}
.entry-dark__body {
  color: rgba(255,255,255,0.88);
  font-size: 0.98rem;
  line-height: 1.95;
}
.entry-dark__body p,
.entry-dark__body li {
  color: rgba(255,255,255,0.88);
}
.entry-dark__body h2,
.entry-dark__body h3 {
  color: #fff;
  border-bottom-color: rgba(255,255,255,0.2);
}
.entry-dark__body a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.entry-dark__body img {
  border-radius: 4px;
}
.entry-dark__back {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.entry-dark__btn {
  color: #fff !important;
  border-color: rgba(255,255,255,0.45) !important;
}
.entry-dark__btn:hover {
  background: #fff !important;
  color: #0f0f0f !important;
  border-color: #fff !important;
}

/* Mobile nav on dark entry */
@media (max-width: 800px) {
  body.entry-dark-page .main-nav {
    background: #5069cc;
    border-top-color: rgba(255,255,255,0.12);
  }
  body.entry-dark-page .main-nav .menu-item {
    border-bottom-color: rgba(255,255,255,0.1);
  }
  body.archive-blog-page .main-nav {
    background: #fff;
  }
}


/* Archive list section — transparent so seasonal bg shows */
.fm-list-section {
  background: transparent !important;
  color: #0f0f0f !important;
  border-top: 0 !important;
}
.fm-list-section .fm-heading {
  color: #0f0f0f !important;
}
.fm-list-section .fm-simple-date {
  color: #6b6b6b !important;
}
.fm-list-section .fm-simple-title {
  color: #0f0f0f !important;
}
.fm-list-section .fm-simple-item {
  border-bottom-color: #e8e8e8 !important;
}
.fm-list-section .fm-simple-empty {
  color: #6b6b6b !important;
}
.fm-list-section .fm-pager__btn {
  background: #fff !important;
  border-color: #e0e0e0 !important;
  color: #6b6b6b !important;
}
.fm-list-section .fm-pager__btn:hover:not(:disabled) {
  border-color: #0f0f0f !important;
  color: #0f0f0f !important;
}
.fm-list-section .fm-pager__btn.is-active {
  background: #5069cc !important;
  border-color: #0f0f0f !important;
  color: #fff !important;
}


.fm-back-home {
  text-align: center;
  /* トップに戻るバーと被らないよう上方向・高さを確保 */
  padding: 3.25rem 1.5rem 4rem;
  margin: 0 0 0.5rem;
  min-height: 7.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  position: relative;
  z-index: 2;
}
body.archive-news-page .fm-back-home,
body.archive-blog-page .fm-back-home,
body.archive-room-page .fm-back-home,
body.error-status-page .fm-back-home {
  padding: 3.5rem 1.5rem 4.5rem;
  min-height: 8rem;
  margin-bottom: 0;
}
/* 表示時のふわっとアニメ（data-reveal） */
.fm-back-home[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.85s ease, transform 0.85s ease;
}
.fm-back-home[data-reveal].is-in {
  opacity: 1;
  transform: translateY(0);
}
.fm-back-home a {
  /* hover fill only — no page-enter animation */
}
.fm-back-home a {
  position: relative;
  display: inline-block;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: #0f0f0f;
  text-decoration: none;
  border: 1px solid #0f0f0f;
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  background: #fff;
  overflow: hidden;
  z-index: 0;
  transition: color 0.45s ease;
}
.fm-back-home a::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #5069cc;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: -1;
}
.fm-back-home a:hover,
.fm-back-home a:focus-visible {
  color: #fff;
  background: transparent;
}
.fm-back-home a:hover::before,
.fm-back-home a:focus-visible::before {
  transform: scaleX(1);
}

/* ==================================================
   Single entry (BLOG / ROOM) — same feel as archive list band
================================================== */
body.entry-single-page {
  margin: 0;
  background: #fff;
  color: #0f0f0f;
  overflow-x: hidden;
}
body.entry-single-page .site-header,
body.entry-single-page .crumb-wrap {
  display: none !important;
}

/* Article sits in the same white list band as archive */
body.entry-single-page .entry-single-section {
  min-height: auto;
  justify-content: flex-start;
  padding-top: 4.5rem;
  padding-bottom: 3.5rem;
}
body.entry-single-page .entry-single-section > .entry-list-head,
body.entry-single-page .entry-single-section > .entry-list-thumb,
body.entry-single-page .entry-single-section > .entry-list-body,
body.entry-single-page .entry-single-section > .fm-back-home {
  width: 100%;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
  text-align: left;
}

/* Head: date + title like list row, expanded */
body.entry-single-page .entry-list-head {
  margin: 0 0 2rem;
  padding: 0 0 1.35rem;
  border-bottom: 1px solid #e8e8e8;
}
body.entry-single-page .entry-list-date {
  display: block;
  margin: 0 0 0.65rem;
  font-size: 0.8rem;
  color: #6b6b6b;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}
body.entry-single-page .entry-list-title {
  margin: 0;
  font-size: clamp(1.25rem, 3.5vw, 1.65rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.55;
  color: #0f0f0f;
  text-align: left;
  opacity: 1;
  transform: none;
}

/* Thumbnail — full width of list column */
body.entry-single-page .entry-list-thumb {
  margin: 0 0 2rem;
  overflow: hidden;
  background: #f2f2f2;
  aspect-ratio: 16 / 9;
}
body.entry-single-page .entry-list-thumb__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Body — same column width as list titles */
body.entry-single-page .entry-list-body {
  font-size: 0.95rem;
  line-height: 1.95;
  color: #2a2a2a;
  text-align: left;
}
body.entry-single-page .entry-list-body p {
  margin: 0 0 1.35rem;
  color: #2a2a2a;
  font-size: 0.95rem;
  line-height: 1.95;
}
body.entry-single-page .entry-list-body p:last-child {
  margin-bottom: 0;
}
body.entry-single-page .entry-list-body h2,
body.entry-single-page .entry-list-body h3 {
  margin: 2rem 0 0.75rem;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #0f0f0f;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid #e8e8e8;
}
body.entry-single-page .entry-list-body a {
  color: #0f0f0f;
  text-decoration: underline;
  text-underline-offset: 3px;
}
body.entry-single-page .entry-list-body a:hover {
  opacity: 0.55;
}
body.entry-single-page .entry-list-body img {
  margin: 1.25rem 0;
  max-width: 100%;
  height: auto;
}
body.entry-single-page .entry-list-body ul,
body.entry-single-page .entry-list-body ol {
  margin: 0 0 1.35rem 1.35rem;
  list-style: disc;
}
body.entry-single-page .entry-list-body li {
  margin-bottom: 0.35rem;
  line-height: 1.8;
}
body.entry-single-page .entry-list-body blockquote {
  margin: 1.5rem 0;
  padding: 0.85rem 1.1rem;
  border-left: 2px solid #0f0f0f;
  background: #f7f7f7;
  color: #3a3a3a;
}

/* Back link already uses fm-archive-link / fm-back-home */
body.entry-single-page .entry-single-section > .fm-back-home {
  margin-top: 2.5rem;
  padding: 0;
  text-align: center;
  background: transparent;
}

@media (max-width: 640px) {
  body.entry-single-page .entry-single-section {
    padding-top: 3.25rem;
    padding-bottom: 2.75rem;
  }
  body.entry-single-page .entry-list-title {
    font-size: clamp(1.15rem, 5vw, 1.4rem);
  }
  body.entry-single-page .entry-list-body,
  body.entry-single-page .entry-list-body p {
    font-size: 0.92rem;
  }
}


/* ==================================================
   Contact — type panels & zip lookup
================================================== */
.contact-panel {
  margin-top: 1.25rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--line, #e8e8e8);
}
.contact-panel[hidden] {
  display: none !important;
}
.contact-panel:not([hidden]),
.contact-form__shared:not([hidden]) {
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.contact-panel.is-panel-prep,
.contact-form__shared.is-panel-prep {
  opacity: 0;
  transform: translateY(16px);
}
.contact-panel.is-panel-in,
.contact-form__shared.is-panel-in {
  opacity: 1;
  transform: translateY(0);
}
.contact-panel.is-panel-out,
.contact-form__shared.is-panel-out {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.contact-panel__lead {
  font-size: 0.88rem;
  color: var(--muted, #6b6b6b);
  margin: 0 0 1.25rem;
  line-height: 1.7;
}
.contact-form__shared[hidden] {
  display: none !important;
}
.contact-form__hint {
  margin: 0.4rem 0 0;
  font-size: 0.78rem;
  color: var(--muted, #6b6b6b);
  line-height: 1.5;
}
.contact-zip-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}
.contact-zip-wrap input {
  flex: 1 1 10rem;
  min-width: 0;
  max-width: 12rem;
}
.contact-zip-btn {
  padding: 0.65rem 1.1rem;
  font-size: 0.8rem;
  white-space: nowrap;
}
.contact-privacy-link {
  display: inline-block;
  margin-top: 0.45rem;
  font-size: 0.8rem;
  color: var(--muted, #6b6b6b);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.contact-privacy-link:hover {
  color: var(--ink, #0f0f0f);
}
.fm-contact .contact-form {
  max-width: 100%;
}
.fm-contact .contact-confirm__list {
  background: #f7f7f7;
}

.contact-step--intro {
  text-align: center;
  padding: 0.5rem 0 0.25rem;
}
.contact-intro__text {
  font-size: 0.95rem;
  line-height: 1.95;
  color: #2a2a2a;
  margin: 0 0 1.75rem;
  text-align: left;
}
.contact-intro__actions {
  justify-content: center;
  margin-top: 0.5rem;
}
.contact-step--input[hidden],
.contact-step--intro[hidden] {
  display: none !important;
}

/* Contact FAQ */
.contact-faq {
  margin: 0 0 2.5rem;
  text-align: left;
}
.contact-faq__lead {
  font-size: 0.95rem;
  line-height: 1.9;
  color: #2a2a2a;
  margin: 0 0 1.5rem;
}
.contact-faq__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid #e8e8e8;
}
.contact-faq__item {
  border-bottom: 1px solid #e8e8e8;
}
.contact-faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0.15rem;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: #0f0f0f;
}
.contact-faq__q-text {
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.55;
  flex: 1;
}
.contact-faq__icon {
  flex-shrink: 0;
  width: 0.6rem;
  height: 0.6rem;
  border-right: 1.5px solid #6b6b6b;
  border-bottom: 1.5px solid #6b6b6b;
  transform: rotate(45deg);
  transition: transform 0.35s ease;
}
.contact-faq__item.is-open .contact-faq__icon {
  transform: rotate(-135deg);
}
.contact-faq__a {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.5s ease, opacity 0.45s ease;
  padding: 0 0.15rem;
}
.contact-faq__item.is-open .contact-faq__a {
  grid-template-rows: 1fr;
  opacity: 1;
  padding-bottom: 0;
}
.contact-faq__a-inner {
  overflow: hidden;
  min-height: 0;
}
.contact-faq__a-inner p,
.contact-faq__a p {
  margin: 0;
  padding: 0 0 1.15rem;
  font-size: 0.9rem;
  line-height: 1.85;
  color: #2a2a2a;
  transform: translateY(-6px);
  transition: transform 0.45s ease;
}
.contact-faq__item.is-open .contact-faq__a-inner p,
.contact-faq__item.is-open .contact-faq__a p {
  transform: translateY(0);
}
.fm-contact .contact-faq {
  max-width: 100%;
}

/* Contact start button — outline, fill from left on hover */
.btn--contact-start {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 2rem;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  border-radius: 999px;
  border: 1px solid #0f0f0f;
  background: #fff;
  color: #0f0f0f;
  overflow: hidden;
  z-index: 0;
  transition: color 0.45s ease;
}
.btn--contact-start::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #5069cc;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: -1;
}
.btn--contact-start:hover,
.btn--contact-start:focus-visible {
  color: #fff;
  border-color: #0f0f0f;
}
.btn--contact-start:hover::before,
.btn--contact-start:focus-visible::before {
  transform: scaleX(1);
}

/* Privacy policy scroll box in form */
.contact-form__row--policy {
  margin-bottom: 1.25rem;
}
.contact-policy__label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
  color: #2a2a2a;
}
.contact-policy-scroll {
  max-height: 22rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  background: #fff;
  padding: 1rem 1.1rem;
}
.contact-policy-scroll__inner {
  font-size: 0.82rem;
  line-height: 1.75;
  color: #3a3a3a;
  background: #fff;
}
.contact-policy-scroll__inner .privacy-updated {
  font-size: 0.78rem;
  color: #6b6b6b;
  margin-bottom: 0.85rem;
}
.contact-policy-scroll__inner p {
  margin: 0 0 0.75rem;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}
.contact-policy-scroll__inner h3 {
  margin: 1rem 0 0.4rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #0f0f0f;
  letter-spacing: 0.04em;
  border: 0;
  padding: 0;
}
.contact-policy-scroll__inner h3:first-child {
  margin-top: 0;
}
.contact-policy-scroll__more {
  margin: 1rem 0 0 !important;
  padding-top: 0.65rem;
  border-top: 1px solid #e8e8e8;
}
.contact-policy-scroll__more a {
  font-size: 0.8rem;
  color: #0f0f0f;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.contact-policy-scroll__more a:hover {
  opacity: 0.65;
}

.contact-back-wrap {
  margin: 0 0 1.25rem;
  text-align: left;
}
.contact-back-to-start {
  display: inline-block;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: #6b6b6b;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.25s ease, opacity 0.25s ease;
}
.contact-back-to-start:hover {
  color: #0f0f0f;
}
/* CONTACT section (dark bg): force white */
.fm-contact .contact-back-to-start,
.fm-contact .contact-back-wrap .contact-back-to-start {
  color: #fff !important;
}
.fm-contact .contact-back-to-start:hover,
.fm-contact .contact-back-wrap .contact-back-to-start:hover {
  color: #fff !important;
  opacity: 0.75;
}
.contact-faq[hidden] { display: none !important; }
.contact-faq:not([hidden]) {
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.contact-faq.is-faq-prep {
  opacity: 0;
  transform: translateY(10px);
}
.contact-faq.is-faq-in {
  opacity: 1;
  transform: translateY(0);
}
.contact-faq.is-faq-out {
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* ROOM product card on single */
.room-product {
  width: 100%;
  max-width: 40rem;
  margin: 0 auto 2rem;
  padding: 1.35rem 1.25rem;
  border: 1px solid #e8e8e8;
  background: #fff;
  text-align: left;
  box-sizing: border-box;
}
.room-product__title {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #0f0f0f;
  line-height: 1.5;
}
.room-product__meta {
  margin: 0;
  padding: 0;
}
.room-product__row {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 0.75rem;
  padding: 0.55rem 0;
  border-top: 1px solid #f0f0f0;
  align-items: baseline;
}
.room-product__row:first-child {
  border-top: 0;
  padding-top: 0;
}
.room-product__row dt {
  margin: 0;
  font-size: 0.78rem;
  color: #6b6b6b;
  letter-spacing: 0.06em;
}
.room-product__row dd {
  margin: 0;
  font-size: 0.92rem;
  color: #0f0f0f;
}
.room-product__star {
  color: #d0d0d0;
  letter-spacing: 0.05em;
}
.room-product__star.is-on {
  color: #0f0f0f;
}
.room-product__rating-num {
  margin-left: 0.4rem;
  font-size: 0.8rem;
  color: #6b6b6b;
}
.room-product__link {
  text-decoration: underline;
  text-underline-offset: 3px;
  color: #0f0f0f;
}
.room-product__link:hover {
  opacity: 0.55;
}
.room-product__comment {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #f0f0f0;
}
.room-product__comment-label {
  margin: 0 0 0.4rem;
  font-size: 0.78rem;
  color: #6b6b6b;
  letter-spacing: 0.06em;
}
.room-product__comment-body {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.8;
  color: #2a2a2a;
}
@media (max-width: 560px) {
  .room-product__row {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
}

/* Contact inline field errors */
.contact-field-error {
  margin: 0.4rem 0 0;
  font-size: 0.8rem;
  line-height: 1.5;
  color: #c62828;
}
.contact-form input.is-invalid,
.contact-form select.is-invalid,
.contact-form textarea.is-invalid {
  border-color: #c62828 !important;
}
.contact-form__row--check .contact-field-error {
  margin-top: 0.5rem;
}

/* News band — light section (alternating) */
.fm-news .fm-simple-date {
  color: #7a7268;
}
.fm-news .fm-simple-title {
  color: #0f0f0f;
}
.fm-news .fm-simple-item {
  border-bottom-color: #efefef;
}
.fm-news .fm-simple-empty {
  color: #7a7268;
}
.fm-news .fm-archive-link a {
  color: #0f0f0f;
  border-color: #0f0f0f;
  background: transparent;
}
.fm-news .fm-archive-link a::before {
  background: #0f0f0f;
}
.fm-news .fm-archive-link a:hover,
.fm-news .fm-archive-link a:focus-visible {
  color: #fff;
  background: #0f0f0f;
  border-color: #0f0f0f;
}
.fm-news .fm-pager__btn {
  background: transparent;
  border-color: rgba(15, 15, 15, 0.25);
  color: #0f0f0f;
}
.fm-news .fm-pager__btn:hover:not(:disabled) {
  border-color: #0f0f0f;
  color: #0f0f0f;
}
.fm-news .fm-pager__btn.is-active {
  background: #0f0f0f;
  border-color: #0f0f0f;
  color: #fff;
}

/* CONTACT on blue — form contrast */
.fm-contact .contact-form label,
.fm-contact .fm-contact-form label,
.fm-contact .contact-check span {
  color: #fff;
}
.fm-contact .contact-form input,
.fm-contact .contact-form select,
.fm-contact .contact-form textarea,
.fm-contact .fm-contact-form input,
.fm-contact .fm-contact-form select,
.fm-contact .fm-contact-form textarea {
  background: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  color: #0f0f0f;
}
.fm-contact .contact-notice--success,
.fm-contact .contact-notice--error {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}
.fm-contact .btn--primary,
.fm-contact .fm-admin-submit-btn,
.fm-contact button[type="submit"] {
  background: #fff;
  color: #5069cc;
  border-color: #fff;
}
.fm-contact .btn--outline {
  color: #fff;
  border-color: #fff;
}

/* ==================================================
   Back to top — full width above footer
================================================== */
.back-to-top-bar {
  width: 100%;
  background: #fff;
  border-top: 1px solid #0f0f0f;
  border-bottom: 0;
  border-left: 0;
  border-right: 0;
  position: relative;
  z-index: 2;
  /* 出現アニメなし・枠線固定。ホバーはボタン側のみ */
  transition: none !important;
  animation: none !important;
  transform: none !important;
  opacity: 1 !important;
  box-shadow: none !important;
}
.back-to-top-bar::before,
.back-to-top-bar::after {
  content: none !important;
  display: none !important;
  animation: none !important;
  transition: none !important;
}
body.archive-news-page .back-to-top-bar,
body.archive-blog-page .back-to-top-bar,
body.archive-room-page .back-to-top-bar,
body.error-status-page .back-to-top-bar,
body.front-minimal .back-to-top-bar {
  border-top: 1px solid #0f0f0f !important;
  transition: none !important;
  animation: none !important;
}
button.back-to-top-bar__btn {
  font: inherit;
  appearance: none;
  -webkit-appearance: none;
}
.back-to-top-bar__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 1.35rem 1.5rem;
  background: #fff;
  border: 0 !important;
  border-top: 0 !important;
  color: #0f0f0f;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.3s ease, background-color 0.3s ease;
  box-sizing: border-box;
  box-shadow: none !important;
  outline: none;
}
@media (hover: hover) and (pointer: fine) {
  .back-to-top-bar__btn:hover {
    color: #0f0f0f;
    background: #e8e8e8;
  }
}
.back-to-top-bar__btn:focus-visible {
  color: #0f0f0f;
  background: #e8e8e8;
}
.back-to-top-bar__btn:focus:not(:focus-visible) {
  background: #fff;
  outline: none;
}
.back-to-top-bar__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  opacity: 0.9;
}
.back-to-top-bar__label {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-indent: 0.14em;
}
/* Tighten footer top when back-to-top is present */
.back-to-top-bar + .site-footer,
.back-to-top-bar + .fm-footer {
  margin-top: 0;
  border-top: 0;
}
.fm-footer {
  margin-top: 0;
}

/* ==================================================
   Error pages (list-style + large status code)
================================================== */
body.error-status-page .fm-brand--error .fm-brand__text {
  font-size: clamp(4rem, 22vw, 9rem);
  letter-spacing: 0.08em;
  text-indent: 0.08em;
  font-variant-numeric: tabular-nums;
}
body.error-status-page .fm-brand--error .fm-brand__tagline {
  margin-top: 1rem;
  font-size: clamp(0.8rem, 2.8vw, 1rem);
  letter-spacing: 0.14em;
  text-indent: 0.14em;
  color: #6b6b6b;
  font-weight: 500;
}
body.error-status-page .fm-brand.is-header .fm-brand__text,
body.error-status-page .fm-brand.is-header .fm-brand__tagline {
  /* topbar handles compact label */
}
body.error-status-page .fm-error-desc {
  max-width: 40rem;
  margin: -0.5rem auto 2rem;
  padding: 0;
  font-size: 0.95rem;
  line-height: 1.85;
  color: #6b6b6b;
  text-align: left;
}
body.error-status-page .fm-error-links .fm-simple-link {
  display: block;
  padding: 1.1rem 0;
}
body.error-status-page .fm-error-links .fm-simple-title {
  display: block;
  width: 100%;
}
@media (max-width: 640px) {
  body.error-status-page .fm-brand--error .fm-brand__text {
    font-size: clamp(3.2rem, 20vw, 5rem);
  }
}

body.error-status-page .fm-footer {
  display: block;
  visibility: visible;
  opacity: 1;
}

/* Contact step soft transitions */
.contact-step--intro,
.contact-step--input,
.contact-step--confirm {
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.contact-step--intro.is-step-prep,
.contact-step--input.is-step-prep,
.contact-step--confirm.is-step-prep {
  opacity: 0;
  transform: translateY(12px);
}
.contact-step--intro.is-step-in,
.contact-step--input.is-step-in,
.contact-step--confirm.is-step-in {
  opacity: 1;
  transform: translateY(0);
}
.contact-step--intro.is-step-out,
.contact-step--input.is-step-out,
.contact-step--confirm.is-step-out {
  opacity: 0;
  transform: translateY(-10px);
}

/* List pages: no smooth page scroll (back-to-top etc.) */
html:has(body.archive-news-page),
html:has(body.archive-blog-page),
html:has(body.archive-room-page),
html:has(body.error-status-page),
body.archive-news-page,
body.archive-blog-page,
body.archive-room-page,
body.error-status-page {
  scroll-behavior: auto !important;
}
/* list back-to-top uses animated scroll; header transitions remain visible */

/* ==================================================
   ANOINE STORY / NOTE (timeline-like + popup)
================================================== */
.fm-story {
  background: #fff;
  color: #0f0f0f;
  border-top-color: #efefef;
}
.fm-story .fm-heading {
  color: #0f0f0f;
}
.fm-story .fm-simple-empty {
  color: #6b6b6b;
}
.fm-story-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.35rem;
  max-width: 48rem;
  margin: 0 auto;
  text-align: left;
}
@media (max-width: 640px) {
  .fm-story-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.3rem;
  }
}
.fm-story-card.is-story-hidden {
  display: none !important;
}
.fm-story-card.is-story-reveal {
  animation: fmStoryReveal 0.7s ease forwards;
}
@keyframes fmStoryReveal {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.fm-story-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 1.75rem;
}
.fm-story .fm-story-more-btn {
  min-width: 12rem;
  color: #0f0f0f;
  border-color: #0f0f0f;
  background: transparent;
}
.fm-story .fm-story-more-btn:hover,
.fm-story .fm-story-more-btn:focus-visible {
  color: #fff;
  background: #5069cc;
}
.fm-story-card {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #5069cc;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}
.fm-story-card__media {
  display: block;
  width: 100%;
  height: 100%;
  background: #5069cc;
  position: relative;
}
.fm-story-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}
.fm-story-card:hover .fm-story-card__media img {
  transform: scale(1.04);
}
.fm-story-card__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: #5069cc;
}
.fm-story-card__placeholder img {
  width: 55%;
  height: 55%;
  object-fit: contain;
  display: block;
}
/* STORY icon on dark section — white border */
.fm-story-card__icon {
  position: absolute;
  top: 0.45rem;
  left: 0.45rem;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  overflow: hidden;
  border: 1.5px solid #fff;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.2);
  background: #5069cc;
  z-index: 2;
}
.fm-story-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.fm-story-card__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.5rem 0.5rem 0.45rem;
  font-size: 0.72rem;
  color: #fff;
  background: linear-gradient(transparent, rgba(0,0,0,0.55));
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fm-note {
  background: #5069cc;
  color: #fff;
  border-top-color: #0f0f0f;
}
.fm-note .fm-heading {
  color: #fff;
}
.fm-note .fm-simple-empty {
  color: rgba(255, 255, 255, 0.65);
}
.fm-note-feed {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  width: 100%;
  max-width: 40rem;
  text-align: left;
  box-sizing: border-box;
}
.fm-note-feed.is-scrollable {
  max-height: 28rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding-right: 0.35rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.35) transparent;
}
.fm-note-feed.is-scrollable::-webkit-scrollbar {
  width: 6px;
}
.fm-note-feed.is-scrollable::-webkit-scrollbar-track {
  background: transparent;
}
.fm-note-feed.is-scrollable::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.35);
  border-radius: 999px;
}
.fm-note-feed > li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}
.fm-note-card {
  display: block;
  width: 100%;
  padding: 1.15rem 0.25rem 1.25rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
  transition: background 0.25s ease;
}
.fm-note-card:hover {
  background: rgba(255, 255, 255, 0.06);
}
.fm-note-card__head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.55rem;
}
.fm-note-card__avatar {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  background: #5069cc;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.fm-note-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.fm-note-card__name {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
}
.fm-note-card__handle {
  display: block;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 0.1rem;
}
.fm-note-card__text {
  display: block;
  font-size: 0.92rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  white-space: pre-wrap;
}
.fm-note-card__thumb {
  display: block;
  margin-top: 0.75rem;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.fm-note-card__thumb img {
  display: block;
  width: 100%;
  max-height: 220px;
  object-fit: cover;
}

/* Popup */
body.fm-popup-open {
  overflow: hidden;
}
.fm-popup {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}
.fm-popup[hidden] {
  display: none !important;
}
.fm-popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  animation: fmPopupBg 0.35s ease;
}
.fm-popup__dialog {
  position: relative;
  z-index: 1;
  width: min(32rem, 100%);
  max-height: min(90vh, 920px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 14px;
  padding: 0;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  animation: fmPopupIn 0.4s ease;
}
.fm-popup__close {
  position: absolute;
  top: 0.55rem;
  right: 0.65rem;
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  background: rgba(255,255,255,0.85);
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: #333;
  z-index: 5;
}
.fm-popup__label {
  margin: 1.1rem 1.25rem 0.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: #6b6b6b;
  font-weight: 600;
}
.fm-popup__user {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.15rem 0.75rem;
  border-bottom: 1px solid #efefef;
  flex-shrink: 0;
}
.fm-popup__avatar {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: #f2f2f2;
  border: 1px solid #e8e8e8;
}
.fm-popup__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.fm-popup__user-name {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: #0f0f0f;
  line-height: 1.2;
}
.fm-popup__user-handle {
  display: block;
  font-size: 0.78rem;
  color: #6b6b6b;
  margin-top: 0.12rem;
}
.fm-popup__media {
  position: relative;
  margin: 0;
  background: #5069cc;
  flex-shrink: 0;
  width: 100%;
  overflow: hidden;
  /* natural aspect — not forced 1:1 (timeline unchanged) */
  aspect-ratio: auto;
}
.fm-popup__slider {
  position: relative;
  width: 100%;
}
.fm-popup__slide {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  visibility: hidden;
}
.fm-popup__slide.is-active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}
.fm-popup__media img,
.fm-popup__slide img,
.fm-popup__slide video {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(70vh, 720px);
  object-fit: contain;
  object-position: center center;
  background: #5069cc;
  margin: 0 auto;
}
/* No visible slider chrome (swipe / keys only) */
.fm-popup__nav,
.fm-popup__dots,
.fm-popup__dot {
  display: none !important;
}
.fm-popup__title {
  margin: 0.85rem 1.25rem 0.25rem;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.4;
  padding-right: 1.5rem;
  flex-shrink: 0;
}
.fm-popup__date {
  margin: 0 0 1rem;
  font-size: 0.8rem;
  color: #6b6b6b;
}
.fm-popup__body {
  font-size: 0.92rem;
  line-height: 1.75;
  color: #2a2a2a;
  padding: 0.9rem 1.25rem 1.35rem;
  overflow-y: auto;
  flex: 1 1 auto;
  min-height: 0;
  max-height: 12rem;
  white-space: pre-wrap;
  -webkit-overflow-scrolling: touch;
}
.fm-popup.is-story .fm-popup__body {
  max-height: 10.5rem;
}
.fm-popup.is-note .fm-popup__media,
.fm-popup.is-story .fm-popup__media {
  aspect-ratio: auto;
  width: 100%;
}
.fm-popup.is-note .fm-popup__media img,
.fm-popup.is-note .fm-popup__slide img,
.fm-popup.is-note .fm-popup__slide video,
.fm-popup.is-story .fm-popup__media img,
.fm-popup.is-story .fm-popup__slide img,
.fm-popup.is-story .fm-popup__slide video {
  width: 100%;
  height: auto;
  max-height: min(70vh, 720px);
  object-fit: contain;
  object-position: center center;
}
.fm-popup__slide-img.is-zoomable {
  cursor: zoom-in;
}
.fm-popup__expand {
  position: absolute;
  right: 0.65rem;
  bottom: 0.65rem;
  z-index: 5;
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  transition: background 0.2s ease, transform 0.2s ease;
}
.fm-popup__expand:hover,
.fm-popup__expand:focus-visible {
  background: rgba(0, 0, 0, 0.75);
  transform: scale(1.05);
  outline: none;
}
.fm-popup__expand svg {
  display: block;
}

/* Zoom: aligned to popup image position, soft fade */
.fm-zoom {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: block;
  padding: 0;
  box-sizing: border-box;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.fm-zoom.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.fm-zoom[hidden] {
  display: none !important;
}
.fm-zoom.is-open[hidden] {
  display: block !important;
}
.fm-zoom__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  margin: 0;
  background: rgba(0, 0, 0, 0.72);
  cursor: zoom-out;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.fm-zoom.is-open .fm-zoom__backdrop {
  opacity: 1;
}
.fm-zoom__close {
  position: fixed;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 2;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.35s ease 0.05s;
}
.fm-zoom.is-open .fm-zoom__close {
  opacity: 1;
}
.fm-zoom__inner {
  position: fixed;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin: 0;
  padding: 0;
  /* position/size set by JS to match popup image */
  opacity: 0;
  transition: opacity 0.35s ease;
}
.fm-zoom.is-open .fm-zoom__inner {
  opacity: 1;
}
.fm-zoom__img,
.fm-zoom__video {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center center !important;
  background: transparent !important;
  border-radius: 0;
  box-shadow: none;
  opacity: 1;
}
/* Hide native media player chrome on zoom */
.fm-zoom__video::-webkit-media-controls,
.fm-zoom__video::-webkit-media-controls-enclosure,
.fm-zoom__video::-webkit-media-controls-panel,
.fm-zoom__video::-webkit-media-controls-play-button,
.fm-zoom__video::-webkit-media-controls-start-playback-button {
  display: none !important;
  -webkit-appearance: none;
  opacity: 0;
  pointer-events: none;
}
.fm-zoom__video {
  pointer-events: none;
}
body.fm-zoom-open {
  overflow: hidden;
}
.fm-popup__body p {
  margin: 0 0 0.85rem;
}

/* Admin story thumbs */
.fm-admin-story-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.75rem;
}
.fm-admin-story-thumb {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.7rem;
  cursor: pointer;
}
.fm-admin-story-thumb img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #ddd;
}
.fm-admin-story-thumb__video,
.fm-note-card__thumb--video,
.fm-story-card__placeholder--video {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 6px;
  background: #5069cc;
  color: #fff;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.fm-note-card__thumb--video {
  width: 100%;
  height: 160px;
  border-radius: 12px;
  font-size: 0.85rem;
}
.fm-story-card__placeholder--video {
  width: 100%;
  height: 100%;
  border-radius: 0;
  font-size: 0.8rem;
}
.fm-admin-char-limit {
  font-weight: 400;
  color: #888;
  font-size: 0.85em;
}
.fm-admin-char-count {
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
  color: #888;
  text-align: right;
}



/* ==================================================
   NOTE single — Instagram-style detail
================================================== */
body.note-single-page .fm-loader {
  pointer-events: none;
}
body.note-single-page.is-loaded .fm-loader,
body.note-single-page .fm-loader.is-done {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}
/* STORY / NOTE single: reveal animations work like ABOUT */
body.story-single-page .fm-main,
body.note-single-page .fm-main {
  opacity: 1;
  visibility: visible;
}

/* loader enabled for NOTE / STORY single */
body.story-single-page .fm-loader,
body.note-single-page .fm-loader {
  display: flex;
}
body.story-single-page .fm-section.fm-detail-section,
body.note-single-page .fm-section.fm-detail-section {
  border: none !important;
  background: #fff;
  /* ABOUT と同じくセクションとしてスクロール表示 */
  min-height: 100vh;
  min-height: 100dvh;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 5rem 1.5rem;
}

body.note-single-page .fm-note-detail::before,
body.note-single-page .fm-note-detail::after,
body.note-single-page .ig-detail::before,
body.note-single-page .ig-detail::after,
body.note-single-page .ig-detail__head::before,
body.note-single-page .ig-detail__head::after,
body.note-single-page .ig-detail__media::before {
  display: none !important;
  content: none !important;
  border: none !important;
}
body.note-single-page .fm-main {
  background: #fff;
}
body.note-single-page hr,
body.note-single-page .ig-detail hr {
  display: none !important;
}
.ig-detail-empty {
  text-align: center;
  padding: 2rem;
  color: #000;
}
/* Brand + topbar behave like front (loader → large ANOINE → scroll header) */
body.story-single-page .fm-brand,
body.note-single-page .fm-brand {
  display: flex;
}
body.story-single-page .fm-brand__tagline--label,
body.note-single-page .fm-brand__tagline--label {
  font-size: 0.95rem;
  letter-spacing: 0.35em;
  font-weight: 500;
  margin-top: 0.75rem;
}
body.story-single-page .fm-topbar,
body.note-single-page .fm-topbar {
  /* default hidden until scroll; .is-visible shows it */
}
body.note-single-page .fm-main {
  padding-top: 3.5rem;
}
body.note-single-page .fm-stage.is-ready .fm-section {
  opacity: 1;
  transform: none;
}
a.fm-note-card {
  text-decoration: none;
  color: inherit;
  display: block;
  width: 100%;
  text-align: left;
  cursor: pointer;
}
.ig-detail {
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
  background: #fff;
  border: none;
  border-radius: 0;
  overflow: hidden;
  color: #000;
  box-sizing: border-box;
  box-shadow: none;
}
.ig-detail__head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem 0.75rem;
  border: none;
  border-bottom: none;
  box-shadow: none;
}
.ig-detail__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: #f0f0f0;
  border: 1px solid #eee;
}
.ig-detail__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ig-detail__meta,
.ig-detail__user {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
  gap: 0.1rem;
}
.ig-detail__name {
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.25;
  color: #000;
}
.ig-detail__handle {
  font-size: 0.82rem;
  color: #6b6b6b;
  line-height: 1.3;
}
.ig-detail__date {
  display: none;
}
.ig-detail__media {
  position: relative;
  background: #5069cc;
  width: 100%;
  border: none;
  box-shadow: none;
}
.ig-detail__track {
  position: relative;
  width: 100%;
}
.ig-detail__slide {
  display: none;
  width: 100%;
}
.ig-detail__slide.is-active {
  display: block;
}
.ig-detail__slide img,
.ig-detail__slide video {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(80vh, 900px);
  object-fit: contain;
  background: #5069cc;
  margin: 0 auto;
}
.ig-detail__count {
  position: absolute;
  right: 0.65rem;
  top: 0.65rem;
  margin: 0;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}
.ig-detail__caption {
  padding: 0.75rem 1rem 1rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #0f0f0f;
  border: none;
  text-align: left;
}
.ig-detail__caption p,
.ig-detail__caption-text {
  margin: 0;
  padding: 0;
  white-space: pre-line;
  text-align: left;
  font-weight: 400;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #0f0f0f;
}
.ig-detail__caption-text br {
  content: none;
}
.ig-detail__caption-name {
  display: none;
}
.ig-detail__close-wrap {
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
  text-align: center;
}
.ig-detail__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-decoration: none;
}
body.note-single-page .fm-note-detail {
  padding-top: 1.25rem;
  padding-bottom: 1rem;
  color: #000;
}
body.note-single-page .ig-detail__close {
  color: #000;
  border-color: #000;
  background: #fff;
  transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}
body.note-single-page .ig-detail__close:hover,
body.note-single-page .ig-detail__close:focus-visible {
  color: #fff;
  background: #5069cc;
  border-color: #000;
}
@media (max-width: 640px) {
  .ig-detail {
    max-width: 100%;
    width: 100%;
    border: none;
    border-radius: 0;
  }
  body.note-single-page .fm-note-detail {
    padding-left: 0;
    padding-right: 0;
  }
}

/* Admin media feed (always above caption) */
.fm-admin-media-feed {
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 1rem 1rem 1.1rem;
  background: #fafafa;
  margin-bottom: 0.25rem;
}
.fm-admin-media-feed__label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.fm-admin-media-feed__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0.75rem 0 0.5rem;
}
.fm-admin-media-upload-label {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff !important;
}
.fm-admin-media-upload-label.btn--primary {
  color: #fff !important;
}
body.anoine-admin-page .fm-admin-media-upload-label,
body.anoine-admin-page .fm-admin-media-upload-label.btn--primary {
  color: #fff !important;
}
.fm-admin-media-upload-label input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  font-size: 0;
}
.fm-admin-media-slide--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.55);
  font-size: 0.85rem;
  text-align: center;
  padding: 1rem;
  box-sizing: border-box;
}
.fm-admin-media-picker {
  margin-top: 0.35rem;
}
.fm-admin-media-add {
  width: 100%;
  max-width: 20rem;
}
.fm-admin-media-slider {
  margin-top: 1rem;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  overflow: hidden;
  background: #5069cc;
}
.fm-admin-media-slider__viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
}
.fm-admin-media-slider__track {
  display: flex;
  height: 100%;
  transition: transform 0.35s ease;
  will-change: transform;
}
.fm-admin-media-slide {
  flex-shrink: 0;
  height: 100%;
  position: relative;
}
.fm-admin-media-slide img,
.fm-admin-media-slide video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #5069cc;
}
.fm-admin-media-slider__count {
  margin: 0;
  padding: 0.5rem 0.75rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.75);
  text-align: center;
  background: #5069cc;
}
.fm-admin-media-list {
  margin-top: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.fm-admin-media-list__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.85rem;
  padding: 0.45rem 0.6rem;
  border: 1px solid #ececec;
  border-radius: 8px;
  background: #fafafa;
}
.fm-admin-media-list__item.is-removed {
  opacity: 0.45;
  text-decoration: line-through;
}
.fm-admin-media-list__tag {
  font-size: 0.7rem;
  color: #888;
  margin-left: 0.25rem;
}
.fm-admin-media-list__remove {
  border: 0;
  background: transparent;
  color: #c0392b;
  font-size: 0.8rem;
  cursor: pointer;
  text-decoration: underline;
}

@keyframes fmPopupBg {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes fmPopupIn {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ==================================================
   ANOINE ADMIN (mobile management)
================================================== */
body.anoine-admin-page .fm-admin-section {
  background: #fff;
  color: #0f0f0f;
  border-top: 0;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important; /* トップと同じ中央配置 */
  text-align: center;
}
body.anoine-admin-page .fm-admin-section > * {
  width: 100%;
  max-width: 40rem;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box;
}
body.anoine-admin-page .fm-admin-section > .fm-heading,
body.anoine-admin-page .fm-admin-section > .fm-admin-notice,
body.anoine-admin-page .fm-admin-section > .fm-admin-toolbar,
body.anoine-admin-page .fm-admin-section > .fm-admin-panel,
body.anoine-admin-page .fm-admin-section > .fm-admin-home-grid,
body.anoine-admin-page .fm-admin-section > .fm-admin-tabs,
body.anoine-admin-page .fm-admin-section > .fm-admin-card {
  width: 100%;
  max-width: 40rem;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box;
}
.fm-admin-notice {
  max-width: 40rem;
  width: 100%;
  margin: 0 auto 1.25rem;
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
  border: 1px solid #e8e8e8;
  text-align: left;
  box-sizing: border-box;
}
.fm-admin-notice.is-ok {
  border-color: #c8e6c9;
  background: #f1f8f2;
}
.fm-admin-notice.is-error {
  border-color: #f5c6cb;
  background: #fff5f5;
}
.fm-admin-toolbar {
  width: 100%;
  box-sizing: border-box;
  max-width: 40rem;
  margin: 0 auto 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}
.fm-admin-user { margin: 0; color: #6b6b6b; }
.fm-admin-link,
.fm-admin-link-btn {
  color: #0f0f0f;
  text-decoration: underline;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
}
.fm-admin-logout { display: inline; margin: 0; }
.fm-admin-tabs {
  width: 100%;
  box-sizing: border-box;
  max-width: 40rem;
  margin: 0 auto 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
}
.fm-admin-tab {
  display: inline-block;
  padding: 0.45rem 0.85rem;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  border: 1px solid #0f0f0f;
  border-radius: 999px;
  color: #0f0f0f;
  text-decoration: none;
  background: #fff;
}
.fm-admin-tab.is-active {
  background: #5069cc;
  color: #fff;
}
.fm-admin-card {
  max-width: 40rem;
  margin: 0 auto 1.75rem;
  padding: 1.35rem 1.15rem 1.5rem;
  border: 1px solid #e8e8e8;
  background: #fff;
  text-align: left;
}
.fm-admin-card__title {
  margin: 0 0 1.15rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.fm-admin-lead {
  margin: 0 0 1.15rem;
  font-size: 0.92rem;
  color: #2a2a2a;
  line-height: 1.7;
}
.fm-admin-form .contact-form__row {
  margin-bottom: 1rem;
}
.fm-admin-form label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
}
.fm-admin-form input[type="text"],
.fm-admin-form input[type="password"],
.fm-admin-form input[type="url"],
.fm-admin-form input[type="email"],
.fm-admin-form input[type="tel"],
.fm-admin-form input[type="file"],
.fm-admin-form select,
.fm-admin-form textarea {
  width: 100%;
  max-width: 100%;
  min-height: 2.75rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  font: inherit;
  font-size: 1rem;
  line-height: 1.4;
  background: #fff;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
}
.fm-admin-form textarea {
  min-height: 8rem;
}
.fm-admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.15rem;
}
.fm-admin-thumb-note {
  margin: 0.4rem 0 0;
  font-size: 0.8rem;
  color: #6b6b6b;
}
.fm-admin-list .fm-admin-item {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid #efefef;
}
.fm-admin-item__main {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  align-items: baseline;
}
.fm-admin-item__main .fm-simple-title {
  flex: 1 1 auto;
  font-weight: 500;
}
.fm-admin-status {
  font-size: 0.72rem;
  color: #6b6b6b;
  letter-spacing: 0.04em;
}
.fm-admin-item__actions {
  display: flex;
  gap: 0.5rem;
}
.fm-admin-mini-btn {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  font-size: 0.78rem;
  border: 1px solid #0f0f0f;
  background: #fff;
  color: #0f0f0f;
  text-decoration: none;
  cursor: pointer;
  font: inherit;
}
.fm-admin-mini-btn.is-danger {
  border-color: #b00020;
  color: #b00020;
}
.fm-admin-delete-form {
  display: inline;
  margin: 0;
}

body.anoine-admin-list-page .fm-admin-card {
  border-color: #e0e0e0;
}

.fm-admin-pager {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 1.5rem;
}
.fm-admin-pager__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 0.55rem;
  border: 1px solid #0f0f0f;
  color: #0f0f0f;
  text-decoration: none;
  font-size: 0.85rem;
  background: #fff;
}
.fm-admin-pager__btn.is-active {
  background: #5069cc;
  color: #fff;
}

/* NOTE single — show detail immediately, left-aligned body */
body.note-single-page .fm-stage,
body.note-single-page .fm-main {
  min-height: 0 !important;
}
body.note-single-page .ig-detail {
  text-align: left;
  margin-top: 0;
}
body.note-single-page .ig-detail__caption,
body.note-single-page .ig-detail__caption-text {
  text-align: left !important;
}

a.fm-story-card {
  text-decoration: none;
  color: inherit;
  display: block;
  cursor: pointer;
}
body.story-single-page .fm-footer__copy {
  text-align: center;
}

/* STORY / NOTE caption — natural line breaks (not huge gaps) */
body.note-single-page .ig-detail__caption,
body.story-single-page .ig-detail__caption {
  padding: 0.75rem 1rem 1rem !important;
}
body.note-single-page .ig-detail__caption-text,
body.story-single-page .ig-detail__caption-text {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.5 !important;
  white-space: pre-line !important;
  font-size: 0.95rem !important;
}

/* STORY / NOTE single — loader + brand + fixed header */
body.story-single-page .fm-loader.is-done,
body.note-single-page .fm-loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
body.story-single-page .fm-main,
body.note-single-page .fm-main {
  padding-top: 0;
}
body.story-single-page.fm-scrolled .fm-main,
body.note-single-page.fm-scrolled .fm-main,
body.story-single-page .fm-topbar.is-visible ~ .fm-main,
body.note-single-page .fm-topbar.is-visible ~ .fm-main {
  padding-top: 3.5rem;
}
body.story-single-page .fm-section.fm-note-detail,
body.note-single-page .fm-section.fm-note-detail {
  min-height: auto !important;
  justify-content: flex-start !important;
  align-items: stretch !important;
  text-align: left !important;
  padding-top: 1.25rem !important;
}

/* ==================================================
   STORY / NOTE single — same flow as top ABOUT
================================================== */
body.story-single-page .fm-intro,
body.note-single-page .fm-intro {
  min-height: 100vh;
  min-height: 100dvh;
  pointer-events: none;
}
body.story-single-page .fm-detail-section .fm-heading,
body.note-single-page .fm-detail-section .fm-heading {
  width: 100%;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}
body.story-single-page .fm-detail-section .ig-detail,
body.note-single-page .fm-detail-section .ig-detail {
  width: 100%;
  max-width: 40rem;
  margin: 0 auto;
  text-align: left;
  border: none;
  box-shadow: none;
  background: transparent;
}
body.story-single-page .fm-detail-section .ig-detail__media,
body.note-single-page .fm-detail-section .ig-detail__media {
  background: #f5f5f5;
  margin-bottom: 0.5rem;
}
body.story-single-page .fm-detail-section .ig-detail__caption,
body.note-single-page .fm-detail-section .ig-detail__caption {
  padding: 0.5rem 0 0;
  text-align: left;
}
body.story-single-page .fm-detail-section .ig-detail__caption-text,
body.note-single-page .fm-detail-section .ig-detail__caption-text {
  text-align: left;
  white-space: pre-line;
  line-height: 1.75;
  font-size: 0.98rem;
  color: #1a1a1a;
}
body.story-single-page .fm-detail-section .fm-back-home,
body.note-single-page .fm-detail-section .fm-back-home {
  margin-top: 2rem;
  text-align: center;
  width: 100%;
  max-width: 40rem;
}
body.story-single-page .fm-brand__tagline--label,
body.note-single-page .fm-brand__tagline--label {
  letter-spacing: 0.35em;
  text-indent: 0.35em;
  font-size: 0.9rem;
  margin-top: 0.85rem;
}
/* Do not force-hide loader/brand */
body.story-single-page .fm-loader,
body.note-single-page .fm-loader {
  display: flex;
}
body.story-single-page .fm-brand,
body.note-single-page .fm-brand {
  display: flex;
}

/* ==================================================
   STORY / NOTE detail — SNS card (no section heading)
   sns card detail v2
================================================== */
body.story-single-page .fm-detail-section .fm-heading,
body.note-single-page .fm-detail-section .fm-heading {
  display: none !important;
}
body.story-single-page .fm-detail-section,
body.note-single-page .fm-detail-section {
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 4rem 1rem 3rem;
}
body.story-single-page .fm-detail-section .ig-detail,
body.note-single-page .fm-detail-section .ig-detail {
  width: 100%;
  max-width: 28rem;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #dbdbdb;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: none;
  text-align: left;
  box-sizing: border-box;
}
/* User row — align with content column */
body.story-single-page .ig-detail__head,
body.note-single-page .ig-detail__head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 0.85rem;
  margin: 0;
  border: none;
  border-bottom: 1px solid #efefef;
  box-sizing: border-box;
}
body.story-single-page .ig-detail__avatar,
body.note-single-page .ig-detail__avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}
/* Media flush to card edges (SNS) */
body.story-single-page .ig-detail__media,
body.note-single-page .ig-detail__media {
  width: 100%;
  margin: 0;
  padding: 0;
  border: none;
  background: #5069cc;
  box-sizing: border-box;
}
body.story-single-page .ig-detail__slide img,
body.story-single-page .ig-detail__slide video,
body.note-single-page .ig-detail__slide img,
body.note-single-page .ig-detail__slide video {
  width: 100%;
  display: block;
  margin: 0;
  border-radius: 0;
}
/* Caption — same left edge as user info, slight inner padding */
body.story-single-page .ig-detail__caption,
body.note-single-page .ig-detail__caption {
  padding: 0.7rem 0.85rem 0.95rem !important;
  margin: 0 !important;
  text-align: left !important;
  border: none;
  box-sizing: border-box;
}
body.story-single-page .ig-detail__caption-text,
body.note-single-page .ig-detail__caption-text {
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
  white-space: pre-line !important;
  line-height: 1.55 !important;
  font-size: 0.92rem !important;
  color: #0f0f0f;
}
body.story-single-page .fm-detail-section .fm-back-home,
body.note-single-page .fm-detail-section .fm-back-home {
  margin-top: 1.5rem;
  max-width: 28rem;
  width: 100%;
  text-align: center;
}
@media (max-width: 640px) {
  body.story-single-page .fm-detail-section .ig-detail,
  body.note-single-page .fm-detail-section .ig-detail {
    max-width: 100%;
    border-radius: 10px;
  }
  body.story-single-page .fm-detail-section,
  body.note-single-page .fm-detail-section {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
}

/* Clear sticky hover when returning from STORY/NOTE detail */
body.anoine-no-hover .fm-story-card:hover .fm-story-card__media img,
body.anoine-no-hover .fm-note-card:hover {
  transform: none !important;
  opacity: 1 !important;
  filter: none !important;
}
body.anoine-no-hover .fm-story-card:hover,
body.anoine-no-hover .fm-note-card:hover,
body.anoine-no-hover .fm-story-card:focus,
body.anoine-no-hover .fm-note-card:focus {
  outline: none !important;
  opacity: 1 !important;
}

/* ANOINE ADMIN home — large create buttons */
.fm-admin-home-grid {
  width: 100%;
  max-width: 40rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 0.5rem 0 1.5rem;
  box-sizing: border-box;
}
.fm-admin-home-grid__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.fm-admin-home-btn {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 7.5rem;
  padding: 1.5rem 1.25rem;
  border: 1px solid #0f0f0f;
  border-radius: 12px;
  background: #fff;
  color: #0f0f0f;
  text-decoration: none;
  overflow: hidden;
  z-index: 0;
  box-sizing: border-box;
  transition: color 0.45s ease, border-color 0.45s ease, transform 0.35s ease;
}
.fm-admin-home-btn--primary {
  min-height: 8.5rem;
}
.fm-admin-home-btn__label {
  position: relative;
  z-index: 1;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.fm-admin-home-btn__code {
  position: relative;
  z-index: 1;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  opacity: 0.55;
}
/* Left → right fill on hover */
.fm-admin-home-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #5069cc;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 0;
}
.fm-admin-home-btn:hover,
.fm-admin-home-btn:focus-visible {
  color: #fff;
  border-color: #0f0f0f;
  transform: translateY(-2px);
}
.fm-admin-home-btn:hover::before,
.fm-admin-home-btn:focus-visible::before {
  transform: scaleX(1);
}
.fm-admin-home-btn:hover .fm-admin-home-btn__code,
.fm-admin-home-btn:focus-visible .fm-admin-home-btn__code {
  opacity: 0.85;
}
@media (max-width: 640px) {
  .fm-admin-home-grid__row {
    grid-template-columns: 1fr;
  }
  .fm-admin-home-btn,
  .fm-admin-home-btn--primary {
    min-height: 6.5rem;
  }
}

/* ANOINE ADMIN top — panel above create buttons */
.fm-admin-panel {
  width: 100%;
  max-width: 40rem;
  margin: 0 auto 1.5rem;
  padding: 1.35rem 1.25rem 1.25rem;
  border: 1px solid #0f0f0f;
  border-radius: 12px;
  background: #fff;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  text-align: center;
}
.fm-admin-panel__badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-indent: 0.28em;
  color: #fff;
  background: #5069cc;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 0.35rem;
}
.fm-admin-panel__name {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #0f0f0f;
}
.fm-admin-panel__meta {
  margin: 0.25rem 0 0;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: #6b6b6b;
}
.fm-admin-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  width: 100%;
}
.fm-admin-panel__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 8.5rem;
  padding: 0.7rem 1.25rem;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  border: 1px solid #0f0f0f;
  border-radius: 999px;
  background: #5069cc;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  z-index: 0;
  transition: color 0.4s ease, background 0.4s ease, border-color 0.4s ease;
}
.fm-admin-panel__btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: -1;
}
.fm-admin-panel__btn:hover,
.fm-admin-panel__btn:focus-visible {
  color: #0f0f0f;
}
.fm-admin-panel__btn:hover::before,
.fm-admin-panel__btn:focus-visible::before {
  transform: scaleX(1);
}
.fm-admin-panel__btn--ghost {
  background: #fff;
  color: #0f0f0f;
}
.fm-admin-panel__btn--ghost::before {
  background: #5069cc;
}
.fm-admin-panel__btn--ghost:hover,
.fm-admin-panel__btn--ghost:focus-visible {
  color: #fff;
}
.fm-admin-panel .fm-admin-logout {
  display: inline;
  margin: 0;
}
@media (max-width: 640px) {
  .fm-admin-panel {
    padding: 1.15rem 1rem;
  }
  .fm-admin-panel__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .fm-admin-panel__btn {
    width: 100%;
    min-width: 0;
  }
}

/* ==================================================
   ANOINE ADMIN compose form redesign
================================================== */
body.anoine-admin-page .fm-admin-card--compose {
  border: 1px solid #0f0f0f;
  border-radius: 12px;
  background: #fff;
  padding: 1.5rem 1.25rem 1.35rem;
  box-shadow: none;
}
.fm-admin-card__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.35rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid #efefef;
}
.fm-admin-card__badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-indent: 0.28em;
  color: #fff;
  background: #5069cc;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.25rem;
}
body.anoine-admin-page .fm-admin-card--compose .fm-admin-card__title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-align: center;
}
.fm-admin-card__sub {
  margin: 0;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: #6b6b6b;
}
body.anoine-admin-page .fm-admin-form .contact-form__row {
  margin-bottom: 1.1rem;
  text-align: left;
}
body.anoine-admin-page .fm-admin-form label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-bottom: 0.4rem;
  color: #2a2a2a;
}
body.anoine-admin-page .fm-admin-form .required {
  color: #b00020;
  margin-left: 0.15rem;
}
body.anoine-admin-page .fm-admin-form input[type="text"],
body.anoine-admin-page .fm-admin-form input[type="password"],
body.anoine-admin-page .fm-admin-form input[type="url"],
body.anoine-admin-page .fm-admin-form input[type="email"],
body.anoine-admin-page .fm-admin-form input[type="tel"],
body.anoine-admin-page .fm-admin-form input[type="file"],
body.anoine-admin-page .fm-admin-form select,
body.anoine-admin-page .fm-admin-form textarea {
  width: 100%;
  border: 1px solid #d8d8d8;
  border-radius: 10px;
  padding: 0.8rem 0.95rem;
  min-height: 2.9rem;
  font-size: 1rem;
  background: #fafafa;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
body.anoine-admin-page .fm-admin-form textarea {
  min-height: 9rem;
  line-height: 1.65;
}
body.anoine-admin-page .fm-admin-form input:focus,
body.anoine-admin-page .fm-admin-form select:focus,
body.anoine-admin-page .fm-admin-form textarea:focus {
  outline: none;
  border-color: #0f0f0f;
  background: #fff;
  box-shadow: 0 0 0 1px #0f0f0f;
}
/* Tabs on compose */
body.anoine-admin-page .fm-admin-tabs {
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
body.anoine-admin-page .fm-admin-tab {
  border-radius: 999px;
  padding: 0.55rem 1rem;
  transition: background 0.35s ease, color 0.35s ease, transform 0.25s ease;
}
body.anoine-admin-page .fm-admin-tab:hover:not(.is-active) {
  background: #5069cc;
  color: #fff;
  transform: translateY(-1px);
}
/* Submit / switch */
.fm-admin-actions--compose {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.5rem;
  padding-top: 1.15rem;
  border-top: 1px solid #efefef;
}
.fm-admin-submit-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 10rem;
  padding: 0.9rem 1.6rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  border: 1px solid #0f0f0f;
  border-radius: 999px;
  background: #5069cc;
  color: #fff;
  cursor: pointer;
  overflow: hidden;
  z-index: 0;
  transition: color 0.4s ease;
}
.fm-admin-submit-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: -1;
}
.fm-admin-submit-btn:hover,
.fm-admin-submit-btn:focus-visible {
  color: #0f0f0f;
}
.fm-admin-submit-btn:hover::before,
.fm-admin-submit-btn:focus-visible::before {
  transform: scaleX(1);
}
.fm-admin-switch-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 10rem;
  padding: 0.9rem 1.6rem;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  border: 1px solid #0f0f0f;
  border-radius: 999px;
  background: #fff;
  color: #0f0f0f;
  text-decoration: none;
  overflow: hidden;
  z-index: 0;
  transition: color 0.4s ease;
}
.fm-admin-switch-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #5069cc;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: -1;
}
.fm-admin-switch-btn:hover,
.fm-admin-switch-btn:focus-visible {
  color: #fff;
}
.fm-admin-switch-btn:hover::before,
.fm-admin-switch-btn:focus-visible::before {
  transform: scaleX(1);
}
@media (max-width: 640px) {
  body.anoine-admin-page .fm-admin-card--compose {
    padding: 1.25rem 1rem 1.15rem;
  }
  .fm-admin-actions--compose {
    flex-direction: column;
    align-items: stretch;
  }
  .fm-admin-submit-btn,
  .fm-admin-switch-btn {
    width: 100%;
    min-width: 0;
  }
}

/* underline only list hover */
.fm-blog .fm-simple-link:hover,
.fm-blog .fm-simple-link:active,
.fm-blog .fm-simple-link.is-press,
.fm-news .fm-simple-link:hover,
.fm-news .fm-simple-link:active,
.fm-news .fm-simple-link.is-press {
  background-color: transparent;
  transform: none;
}

/* ==================================================
   Site outer frame border (淵)
   30px (desktop) / 8px (mobile)
   #5069cc 基調・白なし・薄い色なし。淵全体を一周するグラデーション
   fixed で常に四辺表示。ヘッダー・コンテンツは内側にオフセット済み
================================================== */
html {
  box-sizing: border-box;
  min-height: 100%;
  background: #FFFFFF;
}
body {
  box-sizing: border-box;
  margin: 0;
  padding: var(--frame-w);
  min-height: 100vh;
  min-height: 100dvh;
  /* 淵以外（コンテンツ領域）: #5069cc → #FFF */
  background: linear-gradient(180deg, #5069cc 0%, #FFFFFF 100%);
  background-attachment: fixed;
}
/* 淵を常に画面四辺に固定表示（白色） */
body::after {
  content: "";
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2147483000;
  pointer-events: none;
  box-sizing: border-box;
  padding: var(--frame-w);
  /* 淵は白色のみ */
  background: #FFFFFF;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
}
/* 淵の内側（コンテンツ側）に 3px 枠線 */
body::before {
  content: "";
  position: fixed;
  top: var(--frame-w);
  right: var(--frame-w);
  bottom: var(--frame-w);
  left: var(--frame-w);
  z-index: 2147483000;
  pointer-events: none;
  box-sizing: border-box;
  border: 3px solid #0f0f0f;
}
@media screen and (max-width: 767px) {
  :root {
    --frame-w: 12px;
  }
}

/* ==================================================
   Force page/header colors (#5069cc / #FFF) — high priority
================================================== */
body:not(.entry-dark-page),
body.front-minimal {
  background: linear-gradient(180deg, #5069cc 0%, #FFFFFF 100%) !important;
  background-attachment: fixed !important;
}
.site-header,
body.front-minimal .site-header {
  background: linear-gradient(90deg, #5069cc 0%, #FFFFFF 100%) !important;
  border-bottom-color: rgba(80, 105, 204, 0.35) !important;
}
.fm-topbar {
  background: #5069cc !important;
}
.fm-topbar.is-on-dark,
.fm-topbar.is-on-news {
  background: #fff !important;
}
.fm-topbar.is-on-blog,
.fm-topbar.is-on-room {
  background: #5069cc !important;
}
/* Front alternating: ABOUT/NEWS white · BLOG/CONTACT blue */
.fm-blog {
  background: #5069cc !important;
}
.fm-contact {
  background-color: transparent !important;
  background-image: url("assets/images/contact-bg.jpg") !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}
.fm-about,
.fm-news {
  background: #fff !important;
}
.fm-section {
  background: #fff;
}


/* ANOINE ADMIN — system panels */
.fm-admin-home-grid__row--system {
  margin-top: 0.5rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 641px) {
  .fm-admin-home-grid__row--system {
    grid-template-columns: repeat(4, 1fr);
  }
}
.fm-admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1rem;
}
.fm-admin-system-list .fm-admin-item {
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
}
.fm-admin-system-list .fm-admin-item__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
}
.fm-admin-meta {
  display: block;
  font-size: 0.75rem;
  color: #7a7268;
  margin-top: 0.15rem;
}
.fm-admin-section-label {
  margin: 1.5rem 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7a7268;
  border-bottom: 1px solid #e5e1d8;
  padding-bottom: 0.4rem;
}
.fm-admin-section-label:first-of-type {
  margin-top: 0.25rem;
}
.fm-admin-card__head {
  margin-bottom: 1rem;
}
.fm-admin-card__badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: #fff;
  background: #141210;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  margin-bottom: 0.4rem;
}
.fm-admin-card__sub {
  margin: 0.25rem 0 0;
  font-size: 0.8rem;
  color: #7a7268;
}

/* ==================================================
   ANOINE ADMIN — same loader + brand + fixed header as front
================================================== */
/* No page gradient on ADMIN — solid white background */
body.anoine-admin-page {
  background: #fff !important;
  background-image: none !important;
  background-attachment: scroll !important;
}
body.anoine-admin-page .fm-stage,
body.anoine-admin-page .fm-admin-main {
  background: #fff !important;
}
body.anoine-admin-page .fm-intro {
  background: transparent !important;
}
/* Brand text size for longer "ANOINE ADMIN" label */
body.anoine-admin-page .fm-brand__text {
  font-size: clamp(1.6rem, 8vw, 3.5rem);
  letter-spacing: 0.18em;
  text-indent: 0.18em;
}
/* WELCOME ADMIN PAGE — small under brand (same tagline feel) */
body.anoine-admin-page .fm-brand__tagline--label {
  font-size: clamp(0.65rem, 1.8vw, 0.78rem);
  font-weight: 500;
  letter-spacing: 0.28em;
  text-indent: 0.28em;
  opacity: 0;
}
body.anoine-admin-page .fm-brand__text.is-large-in ~ .fm-brand__tagline,
body.anoine-admin-page .fm-brand:not(.is-hidden) .fm-brand__tagline.is-in {
  opacity: 0.72;
}
body.anoine-admin-page .fm-admin-main {
  position: relative;
  z-index: 1;
}
/* Keep legacy admin topbar styles available if used elsewhere */
body.anoine-admin-page .fm-admin-topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.25rem;
  background: #141210;
  color: #faf7f1;
  box-sizing: border-box;
}
body.anoine-admin-page .fm-admin-topbar__brand {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #faf7f1;
  text-decoration: none;
}
body.anoine-admin-page .fm-admin-topbar__brand:hover {
  opacity: 0.85;
}
body.anoine-admin-page .fm-admin-topbar__sub {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: rgba(250, 247, 241, 0.65);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 50%;
}
/* Admin section — solid white (no gradient) */
body.anoine-admin-page .fm-admin-section,
body.anoine-admin-page .fm-section.fm-admin-section,
body.anoine-admin-page .fm-about.fm-admin-section {
  background: #fff !important;
  min-height: auto !important;
  padding: 2rem 1.25rem 3rem !important;
  justify-content: flex-start !important;
  align-items: center !important;
}
body.anoine-admin-page .fm-heading {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
  margin-top: 0;
  margin-bottom: 1.25rem;
  font-size: clamp(1.25rem, 4vw, 1.75rem);
}
body.anoine-admin-page [data-reveal],
body.anoine-admin-page .fm-admin-panel,
body.anoine-admin-page .fm-admin-home-grid,
body.anoine-admin-page .fm-admin-card,
body.anoine-admin-page .fm-admin-tabs,
body.anoine-admin-page .fm-admin-notice {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}
/* Fixed header on ADMIN — same as front (show on scroll via .is-visible) */
body.anoine-admin-page .fm-topbar {
  display: flex !important;
  background: #5069cc !important;
}
body.anoine-admin-page .fm-topbar.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
body.anoine-admin-page.fm-scrolled .fm-admin-section {
  scroll-margin-top: 56px;
  padding-top: 4.5rem;
}

/* ==================================================
   ADMIN detail pages — center like top (lock)
================================================== */
body.anoine-admin-page .fm-admin-section {
  align-items: center !important;
}
body.anoine-admin-page .fm-admin-section > .fm-admin-card,
body.anoine-admin-page .fm-admin-section > .fm-admin-card--compose,
body.anoine-admin-page .fm-admin-card,
body.anoine-admin-page .fm-admin-card--compose,
body.anoine-admin-page .fm-admin-panel,
body.anoine-admin-page .fm-admin-tabs,
body.anoine-admin-page .fm-admin-home-grid,
body.anoine-admin-page .fm-admin-toolbar,
body.anoine-admin-page .fm-heading {
  width: 100%;
  max-width: 40rem;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box;
}
body.anoine-admin-page .fm-admin-card--compose {
  text-align: center;
}
body.anoine-admin-page .fm-admin-card--compose .fm-admin-form,
body.anoine-admin-page .fm-admin-card--compose .contact-form__row,
body.anoine-admin-page .fm-admin-card--compose label,
body.anoine-admin-page .fm-admin-list,
body.anoine-admin-page .fm-admin-system-list {
  text-align: left;
}

/* ==================================================
   ADMIN system / settings — center like top
================================================== */
/* superseded by .fm-admin-column — keep harmless */
body.anoine-admin-page .fm-admin-section .fm-admin-tabs,
body.anoine-admin-page .fm-admin-section .fm-admin-card,
body.anoine-admin-page .fm-admin-section .fm-admin-toolbar,
body.anoine-admin-page .fm-admin-section .fm-admin-notice {
  box-sizing: border-box;
}
body.anoine-admin-page .fm-admin-section {
  align-items: center !important;
  text-align: center;
}
/* Settings / system forms: card centered, fields left-aligned for readability */
body.anoine-admin-page .fm-admin-card .contact-form__row,
body.anoine-admin-page .fm-admin-card label,
body.anoine-admin-page .fm-admin-system-list,
body.anoine-admin-page .fm-admin-list {
  text-align: left;
}
body.anoine-admin-page .fm-admin-card__head {
  text-align: center;
}

/* ==================================================
   ADMIN — single centered column (.fm-admin-column)
   top / themes / plugins / users / settings — SAME placement
================================================== */
body.anoine-admin-page .fm-admin-section {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  text-align: center !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 2rem 1.25rem 3rem !important;
  box-sizing: border-box !important;
}
body.anoine-admin-page .fm-admin-section > .fm-heading {
  width: 100% !important;
  max-width: 40rem !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}
body.anoine-admin-page .fm-admin-column {
  display: block !important;
  width: 100% !important;
  max-width: 40rem !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  float: none !important;
  position: relative !important;
  left: auto !important;
  right: auto !important;
  text-align: center !important;
}
/* Everything inside the column fills it (themes list included) */
body.anoine-admin-page .fm-admin-column > *,
body.anoine-admin-page .fm-admin-column .fm-admin-panel,
body.anoine-admin-page .fm-admin-column .fm-admin-home-grid,
body.anoine-admin-page .fm-admin-column .fm-admin-tabs,
body.anoine-admin-page .fm-admin-column .fm-admin-card,
body.anoine-admin-page .fm-admin-column .fm-admin-card--compose,
body.anoine-admin-page .fm-admin-column .fm-admin-toolbar,
body.anoine-admin-page .fm-admin-column .fm-admin-notice,
body.anoine-admin-page .fm-admin-column .fm-admin-list,
body.anoine-admin-page .fm-admin-column .fm-admin-system-list,
body.anoine-admin-page .fm-admin-column .fm-simple-list {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box !important;
  float: none !important;
}
body.anoine-admin-page .fm-admin-tabs {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  margin-bottom: 1.5rem !important;
}
body.anoine-admin-page .fm-admin-toolbar {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: center !important;
}
body.anoine-admin-page .fm-admin-card,
body.anoine-admin-page .fm-admin-card--compose {
  text-align: left !important;
}
body.anoine-admin-page .fm-admin-card__head,
body.anoine-admin-page .fm-admin-panel {
  text-align: center !important;
}
body.anoine-admin-page .fm-admin-panel {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}
/* Themes / plugins list items stay inside column */
body.anoine-admin-page.anoine-admin-system-page .fm-admin-system-list,
body.anoine-admin-page.anoine-admin-system-page .fm-admin-list,
body.anoine-admin-page.anoine-admin-system-page .fm-simple-list,
body.anoine-admin-page.anoine-admin-system-page .fm-admin-item,
body.anoine-admin-page.anoine-admin-system-page .fm-admin-item__main,
body.anoine-admin-page.anoine-admin-system-page .fm-admin-item__actions {
  max-width: 100% !important;
  box-sizing: border-box !important;
}
body.anoine-admin-page.anoine-admin-system-page .fm-admin-form,
body.anoine-admin-page.anoine-admin-system-page .fm-admin-form input,
body.anoine-admin-page.anoine-admin-system-page .fm-admin-form select,
body.anoine-admin-page.anoine-admin-system-page .fm-admin-form textarea {
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* ==================================================
   CONTACT — all text white
================================================== */
.fm-contact,
.fm-contact .fm-heading,
.fm-contact .fm-contact__inner,
.fm-contact .contact-faq,
.fm-contact .contact-faq__lead,
.fm-contact .contact-faq__q,
.fm-contact .contact-faq__q-text,
.fm-contact .contact-faq__a,
.fm-contact .contact-faq__a-inner,
.fm-contact .contact-faq__a-inner p,
.fm-contact .contact-faq__a p,
.fm-contact .contact-form label,
.fm-contact .fm-contact-form label,
.fm-contact .contact-check span,
.fm-contact .contact-policy__label,
.fm-contact .contact-confirm__title,
.fm-contact .contact-confirm__lead,
.fm-contact .contact-confirm__list,
.fm-contact .contact-confirm__list dt,
.fm-contact .contact-confirm__list dd,
.fm-contact .contact-notice,
.fm-contact .contact-notice--success,
.fm-contact .contact-notice--error,
.fm-contact .contact-step,
.fm-contact p,
.fm-contact span:not(.required),
.fm-contact .btn--outline,
.fm-contact .btn--contact-start,
.fm-contact .contact-back-to-start,
.fm-contact .contact-back-wrap .contact-back-to-start {
  color: #fff !important;
}
.fm-contact .contact-faq__icon {
  border-color: #fff !important;
}
.fm-contact .btn--contact-start {
  background: transparent !important;
  border-color: #fff !important;
}
.fm-contact .btn--contact-start:hover,
.fm-contact .btn--contact-start:focus-visible {
  color: #fff !important;
  background: transparent !important;
  border-color: #fff !important;
}
.fm-contact .btn--contact-start:hover::before,
.fm-contact .btn--contact-start:focus-visible::before {
  background: #5069cc !important;
  transform: scaleX(1);
}
.fm-contact .btn--primary,
.fm-contact button[type="submit"] {
  background: #fff !important;
  color: #0f0f0f !important;
  border-color: #fff !important;
}
/* Input fields: keep readable dark text on white field */
.fm-contact .contact-form input,
.fm-contact .contact-form select,
.fm-contact .contact-form textarea,
.fm-contact .fm-contact-form input,
.fm-contact .fm-contact-form select,
.fm-contact .fm-contact-form textarea {
  color: #0f0f0f !important;
  background: #fff !important;
}

/* ========== Brand widgets (NEWS / 占い) — bottom-right of ANOINE text ========== */
.fm-brand__center {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
/* Fixed to viewport bottom-right; margins on all sides; fade out on scroll */
.fm-brand-widgets {
  position: fixed;
  right: 2.75rem;
  bottom: 3rem;
  left: auto;
  top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  align-items: center;
  pointer-events: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.9s ease 0.5s, transform 0.9s ease 0.5s, visibility 0.9s ease 0.5s;
  z-index: 60;
  margin: 0;
  padding: 0;
}
/* Show after load, while brand hero is visible (not scrolled) */
body.fm-loaded:not(.fm-scrolled) .fm-brand-widgets {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
/* Fade out when scrolled / brand hidden */
body.fm-scrolled .fm-brand-widgets,
.fm-brand.is-hidden ~ .fm-brand-widgets,
body.fm-scrolled .fm-brand .fm-brand-widgets {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s ease;
}
.fm-widget-btn {
  display: block;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 50%;
  overflow: hidden;
  line-height: 0;
  box-shadow: none;
  transition: transform 0.22s ease, opacity 0.22s ease;
  opacity: 0.96;
}
.fm-widget-btn:hover,
.fm-widget-btn:focus-visible {
  transform: translateY(-2px) scale(1.04);
  box-shadow: none;
  opacity: 1;
  outline: none;
}
.fm-widget-btn:active {
  transform: translateY(0) scale(1);
}
.fm-widget-img {
  display: block;
  width: 96px;
  height: 96px;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.85);
  background: #fff;
  box-sizing: border-box;
  box-shadow: none;
}
@media (max-width: 720px) {
  .fm-brand-widgets {
    right: 1.5rem;
    bottom: 2rem;
    flex-direction: column;
    gap: 0.75rem;
  }
  .fm-widget-img {
    width: 76px;
    height: 76px;
  }
}
@media (max-width: 420px) {
  .fm-brand-widgets {
    right: 1.15rem;
    bottom: 1.5rem;
  }
  .fm-widget-img {
    width: 68px;
    height: 68px;
  }
}

/* ========== Buwat chat panels (news / fortune) ========== */
.fm-buwat {
  position: fixed;
  inset: 0;
  z-index: 180;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end; /* PC: bottom-right */
  pointer-events: none;
  visibility: hidden;
  padding: 0;
}
.fm-buwat.is-open {
  pointer-events: auto;
  visibility: visible;
}
.fm-buwat__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 16, 32, 0.28);
  opacity: 0;
  transition: opacity 0.5s ease;
}
.fm-buwat.is-open .fm-buwat__backdrop {
  opacity: 1;
}
.fm-buwat__panel {
  position: relative;
  width: min(380px, calc(100% - 3rem));
  max-height: min(72vh, 580px);
  margin: 1.5rem 2.75rem 3rem 1.5rem; /* 上 右 下 左 */
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid rgba(80, 105, 204, 0.12);
  box-shadow: 0 16px 48px rgba(30, 40, 80, 0.18);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(24px) scale(0.96);
  opacity: 0;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.5s ease;
}
.fm-buwat.is-open .fm-buwat__panel {
  transform: translateY(0) scale(1);
  opacity: 1;
}
.fm-buwat__head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.9rem 1rem 0.9rem 1.05rem;
  background: linear-gradient(135deg, #5a72d4 0%, #5069cc 55%, #455db8 100%);
  color: #fff;
  flex-shrink: 0;
}
.fm-buwat__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  flex-shrink: 0;
}
.fm-buwat__head-meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}
.fm-buwat__head-meta strong {
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.fm-buwat__sub {
  font-size: 0.68rem;
  opacity: 0.85;
  letter-spacing: 0.02em;
}
.fm-buwat__close {
  width: 30px;
  height: 30px;
  border: none;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  border-radius: 10px;
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s ease;
}
.fm-buwat__close:hover {
  background: rgba(255, 255, 255, 0.32);
}
.fm-buwat__body {
  flex: 1;
  overflow-y: auto;
  padding: 1.05rem 1rem 1.15rem;
  -webkit-overflow-scrolling: touch;
  font-size: 0.88rem;
  line-height: 1.65;
  color: #1a1a1a;
  background: #f4f6fb;
}
/* Mobile: full-width bottom sheet style */
@media (max-width: 720px) {
  .fm-buwat {
    justify-content: center;
    align-items: flex-end;
  }
  .fm-buwat__panel {
    width: calc(100% - 1.5rem);
    max-height: min(78vh, 640px);
    margin: 0.75rem 0.75rem 0.75rem 0.75rem; /* 上下左右 */
    border-radius: 18px;
  }
}

.fm-buwat__loading {
  text-align: center;
  padding: 2rem 1rem;
  color: #666;
  font-size: 0.85rem;
}

/* News list */
.fm-buwat-news-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.fm-buwat-news-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.85rem 0.95rem;
  border: 1px solid #e2e6f0;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
  color: inherit;
  font: inherit;
}
.fm-buwat-news-item:hover {
  border-color: #5069cc;
  box-shadow: 0 4px 14px rgba(80, 105, 204, 0.12);
  transform: translateY(-1px);
}
.fm-buwat-news-item__title {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.45;
  margin-bottom: 0.35rem;
  color: #1a1a2e;
}
.fm-buwat-news-item__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.72rem;
  color: #6b7280;
}
.fm-buwat-back {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-bottom: 0.85rem;
  padding: 0.35rem 0.6rem;
  border: none;
  background: #eef0f8;
  color: #5069cc;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
}
.fm-buwat-back:hover {
  background: #e0e4f4;
}
.fm-buwat-news-detail__title {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
  color: #1a1a2e;
}
.fm-buwat-news-detail__source {
  margin: 0 0 1rem;
  font-size: 0.75rem;
  color: #6b7280;
}
.fm-buwat-news-detail__body {
  font-size: 0.88rem;
  line-height: 1.85;
  color: #2a2a2a;
  white-space: pre-wrap;
}
.fm-buwat-news-detail__body p {
  margin: 0 0 0.85em;
}
.fm-buwat-news-detail__link {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: #5069cc;
  font-weight: 600;
}

/* Fortune chat bubbles */
.fm-chat-msg {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
  animation: fmBuwatMsgIn 0.45s ease both;
}
.fm-chat-msg--bot {
  align-items: flex-start;
}
.fm-chat-msg--user {
  flex-direction: row-reverse;
}
.fm-chat-bubble {
  max-width: 88%;
  padding: 0.7rem 0.9rem;
  border-radius: 14px;
  font-size: 0.86rem;
  line-height: 1.65;
  white-space: pre-wrap;
}
.fm-chat-msg--bot .fm-chat-bubble {
  background: #ffffff;
  border: 1px solid #e2e6f2;
  border-bottom-left-radius: 6px;
  color: #1a1a1a;
  box-shadow: 0 1px 3px rgba(40, 50, 90, 0.04);
}
.fm-chat-msg--user .fm-chat-bubble {
  background: #5069cc;
  color: #fff;
  border-bottom-right-radius: 4px;
}
@keyframes fmBuwatMsgIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.fm-chat-choices {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin: 0.5rem 0 0.75rem;
}
.fm-chat-choice {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.75rem 0.9rem;
  border: 1px solid #d5dae8;
  border-radius: 12px;
  background: #ffffff;
  color: #1a1a2e;
  font-size: 0.84rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
  line-height: 1.45;
}
.fm-chat-choice:hover:not(:disabled) {
  border-color: #5069cc;
  background: #eef2ff;
  transform: translateY(-1px);
}
.fm-chat-choice:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.fm-chat-choice small {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.72rem;
  font-weight: 400;
  color: #6b7280;
  line-height: 1.4;
}
.fm-chat-form {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: 0.5rem;
  padding: 0.75rem;
  background: #fff;
  border: 1px solid #e4e7f0;
  border-radius: 12px;
}
.fm-chat-form label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #4a4a5a;
}
.fm-chat-form input,
.fm-chat-form select,
.fm-chat-form textarea {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border: 1px solid #d0d5e8;
  border-radius: 8px;
  font-size: 0.88rem;
  font-family: inherit;
  color: #1a1a1a;
  background: #fafbfe;
  box-sizing: border-box;
}
.fm-chat-form textarea {
  min-height: 72px;
  resize: vertical;
}
.fm-chat-form button[type="submit"] {
  margin-top: 0.25rem;
  padding: 0.65rem 1rem;
  border: none;
  border-radius: 10px;
  background: #5069cc;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.fm-chat-form button[type="submit"]:hover {
  background: #3f56b0;
}
.fm-chat-form button[type="submit"]:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.fm-chat-result {
  margin-top: 0.5rem;
  padding: 1rem 1.05rem;
  background: #ffffff;
  border: 1px solid #dce1f0;
  border-left: 3px solid #5069cc;
  border-radius: 12px;
  font-size: 0.86rem;
  line-height: 1.8;
  white-space: pre-wrap;
  color: #1a1a2e;
  box-shadow: 0 2px 8px rgba(40, 50, 90, 0.05);
}
.fm-chat-done-note {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  color: #6b7280;
  text-align: center;
}
.fm-chat-typing {
  display: inline-flex;
  gap: 4px;
  padding: 0.55rem 0.85rem;
  background: #fff;
  border: 1px solid #e4e7f0;
  border-radius: 12px;
  border-bottom-left-radius: 4px;
}
.fm-chat-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #5069cc;
  opacity: 0.45;
  animation: fmTyping 1.2s ease-in-out infinite;
}
.fm-chat-typing span:nth-child(2) { animation-delay: 0.15s; }
.fm-chat-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes fmTyping {
  0%, 80%, 100% { opacity: 0.3; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-3px); }
}

/* ========== Brand hamburger (left of ANOINE) + full-screen white menu ========== */
/* Top-left hamburger (matches red circle position on brand screen) */
.fm-brand-menu-btn {
  position: fixed;
  top: calc(var(--frame-w, 30px) + 0.55rem);
  left: calc(var(--frame-w, 30px) + 0.55rem);
  z-index: 70;
  /* Fixed hit area so open (X) and closed (lines) share same position/size */
  width: 56px;
  height: 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 11px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  box-sizing: border-box;
  transition: opacity 0.9s ease 0.35s, visibility 0.9s ease 0.35s;
}
body.fm-loaded:not(.fm-scrolled) .fm-brand-menu-btn {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
body.fm-scrolled .fm-brand-menu-btn,
.fm-brand.is-hidden ~ .fm-brand-menu-btn {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}
.fm-brand-menu-btn__line {
  display: block;
  height: 1.75px;
  background: #fff;
  border-radius: 1px;
  flex-shrink: 0;
  /* Left-aligned step design inside fixed button box */
  align-self: flex-start;
  margin-left: 2px; /* (56 - 52) / 2 — longest line centered in 56px box */
  transition: transform 0.45s ease, opacity 0.35s ease, width 0.45s ease, margin 0.45s ease;
}
.fm-brand-menu-btn__line:nth-child(1) { width: 52px; }
.fm-brand-menu-btn__line:nth-child(2) { width: 38px; }
.fm-brand-menu-btn__line:nth-child(3) { width: 24px; }
.fm-brand-menu-btn:hover .fm-brand-menu-btn__line,
.fm-brand-menu-btn:focus-visible .fm-brand-menu-btn__line {
  opacity: 0.9;
}
.fm-brand-menu-btn:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.7);
  outline-offset: 4px;
}
/* Toggle to X when open — single close control */
.fm-brand-menu-btn.is-open .fm-brand-menu-btn__line:nth-child(1) {
  width: 36px;
  margin-left: 10px; /* (56 - 36) / 2 — X centered in same 56px box */
  transform: translateY(12.75px) rotate(45deg);
}
.fm-brand-menu-btn.is-open .fm-brand-menu-btn__line:nth-child(2) {
  opacity: 0;
  width: 36px;
  margin-left: 10px;
}
.fm-brand-menu-btn.is-open .fm-brand-menu-btn__line:nth-child(3) {
  width: 36px;
  margin-left: 10px;
  transform: translateY(-12.75px) rotate(-45deg);
}
/* Same position/size as closed state */
body.fm-brand-menu-open .fm-brand-menu-btn {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  z-index: 320;
  width: 56px;
  height: 56px;
  top: calc(var(--frame-w, 30px) + 0.55rem);
  left: calc(var(--frame-w, 30px) + 0.55rem);
}
body.fm-brand-menu-open .fm-brand-menu-btn__line {
  background: #0f0f0f;
}
body.fm-brand-menu-open .fm-brand-menu-btn:focus-visible {
  outline-color: rgba(15, 15, 15, 0.45);
}

.fm-brand-menu {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  background: transparent;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.15s ease, visibility 0.15s ease, background-color 0.01s linear;
}
.fm-brand-menu.is-open {
  display: flex;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
/* After tiles finish, solid white kills any residual hairlines */
.fm-brand-menu.is-open.is-settled {
  background: #fff;
}
.fm-brand-menu.is-open.is-settled .fm-brand-menu__tiles {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
.fm-brand-menu[hidden]:not(.is-open) {
  display: none;
}
/* Tile grid for open/close animation */
.fm-brand-menu__tiles {
  position: absolute;
  inset: -2px; /* slight overscan to avoid edge gaps */
  z-index: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(4, 1fr);
  gap: 0;
  pointer-events: none;
  overflow: hidden;
}
.fm-brand-menu__tile {
  background: #fff;
  /* 1px larger box + scale covers subpixel seams between cells */
  margin: -1px;
  width: calc(100% + 2px);
  height: calc(100% + 2px);
  box-sizing: border-box;
  transform: scale(0);
  opacity: 0;
  transform-origin: center center;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  outline: 1px solid #fff; /* seal hairlines during scale */
  transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.7s ease;
  will-change: transform, opacity;
}
.fm-brand-menu.is-open .fm-brand-menu__tile {
  transform: scale(1.04); /* slight overscale hides row/col seams */
  opacity: 1;
}
.fm-brand-menu.is-closing .fm-brand-menu__tile {
  transform: scale(0);
  opacity: 0;
  transition-duration: 0.9s, 0.75s;
}
.fm-brand-menu.is-closing {
  background: transparent !important;
  transition: opacity 0.15s ease 0.85s, visibility 0.15s ease 0.85s, background-color 0.01s linear;
}
.fm-brand-menu.is-closing .fm-brand-menu__tiles {
  opacity: 1;
  visibility: visible;
}
.fm-brand-menu__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  padding: 4.5rem clamp(1.25rem, 5vw, 3.5rem) 3rem;
  box-sizing: border-box;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  opacity: 0;
  transition: opacity 0.55s ease 0.45s;
}
.fm-brand-menu.is-open .fm-brand-menu__panel {
  opacity: 1;
}
.fm-brand-menu.is-closing .fm-brand-menu__panel {
  opacity: 0;
  transition-delay: 0s;
  transition-duration: 0.45s;
}
.fm-brand-menu__nav {
  width: 100%;
  max-width: 36rem;
  margin: 0 auto;
}
.fm-brand-menu__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(15, 15, 15, 0.12);
}
.fm-brand-menu__item {
  border-bottom: 1px solid rgba(15, 15, 15, 0.12);
  opacity: 0;
  transform: translateY(16px) scale(0.96);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.fm-brand-menu.is-open .fm-brand-menu__item {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: calc(0.08s * var(--i, 1) + 0.55s);
}
.fm-brand-menu.is-closing .fm-brand-menu__item {
  opacity: 0;
  transform: translateY(8px) scale(0.98);
  transition-delay: 0s;
  transition-duration: 0.4s;
}
.fm-brand-menu__link {
  display: block;
  padding: 1.15rem 0.25rem 1.15rem 0;
  font-family: var(--font-display), system-ui, sans-serif;
  font-size: clamp(1.05rem, 3.2vw, 1.35rem);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-indent: 0.08em;
  color: #0f0f0f;
  text-decoration: none;
  transition: color 0.2s ease, padding-left 0.25s ease;
}
.fm-brand-menu__link:hover,
.fm-brand-menu__link:focus-visible {
  color: #5069cc;
  padding-left: 0.5rem;
  outline: none;
}
body.fm-brand-menu-open {
  overflow: hidden;
}
@media (max-width: 720px) {
  .fm-brand-menu-btn {
    top: calc(var(--frame-w, 30px) + 0.35rem);
    left: calc(var(--frame-w, 30px) + 0.35rem);
    width: 52px;
    height: 52px;
    gap: 10px;
  }
  body.fm-brand-menu-open .fm-brand-menu-btn {
    width: 52px;
    height: 52px;
    top: calc(var(--frame-w, 30px) + 0.35rem);
    left: calc(var(--frame-w, 30px) + 0.35rem);
  }
  .fm-brand-menu-btn__line { height: 1.5px; margin-left: 2px; }
  .fm-brand-menu-btn__line:nth-child(1) { width: 48px; }
  .fm-brand-menu-btn__line:nth-child(2) { width: 34px; }
  .fm-brand-menu-btn__line:nth-child(3) { width: 22px; }
  .fm-brand-menu-btn.is-open .fm-brand-menu-btn__line:nth-child(1) {
    width: 32px;
    margin-left: 10px;
    transform: translateY(11.5px) rotate(45deg);
  }
  .fm-brand-menu-btn.is-open .fm-brand-menu-btn__line:nth-child(2) {
    width: 32px;
    margin-left: 10px;
  }
  .fm-brand-menu-btn.is-open .fm-brand-menu-btn__line:nth-child(3) {
    width: 32px;
    margin-left: 10px;
    transform: translateY(-11.5px) rotate(-45deg);
  }
    .fm-brand-menu__tiles {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(5, 1fr);
  }
  .fm-brand-menu__panel {
    justify-content: flex-start;
    padding: 5.5rem 1.25rem 2.5rem;
  }
  .fm-brand-menu__nav {
    margin-top: 0;
  }
}

/* ==================================================
   Brand seasonal/solid bg + dots + weather (merged today)
================================================== */
.fm-brand {
  overflow: hidden;
}
.fm-brand__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: #5069cc;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transition: opacity 0.6s ease, background-image 0.6s ease, background-color 0.6s ease;
  pointer-events: none;
}
.fm-brand__dots {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.22) 1px, transparent 1px);
  background-size: 10px 10px;
}
.fm-brand__center,
.fm-brand__tagline {
  position: relative;
  z-index: 2;
}
.fm-brand.is-mode-solid .fm-brand__bg {
  background-image: none !important;
  background-color: #5069cc;
}
.fm-brand.is-mode-season .fm-brand__bg {
  background-color: transparent;
}
.fm-widget-btn.is-active {
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px #5069cc;
}

.fm-brand__weather-btn {
  position: fixed;
  left: 2.75rem;   /* mirror widgets right: 2.75rem */
  right: auto;
  bottom: 3rem;    /* same as widgets */
  top: auto;
  z-index: 60;
  width: 96px;     /* same as .fm-widget-img */
  height: 96px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  pointer-events: auto;
  box-shadow: none;
  /* Same show timing as .fm-brand-widgets */
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.9s ease 0.5s, transform 0.9s ease 0.5s, visibility 0.9s ease 0.5s;
  overflow: hidden;
  margin: 0;
  line-height: 0;
}
body.fm-loaded:not(.fm-scrolled) .fm-brand__weather-btn {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.fm-brand__weather-btn img {
  display: block;
  width: 96px;
  height: 96px;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.85);
  background: #fff;
  box-sizing: border-box;
}
.fm-brand__weather-btn:hover,
.fm-brand__weather-btn:focus-visible {
  transform: translateY(-2px) scale(1.04);
  opacity: 1;
  outline: none;
}
/* Same fade-out timing as .fm-brand-widgets on scroll */
body.fm-scrolled .fm-brand__weather-btn,
.fm-brand.is-hidden ~ .fm-brand__weather-btn,
body.fm-scrolled .fm-brand ~ .fm-brand__weather-btn {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s ease;
}
@media (max-width: 720px) {
  .fm-brand__weather-btn {
    left: 1.5rem;
    bottom: 2rem;
    width: 76px;
    height: 76px;
  }
  .fm-brand__weather-btn img {
    width: 76px;
    height: 76px;
  }
}
@media (max-width: 420px) {
  .fm-brand__weather-btn {
    left: 1.15rem;
    bottom: 1.5rem;
    width: 68px;
    height: 68px;
  }
  .fm-brand__weather-btn img {
    width: 68px;
    height: 68px;
  }
}

.fm-weather {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: flex;
  align-items: stretch;
  justify-content: center;
  background: rgba(15, 20, 40, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: max(0.75rem, env(safe-area-inset-top)) max(0.75rem, env(safe-area-inset-right)) max(0.75rem, env(safe-area-inset-bottom)) max(0.75rem, env(safe-area-inset-left));
  box-sizing: border-box;
}
.fm-weather[hidden] { display: none !important; }
.fm-weather__panel {
  width: min(1100px, 100%);
  max-height: 100%;
  margin: auto;
  background: linear-gradient(180deg, #f7fbff 0%, #ffffff 40%);
  border-radius: 16px;
  border: 3px solid #3b82c4;
  box-shadow: 0 16px 48px rgba(0,0,0,0.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.fm-weather__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: linear-gradient(90deg, #4aa3e8 0%, #7ec8f5 100%);
  color: #fff;
}
.fm-weather__head-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}
.fm-weather__mascot {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  object-fit: cover;
}
.fm-weather__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.fm-weather__close {
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
.fm-weather__ask {
  padding: 2.5rem 1.5rem;
  text-align: center;
}
.fm-weather__ask-text {
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #1a3a5c;
  font-weight: 600;
}
.fm-weather__ask-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
}
.fm-weather__btn {
  min-width: 7.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  border: 2px solid #3b82c4;
  font: inherit;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
}
.fm-weather__btn--yes { background: #3b82c4; color: #fff; }
.fm-weather__btn--no { background: #fff; color: #3b82c4; }
.fm-weather__body {
  padding: 0.75rem 1rem 1.25rem;
  overflow: auto;
  flex: 1;
  min-height: 0;
}
.fm-weather__body[hidden],
.fm-weather__ask[hidden] { display: none !important; }
.fm-weather__hint {
  margin: 0 0 0.75rem;
  font-size: 0.88rem;
  color: #3a5a7a;
  text-align: center;
}
.fm-weather__layout {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 1rem;
  align-items: start;
}
@media (max-width: 820px) {
  .fm-weather__layout { grid-template-columns: 1fr; }
}
.fm-weather__map-wrap {
  background: #fff;
  border: 2px solid #c5dff3;
  border-radius: 12px;
  padding: 0.75rem;
  overflow: auto;
}
.fm-weather__map {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 4px;
  min-width: 320px;
}
.fm-weather__pref {
  appearance: none;
  border: 0;
  border-radius: 6px;
  padding: 0.55rem 0.2rem;
  font-size: 0.68rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
  cursor: pointer;
  min-height: 2.4rem;
}
.fm-weather__pref:hover,
.fm-weather__pref:focus-visible {
  filter: brightness(1.08);
  outline: none;
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px #3b82c4;
}
.fm-weather__pref.is-active {
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px #1d4ed8;
}
.fm-weather__pref[data-region="hokkaido"] { background: #5b8fc7; }
.fm-weather__pref[data-region="tohoku"] { background: #5bb8c9; }
.fm-weather__pref[data-region="kanto"] { background: #6ec9c4; }
.fm-weather__pref[data-region="chubu"] { background: #8bc34a; }
.fm-weather__pref[data-region="kinki"] { background: #f0b429; }
.fm-weather__pref[data-region="chugoku"] { background: #f29b3a; }
.fm-weather__pref[data-region="shikoku"] { background: #e88a9a; }
.fm-weather__pref[data-region="kyushu"] { background: #e06b6b; }
.fm-weather__pref[data-region="okinawa"] { background: #d45c5c; }
.fm-weather__pref[data-code="01"] { grid-column: 10 / span 2; grid-row: 1 / span 2; min-height: 3.4rem; }
.fm-weather__pref[data-code="02"] { grid-column: 10; grid-row: 3; }
.fm-weather__pref[data-code="03"] { grid-column: 11; grid-row: 3; }
.fm-weather__pref[data-code="05"] { grid-column: 10; grid-row: 4; }
.fm-weather__pref[data-code="04"] { grid-column: 11; grid-row: 4; }
.fm-weather__pref[data-code="06"] { grid-column: 10; grid-row: 5; }
.fm-weather__pref[data-code="07"] { grid-column: 11; grid-row: 5; }
.fm-weather__pref[data-code="10"] { grid-column: 10; grid-row: 6; }
.fm-weather__pref[data-code="09"] { grid-column: 11; grid-row: 6; }
.fm-weather__pref[data-code="08"] { grid-column: 12; grid-row: 6; }
.fm-weather__pref[data-code="11"] { grid-column: 10 / span 2; grid-row: 7; }
.fm-weather__pref[data-code="12"] { grid-column: 12; grid-row: 7 / span 2; }
.fm-weather__pref[data-code="13"] { grid-column: 11; grid-row: 8; }
.fm-weather__pref[data-code="14"] { grid-column: 10; grid-row: 8; }
.fm-weather__pref[data-code="15"] { grid-column: 9; grid-row: 5; }
.fm-weather__pref[data-code="16"] { grid-column: 8; grid-row: 5; }
.fm-weather__pref[data-code="17"] { grid-column: 7; grid-row: 5; }
.fm-weather__pref[data-code="18"] { grid-column: 7; grid-row: 6; }
.fm-weather__pref[data-code="20"] { grid-column: 8 / span 2; grid-row: 6; }
.fm-weather__pref[data-code="21"] { grid-column: 8; grid-row: 7; }
.fm-weather__pref[data-code="19"] { grid-column: 9; grid-row: 7; }
.fm-weather__pref[data-code="23"] { grid-column: 8; grid-row: 8; }
.fm-weather__pref[data-code="22"] { grid-column: 9; grid-row: 8; }
.fm-weather__pref[data-code="24"] { grid-column: 7; grid-row: 7 / span 2; }
.fm-weather__pref[data-code="25"] { grid-column: 7; grid-row: 6; }
.fm-weather__pref[data-code="26"] { grid-column: 6; grid-row: 6; }
.fm-weather__pref[data-code="28"] { grid-column: 6; grid-row: 5; }
.fm-weather__pref[data-code="27"] { grid-column: 6; grid-row: 7; }
.fm-weather__pref[data-code="29"] { grid-column: 6; grid-row: 8; }
.fm-weather__pref[data-code="30"] { grid-column: 6; grid-row: 9; }
.fm-weather__pref[data-code="31"] { grid-column: 5; grid-row: 5; }
.fm-weather__pref[data-code="32"] { grid-column: 4; grid-row: 5; }
.fm-weather__pref[data-code="33"] { grid-column: 5; grid-row: 6; }
.fm-weather__pref[data-code="34"] { grid-column: 4; grid-row: 6; }
.fm-weather__pref[data-code="35"] { grid-column: 3; grid-row: 5; }
.fm-weather__pref[data-code="37"] { grid-column: 5; grid-row: 7; }
.fm-weather__pref[data-code="36"] { grid-column: 5; grid-row: 8; }
.fm-weather__pref[data-code="38"] { grid-column: 4; grid-row: 7; }
.fm-weather__pref[data-code="39"] { grid-column: 4; grid-row: 8; }
.fm-weather__pref[data-code="42"] { grid-column: 1; grid-row: 5; }
.fm-weather__pref[data-code="41"] { grid-column: 2; grid-row: 5; }
.fm-weather__pref[data-code="40"] { grid-column: 3; grid-row: 5; }
.fm-weather__pref[data-code="44"] { grid-column: 3; grid-row: 6; }
.fm-weather__pref[data-code="43"] { grid-column: 2; grid-row: 6; }
.fm-weather__pref[data-code="45"] { grid-column: 3; grid-row: 7; }
.fm-weather__pref[data-code="46"] { grid-column: 1 / span 2; grid-row: 7; }
.fm-weather__pref[data-code="47"] { grid-column: 1; grid-row: 9; }
.fm-weather__detail {
  background: #fff;
  border: 2px solid #c5dff3;
  border-radius: 12px;
  padding: 1rem;
  min-height: 220px;
}
.fm-weather__detail-empty { margin: 2rem 0; text-align: center; color: #6a849c; }
.fm-weather__place { margin: 0 0 0.35rem; font-size: 1.15rem; font-weight: 700; color: #1a3a5c; }
.fm-weather__subplace { margin: 0 0 1rem; font-size: 0.85rem; color: #5a7a9a; }
.fm-weather__now {
  display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem;
  padding: 0.85rem; background: linear-gradient(135deg, #e8f4fc, #f7fbff); border-radius: 10px;
}
.fm-weather__temp { font-size: 2rem; font-weight: 700; color: #1a3a5c; }
.fm-weather__desc { font-size: 0.95rem; color: #2a4a6a; font-weight: 600; }
.fm-weather__days { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.fm-weather__day {
  display: grid; grid-template-columns: 4.5rem 1fr auto; gap: 0.5rem; align-items: center;
  padding: 0.45rem 0.35rem; border-bottom: 1px solid #e8f0f8; font-size: 0.85rem; color: #2a4a6a;
}
.fm-weather__day-date { font-weight: 600; }
.fm-weather__day-temp { font-weight: 700; white-space: nowrap; }
.fm-weather__loading, .fm-weather__error { margin: 1.5rem 0; text-align: center; color: #5a7a9a; }
.fm-weather__error { color: #c0392b; }

/* ==================================================
   One-screen brand chrome (mockup) + sheets
================================================== */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@500;600;700&family=Zen+Kaku+Gothic+New:wght@400;500;700&display=swap');

.fm-corner {
  position: fixed;
  z-index: 62;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.9s ease 0.5s, transform 0.9s ease 0.5s, visibility 0.9s ease 0.5s;
}
body.fm-loaded:not(.fm-scrolled) .fm-corner {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
body.fm-scrolled .fm-corner {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s ease;
}
.fm-corner--tl {
  top: calc(var(--frame-w, 30px) + 0.65rem);
  left: calc(var(--frame-w, 30px) + 0.65rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}
.fm-corner--tr {
  top: calc(var(--frame-w, 30px) + 0.65rem);
  right: calc(var(--frame-w, 30px) + 0.65rem);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.85rem;
}
.fm-corner__icon-btn {
  pointer-events: auto;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: #0f0f0f;
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow:
    0 4px 0 #2a2a2a,
    0 8px 18px rgba(0,0,0,0.28),
    inset 0 1px 0 rgba(255,255,255,0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  padding: 0;
}
.fm-corner__icon-btn:hover,
.fm-corner__icon-btn:focus-visible {
  transform: translateY(-2px);
  box-shadow:
    0 6px 0 #2a2a2a,
    0 12px 22px rgba(0,0,0,0.32),
    inset 0 1px 0 rgba(255,255,255,0.2);
  outline: none;
}
.fm-corner__icon-btn:active {
  transform: translateY(2px);
  box-shadow:
    0 1px 0 #2a2a2a,
    0 4px 10px rgba(0,0,0,0.25);
}
.fm-corner__icon-btn--mail {
  background: #fff;
  color: #0f0f0f;
  box-shadow:
    0 4px 0 #c8c8c8,
    0 8px 18px rgba(0,0,0,0.22),
    inset 0 1px 0 rgba(255,255,255,0.9);
}
.fm-corner__icon-btn--mail:hover,
.fm-corner__icon-btn--mail:focus-visible {
  box-shadow:
    0 6px 0 #c8c8c8,
    0 12px 22px rgba(0,0,0,0.28);
}
.fm-corner__icon-3d {
  font-family: 'Oswald', 'Zen Kaku Gothic New', sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  line-height: 1;
  display: grid;
  place-items: center;
}
.fm-corner__icon-btn--news .fm-corner__icon-3d {
  font-size: 1.25rem;
  font-style: italic;
  font-family: Georgia, 'Times New Roman', serif;
}
.fm-corner__hint--up {
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  color: rgba(255,255,255,0.92);
  margin-left: 0.35rem;
}
.fm-corner__arrow {
  font-size: 1.1rem;
  line-height: 1;
  font-weight: 600;
}
.fm-corner__label {
  writing-mode: vertical-rl;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  font-weight: 500;
  font-family: 'Zen Kaku Gothic New', sans-serif;
}
.fm-corner__row {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  color: #fff;
}
.fm-corner__row-hint {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.1rem;
}
.fm-corner__arrow-h {
  font-size: 1rem;
  line-height: 1;
  opacity: 0.95;
}
.fm-corner__label-h {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 500;
}

/* Text widgets bottom-right (mock) */
.fm-widget-btn--text {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: #fff;
  color: #0f0f0f;
  display: grid;
  place-items: center;
  box-shadow:
    0 4px 0 #d0d0d0,
    0 10px 20px rgba(0,0,0,0.18);
  border: 0;
}
.fm-widget-btn--text .fm-widget-text {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: center;
  line-height: 1.35;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  padding: 0 0.35rem;
}
@media (max-width: 720px) {
  .fm-widget-btn--text { width: 72px; height: 72px; }
  .fm-widget-btn--text .fm-widget-text { font-size: 0.62rem; }
  .fm-corner__icon-btn { width: 46px; height: 46px; }
}
@media (max-width: 420px) {
  .fm-widget-btn--text { width: 64px; height: 64px; }
  .fm-corner--tl { left: calc(var(--frame-w, 15px) + 0.45rem); top: calc(var(--frame-w, 15px) + 0.45rem); }
  .fm-corner--tr { right: calc(var(--frame-w, 15px) + 0.45rem); top: calc(var(--frame-w, 15px) + 0.45rem); }
}

/* Sheets (contact / news / blog) — angular */
.fm-sheet {
  position: fixed;
  inset: 0;
  z-index: 350;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(0.75rem, env(safe-area-inset-top)) max(0.75rem, env(safe-area-inset-right)) max(0.75rem, env(safe-area-inset-bottom)) max(0.75rem, env(safe-area-inset-left));
  box-sizing: border-box;
}
.fm-sheet[hidden] { display: none !important; }
.fm-sheet__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 14, 30, 0.55);
  backdrop-filter: blur(4px);
}
.fm-sheet__panel {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  max-height: min(88vh, 820px);
  overflow: auto;
  background: #fff;
  color: #0f0f0f;
  /* sharp diagonal corners */
  clip-path: polygon(
    14px 0,
    calc(100% - 14px) 0,
    100% 14px,
    100% calc(100% - 14px),
    calc(100% - 14px) 100%,
    14px 100%,
    0 calc(100% - 14px),
    0 14px
  );
  box-shadow: 0 20px 50px rgba(0,0,0,0.28);
  padding: 1.35rem 1.25rem 1.5rem;
}
.fm-sheet__panel--feed {
  width: min(640px, 100%);
}
.fm-sheet__close {
  position: absolute;
  top: 0.65rem;
  right: 0.75rem;
  width: 2rem;
  height: 2rem;
  border: 0;
  background: transparent;
  font-size: 1.4rem;
  cursor: pointer;
  color: #0f0f0f;
}
.fm-sheet__title {
  margin: 0 0 1rem;
  font-family: 'Oswald', 'Zen Kaku Gothic New', sans-serif;
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: 1.35rem;
}
.fm-sheet__title--blog {
  font-size: 1.5rem;
  letter-spacing: 0.16em;
}
.fm-sheet__title--news {
  letter-spacing: 0.2em;
}

/* Angular contact form fields */
.fm-sheet__body--contact .contact-form input,
.fm-sheet__body--contact .contact-form select,
.fm-sheet__body--contact .contact-form textarea,
.fm-sheet__panel--contact input,
.fm-sheet__panel--contact select,
.fm-sheet__panel--contact textarea {
  border-radius: 0 !important;
  clip-path: polygon(
    8px 0,
    calc(100% - 8px) 0,
    100% 8px,
    100% calc(100% - 8px),
    calc(100% - 8px) 100%,
    8px 100%,
    0 calc(100% - 8px),
    0 8px
  );
  border: 1.5px solid #0f0f0f !important;
  background: #fafafa !important;
}
.fm-sheet__body--contact .btn--primary,
.fm-sheet__body--contact button[type="submit"],
.fm-sheet__panel--contact .btn--primary {
  border-radius: 0 !important;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  background: #0f0f0f !important;
  color: #fff !important;
  border: 0 !important;
  letter-spacing: 0.12em;
  font-family: 'Oswald', 'Zen Kaku Gothic New', sans-serif;
}

/* Feed list / detail */
.fm-feed-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}
.fm-feed-list li {
  margin: 0;
}
.fm-feed-item {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 0.75rem;
  align-items: center;
  width: 100%;
  text-align: left;
  border: 0;
  background: #f6f6f6;
  cursor: pointer;
  padding: 0.55rem;
  color: inherit;
  /* diagonal corners */
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  transition: background 0.2s ease, transform 0.2s ease;
  font-family: 'Zen Kaku Gothic New', sans-serif;
}
.fm-feed-item:hover {
  background: #ececec;
  transform: translateY(-1px);
}
.fm-feed-item--news {
  grid-template-columns: 1fr;
  padding: 0.85rem 1rem;
}
.fm-feed-item__thumb {
  width: 88px;
  height: 66px;
  object-fit: cover;
  display: block;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  background: #ddd;
}
.fm-feed-item__meta {
  min-width: 0;
}
.fm-feed-item__date {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: #666;
  margin: 0 0 0.25rem;
  font-family: 'Oswald', sans-serif;
}
.fm-feed-item__title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.02em;
}
.fm-feed-detail__title {
  font-family: 'Oswald', 'Zen Kaku Gothic New', sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 1.35rem;
  line-height: 1.35;
  margin: 0 0 0.85rem;
}
.fm-feed-detail__date {
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.1em;
  color: #666;
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
}
.fm-feed-detail__body {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 0.95rem;
  line-height: 1.9;
  color: #222;
  white-space: pre-wrap;
}
.fm-feed-detail__thumb {
  margin: 0 0 1rem;
}
.fm-feed-detail__thumb img {
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  display: block;
  clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
}
.fm-feed-back {
  border: 0;
  background: transparent;
  cursor: pointer;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 0.85rem;
  margin: 0 0 1rem;
  padding: 0;
  letter-spacing: 0.06em;
}

/* Blog list on main page — diagonal thumbs + fonts */
.fm-blog .fm-simple-list a,
.fm-news .fm-simple-list a {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.fm-blog .fm-heading,
.fm-news .fm-heading {
  font-family: 'Oswald', 'Zen Kaku Gothic New', sans-serif;
  letter-spacing: 0.16em;
}
.fm-blog img,
.archive-anoine_blog img,
.single-anoine_blog .post-thumbnail img,
.single-anoine_blog .entry-thumbnail img,
body.single-anoine_blog .wp-post-image {
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px) !important;
  border-radius: 0 !important;
}

/* ==================================================
   Corner icons — flat (no 3D, no arrows/labels)
================================================== */
.fm-corner__hint,
.fm-corner__row-hint,
.fm-corner__arrow,
.fm-corner__arrow-h,
.fm-corner__label,
.fm-corner__label-h {
  display: none !important;
}
.fm-corner--tl {
  gap: 0;
}
.fm-corner--tr {
  gap: 0.75rem;
}
.fm-corner__icon-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #0f0f0f;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.9);
  box-shadow: none !important;
  transform: none !important;
  display: grid;
  place-items: center;
  padding: 0;
  cursor: pointer;
  pointer-events: auto;
  transition: opacity 0.2s ease, background 0.2s ease;
}
.fm-corner__icon-btn:hover,
.fm-corner__icon-btn:focus-visible {
  opacity: 0.88;
  transform: none !important;
  box-shadow: none !important;
  outline: none;
}
.fm-corner__icon-btn:active {
  transform: none !important;
  box-shadow: none !important;
}
.fm-corner__icon-btn--mail {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.fm-corner__icon-btn--mail .fm-corner__mail-svg {
  display: block;
}
.fm-corner__glyph {
  font-family: 'Oswald', 'Zen Kaku Gothic New', sans-serif;
  font-style: normal;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.1;
  text-align: center;
}
.fm-corner__glyph--blog,
.fm-corner__glyph--about,
.fm-corner__glyph--news {
  font-family: 'Oswald', 'Zen Kaku Gothic New', sans-serif;
  font-style: normal;
  font-size: 0.55rem;
  letter-spacing: 0.04em;
}
.fm-corner__row {
  display: block;
  background: transparent;
  border: 0;
  padding: 0;
  pointer-events: auto;
  cursor: pointer;
}

/* Contact form inside tile menu panel — Gundam + top visible */
.fm-brand-menu.is-open {
  align-items: stretch;
  justify-content: stretch;
}
.fm-brand-menu__panel--contact {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  /* scroll from the top — do not center-clip */
  display: block;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 0;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease 0.55s, transform 0.55s ease 0.55s;
  color: #0f0f0f;
  box-sizing: border-box;
}
.fm-brand-menu.is-open.is-settled .fm-brand-menu__panel--contact {
  opacity: 1;
  transform: translateY(0);
}
/* Override generic panel centering that clipped the top */
.fm-brand-menu .fm-brand-menu__panel.fm-brand-menu__panel--contact {
  justify-content: flex-start;
  align-items: stretch;
  padding: 0;
  height: 100%;
  width: 100%;
}
.fm-brand-menu__contact-inner {
  width: min(560px, 92vw);
  margin: 0 auto;
  padding: 3.5rem 1.25rem 2.5rem;
  box-sizing: border-box;
  position: relative;
}
@media (min-width: 900px) {
  .fm-brand-menu__contact-inner {
    width: min(720px, 88vw); /* PC: a bit wider */
    padding: 4rem 2rem 3rem;
  }
}
.fm-brand-menu__title {
  margin: 0 0 1.25rem;
  font-family: 'Oswald', 'Zen Kaku Gothic New', sans-serif;
  font-weight: 700;
  letter-spacing: 0.18em;
  font-size: 1.4rem;
  text-align: left;
  padding: 0.35rem 0 0.35rem 0.85rem;
  border-left: 3px solid #0f0f0f;
  position: relative;
}
.fm-brand-menu__title::after {
  content: "";
  display: block;
  width: 4.5rem;
  height: 2px;
  background: #5069cc;
  margin-top: 0.55rem;
}
.fm-brand-menu__close {
  position: sticky;
  top: 0.75rem;
  float: right;
  margin: 0.75rem 0.85rem 0 0;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(15,15,15,0.35);
  background: #fff;
  font-size: 1.35rem;
  cursor: pointer;
  color: #0f0f0f;
  z-index: 5;
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
  border-radius: 0;
}
.fm-brand-menu__close:hover {
  background: #0f0f0f;
  color: #fff;
}
/* Gundam frame around contact block */
.fm-brand-menu__contact {
  position: relative;
  border: 1px solid rgba(15,15,15,0.2);
  padding: 1.25rem 1rem 1.5rem;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, rgba(80,105,204,0.15), transparent 40%) border-box;
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
}
.fm-brand-menu__contact::before,
.fm-brand-menu__contact::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  pointer-events: none;
}
.fm-brand-menu__contact::before {
  top: 6px; left: 6px;
  border-top: 2px solid #5069cc;
  border-left: 2px solid #5069cc;
}
.fm-brand-menu__contact::after {
  bottom: 6px; right: 6px;
  border-bottom: 2px solid #5069cc;
  border-right: 2px solid #5069cc;
}
.fm-brand-menu__contact .contact-form label,
.fm-brand-menu__contact .contact-faq__lead,
.fm-brand-menu__contact .contact-faq__q-text {
  font-family: 'Zen Kaku Gothic New', system-ui, sans-serif;
  letter-spacing: 0.04em;
}
.fm-brand-menu__contact .contact-form input,
.fm-brand-menu__contact .contact-form select,
.fm-brand-menu__contact .contact-form textarea {
  border-radius: 0 !important;
  clip-path: polygon(8px 0, calc(100% - 8px) 0, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0 calc(100% - 8px), 0 8px);
  border: 1.5px solid #0f0f0f !important;
  background: #f7f8fc !important;
}
.fm-brand-menu__contact .contact-form input:focus,
.fm-brand-menu__contact .contact-form select:focus,
.fm-brand-menu__contact .contact-form textarea:focus {
  border-color: #5069cc !important;
  outline: none;
  box-shadow: 0 0 0 1px #5069cc;
}
.fm-brand-menu__contact .btn--primary,
.fm-brand-menu__contact button[type="submit"] {
  border-radius: 0 !important;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  background: #0f0f0f !important;
  color: #fff !important;
  letter-spacing: 0.14em;
  font-family: 'Oswald', 'Zen Kaku Gothic New', sans-serif;
}
.fm-brand-menu__contact .contact-faq__item {
  border: 1px solid rgba(15,15,15,0.15);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  margin-bottom: 0.5rem;
  background: #fafbff;
}
.fm-brand-menu__contact .contact-faq__q {
  width: 100%;
  text-align: left;
}


/* ==================================================
   Gundam-style full-screen sheets (NEWS / BLOG)
   Based on top-page palette + mechanical hatch
================================================== */
.fm-sheet.fm-sheet--gundam {
  padding: 0;
  align-items: stretch;
  justify-content: stretch;
}
.fm-sheet.fm-sheet--gundam[hidden] {
  display: none !important;
}
.fm-sheet.fm-sheet--gundam.is-open,
.fm-sheet.fm-sheet--gundam.is-closing {
  display: flex !important;
}
.fm-sheet--gundam .fm-sheet__backdrop {
  background: rgba(12, 18, 40, 0.72);
  opacity: 0;
  transition: opacity 1.1s ease;
}
.fm-sheet--gundam.is-open .fm-sheet__backdrop {
  opacity: 1;
}
.fm-sheet--gundam.is-closing .fm-sheet__backdrop {
  opacity: 0;
  transition-duration: 1.2s;
}

/* Four mechanical hatch panels */
.fm-sheet__hatch {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.fm-sheet__hatch-panel {
  position: absolute;
  background: #5069cc;
  background-image:
    radial-gradient(rgba(255,255,255,0.14) 1px, transparent 1px),
    linear-gradient(135deg, rgba(255,255,255,0.08) 0%, transparent 40%);
  background-size: 10px 10px, auto;
  border: 1px solid rgba(255,255,255,0.25);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.15);
  transition: transform 1.25s cubic-bezier(0.7, 0.05, 0.2, 1);
}
.fm-sheet__hatch-panel--tl {
  top: 0; left: 0; width: 52%; height: 52%;
  clip-path: polygon(0 0, 100% 0, 100% 78%, 78% 100%, 0 100%);
  transform: translate(-102%, -102%);
}
.fm-sheet__hatch-panel--tr {
  top: 0; right: 0; width: 52%; height: 52%;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 22% 100%, 0 78%);
  transform: translate(102%, -102%);
}
.fm-sheet__hatch-panel--bl {
  bottom: 0; left: 0; width: 52%; height: 52%;
  clip-path: polygon(0 0, 78% 0, 100% 22%, 100% 100%, 0 100%);
  transform: translate(-102%, 102%);
}
.fm-sheet__hatch-panel--br {
  bottom: 0; right: 0; width: 52%; height: 52%;
  clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%, 0 22%);
  transform: translate(102%, 102%);
}
.fm-sheet--gundam.is-open .fm-sheet__hatch-panel--tl,
.fm-sheet--gundam.is-open .fm-sheet__hatch-panel--tr,
.fm-sheet--gundam.is-open .fm-sheet__hatch-panel--bl,
.fm-sheet--gundam.is-open .fm-sheet__hatch-panel--br {
  transform: translate(0, 0);
}
.fm-sheet--gundam.is-open .fm-sheet__hatch-panel--tl { transition-delay: 0.05s; }
.fm-sheet--gundam.is-open .fm-sheet__hatch-panel--tr { transition-delay: 0.18s; }
.fm-sheet--gundam.is-open .fm-sheet__hatch-panel--bl { transition-delay: 0.3s; }
.fm-sheet--gundam.is-open .fm-sheet__hatch-panel--br { transition-delay: 0.42s; }
/* Close: reverse outward */
.fm-sheet--gundam.is-closing .fm-sheet__hatch-panel--tl {
  transform: translate(-102%, -102%);
  transition-delay: 0.35s;
}
.fm-sheet--gundam.is-closing .fm-sheet__hatch-panel--tr {
  transform: translate(102%, -102%);
  transition-delay: 0.25s;
}
.fm-sheet--gundam.is-closing .fm-sheet__hatch-panel--bl {
  transform: translate(-102%, 102%);
  transition-delay: 0.15s;
}
.fm-sheet--gundam.is-closing .fm-sheet__hatch-panel--br {
  transform: translate(102%, 102%);
  transition-delay: 0.05s;
}

.fm-sheet__scan {
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  top: -2px;
  background: linear-gradient(90deg, transparent, #fff, transparent);
  opacity: 0;
  z-index: 2;
}
.fm-sheet--gundam.is-open .fm-sheet__scan {
  opacity: 0.85;
  animation: fmGundamScan 1.6s ease-in-out 0.4s 1 forwards;
}
.fm-sheet--gundam.is-closing .fm-sheet__scan {
  opacity: 0;
  animation: none;
}
@keyframes fmGundamScan {
  0% { top: 0; opacity: 0; }
  10% { opacity: 0.9; }
  100% { top: 100%; opacity: 0; }
}
.fm-sheet__grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  transition: opacity 1s ease 0.6s;
  pointer-events: none;
}
.fm-sheet--gundam.is-open .fm-sheet__grid {
  opacity: 1;
}
.fm-sheet--gundam.is-closing .fm-sheet__grid {
  opacity: 0;
  transition-delay: 0s;
  transition-duration: 0.6s;
}

/* Full-screen panel content */
.fm-sheet--gundam .fm-sheet__panel {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: none;
  max-height: none;
  height: 100%;
  margin: 0;
  border-radius: 0;
  clip-path: none;
  background: transparent;
  color: #fff;
  padding: calc(var(--frame-w, 30px) + 1.25rem) clamp(1rem, 4vw, 2.5rem) 2rem;
  opacity: 0;
  transform: translateY(24px) scale(0.98);
  transition: opacity 0.9s ease 0.85s, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.85s;
  box-shadow: none;
  overflow: auto;
}
.fm-sheet--gundam.is-open .fm-sheet__panel {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.fm-sheet--gundam.is-closing .fm-sheet__panel {
  opacity: 0;
  transform: translateY(16px) scale(0.98);
  transition-delay: 0s;
  transition-duration: 0.7s;
}
.fm-sheet--gundam .fm-sheet__title {
  color: #fff;
  text-shadow: 0 0 20px rgba(255,255,255,0.25);
  position: relative;
  padding-left: 0.85rem;
  border-left: 3px solid #fff;
  letter-spacing: 0.22em;
  opacity: 0;
  transform: translateX(-18px);
  transition: opacity 0.8s ease 1.05s, transform 0.8s ease 1.05s;
}
.fm-sheet--gundam.is-open .fm-sheet__title {
  opacity: 1;
  transform: translateX(0);
}
.fm-sheet--gundam.is-closing .fm-sheet__title {
  opacity: 0;
  transition-delay: 0s;
}
.fm-sheet--gundam .fm-sheet__close {
  color: #fff;
  border: 1px solid rgba(255,255,255,0.55);
  background: rgba(0,0,0,0.2);
  border-radius: 0;
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
  top: calc(var(--frame-w, 30px) + 0.85rem);
  right: calc(var(--frame-w, 30px) + 0.85rem);
  width: 2.5rem;
  height: 2.5rem;
  z-index: 5;
}

/* Feed items on Gundam sheet */
.fm-sheet--gundam .fm-feed-item {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.28);
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  opacity: 0;
  transform: translateY(20px);
  animation: fmGundamItemIn 0.75s ease forwards;
}
.fm-sheet--gundam.is-open .fm-feed-list li:nth-child(1) .fm-feed-item { animation-delay: 1.15s; }
.fm-sheet--gundam.is-open .fm-feed-list li:nth-child(2) .fm-feed-item { animation-delay: 1.25s; }
.fm-sheet--gundam.is-open .fm-feed-list li:nth-child(3) .fm-feed-item { animation-delay: 1.35s; }
.fm-sheet--gundam.is-open .fm-feed-list li:nth-child(4) .fm-feed-item { animation-delay: 1.45s; }
.fm-sheet--gundam.is-open .fm-feed-list li:nth-child(5) .fm-feed-item { animation-delay: 1.55s; }
.fm-sheet--gundam.is-open .fm-feed-list li:nth-child(n+6) .fm-feed-item { animation-delay: 1.65s; }
@keyframes fmGundamItemIn {
  to { opacity: 1; transform: translateY(0); }
}
.fm-sheet--gundam .fm-feed-item:hover {
  background: rgba(255,255,255,0.18);
}
.fm-sheet--gundam .fm-feed-item__date,
.fm-sheet--gundam .fm-feed-detail__date {
  color: rgba(255,255,255,0.7);
}
.fm-sheet--gundam .fm-feed-detail__title,
.fm-sheet--gundam .fm-feed-detail__body,
.fm-sheet--gundam .fm-feed-back {
  color: #fff;
}
.fm-sheet--gundam .fm-feed-back {
  border-bottom: 1px solid rgba(255,255,255,0.35);
  padding-bottom: 0.25rem;
}

/* ==================================================
   Archive / single — Gundam feel on top-page base
================================================== */
body.archive-blog-page .fm-section,
body.archive-news-page .fm-section,
body.entry-single-page .fm-section,
body.single-anoine_blog .fm-section,
body.single-anoine_news .fm-section {
  position: relative;
}
body.archive-blog-page .fm-heading,
body.archive-news-page .fm-heading,
body.entry-single-page .fm-heading,
body.archive-blog-page .entry-title,
body.archive-news-page .entry-title,
body.entry-single-page .entry-title,
body.single-anoine_blog .entry-title,
body.single-anoine_news .entry-title {
  font-family: 'Oswald', 'Zen Kaku Gothic New', system-ui, sans-serif;
  letter-spacing: 0.18em;
  position: relative;
  padding-left: 0.85rem;
  border-left: 3px solid currentColor;
}
/* Reveal animations (heading + body) */
body.archive-blog-page [data-reveal],
body.archive-news-page [data-reveal],
body.entry-single-page [data-reveal],
body.single-anoine_blog [data-reveal],
body.single-anoine_news [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.4s ease, transform 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}
body.archive-blog-page [data-reveal].is-in,
body.archive-news-page [data-reveal].is-in,
body.entry-single-page [data-reveal].is-in,
body.single-anoine_blog [data-reveal].is-in,
body.single-anoine_news [data-reveal].is-in {
  opacity: 1;
  transform: translateY(0);
}
body.archive-blog-page .fm-simple-item,
body.archive-news-page .fm-simple-item {
  position: relative;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  border: 1px solid rgba(15,15,15,0.12);
  transition: background 0.25s ease, border-color 0.25s ease;
}
body.archive-blog-page .fm-simple-item:hover,
body.archive-news-page .fm-simple-item:hover {
  border-color: rgba(80,105,204,0.45);
}
body.archive-blog-page .fm-simple-list a,
body.archive-news-page .fm-simple-list a,
body.entry-single-page .entry-content,
body.single-anoine_blog .entry-content,
body.single-anoine_news .entry-content {
  font-family: 'Zen Kaku Gothic New', system-ui, sans-serif;
  letter-spacing: 0.02em;
}
/* Mechanical frame corners on content card */
body.entry-single-page .entry-content,
body.single-anoine_blog .entry-body,
body.single-anoine_news .entry-body,
body.entry-single-page .fm-about__body {
  position: relative;
}
body.entry-single-page .entry-content::before,
body.single-anoine_blog .entry-content::before,
body.single-anoine_news .entry-content::before {
  content: "";
  position: absolute;
  top: -6px; left: -6px;
  width: 18px; height: 18px;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
  opacity: 0.45;
  pointer-events: none;
}
body.entry-single-page .entry-content::after,
body.single-anoine_blog .entry-content::after,
body.single-anoine_news .entry-content::after {
  content: "";
  position: absolute;
  bottom: -6px; right: -6px;
  width: 18px; height: 18px;
  border-bottom: 2px solid currentColor;
  border-right: 2px solid currentColor;
  opacity: 0.45;
  pointer-events: none;
}
/* Diagonal thumbs */
body.archive-blog-page .fm-simple-list img,
body.single-anoine_blog .wp-post-image,
body.entry-single-page .wp-post-image {
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  border-radius: 0;
}

/* ==================================================
   Bird / feather open-close (replace Gundam hatch feel)
================================================== */
.fm-sheet.fm-sheet--bird,
.fm-sheet.fm-sheet--gundam {
  padding: 0;
  align-items: center;
  justify-content: center;
}
.fm-sheet--bird .fm-sheet__backdrop,
.fm-sheet--gundam .fm-sheet__backdrop {
  background: rgba(30, 45, 80, 0.45);
  opacity: 0;
  transition: opacity 0.9s ease;
}
.fm-sheet--bird.is-open .fm-sheet__backdrop,
.fm-sheet--gundam.is-open .fm-sheet__backdrop {
  opacity: 1;
}
.fm-sheet--bird.is-closing .fm-sheet__backdrop,
.fm-sheet--gundam.is-closing .fm-sheet__backdrop {
  opacity: 0;
  transition-duration: 1.1s;
}

/* Hide old hatch/scan/grid if present */
.fm-sheet__hatch,
.fm-sheet__scan,
.fm-sheet__grid {
  display: none !important;
}

/* Feather flock */
.fm-flock {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}
.fm-flock__feather {
  position: absolute;
  width: 28px;
  height: 48px;
  background:
    radial-gradient(ellipse at 50% 20%, #fff 0%, #fff 40%, transparent 70%),
    linear-gradient(180deg, #fff 0%, #e8eef8 55%, transparent 100%);
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  opacity: 0;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.12));
  transform: translate(-50%, -50%) scale(0.4) rotate(0deg);
  left: 50%;
  top: 50%;
}
/* Gather from outside → center on open */
.fm-sheet.is-open .fm-flock__feather,
.fm-brand-menu.is-open .fm-flock__feather {
  animation: fmFeatherGather 1.35s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(var(--i) * 0.07s);
}
/* Fly away on close */
.fm-sheet.is-closing .fm-flock__feather,
.fm-brand-menu.is-closing .fm-flock__feather {
  animation: fmFeatherFlyAway 1.15s cubic-bezier(0.4, 0, 0.6, 1) forwards;
  animation-delay: calc(var(--i) * 0.05s);
}
@keyframes fmFeatherGather {
  0% {
    opacity: 0;
    transform: translate(
        calc(-50% + (var(--i) - 5.5) * 18vw),
        calc(-50% + ((var(--i) % 4) - 1.5) * 22vh)
      ) scale(0.35) rotate(calc(var(--i) * 28deg));
  }
  55% {
    opacity: 0.95;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.2) rotate(calc(var(--i) * 12deg));
  }
}
@keyframes fmFeatherFlyAway {
  0% {
    opacity: 0.85;
    transform: translate(-50%, -50%) scale(0.55) rotate(0deg);
  }
  100% {
    opacity: 0;
    transform: translate(
        calc(-50% + (var(--i) - 5.5) * 28vw),
        calc(-50% - 40vh - (var(--i) % 3) * 10vh)
      ) scale(0.5) rotate(calc(var(--i) * 40deg));
  }
}

/* Centered content panel for bird sheets */
.fm-sheet--bird .fm-sheet__panel,
.fm-sheet--gundam .fm-sheet__panel {
  position: relative;
  z-index: 3;
  width: min(640px, 92vw);
  max-height: min(86vh, 820px);
  height: auto;
  margin: auto;
  background: rgba(255, 255, 255, 0.96);
  color: #0f0f0f;
  border-radius: 0;
  clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
  padding: 1.5rem 1.25rem 1.75rem;
  box-shadow: 0 18px 48px rgba(0,0,0,0.18);
  opacity: 0;
  transform: translateY(20px) scale(0.96);
  transition: opacity 0.85s ease 0.55s, transform 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.55s;
  overflow: auto;
}
.fm-sheet--bird.is-open .fm-sheet__panel,
.fm-sheet--gundam.is-open .fm-sheet__panel {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.fm-sheet--bird.is-closing .fm-sheet__panel,
.fm-sheet--gundam.is-closing .fm-sheet__panel {
  opacity: 0;
  transform: translateY(-12px) scale(0.94);
  transition-delay: 0s;
  transition-duration: 0.65s;
}
.fm-sheet--bird .fm-sheet__title,
.fm-sheet--gundam .fm-sheet__title {
  color: #0f0f0f;
  text-shadow: none;
  border-left-color: #5069cc;
  opacity: 1;
  transform: none;
}
.fm-sheet--bird .fm-sheet__close,
.fm-sheet--gundam .fm-sheet__close {
  color: #0f0f0f;
  border-color: rgba(15,15,15,0.3);
  background: #fff;
  top: 0.85rem;
  right: 0.85rem;
}
.fm-sheet--bird .fm-feed-item,
.fm-sheet--gundam .fm-feed-item {
  background: #f4f6fb;
  color: #0f0f0f;
  border-color: rgba(15,15,15,0.12);
  animation: none;
  opacity: 1;
  transform: none;
}
.fm-sheet--bird .fm-feed-item__date,
.fm-sheet--bird .fm-feed-detail__date,
.fm-sheet--bird .fm-feed-detail__title,
.fm-sheet--bird .fm-feed-detail__body,
.fm-sheet--bird .fm-feed-back {
  color: inherit;
}
.fm-sheet--bird .fm-feed-item__date { color: #666; }
.fm-sheet--bird .fm-feed-back { color: #0f0f0f; }

/* Contact panel centered */
.fm-brand-menu.is-open {
  align-items: center;
  justify-content: center;
}
.fm-brand-menu .fm-brand-menu__panel.fm-brand-menu__panel--contact {
  width: min(560px, 92vw);
  height: auto;
  max-height: min(86vh, 820px);
  margin: auto;
  justify-content: flex-start;
}
@media (min-width: 900px) {
  .fm-brand-menu .fm-brand-menu__panel.fm-brand-menu__panel--contact {
    width: min(720px, 88vw);
  }
}
.fm-brand-menu__contact-inner {
  width: 100%;
  max-width: none;
  padding: 2.5rem 1.25rem 2rem;
}
@media (min-width: 900px) {
  .fm-brand-menu__contact-inner {
    padding: 3rem 2rem 2.5rem;
  }
}

/* Soft white settle bg for contact (keep tiles then soft) */
.fm-brand-menu.is-open.is-settled {
  background: rgba(245, 248, 255, 0.92);
}

/* White dove — bottom left, random-ish motion when open */
.fm-dove {
  position: absolute;
  left: max(1rem, env(safe-area-inset-left));
  bottom: max(1.25rem, env(safe-area-inset-bottom));
  z-index: 4;
  width: 56px;
  height: 42px;
  opacity: 0;
  pointer-events: none;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.15));
  transition: opacity 0.6s ease;
}
.fm-sheet.is-open .fm-dove,
.fm-brand-menu.is-open.is-settled .fm-dove {
  opacity: 1;
  animation: fmDoveWander 9s ease-in-out infinite;
}
.fm-sheet.is-closing .fm-dove,
.fm-brand-menu.is-closing .fm-dove {
  opacity: 0;
  animation: fmDoveFlyOff 1.1s ease-in forwards;
}
.fm-dove__svg {
  display: block;
  transform-origin: center;
}
.fm-dove__wing {
  transform-origin: 30px 24px;
  animation: fmDoveFlap 0.55s ease-in-out infinite;
}
@keyframes fmDoveFlap {
  0%, 100% { transform: rotate(0deg) scaleY(1); }
  50% { transform: rotate(-18deg) scaleY(0.85); }
}
@keyframes fmDoveWander {
  0%   { transform: translate(0, 0) scaleX(1); }
  18%  { transform: translate(28px, -36px) scaleX(1); }
  36%  { transform: translate(64px, -18px) scaleX(1); }
  50%  { transform: translate(40px, -48px) scaleX(-1); }
  68%  { transform: translate(12px, -22px) scaleX(-1); }
  84%  { transform: translate(48px, -8px) scaleX(1); }
  100% { transform: translate(0, 0) scaleX(1); }
}
@keyframes fmDoveFlyOff {
  0% { opacity: 1; transform: translate(0, 0) scale(1); }
  100% { opacity: 0; transform: translate(40vw, -55vh) scale(0.7) rotate(-12deg); }
}

/* Extra random paths via nth-child delays on feathers already handled */
.fm-flock__feather:nth-child(odd) {
  width: 22px;
  height: 40px;
}
.fm-flock__feather:nth-child(3n) {
  width: 34px;
  height: 54px;
  opacity: 0.9;
}

/* ==================================================
   Hide scrollbars site-wide / top page no vertical scroll
================================================== */
html {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge legacy */
}
html::-webkit-scrollbar,
body::-webkit-scrollbar,
*::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
  display: none !important;
  background: transparent !important;
}

/* Top page: lock to one screen, no downward scroll */
body.front-minimal.home,
body.front-minimal.page-template-front-page,
body.home.front-minimal {
  overflow: hidden !important;
  height: 100%;
  height: 100dvh;
  max-height: 100dvh;
}
body.front-minimal.home .fm-stage,
body.home.front-minimal .fm-stage {
  height: 100%;
  height: 100dvh;
  max-height: 100dvh;
  overflow: hidden;
}
body.front-minimal.home .fm-main--onescreen,
body.home.front-minimal .fm-main--onescreen {
  display: none !important;
  height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
}
/* Prevent scroll-linked brand hide on top (no content to scroll) */
body.front-minimal.home,
body.home.front-minimal {
  overscroll-behavior: none;
  touch-action: manipulation;
}

/* ==================================================
   Nature-style open/close (no birds / no Gundam)
================================================== */
.fm-flock,
.fm-dove,
.fm-sheet__hatch,
.fm-sheet__scan,
.fm-sheet__grid {
  display: none !important;
  animation: none !important;
}

.fm-sheet.fm-sheet--nature {
  padding: 0;
  align-items: center;
  justify-content: center;
}
.fm-sheet--nature .fm-sheet__backdrop {
  background: rgba(28, 48, 40, 0.35);
  opacity: 0;
  transition: opacity 1.1s ease;
}
.fm-sheet--nature.is-open .fm-sheet__backdrop {
  opacity: 1;
}
.fm-sheet--nature.is-closing .fm-sheet__backdrop {
  opacity: 0;
  transition-duration: 1.2s;
}

/* Soft mist + light glow + expanding ripples */
.fm-nature-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  display: none !important; /* kill veil: mist / glow / わっか */
}
.fm-nature-veil__mist {
  position: absolute;
  inset: -10%;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(255,255,255,0.35) 0%, transparent 55%),
    radial-gradient(ellipse at 70% 60%, rgba(200, 230, 210, 0.3) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(255,255,255,0.2) 0%, transparent 45%);
  opacity: 0;
  transform: scale(1.15);
  transition: opacity 1.2s ease, transform 1.4s ease;
}
.fm-sheet.is-open .fm-nature-veil__mist,
.fm-brand-menu.is-open .fm-nature-veil__mist {
  opacity: 0 !important;
  transform: none;
  display: none !important;
}
.fm-sheet.is-closing .fm-nature-veil__mist,
.fm-brand-menu.is-closing .fm-nature-veil__mist {
  opacity: 0;
  transform: scale(1.1);
  transition-duration: 1s;
}
.fm-nature-veil__glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 140vmax;
  height: 140vmax;
  margin: -70vmax 0 0 -70vmax;
  background: radial-gradient(circle, rgba(255,255,255,0.55) 0%, rgba(180, 220, 190, 0.2) 28%, transparent 62%);
  opacity: 0;
  transform: scale(0.2);
  transition: opacity 1.15s ease, transform 1.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.fm-sheet.is-open .fm-nature-veil__glow,
.fm-brand-menu.is-open .fm-nature-veil__glow {
  opacity: 0 !important;
  transform: none;
  display: none !important;
}
.fm-sheet.is-closing .fm-nature-veil__glow,
.fm-brand-menu.is-closing .fm-nature-veil__glow {
  opacity: 0;
  transform: scale(0.35);
  transition-duration: 0.95s;
}
.fm-nature-veil__ripple {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  border: 1.5px solid rgba(255,255,255,0.45);
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.2);
}
.fm-sheet.is-open .fm-nature-veil__ripple,
.fm-brand-menu.is-open .fm-nature-veil__ripple {
  animation: none !important;
  opacity: 0 !important;
  display: none !important;
}
.fm-sheet.is-open .fm-nature-veil__ripple--1,
.fm-brand-menu.is-open .fm-nature-veil__ripple--1 { animation-delay: 0.05s; }
.fm-sheet.is-open .fm-nature-veil__ripple--2,
.fm-brand-menu.is-open .fm-nature-veil__ripple--2 { animation-delay: 0.28s; }
.fm-sheet.is-open .fm-nature-veil__ripple--3,
.fm-brand-menu.is-open .fm-nature-veil__ripple--3 { animation-delay: 0.5s; }
.fm-sheet.is-closing .fm-nature-veil__ripple,
.fm-brand-menu.is-closing .fm-nature-veil__ripple {
  animation: fmNatureRippleOut 0.9s ease-in forwards;
}
@keyframes fmNatureRipple {
  0% { opacity: 0.7; transform: scale(0.15); }
  100% { opacity: 0; transform: scale(55); }
}
@keyframes fmNatureRippleOut {
  0% { opacity: 0.35; transform: scale(20); }
  100% { opacity: 0; transform: scale(0.2); }
}

/* Centered panel — pure fade, light glass (bg image visible) */
.fm-sheet--nature .fm-sheet__panel {
  position: relative;
  z-index: 3;
  width: min(640px, 92vw);
  max-height: min(86vh, 820px);
  height: auto;
  margin: auto;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #0f0f0f;
  border-radius: 18px;
  clip-path: none;
  padding: 1.5rem 1.25rem 1.75rem;
  box-shadow: 0 12px 36px rgba(20, 30, 50, 0.12);
  opacity: 0;
  transform: none;
  transition: opacity 1.2s ease;
  overflow: auto;
}
.fm-sheet--nature.is-open .fm-sheet__panel {
  opacity: 1;
  transform: none;
}
.fm-sheet--nature.is-closing .fm-sheet__panel {
  opacity: 0;
  transform: none;
  transition: opacity 1.2s ease;
}
.fm-sheet--nature .fm-sheet__title {
  color: #0f0f0f;
  text-shadow: none;
  border-left: 3px solid #6a9b7a;
  opacity: 1;
  transform: none;
}
.fm-sheet--nature .fm-sheet__close {
  color: #0f0f0f;
  border: 1px solid rgba(15,15,15,0.2);
  background: #fff;
  border-radius: 50%;
  clip-path: none;
  top: 0.85rem;
  right: 0.85rem;
}
.fm-sheet--nature .fm-feed-item {
  background: #f5f8f5;
  color: #0f0f0f;
  border: 1px solid rgba(80, 120, 90, 0.15);
  clip-path: none;
  border-radius: 12px;
  animation: none;
  opacity: 1;
  transform: none;
}
.fm-sheet--nature .fm-feed-item__date { color: #667; }
.fm-sheet--nature .fm-feed-detail__title,
.fm-sheet--nature .fm-feed-detail__body,
.fm-sheet--nature .fm-feed-back {
  color: #0f0f0f;
}

/* Contact: center + soft nature settle */
.fm-brand-menu.is-open {
  align-items: center;
  justify-content: center;
}
.fm-brand-menu.is-open.is-settled {
  background: transparent;
}
.fm-brand-menu .fm-brand-menu__panel.fm-brand-menu__panel--contact {
  width: min(560px, 92vw);
  height: auto;
  max-height: min(86vh, 820px);
  margin: auto;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 12px 36px rgba(20, 30, 50, 0.12);
}
@media (min-width: 900px) {
  .fm-brand-menu .fm-brand-menu__panel.fm-brand-menu__panel--contact {
    width: min(720px, 88vw);
  }
}
/* Soften contact angular cuts toward nature */
.fm-brand-menu__contact {
  clip-path: none;
  border-radius: 14px;
  border-color: rgba(80, 120, 90, 0.2);
}
.fm-brand-menu__contact::before,
.fm-brand-menu__contact::after {
  border-color: #6a9b7a;
}
.fm-brand-menu__title {
  border-left-color: #6a9b7a;
}
.fm-brand-menu__title::after {
  background: #6a9b7a;
}
.fm-brand-menu__contact .contact-form input,
.fm-brand-menu__contact .contact-form select,
.fm-brand-menu__contact .contact-form textarea {
  clip-path: none !important;
  border-radius: 10px !important;
}
.fm-brand-menu__contact .btn--primary,
.fm-brand-menu__contact button[type="submit"] {
  clip-path: none !important;
  border-radius: 999px !important;
  background: #3d6b4f !important;
}
.fm-brand-menu__close {
  clip-path: none;
  border-radius: 50%;
}

/* ==================================================
   Contact page (front-minimal) — match top / list pages
================================================== */
body.archive-contact-page,
body.contact-page.front-minimal {
  margin: 0;
  background: #fff;
  color: #0f0f0f;
  overflow-x: hidden;
}
body.archive-contact-page .site-header,
body.archive-contact-page .crumb-wrap,
body.contact-page.front-minimal .site-header,
body.contact-page.front-minimal .crumb-wrap {
  display: none !important;
}

.fm-contact-section {
  background: #fff !important;
  color: #0f0f0f !important;
}
.fm-contact-section .fm-heading {
  color: #0f0f0f !important;
}
.fm-contact-lead {
  max-width: 36em;
  margin: 0 auto 2rem;
  font-size: 0.95rem;
  line-height: 1.9;
  color: #6b6b6b;
  text-align: center;
}
.fm-contact-inner {
  width: 100%;
  max-width: 40rem;
  margin: 0 auto;
  text-align: left;
  box-sizing: border-box;
}

/* FAQ — unified with list / top aesthetic */
.fm-contact-section .contact-faq,
.fm-brand-menu .contact-faq {
  margin: 0 0 2.75rem;
}
.fm-contact-section .contact-faq__lead,
.fm-brand-menu .contact-faq__lead {
  font-size: 0.9rem;
  line-height: 1.9;
  color: #6b6b6b;
  margin: 0 0 1.35rem;
  letter-spacing: 0.02em;
}
.fm-contact-section .contact-faq__list,
.fm-brand-menu .contact-faq__list {
  border-top: 1px solid #e8e8e8;
}
.fm-contact-section .contact-faq__item,
.fm-brand-menu .contact-faq__item {
  border-bottom: 1px solid #e8e8e8;
}
.fm-contact-section .contact-faq__q,
.fm-brand-menu .contact-faq__q {
  padding: 1.15rem 0.1rem;
  transition: color 0.28s ease;
}
.fm-contact-section .contact-faq__q:hover,
.fm-brand-menu .contact-faq__q:hover {
  color: #5069cc;
}
.fm-contact-section .contact-faq__q-text,
.fm-brand-menu .contact-faq__q-text {
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.03em;
}
.fm-contact-section .contact-faq__icon,
.fm-brand-menu .contact-faq__icon {
  border-right-color: #5069cc;
  border-bottom-color: #5069cc;
  opacity: 0.75;
}
.fm-contact-section .contact-faq__a-inner p,
.fm-brand-menu .contact-faq__a-inner p {
  color: #2a2a2a;
  font-size: 0.88rem;
  line-height: 1.9;
}

/* Form fields on contact page — same radius / focus as top */
.fm-contact-section .contact-form input[type="text"],
.fm-contact-section .contact-form input[type="email"],
.fm-contact-section .contact-form input[type="tel"],
.fm-contact-section .contact-form input[type="url"],
.fm-contact-section .contact-form select,
.fm-contact-section .contact-form textarea {
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  background: #fff;
  transition: border-color 0.28s ease, box-shadow 0.28s ease;
}
.fm-contact-section .contact-form input:focus,
.fm-contact-section .contact-form select:focus,
.fm-contact-section .contact-form textarea:focus {
  border-color: #5069cc;
  box-shadow: 0 0 0 3px rgba(80, 105, 204, 0.18);
  outline: none;
}
.fm-contact-section .btn--contact-start,
.fm-contact-section .contact-form .btn {
  border-radius: 999px;
  letter-spacing: 0.1em;
}
.fm-contact-section .contact-notice {
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.75rem;
  border-radius: 8px;
}

/* Brand on archive / single / contact: ensure center flex matches top */
body.archive-blog-page .fm-brand,
body.archive-news-page .fm-brand,
body.archive-room-page .fm-brand,
body.archive-contact-page .fm-brand,
body.entry-single-page .fm-brand {
  flex-direction: column;
  gap: 1.25rem;
}
body.archive-blog-page .fm-brand__center,
body.archive-news-page .fm-brand__center,
body.archive-room-page .fm-brand__center,
body.archive-contact-page .fm-brand__center,
body.entry-single-page .fm-brand__center {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Topbar accent stays consistent */
body.archive-blog-page .fm-topbar,
body.archive-news-page .fm-topbar,
body.archive-room-page .fm-topbar,
body.archive-contact-page .fm-topbar,
body.entry-single-page .fm-topbar {
  background: #5069cc;
}

/* ==================================================
   v2.33.1 — Transparent bg + slow fade overlays
   Keep seasonal image visible; no solid page fills
================================================== */

/* --- Archive / single / contact: keep brand image when scrolled --- */
body.archive-blog-page .fm-brand.is-hidden,
body.archive-news-page .fm-brand.is-hidden,
body.archive-room-page .fm-brand.is-hidden,
body.archive-contact-page .fm-brand.is-hidden,
body.entry-single-page .fm-brand.is-hidden,
body.contact-page.front-minimal .fm-brand.is-hidden {
  visibility: visible !important;
  pointer-events: none;
  background: transparent;
}
body.archive-blog-page .fm-brand.is-hidden .fm-brand__text,
body.archive-news-page .fm-brand.is-hidden .fm-brand__text,
body.archive-room-page .fm-brand.is-hidden .fm-brand__text,
body.archive-contact-page .fm-brand.is-hidden .fm-brand__text,
body.entry-single-page .fm-brand.is-hidden .fm-brand__text,
body.contact-page.front-minimal .fm-brand.is-hidden .fm-brand__text,
body.archive-blog-page .fm-brand.is-hidden .fm-brand__tagline,
body.archive-news-page .fm-brand.is-hidden .fm-brand__tagline,
body.archive-room-page .fm-brand.is-hidden .fm-brand__tagline,
body.archive-contact-page .fm-brand.is-hidden .fm-brand__tagline,
body.entry-single-page .fm-brand.is-hidden .fm-brand__tagline,
body.contact-page.front-minimal .fm-brand.is-hidden .fm-brand__tagline {
  opacity: 0 !important;
  visibility: hidden;
}
body.archive-blog-page .fm-brand.is-hidden .fm-brand__bg,
body.archive-news-page .fm-brand.is-hidden .fm-brand__bg,
body.archive-room-page .fm-brand.is-hidden .fm-brand__bg,
body.archive-contact-page .fm-brand.is-hidden .fm-brand__bg,
body.entry-single-page .fm-brand.is-hidden .fm-brand__bg,
body.contact-page.front-minimal .fm-brand.is-hidden .fm-brand__bg,
body.archive-blog-page .fm-brand.is-hidden .fm-brand__dots,
body.archive-news-page .fm-brand.is-hidden .fm-brand__dots,
body.archive-room-page .fm-brand.is-hidden .fm-brand__dots,
body.archive-contact-page .fm-brand.is-hidden .fm-brand__dots,
body.entry-single-page .fm-brand.is-hidden .fm-brand__dots,
body.contact-page.front-minimal .fm-brand.is-hidden .fm-brand__dots {
  opacity: 1 !important;
  visibility: visible !important;
}

/* List / detail content: no solid white — glass over seasonal bg */
body.archive-blog-page,
body.archive-news-page,
body.archive-room-page,
body.archive-contact-page,
body.entry-single-page,
body.contact-page.front-minimal {
  background: transparent !important;
}
body.archive-blog-page .fm-list-section,
body.archive-news-page .fm-list-section,
body.archive-room-page .fm-list-section,
body.archive-contact-page .fm-list-section,
body.entry-single-page .fm-list-section,
body.contact-page.front-minimal .fm-list-section,
body.archive-blog-page .fm-section.fm-about,
body.archive-news-page .fm-section.fm-about,
body.archive-room-page .fm-section.fm-about,
body.entry-single-page .entry-single-section {
  background: transparent !important;
  color: #0f0f0f !important;
}
body.archive-blog-page .fm-back-home,
body.archive-news-page .fm-back-home,
body.archive-room-page .fm-back-home,
body.archive-contact-page .fm-back-home,
body.entry-single-page .fm-back-home,
body.contact-page.front-minimal .fm-back-home {
  background: transparent !important;
}
body.archive-blog-page .fm-footer,
body.archive-news-page .fm-footer,
body.archive-room-page .fm-footer,
body.archive-contact-page .fm-footer,
body.entry-single-page .fm-footer,
body.contact-page.front-minimal .fm-footer {
  background: transparent !important;
}

/* Readable content cards floating over bg image */
body.archive-blog-page .fm-simple-list,
body.archive-news-page .fm-simple-list,
body.archive-room-page .fm-simple-list {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 0.5rem 1.25rem;
  box-shadow: 0 8px 32px rgba(20, 30, 60, 0.1);
}
body.archive-blog-page .fm-heading,
body.archive-news-page .fm-heading,
body.archive-room-page .fm-heading,
body.archive-contact-page .fm-heading,
body.entry-single-page .entry-list-title,
body.contact-page.front-minimal .fm-heading {
  color: #fff !important;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35), 0 0 2px rgba(0, 0, 0, 0.4);
}
body.archive-blog-page .fm-simple-empty,
body.archive-news-page .fm-simple-empty,
body.archive-room-page .fm-simple-empty {
  color: #fff !important;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}
body.entry-single-page .entry-list-head,
body.entry-single-page .entry-list-body,
body.entry-single-page .entry-list-thumb {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 14px;
  padding: 1.25rem 1.35rem;
  box-shadow: 0 8px 28px rgba(20, 30, 60, 0.12);
}
body.entry-single-page .entry-list-head {
  border-bottom: 0;
  margin-bottom: 1.25rem;
}
body.entry-single-page .entry-list-date {
  color: #6b6b6b !important;
}
body.entry-single-page .entry-list-title {
  color: #0f0f0f !important;
  text-shadow: none !important;
}
body.entry-single-page .entry-list-thumb {
  padding: 0;
  overflow: hidden;
}
body.archive-contact-page .fm-contact-inner,
body.contact-page.front-minimal .fm-contact-inner {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 18px;
  padding: 1.5rem 1.35rem 1.75rem;
  box-shadow: 0 12px 40px rgba(20, 30, 60, 0.12);
}
body.archive-contact-page .fm-contact-lead,
body.contact-page.front-minimal .fm-contact-lead {
  color: rgba(255, 255, 255, 0.92) !important;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
}

/* Pager buttons stay readable */
body.archive-blog-page .fm-pager__btn,
body.archive-news-page .fm-pager__btn,
body.archive-room-page .fm-pager__btn {
  background: rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: blur(6px);
}

/* ==================================================
   Contact menu — slow pure fade (no tile cover)
================================================== */
.fm-brand-menu {
  background: transparent !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 1.35s ease, visibility 1.35s ease !important;
}
.fm-brand-menu.is-open {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  background: transparent !important;
}
.fm-brand-menu.is-open.is-settled {
  background: transparent !important;
}
.fm-brand-menu.is-closing {
  opacity: 0 !important;
  visibility: hidden !important;
  background: transparent !important;
  transition: opacity 1.4s ease, visibility 1.4s ease !important;
}
/* Hide tile animation so seasonal bg stays visible */
.fm-brand-menu__tiles {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
/* Soft veil only — does not block the image completely */
.fm-brand-menu .fm-nature-veil {
  opacity: 0.55;
}
.fm-brand-menu.is-open .fm-nature-veil__mist {
  opacity: 0.4;
  transition: opacity 1.4s ease;
}
.fm-brand-menu.is-closing .fm-nature-veil__mist {
  opacity: 0;
  transition: opacity 1.2s ease;
}

/* Contact panel: glass card, slow fade in/out */
.fm-brand-menu__panel--contact,
.fm-brand-menu .fm-brand-menu__panel.fm-brand-menu__panel--contact {
  width: min(560px, 92vw) !important;
  height: auto !important;
  max-height: min(86vh, 820px) !important;
  margin: auto !important;
  border-radius: 20px !important;
  background: rgba(255, 255, 255, 0.88) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px rgba(20, 30, 60, 0.18);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 1.35s ease 0.15s, transform 1.35s cubic-bezier(0.22, 1, 0.36, 1) 0.15s !important;
  overflow-y: auto;
  overflow-x: hidden;
}
@media (min-width: 900px) {
  .fm-brand-menu .fm-brand-menu__panel.fm-brand-menu__panel--contact {
    width: min(680px, 88vw) !important;
  }
}
.fm-brand-menu.is-open .fm-brand-menu__panel--contact,
.fm-brand-menu.is-open.is-settled .fm-brand-menu__panel--contact {
  opacity: 1 !important;
  transform: translateY(0) !important;
}
.fm-brand-menu.is-closing .fm-brand-menu__panel--contact {
  opacity: 0 !important;
  transform: translateY(8px) !important;
  transition: opacity 1.2s ease, transform 1.2s ease !important;
}
.fm-brand-menu.is-open {
  align-items: center !important;
  justify-content: center !important;
}

/* ==================================================
   News / Blog sheets — slow fade, see-through bg
================================================== */
.fm-sheet--nature {
  transition: none;
}
.fm-sheet--nature .fm-sheet__backdrop {
  background: rgba(12, 18, 36, 0.28) !important;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity 1.4s ease !important;
}
.fm-sheet--nature.is-open .fm-sheet__backdrop {
  opacity: 1 !important;
}
.fm-sheet--nature.is-closing .fm-sheet__backdrop {
  opacity: 0 !important;
  transition-duration: 1.35s !important;
}
.fm-sheet--nature .fm-sheet__panel {
  background: rgba(255, 255, 255, 0.88) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  opacity: 0;
  transform: translateY(14px) scale(0.98);
  transition: opacity 1.4s ease 0.12s, transform 1.4s cubic-bezier(0.22, 1, 0.36, 1) 0.12s !important;
}
.fm-sheet--nature.is-open .fm-sheet__panel {
  opacity: 1 !important;
  transform: translateY(0) scale(1) !important;
}
.fm-sheet--nature.is-closing .fm-sheet__panel {
  opacity: 0 !important;
  transform: translateY(10px) scale(0.98) !important;
  transition: opacity 1.25s ease, transform 1.25s ease !important;
}
/* Soften nature veil so image stays readable */
.fm-sheet--nature .fm-nature-veil {
  opacity: 0.45;
}
.fm-sheet--nature.is-open .fm-nature-veil__mist {
  opacity: 0.35;
  transition: opacity 1.4s ease;
}
.fm-sheet--nature.is-closing .fm-nature-veil__mist {
  opacity: 0;
  transition: opacity 1.2s ease;
}

/* Back-home button: glass style on transparent pages */
body.archive-blog-page .fm-back-home a,
body.archive-news-page .fm-back-home a,
body.archive-room-page .fm-back-home a,
body.archive-contact-page .fm-back-home a,
body.entry-single-page .fm-back-home a,
body.contact-page.front-minimal .fm-back-home a {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
}

/* Brand stays as fixed wallpaper; main content above it when scrolled */
body.archive-blog-page.fm-scrolled .fm-brand,
body.archive-news-page.fm-scrolled .fm-brand,
body.archive-room-page.fm-scrolled .fm-brand,
body.archive-contact-page.fm-scrolled .fm-brand,
body.entry-single-page.fm-scrolled .fm-brand,
body.contact-page.front-minimal.fm-scrolled .fm-brand {
  z-index: 1 !important;
}
body.archive-blog-page.fm-scrolled .fm-main,
body.archive-news-page.fm-scrolled .fm-main,
body.archive-room-page.fm-scrolled .fm-main,
body.archive-contact-page.fm-scrolled .fm-main,
body.entry-single-page.fm-scrolled .fm-main,
body.contact-page.front-minimal.fm-scrolled .fm-main {
  z-index: 20 !important;
  position: relative;
}
/* Topbar still above content */
body.archive-blog-page .fm-topbar,
body.archive-news-page .fm-topbar,
body.archive-room-page .fm-topbar,
body.archive-contact-page .fm-topbar,
body.entry-single-page .fm-topbar,
body.contact-page.front-minimal .fm-topbar {
  z-index: 100;
}
/* When brand is wallpaper, pointer-events off always after scroll */
body.archive-blog-page.fm-scrolled .fm-brand,
body.archive-news-page.fm-scrolled .fm-brand,
body.archive-room-page.fm-scrolled .fm-brand,
body.archive-contact-page.fm-scrolled .fm-brand,
body.entry-single-page.fm-scrolled .fm-brand,
body.contact-page.front-minimal.fm-scrolled .fm-brand {
  pointer-events: none !important;
}

/* ==================================================
   v2.33.2 FINAL — pure fade only / no white fills / no わっか
================================================== */

/* Kill mist / glow / ripple rings completely */
.fm-nature-veil,
.fm-nature-veil__mist,
.fm-nature-veil__glow,
.fm-nature-veil__ripple,
.fm-nature-veil__ripple--1,
.fm-nature-veil__ripple--2,
.fm-nature-veil__ripple--3 {
  display: none !important;
  opacity: 0 !important;
  animation: none !important;
  visibility: hidden !important;
}

/* Hide tile expand animation */
.fm-brand-menu__tiles,
.fm-brand-menu__tile {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

/* Contact overlay: pure fade, no solid fill */
.fm-brand-menu {
  background: transparent !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 1.15s ease, visibility 1.15s ease !important;
}
.fm-brand-menu.is-open,
.fm-brand-menu.is-open.is-settled {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  background: transparent !important;
}
.fm-brand-menu.is-closing {
  opacity: 0 !important;
  visibility: hidden !important;
  background: transparent !important;
  transition: opacity 1.15s ease, visibility 1.15s ease !important;
}

/* Contact form panel: light glass, pure fade */
.fm-brand-menu__panel--contact,
.fm-brand-menu .fm-brand-menu__panel.fm-brand-menu__panel--contact {
  background: rgba(255, 255, 255, 0.5) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.12) !important;
  opacity: 0;
  transform: none !important;
  transition: opacity 1.15s ease !important;
}
.fm-brand-menu.is-open .fm-brand-menu__panel--contact,
.fm-brand-menu.is-open.is-settled .fm-brand-menu__panel--contact {
  opacity: 1 !important;
  transform: none !important;
}
.fm-brand-menu.is-closing .fm-brand-menu__panel--contact {
  opacity: 0 !important;
  transform: none !important;
  transition: opacity 1.15s ease !important;
}

/* News / Blog sheets: pure fade, light glass */
.fm-sheet--nature .fm-sheet__backdrop {
  background: rgba(10, 14, 28, 0.22) !important;
  backdrop-filter: blur(3px) !important;
  -webkit-backdrop-filter: blur(3px) !important;
  opacity: 0;
  transition: opacity 1.15s ease !important;
}
.fm-sheet--nature.is-open .fm-sheet__backdrop {
  opacity: 1 !important;
}
.fm-sheet--nature.is-closing .fm-sheet__backdrop {
  opacity: 0 !important;
  transition: opacity 1.15s ease !important;
}
.fm-sheet--nature .fm-sheet__panel {
  background: rgba(255, 255, 255, 0.5) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  opacity: 0;
  transform: none !important;
  transition: opacity 1.15s ease !important;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.12) !important;
}
.fm-sheet--nature.is-open .fm-sheet__panel {
  opacity: 1 !important;
  transform: none !important;
}
.fm-sheet--nature.is-closing .fm-sheet__panel {
  opacity: 0 !important;
  transform: none !important;
  transition: opacity 1.15s ease !important;
}
.fm-sheet--nature .fm-sheet__close {
  background: rgba(255, 255, 255, 0.55) !important;
}
.fm-sheet--nature .fm-feed-item {
  background: rgba(255, 255, 255, 0.45) !important;
}

/* ========== List / detail / contact pages: NO white page bg ========== */
body.archive-blog-page,
body.archive-news-page,
body.archive-room-page,
body.archive-contact-page,
body.entry-single-page,
body.contact-page.front-minimal,
body.front-minimal.archive-blog-page,
body.front-minimal.archive-news-page,
body.front-minimal.archive-room-page,
body.front-minimal.entry-single-page {
  background: transparent !important;
  background-color: transparent !important;
}

body.archive-blog-page .fm-section,
body.archive-news-page .fm-section,
body.archive-room-page .fm-section,
body.archive-contact-page .fm-section,
body.entry-single-page .fm-section,
body.contact-page.front-minimal .fm-section,
body.archive-blog-page .fm-list-section,
body.archive-news-page .fm-list-section,
body.archive-room-page .fm-list-section,
body.archive-contact-page .fm-list-section,
body.entry-single-page .fm-list-section,
body.entry-single-page .entry-single-section,
body.archive-blog-page .fm-about,
body.archive-news-page .fm-about,
body.archive-room-page .fm-about,
body.archive-blog-page .fm-back-home,
body.archive-news-page .fm-back-home,
body.archive-room-page .fm-back-home,
body.archive-contact-page .fm-back-home,
body.entry-single-page .fm-back-home,
body.contact-page.front-minimal .fm-back-home,
body.archive-blog-page .fm-footer,
body.archive-news-page .fm-footer,
body.archive-room-page .fm-footer,
body.archive-contact-page .fm-footer,
body.entry-single-page .fm-footer,
body.contact-page.front-minimal .fm-footer,
body.archive-blog-page .fm-main,
body.archive-news-page .fm-main,
body.archive-room-page .fm-main,
body.archive-contact-page .fm-main,
body.entry-single-page .fm-main,
body.contact-page.front-minimal .fm-main,
body.archive-blog-page .fm-stage,
body.archive-news-page .fm-stage,
body.archive-room-page .fm-stage,
body.archive-contact-page .fm-stage,
body.entry-single-page .fm-stage,
body.contact-page.front-minimal .fm-stage {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
}

/* Content cards: light blur glass only (not solid white) */
body.archive-blog-page .fm-simple-list,
body.archive-news-page .fm-simple-list,
body.archive-room-page .fm-simple-list {
  background: rgba(255, 255, 255, 0.42) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-radius: 16px;
  padding: 0.5rem 1.25rem;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}
body.entry-single-page .entry-list-head,
body.entry-single-page .entry-list-body,
body.entry-single-page .entry-list-thumb {
  background: rgba(255, 255, 255, 0.48) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-radius: 14px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}
body.entry-single-page .entry-list-title {
  color: #0f0f0f !important;
  text-shadow: none !important;
}
body.archive-contact-page .fm-contact-inner,
body.contact-page.front-minimal .fm-contact-inner {
  background: rgba(255, 255, 255, 0.48) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border-radius: 18px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}

/* Keep seasonal wallpaper behind content when scrolled */
body.archive-blog-page .fm-brand.is-hidden,
body.archive-news-page .fm-brand.is-hidden,
body.archive-room-page .fm-brand.is-hidden,
body.archive-contact-page .fm-brand.is-hidden,
body.entry-single-page .fm-brand.is-hidden,
body.contact-page.front-minimal .fm-brand.is-hidden {
  visibility: visible !important;
}
body.archive-blog-page .fm-brand.is-hidden .fm-brand__bg,
body.archive-news-page .fm-brand.is-hidden .fm-brand__bg,
body.archive-room-page .fm-brand.is-hidden .fm-brand__bg,
body.archive-contact-page .fm-brand.is-hidden .fm-brand__bg,
body.entry-single-page .fm-brand.is-hidden .fm-brand__bg,
body.contact-page.front-minimal .fm-brand.is-hidden .fm-brand__bg,
body.archive-blog-page .fm-brand.is-hidden .fm-brand__dots,
body.archive-news-page .fm-brand.is-hidden .fm-brand__dots,
body.archive-room-page .fm-brand.is-hidden .fm-brand__dots,
body.archive-contact-page .fm-brand.is-hidden .fm-brand__dots,
body.entry-single-page .fm-brand.is-hidden .fm-brand__dots,
body.contact-page.front-minimal .fm-brand.is-hidden .fm-brand__dots {
  opacity: 1 !important;
  visibility: visible !important;
}
body.archive-blog-page.fm-scrolled .fm-brand,
body.archive-news-page.fm-scrolled .fm-brand,
body.archive-room-page.fm-scrolled .fm-brand,
body.archive-contact-page.fm-scrolled .fm-brand,
body.entry-single-page.fm-scrolled .fm-brand,
body.contact-page.front-minimal.fm-scrolled .fm-brand {
  z-index: 1 !important;
  pointer-events: none !important;
}
body.archive-blog-page.fm-scrolled .fm-main,
body.archive-news-page.fm-scrolled .fm-main,
body.archive-room-page.fm-scrolled .fm-main,
body.archive-contact-page.fm-scrolled .fm-main,
body.entry-single-page.fm-scrolled .fm-main,
body.contact-page.front-minimal.fm-scrolled .fm-main {
  z-index: 20 !important;
  position: relative;
  background: transparent !important;
}

/* Headings readable on photo */
body.archive-blog-page .fm-list-section .fm-heading,
body.archive-news-page .fm-list-section .fm-heading,
body.archive-room-page .fm-list-section .fm-heading,
body.archive-contact-page .fm-heading {
  color: #fff !important;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.45);
}
body.archive-blog-page .fm-list-section .fm-simple-title,
body.archive-news-page .fm-list-section .fm-simple-title,
body.archive-room-page .fm-list-section .fm-simple-title {
  color: #0f0f0f !important;
}
body.archive-blog-page .fm-list-section .fm-simple-date,
body.archive-news-page .fm-list-section .fm-simple-date,
body.archive-room-page .fm-list-section .fm-simple-date {
  color: #555 !important;
}
body.archive-blog-page .fm-list-section .fm-simple-item,
body.archive-news-page .fm-list-section .fm-simple-item,
body.archive-room-page .fm-list-section .fm-simple-item {
  border-bottom-color: rgba(0, 0, 0, 0.08) !important;
}
body.archive-blog-page .fm-pager__btn,
body.archive-news-page .fm-pager__btn,
body.archive-room-page .fm-pager__btn {
  background: rgba(255, 255, 255, 0.5) !important;
  backdrop-filter: blur(8px);
}
body.archive-blog-page .fm-back-home a,
body.archive-news-page .fm-back-home a,
body.archive-room-page .fm-back-home a,
body.archive-contact-page .fm-back-home a,
body.entry-single-page .fm-back-home a {
  background: rgba(255, 255, 255, 0.55) !important;
  backdrop-filter: blur(8px);
}

/* ==================================================
   v2.33.3 — NO dark backdrop / NO blur / NO form bg color
================================================== */

/* 1) Do not darken background when opening icons */
.fm-sheet__backdrop,
.fm-sheet--nature .fm-sheet__backdrop,
.fm-sheet--gundam .fm-sheet__backdrop,
.fm-buwat__backdrop,
.fm-popup__backdrop {
  background: transparent !important;
  background-color: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  opacity: 0 !important;
  pointer-events: auto;
}
.fm-sheet.is-open .fm-sheet__backdrop,
.fm-sheet--nature.is-open .fm-sheet__backdrop,
.fm-sheet--nature.is-closing .fm-sheet__backdrop {
  background: transparent !important;
  opacity: 0 !important;
}

/* Menu overlay itself: no fill, no blur */
.fm-brand-menu,
.fm-brand-menu.is-open,
.fm-brand-menu.is-open.is-settled,
.fm-brand-menu.is-closing {
  background: transparent !important;
  background-color: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* 2) No blur anywhere on these overlays / pages */
.fm-sheet,
.fm-sheet *,
.fm-brand-menu,
.fm-brand-menu *,
.fm-list-section,
.fm-list-section *,
.entry-single-section,
.entry-single-section *,
.fm-contact-inner,
.fm-contact-inner *,
.fm-simple-list,
.contact-form,
.contact-faq {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* 3) Form / panel / list / detail: NO background color */
.fm-brand-menu__panel--contact,
.fm-brand-menu .fm-brand-menu__panel.fm-brand-menu__panel--contact,
.fm-brand-menu__contact,
.fm-brand-menu__contact-inner,
.fm-sheet--nature .fm-sheet__panel,
.fm-sheet__panel,
.fm-sheet__panel--feed,
.fm-sheet__panel--contact,
.fm-sheet--nature .fm-feed-item,
.fm-feed-item,
.fm-feed-detail,
.fm-sheet--nature .fm-sheet__close,
.fm-brand-menu__close {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Contact page form wrapper */
body.archive-contact-page .fm-contact-inner,
body.contact-page.front-minimal .fm-contact-inner,
.fm-contact-inner,
.contact-form,
.fm-contact-form,
.contact-faq,
.contact-panel,
.contact-step--intro,
.contact-step--input,
.contact-step--confirm {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* List / detail cards — no fill */
body.archive-blog-page .fm-simple-list,
body.archive-news-page .fm-simple-list,
body.archive-room-page .fm-simple-list,
body.entry-single-page .entry-list-head,
body.entry-single-page .entry-list-body,
body.entry-single-page .entry-list-thumb,
body.archive-blog-page .fm-pager__btn,
body.archive-news-page .fm-pager__btn,
body.archive-room-page .fm-pager__btn,
body.archive-blog-page .fm-back-home a,
body.archive-news-page .fm-back-home a,
body.archive-room-page .fm-back-home a,
body.archive-contact-page .fm-back-home a,
body.entry-single-page .fm-back-home a,
body.contact-page.front-minimal .fm-back-home a {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Form inputs can keep light border for usability, but no solid panel behind form */
.fm-brand-menu__contact .contact-form input,
.fm-brand-menu__contact .contact-form select,
.fm-brand-menu__contact .contact-form textarea,
.fm-contact-inner .contact-form input,
.fm-contact-inner .contact-form select,
.fm-contact-inner .contact-form textarea,
.fm-sheet .contact-form input,
.fm-sheet .contact-form select,
.fm-sheet .contact-form textarea {
  background: transparent !important;
  background-color: transparent !important;
}

/* Text readable on photo without panel fill */
.fm-brand-menu__title,
.fm-brand-menu__contact,
.fm-brand-menu .contact-faq__lead,
.fm-brand-menu .contact-faq__q-text,
.fm-brand-menu .contact-faq__a-inner p,
.fm-brand-menu .contact-intro__text,
.fm-brand-menu .contact-form label,
.fm-sheet--nature .fm-sheet__title,
.fm-sheet--nature .fm-feed-item,
.fm-sheet--nature .fm-feed-detail__title,
.fm-sheet--nature .fm-feed-detail__body,
.fm-sheet--nature .fm-feed-back,
.fm-sheet--nature .fm-feed-item__title,
.fm-sheet--nature .fm-feed-item__date {
  color: #fff !important;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55), 0 0 2px rgba(0, 0, 0, 0.4);
}
.fm-brand-menu__close,
.fm-sheet--nature .fm-sheet__close {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.7) !important;
  background: transparent !important;
}
.fm-brand-menu .contact-form input,
.fm-brand-menu .contact-form select,
.fm-brand-menu .contact-form textarea,
.fm-contact-inner .contact-form input,
.fm-contact-inner .contact-form select,
.fm-contact-inner .contact-form textarea {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.65) !important;
  background: transparent !important;
}
.fm-brand-menu .contact-form input::placeholder,
.fm-brand-menu .contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.55) !important;
}

/* Pure fade only (keep) */
.fm-brand-menu {
  transition: opacity 1.15s ease, visibility 1.15s ease !important;
}
.fm-brand-menu__panel--contact,
.fm-brand-menu .fm-brand-menu__panel.fm-brand-menu__panel--contact {
  transition: opacity 1.15s ease !important;
  transform: none !important;
}
.fm-sheet--nature .fm-sheet__panel {
  transition: opacity 1.15s ease !important;
  transform: none !important;
}

/* ==================================================
   v2.33.4 — headings / borders / no accordion bg / no overlap mess
================================================== */

/* ----- Headings: clean, consistent (not weird white+shadow mess) ----- */
body.archive-blog-page .fm-list-section .fm-heading,
body.archive-news-page .fm-list-section .fm-heading,
body.archive-room-page .fm-list-section .fm-heading,
body.archive-contact-page .fm-heading,
body.contact-page.front-minimal .fm-heading,
.fm-sheet--nature .fm-sheet__title,
.fm-sheet__title,
.fm-brand-menu__title {
  color: #fff !important;
  text-shadow: none !important;
  font-family: var(--font-display), system-ui, sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: 0.18em !important;
  font-size: clamp(1.35rem, 4vw, 1.85rem) !important;
  border-left: none !important;
  border-bottom: 2px solid rgba(255, 255, 255, 0.85) !important;
  padding: 0 0 0.65rem 0 !important;
  margin: 0 auto 1.75rem !important;
  display: block;
  width: fit-content;
  max-width: 100%;
  text-align: center;
  background: transparent !important;
}
.fm-brand-menu__title::after,
.fm-sheet--nature .fm-sheet__title::after {
  display: none !important;
  content: none !important;
}
body.entry-single-page .entry-list-title {
  color: #fff !important;
  text-shadow: none !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  padding-bottom: 0.75rem;
  background: transparent !important;
}
body.entry-single-page .entry-list-date {
  color: rgba(255, 255, 255, 0.8) !important;
}

/* Sheet / menu body text — readable on photo without fills */
.fm-sheet--nature .fm-feed-item,
.fm-sheet--nature .fm-feed-item__title,
.fm-sheet--nature .fm-feed-detail__title,
.fm-sheet--nature .fm-feed-detail__body,
.fm-sheet--nature .fm-feed-detail__body p,
.fm-sheet--nature .fm-feed-back,
.fm-sheet--nature .fm-feed-item__date,
.fm-brand-menu .contact-faq__lead,
.fm-brand-menu .contact-faq__q-text,
.fm-brand-menu .contact-faq__a-inner p,
.fm-brand-menu .contact-intro__text,
.fm-brand-menu .contact-form label,
.fm-brand-menu__contact,
body.archive-contact-page .fm-contact-lead,
body.contact-page.front-minimal .fm-contact-lead,
body.archive-contact-page .contact-faq__lead,
body.archive-contact-page .contact-faq__q-text,
body.archive-contact-page .contact-faq__a-inner p,
body.archive-contact-page .contact-intro__text,
body.archive-contact-page .contact-form label {
  color: #fff !important;
  text-shadow: none !important;
  background: transparent !important;
}

/* ----- Accordion (FAQ): no background ----- */
.contact-faq,
.contact-faq__list,
.contact-faq__item,
.contact-faq__q,
.contact-faq__a,
.contact-faq__a-inner,
.fm-brand-menu .contact-faq,
.fm-brand-menu .contact-faq__item,
.fm-brand-menu .contact-faq__q,
.fm-brand-menu .contact-faq__a,
.fm-contact-inner .contact-faq,
.fm-contact-inner .contact-faq__item {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
}
.contact-faq__list {
  border-top: 1px solid rgba(255, 255, 255, 0.45) !important;
}
.contact-faq__item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.45) !important;
}
.contact-faq__icon {
  border-right-color: rgba(255, 255, 255, 0.85) !important;
  border-bottom-color: rgba(255, 255, 255, 0.85) !important;
}

/* ----- List items: borders only, readable, no fill ----- */
body.archive-blog-page .fm-simple-list,
body.archive-news-page .fm-simple-list,
body.archive-room-page .fm-simple-list,
.fm-sheet--nature .fm-feed-list {
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.55) !important;
  border-radius: 12px !important;
  padding: 0.35rem 1rem !important;
  box-shadow: none !important;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  box-sizing: border-box;
}
body.archive-blog-page .fm-simple-item,
body.archive-news-page .fm-simple-item,
body.archive-room-page .fm-simple-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.35) !important;
  background: transparent !important;
}
body.archive-blog-page .fm-simple-item:last-child,
body.archive-news-page .fm-simple-item:last-child,
body.archive-room-page .fm-simple-item:last-child {
  border-bottom: 0 !important;
}
body.archive-blog-page .fm-simple-title,
body.archive-news-page .fm-simple-title,
body.archive-room-page .fm-simple-title {
  color: #fff !important;
}
body.archive-blog-page .fm-simple-date,
body.archive-news-page .fm-simple-date,
body.archive-room-page .fm-simple-date,
body.archive-blog-page .fm-simple-empty,
body.archive-news-page .fm-simple-empty,
body.archive-room-page .fm-simple-empty {
  color: rgba(255, 255, 255, 0.75) !important;
}
.fm-sheet--nature .fm-feed-item {
  border: 1px solid rgba(255, 255, 255, 0.45) !important;
  border-radius: 10px !important;
  background: transparent !important;
  margin-bottom: 0.65rem;
}

/* ----- Detail page: border frame, no fill, no overlap mess ----- */
body.entry-single-page .entry-list-head,
body.entry-single-page .entry-list-body {
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.55) !important;
  border-radius: 12px !important;
  padding: 1.25rem 1.35rem !important;
  box-shadow: none !important;
  color: #fff !important;
}
body.entry-single-page .entry-list-body,
body.entry-single-page .entry-list-body p,
body.entry-single-page .entry-list-body li,
body.entry-single-page .entry-list-body h2,
body.entry-single-page .entry-list-body h3 {
  color: #fff !important;
  background: transparent !important;
}
body.entry-single-page .entry-list-thumb {
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.45) !important;
  border-radius: 12px !important;
  overflow: hidden;
  box-shadow: none !important;
}

/* Contact form fields: border only */
.fm-brand-menu .contact-form input,
.fm-brand-menu .contact-form select,
.fm-brand-menu .contact-form textarea,
body.archive-contact-page .contact-form input,
body.archive-contact-page .contact-form select,
body.archive-contact-page .contact-form textarea,
body.contact-page.front-minimal .contact-form input,
body.contact-page.front-minimal .contact-form select,
body.contact-page.front-minimal .contact-form textarea {
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.65) !important;
  color: #fff !important;
  border-radius: 6px !important;
}
.fm-brand-menu .contact-form input:focus,
.fm-brand-menu .contact-form select:focus,
.fm-brand-menu .contact-form textarea:focus,
body.archive-contact-page .contact-form input:focus,
body.archive-contact-page .contact-form textarea:focus {
  border-color: #fff !important;
  box-shadow: none !important;
  outline: 1px solid rgba(255, 255, 255, 0.5);
}

/* Buttons on transparent UI */
.fm-brand-menu .btn--contact-start,
.fm-brand-menu .btn,
body.archive-contact-page .btn--contact-start,
body.contact-page.front-minimal .btn--contact-start,
body.archive-blog-page .fm-back-home a,
body.archive-news-page .fm-back-home a,
body.archive-room-page .fm-back-home a,
body.archive-contact-page .fm-back-home a,
body.entry-single-page .fm-back-home a {
  background: transparent !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.85) !important;
}
.fm-brand-menu .btn--contact-start::before,
body.archive-blog-page .fm-back-home a::before,
body.archive-news-page .fm-back-home a::before,
body.archive-room-page .fm-back-home a::before,
body.archive-contact-page .fm-back-home a::before,
body.entry-single-page .fm-back-home a::before {
  display: none !important;
}

/* ----- Fix overlap: brand = wallpaper only; content always on top ----- */
body.archive-blog-page .fm-brand,
body.archive-news-page .fm-brand,
body.archive-room-page .fm-brand,
body.archive-contact-page .fm-brand,
body.entry-single-page .fm-brand,
body.contact-page.front-minimal .fm-brand {
  z-index: 0 !important;
  pointer-events: none !important;
}
body.archive-blog-page .fm-brand__bg,
body.archive-news-page .fm-brand__bg,
body.archive-room-page .fm-brand__bg,
body.archive-contact-page .fm-brand__bg,
body.entry-single-page .fm-brand__bg,
body.contact-page.front-minimal .fm-brand__bg {
  z-index: 0 !important;
}
body.archive-blog-page .fm-main,
body.archive-news-page .fm-main,
body.archive-room-page .fm-main,
body.archive-contact-page .fm-main,
body.entry-single-page .fm-main,
body.contact-page.front-minimal .fm-main {
  position: relative !important;
  z-index: 30 !important;
  background: transparent !important;
}
body.archive-blog-page .fm-section,
body.archive-news-page .fm-section,
body.archive-room-page .fm-section,
body.archive-contact-page .fm-section,
body.entry-single-page .fm-section,
body.entry-single-page .entry-single-section {
  position: relative !important;
  z-index: 31 !important;
  background: transparent !important;
  isolation: isolate;
}
/* Overlays above everything when open */
.fm-brand-menu {
  z-index: 400 !important;
}
.fm-sheet,
.fm-sheet--nature {
  z-index: 400 !important;
}
/* Topbar above wallpaper, below overlays */
body.archive-blog-page .fm-topbar,
body.archive-news-page .fm-topbar,
body.archive-room-page .fm-topbar,
body.archive-contact-page .fm-topbar,
body.entry-single-page .fm-topbar {
  z-index: 100 !important;
}

/* Pager: border only */
body.archive-blog-page .fm-pager__btn,
body.archive-news-page .fm-pager__btn,
body.archive-room-page .fm-pager__btn {
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.55) !important;
  color: #fff !important;
}
body.archive-blog-page .fm-pager__btn.is-active,
body.archive-news-page .fm-pager__btn.is-active,
body.archive-room-page .fm-pager__btn.is-active {
  background: transparent !important;
  border-color: #fff !important;
  color: #fff !important;
}

/* ==================================================
   v2.33.5 — stop image/text overlap; readable content panels
   Hero keeps seasonal image. Content sits in solid panels.
================================================== */

/* 1) Brand image does NOT stay under article/list text */
body.archive-blog-page .fm-brand.is-hidden,
body.archive-news-page .fm-brand.is-hidden,
body.archive-room-page .fm-brand.is-hidden,
body.archive-contact-page .fm-brand.is-hidden,
body.entry-single-page .fm-brand.is-hidden,
body.contact-page.front-minimal .fm-brand.is-hidden,
body.archive-blog-page.fm-scrolled .fm-brand,
body.archive-news-page.fm-scrolled .fm-brand,
body.archive-room-page.fm-scrolled .fm-brand,
body.archive-contact-page.fm-scrolled .fm-brand,
body.entry-single-page.fm-scrolled .fm-brand,
body.contact-page.front-minimal.fm-scrolled .fm-brand {
  visibility: hidden !important;
  pointer-events: none !important;
  opacity: 0 !important;
}
body.archive-blog-page .fm-brand.is-hidden .fm-brand__bg,
body.archive-news-page .fm-brand.is-hidden .fm-brand__bg,
body.archive-room-page .fm-brand.is-hidden .fm-brand__bg,
body.archive-contact-page .fm-brand.is-hidden .fm-brand__bg,
body.entry-single-page .fm-brand.is-hidden .fm-brand__bg,
body.contact-page.front-minimal .fm-brand.is-hidden .fm-brand__bg,
body.archive-blog-page .fm-brand.is-hidden .fm-brand__dots,
body.archive-news-page .fm-brand.is-hidden .fm-brand__dots,
body.archive-room-page .fm-brand.is-hidden .fm-brand__dots,
body.archive-contact-page .fm-brand.is-hidden .fm-brand__dots,
body.entry-single-page .fm-brand.is-hidden .fm-brand__dots,
body.contact-page.front-minimal .fm-brand.is-hidden .fm-brand__dots {
  opacity: 0 !important;
  visibility: hidden !important;
}

/* 2) Reading surface under list/detail/contact (not photo) */
body.archive-blog-page,
body.archive-news-page,
body.archive-room-page,
body.archive-contact-page,
body.entry-single-page,
body.contact-page.front-minimal {
  background: #f7f7f7 !important;
}
body.archive-blog-page .fm-main,
body.archive-news-page .fm-main,
body.archive-room-page .fm-main,
body.archive-contact-page .fm-main,
body.entry-single-page .fm-main,
body.contact-page.front-minimal .fm-main,
body.archive-blog-page .fm-section,
body.archive-news-page .fm-section,
body.archive-room-page .fm-section,
body.archive-contact-page .fm-section,
body.entry-single-page .fm-section,
body.entry-single-page .entry-single-section,
body.archive-blog-page .fm-list-section,
body.archive-news-page .fm-list-section,
body.archive-room-page .fm-list-section,
body.archive-contact-page .fm-list-section,
body.archive-blog-page .fm-back-home,
body.archive-news-page .fm-back-home,
body.archive-room-page .fm-back-home,
body.archive-contact-page .fm-back-home,
body.entry-single-page .fm-back-home,
body.archive-blog-page .fm-footer,
body.archive-news-page .fm-footer,
body.archive-room-page .fm-footer,
body.archive-contact-page .fm-footer,
body.entry-single-page .fm-footer {
  background: #f7f7f7 !important;
  color: #0f0f0f !important;
}

/* 3) List: solid card, dark text, clear borders */
body.archive-blog-page .fm-simple-list,
body.archive-news-page .fm-simple-list,
body.archive-room-page .fm-simple-list {
  background: #fff !important;
  border: 1px solid #e0e0e0 !important;
  border-radius: 12px !important;
  padding: 0.5rem 1.25rem !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04) !important;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}
body.archive-blog-page .fm-simple-item,
body.archive-news-page .fm-simple-item,
body.archive-room-page .fm-simple-item {
  border-bottom: 1px solid #e8e8e8 !important;
}
body.archive-blog-page .fm-simple-title,
body.archive-news-page .fm-simple-title,
body.archive-room-page .fm-simple-title {
  color: #0f0f0f !important;
}
body.archive-blog-page .fm-simple-date,
body.archive-news-page .fm-simple-date,
body.archive-room-page .fm-simple-date,
body.archive-blog-page .fm-simple-empty,
body.archive-news-page .fm-simple-empty,
body.archive-room-page .fm-simple-empty {
  color: #6b6b6b !important;
}
body.archive-blog-page .fm-list-section .fm-heading,
body.archive-news-page .fm-list-section .fm-heading,
body.archive-room-page .fm-list-section .fm-heading,
body.archive-contact-page .fm-heading,
body.contact-page.front-minimal .fm-heading {
  color: #0f0f0f !important;
  border-bottom: 2px solid #0f0f0f !important;
  text-shadow: none !important;
}
body.archive-contact-page .fm-contact-lead,
body.contact-page.front-minimal .fm-contact-lead {
  color: #6b6b6b !important;
  text-shadow: none !important;
}

/* 4) Detail article: solid readable panel */
body.entry-single-page .entry-list-head,
body.entry-single-page .entry-list-body {
  background: #fff !important;
  border: 1px solid #e0e0e0 !important;
  border-radius: 12px !important;
  padding: 1.25rem 1.35rem !important;
  color: #0f0f0f !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04) !important;
}
body.entry-single-page .entry-list-title {
  color: #0f0f0f !important;
  border-bottom-color: #e8e8e8 !important;
  text-shadow: none !important;
}
body.entry-single-page .entry-list-date {
  color: #6b6b6b !important;
}
body.entry-single-page .entry-list-body,
body.entry-single-page .entry-list-body p,
body.entry-single-page .entry-list-body li,
body.entry-single-page .entry-list-body h2,
body.entry-single-page .entry-list-body h3 {
  color: #0f0f0f !important;
  background: transparent !important;
}
body.entry-single-page .entry-list-thumb {
  background: #fff !important;
  border: 1px solid #e0e0e0 !important;
  border-radius: 12px !important;
  overflow: hidden;
}

/* 5) Contact page form: solid panel, readable */
body.archive-contact-page .fm-contact-inner,
body.contact-page.front-minimal .fm-contact-inner {
  background: #fff !important;
  border: 1px solid #e0e0e0 !important;
  border-radius: 14px !important;
  padding: 1.5rem 1.35rem 1.75rem !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04) !important;
}
body.archive-contact-page .contact-faq,
body.archive-contact-page .contact-faq__item,
body.archive-contact-page .contact-faq__q,
body.archive-contact-page .contact-faq__a,
body.archive-contact-page .contact-form,
body.contact-page.front-minimal .contact-faq,
body.contact-page.front-minimal .contact-form {
  background: transparent !important;
  color: #0f0f0f !important;
}
body.archive-contact-page .contact-faq__lead,
body.archive-contact-page .contact-faq__q-text,
body.archive-contact-page .contact-faq__a-inner p,
body.archive-contact-page .contact-intro__text,
body.archive-contact-page .contact-form label,
body.contact-page.front-minimal .contact-faq__lead,
body.contact-page.front-minimal .contact-faq__q-text,
body.contact-page.front-minimal .contact-form label {
  color: #0f0f0f !important;
  text-shadow: none !important;
}
body.archive-contact-page .contact-faq__list {
  border-top: 1px solid #e8e8e8 !important;
}
body.archive-contact-page .contact-faq__item {
  border-bottom: 1px solid #e8e8e8 !important;
}
body.archive-contact-page .contact-faq__icon {
  border-right-color: #6b6b6b !important;
  border-bottom-color: #6b6b6b !important;
}
body.archive-contact-page .contact-form input,
body.archive-contact-page .contact-form select,
body.archive-contact-page .contact-form textarea,
body.contact-page.front-minimal .contact-form input,
body.contact-page.front-minimal .contact-form select,
body.contact-page.front-minimal .contact-form textarea {
  background: #fff !important;
  border: 1px solid #d0d0d0 !important;
  color: #0f0f0f !important;
}
body.archive-contact-page .btn--contact-start,
body.contact-page.front-minimal .btn--contact-start,
body.archive-blog-page .fm-back-home a,
body.archive-news-page .fm-back-home a,
body.archive-room-page .fm-back-home a,
body.archive-contact-page .fm-back-home a,
body.entry-single-page .fm-back-home a {
  background: #fff !important;
  color: #0f0f0f !important;
  border: 1px solid #0f0f0f !important;
}

/* 6) Top-page overlays (contact / news / blog): solid panel, NO full-screen dark */
.fm-sheet__backdrop,
.fm-sheet--nature .fm-sheet__backdrop {
  background: transparent !important;
  opacity: 0 !important;
  backdrop-filter: none !important;
}
.fm-sheet--nature .fm-sheet__panel,
.fm-brand-menu .fm-brand-menu__panel.fm-brand-menu__panel--contact,
.fm-brand-menu__panel--contact {
  background: #fff !important;
  color: #0f0f0f !important;
  border: 1px solid #e0e0e0 !important;
  border-radius: 16px !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18) !important;
  backdrop-filter: none !important;
}
.fm-sheet--nature .fm-sheet__title,
.fm-brand-menu__title {
  color: #0f0f0f !important;
  border-bottom: 2px solid #0f0f0f !important;
  text-shadow: none !important;
}
.fm-sheet--nature .fm-feed-item {
  background: #fff !important;
  border: 1px solid #e8e8e8 !important;
  color: #0f0f0f !important;
}
.fm-sheet--nature .fm-feed-item__title,
.fm-sheet--nature .fm-feed-detail__title,
.fm-sheet--nature .fm-feed-detail__body,
.fm-sheet--nature .fm-feed-detail__body p,
.fm-sheet--nature .fm-feed-back,
.fm-sheet--nature .fm-feed-item__date {
  color: #0f0f0f !important;
  text-shadow: none !important;
}
.fm-sheet--nature .fm-sheet__close,
.fm-brand-menu__close {
  color: #0f0f0f !important;
  border: 1px solid #ccc !important;
  background: #fff !important;
}
.fm-brand-menu,
.fm-brand-menu.is-open,
.fm-brand-menu.is-open.is-settled {
  background: transparent !important;
}
.fm-brand-menu .contact-faq__lead,
.fm-brand-menu .contact-faq__q-text,
.fm-brand-menu .contact-faq__a-inner p,
.fm-brand-menu .contact-intro__text,
.fm-brand-menu .contact-form label,
.fm-brand-menu__contact {
  color: #0f0f0f !important;
  text-shadow: none !important;
  background: transparent !important;
}
.fm-brand-menu .contact-faq__list {
  border-top: 1px solid #e8e8e8 !important;
}
.fm-brand-menu .contact-faq__item {
  border-bottom: 1px solid #e8e8e8 !important;
  background: transparent !important;
}
.fm-brand-menu .contact-faq__icon {
  border-right-color: #6b6b6b !important;
  border-bottom-color: #6b6b6b !important;
}
.fm-brand-menu .contact-form input,
.fm-brand-menu .contact-form select,
.fm-brand-menu .contact-form textarea {
  background: #fff !important;
  border: 1px solid #d0d0d0 !important;
  color: #0f0f0f !important;
}
.fm-brand-menu .contact-form input::placeholder,
.fm-brand-menu .contact-form textarea::placeholder {
  color: #999 !important;
}
.fm-brand-menu .btn--contact-start,
.fm-brand-menu .btn {
  background: #fff !important;
  color: #0f0f0f !important;
  border: 1px solid #0f0f0f !important;
}
.fm-sheet--nature .fm-feed-list {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
}

/* Pager */
body.archive-blog-page .fm-pager__btn,
body.archive-news-page .fm-pager__btn,
body.archive-room-page .fm-pager__btn {
  background: #fff !important;
  border: 1px solid #e0e0e0 !important;
  color: #6b6b6b !important;
}
body.archive-blog-page .fm-pager__btn.is-active,
body.archive-news-page .fm-pager__btn.is-active,
body.archive-room-page .fm-pager__btn.is-active {
  background: #5069cc !important;
  border-color: #5069cc !important;
  color: #fff !important;
}

/* ==================================================
   v2.33.6 — Mobile: full-screen panels, translucent white
   so seasonal bg image slightly shows through
================================================== */
@media (max-width: 720px) {

  /* Keep seasonal image as wallpaper on mobile list/detail/contact */
  body.archive-blog-page .fm-brand.is-hidden,
  body.archive-news-page .fm-brand.is-hidden,
  body.archive-room-page .fm-brand.is-hidden,
  body.archive-contact-page .fm-brand.is-hidden,
  body.entry-single-page .fm-brand.is-hidden,
  body.contact-page.front-minimal .fm-brand.is-hidden,
  body.archive-blog-page.fm-scrolled .fm-brand,
  body.archive-news-page.fm-scrolled .fm-brand,
  body.archive-room-page.fm-scrolled .fm-brand,
  body.archive-contact-page.fm-scrolled .fm-brand,
  body.entry-single-page.fm-scrolled .fm-brand,
  body.contact-page.front-minimal.fm-scrolled .fm-brand {
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: none !important;
    z-index: 0 !important;
  }
  body.archive-blog-page .fm-brand.is-hidden .fm-brand__bg,
  body.archive-news-page .fm-brand.is-hidden .fm-brand__bg,
  body.archive-room-page .fm-brand.is-hidden .fm-brand__bg,
  body.archive-contact-page .fm-brand.is-hidden .fm-brand__bg,
  body.entry-single-page .fm-brand.is-hidden .fm-brand__bg,
  body.contact-page.front-minimal .fm-brand.is-hidden .fm-brand__bg,
  body.archive-blog-page .fm-brand.is-hidden .fm-brand__dots,
  body.archive-news-page .fm-brand.is-hidden .fm-brand__dots,
  body.archive-room-page .fm-brand.is-hidden .fm-brand__dots,
  body.archive-contact-page .fm-brand.is-hidden .fm-brand__dots,
  body.entry-single-page .fm-brand.is-hidden .fm-brand__dots,
  body.contact-page.front-minimal .fm-brand.is-hidden .fm-brand__dots {
    opacity: 1 !important;
    visibility: visible !important;
  }
  body.archive-blog-page .fm-brand.is-hidden .fm-brand__text,
  body.archive-news-page .fm-brand.is-hidden .fm-brand__text,
  body.archive-room-page .fm-brand.is-hidden .fm-brand__text,
  body.archive-contact-page .fm-brand.is-hidden .fm-brand__text,
  body.entry-single-page .fm-brand.is-hidden .fm-brand__text,
  body.contact-page.front-minimal .fm-brand.is-hidden .fm-brand__text,
  body.archive-blog-page .fm-brand.is-hidden .fm-brand__tagline,
  body.archive-news-page .fm-brand.is-hidden .fm-brand__tagline,
  body.archive-room-page .fm-brand.is-hidden .fm-brand__tagline,
  body.archive-contact-page .fm-brand.is-hidden .fm-brand__tagline,
  body.entry-single-page .fm-brand.is-hidden .fm-brand__tagline,
  body.contact-page.front-minimal .fm-brand.is-hidden .fm-brand__tagline {
    opacity: 0 !important;
    visibility: hidden !important;
  }

  /* Page chrome: translucent so photo shows */
  body.archive-blog-page,
  body.archive-news-page,
  body.archive-room-page,
  body.archive-contact-page,
  body.entry-single-page,
  body.contact-page.front-minimal {
    background: transparent !important;
  }
  body.archive-blog-page .fm-main,
  body.archive-news-page .fm-main,
  body.archive-room-page .fm-main,
  body.archive-contact-page .fm-main,
  body.entry-single-page .fm-main,
  body.contact-page.front-minimal .fm-main,
  body.archive-blog-page .fm-section,
  body.archive-news-page .fm-section,
  body.archive-room-page .fm-section,
  body.archive-contact-page .fm-section,
  body.entry-single-page .fm-section,
  body.entry-single-page .entry-single-section,
  body.archive-blog-page .fm-list-section,
  body.archive-news-page .fm-list-section,
  body.archive-room-page .fm-list-section,
  body.archive-contact-page .fm-list-section,
  body.archive-blog-page .fm-back-home,
  body.archive-news-page .fm-back-home,
  body.archive-room-page .fm-back-home,
  body.archive-contact-page .fm-back-home,
  body.entry-single-page .fm-back-home,
  body.archive-blog-page .fm-footer,
  body.archive-news-page .fm-footer,
  body.archive-room-page .fm-footer,
  body.archive-contact-page .fm-footer,
  body.entry-single-page .fm-footer {
    background: rgba(255, 255, 255, 0.82) !important;
  }
  body.archive-blog-page .fm-main,
  body.archive-news-page .fm-main,
  body.archive-room-page .fm-main,
  body.archive-contact-page .fm-main,
  body.entry-single-page .fm-main,
  body.contact-page.front-minimal .fm-main {
    position: relative !important;
    z-index: 30 !important;
  }

  /* List / detail cards: full-width feel, translucent white */
  body.archive-blog-page .fm-simple-list,
  body.archive-news-page .fm-simple-list,
  body.archive-room-page .fm-simple-list {
    background: rgba(255, 255, 255, 0.88) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 14px !important;
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box;
  }
  body.entry-single-page .entry-list-head,
  body.entry-single-page .entry-list-body,
  body.entry-single-page .entry-list-thumb {
    background: rgba(255, 255, 255, 0.88) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    max-width: 100% !important;
    width: 100% !important;
  }
  body.archive-contact-page .fm-contact-inner,
  body.contact-page.front-minimal .fm-contact-inner {
    background: rgba(255, 255, 255, 0.88) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box;
  }

  /* Headings stay dark on translucent white */
  body.archive-blog-page .fm-list-section .fm-heading,
  body.archive-news-page .fm-list-section .fm-heading,
  body.archive-room-page .fm-list-section .fm-heading,
  body.archive-contact-page .fm-heading,
  body.contact-page.front-minimal .fm-heading,
  body.entry-single-page .entry-list-title {
    color: #0f0f0f !important;
    border-bottom-color: #0f0f0f !important;
  }

  /* Sections use full viewport on mobile */
  body.archive-blog-page .fm-section,
  body.archive-news-page .fm-section,
  body.archive-room-page .fm-section,
  body.archive-contact-page .fm-section,
  body.entry-single-page .entry-single-section {
    min-height: 100vh;
    min-height: 100dvh;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    justify-content: flex-start !important;
  }

  /* ----- Top-page overlays: full screen, translucent white ----- */
  .fm-sheet--nature,
  .fm-sheet.fm-sheet--nature {
    padding: 0 !important;
    align-items: stretch !important;
    justify-content: stretch !important;
  }
  .fm-sheet--nature .fm-sheet__panel,
  .fm-sheet__panel--feed {
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    min-height: 100dvh !important;
    margin: 0 !important;
    border-radius: 0 !important;
    border: 0 !important;
    background: rgba(255, 255, 255, 0.86) !important;
    box-shadow: none !important;
    padding: calc(1rem + env(safe-area-inset-top, 0px)) 1.1rem calc(1.25rem + env(safe-area-inset-bottom, 0px)) !important;
  }
  .fm-brand-menu {
    align-items: stretch !important;
    justify-content: stretch !important;
  }
  .fm-brand-menu .fm-brand-menu__panel.fm-brand-menu__panel--contact,
  .fm-brand-menu__panel--contact {
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    min-height: 100dvh !important;
    margin: 0 !important;
    border-radius: 0 !important;
    border: 0 !important;
    background: rgba(255, 255, 255, 0.86) !important;
    box-shadow: none !important;
  }
  .fm-brand-menu__contact-inner {
    width: 100% !important;
    max-width: 100% !important;
    padding: calc(3rem + env(safe-area-inset-top, 0px)) 1.1rem calc(1.5rem + env(safe-area-inset-bottom, 0px)) !important;
  }
  .fm-sheet--nature .fm-feed-item {
    background: rgba(255, 255, 255, 0.55) !important;
  }
  .fm-sheet--nature .fm-sheet__close,
  .fm-brand-menu__close {
    background: rgba(255, 255, 255, 0.9) !important;
  }
}

/* ==================================================
   v2.33.7 — FAQ accordion spacing (left/right + above/below)
================================================== */
.contact-faq {
  margin: 1.25rem 0 2.75rem !important;
  padding: 0 0.85rem !important;
  box-sizing: border-box;
}
.contact-faq__lead {
  padding: 0 0.35rem !important;
  margin: 0 0 1.35rem !important;
}
.contact-faq__list {
  margin: 0 !important;
  padding: 0 !important;
}
.contact-faq__q {
  padding: 1.2rem 1rem !important;
  gap: 1.15rem !important;
}
.contact-faq__q-text {
  padding-right: 0.35rem !important;
  line-height: 1.65 !important;
}
.contact-faq__a {
  padding: 0 1rem !important;
}
.contact-faq__item.is-open .contact-faq__a {
  padding-bottom: 0.35rem !important;
}
.contact-faq__a-inner p,
.contact-faq__a p {
  padding: 0.15rem 0 1.25rem !important;
  line-height: 1.9 !important;
}

/* Space above/below start button (under FAQ) */
.contact-step--intro {
  margin-top: 0.5rem !important;
  padding: 0 0.85rem !important;
}
.contact-intro__text {
  padding: 0 0.35rem !important;
  margin-bottom: 1.5rem !important;
}
.contact-intro__actions {
  margin-top: 1.25rem !important;
  margin-bottom: 0.75rem !important;
  padding: 0 0.35rem !important;
}
.btn--contact-start {
  margin-top: 0.35rem !important;
  margin-bottom: 0.35rem !important;
}

/* Same spacing inside top-page contact menu panel */
.fm-brand-menu .contact-faq,
.fm-brand-menu__contact .contact-faq,
.fm-contact-inner .contact-faq {
  margin: 1.25rem 0 2.75rem !important;
  padding: 0 0.85rem !important;
}
.fm-brand-menu .contact-faq__q,
.fm-contact-inner .contact-faq__q {
  padding: 1.2rem 1rem !important;
}
.fm-brand-menu .contact-faq__a,
.fm-contact-inner .contact-faq__a {
  padding: 0 1rem !important;
}
.fm-brand-menu .contact-step--intro,
.fm-contact-inner .contact-step--intro {
  padding: 0 0.85rem !important;
}

@media (max-width: 720px) {
  .contact-faq,
  .fm-brand-menu .contact-faq,
  .fm-contact-inner .contact-faq {
    padding: 0 1rem !important;
    margin: 1rem 0 2.5rem !important;
  }
  .contact-faq__q,
  .fm-brand-menu .contact-faq__q,
  .fm-contact-inner .contact-faq__q {
    padding: 1.15rem 0.85rem !important;
  }
  .contact-faq__a,
  .fm-brand-menu .contact-faq__a,
  .fm-contact-inner .contact-faq__a {
    padding: 0 0.85rem !important;
  }
  .contact-step--intro,
  .fm-brand-menu .contact-step--intro,
  .fm-contact-inner .contact-step--intro {
    padding: 0 1rem !important;
  }
  .contact-intro__actions {
    margin-top: 1.35rem !important;
    margin-bottom: 1rem !important;
  }
}

/* ==================================================
   v2.33.8 — Slow fade: feed detail open / back to list
================================================== */
.fm-feed-list,
.fm-feed-detail {
  transition: opacity 0.7s ease, transform 0.7s ease;
  opacity: 1;
  transform: translateY(0);
}
.fm-feed-list.is-view-out,
.fm-feed-detail.is-view-out {
  opacity: 0 !important;
  transform: translateY(10px);
  pointer-events: none;
}
.fm-feed-list.is-view-in,
.fm-feed-detail.is-view-in {
  opacity: 1 !important;
  transform: translateY(0);
}
.fm-feed-list[hidden],
.fm-feed-detail[hidden] {
  display: none !important;
}
/* While fading out, keep in layout until timer hides */
.fm-feed-list.is-view-out:not([hidden]),
.fm-feed-detail.is-view-out:not([hidden]) {
  display: block !important;
  position: absolute;
  left: 0;
  right: 0;
  width: 100%;
}
.fm-sheet__body {
  position: relative;
}

/* Single detail page: slow fade-in of article */
body.entry-single-page .entry-list-head,
body.entry-single-page .entry-list-thumb,
body.entry-single-page .entry-list-body,
body.entry-single-page .fm-back-home {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
body.entry-single-page.fm-loaded .entry-list-head,
body.entry-single-page.fm-loaded .entry-list-thumb,
body.entry-single-page.fm-loaded .entry-list-body,
body.entry-single-page.fm-loaded .fm-back-home {
  opacity: 1;
  transform: translateY(0);
}
body.entry-single-page.fm-loaded .entry-list-thumb {
  transition-delay: 0.12s;
}
body.entry-single-page.fm-loaded .entry-list-body {
  transition-delay: 0.22s;
}
body.entry-single-page.fm-loaded .fm-back-home {
  transition-delay: 0.32s;
}

/* Archive list items: gentle fade when page loads */
body.archive-blog-page .fm-simple-list,
body.archive-news-page .fm-simple-list,
body.archive-room-page .fm-simple-list {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.85s ease, transform 0.85s ease;
}
body.archive-blog-page.fm-loaded .fm-simple-list,
body.archive-news-page.fm-loaded .fm-simple-list,
body.archive-room-page.fm-loaded .fm-simple-list {
  opacity: 1;
  transform: translateY(0);
}

/* ==================================================
   v2.33.9 — remove contact corner marks / select style /
   soft opacity-only list↔detail motion
================================================== */

/* Remove corner「 marks (L-brackets) and angular clips */
.fm-brand-menu__contact::before,
.fm-brand-menu__contact::after {
  content: none !important;
  display: none !important;
  border: 0 !important;
  width: 0 !important;
  height: 0 !important;
}
.fm-brand-menu__contact {
  clip-path: none !important;
  border-radius: 12px !important;
  border: 1px solid #e0e0e0 !important;
  background: transparent !important;
}
.fm-brand-menu__close {
  clip-path: none !important;
  border-radius: 50% !important;
}
.fm-brand-menu__contact .contact-form input,
.fm-brand-menu__contact .contact-form select,
.fm-brand-menu__contact .contact-form textarea,
.fm-brand-menu__contact .btn--primary,
.fm-brand-menu__contact button[type="submit"],
.fm-brand-menu__contact .contact-faq__item {
  clip-path: none !important;
}

/* Inquiry type dropdown: no fill, border only */
.contact-form select,
.fm-contact-form select,
.fm-brand-menu .contact-form select,
.fm-brand-menu__contact .contact-form select,
.fm-contact-inner .contact-form select,
body.archive-contact-page .contact-form select,
body.contact-page.front-minimal .contact-form select,
#contact_type {
  background-color: transparent !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23333' d='M1.4 0L6 4.6 10.6 0 12 1.4 6 7.4 0 1.4z'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 0.9rem center !important;
  background-size: 12px 8px !important;
  border: 1px solid #c8c8c8 !important;
  border-radius: 6px !important;
  box-shadow: none !important;
  color: #0f0f0f !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}
.contact-form select:focus,
.fm-brand-menu .contact-form select:focus,
#contact_type:focus {
  border-color: #0f0f0f !important;
  box-shadow: none !important;
  outline: none !important;
  background-color: transparent !important;
}
/* Native dropdown list options (where supported) */
.contact-form select option,
#contact_type option {
  background-color: #fff;
  color: #0f0f0f;
}

/* Soft “fuwa” motion: opacity only, no sliding stretch */
.fm-feed-list,
.fm-feed-detail {
  transition: opacity 0.85s ease !important;
  transform: none !important;
}
.fm-feed-list.is-view-out,
.fm-feed-detail.is-view-out {
  opacity: 0 !important;
  transform: none !important;
}
.fm-feed-list.is-view-in,
.fm-feed-detail.is-view-in {
  opacity: 1 !important;
  transform: none !important;
}
.fm-feed-list.is-view-out:not([hidden]),
.fm-feed-detail.is-view-out:not([hidden]) {
  transform: none !important;
}

body.entry-single-page .entry-list-head,
body.entry-single-page .entry-list-thumb,
body.entry-single-page .entry-list-body,
body.entry-single-page .fm-back-home {
  transform: none !important;
  transition: opacity 0.9s ease !important;
}
body.entry-single-page.fm-loaded .entry-list-head,
body.entry-single-page.fm-loaded .entry-list-thumb,
body.entry-single-page.fm-loaded .entry-list-body,
body.entry-single-page.fm-loaded .fm-back-home {
  transform: none !important;
}

body.archive-blog-page .fm-simple-list,
body.archive-news-page .fm-simple-list,
body.archive-room-page .fm-simple-list {
  transform: none !important;
  transition: opacity 0.85s ease !important;
}
body.archive-blog-page.fm-loaded .fm-simple-list,
body.archive-news-page.fm-loaded .fm-simple-list,
body.archive-room-page.fm-loaded .fm-simple-list {
  transform: none !important;
}

/* Sheet / menu open-close: opacity only (no scale/slide) */
.fm-sheet--nature .fm-sheet__panel {
  transform: none !important;
  transition: opacity 1s ease !important;
}
.fm-sheet--nature.is-open .fm-sheet__panel,
.fm-sheet--nature.is-closing .fm-sheet__panel {
  transform: none !important;
}
.fm-brand-menu__panel--contact,
.fm-brand-menu .fm-brand-menu__panel.fm-brand-menu__panel--contact {
  transform: none !important;
  transition: opacity 1s ease !important;
}
.fm-brand-menu.is-open .fm-brand-menu__panel--contact,
.fm-brand-menu.is-open.is-settled .fm-brand-menu__panel--contact,
.fm-brand-menu.is-closing .fm-brand-menu__panel--contact {
  transform: none !important;
}

/* ==================================================
   v2.33.10 — square thumbs + detail body side padding
================================================== */

/* Thumbnails / eye-catch: full rectangle, no corner cut */
.fm-feed-item__thumb,
.fm-feed-detail__thumb img,
.fm-feed-item img,
body.entry-single-page .entry-list-thumb,
body.entry-single-page .entry-list-thumb__img,
.fm-simple-list img,
.entry-list-thumb img,
.wp-post-image {
  clip-path: none !important;
  border-radius: 0 !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
}
.fm-feed-item {
  clip-path: none !important;
  border-radius: 8px !important;
}
.fm-feed-item__thumb {
  border-radius: 0 !important;
  overflow: hidden;
}
.fm-feed-detail__thumb img {
  border-radius: 0 !important;
  width: 100%;
  display: block;
}
body.entry-single-page .entry-list-thumb {
  border-radius: 0 !important;
  overflow: hidden;
}
body.entry-single-page .entry-list-thumb__img {
  border-radius: 0 !important;
}

/* Detail page body: horizontal padding */
body.entry-single-page .entry-list-body {
  padding-left: 1.5rem !important;
  padding-right: 1.5rem !important;
  box-sizing: border-box;
}
body.entry-single-page .entry-list-head {
  padding-left: 1.5rem !important;
  padding-right: 1.5rem !important;
  box-sizing: border-box;
}
@media (max-width: 720px) {
  body.entry-single-page .entry-list-body {
    padding-left: 1.15rem !important;
    padding-right: 1.15rem !important;
  }
  body.entry-single-page .entry-list-head {
    padding-left: 1.15rem !important;
    padding-right: 1.15rem !important;
  }
}

/* Overlay detail body also gets side padding */
.fm-feed-detail {
  padding-left: 0.35rem;
  padding-right: 0.35rem;
}
.fm-feed-detail__body {
  padding-left: 0.25rem;
  padding-right: 0.25rem;
}
.fm-sheet--nature .fm-feed-detail__body {
  padding-left: 0.5rem !important;
  padding-right: 0.5rem !important;
}
@media (max-width: 720px) {
  .fm-sheet--nature .fm-feed-detail__body,
  .fm-feed-detail__body {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }
}

/* ==================================================
   v2.33.11 — list items: no bg fill, border only
================================================== */
body.archive-blog-page .fm-simple-list,
body.archive-news-page .fm-simple-list,
body.archive-room-page .fm-simple-list {
  background: transparent !important;
  background-color: transparent !important;
  border: 1px solid #d0d0d0 !important;
  box-shadow: none !important;
}
body.archive-blog-page .fm-simple-item,
body.archive-news-page .fm-simple-item,
body.archive-room-page .fm-simple-item {
  background: transparent !important;
  background-color: transparent !important;
  border-bottom: 1px solid #e0e0e0 !important;
}
body.archive-blog-page .fm-simple-item:last-child,
body.archive-news-page .fm-simple-item:last-child,
body.archive-room-page .fm-simple-item:last-child {
  border-bottom: none !important;
}
body.archive-blog-page .fm-simple-link,
body.archive-news-page .fm-simple-link,
body.archive-room-page .fm-simple-link {
  background: transparent !important;
}

/* Overlay feed list items (top page news/blog sheet) */
.fm-sheet--nature .fm-feed-item,
.fm-feed-item,
.fm-feed-item--news {
  background: transparent !important;
  background-color: transparent !important;
  border: 1px solid #d0d0d0 !important;
  box-shadow: none !important;
}
.fm-feed-item:hover,
.fm-sheet--nature .fm-feed-item:hover {
  background: transparent !important;
  border-color: #0f0f0f !important;
}

@media (max-width: 720px) {
  body.archive-blog-page .fm-simple-list,
  body.archive-news-page .fm-simple-list,
  body.archive-room-page .fm-simple-list {
    background: transparent !important;
    border: 1px solid rgba(0, 0, 0, 0.18) !important;
  }
  .fm-sheet--nature .fm-feed-item,
  .fm-feed-item {
    background: transparent !important;
    border: 1px solid rgba(0, 0, 0, 0.18) !important;
  }
}

/* ==================================================
   v2.33.12 — detail title/date align with body text start
================================================== */
body.entry-single-page .entry-list-head,
body.entry-single-page .entry-list-body {
  padding-left: 1.5rem !important;
  padding-right: 1.5rem !important;
  box-sizing: border-box !important;
  text-align: left !important;
  margin-left: auto !important;
  margin-right: auto !important;
  width: 100% !important;
  max-width: 40rem !important;
}
body.entry-single-page .entry-list-date,
body.entry-single-page .entry-list-title {
  display: block !important;
  text-align: left !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  width: 100% !important;
  max-width: none !important;
}
body.entry-single-page .entry-list-body,
body.entry-single-page .entry-list-body p,
body.entry-single-page .entry-list-body h2,
body.entry-single-page .entry-list-body h3 {
  text-align: left !important;
}

/* Overlay (top page sheet) detail: title/date/body same start */
.fm-feed-detail,
.fm-sheet--nature .fm-feed-detail {
  text-align: left !important;
  padding-left: 0.75rem !important;
  padding-right: 0.75rem !important;
  box-sizing: border-box;
}
.fm-feed-detail__date,
.fm-feed-detail__title,
.fm-feed-detail__body,
.fm-sheet--nature .fm-feed-detail__date,
.fm-sheet--nature .fm-feed-detail__title,
.fm-sheet--nature .fm-feed-detail__body {
  text-align: left !important;
  margin-left: 0 !important;
  padding-left: 0 !important;
  width: 100% !important;
  box-sizing: border-box;
}
.fm-feed-back,
.fm-sheet--nature .fm-feed-back {
  text-align: left !important;
  margin-left: 0 !important;
}

@media (max-width: 720px) {
  body.entry-single-page .entry-list-head,
  body.entry-single-page .entry-list-body {
    padding-left: 1.15rem !important;
    padding-right: 1.15rem !important;
  }
  .fm-feed-detail,
  .fm-sheet--nature .fm-feed-detail {
    padding-left: 0.85rem !important;
    padding-right: 0.85rem !important;
  }
}

/* ==================================================
   v2.33.13 — list borders: square corners
================================================== */
body.archive-blog-page .fm-simple-list,
body.archive-news-page .fm-simple-list,
body.archive-room-page .fm-simple-list {
  border-radius: 0 !important;
}
body.archive-blog-page .fm-simple-item,
body.archive-news-page .fm-simple-item,
body.archive-room-page .fm-simple-item,
body.archive-blog-page .fm-simple-link,
body.archive-news-page .fm-simple-link,
body.archive-room-page .fm-simple-link {
  border-radius: 0 !important;
}
.fm-feed-item,
.fm-feed-item--news,
.fm-sheet--nature .fm-feed-item {
  border-radius: 0 !important;
  clip-path: none !important;
}
@media (max-width: 720px) {
  body.archive-blog-page .fm-simple-list,
  body.archive-news-page .fm-simple-list,
  body.archive-room-page .fm-simple-list,
  .fm-feed-item,
  .fm-sheet--nature .fm-feed-item {
    border-radius: 0 !important;
  }
}

/* ==================================================
   v2.33.14 — list page heading: more top spacing
================================================== */
body.archive-blog-page .fm-list-section .fm-heading,
body.archive-news-page .fm-list-section .fm-heading,
body.archive-room-page .fm-list-section .fm-heading {
  margin-top: 2.5rem !important;
  padding-top: 1.25rem !important;
}
body.archive-blog-page .fm-list-section,
body.archive-news-page .fm-list-section,
body.archive-room-page .fm-list-section {
  padding-top: 5.5rem !important;
}
@media (max-width: 720px) {
  body.archive-blog-page .fm-list-section .fm-heading,
  body.archive-news-page .fm-list-section .fm-heading,
  body.archive-room-page .fm-list-section .fm-heading {
    margin-top: 1.75rem !important;
    padding-top: 1rem !important;
  }
  body.archive-blog-page .fm-list-section,
  body.archive-news-page .fm-list-section,
  body.archive-room-page .fm-list-section {
    padding-top: 4.5rem !important;
  }
}

/* ==================================================
   v2.33.15 — more space above sheet title (BLOG / NEWS)
================================================== */
.fm-sheet--nature .fm-sheet__title,
.fm-sheet__title,
.fm-sheet__title--blog,
.fm-sheet__title--news {
  margin-top: 1.75rem !important;
  padding-top: 1.25rem !important;
}
.fm-sheet--nature .fm-sheet__panel,
.fm-sheet__panel--feed {
  padding-top: 2.5rem !important;
}
.fm-sheet--nature .fm-sheet__close {
  top: 1.25rem !important;
}

@media (max-width: 720px) {
  .fm-sheet--nature .fm-sheet__title,
  .fm-sheet__title,
  .fm-sheet__title--blog,
  .fm-sheet__title--news {
    margin-top: 2.25rem !important;
    padding-top: 1.75rem !important;
    margin-bottom: 1.5rem !important;
  }
  .fm-sheet--nature .fm-sheet__panel,
  .fm-sheet__panel--feed {
    padding-top: calc(3.25rem + env(safe-area-inset-top, 0px)) !important;
  }
  .fm-sheet--nature .fm-sheet__close {
    top: calc(1.15rem + env(safe-area-inset-top, 0px)) !important;
  }
}

/* ==================================================
   v2.33.15 — large top space above BLOG / NEWS sheet title
================================================== */
@media (max-width: 720px) {
  .fm-sheet.fm-sheet--nature .fm-sheet__panel,
  .fm-sheet--nature .fm-sheet__panel,
  .fm-sheet--nature .fm-sheet__panel--feed,
  .fm-sheet__panel--feed {
    padding-top: calc(4.75rem + env(safe-area-inset-top, 0px)) !important;
  }
  .fm-sheet.fm-sheet--nature .fm-sheet__title,
  .fm-sheet--nature .fm-sheet__title,
  .fm-sheet__title--blog,
  .fm-sheet__title--news,
  .fm-sheet .fm-sheet__title {
    margin-top: 0.5rem !important;
    padding-top: 0.75rem !important;
    margin-bottom: 1.75rem !important;
  }
  .fm-sheet--nature .fm-sheet__close,
  .fm-sheet .fm-sheet__close {
    top: calc(1.35rem + env(safe-area-inset-top, 0px)) !important;
  }
}

/* PC also a bit more air above title */
@media (min-width: 721px) {
  .fm-sheet--nature .fm-sheet__panel,
  .fm-sheet__panel--feed {
    padding-top: 2.75rem !important;
  }
  .fm-sheet--nature .fm-sheet__title,
  .fm-sheet__title--blog,
  .fm-sheet__title--news {
    margin-top: 0.75rem !important;
    margin-bottom: 1.5rem !important;
  }
}

/* ==================================================
   v2.33.16 — move close button inward (red mark position)
================================================== */
.fm-sheet__close,
.fm-sheet--nature .fm-sheet__close,
.fm-sheet .fm-sheet__close {
  position: absolute !important;
  top: 1.35rem !important;
  right: 1.15rem !important;
  left: auto !important;
  width: 2.5rem !important;
  height: 2.5rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
  padding: 0 !important;
  z-index: 20 !important;
}

.fm-brand-menu__close {
  position: absolute !important;
  top: 1.35rem !important;
  right: 1.15rem !important;
  left: auto !important;
  float: none !important;
  margin: 0 !important;
  width: 2.5rem !important;
  height: 2.5rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
  z-index: 20 !important;
}

@media (max-width: 720px) {
  .fm-sheet__close,
  .fm-sheet--nature .fm-sheet__close,
  .fm-sheet .fm-sheet__close,
  .fm-brand-menu__close {
    /* Red-mark position: slightly lower & inset from the extreme corner */
    top: calc(1.1rem + env(safe-area-inset-top, 0px)) !important;
    right: 1rem !important;
    width: 2.65rem !important;
    height: 2.65rem !important;
  }
}

/* ==================================================
   v2.33.17 — close btn = corner icon size /
   PC full-screen overlays + light translucent white
================================================== */

/* Close button same size as top-right news/blog icons (48px) */
.fm-sheet__close,
.fm-sheet--nature .fm-sheet__close,
.fm-sheet .fm-sheet__close,
.fm-brand-menu__close {
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  min-height: 48px !important;
  border-radius: 50% !important;
  box-sizing: border-box !important;
  font-size: 1.25rem !important;
}
@media (max-width: 720px) {
  .fm-sheet__close,
  .fm-sheet--nature .fm-sheet__close,
  .fm-sheet .fm-sheet__close,
  .fm-brand-menu__close {
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    min-height: 46px !important;
  }
}

/* PC: full-screen contact / news / blog overlays (same as mobile) */
@media (min-width: 721px) {
  .fm-sheet.fm-sheet--nature,
  .fm-sheet--nature {
    padding: 0 !important;
    align-items: stretch !important;
    justify-content: stretch !important;
  }
  .fm-sheet--nature .fm-sheet__panel,
  .fm-sheet--nature .fm-sheet__panel--feed,
  .fm-sheet__panel--feed {
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    min-height: 100vh !important;
    min-height: 100dvh !important;
    margin: 0 !important;
    border-radius: 0 !important;
    border: 0 !important;
    background: rgba(255, 255, 255, 0.78) !important;
    box-shadow: none !important;
    padding: 3rem 2.5rem 2.5rem !important;
    box-sizing: border-box !important;
  }
  .fm-brand-menu {
    align-items: stretch !important;
    justify-content: stretch !important;
  }
  .fm-brand-menu .fm-brand-menu__panel.fm-brand-menu__panel--contact,
  .fm-brand-menu__panel--contact {
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    min-height: 100vh !important;
    min-height: 100dvh !important;
    margin: 0 !important;
    border-radius: 0 !important;
    border: 0 !important;
    background: rgba(255, 255, 255, 0.78) !important;
    box-shadow: none !important;
  }
  .fm-brand-menu__contact-inner {
    width: min(720px, 92vw) !important;
    max-width: 720px !important;
    margin: 0 auto !important;
    padding: 3.5rem 1.5rem 2.5rem !important;
  }
  .fm-sheet--nature .fm-feed-list,
  .fm-sheet--nature .fm-feed-detail {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Soften white on all breakpoints so seasonal bg shows through */
.fm-sheet--nature .fm-sheet__panel,
.fm-sheet__panel--feed {
  background: rgba(255, 255, 255, 0.78) !important;
}
.fm-brand-menu .fm-brand-menu__panel.fm-brand-menu__panel--contact,
.fm-brand-menu__panel--contact {
  background: rgba(255, 255, 255, 0.78) !important;
}
@media (max-width: 720px) {
  .fm-sheet--nature .fm-sheet__panel,
  .fm-sheet__panel--feed,
  .fm-brand-menu .fm-brand-menu__panel.fm-brand-menu__panel--contact,
  .fm-brand-menu__panel--contact {
    background: rgba(255, 255, 255, 0.78) !important;
  }
}

/* ==================================================
   v2.33.18 — PC close button = same as top-right news icon
================================================== */
@media (min-width: 721px) {
  /* Match .fm-corner--tr + .fm-corner__icon-btn (news icon) */
  .fm-sheet.is-open .fm-sheet__close,
  .fm-sheet--nature.is-open .fm-sheet__close,
  .fm-sheet.is-open .fm-sheet__close,
  .fm-brand-menu.is-open .fm-brand-menu__close,
  .fm-brand-menu.is-open.is-settled .fm-brand-menu__close {
    position: fixed !important;
    top: calc(var(--frame-w, 30px) + 0.65rem) !important;
    right: calc(var(--frame-w, 30px) + 0.65rem) !important;
    left: auto !important;
    bottom: auto !important;
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;
    margin: 0 !important;
    float: none !important;
    border-radius: 50% !important;
    border: 2px solid rgba(15, 15, 15, 0.35) !important;
    background: #fff !important;
    color: #0f0f0f !important;
    box-sizing: border-box !important;
    display: grid !important;
    place-items: center !important;
    padding: 0 !important;
    font-size: 1.2rem !important;
    line-height: 1 !important;
    z-index: 420 !important;
    box-shadow: none !important;
  }
}

/* ==================================================
   v2.33.19 — close btn = news icon (PC + SP)
================================================== */

/* Default: same as top-right news icon */
.fm-sheet.is-open .fm-sheet__close,
.fm-sheet--nature.is-open .fm-sheet__close,
.fm-sheet.is-open .fm-sheet__close,
.fm-brand-menu.is-open .fm-brand-menu__close,
.fm-brand-menu.is-open.is-settled .fm-brand-menu__close,
.fm-sheet__close,
.fm-sheet--nature .fm-sheet__close,
.fm-brand-menu__close {
  position: fixed !important;
  top: calc(var(--frame-w, 30px) + 0.65rem) !important;
  right: calc(var(--frame-w, 30px) + 0.65rem) !important;
  left: auto !important;
  bottom: auto !important;
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  min-height: 48px !important;
  margin: 0 !important;
  float: none !important;
  border-radius: 50% !important;
  border: 2px solid rgba(15, 15, 15, 0.35) !important;
  background: #fff !important;
  color: #0f0f0f !important;
  box-sizing: border-box !important;
  display: grid !important;
  place-items: center !important;
  padding: 0 !important;
  font-size: 1.2rem !important;
  line-height: 1 !important;
  z-index: 420 !important;
  box-shadow: none !important;
}

@media (max-width: 720px) {
  .fm-sheet.is-open .fm-sheet__close,
  .fm-sheet--nature.is-open .fm-sheet__close,
  .fm-sheet.is-open .fm-sheet__close,
  .fm-brand-menu.is-open .fm-brand-menu__close,
  .fm-brand-menu.is-open.is-settled .fm-brand-menu__close,
  .fm-sheet__close,
  .fm-sheet--nature .fm-sheet__close,
  .fm-brand-menu__close {
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    min-height: 46px !important;
    top: calc(var(--frame-w, 30px) + 0.65rem) !important;
    right: calc(var(--frame-w, 30px) + 0.65rem) !important;
  }
}

@media (max-width: 420px) {
  .fm-sheet.is-open .fm-sheet__close,
  .fm-sheet--nature.is-open .fm-sheet__close,
  .fm-sheet.is-open .fm-sheet__close,
  .fm-brand-menu.is-open .fm-brand-menu__close,
  .fm-brand-menu.is-open.is-settled .fm-brand-menu__close,
  .fm-sheet__close,
  .fm-sheet--nature .fm-sheet__close,
  .fm-brand-menu__close {
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    min-height: 46px !important;
    top: calc(var(--frame-w, 15px) + 0.45rem) !important;
    right: calc(var(--frame-w, 15px) + 0.45rem) !important;
  }
}

/* ==================================================
   v2.34.0 — server-side archive pagination links
================================================== */
.fm-pager--server {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin: 2rem 0 0;
  padding: 0 1rem;
}
.fm-pager--server .fm-pager__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.4rem;
  height: 2.4rem;
  padding: 0 0.65rem;
  border: 1px solid #e0e0e0;
  background: #fff;
  color: #6b6b6b;
  text-decoration: none;
  font-size: 0.9rem;
  line-height: 1;
  border-radius: 0;
  box-sizing: border-box;
}
.fm-pager--server a.fm-pager__btn:hover,
.fm-pager--server a.fm-pager__btn:focus-visible {
  border-color: #0f0f0f;
  color: #0f0f0f;
  outline: none;
}
.fm-pager--server .fm-pager__btn.is-active {
  background: #5069cc;
  border-color: #5069cc;
  color: #fff;
}

/* ==================================================
   Contact mail guide (copy template)
================================================== */
.fm-mail-guide {
  text-align: left;
  color: #0f0f0f;
}
.fm-mail-guide__lead {
  margin: 0 0 1.1rem;
  font-size: 0.95rem;
  line-height: 1.85;
  letter-spacing: 0.02em;
}
.fm-mail-guide__to {
  margin: 0 0 1.25rem;
  padding: 0.85rem 1rem;
  background: #f4f6f8;
  border: 1px solid rgba(15,15,15,0.12);
  border-radius: 10px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
}
.fm-mail-guide__label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: #666;
  font-weight: 600;
}
.fm-mail-guide__email {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f0f0f;
  text-decoration: underline;
  word-break: break-all;
}
.fm-mail-guide__email:hover {
  opacity: 0.75;
}
.fm-mail-guide__box {
  margin: 0 0 1.1rem;
  border: 1px solid rgba(15,15,15,0.15);
  border-radius: 12px;
  background: #fafbfc;
  overflow: auto;
  max-height: min(48vh, 420px);
}
.fm-mail-guide__pre {
  margin: 0;
  padding: 1rem 1.1rem;
  font-family: "Zen Kaku Gothic New", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 0.88rem;
  line-height: 1.75;
  white-space: pre-wrap;
  word-break: break-word;
  color: #1a1a1a;
}
.fm-mail-guide__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}
.fm-mail-guide__copy,
.fm-mail-guide__mailto {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  cursor: pointer;
  border: 0;
  transition: opacity 0.2s ease, transform 0.15s ease;
}
.fm-mail-guide__copy {
  background: #5E3E8C;
  color: #fff;
}
.fm-mail-guide__mailto {
  background: transparent;
  color: #0f0f0f;
  border: 1.5px solid rgba(15,15,15,0.35);
}
.fm-mail-guide__copy:hover,
.fm-mail-guide__mailto:hover {
  opacity: 0.88;
}
.fm-mail-guide__copy.is-done {
  background: #3d6b4f !important;
  color: #fff !important;
}
.fm-mail-guide__note {
  margin: 0.85rem 0 0;
  padding: 0.7rem 1rem;
  font-size: 0.95rem;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.06em;
  background: #3d6b4f;
  border-radius: 10px;
  text-align: center;
}
.fm-mail-guide__note[hidden] {
  display: none !important;
}
.fm-mail-guide__note.is-visible {
  display: block;
  animation: fmMailCopyIn 0.25s ease;
}
@keyframes fmMailCopyIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.fm-brand-menu__contact--mail {
  clip-path: none;
  border-radius: 14px;
}

/* ==================================================
   Archive list pages (/news/ /blog/) — seasonal uploaded BGs
================================================== */
body.archive-list-page,
body.archive-news-page,
body.archive-blog-page {
  overflow-x: hidden;
  overflow-y: auto !important;
  height: auto !important;
  max-height: none !important;
}
body.archive-list-page .fm-stage,
body.archive-news-page .fm-stage,
body.archive-blog-page .fm-stage {
  height: auto;
  min-height: 100dvh;
  max-height: none;
  overflow: visible;
}
body.archive-news-page .fm-brand.archive-brand .fm-brand__bg,
body.archive-blog-page .fm-brand.archive-brand .fm-brand__bg {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
body.archive-news-page .fm-main,
body.archive-blog-page .fm-main {
  display: block !important;
  height: auto !important;
  position: relative;
  z-index: 2;
}
.archive-list-panel {
  padding: 2.5rem 1.25rem 2rem;
  margin: 0 auto;
  max-width: 720px;
}
.archive-list-panel__inner {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 16px;
  padding: 1.75rem 1.35rem 1.5rem;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.5);
}
.archive-list-heading {
  margin: 0 0 1.25rem;
  text-align: center;
}
.archive-simple-list .fm-simple-link {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: 0.75rem;
  align-items: baseline;
  padding: 0.85rem 0.25rem;
  border-bottom: 1px solid rgba(15, 15, 15, 0.1);
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s ease;
}
.archive-simple-list .fm-simple-link:hover {
  opacity: 0.72;
}
.archive-simple-list .fm-simple-date {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: #666;
  font-family: 'Oswald', system-ui, sans-serif;
}
.archive-simple-list .fm-simple-title {
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.5;
}
/* Corner icons as anchors */
a.fm-corner__icon-btn {
  text-decoration: none;
  color: inherit;
}
a.fm-corner__icon-btn:hover {
  opacity: 0.88;
}
/* Hide removed mail guide actions if residual CSS */
.fm-mail-guide__actions {
  display: none !important;
}

/* ==================================================
   Entry article detail (news / blog) — mock design
================================================== */
body.entry-article-page {
  margin: 0;
  background: #fff;
  color: #111;
  overflow-x: hidden;
  overflow-y: auto !important;
  height: auto !important;
  max-height: none !important;
  min-height: 100dvh;
}
body.entry-article-page .fm-loader {
  /* keep theme loader */
}
.entry-article {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 1.25rem 1.25rem 2.5rem;
  box-sizing: border-box;
  background: #fff;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
.entry-article__card {
  flex: 1 1 auto;
  width: 100%;
}
.entry-article__media {
  margin: 0 0 1.75rem;
  padding: 0;
  width: 100%;
  overflow: hidden;
  background: #f0f0f0;
}
.entry-article__img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: top;
  object-fit: cover;
  aspect-ratio: 16 / 10;
}
.entry-article__header {
  margin: 0 0 1.5rem;
}
.entry-article__date {
  display: block;
  margin: 0 0 0.85rem;
  padding: 0 0 0.65rem;
  font-size: 1rem;
  letter-spacing: 0.04em;
  color: #222;
  border-bottom: 1px solid #d8d8d8;
  font-weight: 400;
}
.entry-article__title {
  margin: 0;
  padding: 0 0 0.9rem;
  font-size: clamp(1.45rem, 4.2vw, 1.85rem);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.02em;
  color: #111;
  border-bottom: 1px solid #d8d8d8;
}
.entry-article__body {
  margin: 0 0 2.5rem;
  font-size: 1rem;
  line-height: 1.9;
  color: #222;
}
.entry-article__body p {
  margin: 0 0 1.1em;
}
.entry-article__body p:last-child {
  margin-bottom: 0;
}
.entry-article__footer {
  margin: 0 0 2rem;
  padding-top: 0.5rem;
  border-top: 1px solid #e5e5e5;
}
.entry-article__back {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 3rem;
  margin-top: 1.25rem;
  padding: 0.75rem 1.25rem;
  box-sizing: border-box;
  border: 1.5px solid #222;
  border-radius: 999px;
  background: #fff;
  color: #111;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}
.entry-article__back:hover {
  background: #111;
  color: #fff;
}
.entry-article__copy {
  margin-top: auto;
  padding: 1rem 0 0;
  text-align: center;
  font-size: 0.8rem;
  color: #888;
}
.entry-article__copy p {
  margin: 0;
}
@media (min-width: 768px) {
  .entry-article {
    padding: 2rem 1.5rem 3rem;
    max-width: 760px;
  }
  .entry-article__title {
    font-size: 1.9rem;
  }
  .entry-article__body {
    font-size: 1.05rem;
  }
}

/* Corner icons as page links (not popup) */
a.fm-corner__icon-btn,
a.fm-corner__icon-btn:link,
a.fm-corner__icon-btn:visited {
  text-decoration: none !important;
  color: #fff !important;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}
a.fm-corner__icon-btn--news,
a.fm-corner__icon-btn--blog,
a.fm-corner__icon-btn--about,
a.fm-corner__icon-btn--pickup {
  background: transparent !important;
  border: 2px solid #fff !important;
  color: #fff !important;
  opacity: 1 !important;
  visibility: visible !important;
  display: grid !important;
  place-items: center !important;
  width: 48px !important;
  height: 48px !important;
  border-radius: 50% !important;
  pointer-events: auto !important;
  box-shadow: none !important;
}
a.fm-corner__icon-btn--news:hover,
a.fm-corner__icon-btn--news:focus-visible,
a.fm-corner__icon-btn--blog:hover,
a.fm-corner__icon-btn--blog:focus-visible,
a.fm-corner__icon-btn--about:hover,
a.fm-corner__icon-btn--about:focus-visible,
a.fm-corner__icon-btn--pickup:hover,
a.fm-corner__icon-btn--pickup:focus-visible {
  background: transparent !important;
  border-color: #fff !important;
  color: #fff !important;
  box-shadow: none !important;
}
a.fm-corner__icon-btn .fm-corner__glyph {
  color: #fff !important;
  pointer-events: none;
}
body.fm-loaded .fm-corner--tr {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: none;
}
body.fm-loaded .fm-corner--tr a.fm-corner__icon-btn {
  pointer-events: auto !important;
}

/* Archive pages: full-screen seasonal photo like uploaded mock */
body.archive-news-page,
body.archive-blog-page {
  background: #111;
}
body.archive-news-page .fm-brand,
body.archive-blog-page .fm-brand {
  position: fixed !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 100dvh !important;
  z-index: 0 !important;
}
body.archive-news-page .fm-brand__bg,
body.archive-blog-page .fm-brand__bg {
  position: absolute !important;
  inset: 0 !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  opacity: 1 !important;
}
body.archive-news-page .fm-brand__center,
body.archive-blog-page .fm-brand__center,
body.archive-news-page .fm-brand__tagline,
body.archive-blog-page .fm-brand__tagline,
body.archive-news-page .fm-brand__dots,
body.archive-blog-page .fm-brand__dots {
  display: none !important;
}
body.archive-news-page .fm-main.archive-main,
body.archive-blog-page .fm-main.archive-main {
  position: relative !important;
  z-index: 2 !important;
  min-height: 100dvh;
  padding-top: 12vh;
  padding-bottom: 3rem;
  background: transparent !important;
}
body.archive-news-page .archive-list-panel,
body.archive-blog-page .archive-list-panel {
  max-width: 640px;
  margin: 0 auto;
}
body.archive-news-page .archive-list-panel__inner,
body.archive-blog-page .archive-list-panel__inner {
  background: rgba(255,255,255,0.94) !important;
}

/* ==================================================
   Archive list pages — exact mock layout
   (hero photo top / white list bottom)
================================================== */
body.archive-page {
  margin: 0;
  background: #fff !important;
  background-image: none !important;
  background-attachment: scroll !important;
  color: #111;
  overflow-x: hidden;
  overflow-y: auto !important;
  height: auto !important;
  min-height: 100dvh;
}
.al-page {
  width: 100%;
  min-height: 100dvh;
  background: #fff !important;
  background-image: none !important;
  display: flex;
  flex-direction: column;
}
.al-hero {
  width: 100%;
  margin: 0;
  padding: 0;
  line-height: 0;
  background: #dfe8ef;
}
.al-hero__img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 48vh;
  object-fit: cover;
  object-position: center center;
}
.al-hero__fallback {
  width: 100%;
  height: 36vh;
  background: #c5d4c8;
}
.al-main {
  flex: 1 1 auto;
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 2rem;
  box-sizing: border-box;
  background: #fff;
}
.al-title {
  display: table;
  margin: 0 auto 2rem;
  text-align: center;
  font-size: clamp(1.75rem, 4vw, 2.15rem);
  font-weight: 500;
  letter-spacing: 0.12em;
  color: #111;
  line-height: 1.3;
}
.al-title::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  margin: 0.65rem 0 0;
  background: #111;
}
.al-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 820px;
}
.al-item {
  margin: 0 0 0.85rem;
  padding: 0;
}
.al-item__link {
  display: block;
  padding: 0.95rem 1.1rem;
  border: 1px solid #cfcfcf;
  background: #fff;
  color: #111;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.al-item__link:hover {
  background: #fafafa;
  border-color: #aaa;
}
.al-item__date {
  display: block;
  margin: 0 0 0.35rem;
  font-size: 0.9rem;
  color: #333;
  letter-spacing: 0.04em;
}
.al-item__title {
  display: block;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.5;
  color: #111;
}
/* Blog: thumbnail left */
.al-item__link--blog {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.65rem 1rem 0.65rem 0.65rem;
}
.al-item__thumb {
  flex: 0 0 72px;
  width: 72px;
  height: 54px;
  overflow: hidden;
  background: #e8e8e8;
}
.al-item__thumb-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.al-item__thumb-ph {
  display: block;
  width: 100%;
  height: 100%;
  background: #ddd;
}
.al-item__meta {
  flex: 1 1 auto;
  min-width: 0;
}
.al-empty {
  text-align: center;
  color: #666;
  padding: 2rem 0;
}
.al-home {
  margin: 2.5rem 0 0;
  text-align: center;
}
.al-home a {
  color: #333;
  text-decoration: underline;
  font-size: 0.95rem;
}
.al-footer {
  text-align: center;
  padding: 1.5rem 1rem 2rem;
  font-size: 0.8rem;
  color: #888;
}
.al-footer p { margin: 0; }
body.archive-page .anoine-pagination,
body.archive-page .fm-pagination {
  margin: 1.5rem 0 0;
  text-align: center;
}

/* Top-right icons always visible + real links */
body.fm-loaded .fm-corner--tr {
  opacity: 1 !important;
  visibility: visible !important;
  display: flex !important;
  gap: 0.75rem !important;
  pointer-events: none;
}
a.fm-corner__icon-btn {
  pointer-events: auto !important;
  text-decoration: none !important;
  color: #fff !important;
  width: 48px !important;
  height: 48px !important;
  border-radius: 50% !important;
  background: transparent !important;
  border: 2px solid #fff !important;
  display: grid !important;
  place-items: center !important;
  box-sizing: border-box !important;
  box-shadow: none !important;
}
a.fm-corner__icon-btn--about,
a.fm-corner__icon-btn--blog,
a.fm-corner__icon-btn--news {
  background: transparent !important;
  border: 2px solid #fff !important;
  color: #fff !important;
  box-shadow: none !important;
}
a.fm-corner__icon-btn .fm-corner__glyph {
  color: #fff !important;
  pointer-events: none;
}

@media (max-width: 640px) {
  .al-hero__img { max-height: 34vh; }
  .al-main { padding: 1.75rem 1rem 1.5rem; }
  .al-item__thumb { flex-basis: 64px; width: 64px; height: 48px; }
}

/* Hero = background image only (landscape crop, no mock text) */
.al-hero {
  width: 100%;
  height: clamp(200px, 38vw, 420px);
  margin: 0;
  padding: 0;
  background-color: #d5e0d8;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.al-hero__img { display: none !important; }

/* Entry detail loader */
body.entry-article-page .fm-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #5E3E8C;
  color: #fff;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}
body.entry-article-page .fm-loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
body.entry-article-page .fm-loader__mark {
  display: block;
  font-size: 1.6rem;
  letter-spacing: 0.2em;
  font-weight: 700;
  color: #fff;
  text-align: center;
}
body.entry-article-page .fm-loader__bar {
  display: block;
  width: 120px;
  height: 2px;
  margin: 1rem auto 0;
  background: rgba(255,255,255,0.25);
  position: relative;
  overflow: hidden;
}
body.entry-article-page .fm-loader__bar::after {
  content: "";
  position: absolute;
  left: -40%;
  top: 0;
  width: 40%;
  height: 100%;
  background: #fff;
  animation: fmEntryBar 1s ease-in-out infinite;
}
@keyframes fmEntryBar {
  0% { left: -40%; }
  100% { left: 100%; }
}
body.entry-article-page .entry-article {
  opacity: 0;
  transition: opacity 0.5s ease;
}
body.entry-article-page .entry-article.is-ready,
body.entry-article-page.fm-loaded .entry-article {
  opacity: 1;
}
body.entry-article-page .entry-article[hidden] {
  display: block !important;
  opacity: 0;
}
body.entry-article-page.fm-loaded .entry-article[hidden] {
  opacity: 1;
}

/* ==================================================
   Archive hero — top-page season images, no top gap
================================================== */
html:has(body.archive-page),
body.archive-page {
  margin: 0 !important;
  padding: 0 !important;
  background: #fff !important;
  background-image: none !important;
  background-attachment: scroll !important;
}
body.archive-page .al-page {
  margin: 0 !important;
  padding: 0 !important;
  gap: 0 !important;
}
body.archive-page .al-hero,
body.archive-page .al-hero--season {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  height: clamp(220px, 42vw, 480px) !important;
  min-height: 220px !important;
  background-color: #5E3E8C;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  line-height: 0 !important;
  font-size: 0 !important;
  /* match top page brand image treatment */
  position: relative;
}
body.archive-page .al-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  /* subtle dots like top? keep clean */
  background: transparent;
}
body.archive-page .al-main {
  margin: 0 auto !important;
  padding-top: 2.25rem !important;
}
/* kill admin-bar / theme frame gap on archive */
body.archive-page.admin-bar .al-hero {
  margin-top: 0 !important;
}
body.archive-page .al-hero__img,
body.archive-page .al-hero__fallback {
  display: none !important;
}

/* Archive + entry loaders = same as top page */
body.archive-page .fm-loader,
body.entry-article-page .fm-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #5069cc !important;
  color: #fff;
  transition: opacity 1.4s ease, visibility 1.4s ease;
}
body.archive-page .fm-loader.is-done,
body.entry-article-page .fm-loader.is-done {
  opacity: 0;
  visibility: hidden;
}
body.archive-page .fm-loader.is-gone,
body.entry-article-page .fm-loader.is-gone {
  display: none;
}
body.archive-page .fm-loader__mark,
body.entry-article-page .fm-loader__mark {
  display: block;
  font-family: var(--font-display), system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.35em;
  text-indent: 0.35em;
  color: #FFFFFF !important;
  margin-bottom: 1.25rem;
  animation: fmLoaderPulse 2.2s ease-in-out infinite;
}
body.archive-page .fm-loader__bar,
body.entry-article-page .fm-loader__bar {
  display: block;
  width: 72px;
  height: 1px;
  margin: 0 auto;
  background: #FFFFFF !important;
  transform-origin: left center;
  animation: fmLoaderBar 2.2s ease-in-out infinite;
}
body.archive-page .fm-loader__bar::after,
body.entry-article-page .fm-loader__bar::after {
  display: none !important;
}
body.archive-page .al-page,
body.entry-article-page .entry-article {
  opacity: 0;
  transition: opacity 0.6s ease;
}
body.archive-page.fm-loaded .al-page,
body.entry-article-page.fm-loaded .entry-article,
body.archive-page .al-page.is-ready,
body.entry-article-page .entry-article.is-ready {
  opacity: 1;
}
/* Detail page season hero (same as list) */
body.entry-article-page .entry-article__season,
body.entry-article-page .al-hero--season {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  height: clamp(200px, 38vw, 420px) !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-color: #5E3E8C;
}
body.entry-article-page .entry-article__card {
  max-width: 720px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 0;
  box-sizing: border-box;
  background: #fff;
}

/* Archive: dots overlay on season hero + footer space + pager */
body.archive-page .al-hero--season {
  position: relative !important;
  overflow: hidden !important;
}
body.archive-page .al-hero__dots {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.22) 1px, transparent 1px);
  background-size: 10px 10px;
}
body.archive-page .al-footer {
  padding: 2rem 1rem 6rem !important;
  margin-bottom: 0 !important;
}
body.archive-page .al-page {
  padding-bottom: 0 !important;
}
body.archive-page .fm-pager,
body.archive-page .fm-pager--server {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin: 1.75rem 0 0.5rem;
}
body.archive-page .fm-pager__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.4rem;
  height: 2.4rem;
  padding: 0 0.65rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #fff;
  color: #111;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
}
body.archive-page .fm-pager__btn.is-active {
  background: #111;
  color: #fff;
  border-color: #111;
}
body.archive-page .fm-pager__btn:hover:not(.is-active) {
  border-color: #888;
}

/* Detail: season image as OUTER background (not inside content) */
body.entry-article-page {
  background: #111;
  min-height: 100dvh;
}
body.entry-article-page .entry-season-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-color: #5E3E8C;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  pointer-events: none;
}
body.entry-article-page .entry-season-bg__dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.22) 1px, transparent 1px);
  background-size: 10px 10px;
  pointer-events: none;
}
body.entry-article-page .entry-article {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  padding: 2rem 1rem 3rem;
  box-sizing: border-box;
  background: transparent !important;
  min-height: 100dvh;
}
body.entry-article-page .entry-article__card {
  background: #fff;
  border-radius: 4px;
  padding: 1.5rem 1.35rem 1.75rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
  max-width: 100%;
  margin: 0 auto;
}
body.entry-article-page .entry-article__copy {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  padding: 1.5rem 0 2rem;
}
/* Hide old inner season hero if residual */
body.entry-article-page .entry-article__season,
body.entry-article-page .entry-article > .al-hero {
  display: none !important;
}

/* Detail back button: site color + slow L→R flow; text always readable */
body.entry-article-page .entry-article__back {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 3rem;
  margin-top: 1.25rem;
  padding: 0.75rem 1.25rem;
  box-sizing: border-box;
  overflow: hidden;
  isolation: isolate;
  border: 0;
  border-radius: 999px;
  background: #5069cc;
  color: #ffffff !important;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  z-index: 0;
  transition: color 0.2s ease, box-shadow 0.2s ease;
}
body.entry-article-page .entry-article__back::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    105deg,
    transparent 0%,
    transparent 35%,
    rgba(255, 255, 255, 0.28) 50%,
    transparent 65%,
    transparent 100%
  );
  background-size: 220% 100%;
  background-position: 100% 0;
  animation: entryBackFlow 3.6s ease-in-out infinite;
  pointer-events: none;
}
body.entry-article-page .entry-article__back:hover,
body.entry-article-page .entry-article__back:focus-visible {
  color: #ffffff !important;
  background: #3f56b0;
  box-shadow: 0 4px 14px rgba(80, 105, 204, 0.35);
  outline: none;
}
body.entry-article-page .entry-article__back:hover::before,
body.entry-article-page .entry-article__back:focus-visible::before {
  animation-duration: 2.4s;
}
@keyframes entryBackFlow {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

/* Archive list: home button with slow L→R flow */
body.archive-page .al-home {
  margin: 2.5rem 0 0;
  text-align: center;
}
body.archive-page .al-home-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(100%, 320px);
  width: 100%;
  max-width: 420px;
  min-height: 3rem;
  padding: 0.75rem 1.5rem;
  box-sizing: border-box;
  overflow: hidden;
  isolation: isolate;
  border: 0;
  border-radius: 999px;
  background: #5069cc;
  color: #ffffff !important;
  text-decoration: none !important;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  z-index: 0;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
body.archive-page .al-home-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    105deg,
    transparent 0%,
    transparent 35%,
    rgba(255, 255, 255, 0.28) 50%,
    transparent 65%,
    transparent 100%
  );
  background-size: 220% 100%;
  background-position: 100% 0;
  animation: alHomeFlow 3.6s ease-in-out infinite;
  pointer-events: none;
}
body.archive-page .al-home-btn:hover,
body.archive-page .al-home-btn:focus-visible {
  color: #ffffff !important;
  background: #3f56b0;
  box-shadow: 0 4px 14px rgba(80, 105, 204, 0.35);
  outline: none;
}
body.archive-page .al-home-btn:hover::before,
body.archive-page .al-home-btn:focus-visible::before {
  animation-duration: 2.4s;
}
@keyframes alHomeFlow {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

/* ==================================================
   List horizontal padding + refined detail (top-matched)
================================================== */
body.archive-page .al-main {
  padding-left: 1.75rem !important;
  padding-right: 1.75rem !important;
  max-width: 880px;
  box-sizing: border-box;
}
body.archive-page .al-list {
  margin-left: auto;
  margin-right: auto;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  box-sizing: border-box;
}
body.archive-page .al-item__link {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}
body.archive-page .al-home {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  box-sizing: border-box;
}
body.archive-page .al-home-btn {
  margin-left: auto;
  margin-right: auto;
  max-width: calc(100% - 0.5rem);
}
body.archive-page .fm-pager--server {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}
@media (max-width: 640px) {
  body.archive-page .al-main {
    padding-left: 1.15rem !important;
    padding-right: 1.15rem !important;
  }
  body.archive-page .al-list {
    padding-left: 0.35rem;
    padding-right: 0.35rem;
  }
  body.archive-page .al-home {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }
}

/* Detail page — simple / cool, aligned with top */
body.entry-article-page {
  font-family: "Zen Kaku Gothic New", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}
body.entry-article-page .entry-season-bg {
  filter: saturate(1.05) contrast(1.02);
}
body.entry-article-page .entry-article {
  max-width: 720px;
  padding: 2.5rem 1.25rem 3.5rem !important;
}
body.entry-article-page .entry-article__card {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 12px;
  padding: 1.75rem 1.5rem 1.85rem !important;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}
body.entry-article-page .entry-article__media {
  margin: 0 0 1.35rem;
  border-radius: 8px;
  overflow: hidden;
}
body.entry-article-page .entry-article__img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  width: 100%;
  display: block;
}
body.entry-article-page .entry-article__date {
  border-bottom: 1px solid rgba(17, 17, 17, 0.12);
  color: #5069cc;
  font-family: "Oswald", system-ui, sans-serif;
  font-weight: 500;
  letter-spacing: 0.08em;
  font-size: 0.92rem;
}
body.entry-article-page .entry-article__title {
  border-bottom: 1px solid rgba(17, 17, 17, 0.12);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.45;
  color: #111;
}
body.entry-article-page .entry-article__body {
  color: #222;
  line-height: 1.95;
  font-size: 1rem;
}
body.entry-article-page .entry-article__footer {
  border-top: 1px solid rgba(17, 17, 17, 0.1);
  margin-top: 0.5rem;
  padding-top: 0.25rem;
}
body.entry-article-page .entry-article__copy {
  letter-spacing: 0.12em;
  font-size: 0.75rem;
}
@media (min-width: 768px) {
  body.entry-article-page .entry-article {
    padding: 3rem 1.5rem 4rem !important;
  }
  body.entry-article-page .entry-article__card {
    padding: 2rem 2rem 2.1rem !important;
  }
}

/* ==================================================
   Detail article mock layout (title → date → image → body)
================================================== */
body.entry-article-page .entry-article__card.entry-mock,
body.entry-article-page .entry-mock {
  background: #fff !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12) !important;
  padding: 1.75rem 1.35rem 2rem !important;
  max-width: 720px;
  margin: 0 auto;
}
body.entry-article-page .entry-mock__header {
  margin: 0 0 1.15rem;
}
body.entry-article-page .entry-mock__title {
  margin: 0 0 0.85rem;
  padding: 0;
  border: 0 !important;
  font-size: clamp(1.35rem, 4vw, 1.7rem);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.02em;
  color: #1a1a1a;
  /* prevent awkward mid-phrase breaks (global h1 uses overflow-wrap:anywhere) */
  overflow-wrap: break-word !important;
  word-break: normal !important;
  line-break: strict;
  white-space: normal;
}
body.entry-article-page .entry-mock__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
  margin: 0;
  color: #888;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}
body.entry-article-page .entry-mock__date {
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  color: #888 !important;
  font-family: inherit !important;
  font-weight: 400 !important;
  letter-spacing: 0.02em !important;
  font-size: 0.85rem !important;
}
body.entry-article-page .entry-mock__updated {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: #888;
}
body.entry-article-page .entry-mock__updated-icon {
  font-size: 0.9rem;
  opacity: 0.85;
}
body.entry-article-page .entry-mock__media {
  margin: 0 0 1.5rem;
  padding: 0;
  border-radius: 6px;
  overflow: hidden;
  background: #f0f0f0;
}
body.entry-article-page .entry-mock__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
body.entry-article-page .entry-mock__body {
  margin: 0 0 1.75rem;
  font-size: 1rem;
  line-height: 1.95;
  color: #333;
}
body.entry-article-page .entry-mock__body > *:first-child {
  margin-top: 0;
}
body.entry-article-page .entry-mock__body p {
  margin: 0 0 1.15em;
}
body.entry-article-page .entry-mock__body h2 {
  margin: 1.75em 0 0.85em;
  padding: 0.55rem 0.9rem;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.5;
  color: #1a1a1a;
  background: #e8f3fb;
  border-radius: 4px;
  border: 0;
}
body.entry-article-page .entry-mock__body h3 {
  margin: 1.5em 0 0.65em;
  padding: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #1a1a1a;
  border: 0;
}
body.entry-article-page .entry-mock__body h4 {
  margin: 1.25em 0 0.55em;
  font-size: 0.98rem;
  font-weight: 700;
  color: #1a1a1a;
}
body.entry-article-page .entry-mock__body ul,
body.entry-article-page .entry-mock__body ol {
  margin: 0 0 1.15em;
  padding-left: 1.35em;
}
body.entry-article-page .entry-mock__body li {
  margin: 0.35em 0;
}
body.entry-article-page .entry-mock__body blockquote {
  margin: 1.25em 0;
  padding: 0.9rem 1rem;
  background: #e8f6f1;
  border-left: 4px solid #5db89a;
  border-radius: 0 4px 4px 0;
  color: #244;
}
body.entry-article-page .entry-mock__body a {
  color: #5069cc;
  text-decoration: underline;
}
body.entry-article-page .entry-mock__body img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}
body.entry-article-page .entry-mock__footer {
  margin: 0;
  padding-top: 0.5rem;
  border-top: 1px solid #eee;
}
@media (min-width: 768px) {
  body.entry-article-page .entry-mock {
    padding: 2.25rem 2rem 2.25rem !important;
  }
  body.entry-article-page .entry-mock__title {
    font-size: 1.75rem;
  }
}

/* Archive list hero — lower height */
body.archive-page .al-hero,
body.archive-page .al-hero--season {
  height: clamp(120px, 22vw, 220px) !important;
  min-height: 120px !important;
  max-height: 220px !important;
}

/* Detail title underline #5069cc + H2–H4 based on #5069cc */
body.entry-article-page .entry-mock__title {
  border-bottom: 3px solid #5069cc !important;
  padding-bottom: 0.65rem !important;
  margin-bottom: 0.85rem !important;
}
body.entry-article-page .entry-mock__body h2 {
  margin: 1.75em 0 0.85em !important;
  padding: 0.55rem 0.9rem !important;
  font-size: 1.08rem !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
  color: #ffffff !important;
  background: #5069cc !important;
  border-radius: 4px !important;
  border: 0 !important;
}
body.entry-article-page .entry-mock__body h3 {
  margin: 1.5em 0 0.65em !important;
  padding: 0.45rem 0.8rem !important;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
  color: #1a2744 !important;
  background: #dce3f7 !important;
  border-radius: 4px !important;
  border: 0 !important;
}
body.entry-article-page .entry-mock__body h4 {
  margin: 1.25em 0 0.55em !important;
  padding: 0.4rem 0.75rem !important;
  font-size: 0.98rem !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
  color: #243056 !important;
  background: #eef1fa !important;
  border-radius: 4px !important;
  border: 0 !important;
}
/* Also apply in any entry content */
body.entry-article-page .entry-content h2 {
  color: #ffffff !important;
  background: #5069cc !important;
  padding: 0.55rem 0.9rem !important;
  border-radius: 4px !important;
}
body.entry-article-page .entry-content h3 {
  color: #1a2744 !important;
  background: #dce3f7 !important;
  padding: 0.45rem 0.8rem !important;
  border-radius: 4px !important;
}
body.entry-article-page .entry-content h4 {
  color: #243056 !important;
  background: #eef1fa !important;
  padding: 0.4rem 0.75rem !important;
  border-radius: 4px !important;
}

/* List page title underline = title text width */
body.archive-page .al-title {
  display: table !important;
  width: auto !important;
  max-width: 100%;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center;
}
body.archive-page .al-title::after {
  content: "" !important;
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: 2px !important;
  margin: 0.65rem 0 0 !important;
  background: #111 !important;
}

/* Corner stacks: ABOUT under NEWS/BLOG, POLICY under mail */
.fm-corner--tr {
  flex-direction: column !important;
  align-items: center !important;
  gap: 0.65rem !important;
}
.fm-corner--tl {
  flex-direction: column !important;
  align-items: center !important;
  gap: 0.65rem !important;
}
a.fm-corner__icon-btn--about,
a.fm-corner__icon-btn--policy {
  text-decoration: none !important;
  color: #fff !important;
  width: 48px !important;
  height: 48px !important;
  border-radius: 50% !important;
  background: transparent !important;
  border: 2px solid #fff !important;
  display: grid !important;
  place-items: center !important;
  box-sizing: border-box !important;
  box-shadow: none !important;
}
/* ABOUT / BLOG / NEWS / PICKUP glyphs — same font */
.fm-corner__glyph--about,
.fm-corner__glyph--blog,
.fm-corner__glyph--news,
.fm-corner__glyph--pickup {
  font-family: 'Oswald', 'Zen Kaku Gothic New', sans-serif !important;
  font-style: normal !important;
  font-size: 0.55rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  line-height: 1.1 !important;
  text-align: center !important;
  color: #fff !important;
  pointer-events: none;
}
.fm-corner__glyph--policy {
  display: none !important;
}

/* Static pages prose (about / privacy) */
body.archive-page .al-prose {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 0.5rem;
  color: #222;
  font-size: 1rem;
  line-height: 1.95;
}
body.archive-page .al-prose p {
  margin: 0 0 1.15em;
}
body.archive-page .al-prose h2 {
  margin: 1.75em 0 0.75em;
  padding: 0.55rem 0.9rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  background: #5069cc;
  border-radius: 4px;
}
body.archive-page .al-prose__updated {
  color: #888;
  font-size: 0.9rem;
}

/* ABOUT / POLICY: back-home button matches prose width */
body.archive-about-page .al-home,
body.archive-privacy-page .al-home,
body.page-about .al-home,
body.page-privacy .al-home {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  box-sizing: border-box;
}
body.archive-about-page .al-home-btn,
body.archive-privacy-page .al-home-btn,
body.page-about .al-home-btn,
body.page-privacy .al-home-btn {
  display: flex;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

/* POLICY icon — same design language as mail contact icon */
a.fm-corner__icon-btn--policy,
button.fm-corner__icon-btn--mail {
  width: 48px !important;
  height: 48px !important;
  border-radius: 50% !important;
  display: grid !important;
  place-items: center !important;
  box-sizing: border-box !important;
}
a.fm-corner__icon-btn--policy {
  background: #0f0f0f !important;
  border: 2px solid rgba(255,255,255,0.95) !important;
  color: #fff !important;
  text-decoration: none !important;
}
a.fm-corner__icon-btn--policy:hover,
a.fm-corner__icon-btn--policy:focus-visible {
  background: #1a1a1a !important;
  color: #fff !important;
  outline: none;
}
.fm-corner__policy-svg {
  display: block;
  width: 26px;
  height: 26px;
  color: #fff;
  pointer-events: none;
}
/* hide old text glyph if residual */
.fm-corner__glyph--policy { display: none !important; }

/* POLICY = identical visual system as mail icon */
.fm-corner--tl a.fm-corner__icon-btn--policy {
  background: rgba(15, 15, 15, 0.42) !important;
  color: #fff !important;
  border: 2px solid #fff !important;
  border-radius: 50% !important;
  width: 48px !important;
  height: 48px !important;
  box-shadow: none !important;
  display: grid !important;
  place-items: center !important;
}
.fm-corner--tl a.fm-corner__icon-btn--policy:hover,
.fm-corner--tl a.fm-corner__icon-btn--policy:focus-visible {
  background: rgba(15, 15, 15, 0.55) !important;
  color: #fff !important;
  border-color: #fff !important;
  box-shadow: none !important;
}
.fm-corner--tl .fm-corner__policy-svg {
  display: block;
  width: 26px;
  height: 26px;
  color: inherit;
  pointer-events: none;
}

/* All corner icons: slight dark translucent background for readability */
.fm-corner--tl .fm-corner__icon-btn--mail,
.fm-corner--tl a.fm-corner__icon-btn--mail,
.fm-corner--tl a.fm-corner__icon-btn--policy,
.fm-corner--tr a.fm-corner__icon-btn--about,
.fm-corner--tr a.fm-corner__icon-btn--blog,
.fm-corner--tr a.fm-corner__icon-btn--news,
.fm-corner--tr a.fm-corner__icon-btn--pickup,
button.fm-corner__icon-btn--mail,
a.fm-corner__icon-btn--mail,
a.fm-corner__icon-btn--policy,
a.fm-corner__icon-btn--about,
a.fm-corner__icon-btn--blog,
a.fm-corner__icon-btn--news,
a.fm-corner__icon-btn--pickup {
  background: rgba(15, 15, 15, 0.42) !important;
  border: 2px solid rgba(255, 255, 255, 0.95) !important;
  color: #fff !important;
  box-shadow: none !important;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  text-decoration: none !important;
}
.fm-corner--tl .fm-corner__icon-btn--mail:hover,
.fm-corner--tl .fm-corner__icon-btn--mail:focus-visible,
.fm-corner--tl a.fm-corner__icon-btn--mail:hover,
.fm-corner--tl a.fm-corner__icon-btn--mail:focus-visible,
.fm-corner--tl a.fm-corner__icon-btn--policy:hover,
.fm-corner--tl a.fm-corner__icon-btn--policy:focus-visible,
.fm-corner--tr a.fm-corner__icon-btn--about:hover,
.fm-corner--tr a.fm-corner__icon-btn--about:focus-visible,
.fm-corner--tr a.fm-corner__icon-btn--blog:hover,
.fm-corner--tr a.fm-corner__icon-btn--blog:focus-visible,
.fm-corner--tr a.fm-corner__icon-btn--news:hover,
.fm-corner--tr a.fm-corner__icon-btn--news:focus-visible,
.fm-corner--tr a.fm-corner__icon-btn--pickup:hover,
.fm-corner--tr a.fm-corner__icon-btn--pickup:focus-visible,
button.fm-corner__icon-btn--mail:hover,
button.fm-corner__icon-btn--mail:focus-visible,
a.fm-corner__icon-btn--mail:hover,
a.fm-corner__icon-btn--mail:focus-visible,
a.fm-corner__icon-btn--policy:hover,
a.fm-corner__icon-btn--policy:focus-visible,
a.fm-corner__icon-btn--about:hover,
a.fm-corner__icon-btn--about:focus-visible,
a.fm-corner__icon-btn--blog:hover,
a.fm-corner__icon-btn--blog:focus-visible,
a.fm-corner__icon-btn--news:hover,
a.fm-corner__icon-btn--news:focus-visible,
a.fm-corner__icon-btn--pickup:hover,
a.fm-corner__icon-btn--pickup:focus-visible {
  background: rgba(15, 15, 15, 0.55) !important;
  border-color: #fff !important;
  color: #fff !important;
}
.fm-corner--tl .fm-corner__mail-svg,
a.fm-corner__icon-btn--mail .fm-corner__mail-svg {
  display: block;
  width: 26px;
  height: 26px;
  pointer-events: none;
}

/* Contact icon = real page link (must be clickable) */
body.fm-loaded .fm-corner--tl {
  pointer-events: none;
  opacity: 1 !important;
  visibility: visible !important;
}
body.fm-loaded .fm-corner--tl a.fm-corner__icon-btn,
body.fm-loaded .fm-corner--tl a.fm-corner__icon-btn--mail,
body.fm-loaded .fm-corner--tl a.fm-corner__icon-btn--policy {
  pointer-events: auto !important;
  cursor: pointer !important;
}

/* Contact page — same archive layout extras as ABOUT/POLICY */
body.archive-contact-page .al-prose--contact,
body.page-contact .al-prose--contact {
  max-width: 720px;
}
body.archive-contact-page .al-home,
body.page-contact .al-home {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  box-sizing: border-box;
}
body.archive-contact-page .al-home-btn,
body.page-contact .al-home-btn {
  display: flex;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
body.archive-contact-page .fm-mail-guide,
body.page-contact .fm-mail-guide {
  color: #222;
}
body.archive-contact-page .contact-notice,
body.page-contact .contact-notice {
  margin: 0 0 1.25rem;
  padding: 0.9rem 1rem;
  border-radius: 6px;
  font-size: 0.95rem;
  line-height: 1.6;
}
body.archive-contact-page .contact-notice--success,
body.page-contact .contact-notice--success {
  background: #eef6ee;
  color: #1a5c2e;
  border: 1px solid #b7d9c0;
}
body.archive-contact-page .contact-notice--error,
body.page-contact .contact-notice--error {
  background: #fdf0f0;
  color: #8a1f1f;
  border: 1px solid #e0b0b0;
}


/* CONTACT icon hard clickability */
a.fm-corner__icon-btn--mail,
#fm-contact-link,
#fm-contact-open {
  position: relative !important;
  z-index: 10050 !important;
  pointer-events: auto !important;
  cursor: pointer !important;
}
body.fm-loaded .fm-corner--tl {
  z-index: 10050 !important;
  pointer-events: none !important;
}
body.fm-loaded .fm-corner--tl a.fm-corner__icon-btn {
  pointer-events: auto !important;
  z-index: 10051 !important;
}

/* おてんきくん open: left icons under weather panel (same as right icons) */
body.fm-weather-open .fm-corner--tl,
body.fm-weather-open .fm-corner--tl a.fm-corner__icon-btn,
body.fm-weather-open a.fm-corner__icon-btn--mail,
body.fm-weather-open #fm-contact-link,
body.fm-weather-open #fm-contact-open {
  z-index: 50 !important;
  pointer-events: none !important;
}


/* ==================================================
   Desktop new strip (1 news + 1 blog) + mobile badges
================================================== */
.fm-newstrip,
.fm-ticker.fm-newstrip,
#fm-ticker.fm-newstrip {
  position: fixed;
  z-index: 61;
  /* Span between てんきくん (left) and season/bg widgets (right) */
  left: calc(2.75rem + 96px + 1.75rem);
  right: calc(2.75rem + 7.25rem);
  bottom: 3rem;
  width: auto;
  max-width: none;
  transform: none;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s ease 0.5s, visibility 0.9s ease 0.5s;
}
@media (max-width: 1100px) {
  .fm-newstrip,
  .fm-ticker.fm-newstrip,
  #fm-ticker.fm-newstrip {
    left: calc(1.75rem + 84px + 1.35rem);
    right: calc(1.75rem + 6.75rem);
    bottom: 2.5rem;
  }
}
@media (max-width: 900px) {
  .fm-newstrip,
  .fm-ticker.fm-newstrip,
  #fm-ticker.fm-newstrip {
    left: calc(1.5rem + 76px + 1.15rem);
    right: calc(1.5rem + 6.25rem);
    bottom: 2rem;
  }
}
body.fm-loaded:not(.fm-scrolled) .fm-newstrip,
body.fm-loaded:not(.fm-scrolled) #fm-ticker.fm-newstrip {
  opacity: 1;
  visibility: visible;
}
body.fm-scrolled .fm-newstrip,
body.fm-weather-open .fm-newstrip,
body.fm-scrolled #fm-ticker.fm-newstrip,
body.fm-weather-open #fm-ticker.fm-newstrip {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
.fm-newstrip__inner {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.55rem 0.75rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  pointer-events: auto;
}
.fm-newstrip__row {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 0.45rem 0.55rem;
  min-width: 0;
  padding: 0.28rem 0.2rem;
  text-decoration: none !important;
  color: #1a1a1a !important;
  border-radius: 6px;
  background: transparent;
}
.fm-newstrip__row:hover,
.fm-newstrip__row:focus-visible {
  background: transparent;
  outline: none;
}
.fm-newstrip__tag {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.4rem;
  height: 1.35rem;
  padding: 0 0.4rem;
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  color: #fff;
  background: #5069cc;
}
.fm-newstrip__row--blog .fm-newstrip__tag {
  background: #3f56b0;
}
.fm-newstrip__date {
  font-size: 0.75rem;
  color: #555;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.fm-newstrip__title {
  min-width: 0;
  max-width: 100%;
  justify-self: start;
  width: fit-content;
  max-width: 100%;
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #111;
  position: relative;
  display: inline-block;
  padding-bottom: 1px;
  background-image: linear-gradient(currentColor, currentColor);
  background-position: left bottom;
  background-repeat: no-repeat;
  background-size: 0% 1px;
  transition: background-size 0.35s ease;
}
.fm-newstrip__row:hover .fm-newstrip__title,
.fm-newstrip__row:focus-visible .fm-newstrip__title {
  background-size: 100% 1px;
}

/* Mobile badges on BLOG / NEWS / PICKUP */
.fm-corner__icon-btn--blog,
.fm-corner__icon-btn--news,
.fm-corner__icon-btn--pickup {
  position: relative !important;
}
.fm-corner__badge {
  position: absolute;
  top: -0.2rem;
  right: -0.2rem;
  z-index: 2;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 0.28rem;
  border-radius: 999px;
  background: #e11d48;
  color: #fff !important;
  font-family: system-ui, sans-serif !important;
  font-size: 0.68rem !important;
  font-weight: 800 !important;
  font-style: normal !important;
  letter-spacing: 0 !important;
  line-height: 1.15rem !important;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.28);
  pointer-events: none;
}
.fm-corner__badge[hidden] {
  display: none !important;
}
.fm-corner__icon-btn--blog.has-new,
.fm-corner__icon-btn--news.has-new,
.fm-corner__icon-btn--pickup.has-new {
  background: rgba(225, 29, 72, 0.38) !important;
  border-color: #fff !important;
  box-shadow: 0 0 0 2px rgba(225, 29, 72, 0.45) !important;
}

/* Desktop: hide number badges (ticker is enough). Mobile: show badges, hide ticker */
@media (min-width: 769px) {
  .fm-corner__badge {
    display: none !important;
  }
  .fm-corner__icon-btn--blog.has-new,
  .fm-corner__icon-btn--news.has-new,
  .fm-corner__icon-btn--pickup.has-new {
    background: rgba(15, 15, 15, 0.42) !important;
    box-shadow: none !important;
  }
}
@media (max-width: 768px) {
  .fm-newstrip,
  #fm-ticker.fm-newstrip {
    display: none !important;
  }
  .fm-corner__badge:not([hidden]) {
    display: grid !important;
    place-items: center !important;
  }
  .fm-corner__badge[hidden] {
    display: none !important;
  }
  .fm-corner__icon-btn--blog.has-new,
  .fm-corner__icon-btn--news.has-new,
  .fm-corner__icon-btn--pickup.has-new {
    background: rgba(225, 29, 72, 0.42) !important;
  }
  .fm-corner__icon-btn--blog:not(.has-new),
  .fm-corner__icon-btn--news:not(.has-new),
  .fm-corner__icon-btn--pickup:not(.has-new) {
    background: rgba(15, 15, 15, 0.42) !important;
    box-shadow: none !important;
  }
}

/* Force-hide read badges */
.fm-corner__badge[hidden],
.fm-corner__badge[aria-hidden="true"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  min-width: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
  box-shadow: none !important;
}


/* ==================================================
   Top news strip (between left / right corner icons)
================================================== */
.fm-top-news {
  position: fixed;
  z-index: 61;
  top: calc(var(--frame-w, 30px) + 1.15rem);
  left: calc(var(--frame-w, 30px) + 4.75rem);
  right: calc(var(--frame-w, 30px) + 4.75rem);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s ease 0.5s, visibility 0.9s ease 0.5s;
}
body.fm-loaded:not(.fm-scrolled) .fm-top-news {
  opacity: 1;
  visibility: visible;
}
body.fm-scrolled .fm-top-news,
body.fm-weather-open .fm-top-news {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
.fm-top-news__track {
  position: relative;
  min-height: 2.2rem;
  padding: 0.35rem 0.75rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  pointer-events: auto;
  overflow: hidden;
}
.fm-top-news__item {
  display: none;
  align-items: center;
  gap: 0.5rem 0.65rem;
  min-width: 0;
  text-decoration: none !important;
  color: #1a1a1a !important;
}
.fm-top-news__item.is-active {
  display: flex;
}
.fm-top-news__tag {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.2rem;
  height: 1.3rem;
  padding: 0 0.4rem;
  border-radius: 4px;
  background: #5069cc;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.fm-top-news__date {
  flex: 0 0 auto;
  font-size: 0.75rem;
  color: #555;
  white-space: nowrap;
}
.fm-top-news__title {
  min-width: 0;
  flex: 0 1 auto;
  width: fit-content;
  max-width: 100%;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #111;
  position: relative;
  display: inline-block;
  /* underline width = title text width */
  background-image: linear-gradient(currentColor, currentColor);
  background-position: left bottom;
  background-repeat: no-repeat;
  background-size: 0% 1px;
  transition: background-size 0.35s ease;
}
.fm-top-news__item:hover .fm-top-news__title,
.fm-top-news__item:focus-visible .fm-top-news__title {
  background-size: 100% 1px;
}
@media (max-width: 768px) {
  .fm-top-news {
    top: calc(var(--frame-w, 15px) + 4.6rem);
    left: calc(var(--frame-w, 15px) + 0.65rem);
    right: calc(var(--frame-w, 15px) + 0.65rem);
  }
  .fm-top-news__title {
    font-size: 0.8rem;
  }
}

/* PICKUP: desktop非表示 / スマホは右上アイコン列の一番下（ABOUT→BLOG→NEWS→PICKUP） */
.fm-corner__icon-btn--pickup {
  display: none !important;
}
@media (max-width: 768px) {
  /* Hide top news strip on mobile — use PICKUP icon instead */
  .fm-top-news {
    display: none !important;
  }
  /* 右上スタック内の通常配置（fixedにしない） */
  .fm-corner--tr .fm-corner__icon-btn--pickup,
  a.fm-corner__icon-btn--pickup {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    z-index: auto !important;
    display: grid !important;
    place-items: center !important;
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    background: rgba(15, 15, 15, 0.42) !important;
    border: 2px solid #fff !important;
    color: #fff !important;
    text-decoration: none !important;
    box-shadow: none !important;
    pointer-events: auto !important;
    box-sizing: border-box !important;
    flex: 0 0 auto !important;
  }
  .fm-corner--tr .fm-corner__icon-btn--pickup:hover,
  .fm-corner--tr .fm-corner__icon-btn--pickup:focus-visible,
  a.fm-corner__icon-btn--pickup:hover,
  a.fm-corner__icon-btn--pickup:focus-visible {
    background: rgba(15, 15, 15, 0.55) !important;
    border-color: #fff !important;
    color: #fff !important;
    box-shadow: none !important;
  }
  .fm-corner__glyph--pickup {
    font-family: 'Oswald', 'Zen Kaku Gothic New', sans-serif !important;
    font-style: normal !important;
    font-size: 0.55rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em !important;
    line-height: 1.1 !important;
    color: #fff !important;
    text-align: center !important;
    pointer-events: none;
  }
  /* Mobile: 一括既読 under right icon stack */
  .fm-corner__markall {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    margin-top: 0.15rem;
    padding: 0.35rem 0.55rem;
    min-width: 48px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    background: rgba(15, 15, 15, 0.42);
    color: #fff !important;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.2;
    cursor: pointer;
    pointer-events: auto !important;
    box-shadow: none;
    -webkit-tap-highlight-color: transparent;
  }
  .fm-corner__markall:hover,
  .fm-corner__markall:focus-visible {
    background: rgba(15, 15, 15, 0.6);
    outline: none;
  }
  .fm-corner__markall.is-done {
    background: rgba(80, 105, 204, 0.75);
    border-color: #fff;
  }
}
/* Desktop: hide mark-all (badges are mobile-focused) */
.fm-corner__markall {
  display: none;
}
.fm-corner__badge[data-badge-for="pickup"] {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 1.1rem;
  height: 1.1rem;
  padding: 0 0.25rem;
  border-radius: 999px;
  background: #e23;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  line-height: 1;
  z-index: 1;
}

/* PICKUP sheet */
.fm-pickup-sheet {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(0,0,0,0.45);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.fm-pickup-sheet[hidden] { display: none !important; }
.fm-pickup-sheet__panel {
  width: 100%;
  max-width: 520px;
  max-height: 78vh;
  background: #fff;
  border-radius: 16px 16px 0 0;
  display: flex;
  flex-direction: column;
  box-shadow: 0 -8px 32px rgba(0,0,0,0.18);
}
.fm-pickup-sheet__head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid #eee;
}
.fm-pickup-sheet__title {
  margin: 0;
  flex: 1 1 auto;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #5069cc;
}
.fm-pickup-sheet__markall {
  border: 1px solid #5069cc;
  background: #fff;
  color: #5069cc;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}
.fm-pickup-sheet__close {
  border: 0;
  background: transparent;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  color: #444;
  padding: 0.2rem 0.35rem;
}
.fm-pickup-sheet__list {
  list-style: none;
  margin: 0;
  padding: 0.5rem 0 1.25rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.fm-pickup-sheet__item {
  border-bottom: 1px solid #f0f0f0;
}
.fm-pickup-sheet__item.is-read .fm-pickup-sheet__ttl {
  color: #999;
}
.fm-pickup-sheet__link {
  display: block;
  padding: 0.85rem 1rem;
  text-decoration: none !important;
  color: #111 !important;
}
.fm-pickup-sheet__date {
  display: block;
  font-size: 0.78rem;
  color: #888;
  margin-bottom: 0.25rem;
}
.fm-pickup-sheet__ttl {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.45;
}
.fm-pickup-sheet__empty {
  padding: 1.5rem 1rem;
  color: #888;
  text-align: center;
}
body.fm-pickup-open {
  overflow: hidden;
}

/* Auto news detail kicker */
.entry-mock__kicker {
  margin: 0 0 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #5069cc;
}
.entry-mock__source {
  margin-top: 1.5rem;
  font-size: 0.9rem;
}

/* Auto news body structure */
.entry-mock__body .anoine-news-lead {
  font-size: 1.05rem;
  line-height: 1.9;
  margin: 0 0 1.5em;
}
.entry-mock__body .anoine-news-close {
  margin-top: 1.75em;
  color: #333;
  line-height: 1.9;
}

/* Archive: mark all as read (mobile-first) */
.al-markall-wrap {
  display: flex;
  justify-content: flex-end;
  margin: 0 0 1rem;
}
.al-markall-btn {
  appearance: none;
  border: 1px solid #5069cc;
  background: #fff;
  color: #5069cc;
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.al-markall-btn:hover,
.al-markall-btn:focus-visible {
  background: #5069cc;
  color: #fff;
  outline: none;
}
.al-markall-btn.is-done {
  background: #5069cc;
  color: #fff;
  border-color: #5069cc;
}
@media (min-width: 769px) {
  .al-markall-wrap {
    margin-bottom: 1.25rem;
  }
}

/* Mobile only: archive 一括既読 (PC hides to keep list clean) */
@media (min-width: 769px) {
  .al-markall-wrap--mobile {
    display: none !important;
  }
}


/* Removed: PICKUP / article news system */
.fm-corner__icon-btn--pickup,
.fm-top-news,
.fm-pickup-sheet {
  display: none !important;
}
