@charset "UTF-8";

:root {
  --white: #ffffff;
  --light-gray: #F1F3F5;
  --text: #1b2b4b;
  --accent: #2c3e6b;
  --steel: #4a6fa5;
  --border: #e5e7eb;
  --border2: #8b8f95;
  --gray-text: #9ca3af;
  --shadow: 0 18px 45px rgba(27, 43, 75, 0.08);
  --container: 1827px;
  --container-fv: 1580px;
  --radius: 14px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  line-height: 1.85;
  letter-spacing: 0.02em;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}


a{
  transition: 0.3s;
}
a:hover{
  opacity: 0.6;
}


.wi100{
  width: 100%;
}

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

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


.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.site-logo {
  display: grid;
  min-width: 220px;
}

.logo-main {
  font-weight: 900;
  font-size: 26px;
  line-height: 1.2;
}

.logo-sub {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  opacity: .75;
  text-align: center;
  letter-spacing: 0.1em;
  margin-left: 4px;
  margin-top: 4px;
}

.global-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 42px;
}

.global-nav a {
  font-size: 18px;
  font-weight: 700;
}

.search-icon {
  width: 50px;
  background: none;
  border: none;
}

.nav-toggle {
  display: none;
  width: 52px;
  height: 48px;
  background: var(--white);
  place-items: center;
  border: none;
}

.nav-toggle span {
  width: 36px;
  height: 3px;
  background: var(--text);
  display: block;
  margin: 3px 0;
}

.fv {
  background: var(--light-gray);
  border-bottom: 1px solid var(--border);
  background-image: url("../img/fv/fv.png");
  background-repeat: none;
  background-size: cover;
  background-position: center;
  min-height: 655px;

}

.fv-inner {
  max-width: var(--container-fv);
  margin: 0 auto;
  padding-top: 160px;
  width: 90%;
}

.fv h1 {
  margin: 0 0 22px;
  font-family: "Noto Serif JP", serif;
  font-weight: 900;
  font-size: clamp(50px, 5vw, 74px);
  line-height: 1.3;
  letter-spacing: 0.08em;
}

.fv-lead {
  margin: 0;
  font-size: 30px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.category-nav {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px 56px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  transform: translateY(-1px);
}

.category-item {
  padding: 0px 10px;
  margin: 28px 0;
  text-align: center;
  background: var(--white);
  border-right: 1px solid var(--border);
}

.category-item:last-child {
  border-right: none;
}

.category-item img {
  margin: 0 auto 12px;
  width: 100px;
}
.ci2 img {
  width: 110px;
  margin-bottom: 0;
}

.category-item strong {
  display: block;
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
}

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

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 26px;
}

.section-heading h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.35;
  letter-spacing: 0.05em;
}

.section-heading h2::after {
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  border-radius: 999px;
  background: var(--text);
  margin-top: 10px;
}

.view-more {
  color: var(--text);
  font-weight: 700;
  font-size: 20px;
  border: 1px solid var(--border2);
  padding: 10px 22px;
  margin: 0 auto;
  max-width: 400px;
  width: 100%;
  display: block;
  text-align: center;
  letter-spacing: 0.1em;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}

.view-more:hover {
  background: var(--text);
  color: var(--white);
  opacity: 1;
}
.view-more-inner{
  padding-top: 60px;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.article-card {
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: 0 10px 28px rgba(27,43,75,.04);
  border-radius: 6px;
}

.article-card > img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--light-gray);
}

.article-content { padding: 16px; }

.article-tag {
  display: inline-flex;
  padding: 3px 9px;
  background: var(--text);
  color: var(--white);
  font-size: 14px;
  font-weight: 400;
  border-radius: 6px;
}

