/*
Theme Name: Imonoko Theme
Author: Imonoko Project
Description: いものこちゃん公式サイト用の小さなオリジナルテーマ。
Version: 1.0
Text Domain: imonoko-theme
*/

/* Tokens / Variables */
:root {
  --ink: #4d351f;
  --muted: #735f4a;
  --cream: #fff7d8;
  --paper: #fffdf6;
  --leaf: #69bd6f;
  --yellow: #ffcf36;
  --pink: #f2aaa7;
  --line: #ead9a8;
  --link-color: var(--leaf);
  --link-hover-color: #4d934f;
  --color-text: var(--ink);
  --leaf-dark: var(--link-hover-color);
  --link-hover-background: #f8fff2;
  --link-hover-border-color: var(--link-color);
  --link-decoration-color: rgba(105, 189, 111, 0.45);
  --link-hover-decoration-color: var(--link-hover-color);
  --content-width: 1080px;
  --wide-content-width: 1260px;
  --guide-document-width: 760px;
  --section-padding-x: 70px;
  --section-padding-y: 112px;
  --radius-card: 20px;
  --radius-pill: 999px;
  --color-white: #fff;
  --color-placeholder: #d9d9d9;
  --border-soft: rgba(80, 48, 31, 0.16);
  --shadow-yellow: 0 10px 0 rgba(253, 210, 43, 0.45);
  --central-imonoko-width: min(66vw, 660px);
  --central-imonoko-scale: 1.42;
  --heading-h1-size: clamp(26px, calc(24.05px + 0.52vw), 28px);
  --heading-guide-h1-size: 28px;
  --heading-h2-size: clamp(20px, calc(16.1px + 1.04vw), 24px);
  --heading-h3-size: clamp(18px, calc(16.05px + 0.52vw), 20px);
  --heading-h4-size: clamp(16px, calc(15.03px + 0.26vw), 17px);
  --heading-h1-line-height: 1.35;
  --heading-h2-line-height: 1.4;
  --heading-h3-line-height: 1.5;
  --heading-h4-line-height: 1.55;
}

@media (min-width: 761px) {
  :root {
    --heading-h1-size: 36px;
    --heading-guide-h1-size: 30px;
    --heading-h2-size: 26px;
    --heading-h3-size: 22px;
    --heading-h4-size: 18px;
  }
}

/* Base */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  line-height: 1.8;
  line-break: strict;
  overflow-wrap: break-word;
  word-break: auto-phrase;
  background-color: var(--paper);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

/* Common Utilities */
.l-container {
  width: min(100%, var(--content-width));
  margin-inline: auto;
}

.c-section-heading {
  text-align: center;
}

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

/* Header */
.site-header {
  position: static;
  top: auto;
  z-index: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 253, 246, 0.9);
  border-bottom: 2px solid rgba(255, 207, 54, 0.45);
  backdrop-filter: blur(12px);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: flex-end;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.brand img,
.footer-brand img {
  width: min(225px, 46vw);
  height: auto;
}

.nav,
.footer-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 3vw, 32px);
  font-weight: 700;
  color: var(--muted);
}

.nav a,
.footer-nav a {
  text-decoration: none;
}

.nav a:hover,
.footer-nav a:hover {
  color: var(--leaf);
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1.25fr);
  align-items: center;
  gap: clamp(24px, 5vw, 76px);
  min-height: calc(100vh - 82px);
  padding: clamp(38px, 7vw, 86px) clamp(20px, 5vw, 72px);
  background: linear-gradient(90deg, rgba(255, 247, 216, 0.92), rgba(255, 253, 246, 0.66));
}

.hero-copy {
  max-width: 560px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--leaf);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Zen Maru Gothic", "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-weight: 700;
  text-wrap: balance;
}

p,
li {
  text-wrap: pretty;
}

.text-keep {
  white-space: nowrap;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(3.3rem, 8vw, 6.8rem);
  line-height: 1.05;
  color: var(--yellow);
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  line-height: 1.25;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.28rem;
  line-height: 1.35;
}

.hero-copy p:not(.eyebrow) {
  max-width: 28em;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  font-weight: 700;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  margin-top: 14px;
  padding: 10px 28px;
  color: var(--color-white);
  font-weight: 800;
  text-decoration: none;
  background: var(--leaf);
  border: 3px solid #4fa954;
  border-radius: var(--radius-pill);
  box-shadow: 0 7px 0 #3c8840;
}

.button:hover {
  transform: translateY(2px);
  box-shadow: 0 5px 0 #3c8840;
}

.hero-visual {
  width: 100%;
  max-height: min(72vh, 680px);
  object-fit: contain;
  filter: drop-shadow(0 22px 24px rgba(77, 53, 31, 0.12));
}

/* Sections Common */
.section {
  padding: clamp(56px, 9vw, 110px) clamp(20px, 5vw, 72px);
  background: rgba(255, 253, 246, 0.92);
}

.section + .section {
  border-top: 2px dashed var(--line);
}

.section-heading {
  width: min(100%, var(--content-width));
  margin: 0 auto clamp(28px, 5vw, 52px);
}

.section-heading p:not(.eyebrow) {
  max-width: 42em;
  margin-top: 14px;
  color: var(--muted);
  font-weight: 700;
}

.about-grid,
.profile-list,
.gallery-grid,
.event-list,
/* Movie / Guide CTA Shared Layout */
.movie-panel,
.guide-card {
  width: min(100%, var(--content-width));
  margin: 0 auto;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  align-items: center;
  gap: clamp(26px, 6vw, 72px);
}

.about-grid img {
  width: 100%;
  border-radius: 50%;
}

.about-grid p {
  font-size: clamp(1rem, 2vw, 1.18rem);
  font-weight: 700;
}

.profile,
.movie {
  background-color: rgba(255, 247, 216, 0.94);
}

.profile-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.profile-card,
.gallery-grid figure,
.event-list article,
.movie-panel,
.guide-card {
  margin: 0;
  padding: 22px;
  background: var(--color-white);
  border: 2px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 0 rgba(255, 207, 54, 0.28);
}

.profile-card img {
  width: min(100%, 210px);
  margin: 0 auto 18px;
}

.profile-card p,
.event-list p,
.movie-panel p,
.guide-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-weight: 700;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.gallery-grid figure {
  display: grid;
  grid-template-rows: 220px auto;
  align-items: end;
  text-align: center;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-grid figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-weight: 800;
}

.gallery-grid a,
.gallery-placeholder {
  display: block;
  width: 100%;
  height: 100%;
}

.gallery-grid a {
  text-decoration: none;
}

.gallery-placeholder {
  background: var(--color-placeholder);
}

.movie-panel,
.guide-card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: center;
  gap: clamp(22px, 5vw, 56px);
}

.movie-panel img,
.guide-card img {
  width: min(100%, 220px);
  margin: 0 auto;
}

.events {
  background: rgba(255, 253, 246, 0.95);
}

.event-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.event-list time {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--leaf);
  font-weight: 900;
}

.guide {
  background-color: rgba(255, 247, 216, 0.94);
}

.site-footer {
  position: relative;
  padding: 74px clamp(20px, 5vw, 72px) 34px;
  text-align: center;
  background: var(--color-white);
}

.page-top {
  position: absolute;
  top: -58px;
  left: 50%;
  display: grid;
  place-items: center;
  width: 116px;
  height: 116px;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 900;
  text-decoration: none;
  background: var(--color-white);
  border: 3px solid var(--yellow);
  border-radius: 50%;
  transform: translateX(-50%);
}

.page-top img {
  width: 58px;
  margin-bottom: 4px;
}

.footer-inner {
  display: grid;
  justify-items: center;
  gap: 22px;
  width: min(100%, var(--content-width));
  margin: 0 auto;
}

.footer-nav {
  justify-content: center;
  flex-wrap: wrap;
}

.site-footer address {
  font-style: normal;
}

.site-footer address a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 8px 20px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  background: var(--cream);
  border: 2px solid var(--yellow);
  border-radius: var(--radius-pill);
}

.site-footer small {
  font-weight: 800;
}

.site-breadcrumb {
  padding: 10px clamp(20px, 5vw, 72px);
  color: var(--muted);
  background: rgba(255, 251, 241, 0.94);
  border-bottom: 1px solid rgba(80, 48, 31, 0.08);
}

.site-breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  width: min(100%, var(--content-width));
  margin: 0 auto;
  padding: 0;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.5;
  list-style: none;
}

.site-breadcrumb__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.site-breadcrumb__item[aria-current="page"] {
  color: var(--ink);
  font-weight: 900;
}

.site-breadcrumb__current {
  padding: 0 7px;
  color: var(--ink);
  font-weight: 900;
  background: rgba(253, 210, 43, 0.26);
  border-radius: var(--radius-pill);
}

.site-breadcrumb__item + .site-breadcrumb__item::before {
  content: ">";
  color: var(--ink);
  font-weight: 900;
}

.site-breadcrumb a {
  color: var(--ink);
  text-decoration: none;
}

.site-breadcrumb a:hover,
.site-breadcrumb a:focus-visible {
  color: var(--link-hover-color);
}

.guide-page {
  background: rgba(255, 253, 246, 0.92);
}

.guide-hero {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(240px, 420px);
  align-items: center;
  gap: clamp(24px, 6vw, 72px);
  padding: clamp(48px, 8vw, 98px) clamp(20px, 5vw, 72px);
  background: linear-gradient(90deg, rgba(255, 247, 216, 0.95), rgba(255, 253, 246, 0.72));
}

.guide-hero-copy {
  max-width: 720px;
}

.guide-hero-copy p:not(.eyebrow) {
  max-width: 42em;
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 700;
}

.guide-hero-visual {
  width: min(100%, 360px);
  margin: 0 auto;
  filter: drop-shadow(0 20px 24px rgba(77, 53, 31, 0.12));
}

.guide-content ul,
.guide-flow {
  padding-left: 1.25em;
}

.guide-content li,
.guide-flow li {
  margin-top: 8px;
  font-weight: 700;
}

.guide-two-column,
.guide-card-wide,
.guide-flow,
.guide-contact-inner {
  width: min(100%, var(--content-width));
  margin: 0 auto;
}

.guide-two-column {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.guide-two-column article,
.guide-flow li,
.guide-card-wide,
.guide-contact-inner {
  padding: 26px;
  background: var(--color-white);
  border: 2px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 0 rgba(255, 207, 54, 0.28);
}

.guide-two-column p,
.guide-card-wide p,
.guide-contact-inner p {
  color: var(--muted);
  font-weight: 700;
}

.guide-card-wide,
.guide-contact-inner {
  display: grid;
  grid-template-columns: minmax(180px, 280px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(22px, 5vw, 58px);
}

.guide-commercial .guide-card-wide {
  grid-template-columns: minmax(0, 1fr) minmax(180px, 260px);
}

.guide-card-wide img,
.guide-contact-inner > img {
  width: min(100%, 250px);
  margin: 0 auto;
}

.guide-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-left: 0;
  list-style: none;
}

.guide-actions,
.sns-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
}

.button-secondary {
  color: var(--ink);
  background: var(--yellow);
  border-color: #eabf22;
  box-shadow: 0 7px 0 #c99d13;
}

.button-secondary:hover,
.button-secondary:focus-visible {
  color: var(--link-hover-color);
  background: var(--link-hover-background);
  border-color: var(--link-hover-border-color);
  box-shadow: 0 5px 0 #c99d13;
}

.sns-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-weight: 800;
  text-decoration: none;
}

.sns-links img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

/* Figma寄せのPC表示調整 */
:root {
  --figma-yellow: #ffff6e;
  --figma-gold: #fdd22b;
  --figma-cream: #fffbf1;
}

body {
  background-color: var(--figma-cream);
  background-attachment: scroll;
}

.site-header {
  min-height: 111px;
  padding: 18px clamp(32px, 8vw, 250px);
  background: var(--figma-yellow);
  border-bottom: 0;
  box-shadow: 0 8px 24px rgba(80, 54, 31, 0.08);
}

.brand {
  font-size: clamp(1rem, 1.7vw, 1.5rem);
}

.brand img {
  width: 225px;
}

.nav {
  gap: 10px;
  font-size: 0.95rem;
}

.nav a {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  background: var(--color-white);
  border: 3px solid var(--figma-gold);
  border-radius: var(--radius-pill);
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--link-hover-color);
  background: var(--link-hover-background);
  border-color: var(--link-hover-border-color);
}

.hero {
  position: relative;
  display: block;
  min-height: 725px;
  padding: 72px clamp(28px, 5vw, 72px) 0;
  overflow: hidden;
  text-align: center;
  background: #fff;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 620px;
  margin: 0 auto;
}

.hero .eyebrow {
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: none;
}

.hero h1 {
  margin-bottom: 12px;
  color: #000;
  font-size: clamp(2.3rem, 4vw, 3.15rem);
  font-weight: 700;
  text-shadow: none;
}

.hero-copy p:not(.eyebrow) {
  margin-right: auto;
  margin-left: auto;
  font-size: 1.05rem;
}

.hero .button {
  margin-top: 24px;
}

.hero-visual {
  width: min(112vw, 1535px);
  max-width: none;
  max-height: none;
  margin: -8px auto 0;
  object-fit: contain;
  filter: none;
}

.section {
  padding-top: clamp(74px, 8vw, 118px);
  padding-bottom: clamp(78px, 8vw, 126px);
  background: rgba(255, 251, 241, 0.96);
}

.section-heading {
  text-align: center;
}

.section-heading .eyebrow {
  color: var(--leaf);
}

.section-heading h2 {
  color: var(--ink);
  font-size: clamp(2.15rem, 3vw, 2.7rem);
  font-weight: 800;
  line-height: 1.25;
}

.gallery {
  background: var(--figma-yellow);
}

.about,
.events {
  background: rgba(255, 251, 241, 0.97);
}

.profile,
.movie,
.guide {
  background-color: rgba(255, 251, 241, 0.94);
  background-image: radial-gradient(circle at center, rgba(255, 255, 255, 0.92) 0 42%, transparent 43%);
  background-size: 1600px 1600px;
  background-position: center;
  background-repeat: no-repeat;
}

.about-grid {
  grid-template-columns: 260px minmax(0, 620px);
  justify-content: center;
  padding: 22px 0;
}

.about-grid img {
  width: min(100%, 220px);
  justify-self: center;
}

.about-grid p {
  font-size: 1.08rem;
}

.profile-list,
.gallery-grid,
.event-list {
  gap: 28px;
}

.profile-card,
.gallery-grid figure,
.event-list article,
.movie-panel,
.guide-card,
.guide-two-column article,
.guide-flow li,
.guide-card-wide,
.guide-contact-inner {
  border-color: var(--figma-gold);
  border-width: 3px;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-yellow);
}

.profile-card {
  text-align: center;
}

.profile-card img {
  width: min(100%, 178px);
}

.gallery-grid figure {
  grid-template-rows: 250px auto;
  padding: 26px 20px;
}

.gallery-grid figcaption,
.event-list time {
  font-size: 1.02rem;
}

.movie {
  position: relative;
  overflow: hidden;
}

.movie::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  background-image: url("images/common/pattern-background.webp");
  background-size: 700px auto;
  opacity: 0.22;
}

.movie > * {
  position: relative;
  z-index: 1;
}

.movie-panel {
  min-height: 430px;
  grid-template-columns: 300px minmax(0, 1fr);
  padding: clamp(28px, 5vw, 54px);
}

.movie-panel img {
  width: min(100%, 250px);
}

.event-list article {
  padding: 28px;
}

.event-list h3 {
  min-height: 3em;
}

.guide-card {
  grid-template-columns: 260px minmax(0, 1fr);
  padding: clamp(30px, 5vw, 56px);
}

.guide-card img {
  width: min(100%, 230px);
}

.site-footer {
  margin-top: 0;
  padding-top: 96px;
  background: var(--color-white);
}

.page-top {
  width: 132px;
  height: 132px;
  border-color: #fff;
  background: var(--figma-gold);
}

.page-top img {
  width: 76px;
}

.footer-brand img {
  width: 225px;
}

.footer-nav a {
  padding: 4px 0;
}

.guide-hero {
  min-height: 620px;
  grid-template-columns: minmax(0, 680px) minmax(280px, 430px);
  justify-content: center;
  padding-top: clamp(64px, 8vw, 112px);
  padding-bottom: clamp(64px, 8vw, 112px);
  background: var(--figma-cream);
}

.guide-hero h1 {
  color: var(--ink);
  font-size: clamp(2.45rem, 4.5vw, 4rem);
}

.guide-hero-visual {
  width: min(100%, 360px);
}

.guide-content {
  background: rgba(255, 251, 241, 0.97);
}

.guide-two-column {
  gap: 28px;
}

.guide-two-column article,
.guide-card-wide,
.guide-contact-inner {
  padding: clamp(28px, 4vw, 44px);
}

