/* =========================================================
   骨董品買取サイト 共通スタイル
   ベースカラー: #E73128
========================================================= */

:root {
  --c-primary: #E73128;
  --c-primary-dark: #B31D17;
  --c-primary-light: #FBE9E7;
  --c-accent: #C9A86A;
  --c-text: #333;
  --c-text-soft: #666;
  --c-bg: #FFFCF8;
  --c-bg-soft: #F7F2EB;
  --c-line: #E6DCC9;
  --c-white: #ffffff;
  --c-success: #2E7D32;
  --c-error: #d32f2f;
  --shadow-sm: 0 2px 8px rgba(0,0,0,.06);
  --shadow-md: 0 6px 20px rgba(0,0,0,.08);
  --radius: 6px;
  --container: 1180px;
  --header-h: 90px;
  --font-mincho: "Noto Serif JP", "Yu Mincho", "游明朝", "Hiragino Mincho ProN", serif;
  --font-gothic: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-gothic);
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-primary); text-decoration: none; transition: opacity .2s; }
a:hover { opacity: .75; }
ul { padding: 0; list-style: none; margin: 0; }
h1, h2, h3, h4 { font-family: var(--font-mincho); font-weight: 700; line-height: 1.4; margin: 0 0 .8em; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ===========================
   ヘッダー
=========================== */
.site-header {
  background: var(--c-white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.logo img { height: 60px; width: auto; }
.global-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  justify-content: flex-end;
}
.global-nav a {
  color: var(--c-text);
  font-weight: 500;
  font-size: 15px;
  display: inline-block;
  padding: 6px 4px;
  border-bottom: 2px solid transparent;
}
.global-nav a:hover { color: var(--c-primary); border-bottom-color: var(--c-primary); opacity: 1; }


.nav-toggle { display: none; }

.header-tel .tel-text {
  margin: 0;
  text-align: right;
  font-family: var(--font-mincho);
}
.header-tel .tel-text i { color: var(--c-primary); margin-right: 4px; }
.header-tel .tel-num { font-size: 22px; font-weight: 700; letter-spacing: 1px; color: var(--c-text); }
.header-tel .tel-time { display: block; font-size: 11px; color: var(--c-text-soft); }
.header-tel .tel-banner { display: none; }

@media (max-width: 980px) {
  .header-inner { grid-template-columns: auto auto auto; }
  .global-nav { order: 5; grid-column: 1 / -1; }
  .global-nav ul {
    display: none;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-top: 1px solid var(--c-line);
    padding: 8px 0;
  }
  .global-nav.open ul { display: flex; }
  .global-nav a { padding: 12px 8px; border-bottom: 1px solid var(--c-line); }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: space-between;
    background: transparent;
    border: 1px solid var(--c-line);
    padding: 8px;
    width: 42px;
    height: 42px;
    cursor: pointer;
  }
  .nav-toggle .bar { display: block; height: 2px; background: var(--c-text); width: 100%; }
}

@media (max-width: 720px) {
  .logo img { height: 44px; }
  .header-tel .tel-text { display: none; }
  .header-tel .tel-banner {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    background: var(--c-primary);
    color: #fff;
    padding: 6px 14px;
    border-radius: 6px;
    line-height: 1.1;
    text-align: center;
  }
  .header-tel .tel-banner i { font-size: 14px; margin-bottom: 2px; }
  .header-tel .tel-banner span { font-size: 16px; font-weight: 700; letter-spacing: 1px; }
  .header-tel .tel-banner small { font-size: 9px; opacity: .9; }
}

/* ===========================
   ヒーロー / ページH1
=========================== */
.page-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  background-color: #444;
  color: #fff;
  min-height: 280px;
}
.page-hero-overlay {
  background: linear-gradient(180deg, rgba(0,0,0,.45), rgba(0,0,0,.55));
  min-height: 280px;
  display: flex;
  align-items: center;
  padding: 50px 0;
}
.page-h1 {
  font-size: clamp(28px, 4vw, 42px);
  margin: 0;
  text-shadow: 0 2px 12px rgba(0,0,0,.4);
}
.page-subtitle {
  font-size: 16px;
  opacity: .92;
  margin: 8px 0 0;
}

