/*
Theme Name: ゆるぴあ
Theme URI: https://h-yurupia.jp/
Author: yurupia
Author URI: https://h-yurupia.jp/
Description: ゆるぴあ オリジナルテーマ - 東京カレンダー風デザイン
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: yurupia-theme
*/

/* ==========================================================================
   CSS変数
   ========================================================================== */
:root {
  --color-primary: #1a1a1a;
  --color-secondary: #c9a868;
  --color-gold: #d4af37;
  --color-gold-light: #f5e6c8;
  --color-white: #ffffff;
  --color-gray-light: #f8f8f8;
  --color-gray: #666666;
  --color-text: #333333;
  --color-pink: #ff4493;
  --color-pink-light: #fee3e5;
  --color-green: #389a6e;
  --color-red: #ef4d4d;
  --color-blue: #355ddf;
  --color-line: #06c655;
  --font-serif: "Noto Serif JP", serif;
  --font-sans: "Noto Sans JP", sans-serif;
  --font-en: "Cormorant", serif;
  --max-width: 1200px;
}

/* ==========================================================================
   リセット・ベース
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text);
  background-color: var(--color-primary);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  opacity: 0.8;
}

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

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

p {
  margin: 0;
}

/* ==========================================================================
   年齢確認バー
   ========================================================================== */
.age-verification-bar {
  background: var(--color-primary);
  color: var(--color-white);
  text-align: center;
  padding: 8px 15px;
  font-size: 12px;
  border-bottom: 1px solid #333;
}

.age-verification-bar p {
  margin: 0;
}

/* ==========================================================================
   サイトヘッダー
   ========================================================================== */
.site-header {
  background: var(--color-primary);
}

/* ヘッダートップ */
.header-top {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  padding: 15px 0;
}

.header-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.header-logo {
  display: flex;
  align-items: center;
}

.header-logo img {
  height: 60px;
  width: auto;
}

/* ==========================================================================
   ヒーロースライダー
   ========================================================================== */
.hero-slider {
  position: relative;
  overflow: hidden;
}

.hero-slider img {
  width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   ナビゲーション
   ========================================================================== */
.header-navigation {
  background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
  border-top: 1px solid var(--color-secondary);
  border-bottom: 1px solid var(--color-secondary);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.header-nav-menu {
  display: flex;
  justify-content: space-between;
}

.header-nav-item {
  flex: 1;
  border-right: 1px solid #333;
}

.header-nav-item:last-child {
  border-right: none;
}

.header-nav-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 5px;
  text-align: center;
  color: var(--color-white);
  transition: all 0.3s ease;
}

.header-nav-link:hover {
  background: rgba(201, 168, 104, 0.2);
  opacity: 1;
}

.header-nav-item.current .header-nav-link {
  background: var(--color-secondary);
  color: var(--color-primary);
}

.nav-en {
  display: block;
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--color-secondary);
  margin-bottom: 2px;
}

.header-nav-item.current .nav-en {
  color: var(--color-primary);
}

.nav-ja {
  display: block;
  font-size: 12px;
  font-family: var(--font-sans);
}

/* ==========================================================================
   固定サイドバナー（PC）
   ========================================================================== */
.fixed-side-banner {
  position: fixed;
  right: 0;
  top: 150px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.side-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 12px;
  color: var(--color-white);
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 0.1em;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  border-radius: 8px 0 0 8px;
  box-shadow: -2px 2px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  text-align: center;
  line-height: 1.4;
}

.side-btn span {
  display: block;
}

.side-btn:hover {
  transform: translateX(-5px);
  opacity: 1;
}

