/* =========================================
   Top Page
========================================= */

.top-page {
  width: 100%;
  overflow-x: hidden;
  color: #0d1b2f;
  background: #fff;
}

.top-container {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

.top-section {
  padding: 70px 0;
  background: #f1f8f5;
}

.top-section:nth-of-type(odd) {
  background: #fff;
}

.top-section-label {
  color: #009b83;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 0 0 8px;
}

.top-section h2,
.top-section-head h2 {
  font-size: 32px;
  line-height: 1.5;
  color: #0d1b2f;
  margin: 0 0 24px;
  font-weight: 700;
}

.top-section p {
  font-size: 15px;
  line-height: 1.9;
}

/* =========================================
   Hero
========================================= */

.top-hero {
  position: relative;
  min-height: 620px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}

.top-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 155, 131, 0.48);
}

.top-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 0 40px;
  color: #fff;
}

.top-hero-label {
  display: inline-block;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 20px;
  position: relative;
}

.top-hero-label::after {
  content: "";
  display: block;
  width: 48px;
  height: 4px;
  background: #009b83;
  margin-top: 14px;
}

.top-hero h1 {
  color: #fff;
  font-size: 42px;
  line-height: 1.45;
  margin: 0;
  font-weight: 800;
}

/* =========================================
   Two Column Sections
========================================= */

.top-two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.top-two-column-reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.top-image img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}

.top-text h2 {
  margin-bottom: 20px;
}

.top-text p {
  color: #0d1b2f;
}

/* =========================================
   Digital Cards
========================================= */

.top-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.top-feature-card {
  background: #fff;
  border-radius: 8px;
  padding: 18px 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

.top-feature-card h3 {
  color: #009b83;
  font-size: 13px;
  line-height: 1.6;
  margin: 0 0 12px;
}

.top-feature-card p {
  font-size: 13px;
  line-height: 1.8;
  margin: 0;
}

/* =========================================
   Learn Steps
========================================= */

.top-step-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 24px;
}

.top-step-grid div {
  background: #fff;
  border-radius: 8px;
  padding: 14px 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

.top-step-grid div:nth-child(4) {
  background: #0d1b2f;
}

.top-step-grid div:nth-child(4) span,
.top-step-grid div:nth-child(4) h3,
.top-step-grid div:nth-child(4) p {
  color: #fff;
}

.top-step-grid span {
  display: block;
  color: #009b83;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
}

.top-step-grid h3 {
  color: #0d1b2f;
  font-size: 16px;
  margin: 0 0 8px;
}

.top-step-grid p {
  font-size: 12px;
  line-height: 1.6;
  margin: 0;
}

.top-note {
  font-size: 13px !important;
  font-weight: 700;
  margin-top: 24px;
}

/* =========================================
   About Band
========================================= */

.top-about-band {
  position: relative;
  min-height: 420px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.top-about-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 27, 47, 0.62);
}

.top-about-content {
  position: relative;
  z-index: 1;
  color: #fff;
  text-align: center;
  max-width: 760px;
  padding: 0 20px;
}

.top-about-content .top-section-label {
  color: #fff;
}

.top-about-content h2 {
  color: #fff;
  font-size: 28px;
  margin: 0 0 18px;
}

.top-about-content h2::after,
.top-section-head h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 5px;
  background: #009b83;
  margin: 18px auto 0;
}

.top-about-copy {
  color: #fff;
  font-size: 28px !important;
  line-height: 1.7 !important;
  font-weight: 800;
  margin: 0 0 20px;
}

.top-about-content p {
  color: #fff;
}

/* =========================================
   Button
========================================= */

.top-button-wrap {
  text-align: center;
  margin-top: 40px;
}

.top-button {
  display: inline-block;
  background: #009b83;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  border-radius: 999px;
  padding: 13px 28px;
  box-shadow: 0 8px 20px rgba(0, 155, 131, 0.25);
}

.top-button:hover {
  color: #fff;
  opacity: 0.86;
}

/* =========================================
   Works
========================================= */

.top-works {
  background: #f1f8f5;
}

.top-section-head {
  text-align: center;
  margin-bottom: 44px;
}

