@charset "UTF-8";
/*!
Theme Name: Kamishima Living
Theme URI: https://www.comture.com/
Author: コムチュア株式会社
Author URI: https://www.comture.com/
Description: 神島リビング様 ブログ用 WordPress テーマ。Figma「神島リビング様HPデザイン」から起こした静的コーディングをベースに、クラシックテーマ構成（カスタマイザー＋メニュー管理）で実装しています。構造化データ（JSON-LD）、内部リンク用ショートコード、ヘッダー／フッター／ドロワーの管理画面編集に対応。
Version: 1.0.0
Requires at least: 6.5
Tested up to: 7.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kamishima-living
Tags: blog, two-columns, right-sidebar, custom-logo, custom-menu, featured-images, translation-ready, accessibility-ready

Copyright (c) 2026 コムチュア株式会社 (COMTURE CORPORATION) All rights reserved.
本テーマの著作権はコムチュア株式会社に帰属します。
*/

/* ==========================================================================
   目次
   --------------------------------------------------------------------------
   1.  Design tokens
   2.  Base / reset
   3.  Header
   4.  Drawer
   5.  Page head
   6.  Layout
   7.  Blog list
   8.  Sidebar
   9.  Single post hero
   10. Entry
   11. FAQ
   12. Post nav
   13. Footer
   14. Utilities / a11y
   15. WordPress core compat  ← 本テーマで追加
   ========================================================================== */

/* ==========================================================================
   神島リビング様 HP  ブログ一覧 / ブログ投稿ページ
   Responsive stylesheet  (PC 1440 / SP 600 のFigmaデザインをベースに実装)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* color */
  --c-text: #282828;
  --c-black: #000000;
  --c-white: #ffffff;
  --c-muted: #828282;
  --c-muted-dark: #494949;
  --c-border: #b9b9b9;
  --c-border-strong: #828282;
  --c-placeholder: #d9d9d9;
  --c-surface: #fcfcfc;
  --c-field: #f6f6f6;
  --c-row: #f7f7f7;
  --c-chip: #e2e2e2;
  --c-accent: #fbdad6;          /* 英字ラベルのピル */
  --c-accent-text: rgba(63, 63, 63, .75);
  --c-btn: #000000;
  --c-btn-sub: #5d5d5d;
  --c-line: #d9d9d9;

  /* drawer */
  --c-drawer-text: #2e2e2e;
  --c-drawer-line: #cfcfcf;

  /* footer */
  --c-footer: #eeeeee;
  --c-footer-text: #333333;
  --c-footer-muted: #5a5a5a;
  --c-footer-divider: #c2c2c2;

  /* typography */
  --f-body: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", sans-serif;
  --f-alt: "Zen Kaku Gothic Antique", "Hiragino Sans", sans-serif;
  --f-en: "Inter", sans-serif;

  /* layout */
  --container: 1320px;
  --gutter: 30px;
  --sidebar-w: 340px;
  --col-gap: 56px;

  /* misc */
  --radius: 5px;
  --radius-lg: 10px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}
:root :where(a:where(:not(.wp-element-button)):hover) {
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   2. Base / reset
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--c-white);
  color: var(--c-text);
  font-family: var(--f-body);
  font-weight: 500;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 400;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.7;
  letter-spacing: 0;
  color: #333333;
  font-size: clamp(14px, 1.6vw, 20px);
}

img { max-width: 100%; height: auto; display: block; border: 0; }
a { color: inherit; text-decoration: none; transition: opacity 200ms var(--ease); }
a:hover { opacity: .65; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, h5, h6, p, figure { margin: 0; position: relative;}
h2:before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-45%);
  width: 10px;
  height: 40px;
  border-radius: 0;
  background: #e9b6b1;
  background-image: linear-gradient(240deg, #a05ade, #d1589a 50%, #f8b19b);
}
h3::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.4em;
    width: 8px;
    height: 26px;
    border-radius: 0;
    background: #e7cf78;
}

:focus-visible {
  outline: 2px solid var(--c-black);
  outline-offset: 3px;
}

.is-sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.l-container {
  width: 90%;
  margin-inline: auto;
  /*max-width: min(82.5rem, 480vw);*/
}

/* 共通の「>」シェブロン */
.c-chevron {
  width: 5px;
  height: 9px;
  flex: 0 0 auto;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(-45deg);
}

.wpcf7-spinner {
  display: block;	
}

/* --------------------------------------------------------------------------
   3. Header
   -------------------------------------------------------------------------- */
.l-header {
  position: fixed;
  width: 100%;
  background: var(--c-white);
  border-bottom: 1px solid #c2c2c2;
  z-index: 99;
}

.l-header__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 5px var(--gutter) 10px;
  margin-inline: auto;
  width: 95%;
  padding-inline: min(1.875rem, 8vw);
}

.l-header__logo { 
  flex: 0 0 auto; 
  width: 183.7px; 
  display: block;
}
.l-header__logo img { width: 100%; height: auto; }
.l-header__innerwrap {
    display: flex;
    flex-direction: row-reverse;
}
.l-header__tagline {
  /* margin-bottom: 0.5rem; */
  font-size: 0.8rem;
}

/* PCのみ表示する要素
.l-header__tagline,
.l-header__search,
.l-header__tools { display: none; } */

/* ハンバーガー */
.c-burger {
  width: 32px;
  height: 24px;
  position: relative;
  flex: 0 0 auto;
}
.c-burger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--c-black);
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.c-burger span:nth-child(1) { top: 0; }
.c-burger span:nth-child(2) { top: 11px; }
.c-burger span:nth-child(3) { top: 22px; }
.c-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(11px) rotate(45deg); }
.c-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.c-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-11px) rotate(-45deg); }

/* PCグローバルナビ */
.l-gnav { display: none; }

@media (max-width: 767px) {
  .l-header__inner {
    padding: 10px 15px;
    gap: 10px;
  }
  .l-header__innerwrap {
	display: block;
  }
  .l-header__tagline {
    display: block;
    margin-bottom: 0.3rem;
    font-size: 0.8rem;
    width: 240px;
    font-weight: 450;
	line-height: initial;
  }
  .c-burger {
    width: 16px;
    height: 10px;
  }
  .c-burger span:nth-child(2) {
    top: 6px;
  }
  .c-burger span:nth-child(3) {
    top: 12px;
  }
  .l-header__logo img {
    max-width: 200px;
  }
  .l-gnav {
    padding: 5px var(--gutter) 5px;
  }
  .l-gnav__list {
    font-size: 1.1rem;
    gap: clamp(4px, 0.4vw, 24px);
  }
}

@media (min-width: 768px) and (max-width: 899px) {
  .l-header__innerwrap {
	  flex-direction: column;
  }
  .l-header__inner {
      gap: min(1.875rem, 8vw);
    }
  .l-header__tagline {
      width: 100%;
      padding-left: 1rem;
	   margin-bottom: 0.5rem;
    }
}

