@charset "UTF-8";
/* ============================================================
   なごみ — 共通スタイルシート
   AFFINGER5 (WING) テーマの構造を踏襲した静的版
   - クラス名は本家 AFFINGER5 に準拠 (.st-minihukidashi, .clip-memobox, .st-mybtn, nav.st5, .h2modoki, .entry-content など)
   - カラーパレットは「なごみ」用に温かなクリーム・黄系へ差し替え
   - ブレークポイント: 600px / 960px (AFFINGER5 公式と同一)
   ============================================================ */

/* ── カラー・フォント変数 ── */
:root {
  /* なごみ専用パレット (RTF より) */
  --color-bg:          #fff8ed;   /* サイト全体 (AFFINGER5 の #fafafa を置換) */
  --color-main-bg:     #ffffff;   /* main の白ベース */
  --color-content-bg:  #fff5dd;   /* セクションのクリーム */
  --color-nav:         #eae081;   /* PCナビ背景 */
  --color-nav-sp:      #fcde71;   /* スマホナビ */
  --color-heading-bg:  #ffee82;   /* H2/H3 背景 */
  --color-heading-line:#e8c850;   /* 見出しの上下罫線 */
  --color-accent:      #e8a000;
  --color-accent-dark: #a76d00;
  --color-text:        #1a1a1a;   /* AFFINGER5 のメインテキスト色 */
  --color-text-sub:    #424242;
  --color-text-mute:   #666666;
  --color-link:        #a76d00;   /* なごみ用 (AFFINGER5 の #4682b4 → 黄系へ) */
  --color-link-hover:  #b22222;   /* AFFINGER5 既定 */
  --color-border:      #e8d89a;
  --color-border-light:#E0E0E0;
  --color-grey-line:   #cccccc;
  --color-icon:        #e8956a;   /* clip-memobox のアイコン既定色 (暖かい薄オレンジ) */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "メイリオ", "Noto Sans JP", meiryo, sans-serif;
}

/* ── リセット (AFFINGER5 準拠) ── */
*, code {
  font-family: var(--font-sans);
  margin: 0; padding: 0;
  box-sizing: border-box;
}
html, body { height: 100%; }

body {
  min-width: 320px;
  word-wrap: break-word;
  background-color: var(--color-bg);
  color: var(--color-text);
  font-size: 16px;
  line-height: 1.8;
  counter-reset: stcnt;
  -webkit-font-smoothing: antialiased;
}

main, article, aside, header, canvas, details, figcaption,
figure, footer, nav, section, summary { display: block; }

hr {
  height: 1px;
  background-color: var(--color-border-light);
  border: none;
  margin: 40px 0;
}

a {
  color: var(--color-link);
  text-decoration: none;
  transition: color .2s, opacity .2s;
}
a:hover { color: var(--color-link-hover); }

img, video, object {
  max-width: 100%;
  height: auto;
  border: none;
  vertical-align: bottom;
  box-sizing: border-box;
}

ul, ol { padding-left: 1.4em; }

/* スキップリンク */
.skip-link {
  position: absolute; top: -40px; left: 0;
  background: var(--color-accent); color: #fff;
  padding: 6px 12px; z-index: 9999; border-radius: 0 0 4px 0;
  transition: top .2s;
}
.skip-link:focus { top: 0; }

/* ============================================================
   レイアウトコンテナ (#wrapper → #wrapper-in)
   ============================================================ */
#wrapper    { overflow: visible; padding: 0; width: 100%; }
#wrapper-in { width: 100%; }

#st-header, #content, #footer {
  margin: 0 auto;
  width: 100%;
}

/* ============================================================
   ヘッダー (#st-header → #headbox → #header-l / #header-r)
   ============================================================ */
#st-header {
  background: var(--color-bg);
  border-bottom: 2px solid var(--color-nav);
  position: sticky; top: 0; z-index: 1000;
}

#headbox-bg {
  background: var(--color-bg);
}

#headbox {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* ロゴ・サイト名 */
#header-l {
  display: flex;
  align-items: center;
  max-width: 450px;
}
#st-text-logo .sitename {
  font-size: 22px;
  line-height: 1.5;
  padding: 0; margin: 0;
}
#st-text-logo .sitename a {
  color: var(--color-accent-dark);
  text-decoration: none;
  font-weight: bold;
  letter-spacing: 0.05em;
}
#st-text-logo .sitename a:hover { opacity: 0.8; color: var(--color-accent-dark); }
#st-header h1.descr,
#st-header .descr {
  font-size: 12px;
  font-weight: normal;
  color: var(--color-text-mute);
  line-height: 1.5;
  letter-spacing: 0.05em;
}

