/*
 Theme Name:   Quill Child
 Description:  Quillテーマの子テーマ
 Author:       Kazumasa Murai
 Template:     quill
 Version:      1.0
*/

/* Add basic spacing and styling for Bootstrap grid */
body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif!important;
}

/* 基本スタイル */
.header {
  background: #fff;
  color: #333;
  padding: 1rem;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-title a {
  color: #333;
  text-decoration: none;
  font-size: 1.5rem;
}

/* メニューのスタイル */
.main-nav {
  position: relative;
}

.menu-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1rem;
}

.menu-list li {
  margin: 0;
}

.menu-list a {
  color: #333;
  text-decoration: none;
  display: block; /* クリック範囲を広げる */
  padding: 0.5rem 1rem;
}

/* ハンバーガーメニューアイコン */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #333; /* アイコンの色 */
  font-size: 2.5rem;
  cursor: pointer;
}

/* モバイル時のスタイル */
@media (max-width: 768px) {
  .menu-toggle {
      display: block;
  }

  .menu-list {
      position: fixed;
      top: 0;
      right: -100%;
      width: 300px; /* メニュー幅を調整 */
      height: 100%;
      flex-direction: column;
      background: #222;
      padding: 1rem 0; /* スペースを確保 */
      box-shadow: -2px 0 5px rgba(0, 0, 0, 0.5);
      transition: right 0.3s ease-in-out;
      overflow-y: auto; /* スクロール対応 */
  }

  .menu-list.show {
      right: 0;
  }

  .menu-list a {
      padding: 1rem; /* クリック範囲を調整 */
      color: #fff;
  }
}
