/* =========================================
   page.css — サブページ共通スタイル
   ========================================= */

/* ----- Page Hero (各ページ上部タイトル部) ----- */
.page-hero {
  padding-top: var(--nav-height);
  background: linear-gradient(to bottom, #e5c8e5 0%, #f4eef8 65%, #ffffff 100%);
  text-align: center;
  padding-bottom: 0;
}
.page-hero__inner {
  padding: 72px 32px 64px;
  max-width: 760px;
  margin: 0 auto;
}
.page-hero__title {
  font-family: var(--font-jp);
  font-size: 18pt;
  font-weight: 400;
  color: var(--color-text);
  line-height: 1.8;
  margin-bottom: 24px;
}
.page-hero__desc {
  font-family: var(--font-jp);
  font-size: 13pt;
  color: var(--color-text);
  line-height: 1.9;
  max-width: 680px;
  margin: 0 auto;
}


/* =========================================
   MORITA CUP — YouTube 動画
   ========================================= */
.mc-video {
  background: var(--color-white);
  padding: 72px 32px 48px;
}
.mc-video__inner {
  max-width: 760px;
  margin: 0 auto;
}
.mc-video__embed {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
}
.mc-video__embed iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: none;
}


/* =========================================
   MORITA CUP — 写真セクション
   ========================================= */
.page-photos {
  background: var(--color-white);
  padding: 72px 32px 88px;
}
.page-photos__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 760px;
  margin: 0 auto;
}
.page-photos__item {
  overflow: hidden;
}
.page-photos__item img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.page-photos__item img:hover {
  transform: scale(1.02);
}


/* =========================================
   LIFE SCIENCE — ページ固有スタイル
   ========================================= */

/* ① H1 キャッチコピー */
.ls-catchcopy {
  padding-top: var(--nav-height);
  background: linear-gradient(to bottom, #e5c8e5 0%, #f4eef8 65%, #ffffff 100%);
  text-align: center;
}
.ls-catchcopy__inner {
  padding: 44px 32px 56px;
  max-width: 760px;
  margin: 0 auto;
}
.ls-catchcopy__heading {
  font-family: var(--font-jp);
  font-size: 18pt;
  font-weight: 400;
  color: var(--color-text);
  line-height: 1.8;
}

/* ② フルワイド画像 */
.ls-fullimg {
  line-height: 0;
  padding: 0 40px;
}
.ls-fullimg img {
  display: block;
  width: 100%;
  max-width: 1280px;
  height: auto;
  margin: 0 auto;
}

/* ③ サブキャッチ ＋ CTA */
.ls-intro {
  background: var(--color-white);
}
.ls-intro__inner {
  max-width: 760px;
  text-align: center;
}
.ls-intro__text {
  font-family: var(--font-jp);
  font-size: 13pt;
  color: var(--color-text);
  line-height: 1.9;
  margin-bottom: 4px;
}
.ls-intro__note {
  font-family: var(--font-jp);
  font-size: 12pt;
  color: var(--color-text);
  line-height: 1.9;
  margin-top: 24px;
  margin-bottom: 0;
}
.ls-intro__link {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.ls-intro__link:hover { opacity: 0.75; }
.ls-intro__cta {
  margin-top: 36px;
}

/* ④ 本文（テキスト ＋ アイコン 交互レイアウト） */
.ls-body {
  background: var(--color-white);
}
.ls-body__inner {
  max-width: 760px;
  text-align: left;
}
.ls-feature {
  display: flex;
  align-items: center;
  gap: 56px;
}
.ls-feature + .ls-feature {
  margin-top: 88px;
}
.ls-feature__text {
  flex: 1;
}
.ls-feature__text .section-body {
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 0;
}
.ls-feature__img {
  flex: 0 0 200px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.ls-feature__img img {
  width: 100%;
  max-width: 200px;
  height: auto;
}

/* ⑤ 装飾背景ブレイク */
.ls-bgbreak {
  height: 280px;
  background-image: url('../images/life-science/ls-bg.jpg');
  background-size: cover;
  background-position: center;
  background-color: var(--color-primary);
  position: relative;
}
.ls-bgbreak__overlay {
  position: absolute;
  inset: 0;
  background: rgba(139,0,139,0.25);
}

/* ⑥ 活用事例 */
.ls-usecases {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--color-divider);
}
.ls-usecases::before {
  content: '';
  position: absolute;
  inset: -20px;
  background: url('../images/life_science_image_6.png') center / cover;
  filter: blur(10px);
  z-index: 0;
}
.ls-usecases::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.58);
  z-index: 1;
}
.ls-usecases__inner {
  max-width: 760px;
  text-align: center;
  position: relative;
  z-index: 2;
}
.ls-usecases__heading {
  font-family: var(--font-jp);
  font-size: 20pt;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.6;
  margin-bottom: 40px;
}
.ls-usecases__list {
  list-style: none;
  border-top: 1px solid var(--color-divider);
}
.ls-usecases__list li {
  font-family: var(--font-jp);
  font-size: 12pt;
  color: var(--color-text);
  padding: 18px 0;
  border-bottom: 1px solid var(--color-divider);
  line-height: 1.6;
}


/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 767px) {
  .page-hero__inner  { padding: 56px 24px 48px; }
  .page-hero__title  { font-size: 14pt; }
  .page-hero__desc   { font-size: 12pt; }

  .page-photos       { padding: 48px 16px 64px; }
  .page-photos__grid { grid-template-columns: 1fr; gap: 12px; }

  /* Life Science */
  .ls-catchcopy__inner   { padding: 36px 24px 32px; }
  .ls-catchcopy__heading { font-size: 14pt; }

  .ls-fullimg            { padding: 0 16px; }

  .ls-feature            { flex-direction: column; gap: 32px; }
  .ls-feature + .ls-feature { margin-top: 56px; }
  .ls-feature__img       { order: -1; }
  .ls-feature__img img   { max-width: 160px; }

  .ls-bgbreak            { height: 180px; }

  .ls-usecases__heading  { font-size: 16pt; }
}