/* ヘッダー右側 */
#header-r {
  padding-top: 0;
  max-width: calc(100% - 320px);
}
#header-r .footermenust {
  list-style: none;
  padding: 0 10px 0 0;
  margin: 0 0 6px;
  text-align: right;
  display: flex;
  justify-content: flex-end;
  gap: 0;
}
#header-r .footermenust li {
  border-right: 1px solid var(--color-text);
  font-size: 12px;
  line-height: 18px;
  margin: 0;
  padding: 0 10px;
}
#header-r .footermenust li:last-child { border-right: none; }
#header-r .footermenust a {
  font-size: 12px;
  color: var(--color-text);
}

/* ハンバーガー (スマホ) */
.nav-toggle {
  display: none;
  background: var(--color-nav-sp);
  border: none;
  border-radius: 4px;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
}

/* ============================================================
   PCメニュー (nav.st5 — AFFINGER5 公式構造に準拠)
   ============================================================ */
nav.st5 {
  display: none; /* スマホ・タブレット時は非表示 */
}

@media print, screen and (min-width: 960px) {
  nav.st5 {
    display: block;
    background: var(--color-nav);
    padding: 6px 8px;
    margin: 0;
    border-radius: 0;
  }
  nav.st5 > ul {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  nav.st5 li {
    list-style: none;
    position: relative;
    font-size: 14px;
    padding: 5px 15px;
    border-right: 1px solid rgba(0,0,0,0.18);
  }
  nav.st5 li:last-child { border-right: none; }
  nav.st5 li a {
    color: #333;
    text-decoration: none;
    font-weight: 600;
    padding: 3px 0;
    display: inline-block;
  }
  nav.st5 li a:hover,
  nav.st5 li a.current {
    text-decoration: underline;
    color: var(--color-accent-dark);
  }
  /* ドロップダウン (.sub-menu / .children) */
  nav.st5 li .sub-menu,
  nav.st5 li .children {
    display: none;
    position: absolute;
    top: 100%; left: 0;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    min-width: 220px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 6px 0;
    list-style: none;
    z-index: 200;
  }
  nav.st5 li:hover > .sub-menu,
  nav.st5 li:hover > .children { display: block; }
  nav.st5 li .sub-menu li,
  nav.st5 li .children li {
    border-right: none;
    border-bottom: 1px dashed var(--color-border);
    padding: 0;
    float: none;
  }
  nav.st5 li .sub-menu li:last-child,
  nav.st5 li .children li:last-child { border-bottom: none; }
  nav.st5 li .sub-menu a,
  nav.st5 li .children a {
    display: block;
    padding: 8px 14px;
    font-size: 13px;
    white-space: normal;
    color: var(--color-text);
  }
  nav.st5 li .sub-menu a:hover,
  nav.st5 li .children a:hover {
    background: var(--color-heading-bg);
    text-decoration: none;
  }
}

/* ============================================================
   ヘッダー画像・スライダー領域
   ============================================================ */
.st-header-image {
  position: relative;
  overflow: hidden;
  background: var(--color-content-bg);
}
.st-header-image img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  object-position: center top;
  display: block;
  opacity: 0.92;
}
.st-header-image-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  background: linear-gradient(
    to bottom,
    rgba(255,248,237,0.15) 0%,
    rgba(255,248,237,0.65) 100%
  );
  padding: 40px 20px;
}
.st-header-image-overlay .catch {
  font-size: clamp(2rem, 6vw, 3.4rem);
  font-weight: 700;
  color: #5a3e00;
  letter-spacing: 0.18em;
  text-shadow: 0 1px 4px rgba(255,255,255,0.85);
  line-height: 1.3;
}
.st-header-image-overlay .sub {
  font-size: clamp(0.9rem, 2.4vw, 1.15rem);
  color: #6b4e00;
  margin-top: 12px;
  letter-spacing: 0.12em;
  text-shadow: 0 1px 3px rgba(255,255,255,0.9);
}

/* ============================================================
   メイン (main) — AFFINGER5 二層構造を踏襲
   body=地色 / main=白ベース で浮かせる
   ============================================================ */
#content-w {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 0;
}

