/* =================================================
   ホームページ - メインセクション
   ================================================= */

/* =================================================
   トップイメージ背景（端末別に差し替え可能）
   - まずは全て同じ画像を指定しておき、必要になったらURLだけ差し替えてください
   ================================================= */
:root {
  --topimage-bg-pc: url("../images/topbg-pc.svg");
  --topimage-bg-tablet: url("../images/topbg-pc.svg");
  --topimage-bg-sp: url("../images/topbg-sp.png");
}

/* メインコンテナ */
.home #main {
  padding-top: 0;
  /* position: sticky が効くように、ホームでは縦方向の overflow を殺さない */
  overflow-x: hidden;
  overflow-y: visible;
  isolation: isolate;
}

#main {
  position: relative;
  width: 100%;
  z-index: 1;
  overflow: hidden;
}

/* トップイメージ */
#topimage {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: visible;
  background-image: var(--topimage-bg-pc);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* 無限スクロールロゴ */
#topimage::after {
  content: "";
  position: absolute;
  bottom: -160px;
  left: 0;
  transform: translateY(-50%);
  width: 200%;
  height: 240px;
  background-image: url("../images/hero-logo.svg");
  background-size: 1800px 100%;
  background-repeat: repeat-x;
  background-position: 0 center;
  opacity: 1;
  pointer-events: none;
  z-index: 1;
  will-change: transform;
  animation: scrollLogo 60s linear infinite;
}

@keyframes scrollLogo {
  0% {
    transform: translateY(-50%) translateX(0);
  }
  100% {
    transform: translateY(-50%) translateX(-50%);
  }
}

/* @media only screen and (max-width: 991.98px) {
  .home #topimage {
    min-height: clamp(320px, 56vw, 520px);
  }
}

@media only screen and (max-width: 767.98px) {
  .home #topimage {
    height: auto;
    min-height: clamp(280px, 70vw, 420px);
    padding-bottom: 0;
  }
} */

/* タイトル部分 */
.read_top-wrapper {
  position: fixed;
  display: block;
  left: 5.1vw;
  top: 18vw;
  z-index: 2;
  padding-left: 5%;
}

.read_top-wrapper #read_top {
  font-size: clamp(4rem, 2.5rem + 2.5vw, 7rem);
  font-weight: 900;
  line-height: 1.2;
  margin: 0 0 30px 0;
  background: var(--gradient-diagonal);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: font-size 0.1s ease-out; /* スムーズな変化 */
  width: fit-content;
}

/* PC: custom.js の updateReadTopFontSize 初期値（8rem）と一致させ、フッターJS実行前の一瞬の小さめ表示を防ぐ */
@media only screen and (min-width: 992px) {
  .read_top-wrapper #read_top {
    font-size: 8rem;
  }
}

/* position切替時はtransitionなし（JSで制御） */
.read_top-wrapper {
  transition: none;
}

#read_top_en {
  font-size: clamp(0.5rem, 0.3444rem + 0.6914vw, 1.2rem);
  line-height: 1.2;
  background: var(--gradient-diagonal);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding-left: 0.5em;
  width: fit-content;
}

#read_top_en span {
  display: inline-block;
  margin-bottom: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-color);
}

#read_top.fixed {
  position: fixed;
}

#read_top.stopped {
  position: absolute;
  top: auto;
}

/* タブレット向け（992px〜1366px） */
@media only screen and (min-width: 992px) and (max-width: 1366px) {
  .read_top-wrapper {
    top: 50vh;
    padding-left: 0;
  }
}

/* SP向け（991.98px以下） */
@media only screen and (max-width: 991.98px) {
  #topimage {
    background-image: var(--topimage-bg-sp);
    background-size: auto;
    background-position: center;
  }

  #topimage::after {
    display: none;
  }

  .read_top-wrapper #read_top {
    margin: 0 0 8px 0;
    /* モバイルではclampで2rem～7remの範囲で自動調整 */
    font-size: clamp(2rem, 0.8889rem + 4.9383vw, 7rem) !important;
  }

  .read_top-wrapper {
    width: 90%;
    padding-left: 0;
    top: 52.4vh;
    transition: none;
  }

}