.article-card h3 {
  margin: 10px 0 14px;
  font-size: 20px;
  line-height: 1.6;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.article-card time {
  color: var(--gray-text);
  font-size: 14px;
}

.read-time {
  font-size: 13px;
  color: var(--gray-text);
}

.read-time::before {
  content: "／";
  margin-right: 6px;
  color: var(--border);
}

.popular {
  padding-top: 52px;
}

.site-footer {
  background: var(--text);
  color: rgba(255,255,255,.82);
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 38px 24px 24px;
  display: grid;
  gap: 20px;
}

.site-footer strong {
  display: block;
  font-family: "Noto Serif JP", serif;
  font-size: 24px;
}

.site-footer span {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,.65);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 13px;
  padding-top: 14px;
}

.sub-nav { color: rgba(255,255,255,.68); }

.site-footer p {
  margin: 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.55);
  font-size: 12px;
}

main{
  padding-bottom: 60px;
}


@media (max-width: 1100px) {
  .global-nav a {
    font-size: 14px;
  }
  .global-nav {
    gap: 30px;
  }
  .logo-main {
    font-size: 20px;
  }
  .logo-sub {
    font-size: 12px;
    margin-left:0;
  }
}



@media (max-width: 980px) {
  .global-nav {
    display: none;
    position: absolute;
    left: 18px;
    right: 18px;
    top: 72px;
    padding: 20px;
    border: 1px solid var(--border);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .global-nav.is-open {
    display: grid;
    gap: 14px;
  }

  .nav-toggle { display: grid; }

  .header-inner{
    justify-content: space-between;
  }

  .fv {
  border-bottom: none;
  background-image: none;
  min-height: 0;
}

  .fv h1 {
    font-size: calc(90vw / 980 * 100);
    margin-bottom: 0;
  }

  .fv-lead {
    font-size: calc(36vw / 980 * 100);
    padding-top: calc(40vw / 980 * 100);
  }

  .fv-inner {
    padding-top: 0px;
    padding-bottom: 56px;
  }

  .article-grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 16px;
  }

  /* .category-nav {
    grid-template-columns: repeat(3, 1fr);
  } */



  .category-nav {
  max-width: var(--container);
  padding: 0;
  transform: translateY(-1px);
}

.category-item {
  padding: 0px calc(10vw / 980 * 100);
  margin: calc(28vw / 980 * 100) 0;
  border-right: 1px solid var(--border);
}

.category-item img {
  margin: 0 auto calc(12vw / 980 * 100);
  width: calc(100vw / 980 * 100);
}
.ci2img {
  width: calc(110vw / 980 * 100);
}

.category-item strong {
  font-size: calc(24vw / 980 * 100);
}


.section-heading h2 {
    font-size: 14px;
}
.section-heading h2::after{
    width: 28px;
    height: 2px;
    margin-top: 6px;
}
.section{
  padding: 24px 18px 12px;
}
.section-heading{
    margin-bottom: 12px;
}
.article-card > img {
    width: 100%;
    max-width: 140px;
    height: fit-content;
}
.article-content {
    padding: 0 0 0 16px;
}
.article-tag {
    padding: 1px 4px;
    font-size: 10px;
    border-radius: 4px;
}
.article-card h3{
    margin: 2px 0 0px;
    font-size: 14px;
}
.article-card time {
    font-size: 11px;
}
.article-card{
  display: flex;
  border: none;
  align-items: center;
  box-shadow: none;
}
.view-more-inner {
    padding-top: 24px;
    padding-bottom: 12px;
}
.view-more {
    font-size: 12px;
    padding: 8px 16px;
    max-width: 240px;
}
.popular{
  border-bottom: 1px solid var(--border);
  padding-bottom: 32px;
}
main{
  padding-bottom: 40px;
}
.site-footer nav {
    flex-direction: column;
    gap: 4px;
    font-size: 12px;
}
.footer-inner {
    padding: 20px 16px;
}
.site-footer p {
    padding-top: 6px;
    font-size: 8px;
}
.site-footer strong{
  font-size: 18px;
}
.site-footer span {
    font-size: 10px;
}



  }

