@charset "UTF-8";

html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}

.container {
    margin: 0 auto;
    max-width:1200px;
    width: 90%;
}

a,a:hover,a:visited{
    color: inherit; /* 親要素の色を引き継ぐ */
}


/* -------------------------
   共通設定
-------------------------- */
body {
    margin: 0;
    font-family: "Noto Sans JP", sans-serif;
    color: #333;
    line-height: 1.6;
}
.container {
    margin: 0 auto;
}
.section {
    padding: 80px 0 0 0;
}
.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    margin-top: 0;
}
.bg-green {
    background: #144d2e;
}
.bg-gray {
    background: #f5f7fa;
}
.white {
    color: #fff;
}
.white-bg {
    background: #fff;
}
.site-title {
    font-size: 1.5em;
    display: block;
    margin-block-start: 0.67em;
    margin-block-end: 0.67em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
    unicode-bidi: isolate;
}

/* -------------------------
   ヘッダー
-------------------------- */
.site-logo {
    font-size: 1.5em;
}
.site-logo a {
    text-decoration: none;
}
.header-container {
    margin: 0 auto;
    max-width:1200px;
    width: 90%;
}

.announcement-bar {
    text-align: center;
    font-size: 0.8em;
    padding: 10px;
}
.color-01 {
    background-color: #f4f4f4;
}
.color-02 {
    background-color: rgb(26, 86, 50);
    color: #fff;
}


.site-header {
    background: #fff;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px #ddd solid;
}

.header-icons {
    display: flex;
    justify-self: end;    
}
.header-icons img {
    height: 28px;
}

.header-inner {
    display: flex;
    align-items: center;
    column-gap: 2rem;
    margin: 0 auto;
    justify-content: space-between;
}
.logo {
    font-size: 1.5rem;
    margin: 0;
}
.site-nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}
.site-nav a {
    color: #333;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9em;
}
.site-nav a:hover {
    color: #000;
    text-decoration: underline;
}

/* 虫眼鏡アイコン検索フォーム */

.search-box {
  display: none;
}