/* ホームアバウトセクション */
#homeabout {
  position: relative;
  width: 52.4vw;
  margin: 0 0 0 auto;
  padding: 180px 0 0 0;
  z-index: 1;
}

#r_homeabout {
  width: 100%;
  box-sizing: border-box;
  padding: 0px 70px 0 170px;
  margin-bottom: 80px;
}

#r_homeabout p {
  font-size: clamp(1.0625rem, 1rem + 0.3125vw, 1.875rem);
  font-weight: bold;
  line-height: 2.2;
  margin-bottom: 30px;
  color: var(--text-color);
}

#r_homeabout p:last-of-type {
  margin-bottom: 60px;
}

/* タブレット向け（768px〜991.98px） */
@media only screen and (min-width: 768px) and (max-width: 991.98px) {
  #homeabout {
    width: 100%;
    padding: 0px 0px 0px 0px;
  }

  #r_homeabout {
    width: 50%;
    margin-inline: auto;
    padding: 0;
  }

}


@media only screen and (max-width: 767.98px) {
  #homeabout {
    width: 100%;
    padding: 0px 0px 0px 0px;
  }

  #r_homeabout {
    padding: 16px var(--container-padding-mobile) 200px;
    margin-top: 80px;
  }

  #r_homeabout p {
    line-height: 1.8;
    margin-bottom: 30px;
  }
}

/* コンテンツエリア */
#content {
  position: relative;
  width: 100%;
  margin: 0 auto;
  z-index: 2;
}

#homebr {
  position: relative;
  z-index: 3;
}

/* #homebr::before {
  position: absolute;
  left: 0;
  top: -160px;
  width: 100%;
  height: 160px;
  content: "";
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 1) 80%
  );
}

#homebr::after {
  position: absolute;
  left: 0;
  bottom: -160px;
  width: 100%;
  height: 160px;
  content: "";
  background: linear-gradient(
    to top,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 1) 80%
  );
} */

/* =================================================
   ニュースティッカー
   ================================================= */

#top-news {
  position: relative;
  margin-top: 18px;
  width: 100%;
  z-index: 10;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

#top-news.hidden {
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
}

.news-ticker-wrapper {
  display: flex;
  align-items: center;
  color: var(--text-color);
  padding: 18px 24px 18px 0;
  box-shadow: var(--box-shadow);
  border-radius: 8px;
  overflow: hidden;
}

.news-ticker-label {
  display: flex;
  align-items: center;
  font-weight: bold;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  padding: 6px 14px;
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  color: var(--white);
  border-radius: 20px;
  white-space: nowrap;
  margin-right: 20px;
  justify-content: center;
}

.news-ticker-content {
  flex: 1;
  position: relative;
  overflow: hidden;
  height: 30px;
}

.news-ticker-item {
  display: flex;
  align-items: center;
  gap: 16px;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.news-ticker-item.active {
  opacity: 1;
  transform: translateY(0);
}

.news-date {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 12px;
  background: #f5f5f5;
  color: var(--text-light);
  border-radius: 4px;
  white-space: nowrap;
  font-family: "Montserrat", sans-serif;
}

.news-link {
  color: var(--text-color);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.3s ease;
  line-height: 1;
}

.news-link:hover {
  color: var(--primary-color);
  text-decoration: none;
}

@media only screen and (max-width: 991.98px) {
  #top-news {
    display: none;
  }
}

/* =================================================
   Service Showcase (moved from refactored-sections.css)
   ================================================= */

#homeservice {
  padding-top: 200px;
  background: var(--bs-primary-text-emphasis);
}