@media (max-width: 640px) {
  .site-logo { min-width: auto; }

  /* .article-grid,
  .category-nav {
    grid-template-columns: 1fr;
  } */

  .section-heading { display: block; }


  .logo-main{
    font-size: 20px;
  }
  .logo-sub {
    font-size: 12px;
    margin-left: 6px;
    margin-top: 2px;
  }
  .nav-toggle span {
    width: 24px;
  }
  .nav-toggle {
    width: 40px;
    height: 38px;
  }
  .search-icon {
    width: 42px;
  }
  .header-inner{
    gap: 0;
    padding: 18px 12px;
  }

}


/* ============================================================
   Article sidebar — 現在非表示
   ============================================================ */

.article-sidebar-col {
  display: none;
}

.article-container {
  grid-template-columns: 1fr;
  max-width: 800px;
}


/* ============================================================
   Static pages — contact / about / privacy 共通
   ============================================================ */

.static-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 52px 24px 100px;
}

.static-h1 {
  margin: 0 0 24px;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.04em;
}

.static-lead {
  margin: 0 0 40px;
  font-size: 15px;
  color: var(--gray-text);
  line-height: 1.9;
}

.static-section-title {
  margin: 52px 0 20px;
  font-size: 20px;
  font-weight: 800;
}

@media (max-width: 640px) {
  .static-page {
    padding: 32px 16px 72px;
  }
}


/* ============================================================
   Contact Form 7
   ============================================================ */

.wpcf7 {
  margin-bottom: 48px;
}

.wpcf7-form p {
  margin: 0 0 24px;
}

.wpcf7-form label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.wpcf7-form-control-wrap {
  display: block;
}

.wpcf7-form-control {
  display: block;
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 12px 14px;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.wpcf7-form-control:focus {
  outline: none;
  border-color: var(--steel);
}

.wpcf7-form-control::placeholder {
  color: #bfc4cc;
}

.wpcf7-form-control.wpcf7-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%239ca3af' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

.wpcf7-form-control.wpcf7-textarea {
  min-height: 160px;
  resize: vertical;
  line-height: 1.7;
}

.wpcf7-form-control.wpcf7-submit {
  background: var(--text);
  color: var(--white);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.08em;
  border: none;
  padding: 18px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
}

.wpcf7-form-control.wpcf7-submit:hover {
  background: var(--accent);
}

.wpcf7-form-control.wpcf7-not-valid {
  border-color: #e53e3e;
  background: #fff5f5;
}

.wpcf7-not-valid-tip {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: #e53e3e;
}

.wpcf7-spinner {
  display: none;
}

.wpcf7-response-output {
  margin: 16px 0 0;
  padding: 12px 16px;
  border-radius: 4px;
  font-size: 14px;
}

.wpcf7-form.sent .wpcf7-response-output {
  border: 1px solid #38a169;
  background: #f0fff4;
  color: #276749;
}

.wpcf7-form.failed .wpcf7-response-output,
.wpcf7-form.invalid .wpcf7-response-output {
  border: 1px solid #e53e3e;
  background: #fff5f5;
  color: #c53030;
}

.contact-note {
  font-size: 13px;
  color: var(--gray-text);
  margin: -12px 0 24px;
}

.contact-note a {
  color: var(--steel);
  text-decoration: underline;
}

.contact-business {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  background: var(--light-gray);
  border-radius: 6px;
  margin-top: 40px;
}

.contact-business-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
}

.contact-business-title {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 800;
}

.contact-business-desc {
  margin: 0;
  font-size: 13px;
  color: var(--gray-text);
  line-height: 1.7;
}


/* ============================================================
   About page
   ============================================================ */

.company-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 52px;
}

.company-table th,
.company-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  line-height: 1.8;
  vertical-align: top;
  text-align: left;
}

.company-table th {
  width: 120px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}

.company-table td {
  color: #374151;
}

.company-table td a {
  color: var(--steel);
  text-decoration: underline;
}

.company-table tr:first-child th,
.company-table tr:first-child td {
  border-top: 1px solid var(--border);
}

.media-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 6px;
  margin-bottom: 40px;
}

.media-card-thumb {
  flex-shrink: 0;
  width: 120px;
  border-radius: 4px;
  overflow: hidden;
  background: var(--light-gray);
}

.media-card-thumb img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.media-card-name {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 800;
}