.guide-card-wide,
.guide-contact-inner {
  grid-template-columns: minmax(200px, 300px) minmax(0, 1fr);
}

.guide-commercial .guide-card-wide {
  grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
}

.guide-flow {
  gap: 26px;
}

.guide-flow li {
  padding: 30px;
}

.sns-links a {
  min-height: 42px;
  padding: 6px 12px;
  background: var(--cream);
  border: 2px solid var(--figma-gold);
  border-radius: var(--radius-pill);
}

.hero-nav {
  width: min(100%, 880px);
  margin: 10px auto 0;
  padding: 6px 0 10px;
}

.hero-nav-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-nav-list a {
  display: inline-flex;
  min-width: 128px;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 5px 18px;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  background: var(--color-white);
  border: 3px solid var(--figma-gold);
  border-radius: var(--radius-pill);
}

.hero-nav-list a:hover,
.hero-nav-list a:focus-visible {
  color: var(--link-hover-color);
  background: var(--link-hover-background);
  border-color: var(--link-hover-border-color);
}

.hero-nav__icon {
  color: var(--figma-gold);
  flex: 0 0 auto;
  font-size: 0.95rem;
  line-height: 1;
}


/* Figma比較後の優先A調整 */
@media (min-width: 761px) {
  .hero-nav {
    width: min(calc(100% - 16px), 1180px);
  }

  .hero-nav-list {
    gap: 10px;
  }

  .hero-nav-list li {
    flex: 0 0 186px;
    min-width: 0;
  }

  .hero-nav-list a {
    width: 100%;
    min-width: 0;
  }
}

@media (min-width: 761px) and (max-width: 1100px) {
  .hero-nav-list {
    width: min(100%, 578px);
    margin-inline: auto;
    justify-content: flex-start;
  }
}

.site-header {
  display: grid;
  grid-template-columns: minmax(260px, auto) minmax(320px, 1fr);
  grid-template-areas:
    "brand actions";
  align-items: center;
  min-height: 111px;
  padding: 18px clamp(32px, 8vw, 250px);
}

.brand {
  grid-area: brand;
  justify-self: start;
  align-items: flex-end;
  gap: 12px;
}

.brand span {
  margin-bottom: 2px;
  white-space: nowrap;
}

.header-actions {
  grid-area: actions;
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 10px;
}

.header-social {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
}

.header-social img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.header-contact {
  display: inline-flex;
  min-width: 218px;
  min-height: 45px;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 700;
  text-decoration: none;
  background: #fff;
  border: 0;
  border-radius: 5px;
}

.header-contact::before {
  content: "";
  width: 28px;
  height: 20px;
  margin-right: 10px;
  border: 6px solid currentColor;
  border-top-width: 5px;
  border-radius: 2px;
}

/* Figma実測値に合わせたヘッダーのみの調整 */
@media (min-width: 1200px) {
  .site-header {
    grid-template-columns: 355px 303px;
    column-gap: 238px;
    justify-content: start;
    width: min(100%, 1400px);
    height: 111px;
    min-height: 111px;
    margin-right: auto;
    margin-left: auto;
    padding: 21px 0 21px 250px;
    background: #ffff6e;
  }

  .brand {
    width: 355px;
    height: 69px;
    gap: 10px;
    transform: none;
  }

  .brand img {
    width: 225px;
    height: 69px;
    object-fit: contain;
  }

  .brand span {
    width: 120px;
    height: 35px;
    margin-bottom: 0;
    font-family: "Zen Maru Gothic", "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 35px;
  }

  .header-actions {
    width: 303px;
    height: 45px;
    gap: 6px;
    justify-self: start;
  }

  .header-social,
  .header-social img {
    width: 36px;
    height: 36px;
  }

  .header-contact {
    width: 218px;
    min-width: 218px;
    height: 45px;
    min-height: 45px;
    padding: 5px 17px;
    font-size: 24px;
    line-height: 35px;
    border-radius: 5px;
  }
}

/* Figma実測値に合わせたヒーローのみの調整 */
@media (min-width: 861px) {
  .hero {
    min-height: 0;
    padding-top: 0;
    padding-right: 0;
    padding-bottom: 18px;
    padding-left: 0;
  }

  .hero-copy {
    position: absolute;
    top: 52px;
    left: 50%;
    z-index: 2;
    width: min(100%, 520px);
    transform: translateX(-50%);
  }

  .hero-visual {
    width: min(100%, 1535px);
    height: clamp(520px, 41vw, 629px);
    margin-top: 0;
    object-fit: cover;
    object-position: center 58%;
    transform: none;
  }

  .hero-nav {
    margin-top: 2px;
  }
}

.hero {
  min-height: 753px;
  padding-top: 52px;
  padding-bottom: 24px;
}

.hero-copy {
  max-width: 520px;
}

.hero .eyebrow {
  margin-bottom: 2px;
}

.hero h1 {
  margin-bottom: 0;
}

.hero-copy p:not(.eyebrow),
.hero .button {
  display: none;
}

.hero-visual {
  width: min(109vw, 1535px);
  margin-top: 6px;
  transform: translateX(-1.5%);
}

@media (min-width: 1180px) {
  .hero-visual {
    width: min(110vw, 1535px);
  }
}

/* Figma実測値に合わせたHeroテキスト最終調整 */
@media (min-width: 861px) {
  .hero {
    min-height: 0;
    padding-top: 0;
    padding-right: 0;
    padding-bottom: 18px;
    padding-left: 0;
  }

  .hero-copy {
    position: absolute;
    top: 40px;
    left: 49%;
    z-index: 2;
    width: 280px;
    max-width: 280px;
    height: 84px;
    margin: 0;
    text-align: center;
    transform: translateX(-50%);
  }

  .hero .eyebrow {
    width: 144px;
    height: 26px;
    margin: 0 auto;
    color: var(--ink);
    font-family: "Zen Maru Gothic", "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 26px;
    text-transform: none;
  }

  .hero h1 {
    width: 280px;
    height: 58px;
    margin: 0;
    color: var(--ink);
    font-family: "Zen Maru Gothic", "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    font-size: 40px;
    font-weight: 500;
    line-height: 58px;
    text-shadow: none;
  }

  .hero-visual {
    display: block;
    width: min(100vw, 1535px);
    height: clamp(548px, 44vw, 674px);
    margin: 0 calc(50% - 50vw);
    object-fit: cover;
    object-position: center bottom;
    transform: translateY(-94px) scale(1.11);
    transform-origin: top center;
  }

  .hero-nav {
    margin-top: 2px;
  }
}

@media (min-width: 761px) and (max-width: 860px) {
  .hero {
    padding-top: 0;
  }

  .hero-visual {
    margin-top: 0;
  }
}

@media (min-width: 1024px) {
  .hero-visual {
    width: min(100%, 1535px);
    height: clamp(600px, 50vw, 780px);
    margin: 0 auto;
    object-position: center bottom;
    transform: translateY(clamp(-104px, calc(-132px + 2vw), -94px)) scale(1.11);
  }
}

