/* ========================================
   Base / Reset
   ======================================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  color: #333;
  line-height: 1.8;
  background-color: #fff;
}

body.is-menu-open {
  overflow: hidden;
}

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

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

/* ========================================
   Shared
   ======================================== */
.section {
  padding: 64px 0;
}

.section--gray {
  background-color: #f5f5f5;
}

.section__inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.section__heading {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a2744;
  margin-bottom: 32px;
  padding-left: 16px;
  border-left: 4px solid #d4880c;
}

.btn {
  display: inline-block;
  padding: 14px 40px;
  font-size: 0.9375rem;
  font-weight: 700;
  border-radius: 4px;
  transition: opacity 0.2s;
  cursor: pointer;
}

.btn:hover {
  opacity: 0.8;
}

.btn--primary {
  background-color: #d4880c;
  color: #fff;
}

.btn--outline {
  background-color: transparent;
  color: #1a2744;
  border: 2px solid #1a2744;
}

/* Placeholder image helper */
[role="img"] {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ccc;
  color: #666;
  font-size: 0.8125rem;
  font-weight: 500;
  text-align: center;
  overflow: hidden;
}

/* ========================================
   Card grid
   ======================================== */
.card-grid {
  display: grid;
  gap: 24px;
}

.card-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

/* ========================================
   Header
   ======================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #fff;
  border-bottom: 1px solid #e0e0e0;
}

.header__inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.header__logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a2744;
  white-space: nowrap;
}

.header__nav {
  flex: 1;
}

.header__nav-list {
  display: flex;
  gap: 24px;
}

.header__nav-list a {
  font-size: 0.875rem;
  font-weight: 500;
  color: #333;
  transition: color 0.2s;
}

.header__nav-list a:hover {
  color: #d4880c;
}

.header__cta {
  display: inline-block;
  padding: 8px 20px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #fff;
  background-color: #d4880c;
  border-radius: 4px;
  white-space: nowrap;
  transition: opacity 0.2s;
}

.header__cta:hover {
  opacity: 0.8;
}

.header__cta--sp {
  display: none;
}

/* Hamburger */
.header__hamburger {
  display: none;
  width: 32px;
  height: 24px;
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-left: auto;
  z-index: 110;
}

.header__hamburger span {
  display: block;
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #1a2744;
  transition: transform 0.3s, opacity 0.3s;
}

.header__hamburger span:nth-child(1) { top: 0; }
.header__hamburger span:nth-child(2) { top: 11px; }
.header__hamburger span:nth-child(3) { top: 22px; }

.header__hamburger.is-open span:nth-child(1) {
  top: 11px;
  transform: rotate(45deg);
}

.header__hamburger.is-open span:nth-child(2) {
  opacity: 0;
}

.header__hamburger.is-open span:nth-child(3) {
  top: 11px;
  transform: rotate(-45deg);
}

/* ========================================
   Hero
   ======================================== */
.hero {
  position: relative;
  height: 480px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-color: #b0b0b0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  color: #666;
}

.hero__bg::after {
  content: "Hero Background — オフィスでの食事風景";
  color: #888;
  font-size: 1rem;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero__title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a2744;
  line-height: 1.4;
  margin-bottom: 16px;
  text-shadow: 0 0 24px rgba(255, 255, 255, 0.8);
}

.hero__subtitle {
  font-size: 1rem;
  color: #444;
  margin-bottom: 24px;
  text-shadow: 0 0 16px rgba(255, 255, 255, 0.8);
}

.hero__tags {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero__tag {
  display: inline-block;
  padding: 8px 20px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #1a2744;
  background-color: #fff;
  border: 1px solid #1a2744;
  border-radius: 100px;
  transition: background-color 0.2s, color 0.2s;
}

.hero__tag:hover {
  background-color: #1a2744;
  color: #fff;
}

/* ========================================
   Featured Banner
   ======================================== */
.featured-banner {
  background-color: #1a2744;
}

.featured-banner__inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.featured-banner__text {
  flex: 1;
}

.featured-banner__label {
  display: inline-block;
  padding: 4px 16px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #1a2744;
  background-color: #d4880c;
  border-radius: 2px;
  margin-bottom: 12px;
}

.featured-banner__title {
  font-size: 1.375rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.6;
}

.featured-banner__image {
  width: 200px;
  height: 120px;
  flex-shrink: 0;
  border-radius: 4px;
}

/* ========================================
   Pickup / Article Card
   ======================================== */
.card {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.2s;
  cursor: pointer;
}

.card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.14);
}