@media (min-width: 769px) {
  /* ---- 1段目：ハンバーガー / ロゴ / キャッチ / 検索 / アイコン ---- */
  .l-header__inner {
    gap: 0;
    padding-top: 14px;
    align-items: center;
  }

  .c-burger { width: 20px; height: 18px; }
  .c-burger span:nth-child(2) { top: 9px; }
  .c-burger span:nth-child(3) { top: 18px; }
  .c-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .c-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .l-header__logo { margin-left: min(1.875rem, 8vw); display: block;}

  .l-header__tagline {
    display: block;
    margin-left: 16px;
    line-height: 1.4;
    letter-spacing: -.05em;
    /* white-space: nowrap; */
	max-width: 310px;
    color: var(--c-text);
  }

  .l-header__search {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
    width: 346px;
    height: 45px;
    padding: 0 20px;
    border: 1px solid #888888;
    border-radius: 999px;
    background: #f7f7f7;
    flex: 0 0 auto;
  }
  .l-header__search img { width: 18px; height: 18px; flex: 0 0 auto; opacity: .8; }
  .l-header__search input {
    width: 100%;
    border: 0;
    background: none;
    font: inherit;
    font-size: 14px;
    color: var(--c-black);
  }
  .l-header__search input::placeholder { color: #9b9b9b; }
  .l-header__search input:focus { outline: none; }

  .l-header__tools {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: 28px;
    flex: 0 0 auto;
  }
  .l-header__tools a { display: block; line-height: 0; }
  .l-header__tools img { width: 20px; height: 20px; }

  /* ---- 2段目：グローバルナビ ---- */
  .l-gnav {
    display: block;
    margin-inline: auto;
    padding: 5px var(--gutter) 3px;
    width: 95%;
    padding-inline: min(1.875rem, 8vw);
  }
  /* メニュー未設定（20260805）*/
  .l-gnav a[href="#"]:hover {
    text-decoration: none;
  }
  .l-gnav__list {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    gap: clamp(10px, 1.6vw, 30px);
  }
  .l-gnav__item { position: relative; }
  .l-gnav__link {
    display: inline-flex;
    align-items: center;
    font-family: var(--f-body);
    font-weight: 700;
    line-height: 1.5;
    white-space: nowrap;
    padding: 8px 19px;
  }
  .l-gnav__item:first-child .l-gnav__link { padding-left: 0; }
  .l-gnav__link .c-chevron { transform: rotate(45deg); margin-top: -4px; }

  .l-gnav__link[data-dropdown]::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0em;
    transition: transform 0.3s ease;
    display: block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid #383838;
  }
  .l-gnav__link[data-dropdown]:hover::after,
  .l-gnav__link[data-dropdown][aria-expanded="true"]::after {
    transform: translateY(-25%) rotate(-180deg);
  }

  /* ---- ドロップダウン（フェードのみ・0.2s ease） ---- */
  .l-gnav__sub {
    position: absolute;
    top: calc(100% + 13px);   /* ヘッダー下端に揃える */
    left: 0;
    background: var(--c-white);
    padding: 1.875rem;
	width: 315px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, visibility .2s ease;
  }
  .l-gnav__item:first-child .l-gnav__sub { left: -19px; }
  .l-gnav__item .l-gnav__sub li {}
  .l-gnav__item .l-gnav__sub li:not(:first-child) {
    padding-left: 1em;
  }
  .l-gnav__item:hover .l-gnav__sub,
  .l-gnav__item:focus-within .l-gnav__sub,
  .l-gnav__sub.is-open {
    opacity: 1;
    visibility: visible;
  }
  .l-gnav__sub a {
	display: flex;
	align-items: center;
	min-height: 50px;
	font-weight: 400;
	white-space: nowrap;
  }
}

/* --------------------------------------------------------------------------
   4. Drawer (SP / ハンバーガーメニュー)
   -------------------------------------------------------------------------- */
.l-drawer {
  position: fixed;
  inset: 0;
  z-index: 100;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0s linear 600ms;
}
.l-drawer.is-open { visibility: visible; pointer-events: auto; transition-delay: 0s; }

/* オーバーレイ：動画実測 rgba(0,0,0,.35)、パネルと同じ 0.6s ease */
.l-drawer__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .35);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 600ms ease,
    visibility 0s linear 600ms;
}
.l-drawer.is-open .l-drawer__overlay { 
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
  transition:
    opacity 600ms ease,
    visibility 0s linear 0s;
}

/* パネル：SPは画面いっぱい／左からスライドイン／0.6s ease */
.l-drawer__panel {
  position: absolute;
  inset: 0 auto 0 0;
	width: 100%;
  max-width: min(20.3125rem, 86.6666666667vw);
  display: flex;
  flex-direction: column;
  background: var(--c-white);
  padding: 0 var(--drawer-pad, 14px) 40px;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  transform: translateX(-100%);
  transition: transform 600ms ease;
  will-change: transform;
}
.l-drawer.is-open .l-drawer__panel { transform: translateX(0); }

@media (min-width: 768px) and (max-width: 899px) {
  .l-drawer__panel{ 
	  padding: 26px 30px;
  }
}

/* --- 上部バー（× ／ ログイン） --- */
.l-drawer__bar {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
@media (min-width: 768px) and (max-width: 899px) {
  .l-drawer__bar {
    margin-bottom: min(1.25rem, 5.3333333333vw);
  }
}
.l-drawer__close {
  position: relative;
  width: clamp(26px, 1.4vw, 40px);
  height: 25px;
  flex: 0 0 auto;
}
.l-drawer__close::before,
.l-drawer__close::after {
  content: "";
  position: absolute;
  top: 12px; 
  left: 1px;
  width: clamp(20px, 1.4rem, 40px);
  height: 2px;
  background: var(--c-black);
}
.l-drawer__close::before { transform: rotate(45deg); }
.l-drawer__close::after  { transform: rotate(-45deg); }

.l-drawer__login {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 14px;
  font-weight: 500;
}
.l-drawer__login img { width: 24px; height: 24px; }

/* --- 検索ボックス --- */
.l-drawer__search {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  margin-top: 8px;
  padding: 0 18px 0 11px;
  border: 1px solid #888888;
  border-radius: 999px;
  background: #f7f7f7;
}
.l-drawer__search img { width: 18px; height: 18px; flex: 0 0 auto; opacity: .8; }
.l-drawer__search { gap: 20px; }
.l-drawer__search input {
  width: 100%;
  border: 0;
  background: none;
  font: inherit;
  font-size: 14px;
  color: var(--c-black);
}
.l-drawer__search input::placeholder { color: #9b9b9b; }
.l-drawer__search input:focus { outline: none; }

/* --- メニューリスト --- */
.l-drawer__nav { flex: 0 0 auto; /* margin-top: 20px;*/ }
/* メニュー未設定（20260805）*/
.l-drawer__nav a[href="#"]:hover { text-decoration: none; }

.l-drawer__item { 
	border-top: 1px solid var(--c-drawer-line); 
    font-size: 1.1rem;
}
.l-drawer__item:last-child { 
	border-bottom: 1px solid var(--c-drawer-line); 
    font-weight: bold;
}

.l-drawer__row {
  display: flex;
  align-items: center;
  min-height: clamp(48px, 3vw, 60px);
  font-weight: bold;
  cursor: pointer;
}
.l-drawer__row > a,
.l-drawer__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1 1 auto;
  min-height: clamp(48px, 3vw, 60px);
  padding: 6px 12px 6px 0;
  font-weight: 400;
  color: var(--c-drawer-text);
}
.l-drawer__link:after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 4px solid #383838;
}