main {
  background: var(--color-main-bg);
  padding: 30px 24px;
  margin: 0 16px 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

main.colum1 { padding: 30px 24px; }

@media print, screen and (min-width: 960px) {
  main { padding: 40px 60px; margin: 0 0 20px; }
}

.post { padding-bottom: 10px; }
section { margin-bottom: 3em; }

/* アイキャッチ */
.st-eyecatch {
  margin: -30px -24px 20px;
  position: relative;
}
.st-eyecatch img { width: 100%; }

/* ============================================================
   見出し (.entry-content h2/h3/h4, .h2modoki ...)
   ベースは AFFINGER5 (背景+上下罫線) を踏襲し、色だけクリーム黄系に
   ============================================================ */
.entry-content h2,
.h2modoki {
  font-size: 20px;
  line-height: 1.5;
  font-weight: bold;
  color: var(--color-text);
  background: var(--color-heading-bg);
  margin: 30px 0 20px;
  padding: 12px 20px;
  border-top: 1px solid var(--color-heading-line);
  border-bottom: 1px solid var(--color-heading-line);
}

.entry-content h3,
.h3modoki {
  font-size: 19px;
  line-height: 1.5;
  font-weight: bold;
  color: var(--color-text);
  background: var(--color-content-bg);
  margin: 26px 0 18px;
  padding: 10px 18px;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.entry-content h4,
.h4modoki {
  font-size: 17px;
  line-height: 1.5;
  font-weight: bold;
  color: var(--color-accent-dark);
  background-color: var(--color-bg);
  padding: 10px 15px;
  margin: 22px 0 16px;
  border-left: 4px solid var(--color-accent);
}

.entry-content h5 {
  font-size: 15px;
  font-weight: bold;
  margin: 18px 0 12px;
  color: var(--color-accent-dark);
}

.entry-content p,
.post h5 { margin-bottom: 20px; }

.entry-content ul,
.entry-content ol { margin: 0.8em 0 1.4em 1.4em; }
.entry-content li { margin-bottom: 0.4em; }

.entry-content strong { color: var(--color-accent-dark); }

.entry-content blockquote {
  background: var(--color-content-bg);
  border-left: 4px solid var(--color-nav);
  padding: 14px 20px;
  margin: 1.5em 0;
  border-radius: 0 6px 6px 0;
  font-style: italic;
  color: var(--color-text-sub);
}

/* ============================================================
   カテゴリラベル (.catname / .st-catgroup) — AFFINGER5 準拠
   ============================================================ */
.catname {
  font-size: 13px;
  line-height: 1em;
  color: var(--color-text);
  display: inline-block;
  white-space: nowrap;
  padding: 6px 10px;
  margin-top: 5px;
  border-radius: 2px;
  text-decoration: none;
  background: var(--color-heading-bg);
}
a.catname:hover { background: var(--color-nav); color: var(--color-text); }
.st-catgroup { font-size: 12px; line-height: 18px; padding: 5px 0 10px; }

/* ============================================================
   [st-minihukidashi] ミニ吹き出し
   — AFFINGER5 出力 HTML をそのまま採用
   ============================================================ */
.st-minihukidashi {
  font-size: 100%;
  display: inline-block;
  position: relative;
  background: var(--color-heading-bg);
  color: var(--color-text);
  line-height: 1.4;
  margin-bottom: 20px;
  padding: 10px 20px;
  border-radius: 30px;
  z-index: 2;
}
.st-minihukidashi .st-minihukidashi-arrow {
  content: '';
  position: absolute;
  margin-left: -10px;
  border: 10px solid transparent;
  border-top: 10px solid var(--color-heading-bg);
  top: 100%;
  left: 40px;
}
.st-minihukidashi .st-minihukidashi-flexbox {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.st-minihukidashi img {
  border-radius: 50%;
  width: 30px;
  height: auto;
  margin-right: 10px;
}
.st-minihukidashi .fa,
.st-minihukidashi .icon { margin-right: 5px; }

@media print, screen and (max-width: 599px) {
  .st-minihukidashi { font-size: 90%; }
}

/* ============================================================
   [st-cmemo] クリップメモボックス
   — .clip-memobox + .clip-fonticon + .clip-memotext (table 構造)
   ============================================================ */
.clip-memobox {
  display: table;
  width: 100%;
  background: var(--color-content-bg);
  border-radius: 4px;
  margin-bottom: 20px;
  padding: 12px;
  border: 1px solid var(--color-border);
}
.clip-fonticon,
.clip-memotext {
  display: table-cell;
  vertical-align: middle;
}
.clip-fonticon {
  padding: 0 15px 0 10px;
  text-align: center;
  color: var(--color-icon);
  font-size: 1.8em;
  width: 60px;
}
.clip-memotext {
  padding-left: 15px;
  border-left: 1px solid var(--color-border-light);
  width: 100%;
  box-sizing: border-box;
}
.clip-memotext > * { font-size: 95%; line-height: 1.7; }
.clip-memotext p { margin-bottom: 10px; }
.clip-memotext p:last-child { margin-bottom: 0; }
.clip-memotext ul, .clip-memotext ol { margin: 4px 0 4px 1.4em; }

/* カラーバリエーション (なごみ用) */
.clip-memobox.is-yellow { background: #fffde7; border-color: #ffe082; }
.clip-memobox.is-cream  { background: var(--color-content-bg); border-color: var(--color-border); }
.clip-memobox.is-warm   { background: #fff3d6; border-color: #f0d27a; }

/* ============================================================
   .st-mybox / .st-memobox2 — タイトル付きボックス
   ============================================================ */
.st-mybox {
  position: relative;
  margin: 25px 0;
  padding: 0 20px;
  border: 2px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-main-bg);
}
.st-in-mybox { padding: 20px 0; }
.st-in-mybox p { margin-bottom: 10px; }
.st-in-mybox p:last-child { margin-bottom: 0; }
.st-mybox .st-mybox-title {
  position: absolute;
  top: -0.8em;
  left: 14px;
  padding: 0 12px;
  background: var(--color-main-bg);
  color: var(--color-accent-dark);
  font-weight: bold;
  line-height: 1.5;
}

/* ============================================================
   [st-mybutton] マイボタン (.st-mybtn)
   ============================================================ */
.st-mybtn {
  box-sizing: border-box;
  margin: 14px auto;
  display: block;
  text-align: center;
  border: 1px solid var(--color-grey-line);
  border-radius: 5px;
  background: var(--color-main-bg);
  transition: opacity .2s, transform .15s, box-shadow .15s;
}
.st-mybtn:hover { opacity: 0.75; }
.st-mybtn a {
  padding: 12px 20px;
  text-align: center;
  display: block;
  width: 100%; height: 100%;
  text-decoration: none;
  color: var(--color-text);
  font-weight: bold;
}
.st-mybtn .fa { margin-right: 8px; }
.st-mybtn.st-btn-default { width: 100%; }

/* 塗りつぶし(Primary) - なごみ用は黄金系で再彩色 */
.st-mybtn.is-primary {
  background-color: var(--color-accent);
  border: 0 solid var(--color-accent-dark);
  box-shadow: 0 3px 0 var(--color-accent-dark);
  border-radius: 5px;
}
.st-mybtn.is-primary a { color: #fff; }

.st-mybtn.is-yellow {
  background-color: var(--color-heading-bg);
  border: 1px solid var(--color-heading-line);
  box-shadow: 0 3px 0 var(--color-heading-line);
}
.st-mybtn.is-yellow a { color: #5a3e00; }

.st-mybtn.is-outline {
  background: transparent;
  border: 2px solid var(--color-accent);
}
.st-mybtn.is-outline a { color: var(--color-accent-dark); }

/* ミニサイズ (st-mybtn-mini) */
.st-mybtn.st-mybtn-mini {
  border: none;
  margin: 0 3px 10px;
  display: inline-block;
  width: auto;
  background: transparent;
  box-shadow: none;
}
.st-mybtn.st-mybtn-mini a {
  padding: 6px 14px;
  display: inline-block;
  text-align: left;
  width: auto; height: auto;
  font-size: 95%;
  background: var(--color-heading-bg);
  border-radius: 4px;
}

.btn-wrap { text-align: center; margin: 2em 0; }
.btn-wrap .st-mybtn { display: inline-block; margin: 6px 6px; width: auto; }
.btn-wrap .st-mybtn a { padding: 12px 28px; }

/* ============================================================
   カードグリッド (ホームのサービスカード等)
   ============================================================ */
.st-cardbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin: 2em 0;
  list-style: none;
  padding: 0;
}
.st-cardbox {
  background: var(--color-main-bg);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.st-cardbox:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.08);
}
.st-cardbox > a {
  display: block;
  color: inherit;
  text-decoration: none;
}
.st-cardbox-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}
.st-cardbox-body { padding: 18px 20px 20px; }
.st-cardbox-title {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 8px;
  color: var(--color-accent-dark);
  line-height: 1.45;
}
.st-cardbox-text {
  font-size: 13.5px;
  color: var(--color-text-sub);
  line-height: 1.8;
  margin-bottom: 0;
}
.st-cardbox-more {
  display: block;
  text-align: right;
  margin-top: 12px;
  font-size: 12px;
  font-weight: bold;
  color: var(--color-accent);
}

/* サービス系アイコンカード */
.st-service-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.st-service-item {
  background: var(--color-main-bg);
  border: 2px solid var(--color-heading-bg);
  border-radius: 10px;
  padding: 24px 20px;
  text-align: center;
  transition: box-shadow .2s, transform .2s;
}
.st-service-item:hover {
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}
.st-service-item a {
  color: inherit;
  text-decoration: none;
  display: block;
}
.st-service-icon { font-size: 2.4rem; margin-bottom: 10px; line-height: 1; }
.st-service-title {
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 8px;
  color: #5a3e00;
  line-height: 1.5;
}
.st-service-desc {
  font-size: 13px;
  color: var(--color-text-sub);
  line-height: 1.7;
}

/* ============================================================
   投稿リスト (.newpost / ブログ・お知らせ)
   ============================================================ */
.newpost-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.newpost-item {
  border-bottom: 1px dashed var(--color-border);
  padding: 14px 0;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
}
.newpost-item:last-child { border-bottom: none; }
.newpost-date {
  font-size: 12px;
  color: var(--color-text-mute);
  white-space: nowrap;
}
.newpost-cat {
  display: inline-block;
  background: var(--color-nav);
  color: #5a3e00;
  font-size: 11px;
  font-weight: bold;
  padding: 2px 10px;
  border-radius: 20px;
  flex-shrink: 0;
}
.newpost-title-link {
  font-size: 14px;
  color: var(--color-text);
  flex: 1 1 auto;
  min-width: 200px;
}
.newpost-title-link:hover { color: var(--color-accent-dark); }

/* ============================================================
   セクション (ホームのブロック)
   ============================================================ */
.st-section {
  padding: 48px 16px;
}
.st-section.is-alt {
  background: var(--color-content-bg);
  margin: 30px -24px;
  padding: 48px 24px;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
@media print, screen and (min-width: 960px) {
  .st-section.is-alt { margin: 30px -60px; padding: 56px 60px; }
}
.st-section-inner { max-width: 880px; margin: 0 auto; }
.st-section-heading {
  text-align: center;
  margin-bottom: 32px;
}
.st-section-heading h2 {
  display: inline-block;
  font-size: clamp(18px, 3vw, 24px);
  font-weight: bold;
  color: #5a3e00;
  background: var(--color-heading-bg);
  padding: 8px 28px;
  border-radius: 30px;
  letter-spacing: 0.08em;
  margin: 0;
  border: none;
}
.st-section-heading p {
  margin-top: 12px;
  color: var(--color-text-mute);
  font-size: 13px;
}

/* イントロ */
.home-intro {
  text-align: center;
  padding: 40px 16px 24px;
}
.home-intro .lead {
  font-size: clamp(15px, 2.2vw, 17px);
  line-height: 1.95;
  max-width: 620px;
  margin: 16px auto 18px;
  color: var(--color-text);
}

/* ============================================================
   代表挨拶ボックス
   ============================================================ */
.message-box {
  background: var(--color-main-bg);
  border-radius: 10px;
  padding: 28px 30px;
  margin: 2em 0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  border: 1px solid var(--color-border);
}
.message-box p { margin-bottom: 14px; }
.message-box p:last-of-type { margin-bottom: 0; }
.message-box .representative {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px dashed var(--color-border);
}
.message-box .rep-photo {
  width: 72px; height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--color-heading-bg);
  flex-shrink: 0;
}
.message-box .rep-name { font-weight: bold; color: #5a3e00; }
.message-box .rep-title { font-size: 12px; color: var(--color-text-mute); margin-top: 2px; }

/* ============================================================
   フッター (#footer)
   ============================================================ */
#footer {
  background: linear-gradient(180deg, #4a3500 0%, #2c1f00 100%);
  color: #fff;
  margin-top: 60px;
  position: relative;
}
#footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--color-heading-line) 20%,
    var(--color-heading-bg) 50%,
    var(--color-heading-line) 80%,
    transparent 100%);
}
.footer-in {
  max-width: 1100px;
  margin: 0 auto;
  padding: 56px 28px 44px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 56px;
}
.footer-l, .footer-r, .footer-r-2, .footer-r-3 {
  float: none; width: auto; padding: 0;
}
.footer-brand .footer-logo {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-heading-bg);
  margin: 0 0 4px;
  line-height: 1.2;
}
.footer-brand .footer-tagline {
  font-size: 11px;
  letter-spacing: 0.28em;
  color: rgba(255,255,255,0.45);
  margin: 0 0 20px;
  text-transform: uppercase;
}
.footer-brand .footer-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  line-height: 1.9;
  margin: 0;
}
#footer .footer-section h3 {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-heading-bg);
  margin: 0 0 20px;
  padding: 0 0 12px;
  border-bottom: 1px solid rgba(232, 200, 80, 0.25);
  letter-spacing: 0.18em;
  background: none;
  border-top: none;
  text-transform: uppercase;
}
#footer p, #footer li {
  font-size: 13px;
  color: rgba(255,255,255,0.78);
  line-height: 2;
}
#footer .footer-nav { list-style: none; padding: 0; margin: 0; }
#footer .footer-nav li { margin-bottom: 2px; }
#footer .footer-nav a {
  display: inline-block;
  position: relative;
  padding-left: 14px;
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}
#footer .footer-nav a::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--color-heading-line);
  opacity: 0.55;
  transition: opacity 0.2s ease;
}
#footer .footer-nav a:hover {
  color: var(--color-heading-bg);
  transform: translateX(3px);
}
#footer .footer-nav a:hover::before { opacity: 1; }
#footer .footer-nav .footer-ext::after {
  content: '↗';
  margin-left: 6px;
  font-size: 11px;
  opacity: 0.6;
}
#footer a {
  color: rgba(255,255,255,0.82);
  text-decoration: none;
}
#footer a:hover { color: var(--color-heading-bg); }
#footer .copy,
.footer-copy {
  background: rgba(0,0,0,0.3);
  text-align: center;
  padding: 18px 20px;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.06em;
  border-top: 1px solid rgba(255,255,255,0.04);
}
#footer .copy strong { color: var(--color-heading-bg); font-weight: 600; }
#footer .copy a, .footer-copy a { color: rgba(255,255,255,0.55); }
#footer .copy a:hover, .footer-copy a:hover { color: var(--color-heading-bg); }
#footer .copy .copy-sep {
  display: inline-block;
  margin: 0 10px;
  opacity: 0.4;
}