/* ヘッダー（見出し＋リード文横並び） */
.serviceSection__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(24px, 4vw, 48px);
  margin-bottom: clamp(40px, 6vw, 80px);
}

.serviceSection__head .sec-heading {
  margin-bottom: 0;
  flex-shrink: 0;
}

.serviceSection__lead {
  width:38%;
  padding-bottom: 0.35em;
}

.serviceSection__lead .sec-catch {
  font-size: clamp(1.25rem, 1.0769rem + 0.7692vw, 2rem);
  font-weight: 700;
  margin-bottom: 2rem;
  line-height: 1.8;
}


.serviceSection__lead .sec-desc {
  font-size: clamp(0.85rem, 0.8rem + 0.25vw, 0.95rem);
  line-height: 1.9;
  color: var(--text-color);
}

.service-section .service-showcase {
  display: grid;
  gap: clamp(1.5rem, 2.5vw, 4rem);
  margin-top: clamp(2rem, 3vw, 3.5rem);
}

.service-card {
  position: relative;
  display: grid;
  padding: clamp(1.5rem, 4vw, 3rem);
  column-gap: 40px;
  align-items: center;
}

@media (min-width: 992px) {
  .service-card {
    column-gap: 120px;
  }
}

@media (min-width: 768px) {
  .service-card {
    grid-template-columns: repeat(2, 1fr);
  }

  /* 交互レイアウト：2件目のみ画像を右列に（左→右→左） */
  .service-card--reverse .service-card__content {
    order: 1;
  }

  .service-card--reverse .service-card__media {
    order: 2;
  }

  .service-card__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* gap: 1.25rem; */
  }
}

@media (max-width: 991.98px) {
  .serviceSection__head {
    gap: clamp(16px, 3vw, 32px);
  }

  .service-card {
    align-items: flex-start;
    grid-row-gap: 1em;
  }
}

@media (max-width: 991.98px) {
  .service-card__media {
    max-width: none;
    transform: none;
  }
}

.service-card__media img {
  width: 620px;
  height: 100%;
  border-radius: inherit;
}

.service-card__logo-text {
  font-size: clamp(1.75rem, 3vw, 3rem);
  font-family: "Montserrat", "Noto Sans JP", sans-serif;
}

.service-card__content {
  flex: 1;
}

.service-card__label {
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  background: var(--gradient-diagonal);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: font-size 0.1s ease-out;
  width: fit-content;
  padding-left: 2px;
}

