@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@400;700&display=swap");
/* ベーススタイル */
body {
  font-family: "YuGothic", "游ゴシック", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  margin: 0;
  padding: 0;
  font-size: 20px;
  letter-spacing: 0.7px;
  line-height: 2;
}

.section {
  margin-top: 160px;
  margin-bottom: 160px;
}

/* ローディング画面のスタイル */
#loading {
  /* 全画面表示 */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  /* 中央揃え */
  display: flex;
  justify-content: center;
  align-items: center;
  /* 背景色 */
  background-image: radial-gradient(#E60019, #BD0015);
  /* フェードアウト用の設定 */
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

/* アニメーションコンテナのサイズ */
#lottie-animation {
  width: 300px;
  height: 300px;
}

/* 非表示にするためのクラス */
#loading.hidden {
  opacity: 0;
  visibility: hidden;
}

/* フェードアップアニメーションの初期状態 */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.5s ease, transform 1.5s ease;
}

/* フェードアップアニメーションの最終状態 */
.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* KVのアニメーション開始前の状態 */
/* LottieアニメーションはCSSではなくLottieで制御するため除外 */
.kv-pc .logo25th.is-visible,
.kv-pc .scroll.is-visible,
.kv-sp img[src$="25th-logo.svg"].is-visible,
.kv-sp .scroll.is-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* アニメーション後の状態 (is-visibleクラスが付与されたとき) */
/* LottieアニメーションはCSSではなくLottieで制御するため除外 */
.kv-pc .logo25th.is-visible,
.kv-pc .scroll.is-visible,
.kv-sp img[src$="25th-logo.svg"].is-visible,
.kv-sp .scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

h1 {
  margin: 0;
}

h3 {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #E60019;
  margin: 0;
  font-family: 'Noto Serif JP', serif;
}

/* ヘッダー */
.header {
  width: 100%;
  padding: 16px;
  box-sizing: border-box;
  position: fixed;
  /* ヘッダーを固定する */
  top: 0;
  /* 画面の上部に配置 */
  left: 0;
  /* 画面の左端に配置 */
  z-index: 1000;
  /* 他の要素の上に表示させる */
  background-color: #fff;
  /* 背景色を設定して下にあるコンテンツが透けないようにする */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  /* 視認性向上のための影 */
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1920px;
  margin: 0 auto;
}

.header-logo img {
  height: 30px;
  transition: 0.3s;
}

.header-logo img:hover {
  opacity: 0.7;
}

/* PC用ナビゲーション */
.header-nav-pc {
  display: block;
}

.nav-list {
  display: flex;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 20px;
}

.nav-item {
  /* 親要素にflexboxを設定 */
  display: flex;
  /* 子要素を垂直方向の中央に配置 */
  align-items: center;
}

.nav-item a {
  text-decoration: none;
  color: #241714;
  font-size: 16px;
  font-weight: bold;
  white-space: nowrap;
  transition: 0.3s;
}

.nav-item a:hover {
  color: #E60019;
}

/* SP用ハンバーガーメニュー */
.header-nav-sp {
  display: none;
  position: relative;
  z-index: 101;
}

.btn-trigger {
  position: relative;
  width: 30px;
  height: 30px;
  cursor: pointer;
  z-index: 101;
}

.btn-trigger span {
  display: block;
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: #333;
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.btn-trigger span:nth-of-type(1) {
  top: 5px;
}

.btn-trigger span:nth-of-type(2) {
  top: 50%;
  transform: translateY(-50%);
}

.btn-trigger span:nth-of-type(3) {
  bottom: 5px;
}

.btn-trigger.active span:nth-of-type(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  background-color: #fff;
}

.btn-trigger.active span:nth-of-type(2) {
  opacity: 0;
}

.btn-trigger.active span:nth-of-type(3) {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
  background-color: #fff;
}

.sp-nav-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100vh;
  /* 画像に合わせた背景色に変更 */
  background-color: #E60019;
  transition: all 0.3s;
  z-index: 100;
  /* Flexboxでコンテンツを中央揃えにする */
  display: flex;
  justify-content: center;
  align-items: center;
}

.sp-nav-menu.active {
  left: 0;
}

.sp-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  /* 横幅いっぱいに広げる */
  width: 100%;
}

.sp-nav-list .nav-item a {
  display: block;
  width: 100%;
  padding: 20px;
  text-decoration: none;
  /* 文字色を白に変更 */
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  /* 区切り線を白に変更 */
  border-bottom: 1px solid #fff;
  /* 文字を中央揃えに */
  text-align: center;
}