@media (max-width: 768px) {
  .footer-in {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 44px 24px 36px;
  }
  .footer-brand .footer-logo { font-size: 22px; }
}

/* ============================================================
   トップへ戻る
   ============================================================ */
.pagetop {
  position: fixed;
  bottom: 24px; right: 24px;
  background: var(--color-accent);
  color: #fff;
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.18);
  transition: background .2s, transform .2s;
  z-index: 500;
}
.pagetop:hover { background: var(--color-accent-dark); transform: translateY(-3px); color: #fff; }

/* ============================================================
   ユーティリティ
   ============================================================ */
.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }
.mt-sm { margin-top: 12px; }
.mt-md { margin-top: 24px; }
.mt-lg { margin-top: 40px; }
.mb-sm { margin-bottom: 12px; }
.mb-md { margin-bottom: 24px; }
.img-rounded { border-radius: 12px; }
.img-shadow  { box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
.divider {
  border: none;
  border-top: 2px dotted var(--color-border);
  margin: 2.5em 0;
}

/* ============================================================
   レスポンシブ (AFFINGER5 ブレークポイント)
   <600px : スマホのみ
   600-959 : タブレット
   >=960  : PC
   ============================================================ */

/* スマホ・タブレット共通 (<=959px) */
@media only screen and (max-width: 959px) {
  #headbox { padding: 12px 16px; }
  #header-r { display: none; }
  #header-r.is-mobile-show { display: block; max-width: 100%; }

  .nav-toggle { display: block; }

  /* ハンバーガー対応モバイルメニュー */
  .st-mobile-menu {
    display: none;
    width: 100%;
    background: var(--color-nav-sp);
    order: 3;
    margin-top: 8px;
    border-radius: 4px;
  }
  .st-mobile-menu.open { display: block; }
  .st-mobile-menu ul {
    list-style: none;
    padding: 0; margin: 0;
  }
  .st-mobile-menu li {
    border-bottom: 1px solid rgba(255,255,255,0.4);
  }
  .st-mobile-menu li:last-child { border-bottom: none; }
  .st-mobile-menu a {
    display: block;
    padding: 12px 16px;
    color: var(--color-text);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
  }
  .st-mobile-menu a:hover,
  .st-mobile-menu a.current { background: rgba(255,255,255,0.4); }
  .st-mobile-menu .sub-menu {
    list-style: none;
    padding: 0;
    background: rgba(255,255,255,0.3);
  }
  .st-mobile-menu .sub-menu a {
    padding-left: 32px;
    font-size: 13px;
    font-weight: normal;
  }

  main { padding: 24px 18px; margin: 0 10px 16px; }
  .st-eyecatch { margin: -24px -18px 16px; }
  .st-header-image img { max-height: 280px; }
  .st-header-image-overlay { padding: 24px 16px; }
  .st-section { padding: 36px 16px; }
  .st-section.is-alt { margin: 24px -18px; padding: 36px 18px; }

  .st-cardbox-grid { grid-template-columns: 1fr; }
  .st-service-list { grid-template-columns: 1fr 1fr; }

  .message-box { padding: 22px 20px; }
  .message-box .representative { flex-direction: column; gap: 12px; text-align: center; }

  .newpost-item { gap: 8px; }

  /* clip-memobox: スマホでは縦並びに */
  .clip-memobox { display: block; padding: 14px; }
  .clip-fonticon, .clip-memotext { display: block; width: 100%; }
  .clip-fonticon { padding: 0 0 8px; text-align: left; }
  .clip-memotext { border-left: none; border-top: 1px solid var(--color-border-light); padding: 10px 0 0; }
}

/* スマホのみ (<=599px) */
@media print, screen and (max-width: 599px) {
  body { font-size: 15px; }
  #st-text-logo .sitename { font-size: 18px; }
  .st-service-list { grid-template-columns: 1fr; }
  .st-header-image-overlay .catch { font-size: 1.8rem; }
  .entry-content h2, .h2modoki { font-size: 17px; padding: 10px 14px; }
  .entry-content h3, .h3modoki { font-size: 16px; padding: 8px 14px; }
}

/* タブレットのみ (600px-959px) */
@media only screen and (min-width: 600px) and (max-width: 959px) {
  main { padding: 28px 28px; }
}

/* タブレット以上 (>=600px) */
@media only screen and (min-width: 600px) {
  /* 必要に応じて */
}

/* PCのみ (>=960px) */
@media print, screen and (min-width: 960px) {
  .nav-toggle, .st-mobile-menu { display: none !important; }
}

/* ── ページバナー（内部ページ共通） ── */
.page-banner {
  background: linear-gradient(135deg, var(--color-heading-bg) 0%, var(--color-content-bg) 100%);
  border-bottom: 3px solid var(--color-heading-line);
  padding: 32px 20px 28px;
  text-align: center;
}
.page-banner h1 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 10px;
  letter-spacing: 0.04em;
}
.breadcrumb ol {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 13px;
  color: var(--color-text-mute);
}
.breadcrumb ol li + li::before { content: "›"; margin-right: 6px; }
.breadcrumb ol li a { color: var(--color-link); text-decoration: none; }
.breadcrumb ol li a:hover { text-decoration: underline; }

