*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --green: #0a504a;
  --yellow: #eebe12;
  --dark: #1f1f1f;
  --gray: #58595b;
  --light-bg: #f3f8fc;
  --dark-blue: #000a3d;
  --blue: #273474;
  --white: #ffffff;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--dark);
  overflow-x: hidden;
}

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

body .l-wrapper #content .l-container {
  max-width: 100%;
  padding-left: 0px;
  padding-right: 0px;
}

/* ===== HERO ===== */
.hero {
  width: 100%;
  height: 95vh;
  overflow: hidden;
  display: grid;
  grid-template-rows: 1fr 61px;
  grid-template-columns: 1fr;
}

.hero-bg {
  grid-row: 1 / -1;
  grid-column: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  grid-row: 1 / -1;
  grid-column: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  grid-row: 1;
  grid-column: 1;
  align-self: start;
  justify-self: start;
  margin-top: 5%;
  margin-left: 100px;
  width: 646px;
  max-width: calc(100% - 32px);
  background: rgba(10, 80, 74, 0.84);
  padding: 51px 32px 32px;
  display: flex;
  flex-direction: column;
}

.hero-title {
  font-size: 64px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}

.hero-desc {
  margin-top: 18px;
  width: 488px;
  max-width: 100%;
  font-size: 16px;
  line-height: 30px;
  color: var(--white);
}

.hero-cta {
  display: inline-block;
  text-decoration: none;
  margin-top: 24px;
  width: fit-content;
  background: var(--white);
  padding: 12px 38px;
  font-size: 16px;
  font-weight: 700;
  color: var(--green);
  cursor: pointer;
  border-radius: 3px;

  border: none;
  box-shadow: 0 6px 0 var(--yellow), 0 8px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.1s ease;
  position: relative;
  top: 0;
}

.hero-cta:hover {
  -webkit-transform: translateY(4px);
  transform: translateY(4px);
  box-shadow: 0px 0px 1px rgba(0, 0, 0, 0.2);
  border-bottom: none;
}

