@charset "utf-8";

/* ==================================================
   基本設定
================================================== */

body {
  font-family: Garamond, "Times New Roman", "游明朝", "Yu Mincho", "游明朝体",
    "YuMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro",
    "ＭＳ Ｐ明朝", "MS PMincho", serif;
  color: #222;
  line-height: 1.8;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==================================================
   共通見出し
================================================== */

section {
  padding: 70px 0;
}

section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  letter-spacing: 0.08em;
}

section h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  background: #cc9900;
  margin: 16px auto 0;
}

/* ==================================================
   メインビジュアル
================================================== */

.hero {
  position: relative;
  min-height: 680px;
  background-image: url("/wp-content/uploads/kinokuni/img1.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 30px;
}

.hero h1 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 20px;
  letter-spacing: 0.08em;
}

.hero p {
  font-size: 1.35rem;
  margin-bottom: 30px;
}

.hero-btn,
.more-btn,
.tel-btn {
  display: inline-block;
  background: #1f3b24;
  color: #fff;
  padding: 12px 32px;
  text-decoration: none;
  border-radius: 999px;
  transition: 0.25s;
}

.hero-btn:hover,
.more-btn:hover,
.tel-btn:hover {
  background: #cc9900;
  color: #fff;
}

/* ==================================================
   お知らせ
================================================== */

.news-section {
  background: #f8f8f8;
}

.news-item {
  display: flex;
  gap: 24px;
  align-items: center;
  border-bottom: 1px solid #ddd;
  padding: 18px 0;
}

.news-item span,
.news-card time,
.single-news-article time {
  color: #777;
  font-size: 0.95rem;
}

.news-item h3 {
  font-size: 1.1rem;
  margin: 0;
}

/* ==================================================
   施設紹介
================================================== */

.facility-grid,
.coach-grid,
.news-list {
  display: grid;
  gap: 30px;
}

.facility-grid {
  grid-template-columns: repeat(3, 1fr);
}

.facility-grid div {
  text-align: center;
}

.facility-grid img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.facility-grid h3 {
  background: #111;
  color: #fff;
  padding: 8px;
  margin: 0;
  font-size: 1.1rem;
}

/* ==================================================
   料金
================================================== */

.price {
  background: #fff;
}

.price table {
  width: 100%;
  max-width: 820px;
  margin: 30px auto;
  border-collapse: collapse;
}

.price th,
.price td,
.simulation th,
.simulation td {
  border: 1px solid #ccc;
  padding: 14px;
  text-align: center;
}

.price th,
.simulation th {
  background: #1f3b24;
  color: #fff;
}

/* ==================================================
   シミュレーション
================================================== */

.simulation {
  background: #f8f8f8;
}

.simulation img {
  display: block;
  margin: 0 auto 30px;
  border-radius: 6px;
}

/* ==================================================
   コーチ紹介
================================================== */

.coach-grid {
  grid-template-columns: repeat(3, 1fr);
}

.coach-card {
  text-align: center;
  background: #fff;
  border: 1px solid #eee;
  padding: 20px;
}

.coach-card img {
  border-radius: 50%;
  width: 180px;
  height: 180px;
  object-fit: cover;
}

.coach-card h3 {
  font-size: 1.2rem;
  margin-top: 16px;
}

/* ==================================================
   アクセス
================================================== */

#access iframe {
  width: 100%;
  height: 450px;
  border: 0;
}

.access-info {
  background: #111;
  color: #fff;
  padding: 30px;
  margin-top: 30px;
}

.access-info a {
  color: #fff;
}

/* ==================================================
   CTA
================================================== */

.cta {
  background: #1f3b24;
  color: #fff;
  text-align: center;
}

.cta h2::after {
  background: #fff;
}

.tel-btn {
  background: #cc9900;
  font-size: 1.5rem;
}

/* ==================================================
   お知らせ一覧・詳細
================================================== */

.page-title {
  background: #1f3b24;
  color: #fff;
  text-align: center;
  padding: 60px 0;
}

.page-title h1 {
  margin: 0;
}

.page-title p {
  color: #cc9900;
  margin-top: 8px;
}

.news-list {
  grid-template-columns: repeat(3, 1fr);
}

.news-card {
  border: 1px solid #eee;
  padding: 24px;
  background: #fff;
}

.news-card h2 {
  font-size: 1.2rem;
  margin: 12px 0;
  text-align: left;
}

.news-card h2::after {
  display: none;
}

.news-thumb img {
  margin: 12px 0;
}

.single-news-article {
  max-width: 820px;
  margin: 0 auto;
}

