@charset "UTF-8";

/* ========================================
   Industry Page - Style
   業界別ソリューションページ固有のスタイル
======================================== */

/* ========================================
   Hero Industry (業界別ソリューション ファーストビュー)
======================================== */
.hero-industry {
  background-color: var(--color-white);
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-industry::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background-image: url("../img/background/wavy-line02.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 100% auto;
  z-index: -1;
}

/* -- ファーストビュー（画面100%エリア） -- */
  /*
   * padding-top を vh ベースに変更
   * Mac (797px高) : 8.8vh ≒ 70px (≒ header-height相当)
   * Win (631px高) : 8.8vh ≒ 56px
   * justify-content: center との組み合わせで
   * ヒーロー高さに比例した位置に配置される
   */
.hero-industry__fv {
  min-height: 100vh;
  min-height: 100svh;
  padding-top: clamp(56px, 8.8vh, 90px);
  padding-bottom: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}

/* -- Inner -- */
.hero-industry__inner {
  max-width: var(--content-max60);
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
}

.hero-industry__header {
  margin-top: 30px;
}

/* -- 上部テキスト -- */
.hero-industry__sub {
  font-family: var(--font-en);
  font-size: clamp(28px, 2.5vw, 36px);
  font-weight: 300;
  letter-spacing: 0.05em;
  background: linear-gradient(90deg, #3B4A78 0%, #8B96B3 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--color-navy);
}

.hero-industry__title {
  font-size: clamp(32px, 3vw, 48px);
  font-weight: 400;
  line-height: 1;
  margin-bottom: 28px;
  background: linear-gradient(90deg, #3B4A78 0%, #8B96B3 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--color-navy);
}

/* -- メイン画像 -- */
.hero-industry__image {
  aspect-ratio: 12 / 5;
  margin-bottom: 28px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  width: min(calc(70% - 2px), 1010px);
  max-width: 1248px;
  margin-left: auto;
  margin-right: auto;
}

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

/* -- 下部テキストエリア（スクロール後） -- */
.hero-industry__footer-area {
  padding: 24px 0 0;
}

.hero-industry__footer-area .hero-industry__footer p {
    text-align: center;
}

/* -- Footer (下部本文エリア) -- */
.hero-industry__footer {
  width: min(76.3889vw, 1100px);
  max-width: 100%;
  padding: 0 80px;
  margin: 0 auto;
  text-align: center;
}

.hero-industry__footer p {
  margin-bottom: 24px;
}

/* -- 下部テキスト装飾 -- */
.hero-industry__catch {
  font-size: clamp(22px, 2.3611vw, 34px);
  font-weight: 500;
  letter-spacing: 0.1em;
  position: relative;
  display: inline-block;
  padding-bottom: 16px;
  background: linear-gradient(90deg, #3B4A78 0%, #8B96B3 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--color-navy);
}

.hero-industry__catch::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 1px;
  background-color: var(--color-gray);
}

h2.hero-industry__catch {
  margin-bottom: 0;
}

/* ========================================
   Industry Solution Section
======================================== */
.ind-solution {
  background-image: linear-gradient(21deg, #253258, #253258d6 50%, #7b849c);
  padding: 120px 0 150px;
  color: var(--color-text);
}

.ind-solution__inner {
  max-width: var(--content-max60);
  margin: 0 auto;
  padding: 0 var(--side-padding);
}

/* -- Header -- */
.ind-solution__header {
  text-align: center;
  margin-bottom: 56px;
}

.ind-solution__title {
  font-family: var(--font-en);
  font-size: var(--fs-heading-xl);
  font-weight: 300;
  letter-spacing: 0.08em;
  line-height: 1.2;
  margin-bottom: 8px;
  color: var(--color-white);
}

.ind-solution__sub {
  font-size: var(--fs-lg);
  color: var(--color-white);
  letter-spacing: 0.1em;
}

/* -- Card -- */
.ind-solution__card {
  display: grid;
  grid-template-columns: min(33.3333vw, 480px) 1fr;
  gap: 0;
  align-items: start;
  overflow: hidden;
  margin-bottom: 32px;
  transition: box-shadow 0.3s ease;
}

.ind-solution__card:last-child {
  margin-bottom: 0;
}

/* -- Card Image -- */
.ind-solution__card-img {
  overflow: hidden;
  min-height: 240px;
}

.ind-solution__card-img img {
  object-fit: cover;
  border-radius: 10px;
}

/* -- Card Body -- */
.ind-solution__card-body {
  padding: 0 48px 40px;
  display: flex;
  flex-direction: column;
}

.ind-solution__card-title {
  font-size: var(--fs-2xl);
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 16px;
  color: var(--color-white);
  word-break: auto-phrase;
}

.ind-solution__card-desc {
  font-size: var(--fs-base);
  line-height: 2;
  color: var(--color-white);
  margin-bottom: 24px;
}

/* -- Card Link -- */
.ind-solution__card-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: var(--fs-base);
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 10px 28px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  background-color: var(--color-white);
  color: var(--color-accent);
  align-self: flex-start;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.ind-solution__card-link:hover {
  background-color: rgba(255, 255, 255, 0.15);
  color: var(--color-white);
  opacity: 1;
}

/* -- MORE link -- */
.ind-solution__more {
  text-align: center;
  margin-top: 48px;
}

.ind-solution__more-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-en);
  font-size: var(--fs-base);
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--color-white);
}

.ind-solution__more-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--color-white);
  font-size: var(--fs-sm);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.ind-solution__more-link:hover {
  opacity: 1;
}