@media (min-width: 861px) {
  .gallery {
    padding-top: 56px;
    padding-bottom: 64px;
    background: var(--figma-yellow);
  }

  .gallery .section-heading {
    margin-bottom: 30px;
    text-align: center;
  }

  .gallery-grid {
    width: min(100%, var(--wide-content-width));
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }

  .news-featured-grid {
    width: min(100%, var(--wide-content-width));
    display: flex;
    grid-template-columns: none;
    flex-wrap: nowrap;
    gap: var(--news-carousel-gap);
    padding-inline: var(--news-carousel-gutter);
    overflow-x: auto;
    overflow-y: hidden;
    box-sizing: border-box;
    scroll-padding-inline: var(--news-carousel-gutter);
    scroll-snap-type: x mandatory;
  }

  .gallery-grid figure,
  .gallery .gallery-card {
    display: block;
    width: 100%;
    height: 145px;
    min-height: 0;
    aspect-ratio: auto;
    padding: 0;
    overflow: hidden;
    background: var(--color-placeholder);
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .gallery-grid figure:nth-child(n+4) {
    display: none;
  }

  .news-featured-grid figure:nth-child(n+4) {
    display: none;
  }

  .news-featured-grid .gallery-card {
    flex: 0 0 var(--news-card-width);
    width: auto;
    height: auto;
    min-height: 0;
    padding: 0;
    overflow: visible;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .news-featured-grid .gallery-card > a {
    height: auto;
    aspect-ratio: 4 / 3;
    border: 2px solid #ffdf41;
    border-radius: 16px;
    box-sizing: border-box;
  }

  .gallery-grid figcaption {
    display: none;
  }
}

/* Profile */
.profile {
  position: relative;
  background-color: var(--figma-yellow);
  background-image: none;
  overflow: hidden;
}

.section.profile {
  border-top: 0;
}

.profile .section-heading {
  position: relative;
  z-index: 1;
  margin-top: clamp(42px, 5vw, 76px);
  text-align: center;
}

.profile .section-heading .eyebrow {
  display: none;
}

.circle-text {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0.72;
  pointer-events: none;
  user-select: none;
  transform-origin: center;
}

.profile-circle-wrap {
  position: absolute;
  z-index: 0;
  top: 40px;
  left: 50%;
  width: 100vw;
  height: 320px;
  overflow: visible;
  pointer-events: none;
  transform: translateX(-50%);
}

.arc-text-svg {
  display: block;
  width: 100vw;
  max-width: none;
  height: auto;
  overflow: visible;
}

.arc-text-svg text {
  fill: #e6d2b8;
  opacity: 0.65;
  font-family: "Rounded M+ 2p", "Zen Maru Gothic", sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.arc-text-svg--profile text {
  font-size: 82px;
}

.profile .profile-list,
.profile-story-boundary .profile-story-characters {
  position: relative;
  z-index: 1;
}

.profile-story-boundary {
  --profile-story-boundary-gap:
    clamp(158px, calc(7.9vw + 63px), 177px);
  --story-arch-height: calc(100vw * 680 / 1920);

  position: relative;
  display: flow-root;
  background: var(--figma-yellow);
  isolation: isolate;
  overflow: clip visible;
}

@media (min-width: 1600px) {
  .profile-story-boundary {
    --profile-story-boundary-gap:
      clamp(177px, calc(15.6vw - 48px), 252px);
  }
}

@media (min-width: 861px) and (max-width: 1199px) {
  .profile-story-boundary {
    --profile-story-boundary-gap:
      clamp(131px, calc(15.6vw - 3px), 161px);
  }
}

@media (min-width: 761px) and (max-width: 860px) {
  .profile-story-boundary {
    --profile-story-boundary-gap:
      clamp(88px, calc(23.8vw - 93.7px), 111px);
  }
}

.profile-story-boundary__gap {
  height: var(--profile-story-boundary-gap);
  background: var(--figma-yellow);
}

.section-next-cue {
  display: none;
}

.profile-story-boundary__stage {
  --story-characters-flow-height: calc(clamp(110px, 13.2vw, 180px) * 287 / 209 + 8px);
  /* From the character box top to the SVG arc apex: flow height + margin - scaled SVG rise. */
  --story-arch-apex-from-character-top: calc(
    var(--story-characters-flow-height) + 22px - var(--story-arch-height) * 343 / 680
  );

  position: relative;
  display: flow-root;
  background: transparent;
}

.profile-story-arch {
  --story-arch-width: calc(100vw * 2440 / 1920);
  --story-arch-height: calc(100vw * 680 / 1920);
  --story-arch-shift: -60%;

  position: relative;
  height: var(--story-arch-height);
  margin-bottom: calc(-1 * var(--story-arch-height));
  overflow: visible;
  pointer-events: none;
}

.profile-story-arch__svg {
  position: absolute;
  top: var(--story-arch-shift);
  left: 50%;
  display: block;
  width: var(--story-arch-width);
  max-width: none;
  height: var(--story-arch-height);
  overflow: visible;
  transform: translateX(-50%);
}

.profile-story-arch__svg--background {
  z-index: 0;
}

.profile-story-arch__svg--text {
  z-index: 2;
}

.profile-story-arch__fill {
  fill: var(--figma-cream);
}

.profile-detail {
  display: grid;
  position: absolute;
  top: clamp(72px, 7vw, 110px);
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  place-items: center;
  width: min(980px, calc(100vw - 48px));
  z-index: 2;
  pointer-events: none;
}

.profile-detail.is-visible {
  pointer-events: auto;
}

.profile-detail-card {
  position: relative;
  width: min(100%, 440px);
  margin-inline: auto;
  padding: clamp(20px, 2.6vw, 28px) clamp(22px, 3.2vw, 34px);
  color: var(--ink);
  text-align: center;
  background: #fffecf;
  border: 3px solid #f5c400;
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(120, 85, 20, 0.14);
  pointer-events: auto;
  opacity: 0;
  transform: translateY(8px) scale(0.98);
  transition:
    opacity 0.3s ease,
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.profile-detail-card.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.profile-detail-card--likes {
  width: min(920px, calc(100vw - 56px));
  max-width: 100%;
}

.profile-detail-card__close {
  position: sticky;
  top: 12px;
  z-index: 3;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  margin: -8px 0 -24px auto;
  padding: 0;
  color: var(--figma-gold);
  font: inherit;
  font-weight: 800;
  line-height: 1;
  background: rgba(255, 255, 255, 0.94);
  border: 0;
  border-radius: 50%;
  box-shadow: 0 3px 10px rgba(120, 85, 20, 0.12);
  cursor: pointer;
}

.profile-detail-card__close:hover,
.profile-detail-card__close:focus-visible {
  background: var(--color-white);
  outline: 3px solid rgba(108, 173, 69, 0.28);
  outline-offset: 2px;
}

.profile-detail-card__icon {
  display: block;
  width: 60px;
  height: 60px;
  margin: 0 auto 6px;
  object-fit: contain;
}

.profile-detail-card__icon[hidden] {
  display: none;
}

.profile-detail-card--likes .profile-detail-card__icon {
  width: 64px;
  height: 64px;
}

.profile-detail-card__title {
  margin: 0 0 10px;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  line-height: 1.35;
  text-align: center;
}

.profile-detail-card__body {
  max-width: 34em;
  margin: 0 auto;
  font-size: clamp(0.78rem, 1vw, 0.92rem);
  font-weight: 700;
  line-height: 1.7;
  text-align: left;
}

.profile-detail-card__body p {
  margin: 0 0 0.65em;
}

.profile-detail-card__body p:last-child {
  margin-bottom: 0;
}

.profile-detail-card__body h4 {
  margin: 0.75em 0 0.25em;
  color: #6cad45;
  font-size: 0.95em;
  line-height: 1.4;
}

.profile-detail-card__body h4:first-child {
  margin-top: 0;
}

.profile-detail-card__body ul {
  display: grid;
  gap: 0.16em 0.85em;
  margin: 0 0 0.55em;
  padding-left: 1.2em;
}

.profile-detail-card__body li {
  margin: 0;
}

.profile-detail-card__body ul:last-child {
  margin-bottom: 0;
}

.profile-detail-card--likes .profile-detail-card__body {
  max-width: none;
}

.profile-likes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px 0;
  align-items: start;
}

.profile-likes-group {
  min-width: 0;
  text-align: left;
}

.profile-likes-group--continuation {
  padding-top: 1.9em;
}

@media (min-width: 641px) {
  .profile-likes-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px 24px;
  }
}

@media (min-width: 901px) {
  .profile-likes-grid {
    grid-template-columns: 0.9fr 1.08fr 0.95fr 1.28fr;
    gap: 0;
  }

  .profile-likes-group + .profile-likes-group {
    padding-left: 18px;
    border-left: 1px solid rgba(120, 85, 20, 0.3);
  }

  .profile-likes-group:not(:last-child) {
    padding-right: 18px;
  }
}

@media (max-width: 900px) {
  .profile-detail-card--likes {
    width: min(780px, calc(100vw - 40px));
  }

  .profile-likes-group--continuation {
    padding-top: 0;
  }
}

/* Profile / Gallery / Events / Movie / Guide Shared Cards */
.profile-list {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(120px, 170px) minmax(280px, 380px) minmax(120px, 170px);
  grid-template-rows: auto auto;
  align-items: center;
  justify-content: center;
  gap: 30px clamp(54px, 7vw, 94px);
  min-height: 430px;
}

.profile-character {
  grid-column: 2;
  grid-row: 2;
  width: var(--central-imonoko-width);
  justify-self: center;
  align-self: center;
  transform: translateY(-124px) scale(calc(var(--central-imonoko-scale) * 0.75));
  transform-origin: center center;
}

.profile-card {
  appearance: none;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 4px;
  width: 142px;
  height: 142px;
  margin: 0;
  padding: 0;
  color: var(--ink);
  font: inherit;
  background: transparent;
  border: 2px solid transparent;
  border-radius: 50%;
  box-shadow: none;
  cursor: pointer;
  overflow: hidden;
  text-align: center;
}

.profile-card:hover,
.profile-card:focus-visible,
.profile-card[aria-expanded="true"] {
  background: var(--color-white);
  border-style: solid;
  box-shadow: 0 8px 20px rgba(80, 54, 31, 0.14);
  transform: none;
}

.profile-card:focus-visible {
  outline: 3px solid rgba(108, 173, 69, 0.32);
  outline-offset: 6px;
}

.profile-card:nth-of-type(1) {
  grid-column: 1;
  grid-row: 1;
}

.profile-card:nth-of-type(2) {
  grid-column: 3;
  grid-row: 1;
}

.profile-card:nth-of-type(3) {
  grid-column: 1;
  grid-row: 2;
}

.profile-card:nth-of-type(4) {
  grid-column: 3;
  grid-row: 2;
}

.profile-card:nth-of-type(1) img {
  object-position: center;
}

.profile-card img {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  object-fit: cover;
  background: transparent;
  border: 0;
  border-radius: 50%;
  transform: none;
}

.profile-card:nth-of-type(3) img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: none;
}

.profile-card:hover img,
.profile-card:focus-visible img,
.profile-card[aria-expanded="true"] img {
  transform: none;
}

.profile-card:nth-of-type(3):hover img,
.profile-card:nth-of-type(3):focus-visible img,
.profile-card:nth-of-type(3)[aria-expanded="true"] img {
  transform: none;
}

.profile-card h3 {
  grid-area: 1 / 1;
  align-self: end;
  z-index: 1;
  margin: 0;
  margin-bottom: 24px;
  font-size: 0.86rem;
  line-height: 1.25;
}

.profile-card p {
  display: none;
}

/* News */
.news {
  background: var(--figma-yellow);
}

.news .section-heading {
  text-align: center;
}

.news-featured-grid {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-wrap: nowrap;
  gap: var(--news-carousel-gap);
  width: 100%;
  margin: 0;
  padding: 0 var(--news-carousel-gutter);
  overflow-x: auto;
  overflow-y: hidden;
  box-sizing: border-box;
  scroll-padding-inline: var(--news-carousel-gutter);
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}

.news-featured-grid::-webkit-scrollbar {
  display: none;
}

.news-featured-grid .gallery-card {
  display: flex;
  flex-direction: column;
  flex: 0 0 var(--news-card-width);
  width: auto;
  height: auto;
  min-height: 0;
  padding: 0;
  overflow: visible;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  scroll-snap-align: center;
}

.news-featured-grid .gallery-card > a {
  display: block;
  height: auto;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #fff;
  border: 2px solid #ffdf41;
  border-radius: 16px;
  box-shadow: none;
  box-sizing: border-box;
}

.news-featured-grid .gallery-card > a .news-featured-card__fallback {
  object-fit: cover;
  object-position: center center;
}

.news-featured-card__meta {
  display: grid;
  grid-template-columns: 145px auto;
  align-items: center;
  justify-content: stretch;
  gap: 7px 14px;
  margin-top: 12px;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.5;
  text-align: left;
}

.news-featured-grid .news-featured-card__meta {
  display: grid;
  align-content: start;
}

.news-featured-card__date {
  white-space: nowrap;
}

.news-featured-card__title {
  grid-column: 1 / -1;
  margin: 0;
}

.news-featured-card__title a {
  color: inherit;
  display: inline;
  width: auto;
  height: auto;
  font-size: 1.16rem;
  font-weight: 800;
  line-height: 1.5;
  text-decoration: none;
  overflow-wrap: break-word;
}

.news-featured-card__title a:hover {
  color: var(--link-hover-color);
}

.news-carousel {
  --news-carousel-gap: 28px;
  --news-visible-count: 3;
  --news-card-width: clamp(260px, 22vw, 280px);
  --news-visible-width: calc((var(--news-card-width) * 3) + (var(--news-carousel-gap) * 2));
  --news-carousel-gutter: max(0px, calc((100% - var(--news-visible-width)) / 2));

  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: min(100%, 1120px);
  max-width: 100%;
  margin: 0 auto;
}

.news-featured-card__overlay {
  display: none;
}

.news-carousel-controls,
.news-carousel-pagination {
  display: flex;
}

.news-carousel-controls {
  position: relative;
  z-index: 4;
  grid-column: 1;
  grid-row: 2;
  align-items: center;
  justify-content: space-between;
  justify-self: center;
  width: 128px;
  margin: 8px auto 0;
  padding: 0;
  pointer-events: none;
}

.news-carousel-control {
  display: inline-grid;
  width: 32px;
  height: 32px;
  place-items: center;
  padding: 0;
  color: var(--ink);
  font: inherit;
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1;
  background: transparent;
  border: 0;
  border-radius: 50%;
  box-shadow: none;
  opacity: 0.96;
  pointer-events: auto;
  cursor: pointer;
}

.news-carousel-control i {
  display: block;
  font-size: 1.75rem;
  line-height: 1;
}

.news-carousel-control:disabled,
.news-carousel-control[aria-disabled="true"] {
  visibility: hidden;
  pointer-events: none;
}

.news-carousel.is-static .news-carousel-controls {
  display: none;
}

.news-carousel-pagination {
  grid-column: 1;
  grid-row: 2;
  align-self: center;
  justify-self: center;
  justify-content: center;
  gap: 8px;
  margin: 8px 0 0;
}

.news-carousel-pagination__dot {
  display: block;
  width: 8px;
  height: 8px;
  padding: 0;
  background: rgba(77, 53, 31, 0.32);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.news-carousel-pagination__dot.is-active {
  background: var(--ink);
  box-shadow: 0 0 0 2px rgba(77, 53, 31, 0.18);
}

.news-carousel--single .news-featured-grid {
  justify-content: center;
}

.news-carousel--single .news-featured-grid .gallery-card-empty {
  display: none;
}

.news-list-heading {
  width: min(100%, 700px);
  margin: 44px auto 0;
  color: var(--ink);
  font-size: 1.32rem;
  font-weight: 800;
  line-height: 1.5;
  text-align: center;
}

@media (min-width: 761px) {
  .news-carousel {
    width: min(100%, 1120px);
  }

  .news-carousel--double .news-featured-grid {
    justify-content: center;
  }

  .news-carousel--double .news-featured-grid .gallery-card-empty {
    display: none;
  }

  .news-carousel--single .news-carousel-controls,
  .news-carousel--single .news-carousel-pagination {
    display: none;
  }

  .news-featured-grid .gallery-card > a {
    aspect-ratio: 4 / 3;
  }
}

.news-more {
  width: min(100%, var(--content-width));
  margin: 28px auto 0;
  text-align: center;
}

.news-more a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: none;
}

.news-more i {
  color: inherit;
  font-size: 0.9rem;
}

.news-list {
  display: grid;
  gap: 24px;
  width: min(100%, 700px);
  margin: 28px auto 0;
}

.news-list-heading + .news-list {
  margin-top: 24px;
}

.news-item {
  display: grid;
  grid-template-columns: 145px minmax(130px, auto) minmax(0, 1fr);
  align-items: baseline;
  gap: 14px;
  margin: 0;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.7;
}

.news-item time {
  white-space: nowrap;
}

.news-category {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 3px 10px;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.3;
  background: #fff;
  border: 2px solid #ffdf41;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.news-featured-card__category {
  align-items: center;
  justify-content: center;
  text-align: center;
}

.news-category[href] {
  text-decoration: none;
}

.news-category[href]:hover,
.news-category[href]:focus-visible {
  color: var(--link-hover-color);
  background: var(--link-hover-background);
  border-color: var(--link-hover-border-color);
}

.news-item p {
  margin: 0;
  min-width: 0;
}

.news-item p a {
  font-size: 1.16rem;
  font-weight: 800;
  line-height: 1.5;
  overflow-wrap: break-word;
}

.news-item a {
  color: inherit;
  text-decoration: none;
}

.news-item a:hover {
  color: var(--link-hover-color);
}

.news-empty {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  text-align: center;
}

/* Movie */
.movie {
  padding-top: 72px;
  padding-bottom: 96px;
}

.movie-characters {
  position: relative;
  z-index: 1;
  width: min(100%, 1040px);
  margin: -18px auto 22px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 6px;
  overflow-x: auto;
  padding: 0 12px 8px;
}

.profile-story-characters.movie-characters {
  container-type: inline-size;
  display: block;
  width: min(100%, 1400px);
  height: var(--story-characters-flow-height);
  margin: -18px auto 22px;
  padding: 0;
  overflow: visible;
  overflow-x: visible;
  overflow-y: visible;
}

@media (min-width: 761px) {
  .profile-story-characters.movie-characters {
    top: -12px;
  }
}

.movie-characters img {
  width: clamp(125px, 15vw, 205px);
  height: auto;
  flex: 0 0 auto;
}

.movie-characters img:nth-child(2) {
  width: clamp(150px, 18vw, 240px);
}

.movie-characters img:nth-child(4) {
  width: clamp(135px, 16vw, 215px);
}

.profile-story-characters img {
  position: absolute;
  height: auto;
  max-width: none;
  flex: none;
  transform: none;
}

.profile-story-characters img:nth-child(1) {
  top: calc(var(--story-arch-apex-from-character-top) - 152 * 100cqw / 1400);
  left: 11.5%;
  width: 11.93%;
}

.profile-story-characters img:nth-child(2) {
  top: calc(var(--story-arch-apex-from-character-top) - 81.6 * 100cqw / 1400);
  left: 26.13%;
  width: 16.23%;
}

.profile-story-characters img:nth-child(3) {
  top: calc(var(--story-arch-apex-from-character-top) - 107.9 * 100cqw / 1400);
  left: 48.34%;
  width: 11%;
}

.profile-story-characters img:nth-child(4) {
  top: calc(var(--story-arch-apex-from-character-top) - 70.5 * 100cqw / 1400);
  left: 63.6%;
  width: 11.73%;
}

.profile-story-characters img:nth-child(5) {
  top: calc(var(--story-arch-apex-from-character-top) - 107.9 * 100cqw / 1400);
  left: 79.83%;
  width: 9.95%;
}

.arc-text-svg--story text {
  font-size: 78px;
}

.movie-panel {
  width: min(100%, 640px);
  aspect-ratio: 16 / 9;
  min-height: 0;
  margin: 0 auto;
  display: grid;
  place-items: center;
  padding: 0;
  background: var(--color-placeholder);
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.movie-panel img,
.movie-panel > div {
  display: none;
}

.movie-panel::after {
  content: "動画";
  color: #3b2a1f;
  font-size: 32px;
  font-weight: 500;
}

.movie-panel--embed {
  overflow: hidden;
  background: #000;
}

.movie-panel--embed::after {
  content: none;
}

.movie-panel--embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.movie-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: clamp(18px, 3vw, 32px);
  width: min(100%, 1040px);
  margin: 0 auto;
}

.movie-gallery__item {
  display: grid;
  gap: 14px;
}

.movie-gallery__body {
  text-align: center;
}

.movie-gallery__body h3 {
  margin: 0 0 6px;
  color: var(--color-text);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 800;
}

.movie-gallery__body p {
  margin: 0;
  color: var(--color-text);
  line-height: 1.8;
}

/* Story */
.section.story {
  position: relative;
  overflow-x: clip;
  overflow-y: visible;
  isolation: isolate;
  background-color: var(--figma-cream);
  border-top: 0;
  padding-top: clamp(18px, 3vw, 42px);
  padding-bottom: clamp(14px, 2vw, 28px);
}

.story::before,
.story::after {
  content: "";
  position: absolute;
  left: 50%;
  z-index: 0;
  pointer-events: none;
  transform: translateX(-50%);
}

.story::before {
  content: none;
}

.story::after {
  content: none;
}

.story .section-heading,
.story-content {
  position: relative;
  z-index: 2;
}

#story-title {
  font-size: clamp(24px, 2vw, 26px);
}

.story-content {
  position: relative;
  width: min(100%, 720px);
  margin: 0 auto;
  display: grid;
  justify-items: center;
  gap: 22px;
  padding-bottom: 24px;
  text-align: center;
}

.story-content > img {
  width: clamp(400px, 34vw, 540px);
  margin-bottom: 40px;
  transform: none;
  transform-origin: center center;
}

.story-text {
  width: min(100%, 520px);
  margin: 0 auto;
  padding: 28px 34px;
  display: grid;
  gap: 10px;
  background: rgba(255, 255, 255, 0.92);
  text-align: left;
}

.story-text p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.9;
  line-break: strict;
  overflow-wrap: break-word;
  word-break: auto-phrase;
  text-wrap: pretty;
}

.story-decorations {
  position: absolute;
  inset: auto 0 0;
  pointer-events: none;
}

.story-decoration {
  position: absolute;
  bottom: 0;
  width: 150px;
}

.story-decoration-pot {
  left: 0;
}

.story-decoration-bag {
  right: 0;
}

/* Society */
.society {
  background-color: var(--figma-cream);
  padding-top: clamp(34px, 4vw, 54px);
}

.story + .society {
  border-top: 0;
}

.society-content {
  width: min(100%, 520px);
  margin: 0 auto;
  display: grid;
  gap: 28px;
  padding: 28px 34px;
  background: rgba(255, 255, 255, 0.92);
}

.society-card,
.society-contact {
  padding: 0;
  background: transparent;
  text-align: left;
}

.society-card p,
.society-contact p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.9;
  line-break: strict;
  overflow-wrap: break-word;
  word-break: auto-phrase;
  text-wrap: pretty;
}

.society-contact {
  position: relative;
  display: grid;
  gap: 12px;
  padding-bottom: 128px;
  overflow: visible;
}

.society-contact h3 {
  margin: 0;
  padding-bottom: 8px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.35;
}

.society-contact > :not(.society-contact__character) {
  position: relative;
  z-index: 1;
}

.society-contact__title {
  display: flex;
  align-items: center;
  gap: 2px;
}

.society-contact__title-icon {
  width: 1.75em;
  height: 1.75em;
  flex: 0 0 auto;
  object-fit: contain;
}

.society-contact__address {
  margin-block: 4px;
  padding-block: 14px;
  border-top: 1px solid rgba(120, 85, 20, 0.24);
  border-bottom: 1px solid rgba(120, 85, 20, 0.24);
}

.society-contact__address p {
  color: var(--ink);
  font-weight: 800;
}

.society-contact__address p + p {
  margin-top: 4px;
}

.society-contact__character {
  position: absolute;
  right: 24px;
  bottom: -24px;
  z-index: 0;
  width: clamp(72px, 12vw, 104px);
  height: auto;
  pointer-events: none;
}

/* Events */
.events {
  background: var(--figma-yellow);
}

.event-list {
  width: min(100%, 680px);
  min-height: 520px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  align-content: start;
  gap: 14px;
  padding: 42px 48px;
  background: var(--color-white);
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.event-list article {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 12px 20px;
  padding: 0 0 14px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--border-soft);
  border-radius: 0;
  box-shadow: none;
}

.event-list article:last-child {
  border-bottom: 0;
}

.event-list time {
  grid-row: span 3;
  margin: 0;
  color: var(--leaf);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.7;
}

.event-list h3 {
  min-height: 0;
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}

.event-list p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
}

.event-calendar-action {
  margin: 28px 0 0;
  text-align: center;
}

.event-calendar-action .post-action-button {
  width: min(100%, 280px);
}

/* Privacy Policy Page */
.privacy-page {
  background: var(--figma-cream);
  color: var(--ink);
}

.privacy-section {
  padding: 18px 20px 96px;
}

.privacy-section__inner {
  max-width: 760px;
  margin: 0 auto;
}

.privacy-section__label {
  margin: 0 0 10px;
  color: var(--leaf);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.privacy-section__title {
  margin: 0 0 52px;
  color: var(--ink);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  letter-spacing: 0.08em;
}

.privacy-box {
  max-width: 520px;
  margin: 0 auto;
  padding: 34px 34px 48px;
  background: rgba(255, 255, 255, 0.92);
}

.privacy-lead {
  margin: 0 0 34px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 2;
}

.privacy-item {
  padding: 26px 0;
  border-top: 1px solid rgba(120, 85, 20, 0.24);
}

.privacy-item:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.privacy-item h2 {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0 0 18px;
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.6;
}

.privacy-item__flower {
  width: 1.75em;
  height: 1.75em;
  flex: 0 0 auto;
  object-fit: contain;
}

.privacy-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 2;
}

.privacy-item p + p {
  margin-top: 14px;
}

.privacy-item ul {
  margin: 12px 0 0;
  padding-left: 1.4em;
}

.privacy-item li {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 2;
}

.privacy-date {
  margin: 26px 0 0;
  padding-top: 24px;
  border-top: 1px solid rgba(120, 85, 20, 0.24);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.8;
  text-align: right;
}