.media-card-desc {
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--gray-text);
  line-height: 1.75;
}

.media-card-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--steel);
}

.disclaimer-box {
  padding: 20px 24px;
  background: var(--light-gray);
  border-radius: 6px;
}

.disclaimer-box p {
  margin: 0;
  font-size: 14px;
  color: #374151;
  line-height: 1.85;
}

@media (max-width: 640px) {
  .company-table,
  .company-table tbody,
  .company-table tr,
  .company-table th,
  .company-table td {
    display: block;
  }

  .company-table th {
    width: auto;
    padding-bottom: 4px;
    border-bottom: none;
  }

  .company-table td {
    padding-top: 0;
  }

  .media-card {
    flex-direction: column;
  }

  .media-card-thumb {
    width: 100%;
  }
}


/* ============================================================
   Privacy page
   ============================================================ */

.privacy-content {
  font-size: 15px;
  line-height: 1.9;
  color: #374151;
}

.privacy-content > p:first-child {
  margin-bottom: 40px;
  color: var(--text);
}

.privacy-content h2 {
  margin: 40px 0 12px;
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.5;
}

.privacy-content p {
  margin: 0 0 16px;
}

.privacy-content ul {
  margin: 0 0 16px;
  padding-left: 20px;
}

.privacy-content ul li {
  margin-bottom: 4px;
}

.privacy-content a {
  color: var(--steel);
  text-decoration: underline;
}

.privacy-date {
  margin-top: 52px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--gray-text);
}


/* ============================================================
   Archive page
   ============================================================ */

.page-header {
  background: var(--light-gray);
  border-bottom: 1px solid var(--border);
}

.page-header-inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 48px 24px 40px;
}

.page-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--gray-text);
  margin-bottom: 12px;
}

.page-header h1 {
  margin: 0 0 12px;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.3;
}

.page-header-desc {
  margin: 0;
  font-size: 15px;
  color: var(--gray-text);
  line-height: 1.8;
}

.filter-bar {
  border-bottom: 1px solid var(--border);
  background: var(--white);
  position: sticky;
  top: 73px;
  z-index: 40;
}

.filter-bar-inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
}

.filter-btn {
  flex-shrink: 0;
  padding: 6px 18px;
  border-radius: 999px;
  border: none;
  background: var(--light-gray);
  color: var(--gray-text);
  font-size: 13px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: 0.2s;
}

.filter-btn:hover {
  background: #e0e2e5;
  color: var(--text);
}

.filter-btn.is-active {
  background: var(--text);
  color: var(--white);
}

.archive-section {
  max-width: 980px;
  margin: 0 auto;
  padding: 40px 24px 0;
}

.archive-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.archive-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}

.archive-item:first-child {
  padding-top: 0;
}

.archive-item-thumb {
  flex-shrink: 0;
  width: 180px;
  border-radius: 6px;
  overflow: hidden;
  display: block;
}

.archive-item-thumb img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: var(--light-gray);
  transition: 0.3s;
}

.archive-item-thumb:hover img {
  opacity: 0.8;
}

.archive-item-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.archive-item-title {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.55;
  color: var(--text);
  transition: 0.2s;
}

.archive-item-title:hover {
  color: var(--steel);
}

.archive-item-excerpt {
  margin: 0;
  font-size: 14px;
  color: var(--gray-text);
  line-height: 1.75;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.archive-item-date {
  font-size: 13px;
  color: var(--gray-text);
  margin-top: 4px;
}

.article-tag.tag-stretch  { background: var(--steel); }
.article-tag.tag-posture  { background: var(--accent); }
.article-tag.tag-other    { background: var(--border2); }

.pagination-wrap {
  max-width: 980px;
  margin: 0 auto;
  padding: 52px 24px 80px;
  display: flex;
  justify-content: center;
}

.pagination {
  display: flex;
  align-items: center;
  gap: 4px;
}

.page-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  border-radius: 4px;
  transition: 0.2s;
}

.page-btn:hover {
  border-color: var(--text);
  background: var(--light-gray);
}

