/* =========================================
 * Header Search (LocalCraft)
 * ======================================= */

.lc-header-search {
  display: flex;
  align-items: center;
  height: 56px;          /* ← 下段に合わせる */
  margin-left: auto;    /* ← 右端固定 */
  flex-shrink: 0;
}

/* form */
.lc-search-form {
  position: relative;
  display: flex;
  align-items: center;
  height: 40px;
}

/* input（通常時は控えめ） */
.lc-search-form input[type="search"] {
  width: 200px;
  height: 40px;
  padding: 0 40px 0 14px;
  border: none;
  background: #f3f4f6;
  font-size: 0.9rem;
  transition: width 0.3s ease, background-color 0.2s ease;
}

/* placeholder 非表示 */
.lc-search-form input[type="search"]::placeholder {
  opacity: 0;
  transition: opacity 0.15s ease;
}

/* hover / focus */
.lc-search-form:hover input[type="search"],
.lc-search-form input[type="search"]:focus {
  width: 300px;
  background: #eef1f4;
}

.lc-search-form:hover input[type="search"]::placeholder,
.lc-search-form input[type="search"]:focus::placeholder {
  opacity: 1;
}

/* button */
.lc-search-form button {
  position: absolute;
  right: 10px;
  width: 20px;
  height: 20px;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  color: #666;
}

.lc-search-form button:hover {
  color: var(--lc-accent-color);
}

.lc-search-form input[type="search"]:focus {
  outline: none;
}

/* =========================================
 * Header Search – browser right fixed
 * ======================================= */

.lc-header-nav {
  position: relative;
  overflow-x: clip;
}

/* container外・右端固定 */
.lc-header-search--fixed {
  position: absolute;
  top: 50%;
  right: 0px;                 /* ← ブラウザ右端余白 */
  transform: translateY(-50%);
  height: 56px;
  display: flex;
  align-items: center;
  z-index: 2;
}

/* SPでは普通に流す */
@media (max-width: 768px) {
  .lc-header-search--fixed {
    position: static;
    transform: none;
    margin: 0 auto;
  }
}

/* =================================================
   Header
   ================================================= */

.lc-header {
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

/* =========================
   上段（ロゴ左＋右端固定）
   ========================= */

.lc-header-top {
  height: 96px;
  display: flex;
  align-items: center;
  position: relative;
}

/* ロゴは完全左端 */
.lc-header-brand {
  position: absolute;
  left: 3%;
  top: 50%;
  transform: translateY(-50%);
}

.lc-header-logo img {
  max-width: 160px;
  height: auto;
  display: block;
}

/* =========================
   右端：行動エリア（電話＋CTA）
   ========================= */

.lc-header-meta-wrap--fixed {
  position: absolute;
  top: 0;
  right: 0;
  height: 96px;
  display: flex;
  align-items: stretch;
}

/* 行動ブロック全体 */
.lc-header-action {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 32px;
  min-width: 260px;
  background: #fafafa;
  border-left: 1px solid rgba(0,0,0,0.08);
}

/* 電話（主役） */
.lc-header-tel a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #111;
  text-decoration: none;
}

/* アイコンは文字寄りに補正 */
.lc-header-tel-icon {
  display: flex;
  align-items: center;
}

.lc-header-tel-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--lc-accent-color);
  position: relative;
  top: 1px;
}

.lc-header-tel-number {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
  padding-bottom: 0; /* ← 削除 */
}


/* 営業時間（補足） */
.lc-header-hours {
  margin-top: 6px;
  font-size: 0.8rem;
  color: #666;
  letter-spacing: 0.06em;
  line-height: 1.3;
  text-align: center;
}

@media (max-width: 768px) {
	.lc-header-tel-number {
		font-size: 1.8rem;
	  }

	/* 営業時間（補足） */
	.lc-header-hours {
	  font-size: 1.1rem;
	}
}


/* =========================
   CTA
   ========================= */

.lc-header-contact a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 40px;
  min-width: 200px;
  height: 96px;
  background: var(--lc-contact-bg-color);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1;
  text-decoration: none;
  border-left: 1px solid rgba(0,0,0,0.08);
  transition: background .25s ease, color .25s ease;
}

