/* ============================================================
   JSKグループ WordPress テーマ - メインCSS
   ============================================================ */

/* ---- CSS変数 ---- */
:root {
  --jsk-orange: #e85d04;
  --jsk-orange-dark: #c44d03;
  --jsk-orange-light: #f48c06;
  --jsk-brown: #370617;
  --jsk-brown-mid: #6a1a1a;
  --jsk-gray-50: #f9fafb;
  --jsk-gray-100: #f3f4f6;
  --jsk-gray-200: #e5e7eb;
  --jsk-gray-600: #4b5563;
  --jsk-gray-800: #1f2937;
  --jsk-white: #ffffff;
  --font-serif: 'Noto Serif JP', 'Yu Mincho', '游明朝', 'HGS明朝E', serif;
  --font-sans: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.05);
  --radius: 0.75rem;
}

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

body {
  font-family: var(--font-sans);
  color: var(--jsk-gray-800);
  background: #fff;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

a { color: var(--jsk-orange); text-decoration: none; }
a:hover { text-decoration: underline; }

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

ul { padding-left: 1.5rem; }
ul li { margin-bottom: 0.4rem; }

/* ============================================================
   ナビゲーション
   ============================================================ */
.jsk-topbar {
  background: var(--jsk-brown);
  color: rgba(255,255,255,0.85);
  font-size: 0.8rem;
  padding: 0.4rem 0;
}
.jsk-topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.jsk-topbar a { color: rgba(255,255,255,0.85); }
.jsk-topbar a:hover { color: #fff; text-decoration: none; }
.jsk-topbar-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }

.jsk-nav {
  background: #fff;
  border-bottom: 2px solid var(--jsk-gray-200);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}
.jsk-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
}
.jsk-nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.jsk-nav-logo img { width: 40px; height: 40px; object-fit: contain; }
.jsk-nav-logo-text { display: flex; flex-direction: column; }
.jsk-nav-logo-main { font-size: 1rem; font-weight: 900; color: var(--jsk-brown); line-height: 1.2; }
.jsk-nav-logo-sub { font-size: 0.65rem; color: var(--jsk-gray-600); }

.jsk-nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.jsk-nav-menu li a {
  display: block;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--jsk-gray-800);
  border-radius: 0.375rem;
  transition: background 0.2s, color 0.2s;
}
.jsk-nav-menu li a:hover,
.jsk-nav-menu li a.active {
  background: var(--jsk-gray-100);
  color: var(--jsk-orange);
  text-decoration: none;
}
.jsk-nav-shop-link a {
  background: var(--jsk-orange) !important;
  color: #fff !important;
  padding: 0.5rem 1rem !important;
}
.jsk-nav-shop-link a:hover {
  background: var(--jsk-orange-dark) !important;
}

/* ハンバーガーボタン */
.jsk-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.jsk-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--jsk-gray-800);
  transition: all 0.3s;
}

/* モバイルメニュー */
.jsk-mobile-menu {
  display: none;
  background: #fff;
  border-top: 1px solid var(--jsk-gray-200);
  padding: 1rem 1.5rem;
}
.jsk-mobile-menu.open { display: block; }
.jsk-mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.jsk-mobile-menu ul li a {
  display: block;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--jsk-gray-100);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--jsk-gray-800);
}
.jsk-mobile-menu ul li:last-child a { border-bottom: none; }

/* ============================================================
   ヒーローセクション（TOPページ）
   ============================================================ */
.jsk-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.jsk-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.jsk-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(55,6,23,0.85) 0%, rgba(232,93,4,0.4) 100%);
}
.jsk-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 1.5rem 4rem;
  color: #fff;
}
.jsk-hero-badge {
  display: inline-block;
  background: rgba(232,93,4,0.9);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  margin-bottom: 1.5rem;
}
.jsk-hero-content h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.1;
  margin: 0 0 0.5rem;
}
.jsk-hero-subtitle {
  font-size: 1.25rem;
  font-weight: 700;
  opacity: 0.9;
  margin-bottom: 1rem;
}
.jsk-hero-desc {
  font-size: 1.1rem;
  opacity: 0.85;
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 0.5rem;
}
.jsk-hero-image-notice {
  font-size: 0.7rem;
  opacity: 0.6;
  margin-bottom: 0;
}
.jsk-hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ============================================================
   ページヒーロー（内部ページ共通）
   ============================================================ */
.jsk-page-hero {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
}
.jsk-page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.jsk-page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(55,6,23,0.8), rgba(232,93,4,0.5));
}
.jsk-page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  color: #fff;
}
.jsk-page-hero-content h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 900;
  margin: 0 0 0.5rem;
}
.jsk-page-hero-sub {
  font-size: 1rem;
  opacity: 0.9;
  margin: 0;
}
.jsk-page-hero-notice {
  font-size: 0.7rem;
  opacity: 0.6;
  margin-top: 0.5rem;
}

/* ============================================================
   Stats Bar
   ============================================================ */
.jsk-stats {
  background: var(--jsk-brown);
  color: #fff;
  padding: 1.5rem 0;
}
.jsk-stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}
.jsk-stat-value {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--jsk-orange-light);
}
.jsk-stat-label {
  font-size: 0.75rem;
  opacity: 0.8;
  margin-top: 0.25rem;
}

/* ============================================================
   セクション共通
   ============================================================ */
.jsk-section {
  padding: 5rem 0;
}
.jsk-section-alt {
  background: var(--jsk-gray-50);
}
.jsk-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.jsk-section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--jsk-orange);
  margin-bottom: 0.5rem;
}
.jsk-section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 900;
  color: var(--jsk-brown);
  margin: 0 0 1rem;
}
.jsk-divider {
  width: 4rem;
  height: 4px;
  background: var(--jsk-orange);
  border-radius: 2px;
  margin-bottom: 1.5rem;
}
.jsk-section-desc {
  font-size: 1rem;
  color: var(--jsk-gray-600);
  max-width: 700px;
  line-height: 1.8;
}

/* ============================================================
   カード
   ============================================================ */
.jsk-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.jsk-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.jsk-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.jsk-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.jsk-card-body {
  padding: 1.5rem;
}
.jsk-card-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}
.jsk-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--jsk-brown);
  margin-bottom: 0.75rem;
}
.jsk-card-desc {
  font-size: 0.875rem;
  color: var(--jsk-gray-600);
  line-height: 1.7;
  margin-bottom: 1rem;
}
.jsk-card-link {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--jsk-orange);
}
.jsk-card-link:hover { text-decoration: underline; }

/* ============================================================
   ツアーグリッド
   ============================================================ */
.jsk-tour-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}
.jsk-tour-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.2s, box-shadow 0.2s;
}
.jsk-tour-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.jsk-tour-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}
.jsk-tour-tag {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: var(--jsk-orange);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
}
.jsk-tour-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(55,6,23,0.9));
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 2rem 1rem 0.75rem;
}
.jsk-tour-subtitle {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(55,6,23,0.9));
  color: rgba(255,255,255,0.8);
  font-size: 0.7rem;
  padding: 0 1rem 0.5rem;
}

/* ============================================================
   ボタン
   ============================================================ */
.jsk-btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  border: 2px solid transparent;
}
.jsk-btn-primary {
  background: var(--jsk-orange);
  color: #fff;
  border-color: var(--jsk-orange);
}
.jsk-btn-primary:hover {
  background: var(--jsk-orange-dark);
  border-color: var(--jsk-orange-dark);
  text-decoration: none;
  color: #fff;
}
.jsk-btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}
.jsk-btn-outline:hover {
  background: rgba(255,255,255,0.1);
  text-decoration: none;
  color: #fff;
}
.jsk-btn-white {
  background: #fff;
  color: var(--jsk-brown);
  border-color: #fff;
}
.jsk-btn-white:hover {
  background: var(--jsk-gray-100);
  text-decoration: none;
  color: var(--jsk-brown);
}

/* ============================================================
   CTAセクション
   ============================================================ */
.jsk-cta {
  background: linear-gradient(135deg, var(--jsk-brown) 0%, var(--jsk-brown-mid) 100%);
  color: #fff;
  padding: 5rem 0;
  text-align: center;
}
.jsk-cta h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 900;
  margin-bottom: 1rem;
}
.jsk-cta p {
  font-size: 1rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  line-height: 1.8;
}
.jsk-cta-btns {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.jsk-policy-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}
.jsk-policy-links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.8rem;
}
.jsk-policy-links a:hover { color: #fff; }

/* ============================================================
   テーブル
   ============================================================ */
.jsk-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.jsk-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.jsk-table th {
  background: var(--jsk-brown);
  color: #fff;
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 700;
}
.jsk-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--jsk-gray-200);
  vertical-align: top;
}
.jsk-table tr:nth-child(even) td { background: var(--jsk-gray-50); }
.jsk-table tr:hover td { background: #fff3e0; }

/* ============================================================
   情報ボックス
   ============================================================ */
.jsk-info-box {
  background: var(--jsk-gray-50);
  border: 1px solid var(--jsk-gray-200);
  border-left: 4px solid var(--jsk-orange);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.jsk-info-box h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--jsk-brown);
  margin-bottom: 0.75rem;
}
.jsk-info-box p { font-size: 0.875rem; color: var(--jsk-gray-600); margin-bottom: 0.5rem; }
.jsk-info-box ul { font-size: 0.875rem; color: var(--jsk-gray-600); }

/* ============================================================
   シーズンタブ
   ============================================================ */
.jsk-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.jsk-tab {
  padding: 0.6rem 1.25rem;
  border-radius: 9999px;
  border: 2px solid var(--jsk-gray-200);
  background: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--jsk-gray-600);
}
.jsk-tab:hover {
  border-color: var(--jsk-orange);
  color: var(--jsk-orange);
}
.jsk-tab.active {
  background: var(--jsk-orange);
  border-color: var(--jsk-orange);
  color: #fff;
}

/* ============================================================
   お問い合わせフォーム
   ============================================================ */