.page-btn.is-active {
  background: var(--text);
  color: var(--white);
  border-color: var(--text);
  cursor: default;
}

.page-btn.is-dots {
  border: none;
  background: none;
  cursor: default;
  color: var(--gray-text);
}

.page-btn.is-dots:hover {
  background: none;
  border: none;
}

@media (max-width: 980px) {
  .filter-bar {
    top: 60px;
  }

  .archive-item-thumb {
    width: 120px;
  }

  .archive-item-title {
    font-size: 15px;
  }
}

@media (max-width: 640px) {
  .page-header-inner {
    padding: 32px 16px 28px;
  }

  .page-header h1 {
    font-size: 22px;
  }

  .filter-bar-inner {
    padding: 12px 16px;
  }

  .archive-section {
    padding: 24px 16px 0;
  }

  .archive-item {
    gap: 14px;
    padding: 20px 0;
  }

  .archive-item-thumb {
    width: 90px;
  }

  .archive-item-title {
    font-size: 14px;
  }

  .archive-item-excerpt {
    display: none;
  }

  .pagination-wrap {
    padding: 36px 16px 60px;
  }
}


/* ============================================================
   Article page
   ============================================================ */

.breadcrumb {
  border-bottom: 1px solid var(--border);
  background: var(--white);
}

.breadcrumb-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--gray-text);
}

.breadcrumb-inner a {
  color: var(--gray-text);
}

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

.breadcrumb-sep {
  color: var(--border2);
}

.article-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px 80px;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 60px;
  align-items: start;
}

.article-main {
  min-width: 0;
}

.article-header {
  margin-bottom: 28px;
}

.article-tag-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.article-h1 {
  margin: 0 0 16px;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.04em;
}

.article-meta-row {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13px;
  color: var(--gray-text);
}

.article-hero {
  margin: 0 0 8px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--light-gray);
}

.article-hero img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.pr-notice {
  margin: 8px 0 28px;
  padding: 8px 14px;
  background: var(--light-gray);
  border-radius: 4px;
  font-size: 11px;
  color: var(--gray-text);
}

.article-lead {
  margin: 0 0 36px;
  padding-left: 16px;
  border-left: 3px solid var(--border);
  font-size: 15px;
  line-height: 1.9;
  color: #555;
}

.toc {
  background: var(--light-gray);
  border-radius: 8px;
  padding: 20px 24px;
  margin-bottom: 40px;
}

.toc-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.toc-title-row p {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
}

.toc-toggle {
  border: none;
  background: none;
  color: var(--steel);
  font-size: 12px;
  font-family: inherit;
  cursor: pointer;
  padding: 0;
}

.toc ol {
  margin: 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toc ol li {
  font-size: 14px;
  line-height: 1.6;
}

.toc ol a {
  color: var(--text);
}

.toc ol a:hover {
  color: var(--steel);
}

/* --- 記事本文 --- */

.article-body {
  font-size: 15px;
  line-height: 1.9;
}

.article-body h2 {
  margin: 48px 0 16px;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.5;
  padding-left: 14px;
  border-left: 4px solid var(--steel);
  color: var(--text);
}

.article-body h3 {
  margin: 32px 0 12px;
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.article-body p {
  margin: 0 0 20px;
  color: #374151;
}

.article-body strong {
  color: var(--text);
  font-weight: 700;
}

.article-body ul,
.article-body ol {
  margin: 0 0 20px;
  padding-left: 24px;
  color: #374151;
}

.article-body li {
  margin-bottom: 6px;
  line-height: 1.8;
}

.article-body figure {
  margin: 32px 0;
  border-radius: 8px;
  overflow: hidden;
  background: var(--light-gray);
}

.article-body figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.article-body figcaption {
  font-size: 12px;
  color: var(--gray-text);
  text-align: center;
  padding: 8px 0;
}

.article-related-box {
  margin: 32px 0;
  padding: 16px 20px;
  background: var(--light-gray);
  border-left: 4px solid var(--steel);
  border-radius: 0 6px 6px 0;
}

.article-related-box .related-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--steel);
  display: block;
  margin-bottom: 6px;
}

