/* 見出し色 */
.lc-container h2 {
  color: var(--lc-accent-color);
}

/* 見出しの余白 */
.lc-main h2 {
  margin-bottom: 24px;
}

/* 見出しの最終チューニング */
.lc-container h2 {
  margin-top: 64px;
  margin-bottom: 24px;
}

.lc-container h3 {
  margin-top: 40px;
  margin-bottom: 16px;
}


/* =================================================
   404 / search common styling
   ================================================= */

.lc-404 {
  text-align: center;
}

/* search は左寄せ */
.lc-search {
  text-align: left;
}


.lc-search-list {
  list-style: none;
  padding: 0;
  margin-top: 32px;
}

.lc-search-list li {
  margin-bottom: 12px;
}

/* =================================================
   Search result スタイル
   ================================================= */

.lc-search-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.lc-search-item {
  border-bottom: 1px solid #eee;
}

.lc-search-link {
  display: block;
  padding: 16px 0;
  text-decoration: none;
  color: inherit;
}

.lc-search-title {
  display: block;
  font-size: 1rem;
  margin-bottom: 4px;
}

.lc-search-meta {
  font-size: 0.85rem;
  color: #3b3d42;
}

.lc-search-link:hover .lc-search-title {
}

.lc-search-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.lc-search-item + .lc-search-item {
  margin-top: 1rem;
}

.lc-search-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.lc-search-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.lc-search-link:hover .lc-search-card {
  background: #fafafa;
}

.lc-search-title {
  font-size: 1.05rem;
  margin: 0 0 0.4rem;
}

.lc-search-meta {
  font-size: 0.85rem;
  color: #3b3d42;
}

.lc-search-excerpt {
  font-size: 0.9rem;
  color: #444;
  margin-top: 0.5rem;
}

/* Search arrow button (SVG) */
.lc-search-arrow {
  flex: 0 0 auto;
}

.lc-search-arrow-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(0,0,0,0.08);
  color: rgba(0,0,0,0.32);
  transition: transform .2s ease, color .2s ease, background-color .2s ease, border-color .2s ease;
}

.lc-search-link:hover .lc-search-arrow-btn {
  color: rgba(0,0,0,0.55);
  background: rgba(0,0,0,0.04);
  border-color: rgba(0,0,0,0.12);
  transform: translateX(3px);
}

.lc-search-arrow-btn .lc-icon {
  display: block;
}

/* =================================================
   営業時間 表示（共通）
   ================================================= */
.lc-business-hours {
  margin-top: 12px;
  font-size: 0.875rem;
  color: #555;
  line-height: 1.6;
}

.lc-business-hours__label {
  display: block;
  font-weight: 700;
  margin-bottom: 2px;
}

.lc-business-hours__content {
  white-space: normal;
  font-size: 0.85rem;   /* 0.75 -> 0.85 */
  opacity: 1;
}

/* =================================================
   SNSシェア（ブログ記事・固定ページ）
   ================================================= */

.lc-share {
  margin-top: 64px;
  padding: 40px 0;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  text-align: center;
  background-color: #f1f1f1;
}

.lc-share-title {
  margin-bottom: 24px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #222;
}

/* シェアアイコン全体 */
.lc-sns {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 0;
}

/* 各シェアリンク */
.lc-sns a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  color: #333;
  transition: opacity 0.2s ease;
}
.lc-sns a:hover {
	opacity: 0.8;
}

/* SVGサイズ */
.lc-sns svg {
  width: 24px;
  height: 24px;
  display: block;
  fill: currentColor;
}

/* SP調整 */
@media (max-width: 768px) {
  .lc-share {
    margin: 48px 0;
    padding-top: 32px;
  }

  .lc-sns {
    gap: 20px;
  }

  .lc-sns a {
    width: 52px;
    height: 52px;
  }
}


/* =================================================
   サービス詳細ページ CTA
   ================================================= */
.lc-service-cta {
  margin-top: 64px;
  padding: 40px 24px;
  background: #f7f7f7;
  border-top: 1px solid #ddd;
  text-align: center;
}