/* メールアイコン補正 */
.lc-header-contact-icon {
  display: flex;
  align-items: center;
}

.lc-header-contact-icon svg {
  width: 18px;
  height: 18px;
  position: relative;
  top: 1px;
}

/* hover：反転 */
.lc-header-contact a:hover {
  opacity: 0.8;
  color: #fff;
  transition: background .25s ease, color .25s ease, opacity .25s ease;
}

/* =========================
   下段（ナビは常に中央）
   ========================= */

.lc-header-nav {
  border-top: 1px solid rgba(0,0,0,0.06);
  background: var(--lc-nav-bg-color);
  transition: box-shadow 0.25s ease;
}

.lc-header-nav .lc-container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 56px;
  transition: height 0.25s ease;
}

.lc-header-nav .lc-nav {
  grid-column: 2;
}

@media (max-width: 768px) {
.lc-header-nav .lc-nav {
	display: inline-block;
    width: 100%;
    text-align: center;;
	}	
}

.lc-header-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2vw, 36px);
  white-space: nowrap;
}

.lc-header-nav a {
  display: block;
  padding: 8px 0;
  font-weight: 700;
  font-size: clamp(0.85rem, 0.9vw, 0.95rem);
  opacity: 0.8;
  transition:
    padding 0.25s ease,
    font-size 0.25s ease,
    opacity .2s ease,
    color .2s ease;
}

.lc-header-nav a:hover {
  opacity: 1;
  color: var(--lc-accent-color);
}

.lc-header-nav .current-menu-item > a {
  color: var(--lc-accent-color);
}

/* =========================
   PC：下段ナビ追従（上下＋文字だけ圧縮）
   ========================= */
@media (min-width: 769px) {

  /* ナビ全体の高さ */
  body.is-header-fixed .lc-header-nav .lc-container {
    height: 48px; /* 通常 56px */
  }

  /* リンク：上下だけ詰める＋文字をほんのり小さく */
  body.is-header-fixed .lc-header-nav a {
    padding-top: 6px;      /* 通常 8px */
    padding-bottom: 6px;
    font-size: 0.9rem;    /* 通常 clamp(0.85rem〜0.95rem) の上限を少し下げる */
  }

}



/* =========================
   SP
   ========================= */
@media (max-width: 768px) {

  .lc-header-top {
    height: auto;
    padding: 12px 0 6px 0;
  }

  .lc-header-brand {
    position: static;
    transform: none;
	margin-bottom: 0px;
	padding-left: 5%;
  }

  .lc-header-meta-wrap--fixed {
    position: static;
    width: 100%;
    flex-direction: column;
  }

  .lc-header-action,
  .lc-header-contact a {
    width: 100%;
    min-width: auto;
    height: auto;
    padding: 16px;
    border-left: none;
    border-top: 1px solid rgba(0,0,0,0.08);
    justify-content: center;
  }

  .lc-header-nav .lc-container {
    height: auto;
    padding: 12px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .lc-header-nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }
}

/* =========================
   PC：下段ナビ追従
   ========================= */
@media (min-width: 769px) {

  body.is-header-fixed .lc-header-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  }

  /* 固定化でレイアウトが詰まらないよう余白確保 */
  body.is-header-fixed .lc-header {
    padding-bottom: 56px; /* 下段ナビの高さ */
  }
}

/* =================================================
   パンくず
   ================================================= */

/* フル幅の帯 */
.lc-breadcrumb--full {
  width: 100%;
  background-color: #fbfbfb;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

/* 中身（container 内） */
.lc-breadcrumb {
  margin: 0;
  padding: 12px 0;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: #666;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5em;
}

/* リンク（完全フラット） */
.lc-breadcrumb a {
  text-decoration: none;
  color: inherit;
  padding: 0;
  background: none;
  font-weight: 400;
}

.lc-breadcrumb a:hover {
  text-decoration: underline;
}

/* 現在地 */
.lc-breadcrumb span {
  padding: 0;
  background: none;
  font-weight: 500;
  color: #333;
}

/* 区切り「>」を自動で挿入 */
.lc-breadcrumb-sep {
  margin: 0 0.6em;
  color: #aaa;
  font-weight: 400;
}


/* SP 微調整 */
@media (max-width: 768px) {
  .lc-breadcrumb {
    font-size: 0.8rem;
    padding: 14px 0;
    letter-spacing: 0.04em;
  }
}

/* =========================================
   GNAV 01（normal）ドロップダウン
========================================= */

/* 親liは基準点 */
.lc-gnav-type-normal {
  position: relative;
}

/* 第一階層 */
.lc-gnav-submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #ffffff;
  padding: 12px 0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  list-style: none;
  margin: 8px 0 0 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
  z-index: 1000;
}

