@charset "UTF-8";
/* ==========================================================================
   Top page — トップページ固有スタイル
   ========================================================================== */

/* ----- FV（ファーストビュー：横幅100% + 縦約750px フルブリード + 左テキスト） ----- */
.top-fv {
  position: relative;
  width: 100%;
  min-height: 750px;
  padding: 0;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.top-fv__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.top-fv__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 42% center;
  display: block;
}

.top-fv__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1290px;
  margin: 0 auto;
  padding: 64px 48px;
}

.top-fv__text {
  max-width: 600px;
}

.top-fv__sub {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--color-primary-darker);
}

.top-fv__main {
  margin-top: 12px;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-primary-darker);
}

.top-fv__desc {
  font-size: 16px;
  line-height: 1.85;
  color: var(--color-text);
  margin-top: 24px;
}

.top-fv__band {
  display: inline-block;
  margin-top: 28px;
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  background-color: var(--color-primary-darker);
  color: var(--color-white);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.top-fv__points {
  display: flex;
  gap: 16px;
  margin-top: 28px;
}

.top-fv__points li {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 108px;
  height: 108px;
  flex: 0 0 auto;
  border-radius: 50%;
  border: 2px solid var(--color-primary-darker);
  background-color: rgba(255, 255, 255, 0.82);
  color: var(--color-primary-darker);
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.top-fv__points small {
  display: block;
  margin-top: 4px;
  font-size: 9px;
  font-weight: 500;
  line-height: 1.3;
}

.top-fv__buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 36px;
}

.top-fv__buttons .btn {
  min-width: 200px
}
@media (max-width: 1024px) {
  .top-fv { min-height: 620px; }
  .top-fv__inner { padding: 56px 32px; }
  .top-fv__main { font-size: 32px; }
  .top-fv__points li { width: 96px; height: 96px; font-size: 13px; }
}

@media (max-width: 767px) {
  .top-fv { min-height: 520px; }
  .top-fv__inner { padding: 10px 20px; text-align: center;}
  .top-fv__bg img { object-position: 48% center; }
  .top-fv__sub { font-size: 14px; }
  .top-fv__main { font-size: 22px; }
  .top-fv__desc { font-size: 14px; margin-top: 15px;}
  .top-fv__band {
    font-size: 14px;
    margin-top: 15px;
  }
  .top-fv__points { gap: 10px; justify-content: center;}
  .top-fv__points li { width: 88px; height: 88px; font-size: 12px; }
  .top-fv__buttons { width: 100%; }
  .top-fv__buttons .btn { width: 47%; min-width: 0; max-width: none; 
        font-size: 14px;
        padding: 0 20px;
        padding-right: 30px;
}
}

/* ----- top-company（左：画像→右：テキスト オーバーレイ + 白グラデ） ----- */
.top-company {
  padding: 96px 0;
  position: relative;
}

.top-company__inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  min-height: 540px;
}

.top-company__image {
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: calc(70% - 24px);
  border-radius: var(--radius-xl);
  overflow: hidden;
  z-index: 0;
}

.top-company__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 60%,
    rgba(255, 255, 255, 1) 96%
  );
  pointer-events: none;
}

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

.top-company__text {
  position: relative;
  z-index: 1;
  margin-left: auto;
  width: 100%;
  max-width: 494px;
  padding: 80px 0;
  display: flex;
  flex-direction: column;
}

.top-company__text > * + * { margin-top: 56px; }

.top-company__label {
  color: var(--color-primary);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.top-company__heading {
  font-size: 33px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--color-text);
  margin-top: 16px;
}

.top-company__desc {
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-text);
  margin-top: 32px;
}

@media (max-width: 900px) {
  .top-company { padding: 64px 0; }
  .top-company__inner { min-height: 0; display: flex; flex-direction: column; gap: 32px; }
  .top-company__image { position: relative; left: auto; width: 100%; aspect-ratio: 4/3; }
  .top-company__image::after {
    background: linear-gradient(to bottom, rgba(255,255,255,0) 70%, rgba(255,255,255,1) 100%);
  }
  .top-company__text { max-width: 100%; padding: 0; }
  .top-company__text > * + * { margin-top: 32px; }
  .top-company__heading { font-size: 24px; }
}

/* ----- top-about (フルボ酸とは：3カード) ----- */
.top-about {
  padding: 96px 0;
  background: linear-gradient(
    180deg,
    var(--color-bg-gradient-start) 0%,
    var(--color-bg-soft) 40%,
    var(--color-primary-light) 100%
  );
}

.top-about__heading-block {
  text-align: center;
  margin-bottom: 56px;
}

.top-about__lead {
  margin-top: 24px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  font-size: 16px;
  line-height: 1.875;
  color: var(--color-text);
}

.top-about__btn-wrap {
  margin-top: 56px;
  display: flex;
  justify-content: center;
}

@media (max-width: 767px) {
  .top-about { padding: 64px 0; }
}

/* ----- top-safety (深緑背景 + 3 frosted card) ----- */
.top-safety {
  position: relative;
  padding: 120px 0;
  color: var(--color-white);
  overflow: hidden;
  isolation: isolate;
}

.top-safety::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("../../img/top/safety-bg.png");
  background-size: cover;
  background-position: center;
}

.top-safety::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(33, 91, 73, 0.7) 0%,
    rgba(0, 122, 85, 0.27) 25%,
    rgba(255, 255, 255, 0) 45%
  );
  mix-blend-mode: multiply;
}

.top-safety__heading-block {
  text-align: center;
  margin-bottom: 56px;
}

.top-safety__heading-block .heading__en,
.top-safety__heading-block .heading__ja {
  color: var(--color-white);
}

