/*
Theme Name: Mindbuddy Corporate
Theme URI: https://mindbuddy.jp/
Author: Mindbuddy Inc.
Description: マインドバディ株式会社 コーポレートサイト用 WordPress テーマ
Version: 1.0.0
Text Domain: mindbuddy-corporate
*/

/* ============================================================
   Custom Properties
   ============================================================ */
:root {
  --color-primary: #00744b;
  --color-primary-light: #2fa57b;
  --color-primary-lighter: #3cb0a8;
  --color-text: #2a3029;
  --color-border: #dedede;
  --color-border-light: #d9d9d9;
  --color-footer-bg: #676d7a;

  --font-en: 'DM Sans', sans-serif;
  --font-ja: 'M PLUS 1p', 'Noto Sans JP', sans-serif;
  --font-hero: 'Noto Sans JP', 'Hiragino Kaku Gothic Pro', 'Yu Gothic', sans-serif;

  --hero-grad: linear-gradient(113.73deg, #2fa57b 0.45%, #3cb0a8 100%);

  --radius-card: 24px;
  --radius-pill: 999px;

  /* Layout */
  --hero-max: 1440px;
  --content-max: 1440px;
  --content-width: 1240px;
  --content-pad: 100px;
  --contents-pad-top: 120px;
  --section-gap: 80px;
}

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

html {
  scroll-behavior: smooth;
}

.section[id] {
  scroll-margin-top: var(--corp-header-height, 112px);
}

body {
  font-family: var(--font-ja);
  color: var(--color-text);
  background: #fff;
  overflow-x: hidden;
  letter-spacing: normal !important;
  font-feature-settings: 'palt' 1 !important;

  @media (max-width: 767px) {
    letter-spacing: -0.05em !important;
  }

}

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

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

button {
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font: inherit;
}

ul, ol {
  list-style: none;
}

/* Screen reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  width: 100vw;
  max-width: 100%;
  margin-left: calc(50% - 50vw);
  height: 800px;
  overflow: hidden;
  background: #2fa57b;
}

.hero--overlay-header {
  margin-top: calc(-1 * var(--corp-header-height, 112px));
}

/* Background（書き出し画像 base.webp / base-sp.webp） */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero__bg-picture {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  min-width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  line-height: 0;
}

.hero__bg-img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  min-width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

/* Circle photo */
.hero__circle {
  position: absolute;
  top: 212px;
  left: 534px;
  width: 372px;
  height: 372px;
  border-radius: 50%;
  overflow: hidden;
  z-index: 2;
  pointer-events: none;
}

.hero__circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---- FV catch copy (image) ---- */
.hero__catch {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  pointer-events: none;
}

.hero__catch-inner {
  display: block;
  margin: 0;
  width: 100%;
}

.hero__catch picture {
  display: block;
  width: 100%;
}

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

/* ---- Main heading (white layer) — index.html fallback ---- */
.hero__heading {
  position: absolute;
  top: 341px;
  left: 40px;
  width: max-content;
  font-family: var(--font-hero);
  font-size: 80px;
  font-weight: 300;
  line-height: 1.45;
  letter-spacing: 4px;
  color: #fff;
  white-space: nowrap;
  z-index: 3;
  font-feature-settings: 'palt' 1;
}

/* PC: both spans inline = single line */
.hero__heading .hero__line1,
.hero__heading .hero__line2 {
  display: inline;
}

/* ---- Green overlay (decorative, pointer-events off) ---- */
.hero__heading--green {
  color: #2fa57b;
  z-index: 4;
  /* Circle center relative to this element:
     Circle hero-left: 534+186=720px. Element left: 40px.
     Relative x = 720 - 40 = 680px.
     Circle center-y: 212+186=398px. Element top: 341px.
     Relative y = 398 - 341 = 57px. */
  clip-path: circle(186px at 680px 57px);
  mix-blend-mode: plus-lighter;
  pointer-events: none;
}

/* ---- Subtitle ---- */
.hero__subtitle {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 645px;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: var(--font-en);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: 0.9px;
  color: #fff;
  text-align: center;
  z-index: 5;
  font-feature-settings: normal;
}

.hero__subtitle p {
  margin: 0;
  white-space: nowrap;
}

/* ---- Company name ---- */
.hero__company {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 757px;
  font-family: var(--font-en);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.45;
  letter-spacing: 0.8px;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  z-index: 5;
  font-feature-settings: normal;
}

/* ============================================================
   Main Contents Wrapper
   ============================================================ */
.contents {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: var(--contents-pad-top) var(--content-pad) 0;
  display: flex;
  flex-direction: column;
  gap: var(--section-gap);
}

/* ============================================================
   Section — shared
   ============================================================ */
.section__heading {
  font-family: var(--font-en);
  font-size: 48px;
  font-weight: 400;
  color: var(--color-primary);
  line-height: normal;
  margin-bottom: 32px;
  font-feature-settings: normal;
  letter-spacing: 0.06em;
}

/* ============================================================
   MISSION / VISION
   ============================================================ */
.section--mv {
  display: flex;
  gap: 64px;
  padding-bottom: 80px;
  border-bottom: 1px solid var(--color-border-light);
}

.mv-block {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mv-block__label {
  font-family: var(--font-en);
  font-size: 32px;
  font-weight: 400;
  color: var(--color-primary);
  line-height: normal;
  font-feature-settings: normal;
}

.mv-block__text {
  display: flex;
  flex-direction: column;
  gap: 16px;

 
}

.mv-block__title {
  display: flex;
  flex-direction: column;
  font-family: var(--font-ja);
  font-size: 36px;
  line-height: 1.4;
  color: var(--color-text);
}

.mv-block__title-line {
  display: block;
  white-space: nowrap;
}

.mv-block__body {
  font-family: var(--font-ja);
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text);
}

/* ============================================================
   SERVICE
   ============================================================ */
/* .section--service .section__heading {
  margin-bottom: 32px;
 
} */

.service-cards {
  display: flex;
  flex-direction: column;
  gap: 32px;
  @media (max-width: 767px) {
    gap: 24px;
  }
}

/* ---- Service Card ---- */
.service-card {
  position: relative;
  height: 400px;
  border-radius: var(--radius-card);
  overflow: hidden;
}

.service-card__bg {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-card);
  overflow: hidden;
}

