@import url('https://fonts.googleapis.com/earlyaccess/mplus1p.css');

@charset "utf-8";

/* ============================================================
   Grand Theme — Premium Corporate Template for Goope
   ============================================================ */

/* --- CSS Variables --- */
:root {
  --accent: #742a3b;
  --accent-hover: #5a1f2d;
  --accent-soft: #f5ebed;
  --accent-rgb: 116, 42, 59;
  --text: #1a1a1a;
  --text-light: #555;
  --text-muted: #888;
  --bg: #ffffff;
  --bg-alt: #faf7f8;
  --bg-dark: var(--accent);
  --border: #e5e7eb;
  --radius: 8px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.09);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.1);
  --font-sans: 'Inter', 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Inter', 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --container: 1100px;
  --section-gap: 100px;
  --header-height: 72px;
}

/* --- Reset --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'M Plus 1p';
  font-size: 15px;
  line-height: 1.8;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--accent-hover); }

img { max-width: 100%; height: auto; vertical-align: middle; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}


/* ============================================================
   SCROLL REVEAL ANIMATION
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-child {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-child.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- #1 Clip Reveal: セクションタイトルの演劇的出現 ---
   .reveal の is-visible 発火に連動してタイトルが
   overflow clip + 上スライドでシャープに現れる
   ------------------------------------------------- */
.reveal .section-title {
  overflow: hidden;
  padding-bottom: 4px; /* descender clipping 防止 */
}
.reveal .section-title-ja {
  display: block;
  transform: translateY(110%);
  opacity: 0;
  transition: transform 0.95s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.6s ease;
}
.reveal.is-visible .section-title-ja {
  transform: translateY(0);
  opacity: 1;
}


/* ============================================================
   SCROLL PROGRESS BAR
   ============================================================ */
.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  pointer-events: none;
  overflow: hidden;
}
.scroll-progress__bar {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(255,255,255,0.55), rgba(255,255,255,0.95));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.12s linear;
  will-change: transform;
}


/* ============================================================
   HEADER
   ============================================================ */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--accent);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
#header.is-scrolled {
  box-shadow: 0 1px 16px rgba(0,0,0,0.25);
}
#header.is-hidden {
  transform: translateY(-100%);
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 12px 24px;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.header-brand {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
}
#header .logo {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
#header .logo a {
  display: inline-flex;
  align-items: center;
  color: #fff;
  white-space: nowrap;
}
#header .logo img {
  display: block;
  max-height: 40px;
  width: auto;
}
#header .logo img[src*="_m."] {
  max-height: 32px;
}
#header .logo img[src*="_s."] {
  max-height: 24px;
}
.header-description {
  font-size: 11px;
  color: rgba(255,255,255,0.7);
  max-width: 360px;
  letter-spacing: 0.01em;
  line-height: 1.5;
  margin-top: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  white-space: normal;
  word-break: break-word;
}
.header-description:empty { display: none; }

/* Navigation */
.navi_list {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.navi_list a {
  color: rgba(255,255,255,0.8);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  position: relative;
  padding-bottom: 2px;
  white-space: nowrap;
}
.navi_list a:hover { color: #fff; }

/* Priority+ ナビゲーション「その他」ドロップダウン */
.navi-more {
  position: relative;
  display: flex;
  align-items: center;
}
.navi-more-btn {
  display: inline-flex !important;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  color: rgba(255,255,255,0.65);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  white-space: nowrap;
  padding: 5px 13px !important;
  border: 1.5px solid rgba(255,255,255,0.35);
  border-radius: 100px;
  line-height: 1;
  transition: color var(--transition), border-color var(--transition);
}
.navi-more:hover .navi-more-btn {
  color: #fff;
  border-color: rgba(255,255,255,0.7);
}
.navi-more-btn::after { display: none !important; }
.navi-more-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  padding-top: 16px; /* ホバー維持のためのギャップ */
  z-index: 200;
}
.navi-more-dropdown-inner {
  background: var(--bg);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius);
  padding: 8px 0;
  min-width: 160px;
  list-style: none;
  border: 1px solid var(--border);
}
.navi-more:hover .navi-more-dropdown { display: block; }
.navi-more-dropdown > li { list-style: none; }
.navi-more-dropdown a {
  display: block;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
}
.navi-more-dropdown a::after { display: none !important; }
.navi-more-dropdown a:hover { background: var(--bg-alt); color: var(--accent); }
.navi_list a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: rgba(255,255,255,0.9);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.navi_list a:hover::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.navi_list .current > a::after {
  transform: scaleX(1);
  transform-origin: left center;
}

/* Sub Navigation */
.sub_navi {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--bg);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius);
  padding: 12px 0;
  min-width: 180px;
  z-index: 100;
}
.navi_list > li { position: relative; }
.navi_list > li:hover .sub_navi,
.navi_list > li.sub_navi_open .sub_navi { display: block; }
.sub_navi li { list-style: none; }
.sub_navi a {
  display: block;
  padding: 8px 20px;
  font-size: 13px;
  white-space: nowrap;
  color: var(--text);
}
.sub_navi a::after { display: none; }
.sub_navi a:hover { background: var(--bg-alt); color: var(--accent); }

.sub_navi_toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

/* Hamburger */
.mobile-toggle { display: none; cursor: pointer; position: relative; z-index: 1001; }
.navi_trigger {
  width: 24px;
  height: 18px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hamburger-line {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: 1px;
  transition: all 0.3s ease;
}
.navi_trigger.is-active .hamburger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.navi_trigger.is-active .hamburger-line:nth-child(2) {
  opacity: 0;
}
.navi_trigger.is-active .hamburger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Content offset for fixed header */
#content {
  padding-top: var(--header-height);
}


/* ============================================================
   HERO / SLIDESHOW
   ============================================================ */
.section-hero {
  position: relative;
  overflow: hidden;
  margin-top: calc(-1 * var(--header-height)); /* fixed headerの分だけ引き上げてギャップを消す */
}
.section-hero .rslides {
  position: relative;
  width: 100%;
  height: 70vh;
}
.section-hero .article {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 800ms ease-in-out;
}
.section-hero .article.active {
  opacity: 1;
  pointer-events: auto;
}
.section-hero .slide_image_wrap {
  display: block;
  width: 100%;
  height: 100%;
}
.section-hero .slide_image_wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.section-hero .caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px;
  background: linear-gradient(transparent, rgba(0,0,0,0.5));
}
.section-hero .caption_txt {
  max-width: var(--container);
  margin: 0 auto;
}
.section-hero .caption_txt a {
  display: inline-block;
  max-width: 50%;
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.5;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
  word-break: auto-phrase;
}

/* Indicators */
.slideshow-indicators {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 20px 0;
}
.slide-indicator {
  width: 32px;
  height: 3px;
  background: var(--border);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  border-radius: 2px;
}
.slide-indicator.active {
  background: var(--accent);
  width: 48px;
}


/* ============================================================
   SECTION COMMON
   ============================================================ */
.section {
  padding: var(--section-gap) 0;
}
.section-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  --section-pad: 24px;
}

/* Section Title */
.section-title {
  text-align: center;
  margin-bottom: 56px;
  position: relative;
}
.section-title-ja {
  display: block;
  font-family: 'M Plus 1p';
  font-size: 40px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text);
  line-height: 1.2;
  padding-bottom: 22px;
  position: relative;
}
.section-title-ja::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 36px;
  height: 1px;
  background: var(--accent);
  opacity: 0.55;
  transform: translateX(-50%);
}
.reveal .section-title-ja::after {
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform 0.95s cubic-bezier(0.16, 1, 0.3, 1) 0.25s;
}
.reveal.is-visible .section-title-ja::after {
  transform: translateX(-50%) scaleX(1);
}
/* ダーク背景セクション用 */
.section-about .section-title-ja::after,
.section-contact-cta .section-title-ja::after {
  background: rgba(255, 255, 255, 0.65);
  opacity: 1;
}


/* ============================================================
   TOP SECTIONS (nav順でflexで並べ替え)
   ============================================================ */
.top-sections {
  display: flex;
  flex-direction: column;
}

/* ============================================================
   MISSION SECTION
   ============================================================ */
.section-mission {
  padding: 40px 0 80px;
  text-align: center;
  /* #6 Gradient Mesh: 柔らかい光の浮遊感 */
  background:
    radial-gradient(ellipse 80% 60% at 12% 60%, rgba(26,54,93,0.07) 0%, transparent 58%),
    radial-gradient(ellipse 60% 70% at 88% 20%, rgba(26,54,93,0.05) 0%, transparent 52%),
    radial-gradient(ellipse 50% 50% at 55% 95%, rgba(26,54,93,0.04) 0%, transparent 48%),
    var(--bg-alt);
}
.mission-text {
  max-width: 720px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 2;
  color: var(--text);
}


/* ============================================================
   NEWS SECTION (Top)
   ============================================================ */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.news-item {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 0;
  background: var(--bg);
  color: var(--text);
  transition: background var(--transition);
}
.news-item:hover {
  background: var(--bg-alt);
  color: var(--text);
}
.news-meta {
  display: flex;
  align-items: baseline;
  gap: 20px;
  flex: 1;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.news-item:hover .news-meta {
  transform: translateX(8px);
}
.news-date {
  font-size: 14px;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.date-sep { margin: 0 1px; }
.news-title {
  font-size: 14px;
  font-weight: 500;
}
.news-photo {
  flex-shrink: 0;
  width: 80px;
  height: 60px;
  overflow: hidden;
  border-radius: var(--radius);
}
.news-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Btn More */
.section-cta {
  text-align: center;
  margin-top: 40px;
}
.btn-more {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent);
  border: 1.5px solid var(--accent);
  padding: 12px 40px;
  border-radius: 100px;
  overflow: hidden;
  transition: color 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-more::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: -1;
}
.btn-more::after {
  content: '';
  width: 14px;
  height: 1px;
  background: currentColor;
  position: relative;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-more:hover {
  color: #fff;
}
.btn-more:hover::before {
  transform: scaleX(1);
}
.btn-more:hover::after {
  transform: translateX(4px);
}


/* ============================================================
   ABOUT SECTION (Top)
   ============================================================ */
.section-about {
  /* #6 Gradient Mesh: ネイビーの中に光のグラデを重ねる */
  background:
    radial-gradient(ellipse 70% 60% at 85% 25%, rgba(255,255,255,0.10) 0%, transparent 55%),
    radial-gradient(ellipse 55% 75% at 10% 80%, rgba(255,255,255,0.07) 0%, transparent 50%),
    radial-gradient(ellipse 40% 40% at 50% 50%, rgba(255,255,255,0.04) 0%, transparent 45%),
    var(--accent);
  color: #fff;
}
.section-about .section-title-ja { color: #fff; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}
.about-grid:has(.about-map) {
  grid-template-columns: 1fr 1fr;
}
.about-map iframe {
  width: 100%;
  height: 480px;
  border: 0;
  border-radius: var(--radius);
}
.about-summary table {
  width: 100%;
  border-collapse: collapse;
}
.about-summary th,
.about-summary td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  font-size: 14px;
  text-align: left;
  color: #fff;
}
.about-summary th {
  width: 120px;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  white-space: nowrap;
}
.about-summary a { color: rgba(255,255,255,0.85); text-decoration: underline; }


/* ============================================================
   VOICE SECTION (Top) — フォトアルバム機能をお客様の声に転用
   ============================================================ */
.section-voice {
  /* #6 Gradient Mesh */
  background:
    radial-gradient(ellipse 70% 55% at 8% 40%, rgba(26,54,93,0.06) 0%, transparent 55%),
    radial-gradient(ellipse 55% 65% at 92% 70%, rgba(26,54,93,0.04) 0%, transparent 50%),
    var(--bg-alt) !important;
}
.voice-grid {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 12px;
  margin: 0 calc(-1 * var(--section-pad, 40px));
  padding-left: var(--section-pad, 40px);
  padding-right: var(--section-pad, 40px);
}
.voice-grid::-webkit-scrollbar { height: 4px; }
.voice-grid::-webkit-scrollbar-track { background: var(--border); border-radius: 2px; }
.voice-grid::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 2px; }
.voice-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 32px 28px 24px;
  box-shadow: var(--shadow-sm);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
  width: 320px;
  scroll-snap-align: start;
}
.voice-card:hover {
  box-shadow: 0 20px 44px -18px rgba(var(--accent-rgb), 0.30),
              0 6px 18px -10px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}
.voice-card-quote {
  font-size: 56px;
  line-height: 1;
  color: var(--accent);
  opacity: 0.2;
  font-family: 'M Plus 1p';
  position: absolute;
  top: 16px;
  left: 20px;
}
.voice-card-text {
  font-size: 14px;
  line-height: 1.9;
  color: var(--text-light);
  padding-top: 20px;
  flex: 1;
}
.voice-card-text img { display: none; }
.voice-card-author {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  text-align: center;
}
.voice-card-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg-alt);
}
.voice-card-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* トップの voice-card クリックでフォトアルバム一覧へ遷移 */
.voice-grid .voice-card.is-clickable {
  cursor: pointer;
}
.voice-grid .voice-card.is-clickable:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.voice-card-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.6;
}

/* ============================================================
   GALLERY SECTION (Top)
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  list-style: none;
}
.gallery-item {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius);
}
.gallery-item a {
  display: block;
  width: 100%;
  height: 100%;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img {
  transform: scale(1.05);
}


/* ============================================================
   CONTACT CTA SECTION (Top)
   ============================================================ */
.section-contact-cta {
  /* #6 Gradient Mesh: ダーク背景にエレガントな光の揺らぎ */
  background:
    radial-gradient(ellipse 65% 80% at 20% 30%, rgba(255,255,255,0.09) 0%, transparent 58%),
    radial-gradient(ellipse 55% 55% at 78% 75%, rgba(255,255,255,0.06) 0%, transparent 50%),
    radial-gradient(ellipse 35% 45% at 60% 10%, rgba(255,255,255,0.05) 0%, transparent 45%),
    var(--bg-dark) !important;
  color: #fff;
}
.section-contact-cta .section-title-ja { color: #fff; }

.contact-cta-form {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}
.section-contact-cta .btn-submit {
  background: #fff;
  color: var(--accent);
  border: 1.5px solid #fff;
  margin-top: 0;
  font-weight: 700;
}
.section-contact-cta .btn-submit:hover {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.8);
  box-shadow: none;
}


/* ============================================================
   PAGE COMMON
   ============================================================ */

/* ページヒーローヘッダー（全内部ページ共通） */
.page-hero {
  /* #6 Gradient Mesh: 各ページヒーローにも光の揺らぎを */
  background:
    radial-gradient(ellipse 70% 80% at 18% 35%, rgba(255,255,255,0.08) 0%, transparent 55%),
    radial-gradient(ellipse 55% 60% at 82% 70%, rgba(255,255,255,0.06) 0%, transparent 48%),
    radial-gradient(ellipse 40% 50% at 55% 15%, rgba(255,255,255,0.05) 0%, transparent 44%),
    var(--bg-dark);
  margin-top: calc(-1 * var(--header-height));
  padding: calc(var(--header-height) + 80px) 0 80px;
  text-align: center;
}
.page-hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* #1 ページロードアニメーション (page-hero タイトル) */
@keyframes heroSlideUp {
  from { transform: translateY(22px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

.page-title {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  margin: 0;
  animation: heroSlideUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.22s both;
}

.page-content {
  padding: 72px 0 100px;
}
.page-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* TextField (user content) */
.textfield {
  line-height: 1.9;
  font-size: 15px;
}
.textfield p { margin-bottom: 1em; }
.textfield img { border-radius: var(--radius); margin: 1em 0; }
.textfield a { text-decoration: underline; }
.textfield a:hover { text-decoration: none; }


/* ============================================================
   INFO PAGE
   ============================================================ */
.info-article {
  display: flex;
  gap: 48px;
  align-items: baseline;
  padding: 36px 0 36px 24px;
  border-bottom: 1px solid var(--border);
  border-left: 2px solid transparent;
  transition: border-color var(--transition), background var(--transition);
}
.info-article:first-child { padding-top: 0; }
.info-article:hover {
  border-left-color: var(--accent);
}
.info-date {
  flex-shrink: 0;
  width: 110px;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  line-height: 1.6;
}
.info-body {
  flex: 1;
  min-width: 0;
}
.info-title {
  margin-bottom: 0;
}
.info-title a {
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.01em;
  line-height: 1.6;
  transition: color var(--transition);
}
.info-title a:hover { color: var(--accent); }
.info-photo {
  margin: 20px 0 0;
}
.info-photo img {
  border-radius: var(--radius);
  max-width: 560px;
}


/* ============================================================
   PHOTO PAGE
   ============================================================ */
.album { margin-bottom: 48px; }
.album-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.album-title a { color: var(--text); }

#index .album {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
#index .album-title { width: 100%; }
.album-thumb {
  width: calc(25% - 6px);
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius);
}
.album-thumb a {
  display: block;
  width: 100%;
  height: 100%;
}
.album-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.album-thumb:hover img { transform: scale(1.05); }

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.photo-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.photo-card:hover {
  box-shadow: 0 18px 40px -16px rgba(var(--accent-rgb), 0.28),
              0 6px 16px -8px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}
.photo-card-image {
  overflow: hidden;
}
.photo-card-image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.photo-card:hover .photo-card-image img {
  transform: scale(1.05);
}
.photo-card-title {
  font-size: 14px;
  font-weight: 600;
  padding: 16px 16px 4px;
}
.photo-card .textfield { padding: 0 16px; font-size: 13px; }
.photo-card-date {
  padding: 8px 16px 16px;
  font-size: 12px;
  color: var(--text-muted);
}


/* Voice page — グリッドレイアウト（カルーセルのスタイルを上書き） */
.voice-page-album {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  align-items: start;
}
.voice-card-date {
  font-size: 12px;
  color: var(--quiet);
  text-align: center;
  margin-top: 8px;
}
.voice-card-date:empty { display: none; }

.photo-category-section {
  margin-bottom: 56px;
}
.photo-category-section:last-child {
  margin-bottom: 0;
}
/* カテゴリーが1つだけの場合は見出しを非表示 */
.photo-category-section:only-child .photo-category-heading {
  display: none;
}
.photo-category-heading {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--muted);
  padding-bottom: 10px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

/* .autopagerize_page_element の display:flex を上書き（#entries カテゴリー別ページ） */
.voice-page-album.autopagerize_page_element,
#entries .voice-page-album {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  align-items: start;
  flex-direction: unset;
}
.voice-page-album .voice-card {
  width: auto;
  min-width: 0;
  flex-shrink: unset;
  scroll-snap-align: unset;
  cursor: pointer;
}

/* グリッドカード内のテキストを省略（クリックで全文表示） */
.voice-page-album .voice-card-text,
.voice-grid .voice-card-text {
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============================================================
   VOICE MODAL
   ============================================================ */
.voice-modal {
  position: fixed;
  inset: 0;
  z-index: 9900;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.voice-modal.is-open {
  opacity: 1;
  visibility: visible;
}
.voice-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 20, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.voice-modal-dialog {
  position: relative;
  background: var(--bg);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 600px;
  max-height: 88vh;
  overflow-y: auto;
  transform: translateY(24px);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 32px 80px rgba(0,0,0,0.2);
}
.voice-modal.is-open .voice-modal-dialog {
  transform: translateY(0);
}

/* 閉じるボタン */
.voice-modal-close {
  position: sticky;
  top: 0;
  float: right;
  margin: 14px 14px -50px 0;
  width: 38px;
  height: 38px;
  border: none;
  background: var(--bg-muted);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text);
  transition: background var(--transition), color var(--transition);
  z-index: 1;
  flex-shrink: 0;
}
.voice-modal-close:hover {
  background: var(--accent);
  color: #fff;
}

/* モーダル内コンテンツ */
.voice-modal-inner {
  padding: 32px 36px 24px;
  transition: opacity 0.15s ease;
}
.voice-modal-inner.is-fading { opacity: 0; }

/* 詳細：ヒーロー写真（左右フルブリード、上は余白を確保） */
.voice-detail-hero {
  margin: 0 -36px 28px;
  overflow: hidden;
  background: var(--bg-muted);
  border-radius: var(--radius);
}
.voice-detail-hero img {
  width: 100%;
  height: auto;
  display: block;
}
/* 写真なしの場合は非表示 */
.voice-detail-hero:has(img[src=""]),
.voice-detail-hero:has(img:not([src])) { display: none; }

/* 本文なしの場合はクオート・テキストエリア・セパレーターを非表示、コンテンツを縦中央寄せ */
.voice-card:has(.voice-card-text:empty) .voice-card-quote { display: none; }
.voice-card:has(.voice-card-text:empty) .voice-card-text { display: none; }
.voice-card:has(.voice-card-text:empty) .voice-card-author { border-top: none; padding-top: 0; }
.voice-card:has(.voice-card-text:empty) { justify-content: center; }
.voice-card:has(.voice-card-text:empty) .voice-card-avatar { width: 140px; height: 140px; }
.voice-modal-inner:has(.voice-detail-text:empty) .voice-detail-quote { display: none; }

/* フォトタイルモード：本文・タイトルが両方ない場合は写真を全面表示 */
.voice-page-album .voice-card:has(.voice-card-text:empty):has(.voice-card-name:empty),
.voice-grid .voice-card:has(.voice-card-text:empty):has(.voice-card-name:empty) {
  padding: 0;
  overflow: hidden;
  gap: 0;
}
.voice-page-album .voice-card:has(.voice-card-text:empty):has(.voice-card-name:empty) .voice-card-author,
.voice-grid .voice-card:has(.voice-card-text:empty):has(.voice-card-name:empty) .voice-card-author {
  border-top: none;
  padding-top: 0;
}
.voice-page-album .voice-card:has(.voice-card-text:empty):has(.voice-card-name:empty) .voice-card-avatar,
.voice-grid .voice-card:has(.voice-card-text:empty):has(.voice-card-name:empty) .voice-card-avatar {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  border-radius: 0;
  flex-shrink: 0;
}
.voice-page-album .voice-card:has(.voice-card-text:empty):has(.voice-card-name:empty) .voice-card-avatar img,
.voice-grid .voice-card:has(.voice-card-text:empty):has(.voice-card-name:empty) .voice-card-avatar img {
  border-radius: var(--radius-lg);
}

/* 詳細：クオート */
.voice-detail-quote {
  font-size: 72px;
  line-height: 1;
  color: var(--accent);
  opacity: 0.18;
  font-family: 'M Plus 1p';
  margin-bottom: -16px;
}

/* 詳細：本文 */
.voice-detail-text {
  font-size: 16px;
  line-height: 1.9;
  color: var(--text);
  padding-bottom: 24px;
}

/* 詳細：著者 */
.voice-detail-author {
  margin-top: 20px;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  text-align: left !important;
  gap: 16px !important;
}
.voice-detail-author .voice-card-avatar {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
}
.voice-detail-author .voice-card-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

/* フッターナビ */
.voice-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 36px 28px;
  border-top: 1px solid var(--border);
  gap: 12px;
}
.voice-modal-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  min-width: 90px;
  justify-content: center;
}
.voice-modal-nav:hover:not(:disabled) {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.voice-modal-nav:disabled {
  opacity: 0.3;
  cursor: default;
}
.voice-modal-counter {
  font-size: 13px;
  color: var(--text-light);
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
  min-width: 40px;
  text-align: center;
}


/* ============================================================
   INFO PAGE — お知らせ一覧・詳細
   ============================================================ */

/* 記事リストのコンテナ */
.autopagerize_page_element { display: flex; flex-direction: column; gap: 0; }

/* 1投稿アイテム */
.info-article {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 0 40px;
  padding: 48px 0 48px 16px;
  border-bottom: 1px solid var(--border);
}
.info-article:first-child { padding-top: 24px; }
.info-article:last-child { border-bottom: none; }

/* 日付カラム */
.info-date {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
  padding-top: 4px; /* タイトルベースラインに揃える */
  white-space: nowrap;
}
.info-date .date-sep { margin: 0 1px; opacity: 0.5; }

/* コンテンツカラム */
.info-body { display: flex; flex-direction: column; gap: 0; }

/* タイトル */
.info-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.45;
  margin: 0 0 28px;
}
.info-title a {
  color: var(--text);
  transition: color var(--transition);
}
.info-title a:hover { color: var(--accent); }

/* 写真 — テキストとの余白を十分に確保 */
.info-photo {
  margin: 0 0 32px;
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.info-photo:empty { display: none; } /* 写真なしの場合は消す */
.info-photo img {
  display: block;
  width: 100%;
  max-width: 680px;
  height: auto;
  border-radius: var(--radius-lg);
}

/* 本文テキスト */
.info-body .textfield {
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-light);
}
.info-body .textfield p { margin: 0 0 1em; }
.info-body .textfield p:last-child { margin-bottom: 0; }
.info-body .textfield img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  margin: 24px 0;
  display: block;
}

/* レスポンシブ: タブレット以下 */
@media (max-width: 1023px) {
  .info-article {
    grid-template-columns: 100px 1fr;
    gap: 0 28px;
    padding: 40px 0 40px 16px;
  }
}

/* レスポンシブ: モバイル — 縦積み */
@media (max-width: 767px) {
  .info-article {
    display: block;
    padding: 36px 0;
  }
  .info-date {
    margin-bottom: 10px;
  }
  .info-title { font-size: 17px; margin-bottom: 20px; }
  .info-photo { margin-bottom: 24px; }
}


/* ============================================================
   DIARY PAGE — note風カードレイアウト
   ============================================================ */
.grand-theme .p-diary {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.grand-theme .p-diary__unit {
  padding: 0 0 48px;
  margin: 0 0 48px;
  border-bottom: 1px solid var(--border);
}
.grand-theme .p-diary__unit:last-child {
  border-bottom: none;
  margin-bottom: 0;
}


.grand-theme .p-diary__date {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.07em;
  font-variant-numeric: tabular-nums;
  margin: 0 0 10px;
}
.grand-theme .p-diary__title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 12px;
}
.grand-theme .p-diary__title a {
  color: var(--text);
  text-decoration: none;
  transition: color var(--transition);
}
.grand-theme .p-diary__title a:hover { color: var(--accent); }

.grand-theme .p-diary__category {
  margin: 0 0 12px;
}
.grand-theme .p-diary__category a {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 2px;
  padding: 2px 8px;
  text-decoration: none;
}
/* カテゴリ「指定なし」(中身が空のアンカー) の場合は枠ごと非表示 */
.grand-theme .p-diary__category:has(a:empty),
.grand-theme .p-diary__category a:empty {
  display: none;
}

.grand-theme .p-diary__body {
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-light);
  margin-top: 16px;
  overflow: hidden;
}
.grand-theme .p-diary__body img {
  max-width: 100% !important;
  height: auto !important;
  border-radius: var(--radius);
  margin: 0 0 16px;
  display: block;
}

/* 詳細ページ (単一記事) */
.grand-theme .p-diary__unit.is-detail {
  border-bottom: none;
  margin-bottom: 0;
}
.grand-theme .p-diary__unit.is-detail .p-diary__title a {
  pointer-events: none;
}
.grand-theme .p-diary__unit.is-detail .p-diary__category a {
  pointer-events: auto;
}


/* ============================================================
   MENU PAGE
   ============================================================ */
/* #11 装飾大数字: CSS counter で各カテゴリに薄い巨大ナンバーを背景装飾 */
.page-inner { counter-reset: category-num; }

.menu-category {
  margin-bottom: 72px;
  position: relative;
  counter-increment: category-num;
}

.menu-category-title {
  font-size: 20px;
  font-weight: 700;
  padding-bottom: 12px;
  margin-bottom: 28px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
  position: relative;
}

/* 装飾数字 (01, 02 ...) をカテゴリ右上に配置 */
.menu-category::before {
  content: "0" counter(category-num);
  position: absolute;
  top: -16px;
  right: -8px;
  font-size: 120px;
  font-weight: 700;
  font-family: 'M Plus 1p';
  color: rgba(26, 54, 93, 0.055);
  line-height: 1;
  letter-spacing: -4px;
  user-select: none;
  pointer-events: none;
  z-index: 0;
}

/* #9 Menu Grid */
.menu-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}

/* Card (vertical) */
.menu-card {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.menu-card:hover {
  box-shadow: 0 18px 40px -16px rgba(var(--accent-rgb), 0.28),
              0 6px 16px -8px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
  border-color: transparent;
}

/* Thumbnail */
.menu-card-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-muted);
}
.menu-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
  display: block;
}
.menu-card:hover .menu-card-thumb img { transform: scale(1.06); }

/* 画像未設定時のプレースホルダー */
.menu-card-thumb.no-image {
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
}
.menu-card-thumb.no-image img {
  display: none;
}
.menu-card-thumb.no-image::after {
  content: '';
  display: block;
  width: 40px;
  height: 40px;
  background: var(--border);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.5'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'/%3E%3Cpath d='M21 15l-5-5L5 21'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.5'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'/%3E%3Cpath d='M21 15l-5-5L5 21'/%3E%3C/svg%3E") center/contain no-repeat;
  opacity: 0.4;
}


/* Badge (おすすめ) */
.menu-card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 100px;
  line-height: 1.6;
  pointer-events: none;
}
.menu-card-badge:empty { display: none; }

/* Info section */
.menu-card-info {
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.menu-card-title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
}
.menu-card-price {
  font-size: 15px;
  font-weight: 700;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

/* ============================================================
   MENU MODAL
   ============================================================ */
body.modal-open { overflow: hidden; }

.menu-modal {
  position: fixed;
  inset: 0;
  z-index: 9900;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.menu-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.menu-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 20, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.menu-modal-dialog {
  position: relative;
  background: var(--bg);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 660px;
  max-height: 88vh;
  overflow-y: auto;
  transform: translateY(24px);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 32px 80px rgba(0,0,0,0.2);
}
.menu-modal.is-open .menu-modal-dialog {
  transform: translateY(0);
}

/* Close button */
.menu-modal-close {
  position: sticky;
  top: 0;
  float: right;
  margin: 14px 14px -50px 0;
  width: 38px;
  height: 38px;
  border: none;
  background: var(--bg-muted);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text);
  transition: background var(--transition), color var(--transition);
  z-index: 1;
  flex-shrink: 0;
}
.menu-modal-close:hover {
  background: var(--accent);
  color: #fff;
}

/* Modal inner (injected from .menu-card-detail) */
.menu-modal-inner {
  padding: 32px 36px 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Detail image */
.menu-detail-img {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-muted);
}
.menu-detail-img img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
.menu-detail-img:not(:has(img)),
.menu-detail-img:has(img[src=""]),
.menu-detail-img:has(img:not([src])) { display: none; }

/* Detail body */
.menu-detail-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.menu-detail-meta .menu-card-badge {
  position: static;
  display: inline-block;
}
.menu-detail-meta .menu-card-badge:empty { display: none; }
.menu-detail-title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
}
.menu-detail-price {
  font-size: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.menu-detail-text {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-light);
}
.menu-detail-text:empty { display: none; }

/* Modal inner fade */
.menu-modal-inner {
  transition: opacity 0.15s ease;
}
.menu-modal-inner.is-fading { opacity: 0; }

/* Footer navigation */
.menu-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 36px 28px;
  border-top: 1px solid var(--border);
  gap: 12px;
}
.menu-modal-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  min-width: 90px;
  justify-content: center;
}
.menu-modal-nav:hover:not(:disabled) {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.menu-modal-nav:disabled {
  opacity: 0.3;
  cursor: default;
}
.menu-modal-counter {
  font-size: 13px;
  color: var(--text-light);
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
  min-width: 40px;
  text-align: center;
}


/* ============================================================
   CALENDAR PAGE
   ============================================================ */
.calendar-wrap {
  margin-bottom: 40px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.calendar-navi {
  text-align: center;
  margin-bottom: 20px;
}
.calendar-navi a {
  font-weight: 600;
  font-size: 14px;
}
.calendar-table table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
}
.calendar-table th {
  padding: 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.calendar-table td {
  padding: 10px;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
  height: 80px;
  vertical-align: top;
}
.calendar-table td p.day {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
}
.calendar-table td a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
}
.calendar-table .sun { color: #dc2626; }
.calendar-table .sat { color: var(--accent); }
.calendar-table .holiday { color: #dc2626; }

.schedule-list {
  margin-top: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg);
  box-shadow: var(--shadow-sm);
}
.schedule-item {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
.schedule-item:last-child { border-bottom: none; }
.schedule-item:hover { background: var(--bg-alt); }
.schedule-date {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 4px;
}
.schedule-detail { margin-left: 16px; font-size: 14px; }
.schedule-category {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 100px;
  margin-right: 8px;
}
.schedule-time { color: var(--text-muted); margin-right: 8px; }

.schedule-detail-page {
  max-width: 800px;
  padding-top: 8px;
}
.schedule-detail-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.schedule-detail-meta .schedule-date {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-muted);
  margin-bottom: 0;
}
.schedule-detail-title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 28px;
}
.schedule-detail-page .textfield {
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-light);
}
.schedule-detail-image { margin-top: 28px; }
.schedule-detail-image img { max-width: 100%; border-radius: var(--radius); }


/* ============================================================
   ABOUT (ACCESS) PAGE
   ============================================================ */
.about-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}
.about-layout:has(.access-map) {
  grid-template-columns: 1fr 1fr;
}
.access-map iframe {
  width: 100%;
  height: 480px;
  border: 0;
  border-radius: var(--radius-lg);
  display: block;
}
.access-summary table {
  width: 100%;
  border-collapse: collapse;
}
.access-summary tr {
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
.access-summary tr:first-child {
  border-top: 1px solid var(--border);
}
.access-summary tr:hover {
  background: var(--bg-alt);
}
.access-summary th,
.access-summary td {
  padding: 16px 20px;
  font-size: 14px;
  text-align: left;
  vertical-align: top;
}
.access-summary th {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  white-space: nowrap;
  background: var(--bg-alt);
}
.access-summary td {
  color: var(--text);
  line-height: 1.8;
}
.access-summary a {
  color: var(--accent);
  text-decoration: underline;
}


/* ============================================================
   CONTACT PAGE
   ============================================================ */
.form-modern { max-width: 680px; margin: 0 auto; }
.form-message {
  background: var(--bg-alt);
  padding: 24px 28px;
  border-radius: var(--radius);
  margin-bottom: 32px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-light);
}
.form-modern table { width: 100%; border-collapse: collapse; }
.form-modern th,
.form-modern td {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.form-modern th {
  width: 160px;
  font-weight: 600;
  font-size: 15px;
  text-align: left;
  letter-spacing: 0.01em;
  padding-top: 22px;
}
.form-modern input[type="text"],
.form-modern input[type="email"],
.form-modern input[type="tel"],
.form-modern textarea {
  width: 100%;
}
.form-modern input[type="text"],
.form-modern input[type="email"],
.form-modern input[type="tel"],
.form-modern textarea,
.form-modern select {
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 15px;
  font-family: 'M Plus 1p';
  transition: border-color var(--transition), box-shadow var(--transition);
  background: var(--bg);
  color: var(--text);
}
.form-modern input:focus,
.form-modern textarea:focus,
.form-modern select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.1);
}
.form-modern textarea { min-height: 180px; resize: vertical; }
.form-modern input[type="text"].contact_small  { width: 50%; }
.form-modern input[type="text"].contact_medium { width: 75%; }

/* 問い合わせフォーム：各フィールドの間隔 */
.form-modern .contact_area {
  margin-bottom: 20px;
}
.form-modern .contact_area > label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 8px;
}
/* shopが生成する <label><br><input> の <br> を非表示にして余白を制御 */
.form-modern .contact_area > br {
  display: none;
}
/* チェックボックス・ラジオボタンの共通スタイル */
.form-modern .contact_area .checkbox,
.form-modern .contact_area .radio {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 24px 10px 0;
  font-size: 15px;
  cursor: pointer;
}
.form-modern .contact_area .checkbox input[type="checkbox"],
.form-modern .contact_area .radio input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
  cursor: pointer;
  flex-shrink: 0;
  margin: 0;
}
.form-modern .contact_area .checkbox label,
.form-modern .contact_area .radio label {
  cursor: pointer;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0;
}

.btn-submit {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  padding: 16px 64px;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  margin-top: 32px;
  letter-spacing: 0.06em;
}
.btn-submit::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent-hover);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: -1;
}
.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -14px rgba(var(--accent-rgb), 0.5);
}
.btn-submit:hover::before {
  transform: scaleX(1);
}

.form-privacy {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.7;
}


/* ============================================================
   COUPON PAGE
   ============================================================ */
.coupon-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.coupon-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: box-shadow var(--transition), transform var(--transition);
}
.coupon-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.coupon-card-image img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.coupon-card-body {
  padding: 20px;
  display: grid;
  grid-template-areas:
    "title qr"
    "details qr";
  grid-template-columns: 1fr auto;
  gap: 0 16px;
  align-items: start;
}
.coupon-card-qr {
  grid-area: qr;
  align-self: start;
}
.coupon-card-qr img { width: 80px; height: 80px; display: block; }
.coupon-card-title {
  grid-area: title;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
}
.coupon-card-details {
  grid-area: details;
  list-style: none;
  font-size: 13px;
  color: var(--text-light);
}
.coupon-card-details li {
  padding: 4px 0;
  border-bottom: 1px solid var(--border);
}
.coupon-card-details span { font-weight: 500; }

.coupon-print {
  text-align: right;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.coupon-print a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-light);
  padding: 11px 24px;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  transition: color var(--transition), border-color var(--transition), background var(--transition);
  text-decoration: none;
}
.coupon-print a::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 6 2 18 2 18 9'/%3E%3Cpath d='M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2'/%3E%3Crect x='6' y='14' width='12' height='8'/%3E%3C/svg%3E") center/contain no-repeat;
}
.coupon-print a:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-soft);
}
.coupon-print a:hover::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231a365d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 6 2 18 2 18 9'/%3E%3Cpath d='M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2'/%3E%3Crect x='6' y='14' width='12' height='8'/%3E%3C/svg%3E");
}


/* ============================================================
   RESERVATION PAGE
   ============================================================ */
.reservation-content { margin-top: 32px; }
.reservation-info {
  background: var(--bg-alt);
  padding: 24px;
  border-radius: var(--radius-lg);
  margin-bottom: 32px;
}
.reservation-note { font-size: 14px; margin-bottom: 12px; }
.reservation-tel { font-size: 14px; }
.reservation-tel .tel {
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
}

.reservation-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.reservation-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: box-shadow var(--transition), transform var(--transition);
}
.reservation-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.reservation-card-image {
  height: 200px;
  background-size: cover;
  background-position: center;
}
.reservation-card-body { padding: 20px; }
.reservation-card-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}
.reservation-card-text { font-size: 13px; color: var(--text-light); }

/* ---- 予約フォーム内部（PHPが生成するクラス名に対応） ---- */

/* フィールドブロック */
.form-modern .reservation_area {
  padding: 20px 0;
}
.form-modern .reservation_area + .reservation_area {
  border-top: 1px solid var(--border);
}

/* ラベル */
.form-modern .reservation_area label {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}

/* 必須マーク */
.form-modern .requier {
  color: var(--accent);
  margin-left: 4px;
}

/* 日時セレクト（横並び・幅auto） */
.form-modern .reservation_area select {
  width: auto;
  padding: 10px 14px;
  font-size: 15px;
  margin-right: 4px;
}

/* テキスト系入力（全幅） */
.form-modern .reservation_area input[type="text"],
.form-modern .reservation_area input[type="email"],
.form-modern .reservation_area input[type="tel"],
.form-modern .reservation_area textarea {
  display: block;
  width: 100%;
  margin-top: 4px;
}

/* ラジオボタン（コース選択） */
.form-modern .radio {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 8px 16px 8px 0;
  font-size: 15px;
}
.form-modern .reservation_course_name {
  color: var(--accent);
  text-decoration: underline;
  font-size: 15px;
  margin-left: 4px;
}
.form-modern .reservation_course_body {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 20px;
  margin: 12px 0;
  font-size: 15px;
  line-height: 1.8;
}
.form-modern .reservation_course_body img {
  max-width: 100%;
  border-radius: var(--radius);
  margin-bottom: 12px;
}

/* 送信ボタンエリア */
.form-modern .button_area {
  margin-top: 32px;
  text-align: center;
}
.form-modern input.button {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 100px;
  padding: 16px 64px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background-color var(--transition), transform var(--transition), box-shadow var(--transition);
  -webkit-appearance: none;
}
.form-modern input.button:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}


/* ============================================================
   EVENT RESERVATION PAGE
   shop側 /css/reservation/event/style.css を grand-theme スコープで上書き
   index → detail → entry → confirm → complete の全工程対応
   ============================================================ */

/* ページ全体 */
.grand-theme .p-event-reservation { max-width: 720px; margin: 0 auto; }

/* セクション間隔 */
.grand-theme .p-fieldset:not(:first-child) { margin-top: 36px; }

/* 背景付きセクション（カード） */
.grand-theme .p-fieldset--bgcolor {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  box-shadow: var(--shadow-sm);
}

/* セクションタイトル */
.grand-theme .p-fieldset__title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  border-bottom: none;
  border-radius: 0;
  background: none;
  background-image: none;
  padding: 0 0 0 12px;
  margin: 0 0 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-left: 3px solid var(--accent);
}

.grand-theme .p-fieldset__body { font-size: 15px; }

/* カレンダー絞り込み後の選択日表示行に上余白を確保 */
.grand-theme .p-event-reservation__calendar + .p-fieldset__title {
  margin-top: 24px;
}

/* =========================================
   INDEX PAGE — サービス一覧
   ========================================= */
.grand-theme .p-result-stats {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 20px;
  text-align: right;
}

.grand-theme .p-service-list {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.grand-theme .p-service-list li { list-style: none !important; }

.grand-theme .p-service-list__item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}

.grand-theme .p-service-list__item + .p-service-list__item { margin-top: 0; }

.grand-theme .p-service-list__item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.grand-theme .p-service-list__item > a {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  padding: 0;
  text-decoration: none;
}

.grand-theme .p-service-list__item > a:hover { opacity: 1; }

.grand-theme .p-service-list__thumbnail {
  width: 160px;
  min-width: 160px;
  height: 116px;
  border-radius: 0;
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
}

.grand-theme .p-service-list__detail {
  flex: 1;
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.grand-theme .p-service-text { color: var(--text); }

.grand-theme .p-service-text__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 8px;
  line-height: 1.5;
}

.grand-theme .p-service-text__price {
  font-size: 15px;
  color: var(--accent);
  font-weight: 600;
  margin: 0;
}

/* =========================================
   DETAIL PAGE — サービス詳細 + 日程
   ========================================= */
.grand-theme .p-service-detail { font-size: 15px; }

.grand-theme .p-service-detail__title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.02em;
  line-height: 1.45;
  margin: 0 0 10px;
}

.grand-theme .p-service-detail__price {
  font-size: 17px;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 24px;
}

.grand-theme .p-service-detail__thumbnail {
  margin: 0 0 24px;
  border-radius: var(--radius);
  overflow: hidden;
}

.grand-theme .p-service-detail__thumbnail img {
  width: 100%;
  display: block;
  border-radius: var(--radius);
}

.grand-theme .p-service-detail__explanation {
  margin: 0;
  line-height: 1.9;
  color: var(--text-light);
}

.grand-theme .p-service-detail__start {
  margin: 24px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

/* 日程リスト */
.grand-theme .p-reservation-list { margin: 0; padding: 0; }
.grand-theme .p-reservation-list li { list-style: none !important; }

.grand-theme .p-reservation-list__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 0;
}

.grand-theme .p-reservation-list__item + .p-reservation-list__item {
  border-top: 1px solid var(--border);
}

.grand-theme .p-reservation-list__date-wrap { flex: 1; }

.grand-theme .p-reservation-list__date {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  display: inline;
  margin: 0;
}

.grand-theme .p-reservation-list__time {
  display: block;
  font-size: 14px;
  color: var(--text-light);
  margin: 6px 0 0;
}

.grand-theme .p-reservation-list__note {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin: 6px 0 0;
}

.grand-theme .p-reservation-list__stock { color: var(--accent); font-weight: 600; }

.grand-theme .p-reservation-list__link {
  flex-shrink: 0;
  min-width: auto;
  margin-left: 20px;
}

/* 日程ボタンは inline-block でコンパクトに */
.grand-theme .p-reservation-list__link .p-link-button {
  display: inline-block;
  width: auto;
  max-width: none;
  padding: 10px 24px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: var(--radius);
  text-decoration: none;
  text-align: center;
}

.grand-theme .p-reservation-list__link .p-link-button--primary {
  background-color: var(--accent);
  color: #fff;
}

.grand-theme .p-reservation-list__link .p-link-button--primary:link,
.grand-theme .p-reservation-list__link .p-link-button--primary:visited,
.grand-theme .p-reservation-list__link .p-link-button--primary:active { color: #fff; }

.grand-theme .p-reservation-list__link .p-link-button--primary:hover {
  background-color: var(--accent-hover);
  opacity: 1;
  text-decoration: none;
}

.grand-theme .p-reservation-list__link .p-link-button--disabled {
  background: var(--bg-alt);
  color: var(--text-muted);
}

.grand-theme .p-reservation-list__link .p-link-button--disabled:hover { opacity: 1; }

/* 「すべての日程を表示する」 */
.grand-theme .p-link-button--more {
  display: block;
  width: auto;
  max-width: 260px;
  margin: 24px auto 0;
  padding: 12px 32px;
  border: 1.5px solid var(--accent);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: background-color var(--transition);
}

.grand-theme .p-link-button--more:hover { background: var(--accent-soft); opacity: 1; }

/* Googleカレンダー登録ボタン: 折り返し禁止 */
.grand-theme .p-confirm-list__button { white-space: nowrap; }

/* 絞り込み解除 */
.grand-theme .p-event-reservation__cancel-filter {
  font-size: 12px;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 100px;
  padding: 2px 10px;
  margin-left: 10px;
  cursor: pointer;
  font-weight: 400;
  transition: background-color var(--transition), color var(--transition);
}

.grand-theme .p-event-reservation__cancel-filter:hover {
  background: var(--accent);
  color: #fff;
}

/* =========================================
   ENTRY PAGE — 予約フォーム
   ========================================= */

/* 確認リスト（申し込み内容） */
.grand-theme .p-confirm-list { margin: 0; padding: 0; }

.grand-theme .p-confirm-list__item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 4px 20px;
  align-items: start;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.grand-theme .p-confirm-list__item:first-child { padding-top: 0; }

.grand-theme .p-confirm-list__item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.grand-theme .p-confirm-list__item dt {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  padding-top: 4px;
}

.grand-theme .p-confirm-list__item dd {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  margin: 0;
}

.grand-theme .p-confirm-list__button {
  display: inline-block;
  margin-top: 8px;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  color: var(--accent);
  background: #fff;
  padding: 4px 14px;
  font-size: 12px;
  text-decoration: none;
}

/* フォームフィールド */
.grand-theme .p-form-field + .p-form-field { margin-top: 28px; }

.grand-theme .p-form-field label {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
  max-width: none;
}

.grand-theme .p-form-field input,
.grand-theme .p-form-field textarea {
  display: block;
  max-width: none;
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  font-size: 15px;
  color: var(--text);
  font-family: 'M Plus 1p';
  transition: border-color var(--transition), box-shadow var(--transition);
}

.grand-theme .p-form-field input:focus,
.grand-theme .p-form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.12);
}

.grand-theme .p-form-field textarea { min-height: 160px; resize: vertical; }

/* 必須バッジ */
.grand-theme .p-form-field__required-label::after {
  content: "必須";
  background-color: var(--accent);
  color: #fff;
  border-radius: 4px;
  font-size: 10px;
  padding: 2px 7px;
  margin-left: 8px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1;
  vertical-align: middle;
}

/* エラー通知 */
.grand-theme .p-notification--warning {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  border-radius: var(--radius);
  padding: 20px 24px;
  color: #991b1b;
  text-align: left;
}

.grand-theme .p-notification--warning strong {
  font-size: 15px;
  display: block;
  margin-bottom: 6px;
}

/* =========================================
   ボタン共通 (送信・確認)
   ========================================= */
.grand-theme .p-link-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 8px 0;
}

/* フォーム送信ボタン（fieldset外） */
.grand-theme .p-fieldset:not(.p-fieldset--bgcolor) .p-link-button {
  display: block;
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
  padding: 16px 64px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  border: none;
  cursor: pointer;
  text-align: center;
  transition: background-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.grand-theme .p-fieldset:not(.p-fieldset--bgcolor) .p-link-button--primary {
  background-color: var(--accent);
  color: #fff;
}

.grand-theme .p-fieldset:not(.p-fieldset--bgcolor) .p-link-button--primary:link,
.grand-theme .p-fieldset:not(.p-fieldset--bgcolor) .p-link-button--primary:visited,
.grand-theme .p-fieldset:not(.p-fieldset--bgcolor) .p-link-button--primary:active { color: #fff; }

.grand-theme .p-fieldset:not(.p-fieldset--bgcolor) .p-link-button--primary:hover {
  background-color: var(--accent-hover);
  opacity: 1;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.grand-theme .p-link-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-light);
  padding: 11px 24px;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  transition: color var(--transition), border-color var(--transition), background var(--transition);
  text-decoration: none;
}
.grand-theme .p-link-text::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='19' y1='12' x2='5' y2='12'/%3E%3Cpolyline points='12 19 5 12 12 5'/%3E%3C/svg%3E") center/contain no-repeat;
}
.grand-theme .p-link-text:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-soft);
}
.grand-theme .p-link-text:hover::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231a365d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='19' y1='12' x2='5' y2='12'/%3E%3Cpolyline points='12 19 5 12 12 5'/%3E%3C/svg%3E");
}

/* =========================================
   COMPLETE PAGE — 完了ページ
   ========================================= */
.grand-theme .p-reservation-number {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 5px;
  color: var(--accent);
}

.grand-theme .p-notification strong {
  font-size: 18px;
  font-weight: 700;
  display: block;
  margin-bottom: 8px;
}


/* ============================================================
   MINNE PAGE
   ============================================================ */
.minne-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.minne-item {
  background: var(--bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: box-shadow var(--transition), transform var(--transition);
}
.minne-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.minne-item-image img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.minne-item:hover .minne-item-image img {
  transform: scale(1.04);
}
.minne-item-image img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.minne-item-caption { padding: 12px 16px; }
.minne-item-title {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}
.minne-item-price {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  margin-top: 4px;
}

/* ============================================================
   RECRUIT PAGE
   ============================================================ */
.c-recruit-table {
  max-width: 800px;
  margin: 0 auto;
}
.c-recruit-table__note--message {
  background: var(--bg-alt);
  padding: 24px 28px;
  border-radius: var(--radius);
  margin-bottom: 40px;
  font-size: 15px;
  line-height: 1.9;
  border-left: 3px solid var(--accent);
}
.c-recruit-table__row {
  display: flex !important;
  gap: 32px;
  padding: 20px 0 !important;
  border-bottom: 1px solid var(--border) !important;
  margin: 0 !important;
}
.c-recruit-table__row:last-of-type {
  border-bottom: 0 !important;
  padding-bottom: 0 !important;
}
.c-recruit-table__header-cell {
  width: 120px;
  min-width: 120px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: none;
  padding-top: 3px;
  text-align: left !important;
}
.c-recruit-table__data-cell {
  flex: 1;
  font-size: 15px;
  line-height: 1.85;
  color: var(--text);
  margin: 0 !important;
}
.c-recruit-table__note--flags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.c-recruit-table__note--flags img {
  margin: 0 !important;
  border-radius: var(--radius) !important;
}
.c-recruit-table__note--period {
  margin-top: 20px;
  font-size: 13px;
  color: var(--text-muted);
  text-align: right;
}

/* ============================================================
   PAGER
   ============================================================ */
.pager {
  padding: 0;
  text-align: center;
}
.pager:has(a) {
  padding: 40px 0;
}
.pager a, .pager span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 8px;
  margin: 0 3px;
  border-radius: var(--radius);
  font-size: 13px;
  border: 1px solid var(--border);
  color: var(--text);
  transition: all var(--transition);
}
.pager a:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.pager .current {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  font-weight: 600;
}


/* ============================================================
   FOOTER
   ============================================================ */
#footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.8);
  padding: 64px 0 32px;
  position: relative;
}
#footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 64%;
  max-width: 720px;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.28) 30%,
    rgba(255, 255, 255, 0.28) 70%,
    transparent 100%);
  pointer-events: none;
}
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand { flex: 1; }

.footer-logo a {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}
.footer-description {
  margin-top: 8px;
  font-size: 13px;
  opacity: 0.6;
}
.footer-tel {
  margin-top: 16px;
}
.footer-tel a {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
}
.footer-social {
  display: flex;
  gap: 16px;
  margin-top: 20px;
}
.footer-social a {
  color: rgba(255,255,255,0.5);
  transition: color var(--transition), transform var(--transition), opacity var(--transition);
  display: inline-flex;
  align-items: center;
}
.footer-social a:hover {
  color: #fff;
  transform: translateY(-2px);
  opacity: 1;
}

.footer-nav { flex-shrink: 0; }
.footer-navi-list {
  list-style: none;
  columns: 2;
  gap: 40px;
}
.footer-navi-list li { margin-bottom: 8px; }
.footer-navi-list a {
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  transition: color var(--transition);
}
.footer-navi-list a:hover { color: #fff; }

.introduction {
  margin-bottom: 24px;
  text-align: center;
}

.copyright {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}
.copyright a { color: rgba(255,255,255,0.4); }


/* ============================================================
   BACK TO TOP
   ============================================================ */
.totop {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 900;
}
.totop .button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  transform: translateY(16px);
  transition: all var(--transition);
  box-shadow: var(--shadow-md);
}
.totop .button.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.totop .button:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}




/* ============================================================
   GADGETS / SIDEBAR
   ============================================================ */
/* ============================================================
   GADGETS — 外部パーツ（フッター直上ウィジェットバンド）
   ============================================================ */
.gadgets {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0;
}

/* パーツがある場合だけ上下余白を確保 */
.gadgets:has(.navi_parts_detail) {
  padding: 64px 0;
}

/* #navi_parts をグリッド並列で並べる */
.gadgets #navi_parts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px 48px;
  align-items: start;
}

/* 各パーツ */
.gadgets .navi_parts_detail {
  margin: 0;
}

/* パーツ内の埋め込みコンテンツ */
.gadgets .navi_parts_detail iframe,
.gadgets .navi_parts_detail img {
  max-width: 100%;
  border-radius: var(--radius);
  display: block;
}

/* レスポンシブ: タブレット (768px〜1023px) */
@media (max-width: 1023px) {
  .gadgets:has(.navi_parts_detail) { padding: 48px 0; }
  .gadgets #navi_parts { gap: 32px; }

  /* Voice page: タブレットで2列 */
  .voice-page-album { grid-template-columns: repeat(2, 1fr); }

  /* Gallery: タブレットで3列維持しつつ写真グリッドを2列に */
  .photo-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }

  /* Coupon: タブレットで1列 */
  .coupon-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }

  /* Reservation: タブレットで1列 */
  .reservation-list { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }

  /* Calendar wrap padding縮小 */
  .calendar-wrap { padding: 20px; }
}

/* レスポンシブ: ハンバーガーメニュー（タブレット以下） */
@media (max-width: 1023px) {
  .navi_list { display: none; }
  .mobile-toggle { display: block; }
  .sub_navi_toggle { display: block; }

  .primary-nav.menu-open .navi_list {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--accent);
    justify-content: flex-start;
    align-items: center;
    gap: 0;
    z-index: 999;
    padding: 72px 40px 40px;
    overflow-y: auto;
  }
  /* Priority+の「その他」はモバイル/タブレットでは非表示（JSのinline styleも上書き） */
  .navi-more { display: none !important; }
  /* JSにより display:none されたアイテムを強制表示 */
  .primary-nav.menu-open .navi_list > li:not(.navi-more) { display: block !important; }

  .primary-nav.menu-open .navi_list li {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.12);
  }
  .primary-nav.menu-open .navi_list a {
    display: block;
    padding: 16px;
    font-size: 16px;
  }
  .primary-nav.menu-open .navi_list a::after { display: none; }

  .primary-nav.menu-open .sub_navi {
    position: static;
    box-shadow: none;
    background: var(--bg-alt);
    border-radius: 0;
    display: none;
  }
  .primary-nav.menu-open .sub_navi_open .sub_navi { display: block; }
  .primary-nav.menu-open .sub_navi a { font-size: 14px; padding: 10px 16px; }
}

/* レスポンシブ: モバイル */
@media (max-width: 767px) {
  .gadgets:has(.navi_parts_detail) { padding: 40px 0; }
  .gadgets #navi_parts {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}


/* ============================================================
   RESPONSIVE
   ============================================================ */


@media (max-width: 768px) {
  :root {
    --section-gap: 64px;
    --header-height: 56px;
  }

  /* Header */
  .header-inner { min-height: 56px; padding: 0 16px; }
  .header-description { display: none; }

  /* Hero */
  .section-hero .rslides { height: 50vh; }
  .section-hero .caption { padding: 24px 16px; }
  .section-hero .caption_txt a { font-size: 20px; max-width: 80%; }

  /* Sections */
  .section-inner,
  .page-inner { padding: 0 16px; }

  .section-title-ja { font-size: 28px; }
  .section-title { margin-bottom: 36px; }

  .page-title { font-size: 24px; margin-bottom: 32px; }

  /* Mission */
  .mission-text { font-size: 15px; }

  /* News */
  .news-item { flex-direction: column; gap: 8px; padding: 16px 0; }
  .news-meta { flex-direction: column; gap: 4px; }
  .news-photo { width: 100%; height: 180px; }

  /* Info */
  .info-article { flex-direction: column; gap: 8px; padding-left: 16px; }
  .info-date { width: auto; }

  /* About (top section) */
  .about-grid,
  .about-grid:has(.about-map) { grid-template-columns: 1fr; }

  /* About page */
  .about-layout,
  .about-layout:has(.access-map) { grid-template-columns: 1fr; }
  .access-map iframe { height: 260px; }

  /* Voice carousel */
  .voice-grid {
    margin: 0 -16px;
    padding-left: 16px;
    padding-right: 16px;
  }
  .voice-card { width: 280px; }

  /* Gallery */
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }

  /* Photo */
  .album-thumb { width: calc(50% - 4px); }
  .photo-grid { grid-template-columns: 1fr; gap: 16px; }
  .voice-page-album { grid-template-columns: 1fr; }
  .voice-modal-dialog { max-height: 92vh; }
  .voice-modal-inner { padding: 24px 24px 20px; }
  .voice-detail-hero { margin: 0 -24px 24px; }
  .voice-modal-footer { padding: 14px 24px 22px; }
  .voice-modal-nav { min-width: 72px; padding: 8px 12px; font-size: 12px; }

  /* Diary */
  .grand-theme .p-diary { grid-template-columns: repeat(auto-fit, minmax(240px, 380px)); gap: 16px; }
  .grand-theme .p-diary__thumb { height: 160px; }
  .grand-theme .p-diary__unit.is-detail { padding-bottom: 0; }
  .p-diary-nav { max-width: 100%; }

  /* Menu */
  .menu-items { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  /* 装飾数字をタブレットで小さく */
  .menu-category::before { font-size: 80px; right: 0; top: -10px; }
  .menu-modal-dialog { max-height: 92vh; }
  .menu-modal-inner { padding: 24px 24px 20px; }
  .menu-modal-footer { padding: 14px 24px 22px; }
  .menu-modal-nav { min-width: 72px; padding: 8px 12px; font-size: 12px; }

  /* Calendar */
  .calendar-wrap { padding: 16px; }

  /* Coupon */
  .coupon-grid { grid-template-columns: 1fr; max-width: none; }

  /* Reservation */
  .reservation-list { grid-template-columns: 1fr; max-width: none; }

  /* Minne */
  .minne-gallery { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  /* Form */
  .form-modern th { display: block; width: 100%; padding-bottom: 6px; padding-top: 20px; border: none; }
  .form-modern td { display: block; padding-top: 0; padding-bottom: 20px; }

  /* Footer */
  .footer-grid { flex-direction: column; gap: 32px; }
  .footer-navi-list { columns: 1; }

  /* Back to Top */
  .totop { bottom: 20px; right: 20px; }


}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .photo-grid { grid-template-columns: 1fr; }
  .minne-gallery { grid-template-columns: 1fr; }
  .menu-items { grid-template-columns: 1fr; }
  .menu-category::before { display: none; } /* モバイルでは装飾数字を非表示 */
  .grand-theme .p-diary { grid-template-columns: 1fr; }
  .grand-theme .p-diary__thumb { height: 200px; }
  .grand-theme .p-diary__unit.is-detail { padding-bottom: 0; }
  .p-diary-nav {
    grid-template-columns: 1fr;
    max-width: 100%;
  }
  .p-diary-nav__prev { border-right: none; border-bottom: 1px solid var(--border); }
  .p-diary-nav__next { justify-content: flex-start; text-align: left; }
  .p-diary-nav__item { padding: 18px 16px; gap: 10px; }
}


/* ============================================================
   STAFF PAGE — Startup Alternating Full-Width Layout
   ============================================================ */

/* Outer container */
.grand-theme .free-content #custom_staff {
  display: block;
  max-width: 1100px;
  margin: 0 auto;
  overflow: visible;
  counter-reset: staff-num;
}

/* Hide CMS-injected <br> separators */
.grand-theme .free-content #custom_staff > br { display: none; }

/* ---- Each member row ---- */
.grand-theme .free-content .staff_wrap {
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch;
  min-height: 400px;
  background: var(--bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 40px !important;
  position: relative;
  counter-increment: staff-num;
  transition: box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.grand-theme .free-content .staff_wrap:last-of-type { margin-bottom: 0 !important; }
.grand-theme .free-content .staff_wrap:hover { box-shadow: var(--shadow-lg); }

/* Even rows: flip photo to right */
.grand-theme .free-content .staff_wrap:nth-of-type(even) {
  flex-direction: row-reverse !important;
}

/* ---- Photo side ---- */
.grand-theme .free-content .staff_wrap .staff--image {
  width: 42% !important;
  height: auto !important;
  min-height: 400px;
  padding-top: 0 !important;
  float: none !important;
  margin: 0 !important;
  border-radius: 0 !important;
  background-size: cover !important;
  background-position: center top !important;
  background-repeat: no-repeat !important;
  flex-shrink: 0;
  position: relative;
  border: none !important;
  overflow: hidden;
}

/* Subtle vignette on photo edges */
.grand-theme .free-content .staff_wrap .staff--image::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(26,54,93,0.12) 0%, transparent 30%),
    linear-gradient(to bottom, transparent 60%, rgba(26,54,93,0.18) 100%);
  pointer-events: none;
}
.grand-theme .free-content .staff_wrap:nth-of-type(even) .staff--image::after {
  background:
    linear-gradient(to left, rgba(26,54,93,0.12) 0%, transparent 30%),
    linear-gradient(to bottom, transparent 60%, rgba(26,54,93,0.18) 100%);
}

/* ---- Text side ---- */
.grand-theme .free-content .staff_wrap .staff__text {
  flex: 1;
  padding: 52px 60px;
  overflow: visible !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

/* No decorative number pseudo-element */
.grand-theme .free-content .staff_wrap .staff__text::before { content: none; }

/* Name — large typographic impact */
.grand-theme .free-content .staff_wrap .staff__text--name {
  font-family: 'M Plus 1p';
  font-size: 32px !important;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 20px !important;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

/* Position — decorative large text, bottom-right of text area */
.grand-theme .free-content .staff_wrap .staff__text--job {
  position: absolute;
  bottom: 20px;
  right: 32px;
  font-family: 'M Plus 1p';
  font-size: 72px !important;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: rgba(26, 54, 93, 0.07) !important;
  background: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  width: auto;
  display: block;
  text-transform: none;
  pointer-events: none;
  user-select: none;
}

/* Divider above bio */
.grand-theme .free-content .staff_wrap .staff__text--description {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-light);
  margin: 0 0 28px !important;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.grand-theme .free-content .staff_wrap .staff__text--description p { margin: 0; }

/* Social links */
.grand-theme .free-content .staff_wrap .staff__text__social {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 !important;
}
.grand-theme .free-content .staff_wrap .staff__text__social_icon {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-light);
  text-decoration: none;
  background: var(--bg-alt);
  padding: 8px 16px;
  border-radius: 100px;
  border: 1px solid var(--border);
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.2s;
  margin: 0 !important;
}
.grand-theme .free-content .staff_wrap .staff__text__social_icon:hover {
  background: var(--accent);
  color: #fff !important;
  border-color: var(--accent);
  transform: translateY(-2px);
  opacity: 1;
}
.grand-theme .free-content .staff_wrap .staff__text__social_icon img {
  width: 15px;
  height: 15px;
  margin: 0 !important;
  vertical-align: middle;
  transition: filter 0.25s;
}
.grand-theme .free-content .staff_wrap .staff__text__social_icon:hover img {
  filter: none;
}

/* ---- Responsive: tablet ---- */
@media (max-width: 1023px) {
  .grand-theme .free-content .staff_wrap .staff__text {
    padding: 40px 44px;
  }
  .grand-theme .free-content .staff_wrap .staff__text--name {
    font-size: 26px !important;
  }
}

/* ---- Responsive: mobile — stack vertically ---- */
@media (max-width: 767px) {
  .grand-theme .free-content .staff_wrap,
  .grand-theme .free-content .staff_wrap:nth-of-type(even) {
    flex-direction: column !important;
    min-height: unset;
  }
  .grand-theme .free-content .staff_wrap .staff--image {
    width: 100% !important;
    min-height: 280px;
  }
  .grand-theme .free-content .staff_wrap .staff__text {
    padding: 28px 24px 32px;
  }
  .grand-theme .free-content .staff_wrap .staff__text--name {
    font-size: 22px !important;
  }
  .grand-theme .free-content .staff_wrap .staff__text--job {
    font-size: 52px !important;
    bottom: 12px;
    right: 20px;
  }
}

/* ==========================================================================
   SNS ウィジェット制御
   ========================================================================== */

/* X（Twitter）のフォローボタン・ポストボタンを非表示 */
.gadgets .twitter-follow-button,
.gadgets .twitter-share-button,
.gadgets iframe[src*="twitter.com/intent/follow"],
.gadgets iframe[src*="twitter.com/intent/tweet"],
.gadgets iframe[src*="platform.twitter.com/widgets/follow_button"],
.gadgets iframe[src*="platform.twitter.com/widgets/tweet_button"],
.gadgets a[href*="twitter.com/intent/follow"],
.gadgets a[href*="twitter.com/intent/tweet"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}

/* Facebookバッジを非表示 */
.gadgets .fb-page,
.gadgets .fb-like-box,
.gadgets iframe[src*="facebook.com/plugins"],
.gadgets [class*="fb-"],
.gadgets div[data-href*="facebook.com"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}

/* LINEで送るボタン - フッターSNSアイコン直下に表示 */
#footer #widget_line_share {
  display: block;
  margin-top: 12px;
}
.web-font {
  font-family: 'M Plus 1p';
}
.shop_sitename {
  font-size: 100%;
}