/* ホームのメインビジュアル */
.hero-main {
  position: relative;
  background: linear-gradient(rgba(0,0,0,.35), rgba(0,0,0,.5)), url('../img/kishiwadajo_hachijinno-niwa.webp') center/cover no-repeat;
  color: #fff;
  padding: 100px 0 90px;
  text-align: center;
}
.hero-main h1 {
  font-size: clamp(28px, 5vw, 56px);
  margin: 0;
  line-height: 1.3;
  text-shadow: 0 2px 14px rgba(0,0,0,.4);
}
.hero-main p { font-size: 18px; margin: 20px auto 26px; max-width: 700px; }
.hero-main .hero-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* パンくず */
.breadcrumb-nav { background: var(--c-bg-soft); padding: 12px 0; font-size: 13px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; list-style: none; padding: 0; }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; color: var(--c-text-soft); }
.breadcrumb a { color: var(--c-text-soft); }
.breadcrumb [aria-current="page"] { color: var(--c-text); font-weight: 500; }

/* ===========================
   セクション 共通
=========================== */
.site-main > section { padding: 70px 0; }
.section-title {
  text-align: center;
  font-size: clamp(24px, 3vw, 34px);
  margin-bottom: 50px;
}
.section-title .title-en {
  display: block;
  font-family: var(--font-mincho);
  color: var(--c-primary);
  font-size: 14px;
  letter-spacing: 4px;
  margin-bottom: 6px;
  font-weight: 500;
}

.lead { font-size: 17px; max-width: 800px; margin: 0 auto 30px; text-align: center; }

/* ボタン */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 16px;
  border: none;
  cursor: pointer;
  text-align: center;
  transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); opacity: 1; }
