@charset "UTF-8";

/* =========================================
   Hero / Slider
   ========================================= */
/* ここから（ヒーローイメージのスタイルを大幅に更新） */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background-color: #000;
}
.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1; /* スライダーは最背面 */
}
.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: fadeSlider 25s infinite, zoomSlider 25s linear infinite;
}
.slide:nth-child(1) { animation-delay: 0s; }
.slide:nth-child(2) { animation-delay: 5s; }
.slide:nth-child(3) { animation-delay: 10s; }
.slide:nth-child(4) { animation-delay: 15s; }
.slide:nth-child(5) { animation-delay: 20s; }

@keyframes fadeSlider {
  0% { opacity: 0; }
  6% { opacity: 1; }
  14% { opacity: 1; }
  20% { opacity: 0; }
  100% { opacity: 0; }
}

@keyframes zoomSlider {
  0% { transform: scale(1); }
  20% { transform: scale(1.12); }
  100% { transform: scale(1.12); }
}

/* ここから（グローバルナビの上部固定とスクロールアニメーションのスタイルに更新） */
/* ヒーローコンテンツ（トップナビの帯カラム）初期状態 */
.hero-content {
  position: fixed; /* 上部固定 */
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100; /* 常に最前面に表示 */
  width: 100%;
  background-color: transparent; /* 初期は背景透明 */
  transition: background-color 0.5s ease; /* 背景のフェードアニメーション */
}

/* ヒーロー下端までスクロールした時の帯の背景色 */
.hero-content.is-scrolled {
  /*//  -background-color: #222222;-  ///*/
  background-image: -webkit-linear-gradient(270deg,rgba(112,112,112,1.00) 0%,rgba(61,61,61,1.00) 100%);
  background-image: -moz-linear-gradient(270deg,rgba(112,112,112,1.00) 0%,rgba(61,61,61,1.00) 100%);
  background-image: -o-linear-gradient(270deg,rgba(112,112,112,1.00) 0%,rgba(61,61,61,1.00) 100%);
  background-image: linear-gradient(180deg,rgba(112,112,112,1.00) 0%,rgba(61,61,61,1.00) 100%);
}

.hero-top-nav {
  align-items: center; /* ロゴとナビの上下中央を揃える（thanks.htmlと同じ位置に） */
}
.hero-top-nav .hero-logo img {
  width: 25rem;
  height: auto;
}

/* ナビゲーションのリストスタイル（ドットを消去） */
.hero-top-nav nav ul {
  display: flex;
  justify-content: flex-end;
  gap: 3rem;
  list-style: none; /* ドットを不要にする */
  padding: 0;
  margin: 0;
}

.hero-top-nav nav ul li a {
  font-family: 'Noto serif JP', serif;
  color: #fff;
  text-decoration: none;
  font-size: 1.8rem;
  font-weight: 500;
  transition: opacity 0.3s;
}
.hero-top-nav nav ul li a:hover {
  opacity: 0.7;
}

/* グローバルナビ文字の初期状態（ヒーローが見えてるうちはhide） */
.hero-top-nav nav {
  opacity: 0;
  transform: translateY(-20px); /* 上部に隠す */
  transition: opacity 0.5s ease, transform 0.5s ease; /* スライドインのアニメーション */
  pointer-events: none; /* 非表示時はクリック不可にする */
}

/* ヒーロー下端までスクロールしたら上からスライドして降りてくる */
.hero-content.is-scrolled .hero-top-nav nav {
  opacity: 1;
  transform: translateY(0); /* 定位置に降りる */
  pointer-events: auto; /* 表示されたらクリックを有効化 */
}
/* ここまで（グローバルナビの上部固定とスクロールアニメーションのスタイルに更新） */

/* ヒーロー質感リンク */
.hero-texture-links-wrap {
  position: absolute;
  bottom: 10%; /* 下から10%の位置に配置 */
  left: 50%;
  transform: translateX(-50%);
  z-index: 5; /* 質感リンクはロゴの下 */
  width: 100%;
}
.hero-texture-links {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-end; /* 右寄せ */
}
.hero-texture-link {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 45rem;
  height: 8rem;
  background-size: cover;
  background-position: center;
  border-radius: 0.4rem;
  text-decoration: none;
  color: #fff;
  box-shadow: 0 0.6rem 1rem rgba(0,0,0,0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  position: relative;
}
.hero-texture-link::after { /* ホバー時のオーバーレイ */
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.1);
  opacity: 0;
  transition: opacity 0.3s;
}
.hero-texture-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 1rem 2rem rgba(0,0,0,0.6);
}
.hero-texture-link:hover::after {
  opacity: 1;
}
.hero-texture-link span {
  display: block;
  text-align: center;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}