.hero-banner {
  grid-row: 2;
  grid-column: 1;
  width: 100%;
  height: 61px;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-banner p {
  font-family: 'Fira Sans', 'Noto Sans JP', sans-serif;
  font-size: 16px;
  color: var(--white);
  line-height: 24px;
}

@media (max-width: 1024px) {
  .hero {
    height: auto;
    min-height: 560px;
    grid-template-rows: 1fr 61px;
  }

  .hero-content {
    margin: 64px 16px 0;
    width: min(646px, calc(100% - 32px));
    padding: 40px 24px 24px;
  }

  .hero-title {
    font-size: 44px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 34px;
  }

  .hero-cta {
    padding: 12px 22px;
  }
}

/* ===== SECTION COMMON ===== */
.section-label {
  font-family: 'Fira Sans', sans-serif;
  font-size: 16px;
  color: var(--yellow);
  letter-spacing: 1.28px;
  margin-bottom: 16px;
}

.section-title {
  font-weight: 700;
  letter-spacing: 2.56px;
  margin-bottom: 16px;
}

.section-title .accent {
  font-size: 42px;
  color: var(--green);
}

.section-title .normal {
  font-size: 32px;
  color: var(--dark);
}

.section-line {
  width: 300px;
  max-width: 100%;
  height: 4px;
  margin-top: 13px;
  background: linear-gradient(90deg, #EEBE12 0 200px, #169442 200px 300px);
  border-radius: 999px;
}

.chevron {
  width: 24px;
  height: 24px;
}

.link-btn {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--green);
  cursor: pointer;
  width: fit-content;
  margin-left: auto;
  align-self: flex-end;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.service-card .link-btn {
  margin-left: inherit;
  align-self: center;
}

.link-btn .chevron {
  transition: transform 0.18s ease;
}

.link-btn:hover {
  transform: translateY(-1px);
}

.link-btn:hover .chevron {
  transform: translateX(4px);
}

.link-btn:active {
  transform: translateY(0);
  opacity: 0.85;
}

.link-btn:focus-visible {
  outline: 3px solid rgba(238, 190, 18, 0.9);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ===== CONCEPT ===== */
.concept {
  padding: 100px 120px 80px;
  position: relative;
  overflow: hidden;
}

.concept-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.concept-content {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.concept-left {
  flex: 1;
}

.concept-desc {
  font-size: 16px;
  line-height: 24px;
  color: var(--gray);
  margin: 20px 0 50px;
  max-width: 566px;
}

.concept-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.concept-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  line-height: 24px;
}

.concept-list li .dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}

.concept-right {
  position: relative;
  flex-shrink: 0;
}

.concept-right .img-bg {
  position: absolute;
  top: 6px;
  left: 30px;
  width: 488px;
  height: 518px;
  background: var(--green);
}

.concept-right .img-overlay {
  position: absolute;
  top: 0px;
  left: 2px;
  width: 486px;
  height: 501px;
  background: rgba(22, 148, 66, 0.17);
  z-index: 2;
}

.concept-right img {
  position: relative;
  width: 488px;
  height: 500px;
  object-fit: cover;
  z-index: 1;
}

/* ===== SERVICE AREA ===== */
.service-area {
  padding: 60px 120px 80px;
}

.service-area-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.service-cards {
  display: flex;
  justify-content: center;
  gap: 100px;
  margin-top: 40px;
}

.service-card {
  width: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
  padding: 14px 27px;
  text-align: center;
}

.service-card-icon {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.service-card-title .main {
  font-size: 24px;
  font-weight: 700;
  color: var(--green);
  line-height: 30px;
}

.service-card-title .sub {
  font-size: 16px;
  font-weight: 700;
  line-height: 30px;
}

.service-card-desc {
  font-size: 14px;
  line-height: 24px;
  color: var(--gray);
  width: 200px;
}

/* ===== MESSAGE ===== */
.message {
  position: relative;
  width: 100%;
  min-height: 800px;
  overflow: hidden;
}

.message-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.message-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 90%;
  background: var(--green);
  clip-path: polygon(0 20%, 100% 0, 100% 80%, 0 100%);
}

.message-bg-img {
  position: absolute;
  width: 70%;
  height: 100%;
  object-fit: cover;
  object-position: right top;
  right: -5%;
  top: -8%;
}

.message-gradient {
  position: absolute;
  inset: 0;
  /* 左：濃いグリーン → 右：透明（写真を見せる） */
  background: linear-gradient(90deg,
      rgba(10, 80, 74, 1) 0%,
      rgba(10, 80, 74, 1) 35%,
      rgba(10, 80, 74, 0.7) 45%,
      rgba(10, 80, 74, 0.0) 55%,
      rgba(10, 80, 74, 0.0) 100%);
}

.message-content {
  position: relative;
  z-index: 2;
  padding: 150px 120px 100px 0;
  color: var(--white);
}

.message .section-title .accent {
  color: var(--white);
}

.message .section-title .normal {
  color: var(--white);
}

.message-author {
  font-size: 16px;
  line-height: 30px;
  color: var(--white);
  margin: 20px 0 40px;
  letter-spacing: 1.28px;
}

.message-card {
  background: var(--white);
  width: 733px;
  max-width: 100%;
  padding: 42px;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  margin-left: 0;
}

.message-card p {
  font-size: 18px;
  line-height: 35px;
  color: var(--gray);
}

.message-card-link {
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
}

@media (max-width: 1280px) {

  .message-content {
    padding: 150px 100px 100px 80px;
  }
}

@media (max-width: 1024px) {

  .message {
    min-height: 720px;
  }

  .message-bg {
    clip-path: polygon(0 18%, 100% 0, 100% 82%, 0 100%);
  }

  .message-content {
    padding: 72px 50px;
  }
}

/* ===== BUSINESS LIST ===== */
.business {
  padding: 80px 120px;
  background: var(--light-bg);
}

.business-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.business .section-title {
  font-size: 42px;
  color: var(--dark);
}

.business-category {
  text-align: center;
  margin: 40px 0 20px;
  position: relative;
}

.business-category-label {
  font-size: 20px;
  font-weight: 700;
  color: var(--green);
  display: inline-block;
  padding: 0 20px;
  background: var(--light-bg);
  position: relative;
  z-index: 1;
}

.business-category::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--green);
  opacity: 0.3;
}

.business-cards {
  display: flex;
  justify-content: center;
  gap: 35px;
  padding: 20px 10px;
}

.business-card {
  width: 360px;
  background: var(--white);
  border: 1px solid #e5eaf4;
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.02);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 369px;
}

.business-card-icon {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.business-card-title .main {
  font-size: 24px;
  font-weight: 700;
  color: var(--green);
  line-height: 32px;
}

.business-card-title .sub {
  font-size: 18px;
  font-weight: 700;
  color: #333;
  line-height: 32px;
}

.business-card-desc {
  font-size: 16px;
  line-height: 25px;
  color: var(--gray);
}

/* ===== BLOG ===== */
.blog {
  padding: 80px 120px;
  background: var(--light-bg);
}

.blog-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.blog-cards {
  display: flex;
  gap: 20px;
  margin-top: 40px;
}

.blog-card {
  width: 380px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 29px;
  overflow: hidden;
}

.blog-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.25s ease;
  will-change: transform;
}

.blog-card:hover .blog-card-img {
  transform: scale(1.06);
}