/* Post Templates */
.post-index-page,
.archive-post-page,
.search-post-page,
.single-post-page,
.not-found-page {
  background: var(--figma-cream);
  color: var(--ink);
}

.post-template-section {
  padding: 18px 20px 96px;
}

.post-template-section__inner {
  width: min(100%, 920px);
  margin: 0 auto;
}

.post-list-box,
.single-post-box,
.post-search-box,
.post-archive-description {
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.92);
}

.post-list-box,
.single-post-box {
  padding: 34px;
}

.single-post-box {
  max-width: 760px;
}

.single-post-box--narrow {
  max-width: 620px;
}

.post-card-grid {
  display: grid;
  gap: 28px;
}

.post-card {
  display: grid;
  grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
  gap: 24px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(120, 85, 20, 0.24);
}

.post-card:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.post-card__thumb {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--cream);
  border: 2px solid rgba(255, 207, 54, 0.5);
  border-radius: 18px;
}

.post-card__thumb img,
.single-post-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-card__body {
  min-width: 0;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.4;
}

.post-meta a {
  color: inherit;
  text-decoration: none;
}

.post-meta a:hover,
.post-meta a:focus-visible {
  color: var(--link-hover-color);
}

.post-card__title,
.single-post-title {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.5;
  overflow-wrap: break-word;
}

.post-card__title {
  font-size: clamp(1.25rem, 2vw, 1.55rem);
}

.post-card__title a,
.single-post-nav a,
.single-post-tags a,
.post-pagination a,
.post-action-button {
  color: inherit;
  text-decoration: none;
}

.post-card__title a:hover,
.single-post-nav a:hover,
.single-post-tags a:hover,
.post-pagination a:hover {
  color: var(--link-hover-color);
}

.single-post-nav a:hover,
.single-post-nav a:focus-visible,
.single-post-nav__index:hover,
.single-post-nav__index:focus-visible,
.single-post-tags a:hover,
.single-post-tags a:focus-visible,
.post-pagination a:hover,
.post-pagination a:focus-visible {
  color: var(--link-hover-color);
  background: var(--link-hover-background);
  border-color: var(--link-hover-border-color);
}

.post-card__excerpt,
.post-empty,
.post-search-query,
.post-archive-description,
.single-post-content {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 2;
}

.post-card__excerpt {
  margin: 12px 0 0;
}

.post-empty {
  margin: 0;
  text-align: center;
}

.post-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 34px;
}

.post-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 42px;
  min-height: 42px;
  padding: 8px 13px;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.2;
  background: transparent;
  border: 2px solid #ffdf41;
  border-radius: var(--radius-pill);
}

.post-pagination .page-numbers i {
  color: var(--ink);
  font-size: 1.2rem;
  line-height: 1;
}

.post-pagination .current {
  color: #fff;
  background: var(--leaf);
  border-color: var(--leaf);
}

.single-post-header {
  margin-bottom: 26px;
  text-align: left;
}

.single-post-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.single-post-visual {
  aspect-ratio: 16 / 10;
  margin-bottom: 34px;
  overflow: hidden;
  background: var(--cream);
  border-radius: 18px;
}

.single-post-content > *:first-child {
  margin-top: 0;
}

.single-post-content > *:last-child {
  margin-bottom: 0;
}

.single-post-content h2,
.single-post-content h3 {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 38px 0 16px;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.6;
}

.single-post-content h2 {
  font-size: 1.35rem;
}

.single-post-content h3 {
  font-size: 1.12rem;
}

.single-post-content h2::before,
.single-post-content h3::before {
  content: "";
  width: 1.75em;
  height: 1.75em;
  flex: 0 0 auto;
  background: url("images/common/figma-flower-icon-correct.webp") center / contain no-repeat;
}

.single-post-content a {
  color: var(--link-color);
  font-weight: 800;
  text-decoration-color: var(--link-decoration-color);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.single-post-content a:hover,
.single-post-content a:focus-visible {
  color: var(--link-hover-color);
  text-decoration-color: var(--link-hover-decoration-color);
}

.single-post-content img {
  height: auto;
  border-radius: 18px;
}

.single-post-content .post-part-note {
  margin: 26px 0;
  padding: 18px 20px;
  color: var(--ink);
  background: #fffdf2;
  border: 2px solid #ffdf41;
  border-radius: 14px;
}

.single-post-content .post-part-note__title {
  margin: 0 0 8px;
  font-weight: 700;
}

.single-post-content .post-part-note__body > *:first-child {
  margin-top: 0;
}

.single-post-content .post-part-note__body > *:last-child {
  margin-bottom: 0;
}

.single-post-content .post-part-button-wrap {
  margin: 28px 0;
  text-align: center;
}

.single-post-content .post-part-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(100%, 180px);
  min-height: 44px;
  padding: 8px 20px;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  background: #fff;
  border: 2px solid #ffdf41;
  border-radius: var(--radius-pill);
}

.single-post-content .post-part-button:hover,
.single-post-content .post-part-button:focus-visible {
  color: var(--link-hover-color);
  background: var(--link-hover-background);
  border-color: var(--link-hover-border-color);
}

.single-post-content .post-video-embed {
  aspect-ratio: 16 / 9;
  margin: 30px 0;
  overflow: hidden;
  background: var(--cream);
  border-radius: 18px;
}

.single-post-content .post-video-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.single-post-footer {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(120, 85, 20, 0.24);
}

.single-post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.single-post-tags a {
  display: inline-flex;
  padding: 2px 10px;
  background: transparent;
  border: 2px solid #ffdf41;
  border-radius: var(--radius-pill);
}

.single-post-nav {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
}

.single-post-nav__item a,
.single-post-nav__index,
.post-action-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 14px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.4;
  background: #fff;
  border: 2px solid #ffdf41;
  border-radius: var(--radius-pill);
}

.single-post-nav__item--next {
  text-align: right;
}

.single-post-nav__item {
  min-width: 0;
}

.single-post-nav__item a {
  width: 100%;
  max-width: 100%;
  min-width: 178px;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 28px;
  padding-inline: 12px;
}

.single-post-nav__text {
  display: grid;
  grid-column: 2;
  gap: 2px;
  min-width: 0;
  text-align: center;
}

.single-post-nav__icon {
  color: var(--ink);
  font-size: 1.75rem;
  line-height: 1;
}

.single-post-nav__item--prev .single-post-nav__icon {
  grid-column: 1;
}

.single-post-nav__item--next .single-post-nav__icon {
  grid-column: 3;
}

.single-post-nav__label {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.2;
}

.single-post-nav__title {
  min-width: 0;
  text-align: center;
}

.single-post-nav__item span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.post-page-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
  font-weight: 800;
}

.post-archive-label {
  margin: 0 0 10px;
  color: var(--leaf);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1;
  text-align: center;
}

.post-archive-description {
  max-width: 760px;
  margin-bottom: 24px;
  padding: 22px 28px;
}

.post-search-box {
  max-width: 760px;
  margin-bottom: 24px;
  padding: 24px 28px;
}

.post-search-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.post-search-form__field {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  background: var(--paper);
  border: 2px solid var(--line);
  border-radius: var(--radius-pill);
}

.post-search-form__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 18px;
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  background: #ffdf41;
  border: 2px solid #ffdf41;
  border-radius: var(--radius-pill);
}

.post-search-query {
  margin: 14px 0 0;
}

.post-search-query span {
  color: var(--ink);
}

.post-action-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.download-material-page .post-action-button {
  width: 132px;
  text-align: center;
}

.post-action-button:hover {
  color: var(--link-hover-color);
  background: var(--link-hover-background);
  border-color: var(--link-hover-border-color);
}

.post-action-button:focus-visible,
.post-search-form__button:hover,
.post-search-form__button:focus-visible {
  color: var(--link-hover-color);
  background: var(--link-hover-background);
  border-color: var(--link-hover-border-color);
}

/* Footer */
.site-footer {
  padding: 52px 70px 18px clamp(18px, 3.6vw, 48px);
}

.page-top {
  top: -58px;
  align-content: center;
  gap: 3px;
  width: 116px;
  height: 78px;
  padding-top: 12px;
  box-sizing: border-box;
  background: var(--color-white);
  border: 0;
  border-radius: 116px 116px 0 0;
  box-shadow: none;
}

.page-top img {
  width: 42px;
  margin-bottom: 0;
}

.page-top span {
  font-size: 10px;
}

.footer-inner {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  justify-items: stretch;
  gap: 14px clamp(28px, 8vw, 96px);
  width: 100%;
  margin: 0;
}

.footer-brand {
  justify-self: start;
}

.footer-brand img {
  width: clamp(300px, 27vw, 360px);
}

.footer-nav-area {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: end;
  gap: 16px;
  padding-right: clamp(36px, 8vw, 128px);
}

.footer-social {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.footer-social__link {
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
}

.footer-social__link img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-nav {
  justify-content: flex-end;
  gap: 14px;
  font-size: 13px;
}

.footer-nav a + a::before {
  content: "\FF5C";
  margin-right: 14px;
  color: rgba(80, 48, 31, 0.45);
  font-weight: 500;
}

.footer-privacy {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
}

.footer-privacy:hover {
  color: var(--leaf);
}

.site-footer address a {
  min-height: 32px;
  padding: 4px 14px;
  font-size: 12px;
}

.site-footer small {
  font-size: 10px;
}

.footer-inner > p {
  grid-column: 2;
  justify-self: stretch;
  margin: 0;
  text-align: left;
}

.footer-inner > .footer-copyright {
  grid-column: 1 / -1;
  justify-self: center;
  width: 100%;
  margin: 0;
  padding: 0;
  text-align: center;
  white-space: normal;
}

/* Guide Page */
.guide-page {
  background: var(--figma-cream);
}

.guide-hero {
  position: relative;
  display: grid;
  min-height: 430px;
  grid-template-columns: 1fr;
  justify-items: center;
  align-content: start;
  gap: 22px;
  padding: 72px 24px 44px;
  overflow: hidden;
  text-align: center;
  background: var(--figma-cream);
}

.guide-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin-top: 14px;
}

.guide-hero-title {
  margin: 8px 0 0;
  color: var(--ink);
  font-size: clamp(1.55rem, 2.5vw, 2rem);
  font-weight: 700;
  line-height: 1.4;
}

.guide-hero-logo {
  position: relative;
  z-index: 2;
  display: block;
  width: min(260px, 54vw);
  height: auto;
  margin: 8px auto 0;
}

.guide-hero-visual {
  position: relative;
  z-index: 2;
  width: min(250px, 42vw);
  margin: 0 auto;
  filter: none;
}

.guide-hero-decorations {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: min(100%, 720px);
  margin: 0 auto;
  pointer-events: none;
}

.guide-hero-decoration {
  position: absolute;
  height: auto;
}

.guide-hero-decoration-butterfly {
  top: 46%;
  left: 15%;
  width: clamp(42px, 5vw, 72px);
}

.guide-hero-decoration-flower {
  top: 64%;
  right: 14%;
  width: clamp(42px, 5vw, 68px);
}

.guide-document {
  position: relative;
  overflow-x: clip;
  overflow-y: visible;
  padding: 0 clamp(20px, 5vw, 72px) 88px;
  background: var(--figma-cream);
}

.guide-document-inner {
  position: relative;
  z-index: 1;
  overflow: visible;
  width: min(100%, var(--guide-document-width));
  margin: 0 auto;
  padding: 8px 34px 56px;
  color: var(--ink);
  background: var(--color-white);
}

.guide-document-decorations {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: min(100%, var(--guide-document-width));
  margin: 0 auto;
  pointer-events: none;
}

.guide-document-decoration {
  position: absolute;
  z-index: 2;
  width: clamp(64px, 18vw, 150px);
  height: auto;
  pointer-events: none;
}

.guide-document-decoration-basket {
  top: 28%;
  right: 0;
  transform: translateX(42%);
}

.guide-document-decoration-sign {
  top: 56%;
  left: 0;
  transform: translateX(-78%);
}

.guide-document-decoration-peek {
  top: 72%;
  right: 0;
  width: clamp(52px, 12vw, 92px);
  transform: translateX(48%);
}

.guide-document-header {
  margin-top: -10px;
  margin-bottom: 26px;
}

.guide-document-header h1 {
  display: block;
  width: auto;
  margin: 0 -34px 28px;
  padding: 8px 34px;
  color: var(--ink);
  font-size: clamp(1.35rem, 2.8vw, 2rem);
  font-weight: 800;
  line-height: 1.4;
  text-shadow: none;
  background: var(--figma-yellow);
}

.guide-document-header p,
.guide-doc-section p,
.guide-doc-section li {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.9;
}

.guide-doc-section {
  padding: 24px 0;
  border-top: 1px solid rgba(80, 48, 31, 0.22);
}

.guide-doc-section h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding-bottom: 8px;
  color: var(--ink);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 800;
  line-height: 1.5;
  border-bottom: 1px solid rgba(80, 48, 31, 0.2);
}

.guide-doc-section h2::before {
  content: "";
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  background: url("images/guide/guide-flower-icon-figma.webp") center / contain no-repeat;
}

.guide-doc-section h3 {
  margin: 22px 0 8px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.6;
}

.guide-doc-section ul,
.guide-doc-section ol {
  margin: 10px 0 0;
  padding-left: 1.35em;
}

.guide-doc-section ol li + li,
.guide-doc-section ul li + li {
  margin-top: 4px;
}

.guide-doc-section ol li strong {
  display: block;
}

.guide-doc-section ol li span {
  display: block;
}

.guide-doc-links,
.guide-doc-contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-top: 14px;
}

.guide-doc-links a,
.guide-doc-contact a,
.guide-doc-contact-links a {
  color: var(--link-color);
  font-weight: 800;
  text-decoration-color: var(--link-decoration-color);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.guide-doc-links a:hover,
.guide-doc-links a:focus-visible,
.guide-doc-contact a:hover,
.guide-doc-contact a:focus-visible,
.guide-doc-contact-links a:hover,
.guide-doc-contact-links a:focus-visible,
.guide-material-download a:hover,
.guide-material-download a:focus-visible,
.guide-contact-info a:hover,
.guide-contact-info a:focus-visible {
  color: var(--link-hover-color);
  text-decoration-color: var(--link-hover-decoration-color);
}

.guide-materials-list {
  display: grid;
  justify-items: start;
  gap: 20px;
  margin-top: 14px;
}

.guide-material-pdf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  color: #fff;
  background: #f12b3d;
  border: 2px solid #f12b3d;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.5;
  text-decoration: none;
}

.guide-material-pdf-icon {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 18px;
  flex: 0 0 auto;
  border: 1.5px solid currentColor;
  border-radius: 3px;
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
}

.guide-material-download {
  display: grid;
  justify-items: start;
  gap: 8px;
}

.guide-material-download p {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
}

.guide-material-download a {
  display: grid;
  justify-items: center;
  gap: 4px;
  color: var(--link-color);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: underline;
  text-decoration-color: var(--link-decoration-color);
  text-underline-offset: 3px;
}

.guide-material-download img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border: 1px solid rgba(80, 48, 31, 0.35);
  background: var(--color-white);
}

.guide-download-grid {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 6px;
}

.guide-download-item {
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
  padding: 12px;
  background: rgba(255, 251, 241, 0.7);
  border: 1px solid var(--border-soft);
}

.guide-download-thumb {
  display: grid;
  min-height: 92px;
  place-items: center;
  background: var(--color-white);
}

.guide-download-thumb img {
  width: 100%;
  height: 92px;
  object-fit: contain;
  border: 0;
  background: transparent;
}

.guide-download-item h3 {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.5;
}

.guide-download-item p {
  margin: 0;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;
}

.guide-material-download .guide-download-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  width: auto;
  min-height: 34px;
  padding: 5px 16px;
  color: var(--guide-redesign-ink);
  background: #fff;
  border: 2px solid var(--guide-redesign-orange);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.4;
  text-decoration: none;
}

.guide-material-download .guide-download-link:hover,
.guide-material-download .guide-download-link:focus-visible {
  color: var(--link-hover-color);
  background: var(--link-hover-background);
  border-color: var(--link-hover-border-color);
  text-decoration: none;
}

.guide-contact-info {
  display: grid;
  justify-items: start;
  gap: 3px;
  margin-top: 14px;
}

.guide-contact-info p {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.55;
}

.guide-contact-info a {
  color: var(--link-color);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--link-decoration-color);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.guide-slide-list {
  display: grid;
  gap: 28px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.guide-slide-card {
  display: block;
  padding: clamp(22px, 4vw, 34px);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(253, 210, 43, 0.42);
  border-radius: var(--radius-card);
  box-shadow: 0 12px 28px rgba(80, 48, 31, 0.08);
}

.guide-slide-card article {
  display: grid;
  gap: 14px;
}

.guide-slide-card h2,
.guide-slide-card h3,
.guide-slide-card p,
.guide-slide-card li {
  margin: 0;
}

.guide-slide-card h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: clamp(1.35rem, 2.7vw, 2rem);
  font-weight: 800;
  line-height: 1.35;
}

