/* ==========================================================
   top.css
   TOPページ専用スタイル
   （ヒーローセクション・カルーセル・ストーリー・サービスTOP・お知らせTOP）
   読み込み順: variables.css → base.css → top.css
   ========================================================== */


/* ----------------------------------------------------------
   1. ヒーローセクション
   ---------------------------------------------------------- */
.top_page {
  min-height: 100vh;
}

/* アイキャッチ画像 */
.fort_bg img {
  object-fit: cover;
  filter: brightness(0.88) saturate(1.05);
}

/* グラデーションオーバーレイ（左） */
.overlay_left {
  background: linear-gradient(100deg,
      rgba(254, 252, 252, 0.80) 0%,
      rgba(254, 252, 252, 0.58) 30%,
      rgba(254, 252, 252, 0.12) 52%,
      transparent 65%);
  z-index: 1;
}

/* グラデーションオーバーレイ（上） */
.overlay_top {
  height: 130px;
  background: linear-gradient(to bottom, rgba(249, 244, 244, 0.40), transparent);
  z-index: 2;
}

/* キャッチコピーエリア */
.hero_content {
  z-index: 10;
  padding: 5rem 4rem 2.5rem;
  max-width: 54%;
}

.tag_line {
  font-family: 'Cormorant Garamond', serif;
  font-size: 12px;
  letter-spacing: 0.35em;
  color: #9B1C2E;
  text-transform: uppercase;
}

.tag_line_bar {
  display: inline-block;
  width: 36px;
  height: 1px;
  background: #9B1C2E;
}

h1 {
  font-family: 'Noto Serif JP', serif;
  font-weight: 700;
  font-size: clamp(36px, 4.2vw, 60px);
  color: #2A1A1A;
  line-height: 1.6;
  letter-spacing: 0.05em;
  margin-bottom: 2rem;
}

h1 em {
  font-style: normal;
  color: #9B1C2E;
}

.rule {
  width: 52px;
  height: 2px;
  background: #9B1C2E;
}

.hero_desc {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #423a3a;
  line-height: 2.2;
  letter-spacing: 0.07em;
  margin-bottom: 3rem;
}

/* ----------------------------------------------------------
   右寄せテキストパネル（スライド2枚目）
   ---------------------------------------------------------- */

/* 右側グラデーションオーバーレイ */
.overlay_right {
  background: linear-gradient(to right,
      transparent 30%,
      rgba(249, 244, 244, 0.45) 52%,
      rgba(249, 244, 244, 0.82) 100%);
  z-index: 1;
}

/* 右寄せコンテンツエリア */
.hero_content_right {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 70%;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 4rem 3rem 2rem;
  text-align: left;
}

/* タグライン（右寄せ用） */
.tag_line_right {
  font-family: 'Cormorant Garamond', serif;
  font-size: 11px;
  letter-spacing: 0.35em;
  color: #9B1C2E;
  text-transform: uppercase;
  margin-bottom: 14px;
}

/* 右側ルール（右端揃え） */
.rule_right {
  width: 40px;
  height: 1px;
  background: #C0394F;
  margin: 0 auto 18px 0;
}

/* スライド2枚目：本文テキスト */
.slide2_desc {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(12px, 1.3vw, 15px);
  font-weight: 400;
  color: #423a3a;
  line-height: 2.2;
  letter-spacing: 0.07em;
  margin-bottom: 14px;
}

/* スライド2枚目：強調キーワード */
.slide2_em {
  display: block;
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(20px, 2.4vw, 32px);
  font-weight: 700;
  color: #2A1A1A;
  letter-spacing: 0.12em;
  line-height: 1.6;
  margin-bottom: 28px;
}

/* プライマリボタン（ヒーロー内） */
.btn_primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #9B1C2E;
  color: #fff;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  padding: 14px 30px;
  text-decoration: none;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  transition: background 0.25s, transform 0.2s;
}

.btn_primary:hover {
  background: #C0394F;
  color: #fff;
  transform: translateY(-2px);
}

.btn_secondary {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12px;
  color: #9B1C2E;
  text-decoration: none;
  border-bottom: 1px solid rgba(155, 28, 46, 0.4);
  padding-bottom: 2px;
  letter-spacing: 0.1em;
}