/* ＋ / − トグル */
.l-drawer__row > a { font-size: 15px; padding-right: 0; }

.l-drawer__toggle {
  position: absolute;
  width: 24px;
  height: 43px;
  flex: 0 0 auto;
  right: 18px;
}
.l-drawer__toggle::before,
.l-drawer__toggle::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 13px; height: 2px;
  margin: -1px 0 0 -6.5px;
  background: var(--c-drawer-text);
  transition: transform .6s var(--ease);
}
.l-drawer__toggle::after { transform: rotate(90deg); }
.l-drawer__toggle[aria-expanded="true"]::after { transform: rotate(0deg); }

/* --- SNS（リスト直下） --- */
.l-drawer__sns {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 24px;
}
.l-drawer__sns a { display: block; line-height: 0; }
.l-drawer__sns img {
    width: 32px;
    height: 32px;
}

/* --- サブメニュー（アコーディオン） --- */
.l-drawer__sub {
  height: 0;
  overflow: hidden;
  transition: height .6s var(--ease);
}
.l-drawer__sub ul { padding-bottom: 2px; }
.l-drawer__sub ul li { border-top: 1px solid #c2c2c2; margin: 0 10px; }
.l-drawer__sub ul li:first-child { 
  margin: 0;
  border: none;
  margin-bottom: 1rem;
}
.l-drawer__sub ul li:first-child a {
  padding: 4px 12px 4px 0px;
}
.l-drawer__sub ul li:first-child a:before {
  content: none;
}
.l-drawer__sub a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: min(0.6875rem, 2.9333333333vw) min(0.625rem, 2.6666666667vw);
  padding-left: min(1.5rem, 6.4vw);
  color: var(--c-drawer-text);
  font-size: 1.1rem;
  font-weight: normal;
  line-height: 1.5;
}
.l-drawer__sub a::after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 4px solid #383838;
}
.l-drawer__sub a[href="/service-list"]::after, .l-drawer__sub a[href="/ic/bland-list"]::after {
  content: none !important;
}
.l-drawer__sub a::before {
  content: "";
  position: absolute;
  top: 50%; left: 2px;
  width: 8px; height: 1px;
  background: var(--c-drawer-text);
}

/* PCでもハンバーガー／ドロワーを表示する */
@media (min-width: 900px) {
  /* PCはパネル幅を固定。項目・挙動はSPと同じ */
  .l-drawer__panel {
    --drawer-pad: 28px;
    padding-bottom: 48px;
    box-shadow: 4px 0 24px rgba(0, 0, 0, .12);
    padding: min(1.625rem, 6.9333333333vw) min(1.875rem, 8vw);
  }
  .l-drawer__bar { margin-bottom: min(1.25rem, 5.3333333333vw); }
  .l-drawer__nav { /* margin-top: 24px;*/ }
  .l-drawer__toggle { height: 48px; right: 34px;}
}

/* --------------------------------------------------------------------------
   5. Page head (タイトル・パンくず)
   -------------------------------------------------------------------------- */
.p-pagehead { width: 100%; margin: 2rem auto; }

.c-eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--radius);
  background: var(--c-accent);
  color: #000000;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: .02em;
  max-width: 12em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.8rem;
}

.c-page-title {
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--c-black);
  max-width: min(82.5rem, 480vw);
  font-size: 2.5rem;
  margin-top: 0.3rem;
}

.c-breadcrumb {
  border-top: 1px solid var(--c-line);
  font-family: var(--f-alt);
  font-weight: 400;
  color: rgba(0, 0, 0, .75);
  font-size: 1.1rem;
  width: 100%;
}
.c-breadcrumb ol { display: flex; flex-wrap: wrap; gap: 2px; width: 95%; margin: auto; padding-top: 1rem; }
.c-breadcrumb li + li::before { content: "＞"; margin: 0 2px; }

@media (max-width: 767px) {
  .c-page-title {
      margin-top: 0;
      font-size: 2rem;
      margin: 0 auto 1rem;
  }
  .p-pagehead {
	width: 100%;
    margin: auto;
  }
  .c-eyebrow {
    padding: 2px 5px;
	margin-bottom: 0.5rem;
	font-size: 0.6rem;
  }
  .c-breadcrumb ol {
	  font-size: 0.85rem;	
	}
}

@media (min-width: 768px) and (max-width: 899px) {
  .p-pagehead {
	width: 100%;
    margin: auto;
  }
  .c-eyebrow {
    padding: 2px 5px;
	margin-bottom: 0.5rem;
  }
  .c-page-title {
	margin-top: 0;
    font-size: 2.5rem;	
	margin: 0 auto 2rem;
  }
  .c-breadcrumb ol {
	  font-size: 1.1rem;	
	}
}

@media (min-width: 900px) {
  .c-breadcrumb { margin-top: 2rem; padding-top: 1rem; }
}

/* --------------------------------------------------------------------------
   6. Layout (本文 + サイドバー)
   -------------------------------------------------------------------------- */
.l-main { 
  padding-bottom: 80px; 
  padding-top: 110px;
  /*background: url(/img/layout/top/bg_service-list.jpg) no-repeat;*/
  background-size: contain;
}

.l-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
  margin-top: 32px;
}

.l-main a {
  text-decoration: underline;
  color: #0056b3;
}

.l-main a:hover {
  opacity: 0.7;
}

@media (min-width: 768px) {
  .l-main {
	padding-bottom: 110px;
	padding-top: 130px;
	}
}
@media (min-width: 900px) {
  .l-columns {
    grid-template-columns: minmax(0, 1fr) var(--sidebar-w);
    gap: var(--col-gap);
    margin-top: 44px;
  }
  .l-columns > div {
    width: 80%;
	margin: auto;
	margin-top: 0;
  }
  .l-columns > div figure.wp-block-image {}
  .l-columns > div figure.wp-block-image img {
    max-width: 80%;
    margin: auto;
  }
}
@media (max-width: 768px) {
  .l-columns {
    width: 95%;
    margin: 2rem auto;
  }
}

/* --------------------------------------------------------------------------
   7. Blog list (記事一覧)
   -------------------------------------------------------------------------- */
.p-postlist { display: flex; flex-direction: column; }
.p-postlist__item { border-bottom: 1px solid var(--c-line); }

.c-postcard {
  display: grid;
  grid-template-columns: 30% 1fr;
  gap: 16px;
  padding: 22px 0;
  align-items: start;
}
.c-postcard__thumb {
  position: relative;
  background: var(--c-placeholder);
  aspect-ratio: 162 / 100;
  overflow: hidden;
}
.c-postcard__thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.c-postcard__body { min-width: 0; }

.c-postcard__title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 2rem;
  padding-left: 22px;
}
.c-postcard__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.c-postcard__date, .c-postcard__modified_date {
  font-size: 12px;
  color: var(--c-muted);
}
.c-postcard__date:before {
  content:'Posted：';
}
.c-postcard__modified_date:before {
  content:'Updated：';
}
.c-postcard__cat {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: var(--radius);
  background: var(--c-chip);
  color: var(--c-muted-dark);
  font-size: 12px;
}
.c-postcard__excerpt {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-text);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.c-postcard__more {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 14px;
  color: var(--c-black);
}
.c-postcard__more:after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 4px solid #383838;
}

