@charset "UTF-8";

/*
Theme Name: ikeru
Version: 0.0.3
*/

/* =============================================
   CSS VARIABLES & RESET
============================================= */
:root {
  --color-bg: #f8fbfc;
  --color-surface: #ffffff;
  --color-cream: #f1f7f7;
  --color-cream-soft: #f7fbfb;

  --color-primary: #349099;
  --color-primary-soft: #c4ebe7;
  --color-primary-light: #ecf7f5;

  --color-accent: #1a4d56;
  --color-accent-soft: #2a626b;

  --color-mint: #cbece6;
  --color-mint-light: #eef8f5;
  --color-coral: #f6b8cf;
  --color-coral-light: #fcebf2;

  --color-hot: #db5e82;
  --color-hot-light: #fcebf2;

  --color-text: #143038;
  --color-text-muted: #54707a;
  --color-text-light: #93a4ab;

  --color-border: #e4f0f1;
  --color-border-light: #f1f8f8;
  --color-tag-bg: #f1f7f7;

  --font-serif: 'Cormorant Garamond', 'Noto Serif JP', serif;
  --font-sans: 'DM Sans', 'Noto Sans JP', sans-serif;

  --max-width: 1200px;
  --content-padding: clamp(20px, 5vw, 48px);
  --section-gap: 64px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --shadow-sm: 0 2px 10px rgba(15, 26, 42, 0.05);
  --shadow-md: 0 8px 28px rgba(15, 26, 42, 0.08);
  --shadow-lg: 0 16px 48px rgba(15, 26, 42, 0.12);
  --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend, table, caption,
tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0; padding: 0;
  word-wrap: break-word; overflow-wrap: break-word;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section { display: block; }
table { border-collapse: collapse; border-spacing: 0; }
fieldset, img { border: 0; }
li { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-size: 100%; font-weight: inherit; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
*, *::before, *::after { box-sizing: border-box; }

.cf::before, .cf::after { content: ""; display: table; }
.cf::after { clear: both; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.8;
  font-size: 15px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}

input, textarea, select, button {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
}
input[type="submit"], input[type="reset"] {
  -webkit-appearance: none;
}
label { cursor: pointer; }

.sp { display: none; }
.pc { display: block; }

.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;
}

@media (max-width: 767px) {
  .sp { display: block; }
  .pc { display: none; }
}


/* =============================================
   HEADER
============================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-border);
  width: 100%;
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--content-padding);
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
}

.header-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}

.header-nav a {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  transition: color var(--transition);
  position: relative;
  white-space: nowrap;
}

.header-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--color-primary);
  transition: width var(--transition);
}

.header-nav a:hover { color: var(--color-text); }
.header-nav a:hover::after { width: 100%; }

.site-logo {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-text);
  transition: opacity var(--transition);
  flex-shrink: 0;
  white-space: nowrap;
}

.site-logo span {
  color: var(--color-primary);
  border-radius: 4px;
  margin-left: 1px;
}

.site-logo:hover { opacity: 0.75; }

.header-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-shrink: 0;
}

.btn-contact {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  transition: color var(--transition);
}

.btn-contact:hover { color: var(--color-text); }


/* =============================================
   FILTER BAR (カテゴリータブ)
============================================= */
.filter-bar {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 64px;
  z-index: 90;
  width: 100%;
}

.filter-bar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--content-padding);
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.filter-bar-inner::-webkit-scrollbar { display: none; }

.filter-tab {
  flex-shrink: 0;
  padding: 16px 18px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  border: none;
  background: none;
  cursor: pointer;
  position: relative;
  transition: color var(--transition);
  white-space: nowrap;
  display: inline-block;
}

.filter-tab::after {
  content: '';
  position: absolute;
  bottom: 0; left: 18px; right: 18px;
  height: 3px;
  background: var(--color-primary);
  transform: scaleX(0);
  transition: transform var(--transition);
  border-radius: 2px 2px 0 0;
}

.filter-tab:hover { color: var(--color-text); }

.filter-tab.active {
  color: var(--color-text);
  font-weight: 700;
}

.filter-tab.active::after { transform: scaleX(1); }


/* =============================================
   BREADCRUMB
============================================= */
.breadcrumb-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 10px var(--content-padding);
}

.breadcrumb-wrap .breadcrumb,
.breadcrumb-wrap ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
  list-style: none;
  font-size: 11px;
  color: var(--color-text-light);
  letter-spacing: 0.04em;
}

.breadcrumb-wrap a {
  color: var(--color-text-muted);
  transition: color var(--transition);
}

.breadcrumb-wrap a:hover { color: var(--color-text); }

.breadcrumb-wrap .sep,
.breadcrumb-wrap li + li::before {
  content: '/';
  margin: 0 4px;
  color: var(--color-border);
}


/* =============================================
   PAGE HERO (アーカイブ用)
============================================= */
.page-hero {
  background: linear-gradient(160deg, var(--color-cream-soft) 0%, var(--color-primary-light) 100%);
  padding: 56px var(--content-padding) 48px;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 26, 42, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 26, 42, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
}

.page-hero::after {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, var(--color-coral) 0%, transparent 55%),
    radial-gradient(circle at 70% 70%, var(--color-primary) 0%, transparent 60%);
  opacity: 0.3;
  pointer-events: none;
}

.page-hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  z-index: 1;
  width: 100%;
}

.page-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-text);
  background: var(--color-primary);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.page-eyebrow::before {
  content: '';
  width: 16px; height: 2px;
  background: var(--color-text);
  border-radius: 1px;
}

.page-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.page-hero-desc {
  font-size: 14px;
  color: var(--color-text-muted);
  max-width: 480px;
  line-height: 1.9;
}


/* =============================================
   ARCHIVE WRAPPER (メイン + サイドバー)
============================================= */
.archive-wrapper {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px var(--content-padding) var(--section-gap);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 40px;
  align-items: start;
  width: 100%;
}

.archive-main {
  min-width: 0;
  width: 100%;
}


/* =============================================
   CARD GRID
============================================= */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
  gap: 20px;
  margin-bottom: 32px;
  width: 100%;
}

.card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary);
}

.card-thumb {
  aspect-ratio: 16/9;
  width: 100%;
  overflow: hidden;
  display: block;
  background: linear-gradient(145deg, var(--color-cream-soft) 0%, var(--color-cream) 100%);
  position: relative;
}

.card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.card:hover .card-thumb img { transform: scale(1.03); }

.card-body {
  padding: 18px 20px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-cat {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: 10px;
  display: inline-block;
  padding-bottom: 3px;
  border-bottom: 2px solid var(--color-primary);
}

.card-title {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--color-text);
  margin-bottom: 10px;
  letter-spacing: 0.005em;
}

.card-excerpt {
  font-size: 12.5px;
  color: var(--color-text-muted);
  line-height: 1.85;
  flex: 1;
  margin-bottom: 14px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: var(--color-text-light);
}

.card-meta time { font-size: 11px; color: var(--color-text-light); }