.lc-service-cta-title {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.lc-service-cta-text {
  margin-bottom: 20px;
  color: #555;
  line-height: 1.6;
  font-size: 0.85rem;
}

/* サービス詳細CTA・丸ボタン */
.lc-service-cta .lc-btn {
  display: inline-block;
  margin-top: 8px;
  padding: 12px 28px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  background: transparent;
  color: #222;
  border: 1px solid rgba(0,0,0,0.25);
  transition: background-color .2s ease, border-color .2s ease;
}

.lc-service-cta .lc-btn:hover {
  background: rgba(0,0,0,0.04);
  border-color: rgba(0,0,0,0.4);
}


@media (max-width: 767px) {
  .lc-service-cta {
    padding: 32px 16px;
  }
}

/* =========================
 * LocalCraft 固定ページテンプレート CSS
 * ========================= */

/* ページヒーロー */
.lc-page-hero {
  position: relative;
  max-height: 460px;
  overflow: hidden;
  margin-bottom: 72px;
}

.lc-page-hero img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ヒーロー全体オーバーレイ（h1が乗る設計） */
.lc-page-hero-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  color: #fff;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.55),
    rgba(0,0,0,0.55)
  );
}
.lc-page-hero-inner p {
	animation: lc-hero-softfade 0.55s ease-out both;
	-webkit-font-smoothing: antialiased;
}
@media (max-width: 768px) {
	.lc-page-hero-inner {
		gap:0;
		padding: 0 1rem;
	}
}


/* h1 */
.lc-page-hero-title {	
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  margin: 1em 0 0 0;
  animation: lc-hero-softfade 0.55s ease-out both;
  -webkit-font-smoothing: antialiased;
}
@media (max-width: 768px) {
	.lc-page-hero-title {
		font-size: clamp(1.4rem, 5vw, 1.9rem);
		line-height: 1.35;
		word-break: break-word;
		overflow-wrap: anywhere;
		margin: 0 16px;
	}
}

/* 説明文（lead） */
.lc-page-hero-lead {
  max-width: 720px;
  font-size: 1rem;
  line-height: 1.7;
  opacity: 0.9;
  margin: 0;
}


@keyframes lc-hero-softfade {
  from {
    opacity: 0;
    filter: blur(6px);
  }
  to {
    opacity: 1;
    filter: blur(0);
  }
}


/* SP */
@media (max-width: 768px) {
  .lc-page-hero {
    max-height: 240px;
	margin-bottom: 20px;
  }
}


/* 本文エリア（Gutenberg適用） */
.lc-page-content {
  text-align: left;
}

/* 見出し */
.lc-page-content h2 {
  margin-top: 96px;
  margin-bottom: 48px;
  text-align: center;
}

.lc-page-content h3 {
  margin-top: 64px;
  margin-bottom: 24px;
  padding-left: 12px;
  border-left: 3px solid var(--lc-accent-color);
  font-size: 1.15rem;
  font-weight: 700;
}

/* 本文 */
.lc-page-content p {
  margin-bottom: 24px;
  line-height: 1.8;
}

/* ----------
 リスト装飾
 * ---------- */
.lc-page-content ul {
  list-style: none;
  padding: 0;
  margin: 40px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  max-width: 95%;
  margin-left: auto;
  margin-right: auto;
}

.lc-page-content li {
  display: flex;
  align-items: center;
  padding: 20px 8px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* 箇条書きアクセント（-） */
.lc-page-content li::before {
  content: "—";
  margin-right: 12px;
  color: var(--lc-accent-color);
  font-weight: 500;
}

/* ----------
 テキスト幅調整BOX
 * ---------- */
.lc-content-box {
  margin: 0 auto;
  text-align: left;
}

/* p だけ大きくしない */
.lc-content-box p {
  margin-left: auto;
  margin-right: auto;
}

/* SP */
@media (max-width: 768px) {
  .lc-content-box p {
	max-width: 100%;
	}
	
.lc-page-content ul {
	max-width: 100%;
	}
}

/* ----------
 フォームBOX
 * ---------- */
.lc-form-box {
  max-width: 86%;
  margin: 80px auto 0;
}

/* SP */
@media (max-width: 768px) {
  .lc-form-box {
    max-width: 100%;
    margin-top: 64px;
  }
}


/* =================================================
   Single メタ情報（Date / Modified / Author / Category）
   ================================================= */

.lc-single-header {
	margin-bottom: 40px;
}

/* 公開日・更新日・カテゴリー */
.lc-single-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px 0;
  font-size: 0.85rem;
  color: #3b3d42;
  padding-bottom: 15px;
  border-bottom: solid 1px rgba(0, 0, 0, 0.12);
}