.card__image {
  width: 100%;
  height: 180px;
}

.card__body {
  padding: 16px;
}

.card__category {
  display: inline-block;
  padding: 2px 10px;
  font-size: 0.6875rem;
  font-weight: 700;
  color: #fff;
  border-radius: 2px;
  margin-bottom: 8px;
}

.card__category--orange {
  background-color: #d4880c;
}

.card__category--blue {
  background-color: #2a6cb6;
}

.card__category--green {
  background-color: #3a8c5c;
}

.card__title {
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.6;
  color: #333;
}

/* ========================================
   Case Studies
   ======================================== */
.case-card {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.2s;
  cursor: pointer;
}

.case-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.14);
}

.case-card__image {
  width: 100%;
  height: 200px;
}

.case-card__body {
  padding: 16px;
}

.case-card__company {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  color: #888;
  margin-bottom: 4px;
}

.case-card__title {
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.6;
  color: #333;
}

/* ========================================
   Service Logos
   ======================================== */
.service-logos {
  padding: 48px 0;
  border-bottom: 1px solid #e0e0e0;
}

.service-logos__grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
}

.service-logos__item {
  width: 180px;
  height: 60px;
  border-radius: 4px;
  border: 1px solid #e0e0e0;
  background-color: #f0f0f0;
  font-weight: 700;
}

/* ========================================
   New Articles (List)
   ======================================== */
.article-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.article-list__item {
  display: flex;
  gap: 20px;
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.2s;
  cursor: pointer;
}

.article-list__item:hover {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

.article-list__image {
  width: 200px;
  height: 130px;
  flex-shrink: 0;
}

.article-list__body {
  padding: 16px 16px 16px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.article-list__date {
  font-size: 0.75rem;
  color: #888;
  margin-bottom: 4px;
}

.article-list__category {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  color: #d4880c;
  margin-bottom: 8px;
}

.article-list__title {
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.6;
  color: #333;
}

/* ========================================
   Compare CTA
   ======================================== */
.compare-cta__box {
  text-align: center;
  padding: 48px;
  background-color: #eef2f7;
  border-radius: 8px;
}

.compare-cta__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a2744;
  margin-bottom: 16px;
}

.compare-cta__text {
  font-size: 0.9375rem;
  color: #555;
  margin-bottom: 24px;
}

/* ========================================
   Info Banners
   ======================================== */
.info-banners__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.info-banner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  background-color: #fff;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  transition: box-shadow 0.2s;
}

.info-banner:hover {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.info-banner__icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 50%;
  background-color: #eef2f7;
  font-size: 1.5rem;
}

.info-banner__title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #1a2744;
  margin-bottom: 4px;
}

.info-banner__text {
  font-size: 0.8125rem;
  color: #666;
}

/* ========================================
   Bottom CTA
   ======================================== */
.bottom-cta__inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.bottom-cta__block {
  text-align: center;
  padding: 40px 24px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
}

.bottom-cta__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1a2744;
  margin-bottom: 12px;
}

.bottom-cta__text {
  font-size: 0.875rem;
  color: #666;
  margin-bottom: 20px;
}

/* ========================================
   Footer
   ======================================== */
.footer {
  background-color: #1a2744;
  color: #ccc;
  padding-top: 48px;
}

.footer__inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.footer__nav {
  display: flex;
  gap: 56px;
}

.footer__nav-heading {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

.footer__nav-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__nav-list a {
  font-size: 0.8125rem;
  color: #aab3c0;
  transition: color 0.2s;
}

.footer__nav-list a:hover {
  color: #fff;
}

.footer__logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}

.footer__bottom {
  border-top: 1px solid #2e3a52;
  text-align: center;
  padding: 16px 24px;
}

.footer__copyright {
  font-size: 0.75rem;
  color: #7a849a;
}

/* ========================================
   Responsive — Tablet (max-width: 1024px)
   ======================================== */