/* =============================================
   CARD FEATURED (index トップ 1枚目)
============================================= */
.card-featured {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  margin-bottom: 32px;
  transition: transform var(--transition), box-shadow var(--transition);
  width: 100%;
}

.card-featured:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-featured-thumb {
  aspect-ratio: 4/3;
  overflow: hidden;
  display: block;
  background: linear-gradient(145deg, var(--color-cream-soft) 0%, var(--color-cream) 100%);
  min-height: 240px;
}

.card-featured-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.card-featured:hover .card-featured-thumb img { transform: scale(1.03); }

.card-featured-body {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card-featured-title {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 600;
  line-height: 1.35;
  color: var(--color-text);
  margin-bottom: 14px;
  letter-spacing: 0.005em;
}

.card-featured-title a { color: inherit; }

.card-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text);
  margin-top: 16px;
  padding: 8px 16px;
  background: var(--color-primary);
  border-radius: var(--radius-pill);
  transition: gap var(--transition), background var(--transition), transform var(--transition);
  width: fit-content;
  box-shadow: 0 2px 0 var(--color-accent);
}

.card-read-more:hover {
  gap: 10px;
  background: var(--color-primary-soft);
  transform: translateX(2px);
}

/* =============================================
   NO POST MESSAGE
============================================= */
.no_post_box {
  padding: 48px 24px;
  text-align: center;
  font-size: 14px;
  color: var(--color-text-muted);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}


/* =============================================
   PAGINATION
============================================= */
.pagination,
.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 0;
  flex-wrap: wrap;
}

.page-numbers,
.nav-links a,
.nav-links span {
  min-width: 40px;
  height: 40px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text-muted);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  transition: all var(--transition);
  text-decoration: none;
}

.page-numbers:hover,
.nav-links a:hover {
  border-color: var(--color-text);
  color: var(--color-text);
}

.page-numbers.current,
.nav-links span.current {
  background: var(--color-primary);
  border-color: var(--color-text);
  color: var(--color-text);
  font-weight: 700;
  box-shadow: 0 2px 0 var(--color-accent);
}

.page-numbers.prev,
.page-numbers.next,
.nav-links .prev,
.nav-links .next {
  color: var(--color-text-light);
}

.page-numbers.dots {
  border: none;
  background: none;
  cursor: default;
}


/* =============================================
   CONTAINER (single / page)
============================================= */
#container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--content-padding);
  padding-top: 40px;
  padding-bottom: var(--section-gap);
  width: 100%;
}

#container main { min-width: 0; }


/* =============================================
   ARTICLE HEADER
============================================= */
.article-header {
  margin-bottom: 40px;
  animation: fadeUp 0.8s ease both;
}

.article-category {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text);
  background: var(--color-primary);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
}

.article-title,
.post_title {
  font-family: var(--font-serif);
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--color-text);
  margin-bottom: 20px;
  text-align: left;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 12px;
  color: var(--color-text-light);
  letter-spacing: 0.04em;
  flex-wrap: wrap;
}

.article-meta .meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.article-meta .meta-label {
  font-weight: 500;
  color: var(--color-text-muted);
}

.pr-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1px 5px;
  border: 1px solid var(--color-text-light);
  border-radius: 2px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--color-text-light);
  line-height: 1.4;
}

/* 旧スタイル互換 */
.post_meta { margin-bottom: 16px; }

.first_date,
.post_meta time {
  font-size: 12px;
  color: var(--color-text-light);
  display: flex;
  align-items: center;
  gap: 6px;
}

.icon.material-symbols-outlined { display: none; }


/* =============================================
   EYECATCH
============================================= */
.eyecatch {
  margin-bottom: 25px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  animation: fadeUp 0.9s 0.1s ease both;
}

.eyecatch img {
  width: 100%;
  height: auto;
  display: block;
}

figure.eyecatch {
  margin-bottom: 25px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  text-align: center;
}

figure.eyecatch img {
  width: 100%;
  height: auto;
  display: block;
}


/* =============================================
   POST BOX (記事コンテンツ)
============================================= */
.post_box {
  text-align: left;
  line-height: 2;
  font-size: 15px;
  font-weight: 400;
  animation: fadeUp 1s 0.2s ease both;
}

.post_box p {
  margin-bottom: 1.4em;
  color: var(--color-text);
}

.post_box a {
  color: var(--color-text);
}
.post_box a:hover { text-decoration: none; }

.post_box h2 {
  font-family: var(--font-serif);
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 600;
  background: var(--color-primary);
  color: var(--color-surface);
  margin: 52px 0 22px;
  padding: 16px;
  position: relative;
  letter-spacing: 0.01em;
  line-height: 1.4;
}

.post_box h2::before {
  content: '';
  position: absolute;
  bottom: 0.1em; left: 0;
  width: 100%;
  height: 1px;
  background: var(--color-border);
}

.post_box h2::after {
  content: '';
  position: absolute;
  top: 0.1em; left: 0;
  width: 100%;
  height: 1px;
  background: var(--color-border);
}

.post_box h3 {
  font-family: var(--font-serif);
  font-size: clamp(17px, 2.4vw, 22px);
  font-weight: 600;
  color: var(--color-text);
  margin: 40px 0 16px;
  padding-left: 18px;
  border-left: 5px solid var(--color-primary);
  letter-spacing: 0.02em;
  line-height: 1.5;
}

.post_box h4 {
  font-family: var(--font-serif);
  font-size: clamp(15px, 2vw, 18px);
  font-weight: 600;
  color: var(--color-text);
  margin: 32px 0 14px;
  position: relative;
  padding-bottom: 8px;
  line-height: 1.5;
}

.post_box h4::before {
  content: '';
  display: block;
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--color-border-light);
  z-index: -1;
}

.post_box h4::after {
  content: '';
  display: block;
  position: absolute;
  left: 0; bottom: 0;
  width: 48px; height: 2px;
  background: var(--color-primary);
  z-index: 0;
}

.post_box h2:first-child,
.post_box h3:first-child,
.post_box h4:first-child { margin-top: 0; }

.post_box ul,
.post_box ol {
  margin: 0 0 1.4em 0;
  padding-left: 0;
}

.post_box ul li,
.post_box ol li {
  padding: 8px 0 8px 24px;
  border-bottom: 1px solid var(--color-border-light);
  font-size: 14px;
  line-height: 1.8;
  color: var(--color-text);
  position: relative;
}

.post_box ul li:last-child,
.post_box ol li:last-child { border-bottom: none; }

.post_box ul li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 18px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
  border: 2px solid var(--color-text);
}

.post_box ol {
  counter-reset: ol-counter;
}

.post_box ol li {
  counter-increment: ol-counter;
}

.post_box ol li::before {
  content: counter(ol-counter);
  position: absolute;
  left: 0;
  top: 10px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-text);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.75;
}

.post_box blockquote {
  border-left: 4px solid var(--color-primary);
  margin: 28px 0;
  padding: 16px 20px;
  background: var(--color-cream-soft);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.85;
}

.post_box img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
}