.article-related-box a {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.article-related-box a:hover {
  color: var(--steel);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0 0 20px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}

.faq-question {
  padding: 14px 18px;
  background: var(--light-gray);
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

.faq-answer {
  padding: 14px 18px;
  font-size: 14px;
  color: #374151;
  line-height: 1.8;
  margin: 0;
}

/* --- Share & Related --- */

.article-share {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.article-share .share-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--gray-text);
  margin-bottom: 16px;
}

.share-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.share-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 13px;
  color: var(--text);
  font-weight: 700;
  transition: 0.2s;
}

.share-btn:hover {
  border-color: var(--text);
  opacity: 1;
  background: var(--light-gray);
}

.article-related {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.article-related .related-heading {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--gray-text);
  margin: 0 0 20px;
}

.related-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.related-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.related-card-thumb {
  flex-shrink: 0;
  width: 80px;
  border-radius: 4px;
  overflow: hidden;
}

.related-card-thumb img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: var(--light-gray);
}

.related-card-body .article-tag {
  font-size: 11px;
  padding: 2px 6px;
}

.related-card-title {
  margin: 6px 0 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--text);
}

.related-card:hover .related-card-title {
  color: var(--steel);
}

/* --- Sidebar --- */

.article-sidebar-col {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.sidebar-widget {}

.sidebar-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--gray-text);
  margin: 0 0 16px;
}

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

.sidebar-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--text);
  color: var(--white);
  font-weight: 800;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sidebar-author-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  display: block;
}

.sidebar-author-role {
  font-size: 12px;
  color: var(--gray-text);
}

.sidebar-author-bio {
  font-size: 13px;
  color: var(--gray-text);
  line-height: 1.7;
  margin: 0;
}

.sidebar-cat-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar-cat-item {
  border-bottom: 1px solid var(--border);
}

.sidebar-cat-item a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 14px;
  color: var(--text);
}

.sidebar-cat-item a:hover {
  opacity: 1;
  color: var(--steel);
}

.sidebar-cat-item.is-current a {
  font-weight: 800;
  color: var(--steel);
}

.sidebar-popular-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sidebar-popular-item a {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.sidebar-popular-thumb {
  flex-shrink: 0;
  width: 64px;
  border-radius: 4px;
  overflow: hidden;
}

.sidebar-popular-thumb img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: var(--light-gray);
}

.sidebar-popular-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.5;
}

.sidebar-popular-item a:hover .sidebar-popular-title {
  color: var(--steel);
}

@media (max-width: 980px) {
  .article-container {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 24px 16px 60px;
  }

  .article-sidebar-col {
    position: static;
  }

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

@media (max-width: 640px) {
  .breadcrumb-inner {
    padding: 10px 16px;
  }

  .article-h1 {
    font-size: 22px;
  }

  .article-body h2 {
    font-size: 17px;
  }

  .article-body h3 {
    font-size: 15px;
  }
}


/* ============================================================
   WordPress 固有スタイル
   ============================================================ */

/* ---- アクセシビリティ ---- */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}


/* ---- ヘッダー検索バー ---- */
.header-search {
  border-bottom: 1px solid var(--border);
  background: var(--white);
}

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

/* ---- 検索フォーム (searchform.php) ---- */
.search-form {
  display: flex;
  gap: 8px;
}

.search-field {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  background: var(--white);
  -webkit-appearance: none;
  appearance: none;
}

.search-field:focus {
  outline: none;
  border-color: var(--steel);
}

.search-field::placeholder {
  color: #bfc4cc;
}

.search-submit {
  padding: 10px 20px;
  background: var(--text);
  color: var(--white);
  border: none;
  border-radius: 4px;
  font-family: inherit;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
  transition: 0.2s;
}

.search-submit:hover {
  background: var(--accent);
}

/* ---- WP ページネーション (.page-numbers) ---- */
.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  border-radius: 4px;
  transition: 0.2s;
  text-decoration: none;
}