/* ── お問合せフォーム ── */
.contact-form-wrap { max-width: 680px; margin: 0 auto; }
.contact-form-wrap table { width: 100%; border-collapse: collapse; }
.contact-form-wrap th,
.contact-form-wrap td { padding: 12px 14px; border-bottom: 1px solid var(--color-border); vertical-align: top; }
.contact-form-wrap th { width: 30%; font-weight: 700; background: var(--color-content-bg); white-space: nowrap; }
.contact-form-wrap input[type="text"],
.contact-form-wrap input[type="email"],
.contact-form-wrap textarea,
.contact-form-wrap select {
  width: 100%; padding: 8px 10px;
  border: 1px solid var(--color-grey-line); border-radius: 4px;
  font-size: 15px; font-family: var(--font-sans);
  background: #fff;
}
.contact-form-wrap textarea { min-height: 140px; resize: vertical; }
.contact-form-wrap input[type="submit"] {
  display: block; margin: 20px auto 0;
  background: var(--color-accent); color: #fff;
  border: none; border-radius: 5px;
  padding: 14px 48px; font-size: 16px; font-weight: 700;
  cursor: pointer; box-shadow: 0 3px 0 var(--color-accent-dark);
  transition: opacity 0.2s;
}
.contact-form-wrap input[type="submit"]:hover { opacity: 0.85; }
.required-mark {
  display: inline-block; background: #c0392b; color: #fff;
  font-size: 11px; border-radius: 3px; padding: 1px 5px; margin-left: 6px;
}