.guide-slide-card h2::before {
  content: "";
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  background: url("images/guide/guide-flower-icon-figma.webp") center / contain no-repeat;
}

.guide-slide-card h3 {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.5;
}

.guide-slide-card p,
.guide-slide-card li {
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.8;
}

.guide-slide-number {
  justify-self: start;
  min-width: 48px;
  padding: 3px 12px;
  color: var(--ink);
  background: var(--figma-yellow);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
}

.guide-type-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 4px;
}

.guide-type-grid section {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 16px;
  background: var(--figma-cream);
  border: 1px solid rgba(253, 210, 43, 0.54);
  border-radius: 16px;
}

.guide-icon-list,
.guide-check-list,
.guide-caution-list,
.guide-ng-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 18px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.guide-icon-list li,
.guide-check-list li,
.guide-caution-list li,
.guide-ng-list li {
  position: relative;
  padding-left: 1.35em;
}

.guide-icon-list li::before,
.guide-check-list li::before {
  content: "○";
  position: absolute;
  left: 0;
  color: var(--leaf);
  font-weight: 800;
}

.guide-caution-list li::before,
.guide-ng-list li::before {
  content: "!";
  position: absolute;
  left: 0;
  color: #e28565;
  font-weight: 800;
}

.guide-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.guide-flow li {
  display: grid;
  gap: 8px;
  padding: 16px;
  background: var(--figma-cream);
  border-radius: 16px;
}

.guide-hashtags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.guide-hashtags span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 6px 14px;
  color: var(--ink);
  background: var(--figma-cream);
  border: 2px solid var(--figma-gold);
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 800;
}

.guide-yes-no {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 4px;
}

.guide-yes-no-option {
  display: grid;
  gap: 8px;
  padding: 18px;
  background: var(--figma-cream);
  border: 2px solid rgba(253, 210, 43, 0.56);
  border-radius: 18px;
}

.guide-yes-no-option--no {
  background: rgba(105, 194, 119, 0.12);
  border-color: rgba(105, 194, 119, 0.42);
}

.guide-yes-no-label {
  display: inline-flex;
  justify-self: start;
  min-height: 32px;
  align-items: center;
  padding: 4px 14px;
  color: var(--ink);
  background: var(--color-white);
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 800;
}

.guide-yes-no-arrow {
  color: var(--ink);
  font-size: 16px;
  font-weight: 800;
}

.guide-yes-no-arrow::before {
  content: "\f138";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  margin-right: 0.45em;
  color: var(--figma-gold);
}

.guide-branch-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 4px;
}

.guide-branch-card {
  display: grid;
  gap: 8px;
  padding: 18px;
  background: var(--figma-cream);
  border: 1px solid rgba(253, 210, 43, 0.54);
  border-radius: 18px;
}

.guide-download-note {
  padding: 12px 16px;
  color: var(--ink);
  background: rgba(255, 255, 110, 0.45);
  border-left: 5px solid var(--figma-gold);
  border-radius: 10px;
}

.guide-slide-card .guide-download-grid {
  margin-top: 8px;
}

.guide-slide-card .guide-download-link {
  display: inline-flex;
  justify-self: start;
  color: var(--link-color);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
  text-decoration: underline;
  text-decoration-color: var(--link-decoration-color);
  text-underline-offset: 3px;
}

/* Guide CTA */
.guide-card {
  max-width: 920px;
  border-width: 2px;
  box-shadow: 0 6px 0 rgba(253, 210, 43, 0.32);
}

.guide-card #guide-title {
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 1.3;
}

.guide {
  padding-top: 28px;
  padding-bottom: 36px;
  background-color: var(--figma-yellow);
  background-image: none;
}

.guide-card {
  width: 220px;
  max-width: 100%;
  margin: 0 clamp(48px, 10vw, 140px) 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 0;
  text-align: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.guide-card img {
  width: 150px;
}

.guide-card .eyebrow,
.guide-card p:not(.eyebrow) {
  display: none;
}

.guide-card #guide-title {
  margin: 0;
  font-size: 15px;
  line-height: 1.4;
}

.guide-card .button {
  display: none;
  min-height: 32px;
  margin-top: 2px;
  padding: 4px 14px;
  font-size: 12px;
  box-shadow: 0 4px 0 var(--leaf-dark);
}

