/* ベーススタイル */
p, a, h1, h2, h3, h4 {
  font-family: 游ゴシック;
  margin: 0;
}
img {
  width: 100%;
}
ul {
  padding-left: 0;
  margin-block-start: 0em;
  margin-block-end: 0em;
  list-style: none;
}
li {
  margin: 0 !important;
}
.pc-view {
  display: block;
}
.sp-view {
  display: none;
}
#nav-toggle {
  display: none;
}
.page-header{
  padding: 0 !important;
}

/* ヘッダー全体・ロゴ */
.yadoya_header {
  display: flex;
  height: 100px;
  background: linear-gradient(to bottom,
      rgba(34, 24, 20, 1),
      rgba(34, 24, 20, 1),
      rgba(34, 24, 20, 1),
      rgba(34, 24, 20, 0.9),
      rgba(34, 24, 20, 0.8),
      rgba(34, 24, 20, 0.6),
      rgba(34, 24, 20, 0)
  );
  align-items: center;
  position: fixed;
  transition: height 0.3s ease, background-color 0.3s ease;
  width: 100%;
  z-index: 11;
}

.yadoya-logo {
  width: 270px;
  padding: 0 0 0px 40px;
  margin: 0 auto;
  transition: width 0.3s ease;
}
.yadoya-logo img {
  width: 100%;
  height: auto;
}

/* スクロール時のスタイル変化 */
.yadoya_header.is-scrolled {
  height: 50px !important;
}
.yadoya_header.is-scrolled .yadoya-logo {
  width: 200px !important;
}
.yadoya_header.is-scrolled .head_item-color {
  padding: 12px 0 !important;
}

/* PCナビゲーションエリア */
.header_item_1 {
  width: 100%;
  margin: 0 50px 0 0;
}
.header_item_1 a {
  text-decoration: none;
  color: #fff;
  display: block;
}
.header_item_1 p, .header_li_3 {
  color: #fff;
  font-weight: 600;
}
.header_ul {
  display: flex;
  justify-content: right;
  align-items: center;
}
.header_ul li {
  padding: 0 12px 0 12px;
  list-style: none;
  transition: padding 0.3s ease;
}

/* ナビゲーション項目（スタイル・ホバー） */
.header_li_4, .header_li_3, .header_li_8, .header_li_7 {
  transition: 0.3s;
}
.header_li_3:hover, .header_li_8:hover {
  background: #c30d22;
  padding: 9px 12px;
  transition: 0.3s;
}
.header_li_4:hover, .header_li_7:hover {
  background: linear-gradient(
      rgb(195, 13, 34),
      rgb(195, 13, 34),
      rgb(195, 13, 34),
      rgba(195, 13, 34, 0.9),
      rgba(195, 13, 34, 0.8),
      rgba(195, 13, 34, 0.6),
      rgba(195, 13, 34, 0)
  );
}
.header_li_1::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 35px;
  background-color: #fff;
  position: absolute;
  top: -7px;
  right: 0px;
}
.mail-img {
  font-size: 25px;
}

/* ドロップダウンメニュー関連 */
.nav-hover-parent {
  position: relative;
  cursor: pointer;
}
.head_item-color {
  background: linear-gradient(to bottom,
      rgba(191, 0, 0, 1),
      rgba(191, 0, 0, 1),
      rgba(191, 0, 0, 1),
      rgba(191, 0, 0, 0.9),
      rgba(191, 0, 0, 0.8),
      rgba(191, 0, 0, 0.6),
      rgba(191, 0, 0, 0)
  );
  padding: 38px 0 !important;
  margin: 0 6px 0 0px !important;
  border: none;
  width: 120px;
  text-align: center;
  transition: padding 0.3s ease;
}

.nav-drop-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background-color: rgba(34, 24, 20, 0.8);
  border: 2px solid #333;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  list-style: none;
  padding: 8px 0;
  margin: 0;
  text-align: left;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s;
  z-index: 9999;
}
.nav-hover-parent:hover .nav-drop-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-drop-menu::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 20px;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid #333;
}
.header_li_6 a {
  color: #fff;
  font-weight: 500;
  transition: all 0.3s ease;
  font-size: 15px;
}
.header_li_6 a:hover {
  text-shadow: 0 0 1px #333;
  color: #333;
}
.header_li_6 {
  transition: all 0.3s ease;
}
.header_li_6:hover {
  background: #fff;
}

/* 電話番号項目 */
.header_li_phone {
  display: flex;
  align-items: center;
  margin-right: 15px;
}
.header_li_phone a, .header_li_3 a, .header_li_8 a {
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s ease;
}
.header_li_phone a:hover {
  text-shadow: 0 0 1px #fff;
}
.header_li_phone i {
  font-size: 14px;
}