.service-card__title {
  font-size: clamp(1.875rem, 4vw, 2.625rem);
  margin-bottom: 1.4rem;
  color: var(--text-primary, #0b1520);
}

.service-card__highlight {
  font-size: 1rem;
  font-weight: 700;
  color: var(--service-accent);
  margin-bottom: 1.5rem;
}

.service-card__button-wrapper {
  margin-top: 2rem;
  display: inline-flex;
}

.service-card__button-wrapper .cmn--btn-icon::after {
  background-color: currentColor;
}

.service-card__button-wrapper .cmn--btn:hover,
.service-card__button-wrapper .cmn--btn:focus-visible {
  color: var(--primary-color);
  text-decoration: none;
}

.service-card__button-wrapper
  .cmn--btn:hover
  .cmn--btn-arrow,
.service-card__button-wrapper
  .cmn--btn:focus-visible
  .cmn--btn-arrow {
  color: var(--white);
}

.service-card__button-wrapper
  .cmn--btn:hover
  .cmn--btn-icon::after,
.service-card__button-wrapper
  .cmn--btn:focus-visible
  .cmn--btn-icon::after {
  width: 100%;
}

@media screen and (max-width: 991.98px) {
  .service-card__button-wrapper {
    margin-top: 0;
  }
}

/* =================================================
   ヒーローセクション改善（デザイン統一）
   ================================================= */

/* スクロール誘導アニメーション */
.scroll-indicator {
  position: absolute;
  bottom: 5%;
  right: clamp(16px, 3vw, 48px);
  transform: translateY(0);
  z-index: 15;
  opacity: 1;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.scroll-indicator.hidden {
  opacity: 0;
}

.scroll-indicator__link {
  position: relative;
  display: inline-flex;
  padding: 20px 8px 130px;
  text-decoration: none;
  pointer-events: auto;
  writing-mode: vertical-rl;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.85rem;
  font-weight: 400;
  font-family: var(--font-en);
  color: var(--primary-color);
  gap: 0.5rem;
  overflow: hidden;
  transition: opacity 0.25s ease;
}

.scroll-indicator__link::before,
.scroll-indicator__link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 2px;
  height: 110px;
  border-radius: 999px;
}

.scroll-indicator__link::before {
  background: rgba(255, 255, 255, 0.3);
}

.scroll-indicator__link::after {
  background: var(--primary-color);
  animation: scrollIndicatorFill 1.6s cubic-bezier(0.77, 0, 0.175, 1) infinite;
  transform-origin: 0 0;
}

.scroll-indicator__link:hover,
.scroll-indicator__link:focus-visible {
  opacity: 0.6;
}

.scroll-indicator__label {
  display: inline-block;
  font-weight: 400;
  letter-spacing: 0.3em;
}

@keyframes scrollIndicatorFill {
  0% {
    transform: translateX(-50%) scaleY(0);
  }
  50% {
    transform: translateX(-50%) scaleY(1);
    transform-origin: 0 0;
  }
  50.1% {
    transform: translateX(-50%) scaleY(1);
    transform-origin: 0 100%;
  }
  100% {
    transform: translateX(-50%) scaleY(0);
    transform-origin: 0 100%;
  }
}

@media screen and (max-width: 767.98px) {
  .scroll-indicator {
    display: none;
  }
}

/* =================================================
   SERVICEセクション改善（デザイン統一）
   ================================================= */

/* サービスカード統一 */
.service-card {
  border-radius: var(--card-border-radius);
  transition: var(--card-transition);
  overflow: hidden;
}

/* サービスカード画像 */
.service-card__media {
  position: relative;
  overflow: hidden;
}

.service-card__media img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.6s var(--animation-easing);
  border-radius: var(--card-border-radius);
}

/* コンテンツスタイル */
@media (min-width: 768px) {
  .service-card__content {
    padding: 2rem 0;
  }
}

.service-card__label {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.service-card__title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.service-card__highlight {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.service-card__description {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-color);
  margin-bottom: 1.5rem;
}

#homeservice {
  --homeservice-text: rgba(255, 255, 255, 0.78);
  --homeservice-text-muted: rgba(255, 255, 255, 0.52);
  --homeservice-text-strong: var(--white);
  --homeservice-accent: #9ecbff;
  --homeservice-card-text: var(--text-color);
  --homeservice-card-muted: #5f6673;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: clamp(120px, 11vw, 170px);
  padding-bottom: clamp(100px, 10vw, 150px);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .08 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E"),
    radial-gradient(circle at 18% 8%, rgba(85, 90, 219, 0.32), transparent 30%),
    radial-gradient(circle at 84% 34%, rgba(158, 203, 255, 0.16), transparent 28%),
    linear-gradient(145deg, #021631 0%, var(--bs-primary-text-emphasis) 54%, #020914 100%);
  background-blend-mode: overlay, normal, normal, normal;
  color: var(--homeservice-text);
}

#homeservice::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(15, 9, 9, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 78%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 78%, transparent);
  opacity: 0.22;
}

#homeservice .container {
  position: relative;
  z-index: 1;
}

#homeservice .serviceSection__bgText {
  position: absolute;
  top: clamp(40px, 6vw, 96px);
  right: max(-4vw, -56px);
  z-index: -1;
  color: rgba(255, 255, 255, 0.05);
  font-family: var(--font-en);
  font-size: clamp(5rem, 15vw, 16rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 0.8;
  pointer-events: none;
  text-transform: uppercase;
  white-space: nowrap;
}