/* Responsive */
@media (max-width: 860px) {
  .site-header {
    position: static;
    flex-direction: column;
    gap: 10px;
  }

  .brand {
    align-items: center;
    flex-direction: column;
  }

  .nav {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-nav-list {
    flex-wrap: wrap;
    gap: 10px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    text-align: center;
  }

  .hero-copy,
  .hero-copy p:not(.eyebrow) {
    max-width: none;
  }

  .hero-visual {
    max-height: none;
  }

  .about-grid,
  .profile-list,
  .gallery-grid,
  .event-list,
  .movie-panel,
  .guide-card,
  .guide-hero,
  .guide-two-column,
  .guide-card-wide,
  .guide-commercial .guide-card-wide,
  .guide-flow,
  .guide-contact-inner {
    grid-template-columns: 1fr;
  }

  .guide-hero {
    text-align: center;
  }

  .guide-document {
    padding-right: 16px;
    padding-left: 16px;
  }

  .guide-document-inner {
    padding: 8px 18px 24px;
  }

  .guide-document-decoration {
    width: clamp(52px, 22vw, 88px);
  }

  .guide-document-decoration-basket {
    transform: translateX(38%);
  }

  .guide-document-decoration-sign {
    transform: translateX(-78%);
  }

  .guide-document-decoration-peek {
    width: clamp(44px, 18vw, 72px);
    transform: translateX(42%);
  }

  .society-content {
    gap: 20px;
    padding: 24px 22px;
  }

  .society-card,
  .society-contact {
    padding: 0;
  }

  .society-contact {
    padding-bottom: 132px;
  }

  .society-contact__character {
    right: 14px;
    bottom: 12px;
    width: 72px;
  }

  .about-grid img {
    width: min(72vw, 280px);
    margin: 0 auto;
  }

  .gallery-grid figure {
    grid-template-rows: 230px auto;
  }

  .profile .section-heading {
    margin-top: 34px;
    margin-bottom: clamp(28px, 5vw, 52px);
  }

  .profile-circle-wrap {
    top: 22px;
    left: 50%;
    width: 100vw;
    height: clamp(150px, 38vw, 220px);
    overflow: visible;
    transform: translateX(-50%);
  }

  .profile-circle-wrap .arc-text-svg {
    width: 100vw;
  }

  .profile-list {
    grid-template-columns: minmax(88px, 112px) minmax(112px, 150px) minmax(88px, 112px);
    grid-template-rows: auto auto;
    align-items: center;
    justify-content: center;
    gap: 20px clamp(10px, 3vw, 18px);
    min-height: 360px;
    padding-top: 0;
  }

  .profile-detail {
    top: 0;
    left: 50%;
    margin-top: 0;
    transform: translateX(-50%);
    width: 100%;
  }

  .profile-detail-card {
    width: min(100%, calc(100vw - 32px));
    padding: 20px 18px;
  }

  :root {
    --central-imonoko-width: min(36vw, 136px);
    --central-imonoko-scale: 1.16;
  }

  .profile-character {
    position: relative;
    top: -12px;
    left: 0;
    grid-column: 2;
    grid-row: 1 / 3;
    width: var(--central-imonoko-width);
    transform: translateY(-8px) scale(calc(var(--central-imonoko-scale) * 0.9));
  }

  .profile-card {
    position: relative;
    top: -14px;
    width: clamp(96px, 28vw, 112px);
    height: clamp(96px, 28vw, 112px);
    margin-inline: auto;
    padding: 0;
  }

  .profile-card:nth-of-type(1) {
    grid-column: 1;
    grid-row: 1;
  }

  .profile-card:nth-of-type(2) {
    grid-column: 3;
    grid-row: 1;
    right: 32px;
  }

  .profile-card:nth-of-type(3) {
    grid-column: 1;
    grid-row: 2;
  }

  .profile-card:nth-of-type(4) {
    grid-column: 3;
    grid-row: 2;
    right: 32px;
  }

  .profile-card img {
    width: 100%;
    height: 100%;
    padding: 0;
  }

  .profile-card:nth-of-type(3) img {
    width: 100%;
    height: 100%;
  }

  .profile-card h3 {
    margin-bottom: 18px;
    font-size: 0.72rem;
  }

  .news-item {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .guide-download-grid {
    grid-template-columns: 1fr;
  }

  .download-material-layout {
    grid-template-columns: 1fr;
  }

  .download-material-preview {
    min-height: 220px;
  }

  .download-material-preview img {
    max-height: 360px;
  }

  .download-material-button {
    width: 100%;
  }

  .guide-type-grid,
  .guide-yes-no,
  .guide-branch-grid,
  .guide-flow,
  .guide-icon-list,
  .guide-check-list,
  .guide-caution-list,
  .guide-ng-list {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 761px) and (max-width: 860px) {
  .profile-character {
    transform: translateY(-16px) scale(calc(var(--central-imonoko-scale) * 0.75));
  }
}

@media (max-width: 520px) {
  .nav {
    width: 100%;
    justify-content: space-between;
    font-size: 0.88rem;
    gap: 10px;
  }

  .hero-nav-list a {
    min-width: calc(50% - 8px);
    font-size: 0.86rem;
  }

  .button {
    width: 100%;
  }

  .guide-document-decoration {
    width: clamp(52px, 22vw, 88px);
  }

  .guide-document-decoration-basket {
    transform: translateX(38%);
  }

  .guide-document-decoration-sign {
    transform: translateX(-78%);
  }

  .guide-document-decoration-peek {
    width: clamp(44px, 18vw, 72px);
    transform: translateX(42%);
  }
}

/* Figma最新版に合わせたヘッダー構造 */
/* Header */
.site-header {
  position: static;
  top: auto;
  z-index: auto;
  display: block;
  width: 100%;
  height: auto;
  min-height: auto;
  margin: 0;
  padding-top: 0;
  padding-right: clamp(18px, 3.6vw, 48px);
  padding-bottom: 0;
  padding-left: clamp(18px, 3.6vw, 48px);
  background: var(--figma-yellow);
  border: 0;
  box-shadow: 0 8px 24px rgba(80, 54, 31, 0.08);
}

/* Latest Header Overrides */
.site-header__inner {
  display: flex;
  width: 100%;
  min-height: 104px;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 4vw, 64px);
  margin: 0;
  padding-right: 0;
}

@media (min-width: 761px) {
  .site-header__brand {
    transform: translateX(5px);
  }
}

.site-header__brand {
  display: inline-flex;
  flex: 0 1 auto;
  align-items: center;
  gap: clamp(8px, 1.5vw, 14px);
  padding: 0 10px 0 0;
  margin-block: 0;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  background: transparent;
}

.site-header__brand:focus {
  outline: none;
}

.site-header__brand:focus-visible {
  outline: 2px solid rgba(80, 54, 31, 0.65);
  outline-offset: 4px;
  border-radius: 4px;
}

.site-header__brand img {
  display: block;
  width: clamp(280px, 34vw, 440px);
  max-height: 104px;
  height: auto;
  object-fit: contain;
}

.site-header__brand span {
  color: var(--leaf);
  font-size: clamp(0.82rem, 1.2vw, 1rem);
  font-weight: 900;
  white-space: nowrap;
}

.floating-contact:hover,
.floating-contact:focus-visible {
  background: transparent;
}

.floating-menu,
.floating-menu-toggle,
.floating-menu-panel {
  display: none;
}

.floating-menu {
  --floating-menu-size: clamp(56px, 3.9vw, 70px);
  --floating-menu-line-width: clamp(26px, 2vw, 34px);

  position: fixed;
  top: 12px;
  right: 4px;
  z-index: 1002;
  display: block;
  width: var(--floating-menu-size);
  min-height: var(--floating-menu-size);
  box-sizing: border-box;
  overflow: hidden;
  background: #fff;
  border: 3px solid #ffdf41;
  border-right: 3px solid #ffdf41;
  border-radius: 20px 0 0 20px;
  box-shadow:
    0 0 0 4px rgba(255, 255, 255, 0.96),
    0 4px 12px rgba(80, 54, 31, 0.16);
}

.floating-menu.is-open {
  width: min(340px, calc(100vw - 16px));
}

.floating-menu.is-open .floating-menu-toggle {
  position: absolute;
  top: 0;
  right: 0;
}

.floating-menu-toggle {
  display: inline-flex;
  width: var(--floating-menu-size);
  height: var(--floating-menu-size);
  margin-left: auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(7px, 0.52vw, 10px);
  padding: 0;
  color: var(--ink);
  background: #fff;
  border: 0;
}

body.admin-bar .floating-menu {
  top: 44px;
}

.floating-menu-toggle__label {
  display: block;
  font-size: clamp(0.62rem, 0.58vw, 0.74rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
}

.floating-menu-toggle__lines {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(4px, 0.35vw, 6px);
}

.floating-menu-toggle__lines span {
  display: block;
  width: var(--floating-menu-line-width);
  height: 3px;
  background: currentColor;
  border-radius: var(--radius-pill);
}

.site-footer address a:hover,
.site-footer address a:focus-visible {
  color: var(--link-hover-color);
  background: var(--link-hover-background);
  border-color: var(--link-hover-border-color);
}

.floating-menu-toggle__close {
  display: none;
  color: var(--ink);
  font-size: clamp(1.85rem, 1.8vw, 2.25rem);
  font-weight: 800;
  line-height: 1;
}

.floating-menu.is-open .floating-menu-toggle__label,
.floating-menu.is-open .floating-menu-toggle__lines {
  display: none;
}

.floating-menu.is-open .floating-menu-toggle__close {
  display: block;
}

.floating-menu-panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: var(--floating-menu-size) 14px 16px 16px;
}

.floating-menu-panel[hidden] {
  display: none;
}

.floating-menu-panel__title {
  margin: 0;
  padding: 8px 48px 2px 8px;
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 900;
  line-height: 1.45;
}

.floating-menu-panel__links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-left: 14px;
}

.floating-menu-panel__links a {
  display: block;
  padding: 10px 12px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
  text-align: left;
  text-decoration: none;
  border-radius: 10px;
}

.floating-menu-panel__links a:hover,
.floating-menu-panel__links a:focus-visible {
  color: var(--link-hover-color);
  background: var(--link-hover-background);
}

.site-header__guide {
  display: inline-flex;
  width: clamp(96px, 7.8vw, 128px);
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.site-header__guide img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.floating-cta {
  position: fixed;
  right: 12px;
  bottom: 12px;
  z-index: 1000;
}

.floating-support {
  position: fixed;
  top: auto;
  right: 4px;
  bottom: 180px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0;
  opacity: 1;
  filter: drop-shadow(0 4px 12px rgba(80, 54, 31, 0.16)) saturate(1) brightness(1);
  pointer-events: auto;
}

.floating-support.is-visible {
  opacity: 1;
  filter: drop-shadow(0 4px 12px rgba(80, 54, 31, 0.16)) saturate(1) brightness(1);
  pointer-events: auto;
}

.admin-bar .floating-support {
  bottom: 180px;
}

.floating-support__sns {
  width: 40px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 4px 6px;
  margin-right: 0;
  background: #fff;
  border: 2px solid #6cad45;
  border-bottom: 0;
  border-radius: 16px 0 0 0;
}

.floating-support__sns-link {
  display: grid;
  width: 30px;
  height: 30px;
  box-sizing: border-box;
  place-items: center;
  background: transparent;
  border: 0;
  border-radius: var(--radius-pill);
}

.floating-support__sns-link:hover,
.floating-support__sns-link:focus-visible {
  background: var(--link-hover-background);
}

.floating-support__sns-link img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.floating-contact {
  width: 42px;
  box-sizing: border-box;
  display: block;
  padding: 0;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.floating-contact__image {
  display: block;
  width: 100%;
  height: auto;
  filter:
    drop-shadow(4px 0 0 rgba(255, 255, 255, 0.96))
    drop-shadow(-4px 0 0 rgba(255, 255, 255, 0.96))
    drop-shadow(0 4px 0 rgba(255, 255, 255, 0.96))
    drop-shadow(0 -4px 0 rgba(255, 255, 255, 0.96));
}

.floating-cta__guide {
  display: inline-flex;
  width: clamp(120px, 10vw, 160px);
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 8px 20px rgba(80, 54, 31, 0.22));
  text-decoration: none;
  transition:
    filter 0.2s ease,
    transform 0.2s ease;
}

.floating-cta__guide:hover,
.floating-cta__guide:focus-visible {
  filter: drop-shadow(0 10px 24px rgba(80, 54, 31, 0.28));
  transform: translateY(-2px);
}

.floating-cta__guide img {
  display: block;
  width: 100%;
  height: auto;
  filter:
    drop-shadow(2px 0 0 rgba(255, 255, 255, 0.95))
    drop-shadow(-2px 0 0 rgba(255, 255, 255, 0.95))
    drop-shadow(0 2px 0 rgba(255, 255, 255, 0.95))
    drop-shadow(0 -2px 0 rgba(255, 255, 255, 0.95))
    drop-shadow(1.5px 1.5px 0 rgba(255, 255, 255, 0.9))
    drop-shadow(-1.5px 1.5px 0 rgba(255, 255, 255, 0.9))
    drop-shadow(1.5px -1.5px 0 rgba(255, 255, 255, 0.9))
    drop-shadow(-1.5px -1.5px 0 rgba(255, 255, 255, 0.9));
  object-fit: contain;
}

.floating-cta__home {
  width: clamp(120px, 10vw, 160px);
}

.floating-cta__home:hover,
.floating-cta__home:focus-visible {
  background: transparent;
}

@media (max-width: 760px) {
  .profile-story-characters.movie-characters {
    transform: translate(6px, -30px);
    margin-bottom: 30px;
  }

  .site-header {
    position: static;
    min-height: auto;
    padding: 4px 12px;
  }

  .site-header__inner {
    min-height: 72px;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin: 0;
    padding-left: 0;
    padding-right: 46px;
  }

  .site-header__brand {
    width: auto;
    min-width: 0;
    justify-content: flex-start;
    padding: 0;
    margin-left: 0;
  }

  .site-header__brand img {
    width: clamp(224px, 70vw, 360px);
    max-width: calc(100vw - 92px);
    height: auto;
    max-height: none;
  }

  .hero-nav-list {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    gap: 10px;
  }

  .hero-nav-list li {
    flex: 0 1 auto;
    width: min(260px, 82vw);
  }

  @media (max-width: 360px) {
    .hero-nav-list li {
      width: min(220px, calc(100vw - 126px));
    }
  }

  .hero-nav-list a {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    justify-content: flex-start;
    padding-left: 24px;
    text-align: left;
  }

  .site-header__brand span {
    font-size: 0.78rem;
  }

  .floating-menu {
    position: fixed;
    top: 4px;
    right: 4px;
    z-index: 1002;
    display: block;
    width: 48px;
    min-height: 46px;
    box-sizing: border-box;
    overflow: hidden;
    background: #fff;
    border: 2px solid #ffdf41;
    border-right: 2px solid #ffdf41;
    border-radius: 16px 0 0 16px;
    box-shadow:
      0 0 0 4px rgba(255, 255, 255, 0.96),
      0 4px 12px rgba(80, 54, 31, 0.16);
  }

  .floating-menu.is-open {
    width: min(300px, calc(100vw - 16px));
  }

  .floating-menu.is-open .floating-menu-toggle {
    position: absolute;
    top: 0;
    right: 0;
  }

  .floating-menu-toggle {
    display: inline-flex;
    width: 48px;
    height: 46px;
    margin-left: auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0;
    color: var(--ink);
    background: #fff;
    border: 0;
  }

  body.admin-bar .floating-menu {
    top: 50px;
  }

  .floating-menu-toggle__label {
    display: block;
    font-size: 0.55rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0;
  }

  .floating-menu-toggle__lines {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
  }

  .floating-menu-toggle__lines span {
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
    border-radius: var(--radius-pill);
  }

  .floating-menu-toggle__close {
    display: none;
    color: var(--ink);
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1;
  }

  .floating-menu.is-open .floating-menu-toggle__label,
  .floating-menu.is-open .floating-menu-toggle__lines {
    display: none;
  }

  .floating-menu.is-open .floating-menu-toggle__close {
    display: block;
  }

  .floating-menu-panel {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 46px 10px 12px 12px;
  }

  .floating-menu-panel[hidden] {
    display: none;
  }

  .floating-menu-panel__title {
    margin: 0;
    padding: 8px 48px 2px 8px;
    color: var(--ink);
    font-size: 1.02rem;
    font-weight: 900;
    line-height: 1.45;
  }

  .floating-menu-panel__links {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-left: 14px;
  }

  .floating-menu-panel__links a {
    display: block;
    padding: 10px 12px;
    color: var(--ink);
    font-size: 0.9rem;
    font-weight: 800;
    text-align: left;
    text-decoration: none;
    border-radius: 10px;
  }

  .floating-menu-panel__links a:hover,
  .floating-menu-panel__links a:focus-visible {
    color: var(--link-hover-color);
    background: var(--link-hover-background);
  }

  .hero {
    padding-top: 20px;
    padding-bottom: 8px;
  }

  .hero-visual {
    width: min(124vw, 1535px);
    margin: -56px calc(50% - 62vw) 0;
    transform: translateY(-20px);
  }

  .hero-nav {
    margin-top: -18px;
  }

  .profile-story-boundary__stage {
    --story-characters-flow-height: calc(clamp(78px, 28vw, 112px) * 242 / 253 + 8px);
    --story-arch-apex-from-character-top: calc(
      var(--story-characters-flow-height) + 22px - var(--story-arch-height) * 764.6 / 680
    );
  }

  .profile-story-characters img:first-child,
  .profile-story-characters img:last-child {
    display: none;
  }

  .profile-story-characters img:nth-child(2),
  .profile-story-characters img:nth-child(3),
  .profile-story-characters img:nth-child(4) {
    position: absolute;
  }

  .profile-story-characters.movie-characters img:nth-child(2) {
    left: calc(9% - 16px);
    width: clamp(92px, 29vw, 112px);
    transform: translateY(5px);
  }

  .profile-story-characters.movie-characters img:nth-child(3) {
    left: 50%;
    width: clamp(78px, 23vw, 96px);
    transform: translateX(-50%) translateY(-18px);
  }

  .profile-story-characters.movie-characters img:nth-child(4) {
    right: 9%;
    left: auto;
    width: clamp(82px, 24vw, 100px);
    transform: none;
  }

  .news-featured-grid,
  .news-list-heading,
  .news-list,
  .story-text,
  .society-content {
    width: auto;
    margin-left: 10px;
    margin-right: 28px;
  }

  .society-card,
  .society-contact {
    min-width: 0;
  }

  .society-contact .text-keep {
    white-space: normal;
  }

  .story-content > img {
    width: min(40vw, 152px);
    margin-bottom: 22px;
    transform: none;
  }

  .profile-story-arch {
    --story-arch-width: calc(100vw * 2440 / 1920);
    --story-arch-height: calc(100vw * 680 / 1920);
    --story-arch-shift: -122%;
  }

  .profile-story-boundary {
    --profile-story-boundary-gap:
      clamp(56px, calc(47.5vw - 109px), 232px);
    z-index: 2;
  }

  .profile-story-boundary__gap {
    position: relative;
  }

  .news,
  .story {
    position: relative;
  }

  .profile-story-boundary__stage::before {
    content: "";
    position: absolute;
    top: 36px;
    right: 0;
    bottom: 0;
    left: 0;
    background: var(--figma-cream);
  }

  .news {
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  .news .section-heading {
    order: 1;
    margin-bottom: clamp(28px, 5vw, 52px);
  }

  .news-carousel {
    --news-carousel-gap: 28px;
    --news-visible-count: 1;
    --news-card-width: min(280px, calc(100vw - 112px));
    --news-visible-width: var(--news-card-width);
    --news-carousel-gutter: max(20px, calc((100% - var(--news-card-width)) / 2));

    position: relative;
    order: 2;
    display: grid;
    grid-template-columns: minmax(0, var(--news-visible-width));
    justify-content: center;
    width: 100%;
    max-width: 100%;
    margin: 0;
  }

  .news-more {
    order: 5;
    width: auto;
    margin: 22px 28px 0 10px;
  }

  .news-more a {
    font-size: 0.9rem;
  }

  .news-featured-grid {
    grid-column: 1 / -1;
    grid-row: 1;
    display: flex;
    grid-template-columns: none;
    gap: var(--news-carousel-gap);
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    overflow-y: hidden;
    box-sizing: border-box;
    scroll-padding-inline: 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .news-featured-grid::-webkit-scrollbar {
    display: none;
  }

  .news-featured-grid .gallery-card {
    display: block;
    flex: 0 0 var(--news-card-width);
    width: var(--news-card-width);
    height: auto;
    min-height: 0;
    padding: 0;
    overflow: visible;
    box-shadow: none;
    scroll-snap-align: center;
  }

  .news-featured-grid .gallery-card > a {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    min-height: 0;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: none;
  }

  .news-featured-grid .gallery-card > a::after {
    content: none;
  }

  .news-featured-grid .gallery-card > a img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .news-featured-grid .gallery-card > a .news-featured-card__fallback {
    object-fit: cover;
    object-position: center center;
  }

  .news-featured-grid .gallery-card figcaption {
    display: grid;
  }

  .news-featured-grid .news-featured-card__meta {
    grid-template-columns: 118px auto;
    gap: 5px 7px;
    margin-top: 6px;
    line-height: 1.35;
  }

  .news-featured-card__date,
  .news-featured-card__category {
    font-size: 0.95rem;
  }

  .news-featured-card__title a {
    font-size: 1.08rem;
    line-height: 1.4;
  }

  @media (min-width: 641px) {
    .news-carousel {
      --news-carousel-gap: 28px;
      --news-visible-count: 1;
      --news-card-width: min(280px, calc(100vw - 112px));
      --news-visible-width: var(--news-card-width);
      --news-carousel-gutter: max(20px, calc((100% - var(--news-card-width)) / 2));

      display: block;
      overflow: hidden;
    }

    .news-featured-grid {
      padding-inline: 0;
      scroll-padding-inline: 0;
      overflow-x: hidden;
    }

    .news-featured-grid .gallery-card {
      flex: 0 0 var(--news-card-width);
      width: var(--news-card-width);
      min-width: 0;
    }

    .news-featured-grid .gallery-card > a {
      height: auto;
      min-height: 0;
      max-height: none;
    }
  }

  .news-carousel-controls {
    grid-column: 1;
    grid-row: 2;
    align-self: center;
    justify-self: center;
    width: 128px;
    margin-top: 4px;
  }

  .news-carousel-control {
    display: inline-grid;
    width: 32px;
    height: 32px;
    place-items: center;
    padding: 0;
    color: var(--ink);
    font: inherit;
    font-size: 1.5rem;
    font-weight: 900;
    line-height: 1;
    background: transparent;
    border: 0;
    border-radius: 50%;
    box-shadow: none;
    opacity: 0.96;
    pointer-events: auto;
    cursor: pointer;
  }

  .news-carousel-control i {
    display: block;
    font-size: 1.75rem;
    line-height: 1;
  }

  .news-carousel-pagination {
    grid-column: 1;
    grid-row: 2;
    align-self: center;
    justify-self: center;
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 4px 0 0;
  }

  .news-carousel-pagination__dot {
    display: block;
    width: 8px;
    height: 8px;
    background: rgba(77, 53, 31, 0.32);
    border-radius: 50%;
  }

  .news-carousel-pagination__dot.is-active {
    background: var(--ink);
    box-shadow: 0 0 0 2px rgba(77, 53, 31, 0.18);
  }

  .news-list-heading {
    order: 3;
    margin-top: 30px;
    font-size: 1.22rem;
  }

  .news-list {
    order: 4;
    gap: 22px;
    margin-top: 20px;
  }

  .news-item {
    grid-template-columns: 118px auto;
    justify-items: start;
    align-items: center;
    justify-content: start;
    gap: 7px;
    text-align: left;
  }

  .news-item p {
    grid-column: 1 / -1;
  }

  .news-category {
    padding-block: 2px;
  }

  .profile-detail-card {
    width: min(100%, calc(100vw - 78px));
  }

  body.is-profile-detail-open .profile-list {
    z-index: 1100;
  }

  .profile-detail.is-visible {
    position: fixed;
    inset: 0;
    z-index: 1100;
    width: auto;
    height: 100vh;
    height: 100dvh;
    padding: 16px;
    overflow: hidden;
    background: rgba(77, 53, 31, 0.46);
    overscroll-behavior: contain;
    touch-action: none;
    opacity: 1;
    transition: opacity 0.3s ease;
    transform: none;
  }

  .profile-detail.is-visible.is-closing {
    opacity: 0;
    pointer-events: none;
  }

  .profile-detail-card {
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
    overflow-y: auto;
    overscroll-behavior: contain;
    touch-action: pan-y;
  }

  @media (prefers-reduced-motion: reduce) {
    .profile-detail.is-visible,
    .profile-detail-card {
      transition: none;
    }
  }

  .guide-card {
    width: auto;
    margin-left: 10px;
    margin-right: 28px;
    justify-items: center;
  }

  .privacy-section {
    padding: 16px 16px 72px;
  }

  .privacy-section__title {
    margin-bottom: 36px;
    letter-spacing: 0.04em;
  }

  .privacy-box {
    max-width: none;
    padding: 28px 22px 40px;
  }

  .privacy-lead,
  .privacy-item p,
  .privacy-item li {
    font-size: 0.92rem;
  }

  .privacy-date {
    text-align: left;
  }

  .post-template-section {
    padding: 16px 16px 72px;
  }

  .post-list-box,
  .single-post-box {
    padding: 24px 20px 32px;
  }

  .post-card {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .post-card__thumb {
    border-radius: 14px;
  }

  .single-post-visual {
    margin-bottom: 26px;
    border-radius: 14px;
  }

  .single-post-content,
  .post-card__excerpt,
  .post-empty,
  .post-search-query,
  .post-archive-description {
    font-size: 0.92rem;
  }

  .single-post-nav {
    grid-template-columns: 1fr;
  }

  .single-post-nav__item--next {
    text-align: left;
  }

  .single-post-nav__item a,
  .single-post-nav__index {
    width: 100%;
  }

  .post-search-box,
  .post-archive-description {
    padding: 22px 20px;
  }

  .post-search-form {
    grid-template-columns: 1fr;
  }

  .post-search-form__button {
    width: 100%;
  }

  .floating-cta {
    right: 8px;
    bottom: 8px;
  }

  .floating-support {
    top: auto;
    right: 4px;
    bottom: 142px;
    left: auto;
    gap: 0;
  }

  .admin-bar .floating-support {
    bottom: 142px;
  }

  .floating-support__sns {
    width: 42px;
    gap: 3px;
    padding: 6px 5px 4px;
    margin-right: 0;
  }

  .floating-support__sns-link {
    width: 28px;
    height: 27px;
  }

  .floating-support__sns-link img {
    width: 20px;
    height: 20px;
  }

  .floating-contact {
    width: 42px;
    padding: 0;
    font-size: 0.75rem;
  }

  .floating-contact__icon {
    font-size: 0.95rem;
  }

  .floating-cta__guide {
    width: clamp(90px, 26vw, 116px);
  }

  .floating-cta__home {
    width: clamp(100px, 28vw, 124px);
  }

  .footer-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 12px;
  }

  .footer-nav-area {
    justify-items: center;
    width: min(280px, 100%);
    padding-right: 0;
  }

  .footer-social {
    justify-content: flex-start;
    justify-self: stretch;
  }

  .footer-nav {
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 4px;
    margin-top: 16px;
    font-size: 13px;
    text-align: left;
    width: 100%;
  }

  .footer-nav a {
    padding-block: 1px;
    line-height: 1.35;
  }

  .footer-nav a + a::before {
    content: none;
  }

  .footer-inner > p {
    grid-column: 1;
    justify-self: stretch;
    width: calc(100% + 16px);
    box-sizing: border-box;
    margin-left: -16px;
    padding-right: clamp(86px, 24vw, 112px);
    line-height: 1.5;
    white-space: nowrap;
  }

  .footer-inner > p small {
    font-size: 9px;
  }

  .site-breadcrumb {
    padding: 8px 16px;
  }

  .site-breadcrumb__list {
    justify-content: flex-start;
    font-size: 0.75rem;
  }
}

/* Circle text: final desktop sizing */
@media (min-width: 861px) {
  .profile-circle-wrap {
    top: 40px;
    width: 100vw;
    height: 320px;
  }

  .profile-circle-wrap > .arc-text-svg--profile {
    width: 100vw;
  }

}

/* Global final overrides */
.site-header {
  box-shadow: none;
}

.eyebrow,
.privacy-section__label {
  display: none;
}

/* Guide Page / Figma Redesign */
.site-breadcrumb--yellow,
.page-template-page-guide .site-breadcrumb,
.page-template-page-guide-php .site-breadcrumb,
.site-breadcrumb--guide {
  display: block;
  background-color: #ffff68;
  border-bottom: 0;
}

.site-breadcrumb--yellow .site-breadcrumb__current,
.page-template-page-guide .site-breadcrumb__current,
.page-template-page-guide-php .site-breadcrumb__current,
.site-breadcrumb--guide .site-breadcrumb__current {
  background: transparent;
  border-radius: 0;
}

.site-breadcrumb--yellow .site-breadcrumb__list,
.site-breadcrumb--guide .site-breadcrumb__list {
  width: auto;
  margin-inline: 0;
  justify-content: flex-start;
}

.subpage-arch-wallpaper {
  position: relative;
  height: 300px;
  overflow: hidden;
  background: #ffff68;
}

.subpage-arch-wallpaper::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: 14px;
  left: 50%;
  width: 142vw;
  height: 560px;
  background: #fffaf0;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  transform: translateX(-50%);
}

.subpage-arch-wallpaper ~ main:not(.guide-page) > .privacy-section,
.subpage-arch-wallpaper ~ main:not(.guide-page) > .post-template-section {
  position: relative;
  z-index: 2;
  margin-top: clamp(-80px, -5vw, -56px);
}

.guide-page {
  --guide-redesign-cream: #fffaf0;
  --guide-redesign-yellow: #ffff68;
  --guide-redesign-gold: #ffd51e;
  --guide-redesign-ink: #3f2c1e;
  --guide-redesign-muted: #6e5840;
  --guide-redesign-line: rgba(83, 62, 38, 0.34);
  --guide-redesign-orange: #ffdf41;
  position: relative;
  overflow: hidden;
  color: var(--guide-redesign-ink);
  background: var(--guide-redesign-cream);
}

.guide-page img {
  max-width: 100%;
}

.guide-hero {
  position: relative;
  display: grid;
  min-height: 620px;
  place-items: start center;
  padding: 32px 20px 24px;
  overflow: hidden;
  text-align: center;
  background: var(--guide-redesign-cream);
}

.guide-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  width: min(100%, 760px);
}

.guide-hero__visual-wrap {
  position: relative;
  width: min(360px, 74vw);
  margin-top: 126px;
}

@media (min-width: 761px) and (max-width: 860px) {
  .guide-hero__visual-wrap {
    margin-top: clamp(120px, calc(104.63px + 2.02vw), 122px);
  }
}

@media (min-width: 861px) {
  .guide-page {
    overflow: clip;
    overflow-clip-margin: 300px;
  }

  .guide-hero {
    min-height: 320px;
    margin-bottom: -243px;
    overflow: visible;
  }

  .guide-hero__inner {
    transform: translateY(-300px);
  }

  .guide-hero__visual-wrap {
    margin-top: clamp(134px, calc(124.25px + 1.13vw), 146px);
  }
}

.guide-hero-visual {
  width: min(230px, 54vw);
  margin-inline: auto;
}

.guide-page .guide-hero-visual {
  margin-top: -24px;
  margin-bottom: 24px;
}

.guide-hero-logo {
  width: min(270px, 62vw);
  margin-top: 8px;
}

.guide-hero__intro {
  max-width: 540px;
  margin: 20px auto 0;
  color: var(--guide-redesign-muted);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.85;
  text-align: left;
}

.guide-hero-decoration {
  position: absolute;
  height: auto;
  pointer-events: none;
}

.guide-hero-decoration-butterfly {
  top: 30px;
  left: -12px;
  width: 48px;
}

.guide-hero-decoration-flower {
  right: -44px;
  bottom: 40px;
  width: 54px;
}

.guide-document {
  position: relative;
  padding: 0 20px 88px;
  overflow: visible;
  background: var(--guide-redesign-cream);
}

.guide-document-inner {
  position: relative;
  z-index: 2;
  width: min(100%, 640px);
  margin: 0 auto;
  padding: 0 24px 70px;
  background: #fff;
  box-shadow: 0 0 28px rgba(83, 63, 39, 0.08);
}

.guide-document-header {
  margin: 0 -24px 32px;
}

.guide-document-header h1 {
  margin: 0;
  padding: 11px 30px;
  color: var(--guide-redesign-ink);
  background: var(--guide-redesign-yellow);
  font-size: clamp(1.05rem, 2.6vw, 1.35rem);
  font-weight: 900;
  line-height: 1.35;
}

.guide-slide-list {
  display: grid;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 761px) {
  .guide-document-inner {
    width: min(100%, var(--wide-content-width));
  }

  .guide-slide-list {
    grid-template-columns: minmax(0, 1fr);
  }
}

.guide-slide-card {
  position: relative;
  display: block;
  padding: 28px 30px 30px;
  background: rgba(255, 255, 255, 0.98);
  border: 0;
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(70, 47, 23, 0.16);
}

.guide-slide-card:not(:last-child)::after {
  display: none;
}

.guide-slide-card article {
  display: grid;
  gap: 18px;
}

.guide-slide-card h2,
.guide-slide-card h3,
.guide-slide-card p,
.guide-slide-card li {
  margin: 0;
}

.guide-page .guide-slide-number {
  display: inline-grid;
  width: 48px;
  height: 48px;
  place-items: center;
  text-align: center;
  justify-self: center;
  min-width: 0;
  padding: 0;
  color: var(--guide-redesign-ink);
  background: #fff7cf;
  border: 2px solid rgba(253, 210, 43, 0.72);
  border-radius: 50%;
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.68);
}

.guide-page .guide-slide-number::before {
  content: none;
}

.guide-slide-card h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 10px;
  color: var(--guide-redesign-ink);
  border-bottom: 1px dashed var(--guide-redesign-line);
  font-size: clamp(1.18rem, 2.2vw, 1.34rem);
  font-weight: 900;
  line-height: 1.45;
}