/* 最後のメニュー項目の下の線は不要なため消す */
.sp-nav-list .nav-item:last-child a {
  border-bottom: none;
}

/* KV */
.kv {
  background-image: radial-gradient(#FCFCFC, #C8C8C8);
}

.kv-pc {
  display: flex;
  flex-direction: column;
  gap: 40px;
  justify-content: center;
  align-items: center;
  padding-top: 200px;
  padding-bottom: 96px;
  padding-left: 64px;
  padding-right: 64px;
}

.kv-sp {
  display: none;
}

.kv25th {
  width: 50%;
}

.logo25th {
  width: 60%;
}

/* スクロールの線とテキストをまとめるコンテナ */
.scroll {
  margin-top: 24px;
  text-align: center;
  color: #241714;
  /* writing-mode: vertical-rl; を削除 */
  /* Flexboxで中身を中央に配置 */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* 線のアニメーション部分 */
.scroll::before {
  animation: scroll 2s infinite;
  background-color: #241714;
  content: "";
  height: 70px;
  width: 1px;
}

/* SCROLLテキストのスタイル */
.scroll span {
  margin-top: 8px;
  font-size: 16px;
}

/* 線のアニメーション */
@keyframes scroll {
  0% {
    transform: scale(1, 0);
    transform-origin: 0 0;
  }
  50% {
    transform: scale(1, 1);
    transform-origin: 0 0;
  }
  51% {
    transform: scale(1, 1);
    transform-origin: 0 100%;
  }
  100% {
    transform: scale(1, 0);
    transform-origin: 0 100%;
  }
}

/* 社史へ */
.content-section {
  width: 100%;
  padding: 120px 20px;
  background-color: #fcfcfc;
  box-sizing: border-box;
}

.content-inner {
  margin: 0 auto;
  text-align: center;
}

.title {
  font-size: 44px;
  text-align: center;
  font-weight: bold;
  line-height: 1.6;
  margin: 0 0 20px;
  font-family: 'Noto Serif JP', serif;
}

.red-line {
  width: 160px;
  height: 2px;
  background-color: #e4002b;
  margin: 0 auto 40px;
}

.description {
  color: #555;
  text-align: center;
  margin: 0 0 40px;
  font-family: 'Noto Serif JP', serif;
}

.btn-link a {
  display: block;
  color: #fff;
  text-decoration: none;
  font-family: "YuGothic", "游ゴシック", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 16px;
}

.btn-link {
  width: 400px;
  height: 72px;
  background-color: #241714;
  line-height: 72px;
  text-align: center;
  margin: 0 auto;
  transition: 0.3s;
}

.btn-link:hover {
  background-color: #E60019;
}

.btn-link .arrow {
  position: relative;
  left: 50px;
  text-align: 72px;
  font-size: 11px;
}

/* ご挨拶 */
.greeting-section {
  width: 100%;
  background-image: radial-gradient(#E60019, #BD0015);
  padding: 120px 0;
  color: #fff;
  margin-bottom: 120px;
}

.greeting-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  padding: 0 20px;
}

/* テキストコンテンツのスタイル */
.text-content {
  padding: 0 80px;
  width: 700px;
}

.white-line {
  width: 160px;
  height: 2px;
  background-color: #fff;
  margin: 0 auto 40px;
}

.subtitle {
  text-align: center;
  margin: 0 0 40px;
  font-family: 'Noto Serif JP', serif;
}

.btn-link-white a {
  display: block;
  color: #E60019;
  font-size: 16px;
  text-decoration: none;
  transition: 0.3s;
}

.btn-link-white {
  width: 400px;
  height: 72px;
  background-color: #fff;
  /* こちらを残す */
  line-height: 72px;
  text-align: center;
  margin: 0 auto;
}

.btn-link-white a:hover {
  background-color: #241714;
  color: #fff;
}

.btn-link-white .arrow {
  position: relative;
  left: 50px;
  text-align: 72px;
  font-size: 11px;
}

/* 画像コンテナのスタイル */
.image-container {
  overflow: hidden;
  /* アニメーションのための必須プロパティ */
}

.image-container img {
  display: block;
  max-width: 100%;
  height: auto;
  transition: transform 0.7s ease-out;
  /* アニメーション用 */
  transform: translateX(100%);
  /* 初期位置（画面外） */
}

/* JavaScriptで追加するクラス */
.image-container.is-visible img {
  transform: translateX(0);
  /* スライドイン後の位置 */
}

/* 施策 */
.info-section {
  box-sizing: border-box;
}

.info-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: 16px;
}

.info-container p {
  text-align: left;
  font-family: 'Noto Serif JP', serif;
}

/* 各情報ブロックのスタイル */
.info-block {
  background: #E60019;
  display: flex;
  padding: 20px;
  box-sizing: border-box;
}

.info-block p {
  color: #fff;
}

.main-block {
  height: 300px;
  /* 大ブロックの高さは調整可能 */
}

.sub-blocks {
  display: flex;
  gap: 20px;
}

/* 画像コンテナのスタイル */
.image-box {
  background-color: #C8C8C8;
  /* グレーの背景 */
  position: relative;
  overflow: hidden;
}

.image-box {
  width: 50%;
}

.sub-block .image-box {
  width: 150px;
  /* 小ブロックの画像の幅 */
}

/* テキストコンテナのスタイル */
.text-box {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 20px;
}

.description {
  color: #333;
  margin-bottom: 20px;
}

.button-mini {
  font-size: 16px;
  width: 100%;
}

.button-img img {
  position: relative;
  left: 90px;
  text-align: 72px;
  width: 11px;
}

.btn-link-white a:hover img {
  filter: brightness(0) invert(1);
}

/* コンセプト */
.concept-section {
  width: 100%;
  background-image: radial-gradient(#FCFCFC, #C8C8C8);
  padding: 120px 0;
  color: #241714;
}

.concept-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  padding: 0 20px;
}

.company-section {
  width: 100%;
  padding: 120px 20px;
  background-color: #fcfcfc;
  box-sizing: border-box;
  font-family: 'Noto Serif JP', serif;
}

.company-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

/* タブのコンテナ */
.tab {
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

/* タブメニュー全体のスタイル */
.tab-menu {
  width: 900px;
  margin: 0 auto;
  padding-bottom: 32px;
}

.tab-menu__list {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  border-bottom: 2px solid #ccc;
  position: relative;
}

.tab-menu__list a {
  cursor: pointer;
}

/* タブアイテムのスタイル */
.tab-menu__list--item {
  position: relative;
  flex: 1;
  text-align: center;
}

/* アクティブなタブのスタイル */
.tab-menu__list--item.active .tab--link {
  color: #e4002b;
  font-weight: bold;
}

.tab-menu__list--item.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #e4002b;
}

/* タブ内のリンク */
.tab--link {
  display: block;
  padding: 10px 0;
  text-decoration: none;
  color: #888;
  font-size: 14px;
  white-space: nowrap;
}

/* タブコンテンツの基本スタイル */
.tab-content {
  border: 1px solid #ccc;
  padding: 0;
  text-align: left;
  font-size: 16px;
}

.tab-content__item {
  display: none;
}

.tab-content__item.active {
  display: block;
}

/* 表のスタイル */
.table-responsive {
  width: 100%;
  border-collapse: collapse;
}

/* 奇数行に背景色を適用 */
.table-responsive.is-striped tr:nth-child(odd) {
  background-color: #fcfcfc;
}

/* 偶数行に背景色を適用 */
.table-responsive.is-striped tr:nth-child(even) {
  background-color: #f0f0f0;
}

.table-responsive th,
.table-responsive td {
  padding: 20px;
  vertical-align: top;
}

.table-responsive th {
  position: relative;
  font-weight: normal;
  display: flex;
  gap: 8px;
}

.table-responsive th a {
  text-decoration: none;
  color: #241714;
  transition: color 0.3s;
}

.table-responsive th a:hover {
  color: #E60019;
}

.table-responsive td {
  width: 65%;
  /* PC版の幅調整 */
}

/* 表内のテキストスタイル */
.table-responsive p {
  margin: 0;
  line-height: 1.5;
}

footer {
  background-image: radial-gradient(#E60019, #BD0015);
  padding: 20px;
  text-align: center;
}

.footer-container {
  margin: 0 auto;
}

.copyright {
  color: #fff;
  font-size: 12px;
  margin: 0;
}

/* トップに戻るボタンのスタイル */
.to-top-btn {
  position: relative;
  width: 72px;
  height: 72px;
  background-color: #e60019;
  border: none;
  cursor: pointer;
  z-index: 1000;
  transition: opacity 0.3s ease;
  padding: 0;
  /* 矢印を中央揃えにするためのFlexbox設定 */
  display: flex;
  justify-content: center;
  align-items: center;
}

.to-top-btn:hover {
  opacity: 0.8;
}

/* ボタン内の画像スタイル */
.to-top-btn img {
  display: block;
  width: 24px;
  height: 24px;
}

/* ボタンのラッパー */
.totop {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: flex-end;
  /* 右寄せ */
  align-items: center;
  /* 垂直方向の中央揃え */
  margin-top: 80px;
  /* 必要に応じて調整 */
}

/* レスポンシブ対応 */
@media (max-width: 1120px) {
  .header-nav-pc {
    display: none;
  }
  .header-nav-sp {
    display: block;
  }
  .sp-nav-list {
    padding-left: 16px;
    padding-right: 16px;
  }
  h3 {
    font-size: 18px;
  }
  .section {
    margin-top: 128px;
  }
  .kv-pc {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-top: 160px;
    padding-bottom: 64px;
  }
  .scroll span {
    font-size: 14px;
  }
  .info-block {
    flex-direction: column;
  }
  .main-block {
    height: auto;
  }
  .image-box {
    width: 100% !important;
    height: 200px;
    /* モバイルでの画像の高さ */
    margin-bottom: 20px;
  }
  .sub-blocks {
    flex-direction: column;
  }
  .text-box {
    padding: 0;
  }
  .button-mini {
    width: 400px;
    font-size: 16px;
  }
  .tab-menu {
    width: 100%;
  }
}

@media (max-width: 900px) {
  .kv-pc img {
    width: 90%;
  }
  .greeting-section {
    padding: 0px;
  }
  .greeting-container {
    flex-direction: column;
    text-align: center;
    padding: 100px 16px;
  }
  .greeting-container img {
    width: 80%;
    margin: 0 auto;
  }
  .text-content {
    padding: 0px;
    margin-bottom: 40px;
    width: 100%;
  }
  .image-container img {
    transform: none;
    /* モバイルではアニメーションを無効にする */
  }
  .concept-section {
    padding: 0px;
  }
  .concept-container {
    flex-direction: column;
    text-align: center;
    padding: 100px 16px;
  }
  .concept-container img {
    width: 80%;
    margin: 0 auto;
  }
  .concept-container p {
    margin: 0;
  }
  .tab-menu {
    width: 100%;
  }
  .table-responsive tr {
    display: flex;
    flex-direction: column;
  }
  .table-responsive th {
    padding-bottom: 0;
    order: 1;
    /* 名前を一番上に配置 */
  }
  .table-responsive td {
    padding-top: 5px;
    order: 2;
    /* 住所等を下に配置 */
    width: 90%;
  }
  .table-responsive th, .table-responsive td {
    padding-left: 16px;
    border-bottom: none;
    vertical-align: top;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 16px;
  }
  .header-logo img {
    width: 90%;
  }
  .section {
    margin-bottom: 80px;
    padding-left: 16px;
    padding-right: 16px;
  }
  .btn-trigger {
    width: 24px;
    height: 24px;
  }
  .button-img img {
    left: 60px;
  }
  .kv-pc {
    display: none;
  }
  .sloganlogo-sp {
    margin-top: 120px;
  }
  .logo25th-sp {
    margin-bottom: 120px;
  }
  .kv-sp {
    display: block;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-top: 160px;
    padding-bottom: 24px;
  }
  .scroll span {
    font-size: 11px;
  }
  .greeting-container img {
    width: 100%;
    margin: 0 auto;
  }
  .content-section {
    width: 100%;
    padding: 100px 16px;
  }
  .company-section {
    padding: 100px 16px;
  }
  .title {
    font-size: 20px;
  }
  .btn-link {
    width: 100%;
  }
  /* モバイル版のボタン */
  .btn-link-white {
    width: 100%;
    text-align: center;
  }
  .info-section {
    max-width: 600px;
    margin: 0 auto;
  }
  .concept-container img {
    width: 100%;
    margin: 0 auto;
  }
  .title {
    font-size: 20px;
  }
  .btn-link {
    width: 100%;
  }
  .footer {
    padding: 15px;
    /* パディングを少し減らす */
  }
  .copyright {
    font-size: 12px;
  }
  .to-top-btn {
    width: 48px;
    height: 48px;
  }
  .to-top-btn img {
    width: 18px;
    height: 18px;
  }
  .totop {
    margin-top: 40px;
    /* 必要に応じて調整 */
    padding: 0;
  }
}
/*# sourceMappingURL=index-style.css.map */