#homeservice .serviceSection__glow {
  position: absolute;
  z-index: -1;
  width: min(46vw, 560px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(158, 203, 255, 0.18), transparent 68%);
  filter: blur(8px);
  pointer-events: none;
}

#homeservice .serviceSection__glow--top {
  top: 8%;
  left: -16%;
}

#homeservice .serviceSection__glow--bottom {
  right: -14%;
  bottom: 10%;
  background: radial-gradient(circle, rgba(85, 90, 219, 0.2), transparent 70%);
}

#homeservice .serviceSection__head {
  position: relative;
  z-index: 1;
  align-items: center;
  margin-bottom: clamp(56px, 7vw, 88px);
  padding-bottom: clamp(24px, 3vw, 40px);
}

#homeservice .heading-en,
#homeservice .heading-ja {
  background: none;
  color: var(--white);
  -webkit-text-fill-color: var(--white);
}

#homeservice .sec-heading {
  color: var(--white);
}

#homeservice .serviceSection__lead {
  width: min(42%, 560px);
}

#homeservice .serviceSection__lead .sec-catch {
  color: var(--homeservice-text-strong);
  text-wrap: balance;
}

#homeservice .serviceSection__lead .sec-desc {
  color: var(--homeservice-text);
}

#homeservice .service-showcase {
  gap: clamp(48px, 6vw, 88px);
}

#homeservice .service-card {
  max-width: 1400px;
  margin-inline: auto;
  position: relative;
  min-height: clamp(380px, 38vw, 500px);
  padding: clamp(2rem, 4vw, 4rem);
  border-radius: var(--border-radius-md);
  background: var(--white);
  overflow: hidden;
  color: var(--homeservice-card-text);
  transition: transform 0.45s var(--animation-easing), border-color 0.45s ease, box-shadow 0.45s ease;
}

#homeservice .service-card::after {
  content: "";
  position: absolute;
  right: -18%;
  bottom: -36%;
  width: min(36vw, 440px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29, 32, 137, 0.08), transparent 68%);
  opacity: 1;
  pointer-events: none;
}

#homeservice .service-card__media,
#homeservice .service-card__content {
  position: relative;
  z-index: 2;
}

#homeservice .service-card__media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  padding: clamp(1.25rem, 3vw, 3rem);
  border-radius: 24px;
}

#homeservice .service-card__media img {
  width: min(100%, 620px);
}

#homeservice .service-card:hover .service-card__media img {
  transform: scale(1.035);
}

#homeservice .service-card__label {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 1rem;
  background: var(--gradient-diagonal)  ;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-left: 0.5em;
}

#homeservice .service-card__title {
  color: var(--homeservice-card-text);
  font-size: clamp(1.875rem, 1.7885rem + 0.3846vw, 2.25rem);
  line-height: 1;
  letter-spacing: 0.02em;
}

#homeservice .service-card__highlight {
  color: var(--primary-color);
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  line-height: 1.65;
}

#homeservice .service-card__description {
  color: var(--homeservice-card-muted);
}

#homeservice .service-card__button-wrapper .cmn--btn {
  color: var(--primary-color);
}

#homeservice .service-card__button-wrapper .cmn--btn:hover,
#homeservice .service-card__button-wrapper .cmn--btn:focus-visible {
  color: var(--primary-color);
}

#homeservice
  .service-card__button-wrapper
  .cmn--btn:hover
  .cmn--btn-arrow,
#homeservice
  .service-card__button-wrapper
  .cmn--btn:focus-visible
  .cmn--btn-arrow {
  color: var(--white);
}