@media (max-width: 768px) {
  .c-postcard {
    display: block;
  }
  .c-postcard__body {
    margin-top: 1rem;
  }
  .c-postcard__title {
    font-size: 1rem;
  }
}

@media (min-width: 900px) {
  .c-postcard {
    grid-template-columns: 222px 1fr;
    gap: 30px;
    padding: 30px 0;
  }
  .c-postcard__thumb { aspect-ratio: 222 / 137; }
  .c-postcard__title { -webkit-line-clamp: 2; }
  .c-postcard__meta { margin-top: 12px; }
  .c-postcard__date, .c-postcard__modified_date,
  .c-postcard__cat { font-size: 14px; }
  .c-postcard__excerpt { margin-top: 14px; font-size: 16px; -webkit-line-clamp: 3; }
  .c-postcard__more {
    margin-top: 16px;
    font-size: 16px;
    justify-content: flex-end;
  }
}

/* ページネーション */
.c-pagination {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 46px;
}
.c-pagination__num,
.c-pagination__next {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 35px;
  height: 35px;
  color: var(--c-black);
}
.c-pagination__num { border: 1px solid var(--c-border-strong); }
.c-pagination__num.is-current {
  background: var(--c-black);
  border-color: var(--c-black);
  color: var(--c-white);
  background-image: linear-gradient(240deg, #a05ade, #d1589a 50%, #f8b19b);
}
.c-pagination__next { font-size: 16px; padding-inline: 8px; }

@media (min-width: 900px) {
  .c-pagination { justify-content: flex-start; }
}

/* --------------------------------------------------------------------------
   8. Sidebar
   -------------------------------------------------------------------------- */
.l-sidebar {}
.p-widget + .p-widget {
  margin-top: 40px;
  padding: 20px;
}
.p-widget__title {
  letter-spacing: 0.05em;
  position: relative;
  font-weight: 700;
  line-height: 2;
  margin-bottom: 0.5rem;
  padding-left: 20px;
  font-size: 1.4rem;
}

/* 検索 */
.c-searchform {
  position: relative;
  margin-top: 14px;
}
.c-searchform input[type="search"] {
  width: 100%;
  height: 50px;
  padding: 0 16px 0 56px;
  background: var(--c-field);
  border: 1px solid var(--c-border);
  border-radius: 25px;
  font-family: var(--f-body);
  font-size: 16px;
  color: var(--c-text);
  -webkit-appearance: none;
  appearance: none;
}
.c-searchform input::placeholder { color: var(--c-muted); }
.c-searchform__submit {
  position: absolute;
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
}
.c-searchform__submit img { width: 26px; height: 26px; }

/* 新着記事 */
.p-recent { margin-top: 16px; }
.p-recent li + li { margin-top: 12px; }
.p-recent a {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 14px;
  align-items: center;
  padding: 5px 0;
}
.p-recent__thumb {
  background: var(--c-placeholder);
  aspect-ratio: 86 / 53;
  overflow: hidden;
}
.p-recent__thumb img { width: 100%; height: 100%; object-fit: cover; }
.p-recent__title {
  font-size: 0.9rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* リンクリスト（カテゴリ / アーカイブ） */
.p-linklist { margin-top: 12px; }
.p-linklist a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  font-size: 16px;
}
.p-linklist a:after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 4px solid #383838;
}

@media (min-width: 900px) {
  .l-sidebar {}
  .p-widget__title { font-size: 1.4rem; }
  .p-linklist a { font-size: 18px; }
}

/* --------------------------------------------------------------------------
   9. Single post hero
   -------------------------------------------------------------------------- */
.p-hero {
  position: relative;
  background: var(--c-placeholder);
  overflow: hidden;
  margin-top: 20px;
}
.p-hero__media {
  position: absolute;
  inset: 0;
}
.p-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.p-hero__inner {
  position: relative;
  padding: 90px 30px 40px;
  min-height: 346px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.p-hero__lead {
  margin-top: 22px;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-text);
  max-width: 62ch;
  margin-left: 4rem;
}

@media (min-width: 900px) {
  .p-hero { margin-top: 26px; }
  .p-hero__inner {
    min-height: 476px;
    padding: 120px 70px 60px;
  }
  .p-hero__lead { margin-top: 28px; font-size: 20px; }
}

.p-single .c-breadcrumb { margin-top: 26px; }

/* --------------------------------------------------------------------------
   10. Entry (WordPress 本文エリア)
   -------------------------------------------------------------------------- */
.p-entry { font-size: 16px; line-height: 1.5; color: var(--c-text); }

.p-entry > * + * { margin-top: 1.4em; }

/* 見出し（左に角丸バー） */
.p-entry h2,
.p-entry h3,
.p-entry h4,
.p-entry h5,
.p-entry h6 {
  position: relative;
  padding-left: 22px;
  font-weight: 500;
  line-height: 1.8;
  color: var(--c-black);
}
.p-entry h2::before,
.p-entry h3::before,
.p-entry h4::before,
.p-entry h5::before,
.p-entry h6::before {
  content: "";
  position: absolute;
  left: 0;
  width: 8px;
  border-radius: var(--radius);
  background: var(--c-placeholder);
}
.p-entry h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-45%);
    width: 10px;
    height: 40px;
    border-radius: 0;
    background: #e9b6b1;
    background-image: linear-gradient(240deg, #a05ade, #d1589a 50%, #f8b19b);
}
.p-entry h3::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.4em;
    width: 8px;
    height: 26px;
    border-radius: 0;
    background: #e7cf78;
}
.p-entry h4::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.4em;
    width: 8px;
    height: 26px;
    border-radius: 0;
    background: #B2EBA7;
}
.p-entry h5::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.4em;
    width: 8px;
    height: 26px;
    border-radius: 0;
    background: #D6ECFB;
}
.p-entry h6::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.4em;
    width: 8px;
    height: 26px;
    border-radius: 0;
    background: #D6D9FB;
}
.p-entry h2 { font-size: 24px; margin-top: 1.8em; }
.p-entry h3 { font-size: 22px; }
.p-entry h4 { font-size: 20px; }
.p-entry h5 { font-size: 18px; }
.p-entry h6 { font-size: 17px; }

.p-entry p { font-size: 1rem; line-height: 1.9; }
.p-entry p.email_txt { font-size: 0.9rem; }
.p-entry a:not(.c-btn) {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.p-entry figure { margin: 2em 0; }
.p-entry figure img,
.p-entry > img {
  width: 100%;
  background: var(--c-placeholder);
  aspect-ratio: inherit;
  object-fit: cover;
}

/* リスト */
.p-entry ol {
  counter-reset: item;
  padding-left: 6px;
}
.p-entry ol li {
  counter-increment: item;
  position: relative;
  padding-left: 28px;
  line-height: 1.5;
}
.p-entry ol li + li { margin-top: 4px; }
.p-entry ol li::before {
  content: counter(item);
  position: absolute;
  left: 0;
  top: .1em;
  width: 18px; height: 18px;
  display: grid; place-items: center;
  border: 1px solid var(--c-black);
  border-radius: 50%;
  font-size: 11px;
  line-height: 1;
}
.p-entry ul { padding-left: 6px; }
.p-entry ul li {
  position: relative;
  padding-left: 28px;
  line-height: 1.5;
}
.p-entry ul li + li { margin-top: 4px; }
.p-entry ul li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: .55em;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--c-black);
}

