@charset "UTF-8";

/* ===================================
   Sub Page Common
=================================== */
.sub-page {
  padding-top: 0;
}

/* Page Header (FV) */
.page-header {
  position: relative;
  height: 240px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 0;
}

.page-header__bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: url('../images/bg_company.jpg');
  background-size: cover;
  background-position: center;
  z-index: -1;
}

.page-header__bg::after {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
}

.page-header__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
}

.page-header__title {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.page-header__title .en {
  font-family: var(--font-en);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  opacity: 0.9;
}

.page-header__title .ja {
  font-size: 1rem;
  font-weight: 500;
}

/* Header Scroll Styles (Overrides) */
.hdr .logo-white { display: none; }
.hdr .logo-color { display: block; }

.hdr.hdr__bg-dark {
  background-color: rgba(0, 0, 0, 0.8);
  padding: 15px 40px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: background-color 0.4s, padding 0.4s;
  color: #fff;
}

.hdr.hdr__bg-dark .logo-color { display: none; }
.hdr.hdr__bg-dark .logo-white { display: block; }

@media screen and (max-width: 768px) {
  .hdr.hdr__bg-dark { padding: 10px 20px; }
  /* スマホ時のサイズ調整 */
}

/* Breadcrumb */
.breadcrumb {
  background: #f5f5f7;
  padding: 15px 0;
}

.breadcrumb ul {
  display: flex;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--c-text-light);
}

.breadcrumb ul li:not(:last-child)::after {
  content: '>';
  margin-left: 10px;
}

/* ===================================
   Identity (Overlap Layout)
   ネガティブマージンによる重ね合わせレイアウト
=================================== */
.identity {
  width: 100%;
  overflow: hidden;
  padding: 60px 0 100px;
  background-color: #fff;
}

.identity__full-block {
  display: flex;
  align-items: flex-start; /* 上揃え（margin-topで位置調整） */
  justify-content: flex-start;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto 80px; /* 下の余白広め */
  position: relative;
}

.identity__full-block:last-child {
  margin-bottom: 0;
}

/* New Generation Project (Super Title) */
.identity__super-title {
  font-family: var(--font-en);
  font-size: 8rem; /* 5rem -> 8rem に拡大 */
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1;
  margin-bottom: -0.5em;
  opacity: 1;
  text-transform: uppercase;
  color: var(--c-primary);
  display: block;
	text-align: center;
	position: relative;
	z-index: 2;
}

/* 画像エリア */
.identity__full-img {
  width: 55%; /* 画面の半分より少し大きく */
  height: 700px; /* 高さを出して縦長を強調 */
  position: relative;
  z-index: 1;
  overflow: hidden;
  box-shadow: 20px 20px 60px rgba(0,0,0,0.15); 
}

.identity__full-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.5s ease;
  display: block;
}

.identity__full-block:hover .identity__full-img img {
  transform: scale(1.05);
}

/* テキストエリア */
.identity__full-content {
  width: 55%;
  position: relative;
  z-index: 2;
  background: #fff; /* 白背景で画像を隠す */
  padding: 80px 60px;
  box-shadow: -10px 10px 40px rgba(0,0,0,0.05);
  
  /* 上下の位置差を作るためのマージン */
  margin-top: 120px; /* 画像の上端から200px下げる */
}

/* --- 配置調整 (Left: Image, Right: Text) --- */
/* ORIGIN */
.identity__full-block.origin .identity__full-content {
  margin-left: -10%; /* 画像に10%重ねる（ネガティブマージン） */
}

/* --- 配置調整 (Right: Image, Left: Text) --- */
/* PHILOSOPHY */
.identity__full-block.reverse {
  flex-direction: row-reverse;
}

.identity__full-block.reverse .identity__full-content {
  margin-left: 0;
  margin-right: -10%; /* 画像に10%重ねる */
}

/* テキストコンテンツの中身 */
.content-inner {
  width: 100%;
}

.identity__label {
  font-family: var(--font-en);
  font-weight: 700;
  color: var(--c-primary);
  letter-spacing: 0.2em;
  margin-bottom: 25px;
  position: relative;
  display: inline-block;
  padding-left: 50px;
}