.page-numbers:hover {
  border-color: var(--text);
  background: var(--light-gray);
  opacity: 1;
}

.page-numbers.current {
  background: var(--text);
  color: var(--white);
  border-color: var(--text);
}

.page-numbers.dots {
  border: none;
  background: none;
  color: var(--gray-text);
  cursor: default;
  width: auto;
}

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

.prev.page-numbers,
.next.page-numbers {
  font-size: 18px;
}

/* ---- Gutenberg コンテンツ内アライメント ---- */
.article-body .aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.article-body .alignleft {
  float: left;
  margin-right: 24px;
  margin-bottom: 16px;
}

.article-body .alignright {
  float: right;
  margin-left: 24px;
  margin-bottom: 16px;
}

.article-body .alignfull {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  width: 100vw;
  max-width: 100vw;
}

.article-body .alignwide {
  margin-left: -40px;
  margin-right: -40px;
}

/* ---- Gutenberg ブロック共通 ---- */
.article-body .wp-block-image {
  margin: 32px 0;
}

.article-body .wp-block-image img {
  border-radius: 6px;
}

.article-body .wp-block-image figcaption {
  font-size: 12px;
  color: var(--gray-text);
  text-align: center;
  margin-top: 8px;
}

.article-body .wp-block-quote {
  margin: 28px 0;
  padding: 16px 20px;
  border-left: 4px solid var(--steel);
  background: var(--light-gray);
  border-radius: 0 6px 6px 0;
}

.article-body .wp-block-quote p {
  margin: 0;
  font-style: italic;
}

.article-body .wp-block-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.article-body .wp-block-table th,
.article-body .wp-block-table td {
  padding: 10px 14px;
  border: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.article-body .wp-block-table th {
  background: var(--light-gray);
  font-weight: 700;
}

/* ---- モバイル追加 ---- */
@media (max-width: 980px) {
  .global-nav ul {
    display: grid;
    gap: 14px;
  }

  .sub-nav ul {
    flex-direction: column;
    gap: 4px;
  }

  .header-search-inner {
    padding: 12px 16px;
  }

  .article-body .alignwide {
    margin-left: -16px;
    margin-right: -16px;
  }
}

@media (max-width: 640px) {
  .search-submit {
    padding: 10px 14px;
    font-size: 13px;
  }
}


/* ============================================================
   サンクスページ（送信完了）
   ============================================================ */

.thanks-hero {
  background: var(--white);
  text-align: center;
  padding: 80px 24px 72px;
}

.thanks-check {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 32px;
}

.thanks-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 20px;
}

.thanks-lead {
  font-size: 15px;
  color: var(--gray-text);
  line-height: 2;
  margin: 0 0 40px;
}

.thanks-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 40px;
  border: 1.5px solid var(--text);
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  border-radius: 2px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.thanks-btn:hover {
  background: var(--text);
  color: var(--white);
  opacity: 1;
}

.thanks-articles {
  background: var(--light-gray);
  padding: 64px 24px 72px;
}

.thanks-articles-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  text-align: center;
  margin: 0 0 0;
}

.thanks-articles-title::after {
  content: '';
  display: block;
  width: 36px;
  height: 2px;
  background: var(--accent);
  margin: 12px auto 48px;
}

.thanks-grid {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.thanks-card {
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  text-decoration: none;
  display: block;
  transition: transform 0.2s, box-shadow 0.2s;
}

.thanks-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .08);
  opacity: 1;
}

.thanks-card-img {
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.thanks-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}

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

.thanks-card .article-tag {
  display: inline-block;
  margin: 14px 14px 8px;
}

.thanks-card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.6;
  margin: 0 14px 12px;
}

.thanks-card-date {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--gray-text);
  margin: 0 14px 16px;
}

.thanks-cta {
  text-align: center;
  margin-top: 48px;
}

@media (max-width: 980px) {
  .thanks-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 640px;
  }
}

@media (max-width: 640px) {
  .thanks-hero {
    padding: 60px 16px 56px;
  }

  .thanks-title {
    font-size: 20px;
  }

  .thanks-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
}
