@charset "UTF-8";

/* ==========================================================================
   1. Order Hero Section
   ========================================================================== */
.order-hero {
  background: url("../../img/common/reason-bg.jpg") center / cover no-repeat;
  padding-block: 40px;
}

.order-hero__inner {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 20px;
}

.order-hero__breadcrumbs {
  margin-bottom: 16px;
}

.order-hero__breadcrumbs ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 13px;
  color: #666666;
}

.order-hero__breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: #999999;
}

.order-hero__breadcrumbs a {
  color: inherit;
  text-decoration: none;
}

.order-hero__breadcrumbs a:hover {
  text-decoration: underline;
}

.order-hero__title {
  margin: 0;
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700;
  line-height: 1.3;
  color: #333333;
}

/* ==========================================================================
   2. Service List Section
   ========================================================================== */
.service-list {
  background-color: #ffffff;
  padding-block: 60px 80px;
}

.service-list__inner {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 20px;
}

.service-list__header {
  margin-bottom: 40px;
  border-bottom: 2px solid #0056b3;
  padding-bottom: 8px;
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.service-list__title {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  color: #333333;
}

.service-list__subtitle {
  font-size: 16px;
  font-style: italic;
  color: #666666;
}

/* Service Grid (3 Columns) */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.service-card__link {
  text-decoration: none;
  color: inherit;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.service-card__image {
  margin: 0 0 16px;
  overflow: hidden;
  border-radius: 4px;
}

.service-card__image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.service-card__title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 12px;
  color: #0056b3;
  line-height: 1.4;
}

.service-card__desc {
  font-size: 14px;
  line-height: 1.6;
  color: #555555;
  margin: 0 0 20px;
}

.service-card__btn-wrap {
  margin-top: auto;
}

/* Button Component Class */
.c-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

.c-btn--blue {
  background-color: #0056b3;
  color: #ffffff;
}

.c-btn--blue:hover {
  background-color: #003d80;
}

.c-btn--arrow::after {
  content: "›";
  margin-left: 8px;
  font-size: 16px;
}

/* ==========================================================================
   3. Category Links Section (2 Columns)
   ========================================================================== */
.category-links {
  background-color: #f8f9fa;
  padding-block: 60px;
}

.category-links__inner {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 20px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.category-card {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.2s ease;
}

.category-card:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.category-card__link {
  display: block;
  padding: 20px;
  text-decoration: none;
  color: inherit;
}

.category-card__image {
  margin: 0 0 12px;
}

.category-card__image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

.category-card__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #444444;
}

/* ==========================================================================
   4. Media Queries (Responsive Design)
   ========================================================================== */
@media (max-width: 1024px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .order-hero {
    background-image: url("../../img/common/reason-bg-sp.jpg");
    padding-block: 24px;
  }

  .service-list {
    padding-block: 40px;
  }

  .service-grid,
  .category-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .service-list__header {
    margin-bottom: 24px;
  }
}