.jsk-form { display: flex; flex-direction: column; gap: 1.25rem; }
.jsk-form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.jsk-form-group label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--jsk-gray-800);
}
.jsk-required {
  font-size: 0.7rem;
  color: var(--jsk-orange);
  margin-left: 0.25rem;
}
.jsk-form-group input,
.jsk-form-group select,
.jsk-form-group textarea {
  padding: 0.75rem 1rem;
  border: 1px solid var(--jsk-gray-200);
  border-radius: 0.5rem;
  font-size: 0.9rem;
  font-family: var(--font-sans);
  color: var(--jsk-gray-800);
  background: #fff;
  transition: border-color 0.2s;
  width: 100%;
}
.jsk-form-group input:focus,
.jsk-form-group select:focus,
.jsk-form-group textarea:focus {
  outline: none;
  border-color: var(--jsk-orange);
  box-shadow: 0 0 0 3px rgba(232,93,4,0.1);
}

/* ============================================================
   アラート
   ============================================================ */
.jsk-alert {
  padding: 1rem 1.25rem;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.jsk-alert-success {
  background: #d1fae5;
  border: 1px solid #6ee7b7;
  color: #065f46;
}
.jsk-alert-error {
  background: #fee2e2;
  border: 1px solid #fca5a5;
  color: #991b1b;
}

/* ============================================================
   お問い合わせ情報
   ============================================================ */
.jsk-contact-info { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 1.5rem; }
.jsk-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: var(--jsk-gray-50);
  border-radius: 0.5rem;
}
.jsk-contact-icon { font-size: 1.5rem; flex-shrink: 0; }

/* ============================================================
   フッター
   ============================================================ */
.jsk-footer {
  background: var(--jsk-brown);
  color: rgba(255,255,255,0.85);
  padding: 3rem 0 0;
}
.jsk-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
}
.jsk-footer-brand img { width: 48px; height: 48px; object-fit: contain; margin-bottom: 0.75rem; }
.jsk-footer-brand-name {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 0.25rem;
}
.jsk-footer-brand-sub { font-size: 0.75rem; opacity: 0.7; margin-bottom: 1rem; }
.jsk-footer-brand p { font-size: 0.8rem; opacity: 0.8; line-height: 1.7; }
.jsk-footer-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--jsk-orange-light);
  margin-bottom: 1rem;
}
.jsk-footer-col ul { list-style: none; padding: 0; margin: 0; }
.jsk-footer-col ul li { margin-bottom: 0.5rem; }
.jsk-footer-col ul li a { font-size: 0.8rem; color: rgba(255,255,255,0.75); }
.jsk-footer-col ul li a:hover { color: #fff; text-decoration: none; }
.jsk-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 2rem;
  padding: 1.5rem;
  text-align: center;
}
.jsk-footer-bottom-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}
.jsk-footer-bottom-links a { font-size: 0.75rem; color: rgba(255,255,255,0.6); }
.jsk-footer-bottom-links a:hover { color: #fff; }
.jsk-footer-copyright { font-size: 0.75rem; opacity: 0.5; }

/* ============================================================
   レスポンシブ
   ============================================================ */
@media (max-width: 1024px) {
  .jsk-footer-inner { grid-template-columns: 1fr 1fr; }
  .jsk-stats-inner { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .jsk-nav-menu { display: none; }
  .jsk-hamburger { display: flex; }
  .jsk-hero { min-height: 80vh; }
  .jsk-hero-content { padding: 5rem 1.5rem 3rem; }
  .jsk-hero-btns { flex-direction: column; }
  .jsk-hero-btns .jsk-btn { text-align: center; }
  .jsk-section { padding: 3rem 0; }
  .jsk-cta { padding: 3rem 0; }
  .jsk-cta-btns { flex-direction: column; align-items: center; }
  .jsk-footer-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .jsk-stats-inner { grid-template-columns: repeat(2, 1fr); }
  .jsk-topbar-links { display: none; }

  /* お問い合わせページのグリッド */
  .jsk-container > div[style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 480px) {
  .jsk-stats-inner { grid-template-columns: 1fr 1fr; }
  .jsk-cards { grid-template-columns: 1fr; }
  .jsk-tour-grid { grid-template-columns: 1fr 1fr; }
  .jsk-footer-bottom-links { flex-direction: column; gap: 0.5rem; }
}

/* ============================================================
   WordPress コアスタイル調整
   ============================================================ */
.wp-block-image { margin: 1.5rem 0; }
.aligncenter { text-align: center; }
.alignleft { float: left; margin-right: 1.5rem; }
.alignright { float: right; margin-left: 1.5rem; }

/* Contact Form 7 スタイル調整 */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 select,
.wpcf7 textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--jsk-gray-200);
  border-radius: 0.5rem;
  font-size: 0.9rem;
  font-family: var(--font-sans);
  margin-bottom: 0.75rem;
}
.wpcf7 input[type="submit"] {
  background: var(--jsk-orange);
  color: #fff;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}
.wpcf7 input[type="submit"]:hover { background: var(--jsk-orange-dark); }
