@charset "UTF-8";

/* =========================================================
   Reset / Base
========================================================= */
/* ベース初期化 */
html {
  box-sizing: border-box;
}
*,
*::before,
*::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}

body {
  font-size: 16px;
  line-height: 1.6;
  font-family: "Kiwi Maru", "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-weight: 400;
  background-color: #fdf4e3;
  color: #7b6c59;
}

/* 媒体要素の基本 */
img,
svg,
video,
canvas {
  max-width: 100%;
  height: auto;
}

/* フォームのフォント継承 */
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

/* スクリーンリーダーのみ表示 */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ユーティリティ */
.pc-none {
  display: none;
}
.sp-none {
  display: block;
}
.sp-left {
  text-align: center;
}

/* 固定配置CTA画像 */
.btn_cta img {
  position: fixed;
  bottom: 0;
  right: 0;
  z-index: 100;
  width: 200px;
}

/* =========================================================
   Typography
========================================================= */
h2 {
  font-size: 38px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}
h2 img {
  vertical-align: sub;
}

/* =========================================================
   Header
========================================================= */
.site-header {
  background-color: #fdf4e3;
  box-shadow: none;
  height: 80px;
}
.header_scrolled .site-header {
  position: relative;
}

.site-header--layout--nav-float .site-header-container {
  padding-right: 0;
  margin-right: 110px;
  height: 80px;
  width: auto;
}

.site-header-logo {
  position: absolute;
  top: 0;
  left: 30px;
  padding: 0;
  margin: 0;
  width: auto;
}
.site-header-logo img {
  width: 223px;
  height: auto;
}
.site-header--layout--nav-float .site-header-logo img {
  max-height: max-content;
}

/* 住所＋電話 横並び */
.site-header-info {
  display: flex;
  flex-direction: row;
  gap: 40px;
  justify-content: flex-end;
  align-items: center;
  margin-left: auto;
  text-align: right;
  height: 100%;
}
.site-header-address {
  font-size: 1rem;
  margin: 0;
  color: #789d50;
  font-weight: 500;
}
.site-header-tel {
  margin: 0;
}
.site-header-tel a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: #789d50;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  border-radius: 20px;
  text-decoration: none;
}
.site-header-tel a:hover {
  background: #5f7c3f;
}
.site-header-tel a img {
  width: 14px;
  height: auto;
}

/* ハンバーガーメニュー */
.vk-mobile-nav-menu-btn {
  display: none;
}
.ltg-nav--kept {
  display: none !important;
}

.hamburger {
  position: fixed;
  top: 0;
  right: 0;
  margin-left: 12px;
  width: 83px;
  height: 80px;
  border: 0;
  background: #789d50;
  cursor: pointer;
  --bar-w: 43px;
  --bar-h: 3px;
  --gap: 12px;
}
.hamburger__bar {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--bar-w);
  height: var(--bar-h);
  background: #fff;
  border-radius: 2px;
  transform-origin: 50% 50%;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.hamburger__bar:nth-child(1) {
  transform: translate(-50%, calc(-50% - var(--gap)));
}
.hamburger__bar:nth-child(2) {
  transform: translate(-50%, -50%);
}
.hamburger__bar:nth-child(3) {
  transform: translate(-50%, calc(-50% + var(--gap)));
}
.hamburger.is-open .hamburger__bar:nth-child(1) {
  transform: translate(-50%, -50%) rotate(45deg);
}
.hamburger.is-open .hamburger__bar:nth-child(2) {
  opacity: 0;
}
.hamburger.is-open .hamburger__bar:nth-child(3) {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* オフキャンバス */
.offcanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 78vw;
  max-width: 360px;
  height: 100dvh;
  background: #fff;
  transform: translateX(calc(-100% - 40px));
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 1001;
  padding: 72px 24px 24px;
  visibility: hidden;
}
.offcanvas.is-open {
  transform: translateX(0);
  box-shadow: 10px 0 20px rgba(0, 0, 0, 0.08);
  visibility: visible;
}

.offcanvas__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.offcanvas__overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}
body.menu-open {
  overflow: hidden;
}