@media (max-width: 1024px) {
  .card-grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .bottom-cta__inner {
    grid-template-columns: 1fr;
  }

  .info-banners__grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   Responsive — SP (max-width: 768px)
   ======================================== */
@media (max-width: 768px) {

  /* --- Shared --- */
  .section {
    padding: 40px 0;
  }

  .section__inner {
    padding: 0 16px;
  }

  .section__heading {
    font-size: 1.25rem;
    margin-bottom: 24px;
  }

  .btn {
    width: 100%;
    text-align: center;
    padding: 14px 24px;
  }

  /* --- Header --- */
  .header__inner {
    padding: 0 16px;
    height: 56px;
  }

  .header__hamburger {
    display: block;
  }

  .header__cta--pc {
    display: none;
  }

  .header__nav {
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #fff;
    padding: 24px;
    transform: translateX(100%);
    transition: transform 0.3s;
    overflow-y: auto;
    z-index: 100;
  }

  .header__nav.is-open {
    transform: translateX(0);
  }

  .header__nav-list {
    flex-direction: column;
    gap: 0;
  }

  .header__nav-list li {
    border-bottom: 1px solid #e0e0e0;
  }

  .header__nav-list a {
    display: block;
    padding: 16px 0;
    font-size: 1rem;
  }

  .header__cta--sp {
    display: block;
    text-align: center;
    margin-top: 24px;
    padding: 14px;
  }

  /* --- Hero --- */
  .hero {
    height: 360px;
  }

  .hero__content {
    padding: 0 16px;
  }

  .hero__title {
    font-size: 1.75rem;
  }

  .hero__subtitle {
    font-size: 0.875rem;
  }

  .hero__tags {
    gap: 8px;
  }

  .hero__tag {
    padding: 10px 18px;
    font-size: 0.8125rem;
  }

  /* --- Featured Banner --- */
  .featured-banner__inner {
    flex-direction: column;
    padding: 20px 16px;
    gap: 16px;
  }

  .featured-banner__title {
    font-size: 1.125rem;
  }

  .featured-banner__image {
    width: 100%;
    height: 160px;
  }

  /* --- Card Grid --- */
  .card-grid--3 {
    grid-template-columns: 1fr;
  }

  .card__image {
    height: 200px;
  }

  /* --- Case Card --- */
  .case-card__image {
    height: 180px;
  }

  /* --- Service Logos --- */
  .service-logos {
    padding: 32px 0;
  }

  .service-logos__grid {
    flex-wrap: wrap;
    gap: 16px;
  }

  .service-logos__item {
    width: calc(50% - 8px);
  }

  /* --- Article List --- */
  .article-list__item {
    flex-direction: column;
    gap: 0;
  }

  .article-list__image {
    width: 100%;
    height: 180px;
  }

  .article-list__body {
    padding: 16px;
  }

  /* --- Compare CTA --- */
  .compare-cta__box {
    padding: 32px 20px;
  }

  .compare-cta__title {
    font-size: 1.25rem;
  }

  .compare-cta__text {
    font-size: 0.875rem;
  }

  /* --- Info Banners --- */
  .info-banners__grid {
    grid-template-columns: 1fr;
  }

  .info-banner {
    padding: 20px 16px;
  }

  /* --- Bottom CTA --- */
  .bottom-cta__inner {
    grid-template-columns: 1fr;
  }

  .bottom-cta__block {
    padding: 32px 20px;
  }

  /* --- Footer --- */
  .footer__inner {
    flex-direction: column;
    gap: 32px;
    padding: 0 16px 32px;
  }

  .footer__nav {
    flex-direction: column;
    gap: 28px;
    width: 100%;
  }

  .footer__logo {
    align-self: center;
  }
}

/* ========================================
   Breadcrumb
   ======================================== */
.breadcrumb {
  padding: 16px 0 0;
  margin-bottom: 24px;
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  list-style: none;
}

.breadcrumb__item {
  font-size: 0.75rem;
  color: #888;
}

.breadcrumb__item a {
  color: #666;
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb__item a:hover {
  color: #d4880c;
}

.breadcrumb__item + .breadcrumb__item::before {
  content: ">";
  display: inline-block;
  margin: 0 8px;
  color: #ccc;
  font-size: 0.625rem;
}

.breadcrumb__item[aria-current="page"] {
  color: #333;
}

/* ========================================
   Page Header
   ======================================== */
.page-header {
  margin-bottom: 40px;
}

.page-header__title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1a2744;
  line-height: 1.4;
}

.page-header__lead {
  font-size: 0.9375rem;
  color: #555;
  line-height: 1.8;
  margin-top: 16px;
}

.page-header__meta {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 12px;
}

.page-header__date {
  font-size: 0.75rem;
  color: #888;
}

.page-header__category {
  display: inline-block;
  padding: 2px 10px;
  font-size: 0.6875rem;
  font-weight: 700;
  color: #fff;
  background-color: #d4880c;
  border-radius: 2px;
}

/* ========================================
   Article Body
   ======================================== */
.article-body {
  max-width: 780px;
  font-size: 0.9375rem;
  line-height: 1.8;
  color: #333;
}

.article-body h2 {
  font-size: 1.375rem;
  font-weight: 700;
  color: #1a2744;
  line-height: 1.4;
  margin: 48px 0 24px;
  padding-left: 16px;
  border-left: 4px solid #d4880c;
}

.article-body h2:first-child {
  margin-top: 0;
}

.article-body h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1a2744;
  line-height: 1.5;
  margin: 32px 0 16px;
}

