/*
Theme Name: Elgolf
Description: オリジナルテーマ
Author: ne ne
Version: 1.1
*/

/* ------------------------------
  ベース設定
------------------------------ */
html {
  font-size: 62.5%;
  box-sizing: border-box;
}

*, *::before, *::after {
  box-sizing: inherit;
}

body {
  margin: 0;
  color: #333;
  font-family: "fot-tsukuardgothic-std", sans-serif;
  font-size: 1.6em;
  line-height: 2.4rem;
  background-color: #ede7cc;
}
html, body {
  overflow-x: hidden !important;
}
/* リンク */
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  opacity: 0.8;
}

/* 共通セクション幅（トップ画像以外） */
.inner,
body > section:not(.top-visual),
.store-section {
  width: 100%;
  max-width: 1040px;
  margin: 100px auto 0;
}

/* ------------------------------
  HEADER
------------------------------ */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: f5f3e4;
  height : 70px;
  z-index: 9999;
  background: #f5f3e4;
}

.header-inner {
  max-width: 1040px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-logo img {
  height: 30px;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 24px;
}
.main-nav li {
  font-size: 2.4rem;
  font-weight: 600;
}

/* お問い合わせミニボタン */

.contact-minibtn a {
  color: #fff;
  font-weight: 400;
}
/* ▼ ハンバーガーメニュー：三本線だけに */
.hamburger {
  width: 35px;
  padding: 0;
  border: none !important;
  background: none !important;
  box-shadow: none !important;
}

.hamburger span {
  display: block;
  height: 3px!important;
  margin: 6px 0;
  background: #333;
  transition: 0.3s;
  border-radius: 3px;
}

/* スライドメニュー */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -70%;
  width: 70%;
  height: 100%;
  background: rgba(36,154,99,0.95); /* 緑の半透明 */
  padding: 80px 20px;
  transition: 0.4s ease;
  z-index: 1000;
}

.mobile-menu ul {
  list-style: none;
  padding: 0;
}

.mobile-menu li {
  margin-bottom: 30px;
}

.mobile-menu a {
  color: #fff;
  font-size: 2rem;
}

/* 開いた状態 */
.mobile-menu.active {
  right: 0;
}

/* ハンバーガー開閉アニメ */
.hamburger.active span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

/* スマホ表示用 */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .main-nav {
    display: none;
  }
}
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}
/* ==========================
   PCではハンバーガー非表示
   ナビゲーションを表示
========================== */
@media (min-width: 769px) {
  .hamburger {
    display: none !important;
  }
  .mobile-menu {
    display: none !important;
  }
  .main-nav {
    display: block !important;
  }
}
/* ==============================
   スマホ時ヘッダーを最前面に固定
============================== */
@media (max-width: 768px) {
  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: #ede7cc; /* ←お店の背景色に合わせて調整 */
  }

}


/* ================================
   NEWS ＋ カレンダー 横並び（正常動作版）
================================ */
.news-calendar-section {
　display: flex;
  width: 100%;
  max-width: 1040px;
  margin: 80px auto;
}
.nc-news-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

