/* ====================================================
   1. 基本設定（SWELL風カラー & フォント）
   ==================================================== */
   :root {
    --swl-primary: #008bb1;   /* SWELLブルー */
    --swl-text: #333;         /* メイン文字色 */
    --swl-bg: #f7f9fb;        /* 薄いグレーの背景 */
    --swl-white: #ffffff;
    --font-main: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: var(--font-main);
    background-color: var(--swl-bg);
    color: var(--swl-text);
    line-height: 1.8;
    overflow-x: hidden; /* 横揺れ防止 */
    -webkit-font-smoothing: antialiased;
  }
  
  img {
    max-width: 100%;
    height: auto;
  }
  
  /* ====================================================
     2. ヘッダー & ナビゲーション（スマホ対応）
     ==================================================== */
  .header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    border-bottom: 1px solid #eee;
  }
  
  .navbar .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 15px;
    display: flex;
    flex-direction: column; /* スマホでは縦並び（ロゴの下にメニュー） */
    align-items: center;
  }
  
  @media (min-width: 768px) {
    .navbar .container {
      flex-direction: row; /* PCでは横並び */
      justify-content: space-between;
      padding: 15px 20px;
    }
  }
  
  .logo h1 {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 5px 0 10px 0;
    color: var(--swl-primary);
    letter-spacing: 0.1em;
  }
  
  /* スマホ用：メニューを指で横にスワイプできるようにする */
  .nav-menu {
    display: flex;
    gap: 20px;
    list-style: none;
    padding: 0 10px 10px 10px;
    margin: 0;
    width: 100%;
    overflow-x: auto; /* はみ出たらスクロール */
    white-space: nowrap; /* 改行させない */
    -webkit-overflow-scrolling: touch;
  }
  
  /* スクロールバーを隠しておしゃれにする */
  .nav-menu::-webkit-scrollbar { display: none; }
  
  .nav-menu a {
    text-decoration: none;
    color: var(--swl-text);
    font-size: 0.85rem;
    font-weight: 600;
    transition: 0.3s;
  }
  
  @media (min-width: 768px) {
    .logo h1 { font-size: 1.6rem; }
    .nav-menu {
      width: auto;
      overflow: visible;
      gap: 30px;
      padding: 0;
    }
    .nav-menu a { font-size: 0.95rem; }
    .nav-menu a:hover { color: var(--swl-primary); }
  }
  
  /* ====================================================
     3. トップページ スライドショー (SWELL風アニメ)
     ==================================================== */
  .hero {
    position: relative;
    height: 60vh; /* スマホでの高さ */
    background: #000;
    overflow: hidden;
  }
  
  @media (min-width: 768px) {
    .hero { height: 85vh; } /* PCでの高さ */
  }
  
  .slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.1); /* ズームエフェクトの初期状態 */
    transition: opacity 1.5s ease, transform 6s linear;
  }
  
  .slide.active {
    opacity: 1;
    transform: scale(1); /* ゆっくりズームアウト */
  }
  
  .overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.4) 100%);
  }
  
  .slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    width: 90%;
    z-index: 10;
  }
  
  .slide-content h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 2px 15px rgba(0,0,0,0.4);
  }
  
  .slide-content p {
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    opacity: 0.9;
  }
  
  @media (min-width: 768px) {
    .slide-content h2 { font-size: 3.5rem; }
    .slide-content p { font-size: 1.2rem; }
  }
  
  .dots {
    position: absolute;
    bottom: 30px;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 20;
  }
  
  .dot {
    width: 8px;
    height: 8px;
    background: rgba(255,255,255,0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
  }
  
  .dot.active {
    width: 25px;
    border-radius: 10px;
    background: #fff;
  }
  
  /* ====================================================
     4. 詳細ページ（kyoto.html等）のレイアウト改善
     ==================================================== */
  .content-page {
    padding: 30px 0;
  }
  
  .content-page .container {
    max-width: 900px; /* 文章を読みやすく制限 */
    margin: 0 auto;
    padding: 30px 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
  }
  
  @media (max-width: 768px) {
    .content-page { padding: 0; }
    .content-page .container {
      padding: 25px 15px;
      border-radius: 0;
      box-shadow: none;
    }
  }
  
  .content-header {
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--swl-bg);
    padding-bottom: 20px;
  }
  
  .content-header h1 {
    font-size: 1.6rem;
    color: var(--swl-text);
    margin-bottom: 10px;
  }
  
  .content-hero-image {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 30px;
    display: block;
  }
  
  .content-body h2 {
    font-size: 1.4rem;
    margin: 40px 0 20px;
    padding-left: 12px;
    border-left: 5px solid var(--swl-primary);
  }
  
  .content-body p {
    margin-bottom: 1.8em;
  }
  
  .highlight-box {
    background: #f0f7f9;
    padding: 20px;
    border-radius: 10px;
    border-left: 5px solid var(--swl-primary);
    margin: 30px 0;
  }
  
  /* ====================================================
     5. フッター
     ==================================================== */
  .footer {
    padding: 40px 20px;
    background: #fff;
    border-top: 1px solid #eee;
    text-align: center;
    font-size: 0.8rem;
    color: #888;
  }