/* レスポンシブ */
@media screen and (max-width: 768px) {
  .hero_content {
    max-width: 60%;
  }

  h1 {
    font-size: 20px;
    padding-bottom: 0;
    line-height: 2.0rem;
  }

  .hero_inner h1 {
    margin-bottom: 0;
  }

  .hero_desc {
    font-size: 12px;
    line-height: 1.5rem;
  }

  /*スライド2枚目レスポンシブ */
  .hero_content_right {
	left:auto
    width: 58%;
    padding: 2rem 2rem 2rem 1rem;
  }

  .slide2_desc {
    font-size: 11px;
    line-height: 1.8;
  }

  .slide2_em {
    font-size: 16px;
  }
}

@media screen and (max-width: 425px) {
  .hero_content {
    max-width: 60%;
  }

  h1 {
    font-size: 12px;
    padding-bottom: 0;
    line-height: 1.5rem;
  }

  .hero_inner h1 {
    margin-bottom: 0;
  }

  .hero_desc {
    font-size: 10px;
    line-height: 1.0rem;
  }

  /*スライド2枚目 スマホ */
  .hero_content_right {
	left:auto
    width: 65%;
    padding: 1.5rem 1rem 1.5rem 0.5rem;
  }

  .tag_line_right {
    font-size: 8px;
    letter-spacing: 0.2em;
    margin-bottom: 8px;
  }

  .slide2_desc {
    font-size: 9px;
    line-height: 1.5;
    margin-bottom: 8px;
  }

  .slide2_em {
    font-size: 12px;
    letter-spacing: 0.08em;
    margin-bottom: 14px;
  }

  .rule_right {
    width: 24px;
    margin-bottom: 10px;
  }
}


/* ----------------------------------------------------------
   2. カルーセル
   ---------------------------------------------------------- */
.carousel_item {
  position: relative;
  height: 650px;
}

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

.carousel-fade .carousel-item .fort_bg {
  z-index: 1;
}

.carousel-fade .carousel-item .carousel-caption {
  z-index: 2;
}


/* ----------------------------------------------------------
   3. ストーリーセクション
   ---------------------------------------------------------- */
.story_section {
  background: #fdf9f9;
  padding: 0 0 6rem;
  overflow: hidden;
}

/* 名言帯 */
.quote_band {
  background: #9B1C2E;
  padding: 18px 60px;
  z-index: 15;
  flex-wrap: wrap;
}

.quote_band_text {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(15px, 1.6vw, 20px);
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: 0.06em;
  line-height: 1.5;
  text-align: center;
}

.quote_band_text em {
  font-family: 'Cormorant Garamond', serif;
  color: #f7f5f3;
  font-weight: 300;
}

/* ストーリー橋渡し装飾 */
.story_connector {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 3rem 0 2rem;
}

.connector_line {
  display: block;
  width: 60px;
  height: 1px;
  background: #9B1C2E;
  opacity: 0.35;
}

.connector_dot {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #9B1C2E;
  margin: 0 8px;
}

.story_block {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 0 3rem;
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* 社名カード */
.name_card {
  padding: 2.5rem 2rem 6rem;
}

.name_card_j {
  background: #9B1C2E;
}

.name_card_fort {
  background: var(--ai);
}

.name_letter {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(52px, 7vw, 80px);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.22);
  position: absolute;
  bottom: 0.5rem;
  right: 1rem;
  pointer-events: none;
  user-select: none;
}

.name_meaning {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.85);
  line-height: 2;
  letter-spacing: 0.05em;
  margin: 0;
  position: relative;
  z-index: 1;
}

.name_meaning em {
  font-style: normal;
  color: rgba(255, 255, 255, 1);
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}


/* ----------------------------------------------------------
   4. サービスセクション（TOP）
   ---------------------------------------------------------- */
.service_section {
  padding: 0 0 6rem;
}

/* section_title::after に content を追加 */
.service::after {
  content: "取扱製品及び業務内容";
  margin: 0 auto 0;
}

.service_title {
  font-size: 16px;
}


/* ----------------------------------------------------------
   5. お知らせセクション（TOP）
   ---------------------------------------------------------- */
.my_info_section {
  padding: 0 0 6rem;
}

.news::after {
  content: "お知らせ";
  margin: 0 auto 0;
}

.card-body a {
  text-decoration: none;
  color: #000000;
}