/* 公開日 */
.lc-single-date {
  padding: 0;
  border: none;
  background: none;
  font-size: 0.9rem;
  color: #777;
  line-height: 1.4;
}
.lc-single-date::before {
  content: "公開日 / ";
  font-size: 0.93rem;
  color: #626262;
  margin-right: 4px;
  font-weight: 700;
}

/* 最終更新日（公開日と重ならない場合のみ表示） */
.lc-single-modified {
  font-size: 0.9rem;
  color: #777;
  line-height: 1.4;
}
.lc-single-modified::before {
  content: "最終更新日 / ";
  font-size: 0.93rem;
  color: #626262;
  margin-right: 4px;
  font-weight: 700;
}

/* 著者 */
.lc-single-author {
  font-size: 0.9rem;
  color: #777;
}
.lc-single-author::before {
  content: "著者 / ";
  font-size: 0.93rem;
  color: #626262;
  margin-right: 4px;
  font-weight: 700;
}

/* カテゴリー */

.lc-single-category a {
  display: inline-block;
  margin-right: 6px;
  padding: 4px 8px;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 0;
  text-decoration: none;
  font-size: 0.8rem;
  color: #333;
  transition: background-color .15s ease, border-color .15s ease;
}
.lc-single-category a:hover {
  background: rgba(0,0,0,0.04);
  border-color: rgba(0,0,0,0.2);
}

/* 記事タグ（そのまま） */
.lc-single-footer {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid #eee;
}

.lc-single-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lc-single-tags a {
  display: inline-block;
  padding: 6px 10px;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 0;
  font-size: 0.8rem;
  text-decoration: none;
  color: #555;
  background: #fff;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.lc-single-tags a:hover {
  background: rgba(0,0,0,0.04);
  border-color: rgba(0,0,0,0.18);
  color: #000;
}


/* =================================================
   Single h1（記事見出し）
   ================================================= */

.lc-single-title {
  position: relative;
  line-height: 1.6;
  font-weight: 500;
  color: #2a2a2a;
  letter-spacing: 0.01em;
  padding: 1.5rem 0;
  font-size: clamp(1.9rem, 2.4vw, 2.1rem);
}


/* SP */
@media (max-width: 768px) {
  .lc-single-title {
    line-height: 1.5;
  }
}

/* ========================================
 * お問い合わせセクション
 * ===================================== */

.lc-closing {
  padding: 96px 0;
  background: var(--lc-contact-section-bg-color);
}


.lc-closing-lead {
  text-align: center;
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 48px;
  color: #fff;
}

.lc-closing-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.lc-closing-inner > div {
  padding: 12px;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  border: solid 1px rgba(255,255,255,0.8);
  text-align: center;
}

/* 電話 */
.lc-closing-tel-label,
.lc-closing-form-label {
  color: #fff;
  margin:8px 0px;
  font-weight: 500;
}

.lc-closing-tel-number {
  margin: 0px;
  color: #fff;
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI","Helvetica Neue",Arial,sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  letter-spacing: 0em;
  text-decoration: none;
  display: inline-block;
}

.lc-closing-tel-number a {
  text-decoration: none;
  color: #fff;
}

.lc-closing-tel-number a:hover {
  opacity: 0.9;
}


.lc-closing-hours {
  margin: 8px 0px;
  font-size: 0.85rem;
  color: #fff;
  line-height: 1.6;
  font-weight: 500;
}