.top-safety__lead {
  margin-top: 24px;
  font-weight: 700;
  line-height: 1.875;
}

.top-safety__cards .card {
  background-color: rgba(255, 255, 255, 0.71);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 48px 16px 56px;
  min-height: 428px;
  align-items: center;
  text-align: center;
}

.safety-card__icon {
  width: 80px;
  height: 80px;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.safety-card__icon img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.safety-card__title {
  font-size: 22px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--color-text);
  margin-bottom: 16px;
}

.safety-card__title em {
  color: var(--color-primary);
  font-style: normal;
}

.safety-card__body {
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-text);
  text-align: left;
}

@media (max-width: 767px) {
  .top-safety { padding: 72px 0; }
}

/* ----- top-lineup（製品ラインナップ） ----- */
.top-lineup {
  padding: 104px 0;
  background: linear-gradient(
    180deg,
    var(--color-bg-gradient-start) 0%,
    var(--color-bg-soft) 16%,
    var(--color-primary-light) 32%,
    var(--color-primary-light) 100%
  );
}

.top-lineup__heading-block { text-align: center; margin-bottom: 56px; }
.top-lineup__sub {
  margin-top: 24px;
  font-size: 22px;
  font-weight: 700;
  color: var(--color-text);
}
.top-lineup__lead {
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.625;
  color: var(--color-text);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* カード：背景画像レイヤー + 商品画像レイヤー + テキスト */
.lineup-card {
  position: relative;
  height: 460px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-white);
  color: var(--color-text);
}

/* レイヤー1: 背景画像（葉や植物） + 白グラデ */
.lineup-card__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.lineup-card__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.lineup-card__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(255, 255, 255, 1) 47%,
    rgba(255, 255, 255, 0) 100%
  );
  pointer-events: none;
}

/* レイヤー2: 商品画像（瓶など） — グラデは当てない */
.lineup-card__product {
  position: absolute;
  top: 32px;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  height: 220px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lineup-card__product img {
  width: auto;
  height: 100%;
  max-width: none;
  object-fit: contain;
  display: block;
}

/* レイヤー3: テキスト本文 */
.lineup-card__body {
  position: absolute;
  inset: auto 24px 24px 24px;
  z-index: 2;
  display: flex;
  flex-direction: column;
}

.lineup-card__desc { margin-top: 8px; }
.lineup-card__link { margin-top: 16px; }

/* 3枚目（デンタル）— 背景画像を130%に拡大 */
.lineup-card--zoom .lineup-card__bg img {
  width: 130%;
  height: 130%;
  max-width: none;
  margin-left: -15%;
  margin-top: -15%;
}

.lineup-card__title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}

.lineup-card__title small {
  display: block;
  font-size: 16px;
  font-weight: 700;
  margin-top: 4px;
}

.lineup-card__desc {
  font-size: 16px;
  line-height: 1.625;
  color: var(--color-text);
}

.lineup-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-end;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--color-text);
  transition: opacity 0.2s ease;
}

.lineup-card__link:hover { opacity: 0.7; }

.top-lineup__btn-wrap {
  margin-top: 56px;
  display: flex;
  justify-content: center;
}

@media (max-width: 767px) {
  .top-lineup { padding: 72px 0; }
}

/* ----- top-shop（左：テキスト / 右：商品バナー画像1枚） ----- */
.top-shop {
  padding: 96px 0;
}

.top-shop__inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: stretch;
  gap: 58px;
  flex-wrap: wrap;
}

.top-shop__text {
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  max-width: 460px;
}

.top-shop__heading {
  font-size: 33px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.02em;
  color: var(--color-text);
}

.top-shop__desc {
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-text);
  margin-top: 32px;
}

.top-shop__text > div:last-child { margin-top: 56px; }

.top-shop__visual {
  flex: 2 1 500px;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.top-shop__visual img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 767px) {
  .top-shop { padding: 64px 0; }
  .top-shop__heading { font-size: 24px; }
}

/* ----- top-news（お知らせ） ----- */
.top-news {
  padding: 96px 0;
}

.top-news__inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
}

.top-news__heading {
  flex: 0 0 240px;
}

.top-news__list {
  flex: 1 1 600px;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--color-border);
}

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

.news-item__date {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  font-family: var(--font-jp);
  color: var(--color-text-sub);
  letter-spacing: 0.04em;
  font-weight: 500;
}

.news-item__year { font-size: 14px; line-height: 1.25; }
.news-item__day { font-size: 20px; line-height: 1.25; }

.news-item__body {
  flex: 1 1 auto;
  font-size: 16px;
  line-height: 1.625;
  color: var(--color-text);
}

@media (max-width: 767px) {
  .top-news { padding: 64px 0; }
  .news-item { flex-direction: column; gap: 8px; }
}

/* ----- top-banner（3バナー画像） ----- */
.top-banner {
  padding: 24px 0 96px;
}

.top-banner__list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.top-banner__list > * {
  flex: 1 1 320px;
  max-width: 385px;
}

.banner-card {
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.banner-card:hover { transform: translateY(-2px); opacity: 0.9; }

.banner-card img {
  width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   top-shop / top-company の共通 modifier
   （fulvic / company 等の下層ページでも使用するため top.css に配置）
   ========================================================================== */

.top-company--no-btn .top-company__text {
  padding: 60px 0;
}

.top-shop--no-btn .top-shop__text > div:last-child {
  margin-top: 0;
}

/* ヒューミックシェール section: 画像のアスペクト固定 */
.top-shop--shell .top-shop__visual {
  aspect-ratio: 738 / 440;
}

.top-shop--shell .top-shop__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