/* hoverで表示 */
.lc-gnav-type-normal:hover > .lc-gnav-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* 第二階層 */
.lc-gnav-submenu-child {
  position: absolute;
  top: 0;
  left: 100%;
  min-width: 200px;
  background: #ffffff;
  padding: 10px 0;
  list-style: none;
  margin: 0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);

  opacity: 0;
  visibility: hidden;
  transform: translateX(8px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
}

/* 子hoverで孫表示 */
.lc-gnav-submenu-item:hover > .lc-gnav-submenu-child {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* GNAV normal 内は縦並びに戻す */

.lc-header-nav ul.lc-gnav-submenu,
.lc-header-nav ul.lc-gnav-submenu-child {
  display: block;
  white-space: normal;
}

.lc-header-nav ul.lc-gnav-submenu li,
.lc-header-nav ul.lc-gnav-submenu-child li {
  display: block;
}

/* 孫も子と同じ見た目にする */
.lc-gnav-submenu-child > li {
  list-style: none;
}

.lc-gnav-submenu-child > li > a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  background: #fff;
  text-decoration: none;
  font-weight: 500;
}

.lc-gnav-submenu-child > li > a:hover {
  background: #f5f5f5;
}

/* =========================================
   孫を持つ子メニューにモダン矢印
========================================= */

/* 子リンクを横並び */
.lc-gnav-submenu-item {
  position: relative;
}

.lc-gnav-submenu-item > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  white-space: nowrap;
  font-size: 14px;
}


/* 孫を持つ子だけ矢印表示 */
.lc-gnav-submenu-item:has(.lc-gnav-submenu-child) > a::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateX(0) rotate(-45deg);
  transition: transform .2s ease;
}

.lc-gnav-submenu-item:hover > a::after {
  transform: translateX(3px) rotate(-45deg);
}



/* =========================================
   GNAV 02（Card）
========================================= */

.lc-gnav-panel {
  position: absolute;
  left: 0;
  top: 100%;
  width: 100%;
  background: #ffffff;
  padding: 48px 0;
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
  z-index: 1000;
  overflow-x: hidden;

  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .3s ease, transform .3s ease, visibility .3s;
}

/* 開閉ルール（絶対消さない） */
.lc-gnav-type-page:hover .lc-gnav-panel,
.lc-gnav-type-post:hover .lc-gnav-panel,
.lc-gnav-type-page.is-open .lc-gnav-panel,
.lc-gnav-type-post.is-open .lc-gnav-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Grid */
.lc-gnav-page-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* ← 固定4列 */
  gap: 40px;
}

/* カード */

.lc-gnav-card {
  display: block;
  text-decoration: none;
  color: inherit;
  position: relative;
}