.hero-texture-link .main {
  font-family: 'Noto serif JP', serif;
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1; /* 和文フォントの上余白で下寄りに見えるのを補正 */
}
.hero-texture-link .sub {
  font-size: 1.4rem;
  color: rgba(255,255,255,0.8);
  line-height: 1;
  margin-top: 0.6rem;
}

/* 各質感背景画像を割り当て */
.link-texture-01 { background-image: url('images/texture01.jpg'); } /* 木目 */
.link-texture-02 { background-image: url('images/texture02.jpg'); } /* コンクリート */
.link-texture-03 { background-image: url('images/texture03.jpg'); } /* 金属 */
.link-texture-04 { background-image: url('images/texture04.jpg'); } /* 石 */
.link-texture-05 { background-image: url('images/texture05.jpg'); } /* Access用 */
/* ここまで */

/* =========================================
   Section Common
   ========================================= */
/* ここから: 共通セクションスタイル */
.section-title {
  font-size: 3.6rem;
  font-weight: 700;
  margin-bottom: 4rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.section-title span {
  display: block;
  font-size: 1.4rem;
  color: #666;
  margin-top: 0.5rem;
  font-weight: 400;
}
.bg-gray {
  background-color: #f7f7f7;
}
.mt-4 {
  margin-top: 4rem;
}
.placeholder-box {
  min-height: 60rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* ここまで: 共通セクションスタイル */

/* =========================================
   Buttons (Texture Background)
   ========================================= */
/* ここから: テクスチャボタンのスタイル */
.btn-texture {
  display: inline-block;
  padding: 2rem 5rem;
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  background-size: cover;
  background-position: center;
  border-radius: 0.4rem;
  box-shadow: 0 0.4rem 0.6rem rgba(0,0,0,0.3);
  transition: opacity 0.3s ease, transform 0.3s ease;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}
.btn-texture:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}
/* ここまで: テクスチャボタンのスタイル */

/* =========================================
   Footer
   ========================================= */
/* ここから: フッタースタイル */
.footer {
  /*background-color: #222;*/
  background-image: -webkit-linear-gradient(270deg,rgba(112,112,112,1.00) 0%,rgba(61,61,61,1.00) 100%);
  background-image: -moz-linear-gradient(270deg,rgba(112,112,112,1.00) 0%,rgba(61,61,61,1.00) 100%);
  background-image: -o-linear-gradient(270deg,rgba(112,112,112,1.00) 0%,rgba(61,61,61,1.00) 100%);
  background-image: linear-gradient(180deg,rgba(112,112,112,1.00) 0%,rgba(61,61,61,1.00) 100%);
  color: #fff;
}
.footer p {
  color: #ddd;
  font-size: 1.4rem;
}
.footer .f-bold {
  color: #fff;
  margin-bottom: 1rem;
}
.footer small {
  color: #999;
  font-size: 1.2rem;
}
/* ここまで: フッタースタイル */

/* =========================================
   Sub-page Header（スライダー無しページ用の簡易ヘッダー）
   ========================================= */
/* ここから: thanks.htmlなどサブページ用ヘッダー */
.page-header {
  position: sticky; /* 上部固定（フェードイン無し・ページ内の場所は確保したまま） */
  top: 0;
  z-index: 100;
  width: 100%;
  background-image: -webkit-linear-gradient(270deg,rgba(112,112,112,1.00) 0%,rgba(61,61,61,1.00) 100%);
  background-image: -moz-linear-gradient(270deg,rgba(112,112,112,1.00) 0%,rgba(61,61,61,1.00) 100%);
  background-image: -o-linear-gradient(270deg,rgba(112,112,112,1.00) 0%,rgba(61,61,61,1.00) 100%);
  background-image: linear-gradient(180deg,rgba(112,112,112,1.00) 0%,rgba(61,61,61,1.00) 100%);
}
.page-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.page-header-inner .hero-logo img {
  width: 25rem;
  height: auto;
}
.page-header-inner nav ul {
  display: flex;
  justify-content: flex-end;
  gap: 3rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.page-header-inner nav ul li a {
  font-family: 'Noto serif JP', serif;
  color: #fff;
  text-decoration: none;
  font-size: 1.8rem;
  font-weight: 500;
  transition: opacity 0.3s;
}
.page-header-inner nav ul li a:hover {
  opacity: 0.7;
}
/* ここまで: サブページ用ヘッダー */

/* =========================================
   Thanks（送信完了ページ）
   ========================================= */
/* ここから: thanks.html用スタイル */
.thanks-section {
  padding: 12rem 0;
  background-color: #fcfcfc;
}
.thanks-box {
  max-width: 80rem;
  margin: 4rem auto 0;
  padding: 5rem 6rem;
  background-color: #fff;
  border-radius: 0.6rem;
  box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.08);
}
.thanks-box p {
  font-size: 1.5rem;
  line-height: 2;
  margin-bottom: 2rem;
}
.thanks-box p:last-of-type {
  margin-bottom: 0;
}
.thanks-back {
  text-align: center;
  margin-top: 4rem !important;
}
/* ここまで: thanks.html用スタイル */
/* =========================================
   About us Section Modern Layout
   ========================================= */
/* ここから: About usセクションの大胆なオーバーラップスタイルの追加・修正版 */
.about-section {
  position: relative;
  overflow: hidden;
  padding: 12rem 0;
  background-color: #fcfcfc;
}

/* 背景の巨大タイポグラフィ（縁取りテキストに変更して視認性とデザイン性アップ！） */
.about-bg-text {
  position: absolute;
  top: 2rem;
  left: 2rem;
  font-size: 14rem;
  font-weight: 900;
  color: transparent; /* 文字の塗りを透明に */
  -webkit-text-stroke: 3px rgba(0, 0, 0, 0.08); /* 太めの縁取りでスタイリッシュに */
  line-height: 1;
  letter-spacing: 0.05em;
  user-select: none;
  z-index: 1;
}

/* 12カラムのCSS Gridで画像とカードの重ね合わせを制御 */
.about-container {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: center;
  position: relative;
  z-index: 2;
}

/* 画像を1〜8カラム目までに配置 */
.about-img-box {
  grid-column: 1 / 9; /* 少し幅を広げる */
  grid-row: 1; /* ★これを指定しないとブラウザによって重ならない！ */
  position: relative;
  overflow: hidden; /* ★ズームアウトがはみ出ないように追加 */
  box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.15);
}
.about-img-box img {
  width: 100%;
  height: auto;
  display: block;
  filter: grayscale(100%); /* ★100%モノクロにしてメリハリをつける */
  transform: scale(1);
  transition: filter 0.6s ease, transform 0.6s ease; /* ★アニメーション時間を調整 */
}
.about-img-box:hover img {
  filter: grayscale(0%); /* ホバーで一気にカラーへ */
  transform: scale(1.05); /* ホバーでフワッとズームする */
}