.search-box.active {
  display: block;
  animation: slideDown 0.3s ease;
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* 検索フォームのスタイル */
.search-form {
    display: flex;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
    padding: 10px;
    border-top: 1px solid #f4f4f4;
}

.search-field {
  flex: 1;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.search-submit {
  padding: 8px 16px;
  background: #333;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

/* -------------------------
　コーチ
-------------------------- */

#coach p, .coach-card-content p {
    flex: 1;
}

/* -------------------------
   右へ動く矢印
-------------------------- */

.more-link {
    display: inline-block;
    margin-top: 10px;
    color: #144D2E; /* 緑色 */
    font-weight: bold;
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
    align-self: flex-end;
}

.more-link .arrow {
    display: inline-block;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.more-link:hover, .more-link:visited {
    color: #144D2E; 
}

.more-link:hover .arrow {
    transform: translateX(5px); /* 矢印が右に動く */
}



/* -------------------------
   ボタン
-------------------------- */
.btn {
    background: #e20773;
    color: #fff;
    padding: 10px 25px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
    border: 1px solid transparent; /* 透明な枠を常につけておく */
}
.btn:hover {
    border: 1px #fff solid;
}

.detail-btn a {
    display: block;             /* aをブロック化 */
    background: #e20773;        /* 背景色をaに移動 */
    color: #fff;
    padding: 15px 25px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
    margin: 0 auto;
    width: 50%;
    max-width: 300px;
    text-align: center;
    margin-top: 30px;
    border: 1px solid transparent;
}
.detail-btn a:hover {
    background: #c90663; /* ホバー時の色変化 */
    border: 1px solid #fff;
}
.wp-block-button {
    color: #fff;
}
.wp-block-button__link:hover {
    background-color: #d63d62;
}

/* -------------------------
   新着記事
-------------------------- */
/* カード全体の基本設定 */
.grid-news {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.news-card {
    text-decoration: none;
    color: #333;
    background: #f9f9f9;
    overflow: hidden;
    transition: background-color 0.3s ease;
	display: flex;
    flex-direction: column;
}

/* 画像部分のコンテナ */
.news-card-image {
	position: relative;
    background-color: #000; /* 下地を黒（または白）にしておくと綺麗です */
    overflow: hidden;
    line-height: 0; /* 画像下の余計な隙間を消す */
	height: 200px;
	width: 100%;
}

/* 画像そのものの設定 */
.news-card-image img {
    /* 1. 【最重要】親の200pxという枠を、自分のサイズとして受け取る */
    width: 100% !important;
    height: 100% !important; /* ★ここが auto のままだと、object-fit が効きません */
    
    /* 2. 【最重要】自分のサイズ（200px）の中で、画像をどうフィットさせるか */
    object-fit: cover !important;       /* 比率を保って枠を完全に埋める */
    object-position: center !important; /* 中央基準で切り抜く（左上固定を防ぐ） */
    
    /* 3. 画像下の謎の隙間を消す */
    display: block !important;
    
    /* 4. 他の強力なCSS（テーマの設定など）を無効化する */
    min-width: 100% !important;
	max-width: none !important;
    max-height: 100% !important;
	flex-shrink: 0 !important;
    transition: opacity 0.3s ease; /* 透明度の変化を0.3秒で */
}

/* ★ホバー時のエフェクト：画像のみ白っぽくする */
.news-card:hover .news-card-image img {
    opacity: 0.7; /* 70%の濃さにする（数値が小さいほど白っぽくなる） */
}

/* カード全体の背景も少し変える場合（不要なら削除してください） */
.news-card:hover {
    background-color: #f9f9f9;
}

/* テキストエリア */
.news-card-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 20px;
    padding-bottom: 60px;
    position: relative;
}

.news-card-date {
    font-size: 0.85rem;
    color: #888;
    display: block;
    margin-bottom: 8px;
}

.news-card-title {
    font-size: 1.2rem;
	margin-top: 10px;
    margin-bottom: 10px;
    font-weight: bold;
    line-height: 1.4;
}

.news-card-excerpt {
    margin-bottom: 10px;
    /* 本文が長すぎてボタンを突き破るのを防ぐ設定 */
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3; /* 最大3行まで表示し、それ以降は「...」にする */
    overflow: hidden;
}

.news-card-more {
    font-weight: bold;
    color: #2c5d3f; /* ゴルフ場らしい緑色など */
    font-size: 0.9rem;
}
.detail-text {
	text-align: end;
	position: absolute;
    right: 20px;
    bottom: 20px;
}
/* ページネーション全体のコンテナ */
.pagination {
    padding: 50px 0;
    display: flex;
    justify-content: center;
}

/* ページネーションのリスト (ul) */
.pagination ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 5px; /* ボタン同士の間隔を少し狭める */
    flex-wrap: wrap; /* 重要：はみ出さずに折り返す設定 */
    justify-content: center;
}

/* 各リスト項目 (li) と リンク (a) の基本サイズ */
.pagination ul li a,
.pagination ul li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px; /* 少しスリムに */
    height: 40px;
    padding: 0 5px;
    background: #fff;
    color: #2c5d3f;
    text-decoration: none;
    border: 1px solid #2c5d3f;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
}

/* ホバー時の挙動 */
.pagination ul li a:hover {
    background: #2c5d3f;
    color: #fff;
}

/* 現在表示しているページ (current) */
.pagination ul li span.current {
    background: #2c5d3f;
    color: #fff;
    border-color: #2c5d3f;
    cursor: default;
}

/* 「前へ」「次へ」の文字がある場合 */
.pagination ul li a.prev,
.pagination ul li a.next {
    font-size: 0.9rem;
    padding: 0 15px;
}

/* 三点リーダー (...) の部分 */
.pagination ul li span.dots {
    border: none;
    background: transparent;
    color: #888;
}

/* スマホ対応：少し小さくする */
@media screen and (max-width: 768px) {
    .pagination ul {
        gap: 4px; /* さらに間隔を詰める */
    }

    .pagination ul li a,
    .pagination ul li span {
        min-width: 34px; /* スマホでボタンを小さく */
        height: 34px;
        font-size: 12px; /* 文字も少し小さく */
        padding: 0 3px;
    }

    /* 「前へ」「次へ」のテキストを矢印だけにする、または短くする場合 */
    .pagination ul li a.prev,
    .pagination ul li a.next {
        padding: 0 8px;
    }

	.news-card {
        width: 100%;
    }
}

/* -------------------------
   フォーム
-------------------------- */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 400px;
    margin: 0 auto;
}
.contact-form input,
.contact-form button {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
}
.contact-form button {
    background: #144d2e;
    color: #fff;
    cursor: pointer;
    font-weight: bold;
}
.contact-form button:hover {
    background: #0f3e24;
}