.service-card--green .service-card__bg {
  background: linear-gradient(127.14deg, #2fa57b 0.45%, #3cb0a8 100%);
}

.service-card--blue .service-card__bg {
  background: linear-gradient(127.14deg, #28659e 0.45%, #28a9a1 100%);
}

.service-card__bg-texture {
  position: absolute;
  top: 0;
  left: 0;
  width: 491.52px;
  height: 347.04px;
  mix-blend-mode: color-burn;
  opacity: 0.16;
}

/* PC: Absolute layout for mockups and content */
.service-card__layout {
  position: absolute;
  inset: 0;
}

/* PC Mockup images */
.service-card__mockups {
  position: absolute;
  bottom: -6px;
  left: 56px;
  display: flex;
  align-items: flex-end;
  z-index: 1;
}

.service-card__mockup-main {
  width: 525px;
  height: 342px;
  object-fit: contain;
  object-position: bottom left;
  flex-shrink: 0;
}

.service-card__mockup-side {
  width: 146px;
  height: 297px;
  object-fit: contain;
  object-position: bottom left;
  flex-shrink: 0;
  margin-left: -88px; /* overlap */
  margin-bottom: -27px; /* SP mock extends below card edge */
  position: relative;
  z-index: 1;
}

/* PC Content */
.service-card__content {
  position: absolute;
  left: 696px;
  top: 69px;
  right: 56px;
  display: flex;
  flex-direction: column;
  z-index: 2;
}

.service-card__content--magazine {
  top: 108px;
}

.service-card__tagline {
  margin: 0;
}

.service-card__logo-wrap {
  height: 64px;
  margin: 14px 0 0;
}

.service-card__logo-wrap--magazine {
  height: 48px;
  margin: 0;
}

.service-card__logo {
  height: 100%;
  width: auto;
  object-fit: contain;
  object-position: left center;
}

.service-card__tagline {
  font-family: var(--font-ja);
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 0.7px;
  color: #fff;
  white-space: nowrap;
}

.service-card__desc {
  font-family: var(--font-ja);
  font-size: 14px;
  line-height: 1.6;
  color: #fff;
  margin: 20px 0 0;
  max-width: 480px;
}

.service-card__content--magazine .service-card__desc {
  margin-top: 16px;
}

.service-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 24px;
  background: #fff;
  border-radius: var(--radius-pill);
  font-family: var(--font-ja);
  font-size: 18px;
  line-height: 100%;
  color: var(--color-primary);
  white-space: nowrap;
  margin-top: 24px;
  width: fit-content;
  transition: opacity 0.2s;
}

.service-card__btn:hover {
  opacity: 0.85;
}

/* ============================================================
   RECRUIT
   ============================================================ */
.section__header {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 32px;
}

.section--recruit .section__heading {
  margin-bottom: 0;
}

.recruit-lead {
  display: flex;
  flex-direction: column;
  font-family: var(--font-ja);
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text);
  margin: 0;
}