.post_box .aligncenter,
.post_box .alignnone {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.post_box .alignleft {
  float: left;
  margin: 0.5em 1.2em 0.5em 0;
}

.post_box .alignright {
  float: right;
  margin: 0.5em 0 0.5em 1.2em;
}

/* テーブル */
.post_box table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.4em;
  font-size: 13.5px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.post_box table thead tr {
  background: linear-gradient(135deg, var(--color-primary-soft), var(--color-primary-light));
}

.post_box th {
  padding: 12px 16px;
  text-align: left;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
}

.post_box td {
  padding: 12px 16px;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border-light);
  line-height: 1.7;
  vertical-align: top;
}

.post_box tbody tr:last-child td { border-bottom: none; }

.post_box tbody tr:hover {
  background: var(--color-tag-bg);
  transition: background var(--transition);
}

.post_box .fixed_table,
.post_box .scroll_table {
  width: 100%;
  margin: 0 0 1.4em;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
}

.post_box .fixed_table table,
.post_box .scroll_table table {
  margin: 0;
  white-space: nowrap;
  min-width: 100%;
  border: none;
}


/* =============================================
   POST DATETIME BOX
============================================= */
.post_datetime_box {
  margin: 40px 0 24px;
  padding: 16px 20px;
  background: var(--color-cream-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 12px;
  color: var(--color-text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.post_datetime_box .under_date {
  font-size: 11px;
  color: var(--color-text-light);
}


/* =============================================
   TAG LIST
============================================= */
.tag_list_warp {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 24px 0 0;
}

.tag_list_warp .tit {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
}

.tag_list_warp .item a {
  display: inline-block;
  padding: 5px 12px;
  background: var(--color-tag-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: all var(--transition);
}

.tag_list_warp .item a:hover {
  background: var(--color-primary);
  border-color: var(--color-text);
  color: var(--color-text);
}


/* =============================================
   RELATED ARTICLES
============================================= */
.related-section {
  margin-top: var(--section-gap);
  padding-top: 40px;
  border-top: 1px solid var(--color-border);
}

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text);
  background: var(--color-primary);
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 28px;
  letter-spacing: 0.01em;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.related-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.related-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary);
}

.related-card a { display: block; }

.related-thumb {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-cream-soft) 0%, var(--color-cream) 100%);
}

.related-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.related-card:hover .related-thumb img { transform: scale(1.04); }

.related-body {
  padding: 16px 18px 18px;
}

.related-cat {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: 8px;
}

.related-title {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--color-text);
  margin-bottom: 8px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.related-meta {
  font-size: 11px;
  color: var(--color-text-light);
}


/* =============================================
   SIDEBAR
============================================= */
.archive-sidebar,
#side_block {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 128px;
  min-width: 0;
  width: 100%;
}

.sidebar-widget {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  width: 100%;
}

.widget-header {
  padding: 14px 20px 12px;
  border-bottom: 1px solid var(--color-border-light);
  display: flex;
  align-items: center;
  gap: 10px;
}

.widget-title-accent {
  width: 4px; height: 14px;
  background: var(--color-primary);
  border-radius: 2px;
  flex-shrink: 0;
}

.widget-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.widget-body { padding: 18px 20px; }

/* 旧スタイル互換 */
#side_block .inner { padding: 0; }
#side_block .side_title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  padding: 14px 20px 12px;
  border-bottom: 1px solid var(--color-border-light);
}
#side_block .side_title::after { display: none; }

/* 検索フォーム */
.widget-search {
  display: flex;
  gap: 8px;
}

.widget-search input[type="search"] {
  flex: 1;
  padding: 9px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--color-text);
  outline: none;
  transition: border-color var(--transition);
}

.widget-search input[type="search"]:focus {
  border-color: var(--color-text);
}

.widget-search input[type="search"]::placeholder {
  color: var(--color-text-light);
}

.widget-search button {
  padding: 9px 14px;
  background: var(--color-text);
  color: var(--color-primary);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  transition: background var(--transition), color var(--transition);
}

.widget-search button:hover {
  background: var(--color-primary);
  color: var(--color-text);
}

/* カテゴリーリスト */
.widget-cat-list {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.widget-cat-item a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid var(--color-border-light);
  font-size: 13px;
  color: var(--color-text-muted);
  transition: color var(--transition), padding-left var(--transition);
}

.widget-cat-item:last-child a { border-bottom: none; }
.widget-cat-item a:hover { color: var(--color-text); padding-left: 4px; font-weight: 600; }

.cat-count {
  background: var(--color-tag-bg);
  color: var(--color-text-muted);
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  transition: all var(--transition);
}

.widget-cat-item a:hover .cat-count {
  background: var(--color-primary);
  color: var(--color-text);
}

/* サイドバー記事リスト */
.sidebar-article-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--color-border-light);
  align-items: flex-start;
}

.sidebar-article-item:last-child { border-bottom: none; }

.sidebar-article-item a {
  display: contents;
}

.sidebar-article-item:hover .sidebar-thumb img { opacity: 0.85; }
.sidebar-article-item:hover .sidebar-article-title { color: var(--color-accent-soft); }

.sidebar-thumb {
  width: 72px;
  aspect-ratio: 4/3;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--color-cream);
}

.sidebar-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity var(--transition);
}

.sidebar-article-info { display: flex; flex-direction: column; gap: 4px; }

.sidebar-article-title {
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--color-text);
  transition: color var(--transition);
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.sidebar-article-meta {
  font-size: 11px;
  color: var(--color-text-light);
}

/* 旧サイドバー記事スタイル互換 */
#side_block .article_list_wrap { padding: 0; }
#side_block .article_list .item { margin-bottom: 0; }
#side_block .article_list .item a {
  display: grid;
  grid-template-columns: 72px minmax(0,1fr);
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--color-border-light);
  text-decoration: none;
  align-items: flex-start;
}
#side_block .article_list .item:last-child a { border-bottom: none; }
#side_block .article_list .item .imgbox {
  width: 72px;
  aspect-ratio: 4/3;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--color-cream);
}
#side_block .article_list .item .imgbox img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#side_block .article_list .item .txtcontent { display: flex; flex-direction: column; gap: 4px; }
#side_block .article_list .item .title {
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--color-text);
  text-align: left;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  padding: 0;
}
#side_block .article_list .item time {
  font-size: 11px;
  color: var(--color-text-light);
  display: block;
}
#side_block .article_list .item .text {
  font-size: 11px;
  color: var(--color-text-muted);
  display: none;
}


/* =============================================
   ARTICLE LIST (archive / index)
============================================= */
.article_list_wrap { width: 100%; }

.article_list_wrap .item {
  margin-bottom: 16px;
}

.article_list_wrap .item a {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 20px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  text-decoration: none;
}

.article_list_wrap .item a:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary);
}

.article_list_wrap .item .imgbox {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--color-cream);
}

.article_list_wrap .item .imgbox img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.article_list_wrap .item a:hover .imgbox img { transform: scale(1.04); }