.ind-solution__more-link:hover .ind-solution__more-arrow {
  transform: translateX(3px);
  background-color: rgba(0, 0, 0, 0.04);
}

.ind-solution__card-link-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: var(--fs-sm);
  line-height: 1;
  transition: transform 0.3s ease;
}

.ind-solution__card-link:hover .ind-solution__card-link-arrow {
  transform: translateX(3px);
}


/* ========================================
   Responsive - タブレット (769px〜1024px)
======================================== */
@media screen and (min-width: 769px) and (max-width: 1024px) {
  .hero-industry__footer {
    padding: 0 var(--side-padding);
  }
}

/* ========================================
   Responsive - 768px以下 (スマートフォン)
======================================== */
@media screen and (max-width: 768px) {
  .hero-industry {
    padding-top: 0;
    min-height: auto;
    background-image: linear-gradient(1deg, #a7b7d3, #fbfcfd 53%, #ffffff 98%);
  }

  .hero-industry__fv {
    padding-top: 60px; /* SP: ヘッダー高さ固定 */
    padding-bottom: 24px;
    background-image: url("../img/background/wavy-line02-sp.png");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100%;
  }

  .hero-industry__sub {
    font-size: 20px;
    margin-bottom: 12px;
  }

  .hero-industry__title {
    font-size: 35px;
    margin-bottom: 16px;
  }

  .hero-industry__image {
    margin-bottom: 20px;
    max-width: max-content;
    width: 100%;
    padding: 0 20px;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
  }

  .hero-industry__image img {
    border-radius: 8px;
    max-height: 28vh;
  }

  .hero-industry__catch {
    font-size: 22px;
  }

  .hero-industry__footer {
    width: 100%;
    padding: 0 var(--side-padding);
  }

  .ind-solution {
    padding: 60px 0 60px;
  }

  .ind-solution__card {
    grid-template-columns: 1fr;
    margin-bottom: 56px;
  }

  .ind-solution__card-body {
    padding: 24px 0 0 0;
  }

  .hero-industry::before {
    display: none;
  }

  .hero-industry__inner {
    padding: 0 24px;
  }

  .hero-industry__footer-area .hero-industry__footer {
    padding: 0;
  }

  .hero-industry__footer-area .hero-industry__footer p {
    font-size: var(--fs-base);
    text-align: left;
  }

  .ind-solution__card-link {
    align-self: center;
  }

}