.single-news-article h2 {
  text-align: left;
  margin: 16px 0 24px;
}

.single-news-article h2::after {
  display: none;
}

.single-news-thumb {
  margin-bottom: 30px;
}

.back-news {
  text-align: center;
  margin-top: 40px;
}

/* ==================================================
   レスポンシブ
================================================== */

@media (max-width: 991px) {
  .hero {
    min-height: 520px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .facility-grid,
  .coach-grid,
  .news-list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767px) {
  section {
    padding: 50px 0;
  }

  section h2 {
    font-size: 1.6rem;
  }

  .hero {
    min-height: 460px;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .facility-grid,
  .coach-grid,
  .news-list {
    grid-template-columns: 1fr;
  }

  .news-item {
    display: block;
  }

  .price th,
  .price td,
  .simulation th,
  .simulation td {
    padding: 10px;
    font-size: 0.9rem;
  }
}
.price-banners {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 900px;
  margin: 30px auto;
}

.price-banner {
  color: #fff;
  text-align: center;
  padding: 24px 20px;
  font-size: 1.25rem;
  line-height: 1.6;
}

.price-banner.green {
  background: #2f4f34;
}

.price-banner.pink {
  background: #ea5a6f;
}

.price-banner span {
  color: #ffe033;
  font-weight: bold;
}

@media (max-width: 767px) {
  .price-banners {
    grid-template-columns: 1fr;
  }
}
.school-lead {
  text-align: center;
  font-size: 1.35rem;
  font-weight: bold;
  line-height: 1.9;
  margin-bottom: 40px;
}

.coach-card .wp-post-image {
  display: block;
  margin: 0 auto;
}

.coach-card p {
  margin-bottom: 0;
  font-size: 1rem;
}

@media (max-width: 767px) {
  .school-lead {
    font-size: 1.05rem;
  }
}

.wpcf7 {
	max-width: 700px;
	margin: 0 auto;
}

.wpcf7 input,
.wpcf7 textarea,
.wpcf7 select {
	width: 100%;
	padding: 12px;
	border: 1px solid #ccc;
	box-sizing: border-box;
}

.wpcf7-submit {
	background: #1f3b24;
	color: #fff;
	border: none;
	padding: 14px 40px;
	cursor: pointer;
}

.wpcf7-submit:hover {
	background: #cc9900;
}

.kinokuni-header-tel {
	text-align: right;
	padding: 8px 30px;
	font-size: 1.4rem;
	font-weight: bold;
	background: #f8f8f8;
}

.kinokuni-header-tel a {
	color: #1f3b24;
	text-decoration: none;
}

.kinokuni-footer-info {
	background: #111;
	color: #fff;
	text-align: center;
	padding: 30px 20px;
	line-height: 1.9;
}

.site-footer {
	background: #111;
	color: #fff;
}

.site-footer a {
	color: #fff;
}

.kinokuni-custom-header {
  position: fixed;
  top: 2;
  left: 0;
  right: 0;
  padding: 4px 0;
  min-height: 110px;
  background: #fff;
  z-index: 9999;
  border-bottom: 1px solid #ddd;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}

.kinokuni-header-inner {
  min-height: 110px;
  align-items: center;
}

body {
  padding-top: 130px;
}

#facility,
#price,
#simulation,
#school,
#access,
#contact {
  scroll-margin-top: 140px;
}

@media (max-width: 991px) {
  .kinokuni-custom-header {
    min-height: 150px;
    padding: 12px 0;
  }

  .kinokuni-header-inner {
    min-height: 120px;
  }

  body {
    padding-top: 165px;
  }

  #facility,
  #price,
  #simulation,
  #school,
  #access,
  #contact {
    scroll-margin-top: 175px;
  }
}

@media (max-width: 767px) {
  .kinokuni-custom-header {
    min-height: 170px;
  }

  body {
    padding-top: 185px;
  }
}

.kinokuni-header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
}

.kinokuni-logo img {
  max-width: 265px;
}

.kinokuni-nav {
  display: flex;
  gap: 18px;
  flex: 1;
  justify-content: center;
  flex-wrap: wrap;
}

.kinokuni-nav a {
  color: #222;
  font-weight: bold;
  text-decoration: none;
}

.kinokuni-nav a:hover {
  color: #cc9900;
}

.kinokuni-header-tel a {
  color: #1f3b24;
  font-size: 1.2rem;
  font-weight: bold;
  text-decoration: none;
  white-space: nowrap;
}

.kinokuni-custom-footer {
  background: #111;
  color: #fff;
  text-align: center;
  padding: 35px 20px;
  line-height: 1.9;
}