@media (prefers-reduced-motion: reduce) {
  .blog-card-img {
    transition: none;
  }

  .blog-card:hover .blog-card-img {
    transform: none;
  }
}

.blog-card-date {
  font-family: 'Fira Sans', sans-serif;
  font-size: 16px;
  color: var(--yellow);
  letter-spacing: 0.64px;
}

.blog-card-title {
  font-size: 18px;
  line-height: 1.4;
  color: var(--dark-blue);
  letter-spacing: 0.96px;
}

.blog-card-link {
  font-family: 'Fira Sans', 'Noto Sans JP', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

@media (max-width: 1024px) {

  /* ===== TABLET (<=1024px) ===== */
  .concept,
  .service-area,
  .business,
  .blog {
    padding-left: 16px;
    padding-right: 16px;
  }

  .concept {
    padding-top: 72px;
    padding-bottom: 64px;
  }

  .service-area,
  .business,
  .blog {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  /* Section title scale down */
  .section-title {
    letter-spacing: 1.6px;
  }

  .section-title .accent {
    font-size: 36px;
  }

  .section-title .normal {
    font-size: 28px;
  }

  /* CONCEPT: 2 columns -> stacked */
  .concept-content {
    flex-direction: column;
    gap: 32px;
  }

  .concept-desc {
    max-width: none;
    margin: 16px 0 28px;
  }

  .concept-right {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .concept-right .img-bg,
  .concept-right .img-overlay {
    display: none;
  }

  .concept-right img {
    width: 100%;
    max-width: 560px;
    height: auto;
  }

  /* SERVICE: allow wrap */
  .service-cards {
    flex-wrap: wrap;
    gap: 24px;
  }

  .service-card {
    width: calc(50% - 12px);
    min-width: 280px;
    padding: 16px 18px;
  }

  .service-card-desc {
    width: auto;
  }

  /* BUSINESS: allow wrap */
  .business-cards {
    flex-wrap: wrap;
    gap: 24px;
    padding: 16px 0;
  }

  .business-card {
    width: min(360px, 100%);
  }

  /* BLOG: allow wrap */
  .blog-cards {
    flex-wrap: wrap;
    gap: 20px;
  }

  .blog-card {
    width: min(380px, 100%);
    padding: 8px;
  }
}

@media (max-width: 768px) {

  /* Hero: tighten spacing (<=1024 already exists, this is mobile fine-tune) */
  .hero-content {
    margin-top: 48px;
    padding: 28px 16px 18px;
  }

  .hero-title {
    font-size: 32px;
    line-height: 1.35;
  }

  .hero-desc {
    width: 100%;
    font-size: 14px;
    line-height: 1.8;
  }

  .hero-banner {
    height: auto;
    padding: 10px 16px;
  }

  .hero-banner p {
    font-size: 13px;
    line-height: 1.6;
  }

  /* Section title scale down (also covers inline-styled titles via !important) */
  .section-title {
    letter-spacing: 1.2px;
  }

  .section-title .accent {
    font-size: 28px;
  }

  .section-title .normal {
    font-size: 22px;
  }

  .business .section-title,
  .blog .section-title {
    font-size: 28px !important;
    letter-spacing: 1.2px !important;
  }

  .section-line {
    width: 220px;
    background: linear-gradient(90deg, #EEBE12 0 140px, #169442 100px 200px);
  }

  .concept-list li {
    align-items: flex-start;
  }

  .service-cards {
    flex-direction: column;
    align-items: stretch;
  }

  .service-card {
    width: 100%;
  }

  .service-card-title .main {
    font-size: 20px;
  }

  .service-card-title .sub {
    font-size: 14px;
    line-height: 1.6;
  }

  .message-bg-img {
    width: 100%;
    right: -10%;
    top: -55px;
    opacity: 0.35;
  }

  .message-content {
    padding: 120px 16px 0;
  }

  .message-card {
    padding: 22px 16px;
  }

  .message-card p {
    font-size: 15px;
    line-height: 1.9;
  }

  /* BUSINESS: stacked cards */
  .business-category-label {
    font-size: 16px;
    padding: 0 12px;
  }

  .business-cards {
    flex-direction: column;
    align-items: stretch;
    padding: 12px 0;
  }

  .business-card {
    width: 100%;
    min-height: auto;
    padding: 20px 16px;
  }

  .business-card-title .sub {
    font-size: 16px;
    line-height: 1.6;
  }

  .business-card-desc {
    font-size: 15px;
    line-height: 1.8;
  }

  /* BLOG: stacked cards */
  .blog-cards {
    flex-direction: column;
  }

  .blog-card {
    width: 100%;
    padding: 6px 0;
  }

  .blog-card-img {
    height: 180px;
  }
}

@media (max-width: 480px) {
  .message-bg-img {
    right: -32%;
  }
}