.identity__label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 1px;
  background: var(--c-primary);
}

.identity__head {
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1.4;
  margin-bottom: 40px;
  letter-spacing: 0.05em;
  color: var(--c-text);
}

.identity__text {
  font-size: 1rem;
  line-height: 2.2;
  color: var(--c-text);
  text-align: justify;
}


/* ===================================
   Values (Circle Layout)
=================================== */
.values__list.circle-layout {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.values__item {
  width: 300px;
  height: 300px;
  border-radius: 50%; /* まん丸 */
  background: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid rgba(0,0,0,0.02);
}

.values__item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(245, 166, 35, 0.15);
  border-color: var(--c-primary);
}

.values__inner {
  width: 100%;
}

.values__num {
  font-family: var(--font-en);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--c-primary);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 5px;
}

.values__title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 10px;
	line-height: 1.2;
}

.values__title .en {
  display: block;
  font-size: 1.6rem;
  color: var(--c-primary);
  font-family: var(--font-en);
  margin-top: 2px;
}

.values__desc {
  font-size: 0.85rem;
  line-height: 1.6;
}

/* ===================================
   Numbers (Wide Dynamic Layout)
=================================== */
.numbers {
  background: linear-gradient(135deg, var(--c-bg-dark) 0%, #222 100%);
  color: #fff;
  padding: 100px 0;
  overflow: hidden;
  position: relative;
}

#particles-js-numbers {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.container-wide {
  width: 95%; /* 指示通り95% */
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.numbers__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.numbers__item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 60px 20px;
  text-align: center;
  transition: transform 0.3s, border-color 0.3s, background 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.numbers__item:hover {
  transform: scale(1.02);
  border-color: var(--c-primary);
  background: rgba(255, 255, 255, 0.08);
}

.numbers__label {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
  color: var(--c-primary);
}

.numbers__value {
  font-family: var(--font-en);
  font-size: 5rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 20px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 5px;
}

.numbers__value .unit {
  font-size: 1.6rem;
  font-weight: 500;
  color: #aaa;
}

.numbers__desc {
  font-size: 1rem;
  line-height: 1.6;
  color: #ccc;
  max-width: 240px;
}

/* Gender Text Style (Text Only) */
.numbers__gender-text {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
}
.gender-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.gender-item .g-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: #aaa;
  margin-bottom: 5px;
  font-family: var(--font-en);
}
.gender-item .g-val {
  font-family: var(--font-en);
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1;
}
.gender-item.male .g-val { color: #35A1D0; }
.gender-item.female .g-val { color: #E41D60; }
.gender-divider {
  font-size: 2rem;
  color: rgba(255,255,255,0.2);
  font-weight: 300;
}


/* ===================================
   History
=================================== */
.history__timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  padding-left: 40px;
}

.history__timeline::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 1px; height: 100%;
  background: #ddd;
}

.history__row {
  margin-bottom: 50px;
  position: relative;
}
.history__row:last-child { margin-bottom: 0; }

.history__row dt {
  font-family: var(--font-en);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--c-primary);
  margin-bottom: 10px;
  position: relative;
}

.history__row dt::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -45px; 
  transform: translateY(-50%);
  width: 11px; height: 11px;
  background: #fff;
  border: 2px solid var(--c-primary);
  border-radius: 50%;
  z-index: 1;
}

.history__row.highlight dt::before {
  background: var(--c-primary);
}

.history__row dd {
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}
.history__row:last-child dd { border-bottom: none; }