.article-body h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #333;
  line-height: 1.6;
  margin: 24px 0 12px;
}

.article-body p {
  margin-bottom: 1.5em;
}

.article-body p:last-child {
  margin-bottom: 0;
}

.article-body ul,
.article-body ol {
  margin: 0 0 1.5em;
  padding-left: 1.5em;
}

.article-body ul {
  list-style: disc;
}

.article-body ol {
  list-style: decimal;
}

.article-body li {
  margin-bottom: 0.5em;
  line-height: 1.8;
}

.article-body li:last-child {
  margin-bottom: 0;
}

.article-body a {
  color: #2a6cb6;
  text-decoration: underline;
  transition: color 0.2s;
}

.article-body a:hover {
  color: #1a2744;
}

.article-body strong {
  font-weight: 700;
}

.article-body code {
  display: inline;
  padding: 2px 6px;
  font-size: 0.875em;
  font-family: "SFMono-Regular", "Consolas", "Liberation Mono", "Menlo", monospace;
  background-color: #f5f5f5;
  border-radius: 4px;
}

.article-body blockquote {
  margin: 1.5em 0;
  padding: 16px 20px;
  background-color: #f9fafb;
  border-left: 4px solid #eef2f7;
  border-radius: 0 4px 4px 0;
  color: #555;
}

.article-body blockquote p {
  margin-bottom: 0.75em;
}

.article-body blockquote p:last-child {
  margin-bottom: 0;
}

.article-body__table-wrap {
  overflow-x: auto;
  margin: 1.5em 0;
  -webkit-overflow-scrolling: touch;
}

.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
  font-size: 0.875rem;
}

.article-body th,
.article-body td {
  padding: 12px 16px;
  border: 1px solid #e0e0e0;
  text-align: left;
  line-height: 1.6;
}

.article-body th {
  background-color: #f5f5f5;
  font-weight: 700;
  color: #1a2744;
  white-space: nowrap;
}

.article-body tbody tr:nth-child(even) {
  background-color: #fafafa;
}

.article-body img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  margin: 24px 0;
}

.article-body figure {
  margin: 32px 0;
}

.article-body figure img {
  margin: 0;
}

.article-body figcaption {
  font-size: 0.75rem;
  color: #888;
  text-align: center;
  margin-top: 8px;
}

.article-body hr {
  border: none;
  border-top: 1px solid #e0e0e0;
  margin: 48px 0;
}

/* ========================================
   TOC (Table of Contents)
   ======================================== */
.toc {
  background-color: #f5f5f5;
  border-radius: 8px;
  padding: 24px 32px;
  margin-bottom: 40px;
}

.toc__heading {
  font-size: 0.875rem;
  font-weight: 700;
  color: #1a2744;
  margin-bottom: 12px;
}

.toc__list {
  list-style: none;
  counter-reset: toc-counter;
  padding-left: 0;
}

.toc__item {
  counter-increment: toc-counter;
  margin-bottom: 8px;
}

.toc__item:last-child {
  margin-bottom: 0;
}

.toc__item a {
  font-size: 0.875rem;
  color: #2a6cb6;
  text-decoration: none;
  transition: color 0.2s;
}

.toc__item a:hover {
  color: #1a2744;
  text-decoration: underline;
}

.toc__item a::before {
  content: counter(toc-counter) ". ";
  color: #888;
  font-size: 0.8125rem;
}

/* ========================================
   FAQ
   ======================================== */
.faq__item {
  border-bottom: 1px solid #e0e0e0;
}

.faq__item:first-child {
  border-top: 1px solid #e0e0e0;
}