.article_list_wrap .item .txtcontent {
  padding: 20px 20px 20px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.article_list_wrap .item .title {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--color-text);
  text-align: left;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.article_list_wrap .item time {
  font-size: 11px;
  color: var(--color-text-light);
  display: flex;
  align-items: center;
  gap: 4px;
}

.article_list_wrap .item .text {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.8;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}


/* =============================================
   INDEX PAGE (フィーチャー記事)
============================================= */
.main_index {
  margin-bottom: 40px;
}

#main_block .article_list_wrap h2 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--color-text);
  margin: 0 0 24px;
  padding: 0;
  text-align: left;
}

#main_block .article_list_wrap h2::before,
#main_block .article_list_wrap h2::after {
  display: none;
}

#main_block #detail_header { margin-bottom: 32px; }


/* =============================================
   SHORTCODES — ボタン
============================================= */
.edi_btnwrap {
  margin: 28px 0;
  text-align: center;
}

.edi_btnwrap.double {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.colorbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  font-weight: 700;
  letter-spacing: 0.08em;
  transition: transform var(--transition), box-shadow var(--transition), background-color var(--transition), filter var(--transition);
  text-decoration: none;
  min-width: 200px;
  cursor: pointer;
}

.colorbtn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.colorbtn .btn_inner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
  position: relative;
  overflow: hidden;
  background: linear-gradient(155deg, #7adedb 0%, #52cbc5 60%, #37beb8 100%);
  color: var(--color-text);
  box-shadow: 0 3px 0 var(--color-accent);
  transition: background var(--transition), box-shadow var(--transition);
}

.colorbtn .btn_inner::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.22), transparent);
  transform: translateX(-220%) skewX(-18deg);
  animation: btn_shimmer 4.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes btn_shimmer {
  0%   { transform: translateX(-220%) skewX(-18deg); }
  32%  { transform: translateX(380%) skewX(-18deg); }
  100% { transform: translateX(380%) skewX(-18deg); }
}

.colorbtn.amazon .btn_inner {
  background: linear-gradient(155deg, #7adedb 0%, #52cbc5 60%, #37beb8 100%);
  color: var(--color-text);
  box-shadow: 0 3px 0 var(--color-accent);
}

.colorbtn.amazon:hover .btn_inner {
  background: linear-gradient(155deg, #93e6e3 0%, #69d6d1 60%, #4ecdc7 100%);
}

.colorbtn.rakuten .btn_inner {
  background: linear-gradient(155deg, #ef9078 0%, #e57258 60%, #db5e40 100%);
  color: #fff;
  box-shadow: 0 3px 0 #a0462c;
}

.colorbtn.rakuten:hover .btn_inner {
  background: linear-gradient(155deg, #f39d87 0%, #ea7e68 60%, #e06a52 100%);
}

.colorbtn.pink .btn_inner {
  background: linear-gradient(155deg, #f9c9b8 0%, #f4b099 60%, #eda083 100%);
  color: var(--color-text);
  box-shadow: 0 3px 0 #b07868;
}

.colorbtn.green .btn_inner {
  background: linear-gradient(155deg, #c9e6d5 0%, #b4d9c2 60%, #a0cdb0 100%);
  color: var(--color-text);
  box-shadow: 0 3px 0 #6a9b79;
}

.colorbtn.blue .btn_inner {
  background: linear-gradient(155deg, #72cbec 0%, #52bce3 60%, #38aeda 100%);
  color: #fff;
  box-shadow: 0 3px 0 #3a8aab;
}

.colorbtn.orange .btn_inner {
  background: linear-gradient(155deg, #ef9078 0%, #e57258 60%, #db5e40 100%);
  color: #fff;
  box-shadow: 0 3px 0 #a0462c;
}

.colorbtn.btn_l,
.colorbtn.btn_r { flex: 1; }
.edi_btnwrap.double a { flex: 1; min-width: 0; margin: 0; }

/* サイズバリエーション */
.colorbtn.fontsize75 .btn_inner { font-size: 12px; padding: 10px 20px; }
.colorbtn.fontsize125 .btn_inner { font-size: 16px; padding: 16px 32px; }


/* =============================================
   SHORTCODES — スピーチボックス
============================================= */
.speech_box {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin: 36px 0;
}

.speech_box .content {
  flex: 1;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 0 var(--radius-md) var(--radius-md) var(--radius-md);
  padding: 16px 20px;
  font-size: 14px;
  line-height: 1.85;
  color: var(--color-text);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.speech_box .content::before {
  content: '';
  position: absolute;
  top: 0; left: -8px;
  width: 0; height: 0;
  border-right: 8px solid var(--color-border);
  border-bottom: 10px solid transparent;
}

.speech_box .content::after {
  content: '';
  position: absolute;
  top: 1px; left: -6px;
  width: 0; height: 0;
  border-right: 7px solid var(--color-surface);
  border-bottom: 9px solid transparent;
}

.speech_box .content .title {
  font-weight: 700;
  font-size: 13px;
  color: var(--color-text);
  margin-bottom: 8px;
  border-bottom: 1px solid var(--color-border-light);
  padding-bottom: 6px;
}

.speech_box .content .text { font-size: 14px; }

.speech_box.review .content {
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-cream-soft));
  border-color: var(--color-primary-soft);
  border-radius: var(--radius-md) 0 var(--radius-md) var(--radius-md);
}

.speech_box.review .content::before {
  left: auto; right: -8px;
  border-right: none;
  border-left: 8px solid var(--color-primary-soft);
}

.speech_box.review .content::after {
  left: auto; right: -6px;
  border-right: none;
  border-left: 7px solid var(--color-primary-light);
}


/* =============================================
   SHORTCODES — スター評価
============================================= */
.star_evaluation {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 16px 0;
}

.star_box {
  display: inline-flex;
  gap: 2px;
}

.star_box::before {
  content: '★★★★★';
  font-size: 20px;
  background: linear-gradient(
    to right,
    var(--color-primary) calc(var(--rating, 0) * 20%),
    var(--color-border) calc(var(--rating, 0) * 20%)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 2px;
}

.star_evaluation .e_tit {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--color-text);
}

/* JS側でdata-rateを使うので、CSSではフォールバックとして単純表示 */
.star_rating {
  color: var(--color-primary);
  font-size: 20px;
  letter-spacing: 2px;
}


/* =============================================
   SHORTCODES — ラインチャート
============================================= */
.line_chart {
  margin: 24px 0;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px;
}

.line_chart .title {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 14px;
}

.line_chart .chart_boxs {
  display: flex;
  align-items: center;
  gap: 4px;
  position: relative;
  height: 8px;
  background: var(--color-border);
  border-radius: var(--radius-pill);
  overflow: hidden;
  margin-bottom: 8px;
}

.line_chart .chart_boxs .line {
  display: none;
}

.line_chart .chart_boxs .star {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-primary);
  font-size: 12px;
  background: var(--color-surface);
  padding: 0 2px;
}

.line_chart .undertxt {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--color-text-light);
}

/* percent_graph */
.percent_graph_wrap {
  margin: 24px 0;
}

.percent_graph {
  margin-bottom: 16px;
}

.percent_graph .title {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 6px;
  display: flex;
  justify-content: space-between;
}

.percent_graph .bar_outer {
  height: 10px;
  background: var(--color-border);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.percent_graph .bar_inner {
  height: 100%;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-soft));
  border-radius: var(--radius-pill);
  width: 0;
  transition: width 1s ease;
}


/* =============================================
   SHORTCODES — リレーションボックス
============================================= */
.relation_wrap {
  margin: 32px 0;
}

.relation_tit {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 16px;
  padding-left: 14px;
  border-left: 4px solid var(--color-primary);
}

.relation_list_warp {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.relation_item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.relation_item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary);
}

.relation_item a { display: block; text-decoration: none; }

.relation_item .imgbox {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.relation_item .imgbox .cover {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform var(--transition);
}

.relation_item:hover .imgbox .cover { transform: scale(1.04); }

.relation_item .textare {
  padding: 14px 16px;
}

.relation_item .attach {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.relation_item .attach .cate {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text);
  background: var(--color-primary);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
}

.relation_item .attach .day {
  font-size: 11px;
  color: var(--color-text-light);
}

.relation_item .title {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--color-text);
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}


/* =============================================
   SHORTCODES — スーパーバイザーボックス
============================================= */
.supervisor_box {
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-cream-soft));
  border: 1px solid var(--color-primary-soft);
  border-left: 5px solid var(--color-primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 20px 24px;
  margin: 32px 0;
}

.supervisor_box .title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 14px;
}

.supervisor_namearea {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.supervisor_namearea .image_area .imgcl {
  width: 52px; height: 52px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--color-primary);
}

.supervisor_namearea .image_area .imgbox img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.supervisor_namearea .name {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
}

.supervisor_box .textarea {
  font-size: 13px;
  line-height: 1.85;
  color: var(--color-text-muted);
}


/* =============================================
   SHORTCODES — ユーザー/ライター表示
============================================= */
.supervision_edit_wrap {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px;
  margin: 32px 0;
}

.supervision_edit_wrap .labels {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.supervision_edit_wrap .box {
  display: flex;
  gap: 16px;
  align-items: center;
}

.supervision_edit_wrap .imgcl {
  width: 52px; height: 52px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--color-primary);
  flex-shrink: 0;
}

.supervision_edit_wrap .imgbox img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.supervision_edit_wrap .name_wrap { display: flex; flex-direction: column; gap: 4px; }

.supervision_edit_wrap .degree {
  font-size: 11px;
  color: var(--color-text-muted);
  letter-spacing: 0.08em;
}

.supervision_edit_wrap .name {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 600;
  color: var(--color-text);
}


/* =============================================
   SHORTCODES — Q&A
============================================= */
.q_item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin: 20px 0;
  overflow: hidden;
}