.btn-primary { background: var(--c-primary); color: #fff; }
.btn-primary:hover { background: var(--c-primary-dark); }
.btn-tel { background: #fff; color: var(--c-primary); border: 2px solid var(--c-primary); }
.btn-outline { background: transparent; color: #fff; border: 2px solid #fff; }
.btn-outline:hover { background: #fff; color: var(--c-primary); }
.btn-block { display: flex; width: 100%; justify-content: center; }

/* ===========================
   トップ：サービス
=========================== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
  text-align: center;
  display: flex;
  flex-direction: column;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.service-card .img-wrap {
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: var(--c-bg-soft);
}
.service-card img { width: 100%; height: 100%; object-fit: cover; }
.service-card h3 { padding: 18px 16px 4px; font-size: 19px; }
.service-card p { padding: 0 16px 14px; color: var(--c-text-soft); font-size: 14px; flex-grow: 1; }
.service-card .more { display: block; padding: 12px; background: var(--c-bg-soft); color: var(--c-primary); font-weight: 700; }
.service-card .more:hover { background: var(--c-primary); color: #fff; }

/* 強み / ポイント */
.points-section { background: var(--c-bg-soft); }
.points-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.point-card {
  background: #fff;
  padding: 30px 22px;
  border-radius: var(--radius);
  text-align: center;
  border-top: 4px solid var(--c-primary);
}
.point-card .icon { font-size: 38px; color: var(--c-primary); margin-bottom: 14px; }
.point-card h3 { font-size: 18px; }

/* お客様の声 */
.voice-section { background: var(--c-bg); }
.voice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.voice-card {
  background: #fff;
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--c-line);
  position: relative;
}
.voice-card::before {
  content: "“";
  position: absolute;
  top: -10px;
  left: 12px;
  font-size: 80px;
  color: var(--c-primary);
  font-family: serif;
  line-height: 1;
  opacity: .15;
}
.voice-avatar img { border-radius: 50%; width: 80px; height: 80px; object-fit: cover; }
.voice-name { font-size: 16px; margin: 12px 0 4px; }
.voice-item { color: var(--c-primary); font-weight: 700; font-size: 13px; margin: 0 0 12px; }
.voice-comment { font-size: 14px; color: var(--c-text-soft); margin: 0; line-height: 1.7; }

/* FAQ */
.faq-section { background: var(--c-bg-soft); }
.faq-list { max-width: 880px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border-radius: var(--radius);
  margin-bottom: 14px;
  border: 1px solid var(--c-line);
  overflow: hidden;
}
.faq-q {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q .q-mark, .faq-a .a-mark {
  font-family: var(--font-mincho);
  font-size: 22px;
  font-weight: 700;
  width: 32px;
  flex: none;
}
.faq-q .q-mark { color: var(--c-primary); }
.faq-a .a-mark { color: var(--c-accent); }
.faq-q .q-text { flex-grow: 1; }
.faq-q .toggle-icon { transition: transform .2s; color: var(--c-text-soft); }
.faq-item[open] .toggle-icon { transform: rotate(180deg); }
.faq-a {
  display: flex;
  gap: 14px;
  padding: 0 22px 18px;
  border-top: 1px dashed var(--c-line);
  padding-top: 18px;
}
.faq-a p { margin: 0; }

/* ===========================
   フッターCTA
=========================== */
.footer-cta {
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-dark));
  color: #fff;
  text-align: center;
  padding: 60px 0;
}
.footer-cta h2 { color: #fff; font-size: clamp(22px, 3vw, 30px); margin-bottom: 12px; }
.footer-cta p { font-size: 16px; opacity: .95; margin-bottom: 26px; }
.footer-cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.footer-cta .btn-tel { background: #fff; color: var(--c-primary); }
.footer-cta .btn-primary { background: rgba(255,255,255,.18); border: 2px solid #fff; color: #fff; }

/* ===========================
   フッター
=========================== */
.site-footer { background: #2A1B14; color: #d6cdbf; padding: 60px 0 30px; font-size: 14px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.site-footer h3 { color: #fff; font-size: 16px; margin-bottom: 12px; border-left: 3px solid var(--c-primary); padding-left: 10px; }
.site-footer a { color: #d6cdbf; }
.site-footer a:hover { color: #fff; }
.footer-logo { background: #fff; padding: 6px 10px; border-radius: 4px; max-width: 160px; margin-bottom: 14px; }
.copyright {
  text-align: center;
  margin: 0;
  padding-top: 24px;
  border-top: 1px solid #4a3a2e;
  font-size: 13px;
  color: #948776;
}

@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ===========================
   スマホ専用フッターナビ
=========================== */
.sp-footer-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 1px solid var(--c-line);
  z-index: 90;
  box-shadow: 0 -4px 16px rgba(0,0,0,.08);
}
.sp-fnav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 4px;
  font-size: 11px;
  color: var(--c-text);
  text-align: center;
}
.sp-fnav-item i { font-size: 20px; color: var(--c-primary); margin-bottom: 2px; }
.sp-fnav-item:nth-child(3) i { color: #06C755; }

@media (max-width: 720px) {
  .sp-footer-nav { display: flex; }
  body { padding-bottom: 64px; }
  .back-to-top { bottom: 80px !important; }
}

/* ===========================
   トップへ戻る
=========================== */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 28px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--c-primary);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 18px;
  z-index: 80;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .35s ease, transform .35s ease, visibility .35s;
  box-shadow: 0 4px 14px rgba(0,0,0,.18);
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover { background: var(--c-primary-dark); }

/* ===========================
   フォーム (お問合せ・ブログ管理)
=========================== */
.form-wrap { max-width: 760px; margin: 0 auto; background: #fff; padding: 40px; border-radius: var(--radius); border: 1px solid var(--c-line); }
.form-row { margin-bottom: 22px; }
.form-row label { display: block; font-weight: 700; margin-bottom: 6px; }
.form-row .req { background: var(--c-primary); color: #fff; font-size: 11px; padding: 2px 6px; margin-left: 6px; border-radius: 3px; }
.form-row .opt { background: #999; color: #fff; font-size: 11px; padding: 2px 6px; margin-left: 6px; border-radius: 3px; }
.form-row input[type="text"], .form-row input[type="email"], .form-row input[type="tel"], .form-row input[type="url"],
.form-row select, .form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--c-line);
  border-radius: 4px;
  font-size: 16px;
  font-family: inherit;
  background: #fffefb;
}
.form-row textarea { min-height: 160px; resize: vertical; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px rgba(231,49,40,.12);
}
.form-help { font-size: 12px; color: var(--c-text-soft); margin-top: 6px; }
.form-error { color: var(--c-error); font-size: 13px; margin-top: 6px; }
.form-submit-row { text-align: center; margin-top: 30px; }
.form-submit-row .btn { padding: 16px 50px; font-size: 17px; }

/* タブ：画像5枚アップロード */
.image-tabs { border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; }
.tab-headers { display: flex; background: var(--c-bg-soft); border-bottom: 1px solid var(--c-line); }
.tab-header {
  flex: 1;
  padding: 12px 8px;
  text-align: center;
  cursor: pointer;
  background: none;
  border: none;
  font-weight: 700;
  color: var(--c-text-soft);
  border-right: 1px solid var(--c-line);
  font-size: 14px;
}
.tab-header:last-child { border-right: none; }
.tab-header.active { background: #fff; color: var(--c-primary); position: relative; }
.tab-header.active::after { content:""; position: absolute; bottom: -1px; left: 0; right: 0; height: 2px; background: var(--c-primary); }
.tab-pane { display: none; padding: 22px; background: #fff; }
.tab-pane.active { display: block; }
.image-preview {
  width: 100%;
  height: 220px;
  background: var(--c-bg-soft);
  border: 2px dashed var(--c-line);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  overflow: hidden;
}
.image-preview img { width: 100%; height: 100%; object-fit: cover; }
.image-preview .placeholder { color: var(--c-text-soft); text-align: center; padding: 20px; }
.image-preview .placeholder i { font-size: 36px; color: var(--c-line); display: block; margin-bottom: 6px; }

/* チェックボックス／ラジオ */
.check-list { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.check-list label { font-weight: 400; cursor: pointer; }

/* ===========================
   ブログ
=========================== */
.blog-layout { display: grid; grid-template-columns: 1fr 280px; gap: 40px; }
@media (max-width: 880px) { .blog-layout { grid-template-columns: 1fr; } }

.blog-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.blog-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.blog-card .thumb {
  width: 100%;
  height: 180px;
  background: var(--c-bg-soft);
  overflow: hidden;
}
.blog-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog-card .body { padding: 18px; flex-grow: 1; display: flex; flex-direction: column; }
.blog-card .meta { font-size: 12px; color: var(--c-text-soft); margin-bottom: 8px; display: flex; gap: 10px; flex-wrap: wrap; }
.blog-card .meta .cat { background: var(--c-primary-light); color: var(--c-primary); padding: 2px 8px; border-radius: 3px; font-weight: 700; }
.blog-card h3 { font-size: 17px; flex-grow: 1; margin-bottom: 10px; }
.blog-card a { color: var(--c-text); }
.blog-card a:hover h3 { color: var(--c-primary); }

/* サイドバー */
.blog-side { display: flex; flex-direction: column; gap: 26px; }
.side-block { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 20px; }
.side-block h3 { font-size: 16px; border-left: 3px solid var(--c-primary); padding-left: 10px; margin-bottom: 14px; }
.cat-list li a { display: block; padding: 7px 0; border-bottom: 1px dashed var(--c-line); color: var(--c-text); font-size: 14px; }
.cat-list li a:hover { color: var(--c-primary); }

/* カレンダー */
.mini-cal { font-size: 13px; }
.mini-cal-nav { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.mini-cal-nav a { color: var(--c-text-soft); font-size: 14px; padding: 4px 8px; }
.mini-cal-nav .month { font-weight: 700; font-size: 15px; }
.mini-cal table { width: 100%; border-collapse: collapse; }
.mini-cal th, .mini-cal td { width: 14.28%; text-align: center; padding: 6px 0; }
.mini-cal th { font-size: 11px; color: var(--c-text-soft); font-weight: 500; }
.mini-cal td { color: var(--c-text); }
.mini-cal td.sun { color: #d23; }
.mini-cal td.sat { color: #2a4ec9; }
.mini-cal td.empty { color: transparent; }
.mini-cal td .cal-link { font-weight: 700; color: var(--c-primary); position: relative; display: inline-block; min-width: 22px; height: 22px; line-height: 22px; }
.mini-cal td .cal-link:hover { background: var(--c-primary); color: #fff; border-radius: 50%; }
.mini-cal td.today .cal-num,
.mini-cal td.today .cal-link {
  background: var(--c-primary);
  color: #fff;
  border-radius: 50%;
  display: inline-block;
  min-width: 24px;
  height: 24px;
  line-height: 24px;
  font-weight: 700;
}

/* ブログ記事 */
.post-article {
  background: #fff;
  padding: 36px;
  border-radius: var(--radius);
  border: 1px solid var(--c-line);
}
.post-article h1 { font-size: clamp(22px, 3vw, 32px); }
.post-meta { color: var(--c-text-soft); font-size: 13px; margin-bottom: 20px; display: flex; gap: 14px; flex-wrap: wrap; }
.post-meta .cat { background: var(--c-primary-light); color: var(--c-primary); padding: 2px 8px; border-radius: 3px; }
.post-thumb { margin: 20px 0 30px; border-radius: var(--radius); overflow: hidden; }
.post-content { font-size: 16px; line-height: 1.9; }
.post-content p { margin: 0 0 1.2em; }
.post-content h2 { font-size: 22px; border-left: 4px solid var(--c-primary); padding-left: 14px; margin: 1.6em 0 .8em; }
.post-content h3 { font-size: 18px; border-bottom: 2px dotted var(--c-primary); padding-bottom: 4px; }
.post-content a { color: var(--c-primary); text-decoration: underline; }
.post-content img { margin: 14px 0; border-radius: 4px; }

/* 関連記事バナー */
.related-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--c-primary-light);
  border-left: 4px solid var(--c-primary);
  padding: 14px 18px;
  margin: 20px 0;
  border-radius: 4px;
  text-decoration: none !important;
  color: var(--c-text) !important;
}
.related-banner:hover { background: var(--c-primary); color: #fff !important; }
.related-banner:hover .label { color: #fff; }
.related-banner .label { color: var(--c-primary); font-weight: 700; font-size: 12px; display: block; }
.related-banner .ttl { font-weight: 700; font-size: 15px; }
.related-banner .icon { font-size: 24px; color: var(--c-primary); }
.related-banner:hover .icon { color: #fff; }

/* 著者バナー */
.author-banner {
  margin-top: 40px;
  background: var(--c-bg-soft);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.author-banner img { width: 78px; height: 78px; border-radius: 50%; object-fit: cover; flex: none; }
.author-banner .label { color: var(--c-primary); font-size: 12px; font-weight: 700; margin: 0; }
.author-banner h4 { margin: 4px 0; }
.author-banner p { font-size: 13px; color: var(--c-text-soft); margin: 0; }

/* ページネーション */
.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 40px;
}
.pagination a, .pagination span {
  padding: 8px 14px;
  border: 1px solid var(--c-line);
  border-radius: 4px;
  background: #fff;
  color: var(--c-text);
  font-weight: 700;
}
.pagination .current { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }
.pagination a:hover { background: var(--c-primary-light); color: var(--c-primary); }
.pagination .disabled { color: #ccc; pointer-events: none; }

/* お問い合わせ完了 */
.thanks-box {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 60px 30px;
}
.thanks-box .icon { font-size: 60px; color: var(--c-success); margin-bottom: 14px; }

/* テーブル */
.info-table { width: 100%; border-collapse: collapse; }
.info-table th, .info-table td { padding: 14px 16px; border-bottom: 1px solid var(--c-line); text-align: left; vertical-align: top; }
.info-table th { background: var(--c-bg-soft); width: 30%; font-weight: 700; }

/* ユーティリティ */
.text-center { text-align: center; }
.mt-30 { margin-top: 30px; }
.mb-30 { margin-bottom: 30px; }

/* フェードイン */
.fade-in { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* プロフィール */
.profile-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: start;
}
.profile-grid img { border-radius: var(--radius); }
@media (max-width: 720px) {
  .profile-grid { grid-template-columns: 1fr; gap: 20px; }
  .form-wrap { padding: 24px 18px; }
  .post-article { padding: 22px 18px; }
}

/* ギャラリー */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
}
.gallery-item {
  width: 100%;
  height: 180px;
  background: var(--c-bg-soft);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item .caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.7));
  color: #fff;
  padding: 22px 12px 8px;
  font-size: 13px;
}

/* ステップ */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 22px;
  counter-reset: step;
}
.step {
  background: #fff;
  padding: 26px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--c-line);
  position: relative;
  text-align: center;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--c-primary);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mincho);
  font-weight: 700;
  font-size: 18px;
}
.step h3 { font-size: 16px; margin: 8px 0 6px; }
.step p { font-size: 13px; color: var(--c-text-soft); margin: 0; }

/* バリエーション */
.bg-soft { background: var(--c-bg-soft); }
.bg-white { background: #fff; }


/* ===========================
   ドロップダウンメニュー（最終修正版）
=========================== */

/* PC向けのスタイル (981px以上) */
@media (min-width: 981px) {
  .nav-dropdown {
    position: relative;
  }

  .nav-dropdown-title {
    display: inline-block;
    padding: 6px 15px;
    cursor: pointer;
    font-weight: 500;
    color: var(--c-text);
  }

  /* IDを使って優先順位を上げ、初期状態を強制的に非表示にする */
  #gnav-list .sub-menu {
    display: none !important;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    min-width: 200px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border: 1px solid var(--c-line);
    border-radius: 4px;
    z-index: 999;
    padding: 8px 0;
    margin: 0;
    list-style: none;
  }

  /* ホバーした時だけ表示 */
  .nav-dropdown:hover .sub-menu {
    display: block !important;
  }

  /* サブメニュー内のリンク */
  #gnav-list .sub-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--c-text);
    font-size: 14px;
    border-bottom: none;
    white-space: nowrap;
  }

  #gnav-list .sub-menu a:hover {
    background-color: var(--c-bg-soft);
    color: var(--c-primary);
  }
}

/* スマホ向けのスタイル (980px以下) */
@media (max-width: 980px) {
  .nav-dropdown-title {
    display: block;
    padding: 12px 8px;
    background: #fdfdfd;
    font-weight: 700;
    border-bottom: 1px solid var(--c-line);
    color: var(--c-text);
  }
  
  /* スマホでは縦並びの階層として表示 */
  #gnav-list .sub-menu {
    display: flex !important;
    flex-direction: column;
    background: var(--c-bg-soft);
    padding: 0;
    margin: 0;
    border-top: none;
  }
  
  #gnav-list .sub-menu a {
    padding: 12px 8px 12px 24px;
    border-bottom: 1px dashed var(--c-line);
    font-size: 14px;
    display: block;
  }
}



/* ===========================
   ドロップダウンメニュー（最終修正版）
=========================== */

/* PC向けのスタイル (981px以上) */
@media (min-width: 981px) {
  .nav-dropdown {
    position: relative;
  }

  .nav-dropdown-title {
    display: inline-block;
    padding: 6px 15px;
    cursor: pointer;
    font-weight: 500;
    color: var(--c-text);
  }

  /* 非表示にする設定 */
  #gnav-list .sub-menu {
    display: none !important;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    min-width: 200px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border: 1px solid var(--c-line);
    border-radius: 4px;
    z-index: 999;
    padding: 8px 0;
    margin: 0;
    list-style: none;
  }

  /* 【修正箇所】ホバー時の優先順位を「非表示」よりも高くしました！ */
  #gnav-list .nav-dropdown:hover .sub-menu {
    display: block !important;
  }

  /* サブメニュー内のリンク */
  #gnav-list .sub-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--c-text);
    font-size: 14px;
    border-bottom: none;
    white-space: nowrap;
  }

  #gnav-list .sub-menu a:hover {
    background-color: var(--c-bg-soft);
    color: var(--c-primary);
  }
}

/* スマホ向けのスタイル (980px以下) */
@media (max-width: 980px) {
  .nav-dropdown-title {
    display: block;
    padding: 12px 8px;
    background: #fdfdfd;
    font-weight: 700;
    border-bottom: 1px solid var(--c-line);
    color: var(--c-text);
  }
  
  /* スマホでは縦並びの階層として表示 */
  #gnav-list .sub-menu {
    display: flex !important;
    flex-direction: column;
    background: var(--c-bg-soft);
    padding: 0;
    margin: 0;
    border-top: none;
  }
  
  #gnav-list .sub-menu a {
    padding: 12px 8px 12px 24px;
    border-bottom: 1px dashed var(--c-line);
    font-size: 14px;
    display: block;
  }
}