@media screen and (max-width: 991.98px) {
  #homeservice .serviceSection__head {
    align-items: flex-start;
  }

  #homeservice .serviceSection__lead {
    width: 100%;
  }

  #homeservice .service-card {
    min-height: auto;
  }

  #homeservice .service-card__media {
    min-height: 260px;
  }
}

@media screen and (max-width: 767.98px) {
  #homeservice {
    padding-bottom: var(--space-xl);
  }

  #homeservice .serviceSection__bgText {
    top: 40px;
    right: -40px;
    font-size: clamp(5rem, 30vw, 8rem);
  }

  #homeservice .serviceSection__glow {
    width: 360px;
  }

  #homeservice .serviceSection__head {
    padding-bottom: 24px;
  }

  #homeservice .service-card {
    padding: 28px;
    border-radius: 24px;
  }

  #homeservice .service-showcase {
    gap: 48px;
  }

  #homeservice .service-card__media {
    min-height: 210px;
    padding: 24px;
    border-radius: 20px;
  }

  #homeservice .service-card__title {
    font-size: clamp(2.3rem, 13vw, 3.5rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  #homeservice .service-card,
  #homeservice .service-card__media img {
    transition: none;
  }
}

/* =================================================
   BUSINESSセクション（エディトリアル / Our Business）
   ================================================= */

.bizSection.our-business {
  --color-navy-primary: #042c53;
  --color-navy-accent: #378add;
  --color-navy-light: #85b7eb;
  --color-text-muted: #888888;
  --color-border-light: #e5e7eb;

  padding: clamp(80px, 10vw, 160px) 0;
}

.bizSection.our-business .container.bizSection__inner {
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
}

.bizSection__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(24px, 4vw, 48px);
  margin-bottom: clamp(40px, 6vw, 80px);
}

.bizSection__head .sec-heading {
  margin-bottom: 0;
  flex-shrink: 0;
}

.bizSection__lead {
  width: 38%;
}

.bizSection__lead .sec-catch {
  font-size: clamp(1.25rem, 1.0769rem + 0.7692vw, 2rem);
  font-weight: 700;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.bizSection__lead .sec-desc {
  font-size: clamp(0.95rem, 0.9385rem + 0.0513vw, 1rem);
  line-height: 1.8;
  color: var(--text-color);
}

.our-business__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.our-business-card__link {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 2px;
  transition: all 300ms ease;
}

.our-business-card__link:focus {
  outline: none;
}

.our-business-card__link:focus-visible {
  outline: 2px solid var(--color-navy-accent);
  outline-offset: 2px;
}

.our-business-card-host {
  display: block;
  cursor: default;
}

.our-business-card {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--color-border-light);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.our-business-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 12px;
}

.our-business-card__number {
  font-family: var(--font-num);
  font-size: clamp(2rem, 1.7692rem + 1.0256vw, 3rem);
  color: var(--color-text-muted);
  line-height: 1;
  transition: all 300ms ease;
  opacity: 0.4;
}

.our-business-card__category {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  background: var(--gradient-diagonal);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  width: fit-content;
}

.our-business-card__media {
  position: relative;
  width: 100%;
  margin: 14px 0 12px 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 2px;
}

.our-business-card__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--border-radius-sm);
  transition: all 300ms ease;
}

.our-business-card__title {
  margin:0 0 4px 0 ;
  font-size: clamp(1rem, 0.9077rem + 0.4103vw, 1.4rem);
  font-weight: 700;
  line-height: 1.5;
  color: var(--text-color);
}