.faq__question {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 20px 0;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #333;
  cursor: pointer;
  list-style: none;
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__question::before {
  content: "Q.";
  flex-shrink: 0;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #d4880c;
}

.faq__question::after {
  content: "+";
  margin-left: auto;
  flex-shrink: 0;
  font-size: 1.25rem;
  font-weight: 400;
  color: #888;
  transition: transform 0.2s;
}

.faq__item[open] > .faq__question::after {
  content: "\2212";
}

.faq__answer {
  display: flex;
  gap: 8px;
  padding: 0 0 20px;
  font-size: 0.9375rem;
  color: #555;
  line-height: 1.8;
}

.faq__answer::before {
  content: "A.";
  flex-shrink: 0;
  font-weight: 700;
  color: #2a6cb6;
}

.faq__answer p {
  margin: 0;
}

.faq__answer p + p {
  margin-top: 1em;
}

/* ========================================
   Form
   ======================================== */
.form {
  max-width: 640px;
  margin: 0 auto;
}

.form__group {
  margin-bottom: 24px;
}

.form__label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 8px;
}

.form__required {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  color: #fff;
  background-color: #d4880c;
  padding: 2px 8px;
  border-radius: 2px;
  margin-left: 8px;
  vertical-align: middle;
}

.form__input,
.form__select,
.form__textarea {
  display: block;
  width: 100%;
  padding: 12px 16px;
  font-size: 1rem;
  font-family: "Noto Sans JP", sans-serif;
  color: #333;
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  outline: none;
  border-color: #2a6cb6;
  box-shadow: 0 0 0 3px rgba(42, 108, 182, 0.1);
}

.form__input::placeholder,
.form__textarea::placeholder {
  color: #ccc;
}

.form__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23888' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form__textarea {
  min-height: 120px;
  resize: vertical;
}

.form__error {
  display: none;
  font-size: 0.75rem;
  color: #c0392b;
  margin-top: 4px;
}

.form__group--has-error .form__input,
.form__group--has-error .form__select,
.form__group--has-error .form__textarea {
  border-color: #c0392b;
}

.form__group--has-error .form__error {
  display: block;
}

.form__checkbox {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 0.875rem;
  color: #333;
  cursor: pointer;
}

.form__checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  flex-shrink: 0;
}

.form__checkbox a {
  color: #2a6cb6;
  text-decoration: underline;
}

.form__checkbox a:hover {
  color: #1a2744;
}

.form__actions {
  margin-top: 32px;
}

.btn--full {
  display: block;
  width: 100%;
  text-align: center;
}

/* ========================================
   Related Articles
   ======================================== */
.related-articles {
  margin-top: 64px;
  padding-top: 64px;
  border-top: 1px solid #e0e0e0;
}

/* ========================================
   Pagination
   ======================================== */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 48px;
}

.pagination__item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  font-size: 0.875rem;
  color: #333;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
}

a.pagination__item:hover {
  background-color: #f5f5f5;
}

.pagination__item--current {
  background-color: #1a2744;
  color: #fff;
  border-color: #1a2744;
}

.pagination__item--ellipsis {
  border: none;
  color: #888;
  cursor: default;
}

.pagination__item--prev,
.pagination__item--next {
  font-size: 0.75rem;
  font-weight: 700;
  color: #1a2744;
}

.pagination__item--disabled {
  color: #ccc;
  border-color: #e0e0e0;
  pointer-events: none;
}

/* ========================================
   Responsive — Sub-page components (SP)
   ======================================== */
@media (max-width: 768px) {

  /* --- Page Header --- */
  .page-header__title {
    font-size: 1.375rem;
  }

  /* --- Article Body --- */
  .article-body h2 {
    font-size: 1.25rem;
    margin: 40px 0 20px;
  }

  .article-body h3 {
    font-size: 1rem;
    margin: 28px 0 12px;
  }

  .article-body table {
    font-size: 0.8125rem;
  }

  .article-body th,
  .article-body td {
    padding: 10px 12px;
  }

  /* --- TOC --- */
  .toc {
    padding: 20px;
  }

  /* --- FAQ --- */
  .faq__question {
    padding: 16px 0;
  }

  .faq__answer {
    padding: 0 0 16px;
  }

  /* --- Form --- */
  .form__input,
  .form__select,
  .form__textarea {
    padding: 12px 14px;
    font-size: 1rem;
  }

  /* --- Related Articles --- */
  .related-articles {
    margin-top: 40px;
    padding-top: 40px;
  }

  /* --- Pagination --- */
  .pagination {
    gap: 4px;
    margin-top: 32px;
  }

  .pagination__item {
    width: 44px;
    height: 44px;
    font-size: 0.8125rem;
  }
}