.history__head {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.history__row.highlight .history__head {
  font-size: 1.5rem;
  color: var(--c-primary);
}
.history__row p {
  font-size: 0.95rem;
  color: var(--c-text-light);
}

.top-recruit {
	padding: 0;
	background-color: var(--c-bg-gray);
}

/* ===================================
   Outline (Table)
=================================== */
.outline__table-wrap {
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.outline__table { width: 100%; border-collapse: collapse; }
.outline__table th, .outline__table td {
  padding: 20px;
  border-bottom: 1px solid #eee;
  text-align: left;
  vertical-align: top;
}
.outline__table tr:last-child th, .outline__table tr:last-child td { border-bottom: none; }
.outline__table th { width: 25%; font-weight: 700; color: var(--c-text); }
.outline__table td { color: var(--c-text-light); }

.office-block { margin-bottom: 15px; }
.office-block:last-child { margin-bottom: 0; }
.office-name { font-weight: 700; color: var(--c-text); margin-bottom: 5px; }
.outline__list li { margin-bottom: 0.5em; }

/* ===================================
   Related Links (Split Layout)
=================================== */
.related-links {
  display: flex;
  width: 100%;
  height: 300px;
}

.related-link {
  width: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
}

.related-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
  z-index: 1;
}

/* 左側：メンバー */
.related-link.item-members .related-bg {
  background-image: url('../images/members_thum.jpg');
  filter: brightness(0.5);
}

/* 右側：サービス */
.related-link.item-service .related-bg {
  background-image: url('../images/service_thum.jpg');
  filter: brightness(0.5);
}

.related-link:hover .related-bg {
  transform: scale(1.1);
  filter: brightness(0.7);
}

.related-content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.related-content .en {
  font-family: var(--font-en);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.related-content .ja {
  font-size: 1rem;
  font-weight: 500;
}

.related-content .arrow {
  margin-top: 15px;
  font-size: 1.5rem;
  transition: transform 0.3s;
}

.related-link:hover .arrow {
  transform: translateX(10px);
}

/* ===================================
   Responsive
=================================== */
@media screen and (max-width: 1024px) {
  /* Identity */
  .identity__full-block, .identity__full-block.reverse {
    flex-direction: column;
    margin-bottom: 80px;
  }
  .identity__full-img {
    width: 100%;
    height: 400px;
    box-shadow: none;
  }
  
  /* テキストエリアを画像に少し被せる（スマホ時は下から上に） */
  .identity__full-content {
    width: 90%; /* 幅広め */
    margin: -60px auto 0 !important; /* 上に被せる */
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  }
  
  /* タイトルサイズ調整 */
  .identity__head {
    font-size: 2rem;
  }

  /* Values */
  .values__item { width: 220px; height: 220px; }
  .values__num { font-size: 2rem; }
  .values__title { font-size: 3rem; }
  .values__desc { font-size: 0.8rem; }

  /* Numbers */
  .numbers__grid { grid-template-columns: repeat(2, 1fr); }
}

@media screen and (max-width: 768px) {
  .page-header { height: 240px; }
  .page-header__title .en { font-size: 2.5rem; }
  
  /* Identity (SP) */
	.identity__super-title { font-size: 3.5rem; }
  .identity__full-img { height: 300px; }
  .identity__full-content {
    width: 95%;
    padding: 30px 20px;
    margin-top: -80px !important;
  }
  .identity__head { font-size: 1.8rem; margin-bottom: 20px; }
  
  /* Values: スマホ時は横幅いっぱいのカード型に */
  .values__list.circle-layout {
    flex-direction: column;
    gap: 20px;
  }
  .values__item {
    width: 100%;
    height: auto; /* 高さはなりゆき */
    aspect-ratio: unset; /* 円形比率を解除 */
    border-radius: 8px; /* 角丸四角 */
    padding: 30px 20px;
  }
  .values__num { font-size: 2rem; margin-bottom: 10px; }
  .values__title { font-size: 3rem; margin-bottom: 10px; }
  .values__desc { font-size: 0.9rem; line-height: 1.6; }
  
  /* Numbers */
  .numbers__grid { grid-template-columns: 1fr; }
  
  /* Related Links */
  .related-links { flex-direction: column; height: auto; }
  .related-link { width: 100%; height: 200px; }
  
  /* Outline */
  .outline__table-wrap { padding: 20px; }
  .outline__table th, .outline__table td {
    display: block;
    width: 100%;
    padding: 10px 0;
  }
  .outline__table th { border-bottom: none; padding-bottom: 0; }
}