.q_item .q_tit {
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary-soft));
  padding: 14px 20px;
  font-weight: 700;
  font-size: 15px;
  color: var(--color-text);
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.q_item .q_tit::before {
  content: 'Q';
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--color-accent);
  flex-shrink: 0;
  line-height: 1;
}

.q_item .a_tit {
  padding: 14px 20px;
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.85;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.q_item .a_tit::before {
  content: 'A';
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--color-primary);
  flex-shrink: 0;
  line-height: 1;
}


/* =============================================
   BREADCRUMB — #bread (getBreadData)
============================================= */
.breadcrumb-wrap #bread {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px;
  font-size: 11px;
  color: var(--color-text-light);
  letter-spacing: 0.04em;
}

.breadcrumb-wrap #bread .item {
  display: inline-flex;
  align-items: center;
}

.breadcrumb-wrap #bread .item + .item::before {
  content: '/';
  margin: 0 6px;
  color: var(--color-border);
}

.breadcrumb-wrap #bread a {
  color: var(--color-text-muted);
  transition: color var(--transition);
}

.breadcrumb-wrap #bread a:hover { color: var(--color-text); }


/* =============================================
   LIQUID SPEECH BALLOON プラグイン
============================================= */
.speech-balloon {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
  margin: 24px 0 !important;
  clear: both;
}

.speech-balloon .speech-icon {
  flex-shrink: 0 !important;
  width: 56px !important;
  height: 56px !important;
  min-width: 56px !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  border: 2px solid var(--color-border) !important;
  background: var(--color-cream) !important;
}

.speech-balloon .speech-icon img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.speech-balloon .speech-body {
  flex: 1 !important;
  background: var(--color-surface) !important;
  border: 1px solid var(--color-border) !important;
  border-radius: 0 var(--radius-md) var(--radius-md) var(--radius-md) !important;
  padding: 14px 18px !important;
  font-size: 14px !important;
  line-height: 1.85 !important;
  color: var(--color-text) !important;
  box-shadow: var(--shadow-sm) !important;
  position: relative !important;
  min-width: 0 !important;
}

.speech-balloon .speech-body p {
  margin-bottom: 0 !important;
}

.speech-balloon .speech-body p + p {
  margin-top: 0.75em !important;
}

/* 右向き吹き出し */
.speech-balloon.speech-right {
  flex-direction: row-reverse !important;
}

.speech-balloon.speech-right .speech-body {
  border-radius: var(--radius-md) 0 var(--radius-md) var(--radius-md) !important;
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-cream-soft)) !important;
  border-color: var(--color-primary-soft) !important;
}


/* =============================================
   LIQUID SPEECH BALLOON — QA アイテム
============================================= */
.qa-item {
  display: flex !important;
  align-items: flex-start !important;
  gap: 14px !important;
  margin: 12px 0 !important;
  padding: 14px 18px !important;
  border-radius: var(--radius-md) !important;
}

.qa-item.qa-question {
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-cream-soft)) !important;
  border: 1px solid var(--color-primary-soft) !important;
}

.qa-item.qa-answer {
  background: var(--color-surface) !important;
  border: 1px solid var(--color-border) !important;
}

.qa-badge {
  flex-shrink: 0 !important;
  width: 30px !important;
  height: 30px !important;
  min-width: 30px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-family: var(--font-serif) !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  opacity: 0.7;
}

.qa-item.qa-question .qa-badge {
  background: var(--color-primary) !important;
  color: var(--color-accent) !important;
}

.qa-item.qa-answer .qa-badge {
  background: var(--color-accent) !important;
  color: var(--color-primary) !important;
}

.qa-body {
  flex: 1 !important;
  font-size: 14px !important;
  line-height: 1.85 !important;
  color: var(--color-text) !important;
  min-width: 0 !important;
}

.qa-item.qa-question .qa-body { font-weight: 600 !important; }

.qa-body p { margin-bottom: 0 !important; }
.qa-body p + p { margin-top: 0.75em !important; }


/* =============================================
   EZ TOC / TOC プラグイン
============================================= */
#ez-toc-container {
  background: var(--color-cream-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 32px 0;
  font-size: 14px;
}

#ez-toc-container .ez-toc-title {
  font-family: var(--font-serif);
  font-size: 15px !important;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 12px;
}

