/* ============================================================
   sections.css  —  各ページセクション専用スタイル
   個々のコンテンツセクション（hero, ticker, philosophy …）に
   のみ適用するレイアウトと装飾。再利用部品は components.css。
   ============================================================ */

/* ---------- ヒーロー ---------- */

/* ファーストビュー全体（背景・オーバーレイを内包） */
.hero {
  margin-top: 97px;
  min-height: 90vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* 背景写真 */
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-image: url("https://images.unsplash.com/photo-1560750588-73207b1ef5b8?w=1800&auto=format&fit=crop&q=80");
}

/* 背景写真の上に重ねるグラデーション */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(29, 15, 62, 0.90) 0%,
    rgba(109, 76, 158, 0.72) 40%,
    rgba(45, 27, 90, 0.68) 60%,
    rgba(109, 76, 158, 0.84) 100%
  );
}

/* 斜めストライプの装飾パターン */
.hero-bg-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: repeating-linear-gradient(
    45deg,
    #fff 0,
    #fff 1px,
    transparent 0,
    transparent 50%
  );
  background-size: 20px 20px;
}

/* ヒーローの本文コンテンツ */
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 80px;
  max-width: 800px;
}

/* 欧文の小ラベル（枠付き） */
.hero-label {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 4px;
  color: var(--green-light);
  border: 1px solid var(--green-light);
  padding: 4px 14px;
  margin-bottom: 28px;
}

.hero h1 {
  font-family: "Noto Serif JP", serif;
  font-size: 46px;
  font-weight: 300;
  color: #fff;
  line-height: 1.5;
  letter-spacing: 4px;
  margin-bottom: 24px;
}

/* 見出し内の強調色テキスト */
.hero h1 span {
  color: var(--green-light);
}

.hero-sub {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 2;
  letter-spacing: 1px;
  margin-bottom: 40px;
  max-width: 500px;
}

/* ヒーローのボタン配置 */
.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* 右下のスクロール誘導インジケーター */
.hero-scroll {
  position: absolute;
  bottom: 40px;
  right: 60px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 9px;
  letter-spacing: 3px;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.4), transparent);
}

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

/* 横スクロールするお知らせ帯 */
.news-ticker {
  background: var(--green-dark);
  padding: 0 40px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* 左端の「NEWS」ラベル */
.news-label {
  background: var(--green-mid);
  color: #fff;
  padding: 10px 16px;
  font-size: 10px;
  letter-spacing: 2px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* スクロール領域のクリッピング枠 */
.ticker-wrap {
  overflow: hidden;
  flex: 1;
  padding: 0 20px;
}

/* 無限スクロールするアイテム列 */
.ticker-inner {
  display: flex;
  gap: 60px;
  animation: ticker 20s linear infinite;
}

/* 左方向へ半分送るループアニメーション */
@keyframes ticker {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.ticker-item {
  white-space: nowrap;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 1px;
  display: flex;
  gap: 16px;
}

.ticker-date {
  color: var(--green-light);
  font-size: 10px;
}

/* ---------- 企業理念（PHILOSOPHY） ---------- */

.philosophy {
  background: var(--green-ultra);
  padding: 90px 40px;
  text-align: center;
}

.philosophy-box {
  max-width: 720px;
  margin: 0 auto;
}

/* 理念のキャッチコピー */
.philosophy-quote {
  font-family: "Noto Serif JP", serif;
  font-size: 22px;
  font-weight: 300;
  color: var(--green-dark);
  line-height: 2;
  letter-spacing: 3px;
  margin-bottom: 32px;
}

.philosophy-sub {
  font-size: 13px;
  color: var(--text-light);
  line-height: 2.2;
  letter-spacing: 1px;
}

/* ミッション・ビジョン・バリューの3カラム */
.mvv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--green-pale);
  margin-top: 60px;
  border: 1px solid var(--green-pale);
}

.mvv-card {
  background: #fff;
  padding: 36px 28px;
  text-align: left;
}

.mvv-en {
  font-size: 9px;
  letter-spacing: 4px;
  color: var(--purple-mid);
  margin-bottom: 12px;
}

.mvv-title {
  font-family: "Noto Serif JP", serif;
  font-size: 16px;
  color: var(--green-dark);
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.mvv-text {
  font-size: 12px;
  color: var(--text-light);
  line-height: 2.2;
  letter-spacing: 0.5px;
}

/* ---------- 事業内容（BUSINESS） ---------- */

.business {
  background: #fff;
  padding: 90px 40px;
}

.business-inner {
  max-width: 1100px;
  margin: 0 auto;
}

/* 事業カードの3カラムグリッド */
.business-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

/* 事業カード（ホバーで左辺に縦バーが伸びる） */
.biz-card {
  border: 1px solid var(--green-pale);
  padding: 36px 28px;
  position: relative;
  transition: 0.3s;
}

/* 左辺の縦バー（初期は高さ0） */
.biz-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: linear-gradient(to bottom, var(--green-light), var(--purple-light));
  transition: 0.4s;
}

/* ホバー時に縦バーを全高まで伸ばす */
.biz-card:hover::before {
  height: 100%;
}

.biz-card:hover {
  border-color: var(--green-light);
  box-shadow: 0 8px 32px rgba(123, 92, 191, 0.12);
}

/* 連番（01〜06）の装飾数字 */
.biz-num {
  font-size: 36px;
  font-weight: 300;
  color: var(--green-pale);
  font-family: "Noto Serif JP", serif;
  line-height: 1;
  margin-bottom: 16px;
}

.biz-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--green-dark);
  margin-bottom: 12px;
  letter-spacing: 1px;
  line-height: 1.6;
}