.guide-slide-card h2::before {
  content: "";
  width: 31px;
  height: 31px;
  flex: 0 0 auto;
  background: url("images/guide/guide-flower-icon-figma.webp") center / contain no-repeat;
  filter: drop-shadow(0 2px 0 rgba(253, 210, 43, 0.28));
}

.guide-slide-card h3 {
  color: var(--guide-redesign-ink);
  font-size: 1.03rem;
  font-weight: 900;
  line-height: 1.45;
}

.guide-slide-card p,
.guide-slide-card li {
  color: var(--guide-redesign-ink);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.75;
}

.guide-note {
  justify-self: start;
  padding: 4px 10px 4px 12px;
  background: #fffdf5;
  border-left: 4px solid var(--guide-redesign-orange);
  border-radius: 4px;
  color: rgba(63, 44, 30, 0.78);
  font-size: 0.86rem;
  font-weight: 900;
  line-height: 1.45;
}

.guide-slide-card--ng h2 {
  color: #f12b3d;
}

.guide-yes-no,
.guide-branch-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.guide-yes-no-option,
.guide-branch-card,
.guide-flow li {
  display: grid;
  align-content: start;
  min-height: 78px;
  padding: 16px 18px;
  background: #fffdf5;
  border: 1px solid rgba(253, 210, 43, 0.58);
  border-radius: 12px;
}

.guide-yes-no-option,
.guide-branch-card {
  align-content: stretch;
  gap: 10px;
}

.guide-yes-no-option {
  grid-template-rows: 1fr auto;
}

.guide-branch-card {
  grid-template-rows: auto 1fr auto;
}

.guide-yes-no-option p,
.guide-branch-card p,
.guide-flow li p {
  font-size: 0.86rem;
  line-height: 1.6;
}

.guide-choice-label {
  display: block;
  color: var(--guide-redesign-ink);
  font-size: 1.14rem;
  font-weight: 900;
  line-height: 1.35;
}

.guide-choice-detail {
  display: block;
  margin-top: 4px;
}

.guide-inline-arrow {
  margin-right: 0.45em;
  color: var(--guide-redesign-ink);
  font-size: 0.95em;
  line-height: 1;
}

.guide-next-link {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  justify-self: center;
  gap: 5px;
  margin-top: 8px;
  padding: 4px 15px;
  color: var(--guide-redesign-ink);
  background: #fff;
  border: 2px solid var(--guide-redesign-orange);
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none;
}

.guide-next-link::after {
  content: "\f13a";
  color: var(--guide-redesign-ink);
  font-family: "Font Awesome 6 Free";
  font-size: 0.95em;
  font-weight: 900;
  line-height: 1;
}

.guide-next-link:hover,
.guide-next-link:focus-visible {
  color: var(--link-hover-color);
  background: var(--link-hover-background);
  border-color: var(--link-hover-border-color);
}

.guide-card-next {
  margin-top: 10px;
}

.guide-dot-list,
.guide-bar-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.guide-dot-list li,
.guide-bar-list li {
  position: relative;
  padding-left: 13px;
  border-left: 4px solid #6f4828;
}

.guide-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.guide-flow li {
  min-height: 118px;
}

.guide-page .guide-slide-card--flow .guide-flow li {
  grid-template-rows: minmax(3.1em, auto) 1fr;
  box-shadow: none;
}

.guide-page .guide-slide-card--flow .guide-flow h3 {
  min-height: 3.1em;
}

.guide-page .guide-slide-card--flow .guide-flow p {
  min-height: 5.6em;
}

.guide-hashtags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.guide-hashtags span {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 3px 16px;
  color: var(--guide-redesign-ink);
  background: #fff7cf;
  border: 0;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 800;
}

.guide-material-pdf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  gap: 7px;
  min-height: 44px;
  margin: 8px 0 10px;
  padding: 0 18px;
  color: #fff;
  background: #f12b3d;
  border: 2px solid #f12b3d;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 900;
  text-decoration: none;
}

.guide-guideline-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px;
  margin: 2px 0 0;
  padding: 14px 16px;
  background: #fffdf5;
  border: 1px dashed rgba(116, 80, 34, 0.28);
  border-radius: 8px;
  list-style: none;
}

.guide-guideline-summary li {
  position: relative;
  padding-left: 1.25em;
  color: var(--guide-redesign-ink);
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.65;
}

.guide-guideline-summary li::before {
  content: "";
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 0.5em;
  height: 0.5em;
  background: var(--guide-redesign-orange);
  border-radius: 50%;
  transform: translateY(-50%);
}

.guide-guideline-return-note {
  margin: -2px 0 0;
  color: rgba(63, 44, 30, 0.78);
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.6;
}

.guide-material-pdf:hover,
.guide-material-pdf:focus-visible {
  color: #f12b3d;
  background: #fff;
  text-decoration: none;
}

.guide-download-link:hover,
.guide-download-link:focus-visible {
  color: var(--link-hover-color);
  text-decoration: underline;
  text-decoration-color: var(--link-hover-decoration-color);
  text-underline-offset: 3px;
}

.guide-material-pdf-icon {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 18px;
  flex: 0 0 auto;
  border: 1.5px solid currentColor;
  border-radius: 3px;
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
}

.guide-download-note {
  justify-self: center;
  min-width: min(100%, 390px);
  padding: 7px 14px;
  color: var(--guide-redesign-ink);
  background: #d8d8d8;
  border: 0;
  border-radius: 8px;
  text-align: center;
}

.guide-download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 148px), 1fr));
  gap: 18px;
  margin-top: 6px;
}

.guide-download-item {
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 10px;
  padding: 0;
  background: transparent;
  border: 0;
  text-align: center;
}

.guide-download-thumb {
  display: grid;
  width: min(100%, 136px);
  aspect-ratio: 1;
  place-items: center;
  background: #fff;
  border: 1px solid rgba(63, 44, 30, 0.38);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

a.guide-download-thumb {
  border: 2px solid #ffdf41;
  border-radius: 8px;
  text-decoration: none;
}

.guide-download-thumb--lightbox {
  padding: 0;
  border: 2px solid #ffdf41;
  border-radius: 8px;
  font: inherit;
  cursor: zoom-in;
}

a.guide-download-thumb:hover,
a.guide-download-thumb:focus-visible,
.guide-download-thumb--lightbox:hover,
.guide-download-thumb--lightbox:focus-visible {
  border-color: var(--link-hover-border-color);
  box-shadow: 0 8px 18px rgba(80, 48, 31, 0.12);
  transform: translateY(-1px);
}

.guide-download-thumb img {
  width: 88%;
  height: 88%;
  object-fit: contain;
}

.guide-download-thumb--blank {
  background-color: var(--cream);
  background-image: url("images/common/pattern-background.webp");
  background-size: 170px auto;
  background-position: center;
  border-style: dashed;
}

.guide-download-item figcaption {
  display: grid;
  justify-items: center;
  gap: 7px;
  width: 100%;
}

.guide-download-item h3,
.guide-download-item p {
  font-size: 0.84rem;
  line-height: 1.55;
}

.guide-download-item .guide-download-file-info {
  display: grid;
  gap: 3px;
  width: 100%;
  min-width: 0;
  margin: 0;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 400;
  line-height: 1.55;
  text-align: left;
}

.guide-download-file-info > div {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  min-width: 0;
}

.guide-download-file-info dt,
.guide-download-file-info dd {
  min-width: 0;
  margin: 0;
}

.guide-download-file-info dd {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.guide-download-gallery .guide-download-item:not(.guide-download-item-placeholder) {
  grid-template-rows: auto 1fr;
  height: 100%;
}

.guide-download-gallery .guide-download-item:not(.guide-download-item-placeholder) figcaption {
  grid-template-rows: minmax(3.1em, auto) auto minmax(3.1em, auto) 34px;
  align-content: start;
  height: 100%;
}

.guide-download-gallery .guide-download-item:not(.guide-download-item-placeholder) h3,
.guide-download-gallery .guide-download-item:not(.guide-download-item-placeholder) figcaption > p {
  min-height: 3.1em;
}

.guide-download-gallery .guide-download-item:not(.guide-download-item-placeholder) h3 {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-top: 8px;
  padding-bottom: 10px;
  box-sizing: border-box;
}

.guide-download-gallery .guide-download-item:not(.guide-download-item-placeholder) .guide-download-file-info {
  grid-template-rows: minmax(6.2em, auto) minmax(3.1em, auto) minmax(1.55em, auto) minmax(1.55em, auto);
}

.guide-download-gallery .guide-download-item:not(.guide-download-item-placeholder) .guide-download-file-info > div {
  align-content: start;
}

.guide-download-gallery .guide-download-item:not(.guide-download-item-placeholder) .guide-download-link--direct {
  align-self: end;
  height: 34px;
  margin-top: 16px;
  margin-bottom: 8px;
  box-sizing: border-box;
}

@supports (grid-template-rows: subgrid) {
  .guide-download-gallery {
    row-gap: 7px;
  }

  .guide-download-gallery .guide-download-item:not(.guide-download-item-placeholder) {
    grid-row: span 8;
    grid-template-rows: subgrid;
    gap: 0;
    margin-bottom: 11px;
  }

  .guide-download-gallery .guide-download-item:not(.guide-download-item-placeholder) figcaption {
    grid-row: span 7;
    grid-template-rows: subgrid;
    gap: 0;
  }

  .guide-download-gallery .guide-download-item:not(.guide-download-item-placeholder) h3,
  .guide-download-gallery .guide-download-item:not(.guide-download-item-placeholder) figcaption > p {
    min-height: 0;
  }

  .guide-download-gallery .guide-download-item:not(.guide-download-item-placeholder) .guide-download-file-info {
    grid-row: span 4;
    grid-template-rows: subgrid;
    gap: 0;
  }

  .guide-download-gallery .guide-download-item-placeholder {
    grid-row: span 8;
    grid-template-rows: subgrid;
    gap: 0;
    margin-bottom: 11px;
  }

  .guide-download-gallery .guide-download-item-placeholder > .guide-download-thumb {
    grid-row: 1;
  }

  .guide-download-gallery .guide-download-item-placeholder > figcaption {
    grid-row: 3;
  }
}

.guide-download-item p {
  font-size: clamp(0.72rem, 3.1vw, 0.84rem);
  max-width: 100%;
}

.guide-download-link {
  color: var(--link-color);
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.3;
  text-decoration: underline;
  text-decoration-color: var(--link-decoration-color);
  text-underline-offset: 2px;
}

.guide-download-gallery .guide-download-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  width: auto;
  min-height: 34px;
  padding: 5px 16px;
  color: var(--guide-redesign-ink);
  background: #fff;
  border: 2px solid #ffdf41;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 900;
  line-height: 1.3;
  text-decoration: none;
}

.guide-download-gallery .guide-download-link:hover,
.guide-download-gallery .guide-download-link:focus-visible {
  color: var(--link-hover-color);
  background: var(--link-hover-background);
  border-color: var(--link-hover-border-color);
  text-decoration: none;
}

.guide-download-gallery .guide-download-link--direct {
  min-width: 138px;
  color: #fff;
  background: var(--leaf-dark);
  border-color: var(--leaf-dark);
  text-decoration: none;
}

.guide-download-gallery .guide-download-link--direct:hover,
.guide-download-gallery .guide-download-link--direct:focus-visible {
  color: #fff;
  background: var(--leaf);
  border-color: var(--leaf-dark);
}

body.is-guide-download-lightbox-open {
  overflow: hidden;
}

.guide-download-lightbox[hidden] {
  display: none;
}

.guide-download-lightbox {
  position: fixed;
  z-index: 10000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 44px);
  background: rgba(28, 21, 16, 0.78);
}