/* テーブル */
.p-entry .c-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.p-entry table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}
.p-entry table th,
.p-entry table td {
  padding: 16px 20px;
  text-align: left;
  font-weight: 500;
  vertical-align: middle;
}
.p-entry table th { width: 34%; white-space: nowrap; }
.p-entry table tbody tr:nth-child(odd) { background: var(--c-row); }

/* ボタン */
.c-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 8px;
  background: var(--c-btn);
  color: var(--c-white);
  font-family: var(--f-en), var(--f-body);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
}
.c-btn--sub { background: var(--c-btn-sub); }
.c-btn-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin: 2.4em 0;
}

/* ギャラリー（2枚並び） */
.c-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 2em 0;
}
.c-gallery__item {
  background: var(--c-placeholder);
  aspect-ratio: 294 / 191;
  overflow: hidden;
}
.c-gallery__item img { width: 100%; height: 100%; object-fit: cover; }

/* リンクカード */
.c-linkcard {
  position: relative;
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 18px;
  align-items: start;
  margin: 2.6em 0 2em;
  padding: 26px 16px 18px;
  border: 1px solid var(--c-black);
}
.c-linkcard__label {
  position: absolute;
  top: -14px;
  left: -1px;
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  background: var(--c-black);
  color: var(--c-white);
  font-size: 12px;
  line-height: 1.4;
}
.c-linkcard__thumb {
  background: var(--c-placeholder);
  aspect-ratio: 160 / 104;
  overflow: hidden;
}
.c-linkcard__thumb img { width: 100%; height: 100%; object-fit: cover; }
.c-linkcard__title {
  position: relative;
  padding-left: 16px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--c-black);
}
.c-linkcard__title::before {
  content: "";
  position: absolute;
  left: 0; top: .25em;
  width: 5px; height: 20px;
  border-radius: var(--radius);
  background: var(--c-placeholder);
}
.c-linkcard__text {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.7;
}

@media (min-width: 900px) {
  .p-entry h2 { font-size: 1.6rem; }
  .p-entry h3 { font-size: 1.4rem; }
  .p-entry h4 { font-size: 1.3rem; }
  .p-entry h5 { font-size: 1.2rem; }
  .p-entry h6 { font-size: 1.1rem; }
  .p-entry table th, .p-entry table td { padding: 16px 32px; }
  .c-btn-group { gap: 24px; margin: 3em 0; }
  .c-gallery { gap: 18px; }
  .c-gallery__item { aspect-ratio: 433 / 282; }
  .c-linkcard {
    grid-template-columns: 249px 1fr;
    gap: 28px;
    padding: 34px 22px 24px;
  }
  .c-linkcard__label { top: -20px; padding: 7px 15px 8px; font-size: 16px; }
  .c-linkcard__thumb { aspect-ratio: 249 / 162; }
  .c-linkcard__title { padding-left: 22px; font-size: 24px; }
  .c-linkcard__title::before { width: 8px; height: 30px; }
  .c-linkcard__text { margin-top: 14px; font-size: 16px; }
}

/* --------------------------------------------------------------------------
   11. FAQ（アコーディオン）
   -------------------------------------------------------------------------- */
.p-faq { margin-top: 3em; }
.p-faq__title {
  font-size: 22px;
  font-weight: 500;
  color: var(--c-black);
  margin-bottom: 12px;
}
.c-accordion__item + .c-accordion__item { margin-top: 12px; }
.c-accordion__trigger {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 4px;
  text-align: left;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--c-black);
}
.c-accordion__icon {
  flex: 0 0 auto;
  width: 14px; height: 14px;
  margin-top: 5px;
  position: relative;
}
.c-accordion__icon::before,
.c-accordion__icon::after {
  content: "";
  position: absolute;
  background: var(--c-black);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.c-accordion__icon::before { top: 6px; left: 0; width: 14px; height: 2px; }
.c-accordion__icon::after  { top: 0; left: 6px; width: 2px; height: 14px; }
.c-accordion__trigger[aria-expanded="true"] .c-accordion__icon::after { transform: scaleY(0); }

.c-accordion__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .32s var(--ease);
}
.c-accordion__panel.is-open { grid-template-rows: 1fr; }
.c-accordion__panel > div { overflow: hidden; }
.c-accordion__body {
  background: var(--c-placeholder);
  padding: 18px 20px;
  font-size: 14px;
  line-height: 1.7;
}

@media (min-width: 900px) {
  .p-faq__title { font-size: 24px; }
  .c-accordion__trigger { font-size: 20px; padding: 16px 6px; }
  .c-accordion__body { padding: 18px 28px; font-size: 16px; }
}

/* --------------------------------------------------------------------------
   12. 前後の投稿ナビ
   -------------------------------------------------------------------------- */
.p-postnav {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 56px;
  padding-top: 8px;
}
.p-postnav a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 8px;
  font-family: var(--f-en), var(--f-body);
  font-size: 16px;
}
.p-postnav__prev .c-chevron { transform: rotate(135deg); }
.p-postnav a[aria-disabled="true"] { opacity: .3; pointer-events: none; }

@media (min-width: 900px) {
  .p-postnav { margin-top: 80px; }
  .p-postnav a { font-size: 18px; }
}

/* --------------------------------------------------------------------------
   13. Footer
   -------------------------------------------------------------------------- */
.l-footer {
  --footer-gutter: 16px;   /* SPの左右余白。本文と揃えたい場合は 30px に */
  background: var(--c-footer);
  padding: 30px 0;
  font-family: var(--f-body);
}
.l-footer .l-container { padding-inline: var(--footer-gutter); /*max-width: min(82.5rem, 480vw);*/}

/* --- 4カラム部分 --- */
.l-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
/* メニュー未設定（20260805）*/
.l-footer__grid a[href="#"]:hover {
  text-decoration: none;
}

/* ブランド（キャッチ＋ロゴ＋SNS） */
.l-footer__brand { margin-bottom: 12px; }
.l-footer__tagline {
  font-size: clamp(8px, 1.4vw, 14px);
  line-height: 1.3;
  color: var(--c-footer-text);
  margin: 0 0 8px;
}
.l-footer__brandrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.l-footer__logo { display: block; width: 125px; flex: 0 0 auto; }
.l-footer__logo img { width: 100%; height: auto; }

.l-footer__sns {
  display: flex;
  align-items: center;
  gap: 15px;
  flex: 0 0 auto;
}
.l-footer__sns a { display: block; line-height: 0; }
.l-footer__sns img {
  width: 35px;
  height: auto; 
}

/* リンクリスト */
.l-footer__heading {
  margin: 0 0 9px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}
.l-footer__heading a { color: var(--c-footer-text); font-weight: 700; /*font-size: min(1.2rem, 4.2666666667vw);*/ font-size: 1.1rem; }