.biz-desc {
  font-size: 12px;
  color: var(--text-light);
  line-height: 2;
}

/* カード上部の写真 */
.biz-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  margin-bottom: 24px;
  display: block;
}

/* ---------- 主要ブランド（BRANDS） ---------- */

/* 写真背景のブランド紹介セクション */
.brands {
  position: relative;
  padding: 90px 40px;
  overflow: hidden;
}

.brands-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-image: url("https://images.unsplash.com/photo-1570172619644-dfd03ed5d881?w=1800&auto=format&fit=crop&q=80");
}

.brands-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(29, 15, 62, 0.93), rgba(109, 76, 158, 0.90));
}

.brands-inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* 暗い背景に合わせ、共通見出しの色を上書き */
.brands .section-label {
  color: var(--green-light);
}

.brands .section-title {
  color: #fff;
}

.brands .section-divider {
  background: linear-gradient(to right, var(--green-light), var(--purple-light));
}

/* ブランドカードの3カラムグリッド */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 48px;
}

.brand-card {
  background: rgba(255, 255, 255, 0.07);
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: 0.3s;
  overflow: hidden;
}

.brand-card:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
}

/* カード上部の写真（ホバーで不透明度を上げる） */
.brand-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  opacity: 0.7;
  display: block;
  transition: 0.3s;
}

.brand-card:hover .brand-card-img {
  opacity: 0.9;
}

.brand-card-body {
  padding: 32px 28px;
}

.brand-icon {
  font-size: 28px;
  margin-bottom: 16px;
  display: block;
}

.brand-name {
  font-family: "Noto Serif JP", serif;
  font-size: 18px;
  color: #fff;
  letter-spacing: 2px;
  margin-bottom: 6px;
  font-weight: 400;
}

.brand-name-sub {
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--green-light);
  margin-bottom: 16px;
}

.brand-desc {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 2.2;
}

/* ---------- 代表挨拶（MESSAGE） ---------- */

.message-section {
  padding: 90px 40px;
  background: #fff;
}

/* 写真（左）＋本文（右）の2カラム */
.message-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}

/* 代表者の縦長ポートレート */
.message-img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}

/* 挨拶の見出し（左辺に縦線） */
.message-heading {
  font-family: "Noto Serif JP", serif;
  font-size: 18px;
  color: var(--green-dark);
  line-height: 2;
  letter-spacing: 2px;
  margin-bottom: 28px;
  border-left: 3px solid var(--green-light);
  padding-left: 16px;
}