#ez-toc-container nav ul {
  padding-left: 16px;
  margin: 0;
}

#ez-toc-container nav > ul { padding-left: 0; }

#ez-toc-container nav ul li {
  padding: 3px 0;
  border-bottom: none;
  font-size: 13px;
}

#ez-toc-container nav ul li a {
  color: var(--color-text-muted);
  transition: color var(--transition);
  line-height: 1.6;
}

#ez-toc-container nav ul li a:hover { color: var(--color-text); }

/* toc_container (旧プラグイン互換) */
#toc_container {
  background: var(--color-cream-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 32px 0;
  font-size: 14px;
}

#toc_container .toc_title {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 12px;
}

#toc_container .toc_list {
  padding-left: 0;
  margin: 0;
}

#toc_container .toc_list li {
  padding: 3px 0 3px 16px;
  border-bottom: none;
  font-size: 13px;
}

#toc_container .toc_list li a {
  color: var(--color-text-muted);
  transition: color var(--transition);
}

#toc_container .toc_list li a:hover { color: var(--color-text); }


/* =============================================
   colorbtn — 追加バリエーション
============================================= */
.colorbtn.purple .btn_inner {
  color: var(--color-surface);
}

.colorbtn.purple:hover .btn_inner {
}

.colorbtn.fontsize2 .btn_inner { font-size: 15px; padding: 15px 30px; }
.colorbtn.fontsize1 .btn_inner { font-size: 13px; padding: 10px 22px; }
.colorbtn.fontsize3 .btn_inner { font-size: 17px; padding: 17px 34px; }


/* =============================================
   FORMS (404, search, contact)
============================================= */
.s_warp,
.search-form {
  display: flex;
  gap: 8px;
}

.searchform input[type="text"],
.search-field {
  flex: 1;
  padding: 10px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--color-text);
  outline: none;
  transition: border-color var(--transition);
}

.searchform input[type="text"]:focus,
.search-field:focus { border-color: var(--color-text); }

.searchform input[type="submit"],
.search-submit {
  padding: 10px 18px;
  background: var(--color-text);
  color: var(--color-primary);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  transition: background var(--transition), color var(--transition);
}

.searchform input[type="submit"]:hover,
.search-submit:hover {
  background: var(--color-primary);
  color: var(--color-text);
}


/* =============================================
   404 PAGE
============================================= */
.page_404 {
  max-width: 480px;
  margin: 80px auto;
  text-align: center;
  padding: 0 var(--content-padding);
}

.page_404 .num {
  font-family: var(--font-serif);
  font-size: 96px;
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 16px;
}

.page_404 .text {
  font-size: 15px;
  color: var(--color-text-muted);
  margin-bottom: 32px;
}

.page_404 .btn a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-primary);
  color: var(--color-text);
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 0 2px 0 var(--color-accent);
  transition: background var(--transition), transform var(--transition);
}

.page_404 .btn a:hover {
  background: var(--color-primary-soft);
  transform: translateY(-1px);
}


/* =============================================
   FOOTER
============================================= */
.site-footer {
  background: var(--color-accent);
  color: rgba(255,255,255,0.6);
  padding: 56px var(--content-padding) 36px;
  text-align: center;
  width: 100%;
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 600;
  color: white;
  letter-spacing: 0.04em;
  margin-bottom: 24px;
}

.footer-logo span {
  color: var(--color-accent);
  background: var(--color-primary);
  padding: 0 6px;
  border-radius: 4px;
  margin-left: 1px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  padding: 0;
}

.footer-links a {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  transition: color var(--transition);
}

.footer-links a:hover { color: white; }

.footer-copy { font-size: 11px; letter-spacing: 0.05em; }


/* =============================================
   ANIMATIONS
============================================= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible { opacity: 1; transform: translateY(0); }


/* =============================================
   POST BOX — 動画 embed
============================================= */
.post_box .movie {
  position: relative;
  margin: 0 0 1.4em;
  padding: 0 0 56.25%;
}
.post_box .movie iframe {
  position: absolute;
  width: 100%; height: 100%;
  top: 0; left: 0;
}
.post_box iframe {
  width: 100%;
  max-width: 100%;
}


/* =============================================
   POST BOX — もっと読む
============================================= */
.post_box .more_wrpa .more_content {
  overflow: hidden;
  width: 100%;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  height: 1.8em;
}
.post_box .more_wrpa .more_content.open {
  display: block;
  height: 100%;
}
.post_box .more_wrpa .button { text-align: right; }
.post_box .more_wrpa .button .toggle {
  font-size: 13px;
  margin: 10px 10px 0 0;
  cursor: pointer;
  padding: 0 0 0 18px;
  font-weight: bold;
  color: var(--color-text-muted);
}
.post_box .more_wrpa .button .toggle:hover { text-decoration: underline; }


/* =============================================
   POST BOX — アイテムボックス
============================================= */
.post_box .item_box_warp {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  text-align: left;
  overflow: hidden;
  margin: 24px 0;
}
.post_box .item_box_warp .item_name {
  font-family: var(--font-serif);
  font-weight: 600;
  margin: 0 0 1em;
  line-height: 1.5;
  color: var(--color-text);
}


/* =============================================
   POST BOX — テーブル追加スタイル
============================================= */
.post_box .announce {
  font-size: 12px;
  text-align: right;
  margin: 6px 0 8px;
  color: var(--color-text-light);
  animation: yokoyura 1.5s linear infinite;
}
.post_box .announce span {
  font-size: 14px;
  display: inline-block;
  vertical-align: text-bottom;
}
@keyframes yokoyura {
  0%, 100% { transform: translate(5px, 0); }
  50%       { transform: translate(-5px, 0); }
}

.post_box .fixed_table table tr > th:first-child {
  word-break: break-all;
  width: 145px;
  box-sizing: border-box;
  left: 0;
  position: -webkit-sticky;
  position: sticky;
  z-index: 1;
  background: linear-gradient(135deg, var(--color-primary-soft), var(--color-primary-light));
  border-bottom: 1px solid var(--color-border);
}