.side-btn-reserve {
  background: linear-gradient(180deg, #ff5c5d, #d43d3d);
  margin-bottom: 5px;
}

.side-btn-line {
  background: linear-gradient(180deg, var(--color-line), #05a045);
}

/* ==========================================================================
   固定ボトムバナー（SP）
   ========================================================================== */
.fixed-bottom-banner {
  display: none;
}

/* ==========================================================================
   ページトップボタン
   ========================================================================== */
.page-top-btn {
  position: fixed;
  right: 20px;
  bottom: 100px;
  width: 50px;
  height: 50px;
  background: var(--color-pink);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  opacity: 0.8;
  z-index: 999;
  transition: all 0.3s ease;
}

.page-top-btn:hover {
  opacity: 1;
  transform: translateY(-3px);
}

/* ==========================================================================
   パンくずリスト
   ========================================================================== */
.breadcrumb,
.breadcrumbs {
  background: #2a2a2a;
  padding: 12px 0;
  border-bottom: 1px solid #333;
}

.breadcrumb-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  font-size: 12px;
  color: #999;
}

.breadcrumb a,
.breadcrumbs a,
.breadcrumbs span {
  color: var(--color-secondary);
  font-size: 12px;
}

.breadcrumb a:hover,
.breadcrumbs a:hover {
  color: var(--color-white);
}

.breadcrumb .separator,
.breadcrumbs .separator {
  margin: 0 8px;
  color: #666;
}

.breadcrumb .current,
.breadcrumbs .current {
  color: #999;
}

/* ==========================================================================
   メインコンテンツ
   ========================================================================== */
.site-main {
  min-height: 50vh;
}

/* コンテナ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* セクション */
.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-en {
  display: block;
  font-family: var(--font-en);
  font-size: 14px;
  letter-spacing: 3px;
  color: var(--color-secondary);
  margin-bottom: 10px;
}

.section-title {
  font-size: 28px;
  font-family: var(--font-serif);
  color: var(--color-white);
}

/* ==========================================================================
   コンテンツボックス（下層ページ）
   ========================================================================== */
.content-box {
  background: var(--color-white);
  border-radius: 20px;
  margin-bottom: 30px;
  overflow: hidden;
}

.content-box-header {
  background: var(--color-green);
  color: var(--color-white);
  text-align: center;
  padding: 20px;
  font-size: 20px;
}

.content-box-body {
  padding: 30px 50px;
}

/* レガシー対応 */
.wrap .contbox {
  background: var(--color-white);
  border-radius: 12px;
  margin-bottom: 30px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.wrap .contbox h2 {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: var(--color-white);
  text-align: center;
  padding: 25px 20px;
  font-size: 20px;
  margin: 0;
  border-bottom: 2px solid var(--color-secondary);
}

.wrap .contbox .contboxin {
  padding: 30px 50px;
}

/* ==========================================================================
   フッター
   ========================================================================== */
.site-footer {
  background: var(--color-primary);
  color: var(--color-white);
}

/* フッターメイン */
.footer-main {
  padding: 50px 0;
  border-bottom: 1px solid #333;
}

.footer-main .footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: 250px 1fr 1fr 1fr;
  gap: 40px;
}

.footer-logo-area {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-logo img {
  max-width: 180px;
  height: auto;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: #333;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--color-white);
  transition: background 0.3s ease;
}

.footer-social a:hover {
  background: var(--color-secondary);
  opacity: 1;
}

.footer-nav h4 {
  color: var(--color-secondary);
  font-size: 14px;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #333;
}

.footer-nav ul li {
  margin-bottom: 8px;
}

.footer-nav ul li a {
  color: #999;
  font-size: 13px;
}

.footer-nav ul li a:hover {
  color: var(--color-white);
  opacity: 1;
}

/* フッターボトム */
.footer-bottom {
  padding: 20px 0;
  text-align: center;
}

.footer-bottom .footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.copyright {
  color: #666;
  font-size: 12px;
}

/* ==========================================================================
   レスポンシブ
   ========================================================================== */
@media screen and (max-width: 1024px) {
  .header-nav-link {
    padding: 10px 3px;
  }

  .nav-en {
    font-size: 10px;
  }

  .nav-ja {
    font-size: 11px;
  }
}

@media screen and (max-width: 768px) {
  /* 年齢確認バー */
  .age-verification-bar {
    font-size: 10px;
    padding: 6px 10px;
  }

  /* ヘッダー */
  .header-top {
    padding: 10px 0;
  }

  .header-logo img {
    height: 40px;
  }

  /* ナビゲーション */
  .header-nav-menu {
    flex-wrap: wrap;
  }

  .header-nav-item {
    flex: 0 0 25%;
    border-bottom: 1px solid #333;
  }

  .header-nav-item:nth-child(4n) {
    border-right: none;
  }

  .header-nav-link {
    padding: 8px 5px;
  }

  .nav-en {
    font-size: 9px;
  }

  .nav-ja {
    font-size: 10px;
  }

  /* 固定バナー */
  .fixed-side-banner {
    display: none;
  }

  .fixed-bottom-banner {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    padding: 8px;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  }

  .bottom-banner-top {
    display: flex;
    gap: 5px;
    margin-bottom: 8px;
  }

  .bottom-banner-main {
    display: flex;
    gap: 5px;
  }

  .bottom-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 5px;
    border-radius: 8px;
    color: var(--color-white);
    font-size: 11px;
    text-align: center;
  }

  .bottom-btn .btn-sub {
    font-size: 8px;
    opacity: 0.9;
  }

  .bottom-btn .btn-main {
    font-size: 11px;
    font-weight: bold;
  }

  .bottom-btn-register {
    background: var(--color-red);
  }
  .bottom-btn-login {
    background: var(--color-blue);
  }
  .bottom-btn-reserve {
    background: var(--color-pink);
  }
  .bottom-btn-line {
    background: var(--color-line);
  }
  .bottom-btn-coupon {
    background: var(--color-secondary);
    color: var(--color-primary);
  }

  /* ページトップ */
  .page-top-btn {
    bottom: 180px;
    right: 10px;
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  /* フッター */
  .site-footer {
    padding-bottom: 150px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .footer-logo-area {
    align-items: center;
  }

  .footer-logo img {
    max-width: 150px;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-nav h4 {
    text-align: center;
  }

  .footer-nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 20px;
  }

  .footer-nav ul li {
    margin: 0;
  }

  /* コンテンツボックス */
  .wrap .contbox {
    margin: 0 10px 20px;
  }

  .wrap .contbox h2 {
    font-size: 16px;
    padding: 15px;
  }

  .wrap .contbox .contboxin {
    padding: 15px;
  }

  .content-box-body {
    padding: 20px 15px;
  }
}

/* ==========================================================================
   ユーティリティ
   ========================================================================== */
.text-center {
  text-align: center !important;
}
.text-left {
  text-align: left !important;
}
.text-right {
  text-align: right !important;
}

.mb-0 {
  margin-bottom: 0 !important;
}
.mb-1 {
  margin-bottom: 0.5rem !important;
}
.mb-2 {
  margin-bottom: 1rem !important;
}
.mb-3 {
  margin-bottom: 1.5rem !important;
}
.mb-4 {
  margin-bottom: 2rem !important;
}
.mb-5 {
  margin-bottom: 3rem !important;
}

.mt-0 {
  margin-top: 0 !important;
}
.mt-1 {
  margin-top: 0.5rem !important;
}
.mt-2 {
  margin-top: 1rem !important;
}
.mt-3 {
  margin-top: 1.5rem !important;
}
.mt-4 {
  margin-top: 2rem !important;
}
.mt-5 {
  margin-top: 3rem !important;
}

.d-none {
  display: none !important;
}
.d-block {
  display: block !important;
}
.d-flex {
  display: flex !important;
}

/* PC/SP表示切り替え */
@media screen and (min-width: 769px) {
  .sp-only {
    display: none !important;
  }
}

@media screen and (max-width: 768px) {
  .pc-only {
    display: none !important;
  }
}