/* ===========================
   ヘッダーのスマホ1列＆お問合せテキスト化（強制反映）
=========================== */
@media (max-width: 980px) {
  /* ① ハンバーガーが2段になるのを防ぎ、1列に横並びにする */
  .header-inner {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    padding: 10px 16px !important;
  }
  .global-nav {
    order: 3 !important;
    grid-column: auto !important;
    margin-left: 10px;
  }
  .header-tel {
    order: 2 !important;
    margin-left: auto;
  }
  
  /* メニューを開いた時にレイアウトが崩れないようにする */
  .global-nav ul {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 999 !important;
  }

  /* ② メニュー内の「お問合せ」バナーをただのテキストにする */
  .global-nav a.cta {
    background: transparent !important;
    color: var(--c-text) !important;
    padding: 12px 8px !important;
    border-bottom: 1px solid var(--c-line) !important;
    margin: 0 !important;
    border-radius: 0 !important;
    text-align: left !important;
    font-weight: 500 !important;
  }
}

@media (max-width: 720px) {
  /* ③ 狭いスマホ画面でも確実に1列に収めるためのサイズ微調整 */
  .logo img {
    height: 34px !important;
    width: auto !important;
  }
  .header-tel .tel-banner {
    padding: 6px 10px !important;
  }
  .header-tel .tel-banner span {
    font-size: 13px !important;
  }
  .header-tel .tel-banner small {
    font-size: 8px !important;
  }
}

  /* 　フッターLINEボタン追加　 */
.footer-cta-buttons .btn-line {
  background-color: #06C755;
  color: #fff;
  border: none;
}

.footer-cta-buttons .btn-line:hover {
  background-color: #05b34c;
  color: #fff;
}
  /* 　終了　フッターLINEボタン追加　 */