.recruit-lead__line {
  display: block;
}

.recruit-card {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  padding: 32px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.08);
}

.recruit-card__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(156.46deg, #cc69d0 0.45%, #1486d2 100%);
  border-radius: var(--radius-card);
  overflow: hidden;
}

.recruit-card__bg-texture {
  position: absolute;
  top: 0;
  left: 0;
  width: 491.52px;
  height: 347.04px;
  mix-blend-mode: color-burn;
  opacity: 0.16;
}

.recruit-card__job {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  z-index: 1;
}

.recruit-card__icon-img {
  display: block;
  width: 68px;
  height: 68px;
  flex-shrink: 0;
  object-fit: contain;
  opacity: 0.8;
}

.recruit-card__title {
  font-family: var(--font-ja);
  font-size: 24px;
  line-height: 1;
  color: #fff;
  white-space: nowrap;
}

.recruit-card__btn {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  background: #fff;
  border-radius: var(--radius-pill);
  font-family: var(--font-en);
  font-size: 18px;
  font-weight: 400;
  line-height: 100%;
  letter-spacing: normal !important;
  font-feature-settings: normal !important;
  color: #3772ce;
  white-space: nowrap;
  transition: opacity 0.2s;
}

.recruit-card__btn:hover {
  opacity: 0.85;
}

/* ============================================================
   COMPANY
   ============================================================ */
.section--company .section__heading {
  margin-bottom: 32px;
  @media (max-width: 767px) {
    margin-bottom: 0;
  }
}

.company-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 64px;
}

.company-row {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 40px 24px;
  border-bottom: 1px solid var(--color-border);
  background: #fff;
}

.company-row--address {
  flex-wrap: wrap;
}

.company-row--full {
  grid-column: 1 / -1;
  align-items: flex-start;
}

/* 代表取締役（Figma 161:1945 / 161:2106） */
.company-row--ceo {
  align-items: center;
}

.company-row__ceo-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 100%;
}

.company-row__label {
  font-family: var(--font-ja);
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text);
  width: 100px;
  flex-shrink: 0;
  white-space: nowrap;
}

.company-row__value {
  font-family: var(--font-ja);
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text);
  flex: 1;
  min-width: 0;
}

.company-row__name,
.company-row__bio {
  margin: 0;
}

.company-row__name {
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text);
}

.company-row__bio {
  font-size: 12px;
  line-height: 1.8;
  color: var(--color-text);
}

.company-row__map-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  background: var(--color-primary);
  border-radius: var(--radius-pill);
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 400;
  color: #fff;
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity 0.2s;
  line-height: 100%;
}