.kinokuni-custom-footer small {
  display: block;
  margin-top: 18px;
  color: #ccc;
}

@media (max-width: 991px) {
  .kinokuni-header-inner {
    display: block;
    text-align: center;
  }

  .kinokuni-nav {
    margin: 15px 0;
  }
}

.kinokuni-header-tel a{

    background:#1f3b24;
    color:#fff;

    padding:10px 18px;

    border-radius:30px;

}

.access-info{

    margin-top:30px;

}

.kinokuni-menu-toggle {
  display: none;
}

@media (max-width: 767px) {
  .kinokuni-custom-header {
    min-height: auto;
    padding: 10px 0;
  }

  .kinokuni-header-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    min-height: auto;
  }

  .kinokuni-logo {
    text-align: left;
  }

  .kinokuni-logo img {
    max-width: 220px;
  }

  .kinokuni-menu-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    background: #1f3b24;
    border: none;
    border-radius: 4px;
    padding: 9px;
    cursor: pointer;
  }

  .kinokuni-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: #fff;
  }

  .kinokuni-nav {
    display: none;
    grid-column: 1 / 3;
    width: 100%;
    margin-top: 12px;
    background: #fff;
    border-top: 1px solid #ddd;
  }

  .kinokuni-nav.is-open {
    display: block;
  }

  .kinokuni-nav a {
    display: block;
    padding: 12px 10px;
    border-bottom: 1px solid #eee;
    font-size: 1rem;
  }

  .kinokuni-header-tel {
    grid-column: 1 / 3;
    margin-top: 10px;
    text-align: center;
  }

  body {
    padding-top: 92px;
  }

  body.menu-open {
    padding-top: 360px;
  }
}

.school-banners {
  max-width: 900px;
  margin: 40px auto 0;
  text-align: center;
}

.school-banners a {
  display: block;
  margin: 20px auto;
}

.school-banners img {
  max-width: 100%;
  height: auto;
}

.school-banners {
  display: block !important;
  max-width: 900px;
  margin: 40px auto 0;
  text-align: center;
  clear: both;
}

.school-banners a {
  display: block !important;
  margin: 20px auto;
}

.school-banners img {
  display: block !important;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}



.kinokuni-breadcrumb {
    display: block;
    max-width: 1140px;
    margin: 120px auto 15px;
    padding: 0 20px;
    background: transparent;
    border: none !important;
	border-bottom: none !important;
    box-shadow: none !important;
    font-size: 0.85rem;
    color: #888;
}

.kinokuni-breadcrumb a {
    text-decoration: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
}

.kinokuni-breadcrumb a:hover {
    text-decoration: underline;
}

.kinokuni-breadcrumb a::after {
    content: ">";
    margin: 0 8px;
    color: #bbb;
}

@media (max-width: 767px) {

  .kinokuni-custom-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    min-height: auto;
    padding: 8px 0;
    z-index: 9999;
  }

  .kinokuni-header-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    min-height: auto;
  }

  .kinokuni-logo img {
    max-width: 190px;
  }

  .kinokuni-menu-toggle {
    display: inline-flex;
  }

  .kinokuni-nav {
    display: none;
    grid-column: 1 / 3;
    width: 100%;
    margin-top: 10px;
    background: #fff;
    border-top: 1px solid #ddd;
  }

  .kinokuni-nav.is-open {
    display: block;
  }

  .kinokuni-nav a {
    display: block;
    padding: 12px 10px;
    border-bottom: 1px solid #eee;
    font-size: 0.95rem;
  }

  .kinokuni-header-tel {
    grid-column: 1 / 3;
    margin-top: 8px;
    text-align: center;
  }

  .kinokuni-header-tel a {
    font-size: 1rem;
    padding: 8px 16px;
  }

  body {
    padding-top: 105px;
  }

  .kinokuni-breadcrumb {
    margin-top: 125px !important;
  }

  body.menu-open .kinokuni-breadcrumb {
    margin-top: 340px !important;
  }
}

@media (max-width: 767px) {
  body {
    padding-top: 125px !important;
  }

  .hero {
    margin-top: 0;
  }
}

/* ===== スマホ用ヘッダー高さ最適化 ===== */
@media (max-width: 767px) {

  .kinokuni-custom-header {
    padding: 6px 0 !important;
    min-height: 60px !important;
  }

  .kinokuni-header-inner {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    min-height: 60px !important;
  }

  .kinokuni-logo img {
    max-width: 170px;
    height: auto;
  }

  .kinokuni-header-tel {
    margin: 0 10px 0 auto;
  }

  /* ここは後で📞アイコン化する予定 */
  .kinokuni-header-tel a {
    padding: 4px 10px;
    font-size: 0.9rem;
  }

  /* 本文開始位置 */
  body {
    padding-top: 75px !important;
  }

  /* パンくず */
  .kinokuni-breadcrumb {
    margin-top: 85px !important;
  }
}