.message-text {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 2.5;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

/* 署名ブロック（右寄せ） */
.message-sign {
  margin-top: 32px;
  text-align: right;
}

.message-sign span {
  font-family: "Noto Serif JP", serif;
  font-size: 16px;
  color: var(--green-dark);
  letter-spacing: 3px;
}

.message-sign small {
  display: block;
  font-size: 11px;
  color: var(--text-light);
  letter-spacing: 2px;
  margin-bottom: 4px;
}

/* ---------- スクールバナー（SCHOOL BANNER） ---------- */

/* 写真背景の横長バナー */
.school-banner {
  position: relative;
  height: 400px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.school-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-image: url("https://images.unsplash.com/photo-1524178232363-1fb2b075b655?w=1800&auto=format&fit=crop&q=80");
}

/* 左から右へ薄くなるオーバーレイ */
.school-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(29, 15, 62, 0.92) 0%, rgba(123, 92, 191, 0.65) 100%);
}

.school-content {
  position: relative;
  z-index: 2;
  padding: 0 80px;
  max-width: 700px;
}

.school-label {
  font-size: 10px;
  letter-spacing: 4px;
  color: var(--green-light);
  margin-bottom: 16px;
}

.school-title {
  font-family: "Noto Serif JP", serif;
  font-size: 32px;
  font-weight: 300;
  color: #fff;
  letter-spacing: 3px;
  margin-bottom: 16px;
  line-height: 1.6;
}

.school-text {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 2;
  margin-bottom: 28px;
}

/* ---------- 会社概要（COMPANY） ---------- */

.company-section {
  background: var(--green-ultra);
  padding: 90px 40px;
}

.company-inner {
  max-width: 900px;
  margin: 0 auto;
}

/* 会社概要の表 */
.company-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 48px;
}

.company-table tr {
  border-bottom: 1px solid var(--green-pale);
}

/* 項目名セル（左列） */
.company-table th {
  width: 180px;
  padding: 20px 24px;
  font-size: 12px;
  color: var(--green-mid);
  font-weight: 500;
  letter-spacing: 1px;
  text-align: left;
  vertical-align: top;
  background: rgba(255, 255, 255, 0.5);
}

/* 内容セル（右列） */
.company-table td {
  padding: 20px 24px;
  font-size: 13px;
  color: var(--text-mid);
  line-height: 2;
}

/* ---------- 沿革（HISTORY） ---------- */

.history {
  padding: 90px 40px;
  background: #f4f6fa;
}

.history-inner {
  max-width: 800px;
  margin: 0 auto;
}

/* 縦型タイムライン */
.timeline {
  margin-top: 48px;
  position: relative;
}

/* タイムラインの縦ガイド線 */
.timeline::before {
  content: "";
  position: absolute;
  left: 80px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--green-light), var(--purple-light));
}

/* 各年の行 */
.tl-item {
  display: flex;
  gap: 40px;
  margin-bottom: 40px;
  position: relative;
}

/* 年表示（右寄せ） */
.tl-year {
  width: 80px;
  font-family: "Noto Serif JP", serif;
  font-size: 15px;
  color: var(--green-mid);
  font-weight: 500;
  text-align: right;
  padding-top: 2px;
  flex-shrink: 0;
}

/* ガイド線上のドット */
.tl-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--purple-mid);
  flex-shrink: 0;
  margin-top: 5px;
  margin-left: -5px;
  position: relative;
  z-index: 1;
}

.tl-content {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 2;
  padding-left: 20px;
}

/* ---------- お問い合わせ CTA（CONTACT CTA） ---------- */

/* グラデーション背景の誘導セクション */
.contact-cta {
  background: linear-gradient(135deg, var(--purple-dark), var(--purple-mid));
  padding: 90px 40px;
  text-align: center;
}

.contact-cta h2 {
  font-family: "Noto Serif JP", serif;
  font-size: 28px;
  font-weight: 300;
  color: #fff;
  letter-spacing: 4px;
  margin-bottom: 16px;
}

.contact-cta p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 2;
  margin-bottom: 40px;
  letter-spacing: 1px;
}

/* CTA ボタンの配置 */
.cta-btns {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