.text-box {
    padding-bottom: 30px;   
}
#contact p {
    text-align: center;
}

/* -------------------------
   フッター
-------------------------- */
.footer-container {
    margin: 0 auto;
    border-bottom: 1px solid #2C6342;
}
.site-footer {
    background: #144D2E;
    color: #aaa;
    text-align: center;
    padding: 15px 0;
    font-size: 0.9em;
    font-weight: bold;
    margin-right: auto;
    margin-left: auto;
}
.flex-footer {
    display: flex;  
    margin: 0 auto;
    width: 90%;
    max-width: 1200px;
}

.flex-left ul {
    list-style: none;
}
.flex-left ul li {
    margin-bottom: 10px;
}
.flex-left ul li a{
    text-decoration: none;
}

.flex-right h3 {
    color: #fff;
}
#campaign.section.sec-footer {
    padding-top: 0;
}

/* 追従ボタン */

.fixed-buttons {
    position: fixed;
    z-index: 9999;
    display: flex;
    gap: 10px;
    bottom: 20px;
    right: 20px;
}

.fixed-buttons img {
    display: block;
    width: 150px;  /* 好みで調整 */
    height: auto;
}
.fixed-buttons {
    position: fixed;
    z-index: 9999;
    display: flex;
    gap: 10px;
    bottom: 20px;
    right: 20px;
}

.fixed-buttons .btn img {
    display: block;
    width: 8vw;        /* 画面幅の8%にサイズ調整 */
    max-width: 60px;   /* 最大サイズ */
    min-width: 40px;   /* 最小サイズ */
    height: auto;
    transition: transform 0.2s;
}

/* -------------------------
   スマホ用css 横幅750px以下
-------------------------- */