/* h2 と英語表記 */
.nc-news-header h2 {
  margin: 0;
}
.news-calendar-section h2 {
  text-align: center;
color: #c6441f;
  font-size: 3.2rem;
  margin-bottom: 10px;
}
.news-calendar-section h2 span {
text-align: left;
}
.nc-more-btn {
 margin: 0; /* 余白をリセット */
}
.nc-more-btn a{
display: inline-block;
 background: #249a63;
  border: 1.5px solid #fff;
  padding: 10px 20px;
color :#fff;
}
.nc-container {
 display: flex; 
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

/* 左：ニュース */
.nc-news-box {
  width: 70%;
}

/* 右：カレンダー */
.nc-calendar-box {
  width: 30%;
}

/* ▼ カレンダーの文字小さく + 全体縮小 */
.nc-calendar-box .wp-simple-booking-calendar table {
  font-size: 12px !important;
  transform: scale(0.9);
  transform-origin: top left;
}

/* ▼ 枠線なし */
.nc-calendar-box table,
.nc-calendar-box td,
.nc-calendar-box th {
  border: none !important;
}
.nc-calendar-box h2 {
  color: #333;
  font-size: 1.8rem;
  text-align: center;
  
}
* ▼ スマホで縦並びに */
@media (max-width: 768px) {
.news-calendar-section,
.nc-news-header {
 flex-direction: column;
}
}
/* ------------------------------
  BRAND
------------------------------ */
.brand-section {
  background: #fff !important;
  padding: 60px auto !important;
  height: 400px;
}

.brand-logos {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
  padding: 0 30px;
}
.brand-logos img {
  max-height: 80px;
width: auto;
  margin: 0 auto;
}
/* ▼ スマホ：2列に変更 & ロゴは少し小さめに調整 */
@media (max-width: 768px) {
  .brand-logos {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .brand-logos img {
    max-height: 55px; /* ← スマホで詰まらず綺麗に見える最適値 */
  }
.brand-section {
    padding: 40px 0 160px; /* スマホは縦が伸びるので下をさらに厚めに */
    height: 550px!important;
}
}

/* ------------------------------
  SERVICE
------------------------------ */
.service-list {
  list-style: none;
  display: flex;
  justify-content: space-between;
  padding: 0;
  margin: 25px 10vw 0;
}

/* ------------------------------
  STORE（2カラム）
------------------------------ */
.store-section {
  margin-top: 60px;
}

.store-content {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.store-info,
.access-map {
  width: 50%;
}
.store-info p {
  text-align: left;
}

.access-map iframe {
  width: 100%;
  height: 350px;
  border: none;
}

/* ------------------------------
  CONTACT ボタン
------------------------------ */
.contact-btn {
margin: 70px auto;
  width: 800px;
  height: 100px;
  background-color:#249a63;
  border: 5px solid #fff;
  position: relative;
}

.contact-btn_triangle {
  position: absolute;
  left: 60px;
  top: 25%;
  width: 50px;
  height: 50px;
  background: #fff;
  border-radius: 50%;
  font-size: 3rem;
  line-height: 50px;
  text-align: center;
  color: #249a63;
}

.contact-btn p {
  width: 100%;
  position: absolute;
  top: 25%;
  text-align: center;
  color: #fff;
  font-size: 3.6rem;
  font-weight: 400;
}
/* ------------------------------
   Face book
------------------------------ */


/* ------------------------------
  FOOTER
------------------------------ */
/* ------------------------------ FOOTER ------------------------------ */ .site-footer { margin-top: 70px; background:#249a63; height: 200px; position: relative; } .footer-logo, .footer-info, .footer-menu { position: absolute; left: 200px; color: #333; } .footer-menu { right: 40px; left: auto; }

/* ------------------------------
  その他のセクションは中央寄せ
------------------------------ */
body > section:not(.top-visual),
.inner,
.store-section,
.header-inner {
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 70px;
  width: 100%;
}

/* ========= ヘッダーを中央1040px幅に戻す ========= */
.site-header {
    width: 100%;
    background: #f5f3e4;
}

.header-inner {
    width: 100%;
    max-width: 1040px !important;
    margin: 0 auto !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 0 20px;
}

.header-logo {
　margin:20px ;
    margin-left: 0 !important;
}

.main-nav ul {
    margin-right: 0 !important;
    margin-top: 10px;
}
/* ======== TOP画像を背景で高さ自由にする ======== */
/* ======== TOP画像を背景で高さ自由にする（最終安定版） ======== */
.top-visual {
    width: 100%;
    height: 650px; /* ← 好きな高さに変更OK */
    background-image: url("https://el-golf.co.jp/wp-content/themes/elgolf-thema/assets/img/top/shop.png");
    background-size: cover;      /* 画面いっぱいに拡大 */
    background-position: center  60%; /* 中央に表示 */
    background-repeat: no-repeat;
    margin-top: 45px;
    padding: 0;
    overflow: hidden;
}
#cff .cff-item {
    background: none !important;
    border: none !important;
}
/* =============================
     ニュース一覧ページ
=============================*/
.news-page {
  width: 100%;
  max-width: 1040px;
padding-bottom: 0 !important;
  margin-bottom: 0 !important;
  height: 500px
}
.news-page-title {
margin-top: 0;
text-align:left;
color:#333;
font-weight:400
}
.news-page h2 span {
text-align:left;
font-weight:400
}
.news-page-bar {
border-top: 1px solid #333;
width:100%;
} 

.news-page-title .en {
  display: block;
  font-size: 1.6rem;
  margin-top: 5px;
  color: #333;
}

.news-page-list {
  border-top: 1px solid #ccc;
}

.news-page-item {
  display: flex;
flex-direction: column;
  justify-content: space-between;
  padding: 20px 0;
  border-bottom: 1px solid #ccc;
  font-size: 1.8rem;
}

.news-page-date {
  color: #777;
  width: 160px;
font-size:1.4rem;
text-align: left;
}
.news-page-title-text {
text-align: left;
}

.news-page-title-text a {
  color: #333;
font-size:1.8rem;
font-weight: bold;
  
}

/* ページネーション */
.news-pagination ul {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 40px;
}

.news-pagination li {
  list-style: none;
}

.news-pagination a,
.news-pagination span {
  padding: 8px 14px;
  border: 1px solid #ccc;
  color: #333;
}

.news-pagination .current {
  background: #249a63;
  color: #333;
  border-color: #249a63;
}
.single-news-section {
padding: 100px
}
.single-news-back {
color: #249a63;
padding-top: 70px;
}
/* 固定ヘッダー分のアンカー補正 */
:target {
  scroll-margin-top: 90px; /* ← ヘッダー高さに合わせて調整 */
}

/* =============================
     お問い合わせページ
=============================*/

.contact-page {
  width: 100%;
  max-width: 1040px;
  margin: 130px auto;
  padding-bottom: 120px;
}

.contact-title {
margin-top: 0;
text-align:left;
color:#333;
font-weight:400
}
.contact-title .en {
isplay: block;
    font-size: 1.6rem;
    margin-top: 5px;
    color: #333;
 text-align:left;
font-weight:400
}

.contact-bar {
  border-top: 1px solid #333;
  margin-bottom: 40px;
  width: 100%;
}

.contact-container {
  text-align: left;
  align-items: flex-start;
  gap: 60px;
  padding-left: 20px;
}

/* 左・説明文 */
.lead-text {
  font-size: 1.8rem;
  line-height: 1.8;
  color: #333;
  padding-bottom: 40px
}

/* 右・フォーム */
.contact-form-box {
  width: 50%;
}

/* Contact Form 7 のデザイン調整 */
.contact-form-box input,
.contact-form-box textarea,
.contact-form-box select {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  font-size: 1.6rem;
  border-radius: 4px;
}

.contact-form-box textarea {
  height: 180px;
}

.contact-form-box input[type="submit"] {
  background-color: #249a63;
  color: #fff;
  font-size: 1.8rem;
  font-weight: bold;
  padding: 14px;
  border: none;
  cursor: pointer;
  border-radius: 4px;
  margin-top: 10px;
}

.contact-form-box input[type="submit"]:hover {
  opacity: 0.9;
}
/* ▼ CF7 全体のフィールド調整 */
.cf7-field {
  text-align: left;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cf7-field label {
  display: block;
  font-size: 1.6rem;
  margin-bottom: 6px;
  color: #333;
}

.cf7-field input,
.cf7-field textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1.6rem;
}

/* ▼ テキストエリアの高さ */
.cf7-field textarea {
  height: 180px;
}

/* ▼ 送信ボタン中央配置 */
.cf7-submit-wrap {
  text-align: center;
  margin-top: 30px;
}

.cf7-submit-wrap .wpcf7-submit {
  display: inline-block !important;
  padding: 14px 40px;
  background: #249a63;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 1.8rem;
  cursor: pointer;
}

.cf7-submit-wrap .wpcf7-submit:hover {
  opacity: 0.9;
}
/* ===============================
   Contact Form 7 横並びデザイン（最終版）
================================ */
.contact-form-box {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
}

/* 1行のセット */
.cf7-row {
 display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 12px;
}

/* 左：項目名 */
.cf7-label {
  width: 120px;              /* ← ラベル幅を縮める（お好みで100〜150pxへ） */
  font-size: 1.4rem;         /* ← 少し小さく */
  text-align: left;
  padding-top: 6px;          /* ← 入力欄の高さに合わせて微調整 */
  color: #333;
}

/* 右：入力欄 */
.cf7-field {
  flex: 1;
  max-width: 380px;          /* ← 入力欄の最大幅（お好みで調整OK） */
}

/* 入力欄のデザイン */
.cf7-field input,
.cf7-field textarea,
.cf7-field select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1.5rem;
}

/* テキストエリアの高さ */
.cf7-field textarea {
  height: 150px;
}

/* ▼ 送信ボタンを中央に */
.cf7-submit-wrap {
  text-align: center;
  margin-top: 25px;
}
.cf7-submit-wrap input[type="submit"] {
  height: 50px;
  width: 200px;
  background: #fdfefb;
  border: 2px solid #249a63;
  color: #249a63;
  font-size: 1.6rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.cf7-submit-wrap input[type="submit"]:hover {
  opacity: 0.9;
}
/* =======================================
   CF7 プライバシーポリシー チェックデザイン
======================================= */
.cf7-privacy {
  max-width: 600px;
  margin: 20px auto 10px auto;
  text-align: left;
  font-size: 1.4rem;
  line-height: 1.6;
}

/* チェックボックス本体を大きく */
.cf7-privacy input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-right: 8px;
  accent-color: #249a63; /* チェック色を緑に */
}

/* テキストの位置 */
.cf7-privacy label {
  display: flex;
  align-items: center;
  cursor: pointer;
  gap: 8px;
}

.privacy-link {
  margin-top: 6px;
}

.privacy-link a {
  font-size: 1.3rem;
  color: #249a63;
  text-decoration: underline;
}

/* ▼ スマホで縦並びに */
@media (max-width: 768px) {
  .cf7-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .cf7-label {
    width: 100%;
    padding-top: 0;
  }
  .cf7-field {
    max-width: 100%;
  }
}
/* ------------------------------
  RESPONSIVE
------------------------------ */
@media (max-width: 768px) {
    .site-header {
     height: 50px;
}
　.header-logo img {
  height: 30px; /* ← 小さくする（自由に調整OK） */
}

　.header-logo {
  padding-left: 10px !important; /* ← 左の余白 */
  padding-top: 6px !important;   /* ← 上の余白 */
}
  .top-visual {
  margin-top: 0;
height: 500px;
  }
  .footer-menu ul {
  right: 70px;
  }
  .page-top {
  right: 125px;
  }
  .footer-logo, .footer-info {
  left: 100px;
  }
}
@media (max-width: 500px) {
  .store-content {
    flex-direction: column;
    text-align: center;
  }
  body > section:not(.top-visual){
  padding: 0 20px
  }
  .nc-news-box {
  width: 100%
  } 
  .nc-calendar-box {
    margin: auto;
    width: 100%;
  }
  .brand-section {
  height: 300px
  }
  .nc-container,
  .service-list {
  flex-direction: column;
    text-align: center;
  }
  .contact-midlebtn {
  font-size: 1.8rem;
  }
.brand-logos{
    margin: 0;
  }
  .store-info , .access-map {
  width:100%;
  }
  .contact-btn {
    width: 100%!important;
  }
.contact-btn_triangle {
display: none;
}
  .footer-menu ul {
  display: none;
  }
.page-top {
  right: 20px;
  }
  .footer-logo, .footer-info {
  left: 20px;
  }
}