.scrolled .page_top_btn {
  display: none !important;
}

/* =========================================================
   Layout helpers
========================================================= */
.white-box {
  max-width: 1110px;
  margin: auto;
  padding: 80px 40px;
}

.is-layout-constrained > .wp-block-group.max-600,
.container .wp-block-group.max-600 {
  inline-size: min(100%, 600px) !important;
  margin-inline: auto;
}

hr {
  border: none;
  border-top: 1px solid #7b6c59;
  margin: 1.5em 0;
}
.wp-block-separator {
  border: none;
  border-top: 1px solid #7b6c59 !important;
}

/* =========================================================
   InfoTable
========================================================= */
.infoTableSection {
  position: relative;
}
.infoTable table,
.infoTable {
  width: 100%;
  border-collapse: collapse;
  color: #7b6c59;
}
.infoTable a {
  text-decoration: underline;
}
.infoTable tr {
  border-top: 1px solid #d9cfc5;
}
.infoTable tr:last-child {
  border-bottom: 1px solid #d9cfc5;
}
.infoTable th,
.infoTable td {
  padding: 20px 0;
  vertical-align: middle;
  background: transparent;
  border: none;
}
.infoTable th,
.infoTable td:first-child {
  width: 12em;
  white-space: nowrap;
  padding-right: 24px;
  font-weight: 500;
  text-align: center;
}
.infoTable td:last-child {
  line-height: 1.9;
}
.infoTable__illust {
  position: absolute;
  right: 0;
  bottom: -8px;
  width: 320px;
  max-width: 36%;
  pointer-events: none;
}

.infoTable th,
.infoTable td:first-child,
.infoTable td:last-child {
  font-size: 16px !important;
}

/* =========================================================
   Featured Image
========================================================= */
.wp-block-post-featured-image img,
.wp-block-query .wp-block-post-featured-image img {
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
}
.wp-block-post-featured-image {
  aspect-ratio: auto !important;
}

/* =========================================================
   Archive (3列シンプル)
========================================================= */
.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin: 40px 0;
}
.archive-grid__item {
  background: transparent;
  border: none;
}
.archive-grid__item img {
  width: 100%;
  height: auto;
  display: block;
}
.archive-title {
  font-size: 1rem;
  font-weight: 600;
  margin: 8px 0 4px;
  border: none;
}
.archive-title::after {
  display: none;
}
.archive-date {
  font-size: 0.85rem;
  color: #838383;
}

.breadcrumb {
  border: none !important;
}

/* =========================================================
   Pagination
========================================================= */
.vk_posts_pagination {
  margin: 40px auto 0;
  text-align: center;
}
.vk_posts_pagination ul {
  display: inline-flex;
  gap: 6px;
  list-style: none;
  padding: 0;
}
.vk_posts_pagination li a,
.vk_posts_pagination li span {
  display: block;
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 0.9rem;
  text-decoration: none;
  color: #333;
}
.vk_posts_pagination li a:hover {
  background: #f2f2f2;
}
.vk_posts_pagination li .current {
  background: #789d50;
  color: #fff;
  border-color: #789d50;
}

/* =========================================================
   Page header / breadcrumb
========================================================= */
.page-header {
  background-color: #fdf4e3;
}
.page-header-title {
  color: #7b6c59;
}
span.vcard.author {
  display: none;
}
.vk_posts.next-prev {
  display: none;
}

/* =========================================================
   Contact Form (体験見学申し込みフォーム)
========================================================= */
.section-contact {
  background-color: #fff;
}

/* 行間・区切り */
.cf7-egaotane .cf7-row {
  margin-top: 30px;
  margin-bottom: 60px;
}
.cf7-egaotane .cf7-sep {
  border: 0;
  border-top: 1px solid #d9cfc5;
  margin-top: 20px;
  margin-bottom: 30px;
}
.cf7-egaotane .hissu {
  color: #e74c3c;
  font-weight: 600;
  font-size: 0.9rem;
  margin-left: 0.3em;
  background: #fcecec;
  padding: 2px 8px;
}