/* フォーム（BOXごと中央寄せ） */
.lc-closing-form {
  display: flex;
  flex-direction: column;
  justify-content: center; /* 水平中央 */
}

/* フォームリンク */
.lc-closing-form-link a {
  display: inline-block;
  margin-top: 12px;
  padding: 14px 28px;
  border-radius: 999px;
  background: var(--lc-accent-color);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  transition: opacity .2s ease;
}

.lc-closing-form-link a:hover {
  opacity: .85;
}


/* ========================================
 * お問い合わせセクション レイアウト調整
 * ===================================== */

.lc-closing-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

/* 電話ブロックが存在しない場合 */
.lc-closing-inner:not(:has(.lc-closing-tel)) {
  grid-template-columns: 1fr;
  justify-items: center;
}

/* フォームだけのときの幅を最適化 */
.lc-closing-inner:not(:has(.lc-closing-tel)) .lc-closing-form {
  width: 100%;
  max-width: 520px;
}
/* SP */
@media (max-width: 768px) {
  .lc-closing {
    padding: 40px 0 72px 0;
  }

  .lc-closing-inner {
	display: flex;
    gap: 32px;
    flex-flow: column;
  }

  .lc-closing-lead {
    margin-bottom: 32px;
  }
}

/* =================================================
   関連記事（Single 記事）
   ================================================= */

.lc-related-posts {
  margin: 72px 0;
}

.lc-related-posts h2 {
  margin-bottom: 32px;
}


/* =================================================
   目次装飾
   ================================================= */

.lc-toc {
  margin: 40px 0 56px;
  padding: 24px 28px 32px 28px;
  border: 1px solid rgba(0,0,0,0.08);
  background: #fafafa;
}

/* タイトル */
.lc-toc-title {
  margin: 0 0 16px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #555;
  text-transform: uppercase;
}

/* list */
.lc-toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* item */
.lc-toc-list li {
  margin: 0;
  padding: 0 0 10px 0;
  line-height: 1.6;
  border-bottom: solid 1px rgba(0, 0, 0, 0.05);
}

/* link */
.lc-toc-list a {
  display: inline-block;
  position: relative;
  padding-left: 2.3em;
  font-size: 0.85rem;
  color: #222;
  text-decoration: none;
}

/* 箇条書きアクセント */
.lc-toc-list a::before {
  content: "・";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--lc-accent-color);
  font-weight: 500;
}

/* hover */
.lc-toc-list a:hover {
  text-decoration: underline;
}

/* SP */
@media (max-width: 768px) {
  .lc-toc {
    padding: 18px 16px;
  }
}

/* =================================================
   ニュース用ヘッダー
   ================================================= */

.single-lc_news .lc-news-header {
  text-align: center;
  margin: 48px 0 40px;
}

.single-lc_news .lc-news-header .lc-single-title {
  margin: 0 0 12px 0;
  padding: 0;
}

.single-lc_news .lc-news-meta {
  justify-content: center;
  border-bottom: none;
  padding-bottom: 0;
  font-size: 0.85rem;
  color: #3e3e3e;
}

/* 見出し下の罫線を細く */
.single-lc_news .lc-news-header::after {
  content: "";
  display: block;
  width: 50%;
  max-width: 320px;
  height: 1px;
  background: rgba(0,0,0,0.12);
  margin: 24px auto 0;
}

/* =================================================
   ニュース一覧へ戻るボタン
   ================================================= */

.single-lc_news .lc-news-back {
  margin: 64px 0;
  text-align: center;
}

.single-lc_news .lc-news-back a {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.2);
  text-decoration: none;
  font-size: 0.9rem;
  color: #333;
  transition: background-color .2s ease, opacity .2s ease;
}

.single-lc_news .lc-news-back a:hover {
  background: rgba(0,0,0,0.04);
  opacity: 0.85;
}

/* =================================================
   スマホ下部CTAエリア
   ================================================= */

.lc-fixed-cta {
  display: none;
}

.lc-fixed-cta-item:hover {
  background: rgba(255,255,255,0.1);
}