/* 会社概要カードを7〜13カラム目に配置（画像と重ねる） */
.about-content-box {
  grid-column: 7 / 13;
  grid-row: 1; /* ★画像と同じ行（row）に強制配置して確実に重ねる */
  background-color: #222222;
  color: #ffffff;
  padding: 6rem 5rem;
  box-shadow: 0 3rem 6rem rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 3; /* 画像より前面に重ねる */
  margin-top: 24rem; /* ★少し下にずらして、よりアシンメトリーな「こなれ感」を出す */
}

/* 会社概要専用のシャープなタイトルデザイン */
.about-title {
  font-size: 3.2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-left: 4px solid #fff; 
  padding-left: 1.5rem;
  line-height: 1.2;
}
.about-title span {
  display: block;
  font-size: 1.4rem;
  color: #aaa;
  margin-top: 0.5rem;
  font-weight: 400;
}

/* テーブルデザイン（変更なし） */
.table-company-modern {
  width: 100%;
  border-collapse: collapse;
}
.table-company-modern tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.table-company-modern tr:last-child {
  border-bottom: none;
}
.table-company-modern th,
.table-company-modern td {
  padding: 2rem 0;
  font-size: 1.5rem;
  vertical-align: top;
}
.table-company-modern th {
  width: 25%;
  text-align: left;
  font-weight: 600;
  color: #888;
}
.table-company-modern td {
  color: #fff;
  line-height: 1.6;
}

/* 各セクション共通のユーティリティ */
.position-relative {
  position: relative;
}
.overflow-hidden {
  overflow: hidden;
}
.z-index-2 {
  z-index: 2;
}

/* 右寄せ巨大テキスト */
.bg-text-right {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-size: 14rem;
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 3px rgba(0, 0, 0, 0.08);
  line-height: 1;
  letter-spacing: 0.05em;
  user-select: none;
  z-index: 1;
  white-space: nowrap;
}
/* 左寄せ巨大テキスト */
.bg-text-left {
  position: absolute;
  top: 2rem;
  left: 2rem;
  font-size: 14rem;
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 3px rgba(0, 0, 0, 0.08);
  line-height: 1;
  letter-spacing: 0.05em;
  user-select: none;
  z-index: 1;
  white-space: nowrap;
}