.guide-download-lightbox__dialog {
  position: relative;
  display: grid;
  max-width: min(920px, 100%);
  max-height: 100%;
  place-items: center;
}

.guide-download-lightbox__image {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(100vh - clamp(36px, 8vw, 88px));
  object-fit: contain;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
}

.guide-download-lightbox__close {
  position: absolute;
  z-index: 1;
  top: 10px;
  right: 10px;
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  color: #fff;
  background: var(--leaf-dark);
  border: 2px solid #fff;
  border-radius: 50%;
  font: inherit;
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.guide-download-lightbox__close:hover,
.guide-download-lightbox__close:focus-visible {
  background: var(--leaf);
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.guide-material-download .guide-download-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  width: auto;
  min-height: 34px;
  padding: 5px 16px;
  color: var(--guide-redesign-ink);
  background: #fff;
  border: 2px solid #ffdf41;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 900;
  line-height: 1.3;
  text-decoration: none;
}

.guide-material-download .guide-download-link:hover,
.guide-material-download .guide-download-link:focus-visible {
  color: var(--link-hover-color);
  background: var(--link-hover-background);
  border-color: var(--link-hover-border-color);
  text-decoration: none;
}

.download-material-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

.download-material-preview {
  display: grid;
  gap: 10px;
  place-items: center;
  align-content: center;
  min-height: 0;
  padding: clamp(18px, 3vw, 32px);
  background: #fffdf7;
  border: 1px solid var(--border-soft);
}

.download-material-preview__link {
  display: grid;
  width: min(100%, 420px);
  aspect-ratio: 1;
  place-items: center;
  padding: clamp(18px, 4vw, 36px);
  background:
    linear-gradient(45deg, rgba(80, 48, 31, 0.08) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(80, 48, 31, 0.08) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(80, 48, 31, 0.08) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(80, 48, 31, 0.08) 75%),
    #fff;
  background-position: 0 0, 0 12px, 12px -12px, -12px 0;
  background-size: 24px 24px;
  border: 2px solid #ffdf41;
  border-radius: 12px;
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.download-material-preview__link:hover,
.download-material-preview__link:focus-visible {
  border-color: var(--link-hover-border-color);
  box-shadow: 0 8px 18px rgba(80, 48, 31, 0.12);
  transform: translateY(-1px);
}

.download-material-preview img {
  display: block;
  width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.download-material-preview__meta,
.download-material-preview__hint {
  margin: 0;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.5;
  text-align: center;
}

.download-material-preview__hint {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.download-material-content {
  display: grid;
  gap: 18px;
  align-content: center;
}

.download-material-action {
  display: grid;
  gap: 10px;
  justify-items: start;
  padding: 18px;
  background: #fff8df;
  border: 1px solid rgba(80, 48, 31, 0.18);
}

.download-material-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  color: #fff;
  background: var(--leaf);
  border: 2px solid var(--leaf);
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
}

.download-material-button:hover,
.download-material-button:focus-visible {
  color: var(--link-hover-color);
  background: var(--link-hover-background);
  border-color: var(--link-hover-border-color);
}

.download-material-action p,
.download-material-help {
  margin: 0;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.7;
}

.download-material-filename {
  margin-top: -6px;
}

.download-material-action span {
  overflow-wrap: break-word;
  font-size: 0.82rem;
  font-weight: 700;
}

.guide-document-decorations {
  position: absolute;
  z-index: 3;
  inset: 0;
  width: min(100%, 640px);
  margin: 0 auto;
  pointer-events: none;
}

.guide-document-decoration {
  position: absolute;
  height: auto;
  pointer-events: none;
}

.guide-document-decoration-basket {
  top: 330px;
  right: -78px;
  width: 172px;
}

.guide-document-decoration-sign {
  top: 910px;
  left: -16px;
  width: 130px;
}

.guide-document-decoration-peek {
  right: -34px;
  bottom: 180px;
  width: 80px;
}

.guide-social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 4px 0 2px;
}

.guide-social-links a {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
}

.guide-social-links img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (min-width: 761px) and (max-width: 1439px) {
  .guide-document-decorations {
    display: none;
  }
}

@media (min-width: 1440px) {
  .guide-document-decorations {
    width: min(100%, var(--wide-content-width));
  }

  .guide-document-decorations::after {
    position: absolute;
    z-index: 4;
    top: 72%;
    right: -66px;
    width: 80px;
    aspect-ratio: 104 / 142;
    background: url("images/guide/guide-peek.webp") center / contain no-repeat;
    clip-path: polygon(0 54%, 24% 54%, 24% 76%, 0 76%);
    content: "";
  }

  .guide-document-decoration-sign {
    left: max(-168px, calc((100vw - var(--wide-content-width)) / -2 + 8px));
    transform: none;
  }

  .guide-document-decoration-peek {
    right: -66px;
    clip-path: inset(0 0 0 17.5%);
    transform: none;
  }
}

.guide-document-decoration-basket,
#guide-step-4::after {
  display: none;
}

@media (min-width: 1200px) {
  #guide-step-4::after {
    position: absolute;
    z-index: 2;
    top: 8px;
    right: -40px;
    display: block;
    width: clamp(128px, 9vw, 172px);
    aspect-ratio: 330 / 266;
    background: url("images/guide/guide-basket.webp") center / contain no-repeat;
    content: "";
    pointer-events: none;
  }
}

@media (min-width: 1400px) {
  #guide-step-4::after {
    right: -89px;
  }
}

@media (min-width: 1600px) {
  #guide-step-4::after {
    right: -110px;
  }
}

@media (min-width: 1440px) and (max-width: 1519px) {
  .guide-document-decorations::after,
  .guide-document-decoration-peek {
    top: calc(72% - 110px);
  }
}

@media (min-width: 1440px) and (max-width: 1499px) {
  .guide-document-decoration-sign {
    display: none;
  }
}

.page-template-page-guide .site-footer,
.page-template-page-guide-php .site-footer,
.guide-page + .site-footer {
  position: relative;
  z-index: 3;
  margin-top: 0;
  background: #fff;
}

.privacy-section__title,
.single-post-title,
.category #archive-post-title {
  font-size: var(--heading-h1-size);
  line-height: var(--heading-h1-line-height);
}

.guide-document-header h1 {
  font-size: var(--heading-guide-h1-size);
  line-height: var(--heading-h1-line-height);
}

.category .post-archive-label {
  display: none;
}

.section-heading h2,
#story-title,
.privacy-item h2,
.single-post-content h2 {
  font-size: var(--heading-h2-size);
  line-height: var(--heading-h2-line-height);
}

.single-post-content h3 {
  font-size: var(--heading-h3-size);
  line-height: var(--heading-h3-line-height);
}

.single-post-content h4 {
  font-size: var(--heading-h4-size);
  line-height: var(--heading-h4-line-height);
}

.section-heading h2,
.profile-card h3,
.society-contact h3,
.privacy-section__title,
.privacy-item h2,
.single-post-title,
.single-post-content h2,
.single-post-content h3,
.guide-document-header h1,
.guide-slide-card h2,
.guide-slide-card h3,
.guide-download-item h3 {
  font-weight: 700;
}

@media (max-width: 1040px) {
  .guide-document-decoration-basket {
    right: -52px;
    width: 128px;
  }

  .guide-document-decoration-sign {
    left: -22px;
    width: 104px;
  }
}

@media (max-width: 760px) {
  .subpage-arch-wallpaper {
    height: 250px;
  }

  .subpage-arch-wallpaper::after {
    top: 12px;
    width: 150vw;
    height: 430px;
  }

  .guide-hero {
    min-height: 540px;
    padding-top: 26px;
  }

  .guide-hero__visual-wrap {
    margin-top: 126px;
  }

  .guide-hero__intro {
    max-width: 25em;
    font-size: 0.86rem;
  }

  .guide-document {
    padding-inline: 14px;
  }

  .guide-document-inner {
    width: min(100%, 540px);
    margin-top: 0;
    padding-inline: 16px;
  }

  .guide-document-header {
    margin-right: -16px;
    margin-bottom: 22px;
    margin-left: -16px;
  }

  .guide-slide-card {
    padding: 21px 18px 22px;
  }

  .guide-page .guide-slide-number {
    width: 44px;
    height: 44px;
    font-size: 18px;
  }

  .guide-yes-no,
  .guide-branch-grid,
  .guide-flow,
  .guide-dot-list,
  .guide-bar-list,
  .guide-guideline-summary,
  .guide-download-grid {
    grid-template-columns: 1fr;
  }

  .guide-download-gallery {
    row-gap: 18px;
  }

  .guide-download-gallery .guide-download-item:not(.guide-download-item-placeholder) {
    grid-row: auto;
    grid-template-rows: auto 1fr;
    gap: 10px;
    margin-bottom: 0;
  }

  .guide-download-gallery .guide-download-item:not(.guide-download-item-placeholder) figcaption {
    grid-row: auto;
    grid-template-rows: auto;
    gap: 7px;
  }

  .guide-download-gallery .guide-download-item:not(.guide-download-item-placeholder) h3,
  .guide-download-gallery .guide-download-item:not(.guide-download-item-placeholder) figcaption > p {
    min-height: 0;
  }

  .guide-download-gallery .guide-download-item:not(.guide-download-item-placeholder) h3 {
    padding-bottom: 3px;
  }

  .guide-download-gallery .guide-download-item:not(.guide-download-item-placeholder) .guide-download-file-info {
    grid-row: auto;
    grid-template-rows: auto;
    gap: 3px;
  }

  .guide-download-gallery .guide-download-item-placeholder {
    grid-row: auto;
    grid-template-rows: auto 1fr;
    gap: 10px;
    margin-bottom: 0;
  }

  .guide-download-gallery .guide-download-item-placeholder > .guide-download-thumb,
  .guide-download-gallery .guide-download-item-placeholder > figcaption {
    grid-row: auto;
  }

  .guide-flow li {
    min-height: auto;
  }

  .guide-page .guide-slide-card--flow .guide-flow {
    gap: 8px;
  }

  .guide-page .guide-slide-card--flow .guide-flow li {
    grid-template-rows: none;
    padding: 13px 16px;
  }

  .guide-page .guide-slide-card--flow .guide-flow h3,
  .guide-page .guide-slide-card--flow .guide-flow p {
    min-height: 0;
  }

  .guide-document-decorations {
    display: none;
  }
}

@media (max-width: 480px) {
  .subpage-arch-wallpaper {
    height: 226px;
  }

  .subpage-arch-wallpaper::after {
    top: 10px;
    width: 158vw;
    height: 380px;
  }

  .guide-hero-decoration-butterfly {
    left: 6px;
  }

  .guide-hero-decoration-flower {
    right: 8px;
  }

  .guide-document-inner {
    padding-bottom: 46px;
  }

  .guide-document-header h1 {
    padding-inline: 18px;
  }

  .guide-slide-card h2 {
    align-items: flex-start;
  }

  .guide-download-note {
    justify-self: stretch;
    min-width: 0;
  }
}

/* Typography weight tuning */
body {
  font-weight: 400;
}

h1,
h2,
h3,
h4,
h5,
h6,
.section-heading h2,
.profile-card h3,
.society-contact h3,
.privacy-section__title,
.privacy-item h2,
.single-post-title,
.single-post-content h2,
.single-post-content h3,
.guide-document-header h1,
.guide-slide-card h2,
.guide-slide-card h3,
.guide-download-item h3 {
  font-weight: 500;
}

p,
li,
.hero-copy p:not(.eyebrow),
.section-heading p:not(.eyebrow),
.profile-detail-card__body,
.profile-detail-card__body li,
.profile-card p,
.story-text p,
.society-card p,
.society-contact p,
.privacy-item p,
.privacy-item li,
.post-card__excerpt,
.post-empty,
.post-search-query,
.post-archive-description,
.single-post-content,
.guide-hero__intro,
.guide-slide-card p,
.guide-slide-card li,
.guide-guideline-summary li,
.guide-guideline-return-note,
.download-material-action p,
.download-material-help {
  font-weight: 400;
}

.brand,
.footer-brand,
.nav,
.footer-nav,
.button,
.post-card__title,
.single-post-nav a,
.single-post-tags a,
.post-pagination .page-numbers,
.post-action-button,
.guide-page .guide-slide-number,
.guide-choice-label,
.guide-next-link,
.guide-material-pdf,
.guide-download-link,
.download-material-button,
.floating-menu-toggle,
.floating-menu-panel__title,
.floating-menu-panel__links a {
  font-weight: 600;
}

.eyebrow,
.news-category,
.post-meta,
.privacy-date,
.guide-note,
.guide-guideline-summary li,
.guide-guideline-return-note,
.guide-material-pdf-icon,
.download-material-action span,
.site-breadcrumb__list,
.site-breadcrumb__current,
.footer-privacy,
.site-footer small {
  font-weight: 500;
}

.news .section-heading h2 {
  font-family: "Zen Maru Gothic", "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif !important;
  font-weight: 400 !important;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
}

.news-featured-card__meta,
.news-featured-card__date,
.news-list-heading,
.news-item {
  font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif !important;
  font-weight: 400 !important;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
}

.news-featured-card__title a,
.news-item p a {
  font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif !important;
  font-weight: 500 !important;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
}

.button,
.post-action-button,
.post-pagination .page-numbers,
.single-post-nav a,
.single-post-tags a,
.download-material-button,
.guide-next-link,
.guide-download-link,
.guide-material-pdf,
.guide-choice-label,
.hero-nav-list a,
.hero-nav-list a span,
.news-category,
.news-more a,
.news-more a span,
.floating-menu-toggle,
.floating-menu-toggle__label,
.floating-menu-panel__title,
.floating-menu-panel__links a {
  font-family: "Zen Maru Gothic", "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif !important;
}

.news-category,
.news-more a,
.news-more a span {
  font-weight: 500 !important;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
}

.hero-nav-list a span,
.floating-contact,
.floating-menu-toggle__label {
  font-weight: 400 !important;
}

.floating-menu-panel__title {
  font-weight: 500 !important;
}

.news-more a i {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
}

@media (max-width: 860px) {
  .floating-menu {
    top: 12px;
    right: 4px;
    border-radius: 20px 0 0 20px;
  }

  .floating-menu-toggle__label {
    font-size: 0.62rem;
    font-weight: 700 !important;
    line-height: 1;
  }

  .floating-menu.is-open {
    right: 4px;
  }

  .floating-support {
    right: 4px;
    bottom: 108px;
  }

  .admin-bar .floating-support {
    bottom: 108px;
  }

  .site-breadcrumb--yellow,
  .page-template-page-guide .site-breadcrumb,
  .page-template-page-guide-php .site-breadcrumb,
  .site-breadcrumb--guide {
    position: relative;
    z-index: 2;
    padding-bottom: 8px;
  }

  .subpage-arch-wallpaper {
    position: relative;
    z-index: 1;
    height: 250px;
    margin-top: 0;
    overflow: hidden;
    background: #ffff68;
  }

  .subpage-arch-wallpaper::after {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    display: block !important;
    width: 190vw;
    height: 430px;
    background: #fffaf0;
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    transform: translateX(-50%);
  }

  .site-breadcrumb--guide + .subpage-arch-wallpaper {
    margin-bottom: -250px;
  }

  .guide-page {
    position: relative;
    z-index: 2;
    background: transparent;
  }

  .guide-hero {
    overflow: hidden;
    background: transparent !important;
  }

}

@media (max-width: 480px) {
  .subpage-arch-wallpaper {
    height: 226px;
    margin-top: 0;
    background: #ffff68;
  }

  .subpage-arch-wallpaper::after {
    top: 0;
    width: 190vw;
    height: 390px;
  }

  .site-breadcrumb--guide + .subpage-arch-wallpaper {
    margin-bottom: -226px;
  }

  .page-template-page-guide .guide-hero,
  .page-template-page-guide-php .guide-hero {
    background: transparent !important;
  }
}

@media (max-width: 760px) {
  .download-material-page .download-material-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .download-material-page .download-material-preview,
  .download-material-page .download-material-content,
  .download-material-page .download-material-action {
    min-width: 0;
  }

  .download-material-page .download-material-action {
    justify-items: stretch;
  }

  .download-material-page .download-material-button {
    width: 100%;
  }

  .download-material-page .post-action-row {
    align-items: stretch;
    flex-direction: column;
  }

  .download-material-page .post-action-button {
    width: 100%;
  }
}