.l-footer__list {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 14px;
  line-height: 1.5;
}
.l-footer__list--tight { gap: 1px; }
.l-footer__list li { line-height: 1.5; margin-bottom: 0.3rem; }
.l-footer__list:nth-child(2) li:not(:first-child) {
  padding-left: 1em;
}
.l-footer__list a {
  font-weight: 400;
  color: var(--c-footer-text);
  /*font-size: min(1.2rem, 4.2666666667vw);*/
  font-size: 1.1rem;
}
.l-footer__col { min-width: 0; }

/* --- 規約リンク（区切り線つき） --- */
.l-footer__legal { margin-top: 24px; }
.l-footer__legal ul {
  display: flex;
  flex-wrap: wrap;
  row-gap: 4px;
}
.l-footer__legal li {
  border-left: 1px solid var(--c-footer-divider);
  padding: 2px 12px;
}
.l-footer__legal li:last-child { border-right: 1px solid var(--c-footer-divider); }
.l-footer__legal ul { font-size: 12px; line-height: 1.5; }
.l-footer__legal a {
  color: var(--c-footer-text);
  white-space: nowrap;
}

.l-footer__copy {
  margin-top: 20px;
  text-align: center;
  font-size: 11px;
  color: var(--c-footer-muted);
}

@media (min-width: 767px) {
  .l-footer { --footer-gutter: var(--gutter); padding: 54px 0 30px; }

  .l-footer__grid {
    grid-template-columns: 2fr repeat(3, minmax(0, 1fr));
    align-items: start;
    gap: 0 5%;
  }

  .l-footer__brand { margin-bottom: 0; }
  .l-footer__tagline { /* max-width: 250px;*/  margin-bottom: 13px; font-size: 0.8rem; }

  .l-footer__brandrow {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }
  .l-footer__logo { width: 192px; }

  .l-footer__heading { margin-bottom: min(0.9375rem, 4vw); font-size: 1.1rem; }
  .l-footer__list { gap: 3px; font-size: 1.1rem; }
  .l-footer__list--tight { gap: 4px; }

  .l-footer__legal { margin-top: 64px; }
  .l-footer__legal ul { justify-content: center; }
  .l-footer__legal li { padding: 3px 22px; }
  .l-footer__legal ul { font-size: 14px; }

  .l-footer__copy { margin-top: 20px; font-size: min(0.7rem, 2.98667vw); }
}

@media screen and (max-width: 600px) {
  .l-footer {
    background: #eee;
    padding: 54px 0 10px;
  }
  .l-footer > .l-container {
    box-sizing: border-box;
    width: 95%;
    max-width: none;
    margin-inline: auto;
    padding-inline: 30px;
  }
  .l-footer .l-footer__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 20px;
  }
  .l-footer .l-footer__grid > * {
    width: 100%;
    min-width: 0;
    margin: 0;
    grid-column: auto;
  }
  .l-footer .l-footer__brand,
  .l-footer .l-footer__col:last-child {
    grid-column: 1 / -1;
  }
  .l-footer .l-footer__brand {
    padding-bottom: 10px;
  }
  .l-footer .l-footer__tagline {
    margin: 0 0 9.6px;
    font-size: 12.8px;
    font-weight: 400;
    line-height: 1.4;
  }
  .l-footer .l-footer__brandrow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 16px;
  }
  .l-footer .l-footer__logo {
    flex: 0 1 126px;
    width: 126px;
    max-width: 126px;
  }
  .l-footer .l-footer__logo img {
    display: block;
    width: 100%;
    height: auto;
  }
  .l-footer .l-footer__sns {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 15px;
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .l-footer .l-footer__sns li,
  .l-footer .l-footer__sns a,
  .l-footer .l-footer__sns img {
    display: block;
    width: 32px;
    height: 32px;
    margin: 0;
    padding: 0;
  }
  .l-footer .l-footer__heading {
    margin: 0 0 15px;
    font-size: 17.6px;
    line-height: 1.5;
  }
  .l-footer .l-footer__heading a {
    font-weight: 700;
  }
  .l-footer .l-footer__list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 17.6px;
    line-height: 1.5;
  }
  .l-footer .l-footer__list > li {
    margin: 0;
    padding: 0 0 0 13px;
  }
  .l-footer .l-footer__list a {
    font-size: 17.6px;
    font-weight: 400;
    line-height: inherit;
  }
  .l-footer .l-footer__col:not(:last-child)
  .l-footer__list > li:first-child {
    padding-left: 0;
    margin-bottom: 4.8px;
    line-height: 2;
  }
  .l-footer .l-footer__col[aria-label="サービス"]
  .l-footer__list {
    gap: 0;
    line-height: 1.7;
  }
  .l-footer .l-footer__col[aria-label="取扱ブランド"]
  .l-footer__heading {
    margin-bottom: 10px;
  }
  .l-footer .l-footer__list--tight > li {
    padding-left: 0;
  }
  .l-footer .l-footer__copy {
    margin: 16px 0 0;
    font-size: 11px;
    line-height: 1.7;
    text-align: center;
  }
}

@media screen and (min-width: 601px) and (max-width: 768px) {
  .l-footer {
    background: #eee;
    padding: 54px 0 10px;
  }

  .l-footer > .l-container {
    box-sizing: border-box;
    width: 95%;
    max-width: none;
    margin-inline: auto;
    padding-inline: 30px;
  }

  .l-footer .l-footer__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px 4%;
  }

  .l-footer .l-footer__grid > * {
    width: 100%;
    min-width: 0;
    margin: 0;
    grid-column: auto;
  }

  .l-footer .l-footer__brand {
    grid-column: 1 / -1;
    text-align: left;
  }

  .l-footer .l-footer__tagline {
    margin: 0 0 9.6px;
    font-size: 12.8px;
    font-weight: 400;
    line-height: 1.4;
    text-align: left;
  }

  .l-footer .l-footer__brandrow {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100%;
    gap: 15px;
    margin: 0 !important;
    padding: 0;
  }

  .l-footer .l-footer__logo {
    display: block;
    flex: 0 0 126px;
    width: 126px;
    max-width: 126px;
    margin: 0 !important;
  }

  .l-footer .l-footer__logo img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
  }

  .l-footer .l-footer__sns {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    justify-content: flex-end;
    flex: 0 0 auto;
    width: auto;
    gap: 15px;
    margin: 0 !important;
    padding: 0;
    list-style: none;
  }

  .l-footer .l-footer__sns li,
  .l-footer .l-footer__sns a,
  .l-footer .l-footer__sns img {
    display: block;
    width: 32px;
    height: 32px;
    margin: 0;
    padding: 0;
  }

  .l-footer .l-footer__heading {
    margin: 0 0 15px;
    font-size: 19.2px;
    line-height: 1.5;
  }

  .l-footer .l-footer__heading a {
    font-weight: 700;
  }

  .l-footer .l-footer__list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 19.2px;
    line-height: 1.5;
  }

  .l-footer .l-footer__list > li {
    margin: 0;
    padding: 0 0 0 13px;
  }

  .l-footer .l-footer__list a {
    font-size: 19.2px;
    font-weight: 400;
    line-height: inherit;
  }

  .l-footer .l-footer__col:not(:last-child)
  .l-footer__list > li:first-child {
    padding-left: 0;
    margin-bottom: 4.8px;
    line-height: 2;
  }

  .l-footer .l-footer__col[aria-label="サービス"]
  .l-footer__list {
    gap: 0;
    line-height: 1.7;
  }

  .l-footer .l-footer__list--tight > li {
    padding-left: 0;
  }

  .l-footer .l-footer__copy {
    margin: 16px 0 0;
    font-size: 11px;
    line-height: 1.7;
    text-align: center;
  }
}
/* --------------------------------------------------------------------------
   14. Utilities / a11y
   -------------------------------------------------------------------------- */