.company-row__map-btn:hover {
  opacity: 0.85;
}

/* ============================================================
   NEWS
   ============================================================ */
.section--news .section__heading {
  margin-bottom: 32px;
}

.news-list {
  border-top: 1px solid var(--color-border);
  margin-bottom: 32px;
}

.news-item {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 32px 24px;
  border-bottom: 1px solid var(--color-border);
}

.news-item__date {
  font-family: var(--font-en);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--color-text);
  width: 120px;
  flex-shrink: 0;
}

.news-item__title {
  font-family: var(--font-ja);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-primary);
  flex: 1;
  min-width: 0;
  transition: opacity 0.2s;
}

.news-item__title:hover {
  opacity: 0.75;
}

.news-more {
  display: flex;
  justify-content: center;
}

.news-more__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  background: #fff;
  border: 1px solid var(--color-primary);
  border-radius: var(--radius-pill);
  font-family: var(--font-ja);
  font-size: 18px;
  color: var(--color-primary);
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
  line-height: 100%;
}

.news-more__btn:hover {
  background: var(--color-primary);
  color: #fff;
}

/* ============================================================
   CONTACT
   ============================================================ */
.section--contact {
  padding-bottom: 120px;
}

.contact-card {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  height: 233px;
  display: flex;
  align-items: center;
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.08);
}

.contact-card__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: #2fa57b;
}

.contact-card__bg-picture {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  min-width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  line-height: 0;
}

.contact-card__bg-img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  min-width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.contact-card__content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0 48px;
  gap: 40px;
}

.contact-card__text {
  color: #fff;
}

.contact-card__heading {
  font-family: var(--font-en);
  font-size: 48px;
  font-weight: 400;
  line-height: 1;
  margin-bottom: 8px;
  font-feature-settings: normal;
}

.contact-card__desc {
  display: flex;
  flex-direction: column;
  font-family: var(--font-ja);
  font-size: 14px;
  line-height: 1.6;
}

.contact-card__desc-line {
  display: block;
  white-space: nowrap;
}

.contact-card__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  background: #fff;
  border-radius: var(--radius-pill);
  font-family: var(--font-ja);
  font-size: 18px;
  line-height: 100%;
  color: var(--color-primary);
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity 0.2s;
}

.contact-card__btn:hover {
  opacity: 0.85;
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--color-footer-bg);
  height: 204px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 0;
}

.footer__logo {
  width: 197px;
  height: 48px;
  object-fit: contain;
}

.footer__copy {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 300;
  color: #fff;
}

/* ============================================================
   Responsive — Service cards stacked (max-width: 1199px)
   ============================================================ */
@media (max-width: 1199px) {
  .service-card {
    height: auto;
    /* min-height: 520px; */
  }

  .service-card--blue {
    min-height: 448px;
  }

  .service-card__layout {
    position: relative;
    display: flex;
    flex-direction: column;
    /* min-height: 520px; */
  }

  .service-card--blue .service-card__layout {
    min-height: 448px;
  }

  .service-card__content {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    width: 100%;
    padding: 44px 40px 210px;
    order: 0;
    z-index: 2;
  }

  .service-card__content--magazine {
    top: auto;
    padding: 40px 40px 190px;
  }

  .service-card__logo-wrap {
    height: 48px;
    margin-bottom: 0;
    margin-left: auto;
    margin-right: auto;
  }

  .service-card__logo-wrap--magazine {
    height: 40px;
    margin-left: auto;
    margin-right: auto;
  }

  .service-card__logo {
    object-position: center center;
  }

  .service-card__tagline {
    text-align: center;
    white-space: normal;
    font-size: 14px;
    letter-spacing: 0.7px;
    margin-top: 0;
  }

  .service-card__desc {
    max-width: 100%;
    text-align: center;
    font-size: 14px;
    margin-top: 12px;
  }

  .service-card__btn {
    width: 100%;
    max-width: 297px;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    font-size: 18px;
    margin-top: 18px;
    padding: 16px 24px;
  }

  .service-card__mockups {
    position: absolute;
    bottom: -6px;
    left: 0;
    right: 0;
    order: 1;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding-left: 0;
    margin-top: 0;
    flex-shrink: 0;
    z-index: 1;
  }

  .service-card__mockup-main {
    width: 283px;
    height: 185px;
    object-position: bottom center;
  }

  .service-card__mockup-side {
    width: 79px;
    height: 161px;
    margin-left: -53px;
    margin-bottom: -15px;
  }
}