/* 入力 */
.cf7-egaotane input[type="text"],
.cf7-egaotane input[type="email"],
.cf7-egaotane input[type="tel"],
.cf7-egaotane textarea,
.cf7-egaotane select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #fff;
}

/* ラベル内の入力ラッパーをブロック化して上に余白 */
.cf7-egaotane label {
  display: block;
}
.cf7-egaotane label .wpcf7-form-control-wrap {
  display: block;
  margin-top: 10px;
}

.cf7-agree p {
  text-align: center;
}
.wpcf7-list-item {
  display: block;
}

/* 送信ボタン */
.cf7-egaotane .cf7-submit .btn {
  padding: 10px 50px;
  border-radius: 10px;
  background: #7b6c59;
  color: #fff;
  border: 0;
}
.cf7-egaotane .cf7-submit .btn:hover {
  background: #5f4a3a;
}

/* 送信行を基準にする */
.cf7-egaotane .cf7-submit {
  position: relative;
}
.cf7-egaotane .cf7-submit p {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* スピナー配置 */
.cf7-egaotane .wpcf7-spinner {
  position: absolute !important;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  margin: 0 !important;
}
/* 非送信時は非表示 / 送信中のみ表示 */
.cf7-egaotane .wpcf7-spinner {
  display: none !important;
}
.cf7-egaotane form.submitting .wpcf7-spinner {
  display: block !important;
}

/* 同意チェック */
.cf7-egaotane .cf7-agree {
  margin: 12px 0 18px;
}

/* プレースホルダー色 */
.cf7-egaotane input::placeholder,
.cf7-egaotane textarea::placeholder {
  color: #d2d2d2;
  opacity: 1;
}
.cf7-egaotane input::-webkit-input-placeholder,
.cf7-egaotane textarea::-webkit-input-placeholder {
  color: #d2d2d2;
}
.cf7-egaotane input::-moz-placeholder,
.cf7-egaotane textarea::-moz-placeholder {
  color: #d2d2d2;
  opacity: 1;
}
.cf7-egaotane input:-ms-input-placeholder,
.cf7-egaotane textarea:-ms-input-placeholder {
  color: #d2d2d2;
}
.cf7-egaotane input::-ms-input-placeholder,
.cf7-egaotane textarea::-ms-input-placeholder {
  color: #d2d2d2;
}

.contact-note {
  max-width: 648px !important;
  padding: 20px;
  margin: auto;
}
.privacy-box {
  padding: 30px;
  border: 1px solid #7b6c59;
}
.privacy-box p {
  font-size: 14px;
  text-align: left;
}
p.privacy-title {
  font-size: 18px;
}

/* =========================================================
   Home
========================================================= */
.home .site-body {
  padding-bottom: 0;
}
.home .main-section--margin-bottom--on {
  margin-bottom: 0;
}
.home .veu_autoEyeCatchBox {
  display: none;
}

/* =========================================================
   Footer
========================================================= */
.site-footer {
  border: none;
  background: #789d50;
  color: #fff;
}
.site-footer-copyright {
  text-align: center;
  font-size: 1.125rem;
}

/* =========================================================
   CTA Bottom Bar
========================================================= */
/* 本体がバーに隠れないよう余白（任意） */
.has-bottombar {
  padding-bottom: calc(var(--btn-height) + 16px + var(--safe-bottom));
}

/* 下部固定バー（デフォ非表示→SPで表示） */
.cta-bottombar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background: var(--bar-bg);
  padding: 8px 12px calc(8px + var(--safe-bottom));
  box-shadow: var(--bar-shadow);
  display: none;
}
.cta-bottombar .cta-btn {
  flex: 1 1 0;
  height: var(--btn-height);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  color: #fff;
  transition: transform 0.06s ease, opacity 0.2s ease;
  padding: 10px 4px;
}
.cta-bottombar .cta-btn svg {
  width: 20px;
  height: 20px;
}

.cta-link a:hover {
  opacity: 0.6;
}

.cta-btn--tel {
  background: #ff6e1a;
}
.cta-btn--line {
  background: #00b900;
}