/* ── プライバシーポリシー ── */
.privacy-wrap {
  max-width: 820px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 48px 56px;
  box-shadow: 0 2px 18px rgba(167, 109, 0, 0.06);
}
.privacy-intro {
  border-left: 3px solid var(--color-accent);
  padding: 4px 0 4px 20px;
  margin: 0 0 36px;
  color: var(--color-text-sub);
  font-size: 14.5px;
  line-height: 1.95;
}
.privacy-intro p + p { margin-top: 12px; }

.privacy-section {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px dashed var(--color-border);
}
.privacy-section:first-of-type {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}
.privacy-section h2 {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text);
  background: none;
  border: none;
  padding: 0;
  margin: 0 0 18px;
  line-height: 1.5;
}
.privacy-section h2 .privacy-num {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-heading-bg) 0%, var(--color-accent) 100%);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  font-family: var(--font-sans);
  letter-spacing: 0;
}
.privacy-section h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-accent-dark);
  margin: 24px 0 10px;
  padding: 0 0 0 12px;
  border: none;
  background: none;
  border-left: 3px solid var(--color-heading-line);
  line-height: 1.5;
}
.privacy-section p {
  font-size: 14.5px;
  line-height: 1.95;
  color: var(--color-text-sub);
  margin: 0 0 12px;
}
.privacy-section p:last-child { margin-bottom: 0; }
.privacy-section ul,
.privacy-section ol {
  margin: 8px 0 12px;
  padding-left: 1.6em;
  font-size: 14.5px;
  color: var(--color-text-sub);
  line-height: 1.95;
}
.privacy-section ul li,
.privacy-section ol li { margin-bottom: 6px; }
.privacy-section ul li::marker { color: var(--color-accent); }
.privacy-section ol li::marker { color: var(--color-accent); font-weight: 700; }
.privacy-section strong { color: var(--color-text); }