/* 画像 */
.lc-gnav-card-image {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.lc-gnav-card-image > a:not(.lc-gnav-card-category) {
  display: block;
  width: 100%;
  height: 100%;
}

.lc-gnav-card-thumb {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}

@media (max-width: 768px) {
  .lc-gnav-page-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* =========================
   カテゴリバッジ（03完全準拠）
========================= */

.lc-gnav-card-category {
  position: absolute;
  left: 5px;
  bottom: 0px;
  display: inline-block;
  width: auto;
  height: auto;
  background: var(--lc-accent-color);
  color: #ffffff !important; /* テーマ色上書き防止 */
  font-size: 0.7rem !important;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 6px 12px !important;
  line-height: 1;
  text-decoration: none;
  z-index: 5;
}

.lc-gnav-card-category:hover {
  opacity: 0.85;
}

/* タイトル */

.lc-gnav-card-title {
  font-weight: 700;
  font-size: clamp(0.85rem, 0.9vw, 0.95rem);
  line-height: 1.6;
  letter-spacing: .02em;

  padding-top: 16px; /* ← バッジ分少し余裕 */
  border-top: 1px solid rgba(0,0,0,0.06);

  min-height: calc(1.6em * 2);

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  white-space: normal;
}

/* hover */

.lc-gnav-card-thumb:hover {
  opacity: 0.85;
}

/* GNAVパネル内は常に不透明 */
.lc-gnav-panel a {
  opacity: 1;
}




/* =================================================
   GNAV 03
   ================================================= */

.lc-gnav-type-post > .lc-gnav-panel {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #fff;
  padding: 48px 0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  z-index: 999;
}

.lc-gnav-type-post .lc-gnav-panel > * {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* スライダー */
.lc-gnav-post-track {
  display: flex;
  gap: 32px;
  overflow-x: auto;
  scrollbar-width: none;
}

.lc-gnav-post-track::-webkit-scrollbar {
  display: none;
  overflow-x: auto;
}

.lc-gnav-post-item {
  flex: 0 0 calc((100% - 96px) / 4);
  min-width: 0;
}

.lc-gnav-post-item h3.lc-gnav-post-title {
  margin: 10px 0 5px;
}


/* サムネ */
.lc-gnav-post-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 0;
  background: transparent;
}

.lc-gnav-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 画像リンクを枠いっぱいに広げる */
.lc-gnav-post-thumb-link {
  display: block;
  width: 100%;
  height: 100%;
}

/* カテゴリ */

.lc-header-nav 
.lc-gnav-type-post 
.lc-gnav-post-thumb 
.lc-gnav-post-category {

  position: absolute;
  left: 5px;
  bottom: 2px;
  display: inline-block;
  background: var(--lc-accent-color);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 6px 12px;
  border-radius: 0;
  text-decoration: none;
  line-height: 1;
  z-index: 5;
}

.lc-gnav-post-category:hover {
  opacity: 0.85;
}

/* タイトル */
.lc-gnav-post-title {
  margin: 12px 0 6px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.lc-gnav-post-title a {
  white-space: normal;
}

/* メタ */
.lc-gnav-post-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}
.lc-gnav-post-meta a {
	font-size: 0.7rem;
	padding: 6px;
}

/* タグ */
.lc-gnav-post-tag {
  display: inline-block;
  padding: 6px 10px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0;
  font-size: 0.8rem;
  font-weight: 300 !important;
  text-decoration: none;
  color: #555;
  background: #fff;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

.lc-gnav-post-tag::before {
  content: "#";
}

.lc-gnav-post-tag:hover {
  background: #f4f4f4;
  border-color: rgba(0, 0, 0, 0.08);
  color: #555;
}

/* 日付 */
.lc-gnav-post-date {
  color: #666;
}
/* =========================
   GNAV03 Slider Buttons
========================= */

.lc-gnav-post {
  position: relative;
}

.lc-gnav-post-prev,
.lc-gnav-post-next {
  position: absolute;
  top: 38%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: none;
  background: transparent;
  cursor: pointer;
  z-index: 20;
}

/* 矢印をCSSで描く */
.lc-gnav-post-prev::before,
.lc-gnav-post-next::before {
  content: "";
  display: block;
  width: 14px;
  height: 14px;
  border-top: 2px solid #828282;
  border-right: 2px solid #828282;
  margin: auto;
  transition: transform .25s ease;
}

/* 左 */
.lc-gnav-post-prev::before {
  transform: rotate(-135deg);
}

/* 右 */
.lc-gnav-post-next::before {
  transform: rotate(45deg);
}

.lc-gnav-post-prev {
  left: -70px;
}

.lc-gnav-post-next {
  right: -70px;
}

/* hover時ほんの少し動かす */
.lc-gnav-post-prev:hover::before {
  transform: translateX(-3px) rotate(-135deg);
}

.lc-gnav-post-next:hover::before {
  transform: translateX(3px) rotate(45deg);
}