.post_box table .minbtn { display: block; margin: 0.2em 0 0; }
.post_box table .minbtn a {
  color: #fff;
  text-decoration: none;
  display: inline-block;
  font-weight: bold;
  padding: 4px 12px;
  font-size: 12px;
  border-radius: 6px;
}
.post_box table .minbtn.pink a   { background: var(--color-primary); color: var(--color-text); border-bottom: 3px solid #1f8a82; }
.post_box table .minbtn.green a  { background: var(--color-mint); color: var(--color-text); border-bottom: 3px solid #7aab8b; }
.post_box table .minbtn.blue a   { background: #56BCE3; color: #fff; border-bottom: 3px solid #5AA0BA; }
.post_box table .minbtn.purple a { background: var(--color-hot); color: #fff; border-bottom: 3px solid #a0462c; }


/* =============================================
   POST BOX — TOC 詳細スタイル
============================================= */
.post_box #toc_container {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  margin: 40px 0;
}
.post_box #toc_container::after {
  content: '';
  width: 100%; height: 50px;
  background: linear-gradient(to bottom, transparent, var(--color-bg));
  display: block;
  position: absolute;
  bottom: 0; left: 0;
  opacity: 0; visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.post_box #toc_container.close::after {
  opacity: 1; visibility: visible;
}
.post_box #toc_container .toc_list {
  overflow: hidden;
  margin: 0;
}
.post_box #toc_container .toc_title {
  background: linear-gradient(135deg, var(--color-primary-soft), var(--color-primary-light));
  color: var(--color-text);
  font-size: 14px;
  font-weight: 700;
  padding: 12px 20px;
  margin: 0;
  letter-spacing: 0.05em;
}
.post_box #toc_container .toc_title .toc_toggle a { color: var(--color-text-muted); font-size: 12px; }
.post_box #toc_container .toc_list li {
  margin: 0 0 0.6em;
  line-height: 1.5;
  padding: 0;
  border: none;
}
.post_box #toc_container .toc_list li::before { display: none; }
.post_box #toc_container .toc_list li:last-child { margin: 0; }
.post_box #toc_container .toc_list li a {
  padding: 0 0 0 1.2em;
  display: inline-block;
  line-height: 1.5;
  color: var(--color-text);
  text-decoration: none;
}
.post_box #toc_container .toc_list li a:hover { text-decoration: underline; }
.post_box #toc_container .toc_list li a span.toc_number { margin: 0 0 0 -1.2em; }
.post_box #toc_container .toc_list li a span.toc_number::after { content: '.'; }
.post_box #ez-toc-container ul > li::before { display: none; }
.post_box .su-list ul li::before { display: none; }


/* =============================================
   SUPERVISOR / SUPERVISION — 画像ボックス追加
============================================= */
.supervisor_namearea .image_area .imgbox {
  width: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 50%;
}
.supervisor_namearea .image_area .imgbox::after {
  content: '';
  padding: 100% 0 0;
  display: block;
}
.supervisor_namearea .image_area .imgbox img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

.supervision_edit_wrap .imgcl .imgbox {
  width: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 50%;
  border: none;
}
.supervision_edit_wrap .imgcl .imgbox::after {
  content: '';
  padding: 100% 0 0;
  display: block;
}
.supervision_edit_wrap .imgcl .imgbox img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.supervision_edit_wrap .name_wrap .moretxt a {
  color: var(--color-primary);
  text-decoration: underline;
}


@media (max-width: 1024px) {
  .archive-wrapper,
  #container {
    grid-template-columns: 1fr;
    padding-top: 32px;
  }

  .archive-sidebar,
  #side_block {
    position: static;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
  }
}

@media (min-width: 768px) {
  .post_box .announce { display: none; }
  .post_box table .minbtn a { font-size: 13px; }
  .post_box th, .post_box td { font-size: 14px; }
}

.post_box table .app_icon {
  width: 100px;
}
.post_box .tbl-scroll-wrap,
.post_box .tbl-fixed-wrap {
  margin: 2em 0;
}
@media (max-width: 767px) {
  .post_box .fixed_table,
  .post_box .scroll_table,
  .post_box .tbl-scroll-wrap,
  .post_box .tbl-fixed-wrap,
  .post_box .ms-table-wrap {
    width: calc(100% + 20px);
    padding: 0 20px 0 0;
  }

  .post_box .tbl-scroll-wrap,
  .post_box .tbl-fixed-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border);
  }

  .post_box .tbl-scroll-wrap table,
  .post_box .tbl-fixed-wrap table {
    margin: 0;
    white-space: nowrap;
    min-width: 100%;
    border: none;
  }

  .post_box .tbl-fixed-wrap table tr > th:first-child {
    word-break: break-all;
    width: 145px;
    box-sizing: border-box;
    left: 0;
    position: -webkit-sticky;
    position: sticky;
    z-index: 1;
    background: linear-gradient(135deg, var(--color-primary-soft), var(--color-primary-light));
    border-bottom: 1px solid var(--color-border);
  }

  .post_box .tbl-fixed-wrap table tr > td:first-child {
    position: -webkit-sticky;
    position: sticky;
    left: 0;
    background: var(--color-surface);
    z-index: 1;
    border-right: 1px solid var(--color-border);
  }

  .post_box table .minbtn a { padding: 4px 10px; font-size: 11px; }
  .post_box th, .post_box td { font-size: 12px; }
}

@media (max-width: 768px) {
  .header-nav { display: none; }
  .site-logo { font-size: 22px; }

  .page-hero { padding: 40px var(--content-padding) 32px; }
  .page-hero-title { font-size: clamp(24px, 7vw, 36px); }

  /* フィーチャーカード: 縦積み */
  .card-featured { grid-template-columns: 1fr; }
  .card-featured-thumb { min-height: unset; aspect-ratio: 16/9; }
  .card-featured-body { padding: 24px 20px; }

  .card-grid { gap: 14px; }

  .article_list_wrap .item a {
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 14px;
  }

  .related-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .archive-sidebar,
  #side_block { grid-template-columns: 1fr; }

  .article-title,
  .post_title { font-size: clamp(22px, 6vw, 30px); }
}


/* =============================================
   RESPONSIVE — スマホ (≤480px)
============================================= */
@media (max-width: 480px) {
  :root { --content-padding: 16px; }

  .site-logo { font-size: 20px; }

  .page-hero { padding: 32px 16px 28px; }

  .card-grid { grid-template-columns: 1fr; }

  .article_list_wrap .item a {
    grid-template-columns: 1fr;
  }

  .article_list_wrap .item .imgbox {
    aspect-ratio: 16/9;
  }

  .article_list_wrap .item .txtcontent {
    padding: 16px;
  }

  .related-grid { grid-template-columns: 1fr; }

  .edi_btnwrap.double { flex-direction: column; }
  .colorbtn { min-width: unset; width: 100%; }

  .post_box .fixed_table::before {
    content: '← スワイプして確認';
    display: block;
    font-size: 11px;
    color: var(--color-text-light);
    text-align: right;
    padding: 4px 8px 8px;
  }
}

/* =============================================
   POST BOX — チェックイントロボックス
============================================= */
.post_box .check_intro_box {
  position: relative;
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  padding: 28px 24px 22px;
  margin: 32px 0;
}

.post_box .check_intro_box::before {
  content: '✓';
  position: absolute;
  top: -17px;
  left: 18px;
  width: 34px;
  height: 34px;
  background: var(--color-primary);
  border-radius: 50%;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  line-height: 34px;
}

.post_box .check_intro_box p:last-child { margin-bottom: 0; }

/* =============================================
   POST BOX — NGリストボックス（×アイコン付き赤枠）
============================================= */
.post_box .ng_list_box {
  position: relative;
  border: 2px solid var(--color-hot);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  padding: 28px 24px 22px;
  margin: 32px 0;
}