.privacy-contact-card {
  margin-top: 16px;
  background: linear-gradient(135deg, var(--color-content-bg) 0%, #fffaeb 100%);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 22px 26px;
  text-align: center;
}
.privacy-contact-card p {
  margin: 0 0 14px;
  font-size: 14px;
  color: var(--color-text-sub);
}
.privacy-contact-card .privacy-contact-btn {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  text-decoration: none;
  padding: 12px 32px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  box-shadow: 0 3px 0 var(--color-accent-dark);
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.privacy-contact-card .privacy-contact-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.privacy-meta {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
  text-align: right;
  font-size: 12.5px;
  color: var(--color-text-mute);
  letter-spacing: 0.04em;
}
.privacy-meta dl {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}
.privacy-meta dt {
  display: inline;
  font-weight: 700;
  margin-right: 6px;
}
.privacy-meta dd {
  display: inline;
  margin: 0;
}

@media (max-width: 599px) {
  .privacy-wrap { padding: 28px 20px; border-radius: 8px; }
  .privacy-section h2 { font-size: 16px; gap: 10px; }
  .privacy-section h2 .privacy-num { width: 28px; height: 28px; font-size: 12px; }
  .privacy-section h3 { font-size: 14px; }
  .privacy-section p, .privacy-section ul, .privacy-section ol { font-size: 14px; }
}

/* ── ブログ一覧 ── */
.blog-list { list-style: none; margin: 0; padding: 0; }
.blog-item {
  border-bottom: 1px solid var(--color-border);
  padding: 18px 0;
}
.blog-item:first-child { border-top: 1px solid var(--color-border); }
.blog-item-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.blog-item-date { font-size: 13px; color: var(--color-text-mute); }
.blog-item-cat {
  font-size: 12px; background: var(--color-heading-bg);
  padding: 2px 8px; border-radius: 10px; color: var(--color-text);
}
.blog-item-title { font-size: 16px; font-weight: 700; }
.blog-item-title a { color: var(--color-text); text-decoration: none; }
.blog-item-title a:hover { color: var(--color-link-hover); text-decoration: underline; }
.blog-item-excerpt { font-size: 14px; color: var(--color-text-sub); margin-top: 4px; }

/* ── SHOPページ ── */
.shop-hero {
  text-align: center;
  background: var(--color-content-bg);
  border-radius: 8px; padding: 32px 24px;
  border: 1px solid var(--color-border); margin-bottom: 32px;
}
.shop-hero img { max-width: 100%; border-radius: 6px; margin-bottom: 16px; }
.shop-categories { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; margin: 24px 0; }
.shop-cat-item {
  background: var(--color-content-bg); border: 1px solid var(--color-border);
  border-radius: 8px; padding: 22px; text-align: center;
}
.shop-cat-item .icon { font-size: 2.2rem; margin-bottom: 10px; }
.shop-cat-item h3 { font-size: 15px; margin-bottom: 6px; }
.shop-cat-item p { font-size: 13px; color: var(--color-text-sub); }

/* 印刷 */
@media print {
  #st-header, #footer, .pagetop, .nav-toggle, .st-mobile-menu { display: none; }
  body { background: #fff; color: #000; }
  main { box-shadow: none; padding: 0; margin: 0; }
  a { color: #000; text-decoration: underline; }
}