/* スマホ用アクションボタン（PCでは非表示） */
.sp-header-actions {
  display: none;
}

/* =========================================
  メディアクエリ (yadoya.css)
  ========================================= */

@media screen and (max-width: 920px) {
  /* ヘッダー全体のレイアウト調整 */
  .yadoya_header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 15px;
      position: fixed;
  }

  /* スマホボタンエリアの表示 */
  .sp-header-actions.sp-view {
      display: flex;
      align-items: center;
      gap: 25px;
      margin-left: auto;
      margin-right: 50px; /* ハンバーガーとの隙間 */
  }

  /* 個別のリンク（アイコン＋文字） */
  .sp-action-link {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-decoration: none;
      color: #555;
      transition: color 0.3s;
  }

  /* アイコンのサイズと色 */
  .sp-action-link i {
      font-size: 20px;
      color: #fff;
      margin-bottom: 2px;
  }

  /* タップした時の反応 */
  .sp-action-link:active {
      opacity: 0.6;
  }
}

@media screen and (max-width: 768px) {
  .pc-view {
      display: none;
  }
  .sp-view {
      display: block;
  }
  /* ハンバーガーメニューボタン */
  .menu-btn {
      position: fixed;
      top: 15px;
      right: 10px;
      display: flex;
      height: 60px;
      width: 30px;
      justify-content: center;
      align-items: center;
      z-index: 90;
      transition: .5s;
      border-radius: 10px;
  }
  .menu-btn span,
  .menu-btn span:before,
  .menu-btn span:after {
      content: '';
      display: block;
      height: 2px;
      width: 30px;
      border-radius: 3px;
      background-color: #ffffff;
      position: absolute;
  }
  .menu-btn span:before {
      bottom: 8px;
  }
  .menu-btn span:after {
      top: 8px;
  }

  /* チェックボックスによる開閉動作 */
  #menu-btn-check:checked ~ .menu-btn span {
      background-color: rgba(255, 255, 255, 0);
  }
  #menu-btn-check:checked ~ .menu-btn span::before {
      bottom: 0;
      transform: rotate(45deg);
  }
  #menu-btn-check:checked ~ .menu-btn span::after {
      top: 0;
      transform: rotate(-45deg);
  }
  
  #menu-btn-check {
      display: none;
  }

  /* メニュー中身のスタイル */
  .menu-content {
      width: 100%;
      height: 100%;
      position: fixed;
      top: 0;
      left: 100%; /* 画面外へ */
      z-index: 80;
      background-image: url(../img/nakagosho/02.jpg); /* 背景画像 */
      transition: all 0.5s;
      background-size: 230%;
      background-position: right; /* 初期位置 */
  }
  
  /* メニューオープン時 */
  #menu-btn-check:checked ~ .menu-content {
      left: 0; /* 画面内へ */
  }

  .menu-content ul {
      padding: 70px 10px 0;
      background-color: rgba(0, 0, 0, 0.65);
      height: 50%;
  }
  .menu-content ul li {
      border-bottom: solid 1px #ffffff;
      list-style: none;
  }
  .menu-content ul li a {
      display: block;
      width: 100%;
      font-size: 15px;
      box-sizing: border-box;
      color: #ffffff;
      text-decoration: none;
      padding: 9px 15px 10px 0;
      position: relative;
  }
  .menu-content ul li a::before {
      content: "";
      width: 7px;
      height: 7px;
      border-top: solid 2px #ffffff;
      border-right: solid 2px #ffffff;
      transform: rotate(45deg);
      position: absolute;
      right: 11px;
      top: 16px;
  }

  .hotel_sp p {
      font-size: 19px;
      font-weight: 600;
      color: #fff;
  }
}

@media screen and (max-width: 480px) {
  .yadoya_header {
      display: flex;
      height: 60px;
      background: linear-gradient( to bottom,
          rgba(34, 24, 20, 1),
          rgba(34, 24, 20, 1),
          rgba(34, 24, 20, 1),
          rgba(34, 24, 20, 0.9),
          rgba(34, 24, 20, 0.8),
          rgba(34, 24, 20, 0.6),
          rgba(34, 24, 20, 0)
      );
      align-items: center;
      position: fixed;
      width: 100%;
      z-index: 3;
  }
  .yadoya-logo {
      width: 180px;
      padding: 0 0 0px 15px;
      margin: 0 0;
  }
  .yadoya_header.is-scrolled .yadoya-logo {
      width: 160px !important;
  }
  .hamburger-menu.is-scrolled .menu-btn {
      top: -7px !important;
  }
  .menu-content {
      background-size: 250%;
      background-position: 0px 0px;
  }
  .menu-btn {
      top: 0px;
  }
}