.is-noscroll { overflow: hidden; padding-right: var(--scrollbar-w, 0px); }

/* インライン要素をブロックとして扱う箇所の補正 */
.c-postcard__thumb,
.p-recent__thumb,
.p-recent__title,
.c-linkcard__thumb,
.c-linkcard__body,
.c-linkcard__title,
.c-linkcard__text,
.c-linkcard__label { display: block; }
.c-linkcard__label { display: inline-flex; }


@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   15. WordPress core compat
   WordPress のコア出力・ブロックエディタ由来のクラスを
   本テーマのデザイントークンに馴染ませるためのレイヤー。
   ここより上（1〜14）は静的コーディングをそのまま引き継いでいます。
   ========================================================================== */

/* --------------------------------------------------------------------------
   15-1. アクセシビリティ（スキップリンク・スクリーンリーダーテキスト）
   -------------------------------------------------------------------------- */
.screen-reader-text,
.is-sr-only {
  border: 0;
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  white-space: nowrap;
}

.skip-link:focus {
  clip-path: none;
  background: var(--c-white);
  color: var(--c-black);
  display: block;
  font-size: 14px;
  font-weight: 500;
  height: auto;
  left: 6px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 6px;
  width: auto;
  z-index: 100000;
  outline: 2px solid var(--c-black);
  outline-offset: 2px;
}

/* 管理バー表示時にドロワーが隠れないようにする */
.admin-bar .l-drawer { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar .l-drawer { top: 46px; }
}

/* --------------------------------------------------------------------------
   15-2. カスタムロゴ
   -------------------------------------------------------------------------- */
.l-header__logo .custom-logo,
.l-footer__logo .custom-logo { width: 100%; height: auto; display: block; }

.l-header__logo--text,
.l-footer__logo--text {
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 20px;
  color: var(--c-black);
  line-height: 1.3;
}

/* --------------------------------------------------------------------------
   15-3. アイキャッチ・サムネイル画像
   静的版ではプレースホルダ（#d9d9d9）だった枠に実画像を流し込む。
   -------------------------------------------------------------------------- */
.c-postcard__thumb img,
.p-recent__thumb img,
.c-linkcard__thumb img,
.p-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.c-postcard__thumb,
.p-recent__thumb,
.c-linkcard__thumb,
.p-hero__media { overflow: hidden; }

/* --------------------------------------------------------------------------
   15-4. 本文（the_content）内のコアブロック
   .p-entry 配下のタイポグラフィはそのまま活かしつつ、
   ブロック特有のクラスにだけ補正をあてる。
   -------------------------------------------------------------------------- */
.p-entry .alignleft {
  float: left;
  margin-right: 1.5em;
  margin-bottom: 1em;
}
.p-entry .alignright {
  float: right;
  margin-left: 1.5em;
  margin-bottom: 1em;
}
.p-entry .aligncenter {
  display: block;
  margin-inline: auto;
}
.p-entry .alignwide,
.p-entry .alignfull { margin-inline: 0; }

.p-entry::after { content: ""; display: table; clear: both; }

.p-entry figure { max-width: 100%; }
.p-entry img,
.p-entry iframe,
.p-entry video { max-width: 100%; height: auto; }

.p-entry .wp-caption { max-width: 100%; }
.p-entry .wp-caption-text,
.p-entry figcaption {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--c-muted);
  text-align: center;
}

/* 引用 */
.p-entry blockquote,
.p-entry .wp-block-quote {
  margin: 28px 0;
  padding: 18px 22px;
  border-left: 3px solid var(--c-border);
  background: var(--c-row);
  color: var(--c-text);
}
.p-entry blockquote > :first-child { margin-top: 0; }
.p-entry blockquote > :last-child { margin-bottom: 0; }
.p-entry blockquote cite {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  font-style: normal;
  color: var(--c-muted);
}

/* コード */
.p-entry pre,
.p-entry .wp-block-code {
  overflow-x: auto;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: #2e2e2e;
  color: #f5f5f5;
  font-size: 13px;
  line-height: 1.8;
}
.p-entry :not(pre) > code {
  padding: 2px 6px;
  border-radius: 3px;
  background: var(--c-row);
  font-size: .92em;
}

/* 区切り線 */
.p-entry hr,
.p-entry .wp-block-separator {
  height: 1px;
  border: 0;
  margin: 40px 0;
  background: var(--c-line);
}

/* テーブルブロック（静的版の .c-table-wrap と揃える） */
.p-entry .wp-block-table { overflow-x: auto; }
.p-entry .wp-block-table table { width: 100%; }

/* 埋め込み */
.p-entry .wp-block-embed__wrapper { position: relative; }
.p-entry .wp-block-embed.is-type-video .wp-block-embed__wrapper {
  padding-top: 56.25%;
}
.p-entry .wp-block-embed.is-type-video .wp-block-embed__wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* ギャラリーブロック */
.p-entry .wp-block-gallery { margin: 28px 0; }

/* ボタンブロックをテーマのボタン意匠に寄せる */
.p-entry .wp-block-button__link {
  border-radius: 999px;
  background: var(--c-btn);
  color: var(--c-white);
}
.p-entry .is-style-outline .wp-block-button__link {
  background: transparent;
  color: var(--c-btn);
  border: 1px solid var(--c-btn);
}

/* 画像ブロックの角丸 */
.p-entry .wp-block-image img { border-radius: var(--radius); aspect-ratio: 890 / 468; }

/* 続きを読む（more タグ） */
.p-entry .more-link { display: inline-block; margin-top: 12px; }

/* ページ分割 */
.p-entry .page-links {
  display: flex;
  gap: 8px;
  margin-top: 32px;
  font-size: 15px;
}

/* --------------------------------------------------------------------------
   15-5. ショートコード由来のコンポーネント
   -------------------------------------------------------------------------- */

/* リンクカードのリスト（[linkcard] を続けて置いたとき） */
.c-linkcard + .c-linkcard { margin-top: 16px; }

/* リンクカード内のメタ情報 */
.c-linkcard__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  font-size: 12px;
  color: var(--c-muted);
}

/* 外部リンクカードのドメイン表示 */
.c-linkcard__domain {
  font-size: 12px;
  color: var(--c-muted);
}