.our-business-card__subtitle {
  margin: 0 0 16px 0 ;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.our-business-card__more {
  display: flex;
  justify-content: flex-end;
}

.our-business-card__more .cmn--btn {
  font-size: 0.85rem;
}

.our-business-card__link:hover .our-business-card__more .cmn--btn-arrow,
.our-business-card__link:focus-visible .our-business-card__more .cmn--btn-arrow {
  color: var(--white);
}

.our-business-card__link:hover .our-business-card__more .cmn--btn-icon::after,
.our-business-card__link:focus-visible .our-business-card__more .cmn--btn-icon::after {
  width: 100%;
}

.our-business-card__more--disabled {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.our-business-card__link:hover .our-business-card__img {
  transform: scale(1.03);
}

.our-business-card-host--soon .our-business-card__img {
  opacity: 0.6;
}

@media (max-width: 991.98px) {
  .bizSection__lead {
    width: 50%;
  }

  .bizSection__lead .sec-catch {
    font-size: clamp(1.125rem, 1rem + 0.5vw, 1.5rem);
    margin-bottom: 1.25rem;
  }
}

@media (max-width: 991.98px) {
  .our-business__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 767.98px) {
  .our-business__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 767.98px) {
  .bizSection.our-business {
    padding: clamp(60px, 10vw, 100px) 0;
  }

  .bizSection__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: clamp(32px, 6vw, 48px);
  }

  .bizSection__lead {
    width: 100%;
  }

  .bizSection__lead .sec-catch {
    font-size: clamp(1.1rem, 1rem + 0.5vw, 1.375rem);
    margin-bottom: 1rem;
  }

  .bizSection__lead .sec-desc {
    font-size: 0.875rem;
    line-height: 1.8;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home #main::before,
  .home #main::after,
  .our-business-card__link,
  .our-business-card__img,
  .our-business-card__number,
  .our-business-card__more .cmn--btn-icon::after {
    transition: none;
  }
}

@media (prefers-contrast: high) {
  .our-business-card {
    border-top-width: 2px;
  }

  .our-business-card__number,
  .our-business-card__title {
    color: var(--text-color);
  }

  .our-business-card__subtitle {
    color: var(--text-color);
  }
}
/* =================================================
   SP（スマホ）表示時 余白統一調整
   目的: 詰まり感解消・可読性と高級感の向上
   ================================================= */

@media screen and (max-width: 767.98px) {
  /* -------------------------------------------------
     1) Hero → BUSINESS の切替余白
     ------------------------------------------------- */
  /* Heroセクションの下余白を増やし、次セクションとの境界を明確にする */
  #topimage {
    padding-bottom: var(--space-2xl); /* 72px */
  }

  #homeabout {
    padding-top: 0;
  }

  #r_homeabout {
    padding-bottom: var(--space-2xl); /* 72px */
    margin-top: var(--space-xl); /* 64px */
  }

  /* BUSINESSセクションの上余白 */
  .bizSection.our-business {
    padding-top: var(--space-xl); /* 64px */
    padding-bottom: var(--space-xl); /* 64px */
  }

  /* -------------------------------------------------
     2) SERVICE（ロゴ＋説明）の余白統一
     ------------------------------------------------- */
  .serviceSection__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: clamp(32px, 6vw, 48px);
  }

  .serviceSection__lead {
    width: 100%;
  }

  .serviceSection__lead .sec-desc {
    font-size: 0.875rem;
    line-height: 1.8;
  }

  /* サービスセクションの上余白 */
  #homeservice {
    padding-top: var(--space-xl); /* 64px */
  }

  /* サービス項目（1ブロック）同士の間隔: 64px */
  .service-section .service-showcase {
    gap: var(--space-xl); /* 64px */
    margin-top: var(--space-lg); /* 40px */
  }

  /* サービスカード内余白 */
  .service-card {
    padding: var(--space-md); /* 24px */
    grid-row-gap: 32px; /* ロゴ→説明文の間: 20px */
  }

  /* タイトル下余白 */
  .service-card__title {
    margin-bottom: var(--space-sm); /* 16px */
  }

  /* ハイライト下余白 */
  .service-card__highlight {
    margin-bottom: var(--space-sm); /* 16px */
  }

  /* 説明文下余白 */
  .service-card__description {
    margin-bottom: var(--space-md); /* 24px */
  }
}