/* Admin UI is scoped to .admin-body so the public site is unaffected. */
.admin-body { margin: 0; min-height: 100vh; background: #f4f5f7; color: #252a32; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.admin-body *, .admin-body *::before, .admin-body *::after { box-sizing: border-box; }
.admin-header { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 28px; min-height: 64px; padding: 0 28px; border-bottom: 1px solid #dfe2e7; background: #fff; }
.admin-brand { color: #20242b; font-size: 18px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.admin-nav { display: flex; align-items: center; gap: 18px; flex: 1; }
.admin-nav a, .admin-account a { color: #4d5664; font-size: 14px; text-decoration: none; }
.admin-nav a:hover, .admin-account a:hover { color: #111827; text-decoration: underline; }
.admin-account { display: flex; align-items: center; gap: 14px; color: #626b78; font-size: 14px; }
.admin-shell { width: min(1440px, 100%); margin: 0 auto; padding: 30px; }
.admin-main { display: grid; gap: 24px; }
.admin-page-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.admin-page-heading h1 { margin: 2px 0 8px; font-size: 28px; line-height: 1.3; }
.admin-page-heading p { margin: 0; color: #687180; }
.admin-eyebrow { color: #8a93a1 !important; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.admin-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.admin-stat-card, .admin-panel { border: 1px solid #dfe2e7; border-radius: 10px; background: #fff; }
.admin-stat-card { display: grid; gap: 10px; padding: 22px; }
.admin-stat-card span { color: #687180; font-size: 13px; }
.admin-stat-card strong { font-size: 30px; }
.admin-panel { padding: 24px; }
.admin-panel h2 { margin: 0 0 16px; font-size: 18px; }
.admin-empty { margin: 0; padding: 28px; border-radius: 8px; background: #f7f8fa; color: #737c89; text-align: center; }
.admin-flash { margin: 0 0 18px; padding: 12px 16px; border-radius: 8px; font-size: 14px; }
.admin-flash-notice { background: #eaf7ef; color: #25613a; }
.admin-flash-alert { background: #fff0f0; color: #9f3030; }
.admin-stat-card small { color: #7a8390; font-size: 12px; }
.admin-menu-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.admin-menu-card { padding: 18px; border: 1px solid #dfe2e7; border-radius: 8px; color: #303844; font-weight: 700; text-decoration: none; }
.admin-menu-card:hover { background: #f7f8fa; }
.admin-recent-list { list-style: none; margin: 0; padding: 0; }
.admin-recent-list li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid #e7e9ed; }
.admin-recent-list time { color: #7a8390; font-size: 12px; white-space: nowrap; }
.admin-button { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 8px 16px; border: 1px solid #cfd4dc; border-radius: 7px; background: #fff; color: #343b46; font: inherit; font-size: 14px; text-decoration: none; cursor: pointer; }
.admin-button:hover { background: #f5f6f8; }
.admin-button-primary { border-color: #303844; background: #303844; color: #fff; }
.admin-button-primary:hover { background: #1f252d; }
.admin-heading-actions, .admin-form-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.admin-tabs { display: flex; gap: 4px; overflow-x: auto; border-bottom: 1px solid #dfe2e7; }
.admin-tab { padding: 10px 16px; border-bottom: 3px solid transparent; color: #687180; font-size: 14px; text-decoration: none; white-space: nowrap; }
.admin-tab.is-active { border-bottom-color: #303844; color: #20242b; font-weight: 700; }
.admin-table-wrap { overflow-x: auto; padding: 0; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.admin-table th, .admin-table td { padding: 14px 16px; border-bottom: 1px solid #e7e9ed; text-align: left; vertical-align: middle; }
.admin-table th { background: #f8f9fa; color: #687180; font-size: 12px; white-space: nowrap; }
.admin-table a { color: #2f5f91; }
.admin-table-actions { display: flex; gap: 12px; white-space: nowrap; }
.admin-danger-link { color: #b43c3c !important; }
.admin-status { display: inline-block; padding: 4px 9px; border-radius: 999px; font-size: 12px; white-space: nowrap; }
.admin-status-published { background: #e7f5ec; color: #27643d; }
.admin-status-scheduled { background: #eaf1fb; color: #315f91; }
.admin-status-draft { background: #eceef1; color: #626b78; }
.admin-form { display: grid; gap: 22px; }
.admin-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.admin-field { display: grid; align-content: start; gap: 7px; }
.admin-field-wide { grid-column: 1 / -1; }
.admin-field label { color: #3c4450; font-size: 13px; font-weight: 700; }
.admin-field input[type=text], .admin-field input[type=url], .admin-field input[type=date], .admin-field input[type=datetime-local], .admin-field input[type=password], .admin-field select, .admin-field textarea { width: 100%; min-height: 42px; padding: 9px 11px; border: 1px solid #cfd4dc; border-radius: 7px; background: #fff; color: #252a32; font: inherit; }
.admin-field textarea { resize: vertical; line-height: 1.6; }
.admin-field small { color: #7a8390; font-size: 12px; }
.admin-errors { padding: 14px 18px; border: 1px solid #efc2c2; border-radius: 8px; background: #fff3f3; color: #8e3030; }
.admin-errors ul { margin: 8px 0 0; padding-left: 20px; }
.admin-image-preview { margin-top: 8px; }
.admin-image-preview img, .admin-detail-image { display: block; width: min(420px, 100%); max-height: 320px; border-radius: 8px; object-fit: contain; background: #f4f5f7; }
.admin-check { display: flex !important; align-items: center; gap: 8px; margin-top: 8px; font-weight: 400 !important; }
.admin-detail { display: grid; gap: 20px; }
.admin-detail dl { display: grid; grid-template-columns: minmax(120px, 180px) 1fr; margin: 0; }
.admin-detail dt, .admin-detail dd { margin: 0; padding: 13px 0; border-bottom: 1px solid #e7e9ed; }
.admin-detail dt { color: #687180; font-size: 13px; font-weight: 700; }
.admin-detail dd { line-height: 1.7; overflow-wrap: anywhere; }

@media (max-width: 767px) { .admin-header { flex-wrap: wrap; gap: 10px 18px; padding: 12px 16px; } .admin-nav { order: 3; flex-basis: 100%; overflow-x: auto; } .admin-account { margin-left: auto; } .admin-shell { padding: 20px 14px; } .admin-page-heading h1 { font-size: 23px; } .admin-form-grid { grid-template-columns: 1fr; } .admin-detail dl { grid-template-columns: 1fr; } .admin-detail dt { padding-bottom: 0; border-bottom: 0; } }

.admin-image-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.admin-image-grid img { width: 100%; height: 150px; border-radius: 8px; object-fit: contain; background: #f4f5f7; }
.admin-image-item { display: grid; gap: 7px; font-weight: 400 !important; }

.admin-color-inputs { display: flex; align-items: center; gap: 10px; }
.admin-color-inputs input[type=color] { flex: 0 0 54px; width: 54px; height: 42px; padding: 3px; border: 1px solid #cfd4dc; border-radius: 7px; background: #fff; cursor: pointer; }
.admin-color-inputs input[type=text] { flex: 1; }

.admin-button-danger { border-color: #c84b4b; background: #fff; color: #a92f2f; }
.admin-button-danger:hover { background: #fff0f0; }

.admin-check input[type="checkbox"] {
  appearance: none;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  margin: 0;
  border: 2px solid #111827;
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
}
.admin-check input[type="checkbox"]:checked {
  border-color: #c62828;
  background-color: #c62828;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10l4 4 8-9' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 18px;
}
.admin-check input[type="checkbox"]:focus-visible {
  outline: 3px solid rgba(198, 40, 40, 0.3);
  outline-offset: 2px;
}
.admin-check:hover input[type="checkbox"] {
  border-color: #c62828;
}
.cast-main-text-name {
  color: var(--cast-name-color) !important;
}

.cast-main-text-namefull {
  color: var(--cast-namefull-color) !important;
}

.cast-main-text-status {
  background-color: var(--cast-status-bg-color) !important;
}

.cast-main-text-sub {
  color: var(--cast-sub-color) !important;
}

/* ========================================
   肉球・音符エフェクト
======================================== */
.paw-container,
.note-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

/* 肉球 */
.paw {
  position: absolute;
  opacity: 0.6;
  animation: pawFloat ease-in-out infinite;
  /* width/height はstyle属性で個別指定 */
}

.p1 {
  animation-duration: 4.2s;
  animation-delay: 0.0s;
}

.p2 {
  animation-duration: 5.8s;
  animation-delay: 2.1s;
}

.p3 {
  animation-duration: 3.9s;
  animation-delay: 1.0s;
}

.p4 {
  animation-duration: 6.2s;
  animation-delay: 3.3s;
}

.p5 {
  animation-duration: 5.1s;
  animation-delay: 0.5s;
}

.p6 {
  animation-duration: 4.7s;
  animation-delay: 2.8s;
}

@keyframes pawFloat {
  0% {
    transform: translateY(0px) rotate(var(--r));
  }

  50% {
    transform: translateY(-14px) rotate(var(--r));
  }

  100% {
    transform: translateY(0px) rotate(var(--r));
  }
}

/* 音符 */
.float-note {
  position: absolute;
  color: white;
  opacity: 0.9;
  animation: noteFloatMain ease-in-out infinite;
  user-select: none;
}

.fn1 {
  animation-duration: 4.0s;
  animation-delay: 0.0s;
}

.fn2 {
  animation-duration: 5.2s;
  animation-delay: 1.3s;
}

.fn3 {
  animation-duration: 3.7s;
  animation-delay: 2.2s;
}

.fn4 {
  animation-duration: 4.8s;
  animation-delay: 0.6s;
}

.fn5 {
  animation-duration: 5.5s;
  animation-delay: 1.8s;
}

.fn6 {
  animation-duration: 4.3s;
  animation-delay: 3.0s;
}

@keyframes noteFloatMain {
  0% {
    transform: translateY(0px) rotate(var(--r));
  }

  50% {
    transform: translateY(-12px) rotate(var(--r));
  }

  100% {
    transform: translateY(0px) rotate(var(--r));
  }
}

/* カクカク揺れ */
@keyframes pawShake {
  0% {
    transform: rotate(var(--r));
  }

  20% {
    transform: rotate(calc(var(--r) + 8deg));
  }

  40% {
    transform: rotate(calc(var(--r) - 8deg));
  }

  60% {
    transform: rotate(calc(var(--r) + 8deg));
  }

  80% {
    transform: rotate(calc(var(--r) - 8deg));
  }

  100% {
    transform: rotate(var(--r));
  }
}

@keyframes noteShake {
  0% {
    transform: rotate(var(--r));
  }

  20% {
    transform: rotate(calc(var(--r) + 10deg));
  }

  40% {
    transform: rotate(calc(var(--r) - 10deg));
  }

  60% {
    transform: rotate(calc(var(--r) + 10deg));
  }

  80% {
    transform: rotate(calc(var(--r) - 10deg));
  }

  100% {
    transform: rotate(var(--r));
  }
}

/* カクカク用クラス */
.paw.shake {
  animation-name: pawShake;
  animation-timing-function: steps(1);
}

.float-note.shake {
  animation-name: noteShake;
  animation-timing-function: steps(1);
}

/* ローディング画面 */
#loading-screen {
  position: fixed;
  inset: 0;
  /* top/right/bottom/left を全部0に */
  background: #fff0f6;
  /* サイトのテーマに合わせたピンク */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  /* 全要素の最前面 */
  transition: opacity 0.6s ease;
}

#loading-screen.fade-out {
  opacity: 0;
  pointer-events: none;
  /* フェード中にクリックを受け付けない */
}

.loading-logo {
  width: calc(18vw + 18vh);
  animation: loading-pulse 1.2s ease-in-out infinite;
}

.loading-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.loading-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ffd8ec;
  animation: loading-bounce 1.2s ease-in-out infinite;
}

.loading-dots span:nth-child(2) {
  animation-delay: 0.2s;
}

.loading-dots span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes loading-pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(0.92);
    opacity: 0.7;
  }
}

@keyframes loading-bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

.cast-dot-nav {
  display: flex;
  justify-content: center;
  gap: clamp(6px, 1.5vmin, 12px);
  margin: clamp(16px, 3vmin, 24px);
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.cast-dot {
  width: clamp(10px, 2vmin, 16px);
  height: clamp(10px, 2vmin, 16px);
  border-radius: 50%;
  border: none;
  cursor: pointer;
  opacity: 0.4;
  transition: opacity 0.3s ease, transform 0.3s ease;
  padding: 0;
  border: #ffffff solid 2px;
}

.cast-dot.active {
  opacity: 1;
  transform: scale(1.3);
}
/*! destyle.css v4.0.1 | MIT License | https://github.com/nicolas-cusan/destyle.css */

/* Reset box-model and set borders */
/* ============================================ */

*,
::before,
::after {
  box-sizing: border-box;
  border-style: solid;
  border-width: 0;
  min-width: 0;
}

/* Document */
/* ============================================ */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 * 3. Remove gray overlay on links for iOS.
 */

html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
  -webkit-tap-highlight-color: transparent; /* 3*/
}

/* Sections */
/* ============================================ */

/**
 * Remove the margin in all browsers.
 */

body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */

main {
  display: block;
}

/* Vertical rhythm */
/* ============================================ */

p,
table,
blockquote,
address,
pre,
iframe,
form,
figure,
dl {
  margin: 0;
}

/* Headings */
/* ============================================ */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
  margin: 0;
}

/* Lists (enumeration) */
/* ============================================ */

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Lists (definition) */
/* ============================================ */

dt {
  font-weight: bold;
}

dd {
  margin-left: 0;
}

/* Grouping content */
/* ============================================ */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
  border-top-width: 1px;
  margin: 0;
  clear: both;
  color: inherit;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
  font-family: monospace, monospace; /* 1 */
  font-size: inherit; /* 2 */
}

address {
  font-style: inherit;
}

/* Text-level semantics */
/* ============================================ */

/**
 * Remove the gray background on active links in IE 10.
 */

a {
  background-color: transparent;
  text-decoration: none;
  color: inherit;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: inherit; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Replaced content */
/* ============================================ */

/**
 * Prevent vertical alignment issues.
 */

svg,
img,
embed,
object,
iframe {
  vertical-align: bottom;
}

/* Forms */
/* ============================================ */

/**
 * Reset form fields to make them styleable.
 * 1. Make form elements stylable across systems iOS especially.
 * 2. Inherit text-transform from parent.
 */

button,
input,
optgroup,
select,
textarea {
  -webkit-appearance: none; /* 1 */
  appearance: none;
  vertical-align: middle;
  color: inherit;
  font: inherit;
  background: transparent;
  padding: 0;
  margin: 0;
  border-radius: 0;
  text-align: inherit;
  text-transform: inherit; /* 2 */
}

/**
 * Correct cursors for clickable elements.
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
  cursor: pointer;
}

button:disabled,
[type="button"]:disabled,
[type="reset"]:disabled,
[type="submit"]:disabled {
  cursor: default;
}

/**
 * Improve outlines for Firefox and unify style with input elements & buttons.
 */

:-moz-focusring {
  outline: auto;
}

select:disabled {
  opacity: inherit;
}

/**
 * Remove padding
 */

option {
  padding: 0;
}

/**
 * Reset to invisible
 */

fieldset {
  margin: 0;
  padding: 0;
  min-width: 0;
}

legend {
  padding: 0;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */

textarea {
  overflow: auto;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * Correct the outline style in Safari.
 */

[type="search"] {
  outline-offset: -2px; /* 1 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Fix font inheritance.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/**
 * Fix appearance for Firefox
 */

/**
 * Clickable labels
 */

label[for] {
  cursor: pointer;
}

/* Interactive */
/* ============================================ */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */

details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
  display: list-item;
}

/*
 * Remove outline for editable content.
 */

[contenteditable]:focus {
  outline: auto;
}

/* Tables */
/* ============================================ */

/**
1. Correct table border color inheritance in all Chrome and Safari.
*/

table {
  border-color: inherit; /* 1 */
  border-collapse: collapse;
}

caption {
  text-align: left;
}

td,
th {
  vertical-align: top;
  padding: 0;
}

th {
  text-align: left;
  font-weight: bold;
}

.info-sort-select:focus {
  outline: none;
}
/* Official links below the Movie section. */
.official-links {
  padding: clamp(40px, 6vw, 96px) clamp(18px, 6vw, 100px);
  background-color: white;
  text-align: center;
}

.official-links-heading { width: fit-content; min-width: min(340px, 80vw); margin: 0 auto clamp(30px, 5vw, 64px); padding: 10px 24px; }

.official-links-heading h2,
.official-links-heading p { margin: 0; color: #6d3e35; font-family: fot-seurat-pron, sans-serif; }
.official-links-heading h2 { font-size: clamp(22px, 2.2vw, 40px); }
.official-links-heading p { margin-top: -2px; font-size: clamp(11px, 1vw, 18px); }

.official-links-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 3vw, 42px); width: min(1180px, 100%); margin: 0 auto; }

.official-link-card { display: flex; flex-direction: column; align-items: center; min-width: 0; padding: 0; color: #63372f; text-decoration: none; }
.official-link-card:hover,
.official-link-card:focus-visible { transform: translateY(-3px); }
.official-link-card:focus-visible { outline: 3px solid #d48da1; outline-offset: 6px; border-radius: 20px; }

.official-link-visual { display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 1.75 / 1; overflow: hidden; border-radius: clamp(18px, 2vw, 28px); }
.official-link-x .official-link-visual { background: #050505; }
.official-link-youtube .official-link-visual { background: #fff5f3; }
.official-link-vrc .official-link-visual { background: #f0f1f3; }
.official-link-visual img { width: 100%; height: 100%; object-fit: cover; }

.official-link-card span { margin-top: clamp(10px, 1.5vw, 18px); font-family: fot-seurat-pron, sans-serif; font-size: clamp(17px, 2vw, 28px); font-weight: 700; }
.official-link-card small { margin-top: 5px; font-family: fot-seurat-pron, sans-serif; font-size: clamp(10px, 1.05vw, 15px); line-height: 1.5; }

@media screen and (max-width: 767px) {
  .official-links { padding: 32px 8px 44px; }
  .official-links-heading { min-width: min(260px, 78vw); margin-bottom: 22px; padding: 6px 18px; }
  .official-links-list { gap: 8px; }
  .official-link-visual { border-radius: 12px; }
  .official-link-visual img { width: 100%; height: 100%; }
  .official-link-card span { margin-top: 7px; font-size: clamp(13px, 4vw, 17px); }
  .official-link-card small { margin-top: 3px; font-size: clamp(8px, 2.5vw, 10px); }
}

@media screen and (min-width: 2560px) {
  .official-links-list { width: min(2200px, 82vw); }
  .official-link-card span { font-size: clamp(32px, 1.2vw, 48px); }
  .official-link-card small { font-size: clamp(20px, 0.7vw, 28px); }
}


html {

  font-family: fot-seurat-pron, sans-serif;
  scroll-behavior: smooth;
  background-color: #ffecf4;
}

.cast-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.cast-main-img,
.cast-main-text-top {
  transition: opacity 0.3s ease;
}

.cast-fade-out {
  opacity: 0;
}

.top-bar {
  background-color: #ffd8ec;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: calc(2.4vw + 2.4vh);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: none;
}

.top-bar.scrolled {
  background-color: transparent;
  pointer-events: none;
}

.top-bar.scrolled.menu-open {
  background-color: #ffd8ec;
  pointer-events: auto;
  transition: none;
}

.top-bar-logo {
  height: calc(2.4vw + 2.4vh);
  width: calc(4.8vw + 4.8vh);
  margin: calc(0.8vw + 0.8vh);
  z-index: 4;
}

.top-bar a {
  color: #ffffff;
  -webkit-text-stroke: 0.3rem rgb(248, 208, 231);
  paint-order: stroke;
  font-size: calc(0.8vw + 0.8vh);
  margin: calc(0.4vw + 0.4vh);
  font-family: fot-seurat-pron, sans-serif;
}

.top-bar a:hover {
  -webkit-text-stroke: 0.3rem rgb(238, 168, 208);
  font-size: calc(0.9vw + 0.9vh);
  font-weight: bold;
}

.main-contents {
  background: linear-gradient(rgba(255, 255, 255, 0.63), rgba(255, 255, 255, 0.63)), url(/images/in.webp);
  background-size: cover;
  background-position: 0px -170px;
  position: relative;
  display: flex;
  justify-content: space-between;
  overflow: hidden;
  height: calc(32vw + 32vh);
  z-index: 0;
}

.main-contents-image-umi::before {
  content: '';
  position: absolute;
  width: calc(31vw + 31vh);
  height: calc(31vw + 31vh);
  border-radius: 50%;
  border: 2px solid #ffffff;
  outline: 2px solid #ffffff;
  outline-offset: 6px;
  border-radius: 50%;
  background: rgb(255, 255, 255);
  margin-left: clamp(22px, 8vmin, 80px);
  top: 50%;
  left: 23%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}

.main-contents-image-umi,
.cast-main-header-top {
  display: flex;
}

.main-contents-image-maid {
  height: clamp(600px, 62.3vw, 1120px);
  width: clamp(580px, 60.7vw, 1040px);
  /* 36.8*2 / 1280 * 100 */
  margin-left: clamp(6px, 3.4vw, 82px);
  user-select: none;
  animation: maidFloat ease-in-out infinite 4s;
}

@keyframes maidFloat {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-8px);
  }

  100% {
    transform: translateY(0px);
  }
}

.main-contents-image-wrapper {
  position: relative;
  display: inline-block;
}

.sub-img {
  position: absolute;
  width: calc(5vw + 5vh);
  height: calc(5vw + 5vh);
  object-fit: contain;
  animation: subFloat ease-in-out infinite;
}

.sub-left {
  top: 57%;
  right: 1%;
  transform: translateY(-50%);
  animation-duration: 3.8s;
  animation-delay: 0.0s;
}

.sub-top {
  top: 10%;
  right: 15%;
  transform: translateX(-50%);
  animation-duration: 4.5s;
  animation-delay: 0.8s;
}

.sub-right {
  top: 32%;
  left: 3%;
  transform: translateY(-50%);
  animation-duration: 4.1s;
  animation-delay: 1.5s;
}

@keyframes subFloat {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0px);
  }
}

.main-contents-image-logos {
  display: flex;
  flex-direction: column;
}



.main-contents-logo {
  margin: calc(2.4vw + 2.4vh);
  margin-top: calc(3.2vw + 3.2vh);
  margin-right: calc(10.4vw + 10.4vh);
  margin-left: 0%;
  height: calc(18vw + 18vh);
  width: calc(16vw + 16vh);
  user-select: none;
}

.main-contents-border {
  height: calc(6.4vw + 6.4vh);
  width: 100%;
  background-color: #e0edff;
  border-top: solid #ffffff calc(0.4vw + 0.4vh);
  border-bottom: solid #ffffff calc(0.4vw + 0.4vh);
  position: absolute;
  top: 25%;
  z-index: -2;
  isolation: isolate;
}

.sub-bar-link {
  position: absolute;
  bottom: 0;
  width: 100%;

}

.sub-bar-link-wave {
  border-top: solid 1px #ffffff;
}

.sub-bar-link-main {
  height: calc(6.4vw + 6.4vh);
  background-color: #ffd8ec;
  background-image: linear-gradient(to bottom, transparent 44%, #ffffff6b 44%, #ffffff6b 56%, transparent 56%);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  position: relative;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  user-select: none;
  cursor: grab;
}

.sub-bar-link-main::-webkit-scrollbar {
  display: none;
}

.sub-bar-link-main:active {
  cursor: grabbing;
}

.sub-bar-link-main p {
  color: #ffffff;
  font-size: calc(1.6vw + 1.6vh);
}

.sub-bar-link-main-ribbon {
  display: none;
}

/* imgではなくaにつける */
.sub-bar-link-main a:hover img {
  transform: translateY(calc(0.1vw + 0.1vh));
}

.sub-bar-link-main a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: calc(5.6vw + 5.6vh);
  width: calc(10.4vw + 10.4vh);
  flex: 0 0 20%;
  z-index: 1;
}

.sub-bar-link-main img {
  display: flex;
  align-items: center;
  justify-content: center;
  height: calc(5.6vw + 5.6vh);
  width: calc(10.4vw + 10.4vh);
  border: #ffffff solid calc(0.14vw + 0.14vh);
  border-radius: calc(0.8vw + 0.8vh);
  max-width: 100%;
  height: auto;
}



.story {
  position: relative;
  height: calc(34.4vw + 34.4vh);
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.4) 20px, transparent 20px),
    linear-gradient(0deg, #ffffff, #9ac6ff);
  background-size: 80px 80px, 100% 100%;
  background-position: 0 0, 0 0;
  animation: dotScroll 4s linear infinite;
  overflow: hidden;
}

@keyframes dotScroll {
  0% {
    background-position: 0 0, 0 0;
  }

  100% {
    background-position: -60px -60px, 0 0;
  }
}

.story-illustration {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  height: calc(34.4vw + 34.4vh);
  width: calc(64vw + 64vh);
  animation: sway 7s ease-in-out infinite;
  z-index: 2;
}

@keyframes sway {
  0% {
    transform: translateX(-50%) translateY(0px) rotate(-3deg);
  }

  50% {
    transform: translateX(-50%) translateY(-15px) rotate(5deg);
  }

  100% {
    transform: translateX(-50%) translateY(0px) rotate(-3deg);
  }
}

@keyframes sway {
  0% {
    transform: translateX(-50%) rotate(-1deg);
  }

  50% {
    transform: translateX(-50%) rotate(1deg);
  }

  100% {
    transform: translateX(-50%) rotate(-1deg);
  }
}

.story-header-cat {
  color: #5786c2;
  font-family: fot-seurat-pron, sans-serif;
  font-weight: bold;
}

.story-header-cat-e {
  font-size: 6px;
  color: #6191cf71;
  font-family: fot-seurat-pron, sans-serif;
  font-weight: bold;
}

.story-main {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.story-main p {
  color: #6f93c2;
  font-size: calc(0.8vw + 0.8vh);
  margin: calc(0.8vw + 0.8vh);
  -webkit-text-stroke: calc(0.2vw + 0.2vh) #ffffff;
  paint-order: stroke;
  font-family: vdl-admin, sans-serif;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* 表示状態 */
.story-main p.visible {
  opacity: 1;
  transform: translateY(0);
}

.cast-main-top {
  position: absolute;
  bottom: 0;
  width: 100%;
  pointer-events: none;
}



.cast-main-bg-svg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  pointer-events: none;
  z-index: 0;
}

.cast-main {
  height: calc(38vw + 38vh);
  background-color: #f8e8dc;
  position: relative;
  overflow: hidden;
}

.cast-main>*:not(.cast-main-bg-svg):not(.music-note) {
  position: relative;
  z-index: 1;
}

.music-note {
  position: absolute;
  pointer-events: none;
  animation: noteFloatUp linear infinite;
  opacity: 0;
  user-select: none;
  z-index: 0;
}

@keyframes noteFloatUp {
  0% {
    transform: translate(0, 0) rotate(0deg);
    opacity: 0;
  }

  10% {
    opacity: 0.85;
  }

  80% {
    opacity: 0.6;
  }

  100% {
    transform: translate(120px, -600px) rotate(25deg);
    opacity: 0;
  }
}

.cast-main-text {
  font-family: fot-seurat-pron, sans-serif;
  font-weight: bold;
  color: #ac8981;
}



.wl {
  transform-origin: 322px 58px;
  animation: whisker 2.2s ease-in-out infinite;
}

.wr {
  transform-origin: 358px 58px;
  animation: whisker 2.2s ease-in-out infinite;
}

.cast-main-card,
.cast-main-header {
  display: flex;
  align-items: center;
  justify-content: center;
}

.cast-main-header button {
  margin-right: calc(0.8vw + 0.8vh);
  font-family: fot-seurat-pron, sans-serif;
  font-size: calc(0.8vw + 0.8vh);
}

.cast-main-text-top {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: calc(0.8vw + 0.8vh);
}

.cast-main-text-e {
  font-family: fot-seurat-pron, sans-serif;
  font-weight: bold;
  color: #ac89817c;
  font-size: 6px;
}

.cast-main-text-back {
  background-color: #ffffff85;
  padding: calc(1.6vw + 1.6vh);
  border-radius: calc(0.8vw + 0.8vh);
  font-family: fot-seurat-pron, sans-serif;
  width: calc(20vw + 20vh);
  z-index: 3;
}

.cast-main-img {
  height: calc(28vw + 28vh);
  transition: opacity 0.3s ease;
  margin-right: calc(2.4vw + 2.4vh);
  z-index: 3;
}

.cast-main-text-name {
  -webkit-text-stroke: calc(0.4vw + 0.4vh) #ffffff;
  paint-order: stroke;
  font-size: calc(2vw + 2vh);
}

.cast-main-text-namefull {
  -webkit-text-stroke: calc(0.2vw + 0.2vh) #ffffff;
  paint-order: stroke;
  font-size: calc(0.4vw + 0.4vh);
  margin-bottom: calc(0.8vw + 0.8vh);
}

.cast-main-text-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.cast-main-text-status {
  color: #ffffff;
  margin: calc(0.6vw + 0.6vh);
  margin-left: calc(0vw + 0vh);
  padding: calc(0.3vw + 0.3vh);
}

.cast-main-text-sub {
  flex: 1;
  word-break: break-word;
}

.x-link {
  border-radius: 50%;
  margin-left: calc(0.8vw + 0.8vh);
  margin-top: calc(0.6vw + 0.6vh);
  height: calc(1.6vw + 1.6vh);
  width: calc(1.6vw + 1.6vh);
  padding: calc(0.3vw + 0.3vh);
  background-color: #885c53;
}

.left-and-right {
  padding: 8px 16px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  transition: background 0.2s;
  font-size: calc(2.4vw + 2.4vh);
  color: #885c53;
  z-index: 3;
}

.left-and-rights {
  font-size: calc(2.4vw + 2.4vh);
  color: #885c53;
  z-index: 3;
}

.cast-main-header-switch {
  color: #885c53;
  border-bottom: solid 1px #885c53;
  z-index: 3;
}

.cast-main-header-switch:hover {
  color: #442925;
  border-bottom: solid 1px #442925;
}

.cast-main-header-switch-button {
  background-color: #ffffff;
  box-shadow: 6px 6px 10px 0px #d1cbcb;
  border-radius: 50%;
  padding: calc(0.8vw + 0.8vh);
  margin-bottom: calc(21.6vw + 21.6vh);
  cursor: pointer;
  transition: transform 0.5s ease;
  animation: floating 2.5s ease-in-out infinite;
}

@keyframes floating {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0px);
  }
}

.cast-main-header-switch-button:hover {
  transform: translateY(calc(-0.1vw + -0.1vh));
}


.cast-main-header-switch-button.active {
  transform: rotateY(360deg);
}



.cast-main-img.fade {
  opacity: 0;
}

/* top.css に追加 */
.cast-main-header-switch-button.spinning svg {
  animation: spinY 0.5s ease forwards;
}

@keyframes spinY {
  0% {
    transform: rotateY(0deg);
  }

  100% {
    transform: rotateY(360deg);
  }
}

.cast-bottom {
  background-color: #ffffff;
}



.overview-header {
  color: #ac8170;
  font-family: fot-seurat-pron, sans-serif;
  font-weight: bold;
  margin-top: 2rem;
  font-size: 3rem;
  -webkit-text-stroke: 0.3rem rgb(255, 255, 255);
  paint-order: stroke;
}

.overview-second-header {
  font-size: 1rem !important;
  font-family: fot-seurat-pron, sans-serif;
  display: flex;
  flex-direction: column;
  align-self: stretch;
  width: 100%;
}

.overview-second-header p {
  margin-bottom: 1%;
}

.overview-small-header {
  font-size: 0.8rem;
  color: #ac8170;
  padding-left: 4rem;
  padding-right: 4rem;
}

.overview-main {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background-color: #ffffff7e;
  margin: 1rem;
  padding: 2rem;
  border-radius: 10%;
  position: relative;
  overflow: hidden;
  margin-bottom: 10%;
}

.overview-main p {
  color: #ac8170;
  font-family: fot-seurat-pron, sans-serif;
}

.overview-mini-header {
  font-size: 1.8rem;
  color: #ff83ff !important;
  font-family: fot-seurat-pron, sans-serif;
}

.overview-title {
  margin-top: 1.2rem !important;
  color: #693e2f !important;
  font-size: 1.2rem;
}

.overview-title-mini {
  font-size: 0.7rem !important;
  color: #fa3b3b !important;
}

.overview-collar {
  font-family: fot-seurat-pron, sans-serif;
  color: #fa3b3b !important;
  margin-bottom: 1%;
}

.overview {
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: linear-gradient(0deg, #c5ffdd, #ffffff);
  flex-direction: column;
  padding-top: 1rem;
  position: relative;
  /* 絶対配置する子要素の基準点にする */
  overflow: hidden;
  /* SVGが領域からはみ出す場合に切り取る */
}

.overview-music-bg {
  position: absolute;
  top: 10%;
  width: 100%;
  height: 100%;
  z-index: 0;
  /* 一番奥に沈める */
  pointer-events: none;
  /* クリックやタップの邪魔をしない */
  object-fit: cover;
  /* 領域を覆うように拡大縮小 */
}

.story-header-svg {
  margin-bottom: 1rem;
  overflow: visible;
  flex-shrink: 0;
  pointer-events: none;
}

/* Prevent page header artwork from becoming too small on narrow screens. */


.info-page>.story-header-svg {
  display: block;
  width: max(100%, 900px);
  max-width: none;
  left: 50%;
  translate: -50% 0;
}


.story-header-svg,
.overview-main {
  position: relative;
  z-index: 1;
  /* 背景SVGより手前に来るようにする */
}

.overview-bottom {
  background-color: #c5ffdd;
}



.movie-header {
  color: #ac8170;
  font-family: fot-seurat-pron, sans-serif;
  font-weight: bold;
}

.movie-header-e {
  font-size: 6px;
  color: #ac817098;
  font-family: fot-seurat-pron, sans-serif;
  font-weight: bold;
}



.movie-main p,
.movie-main a {
  display: flex;
  font-family: fot-seurat-pron, sans-serif;
  margin-left: calc(0.8vw + 0.8vh);
  margin-top: calc(0.8vw + 0.8vh);
}

.movie-main a {
  color: #ff9900;
}

.movie-main-header {
  font-size: calc(0.8vw + 0.8vh);
  margin-top: calc(0vw + 0vh);
  color: #795547;
}

.twitter-tweet {
  position: relative;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  margin: calc(0.8vw + 0.8vh);
}



.movie-main-sub {
  font-family: fot-seurat-pron, sans-serif;
  color: #795547a8;
}

.YouTubes-YouTube {
  width: clamp(240px, 30vw, 480px);
  aspect-ratio: 16 / 9;
  height: auto;
  border: none;
  border-radius: 20px;
  overflow: hidden;
  display: block;
}



.movie-main:hover,
.movie-main:focus-visible {
  transform: translateY(-2px);
}

.movie-main:focus-visible {
  outline: 2px solid rgba(255, 147, 201, 0.6);
  outline-offset: 2px;
}

.bottom {
  padding-top: calc(6vw + 6vh);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background-color: white;
}


.bottom-logo {
  width: calc(12vw + 12vh);
  height: calc(6vw + 6vh);
}

.x-link-bottom {
  border-radius: 50%;
  height: calc(2.4vw + 2.4vh);
  width: calc(2.4vw + 2.4vh);
  padding: calc(0.3vw + 0.3vh);
  background-color: #96d5ff;
}


.info-page {
  overflow-x: hidden;
  background-color: #ffecf4;
  background-image: repeating-linear-gradient(45deg, #8a5d5b26, #8a5d5b26 20px, transparent 20px, transparent 40px), repeating-linear-gradient(-45deg, #8a5d5b26, #8a5d5b26 20px, transparent 20px, transparent 40px);
  border: solid #ffecf4 calc(0.6vw + 0.6vh);
}

.info-header-cat {
  color: #b67d7d;
  font-family: fot-seurat-pron, sans-serif;
  font-weight: bold;
  margin-bottom: 2px;
}

.info-header-cat-e {
  font-size: 6px;
  color: #b67d7d86;
  font-family: fot-seurat-pron, sans-serif;
  font-weight: bold;
}


.info-list {
  height: 100%;
  background-color: rgb(255, 232, 241);
  display: flex;
  flex-direction: column;
  color: #795547;
  padding: calc(0.6vw + 0.6vh);
}

.info-entry {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: calc(0.6vw + 0.6vh);
  gap: calc(0.8vw + 0.8vh);
  margin: 0 auto;
  max-width: clamp(600px, 80vw, 1000px);
  box-sizing: border-box;
}

.info-entry-wrapper {
  width: 100%;
  border-bottom: 2px solid #7955474f;
  margin: calc(0.4vw + 0.4vh);
}

.info-image {
  flex-shrink: 0;
  width: calc(12vw + 12vh);
  height: calc(6.4vw + 6.4vh);
  border-radius: calc(0.8vw + 0.8vh);
  border: solid 2px #fff;
}

.info-item {
  font-family: fot-seurat-pron, sans-serif;
  margin-left: calc(0.8vw + 0.8vh);
}


.info-date {
  font-size: calc(0.6vw + 0.6vh);
  color: #795547a6;
}

.info-title {
  font-size: calc(0.8vw + 0.8vh);
}

.info-body {
  margin-top: calc(0.6vw + 0.6vh);
  font-size: calc(0.6vw + 0.6vh);
}

.music-top-text- {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: fot-seurat-pron, sans-serif;
  color: #e2bebc;
  font-size: calc(0.8vw + 0.8vh);
  -webkit-text-stroke: calc(0.2vw + 0.2vh) #ffffff;
  paint-order: stroke;
}

.music-top-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: fot-seurat-pron, sans-serif;
  color: #e2bebc;
  font-size: calc(0.8vw + 0.8vh);
  margin-bottom: calc(0.8vw + 0.8vh);
  -webkit-text-stroke: calc(0.2vw + 0.2vh) #ffffff;
  paint-order: stroke;
}

.music-list,
.collaboration-list {
  background-color: rgb(255, 232, 241);
  padding-top: calc(0.6vw + 0.6vh);
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: fot-seurat-pron, sans-serif;
}

.collaboration-entry {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-bottom: calc(3.2vw + 3.2vh);
}

.slider-btn {
  margin: calc(0.8vw + 0.8vh);
  color: #795547;
  font-family: fot-seurat-pron, sans-serif;
}

.collaboration-image {
  width: calc(20vw + 20vh);
  background-color: #ffffff;
  height: calc(28vw + 28vh);
  border-radius: calc(1.6vw + 1.6vh);
  margin: calc(0.8vw + 0.8vh);
  border: solid 2px #fff;
  object-fit: contain;
}

.collaboration-item {
  width: calc(20vw + 20vh);
  paint-order: stroke;
  background-color: #ffffff88;
  padding: calc(1.6vw + 1.6vh);
  border-radius: calc(1.6vw + 1.6vh);
  height: calc(26.4vw + 26.4vh);
  position: relative;
}

.collaboration-date {
  color: #b18473;
  font-size: calc(0.8vw + 0.8vh);
}

.collaboration-title {
  color: #795547;
  font-size: calc(1.6vw + 1.6vh);
}

.collaboration-body,
.collaboration-link {
  font-size: calc(0.8vw + 0.8vh);
}

.collaboration-body {
  color: #795547bd;
  margin-top: calc(1.6vw + 0.8vh);
  white-space: pre-wrap;
}

.collaboration-link {
  color: #ff009d;
  bottom: calc(1.6vw + 1.6vh);
  position: absolute;
}

.music-link {
  display: flex;
  width: calc(36vw + 36vh);
  paint-order: stroke;
}

.top-bar.scrolled a,
.top-bar.scrolled img,
.top-bar.scrolled button,
.top-bar.scrolled .top-ber-url-list {
  pointer-events: auto;
}

html,
body {
  overflow-x: hidden;
  max-width: 100%;
}



.slider-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.movie {
  background-image: linear-gradient(0deg, #ffffff, #ffefa9);
  height: calc(40vw + 40vh);
  display: flex;
  align-items: center;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.movie-star-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.overview-header,
.overview-small-header,
.movie-main {
  position: relative;
  z-index: 1;
}

.info-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.info-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.info-modal-content {
  background: #fff0f6;
  border-radius: clamp(12px, 3vmin, 24px);
  padding: clamp(16px, 4vmin, 32px);
  width: clamp(300px, 80vw, 680px);
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(8px, 2vmin, 16px);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.info-modal-overlay.open .info-modal-content {
  transform: translateY(0);
}

.info-modal-close {
  position: absolute;
  top: clamp(8px, 2vmin, 16px);
  right: clamp(8px, 2vmin, 16px);
  background: #ffd8ec;
  border: none;
  border-radius: 50%;
  width: clamp(28px, 6vmin, 40px);
  height: clamp(28px, 6vmin, 40px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: clamp(12px, 2.5vmin, 18px);
  color: #885c53;
}

.info-modal-image {
  width: 100%;
  border-radius: clamp(8px, 2vmin, 16px);
  border: solid 2px #fff;
}

.info-modal-body {
  width: 100%;
  font-family: fot-seurat-pron, sans-serif;
}

.info-modal-date {
  font-size: clamp(10px, 2vmin, 13px);
  color: #795547a6;
  display: block;
}

.info-modal-title {
  font-size: clamp(14px, 3vmin, 22px);
  color: #795547;
  font-weight: bold;
  margin: clamp(4px, 1vmin, 8px) 0;
}

.info-modal-detail {
  font-size: clamp(11px, 2.5vmin, 15px);
  color: #795547;
  line-height: 1.8;
  white-space: pre-wrap;
  /* \nで改行できるようにする */
}

.info-modal-trigger {
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.info-modal-trigger:hover {
  opacity: 0.85;
}

.info-modal-tweet {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: clamp(8px, 2vmin, 16px);
  color: #885c53;
  font-family: fot-seurat-pron, sans-serif;
  font-size: clamp(11px, 2.5vmin, 15px);
  text-decoration: none;
}

.info-modal-tweet img {
  width: clamp(16px, 4vmin, 24px);
  height: clamp(16px, 4vmin, 24px);
  background-color: #885c53;
  border-radius: 50%;
  padding: 3px;
}

.info-modal-tweet:hover {
  opacity: 0.8;
}

.penlight-fab {
  position: fixed;
  bottom: clamp(16px, 4vmin, 32px);
  right: clamp(16px, 4vmin, 32px);
  width: clamp(100px, 20vmin, 180px);
  height: clamp(100px, 20vmin, 180px);
  cursor: pointer;
  z-index: 500;
  padding: 0;
  border: none;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: floating 2.5s ease-in-out infinite;
}

.penlight-fab img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.penlight-fab:hover img {
  transform: scale(1.06);
}







.overview-second-header-title {
  margin-top: 2%;
  color: #502d2a !important;
}

/* 4K / large desktop layout */
@media screen and (min-width: 2560px) {
  .main-contents-image-maid {
    width: clamp(1040px, 47vw, 1800px);
    height: clamp(1120px, 49vw, 1880px);
    object-fit: contain;
  }

  .cast-main-card {
    width: min(94vw, 3200px);
    margin-inline: auto;
  }

  .cast-main-img {
    height: clamp(1120px, 43vw, 1680px);
    max-width: 48vw;
    object-fit: contain;
  }

  .cast-main-text-back {
    width: clamp(760px, 28vw, 1120px);
    padding: clamp(48px, 2vw, 76px);
  }

  .cast-main-text-name {
    font-size: clamp(64px, 2.5vw, 96px);
  }

  .cast-main-text-namefull {
    font-size: clamp(26px, 0.95vw, 38px);
    margin-bottom: clamp(24px, 1vw, 40px);
  }

  .cast-main-text-row,
  .cast-main-text-status,
  .cast-main-text-sub {
    font-size: clamp(28px, 0.95vw, 38px);
    line-height: 1.6;
  }

  .cast-main-header button {
    font-size: clamp(30px, 1.05vw, 42px);
  }

  .overview-header {
    margin-top: clamp(64px, 2.5vw, 96px);
    font-size: clamp(84px, 2.8vw, 112px);
  }

  .overview-small-header {
    font-size: clamp(26px, 0.95vw, 38px);
  }

  .overview-main {
    width: min(76vw, 2600px);
    box-sizing: border-box;
    margin: clamp(32px, 1.5vw, 56px) auto 8%;
    padding: clamp(64px, 3vw, 112px);
    border-radius: clamp(80px, 5vw, 160px);
  }

  .overview-main>p,
  .overview-second-header,
  .overview-second-header p,
  .overview-collar {
    font-size: clamp(30px, 1vw, 40px) !important;
    line-height: 1.8;
  }

  .overview-mini-header {
    font-size: clamp(52px, 1.8vw, 72px) !important;
  }

  .overview-title {
    margin-top: clamp(36px, 1.5vw, 56px) !important;
    font-size: clamp(40px, 1.35vw, 54px) !important;
  }

  .overview-title-mini {
    font-size: clamp(20px, 0.7vw, 28px) !important;
  }

  .info-entry {
    max-width: min(76vw, 2600px);
    padding: clamp(24px, 1vw, 40px);
    gap: clamp(32px, 1.4vw, 56px);
  }

  .info-image {
    width: clamp(520px, 18vw, 700px);
    height: clamp(280px, 9.6vw, 380px);
    object-fit: cover;
  }

  .info-date {
    font-size: clamp(20px, 0.7vw, 28px);
  }

  .info-title {
    font-size: clamp(30px, 1.05vw, 42px);
  }

  .info-body {
    margin-top: clamp(20px, 0.8vw, 32px);
    font-size: clamp(26px, 0.95vw, 38px);
    line-height: 1.7;
  }
}


@media screen and (min-width: 2560px) {

  /* 4K news modal opened from a news entry. */
  .info-modal-content {
    width: min(72vw, 1800px);
    max-height: 86vh;
    padding: clamp(56px, 2.5vw, 96px);
    gap: clamp(24px, 1.2vw, 48px);
    border-radius: clamp(28px, 1.5vw, 56px);
    box-sizing: border-box;
  }

  .info-modal-close {
    top: clamp(24px, 1.2vw, 48px);
    right: clamp(24px, 1.2vw, 48px);
    width: clamp(64px, 2.5vw, 96px);
    height: clamp(64px, 2.5vw, 96px);
    font-size: clamp(28px, 1vw, 40px);
  }

  .info-modal-image {
    width: min(100%, 1500px);
    max-height: 48vh;
    object-fit: contain;
    border-radius: clamp(20px, 1vw, 40px);
  }

  .info-modal-date {
    font-size: clamp(24px, 0.8vw, 32px);
  }

  .info-modal-title {
    font-size: clamp(40px, 1.4vw, 56px);
    margin: clamp(16px, 0.7vw, 28px) 0;
  }

  .info-modal-detail {
    font-size: clamp(28px, 0.95vw, 38px);
    line-height: 1.9;
  }

  .info-modal-tweet {
    gap: clamp(12px, 0.5vw, 20px);
    margin-top: clamp(24px, 1vw, 40px);
    font-size: clamp(26px, 0.9vw, 36px);
  }

  .info-modal-tweet img {
    width: clamp(36px, 1.4vw, 54px);
    height: clamp(36px, 1.4vw, 54px);
    padding: clamp(5px, 0.25vw, 10px);
  }

  /* Floating penlight notice button. */
  .penlight-fab {
    bottom: clamp(40px, 2vw, 80px);
    right: clamp(40px, 2vw, 80px);
    width: clamp(260px, 8vw, 360px);
    height: clamp(260px, 8vw, 360px);
  }
}


/* News filters: mobile and 4K sizing. */
.info-sort {
  display: flex;
  justify-content: center;
  padding: clamp(8px, 2vmin, 16px) clamp(16px, 4vmin, 32px);
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(8px, 1.5vmin, 16px);
}

.info-sort-select {
  font-family: fot-seurat-pron, sans-serif;
  font-size: clamp(11px, 2.5vmin, 15px);
  color: #795547;
  background: #ffffff;
  border: 1px solid #7955474f;
  border-radius: clamp(6px, 2vmin, 12px);
  padding: clamp(4px, 1vmin, 8px) clamp(8px, 2vmin, 16px);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23795547' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 28px;
  min-height: 44px;
  box-sizing: border-box;
}

.info-sort-count {
  flex: 0 0 auto;
  margin: 0;
  color: #795547;
  font-family: fot-seurat-pron, sans-serif;
  font-size: clamp(12px, 0.8vw, 30px);
  white-space: nowrap;
}

@media screen and (max-width: 767px) {
  .info-sort {
    width: 100%;
    padding: 8px 10px;
    gap: 6px;
    flex-wrap: wrap;
    box-sizing: border-box;
  }

  .info-sort-select {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    max-width: none;
    min-height: 36px;
    padding: 6px 22px 6px 7px;
    border-radius: 7px;
    font-size: clamp(10px, 3vw, 12px);
    line-height: 1.2;
    background-size: 8px auto;
    background-position: right 7px center;
  }

  .info-sort-count {
    flex: 0 0 100%;
    font-size: 12px;
    text-align: center;
  }
}

@media screen and (min-width: 2560px) {
  .info-sort {
    padding: clamp(28px, 1.2vw, 48px) clamp(48px, 2vw, 80px);
    gap: clamp(24px, 1vw, 40px);
  }

  .info-sort-select {
    min-width: clamp(300px, 10vw, 400px);
    min-height: clamp(72px, 2.5vw, 96px);
    padding: clamp(16px, 0.7vw, 28px) clamp(72px, 2.2vw, 88px) clamp(16px, 0.7vw, 28px) clamp(24px, 1vw, 40px);
    border-width: 2px;
    border-radius: clamp(14px, 0.6vw, 24px);
    font-size: clamp(26px, 0.9vw, 36px);
    background-size: clamp(20px, 0.7vw, 28px) auto;
    background-position: right clamp(24px, 0.8vw, 32px) center;
  }
}

@media screen and (max-width: 767px) {
  .main-contents-image-maid {
    position: relative;
    left: clamp(12px, 4vw, 24px);
  }
}

@media screen and (min-width: 2560px) {
  .movie {
    height: auto;
    min-height: clamp(1800px, 48vw, 2200px);
    padding-bottom: clamp(120px, 5vw, 200px);
    box-sizing: border-box;
  }

  .movie-main {
    width: min(88vw, 3200px);
    margin-top: clamp(40px, 1.5vw, 60px);
    justify-content: center;
    align-items: center;
    gap: clamp(56px, 2.5vw, 100px);
  }

  .YouTubes-YouTube {
    flex: 0 0 auto;
    width: clamp(1000px, 36vw, 1440px);
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: clamp(28px, 1.2vw, 48px);
  }

  .movie-main-text {
    width: clamp(800px, 27vw, 1080px);
  }

  .movie-main-header {
    font-size: clamp(40px, 1.35vw, 54px);
    line-height: 1.5;
  }

  .movie-main-sub,
  .movie-main a {
    font-size: clamp(28px, 0.95vw, 38px);
    line-height: 1.8;
  }

  .movie-main p,
  .movie-main a {
    margin-left: clamp(24px, 0.8vw, 32px);
    margin-top: clamp(24px, 0.8vw, 32px);
  }
}


.story-opening-mobile {
  display: none;
}

@media screen and (max-width: 767px) {
  .story-opening-desktop {
    display: none;
  }

  .story-opening-mobile {
    display: block;
  }
}

.footer {
  width: 100%;
  box-sizing: border-box;
  margin: 20px auto;
  font-family: fot-seurat-pron, sans-serif;
  color: #795547a8;
  text-align: center;
}



.membership-view-tabs {
  display: flex;
  justify-content: center;
  width: 100%;
  position: relative;
  z-index: 2;
  margin: clamp(12px, 3vmin, 40px) auto 0;
}

.membership-view- {
  font-family: fot-seurat-pron, sans-serif;
  font-size: clamp(11px, 2vmin, 24px);
  color: #8a6b67;
}

.membership-view-tab {
  display: flex;
  justify-content: center;
  align-items: center;
  align-self: stretch;
  box-sizing: border-box;
  flex: 1;
  font-family: fot-seurat-pron, sans-serif;
  font-size: clamp(6px, 2vmin, 24px);
  color: #ffffff;
  background: #dabdb9;
  padding: clamp(8px, 2vmin, 20px) clamp(10px, 2.5vmin, 32px);
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.membership-view-tab.active {
  color: #885c53;
  background: #ffecf4;
}

.membership-tab-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.membership-tab-panel[hidden] {
  display: none;
}

.membership-content-panel {
  justify-content: center;
  min-height: clamp(300px, 55vmin, 520px);
}

.membership-content-empty {
  width: min(84vw, 600px);
  box-sizing: border-box;
  padding: clamp(32px, 8vmin, 64px) clamp(20px, 5vmin, 40px);
  text-align: center;
  background: #ffffffaa;
  border: 2px dashed #ffd0e0;
  border-radius: clamp(16px, 4vmin, 32px);
}

.membership-content-empty-title,
.membership-content-empty-text {
  font-family: fot-seurat-pron, sans-serif;
  color: #885c53;
}

.membership-content-empty-title {
  margin-bottom: clamp(12px, 3vmin, 24px);
  font-size: clamp(18px, 4vmin, 28px);
  font-weight: bold;
}

.membership-content-empty-text {
  font-size: clamp(12px, 2.8vmin, 17px);
  line-height: 1.9;
}



.membership-card-main {
  display: flex;
  padding: clamp(12px, 3vmin, 24px) clamp(20px, 5vmin, 40px);
}

.fanclub-crop-btn {
  color: #bb8298;
  font-size: clamp(14px, 3vmin, 20px);
  font-family: fot-seurat-pron, sans-serif;

}

.membership-card-header {
  text-align: center;
  margin-left: 0%;
  background-image: linear-gradient(0deg, #ffffff, #ffa1c0 11%);
  border-radius: 0;
  padding: clamp(8px, 2vmin, 22px);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.membership-card-logo {
  width: clamp(100px, 26vmin, 190px);
  height: clamp(140px, 36vmin, 260px);
  object-fit: cover;
  margin-right: clamp(20px, 5vmin, 40px);
  background-color: #cdf1ff;
  background-image: linear-gradient(0deg, #c6e5ff 34%, #79b9ff);
  border-radius: clamp(8px, 2vmin, 22px);
  border: 1px solid #867978;
  box-shadow: inset 0px 0px 10px 0px rgba(0, 0, 0, 0.3);
}

.membership-card-title {
  font-family: fot-seurat-pron, sans-serif;
  font-size: clamp(15px, 3.5vmin, 23px);
  color: #ffffff;
  text-align: left;
}

.membership-card-title-mini {
  font-family: vdl-admin, sans-serif;
  font-size: clamp(7px, 2vmin, 12px);
  color: #ffffff;
  text-align: left;
}



.membership-card-bottom {
  background-color: rgba(255, 255, 255, 0.527);
  width: 100%;
  height: clamp(6px, 1.4vmin, 16px);
  margin: clamp(8px, 2vmin, 22px) 0;
  margin-top: 0%;
}


.membership-card-body {
  width: clamp(180px, 52vmin, 380px);
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 2vmin, 16px);
}

.membership-card-row {
  display: flex;
  align-items: center;
  gap: clamp(8px, 2vmin, 16px);
  padding: clamp(6px, 1.5vmin, 12px);
  border-bottom: 1px solid #885c5344;
}


.membership-card-label {
  font-family: fot-seurat-pron, sans-serif;
  font-size: clamp(10px, 2vmin, 14px);
  color: #885c53bb;
  width: clamp(60px, 14vmin, 100px);
  flex-shrink: 0;
}


.fanclub-avatar-btn,
.membership-card-value {
  font-family: fot-seurat-pron, sans-serif;
  font-size: clamp(11px, 2.6vmin, 17px);
  color: #885c53;
  font-weight: bold;
}

.fanclub-avatar-btn {
  background-color: #ffaed0;
  color: white;
  padding: clamp(8px, 2vmin, 16px);
  border-radius: clamp(8px, 2vmin, 16px);
}

.membership-card-footer {
  text-align: center;
  margin-top: clamp(16px, 4vmin, 24px);
  font-family: fot-seurat-pron, sans-serif;
  font-size: clamp(11px, 2.5vmin, 16px);
  color: #c060a0;
}

.membership-actions {
  display: flex;
  gap: clamp(8px, 2vmin, 16px);
  margin-top: clamp(8px, 2vmin, 16px);
  margin-bottom: clamp(8px, 2vmin, 16px);
}

.membership-edit-btn,
.membership-logout-btn {
  font-family: fot-seurat-pron, sans-serif;
  font-size: clamp(11px, 2.5vmin, 15px);
  padding: clamp(6px, 1.5vmin, 10px) clamp(12px, 3vmin, 20px);
  border-radius: clamp(20px, 5vmin, 40px);
  text-decoration: none;
  cursor: pointer;
}

.membership-edit-btn {
  background: #ffd8ec;
  color: #885c53;
  border: 1px solid #ffd8ec;
}

.membership-logout-btn {
  background: transparent;
  color: #885c5388;
  border: 1px solid #885c5344;
}

/* ========================================
   ファンクラブ 登録・ログイン共通
   ======================================== */

.fanclub-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(12px, 3vmin, 20px);
  width: clamp(280px, 80vw, 480px);
  margin: 0 auto;
  padding: clamp(20px, 5vmin, 40px);

}

.fanclub-form-group {
  display: flex;
  flex-direction: column;
  gap: clamp(4px, 1vmin, 8px);
  width: 100%;
}

.fanclub-service,
.fanclub-form-group label {
  font-family: fot-seurat-pron, sans-serif;
  font-size: clamp(11px, 2.5vmin, 15px);
  color: #885c53;
  font-weight: bold;
}

.fanclub-form-group input,
.fanclub-select {
  font-family: fot-seurat-pron, sans-serif;
  font-size: clamp(12px, 2.5vmin, 16px);
  color: #885c53;

  border-bottom: 1.5px solid #ffd8ec;
  padding: clamp(8px, 2vmin, 12px) clamp(12px, 3vmin, 16px);
  width: 100%;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.2s ease;
}

.fanclub-form-group input:focus,
.fanclub-select:focus {
  border-color: #c060a0;
}

.fanclub-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23885c53' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
  cursor: pointer;
}

.fanclub-form-actions input[type="submit"],
.fanclub-form-actions button {
  width: 100% !important;
  margin-top: clamp(4px, 1vmin, 8px);
  font-family: fot-seurat-pron, sans-serif;
  font-size: clamp(13px, 3vmin, 18px);
  color: #ffffff;
  background-color: #8a6c69;
  border: none;
  border-radius: clamp(20px, 5vmin, 40px);
  padding: clamp(10px, 2.5vmin, 16px);
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
  -webkit-text-stroke: 0;
}

.fanclub-form-actions input[type="submit"]:hover {
  opacity: 0.85;
  transform: scale(1.02);
}



.fanclub-remember label {
  font-weight: normal;
}

.fanclub-errors {
  width: 100%;
  background: #fff0f0;
  border: 1px solid #ffb0b0;
  border-radius: clamp(8px, 2vmin, 12px);
  padding: clamp(8px, 2vmin, 12px);
}

.fanclub-errors p {
  font-family: fot-seurat-pron, sans-serif;
  font-size: clamp(10px, 2.2vmin, 13px);
  color: #cc3333;
  margin: clamp(2px, 0.5vmin, 4px) 0;
}

.fanclub-errors p::before {
  content: '・';
}

.fanclub-links {
  text-align: center;
  margin-top: clamp(12px, 3vmin, 20px);
  margin-bottom: clamp(12px, 3vmin, 20px);
}

.fanclub-links a {
  font-family: fot-seurat-pron, sans-serif;
  font-size: clamp(11px, 2.5vmin, 15px);
  color: #c060a0;
  text-decoration: none;
  border-bottom: 1px solid #ffd8ec;
  padding-bottom: 2px;
  transition: opacity 0.2s ease;
}

.fanclub-links a:hover {
  opacity: 0.7;
}

/* ========================================
   スマートフォン対応
   ======================================== */
@media (max-width: 480px) {
  .fanclub-form {
    width: clamp(260px, 92vw, 400px);
    padding: clamp(16px, 4vmin, 28px);
    border-radius: clamp(12px, 3vmin, 20px);
  }

  .fanclub-form-group input,
  .fanclub-select {
    font-size: clamp(13px, 3.5vmin, 16px);
    padding: clamp(10px, 2.5vmin, 14px) clamp(12px, 3vmin, 16px);
  }

  .fanclub-form-actions input[type="submit"] {
    font-size: clamp(14px, 4vmin, 18px);
    padding: clamp(12px, 3vmin, 16px);
  }
}

.fanclub-oshi-locked {
  font-family: fot-seurat-pron, sans-serif;
  font-size: clamp(12px, 2.5vmin, 16px);
  color: #885c5388;
  padding: clamp(8px, 2vmin, 12px) clamp(12px, 3vmin, 16px);
  border-radius: clamp(8px, 2vmin, 16px);
}

/* チェックボックスカスタム */
.fanclub-remember {
  flex-direction: row;
  display: flex;
  align-items: center;
  gap: clamp(8px, 2vmin, 12px);
  cursor: pointer;
}

.fanclub-remember input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: clamp(18px, 4vmin, 24px);
  height: clamp(18px, 4vmin, 24px);
  border: 2px solid #ffd8ec;
  border-radius: 6px;
  background: #ffffff;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s ease, border-color 0.2s ease;
  position: relative;
}

.fanclub-remember input[type="checkbox"]:checked {
  background: #ff89ca;
  border-color: #ff89ca;
}

.fanclub-remember input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 45%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 5px;
  height: 9px;
  border: 2px solid #ffffff;
  border-top: none;
  border-left: none;
}

.membership-theme-selector {
  display: flex;
  justify-content: center;
  gap: clamp(8px, 2vmin, 16px);
  margin: clamp(12px, 3vmin, 20px) 0;
}

.membership-theme-btn {
  width: clamp(24px, 6vmin, 40px);
  height: clamp(24px, 6vmin, 40px);
  border-radius: 50%;
  border: 3px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease;
  padding: 0;
}

.membership-theme-btn:hover {
  transform: scale(1.1);
}

.membership-theme-btn.active {
  border-color: #ffffff;
  box-shadow: 0 0 0 2px #885c53;
  transform: scale(1.15);
}

.membership-theme-btn--pink {
  background: #ffd8ec !important;
}

.membership-theme-btn--blue {
  background: #b8dff5 !important;
}

.membership-theme-btn--purple {
  background: #e0b8f5 !important;
}

.membership-theme-btn--yellow {
  background: #f9e4a0 !important;
}

.membership-theme-btn--green {
  background: #b8f5c8 !important;
}



/* ヘッダーもテーマに合わせて変える */
.membership-card[data-theme="pink"] .membership-card-header {
  background-image: linear-gradient(0deg, #ffffff, #ffa1c0 11%);
}

.membership-card[data-theme="blue"] .membership-card-header {
  background-image: linear-gradient(0deg, #ffffff, #87c8f5 11%);
}

.membership-card[data-theme="purple"] .membership-card-header {
  background-image: linear-gradient(0deg, #ffffff, #d99cff 11%);
}

.membership-card[data-theme="yellow"] .membership-card-header {
  background-image: linear-gradient(0deg, #ffffff, #f8da81 11%);
}

.membership-card[data-theme="green"] .membership-card-header {
  background-image: linear-gradient(0deg, #ffffff, #80f3a2 11%);
}

/* ドット背景 */
.membership-card {
  position: relative;
  overflow: hidden;
  width: clamp(340px, 95vw, 680px);
  box-shadow: 0 8px 32px #ffd8ec88;
  border: 2px solid #ffd8ec;
  margin: clamp(16px, 4vmin, 32px) 0;
  box-sizing: border-box;
  border-radius: clamp(16px, 4vmin, 32px);
  background-color: #fff0f6;
  background-image:
    radial-gradient(closest-side, transparent 98%, rgba(255, 161, 192, 0.096) 100%),
    radial-gradient(closest-side, transparent 98%, rgba(255, 161, 192, 0.096) 100%),
    linear-gradient(#ffffff 16%, #fff3f8 41%, #ffe8f0 56%, #ffd0e0 80%, #ffa1c0);
  background-size: 60px 60px, 60px 60px, 100% 100%;
  background-position: 0 0, 30px 30px, 0 0;
}


.membership-card[data-theme="pink"] {
  background-color: #fff0f6;
  background-image:
    radial-gradient(closest-side, transparent 98%, rgba(255, 161, 192, 0.096) 100%),
    radial-gradient(closest-side, transparent 98%, rgba(255, 161, 192, 0.096) 100%),
    linear-gradient(#ffffff 16%, #fff3f8 41%, #ffe8f0 56%, #ffd0e0 80%, #ffa1c0);
  border-color: #f5b8dc;
  background-size: 60px 60px, 60px 60px, 100% 100%;
  background-position: 0 0, 30px 30px, 0 0;
}

.membership-card[data-theme="blue"] {
  background-color: #f0f6ff;
  background-image:
    radial-gradient(closest-side, transparent 98%, rgba(135, 200, 245, 0.096) 100%),
    radial-gradient(closest-side, transparent 98%, rgba(135, 200, 245, 0.096) 100%),
    linear-gradient(#ffffff 16%, #f3f9ff 41%, #e8efff 56%, #d0dbff 80%, #a1d5ff);
  border-color: #b8d2f5;
  background-size: 60px 60px, 60px 60px, 100% 100%;
  background-position: 0 0, 30px 30px, 0 0;
}

.membership-card[data-theme="purple"] {
  background-color: #f5f0ff;
  background-image:
    radial-gradient(closest-side, transparent 98%, rgba(217, 156, 255, 0.096) 100%),
    radial-gradient(closest-side, transparent 98%, rgba(217, 156, 255, 0.096) 100%),
    linear-gradient(#ffffff 16%, #faf3ff 41%, #f3e8ff 56%, #e6d0ff 80%, #c5a1ff);
  border-color: #dab8f5;
  background-size: 60px 60px, 60px 60px, 100% 100%;
  background-position: 0 0, 30px 30px, 0 0;
}

.membership-card[data-theme="yellow"] {
  background-color: #fffff0;
  background-image:
    radial-gradient(closest-side, transparent 98%, rgba(255, 226, 139, 0.096) 100%),
    radial-gradient(closest-side, transparent 98%, rgba(255, 226, 139, 0.096) 100%),
    linear-gradient(#ffffff 16%, #fffdf3 41%, #fff7e8 56%, #fff2d0 80%, #ffeea1);
  border-color: #f5e2b8;
  background-size: 60px 60px, 60px 60px, 100% 100%;
  background-position: 0 0, 30px 30px, 0 0;
}

.membership-card[data-theme="green"] {
  background-color: #f0fff4;
  background-image:
    radial-gradient(closest-side, transparent 98%, rgba(140, 255, 174, 0.096) 100%),
    radial-gradient(closest-side, transparent 98%, rgba(140, 255, 174, 0.096) 100%),
    linear-gradient(#ffffff 16%, #f4fff3 41%, #efffe8 56%, #d2ffd0 80%, #acffa1);
  border-color: #b8f5c8;
  background-size: 60px 60px, 60px 60px, 100% 100%;
  background-position: 0 0, 30px 30px, 0 0;
}

.membership-card-triangle {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 clamp(60px, 15vmin, 120px) clamp(60px, 15vmin, 120px);
  border-color: transparent transparent rgba(255, 255, 255, 0.493) transparent;
}

.membership-card-wrapper {
  perspective: 1000px;
  width: clamp(340px, 95vw, 680px);
  margin: clamp(16px, 4vmin, 32px) auto;
}

.membership-card-wrapper .membership-card {
  margin: 0;
}

.membership-card-inner {
  position: relative;
  width: 100%;
  transition: transform 0.7s ease;
  transform-style: preserve-3d;
}

.membership-card-inner.flipped {
  transform: rotateY(180deg);
}

.membership-card-front,
.membership-card-back {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.membership-card-back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  transform: rotateY(180deg);
}

.membership-card-back-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(20px, 5vmin, 40px);
  gap: clamp(12px, 3vmin, 24px);
  min-height: clamp(200px, 40vmin, 320px);
}

.membership-card-back-title {
  font-family: fot-seurat-pron, sans-serif;
  font-size: clamp(16px, 4vmin, 28px);
  color: #885c53;
  font-weight: bold;
  text-align: center;
}

.membership-card-oshi-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(8px, 2vmin, 16px);
  width: 100%;
}

.membership-card-oshi-item {
  background: #ffffff88;
  border-radius: clamp(8px, 2vmin, 16px);
  padding: clamp(10px, 2.5vmin, 20px) clamp(20px, 5vmin, 40px);
  width: 80%;
  text-align: center;
}

.membership-card-oshi-name {
  font-family: fot-seurat-pron, sans-serif;
  font-size: clamp(16px, 4vmin, 28px);
  color: #885c53;
  font-weight: bold;
}

.membership-card-oshi-empty {
  font-family: fot-seurat-pron, sans-serif;
  font-size: clamp(12px, 3vmin, 18px);
  color: #885c5388;
}

.membership-flip-btn {
  display: block;
  margin: clamp(8px, 2vmin, 16px) auto 0;
  font-family: fot-seurat-pron, sans-serif;
  font-size: clamp(12px, 2.5vmin, 16px);
  color: #885c53;
  background: #ffffff88;
  border: 1.5px solid #ffd8ec;
  border-radius: clamp(20px, 5vmin, 40px);
  padding: clamp(6px, 1.5vmin, 10px) clamp(16px, 4vmin, 24px);
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.membership-flip-btn:hover {
  opacity: 0.8;
}

.membership-card-stats {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(16px, 4vmin, 32px);
  width: 100%;
}

.membership-card-stat-item {
  background: #ffffff88;
  border-radius: clamp(8px, 2vmin, 16px);
  padding: clamp(8px, 2vmin, 16px) clamp(16px, 4vmin, 32px);
  text-align: center;
  width: 80%;
}

.membership-card-stat-label {
  font-family: fot-seurat-pron, sans-serif;
  font-size: clamp(11px, 2.5vmin, 16px);
  color: #885c5388;
  margin-bottom: clamp(4px, 1vmin, 8px);
}

.membership-card-stat-value {
  font-family: fot-seurat-pron, sans-serif;
  font-size: clamp(20px, 5vmin, 36px);
  color: #885c53;
  font-weight: bold;
}

/* Membership card and fan-club forms on 4K displays. */
@media screen and (min-width: 2560px) {

  .membership-card,
  .membership-card-wrapper {
    width: clamp(1120px, 34vw, 1360px);
  }

  .membership-card {
    margin: clamp(40px, 1.5vw, 60px) 0;
    border-width: 4px;
    border-radius: clamp(32px, 1.2vw, 48px);
    box-shadow: 0 16px 64px #ffd8ec88;
    background-size: 120px 120px, 120px 120px, 100% 100%;
    background-position: 0 0, 60px 60px, 0 0;
  }

  .membership-card-header {
    padding: clamp(28px, 1vw, 40px);
    border-radius: 0;
  }

  .membership-card-title {
    font-size: clamp(38px, 1.2vw, 48px);
  }

  .membership-card-title-mini {
    font-size: clamp(18px, 0.65vw, 26px);
  }

  .membership-card-main {
    padding: clamp(32px, 1.4vw, 56px) clamp(48px, 2vw, 80px);
  }

  .membership-card-logo {
    width: clamp(300px, 9.5vw, 380px);
    height: clamp(420px, 13vw, 520px);
    margin-right: clamp(48px, 2vw, 80px);
    border-width: 2px;
    border-radius: clamp(20px, 0.8vw, 32px);
  }

  .membership-card-body {
    width: clamp(600px, 18vw, 720px);
    gap: clamp(18px, 0.8vw, 32px);
  }

  .membership-card-row {
    gap: clamp(20px, 0.8vw, 32px);
    padding: clamp(14px, 0.65vw, 26px);
    border-bottom-width: 2px;
  }

  .membership-card-label {
    width: clamp(180px, 5.5vw, 220px);
    font-size: clamp(24px, 0.8vw, 32px);
  }

  .membership-card-value,
  .fanclub-avatar-btn {
    font-size: clamp(28px, 0.95vw, 38px);
  }

  .membership-card-footer {
    margin-top: clamp(32px, 1.2vw, 48px);
    font-size: clamp(24px, 0.8vw, 32px);
  }

  .membership-card-triangle {
    border-width: 0 0 clamp(180px, 5vw, 220px) clamp(180px, 5vw, 220px);
  }

  .membership-card-back-body {
    min-height: clamp(520px, 15vw, 620px);
    padding: clamp(48px, 2vw, 80px);
    gap: clamp(28px, 1.2vw, 48px);
  }

  .membership-card-back-title,
  .membership-card-oshi-name {
    font-size: clamp(36px, 1.2vw, 48px);
  }

  .membership-card-oshi-list {
    gap: clamp(20px, 0.8vw, 32px);
  }

  .membership-card-oshi-item {
    padding: clamp(24px, 1vw, 40px) clamp(48px, 2vw, 80px);
    border-radius: clamp(20px, 0.8vw, 32px);
  }

  .membership-card-oshi-empty {
    font-size: clamp(26px, 0.85vw, 34px);
  }

  .membership-card-stats {
    gap: clamp(32px, 1.4vw, 56px);
  }

  .membership-card-stat-item {
    padding: clamp(24px, 1vw, 40px) clamp(48px, 2vw, 80px);
    border-radius: clamp(20px, 0.8vw, 32px);
  }

  .membership-card-stat-label {
    margin-bottom: clamp(12px, 0.5vw, 20px);
    font-size: clamp(26px, 0.85vw, 34px);
  }

  .membership-card-stat-value {
    font-size: clamp(48px, 1.6vw, 64px);
  }

  .membership-actions {
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(20px, 0.8vw, 32px);
    margin-top: clamp(24px, 1vw, 40px);
  }

  .membership-edit-btn,
  .membership-logout-btn,
  .membership-flip-btn {
    min-height: 64px;
    box-sizing: border-box;
    font-size: clamp(26px, 0.85vw, 34px);
    padding: clamp(16px, 0.7vw, 28px) clamp(32px, 1.3vw, 52px);
    border-radius: clamp(36px, 1.5vw, 60px);
  }

  .membership-flip-btn {
    margin-top: clamp(20px, 0.8vw, 32px);
    border-width: 3px;
  }

  .fanclub-form {
    width: clamp(800px, 25vw, 1000px);
    gap: clamp(28px, 1.2vw, 48px);
    padding: clamp(48px, 2vw, 80px);
  }

  .fanclub-form-group {
    gap: clamp(12px, 0.5vw, 20px);
  }

  .fanclub-form-group label {
    font-size: clamp(26px, 0.85vw, 34px);
  }

  .fanclub-form-group input,
  .fanclub-select {
    min-height: clamp(72px, 2.5vw, 96px);
    padding: clamp(18px, 0.8vw, 32px) clamp(28px, 1.1vw, 44px);
    font-size: clamp(28px, 0.95vw, 38px);
    border-bottom-width: 3px;
  }

  .fanclub-select {
    padding-right: clamp(72px, 2.5vw, 96px);
    background-size: clamp(20px, 0.7vw, 28px) auto;
    background-position: right clamp(24px, 0.9vw, 36px) center;
  }

  .fanclub-form-actions {
    margin: clamp(16px, 0.7vw, 28px) 0;
  }

  .fanclub-form-actions input[type="submit"] {
    min-height: clamp(76px, 2.7vw, 104px);
    padding: clamp(18px, 0.8vw, 32px);
    border-radius: clamp(40px, 1.7vw, 68px);
    font-size: clamp(30px, 1vw, 40px);
  }

  .fanclub-remember {
    gap: clamp(16px, 0.7vw, 28px);
  }

  .fanclub-remember input[type="checkbox"] {
    width: clamp(40px, 1.4vw, 56px);
    height: clamp(40px, 1.4vw, 56px);
    border-width: 3px;
    border-radius: 10px;
  }

  .fanclub-remember input[type="checkbox"]:checked::after {
    width: 11px;
    height: 21px;
    border-width: 4px;
  }

  .fanclub-errors {
    padding: clamp(20px, 0.8vw, 32px);
    border-width: 2px;
    border-radius: clamp(16px, 0.7vw, 28px);
  }

  .fanclub-errors p,
  .fanclub-oshi-locked {
    font-size: clamp(24px, 0.8vw, 32px);
  }

  .fanclub-links {
    margin: clamp(28px, 1.2vw, 48px) 0;
  }

  .fanclub-links a,
  .fanclub-crop-btn {
    font-size: clamp(26px, 0.85vw, 34px);
  }

  .membership-theme-selector {
    gap: clamp(20px, 0.8vw, 32px);
    margin: clamp(28px, 1.2vw, 48px) 0;
  }

  .membership-theme-btn {
    width: clamp(64px, 2.2vw, 88px);
    height: clamp(64px, 2.2vw, 88px);
    border-width: 5px;
  }

}




/* Render the membership card back without a permanent 3D transform. */
.membership-card-inner.is-preparing,
.membership-card-inner.static-back {
  transition: none;
}

.membership-card-inner.static-back {
  transform: none;
  transform-style: flat;
}

.membership-card-inner.static-back .membership-card-front {
  display: none;
}

.membership-card-inner.static-back .membership-card-back {
  position: absolute;
  top: 0;
  left: 0;
  transform: none;
  backface-visibility: visible;
  -webkit-backface-visibility: visible;
}


/* Return the membership card front to normal 2D rendering after a flip. */
.membership-card-inner.static-front {
  transform: none;
  transform-style: flat;
  transition: none;
}

.membership-card-inner.static-front .membership-card-front {
  backface-visibility: visible;
  -webkit-backface-visibility: visible;
}

.membership-card-inner.static-front .membership-card-back {
  display: none;
}


@media screen and (max-width: 767px) {
  .membership-card-back-body {
    min-height: clamp(160px, 48vw, 220px);
  }
}

/* Site-wide legal links and policy pages. */


.site-legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(6px, 1.5vmin, 12px);
}

.site-legal-links a {
  color: #795547;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.site-legal-links a:hover,
.site-legal-links a:focus-visible {
  color: #c060a0;
  border-bottom-color: currentColor;
}

.legal-page {
  min-height: 70vh;
  box-sizing: border-box;
  padding: clamp(100px, 12vh, 160px) clamp(14px, 4vw, 48px) clamp(48px, 8vh, 96px);
  background: #ffecf4;
}

.legal-document {
  width: min(92vw, 920px);
  box-sizing: border-box;
  margin: 0 auto;
  padding: clamp(24px, 5vw, 56px);
  color: #5f4039;
  color: #a88974;
  border-radius: clamp(9px, 2vmin, 18px);
  font-family: fot-seurat-pron, sans-serif;
  font-size: clamp(13px, 2.3vmin, 16px);
  line-height: 1.9;
}

.legal-document-header {
  margin-bottom: clamp(28px, 6vmin, 48px);
  text-align: center;
}

.legal-document-header h1 {
  margin: clamp(6px, 1.5vmin, 12px) 0;
  color: #885c53;
  font-size: clamp(25px, 5vmin, 40px);
}

.legal-document-en {
  color: #c060a0;
  font-size: clamp(11px, 2vmin, 14px);
}

.legal-document section {
  margin-top: clamp(28px, 6vmin, 48px);
}

.legal-document h2 {
  margin-bottom: clamp(8px, 2vmin, 16px);
  padding-bottom: clamp(5px, 1vmin, 9px);
  color: #885c53;
  border-bottom: 1px solid #ffd8ec;
  font-size: clamp(17px, 3.2vmin, 23px);
}

.legal-document ul,
.legal-document ol {
  margin: clamp(8px, 2vmin, 16px) 0;
  padding-left: 1.6em;
}

.legal-document li+li {
  margin-top: 0.45em;
}

.legal-document a {
  color: #b45682;
  text-underline-offset: 0.2em;
}

.operation-category-badge {
  display: inline-block;
  margin-bottom: clamp(6px, 1.5vmin, 12px);
  padding: clamp(3px, 0.8vmin, 6px) clamp(8px, 2vmin, 14px);
  color: #ffffff;
  border-radius: 999px;
  font-family: fot-seurat-pron, sans-serif;
  font-size: clamp(10px, 2vmin, 13px);
}

.operation-category-badge.collaboration {
  background: #c184ba;
}

.operation-category-badge.special {
  background: #e99cbb;
}

/* Compact manual avatar cropper */
.fanclub-cropper-wrapper {
  width: min(100%, 480px);
  box-sizing: border-box;
  margin: clamp(10px, 2vmin, 18px) auto;
  padding: clamp(8px, 2vmin, 14px);
  overflow: hidden;
  background: #fff8fb;
  border: 2px solid #ffd0e0;
  border-radius: 14px;
}

.fanclub-cropper-wrapper #cropper-image {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: min(50vh, 440px);
  margin: 0 auto;
  object-fit: contain;
}

.fanclub-cropper-wrapper .cropper-container {
  max-width: 100%;
  max-height: min(50vh, 440px);
  margin: 0 auto;
}

.fanclub-crop-help {
  margin: 10px 4px 2px;
  color: #885c53;
  font-family: fot-seurat-pron, sans-serif;
  font-size: clamp(12px, 2.5vmin, 15px);
  line-height: 1.6;
  text-align: center;
}

.info-video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-width: clamp(280px, 60vmin, 480px);
  border-radius: clamp(8px, 2vmin, 16px);
  overflow: hidden;
}

.info-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ====== 会員限定コンテンツ カードグリッド ====== */
.member-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 3vmin, 28px);
  width: min(100%, 1080px);
  margin-inline: auto;
  padding: clamp(16px, 3vmin, 32px);
}



.member-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #f5f5f5;
  overflow: hidden;
}

.member-card-video,
.member-card-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  object-fit: cover;
  display: block;
}

.member-card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: clamp(14px, 2.5vmin, 20px);
}

.member-card-date {
  font-family: fot-seurat-pron, sans-serif;
  font-size: 0.85em;
  color: #888;
  letter-spacing: 0.05em;
}

.member-card-title {
  font-family: fot-seurat-pron, sans-serif;
  font-size: 1.05em;
  margin: 0;
  line-height: 1.5;
  color: #444;
}

.member-card-text {
  font-family: fot-seurat-pron, sans-serif;
  font-size: 0.9em;
  line-height: 1.7;
  color: #666;
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
}

/* タブレット（2列） */
@media (max-width: 900px) {
  .member-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* スマホ（1列） */
@media (max-width: 600px) {
  .member-card-grid {
    grid-template-columns: 1fr;
  }
}

/* ====== ライトボックス ====== */
.member-lightbox {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: clamp(16px, 4vmin, 40px);
  overflow-y: auto;
  animation: memberLightboxFadeIn 0.2s ease-out;
}

@keyframes memberLightboxFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.member-lightbox-inner {
  width: min(100%, 900px);
  background-color: #fff;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.member-lightbox-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #000;
  overflow: hidden;
}

.member-lightbox-video,
.member-lightbox-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  object-fit: contain;
  display: block;
}

.member-lightbox-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(20px, 3vmin, 32px);
}

.member-lightbox-date {
  font-family: fot-seurat-pron, sans-serif;
  font-size: 0.9em;
  color: #888;
  letter-spacing: 0.05em;
}

.member-lightbox-title {
  font-family: fot-seurat-pron, sans-serif;
  font-size: 1.3em;
  margin: 0;
  line-height: 1.5;
  color: #444;
}

.member-lightbox-text {
  font-family: fot-seurat-pron, sans-serif;
  font-size: 0.95em;
  line-height: 1.8;
  color: #555;
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
}

.member-lightbox-close {
  position: fixed;
  top: clamp(16px, 3vmin, 32px);
  right: clamp(16px, 3vmin, 32px);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background-color: rgba(255, 255, 255, 0.9);
  color: #333;
  font-size: 1.5em;
  line-height: 1;
  cursor: pointer;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
}

.member-lightbox-close:hover {
  background-color: #fff;
}

/* カード側にクリックできる見た目のヒント */
.member-card {
  display: flex;
  flex-direction: column;
  background-color: #fff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
  cursor: pointer;
  transition: transform 0.15s ease;
}

.member-card:hover,
.member-card:focus-visible {
  transform: translateY(-2px);
}

.member-card:focus-visible {
  outline: 2px solid rgba(255, 147, 201, 0.6);
  outline-offset: 2px;
}




/* ====== 送信確認モーダル ====== */
.confirm-modal {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: clamp(16px, 4vmin, 40px);
}

.confirm-modal[hidden] {
  display: none;
}

.confirm-modal-inner {
  width: min(100%, 480px);
  background-color: #fff;
  border-radius: 18px;
  padding: clamp(20px, 4vmin, 32px);
  max-height: 90vh;
  overflow-y: auto;
}

.confirm-modal-title {
  margin: 0 0 20px;
  font-size: 1.2em;
  color: #444;
  text-align: center;
}

.confirm-modal-list {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 16px;
  margin: 0 0 20px;
}

.confirm-modal-list dt {
  color: #888;
  font-size: 0.9em;
}

.confirm-modal-list dd {
  margin: 0;
  color: #444;
  font-weight: bold;
}

.confirm-modal-warning {
  padding: 10px 14px;
  background-color: rgba(255, 200, 100, 0.15);
  border-left: 3px solid #d78a4a;
  border-radius: 4px;
  font-size: 0.9em;
  color: #a06020;
  margin: 0 0 20px;
}

.fanclub-nickname-warning,
.fanclub-birthday-warning {
  font-size: clamp(7px, 1.6vmin, 26px);
  color: #ff0c0c;
}

.confirm-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.confirm-modal-cancel,
.confirm-modal-ok {
  padding: 10px 20px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-size: 0.95em;
}

.confirm-modal-cancel {
  background-color: #eee;
  color: #666;
}

.confirm-modal-ok {
  background-color: #ff93c9;
  color: white;
}

.membership-delete-btn {
  color: #c33c3c;
  font-size: 0.9em;
  background: none;
  border: 1px solid rgba(200, 60, 60, 0.4);
  border-radius: clamp(20px, 5vmin, 40px);
  padding: clamp(8px, 2vmin, 12px) clamp(16px, 3vmin, 24px);
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.membership-delete-btn:hover {
  opacity: 1;
}

/* 削除モーダルの送信ボタン */
.confirm-modal-delete {
  padding: 10px 20px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-size: 0.95em;
  background-color: #c33c3c;
  color: white;
}

.confirm-modal-delete:hover {
  opacity: 0.85;
}

.fanclub-birthday-locked {
  font-size: clamp(8px, 2vmin, 32px);
  color: #ff6060;
}

.movie-main {
  cursor: pointer;
  transition: transform 0.15s ease;
  margin-top: calc(0.8vw + 0.8vh);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: calc(0.8vw + 0.8vh);
}

.movie-main-text {
  width: clamp(240px, 30vw, 480px);
  paint-order: stroke;
  flex: 1 1 240px;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* メインコンテンツを伸ばして、フッターを下に押し出す */
body>*:not(.site-legal-footer):not(.top-bar) {
  flex-shrink: 0;
}

/* 会員証ページのメインコンテンツを伸ばす */
.membership-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  overflow: hidden;
  flex-direction: column;
  flex: 1 0 auto;
}

.site-legal-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(8px, 2vmin, 14px);
  box-sizing: border-box;
  width: 100%;
  padding: clamp(20px, 5vmin, 40px) clamp(12px, 3vmin, 24px);
  color: #795547a8;
  background: #ffffff;
  font-family: fot-seurat-pron, sans-serif;
  font-size: clamp(10px, 2.2vmin, 14px);
  text-align: center;
  flex-shrink: 0;
  margin-top: auto;
}

.confirm-modal-error {
  padding: 10px 14px;
  background-color: rgba(200, 60, 60, 0.1);
  border-left: 3px solid #c33c3c;
  border-radius: 4px;
  font-size: 0.9em;
  color: #c33c3c;
  margin: 0 0 20px;
}

.goodbye-page {
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(20px, 4vmin, 60px);
}

.goodbye-inner {
  width: min(100%, 600px);
  text-align: center;
}

.goodbye-message {
  padding: clamp(20px, 4vmin, 48px);
}

.goodbye-title {
  font-family: fot-seurat-pron, sans-serif;
  font-size: clamp(20px, 4vmin, 36px);
  color: #8a6b67;
  margin-bottom: clamp(16px, 3vmin, 32px);
}

.goodbye-text {
  font-family: fot-seurat-pron, sans-serif;
  font-size: clamp(13px, 2.5vmin, 22px);
  line-height: 2;
  color: #a58784;
  margin-bottom: clamp(24px, 4vmin, 40px);
}

.goodbye-link {
  display: inline-block;
  padding: clamp(10px, 2.5vmin, 18px) clamp(24px, 4vmin, 48px);
  font-family: fot-seurat-pron, sans-serif;
  font-size: clamp(13px, 2.5vmin, 22px);
  color: #ffffff;
  background-color: #dabdb9;
  border-radius: clamp(20px, 5vmin, 40px);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.goodbye-link:hover {
  opacity: 0.85;
}

.fanclub-birthday-selects {
  display: flex;
  gap: clamp(8px, 2vmin, 16px);
}

.fanclub-birthday-selects .fanclub-select {
  flex: 1;
}

.password-field-wrapper {
  position: relative;
  display: flex;
  align-items: stretch;
}

.password-field-wrapper .password-input {
  flex: 1;
  padding-right: clamp(50px, 8vmin, 80px);
}

.password-toggle {
  position: absolute;
  right: clamp(6px, 1.5vmin, 12px);
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: #8a6b67;
  cursor: pointer;
  padding: clamp(6px, 1.2vmin, 10px);
  border-radius: 50%;
  transition: background-color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.password-toggle:hover {
  background-color: rgba(138, 107, 103, 0.1);
}

.password-toggle-icon {
  width: clamp(18px, 3vmin, 28px);
  height: clamp(18px, 3vmin, 28px);
  display: block;
}

.password-toggle-icon[hidden] {
  display: none !important;
}

.bottom-share {
  margin-bottom: clamp(6px, 1.2vmin, 10px);
  color: #73abb9;
  font-size: clamp(10px, 3vmin, 30px);
}
/* ================================================
   destyle.css 対応 + スマートフォンレスポンシブ
   追記場所: top.css の末尾
   ================================================ */


/* ------------------------------------------------
   [A] destyle.css リセット補正（全幅共通）
   ------------------------------------------------ */

.cast-main-text-name {
  font-weight: bold;
  -webkit-text-stroke: calc(0.4vw + 0.4vh) #ffffff;
  paint-order: stroke;
  font-size: calc(2vw + 2vh);
  color: var(--cast-name-color, #885c53);
}

.cast-main-text-namefull {
  font-weight: bold;
  -webkit-text-stroke: calc(0.2vw + 0.2vh) #ffffff;
  paint-order: stroke;
  font-size: calc(0.4vw + 0.4vh);
  margin-bottom: calc(0.8vw + 0.8vh);
  color: var(--cast-sub-color, #885c53);
}

.cast-main-header-switch {
  color: #885c53;
  border-bottom: solid 1px #885c53;
  background: transparent;
  border-radius: 0;
  padding: calc(0.3vw + 0.3vh) calc(0.6vw + 0.6vh);
  cursor: pointer;
  font-family: fot-seurat-pron, sans-serif;
  font-size: calc(0.8vw + 0.8vh);
  z-index: 3;
  margin-right: calc(0.8vw + 0.8vh);
}

.cast-main-header-switch-button {
  background-color: #ffffff;
  box-shadow: 6px 6px 10px 0px #d1cbcb;
  border-radius: 50%;
  padding: calc(0.8vw + 0.8vh);
  margin-bottom: calc(21.6vw + 21.6vh);
  cursor: pointer;
  transition: transform 0.5s ease;
  animation: floating 2.5s ease-in-out infinite;
  display: flex;
  align-items: center;
  justify-content: center;
}

.left-and-right,
.left-and-rights {
  background: transparent;
  border: none;
  padding: 0;
  border-radius: 0;
  font-size: calc(2.4vw + 2.4vh);
  color: #885c53;
  cursor: pointer;
  z-index: 3;
}

.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: transparent;
  border: none;
  padding: calc(0.4vw + 0.4vh);
  cursor: pointer;
  margin-right: calc(0.8vw + 0.8vh);
  z-index: 200;
}

.hamburger-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: #885c53;
  border-radius: 1px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.top-ber-url-list a {
  color: #ffffff;
  font-size: calc(0.8vw + 0.8vh);
  margin: calc(0.4vw + 0.4vh);
  font-family: fot-seurat-pron, sans-serif;
}

.cast-main-text-back {
  flex-shrink: 0;
  background-color: #ffffff85;
  padding: calc(1.6vw + 1.6vh);
  border-radius: calc(0.8vw + 0.8vh);
  font-family: fot-seurat-pron, sans-serif;
  width: calc(20vw + 20vh);
  z-index: 3;
}


/* ------------------------------------------------
   [B] タブレット・小型PC (≤ 959px)
   ------------------------------------------------ */
@media (max-width: 959px) {

  .main-contents {
    height: auto;
    min-height: clamp(300px, 70vmin, 560px);
  }

  .main-contents-logo {
    height: clamp(100px, 20vmin, 260px);
    width: clamp(90px, 18vmin, 240px);
    margin-right: clamp(16px, 6vmin, 120px);
  }

  .cast-main {
    height: auto;
    min-height: clamp(280px, 55vmin, 520px);
  }


  .movie {
    height: auto;
    min-height: clamp(300px, 70vmin, 580px);
  }


}


/* ------------------------------------------------
   [C] スマートフォン (≤ 480px)
   ------------------------------------------------ */
@media (max-width: 480px) {

  /* -------- 波形SVG 縦幅縮小 -------- */

  /* ストーリー上下・キャスト境界の波 */
  .story-illustration-header,
  .cast-main-top svg,
  .cast-bottom {
    height: clamp(20px, 4vmin, 40px);
    display: block;
    margin: 0;
    vertical-align: top;
  }
  .story-illustration-header {
    margin-top: -1px;
    margin-bottom: -1px;
  }

  .cast-main-top {
    line-height: 0;
  }

  .cast-main-top svg {
    margin-top: -1px;
    margin-bottom: -1px;
  }




  /* ソーシャルバー上の波 */
  .sub-bar-link svg {
    height: clamp(16px, 3.5vmin, 32px);
    display: block;
    /* inline由来の下余白を消す */
    margin-bottom: -1px;
    /* サブピクセルのズレを吸収 */
  }


  /* -------- トップバー -------- */

  .top-bar {
    height: clamp(36px, 9vmin, 52px);
  }

  .top-bar-logo {
    height: clamp(24px, 6vmin, 36px);
    width: clamp(48px, 12vmin, 72px);
  }

  .top-ber-url-list {
    display: none;
  }

  .top-ber-url-list.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: clamp(28px, 6vmin, 48px);
    left: 0;
    right: 0;
    background: #ffd8ec;
    padding: 16px 20px;
    z-index: 150;
    gap: 0;
  }

  .top-ber-url-list.open a {
    font-size: clamp(13px, 3.8vmin, 17px);
    padding: 10px 0;
    margin: 0;
    border-bottom: 1px solid #ffffff44;
    display: block;
    color: #ffffff;
  }

  .hamburger-btn {
    display: flex;
  }


  /* -------- ヒーロー: 縦積みレイアウト -------- */



  .main-contents-image-umi {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .main-contents-image-umi::before {
    width: clamp(220px, 60vmin, 360px);
    height: clamp(220px, 60vmin, 360px);
    left: 50%;
    top: 45%;
    margin-left: 0;
  }

  .main-contents-image-maid {
    height: clamp(280px, 70vmin, 500px);
    width: clamp(270px, 68vmin, 480px);
    margin-left: 0;
    margin-top: 10%;
  }

  .main-contents-image-logos {
    position: absolute;
    right: 8px;
    top: clamp(44px, 12vmin, 72px);
  }

  .main-contents-logo {
    height: clamp(64px, 16vmin, 110px);
    width: clamp(56px, 14vmin, 96px);
    margin: 0;
  }


  /* -------- ソーシャルバー -------- */

  .sub-bar-link-main {
    height: clamp(80px, 23vmin, 126px);
  }

  .sub-bar-link-main img {
    height: auto;
    width: clamp(122px, 35vmin, 210px);
  }

  .sub-bar-link-main a {
    flex: 0 0 auto;
    height: clamp(80px, 23vmin, 126px);
    width: clamp(126px, 35vmin, 214px);
    margin-inline: 5px;
  }


  /* -------- ストーリーセクション -------- */

  .story {
    height: auto;
    min-height: clamp(240px, 85vmin, 420px);
    padding-bottom: 24px;
  }

  .story-illustration {
    height: clamp(200px, 78vmin, 340px);
    width: clamp(300px, 95vmin, 560px);
    opacity: 0.3;
  }




  /* -------- キャストセクション -------- */

  .cast-main {
    height: auto;
    min-height: clamp(280px, 75vmin, 480px);
  }

  .cast-main-header button {
    font-size: clamp(10px, 2.8vmin, 14px);
    margin-right: clamp(4px, 1.5vmin, 10px);
    padding: clamp(2px, 0.8vmin, 6px) clamp(4px, 1.2vmin, 8px);
  }

  .cast-main-img {
    height: clamp(180px, 68vmin, 520px);
    margin-right: clamp(4px, 1.5vmin, 16px);
  }

  .cast-main-text-back {
    width: clamp(130px, 34vmin, 210px);
    padding: clamp(8px, 2vmin, 16px);
  }









  .left-and-right,
  .left-and-rights {
    font-size: clamp(18px, 5vmin, 32px);
  }

  .cast-main-header-switch-button {
    margin-bottom: clamp(110px, 28vmin, 190px);
    padding: clamp(6px, 1.8vmin, 12px);
  }

  .cast-main-header-switch-button svg {
    width: clamp(24px, 6vmin, 36px);
    height: clamp(24px, 6vmin, 36px);
  }

  .x-link {
    margin-top: calc(0vw + 0vh);
    background-color: #885c53;
  }



  /* ストーリーヘッダーテキスト */
  html body .story-header-cat {
    font-size: clamp(16px, 4vmin, 26px);
  }

  html body .story-header-cat-e {
    font-size: clamp(10px, 2vmin, 14px);
  }

  /* ムービーヘッダーテキスト */
  html body .movie-header {
    font-size: clamp(16px, 4vmin, 26px);
  }

  html body .movie-header-e {
    font-size: clamp(10px, 2vmin, 14px);
  }

  /* キャストヘッダーテキスト */
  html body .cast-main-text {
    font-size: clamp(16px, 4vmin, 26px);
  }

  html body .cast-main-text-e {
    font-size: clamp(10px, 2vmin, 14px);
  }

  /* 画面幅に応じてページ見出しを下げ、トップバーに埋もれないようにする */
  /* ネコSVGを大きく */
  html body .story-header-svg g:first-child {
    transform: translate(340px, 65px) scale(0.45) translate(-340px, -182px);
  }

  /* キャスト楕円＋星を大きく */
  html body .cast-main>svg g:first-child {
    transform: translate(340px, 35px) scale(0.7) translate(-340px, -70px);
  }


  /* -------- ムービーセクション -------- */

  .movie {
    height: auto;
    min-height: clamp(300px, 85vmin, 560px);
    padding: 16px 0;
  }

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

  .YouTubes-YouTube {
    width: clamp(280px, 92vw, 480px);
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .movie-main-text {
    width: clamp(260px, 88vw, 440px);
    flex: 0 0 auto;
  }

  .movie-main-header {
    font-size: clamp(12px, 3.2vmin, 16px);
  }

  .movie-main-sub {
    font-size: clamp(10px, 2.6vmin, 14px);
  }

  .sub-left {
    top: 57%;
    right: -20%;
    transform: translateY(-50%);
    animation-duration: 3.8s;
    animation-delay: 0.0s;
  }

  .sub-top {
    top: 20%;
    right: 6%;
    transform: translateX(-50%);
    animation-duration: 4.5s;
    animation-delay: 0.8s;
  }

  .sub-right {
    top: 45%;
    left: -14%;
    transform: translateY(-50%);
    animation-duration: 4.1s;
    animation-delay: 1.5s;
  }

  .cast-SVG-button {
    height: clamp(20px, 4vmin, 40px);
    width: clamp(20px, 4vmin, 40px);

  }

  .main-contents {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: auto;
    overflow: visible;
    padding-bottom: 0;
  }
}

@media (max-width: 480px) {

  /* -------- info-page 共通 -------- */

  .info-page {
    padding-top: 10%;
  }

  /* ネコヘッダーSVG */
  .info-page .story-header-svg {
    width: 900px;
    max-width: none;
    height: auto;
    left: 50%;
    translate: -50% 0;
  }

  /* ヘッダーテキスト */
  .info-header-cat {
    font-size: 22px;
  }

  .info-header-cat-e {
    font-size: 12px;
  }

  /* サブタイトル */
  .music-top-text {
    font-size: clamp(11px, 3vmin, 15px);
    text-align: center;
    padding: 0 clamp(8px, 3vmin, 16px);
  }


  /* -------- お知らせ -------- */


  .info-list {
    flex-direction: column;
    align-items: flex-start;
    padding: clamp(8px, 3vmin, 16px);
  }












  /* -------- コラボ・スペシャル -------- */

  .collaboration-list {
    width: 100%;
    padding: clamp(8px, 3vmin, 16px);
  }

  /* 横並び → 縦並びに変更 */
  .collaboration-entry {
    flex-direction: column;
    align-items: center;
    margin-bottom: clamp(24px, 8vmin, 48px);
    width: 100%;
  }

  .collab-slider {
    width: 100%;
  }



  .collaboration-item {
    width: 100%;
    height: auto;
    /* 固定高を解除 */
    padding: clamp(12px, 3vmin, 20px);
    border-radius: clamp(10px, 3vmin, 20px);
  }

  .collaboration-date {
    font-size: clamp(10px, 2.5vmin, 13px);
  }

  .collaboration-title {
    font-size: clamp(14px, 4vmin, 22px);
  }

  .collaboration-body {
    font-size: clamp(11px, 3vmin, 14px);
  }

  .collaboration-link {
    font-size: clamp(11px, 3vmin, 14px);
    position: static;
    /* absoluteをやめて通常フローに */
    display: block;
    margin-top: clamp(8px, 2vmin, 16px);
  }

  .slider-btn {
    font-size: clamp(16px, 5vmin, 24px);
    padding: clamp(4px, 1.5vmin, 10px);
  }


  /* -------- ミュージック -------- */

  .music-list {
    width: 100%;
    padding: clamp(8px, 3vmin, 16px);
  }

  .music-link {
    flex-direction: column;
    /* ツイート埋め込みを縦並びに */
    width: 100%;
  }

  .music-link .twitter-tweet {
    width: 100%;
    margin: 0 0 clamp(16px, 4vmin, 24px) 0;
  }

  .slider-btn.slider-next {
    display: inline-flex;
    vertical-align: middle;
  }

  .slider-wrapper {
    position: relative;
    /* ボタンの基準点 */
    width: 100%;
  }

  .slider-wrapper .collab-slider {
    width: 100%;
    /* 画像をフル幅に */
  }

  .collaboration-image {
    border-radius: clamp(10px, 3vmin, 20px);
    margin: 0 0 clamp(8px, 2vmin, 16px) 0;
    width: 100%;
    height: auto;
  }

  /* ボタンを画像の左右中央に絶対配置 */
  .slider-wrapper .slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    background: #ffffff99;
    border-radius: 50%;
    width: clamp(28px, 8vmin, 40px);
    height: clamp(28px, 8vmin, 40px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(12px, 3.5vmin, 18px);
    color: #885c53;
  }

  .slider-wrapper .slider-prev {
    left: clamp(4px, 2vmin, 10px);
  }

  .slider-wrapper .slider-next {
    right: clamp(4px, 2vmin, 10px);
  }


  .cast-main-text-name {
    font-size: 20px;
    -webkit-text-stroke: 4px #ffffff;
  }

  .cast-main-text-namefull {
    -webkit-text-stroke: clamp(0.5px, 0.3vmin, 1.5px) #ffffff;
    font-size: 6px;
    margin-bottom: 8px;
  }

  .cast-main-text-status {
    margin: clamp(3px, 0.8vmin, 8px);
    margin-left: 0;
    padding: clamp(2px, 0.5vmin, 4px);
    font-size: 6px;
  }

  .cast-main-text-sub {
    font-size: 6px;
  }

  .story-main p {
    -webkit-text-stroke: clamp(0.5px, 0.3vmin, 1.5px) #ffffff;
    font-size: 11px;
    margin: 6px 12px;
  }



}

@media (max-width: 959px) {

  .overview-header {
    font-size: clamp(24px, 5vmin, 40px);
    -webkit-text-stroke: clamp(1px, 0.3vmin, 3px) #ffffff;
    margin-top: clamp(12px, 3vmin, 24px);
  }

  .overview-small-header {
    font-size: clamp(10px, 2vmin, 14px);
    padding-left: clamp(12px, 4vmin, 40px);
    padding-right: clamp(12px, 4vmin, 40px);
  }

  .overview-main {
    margin: clamp(8px, 2vmin, 16px);
    padding: clamp(12px, 3vmin, 24px);
    border-radius: clamp(12px, 4vmin, 32px);
  }

  .overview-mini-header {
    font-size: clamp(14px, 3.5vmin, 24px);
  }

  .overview-title {
    font-size: clamp(12px, 2.5vmin, 18px);
    margin-top: clamp(8px, 2vmin, 16px) !important;
  }

  .overview-title-mini {
    font-size: clamp(9px, 1.8vmin, 12px) !important;
  }

  .overview-second-header {
    font-size: clamp(11px, 2.2vmin, 16px) !important;
  }

  .overview-main p {
    font-size: clamp(11px, 2.2vmin, 16px);
  }
}

@media (max-width: 480px) {

  .overview-header {
    font-size: clamp(22px, 6vmin, 36px);
    -webkit-text-stroke: clamp(1px, 0.4vmin, 2px) #ffffff;
  }

  .overview-small-header {
    font-size: clamp(9px, 2.5vmin, 13px);
    padding-left: clamp(8px, 3vmin, 20px);
    padding-right: clamp(8px, 3vmin, 20px);
  }

  .overview-main {
    margin: clamp(6px, 2vmin, 12px);
    padding: clamp(10px, 3vmin, 20px);
    border-radius: clamp(10px, 4vmin, 24px);
    width: calc(100% - clamp(12px, 4vmin, 24px));
    box-sizing: border-box;
    margin-bottom: 2rem;
  }

  .overview-mini-header {
    font-size: clamp(13px, 3.8vmin, 20px);
    text-align: center;
  }

  .overview-title {
    font-size: clamp(11px, 3vmin, 16px);
    margin-top: clamp(6px, 2vmin, 12px) !important;
  }

  .overview-title-mini {
    font-size: clamp(8px, 2vmin, 11px) !important;
  }

  .overview-second-header {
    font-size: clamp(10px, 2.5vmin, 14px) !important;
    gap: clamp(4px, 1.5vmin, 8px);
  }

  .overview-main p {
    font-size: clamp(10px, 2.5vmin, 14px);
    line-height: 1.6;
  }

  /* 音符SVGをスマホ幅に合わせてリサイズ */
  .overview-music-bg {
    width: 200%;
    left: -50%;
  }
}

@media (max-width: 480px) {

  .info-entry {
    flex-direction: column;  /* 横並び → 縦積みに */
    align-items: center;
  }

  .info-image {
    border-radius: clamp(6px, 2vmin, 12px);
    width: 100%;
    height: auto;
    margin-bottom: clamp(8px, 2vmin, 16px);
  }

  .info-item {
    width: 100%;
    margin-left: 0;
  }

  .info-date {
    font-size: clamp(10px, 2.5vmin, 13px);
  }

  .info-title {
    font-size: clamp(13px, 3.5vmin, 18px);
  }

  .info-body {
    font-size: clamp(11px, 3vmin, 14px);
  }
}

/* 4K support for newer shared components. */
@media screen and (min-width: 2560px) {
  .site-legal-footer {
    gap: clamp(20px, 0.8vw, 32px);
    padding: clamp(48px, 2vw, 80px) clamp(40px, 1.5vw, 60px);
    font-size: clamp(24px, 0.8vw, 32px);
  }

  .site-legal-links {
    gap: clamp(24px, 1vw, 40px);
  }

  .legal-page {
    padding: clamp(220px, 8vh, 320px) clamp(80px, 4vw, 160px) clamp(120px, 5vh, 200px);
  }

  .legal-document {
    width: min(76vw, 2200px);
    padding: clamp(72px, 3vw, 120px);
    border-width: 4px;
    border-radius: clamp(28px, 1.2vw, 48px);
    font-size: clamp(28px, 0.95vw, 38px);
    line-height: 2;
  }

  .legal-document-header {
    margin-bottom: clamp(64px, 2.5vw, 100px);
  }

  .legal-document-header h1 {
    margin: clamp(18px, 0.8vw, 32px) 0;
    font-size: clamp(64px, 2.2vw, 88px);
  }

  .legal-document-en {
    font-size: clamp(24px, 0.8vw, 32px);
  }

  .legal-document section {
    margin-top: clamp(56px, 2.2vw, 88px);
  }

  .legal-document h2 {
    margin-bottom: clamp(24px, 1vw, 40px);
    padding-bottom: clamp(16px, 0.7vw, 28px);
    border-bottom-width: 3px;
    font-size: clamp(40px, 1.35vw, 54px);
  }

  .operation-category-badge {
    margin-bottom: clamp(18px, 0.8vw, 32px);
    padding: clamp(10px, 0.4vw, 16px) clamp(24px, 1vw, 40px);
    font-size: clamp(24px, 0.8vw, 32px);
  }

  .fanclub-cropper-wrapper {
    width: min(100%, 960px);
    margin: clamp(24px, 1vw, 40px) auto;
    padding: clamp(20px, 0.8vw, 32px);
    border-width: 4px;
    border-radius: clamp(24px, 1vw, 40px);
  }

  .fanclub-cropper-wrapper #cropper-image,
  .fanclub-cropper-wrapper .cropper-container {
    max-height: min(56vh, 820px);
  }

  .fanclub-crop-help {
    margin: clamp(20px, 0.8vw, 32px) clamp(8px, 0.3vw, 12px) 4px;
    font-size: clamp(26px, 0.85vw, 34px);
  }

  .info-video-wrapper {
    max-width: clamp(900px, 30vw, 1200px);
    border-radius: clamp(20px, 0.8vw, 32px);
  }

  .membership-view-tabs {
    margin-top: clamp(32px, 1.2vw, 48px);
  }

  .membership-view-tab,
  .membership-view- {
    min-height: clamp(64px, 2.2vw, 88px);
    padding: clamp(14px, 0.6vw, 24px) clamp(28px, 1.2vw, 48px);
    font-size: clamp(26px, 0.85vw, 34px);
  }

  .membership-content-empty-title {
    font-size: clamp(40px, 1.35vw, 54px);
  }

  .membership-content-empty-text {
    font-size: clamp(26px, 0.9vw, 36px);
  }

  .member-card-grid {
    width: min(86vw, 2800px);
    gap: clamp(36px, 1.5vw, 60px);
    padding: clamp(40px, 1.5vw, 60px);
  }

  .member-card {
    border-width: 3px;
    border-radius: clamp(28px, 1.1vw, 44px);
  }

  .member-card-body {
    gap: clamp(16px, 0.7vw, 28px);
    padding: clamp(32px, 1.3vw, 52px);
  }

  .member-card-date {
    font-size: clamp(22px, 0.75vw, 30px);
  }

  .member-card-title {
    font-size: clamp(30px, 1vw, 40px);
  }

  .member-card-text {
    font-size: clamp(25px, 0.85vw, 34px);
  }

  .member-lightbox {
    padding: clamp(48px, 2vw, 80px);
  }

  .member-lightbox-inner {
    width: min(76vw, 2000px);
    border-radius: clamp(28px, 1.2vw, 48px);
  }

  .member-lightbox-body {
    gap: clamp(24px, 1vw, 40px);
    padding: clamp(48px, 2vw, 80px);
  }

  .member-lightbox-date {
    font-size: clamp(24px, 0.8vw, 32px);
  }

  .member-lightbox-title {
    font-size: clamp(38px, 1.3vw, 52px);
  }

  .member-lightbox-text {
    font-size: clamp(27px, 0.9vw, 36px);
  }

  .member-lightbox-close {
    top: clamp(32px, 1.3vw, 52px);
    right: clamp(32px, 1.3vw, 52px);
    width: clamp(72px, 2.5vw, 100px);
    height: clamp(72px, 2.5vw, 100px);
    font-size: clamp(34px, 1.2vw, 48px);
  }

  .confirm-modal {
    padding: clamp(48px, 2vw, 80px);
  }

  .confirm-modal-inner {
    width: min(68vw, 1500px);
    padding: clamp(56px, 2.5vw, 96px);
    border-radius: clamp(28px, 1.2vw, 48px);
  }

  .confirm-modal-title {
    margin-bottom: clamp(36px, 1.5vw, 60px);
    font-size: clamp(40px, 1.35vw, 54px);
  }

  .confirm-modal-list {
    gap: clamp(20px, 0.8vw, 32px) clamp(36px, 1.5vw, 60px);
    margin-bottom: clamp(36px, 1.5vw, 60px);
    font-size: clamp(26px, 0.9vw, 36px);
  }

  .confirm-modal-warning {
    margin-bottom: clamp(36px, 1.5vw, 60px);
    padding: clamp(24px, 1vw, 40px) clamp(32px, 1.3vw, 52px);
    border-left-width: 6px;
    border-radius: clamp(10px, 0.5vw, 20px);
    font-size: clamp(24px, 0.8vw, 32px);
  }

  .confirm-modal-actions {
    gap: clamp(24px, 1vw, 40px);
  }

  .confirm-modal-cancel,
  .confirm-modal-ok,
  .confirm-modal-delete {
    min-height: clamp(72px, 2.5vw, 100px);
    padding: clamp(18px, 0.8vw, 32px) clamp(40px, 1.6vw, 64px);
    border-radius: clamp(16px, 0.7vw, 28px);
    font-size: clamp(26px, 0.9vw, 36px);
  }

  .membership-delete-btn {
    padding: clamp(18px, 0.8vw, 32px) clamp(36px, 1.5vw, 60px);
    border-width: 3px;
    font-size: clamp(24px, 0.8vw, 32px);
  }
}

/* iPad and tablet responsive layout. */
@media screen and (min-width: 700px) and (max-width: 1366px) {
  .top-bar {
    height: clamp(56px, 6vw, 72px);
  }

  .top-bar-logo {
    width: clamp(96px, 11vw, 132px);
    height: clamp(48px, 5.5vw, 66px);
    margin: 4px clamp(14px, 2vw, 28px);
  }

  .hamburger-btn {
    display: flex;
    margin-right: clamp(16px, 2.5vw, 32px);
    padding: 10px;
  }

  .hamburger-btn span {
    width: clamp(28px, 3vw, 36px);
    height: 3px;
  }

  .top-ber-url-list {
    display: none;
  }

  .top-ber-url-list.open {
    position: fixed;
    top: clamp(56px, 6vw, 72px);
    right: 0;
    left: auto;
    display: flex;
    width: min(52vw, 520px);
    max-height: calc(100dvh - clamp(56px, 6vw, 72px));
    flex-direction: column;
    gap: 0;
    padding: clamp(20px, 3vw, 32px);
    overflow-y: auto;
    background: #ffd8ecf5;
    z-index: 150;
  }

  .top-ber-url-list.open a {
    display: block;
    margin: 0;
    padding: clamp(14px, 2vw, 20px) 4px;
    border-bottom: 1px solid #ffffff66;
    font-size: clamp(18px, 2.2vw, 25px);
    color: #ffffff;
  }

  .main-contents {
    height: clamp(620px, 76vh, 900px);
    min-height: 620px;
  }

  .main-contents-image-umi::before {
    width: clamp(500px, 58vw, 760px);
    height: clamp(500px, 58vw, 760px);
    left: 30%;
    margin-left: 0;
  }

  .main-contents-image-maid {
    width: clamp(500px, 63vw, 820px);
    height: clamp(560px, 70vw, 900px);
    margin-left: clamp(12px, 3vw, 42px);
    object-fit: contain;
  }

  .main-contents-logo {
    width: clamp(230px, 25vw, 340px);
    height: clamp(250px, 28vw, 380px);
    margin: clamp(72px, 8vw, 110px) clamp(40px, 6vw, 90px) 0 0;
    object-fit: contain;
  }

  .sub-bar-link-main {
    height: clamp(88px, 10vw, 124px);
  }

  .sub-bar-link-main a {
    min-width: 20%;
    height: clamp(76px, 9vw, 112px);
  }

  .sub-bar-link-main img {
    width: clamp(130px, 18vw, 220px);
    height: auto;
  }

  .story {
    height: auto;
    min-height: clamp(620px, 74vh, 900px);
    padding-bottom: clamp(36px, 5vw, 64px);
  }

  .story-illustration {
    width: min(120vw, 1500px);
    height: min(78vh, 900px);
    object-fit: contain;
  }

  .story-main p {
    max-width: min(84vw, 980px);
    font-size: clamp(17px, 2vw, 24px);
    line-height: 1.8;
    text-align: center;
  }

  .cast-main {
    height: auto;
    min-height: clamp(700px, 82vh, 980px);
    padding: clamp(24px, 3vw, 44px) 0;
  }

  .cast-main-card {
    width: min(96vw, 1260px);
    margin-inline: auto;
  }

  .cast-main-img {
    width: auto;
    max-width: 48vw;
    height: clamp(520px, 62vw, 820px);
    margin-right: clamp(18px, 3vw, 42px);
    object-fit: contain;
  }

  .cast-main-text-back {
    width: clamp(300px, 36vw, 480px);
    padding: clamp(20px, 3vw, 38px);
  }

  .cast-main-text-name {
    font-size: clamp(32px, 4vw, 52px);
  }

  .cast-main-text-namefull,
  .cast-main-text-status,
  .cast-main-text-sub {
    font-size: clamp(15px, 1.8vw, 23px);
  }

  .cast-main-header button {
    font-size: clamp(17px, 2vw, 24px);
  }

  .overview-main {
    width: min(90vw, 1080px);
    margin-inline: auto;
    padding: clamp(32px, 5vw, 68px);
    border-radius: clamp(32px, 5vw, 72px);
  }

  .overview-header {
    font-size: clamp(46px, 6vw, 76px);
  }

  .overview-small-header,
  .overview-main p,
  .overview-second-header {
    font-size: clamp(16px, 2vw, 24px) !important;
    line-height: 1.8;
  }

  .movie {
    height: auto;
    min-height: clamp(760px, 86vh, 1050px);
    padding: clamp(36px, 5vw, 70px) 0;
  }

  .movie-main {
    width: min(92vw, 1180px);
    justify-content: center;
    align-items: center;
    gap: clamp(28px, 4vw, 52px);
    margin-inline: auto;
  }

  .YouTubes-YouTube {
    width: min(58vw, 720px);
  }

  .movie-main-text {
    width: min(78vw, 720px);
    flex: 1 1 340px;
  }

  .movie-main-header {
    font-size: clamp(22px, 2.8vw, 34px);
  }

  .movie-main-sub,
  .movie-main a {
    font-size: clamp(17px, 2vw, 24px);
    line-height: 1.7;
  }

  .info-page > .story-header-svg {
    width: max(100%, 1100px);
  }

  .info-entry {
    width: min(92vw, 1120px);
    max-width: none;
    padding: clamp(18px, 3vw, 36px);
    gap: clamp(22px, 3vw, 42px);
  }

  .info-image {
    width: clamp(300px, 38vw, 480px);
    height: clamp(170px, 21vw, 270px);
    object-fit: cover;
  }

  .info-date {
    font-size: clamp(14px, 1.7vw, 20px);
  }

  .info-title {
    font-size: clamp(20px, 2.4vw, 29px);
  }

  .info-body {
    font-size: clamp(16px, 1.9vw, 23px);
    line-height: 1.7;
  }

  .collaboration-entry {
    width: min(94vw, 1180px);
    justify-content: center;
    gap: clamp(24px, 4vw, 52px);
  }

  .collaboration-image {
    width: min(52vw, 650px);
    height: auto;
    max-height: 720px;
    object-fit: contain;
  }

  .collaboration-item {
    width: min(38vw, 460px);
    height: auto;
    min-height: clamp(400px, 50vw, 620px);
    padding: clamp(24px, 3vw, 42px);
  }

  .collaboration-date,
  .collaboration-body,
  .collaboration-link {
    font-size: clamp(16px, 1.8vw, 22px);
  }

  .collaboration-title {
    font-size: clamp(26px, 3vw, 38px);
  }

  .music-link {
    width: min(88vw, 1040px);
  }

  .membership-preview {
    padding-inline: clamp(18px, 3vw, 42px);
  }

  .membership-card,
  .membership-card-wrapper {
    width: min(88vw, 760px);
  }

  .membership-card-logo {
    width: clamp(160px, 23vw, 240px);
    height: clamp(220px, 32vw, 330px);
  }

  .membership-card-body {
    width: auto;
    flex: 1;
  }

  .membership-card-label {
    width: clamp(100px, 14vw, 150px);
    font-size: clamp(14px, 1.8vw, 20px);
  }

  .membership-card-value,
  .fanclub-avatar-btn {
    font-size: clamp(16px, 2vw, 23px);
  }

  .membership-card-title {
    font-size: clamp(22px, 2.8vw, 32px);
  }

  .membership-card-title-mini,
  .membership-card-footer {
    font-size: clamp(12px, 1.5vw, 18px);
  }

  .membership-view-tab,
  .membership-view- {
    font-size: clamp(16px, 2vw, 23px);
  }

  .membership-content-empty {
    width: min(82vw, 760px);
  }

  .fanclub-form {
    width: min(76vw, 640px);
    gap: clamp(18px, 2.5vw, 30px);
    padding: clamp(30px, 4vw, 52px);
  }

  .fanclub-form-group label,
  .fanclub-service,
  .fanclub-links a {
    font-size: clamp(16px, 1.9vw, 22px);
  }

  .fanclub-form-group input,
  .fanclub-select,
  .fanclub-form-actions input[type="submit"],
  .fanclub-form-actions button {
    min-height: 54px;
    font-size: clamp(17px, 2vw, 23px);
  }

  .fanclub-cropper-wrapper {
    width: min(72vw, 680px);
  }

  .legal-page {
    padding: clamp(120px, 12vh, 170px) clamp(32px, 5vw, 72px) clamp(64px, 8vh, 110px);
  }

  .legal-document {
    width: min(88vw, 1080px);
    padding: clamp(40px, 5vw, 72px);
    font-size: clamp(16px, 1.8vw, 21px);
  }

  .member-card-grid {
    width: min(94vw, 1180px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(20px, 3vw, 36px);
  }

  .member-card-body {
    padding: clamp(20px, 2.5vw, 32px);
  }

  .member-card-title {
    font-size: clamp(19px, 2.2vw, 27px);
  }

  .member-card-text,
  .member-card-date {
    font-size: clamp(15px, 1.7vw, 21px);
  }

  .member-lightbox-inner {
    width: min(88vw, 1050px);
  }

  .member-lightbox-body {
    padding: clamp(28px, 4vw, 52px);
  }

  .confirm-modal-inner {
    width: min(76vw, 720px);
    padding: clamp(32px, 4vw, 54px);
  }

  .confirm-modal-title {
    font-size: clamp(24px, 3vw, 34px);
  }

  .confirm-modal-list,
  .confirm-modal-warning {
    font-size: clamp(16px, 1.8vw, 22px);
  }

  .confirm-modal-cancel,
  .confirm-modal-ok,
  .confirm-modal-delete {
    min-height: 52px;
    padding: 12px clamp(24px, 3vw, 38px);
    font-size: clamp(16px, 1.8vw, 22px);
  }

  .site-legal-footer {
    padding: clamp(28px, 4vw, 48px);
    font-size: clamp(15px, 1.7vw, 20px);
  }

  .site-legal-links {
    gap: clamp(14px, 2vw, 24px);
  }
}

@media screen and (min-width: 1100px) and (max-width: 1366px) {
  .member-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}


/* Keep page headers below the responsive fixed top bar. */
.info-page > .story-header-svg {
  margin-top: calc(1vw + 2vh + 8px);
}

@media (max-width: 480px) {
  .info-page > .story-header-svg {
    margin-top: clamp(6px, 2vw, 10px);
  }
}


/* Membership action buttons on phones. */
@media (max-width: 480px) {
  .membership-actions {
    width: calc(100% - 12px);
    box-sizing: border-box;
    flex-direction: row;
    align-items: stretch;
    flex-wrap: nowrap;
    gap: 4px;
    margin: 12px auto;
    padding: 0 4px;
  }

  .membership-actions .membership-edit-btn,
  .membership-actions .membership-logout-btn,
  .membership-actions .membership-delete-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    min-height: 34px;
    box-sizing: border-box;
    margin: 0;
    padding: 5px 2px;
    font-family: fot-seurat-pron, sans-serif;
    font-size: clamp(8px, 2.5vw, 11px);
    line-height: 1.4;
    text-align: center;
    white-space: nowrap;
  }

  .membership-actions .membership-logout-btn {
    flex-grow: 0.8;
  }

  .membership-actions .membership-delete-btn {
    flex-grow: 1.45;
    white-space: normal;
    overflow-wrap: anywhere;
    font-size: clamp(8px, 2.3vw, 10px);
    line-height: 1.15;
  }
}


.footer-mobile-break {
  display: none;
}

@media (max-width: 480px) {
  .footer-mobile-break {
    display: block;
  }
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */
