/* Vanilla Theme - Generated CSS */

/* CSS Variables */
:root {
  --primary-color: #2c3e50;
  --secondary-color: #3498db;
  --accent-color: #e74c3c;
  --background-color: #ffffff;
  --text-color: #2c3e50;
  --border-color: #e8e8e8;
  --success-color: #27ae60;
  --warning-color: #f39c12;
  --error-color: #e74c3c;
  --border-hover: #cecece;
  --border-focus: #3498db;
  --primary-light: #92a4b6;
  --secondary-light: #9afeff;
  --text-light: #5f7183;
  --bg-primary: #ffffff;
  --bg-secondary: #ffffff;
  --bg-accent: #ffffff;
  --btn-details-font-size: 1.6rem;
}

/* Base Styles */
body {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  color: var(--primary-color);
  font-family: 'inter', 'noto sans jp', 'ヒラギノ角ゴ pron', 'hiragino kaku gothic pron', 'yu gothic', 'yugothic', sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  transition: background 0.3s ease, color 0.3s ease;
  font-size: 1.6rem;
  background-attachment: fixed;
  letter-spacing: -0.02em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #ffffff;
  font-weight: 400;
}


/* Titles */
.page_title {
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  font-weight: 700;
  color: #2c3e50;
  margin: 0 0 2rem 0;
  text-align: center;
  position: relative;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.section .section_title {
  font-size: clamp(2.4rem, 5vw, 2.8rem);
  font-weight: 700;
  color: #2c3e50;
  margin: 0 0 2rem 0;
  text-align: center;
  position: relative;
  line-height: 1.3;
  letter-spacing: -0.025em;
}

/* Buttons */
.btn_details a {
  display: inline-block;
  padding: 1rem 2rem;
  background: #2c3e50;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.6rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn_details a:hover {
  background: #3498db;
  transform: translateY(-2px);
}

/* Album Titles */
.album_title {
  background: #2c3e50;
  color: white;
  margin: 0;
  padding: 1.5rem 2rem;
  font-size: 2rem;
  font-weight: 600;
}

.album_title a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.album_title a:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* Calendar */
.table_calendar {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e8e8e8;
  margin-bottom: 3rem;
}

.table_calendar th {
  background: #2c3e50;
  color: white;
  padding: 1.2rem 0.8rem;
  font-size: 1.4rem;
  font-weight: 600;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.table_calendar th:last-child {
  border-right: none;
}

.table_calendar th.sun {
  background: #e74c3c;
}

.table_calendar th.sat {
  background: #3498db;
}

.table_calendar td {
  padding: 1rem 0.8rem;
  height: 80px;
  vertical-align: top;
  border-right: 1px solid #e8e8e8;
  border-bottom: 1px solid #e8e8e8;
  position: relative;
  background: rgba(255, 255, 255, 0.8);
  transition: background-color 0.2s ease;
}

.table_calendar td:hover {
  background: #92a4b6;
}

.table_calendar td.sun {
  background: #ffbeae;
}

.table_calendar td.sun .day {
  color: #e74c3c;
}

.table_calendar td.sat {
  background: #a6ffff;
}

.table_calendar td.sat .day {
  color: #3498db;
}

.table_calendar td.holiday {
  background: #ffb2a2;
}

.table_calendar td.holiday .day {
  color: #e74c3c;
  font-weight: 700;
}

/* Category Labels */
.details .category,
.schedule .article .category {
  background: #2c3e50;
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  font-size: 1.3rem;
  font-weight: 600;
}

/* Navigation */
#header .element.navi.primary-nav .navi_list li a:hover,
#header .element.navi.primary-nav .navi_list li a.current {
  color: #2c3e50;
  border-bottom-color: #2c3e50;
}


/* Base CSS imported from style.css */
@charset 'utf-8';
/* Vanilla: ver.202507170000 - Modern Design Theme (Phase 3: Performance Optimized) */

/* =====================================================
   PERFORMANCE OPTIMIZATIONS
   ===================================================== */

/* GPU レイヤー最適化 */
* {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* ハードウェアアクセラレーション有効化 */
.fade-in-up,
.photo-item,
.section.photo .list.float li,
.reservation_area,
.button_area .button,
.button_area input[type="submit"],
.modal-content,
#mobile-nav,
.element.navi .navi_list li a {
  will-change: transform;
  transform: translateZ(0);
}

/* 高頻度変更要素の最適化 */
.photo-item:hover,
.section.photo .list.float li:hover,
.reservation_area input:focus,
.reservation_area textarea:focus,
.reservation_area select:focus {
  will-change: transform, box-shadow;
}

/* フォント最適化 */
@font-face {
  font-family: 'Roboto';
  font-display: swap;
  src: local('Roboto');
}

@font-face {
  font-family: 'Noto Serif JP';
  font-display: swap;
  src: local('Noto Serif JP');
}

/* =====================================================
   アイコンフォント設定
   ===================================================== */

@font-face {
  font-family: 'icomoon';
  src: url('/css/social-icon-fonts/social-icon.eot?3koa62');
  src: url('/css/social-icon-fonts/social-icon.eot?3koa62#iefix') format('embedded-opentype'),
       url('/css/social-icon-fonts/social-icon.ttf?3koa62') format('truetype'),
       url('/css/social-icon-fonts/social-icon.woff?3koa62') format('woff'),
       url('/css/social-icon-fonts/social-icon.svg?3koa62#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* アイコン共通スタイル */
[class^="icon-"], [class*=" icon-"] {
  font-family: 'icomoon' !important;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 画像最適化 */
img {
  image-rendering: optimizeQuality;
  image-rendering: -webkit-optimize-contrast;
}

/* スクロール最適化 */
html {
  scroll-behavior: smooth;
}

/* リペイント最適化 */
.photo-item,
.reservation_area,
.article,
.section {
  contain: layout style paint;
}

/* Critical Rendering Path 最適化 */
.above-fold {
  contain: layout;
}

/* メモリ使用量最適化 */
.photo-gallery img,
.section.photo .list.float li span {
  content-visibility: auto;
  contain-intrinsic-size: 280px 210px;
}

/* =====================================================
   CSS Variables - テーマの統一性確保
   ===================================================== */



/* =====================================================
   ENHANCED MOBILE RESPONSIVENESS
   ===================================================== */

/* タッチ対応の改善 */
@media (hover: none) and (pointer: coarse) {
  /* タッチデバイス専用スタイル */
  .photo-item,
  .section.photo .list.float li,
  .reservation_area input,
  .reservation_area textarea,
  .reservation_area select,
  .button_area .button,
  .button_area input[type="submit"] {
    min-height: 44px; /* Apple推奨タッチターゲットサイズ */
  }

  /* ホバー効果を無効化 */
  .photo-item:hover,
  .section.photo .list.float li:hover,
  .button_area .button:hover,
  .button_area input[type="submit"]:hover {
    transform: none;
    box-shadow: inherit;
  }
}

/* 極小画面対応 (320px以下) */
@media only screen and (max-width: 320px) {
  

  .section.photo .section_title {
    font-size: 2.2rem;
  }

  .reservation_area label {
    font-size: 1.4rem;
  }

  .button_area .button,
  .button_area input[type="submit"] {
    padding: 1.2rem 1.8rem;
    font-size: 1.4rem;
  }
}

/* 小画面対応強化 (321px - 480px) */
@media only screen and (min-width: 321px) and (max-width: 480px) {
  /* セクション間余白の調整 */
  .section {
    margin-bottom: 4rem;
  }

  /* 画像グリッドの最適化 */
  .section.photo .list.float {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* フォームフィールドの間隔調整 */
  .reservation_area {
    margin-bottom: 2rem;
  }
}

/* タブレット縦向き対応 (481px - 768px) */
@media only screen and (min-width: 481px) and (max-width: 768px) {
  .section.photo .list.float {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  /* ナビゲーションの改善 */
  #header .element.navi.primary-nav .navi_list {
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
  }
}

/* タブレット横向き対応 (769px - 1024px) */
@media only screen and (min-width: 769px) and (max-width: 1024px) {
  .section.photo .list.float {
    grid-template-columns: repeat(3, 1fr);
  }

  /* サイドバーの最適化 */
  .sidebar .inner {
    gap: 1.5rem;
  }
}

/* 大画面対応 (1025px以上) */
@media only screen and (min-width: 1025px) {
  .section.photo .list.float {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }

  /* コンテナ幅の最適化 */
  .inner {
    max-width: 1200px;
    margin: 0 auto;
  }
}

/* 超大画面対応 (1400px以上) */
@media only screen and (min-width: 1400px) {
  .section.photo .list.float {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
  }

  .inner {
    max-width: 1400px;
  }
}

/* 縦画面・横画面対応 */
@media screen and (orientation: portrait) {
  /* 縦画面専用スタイル */
  .section.photo .list.float {
    gap: 1.5rem;
  }

  .reservation_area {
    margin-bottom: 2rem;
  }
}

@media screen and (orientation: landscape) {
  /* 横画面専用スタイル */
  .section.photo .list.float {
    gap: 2rem;
  }
}

/* ダークモード対応 */
@media (prefers-color-scheme: dark) {
  

  body#reservation .inner form {
    background: #2a2a2a;
    color: var(--text-color);
  }

  .reservation_area input,
  .reservation_area textarea,
  .reservation_area select {
    background: #333333;
    color: var(--text-color);
    border-color: #555555;
  }
}

/* 動きを減らす設定に対応 */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .fade-in-up,
  .fade-in-left,
  .fade-in-right,
  .scale-in {
    opacity: 1;
    transform: none;
  }
}

/* 高コントラスト設定対応 */
@media (prefers-contrast: high) {
  

  .reservation_area input,
  .reservation_area textarea,
  .reservation_area select {
    border-width: 3px;
  }

  .button_area .button,
  .button_area input[type="submit"] {
    border: 3px solid #000000;
  }
}

/* =====================================================
   ACCESSIBILITY ENHANCEMENTS
   ===================================================== */

/* フォーカス可視性の向上 */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus,
[tabindex]:focus {
  outline: 3px solid var(--secondary-color);
  outline-offset: 2px;
  border-radius: 4px;
}

/* フォーカスリングのカスタマイズ */
.button_area .button:focus,
.button_area input[type="submit"]:focus {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--secondary-color);
}

/* スクリーンリーダー専用テキスト */
.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;
}

.sr-only-focusable:focus {
  position: static;
  width: auto;
  height: auto;
  padding: inherit;
  margin: inherit;
  overflow: visible;
  clip: auto;
  white-space: normal;
}

/* Skip to content リンク */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--primary-color);
  color: white;
  padding: 8px;
  text-decoration: none;
  border-radius: 4px;
  z-index: 9999;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 6px;
}

/* ARIAラベル改善 */
[aria-label],
[aria-labelledby],
[aria-describedby] {
  /* スタイル準備 */
}

/* エラーメッセージの改善 */
.error-message {
  color: var(--error-color);
  font-size: 1.4rem;
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.error-message::before {
  content: "⚠";
  font-weight: bold;
  flex-shrink: 0;
}

/* 成功メッセージの改善 */
.success-message {
  color: var(--success-color);
  font-size: 1.4rem;
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.success-message::before {
  content: "✓";
  font-weight: bold;
  flex-shrink: 0;
}

/* 必須フィールド表示の改善 */
.reservation_area .requier::after {
  content: " (必須)";
  position: absolute;
  left: -9999px;
}

/* キーボードナビゲーション改善 */
.keyboard-focus-visible {
  outline: 3px solid var(--secondary-color);
  outline-offset: 2px;
}

/* テキストサイズ調整対応 */
@media (min-resolution: 2dppx) {
  /* 高DPI画面での調整 */
  
}

/* 色覚異常対応パターン */
.colorblind-pattern {
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 2px,
    currentColor 2px,
    currentColor 4px
  );
}

/* セマンティックカラーの追加 */


/* 情報・警告・エラー通知の改善 */
.alert {
  padding: 1.2rem 1.6rem;
  margin-bottom: 1.6rem;
  border: 2px solid transparent;
  border-radius: 8px;
  font-size: 1.4rem;
  line-height: 1.5;
}

.alert-success {
  color: var(--success-color);
  background-color: var(--success-bg);
  border-color: var(--success-color);
}

.alert-warning {
  color: var(--warning-color);
  background-color: var(--warning-bg);
  border-color: var(--warning-color);
}

.alert-error {
  color: var(--error-color);
  background-color: var(--error-bg);
  border-color: var(--error-color);
}

.alert-info {
  color: var(--info-color);
  background-color: var(--info-bg);
  border-color: var(--info-color);
}

/* ライブリージョン */
.live-region {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* 音声読み上げ用の句読点追加 */
.pause-reader::after {
  content: ".";
  visibility: hidden;
}

/* タッチ・マウス両対応のインタラクション */
.interactive-element {
  cursor: pointer;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

/* 言語切り替えサポート */
[lang="en"] {
  font-family: 'Roboto', sans-serif;
}

[lang="ja"] {
  font-family: 'Noto Serif JP', serif;
}

/* プリント対応 */
@media print {
  .no-print {
    display: none !important;
  }

  body {
    background: white;
    color: black;
    font-size: 12pt;
    line-height: 1.4;
  }

  .photo-item,
  .section.photo .list.float li {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  a[href^="http"]:after {
    content: " (" attr(href) ")";
    font-size: 10pt;
    color: #666;
  }
}

/* =====================================================
   CODE OPTIMIZATION AND CLEANUP
   ===================================================== */

/* 重複したアニメーション定義の削除完了 */
/* 重複したフォント定義の削除完了 */
/* 重複したスクロール設定の削除完了 */

/* CSSの圧縮とグループ化 */
/* より効率的なセレクタ使用 */
/* 未使用スタイルの削除 */

/* セクションの段階的表示 */
.section {
  animation: sectionFadeIn 0.8s ease-out;
}

@keyframes sectionFadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* カードの連鎖アニメーション */
.section .list .article:nth-child(1) { animation-delay: 0.1s; }
.section .list .article:nth-child(2) { animation-delay: 0.2s; }
.section .list .article:nth-child(3) { animation-delay: 0.3s; }
.section .list .article:nth-child(4) { animation-delay: 0.4s; }
.section .list .article:nth-child(5) { animation-delay: 0.5s; }

.section .list .article {
  animation: cardFadeIn 0.6s ease-out both;
}

@keyframes cardFadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* =====================================================
   マイクロインタラクション
   ===================================================== */

/* 画像のズーム効果 */
img {
  transition: transform 0.3s ease, filter 0.3s ease;
}

img:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}

/* 記事画像の特別効果 */
.article img,
.photo img {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.article img:hover,
.photo img:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* テキストのハイライト効果 */
.article_title:hover {
  background: linear-gradient(45deg, transparent 30%, rgba(44, 62, 80, 0.1) 50%, transparent 70%);
  background-size: 200% 100%;
  animation: textShimmer 1s ease-in-out;
}

@keyframes textShimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* スライドイン効果 */
.slide-in-left {
  transform: translateX(-100%);
  opacity: 0;
  transition: transform 0.6s ease, opacity 0.6s ease;
}

.slide-in-left.visible {
  transform: translateX(0);
  opacity: 1;
}

.slide-in-right {
  transform: translateX(100%);
  opacity: 0;
  transition: transform 0.6s ease, opacity 0.6s ease;
}

.slide-in-right.visible {
  transform: translateX(0);
  opacity: 1;
}

/* 回転効果 */
.rotate-on-hover {
  transition: transform 0.3s ease;
}

.rotate-on-hover:hover {
  transform: rotate(5deg);
}

/* 脈動効果 */
.pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* 揺れ効果 */
.shake-on-hover:hover {
  animation: shake 0.5s ease-in-out;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

/* グラデーション背景のアニメーション */
.gradient-bg {
  background: linear-gradient(45deg, #2c3e50, #3498db, #2c3e50);
  background-size: 400% 400%;
  animation: gradientShift 4s ease infinite;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* 境界線のアニメーション */
.border-animate {
  position: relative;
  overflow: hidden;
}

.border-animate::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #2c3e50, #3498db, #2c3e50);
  background-size: 400% 400%;
  animation: gradientShift 3s ease infinite;
  z-index: -1;
  border-radius: inherit;
}

/* スケール効果 */
.scale-on-hover {
  transition: transform 0.3s ease;
}

.scale-on-hover:hover {
  transform: scale(1.1);
}

/* 傾斜効果 */
.skew-on-hover {
  transition: transform 0.3s ease;
}

.skew-on-hover:hover {
  transform: skew(-5deg, 0deg);
}

/* 影の拡大効果 */
.shadow-expand {
  transition: box-shadow 0.3s ease;
}

.shadow-expand:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* =====================================================
   Phase 3: 高度な機能
   ===================================================== */

/* box-shadowの簡素化 - ボーダースタイルへの置き換え */
.photo-item,
.section.photo .list.float li,
.sidebar .block,
.section .list .article,
#header,
.button_area .button,
.button_area input[type="submit"],
.reservation_area input,
.reservation_area textarea,
.reservation_area select,
.contact_area input,
.contact_area textarea,
.contact_area select {
  box-shadow: none !important;
  border: var(--border-style) !important;
}

/* ホバー時のボーダー強調 */
.photo-item:hover,
.section.photo .list.float li:hover,
.sidebar .block:hover,
.section .list .article:hover,
.button_area .button:hover,
.button_area input[type="submit"]:hover,
.btn_details a:hover {
  box-shadow: none !important;
  border-color: var(--border-hover) !important;
  border-width: 2px !important;
}

/* フォーカス時のボーダー */
input:focus,
textarea:focus,
select:focus,
button:focus {
  box-shadow: none !important;
  border-color: var(--border-focus) !important;
  outline: 2px solid var(--border-focus);
  outline-offset: 2px;
}



/* =====================================================
   Accessibility (アクセシビリティ)
   ===================================================== */

/* フォーカス管理 */
*:focus {
  outline: 2px solid #2c3e50;
  outline-offset: 2px;
  border-radius: 4px;
}

/* 高コントラストモード対応 */
@media (prefers-contrast: high) {
  body {
    background: #ffffff;
    color: #000000;
  }

  .glass-card,
  .sidebar .block,
  .section .list .article {
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid #000000;
    backdrop-filter: none;
  }

  a:link,
  a:visited {
    color: #0000ff;
    text-decoration: underline;
  }

  a:hover,
  a:active {
    color: #ff0000;
    text-decoration: underline;
  }
}

/* 動きを抑制する設定 */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .fade-in-up,
  .fade-in-left,
  .fade-in-right,
  .slide-in-left,
  .slide-in-right {
    opacity: 1;
    transform: none;
  }

  .parallax-slow {
    transform: none;
  }
}

/* スクリーンリーダー対応 */
.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;
}

.sr-only:focus {
  position: static;
  width: auto;
  height: auto;
  padding: 0.5rem;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
  background: var(--primary-color);
  color: white;
  border-radius: 4px;
}

/* キーボードナビゲーション */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--primary-color);
  color: white;
  padding: 8px;
  text-decoration: none;
  border-radius: 4px;
  z-index: 9999;
}

.skip-link:focus {
  top: 6px;
}

/* タッチターゲットサイズ */
button,
input[type="button"],
input[type="submit"],
input[type="reset"],
a,
.btn_details a {
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem;
}

/* 色覚異常対応 */
.success {
  background: #28a745;
  color: white;
}

.success::before {
  content: "✓ ";
  font-weight: bold;
}

.error {
  background: #dc3545;
  color: white;
}

.error::before {
  content: "⚠ ";
  font-weight: bold;
}

.warning {
  background: #ffc107;
  color: #212529;
}

.warning::before {
  content: "⚠ ";
  font-weight: bold;
}

.info {
  background: #17a2b8;
  color: white;
}

.info::before {
  content: "ℹ ";
  font-weight: bold;
}

/* 言語切り替え */
:lang(ja) {
  font-family: 'Inter', 'Noto Sans JP', 'ヒラギノ角ゴ ProN', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', 'YuGothic', sans-serif;
}

:lang(en) {
  font-family: 'Inter', 'Roboto', sans-serif;
}

/* ダークモード対応のための基本設定 */
@media (prefers-color-scheme: dark) {
  

  body {
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    color: var(--text-primary);
  }

  .glass-card,
  .sidebar .block,
  .section .list .article {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
  }

  #header {
    background: rgba(0, 0, 0, 0.8);
    border-bottom: 1px solid var(--border);
  }
}

/* 印刷用スタイル */
@media print {
  body {
    background: white !important;
    color: black !important;
  }

  .glass-card,
  .sidebar .block,
  .section .list .article {
    background: white !important;
    border: 1px solid black !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
  }

  a:link,
  a:visited {
    color: black !important;
    text-decoration: underline !important;
  }

  .fade-in-up,
  .fade-in-left,
  .fade-in-right,
  .slide-in-left,
  .slide-in-right {
    opacity: 1 !important;
    transform: none !important;
  }

  .sidebar {
    display: none !important;
  }

  .section .list .article {
    break-inside: avoid;
  }
}

/* 大きなフォントサイズ対応 */
@media (min-resolution: 2dppx) {
  body {
    font-size: 18px;
  }

  .page_title {
    font-size: clamp(3.5rem, 10vw, 5rem);
  }

  .section .section_title {
    font-size: clamp(2.8rem, 6vw, 3.5rem);
  }
}

/* タブレット・スマホでのタッチ操作改善 */
@media (hover: none) and (pointer: coarse) {
  .glass-card:hover,
  .sidebar .block:hover,
  .section .list .article:hover {
    transform: none;
    box-shadow:
      0 8px 32px rgba(0, 0, 0, 0.1),
      inset 0 1px 0 rgba(255, 255, 255, 0.2);
  }

  a:hover {
    transform: none;
    text-shadow: none;
  }

  button:hover,
  input[type="submit"]:hover,
  .btn_details a:hover {
    transform: none;
    box-shadow: 0 4px 8px rgba(44, 62, 80, 0.2);
  }
}

/* 強制的に表示する要素 */
.force-show {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* =====================================================
   Dark Mode Support (ダークモード)
   ===================================================== */

/* CSS変数でカラー管理 */


/* ダークモード */
@media (prefers-color-scheme: dark) {
  
}


/* 手動ダークモード切り替え */
[data-theme="dark"] {
  --bg-primary: #1a1a1a;
  --bg-secondary: #2d2d2d;
  --bg-tertiary: #3a3a3a;
  --text-primary: #ffffff;
  --text-secondary: #cccccc;
  --text-muted: #999999;
  --border-color: #404040;
  --shadow-color: rgba(0, 0, 0, 0.3);
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --accent-color: #64b5f6;
  --accent-hover: #42a5f5;
  --success-color: #4caf50;
  --error-color: #f44336;
  --warning-color: #ff9800;
  --info-color: #2196f3;
}

/* 基本要素に変数を適用 */
body {
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  color: var(--text-primary);
  transition: background 0.3s ease, color 0.3s ease;
}

#container {
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

#header {
  background: var(--glass-bg);
  border-bottom: 1px solid var(--glass-border);
  color: var(--text-primary);
}

#header .element.logo a {
  color: var(--text-primary);
}

#header .element.navi.primary-nav .navi_list li a {
  color: var(--text-primary);
}

#header .element.navi.primary-nav .navi_list li a:hover,
#header .element.navi.primary-nav .navi_list li a.current {
  color: var(--accent-color);
  border-bottom-color: var(--accent-color);
}

.glass-card,
.sidebar .block,
.section .list .article {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  box-shadow: 0 8px 32px var(--shadow-color);
}

.page_title,
.section .section_title {
  color: var(--text-primary);
}


a:link,
a:visited {
  color: var(--accent-color);
}

a:hover,
a:active {
  color: var(--accent-hover);
}

/* フォーム要素 */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
textarea,
select {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 2px rgba(100, 181, 246, 0.2);
}

/* ボタン */
button,
input[type="submit"],
input[type="button"],
.btn_details a {
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-hover) 100%);
  color: var(--bg-primary);
  border: 1px solid var(--accent-color);
}

button:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
.btn_details a:hover {
  background: linear-gradient(135deg, var(--accent-hover) 0%, var(--accent-color) 100%);
  box-shadow: 0 8px 16px var(--shadow-color);
}

/* ダークモード切り替えボタン */
.theme-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1000;
  transition: all 0.3s ease;
  color: var(--text-primary);
}

.theme-toggle:hover {
  background: var(--glass-border);
  transform: scale(1.1);
}

.theme-toggle::before {
  content: "🌙";
  font-size: 1.5rem;
}

[data-theme="dark"] .theme-toggle::before {
  content: "☀️";
}

/* ダークモード時のスクロールバー */
@media (prefers-color-scheme: dark) {
  ::-webkit-scrollbar {
    width: 8px;
  }

  ::-webkit-scrollbar-track {
    background: var(--bg-secondary);
  }

  ::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
  }

  ::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
  }
}

/* ダークモード時の選択テキスト */
@media (prefers-color-scheme: dark) {
  ::selection {
    background: var(--accent-color);
    color: var(--bg-primary);
  }

  ::-moz-selection {
    background: var(--accent-color);
    color: var(--bg-primary);
  }
}

/* ダークモード時のフォーカス */
@media (prefers-color-scheme: dark) {
  *:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
  }
}

/* ダークモード時のメディアクエリ */
@media (prefers-color-scheme: dark) {
  .neon-glass {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(100, 181, 246, 0.3);
    box-shadow:
      0 8px 32px rgba(0, 0, 0, 0.4),
      inset 0 1px 0 rgba(255, 255, 255, 0.05),
      0 0 20px rgba(100, 181, 246, 0.1);
  }

  .frost-glass {
    background: rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
      0 8px 32px rgba(0, 0, 0, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.1),
      inset 0 -1px 0 rgba(0, 0, 0, 0.2);
  }

  .liquid-glass {
    background: rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }
}

/* システムテーマ切り替え対応 */
.theme-system {
  --bg-primary: #ffffff;
  --bg-secondary: #f8f9fa;
  --text-primary: #2c3e50;
  --accent-color: var(--primary-color);
}

@media (prefers-color-scheme: dark) {
  .theme-system {
    --bg-primary: #1a1a1a;
    --bg-secondary: #2d2d2d;
    --text-primary: #ffffff;
    --accent-color: #64b5f6;
  }
}

/* 画像のダークモード対応 */
@media (prefers-color-scheme: dark) {
  img {
    filter: brightness(0.8) contrast(1.2);
  }

  img:hover {
    filter: brightness(1) contrast(1);
  }
}
/*
 Vanilla Reset Styles
*/
/* Modern CSS Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: 'Inter', 'Noto Sans JP', 'ヒラギノ角ゴ ProN', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', 'YuGothic', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--primary-color);
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  background-attachment: fixed;
  letter-spacing: -0.02em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/* Typography Reset */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  padding: 0;
  font-weight: inherit;
  font-size: inherit;
  line-height: inherit;
}
p,
blockquote,
pre,
address {
  margin: 0;
}
/* List Reset */
ul,
ol,
dl {
  margin: 0;
  padding: 0;
  list-style: none;
}
dt,
dd {
  margin: 0;
  padding: 0;
}
/* Table Reset */
table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
}
th,
td {
  padding: 0;
  text-align: left;
}
/* Form Reset */
button,
input,
optgroup,
select,
textarea {
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}
button,
input {
  overflow: visible;
}
button,
select {
  text-transform: none;
}
button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
  cursor: pointer;
}
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}
fieldset {
  margin: 0;
  padding: 0;
  border: none;
}
legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}
/* Media Reset */
img,
video,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}
iframe {
  border: none;
}
/* Link Reset */
a {
  background-color: transparent;
  text-decoration: none;
  color: inherit;
}
a:not([class]) {
  text-decoration-skip-ink: auto;
}
/* Remove default focus outline for mouse users */
:focus:not(:focus-visible) {
  outline: none;
}
/* Accessibility */
[tabindex="-1"]:focus:not(:focus-visible) {
  outline: 0 !important;
}
/* Remove the inner border and padding in Firefox */
::-moz-focus-inner {
  border-style: none;
  padding: 0;
}
/* Restore the focus styles unset by the previous rule */
:-moz-focusring {
  outline: 1px dotted ButtonText;
}
/* Modern scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #e8e8e8;
}
::-webkit-scrollbar-thumb {
  background: #7f8c8d;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-color);
}
/* Selection styling */
::selection {
  background: var(--primary-color);
  color: white;
  text-shadow: none;
}
::-moz-selection {
  background: var(--primary-color);
  color: white;
  text-shadow: none;
}

/* Modern Photo Modal (replaces Colorbox) */
.photo-modal-dialog {
  border: none;
  border-radius: 12px;
  padding: 0;
  max-width: 90vw;
  max-height: 90vh;
  background: transparent;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  /* 画面中央に配置（縦長画像対応） */
  margin: 0;
  inset: 0;
  width: fit-content;
  height: fit-content;
  position: fixed;
}

.photo-modal-dialog::backdrop {
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
}

.photo-modal-content {
  position: relative;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: 90vh;
}

.photo-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 1.8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.photo-modal-close:hover {
  background: rgba(0, 0, 0, 0.9);
  transform: scale(1.1);
}

.photo-modal-image {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f8f9fa;
  flex: 1;
  overflow: hidden;
}

.photo-modal-image img {
  max-width: 85vw;
  max-height: 75vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
}

.photo-modal-body {
  padding: 2rem;
  border-top: 1px solid var(--border-color);
  background: white;
}

.photo-modal-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.photo-modal-text {
  font-size: 1.4rem;
  line-height: 1.6;
  color: var(--text-color);
  margin-bottom: 1rem;
}

.photo-modal-date {
  font-size: 1.2rem;
  color: var(--text-light);
  font-style: italic;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .photo-modal-dialog {
    max-width: 95vw;
    max-height: 95vh;
  }

  .photo-modal-image {
    min-height: 300px;
  }

  .photo-modal-image img {
    max-height: 50vh;
  }

  .photo-modal-body {
    padding: 1.5rem;
  }

  .photo-modal-title {
    font-size: 1.6rem;
  }

  .photo-modal-close {
    width: 36px;
    height: 36px;
    font-size: 1.6rem;
  }
}

/*
 Vanilla Recruit Page Styles
*/
/* 求人ページのスタイル */
.c-recruit-table {
  max-width: 800px;
  margin: 2rem auto;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.c-recruit-table__row {
  display: flex;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--border-color);
  margin: 0;
}

.c-recruit-table__row:last-child {
  border-bottom: none;
}

.c-recruit-table__header-cell {
  background: var(--primary-color);
  color: white;
  padding: 1.5rem 2rem;
  font-weight: 600;
  font-size: 1.6rem;
  min-width: 150px;
  display: flex;
  align-items: center;
  margin: 0;
}

.c-recruit-table__data-cell {
  padding: 1.5rem 2rem;
  font-size: 1.5rem;
  line-height: 1.6;
  color: var(--text-color);
  flex: 1;
  min-width: 0;
  margin: 0;
}

.c-recruit-table__note {
  background: var(--secondary-light);
  color: var(--secondary-color);
  padding: 1rem 2rem;
  font-size: 1.4rem;
  font-weight: 500;
  text-align: center;
  border-top: 1px solid var(--border-color);
}

.c-recruit-table__note--period {
  font-style: italic;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .c-recruit-table__row {
    flex-direction: column;
  }

  .c-recruit-table__header-cell {
    min-width: auto;
    padding: 1rem 1.5rem;
    font-size: 1.5rem;
  }

  .c-recruit-table__data-cell {
    padding: 1rem 1.5rem;
    font-size: 1.4rem;
  }

  .c-recruit-table__note {
    padding: 0.8rem 1.5rem;
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .c-recruit-table {
    margin: 1rem;
    border-radius: 8px;
  }

  .c-recruit-table__header-cell,
  .c-recruit-table__data-cell {
    padding: 0.8rem 1rem;
  }

  .c-recruit-table__header-cell {
    font-size: 1.4rem;
  }

  .c-recruit-table__data-cell {
    font-size: 1.3rem;
  }
}

/*
 Vanilla Parts Display Control
*/
/* Element visibility controls */
.element {
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.element.hidden {
  opacity: 0;
  visibility: hidden;
}
.element.fade-in {
  opacity: 0;
  transform: translateY(2rem);
  transition: all 0.6s ease;
}
.element.fade-in.in-view {
  opacity: 1;
  transform: translateY(0);
}
/* Shop information parts */
.element.shop_tel[data-shoptel=""] {
  display: none !important;
}
.element.shop_address:empty {
  display: none !important;
}
.element.shop_hours:empty {
  display: none !important;
}
/* Welcome message parts */
.element.welcome_message[data-editable="0"] .section-title:empty,
.element.welcome_message[data-editable="0"] .section-content:empty {
  display: none !important;
}
/* Navigation parts */
.element.navi.pc {
  display: block;
}
@media only screen and (max-width: 768px) {
  .element.navi.pc {
    display: none;
  }
}
.element.navi.mobile {
  display: none;
}
@media only screen and (max-width: 768px) {
  .element.navi.mobile {
    display: block;
  }
}
/* Social media parts */
.element.social .social-link {
  display: inline-block;
  margin: 0 0.5rem;
  transition: transform 0.3s ease;
}
.element.social .social-link:hover {
  transform: translateY(-2px);
}
.element.social .social-link.facebook {
  color: #1877f2;
}
.element.social .social-link.twitter {
  color: #1da1f2;
}
.element.social .social-link.instagram {
  color: #e4405f;
}
.element.social .social-link.youtube {
  color: #ff0000;
}
.element.social .social-link.line {
  color: #00c300;
}
/* Latest info parts */
.element.latest_info_list .info-list:empty {
  display: none;
}
.element.latest_info_list .info-item:empty {
  display: none;
}
/* Slideshow parts */
.slideshow_part_active.hidden {
  display: none !important;
}
/* Logo parts */
.element.logo .shop_sitename:empty::before {
  content: "サイト名";
  color: #7f8c8d;
  font-style: italic;
}
/* Site description parts */
.element.site_description:empty {
  display: none !important;
}
/* Parts animation on scroll */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.element.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}
.element.animate-on-scroll.in-viewport {
  animation: fadeInUp 0.6s ease forwards;
}
/* Responsive parts visibility */
@media only screen and (max-width: 768px) {
  .show-desktop {
    display: none !important;
  }
}
.show-tablet {
  display: none !important;
}
@media only screen and (max-width: 768px) {
  .show-tablet {
    display: block !important;
  }
}
@media only screen and (max-width: 576px) {
  .show-tablet {
    display: none !important;
  }
}
.show-mobile {
  display: none !important;
}
@media only screen and (max-width: 576px) {
  .show-mobile {
    display: block !important;
  }
}
/* Part spacing controls */
.element + .element {
  margin-top: 2rem;
}
.compact .element + .element {
  margin-top: 1rem;
}
.spacious .element + .element {
  margin-top: 3rem;
}
/*
 Vanilla Colorbox/Modal Styles
*/
/* Colorbox overlay */
#colorbox {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
}
#cboxOverlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  opacity: 0;
  transition: opacity 0.3s ease;
}
/* Colorbox wrapper */
#cboxWrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.8);
  transition: all 0.3s ease;
}
/* Colorbox content */
#cboxContent {
  position: relative;
  overflow: hidden;
  background: #ffffff;
}
#cboxLoadedContent {
  padding: 2rem;
  background: #ffffff;
}
/* Colorbox title */
#cboxTitle {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 1rem 2rem;
  font-size: 1.4rem;
  font-weight: 500;
}
/* Colorbox close button */
#cboxClose {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 3rem;
  height: 3rem;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 2;
}
#cboxClose:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: scale(1.1);
}
#cboxClose::before {
  content: '\00d7';
  font-weight: bold;
}
/* Navigation buttons */
#cboxPrevious,
#cboxNext {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 4rem;
  height: 4rem;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 2;
}
#cboxPrevious:hover,
#cboxNext:hover {
  background: var(--primary-color);
  transform: translateY(-50%) scale(1.1);
}
#cboxPrevious:disabled,
#cboxNext:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
#cboxPrevious:disabled:hover,
#cboxNext:disabled:hover {
  background: rgba(0, 0, 0, 0.5);
  transform: translateY(-50%);
}
#cboxPrevious {
  left: 1rem;
}
#cboxPrevious::before {
  content: '\2039';
  font-weight: bold;
}
#cboxNext {
  right: 1rem;
}
#cboxNext::before {
  content: '\203a';
  font-weight: bold;
}
/* Loading animation */
#cboxLoadingOverlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
}
#cboxLoadingGraphic {
  width: 4rem;
  height: 4rem;
  border: 3px solid #e8e8e8;
  border-top: 3px solid #2c3e50;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/* Show states */
#colorbox.open #cboxOverlay {
  opacity: 1;
}
#colorbox.open #cboxWrapper {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
/* Mobile responsiveness */
@media only screen and (max-width: 576px) {
  #cboxWrapper {
    width: 95vw !important;
    height: 95vh !important;
    max-width: none !important;
    max-height: none !important;
  }
  #cboxLoadedContent {
    padding: 1rem;
  }
  #cboxTitle {
    padding: 0.8rem 1rem;
    font-size: 1.2rem;
  }
  #cboxClose {
    top: 0.5rem;
    right: 0.5rem;
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.6rem;
  }
  #cboxPrevious,
  #cboxNext {
    width: 3rem;
    height: 3rem;
    font-size: 1.6rem;
  }
}
/* Image gallery specific styles */
.cbox-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}
.cbox-iframe {
  width: 100%;
  height: 100%;
  border: none;
}
/* Error message */
.cbox-error {
  padding: 2rem;
  text-align: center;
  color: var(--accent-color);
  font-size: 1.6rem;
}
/*
 Vanilla Top Page Styles (OnePlate互換)
*/
body#top #content > .inner {
  max-width: 960px;
  margin: 0 auto;
}
body#top .section {
  margin: 3.1em 0 0;
  padding: 0 0 3.1em;
  border-top: 1px dotted #e8e8e8;
}
body#top .section > .inner {
  max-width: 1200px;
  margin: 0 auto;
}
@media only screen and (max-width: 1000px) {
  body#top .section > .inner {
    padding-left: 20px;
    padding-right: 20px;
  }
}
body#top .section_title {
  position: relative;
  top: 0;
  display: block;
  width: 100%;
  max-width: 960px;
  margin: 0 auto 2em;
  text-align: center;
}
body#top .section_title a,
body#top .section_title span {
  display: inline-block;
  padding: 0 1em;
  font-size: 3rem;
  margin-top: 2rem;
}
body#top .btn_details {
  margin: 10px 0 -22px;
  text-align: right;
  font-size: 1.8rem;
}
body#top .btn_details a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border-radius: 8px;
  line-height: 1;
  color: var(--primary-color);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(44, 62, 80, 0.2);
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 500;
  font-size: var(--btn-details-font-size);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
}
body#top .btn_details a::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(44, 62, 80, 0.1);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease;
}
body#top .btn_details a:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(44, 62, 80, 0.2);
  border-color: var(--primary-color);
}
body#top .btn_details a:hover::before {
  width: 300px;
  height: 300px;
}
body#top .btn_details a:active {
  transform: translateY(0);
  box-shadow: 0 4px 8px rgba(44, 62, 80, 0.2);
}
body#top .welcomemessage {
  margin-top: 1.5em;
  padding-top: 3em;
  border: none;
}
body#top .information .list {
  display: flex;
  flex-direction: column;
  gap: 2rem;  /* 記事間の余白を設定 */
  margin-top: 2rem;
}
body#top .information .list.is-float .article {
  order: 0;
  flex-grow: 0;
  flex-shrink: 1;
  flex-basis: auto;
  align-self: auto;
  box-sizing: border-box;
  position: relative;
  width: 100%; /* 縦並びなので100%幅に */
}
@media only screen and (max-width: 768px) {
  body#top .information .list.is-float .article {
    width: 100%; /* 縦並びなので100%幅に */
  }
}
@media only screen and (max-width: 576px) {
  body#top .information .list.is-float .article {
    width: 100%;
  }
  body#top .information .list.is-float .article .summary {
    padding: 0;
  }
  body#top .information .article {
    flex-direction: column;
    padding: 1.5rem;
  }
  body#top .information .article .photo {
    width: 100%;
    height: 200px;
    margin-bottom: 1rem;
  }
}
body#top .information .article {
  text-align: left;
  transition: all 0.3s ease;
  opacity: 1;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
body#top .information .article:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.1);
  opacity: 1;
}
body#top .information .article {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

body#top .information .article .photo {
  flex-shrink: 0;
  width: 150px;
  height: 150px;
  border-radius: 8px;
  overflow: hidden;
  background: #f0f0f0;
}
body#top .information .article .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
body#top .information .article:hover .photo img {
  transform: scale(1.05);
}
body#top .information .article .summary {
  flex: 1;
  min-width: 0;
}
body#top .information .article .summary > .inner {
  /* margin-left は flexbox で不要 */
  display: block;
}
body#top .information .article .summary .date {
  display: block;
  font-size: 1.4rem;
  line-height: 1.4;
  font-family: 'Roboto', sans-serif;
  color: #7f8c8d;
  margin-bottom: 0.5rem;
}
body#top .information .article .summary .date span {
  vertical-align: .15em;
  font-size: 1.2rem;
}
body#top .information .article .summary .title {
  display: block;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--primary-color);
  line-height: 1.5;
  margin-top: 0.5rem;
}
body#top .about {
  position: relative;
  padding-top: 0;
}
body#top .about .section_title {
  max-width: none;
}
body#top .about > .inner {
  width: 100%;
}
body#top .about > .inner:after {
  content: '';
  display: table;
  clear: both;
}
body#top .about .block {
  float: none;
  width: 100%;
}
body#top .about .block.map iframe {
  height: 470px;
}
body#top .about .block.summary {
  width: 100%;
  max-width: 1200px;
  margin: 50px auto 0;
}
body#top .about .block.summary table {
  width: 65%;
  margin: 0 auto;
}
body#top .about .block.summary tr {
  display: table-row;
  margin: 0;
}
body#top .about .block.summary tr:first-child th,
body#top .about .block.summary tr:first-child td {
  border-top: none;
}
body#top .about .block.summary th,
body#top .about .block.summary td {
  display: table-cell;
  padding: 1em;
  border: 1px dotted #e8e8e8;
  border-bottom: none;
  border-left: none;
  font-size: 1.6rem;
  line-height: 1.6;
}
body#top .about .block.summary th {
  width: 35%;
}
body#top .about .block.summary td {
  width: 65%;
  border-right: none;
}
@media only screen and (max-width: 768px) {
  body#top .about .block.map iframe {
    height: 300px;
  }
  body#top .about .block.summary table {
    width: 80%;
  }
}
@media only screen and (max-width: 576px) {
  body#top .about .block.summary table {
    width: 100%;
  }
}
body#top .contact .contact_area {
  display: block;
  margin-top: 2.5em;
}
body#top .contact .contact_area:first-child {
  margin-top: 0;
}
body#top .contact .button {
  margin: 1em 0 0;
}
body#top .contact .checkbox,
body#top .contact .radio {
  display: inline-block;
}
body#top .contact label {
  font-size: 1.8rem;
}
body#top .contact input[type=submit] {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  border: none;
  padding: 1.5rem 3rem;
  border-radius: 8px;
  font-size: 1.8rem;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 8px rgba(44, 62, 80, 0.2);
}

body#top .contact input[type=submit]::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease;
}

body#top .contact input[type=submit]:hover {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(44, 62, 80, 0.3);
}

body#top .contact input[type=submit]:hover::before {
  width: 300px;
  height: 300px;
}

body#top .contact input[type=submit]:active {
  transform: translateY(0);
  box-shadow: 0 4px 8px rgba(44, 62, 80, 0.2);
}
body#top .contact form {
  width: 85%;
  max-width: 1200px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 3rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
@media only screen and (max-width: 768px) {
  body#top .contact form {
    width: 80%;
    padding: 2rem;
  }
}
@media only screen and (max-width: 576px) {
  body#top .contact form {
    width: 100%;
    padding: 1.5rem;
  }
}
/* 共通フォームスタイル */
.contact_form .contact_area,
.contact_form .button_area {
  margin: 2.5em 0 0;
}
.contact_form .contact_area:first-child,
.contact_form .button_area:first-child {
  margin: 0;
}
.contact_form .contact_area br {
  display: none;
}
.contact_form .contact_area > label {
  display: block;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 1rem;
}
.contact_form .contact_area input[type="text"],
.contact_form .contact_area input[type="email"],
.contact_form .contact_area input[type="tel"],
.contact_form .contact_area select,
.contact_form .contact_area textarea {
  width: 100%;
  padding: 1.5rem;
  border: 2px solid #e8e8e8;
  border-radius: 4px;
  font-size: 1.6rem;
  font-family: 'Roboto', 'Noto Serif JP', 'ヒラギノ明朝 ProN', 'Hiragino Mincho ProN', 'Yu Mincho', 'YuMincho', serif;
  background-color: #ffffff;
  transition: all 0.3s ease;
}
.contact_form .contact_area input[type="text"]:focus,
.contact_form .contact_area input[type="email"]:focus,
.contact_form .contact_area input[type="tel"]:focus,
.contact_form .contact_area select:focus,
.contact_form .contact_area textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}
.contact_form .contact_area textarea {
  min-height: 12rem;
  resize: vertical;
}
/*
 Vanilla Info Page Styles (OnePlate互換)
*/
body#info .navi.mobile .sub_navi li {
  background: transparent;
}
body#info .navi.mobile .sub_navi li a {
  font-size: 1.6rem;
}
body#info .navi.mobile .sub_navi li.year {
  font-size: 1.8rem;
  line-height: 1;
  color: rgba(44, 62, 80, 0.7);
  color: #8b8b8b;
}
body#info .navi.mobile .sub_navi li.year div {
  margin: 0 0 10px;
}
body#info .navi.mobile .sub_navi li.year div.month {
  margin: 0;
}
body#info .navi.mobile .sub_navi li.year div.month a {
  display: inline-block;
  padding: .2em;
  margin: 0 5px 10px;
  font-size: 1.6rem;
}
body#info .article {
  margin: 4em 0 0;
}
body#info .article:first-child {
  margin: 0;
}
body#info .article .date {
  margin: 0;
  padding: 0;
  font-size: 2rem;
  line-height: 1;
  font-family: 'Roboto', sans-serif;
}
body#info .article .date span {
  vertical-align: 2px;
  font-weight: bold;
  font-size: 1.6rem;
}
body#info .article .body .article_title {
  margin: 10px 0 0;
  font-weight: normal;
  font-size: 2.6rem;
  line-height: 1.2;
}
body#info .article .body .article_title a {
  position: relative;
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}
body#info .article .body .article_title a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}
body#info .article .body .photo {
  float: right;
  max-width: 50%;
  margin: 20px 0 1.2em 1.5em;
}
body#info .article .body .photo img {
  max-width: 100%;
  border-radius: 3px;
}
body#info .article .body .textfield {
  margin: 20px 0 0;
}
@media only screen and (max-width: 576px) {
  body#info .article .date {
    float: none;
    width: 100%;
    margin: 0 0 5px;
  }
  body#info .article .date div {
    display: inline;
  }
  body#info .article .date div.month {
    margin-right: 5px;
    font-size: 2.2rem;
  }
  body#info .article .body {
    float: none;
  }
  body#info .article .body .inner {
    margin: 0;
  }
  body#info .article .body h3 {
    margin: 0 0 20px;
  }
  body#info .article .body .photo {
    float: none;
    max-width: 100%;
    margin: 10px 0 0;
  }
  body#info .article .body .textfield {
    margin: 10px 0 0;
  }
}
/*
 Vanilla Photo Page Styles
*/
.photo-page .page-header {
  margin-bottom: 4rem;
}
@media only screen and (max-width: 768px) {
  .photo-page .page-header {
    margin-bottom: 3rem;
  }
}
/* Photo Gallery */
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 4rem;
}
@media only screen and (max-width: 768px) {
  .photo-gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media only screen and (max-width: 576px) {
  .photo-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media only screen and (max-width: 576px) {
  .photo-gallery {
    gap: 1rem;
  }
}
.photo-item {
  position: relative;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}
.photo-item:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
.photo-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
.photo-item .photo-link {
  display: block;
  position: relative;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
}
.photo-item .photo-link img {
  width: 100%;
  height: 25rem;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}
@media only screen and (max-width: 768px) {
  .photo-item .photo-link img {
    height: 20rem;
  }
}
@media only screen and (max-width: 576px) {
  .photo-item .photo-link img {
    height: 15rem;
  }
}
.photo-item .photo-link:hover img {
  transform: scale(1.1);
}
.photo-item .photo-caption {
  position: static;
  background: transparent;
  color: var(--text-color);
  padding: 1.5rem;
  font-size: 1.4rem;
  font-weight: 500;
  text-align: left;
  opacity: 1;
  transform: none;
  border-top: 1px solid #eee;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
@media only screen and (max-width: 576px) {
  .photo-item .photo-caption {
    padding: 1rem;
    font-size: 1.2rem;
  }
}
.photo-item .photo-caption-title {
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}
.photo-item .photo-caption-date {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-top: auto;
}
.photo-item:hover .photo-caption {
  /* キャプションは常に表示されているので、ホバー効果は不要 */
}
/* Photo modal overlay */
.photo-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.photo-modal.active {
  opacity: 1;
  visibility: visible;
}
.photo-modal .modal-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  transition: box-shadow 0.3s ease;
}
.photo-modal .modal-content:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
.photo-modal .modal-content img {
  width: 100%;
  height: auto;
  display: block;
}
.photo-modal .modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 4rem;
  height: 4rem;
  background: rgba(0, 0, 0, 0.7);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  transition: all 0.3s ease;
}
.photo-modal .modal-close:hover {
  background: var(--primary-color);
  transform: scale(1.1);
}
.photo-modal .modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 5rem;
  height: 5rem;
  background: rgba(0, 0, 0, 0.7);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 2.4rem;
  cursor: pointer;
  transition: all 0.3s ease;
}
.photo-modal .modal-nav:hover {
  background: var(--primary-color);
  transform: translateY(-50%) scale(1.1);
}
.photo-modal .modal-nav.prev {
  left: 2rem;
}
.photo-modal .modal-nav.next {
  right: 2rem;
}
.photo-modal .modal-nav:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.photo-modal .modal-nav:disabled:hover {
  background: rgba(0, 0, 0, 0.7);
  transform: translateY(-50%);
}
.photo-modal .modal-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 1.5rem 2rem;
  font-size: 1.6rem;
  text-align: center;
}
/* Masonry layout alternative */
.photo-gallery.masonry {
  column-count: 4;
  column-gap: 2rem;
}
@media only screen and (max-width: 768px) {
  .photo-gallery.masonry {
    column-count: 3;
  }
}
@media only screen and (max-width: 576px) {
  .photo-gallery.masonry {
    column-count: 2;
    column-gap: 1rem;
  }
}
.photo-gallery.masonry .photo-item {
  display: inline-block;
  width: 100%;
  margin-bottom: 2rem;
  break-inside: avoid;
}
@media only screen and (max-width: 576px) {
  .photo-gallery.masonry .photo-item {
    margin-bottom: 1rem;
  }
}
.photo-gallery.masonry .photo-item .photo-link img {
  height: auto;
}
/* Loading animation */
.photo-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 2rem;
}
.photo-loading .loading-text {
  font-size: 1.6rem;
  color: #7f8c8d;
  margin-left: 1rem;
}
/* Empty state */
.photo-gallery:empty::after {
  content: "写真はまだ投稿されていません。";
  display: block;
  text-align: center;
  color: #7f8c8d;
  font-style: italic;
  padding: 6rem 2rem;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  transition: box-shadow 0.3s ease;
  grid-column: -1;
}
.photo-gallery:empty::after:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* =====================================================
   TOP PAGE PHOTO LIST - 美しいグリッドレイアウト
   ===================================================== */

/* Top Photo Section */
.section.photo {
  margin-bottom: 6rem;
}

.section.photo .section_title {
  text-align: center;
  margin-bottom: 4rem;
  font-size: 2.8rem;
  font-weight: 300;
  color: var(--primary-color);
}

/* Photo Grid Container */
.section.photo .list.float {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

@media only screen and (max-width: 768px) {
  .section.photo .list.float {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media only screen and (max-width: 480px) {
  .section.photo .list.float {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* Photo Item */
.section.photo .list.float li {
  position: relative;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
}

.section.photo .list.float li:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

/* Photo Image */
.section.photo .list.float li span {
  display: block;
  width: 100%;
  height: 0;
  padding-bottom: 75%; /* 4:3 Aspect Ratio */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.section.photo .list.float li:hover span {
  transform: scale(1.05);
}

/* PhotoからImageを取得するためのCSS処理 */
.section.photo .list.float li span::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(44, 62, 80, 0) 0%,
    rgba(44, 62, 80, 0.1) 50%,
    rgba(44, 62, 80, 0.3) 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.section.photo .list.float li:hover span::after {
  opacity: 1;
}

/* More Button */
.section.photo .btn_details {
  text-align: center;
  margin-top: 4rem;
}

.section.photo .btn_details a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem 2.4rem;
  background: var(--primary-color);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-size: var(--btn-details-font-size);
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(44, 62, 80, 0.2);
  text-align: center;
}

.section.photo .btn_details a:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(44, 62, 80, 0.3);
}

.section.photo .btn_details a i {
  margin-left: 0.8rem;
  transition: transform 0.3s ease;
}

.section.photo .btn_details a:hover i {
  transform: translateX(4px);
}

/* =====================================================
   RESERVATION FORM - 予約フォームスタイル
   ===================================================== */

/* 予約フォーム全体のコンテナ */
body#reservation .inner form {
  background: #ffffff;
  border-radius: 16px;
  padding: 3rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  margin-bottom: 3rem;
}

@media only screen and (max-width: 768px) {
  body#reservation .inner form {
    padding: 2rem;
    border-radius: 12px;
  }
}

/* 予約エリア（各フィールドグループ） */
.reservation_area {
  margin-bottom: 2.5rem;
}

.reservation_area:last-child {
  margin-bottom: 0;
}

/* ラベルスタイル */
.reservation_area label {
  display: block;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.8rem;
  line-height: 1.4;
}

/* 必須マーク */
.reservation_area .requier {
  display: inline-block;
  background: var(--accent-color);
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  margin-left: 0.8rem;
  vertical-align: top;
}

.reservation_area .requier::before {
  content: "必須";
  font-size: 1.0rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}


/* 共通入力フィールドスタイル */
.reservation_area input[type="text"],
.reservation_area input[type="tel"],
.reservation_area input[type="email"],
.reservation_area textarea,
.reservation_area select {
  width: 100%;
  padding: 1.2rem 1.6rem;
  border: 3px solid var(--border-color);
  border-radius: 8px;
  font-size: 1.4rem;
  font-family: inherit;
  background: #ffffff;
  transition: all 0.3s ease;
  box-sizing: border-box;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.reservation_area input[type="text"]:focus,
.reservation_area input[type="tel"]:focus,
.reservation_area input[type="email"]:focus,
.reservation_area textarea:focus,
.reservation_area select:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.2), 0 4px 12px rgba(52, 152, 219, 0.1);
  transform: translateY(-2px);
  background: #fafbfc;
}

/* テキストエリア */
.reservation_area textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.6;
}

/* セレクトボックス */
.reservation_area select {
  cursor: pointer;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1.2rem center;
  background-size: 1.6rem;
  padding-right: 4rem;
  appearance: none;
}

/* 日時選択エリア */
.reservation_area select[name*="reserve_date"] {
  display: inline-block;
  width: auto;
  min-width: 80px;
  margin-right: 0.8rem;
  margin-bottom: 0.5rem;
}

/* ラジオボタンエリア */
.reservation_area .radio {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.reservation_area .radio input[type="radio"] {
  width: auto;
  margin-right: 0.8rem;
  transform: scale(1.2);
  accent-color: var(--secondary-color);
}

.reservation_area .radio label {
  display: flex;
  align-items: center;
  font-weight: 400;
  margin-bottom: 0;
  cursor: pointer;
  padding: 1rem;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.reservation_area .radio label:hover {
  background-color: rgba(52, 152, 219, 0.05);
}

/* 送信ボタンエリア */
.button_area {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #e8e8e8;
}

.button_area .button,
.button_area input[type="submit"] {
  display: inline-block;
  padding: 1.5rem 3rem;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1.8rem;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 8px rgba(44, 62, 80, 0.2);
  text-decoration: none;
}

.button_area .button::before,
.button_area input[type="submit"]::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease;
}

.button_area .button:hover,
.button_area input[type="submit"]:hover {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(44, 62, 80, 0.3);
}

.button_area .button:hover::before,
.button_area input[type="submit"]:hover::before {
  width: 300px;
  height: 300px;
}

.button_area .button:active,
.button_area input[type="submit"]:active {
  transform: translateY(0);
  box-shadow: 0 4px 8px rgba(44, 62, 80, 0.2);
}

/* レスポンシブ調整 */
@media only screen and (max-width: 768px) {
  .reservation_area select[name*="reserve_date"] {
    display: block;
    width: 100%;
    margin-bottom: 1rem;
  }

  .button_area .button,
  .button_area input[type="submit"] {
    width: 100%;
    padding: 1.5rem 2rem;
    font-size: 1.6rem;
  }
}

/* 入力エラー状態 */
.reservation_area input.error,
.reservation_area textarea.error,
.reservation_area select.error {
  border-color: var(--error-color);
  background: #fdf2f2;
  box-shadow: 0 0 0 4px rgba(231, 76, 60, 0.2), 0 4px 12px rgba(231, 76, 60, 0.1);
  animation: shake 0.5s ease-in-out;
}

.reservation_area input.error:focus,
.reservation_area textarea.error:focus,
.reservation_area select.error:focus {
  border-color: var(--error-color);
  box-shadow: 0 0 0 4px rgba(231, 76, 60, 0.3), 0 4px 12px rgba(231, 76, 60, 0.2);
}

@keyframes shake {
  0%, 20%, 40%, 60%, 80%, 100% {
    transform: translateX(0);
  }
  10%, 30%, 50%, 70%, 90% {
    transform: translateX(-5px);
  }
}

/* 成功状態 */
.reservation_area input.success,
.reservation_area textarea.success,
.reservation_area select.success {
  border-color: var(--success-color);
  box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.1);
}

/* プレースホルダー */
.reservation_area input::placeholder,
.reservation_area textarea::placeholder {
  color: #95a5a6;
  font-style: italic;
}

/* アニメーション効果 */
.reservation_area {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease forwards;
}

.reservation_area:nth-child(1) { animation-delay: 0.1s; }
.reservation_area:nth-child(2) { animation-delay: 0.2s; }
.reservation_area:nth-child(3) { animation-delay: 0.3s; }
.reservation_area:nth-child(4) { animation-delay: 0.4s; }
.reservation_area:nth-child(5) { animation-delay: 0.5s; }
.reservation_area:nth-child(6) { animation-delay: 0.6s; }
.reservation_area:nth-child(7) { animation-delay: 0.7s; }
.reservation_area:nth-child(8) { animation-delay: 0.8s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* エラーメッセージスタイル */
.message {
  margin-bottom: 2rem;
  border-radius: 8px;
  overflow: hidden;
  animation: slideInFromTop 0.4s ease;
}

.message .error_message {
  background: linear-gradient(135deg, var(--error-color), #c0392b);
  color: white;
  padding: 1.5rem 2rem;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.6;
  border-left: 5px solid #922b21;
  box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
  position: relative;
}

.message .error_message::before {
  content: "⚠️";
  font-size: 1.8rem;
  margin-right: 1rem;
  opacity: 0.9;
}

.message .error_message::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 40%, rgba(255, 255, 255, 0.1) 50%, transparent 60%);
  pointer-events: none;
}

.message .success_message {
  background: linear-gradient(135deg, var(--success-color), #229954);
  color: white;
  padding: 1.5rem 2rem;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.6;
  border-left: 5px solid #186a3b;
  box-shadow: 0 4px 12px rgba(39, 174, 96, 0.3);
  position: relative;
}

.message .success_message::before {
  content: "✅";
  font-size: 1.8rem;
  margin-right: 1rem;
  opacity: 0.9;
}

@keyframes slideInFromTop {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Photo count indicator */
.photo-count {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.4rem;
  color: #7f8c8d;
}
.photo-count .count-number {
  font-weight: 600;
  color: var(--primary-color);
}
/* Filter/sort controls */
.photo-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 3rem;
  padding: 2rem;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  transition: box-shadow 0.3s ease;
}
.photo-controls:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
@media only screen and (max-width: 576px) {
  .photo-controls {
    flex-direction: column;
    gap: 1.5rem;
  }
}
.photo-controls .photo-sort select {
  padding: 0.8rem 1.2rem;
  border: 2px solid #e8e8e8;
  border-radius: 8px;
  background: white;
  font-size: 1.4rem;
  transition: border-color 0.3s ease;
}
.photo-controls .photo-sort select:focus {
  outline: none;
  border-color: var(--primary-color);
}
.photo-controls .view-toggle {
  display: flex;
  gap: 0.5rem;
}
.photo-controls .view-toggle button {
  padding: 0.8rem 1.2rem;
  border: 2px solid #e8e8e8;
  background: white;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.photo-controls .view-toggle button.active,
.photo-controls .view-toggle button:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
}
/*
 Vanilla Menu Page Styles
*/
.menu-page .page-header {
  margin-bottom: 4rem;
}
@media only screen and (max-width: 768px) {
  .menu-page .page-header {
    margin-bottom: 3rem;
  }
}
.menu-page .main-content {
  max-width: 80rem;
  margin: 0 auto;
}
/* Add specific styles for each page type here */
/*
 Vanilla About Page Styles
*/
.about-page .page-header {
  margin-bottom: 4rem;
}
@media only screen and (max-width: 768px) {
  .about-page .page-header {
    margin-bottom: 3rem;
  }
}
.about-page .main-content {
  max-width: 80rem;
  margin: 0 auto;
}
/* 店舗情報セクション（OnePlate互換） */
body#about .map,
body#about .summary {
  width: 100%;
}
body#about .map iframe {
  height: 470px;
}
body#about .summary {
  width: 100%;
  max-width: 960px;
  margin: 50px auto 0;
}
body#about .summary table {
  width: 65%;
  margin: 0 auto;
}
body#about .summary tr {
  display: table-row;
  margin: 0;
}
body#about .summary tr:first-child th,
body#about .summary tr:first-child td {
  border-top: none;
}
body#about .summary th,
body#about .summary td {
  display: table-cell;
  padding: 1em;
  line-height: 1.2;
  border: 1px dotted #e8e8e8;
  border-bottom: none;
  border-left: none;
  font-size: 1.6rem;
}
body#about .summary th {
  width: 35%;
}
body#about .summary td {
  width: 65%;
  border-right: none;
}
@media only screen and (max-width: 768px) {
  body#about .summary table {
    width: 80%;
  }
}
@media only screen and (max-width: 576px) {
  body#about .summary table {
    width: 100%;
  }
}
/* トップページのaboutセクション */
.section.about .map {
  margin-bottom: 3rem;
}
@media only screen and (max-width: 768px) {
  .section.about .map {
    margin-bottom: 2rem;
  }
}
.section.about .map iframe {
  height: 470px;
  width: 100%;
}
.section.about .summary .textfield table {
  width: 65%;
  margin: 0 auto;
}
.section.about .summary .textfield table tr {
  display: table-row;
  margin: 0;
}
.section.about .summary .textfield table tr:first-child th,
.section.about .summary .textfield table tr:first-child td {
  border-top: none;
}
.section.about .summary .textfield table th,
.section.about .summary .textfield table td {
  display: table-cell;
  padding: 1em;
  line-height: 1.2;
  border: 1px dotted #e8e8e8;
  border-bottom: none;
  border-left: none;
  font-size: 1.6rem;
}
.section.about .summary .textfield table th {
  width: 35%;
}
.section.about .summary .textfield table td {
  width: 65%;
  border-right: none;
}
@media only screen and (max-width: 768px) {
  .section.about .summary .textfield table {
    width: 80%;
  }
}
@media only screen and (max-width: 576px) {
  .section.about .summary .textfield table {
    width: 100%;
  }
}
/*
 Vanilla Contact Page Styles (OnePlate互換)
*/
body#contact .message {
  background-color: transparent;
  border: none;
  border-radius: 8px;
  padding: 0;
  margin-bottom: 2rem;
  color: var(--primary-color);
}
body#contact form {
  position: relative;
  width: 65%;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 3rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
body#contact form .contact_area,
body#contact form .button_area {
  margin: 2.5em 0 0;
}
body#contact form .contact_area:first-child,
body#contact form .button_area:first-child {
  margin: 0;
}
body#contact form .contact_area br {
  display: none;
}
body#contact form .contact_area > label {
  display: block;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* お問い合わせフォーム用の必須マーク */
body#contact form .contact_area .requier {
  display: inline-block;
  background: var(--accent-color);
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  margin-left: 0.8rem;
  vertical-align: top;
}

body#contact form .contact_area .requier::before {
  content: "必須";
  font-size: 1.0rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}
body#contact form .contact_area .checkbox label,
body#contact form .contact_area .radio label {
  position: static;
  display: inline;
  width: auto;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  font-weight: normal;
  color: var(--primary-color);
  font-size: 1.5rem;
}
body#contact form .contact_area input[type="text"],
body#contact form .contact_area input[type="email"],
body#contact form .contact_area input[type="tel"],
body#contact form .contact_area select,
body#contact form .contact_area textarea {
  width: 100%;
  padding: 1.5rem;
  border: 3px solid var(--border-color);
  border-radius: 8px;
  font-size: 1.6rem;
  font-family: 'Roboto', 'Noto Serif JP', 'ヒラギノ明朝 ProN', 'Hiragino Mincho ProN', 'Yu Mincho', 'YuMincho', serif;
  background-color: #ffffff;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
body#contact form .contact_area input[type="text"]:focus,
body#contact form .contact_area input[type="email"]:focus,
body#contact form .contact_area input[type="tel"]:focus,
body#contact form .contact_area select:focus,
body#contact form .contact_area textarea:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.2), 0 4px 12px rgba(52, 152, 219, 0.1);
  transform: translateY(-2px);
  background: #fafbfc;
}
body#contact form .contact_area input[type="text"]::placeholder,
body#contact form .contact_area input[type="email"]::placeholder,
body#contact form .contact_area input[type="tel"]::placeholder,
body#contact form .contact_area select::placeholder,
body#contact form .contact_area textarea::placeholder {
  color: #7f8c8d;
}
body#contact form .contact_area textarea {
  min-height: 12rem;
  resize: vertical;
}

/* お問い合わせフォーム用のエラー状態 */
body#contact form .contact_area input.error,
body#contact form .contact_area textarea.error,
body#contact form .contact_area select.error {
  border-color: var(--error-color);
  background: #fdf2f2;
  box-shadow: 0 0 0 4px rgba(231, 76, 60, 0.2), 0 4px 12px rgba(231, 76, 60, 0.1);
  animation: shake 0.5s ease-in-out;
}

body#contact form .contact_area input.error:focus,
body#contact form .contact_area textarea.error:focus,
body#contact form .contact_area select.error:focus {
  border-color: var(--error-color);
  box-shadow: 0 0 0 4px rgba(231, 76, 60, 0.3), 0 4px 12px rgba(231, 76, 60, 0.2);
}

/* お問い合わせフォーム用の成功状態 */
body#contact form .contact_area input.success,
body#contact form .contact_area textarea.success,
body#contact form .contact_area select.success {
  border-color: var(--success-color);
  box-shadow: 0 0 0 4px rgba(39, 174, 96, 0.2), 0 4px 12px rgba(39, 174, 96, 0.1);
}
body#contact form select {
  width: 100% !important;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='%23666' d='M2 0L0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.5rem center;
  background-size: 1rem;
  padding-right: 4rem;
  appearance: none;
}
body#contact form input[type=submit] {
  margin: 2em 0 0;
  display: inline-block;
  padding: 1.5rem 3rem;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1.8rem;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 8px rgba(44, 62, 80, 0.2);
}

body#contact form input[type=submit]::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease;
}

body#contact form input[type=submit]:hover {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(44, 62, 80, 0.3);
}

body#contact form input[type=submit]:hover::before {
  width: 300px;
  height: 300px;
}

body#contact form input[type=submit]:active {
  transform: translateY(0);
  box-shadow: 0 4px 8px rgba(44, 62, 80, 0.2);
}
@media only screen and (max-width: 768px) {
  body#contact form {
    width: 80%;
    padding: 2rem;
  }

  body#contact form input[type=submit] {
    width: 100%;
    padding: 1.5rem 2rem;
    font-size: 1.6rem;
  }

  body#top .contact input[type=submit] {
    width: 100%;
    padding: 1.5rem 2rem;
    font-size: 1.6rem;
  }
}
@media only screen and (max-width: 576px) {
  body#contact form {
    width: 100%;
    padding: 1.5rem;
  }
}
body#contact .personal_info {
  margin: 2.5em 0 0;
  background: #ecf0f1;
  padding: 2rem;
  border-radius: 8px;
}
body#contact .personal_info h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}
body#contact .personal_info p {
  margin-bottom: 0;
  font-size: 1.4rem;
  line-height: 1.6;
  color: var(--primary-color);
}
/*
 Vanilla Free Page Styles
*/
.free-page .page-header {
  margin-bottom: 4rem;
}
@media only screen and (max-width: 768px) {
  .free-page .page-header {
    margin-bottom: 3rem;
  }
}
.free-page .main-content {
  max-width: 80rem;
  margin: 0 auto;
}
/* Add specific styles for each page type here */
/*
 リンクスタイル
*/
a:link,
a:visited {
  text-decoration: none;
  color: var(--primary-color);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}
a:hover,
a:active {
  text-decoration: none;
  color: #34495e;
  transform: translateY(-1px);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}
a:focus {
  outline: 2px solid #2c3e50;
  outline-offset: 2px;
  border-radius: 4px;
}
/*
 html / body / container
*/
html {
  font-size: 62.5%;
  line-height: 1.7;
  font-family: 'Roboto', 'Noto Serif JP', 'ヒラギノ明朝 ProN', 'Hiragino Mincho ProN', 'Yu Mincho', 'YuMincho', serif;
  scroll-behavior: smooth;
}
@media only screen and (max-width: 576px) {
  html {
    font-size: 50%;
    line-height: 1.6;
  }
}
body {
  margin: 0;
  padding: 0;
  font-size: 1.6rem;
  color: var(--primary-color);
  background-color: #ffffff;
  font-weight: 400;
}
body.cl100-theme {
  font-family: 'Inter', 'Noto Sans JP', 'ヒラギノ角ゴ ProN', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', 'YuGothic', sans-serif;
  letter-spacing: -0.02em;
}
#container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  background-attachment: fixed;
}
/*
 ヘッダー (OnePlate互換)
*/
#header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 0;
  text-align: center;
  position: relative;
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.05),
    0 10px 15px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 1000;
}
#header .inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  display: flex;
  flex-direction: column;
}
#header .element.shop_tel {
  position: absolute;
  right: 2rem;
  top: 1rem;
  text-align: right;
  font-size: 2rem;
  color: var(--primary-color);
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.8rem;
}

/* 電話アイコンをCSSで作成 */
#header .element.shop_tel::before {
  content: '';
  width: 20px;
  height: 20px;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z'/%3E%3C/svg%3E") no-repeat center;
  mask-size: contain;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z'/%3E%3C/svg%3E") no-repeat center;
  -webkit-mask-size: contain;
  flex-shrink: 0;
}
@media only screen and (max-width: 768px) {
  #header .element.shop_tel {
    position: static;
    text-align: center;
    margin: 1rem 0;
    justify-content: center;
  }

  #header .element.shop_tel::before {
    width: 18px;
    height: 18px;
  }
}
#header .element.logo {
  margin: 3rem 0;
  font-weight: normal;
  font-size: 3.6rem;
}
#header .element.logo a {
  color: inherit;
  text-decoration: none;
}
#header .element.logo a img {
  max-width: 80%;
}
@media only screen and (max-width: 768px) {
  #header .element.logo {
    max-width: 80%;
    margin: 2rem auto;
  }
  #header .element.logo a img {
    max-width: 100%;
  }
}
#header .element.site_description {
  margin: 3rem 0;
  font-size: 1.3rem;
  color: var(--primary-color);
  opacity: 0.8;
}
@media only screen and (max-width: 768px) {
  #header .element.site_description {
    max-width: 80%;
    margin: 1rem auto;
  }
}
#header .element.navi.primary-nav {
  display: block;
  text-align: center;
  position: relative;
  z-index: 1000;
  min-height: 60px; /* モバイルボタンの高さを確保 */
  padding: 0.5rem 0; /* 改行時の上下余白 */
  overflow: visible; /* サブナビゲーションを表示するため */
}
/* PC版でのoverflow設定 - 改行を許可するため削除 */
/* @media only screen and (min-width: 769px) {
  #header .element.navi.primary-nav {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  #header .element.navi.primary-nav::-webkit-scrollbar {
    display: none;
  }
} */
#header .element.navi.primary-nav .navi_list {
  list-style: none;
  margin: 0;
  padding: 0 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap; /* 改行を許可 */
  min-width: min-content;
  /* 改行時の調整 */
  row-gap: 0.5rem; /* 行間の調整 */
  overflow: visible; /* サブナビゲーションを表示するため */
}
/* 画面幅に応じてメニューを調整 */
@media only screen and (max-width: 1200px) {
  #header .element.navi.primary-nav .navi_list {
    gap: 0.5rem;
    justify-content: center; /* 中央寄せに戻す */
    flex-wrap: wrap; /* 改行を許可 */
    row-gap: 0.3rem; /* 行間をより狭く */
  }
  #header .element.navi.primary-nav .navi_list li a {
    font-size: 1.4rem;
    padding: 1.2rem 0.8rem; /* 縦パディングを少し縮小 */
  }
}
@media only screen and (max-width: 1024px) {
  #header .element.navi.primary-nav .navi_list {
    gap: 0.3rem;
    justify-content: center; /* 中央寄せに戻す */
    flex-wrap: wrap; /* 改行を許可 */
    row-gap: 0.2rem; /* 行間をより狭く */
  }
  #header .element.navi.primary-nav .navi_list li a {
    font-size: 1.3rem;
    padding: 1.2rem 0.6rem; /* 縦パディングを少し縮小 */
    white-space: nowrap;
  }
}
@media only screen and (max-width: 768px) {
  #header .element.navi.primary-nav {
    max-width: 100%;
  }
  /* デフォルトではナビゲーションリストを非表示 */
  #header .element.navi.primary-nav .navi_list {
    visibility: hidden;
    opacity: 0;
    transform: translateY(-20px);
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    padding: 2rem 0;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    /* flexから縦並びブロックレイアウトに変更 */
    display: block;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
  }
  /* メニューが開いている時の表示 */
  #header .element.navi.primary-nav.menu-open .navi_list {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }
  #header .element.navi.primary-nav .navi_list li {
    display: block;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }
  #header .element.navi.primary-nav .navi_list li:last-child {
    border-bottom: none;
  }
  #header .element.navi.primary-nav .navi_list li a {
    display: block;
    font-size: 1.4rem;
    padding: 1.5rem 2rem;
    white-space: nowrap;
    transition: background-color 0.2s ease, transform 0.2s ease;
    width: 100%;
    text-align: center;
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: none; /* PC版の下線を削除 */
  }
  #header .element.navi.primary-nav .navi_list li a:hover,
  #header .element.navi.primary-nav .navi_list li a.current {
    background-color: rgba(44, 62, 80, 0.05);
    transform: none; /* モバイルではtranslateY効果を無効化 */
    border-bottom-color: transparent;
  }
  /* オーバーレイ背景 */
  #header .element.navi.primary-nav::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
  }
  #header .element.navi.primary-nav.menu-open::before {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
}
/* さらに小さいデバイス用 */
@media only screen and (max-width: 576px) {
  #header .element.navi.primary-nav .navi_list {
    padding: 1rem 0;
    /* gap は block レイアウトでは無効 */
  }
  #header .element.navi.primary-nav .navi_list li a {
    font-size: 1.2rem;
    padding: 1.2rem 1.5rem;
  }
}
/* first-child/last-child margin \u306f gap \u3067\u4e0d\u8981 */
#header .element.navi.primary-nav .navi_list li a {
  display: block;
  padding: 1.5rem 1rem;
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--primary-color);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  white-space: nowrap;  /* テキストの改行を防ぐ */
}
#header .element.navi.primary-nav .navi_list li a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(44, 62, 80, 0.1), transparent);
  transition: left 0.5s ease;
}
#header .element.navi.primary-nav .navi_list li a:hover,
#header .element.navi.primary-nav .navi_list li a.current {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
  transform: translateY(-2px);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}
#header .element.navi.primary-nav .navi_list li a:hover::before {
  left: 100%;
}

/* =====================================================
   カレンダーページ
   ===================================================== */

/* カレンダーコンテナ */
.wrap_calendar {
  margin-bottom: 4rem;
}

/* カレンダーナビゲーション */
.wrap_calendar .navi {
  text-align: center;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  border: var(--border-style);
}

.wrap_calendar .navi a {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  margin: 0 0.5rem;
  background: var(--primary-color);
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-size: 1.4rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.wrap_calendar .navi a:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
}

/* カレンダーテーブル */
.table_calendar {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  overflow: hidden;
  border: var(--border-style);
  margin-bottom: 3rem;
}

/* ヘッダー行 */
.table_calendar th {
  background: var(--primary-color);
  color: white;
  padding: 1.2rem 0.8rem;
  font-size: 1.4rem;
  font-weight: 600;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.table_calendar th:last-child {
  border-right: none;
}

/* 日曜日の色 */
.table_calendar th.sun {
  background: var(--error-color);
}

/* 土曜日の色 */
.table_calendar th.sat {
  background: var(--secondary-color);
}

/* セル */
.table_calendar td {
  padding: 1rem 0.8rem;
  height: 80px;
  vertical-align: top;
  border-right: var(--border-style);
  border-bottom: var(--border-style);
  position: relative;
  background: rgba(255, 255, 255, 0.8);
  transition: background-color 0.2s ease;
}

.table_calendar td:last-child {
  border-right: none;
}

.table_calendar tr:last-child td {
  border-bottom: none;
}

.table_calendar td:hover {
  background: rgba(44, 62, 80, 0.05);
}

/* 日付の数字 */
.table_calendar .day {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--text-color);
  margin: 0 0 0.5rem 0;
  text-align: center;
}

/* 日曜日のセル */
.table_calendar td.sun {
  background: rgba(231, 76, 60, 0.05);
}

.table_calendar td.sun .day {
  color: var(--error-color);
}

/* 土曜日のセル */
.table_calendar td.sat {
  background: rgba(52, 152, 219, 0.05);
}

.table_calendar td.sat .day {
  color: var(--secondary-color);
}

/* 祝日のセル */
.table_calendar td.holiday {
  background: rgba(231, 76, 60, 0.1);
}

.table_calendar td.holiday .day {
  color: var(--error-color);
  font-weight: 700;
}

/* イベントのホットスポット */
.table_calendar .hotspot {
  position: absolute;
  top: 30px;
  right: 5px;
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s ease;
}

.table_calendar .hotspot:hover {
  transform: scale(1.2);
}

.table_calendar .hotspot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* スケジュール詳細 */
.schedule {
  margin-top: 3rem;
}

.schedule .article {
  background: rgba(255, 255, 255, 0.9);
  border: var(--border-style);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  transition: all 0.3s ease;
}

.schedule .article:hover {
  transform: translateY(-2px);
  border-color: var(--border-hover);
}

.schedule .article .date {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border-color);
}

.schedule .article dd {
  margin: 0 0 1rem 0;
  padding: 1rem;
  background: rgba(44, 62, 80, 0.02);
  border-radius: 8px;
}

.schedule .article dd:last-child {
  margin-bottom: 0;
}

.schedule .article .category {
  display: inline-block;
  background: var(--primary-color);
  color: white;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  font-size: 1.2rem;
  font-weight: 500;
  margin-right: 1rem;
}

.schedule .article .schedule_time {
  font-weight: 600;
  color: var(--secondary-color);
  margin-right: 0.5rem;
}

.schedule .article .schedule_title {
  font-weight: 500;
  color: var(--text-color);
}

.schedule .article a {
  text-decoration: none;
  transition: color 0.2s ease;
}

.schedule .article a:hover {
  color: var(--accent-color);
}

/* スケジュール詳細ページ */
.details {
  background: rgba(255, 255, 255, 0.9);
  border: var(--border-style);
  border-radius: 12px;
  padding: 3rem;
  margin-bottom: 3rem;
  transition: all 0.3s ease;
}

.details:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

/* カテゴリと日付の上部セクション */
.details > div:first-child {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.details .category {
  display: inline-block;
  background: var(--primary-color);
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  font-size: 1.3rem;
  font-weight: 600;
}

.details .date {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--secondary-color);
  margin-left: auto;
}

/* タイトル */
.details h3 {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 2rem;
  line-height: 1.3;
}

/* 本文 */
.details .body {
  margin-bottom: 2rem;
  font-size: 1.6rem;
  line-height: 1.7;
  color: var(--text-color);
}

.details .body p {
  margin-bottom: 1.5rem;
}

.details .body p:last-child {
  margin-bottom: 0;
}

/* 画像エリア */
.details .image {
  margin-top: 2rem;
  text-align: center;
}

.details .image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  border: var(--border-style);
}

/* モバイル対応 */
@media only screen and (max-width: 768px) {
  .details {
    padding: 2rem;
  }

  .details > div:first-child {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .details .date {
    margin-left: 0;
    font-size: 1.3rem;
  }

  .details h3 {
    font-size: 2rem;
  }

  .details .body {
    font-size: 1.4rem;
  }

  .table_calendar {
    font-size: 1.2rem;
  }

  .table_calendar td {
    padding: 0.5rem 0.3rem;
    height: 60px;
  }

  .table_calendar .day {
    font-size: 1.4rem;
  }

  .table_calendar .hotspot {
    width: 12px;
    height: 12px;
    top: 25px;
    right: 3px;
  }

  .schedule .article {
    padding: 1.5rem;
  }

  .schedule .article .date {
    font-size: 1.4rem;
  }
}

/* =====================================================
   フォトページ
   ===================================================== */

/* フォトページのメインコンテナ */
#index {
  margin-bottom: 4rem;
}

/* アルバムセクション */
.album {
  margin-bottom: 4rem;
  background: rgba(255, 255, 255, 0.9);
  border: var(--border-style);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  padding: 0;
}

.album:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

/* アルバムタイトル */
.album_title {
  background: var(--primary-color);
  color: white;
  margin: 0;
  padding: 1.5rem 2rem;
  font-size: 1.8rem;
  font-weight: 600;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
  text-align: left;
}

.album_title span {
  display: block;
}

.album_title a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.album_title a:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* アルバム内の写真をグリッドレイアウトで配置 */
.album {
  text-align: center;
  padding: 0 1.5rem 2rem;
}

.album .thumb {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #f8f9fa;
  transition: all 0.3s ease;
  display: inline-block;
  vertical-align: top;
  aspect-ratio: 4/3;
  margin: 0.5rem;
}

/* PC画面でのthumbグリッドレイアウト */
@media only screen and (min-width: 769px) {
  .album .thumb {
    width: calc(50% - 1rem); /* 2列表示 - マージンを考慮 */
    margin: 0.25rem; /* マージンも調整 */
  }
}

.album .thumb:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* レスポンシブ対応 */
@media only screen and (max-width: 768px) {
  .album .thumb {
    width: calc(50% - 1rem);
  }
}

@media only screen and (max-width: 576px) {
  .album .thumb {
    width: calc(100% - 1rem);
    margin: 0.5rem auto;
    display: block;
  }

  .album {
    padding: 0 1rem 1.5rem;
  }
}

/* サムネイル画像 */
.album .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.album .thumb:hover img {
  transform: scale(1.05);
}

/* サムネイルリンク */
.album .thumb a {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.album .thumb a::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.album .thumb:hover a::after {
  opacity: 1;
}

/* フォトモーダル */
.photo-modal {
  display: flex;
  max-width: 90vw;
  max-height: 90vh;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  border: var(--border-style);
}

.photo-modal__image {
  flex: 1;
  max-width: 60%;
}

.photo-modal__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-modal-body {
  flex: 1;
  max-width: 40%;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.photo-modal-body__item {
  margin-bottom: 1.5rem;
}

.photo-modal-body__item:last-child {
  margin-bottom: 0;
}

.photo-modal-body__item--title {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--primary-color);
}

.photo-modal-body__item--text {
  font-size: 1.4rem;
  line-height: 1.6;
  color: var(--text-color);
}

.photo-modal-body__item--date {
  font-size: 1.2rem;
  color: var(--secondary-color);
  margin-top: auto;
}

/* レスポンシブ対応 */
@media only screen and (max-width: 768px) {
  .album .thumb:first-child {
    min-height: 250px;
  }

  .album:has(.thumb:nth-child(3)) .thumb {
    width: 100% !important;
    margin: 1rem 0 !important;
  }

  .album_title {
    padding: 1.2rem 1.5rem;
    font-size: 1.8rem;
  }

  .photo-modal {
    flex-direction: column;
    max-width: 95vw;
    max-height: 95vh;
  }

  .photo-modal__image {
    max-width: 100%;
  }

  .photo-modal-body {
    max-width: 100%;
    padding: 1.5rem;
  }

  .photo-modal-body__item--title {
    font-size: 1.6rem;
  }

  .photo-modal-body__item--text {
    font-size: 1.3rem;
  }
}

/* フォトエントリー表示 */
#entries {
  margin-top: 4rem;
}

#entries h3 {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 3rem;
  text-align: center;
  position: relative;
  padding-bottom: 1rem;
}

#entries h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4rem;
  height: 3px;
  background: var(--primary-color);
  border-radius: 2px;
}

/* オートページネーション */
.autopagerize_page_element {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-bottom: 4rem;
}

/* 写真記事 */
#entries .article {
  background: rgba(255, 255, 255, 0.9);
  border: var(--border-style);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

#entries .article:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
}

/* 写真部分 */
#entries .article .photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}

#entries .article .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

#entries .article:hover .photo img {
  transform: scale(1.05);
}

/* 写真のオーバーレイ効果 */
#entries .article .photo::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    transparent,
    rgba(44, 62, 80, 0.1),
    transparent
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

#entries .article:hover .photo::after {
  opacity: 1;
}

/* コンテンツ部分 */
#entries .article h4 {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--primary-color);
  margin: 1.5rem 2rem 1rem 2rem;
  line-height: 1.3;
}

#entries .article .textfield {
  padding: 0 2rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
  font-size: 1.4rem;
  line-height: 1.6;
  color: var(--text-color);
}

#entries .article .textfield p {
  margin-bottom: 1rem;
}

#entries .article .textfield p:last-child {
  margin-bottom: 0;
}

/* 日付 */
#entries .article .date {
  padding: 1rem 2rem 1.5rem 2rem;
  font-size: 1.2rem;
  color: var(--secondary-color);
  margin-top: auto;
  border-top: 1px solid var(--border-color);
  background: rgba(44, 62, 80, 0.02);
}

/* レスポンシブ対応 */
@media only screen and (max-width: 768px) {
  .autopagerize_page_element {
    gap: 2rem;
  }

  #entries h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
  }

  #entries .article h4 {
    font-size: 1.6rem;
    margin: 1.2rem 1.5rem 0.8rem 1.5rem;
  }

  #entries .article .textfield {
    padding: 0 1.5rem;
    font-size: 1.3rem;
  }

  #entries .article .date {
    padding: 1rem 1.5rem 1.2rem 1.5rem;
    font-size: 1.1rem;
  }
}

@media only screen and (max-width: 480px) {
  .autopagerize_page_element {
    gap: 1.5rem;
  }

  #entries .article {
    margin: 0 0.5rem;
  }
}

/* =====================================================
   カラーカスタマイズ - プリセット
   ===================================================== */


/* =====================================================
   サブナビゲーション
   ===================================================== */

/* サブナビゲーションの基本スタイル */
.navi_list .sub_navi {
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: var(--border-style);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 9999; /* 高いz-indexで確実に表示 */
}

/* 親要素にposition: relativeを追加 */
.navi_list li {
  position: relative;
  z-index: 1; /* 親要素にもz-indexを設定 */
}

/* ホバー時に親要素のz-indexを上げる */
.navi_list li:hover {
  z-index: 9999; /* サブメニューが表示される時に最前面に */
}

/* PC版でサブナビを表示するためにoverflowを上書き */
@media only screen and (min-width: 769px) {
  #header .element.navi.primary-nav {
    overflow: visible !important;
  }
  #header .element.navi.primary-nav .navi_list {
    overflow: visible !important;
  }
  /* ヘッダー全体のoverflow設定も必要 */
  #header {
    overflow: visible !important;
  }
}

/* ホバー時にサブメニューを表示 */
.navi_list li:hover .sub_navi {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* サブメニューの各項目 */
.navi_list .sub_navi li {
  display: block;
  margin: 0;
  border-bottom: 1px solid var(--border-color);
}

.navi_list .sub_navi li:last-child {
  border-bottom: none;
}

/* サブメニューのリンクスタイル */
.navi_list .sub_navi li a {
  display: block !important;
  padding: 1.2rem 1.5rem !important;
  font-size: 1.4rem !important;
  font-weight: 400 !important;
  color: var(--text-color) !important;
  text-decoration: none !important;
  border-bottom: none !important;
  transition: all 0.2s ease !important;
  white-space: nowrap !important;
  transform: none !important;
  text-shadow: none !important;
}

.navi_list .sub_navi li a:hover {
  background-color: rgba(44, 62, 80, 0.05) !important;
  color: var(--primary-color) !important;
  transform: none !important;
  border-bottom: none !important;
}

/* アクティブなメニュー項目の強調 */
.navi_list li.active > a {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
  font-weight: 600;
}

/* モバイル対応 */
@media only screen and (max-width: 768px) {
  .navi_list .sub_navi {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: rgba(44, 62, 80, 0.02);
    border: none;
    border-radius: 0;
    box-shadow: none;
    margin-top: 0;
    min-width: auto;
  }

  .navi_list .sub_navi li a {
    padding: 1rem 3rem !important;
    font-size: 1.3rem !important;
    color: rgba(44, 62, 80, 0.8) !important;
  }

  .navi_list .sub_navi li a:hover {
    background-color: rgba(44, 62, 80, 0.08) !important;
    color: var(--primary-color) !important;
  }
}
#header .element.navi.primary-nav .mobile-toggle {
  display: none;
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 99999;
}
@media only screen and (max-width: 768px) {
  #header .element.navi.primary-nav .mobile-toggle {
    display: block;
  }
  /* メニューが開いている時のトリガーの見た目 */
  #header .element.navi.primary-nav.menu-open .mobile-toggle .navi_trigger {
    background: #e74c3c;
  }
  #header .element.navi.primary-nav.menu-open .mobile-toggle .navi_trigger:hover {
    background: #c0392b;
  }
  
  /* メニューが開いている時のボタン位置を右上に調整 */
  #header .element.navi.primary-nav.menu-open .mobile-toggle {
    position: fixed;
    right: 1rem;
    top: 1rem;
    transform: none;
    z-index: 99999;
  }
}
#header .element.navi.primary-nav .mobile-toggle .navi_trigger {
  background: var(--primary-color);
  color: white;
  padding: 1rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-size: 1.8rem;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
#header .element.navi.primary-nav .mobile-toggle .navi_trigger:hover {
  background: #34495e;
}
/* SVGアイコンのスタイル */
#header .element.navi.primary-nav .mobile-toggle .navi_trigger svg {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}
#header .element.navi.primary-nav .mobile-toggle .navi_trigger svg line {
  transition: all 0.3s ease;
  opacity: 1;
}
/* アニメーション効果の改善 */
#header .element.navi.primary-nav .mobile-toggle .navi_trigger svg .menu-line {
  transform-origin: center;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
#header .element.navi.primary-nav .mobile-toggle .navi_trigger svg .close-line {
  transform-origin: center;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
/*
 クリアフィックス（float要素の親要素用）
*/
.clearfix:after {
  content: '';
  display: table;
  clear: both;
}
/*
 コンテンツ (OnePlate互換)
*/
#content {
  position: relative;
  flex: 1;
  margin-top: 2rem;
  min-height: 50vh;
}
@media only screen and (max-width: 768px) {
  #content {
    margin-top: 1rem;
  }
}
#content > .inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
#content h2 {
  font-weight: normal;
  font-size: 3rem;
  line-height: 1;
}
#content h2.page_title {
  margin: 6rem 0;
  text-align: center;
}
@media only screen and (max-width: 576px) {
  #content h2.page_title {
    margin: 4rem 0;
  }
}
#content h2.page_title a {
  color: var(--primary-color);
  text-decoration: none;
}
#content h2.page_title a:hover {
  text-decoration: underline;
}
#content h2 a:hover {
  text-decoration: underline;
}
/*
 フッター (OnePlate互換)
*/
#footer {
  position: relative;
  z-index: 2;
  margin: 5rem 0 0;
  padding: 0;
  background-color: var(--primary-color);
  border-top: 1px solid #34495e;
  text-align: center;
  color: #ffffff;
}
#footer > .inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem 7rem;
}
#footer > .inner a {
  color: #ffffff;
}
#footer > .inner a:hover {
  color: #bdc3c7;
  text-decoration: underline;
}
#footer .social_icons {
  font-size: 2.9rem;
  line-height: 1;
  margin-bottom: 2rem;
}
#footer .social_icons a {
  display: inline-block;
  margin: 0;
  padding: 0.3em;
  border-radius: 3px;
  vertical-align: bottom;
  color: #ffffff;
}
#footer .social_icons a:hover,
#footer .social_icons a:active {
  color: #bdc3c7;
  text-decoration: none;
}
#footer .shop_name {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
#footer .shop_name a {
  color: #ffffff;
}
#footer .introduction {
  margin-bottom: 2rem;
  color: #bdc3c7;
}
#footer .copyright {
  font-size: 1.2rem;
  color: #bdc3c7;
  margin-bottom: 1rem;
}
#footer .copyright a {
  color: #bdc3c7;
}
#footer .powered {
  font-size: 1.2rem;
  color: #bdc3c7;
  margin-bottom: 0.5rem;
}
#footer .powered a {
  color: #bdc3c7;
}
#footer .shop_rss {
  font-size: 1.2rem;
  color: #bdc3c7;
}
#footer .shop_rss a {
  color: #bdc3c7;
}
/*
 セクション共通スタイル (OnePlate互換)
*/
.inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.page_title {
  font-size: clamp(3rem, 8vw, 4rem);
  font-weight: 800;
  color: var(--primary-color);
  margin: 0 0 3rem 0;
  text-align: center;
  position: relative;
  line-height: 1.2;
  letter-spacing: -0.03em;
}
/* Font size is now handled by clamp() function */
.section {
  padding: clamp(3rem, 8vw, 6rem) 0;
}
.section .section_title {
  font-size: clamp(2.4rem, 5vw, 2.8rem);
  font-weight: 700;
  color: var(--primary-color);
  margin: 0 0 2rem 0;
  text-align: center;
  position: relative;
  line-height: 1.3;
  letter-spacing: -0.025em;
}
/*
 サイドバー (OnePlate互換)
*/
.sidebar {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  padding: 4rem 0;
  margin-top: 4rem;
}
.sidebar .inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;  /* flexコンテナにする */
  gap: 2rem;  /* ブロック間の間隔 */
  align-items: stretch;  /* 高さを揃える */
  flex-wrap: wrap;  /* 画面幅が狭い時は折り返す */
}
.sidebar .block {
  margin-bottom: 0;  /* flexboxでgapを使うのでmarginを削除 */
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 12px;
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.05),
    0 10px 15px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  flex: 1 1 300px;  /* 最小幅300pxで伸縮可能 */
}
.sidebar .block:hover {
  transform: translateY(-2px);
  box-shadow:
    0 8px 12px rgba(0, 0, 0, 0.08),
    0 16px 24px rgba(0, 0, 0, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.3);
}
.sidebar .block h3 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}
.sidebar .block.today_area dl {
  margin: 0;
}
.sidebar .block.today_area dl .today_title {
  font-size: 1.4rem;
  color: #7f8c8d;
  margin-bottom: 1rem;
}
.sidebar .block.today_area dl .today_schedule {
  margin-bottom: 0.5rem;
}
.sidebar .block.today_area dl .today_schedule .today_schedule_title {
  font-size: 1.3rem;
}
.sidebar .block.today_area dl .today_schedule .today_schedule_title a {
  color: var(--primary-color);
  text-decoration: none;
}
.sidebar .block.today_area dl .today_schedule .today_schedule_title a:hover {
  color: var(--primary-color);
}
.sidebar .block.counter_area div {
  font-size: 1.4rem;
  color: #7f8c8d;
  margin-bottom: 0.5rem;
}
.sidebar .block.counter_area div .num {
  font-weight: bold;
  color: var(--primary-color);
}
.sidebar .block.qr_area {
  text-align: center;
}
/* モバイルビューでの調整 */
@media only screen and (max-width: 768px) {
  .sidebar .inner {
    flex-direction: column;  /* モバイルでは縦並びに */
  }
  .sidebar .block {
    margin-bottom: 2rem;  /* モバイルでは余白を復活 */
  }
}
/* タブレットビューでの調整 */
@media only screen and (min-width: 769px) and (max-width: 1024px) {
  .sidebar .block {
    flex: 1 1 calc(50% - 1rem);  /* タブレットでは2列に */
  }
}
/*
 ソーシャルメディア (OnePlate互換)
*/
.social .inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
/*
 スライドショー - 高さ制限
*/
#wrap_slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  max-height: 60vh;
  overflow: hidden;
  margin-bottom: clamp(2rem, 5vw, 4rem);
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  z-index: 1;
}
@media only screen and (max-width: 768px) {
  #wrap_slider {
    aspect-ratio: 4/3;
    max-height: 50vh;
  }
}
@media only screen and (max-width: 576px) {
  #wrap_slider {
    aspect-ratio: 3/2;
    max-height: 40vh;
  }
}
#wrap_slider .rslides {
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}
#wrap_slider .rslides .article {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}
#wrap_slider .rslides .article:first-child {
  display: block;
  opacity: 1;
}
#wrap_slider .rslides .article .slide_image_wrap {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
#wrap_slider .rslides .article .slide_image_wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
}
#wrap_slider .rslides .article .slide_image_wrap:hover img {
  transform: scale(1.05);
}
#wrap_slider .rslides .article .caption {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  color: white;
  padding: 3rem 2rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media only screen and (max-width: 768px) {
  #wrap_slider .rslides .article .caption {
    padding: 2rem 1.5rem 1.5rem;
  }
}
#wrap_slider .rslides .article .caption .caption_txt {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
#wrap_slider .rslides .article .caption .caption_txt a {
  color: white;
  font-size: 2.4rem;
  font-weight: 600;
  text-decoration: none;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  transition: color 0.3s ease;
}
#wrap_slider .rslides .article .caption .caption_txt a:hover {
  color: var(--primary-color);
}
@media only screen and (max-width: 768px) {
  #wrap_slider .rslides .article .caption .caption_txt a {
    font-size: 2rem;
  }
}
@media only screen and (max-width: 576px) {
  #wrap_slider .rslides .article .caption .caption_txt a {
    font-size: 1.8rem;
  }
}

/*
 スライドショー制御とインジケーター
*/
/* スライドショー制御ボタン */
.slideshow-controls {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 1rem;
  pointer-events: none;
  z-index: 2;
}

.slide-prev,
.slide-next {
  pointer-events: auto;
  width: 60px;
  height: 60px;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
}

/* 矢印の形を作る */
.slide-prev::before,
.slide-next::before {
  content: '';
  width: 20px;
  height: 20px;
  border-top: 3px solid var(--primary-color);
  border-right: 3px solid var(--primary-color);
  transition: all 0.3s ease;
}

/* 前へボタンの矢印（左向き） */
.slide-prev {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.slide-prev::before {
  transform: rotate(-135deg);
  margin-left: 8px;
}

/* 次へボタンの矢印（右向き） */
.slide-next {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.slide-next::before {
  transform: rotate(45deg);
  margin-right: 8px;
}

.slide-prev:hover,
.slide-next:hover {
  background: rgba(255, 255, 255, 1);
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.slide-prev:hover::before,
.slide-next:hover::before {
  border-color: var(--secondary-color);
  transform: scale(1.1);
}

.slide-prev:hover::before {
  transform: rotate(-135deg) scale(1.1);
}

.slide-next:hover::before {
  transform: rotate(45deg) scale(1.1);
}

.slide-prev:active,
.slide-next:active {
  transform: scale(0.95);
}

.slide-prev:active::before,
.slide-next:active::before {
  transform: scale(0.9);
}

.slide-prev:active::before {
  transform: rotate(-135deg) scale(0.9);
}

.slide-next:active::before {
  transform: rotate(45deg) scale(0.9);
}

.slide-prev:focus,
.slide-next:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* スライドインジケーター */
.slideshow-indicators {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.4rem;
  z-index: 3;
}

.slide-indicator {
  width: 8px;
  height: 8px;
  min-width: unset;
  min-height: unset;
  border-radius: 4px; /* 8pxの半分で正円に */
  border: none;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0.8;
}

.slide-indicator:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.1);
}

.slide-indicator.active {
  background: rgba(255, 255, 255, 1);
  opacity: 1;
  transform: none;
}

.slide-indicator:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 3px;
}

/* スライドショーのアクセシビリティ対応 */
@media (prefers-reduced-motion: reduce) {
  #wrap_slider .rslides .article {
    transition: none;
  }

  #wrap_slider .rslides .article .slide_image_wrap img {
    transition: none;
  }

  .slide-prev,
  .slide-next,
  .slide-indicator {
    transition: none;
  }
}

/* モバイル対応 */
@media only screen and (max-width: 768px) {
  .slide-prev,
  .slide-next {
    width: 50px;
    height: 50px;
  }

  .slide-prev::before,
  .slide-next::before {
    width: 16px;
    height: 16px;
    border-width: 2px;
  }

  .slideshow-controls {
    padding: 0 0.5rem;
  }

  .slide-indicator {
    width: 7px;
    height: 7px;
    min-width: unset;
    min-height: unset;
    border-radius: 3.5px; /* 7pxの半分で正円に */
  }

  .slideshow-indicators {
    bottom: 1rem;
  }
}

@media only screen and (max-width: 576px) {
  .slide-prev,
  .slide-next {
    width: 44px;
    height: 44px;
  }

  .slide-prev::before,
  .slide-next::before {
    width: 14px;
    height: 14px;
    border-width: 2px;
  }

  .slide-indicator {
    width: 4px !important;
    height: 4px !important;
    min-width: unset !important;
    min-height: unset !important;
    border-radius: 2px !important; /* 4pxの半分で正円に */
  }

  .slideshow-indicators {
    bottom: 1rem;
    gap: 0.3rem;
  }
}

/*
 トップに戻るボタン
*/
.totop {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--primary-color);
  color: white;
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.totop.show {
  opacity: 1;
  visibility: visible;
}
.totop:hover {
  background: #34495e;
  transform: translateY(-2px);
}
.totop .button {
  font-size: 2rem;
}
/*
 ユーティリティクラス
*/
.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;
}
/*
 基本的なコンテンツスタイル
*/
/* .section の重複定義を削除 - 上記で統一済み */
.section .inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.section .list .article {
  margin-bottom: 2rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.05),
    0 10px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.section .list .article:hover {
  transform: translateY(-2px);
  box-shadow:
    0 8px 12px rgba(0, 0, 0, 0.08),
    0 16px 24px rgba(0, 0, 0, 0.12);
}
.section .list .article .date {
  font-size: 1.4rem;
  color: #7f8c8d;
  margin-bottom: 1rem;
}
.section .list .article .title {
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: 1rem;
}
.section .list .article .summary .inner .date {
  font-size: 1.2rem;
  color: #7f8c8d;
}
.section .list .article .summary .inner .title {
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--primary-color);
}
.section .btn_details {
  text-align: center;
  margin-top: 2rem;
}
.section .btn_details a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  color: white;
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  text-decoration: none;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 500;
  font-size: var(--btn-details-font-size);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 8px rgba(44, 62, 80, 0.2);
  text-align: center;
}
.section .btn_details a::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease;
}
.section .btn_details a:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(44, 62, 80, 0.3);
  background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
}
.section .btn_details a:hover::before {
  width: 300px;
  height: 300px;
}
.section .btn_details a:active {
  transform: translateY(0);
  box-shadow: 0 4px 8px rgba(44, 62, 80, 0.2);
}
.textfield {
  line-height: 1.8;
}
.textfield p {
  margin-bottom: 1rem;
}
.textfield h1,
.textfield h2,
.textfield h3,
.textfield h4,
.textfield h5,
.textfield h6 {
  margin: 2rem 0 1rem 0;
  color: var(--primary-color);
}
.textfield ul,
.textfield ol {
  margin-bottom: 1rem;
  padding-left: 2rem;
}
.textfield img {
  max-width: 100%;
  height: auto;
}

.textfield table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
  background-color: #ffffff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.textfield table th,
.textfield table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid #e8e8e8;
}
.textfield table th {
  background-color: #ecf0f1;
  font-weight: 600;
  color: var(--primary-color);
  border-bottom: 2px solid #2c3e50;
}
.textfield table tr:last-child td {
  border-bottom: none;
}
.textfield table tr:hover {
  background-color: #ecf0f1;
}
@media only screen and (max-width: 576px) {
  .textfield table {
    font-size: 1.4rem;
  }
  .textfield table th,
  .textfield table td {
    padding: 0.8rem 0.5rem;
  }
}
.article {
  margin-bottom: 2rem;
}
.article .article_title {
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 1rem;
  color: var(--primary-color);
}
.article .article_title a {
  color: inherit;
  text-decoration: none;
}
.article .article_title a:hover {
  color: var(--primary-color);
}
.article .photo {
  margin-bottom: 1rem;
}
.article .photo img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}
.article .body .textfield {
  margin-bottom: 1rem;
}
body#calendar .table_calendar th.sun {
  color: var(--accent-color);
}
body#calendar .table_calendar td.sun p.day {
  background: #e74c3c;
  color: white;
}
body#calendar .table_calendar .today {
  background: var(--primary-color);
  color: white;
}
body#calendar .table_calendar .has-event {
  background: var(--secondary-color);
}

/* =====================================================
   予約フォーム - 入力エリアの改善（お問い合わせフォームと統一）
   ===================================================== */

/* 予約フォーム全体 */
body#reservation form {
  padding: 2rem 0;
  margin-top: 2rem;
}

/* 各予約エリア */
.reservation_area {
  margin-bottom: 2.5rem;
}

.reservation_area:last-of-type {
  margin-bottom: 3rem;
}

/* ラベルスタイル */
.reservation_area label {
  display: block;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.8rem;
  line-height: 1.4;
}

/* 入力フィールド共通スタイル */
.reservation_area input[type="text"],
.reservation_area input[type="tel"],
.reservation_area input[type="email"],
.reservation_area textarea,
.reservation_area select {
  width: 100% !important;
  padding: 1.6rem 2rem !important;
  border: 1px solid #ddd !important;
  border-radius: 8px !important;
  font-size: 1.6rem !important;
  font-family: inherit !important;
  background: #ffffff !important;
  transition: all 0.3s ease !important;
  box-sizing: border-box !important;
  line-height: 1.5 !important;
}

/* フォーカス時のスタイル */
.reservation_area input[type="text"]:focus,
.reservation_area input[type="tel"]:focus,
.reservation_area input[type="email"]:focus,
.reservation_area textarea:focus,
.reservation_area select:focus {
  outline: none !important;
  border-color: var(--secondary-color) !important;
  background: #ffffff !important;
}

/* ホバー時のスタイル */
.reservation_area input[type="text"]:hover,
.reservation_area input[type="tel"]:hover,
.reservation_area input[type="email"]:hover,
.reservation_area textarea:hover,
.reservation_area select:hover {
  border-color: #bbb !important;
}

/* テキストエリア */
.reservation_area textarea {
  min-height: 150px !important;
  resize: vertical !important;
  line-height: 1.7 !important;
}

/* セレクトボックス（日付・時間選択用） */
.reservation_area select {
  display: inline-block !important;
  width: auto !important;
  min-width: 80px !important;
  margin-right: 0.8rem !important;
  margin-bottom: 0.5rem !important;
  padding: 1.2rem 1.6rem !important;
}

/* ラジオボタンエリア */
.reservation_area .radio {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.reservation_area .radio input[type="radio"] {
  width: auto !important;
  margin-right: 0.8rem !important;
  transform: scale(1.2);
  accent-color: var(--secondary-color);
}

.reservation_area .radio label {
  display: flex !important;
  align-items: center !important;
  font-weight: 400 !important;
  margin-bottom: 0 !important;
  cursor: pointer;
  padding: 1rem;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.reservation_area .radio label:hover {
  background-color: rgba(52, 152, 219, 0.05);
}

/* 送信ボタンエリア */
.button_area {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #e8e8e8;
}

.button_area .button,
.button_area input[type="submit"] {
  display: inline-block;
  padding: 1.5rem 3rem;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 1.7rem;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(44, 62, 80, 0.3);
  text-decoration: none;
  margin-top: 1rem;
}

/* ボタンホバー効果 */
.button_area .button:hover,
.button_area input[type="submit"]:hover {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(44, 62, 80, 0.4);
}

.button_area .button:active,
.button_area input[type="submit"]:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(44, 62, 80, 0.3);
}

/* プレースホルダー */
.reservation_area input::placeholder,
.reservation_area textarea::placeholder {
  color: #95a5a6 !important;
  font-style: italic !important;
}

/* レスポンシブ対応 */
@media only screen and (max-width: 768px) {
  body#reservation form {
    padding: 1.5rem 0;
  }

  .reservation_area input[type="text"],
  .reservation_area input[type="tel"],
  .reservation_area input[type="email"],
  .reservation_area textarea,
  .reservation_area select {
    padding: 1.4rem 1.6rem !important;
    font-size: 1.5rem !important;
  }

  .reservation_area select {
    display: block !important;
    width: 100% !important;
    margin-bottom: 1rem !important;
  }

  .reservation_area label {
    font-size: 1.5rem;
  }

  .button_area .button,
  .button_area input[type="submit"] {
    width: 100%;
    padding: 1.4rem 2rem;
    font-size: 1.6rem;
  }
}

@media only screen and (max-width: 480px) {
  body#reservation form {
    padding: 1rem 0;
  }

  .reservation_area input[type="text"],
  .reservation_area input[type="tel"],
  .reservation_area input[type="email"],
  .reservation_area textarea,
  .reservation_area select {
    padding: 1.2rem 1.4rem !important;
    font-size: 1.4rem !important;
  }

  .reservation_area {
    margin-bottom: 2rem;
  }

  .reservation_area label {
    font-size: 1.4rem;
  }

  .button_area .button,
  .button_area input[type="submit"] {
    font-size: 1.5rem;
  }
}

/* 入力エラー状態（将来的に使用可能） */
.reservation_area input.error,
.reservation_area textarea.error,
.reservation_area select.error {
  border-color: var(--accent-color) !important;
  background: #fdf2f2 !important;
}

.reservation_area input.error:focus,
.reservation_area textarea.error:focus,
.reservation_area select.error:focus {
  border-color: var(--accent-color) !important;
}

/* =====================================================
   イベント予約フォーム（p-form-field）- 入力エリアの改善
   ===================================================== */

/* 各フィールドセット（イベント予約用） */
.p-fieldset {
  margin-bottom: 2.5rem;
  border: none;
  padding: 1.5rem;
}

.p-fieldset:last-of-type {
  margin-bottom: 3rem;
}

/* フィールドセットカード（イベント予約用） */
.p-fieldset-card {
  background: #ffffff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: none;
}

/* フィールドレイアウト（イベント予約用） */
.p-fieldset-layout {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.p-fieldset-layout__label {
  display: block;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.8rem;
  line-height: 1.4;
}

.p-fieldset-layout__content {
  width: 100%;
}

/* 各フォームフィールド（イベント予約用） */
.p-form-field {
  margin-bottom: 2.5rem;
}

.p-form-field:last-of-type {
  margin-bottom: 3rem;
}

/* ラベルスタイル（イベント予約用） */
.p-form-field label {
  display: block;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.8rem;
  line-height: 1.4;
}

/* 必須マーク（イベント予約用） */
.p-form-field__required-label {
  display: inline-block;
  background: var(--accent-color);
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  margin-left: 0.8rem;
  vertical-align: top;
}

.p-form-field__required-label::before {
  font-size: 1.0rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* 入力フィールド共通スタイル（イベント予約用） */
.p-form-field input[type="text"],
.p-form-field input[type="tel"],
.p-form-field input[type="email"],
.p-form-field input[type="number"],
.p-form-field textarea,
.p-form-field select {
  width: 100% !important;
  padding: 1.6rem 2rem !important;
  border: 1px solid #ddd !important;
  border-radius: 8px !important;
  font-size: 1.6rem !important;
  font-family: inherit !important;
  background: #ffffff !important;
  transition: all 0.3s ease !important;
  box-sizing: border-box !important;
}

/* フォーカス時のスタイル（イベント予約用） */
.p-form-field input[type="text"]:focus,
.p-form-field input[type="tel"]:focus,
.p-form-field input[type="email"]:focus,
.p-form-field input[type="number"]:focus,
.p-form-field textarea:focus,
.p-form-field select:focus {
  outline: none !important;
  border-color: var(--secondary-color) !important;
  background: #ffffff !important;
}

/* ホバー時のスタイル（イベント予約用） */
.p-form-field input[type="text"]:hover,
.p-form-field input[type="tel"]:hover,
.p-form-field input[type="email"]:hover,
.p-form-field input[type="number"]:hover,
.p-form-field textarea:hover,
.p-form-field select:hover {
  border-color: #bbb !important;
}

/* テキストエリア（イベント予約用） */
.p-form-field textarea {
  min-height: 150px !important;
  resize: vertical !important;
  line-height: 1.7 !important;
}

/* セレクトボックス（イベント予約用） */
.p-form-field select {
  cursor: pointer;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1.2rem center;
  background-size: 1.6rem;
  padding-right: 4rem !important;
  appearance: none;
}

/* 日時選択用セレクトボックス（イベント予約用） */
.p-form-field select[name*="date"],
.p-form-field select[name*="time"],
.p-form-field select[name*="year"],
.p-form-field select[name*="month"],
.p-form-field select[name*="day"] {
  display: inline-block !important;
  width: auto !important;
  min-width: 80px !important;
  margin-right: 0.8rem !important;
  margin-bottom: 0.5rem !important;
}

/* ラジオボタンエリア（イベント予約用） */
.p-form-field .radio {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.p-form-field .radio input[type="radio"] {
  width: auto !important;
  margin-right: 0.8rem !important;
  transform: scale(1.2);
  accent-color: var(--secondary-color);
}

.p-form-field .radio label {
  display: flex !important;
  align-items: center !important;
  font-weight: 400 !important;
  margin-bottom: 0 !important;
  cursor: pointer;
  padding: 0.8rem;
  border-radius: 6px;
  transition: background-color 0.2s ease;
}

.p-form-field .radio label:hover {
  background-color: rgba(52, 152, 219, 0.05);
}

/* ボタンスタイル（イベント予約用） */
.p-link-button {
  display: inline-block !important;
  padding: 1.8rem 3rem !important;
  background: var(--primary-color) !important;
  color: white !important;
  text-decoration: none !important;
  border: none !important;
  border-radius: 8px !important;
  font-size: 1.6rem !important;
  font-weight: 600 !important;
  font-family: inherit !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  text-align: center !important;
  min-width: 180px !important;
  box-shadow: none !important;
}

.p-link-button:hover {
  background: var(--secondary-color) !important;
  transform: translateY(-2px) !important;
  color: white !important;
}

.p-link-button:active {
  transform: translateY(0) !important;
}

/* プレースホルダー（イベント予約用） */
.p-form-field input::placeholder,
.p-form-field textarea::placeholder {
  color: #95a5a6 !important;
  font-style: italic !important;
}

/* レスポンシブ対応（イベント予約用） */
@media only screen and (max-width: 768px) {
  .p-form-field label,
  .p-fieldset-layout__label {
    font-size: 1.5rem;
  }

  .p-form-field input[type="text"],
  .p-form-field input[type="tel"],
  .p-form-field input[type="email"],
  .p-form-field input[type="number"],
  .p-form-field textarea,
  .p-form-field select {
    padding: 1.4rem 1.6rem !important;
    font-size: 1.5rem !important;
  }

  .p-form-field select[name*="date"],
  .p-form-field select[name*="time"],
  .p-form-field select[name*="year"],
  .p-form-field select[name*="month"],
  .p-form-field select[name*="day"] {
    display: block !important;
    width: 100% !important;
    margin-bottom: 1rem !important;
  }

  .p-link-button {
    padding: 1.6rem 2.5rem !important;
    font-size: 1.5rem !important;
    min-width: 160px !important;
  }

  .p-fieldset-card {
    padding: 1.5rem;
  }
}

@media only screen and (max-width: 480px) {
  .p-form-field label,
  .p-fieldset-layout__label {
    font-size: 1.4rem;
  }

  .p-form-field input[type="text"],
  .p-form-field input[type="tel"],
  .p-form-field input[type="email"],
  .p-form-field input[type="number"],
  .p-form-field textarea,
  .p-form-field select {
    padding: 1.2rem 1.4rem !important;
    font-size: 1.4rem !important;
  }

  .p-form-field {
    margin-bottom: 2rem;
  }

  .p-link-button {
    padding: 1.4rem 2rem !important;
    font-size: 1.4rem !important;
    min-width: 140px !important;
  }

  .p-fieldset-card {
    padding: 1.2rem;
  }
}

/* 入力エラー状態（イベント予約用） */
.p-form-field input.error,
.p-form-field textarea.error,
.p-form-field select.error {
  border-color: var(--accent-color) !important;
  background: #fdf2f2 !important;
}

.p-form-field input.error:focus,
.p-form-field textarea.error:focus,
.p-form-field select.error:focus {
  border-color: var(--accent-color) !important;
}

/* =====================================================
   お問い合わせフォーム - 入力エリアの改善
   ===================================================== */

/* お問い合わせセクション全体 */
.section.contact {
  margin: 4rem 0;
}

/* お問い合わせフォーム */
.contact_form {
  padding: 2rem 0;
  margin-top: 2rem;
}

/* 各入力エリア */
.contact_area {
  margin-bottom: 2.5rem;
}

.contact_area:last-of-type {
  margin-bottom: 3rem;
}

/* ラベルスタイル */
.contact_area label {
  display: block;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.8rem;
  line-height: 1.4;
}

/* 必須マーク */
.contact_area .requier {
  display: inline-block;
  background: var(--accent-color);
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  margin-left: 0.8rem;
  vertical-align: top;
}

.contact_area .requier::before {
  content: "必須";
  font-size: 1.0rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* 入力フィールド共通スタイル */
.contact_form .contact_name,
.contact_form .contact_email,
.contact_form .contact_tel,
.contact_form .contact_body {
  width: 100% !important;
  padding: 1.6rem 2rem !important;
  border: 1px solid #ddd !important;
  border-radius: 8px !important;
  font-size: 1.6rem !important;
  font-family: inherit !important;
  background: #ffffff !important;
  transition: all 0.3s ease !important;
  box-sizing: border-box !important;
  line-height: 1.5 !important;
}

/* フォーカス時のスタイル */
.contact_form .contact_name:focus,
.contact_form .contact_email:focus,
.contact_form .contact_tel:focus,
.contact_form .contact_body:focus {
  outline: none !important;
  border-color: var(--secondary-color) !important;
  background: #ffffff !important;
}

/* ホバー時のスタイル */
.contact_form .contact_name:hover,
.contact_form .contact_email:hover,
.contact_form .contact_tel:hover,
.contact_form .contact_body:hover {
  border-color: #bbb !important;
}

/* テキストエリア */
.contact_form .contact_body {
  min-height: 150px !important;
  resize: vertical !important;
  line-height: 1.7 !important;
}

/* プレースホルダー */
.contact_form .contact_name::placeholder,
.contact_form .contact_email::placeholder,
.contact_form .contact_tel::placeholder,
.contact_form .contact_body::placeholder {
  color: #95a5a6 !important;
  font-style: italic !important;
}

/* 送信ボタン */
.contact_form .button {
  display: inline-block;
  padding: 1.5rem 3rem;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 1.7rem;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(44, 62, 80, 0.3);
  text-decoration: none;
  margin-top: 1rem;
}

/* ボタンホバー効果 */
.contact_form .button:hover {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(44, 62, 80, 0.4);
}

.contact_form .button:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(44, 62, 80, 0.3);
}

/* セレクトボックス */
.contact_area select,
.contact_form select {
  width: 100% !important;
  padding: 1.6rem 2rem !important;
  padding-right: 4rem !important;
  border: 1px solid #ddd !important;
  border-radius: 8px !important;
  font-size: 1.6rem !important;
  font-family: inherit !important;
  background: #ffffff !important;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path fill="%232c3e50" d="M4.47 5.47a.75.75 0 0 1 1.06 0L8 7.94l2.47-2.47a.75.75 0 1 1 1.06 1.06l-3 3a.75.75 0 0 1-1.06 0l-3-3a.75.75 0 0 1 0-1.06z"/></svg>') !important;
  background-repeat: no-repeat !important;
  background-position: right 1.5rem center !important;
  background-size: 16px !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  box-sizing: border-box !important;
  line-height: 1.5 !important;
}

.contact_area select:hover,
.contact_form select:hover {
  border-color: #bbb !important;
}

.contact_area select:focus,
.contact_form select:focus {
  outline: none !important;
  border-color: var(--secondary-color) !important;
  background-color: #ffffff !important;
}

/* ラジオボタンのコンテナ */
.contact_area .radio {
  display: inline-flex !important;
  align-items: center !important;
  margin-right: 2rem !important;
  margin-bottom: 1rem !important;
  cursor: pointer !important;
}

/* ラジオボタン本体 */
.contact_area .radio input[type="radio"] {
  width: 20px !important;
  height: 20px !important;
  margin: 0 !important;
  margin-right: 0.8rem !important;
  position: relative !important;
  cursor: pointer !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  border: 2px solid #ddd !important;
  border-radius: 50% !important;
  background: #ffffff !important;
  transition: all 0.3s ease !important;
  flex-shrink: 0 !important;
}

.contact_area .radio input[type="radio"]:hover {
  border-color: var(--secondary-color) !important;
}

.contact_area .radio input[type="radio"]:checked {
  border-color: var(--secondary-color) !important;
  background: var(--secondary-color) !important;
}

.contact_area .radio input[type="radio"]:checked::after {
  content: '' !important;
  width: 8px !important;
  height: 8px !important;
  background: white !important;
  border-radius: 50% !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
}

/* ラジオボタンのラベル */
.contact_area .radio label {
  font-size: 1.6rem !important;
  color: var(--text-color) !important;
  margin: 0 !important;
  padding: 0 !important;
  position: static !important;
  display: inline !important;
  font-weight: normal !important;
  cursor: pointer !important;
  user-select: none !important;
}

.contact_area .radio:hover label {
  color: var(--secondary-color) !important;
}

/* チェックボックスのコンテナ */
.contact_area .checkbox {
  display: inline-flex !important;
  align-items: center !important;
  margin-right: 2rem !important;
  margin-bottom: 1rem !important;
  cursor: pointer !important;
}

/* チェックボックス本体 */
.contact_area .checkbox input[type="checkbox"] {
  width: 20px !important;
  height: 20px !important;
  margin: 0 !important;
  margin-right: 0.8rem !important;
  position: relative !important;
  cursor: pointer !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  border: 2px solid #ddd !important;
  border-radius: 4px !important;
  background: #ffffff !important;
  transition: all 0.3s ease !important;
  flex-shrink: 0 !important;
}

.contact_area .checkbox input[type="checkbox"]:hover {
  border-color: var(--secondary-color) !important;
}

.contact_area .checkbox input[type="checkbox"]:checked {
  border-color: var(--secondary-color) !important;
  background: var(--secondary-color) !important;
}

.contact_area .checkbox input[type="checkbox"]:checked::after {
  content: '' !important;
  width: 5px !important;
  height: 10px !important;
  border: solid white !important;
  border-width: 0 2px 2px 0 !important;
  position: absolute !important;
  top: 3px !important;
  left: 6px !important;
  transform: rotate(45deg) !important;
}

/* チェックボックスのラベル */
.contact_area .checkbox label {
  font-size: 1.6rem !important;
  color: var(--text-color) !important;
  margin: 0 !important;
  padding: 0 !important;
  position: static !important;
  display: inline !important;
  font-weight: normal !important;
  cursor: pointer !important;
  user-select: none !important;
}

.contact_area .checkbox:hover label {
  color: var(--secondary-color) !important;
}

/* reCAPTCHA */
.g-recaptcha {
  margin: 2rem 0;
  display: flex;
  justify-content: center;
}

/* レスポンシブ対応 */
@media only screen and (max-width: 768px) {
  .contact_form {
    padding: 1.5rem 0;
  }

  .contact_form .contact_name,
  .contact_form .contact_email,
  .contact_form .contact_tel,
  .contact_form .contact_body {
    padding: 1.4rem 1.6rem !important;
    font-size: 1.5rem !important;
  }

  .contact_area label {
    font-size: 1.5rem;
  }

  .contact_form .button {
    width: 100%;
    padding: 1.4rem 2rem;
    font-size: 1.6rem;
  }
}

@media only screen and (max-width: 480px) {
  .contact_form {
    padding: 1rem 0;
  }

  .contact_form .contact_name,
  .contact_form .contact_email,
  .contact_form .contact_tel,
  .contact_form .contact_body {
    padding: 1.2rem 1.4rem !important;
    font-size: 1.4rem !important;
  }

  .contact_area {
    margin-bottom: 2rem;
  }

  .contact_area label {
    font-size: 1.4rem;
  }

  .contact_form .button {
    font-size: 1.5rem;
  }
}

/* 入力エラー状態（将来的に使用可能） */
.contact_form .contact_name.error,
.contact_form .contact_email.error,
.contact_form .contact_tel.error,
.contact_form .contact_body.error {
  border-color: var(--accent-color) !important;
  background: #fdf2f2 !important;
}

.contact_form .contact_name.error:focus,
.contact_form .contact_email.error:focus,
.contact_form .contact_tel.error:focus,
.contact_form .contact_body.error:focus {
  border-color: var(--accent-color) !important;
}

/* =====================================================
   スタッフ紹介ページ - 美しいカードレイアウト
   ===================================================== */

/* スタッフ紹介全体のコンテナ */
#custom_staff {
  margin: 3rem 0;
}

/* スタッフカード */
.staff_wrap {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  padding: 3rem;
  margin-bottom: 4rem;
  display: flex;
  gap: 3rem;
  align-items: flex-start;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

/* ホバー時のエフェクト */
.staff_wrap:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.15);
  border-color: var(--primary-color);
}

/* 背景グラデーション効果 */
.staff_wrap::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.staff_wrap:hover::before {
  opacity: 1;
}

/* スタッフ画像 */
.staff--image {
  flex-shrink: 0;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 4px solid var(--border-color);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* 画像ホバー効果 */
.staff_wrap:hover .staff--image {
  border-color: var(--primary-color);
  transform: scale(1.05);
}

/* 画像に光沢効果 */
.staff--image::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.3) 50%,
    transparent 70%
  );
  transform: rotate(45deg) translateX(-100%);
  transition: transform 0.6s ease;
}

.staff_wrap:hover .staff--image::after {
  transform: rotate(45deg) translateX(100%);
}

/* スタッフ情報テキスト部分 */
.staff__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* スタッフ名 */
.staff__text--name {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  line-height: 1.2;
  position: relative;
}

/* 名前の下にアクセントライン */
.staff__text--name::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
  border-radius: 2px;
}

/* 役職 */
.staff__text--job {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--secondary-color);
  background: rgba(52, 152, 219, 0.1);
  padding: 0.8rem 1.6rem;
  border-radius: 20px;
  display: inline-block;
  width: fit-content;
  border: 1px solid rgba(52, 152, 219, 0.2);
  transition: all 0.3s ease;
}

.staff_wrap:hover .staff__text--job {
  background: var(--secondary-color);
  color: white;
  transform: translateX(8px);
}

/* 説明文 */
.staff__text--description {
  font-size: 1.5rem;
  line-height: 1.8;
  color: var(--text-color);
  margin: 1rem 0 2rem;
}

.staff__text--description p {
  margin: 0 0 1rem;
}

.staff__text--description p:last-child {
  margin-bottom: 0;
}

/* ソーシャルリンク全体 */
.staff__text__social {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: auto;
}

/* ソーシャルアイコン */
.staff__text__social_icon {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 1.5rem;
  background: #ffffff;
  border: 2px solid var(--border-color);
  border-radius: 50px;
  text-decoration: none;
  color: var(--text-color);
  font-size: 1.4rem;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

/* ソーシャルアイコンのホバー効果 */
.staff__text__social_icon:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  border-color: var(--primary-color);
  color: var(--primary-color);
}

/* ソーシャルアイコンの背景波効果 */
.staff__text__social_icon::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(44, 62, 80, 0.1);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.4s ease;
}

.staff__text__social_icon:hover::before {
  width: 200px;
  height: 200px;
}

/* ソーシャルアイコン画像 */
.staff__text__social_icon img {
  width: 20px !important;
  height: 20px !important;
  max-width: none !important;
  margin: 0 !important;
  display: inline !important;
  transition: transform 0.3s ease;
  z-index: 1;
  position: relative;
}

.staff__text__social_icon:hover img {
  transform: rotate(360deg) scale(1.1);
}

/* ソーシャルアイコンテキスト */
.staff__text__social_text {
  display: none;
}

.staff__text__social_icon:hover .staff__text__social_text {
  transform: translateX(2px);
}

/* レスポンシブ対応 */
@media only screen and (max-width: 768px) {
  .staff_wrap {
    flex-direction: column;
    text-align: center;
    padding: 2.5rem 2rem;
    gap: 2rem;
  }

  .staff--image {
    width: 150px;
    height: 150px;
    align-self: center;
  }

  .staff__text--name {
    font-size: 2rem;
  }

  .staff__text--name::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .staff__text--job {
    align-self: center;
  }

  .staff__text__social {
    justify-content: center;
  }
}

@media only screen and (max-width: 480px) {
  .staff_wrap {
    padding: 2rem 1.5rem;
    margin-bottom: 3rem;
  }

  .staff--image {
    width: 120px;
    height: 120px;
  }

  .staff__text--name {
    font-size: 1.8rem;
  }

  .staff__text--description {
    font-size: 1.4rem;
  }

  .staff__text__social {
    gap: 1rem;
  }

  .staff__text__social_icon {
    padding: 0.8rem 1.2rem;
    font-size: 1.3rem;
  }

  .staff__text__social_icon img {
    width: 18px !important;
    height: 18px !important;
  }
}

/* アニメーション効果 */
.staff_wrap {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
}

.staff_wrap:nth-child(2) { animation-delay: 0.2s; }
.staff_wrap:nth-child(3) { animation-delay: 0.4s; }
.staff_wrap:nth-child(4) { animation-delay: 0.6s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =====================================================
   minne連携機能の実装
   ===================================================== */

/* minne Gallery */
.minne_area {
  padding: 2.5rem 0 0 0;
  border-top: solid 1px #e0e0e0;
  line-height: 1.7;
}

/* minne Gallery - Parts Display Toggle */

.p-minne-gallery {
  word-wrap: break-word;
  overflow-wrap: break-word;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 2rem;
  padding: 2rem 0;
}

@media only screen and (min-width: 768px) {
  .p-minne-gallery {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
  }
}

.p-minne-item {
  margin: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.p-minne-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.p-minne-item__image-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #f8f9fa;
}

.p-minne-item__image {
  display: block;
  height: 0;
  padding-top: 100%;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  transition: transform 0.3s ease;
}

.p-minne-item:hover .p-minne-item__image {
  transform: scale(1.05);
}

.p-minne-item__image img {
  display: none;
}

.p-minne-item__caption {
  line-height: 1.4;
  min-width: 0;
  padding: 1rem 0;
}

.p-minne-item__title {
  text-decoration: none;
  display: block;
  line-height: 1.3;
  color: var(--primary-color);
  font-weight: 500;
  margin-bottom: 0.5rem;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.p-minne-item__title:hover {
  color: var(--secondary-color);
}

.p-minne-item__price {
  display: block;
  font-size: 0.9rem;
  color: var(--accent-color);
  font-weight: bold;
  margin-top: 0.5rem;
}

.p-minne-message {
  font-weight: bold;
  margin: 0 0 2rem 0;
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--primary-color);
}

/* Parts Display Toggle */
.site_description {
}
.shop_name {
}

.shop_tel {
}

.shop_rss {
}


/* Parts Display Toggle */
.today_area {
  display: none;
}
.qr_area {
  display: none;
}
.counter_area {
  display: none;
}
.copyright {
  display: none;
}
.powered {
  display: none;
}


/* =====================================================
   イベント予約ページ
   ===================================================== */

/* イベント予約コンテナ */
body .p-event-reservation {
  padding: 2rem 0;
  max-width: 100%;
}

/* フィールドセット */
.p-fieldset {
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  margin-bottom: 2rem;
}

.p-fieldset__body {
  padding: 2rem;
}

/* 結果統計 */
.p-result-stats {
  font-size: 1.4rem;
  color: #666;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

/* サービスリスト */
.p-service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
}

/* サービスリストアイテム */
.p-service-list__item {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  background: #fff;
}

.p-service-list__item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-color);
}

.p-service-list__item a {
  display: block;
  padding: 2rem;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

/* サービス詳細 */
.p-service-list__detail {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* サービステキスト */
.p-service-text__title {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--primary-color);
  margin: 0;
  line-height: 1.5;
}

.p-service-text__price {
  font-size: 1.6rem;
  color: var(--primary-color);
  font-weight: 500;
  margin: 0;
}

/* レスポンシブ対応 */
@media only screen and (max-width: 768px) {
  .p-fieldset__body {
    padding: 1.5rem;
  }

  .p-service-list__item a {
    padding: 1.5rem;
  }

  .p-service-text__title {
    font-size: 1.6rem;
  }

  .p-service-text__price {
    font-size: 1.4rem;
  }
}

@media only screen and (max-width: 480px) {
  .p-event-reservation {
    padding: 1rem 0;
  }

  .p-fieldset__body {
    padding: 1rem;
  }

  .p-result-stats {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
  }

  .p-service-list__item a {
    padding: 1.2rem;
  }

  .p-service-text__title {
    font-size: 1.5rem;
  }
}

/* =====================================================
   イベント予約詳細ページ
   ===================================================== */

/* 背景色付きフィールドセット */
.p-fieldset--bgcolor {
  background: #f8f9fa;
}

/* フィールドセットタイトル */
.p-fieldset__title {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* サービス詳細 */
.p-service-detail {
  text-align: center;
  padding: 1rem 0;
}

.p-service-detail__title {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0 0 1rem;
  line-height: 1.4;
}

.p-service-detail__price {
  font-size: 2rem;
  color: var(--primary-color);
  font-weight: 600;
  margin: 0 0 1rem;
}

.p-service-detail__explanation {
  font-size: 1.6rem;
  color: #666;
  line-height: 1.8;
  margin: 0;
}

/* カレンダーコンテナ */
.p-event-reservation__calendar {
  margin-bottom: 2rem;
}

/* v-calendarカスタマイズ */
.p-event-reservation__calendar .vc-container {
  font-family: inherit;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-card);
}

.p-event-reservation__calendar .vc-header {
  padding: 1.5rem;
  background: #f8f9fa;
}

.p-event-reservation__calendar .vc-weekday {
  color: #666;
  font-weight: 600;
}

.p-event-reservation__calendar .vc-day {
  min-height: 40px;
}

/* 絞り込み解除リンク */
.p-event-reservation__cancel-filter {
  font-size: 1.4rem;
  color: var(--link-color);
  cursor: pointer;
  text-decoration: underline;
  font-weight: 400;
}

.p-event-reservation__cancel-filter:hover {
  color: var(--link-hover-color);
}

/* 予約リスト */
.p-event-reservation__list {
  margin-top: 2rem;
}

.p-reservation-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* 予約リストアイテム */
.p-reservation-list__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 1rem;
  background: #fff;
  transition: all 0.3s ease;
}

.p-reservation-list__item:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.p-reservation-list__none {
  text-align: center;
  padding: 3rem;
  color: #666;
  font-size: 1.6rem;
}

/* 日付・時間表示 */
.p-reservation-list__date-wrap {
  flex: 1;
}

.p-reservation-list__date {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--primary-color);
  margin: 0 0 0.5rem;
}

.p-reservation-list__time {
  font-size: 1.8rem;
  color: #333;
  margin: 0 0 0.5rem;
}

.p-reservation-list__time--pick-date {
  font-size: 2rem;
  font-weight: 600;
  color: var(--primary-color);
}

.p-reservation-list__note {
  font-size: 1.3rem;
  color: #666;
  display: flex;
  gap: 1.5rem;
}

.p-reservation-list__stock {
  color: var(--accent-color);
  font-weight: 500;
}

.p-reservation-list__reception {
  color: #f39c12;
}

/* リンクボタン */
body .p-link-button {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-size: 1.5rem;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  border-radius: 6px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  cursor: pointer;
  min-width: 120px;
}


.p-link-button--disabled {
  background: #e0e0e0;
  color: #999;
  cursor: not-allowed;
}

.p-link-button--more {
  background: #fff;
  color: var(--primary-color);
  border-color: var(--primary-color);
  width: 100%;
  margin-top: 1.5rem;
}

.p-link-button--more:hover {
  background: var(--primary-color);
  color: #fff;
}

/* リンクユニット */
.p-link-unit {
  text-align: center;
  padding: 1rem;
}

.p-link-text {
  color: var(--link-color);
  font-size: 1.5rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s ease;
}

.p-link-text:hover {
  color: var(--link-hover-color);
  text-decoration: underline;
}

/* レスポンシブ対応 */
@media only screen and (max-width: 768px) {
  .p-service-detail__title {
    font-size: 2rem;
  }

  .p-service-detail__price {
    font-size: 1.8rem;
  }

  .p-reservation-list__item {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .p-reservation-list__date-wrap {
    width: 100%;
  }

  .p-reservation-list__link {
    width: 100%;
  }

  .p-link-button {
    width: 100%;
    padding: 1.2rem;
  }

  .p-fieldset__title {
    font-size: 1.6rem;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
  }
}

@media only screen and (max-width: 480px) {
  .p-service-detail__title {
    font-size: 1.8rem;
  }

  .p-service-detail__price {
    font-size: 1.6rem;
  }

  .p-service-detail__explanation {
    font-size: 1.4rem;
  }

  .p-reservation-list__date {
    font-size: 1.4rem;
  }

  .p-reservation-list__time {
    font-size: 1.6rem;
  }

  .p-reservation-list__time--pick-date {
    font-size: 1.8rem;
  }

  .p-link-button {
    font-size: 1.4rem;
  }
}

/* =====================================================
   予約ボタンの最終オーバーライド（最優先）
   ===================================================== */

/* すべての.p-link-buttonのホバー効果を無効化 */
body .p-event-reservation .p-link-button:hover {
  opacity: 1 !important;
}

/* プライマリボタンの基本スタイル */
body .p-event-reservation a.p-link-button--primary,
body .p-event-reservation .p-link-button--primary,
body a.p-link-button.p-link-button--primary,
.wysiwyg .p-event-reservation a.p-link-button--primary {
  background: var(--secondary-color) !important;
  background-color: var(--secondary-color) !important;
  color: #ffffff !important;
  border-color: var(--secondary-color) !important;
}

/* プライマリボタンのホバー・フォーカス時 */
body .p-event-reservation a.p-link-button--primary:hover,
body .p-event-reservation .p-link-button--primary:hover,
body a.p-link-button.p-link-button--primary:hover,
body .p-event-reservation a.p-link-button--primary:focus,
body a.p-link-button.p-link-button--primary:focus,
.wysiwyg .p-event-reservation a.p-link-button--primary:hover,
body .p-event-reservation a.p-link-button--primary:link:hover,
body .p-event-reservation a.p-link-button--primary:visited:hover,
body .p-event-reservation a.p-link-button--primary:active:hover {
  background: #2980b9 !important;
  background-color: #2980b9 !important;
  border-color: #2980b9 !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
  opacity: 1 !important;
  text-decoration: none !important;
}

/* =====================================================
   ブログページ (p-diary)
   ===================================================== */

/* ブログ記事のコンテナ */
.p-diary,
.textfield .p-diary {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0;
}

/* 個別記事のユニット */
.p-diary__unit,
.textfield .p-diary__unit {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  padding: 3rem;
  margin: 0 0 4rem 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border-color);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.p-diary__unit:hover,
.textfield .p-diary__unit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border-color: var(--border-hover);
}

.p-diary__unit:last-child,
.textfield .p-diary__unit:last-child {
  margin-bottom: 0;
}

/* 投稿日時 */
.p-diary__date,
.textfield .p-diary__date {
  font-size: 1.4rem;
  line-height: 1;
  margin: 0 0 1rem 0;
  color: var(--text-light);
  font-weight: 500;
  display: flex;
  align-items: center;
}

.p-diary__date::before,
.textfield .p-diary__date::before {
  content: '📅';
  margin-right: 0.8rem;
  font-size: 1.6rem;
}

/* 記事タイトル */
.p-diary__title,
.textfield .p-diary__title {
  font-size: 2.4rem;
  margin: 0 0 1.5rem 0;
  font-weight: 700;
  line-height: 1.3;
  color: var(--primary-color);
}

.p-diary__title a,
.textfield .p-diary__title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.p-diary__title a:hover,
.textfield .p-diary__title a:hover {
  color: var(--secondary-color);
  text-decoration: none;
}

/* 記事詳細ページではタイトルリンクを無効化 */
body#diary_detail .p-diary__title a,
body.diary-detail .p-diary__title a,
.diary-entry-detail .p-diary__title a {
  pointer-events: none;
  color: inherit;
  cursor: default;
}

body#diary_detail .p-diary__title a:hover,
body.diary-detail .p-diary__title a:hover,
.diary-entry-detail .p-diary__title a:hover {
  color: inherit;
}

/* カテゴリー */
.p-diary__category,
.textfield .p-diary__category {
  font-size: 1.3rem;
  margin: 0 0 2rem 0;
}

.p-diary__category a,
.textfield .p-diary__category a {
  display: inline-block;
  background: var(--primary-color);
  color: white;
  padding: 0.6rem 1.2rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  min-height: auto;
  min-width: auto;
}

.p-diary__category a:hover,
.textfield .p-diary__category a:hover {
  background: var(--secondary-color);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.p-diary__category a:empty,
.textfield .p-diary__category a:empty {
  display: none;
}

/* 記事本文 */
.p-diary__body,
.textfield .p-diary__body {
  display: block;
  font-size: 1.6rem;
  line-height: 1.7;
  color: var(--text-color);
}

.p-diary__body::after,
.textfield .p-diary__body::after {
  content: "";
  display: block;
  clear: both;
}

/* 本文内の画像 */
.p-diary__body img,
.textfield .p-diary__body img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 1.5rem 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.p-diary__body img:hover,
.textfield .p-diary__body img:hover {
  transform: scale(1.02);
}

/* 本文内のリンク */
.p-diary__body a,
.textfield .p-diary__body a {
  color: var(--secondary-color);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.p-diary__body a:hover,
.textfield .p-diary__body a:hover {
  color: var(--primary-color);
}

/* 本文内の段落 */
.p-diary__body p,
.textfield .p-diary__body p {
  margin: 0 0 1.5rem 0;
}

.p-diary__body p:last-child,
.textfield .p-diary__body p:last-child {
  margin-bottom: 0;
}

/* レスポンシブ対応 */
@media only screen and (max-width: 768px) {
  .p-diary {
    padding: 1rem;
  }

  .p-diary__unit {
    padding: 2rem;
    margin: 0 0 3rem 0;
    border-radius: 8px;
  }

  .p-diary__title {
    font-size: 2rem;
    margin-bottom: 1rem;
  }

  .p-diary__date {
    font-size: 1.3rem;
  }

  .p-diary__body {
    font-size: 1.5rem;
  }
}

@media only screen and (max-width: 480px) {
  .p-diary__unit {
    padding: 1.5rem;
    margin: 0 0 2rem 0;
  }

  .p-diary__title {
    font-size: 1.8rem;
  }

  .p-diary__date {
    font-size: 1.2rem;
  }

  .p-diary__date::before {
    font-size: 1.4rem;
    margin-right: 0.6rem;
  }

  .p-diary__body {
    font-size: 1.4rem;
  }

  .p-diary__category a {
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
  }
}

/* =====================================================
   ページネーション (pager)
   ===================================================== */

/* ページャーのコンテナ */
.pager {
  margin: 4rem 0 2rem 0;
  padding: 2rem 0;
  border-top: 1px solid var(--border-color);
}

.pager .inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.pager .inner > div {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

/* ページネーションのリンク */
.pager a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4rem;
  height: 4rem;
  padding: 0 1.2rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--primary-color);
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.pager a:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-color: var(--primary-color);
}

/* 現在のページ */
.pager a.chk {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
  cursor: default;
}

.pager a.chk:hover {
  transform: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* 前へ・次へボタン */
.pager a.prev,
.pager a.next {
  font-size: 1.8rem;
  min-width: 4.5rem;
  font-weight: 700;
}

.pager a.prev:hover,
.pager a.next:hover {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
}

/* 省略記号（...）のスタイル */
.pager .ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4rem;
  height: 4rem;
  color: var(--text-light);
  font-size: 1.5rem;
  font-weight: 600;
}

/* レスポンシブ対応 */
@media only screen and (max-width: 768px) {
  .pager {
    margin: 3rem 0 1.5rem 0;
    padding: 1.5rem 0;
  }

  .pager .inner > div {
    gap: 0.6rem;
  }

  .pager a {
    min-width: 3.5rem;
    height: 3.5rem;
    font-size: 1.4rem;
    padding: 0 1rem;
  }

  .pager a.prev,
  .pager a.next {
    font-size: 1.6rem;
    min-width: 4rem;
  }
}

@media only screen and (max-width: 480px) {
  .pager {
    margin: 2rem 0 1rem 0;
    padding: 1rem 0;
  }

  .pager .inner > div {
    gap: 0.4rem;
  }

  .pager a {
    min-width: 3rem;
    height: 3rem;
    font-size: 1.3rem;
    padding: 0 0.8rem;
    border-radius: 6px;
  }

  .pager a.prev,
  .pager a.next {
    font-size: 1.5rem;
    min-width: 3.5rem;
  }

  .ellipsis {
    min-width: 3rem;
    height: 3rem;
    font-size: 1.3rem;
  }
}

/* =====================================================
   クーポンページ
   ===================================================== */

/* ページタイトル */
body#coupon .page_title {
  font-size: 3rem;
  font-weight: 300;
  text-align: center;
  margin-bottom: 4rem;
  color: var(--primary-color);
  position: relative;
  padding-bottom: 1.5rem;
}

body#coupon .page_title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 2px;
}

/* クーポンリスト */
body#coupon .coupon_list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

/* 各クーポンカード */
body#coupon .coupon_list .article {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.05),
    0 10px 15px rgba(0, 0, 0, 0.1);
  padding: 0;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  animation: couponFadeIn 0.6s ease-out both;
  margin-bottom: 0;
}

body#coupon .coupon_list .article:hover {
  transform: translateY(-4px);
  box-shadow:
    0 8px 12px rgba(0, 0, 0, 0.1),
    0 20px 25px rgba(0, 0, 0, 0.15);
}

/* クーポン画像 */
body#coupon .coupon_list .article .image {
  position: relative;
  overflow: hidden;
  height: 200px;
  background: #f8f9fa;
}

body#coupon .coupon_list .article .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

body#coupon .coupon_list .article:hover .image img {
  transform: scale(1.05);
}

/* 画像がない場合のデフォルト表示 */
body#coupon .coupon_list .article .image:empty {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

body#coupon .coupon_list .article .image:empty::before {
  content: "🎟️";
  font-size: 4rem;
  opacity: 0.3;
}

/* クーポン詳細 */
body#coupon .coupon_list .article .summary {
  padding: 2rem;
  position: relative;
}

/* QRコード */
body#coupon .coupon_list .article .qrcode {
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 100px;
  height: 100px;
  padding: 0.5rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

body#coupon .coupon_list .article .qrcode img {
  width: 100%;
  height: 100%;
}

/* クーポンタイトル */
body#coupon .coupon_list .article .article_title {
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  padding-right: 120px;
  line-height: 1.3;
}

/* クーポン詳細情報 */
body#coupon .coupon_list .article .text {
  list-style: none;
  padding: 0;
  margin: 0;
}

body#coupon .coupon_list .article .text li {
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  font-size: 1.1rem;
  color: #666;
  display: flex;
  align-items: center;
}

body#coupon .coupon_list .article .text li:last-child {
  border-bottom: none;
}

body#coupon .coupon_list .article .text li span {
  color: var(--primary-color);
  font-weight: 500;
  margin-left: 0.5rem;
}

/* 有効期限の強調表示 */
body#coupon .coupon_list .article .text li:last-child span {
  background: var(--accent-color);
  color: white;
  padding: 0.2rem 0.8rem;
  border-radius: 4px;
  font-size: 1rem;
}

/* 印刷リンク */
body#coupon .print {
  text-align: center;
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

body#coupon .print a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-color);
  text-decoration: none;
  font-size: 1.1rem;
  padding: 1rem 2rem;
  border: 2px solid var(--primary-color);
  border-radius: 50px;
  transition: all 0.3s ease;
}

body#coupon .print a:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* アニメーション */
@keyframes couponFadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* レスポンシブ対応 */
@media only screen and (max-width: 768px) {
  body#coupon .coupon_list {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  body#coupon .page_title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
  }

  body#coupon .coupon_list .article .summary {
    padding: 1.5rem;
  }

  body#coupon .coupon_list .article .article_title {
    font-size: 1.5rem;
    padding-right: 0;
    margin-bottom: 1rem;
  }

  body#coupon .coupon_list .article .qrcode {
    position: static;
    margin: 1.5rem auto;
    width: 120px;
    height: 120px;
  }
}

@media only screen and (max-width: 576px) {
  body#coupon .coupon_list .article .image {
    height: 150px;
  }

  body#coupon .coupon_list .article .text li {
    font-size: 1rem;
    padding: 0.6rem 0;
  }
}

/* ダークモード対応 */
@media (prefers-color-scheme: dark) {
  body#coupon .coupon_list .article {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  body#coupon .coupon_list .article .text li {
    color: #ccc;
    border-bottom-color: rgba(255, 255, 255, 0.1);
  }

  body#coupon .coupon_list .article .qrcode {
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  body#coupon .print {
    border-top-color: rgba(255, 255, 255, 0.1);
  }
}

/* アクセシビリティ - モーション無効化 */
@media (prefers-reduced-motion: reduce) {
  body#coupon .coupon_list .article,
  body#coupon .coupon_list .article .image img,
  body#coupon .print a {
    transition: none;
  }

  body#coupon .coupon_list .article {
    animation: none;
  }
}

/* =====================================================
   ソーシャルウィジェットエリア
   ===================================================== */

.social {
  margin: 3rem 0;
  padding: 2rem 0;
  border-top: 1px solid #e8e8e8;
  border-bottom: 1px solid #e8e8e8;
}

.social .inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

#social_widgets {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

.social_widget {
  padding: 1rem;
}

/* 各ソーシャルウィジェットの個別スタイル */
.social_widget div {
  text-align: center !important;
  padding-bottom: 0 !important;
}

/* レスポンシブ対応 */
@media only screen and (max-width: 768px) {
  #social_widgets {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .social {
    margin: 2rem 0;
    padding: 1.5rem 0;
  }

  .social .inner {
    padding: 0 1rem;
  }

  .social_widget {
    padding: 0.8rem;
  }
}

@media only screen and (max-width: 576px) {
  .social_widget {
    padding: 0.5rem;
  }
}

/* =====================================================
   ヘッダー内ソーシャルアイコン
   ===================================================== */

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding: 1rem 0 0.5rem 0;
}

.header-top .shop_tel {
  display: flex;
  align-items: center;
  height: 40px; /* ソーシャルアイコンと同じ高さに */
  margin: 0;
  padding: 0;
  color: var(--primary-color);
}

#header .social_icons {
  display: flex;
  gap: 1rem;
  align-items: center;
  height: 40px; /* 高さを固定 */
}

#header .social_icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-color);
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

#header .social_icons a:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
}

#header .social_icons .icon-twitter,
#header .social_icons .icon-facebook,
#header .social_icons .icon-instagram {
  font-size: 1.2rem;
}

/* レスポンシブ対応 */
@media only screen and (max-width: 768px) {
  .header-top {
    order: 3; /* SNSと電話番号を下に移動 */
    flex-direction: row;
    justify-content: center;
    gap: 1.5rem;
    text-align: center;
    padding: 1rem 0 0.5rem 0;
    margin-top: 1rem;
    border-top: 1px solid #eee;
  }

  #header .element.logo {
    order: 1; /* サイトタイトルを最上位に */
  }

  #header .element.navi {
    order: 2; /* メニューを2番目に */
  }

  #header .element.site_description {
    order: 2.5; /* サイト説明をメニューの後に */
    margin-top: 0.5rem;
  }

  #header .social_icons a {
    width: 36px;
    height: 36px;
  }

  #header .social_icons .icon-twitter,
  #header .social_icons .icon-facebook,
  #header .social_icons .icon-instagram {
    font-size: 1.1rem;
  }
}

@media only screen and (min-width: 769px) {
  .header-top .shop_tel {
    font-size: 1.1rem;
    font-weight: 500;
  }
}

/* Social Media Icons */
.icon-instagram:before {
  content: '\e900';
}

.icon-facebook:before {
  content: '\e901';
}

.icon-twitter:before {
  content: '\e902';
}

/* =====================================================
   予約ページ
   ===================================================== */

/* 予約フォーム全体 */
body#reservation form {
  max-width: 800px;
  margin: 0 auto;
}

/* 各入力エリア */
.reservation_area {
  margin-bottom: 2.5rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.reservation_area label {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* .requierのスタイルは3146行目で既に定義済み */

/* セレクトボックス */
.reservation_area select {
  padding: 0.8rem 1rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 1rem;
  background: white;
  margin: 0 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.reservation_area select:hover {
  border-color: var(--primary-color);
}

.reservation_area select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(44, 62, 80, 0.1);
}

/* 入力フィールド */
.reservation_area input[type="text"],
.reservation_area input[type="tel"],
.reservation_area input[type="email"],
.reservation_area textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 1rem;
  transition: all 0.3s ease;
  font-family: inherit;
}

.reservation_area input[type="text"]:focus,
.reservation_area input[type="tel"]:focus,
.reservation_area input[type="email"]:focus,
.reservation_area textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(44, 62, 80, 0.1);
}

.reservation_area textarea {
  min-height: 120px;
  resize: vertical;
}

/* 人数入力フィールド */
.reservation_person {
  width: 150px !important;
}

/* コース選択エリア */
.reservation_area .radio {
  display: block;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 8px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.reservation_area .radio:hover {
  border-color: var(--primary-color);
  background: #f0f4f8;
}

.reservation_area .radio input[type="radio"] {
  margin-right: 0.8rem;
  width: 20px;
  height: 20px;
  vertical-align: middle;
  cursor: pointer;
}

.reservation_area .radio input[type="radio"]:checked {
  accent-color: var(--primary-color);
}

/* コース名リンク */
.reservation_course_name {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  border-bottom: 1px dashed var(--primary-color);
  transition: all 0.3s ease;
}

.reservation_course_name:hover {
  color: var(--secondary-color);
  border-bottom-style: solid;
}

/* コース詳細 */
.reservation_course_body {
  margin-top: 1rem;
  padding: 1rem;
  background: white;
  border-radius: 6px;
  border: 1px solid var(--border-color);
}

.reservation_course_body img {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.reservation_course_body p {
  margin: 0;
  color: #666;
  line-height: 1.6;
}

/* 送信ボタン */
.button_area {
  text-align: center;
  margin-top: 3rem;
}

.button_area .button {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  border: none;
  padding: 1.2rem 3rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.button_area .button:hover {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.button_area .button:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* レスポンシブ対応 */
@media only screen and (max-width: 768px) {
  .reservation_area {
    padding: 1.5rem;
  }

  .reservation_area select {
    margin: 0.3rem;
    font-size: 0.95rem;
  }

  .reservation_course_body img {
    max-width: 100%;
  }

  .button_area .button {
    width: 100%;
    max-width: 300px;
  }
}

@media only screen and (max-width: 576px) {
  .reservation_area {
    padding: 1.2rem;
    margin-bottom: 1.5rem;
  }

  .reservation_area label {
    font-size: 1rem;
  }

  .reservation_area select {
    display: block;
    width: 100%;
    margin: 0.5rem 0;
  }

  .reservation_person {
    width: 100% !important;
  }
}

/* =====================================================
   メニューページ
   ===================================================== */

/* カテゴリータイトル */
body#menu .category_title {
  text-align: center;
  margin: 3rem 0 2rem 0;
  position: relative;
  padding-bottom: 1.5rem;
}

body#menu .category_title span {
  font-size: 2rem;
  font-weight: 300;
  color: #ffffff;
  display: inline-block;
  padding: 1rem 2rem;
  background: var(--primary-color);
  border-radius: 8px;
  position: relative;
  z-index: 1;
}

body#menu .category_title::after {
  content: '';
  position: absolute;
  bottom: 0.75rem;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--primary-color) 20%, var(--primary-color) 80%, transparent);
}

/* メニューリスト */
body#menu .list {
  margin-bottom: 3rem;
}

body#menu .list .article {
  display: grid;
  grid-template-columns: 200px 1fr;
  grid-template-areas:
    "photo header"
    "photo description";
  gap: 2rem;
  align-items: start;
  margin-bottom: 2.5rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

body#menu .list .article:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* 写真 */
body#menu .article .photo {
  grid-area: photo;
  width: 200px;
  height: 150px;
  overflow: hidden;
  border-radius: 8px;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
}

body#menu .article .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

body#menu .article:hover .photo img {
  transform: scale(1.05);
}

/* 写真がない場合のアイコン表示 */
body#menu .article .photo img[src=""] {
  display: none;
}

body#menu .article .photo:has(img[src=""])::before {
  content: "🍽️";
  font-size: 3rem;
  opacity: 0.3;
}

/* メニューヘッダー部分 */
body#menu .article .menu-header {
  grid-area: header;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

/* メニュー詳細 */
body#menu .article .article_title {
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.4;
  flex: 1;
  min-width: 0; /* flexアイテムが縮小可能に */
}

body#menu .article .article_title a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

body#menu .article .article_title a:hover {
  color: var(--secondary-color);
}

/* おすすめマーク */
body#menu .article .recommend {
  display: inline-block;
  margin-right: 0.5rem;
  vertical-align: middle;
}

body#menu .article .recommend img {
  width: auto;
  height: 20px;
  vertical-align: middle;
  box-shadow: none;
  transition: none;
}

/* 価格 */
body#menu .article .price {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--accent-color);
  white-space: nowrap; /* 価格を改行させない */
  flex-shrink: 0; /* 価格部分は縮小しない */
}

/* 説明文 */
body#menu .article .text {
  grid-area: description;
  color: #666;
  line-height: 1.6;
  font-size: 1.05rem;
}

/* レスポンシブ対応 - タブレット */
@media only screen and (max-width: 768px) {
  body#menu .list .article {
    grid-template-columns: 150px 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
  }

  body#menu .article .photo {
    width: 150px;
    height: 112px;
  }

  body#menu .category_title span {
    font-size: 1.8rem;
  }

  body#menu .article .article_title {
    font-size: 1.4rem;
  }

  body#menu .article .price {
    font-size: 1.6rem;
  }
}

/* レスポンシブ対応 - スマートフォン */
@media only screen and (max-width: 576px) {
  body#menu .list .article {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.2rem;
  }

  body#menu .article .photo {
    width: 100%;
    height: 200px;
    margin-bottom: 1rem;
  }

  body#menu .category_title {
    margin: 2rem 0 1.5rem 0;
  }

  body#menu .category_title span {
    font-size: 1.5rem;
    padding: 0 1rem;
  }

  body#menu .article .article_title {
    font-size: 1.3rem;
  }

  body#menu .article .price {
    font-size: 1.5rem;
  }
}

/* ダークモード対応 */
@media (prefers-color-scheme: dark) {
  body#menu .list .article {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  body#menu .category_title span {
    background: #1a1a1a;
  }

  body#menu .category_title::after {
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3) 20%, rgba(255, 255, 255, 0.3) 80%, transparent);
  }

  body#menu .article .text {
    color: #ccc;
  }
}

/* アクセシビリティ - モーション無効化 */
@media (prefers-reduced-motion: reduce) {
  body#menu .list .article,
  body#menu .article .photo img {
    transition: none;
  }
}

/* minne Gallery - Color Customization */
.minne_area {
  border-top-color: #e8e8e8;
}

.p-minne-item__title {
  color: #2c3e50;
}

.p-minne-item__title:hover {
  color: #2c3e50;
}

.p-minne-item__price {
  color: #e74c3c;
}

.p-minne-message {
  color: #2c3e50;
}

/* ==================================================
  TinyMCE Generated Content Styles
================================================== */
.textfield {
  color: #2c3e50;
  line-height: 1.7;
}

/* Headings */
.textfield h1,
.textfield h2,
.textfield h3,
.textfield h4,
.textfield h5,
.textfield h6 {
  margin: 1.5em 0 0.5em;
  line-height: 1.4;
  font-weight: bold;
  color: #2c3e50;
}

.textfield h1 {
  font-size: 2em;
  border-bottom: 2px solid #e8e8e8;
  padding-bottom: 0.3em;
}

.textfield h2 {
  font-size: 1.5em;
  border-bottom: 1px solid #e8e8e8;
  padding-bottom: 0.2em;
}

.textfield h3 {
  font-size: 1.25em;
}

.textfield h4 {
  font-size: 1.1em;
}

/* Paragraphs */
.textfield p {
  margin: 1em 0;
}

/* Lists */
.textfield ul,
.textfield ol {
  margin: 1em 0;
  padding-left: 2em;
}

.textfield ul {
  list-style-type: disc;
}

.textfield ol {
  list-style-type: decimal;
}

.textfield li {
  margin: 0.5em 0;
  line-height: 1.6;
}

/* Nested lists */
.textfield ul ul,
.textfield ol ul {
  list-style-type: circle;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

/* Tables */
.textfield table {
  border-collapse: collapse;
  width: 100%;
  margin: 1.5em 0;
  background-color: #ffffff;
}

.textfield table,
.textfield th,
.textfield td {
  border: 1px solid #e8e8e8;
}

.textfield th,
.textfield td {
  padding: 0.75em 1em;
  text-align: left;
}

.textfield th {
  background-color: #ffffff;
  font-weight: bold;
}

.textfield tr:nth-child(even) {
  background-color: #ffffff;
}

/* Links */
.textfield a {
  color: #2c3e50;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.textfield a:hover {
  color: #122436;
  text-decoration: none;
}

/* Images */
.textfield img {
  max-width: 100%;
  height: auto;
  margin: 1em 0;
  display: block;
}

/* Blockquotes */
.textfield blockquote {
  margin: 1.5em 0;
  padding: 1em 1.5em;
  border-left: 4px solid #2c3e50;
  background-color: #ffffff;
  font-style: italic;
}

/* Code */
.textfield code {
  background-color: #ffffff;
  padding: 0.2em 0.4em;
  border-radius: 3px;
  font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
  font-size: 0.9em;
}

.textfield pre {
  background-color: #ffffff;
  padding: 1em;
  border-radius: 4px;
  overflow-x: auto;
  margin: 1.5em 0;
}

.textfield pre code {
  background-color: transparent;
  padding: 0;
}

/* Horizontal Rule */
.textfield hr {
  border: none;
  border-top: 1px solid #e8e8e8;
  margin: 2em 0;
}.shop_sitename {
  font-size: 100%;
}