.cta-btn--tel img {
  width: 14px;
  height: auto;
}
.cta-btn--line img {
  width: 30px;
  height: auto;
}

/* タップ時の軽いフィードバック */
.cta-bottombar .cta-btn:active {
  transform: translateY(1px);
}
.cta-bottombar .cta-btn:focus-visible {
  outline: 3px solid rgba(0, 0, 0, 0.2);
  outline-offset: 2px;
}

/* 2ボタン横並び（SP表示） */
.cta-bottombar {
  display: none;
}
@media (max-width: 768px) {
  .cta-bottombar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0px;
  }
}
/* PCでは表示しない（必要なら変更） */
@media (min-width: 769px) {
  .cta-bottombar {
    display: none !important;
  }
}

/* =========================================================
   Responsive
========================================================= */
/* 1024px 以下 */
@media (max-width: 1024px) {
  .archive-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .site-header-info {
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 4px;
  }
}

/* 960px 以下 */
@media (max-width: 960px) {
  .infoTable th,
  .infoTable td {
    padding: 16px 0;
  }
  .infoTable__illust {
    width: 260px;
    max-width: 45%;
  }
}

/* 768px 以下 */
@media (max-width: 768px) {
  .pc-none {
    display: block;
  }
  .sp-none {
    display: none;
  }
  .sp-left {
    text-align: left !important;
  }

  .site-header-logo {
    left: 0;
  }
  .site-header-logo img {
    width: 100px;
  }
  .site-header-tel a img {
    width: 10px;
  }
  h2 {
    font-size: 1.75rem;
  }
  .white-box {
    padding: 40px 20px;
  }
  .site-header-address {
    font-size: 0.9rem;
  }
  .site-header-tel a {
    font-size: 16px;
    padding: 6px 12px;
    text-align: left;
    line-height: 1;
  }
  .site-header-address {
    font-size: 12px;
    text-align: left;
    line-height: 1;
  }

  #guide h2.is-style-vk-heading-plain img.wp-image-27,
  #greeting h2.is-style-vk-heading-plain img.wp-image-28,
  #policy h2.is-style-vk-heading-plain img.wp-image-96,
  h2.is-style-vk-heading-plain img.wp-image-30,
  h2.is-style-vk-heading-plain img.wp-image-31 {
    width: 28px !important;
    height: auto !important;
  }
  #policy h2.is-style-vk-heading-plain img.wp-image-96 {
    margin-right: 4px;
    vertical-align: middle;
  }
  h2.is-style-vk-heading-plain img.wp-image-31 {
    vertical-align: top;
  }

  .intro-green {
    font-size: 1.25rem !important;
  }

  .text-intro {
    font-size: 1.25rem !important;
  }

  #schedule .wp-container-core-columns-is-layout-33ba964e {
    gap: 0 !important;
  }

  .cf7-egaotane .cf7-row {
    margin: 0;
  }
  .cf7-row.cf7-submit {
    margin-bottom: 30px;
  }
  .privacy-box {
    padding: 10px;
  }

  .btn_cta img {
    width: 140px;
    bottom: 30px;
  }
  .site-footer {
    padding-bottom: 60px;
  }
  .cta-main {
    gap: 0 !important;
  }
  .cta-text.has-large-font-size {
    font-size: 18px !important;
    margin-bottom: 20px !important;
  }
  .infoTable,
  .infoTable tr,
  .infoTable th,
  .infoTable td {
    display: block;
    width: 100%;
  }
  .infoTable {
    border-left: solid 1px #d9cfc5;
    border-right: solid 1px #d9cfc5;
  }
  .infoTable th {
    text-align: left;
    padding-bottom: 4px;
  }
  .infoTable td {
    padding-top: 0;
    border-top: none;
  }
  .infoTable td:first-child {
    padding: 10px;
    width: 100%;
    background: #eee;
  }
  .infoTable td:last-child {
    padding: 10px;
  }
  .infoTable__illust {
    position: static;
    margin: 16px auto 0;
    width: min(420px, 80%);
    max-width: 100%;
  }
  .archive-grid {
    grid-template-columns: 1fr;
  }
}