/* Tablet: slightly larger mockups */
@media (min-width: 768px) and (max-width: 1199px) {
  .service-card__content {
    padding-bottom: 270px;
  }

  .service-card__content--magazine {
    padding-bottom: 250px;
  }

  .service-card__mockup-main {
    width: 380px;
    height: 249px;
  }

  .service-card__mockup-side {
    width: 106px;
    height: 216px;
    margin-left: -71px;
    margin-bottom: -20px;
  }
}

/* ============================================================
   Responsive — Tablet (max-width: 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  :root {
    --content-pad: 40px;
  }

  .hero__heading {
    font-size: 60px;
  }

  .hero__circle {
    left: 50%;
    transform: translateX(-50%);
  }

  .hero__company {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
  }
}

/* ============================================================
   Responsive — Company 縦並び (max-width: 1000px)
   ============================================================ */
@media (max-width: 1000px) {
  .company-grid {
    grid-template-columns: 1fr;
    column-gap: 0;
  }

  .company-row--full {
    grid-column: 1;
  }

  .company-row {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 0;
    gap: 4px;
  }

  .company-row__label {
    width: 100%;
  }

  .company-row__value {
    flex: none;
    width: 100%;
  }

  /* 所在地：ラベルは上、住所とMAPは横並び（500px以下で縦並び） */
  .company-row--address {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    column-gap: 16px;
    row-gap: 4px;
    align-items: center;
  }

  .company-row--address .company-row__label {
    grid-column: 1 / -1;
  }

  .company-row--address .company-row__value {
    grid-column: 1;
    min-width: 0;
  }

  .company-row--address .company-row__map-btn {
    grid-column: 2;
    grid-row: 2;
    width: auto;
    margin-top: 0;
    padding: 6px 12px;
    height: auto;
    align-self: center;
  }

  /* ---- Contact 縦並び ---- */
  .contact-card {
    height: auto;
    min-height: 233px;
    align-items: flex-start;
  }

  .contact-card__content {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding: 56px 40px 40px;
  }

  .contact-card__desc-line {
    white-space: normal;
  }

  .contact-card__btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 500px) {
  .company-row--address {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .company-row--address .company-row__value {
    width: 100%;
  }

  .company-row--address .company-row__map-btn {
    width: 100%;
    margin-top: 12px;
    padding: 12px;
    height: 42px;
    font-size: 14px;
    align-self: stretch;
  }
}

/* ============================================================
   Responsive — Mobile (max-width: 767px)
   ============================================================ */
@media (max-width: 767px) {
  :root {
    --section-gap: 64px;
    --content-pad: 24px;
    /* Figma SP: Contents y=864, Hero h=800 → 64px */
    --contents-pad-top: 64px;
  }

  /* ---- Hero ---- */
  .hero {
    height: 100vh;
    min-height: 100vh;
  }

  .hero__catch {
    left: 0;
    right: 0;
    width: 100%;
    max-width: none;
    padding: 0;
    top: 50%;
    transform: translateY(-50%);
  }

  .hero__catch-img {
    width: 100%;
    max-width: none;
    margin: 0;
  }

  /* Circle repositioned for SP — index.html fallback */
  .hero__circle {
    top: 259px;
    left: 76px;
    width: 240px;
    height: 240px;
    transform: none;
  }

  /* SP heading: reposition, shrink, center, wrap to 2 lines */
  .hero__heading {
    top: 331px;
    left: 0;
    right: 0;
    width: auto;
    padding: 0;
    font-size: 37px;
    letter-spacing: 1.85px;
    line-height: 1.3;
    text-align: center;
    white-space: normal;
    z-index: 3;
  }

  /* SP: each span becomes a block → 2-line break */
  .hero__heading .hero__line1,
  .hero__heading .hero__line2 {
    display: block;
  }

  /* SP green overlay: recalculate clip-path
     Circle center: 76+120=196px (x), 259+120=379px from hero top.
     Element top: 331px → relative y = 379-331 = 48px. x = 196px. */
  .hero__heading--green {
    clip-path: circle(120px at 196px 48px);
  }

  /* Subtitle（Figma 161:2008 y=522） */
  .hero__subtitle {
    left: 0;
    right: 0;
    width: 100%;
    transform: none;
    top: 522px;
    font-size: 14px;
    letter-spacing: normal;
    text-align: center;
    box-sizing: border-box;
  }

  .hero__subtitle p {
    white-space: normal;
    width: 100%;
  }

  /* Company（Figma 161:2009 y=769） */
  .hero__company {
    left: 0;
    right: 0;
    width: 100%;
    transform: none;
    top: 769px;
    font-size: 11px;
    text-align: center;
    white-space: nowrap;
    box-sizing: border-box;
  }

  /* ---- Section heading ---- */
  .section__heading {
    font-size: 32px;
    margin-bottom: 24px;
  }

  /* ---- Mission / Vision ---- */
  .section--mv {
    flex-direction: column;
    gap: 29px;
    padding-bottom: 64px;
  }

  .mv-block {
    gap: 12px;
  }

  .mv-block__label {
    font-size: 20px;
  }

  .mv-block__title {
    font-size: 28px;
  }

  .mv-block__title-line {
    white-space: normal;
  }

  .mv-block__body {
    font-size: 14px;
  }

  /* ---- Service cards (SP overrides) ---- */
  .service-card__content {
    padding: 44px 24px 222px;
  }

  .service-card__content--magazine {
    padding: 40px 24px 223px;
  }

  .service-card__logo-wrap--magazine {
    margin-left: 8px;
    margin-right: auto;
  }

  .service-card__tagline {
    font-size: 12px;
    letter-spacing: 0.6px;
  }

  .service-card__btn {
    font-size: 16px;
   
  }

  .recruit-card__btn {
    padding: 15px 32px;
  }
 
  .news-more__btn {
    padding: 14px 32px;
  }
 
  .contact-card__btn {
    padding: 15px 32px;
  }

  /* ---- Recruit ---- */
  .section__header {
    margin-bottom: 24px;
  }

  .recruit-lead {
    font-size: 14px;
  }

  .recruit-card {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 32px;
    padding: 32px 20px;
  }

  .recruit-card__job {
    gap: 0;
    justify-content: space-between;
    max-width: 280px;
  }

  .recruit-card__icon-img {
    width: 48px;
    height: 48px;
  }

  .recruit-card__title {
    font-size: 20px;
    /* white-space: normal; */
    letter-spacing: normal;
  }

  .recruit-card__btn {
    width: 100%;
  }

  /* ---- News ---- */
  .news-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 24px 0;
  }

  .news-item__date {
    width: 100%;
  }

  .news-more__btn {
    width: 100%;
    justify-content: center;
  }

  /* ---- Contact ---- */
  .section--contact {
    padding-bottom: 64px;
  }

  .contact-card {
    min-height: 293px;
  }

  .contact-card__content {
    padding: 56px 24px 40px;
  }

  .contact-card__heading {
    font-size: 32px;
  }

  /* ---- Footer ---- */
  .footer {
    height: 160px;
    gap: 12px;
  }

  .footer__logo {
    width: 196px;
    height: 48px;
  }

  .footer__copy {
    font-size: 12px;
    text-align: center;
    padding: 0 16px;
  }
}