.top-work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.top-work-card {
  background: #fff;
  border-radius: 12px;
  padding: 22px 22px 28px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.top-work-card span {
  display: block;
  color: #009b83;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 12px;
}

.top-work-card:nth-child(2) span {
  color: #0074d9;
}

.top-work-card:nth-child(3) span {
  color: #ffd85a;
}

.top-work-card img {
  width: 100%;
  height: 190px;
  object-fit: contain;
  display: block;
  margin-bottom: 20px;
}

.top-work-card h3 {
  color: #0d1b2f;
  font-size: 22px;
  margin: 0 0 12px;
}

.top-work-card p {
  font-size: 14px;
  line-height: 1.8;
  margin: 0;
}

/* =========================================
   News
========================================= */

.top-news {
  background: #fff;
}

.top-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.top-news-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.top-news-thumb {
  display: block;
  height: 190px;
  background: #f1f8f5;
  text-decoration: none;
}

.top-news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.top-news-thumb-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0d1b2f;
  font-size: 28px;
  font-weight: 700;
}

.top-news-body {
  padding: 24px;
}

.top-news-body time {
  color: #009b83;
  font-size: 13px;
  font-weight: 700;
}

.top-news-body h3 {
  margin: 14px 0 0;
  font-size: 18px;
  line-height: 1.6;
}

.top-news-body h3 a {
  color: #0d1b2f;
  text-decoration: none;
}

/* =========================================
   Responsive
========================================= */

@media (max-width: 900px) {

  .top-two-column,
  .top-two-column-reverse {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .top-feature-grid,
  .top-step-grid,
  .top-work-grid,
  .top-news-grid {
    grid-template-columns: 1fr;
  }

  .top-two-column-reverse .top-image {
    order: -1;
  }
}

@media (max-width: 768px) {
  .top-section {
    padding: 56px 0;
  }

  .top-container {
    padding: 0 20px;
  }

  .top-hero {
    min-height: 520px;
    background-position: center;
  }

  .top-hero-inner {
    padding: 0 24px;
  }

  .top-hero h1 {
    font-size: 30px;
    line-height: 1.55;
  }

  .top-hero-label {
    font-size: 14px;
  }

  .top-section h2,
  .top-section-head h2 {
    font-size: 26px;
  }

  .top-image img {
    height: 240px;
  }

  .top-feature-grid {
    gap: 12px;
  }

  .top-step-grid {
    gap: 12px;
  }

  .top-about-band {
    min-height: 430px;
  }

  .top-about-copy {
    font-size: 23px !important;
  }

  .top-work-card img {
    height: 170px;
  }

  .top-news-thumb {
    height: 180px;
  }
}


/* =========================================
   Home News Mobile Compact
========================================= */

@media (max-width: 768px) {
  .top-news {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .top-news-grid {
    gap: 14px;
  }

  .top-news-card {
    display: grid;
    grid-template-columns: 92px 1fr;
    border-radius: 14px;
    min-height: 92px;
  }

  .top-news-thumb {
    width: 92px;
    height: 92px;
  }

  .top-news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .top-news-thumb-placeholder {
    width: 92px;
    height: 92px;
    font-size: 12px;
  }

  .top-news-body {
    padding: 12px 14px;
  }

  .top-news-body time {
    font-size: 11px;
  }

  .top-news-body h3 {
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.55;
  }
}

/* =========================================
   Top Hero Second
   企業のプロと、本気で本物の商品を考える
========================================= */

.top-hero-second {
  background: #fbf8ef;
  padding: 88px 20px;
}

.top-hero-second-inner {
  max-width: 1100px;
  margin: 0 auto;
  background: #fff;
  border-radius: 56px;
  padding: 64px 56px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
  align-items: center;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(13, 27, 47, 0.08);
}

.top-hero-second-text {
  position: relative;
  z-index: 1;
}

.top-hero-second-text .top-section-label {
  color: #c69b5d;
  font-size: 13px;
  letter-spacing: 0.22em;
  margin-bottom: 22px;
}

.top-hero-second-text h2 {
  color: #0d1b2f;
  font-size: 34px;
  line-height: 1.55;
  font-weight: 800;
  margin: 0 0 24px;
}

.top-hero-second-text p {
  color: #0d1b2f;
  font-size: 15px;
  line-height: 2;
  margin: 0;
}

.top-hero-second-image {
  border-radius: 0;
  overflow: hidden;
}

.top-hero-second-image img {
  width: 100%;
  height: 330px;
  object-fit: cover;
  display: block;
}

/* =========================================
   Responsive - Hero Second
========================================= */

@media (max-width: 900px) {
  .top-hero-second-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 48px 36px;
    border-radius: 40px;
  }

  .top-hero-second-image {
    order: -1;
  }

  .top-hero-second-text h2 {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  .top-hero-second {
    padding: 56px 20px;
  }

  .top-hero-second-inner {
    padding: 32px 22px;
    border-radius: 28px;
  }

  .top-hero-second-text .top-section-label {
    font-size: 11px;
    line-height: 1.8;
    letter-spacing: 0.16em;
    margin-bottom: 16px;
  }

  .top-hero-second-text h2 {
    font-size: 23px;
    line-height: 1.6;
    margin-bottom: 18px;
  }

  .top-hero-second-text p {
    font-size: 13px;
    line-height: 1.9;
  }

  .top-hero-second-image img {
    height: 210px;
  }
}

/* =========================================
   Top Main Hero
   Full Screen Image Style
========================================= */

.top-main-hero {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: #0d1b2f;
  overflow: hidden;
}

.top-main-hero-inner {
  width: 100%;
  max-width: none;
  margin: 0;
}

.top-main-hero-card {
  position: relative;
  width: 100%;
  min-height: 680px;
  border-radius: 0;
  overflow: hidden;
  background: #0d1b2f;
  box-shadow: none;
}

.top-main-hero-card img {
  width: 100%;
  height: 680px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.top-main-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(89deg,
      rgba(13, 27, 47, 0.52) 0%,
      rgba(13, 27, 47, 0.34) 0%,
      rgba(13, 27, 47, 0.06) 34%),
    linear-gradient(10deg,
      rgba(0, 155, 131, 0.14) 0%,
      rgba(0, 155, 131, 0.03) 56%)
}

.top-main-hero-content {
  position: absolute;
  left: max(40px, calc((100vw - 1100px) / 2 + 20px));
  bottom: 96px;
  z-index: 2;
  max-width: 660px;
  color: #fff;
}

.top-main-hero-eyebrow {
  color: #ffd85a;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  margin: 0 0 18px;
}

.top-main-hero-content h1 {
  color: #fff;
  font-size: 46px;
  line-height: 1.45;
  font-weight: 800;
  margin: 0 0 20px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.28);
}

.top-main-hero-lead {
  color: #fff;
  font-size: 16px;
  line-height: 1.9;
  font-weight: 700;
  margin: 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.24);
}