.post_box .ng_list_box::before {
  content: '✕';
  position: absolute;
  top: -17px;
  left: 18px;
  width: 34px;
  height: 34px;
  background: var(--color-hot);
  border-radius: 50%;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  line-height: 34px;
}

.post_box .ng_list_box .ng_title {
  font-weight: 700;
  font-size: 15px;
  color: var(--color-text);
  margin-bottom: 12px;
}

.post_box .ng_list_box ul {
  margin-bottom: 0;
}

.post_box .ng_list_box ul li {
  color: var(--color-hot);
  border-bottom-color: #fbe2ec;
}

.post_box .ng_list_box ul li::before {
  background: var(--color-text);
  border-color: var(--color-text);
}

.post_box .ng_list_box ul li strong {
  display: block;
  color: var(--color-text);
  font-weight: 700;
}

/* =============================================
   POST BOX — 注意リストボックス（⚠アイコン付き黄枠）
============================================= */
.post_box .warn_list_box {
  position: relative;
  border: 2px solid #f0bb00;
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  padding: 28px 24px 22px;
  margin: 32px 0;
}

.post_box .warn_list_box::before {
  content: '⚠';
  position: absolute;
  top: -17px;
  left: 18px;
  width: 34px;
  height: 34px;
  background: #f0bb00;
  border-radius: 50%;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  line-height: 34px;
}

.post_box .warn_list_box .warn_title {
  font-weight: 700;
  font-size: 15px;
  color: var(--color-text);
  margin-bottom: 12px;
}

.post_box .warn_list_box ul {
  margin-bottom: 0;
}

.post_box .warn_list_box ul li::before {
  background: var(--color-text);
  border-color: var(--color-text);
}


/* =============================================
   STATIC PAGE HEADING
============================================= */
.common_title {
  font-family: var(--font-serif);
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--color-border);
  letter-spacing: 0.01em;
}


/* =============================================
   CONTACT FORM
============================================= */
.form_lead_text {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 32px;
}

.form_lead_text a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-error-box {
  background: #fff5f5;
  border: 1px solid #f8c5c5;
  border-radius: var(--radius-sm);
  color: #c0392b;
  font-size: 13px;
  padding: 12px 16px;
  margin-bottom: 24px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.contact-required {
  display: inline-block;
  background: var(--color-primary);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
}

.contact-note {
  font-size: 11px;
  font-weight: 400;
  color: var(--color-text-light);
}

.contact-group input[type="text"],
.contact-group input[type="email"],
.contact-group select,
.contact-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--color-text);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}

.contact-group input[type="text"]::placeholder,
.contact-group input[type="email"]::placeholder,
.contact-group textarea::placeholder {
  color: var(--color-text-light);
}

.contact-group input[type="text"]:focus,
.contact-group input[type="email"]:focus,
.contact-group select:focus,
.contact-group textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(52, 144, 153, 0.12);
}

.contact-group textarea {
  resize: vertical;
  min-height: 180px;
  line-height: 1.7;
}

.contact-select-wrap {
  position: relative;
}

.contact-select-wrap::after {
  content: '';
  pointer-events: none;
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--color-text-muted);
}

.contact-select-wrap select {
  padding-right: 36px;
  cursor: pointer;
}

.contact-group.has-error input,
.contact-group.has-error select,
.contact-group.has-error textarea {
  border-color: #e74c3c;
  background: #fff9f9;
}

.contact-error-msg {
  font-size: 12px;
  color: #e74c3c;
  margin: 0;
}

.contact-char-count {
  font-size: 12px;
  color: var(--color-text-light);
  text-align: right;
  margin: 0;
}

.contact-char-min {
  color: var(--color-text-light);
}

.contact-privacy label {
  display: inline-flex;
  cursor: pointer;
}

.contact-checkbox-label {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 400 !important;
  color: var(--color-text-muted);
  cursor: pointer;
}

.contact-checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--color-primary);
  cursor: pointer;
}

.contact-checkbox-label a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-submit-area {
  text-align: center;
  padding-top: 8px;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--color-accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-pill);
  padding: 16px 48px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
}

.contact-btn:hover {
  background: var(--color-accent-soft);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.form_thx_warp {
  text-align: center;
  padding: 48px 0;
}

.form_thx_warp .tit {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 20px;
  line-height: 1.5;
}

.form_thx_warp .txt {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 2;
  margin-bottom: 36px;
}

.form_thx_warp .btn_area { margin-top: 8px; }

@media (max-width: 600px) {
  .contact-btn {
    width: 100%;
    padding: 16px 24px;
  }
}


/* =============================================
   POST BOX — ラベルリストボックス（左上タブ付き）
============================================= */
.post_box .label_list_box {
  position: relative;
  border: 1px solid #1a4d56;
  border-radius: 2px;
  background: var(--color-surface);
  padding: 44px 24px 22px;
  margin: 32px 0;
}

.post_box .label_list_box .label_title {
  position: absolute;
  top: 0;
  left: 0;
  background: #1a4d56;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 14px;
  margin: 0;
  line-height: 1.4;
}

.post_box .label_list_box ul {
  margin-bottom: 0;
}

.post_box .label_list_box ul li::before {
  background: var(--color-text);
  border-color: var(--color-text);
}

/* =============================================
   POST BOX — ヒントボックス（👍アイコン＋縦線）
============================================= */
.post_box .tip_box {
  display: flex;
  align-items: center;
  background: var(--color-mint-light);
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  margin: 24px 0;
  gap: 16px;
}

.post_box .tip_box::before {
  content: '';
  display: block;
  min-width: 28px;
  height: 28px;
  flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23349099'%3E%3Cpath d='M1 21h4V9H1v12zm22-11c0-1.1-.9-2-2-2h-6.31l.95-4.57.03-.32c0-.41-.17-.79-.44-1.06L14.17 1 7.59 7.59C7.22 7.95 7 8.45 7 9v10c0 1.1.9 2 2 2h9c.83 0 1.54-.5 1.84-1.22l3.02-7.05c.09-.23.14-.47.14-.73v-1.91L23 10z'/%3E%3C/svg%3E") no-repeat center;
  background-size: 24px;
}

.post_box .tip_box p {
  margin: 0;
  border-left: 2px solid var(--color-primary);
  padding-left: 16px;
  font-size: 15px;
  line-height: 1.7;
}

/* =============================================
   POST BOX — インフォボックス（ⓘアイコン＋縦線・コーラル）
============================================= */
.post_box .info_box {
  display: flex;
  align-items: center;
  background: var(--color-hot-light);
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  margin: 24px 0;
  gap: 14px;
}

.post_box .info_box::before {
  content: 'i';
  display: block;
  min-width: 26px;
  height: 26px;
  background: var(--color-hot);
  border-radius: 50%;
  color: #fff;
  font-style: italic;
  font-weight: 900;
  font-size: 15px;
  text-align: center;
  line-height: 26px;
  flex-shrink: 0;
}

.post_box .info_box p {
  margin: 0;
  border-left: 2px solid var(--color-coral);
  padding-left: 16px;
  font-size: 15px;
  line-height: 1.7;
}
