@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}

/* ヘッダー画像エリア */
.header-time-img img,
.header-tel-img img,
.header-reserve-img img {
  height: 60px;
  width: auto;
}

/* 横並び */
.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* 電話・予約はホバー可 */
.header-tel-img img,
.header-reserve-img img {
  transition: opacity .2s;
}

.header-tel-img:hover img,
.header-reserve-img:hover img {
  opacity: .8;
}

@media screen and (max-width: 768px) {
  .header-time-img {
    display: none;
  }
}

/* スマホ固定CTA */
.sp-fixed-cta {
  display: none;
}

/* スマホのみ表示 */
@media screen and (max-width: 768px) {
  .sp-fixed-cta {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: #ffffff;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
  }

  .sp-fixed-cta a {
    width: 50%;
    text-align: center;
    padding: 10px 0;
  }

  .sp-fixed-cta img {
    height: 50px;
    width: auto;
  }
}

@media screen and (max-width: 768px) {
  body {
    padding-bottom: 80px;
  }
}

.sp-fixed-cta a:active {
  background: #f2f2f2;
}

/* =========================
   PC固定ヘッダー（自作）
========================= */

/* 初期状態：非表示 */
.pc-fixed-header {
  display: none;
}

/* PCのみ表示 */
@media screen and (min-width: 769px) {

  /* Cocoon標準ヘッダー非表示 */
  .site-header,
  .header-container,
  .header {
    display: none;
  }

  /* 固定ヘッダー全体 */
  .pc-fixed-header {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: #ffffff; /* ← 修正 */
  }

  /* 上段 */
  .pc-header-top {
    max-width: 1300px;
    margin: 0 auto;
    padding: 10px 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
  }

  .pc-header-top img {
    height: 65px;
    width: auto;
  }

  /* ===== 下段：グローバルナビ ===== */
  /* 下段ナビ背景制御 */
  .pc-header-nav {
    background: transparent;
  }

 .pc-header-nav ul {
  max-width: 1260px;
  margin: 0 auto;
  padding: 12px 20px;

  background: #1EA939;

  display: flex;
  justify-content: center;
  gap: 12px;
  align-items: stretch;

  list-style: none;
}

  .pc-header-nav li {
  flex: 1;
  text-align: center;

  border: 2px solid #ffffff;
  border-radius: 4px;
}


 .pc-header-nav a {
  display: flex;
  align-items: center;
  justify-content: center;

  height: 48px;
  padding: 0 10px;

  color: #ffffff;
  font-weight: 700;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 15px;

  text-decoration: none;
  white-space: nowrap;
}

  /* hover */
.pc-header-nav li:hover {
  background: #ffffff;
}

.pc-header-nav li:hover a {
  color: #1EA939 !important;
}	

  /* ===== コンテンツ下げ ===== */
  body {
    padding-top: 232px; /* 上段＋下段 */
  }

  /* 管理バー対応 */
  body.admin-bar .pc-fixed-header {
    top: 32px;
  }

  body.admin-bar {
    padding-top: 220px;
  }
}