.top-main-hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.top-main-hero-buttons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  padding: 13px 24px;
  border-radius: 999px;
  background: #009b83;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0, 155, 131, 0.25);
}

.top-main-hero-buttons a:nth-child(2) {
  background: #fff;
  color: #0d1b2f;
}

.top-main-hero-buttons a:hover {
  opacity: 0.86;
}

/* Responsive */
@media (max-width: 900px) {

  .top-main-hero-card,
  .top-main-hero-card img {
    min-height: 620px;
    height: 620px;
  }

  .top-main-hero-content {
    left: 40px;
    right: 40px;
    bottom: 72px;
  }

  .top-main-hero-content h1 {
    font-size: 38px;
  }
}

@media (max-width: 768px) {

  .top-main-hero-card,
  .top-main-hero-card img {
    min-height: 560px;
    height: 560px;
  }

  .top-main-hero-card img {
    object-position: center;
  }

  .top-main-hero-overlay {
    background:
      linear-gradient(180deg,
        rgba(13, 27, 47, 0.08) 0%,
        rgba(13, 27, 47, 0.22) 36%,
        rgba(13, 27, 47, 0.62) 100%),
      linear-gradient(180deg,
        rgba(0, 155, 131, 0.10) 0%,
        rgba(0, 155, 131, 0.03) 100%);
  }

  .top-main-hero-content {
    left: 24px;
    right: 24px;
    bottom: 42px;
    max-width: none;
  }

  .top-main-hero-eyebrow {
    font-size: 10px;
    line-height: 1.6;
    letter-spacing: 0.12em;
    margin-bottom: 12px;
  }

  .top-main-hero-content h1 {
    font-size: 29px;
    line-height: 1.55;
    margin-bottom: 14px;
  }

  .top-main-hero-lead {
    font-size: 13px;
    line-height: 1.8;
  }

  .top-main-hero-buttons {
    gap: 10px;
    margin-top: 20px;
  }

  .top-main-hero-buttons a {
    min-width: auto;
    padding: 10px 16px;
    font-size: 12px;
  }
}

@media (max-width: 420px) {

  .top-main-hero-card,
  .top-main-hero-card img {
    height: 540px;
    min-height: 540px;
  }

  .top-main-hero-content h1 {
    font-size: 25px;
  }

  .top-main-hero-lead br {
    display: none;
  }

  .top-main-hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .top-main-hero-buttons a {
    width: 100%;
  }
}