.lc-fixed-cta-form {
  background: rgba(255,255,255,0.08);
}

.lc-fixed-cta-line {
  background: #06C755; /* LINE公式カラー */
}

.lc-fixed-cta-line:hover {
  background: #05b64c;
}

.lc-fixed-cta-tel {
  background: transparent;
}

@media (max-width: 768px) {

  .lc-fixed-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    z-index: 9999;
    background: var(--lc-accent-color, #000);
  }

  .lc-fixed-cta-item {
    flex: 1;
    text-align: center;
    padding: 14px 0;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-right: 1px solid rgba(255,255,255,0.2);
  }

  .lc-fixed-cta-item:last-child {
    border-right: none;
  }

.lc-fixed-cta-item svg {
  width: 20px;
  height: 20px;
}

/* TELは塗り */
.lc-fixed-cta-tel svg {
  fill: currentColor;
}

/* LINEはSVGの線そのまま使う */
.lc-fixed-cta-line svg {
  fill: none;
}

/* MAILは枠線 */
.lc-fixed-cta-form svg {
  stroke: currentColor;
  fill: none;
}
	
  .lc-fixed-cta-item {
    font-size: 0.85rem;
    font-weight: 700;
    padding: 12px 0;
    gap: 5px;
  }

  .lc-fixed-cta-item svg {
    width: 18px;
    height: 18px;
  }

  body {
    padding-bottom: 60px;
  }
}



/* =================================================
   Gutenberg Table Block (LocalCraft Page Template)
   ================================================= */

.page-template-page-lc-localcraft .lc-page-content .wp-block-table thead {
  border-bottom: 1px solid rgba(0,0,0,0.14) !important;
}

.page-template-page-lc-localcraft .lc-page-content .wp-block-table {
  margin: 40px 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.page-template-page-lc-localcraft .lc-page-content .wp-block-table table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  border: none !important;
  background: #fff;
}

.page-template-page-lc-localcraft .lc-page-content .wp-block-table thead tr {
  border-bottom: none;
}

.page-template-page-lc-localcraft .lc-page-content .wp-block-table thead th {
  padding: 16px 12px;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: transparent;
  border: none !important;
  border-bottom: 1px solid rgba(0,0,0,0.14) !important;
}
.page-template-page-lc-localcraft .lc-page-content .wp-block-table thead th strong {
  font-weight: inherit;
  font-size: inherit;
}
.page-template-page-lc-localcraft .lc-page-content .wp-block-table th,
.page-template-page-lc-localcraft .lc-page-content .wp-block-table td {
  padding: 20px 12px;
  border: none !important;
  text-align: left;
  vertical-align: top;
  line-height: 1.7;
}

.page-template-page-lc-localcraft .lc-page-content .wp-block-table td {
  width: 50%;
}

.page-template-page-lc-localcraft .lc-page-content .wp-block-table tbody tr {
  transition: background .15s ease;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.page-template-page-lc-localcraft .lc-page-content .wp-block-table tbody tr:hover td {
  background: rgba(0,0,0,0.03);
}

.page-template-page-lc-localcraft .lc-page-content .wp-block-table figcaption {
  margin-top: 10px;
  font-size: 0.85rem;
  color: #6b7280;
  line-height: 1.6;
  text-align: left;
}

@media (max-width: 768px) {
  .page-template-page-lc-localcraft .lc-page-content .wp-block-table {
    margin: 32px 0;
  }

  .page-template-page-lc-localcraft .lc-page-content .wp-block-table table {
    min-width: 520px;
  }

  .page-template-page-lc-localcraft .lc-page-content .wp-block-table th,
  .page-template-page-lc-localcraft .lc-page-content .wp-block-table td {
    padding: 12px 14px;
    font-size: 0.92rem;
  }
  .page-template-page-lc-localcraft .lc-page-content .wp-block-table thead th {
    font-size: 0.96rem;
    font-weight: 800;
  }

  .page-template-page-lc-localcraft .lc-page-content .wp-block-table figcaption {
    font-size: 0.8rem;
  }
}