@media screen and (max-width: 750px) {
    
main {
    margin-top: 142px;
}
    
.fixed-buttons {
    display: flex;
    bottom: 20px;
    right: 50%;
    transform: translateX(50%);
    flex-direction: row;
    gap: 10px;
}

.fixed-buttons .btn-phone {
    display: inline-block;
}    
.fixed-buttons img {
    width: 140px;
}    
    
/* ハンバーガーメニュー */
    
.site-nav {
    display: none;
}

.hamburger-menu {
    display: block;
    cursor: pointer;
    font-size: 8px;
    z-index: 1200; /* オーバーレイより上 */
    position: relative;
    order: -1;
}

/* スライドメニュー：DOMに常に存在させ、transformで隠す */
.slide-menu {
    display: block;               /* 重要：display:none にしない */
    position: fixed;
    top: 0;
    left: 0;
    width: 80%;                   /* 幅は画面比率 or 固定pxに調整可 */
    max-width: 300px;             /* 必要なら調整 */
    height: 100%;
    background-color: #fff;
    padding: 20px;
    transform: translateX(-100%); /* ← 左端外に移動して隠す */
    transition: transform 0.35s cubic-bezier(.2,.8,.2,1);
    z-index: 1300;
    margin-top: 142px;
    visibility: hidden;/* 非表示扱いにする（アクセシビリティ用） */
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
    
.slide-menu ul {
    list-style: none;
    padding: 0;
}
    
 /* リスト項目 */
.slide-menu ul li {
    margin: 0 0 10px 0;
    padding: 0;
}
    
/* リンク（ブロック化してホバーで背景が伸びるように） */
.slide-menu ul li a {
  display: block;                 /* ブロック要素にして横幅いっぱいをクリック可能に */
  padding: 1.1rem 3.2rem;             /* タップしやすい広めのパディング */
  font-size: 16px;
  color: #111;                    /* テキスト色（必要に応じて変更） */
  text-decoration: none;          /* ◀ 下線を消す（条件） */
  transition: background-color 0.18s ease, color 0.18s ease; /* 滑らかに変化 */
}    
/* ホバー / フォーカス時の背景色（薄い灰色） */
.slide-menu ul li a:hover,
.slide-menu ul li a:focus {
  background-color: #f2f2f2;      /* ◀ ホバーで薄い灰色に変化（条件） */
  outline: none;
  color: #111;
}    
    
/* 開いたとき */
.slide-menu.open {
    transform: translateX(0);
    visibility: visible;
  }

  /* 閉じるボタン */
  .slide-close {
    background: transparent;
    border: none;
    font-size: 28px;
    line-height: 1;
    position: absolute;
    top: 12px;
    right: 12px;
    cursor: pointer;
  }

  /* オーバーレイは常時DOMに置く。opacityでフェードさせる */
  .menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    opacity: 0;
    pointer-events: none; /* 非表示時はクリックを受けない */
    transition: opacity 0.3s ease;
    z-index: 1000;
    margin-top: 142px;  
  }

  .menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
  }

  /* メニュー開時にページのスクロールを止めたい場合 */
  body.menu-open {
    overflow: hidden;
  }
/* ハンバーガーアイコンの基本 */
.hamburger-icon {
  position: relative;
  display: inline-block;
  width: 25px;
  height: 2px;
  background: #333;
  transition: all 0.3s ease;
}

.hamburger-icon::before,
.hamburger-icon::after {
  content: '';
  position: absolute;
  left: 0;
  width: 25px;
  height: 2px;
  background: #333;
  transition: all 0.3s ease;
}

.hamburger-icon::before {
  top: -8px;
}
.hamburger-icon::after {
  top: 8px;
}

/* 開いたときの✕形状 */
.hamburger-menu.active .hamburger-icon {
  background: transparent;
}
.hamburger-menu.active .hamburger-icon::before {
  transform: rotate(45deg);
  top: 0;
}
.hamburger-menu.active .hamburger-icon::after {
  transform: rotate(-45deg);
  top: 0;
}    

    
 .header-container, .header-inner {
    height: 60px;
}   
    
/* -------------------------
   footer
-------------------------- */     

.flex-footer {
    flex-direction: column;
    text-align: left;
}
 .flex-left ul {
    padding: 0;
}   
    
/* -------------------------
   フォーム
-------------------------- */    
    
.contct-fields{
    display: flex;
    flex-direction: column;
}  
.email-area {
      margin-top: 15px; 
    } 
   
    
}/* ここまで横幅750px */


/* -------------------------
   タブレットサイズcss
-------------------------- */    

@media screen and (min-width:751px) and ( max-width:965px) {
body {
    padding-top: 175px;
}
}

/* -------------------------
   PC・タブレットサイズcss
-------------------------- */  

@media screen and (min-width: 751px) {
.hamburger-menu,
  .slide-menu,
  .menu-overlay {
    display: none;
  }
.header-inner {
    padding: 8px 0;
}   
    
.contct-fields{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.flex-left {
    width: 55%;
    text-align: left;
}
.flex-right {
    width: 45%;
    text-align: left;
}
.sp {
    display: none;
}
    /* PCでは電話ボタン非表示 */
.fixed-buttons .fix-btn-phone {
     display: none;
}

}

/* -------------------------
   PCサイズcss
-------------------------- */    

@media screen and (min-width: 966px) {
body {
    padding-top: 135px;
}
}