/* 内部リンクの一覧（[postlist]） */
.c-postlinks {
  margin: 28px 0;
  padding: 20px 22px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  background: var(--c-surface);
}
.c-postlinks__title {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--c-black);
}
.c-postlinks ul { margin: 0; padding: 0; list-style: none; }
.c-postlinks li + li { margin-top: 8px; }
.c-postlinks a {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-size: 15px;
  color: var(--c-black);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.c-postlinks a::before { content: "―"; color: var(--c-muted); }

/* 目次（[toc]） */
.c-toc {
  margin: 32px 0;
  padding: 22px 24px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  background: var(--c-surface);
}
.c-toc__title {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 500;
  color: var(--c-black);
  text-align: center;
}
.c-toc ol { margin: 0; padding-left: 1.4em; }
.c-toc ol ol { margin-top: 6px; padding-left: 1.2em; }
.c-toc li { margin-top: 6px; font-size: 15px; line-height: 1.7; }
.c-toc a { color: var(--c-black); text-decoration: none; }
.c-toc a:hover { text-decoration: underline; }

/* 見出しへのアンカー位置補正 */
.p-entry [id] { scroll-margin-top: 24px; }

/* --------------------------------------------------------------------------
   15-6. サイドバー：ウィジェットエリア
   標準ウィジェットを .p-widget の意匠に合わせる。
   -------------------------------------------------------------------------- */
.l-sidebar .widget { margin-bottom: 32px; }
.l-sidebar .widget-title,
.l-sidebar .wp-block-heading {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 500;
  color: var(--c-black);
}
.l-sidebar .widget ul { list-style: none; margin: 0; padding: 0; }
.l-sidebar .widget li + li { margin-top: 10px; }
.l-sidebar .widget a { color: var(--c-text); text-decoration: none; }
.l-sidebar .widget a:hover { text-decoration: underline; }

/* --------------------------------------------------------------------------
   15-7. 検索結果なし / 404
   -------------------------------------------------------------------------- */
.p-nocontent {
  padding: 60px 0 80px;
  text-align: center;
}
.p-nocontent__title {
  font-size: 22px;
  font-weight: 500;
  color: var(--c-black);
}
.p-nocontent__text {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--c-text);
}
.p-nocontent .c-searchform { max-width: 420px; margin: 26px auto 0; }
.p-nocontent .c-btn { margin-top: 26px; }

/* --------------------------------------------------------------------------
   15-8. コメント
   -------------------------------------------------------------------------- */
.comments-area {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--c-line);
}
.comments-title,
.comment-reply-title {
  font-size: 20px;
  font-weight: 500;
  color: var(--c-black);
  letter-spacing: 0.05em;
  position: relative;
  line-height: 2;
  margin-bottom: 0.5rem;
  padding-left: 20px;
}
.comment-list { list-style: none; margin: 24px 0 0; padding: 0; }
.comment-list li { margin-top: 20px; }
.comment-list .children { list-style: none; margin-left: 24px; padding: 0; }
.comment-body {
  padding: 18px 20px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: var(--c-surface);
  font-size: 15px;
  line-height: 1.9;
}
.comment-meta { margin-bottom: 8px; font-size: 13px; color: var(--c-muted); }
.comment-form label { display: block; margin-bottom: 6px; font-size: 14px; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: var(--c-field);
  font: inherit;
}
.comment-form .submit {
  margin-top: 12px;
  padding: 12px 28px;
  border: 0;
  border-radius: 999px;
  background: var(--c-btn);
  color: var(--c-white);
  font: inherit;
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   15-9. ページネーション（paginate_links 出力）
   -------------------------------------------------------------------------- */
.c-pagination__num.dots {
  border: 0;
  min-width: 20px;
}
.c-pagination__prev {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 35px;
  height: 35px;
  padding-inline: 8px;
  font-size: 16px;
  color: var(--c-black);
}
@media (min-width: 900px) {
  .c-pagination__prev { font-size: 18px; }
}

/* --------------------------------------------------------------------------
   15-10. 固定ページ
   -------------------------------------------------------------------------- */
.p-page { /* padding-bottom: 20px;*/ }
.p-page .p-entry { margin-top: 5rem; }
@media (max-width: 900px) {
  .p-page .p-entry { margin-top: 0; }
}

/* --------------------------------------------------------------------------
   15-11. ドロワー / グローバルナビ（メニュー管理からの出力補正）
   wp_nav_menu が付与するクラスを静的版のクラスに橋渡しする。
   -------------------------------------------------------------------------- */
.l-gnav__item.current-menu-item > .l-gnav__link,
.l-gnav__item.current-menu-ancestor > .l-gnav__link { font-weight: 700; }

/* メニュー未設定時の案内 */
.c-menu-fallback {
  padding: 12px 0;
  font-size: 14px;
  color: var(--c-muted);
}

/* --------------------------------------------------------------------------
   15-12. 印刷
   -------------------------------------------------------------------------- */
@media print {
  .l-header,
  .l-drawer,
  .l-sidebar,
  .l-footer,
  .c-pagination,
  .p-postnav { display: none !important; }
  .l-columns { grid-template-columns: 1fr; }
  .p-entry { font-size: 12pt; }
}

/* --------------------------------------------------------------------------
   15-13. お問い合わせページ
   -------------------------------------------------------------------------- */
.form-wrap {
    margin: 5rem auto;
    border-top: 1px solid #e0e0e0;
    font-family: sans-serif;
}
.form-inner {
    border-bottom: 1px solid #e0e0e0;
    padding: 3rem;
    border-left: 5px solid #d12e1a;
}
.form-inner:nth-child(even) {
    background-color: #fbfbfb;
}
.form-inner label {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
    font-weight: bold;
    color: #333;
    cursor: pointer;
}
.form-inner label b {
    color: #cc0000;
    margin-left: 5px;
    margin-right: 15px;
	
    font-weight: bold;
}
.wpcf7-form-control-wrap {
    width: 70%;
    margin-left: auto;
    display: block;
    font-weight: normal;
}
.wpcf7-form-control-wrap select, .wpcf7-form-control-wrap input, .wpcf7-form-control-wrap textarea {
	width: 100%;
    outline: none;
    font-size: 0.9rem;
}
.wpcf7-form-control-wrap textarea {
    min-height: 500px;
}
.wpcf7-form-control-wrap select, .wpcf7-form-control-wrap input {
	height: 50px;
    font-size: 0.9rem;
}
.form-inner:last-child .wpcf7-form-control-wrap {
    width: 100%;
    display: inline;
    margin-right: 1rem;
}
.codedropz-upload-inner h3 {
	padding-left: 0;
}
.codedropz-upload-inner h3:before {
	content: none;
}
.wpcf7-list-item {
    margin: 0;
}
.wpcf7-form-control-wrap input {
    vertical-align: middle;
}
.form-submit {
    margin-top: 40px;
    text-align: center;
}
.form-submit a, .wpcf7-submit, .form-wrap .confirm_button {
    background-color: #333;
    color: #fff;
    border: none;
    padding: 15px 60px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 50px;
    transition: opacity 0.3s, transform 0.1s;
    -webkit-appearance: none;
    display: inline-block;
}
.wpcf7-not-valid-tip {
    font-size: 0.7em;
}
@media (max-width: 768px) {
  .wpcf7-form-control-wrap { width: 100%; }
  .wpcf7-list-item .wpcf7-form-control-wrap input { height: 20px; width: 20px; }
  .form-inner:last-child .wpcf7-form-control-wrap { vertical-align: middle; }
}