/* Accessセクションのカード */
.access-cards {
  align-items: stretch;
}
.access-card {
  background: #fff;
  padding: 3rem;
  border-radius: 0.8rem;
  box-shadow: 0 1rem 3rem rgba(0,0,0,0.05);
  border-top: 4px solid #222;
}
.access-card .mb-2 {
  margin-bottom: 2rem;
}
.access-card-map-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.6rem;
  padding: 0.8rem 1.6rem;
  font-size: 1.3rem;
  font-weight: 700;
  color: #222;
  text-decoration: none;
  border: 1px solid #222;
  border-radius: 100px;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.access-card-map-link::after {
  content: '→';
}
.access-card-map-link:hover {
  background-color: #222;
  color: #fff;
}
/* ここまで: About usセクションの大胆なオーバーラップスタイルの追加・修正版 */

/* =========================================
   Media Query 500px
   ========================================= */
/* ここから: スマホ用レイアウト調整 */
@media screen and (max-width: 500px) {
  .hero {
    height: 60vh;
  }
  .section-title {
    font-size: 2.8rem;
  }
  .footer .grid-1-1-1 {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 3rem;
  }
  .inner50pm {
    padding: 3rem 1.5rem;
  }
  /* スマホ用のボタン調整（メディアクエリ内に追記） */
  .hero-btn-wrap {
    bottom: 5%;
  }
  .hero-btn-wrap .btn-texture {
    padding: 1.2rem 3rem;
    font-size: 1.4rem;
    width: 85%;
    display: inline-block;
  }

  /* ここから（スマホ用ナビの固定時スタイル微調整を追加） */
  .hero-content {
    padding: 1rem !important; /* スクロール固定時に縦幅を抑える */
  }
  .hero-top-nav .hero-logo img {
    width: 15rem; /* ロゴを少し縮小 */
  }
  .hero-top-nav nav ul {
    gap: 1.2rem;
  }
  .hero-top-nav nav ul li a {
    font-size: 1.2rem;
  }
  /* ここまで（スマホ用ナビの固定時スタイル微調整を追加） */
  /* ここから: スマホ用サブページヘッダー・Thanksページ調整 */
  .page-header-inner {
    padding: 1rem; /* index.htmlのスマホ固定時と同じ縦幅に */
  }
  .page-header-inner .hero-logo img {
    width: 15rem;
  }
  .page-header-inner nav ul {
    gap: 1.2rem;
  }
  .page-header-inner nav ul li a {
    font-size: 1.2rem;
  }
  .thanks-section {
    padding: 6rem 0;
  }
  .thanks-box {
    padding: 3rem 2.5rem;
  }
  .thanks-box p {
    font-size: 1.4rem;
  }
  /* ここまで: スマホ用サブページヘッダー・Thanksページ調整 */
  /* ここから: スマホ用About usのレイアウト調整を追加 */
  .about-section {
    padding: 6rem 0;
  }
  .about-bg-text {
    font-size: 9rem;
    top: 1rem;
    left: 1rem;
  }
  .about-container {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 4rem 1.5rem 0; /* 上に余白を足し、背景の「ABOUT US」が覗くスペースを確保 */
  }
  /* スマホで背景タイポが画像に隠れないよう About セクションだけ位置調整 */
  .about-section .bg-text-left {
    top: 2rem;
  }
  .about-img-box {
    width: 100%;
    z-index: 2;
  }
  .about-content-box {
    width: 100%;
    padding: 4rem 2.5rem;
    margin-top: -5rem; /* 画像の下側に少し重ねて立体感を残す */
    box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.2);
  }
  .about-title {
    font-size: 2.6rem;
    margin-bottom: 2.5rem;
  }
  .table-company-modern th,
  .table-company-modern td {
    padding: 1.4rem 0;
    font-size: 1.3rem;
  }
  .table-company-modern th {
    width: 30%;
  }
  /* スマホ用の右寄せテキスト調整と1カラム化 */
  .bg-text-right {
    font-size: 6rem;
    top: 2rem;
    right: 0;
  }
    .bg-text-left {
    font-size: 6rem;
    top: 2rem;
    left: 0;
  }
  .access-cards {
    grid-template-columns: 1fr;
  }
  /* ここまで: スマホ用About usのレイアウト調整を追加 */
  /* スマホ用の質感リンク調整（中央配置） */
  .hero-texture-links-wrap {
    bottom: 5%;
  }
  .hero-texture-links {
    align-items: center; /* 中央寄せ */
    gap: 1rem;
  }
  .hero-texture-link {
    width: 90%;
    height: 6rem;
  }
  .hero-texture-link .main {
    font-size: 2.6rem;
  }
  .hero-texture-link .sub {
    font-size: 1.2rem;
    margin-top: 0.3rem;
  }
}
/* ここまで: スマホ用レイアウト調整 */