/* ===== スマホヘッダー完成版 Ver.2 ===== */

.kinokuni-header-actions {
  display: none;
}

@media (max-width: 767px) {

  .kinokuni-custom-header {
    padding: 6px 0 !important;
    min-height: 58px !important;
  }

  .kinokuni-header-inner {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    min-height: 58px !important;
    gap: 10px;
  }

  .kinokuni-logo img {
    max-width: 165px !important;
    height: auto;
  }

  .kinokuni-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
  }

  .kinokuni-header-tel {
    display: none !important;
  }

  .kinokuni-phone-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: #1f3b24;
    color: #fff !important;
    border-radius: 50%;
    font-size: 0.72rem;
    font-weight: bold;
    text-decoration: none !important;
  }

  .kinokuni-menu-toggle {
    display: inline-flex !important;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: #1f3b24;
    border: none;
    border-radius: 50%;
    padding: 10px;
    cursor: pointer;
  }

  .kinokuni-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: #fff;
    transition: 0.25s;
  }

  body.menu-open .kinokuni-menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  body.menu-open .kinokuni-menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  body.menu-open .kinokuni-menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .kinokuni-nav {
    display: none !important;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    width: 100%;
    background: #fff;
    border-top: 1px solid #ddd;
    box-shadow: 0 8px 18px rgba(0,0,0,0.12);
    z-index: 9998;
    margin: 0;
    padding: 8px 20px;
  }

  .kinokuni-nav.is-open {
    display: block !important;
  }

  .kinokuni-nav a {
    display: block;
    padding: 13px 6px;
    border-bottom: 1px solid #eee;
    font-size: 1rem;
    text-align: left;
  }

  body {
    padding-top: 72px !important;
  }

  .hero {
    margin-top: 0 !important;
  }

  .kinokuni-breadcrumb {
    margin-top: 85px !important;
  }

  body.menu-open .kinokuni-breadcrumb {
    margin-top: 85px !important;
  }
}

/* 電話ボタン周りの背景色を統一 */
.kinokuni-header-actions,
.kinokuni-header-tel {
    background: transparent !important;
}

/* ヘッダー内の余白 */
.kinokuni-header-actions {
    padding: 0 !important;
}

/* 電話ボタン */
.kinokuni-header-tel a,
.kinokuni-phone-icon {
    background: #1f4d2b;
    color: #fff;
    border-radius: 999px;
    text-decoration: none;
}


.kinokuni-header-tel {
    background: transparent !important;
    margin: 0;
    padding: 0;
}

.kinokuni-header-tel a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    border-radius: 999px;
    background: #1f4d2b;
    color: #fff;
    font-weight: 700;
    line-height: 1;
}

/* お知らせ一覧ボタン */

.news-more{

    text-align:center;

    margin:40px 0 10px;

}

.news-more a{

    display:inline-block;

    background:#1f4d2b;

    color:#fff;

    padding:14px 34px;

    border-radius:30px;

    font-weight:bold;

    text-decoration:none;

    transition:.3s;

}

.news-more a:hover{

    background:#c79a2d;

    transform:translateY(-2px);

}

.news-more span{

    margin-left:10px;

    transition:.3s;

}

.news-more a:hover span{

    margin-left:18px;

}

/*------------------------------------
 お知らせ一覧ボタン
------------------------------------*/

.news-more{

    text-align:center;

    margin:45px 0 20px;

}

.news-more a{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:12px;

    padding:14px 34px;

    background:#1f4d2b;

    color:#fff;

    text-decoration:none;

    border-radius:999px;

    font-weight:700;

    font-size:16px;

    letter-spacing:.05em;

    transition:.3s;

    box-shadow:0 5px 15px rgba(0,0,0,.12);

}

.news-more a:hover{

    background:#d4a017;

    transform:translateY(-3px);

    box-shadow:0 10px 20px rgba(0,0,0,.18);

}

.news-more .arrow{

    transition:.3s;

    font-size:18px;

}

.news-more a:hover .arrow{

    transform:translateX(6px);

}

@media(max-width:767px){

.news-more{

    margin:35px 0;

}

.news-more a{

    width:90%;

    max-width:320px;

    font-size:15px;

    padding:13px 0;

}

}