/* Infinet Inc. — Corporate Website */
:root {
  --bg: #ffffff;
  --panel: #f8f9fa;
  --panel2: #f1f3f5;
  --text: #1a1a1a;
  --muted: #6c757d;
  --line: rgba(0, 0, 0, .10);
  --accent: #d32f2f;
  --accent-hover: #b71c1c;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html,
body {
  overflow-x: hidden;
  width: 100%;
  margin: 0;
  padding: 0;
}

body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  position: relative;
  min-width: 320px;
  max-width: 100vw;
}

a {
  color: var(--text);
  text-decoration: none
}

a:hover {
  text-decoration: underline
}

.container {
  max-width: 1100px;
  padding: 0 20px;
  margin: 0 auto;
  width: 100%;
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1100;
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 12px rgba(0, 0, 0, .08);
  transition: all 0.3s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.5) !important;
  backdrop-filter: blur(15px) !important;
  border-bottom-color: rgba(0, 0, 0, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0;
  gap: 14px;
}

.header-inner .brand {
  margin-right: auto;
}

.header-inner .lang-toggle {
  order: 1;
}

.header-inner .hamburger {
  order: 2;
}

.header-inner .nav {
  order: 3;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  padding: 8px 0;
  overflow: hidden;
  background: transparent;
}

.brand-mark .logo-full {
  display: block;
  height: 100%;
  width: auto;
  object-fit: contain;
  max-height: 80px;
}

@media (max-width: 768px) {
  .brand-mark {
    height: 60px;
  }
  
  .brand-mark .logo-full {
    max-height: 60px;
  }
}

.nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav a {
  opacity: .9;
  font-size: 14px;
}

.nav a:hover {
  opacity: 1;
}

/* ハンバーガーボタン */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 2500;
  position: relative;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s ease;
  border-radius: 2px;
}

.hamburger.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.is-active span:nth-child(2) {
  opacity: 0;
}

.hamburger.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* メニューオーバーレイ */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 280px;
  width: calc(100% - 280px);
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 1500;
  pointer-events: none;
}

.menu-overlay.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* 言語切り替えボタン */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 10px;
  cursor: pointer;
  color: var(--text);
  font-size: 13px;
}

.lang-option {
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.2s;
}

.lang-option.active {
  opacity: 1;
  font-weight: 700;
}

.lang-option:hover {
  opacity: 0.8;
}

.lang-divider {
  opacity: 0.3;
}

/* デスクトップ：言語切り替えはメニューの左 */
@media (min-width: 769px) {
  .header-inner .lang-toggle {
    order: 1;
  }
  
  .header-inner .nav {
    order: 2;
  }
  
  .header-inner .hamburger {
    display: none;
  }
}

/* モバイル用ドロワー */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  
  /* モバイル：言語切り替えはハンバーガーの隣 */
  .lang-toggle {
    display: flex;
  }
  
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: linear-gradient(180deg, #ffffff, #f8f9fa);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 80px 0 30px;
    transition: right 0.3s ease;
    z-index: 2000;
    overflow-y: auto;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
  }
  
  .nav.is-open {
    right: 0;
  }
  
  .nav a {
    width: 100%;
    padding: 16px 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 15px;
    opacity: 1;
    color: var(--text);
  }
  
  .nav a:hover {
    background: rgba(211, 47, 47, 0.05);
    color: var(--accent);
  }
  
  .nav .btn {
    background: transparent;
    border: 1px solid var(--accent);
    border-radius: 0;
    color: var(--accent);
    text-align: left;
    justify-content: flex-start;
  }
  
  .nav .btn:hover {
    background: var(--accent);
    color: #ffffff;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border: 1px solid var(--accent);
  border-radius: 12px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.btn:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  text-decoration: none
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border-color: #ffffff;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.3);
  color: #ffffff;
  border-color: #ffffff;
}

.btn-small {
  padding: 9px 12px;
  border-radius: 10px
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('../assets/images/IMG_FUJI_HOTTARAKASHI.jpg') no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  padding: 80px 0 40px;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
}

.kicker {
  margin: 0 0 10px;
  letter-spacing: .22em;
  font-size: 12px;
  opacity: .9;
  color: #ffffff;
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

h1 {
  margin: 0;
  font-size: 48px;
  line-height: 1.2;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.lead {
  margin: 14px auto 18px;
  color: #ffffff;
  font-size: 16px;
  max-width: 700px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.micro {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px
}

.section {
  padding: 44px 0
}

.section-alt {
  background: var(--panel);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line)
}

h2 {
  margin: 0 0 10px;
  font-size: 28px
}

.section-lead {
  margin: 0 0 18px;
  color: var(--muted)
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px
}

.card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #ffffff;
  padding: 18px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, .1);
}

.card-media {
  margin: -18px -18px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}

.card-media img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
  filter: saturate(.95) contrast(1.05);
}

.card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  color: var(--text);
}

.card p {
  margin: 0 0 12px;
  color: var(--muted)
}

.split {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 14px;
  align-items: start
}

.panel {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #ffffff;
  padding: 18px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .05);
}

.contact-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 14px;
  align-items: start
}

.tiny {
  font-size: 12px
}

.muted {
  color: var(--muted)
}

.contact-item {
  margin: 0 0 10px
}

.contact-item span {
  display: inline-flex;
  align-items: center;
  width: 30px;
  color: var(--accent);
  font-size: 18px;
}

.form label {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin: 12px 0 0
}

input,
textarea {
  width: 100%;
  margin-top: 6px;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--text);
  outline: none;
}

input:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(211, 47, 47, .1);
}

.form .btn {
  width: 100%;
  margin-top: 14px
}

.site-footer {
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.footer-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo {
  height: 50px;
  width: auto;
  opacity: .9;
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr
  }

  h1 {
    font-size: 36px
  }

  .grid-3 {
    grid-template-columns: 1fr
  }

  .split {
    grid-template-columns: 1fr
  }

  .contact-grid {
    grid-template-columns: 1fr
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 28px
  }

  h2 {
    font-size: 22px
  }

  .card h3 {
    font-size: 16px
  }
}

/* コーポレートサイト用追加スタイル */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--accent);
  color: #ffffff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(0.8);
  transition: all 0.3s ease;
  z-index: 10000;
  box-shadow: 0 4px 15px rgba(211, 47, 47, 0.3);
}

.scroll-to-top:hover {
  transform: scale(0.95);
  box-shadow: 0 6px 20px rgba(211, 47, 47, 0.4);
  background: var(--accent-hover);
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: scale(1);
}

@media (max-width: 600px) {
  .scroll-to-top {
    bottom: 20px;
    right: 20px;
    width: 54px;
    height: 54px;
    font-size: 26px;
  }
}

/* コーポレートサイト追加スタイル */

/* ビジョンセクション（スクロールアニメーション） */
.section-vision {
  height: 100vh;
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
  overflow: hidden;
}

.section-vision.locked {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background: #ffffff; /* 下のセクションが透けないように */
}

.vision-spacer {
  height: 300vh; /* スクロール範囲を確保 */
  position: relative;
}

.vision-content {
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1500px; /* 3D効果のための視点 */
}

.vision-keywords {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d; /* 3D空間を保持 */
}

.keyword {
  position: absolute;
  font-size: 60px;
  font-weight: 800;
  color: var(--text);
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  transition: none;
  /* 初期状態: 手前から回転してくる（JavaScriptで個別に設定） */
  transform: translateZ(800px) rotateX(-60deg) rotateY(-90deg) scale(3);
  transform-style: preserve-3d;
}

.keyword.active {
  display: block;
}

.vision-message {
  max-width: 800px;
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  transition: none; /* JavaScriptで制御するためtransitionを無効化 */
}

.vision-message.show {
  /* JavaScriptで直接opacityとtransformを制御 */
}

.vision-final-image {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  padding: 0 20px 20px;
  opacity: 0;
  transform: translateY(100px) scale(0.85);
  transition: none;
}

.vision-final-image img {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  height: auto;
  display: block;
}

.vision-message h3 {
  font-size: 36px;
  line-height: 1.5;
  margin: 0 0 30px;
  color: var(--accent);
  font-weight: 800;
}

.vision-message p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 20px;
  text-align: left;
}

@media (max-width: 768px) {
  .vision-spacer {
    height: 300vh; /* モバイルも同じ高さ */
  }

  .vision-content {
    perspective: 1000px; /* モバイルは少し控えめに */
  }

  .keyword {
    font-size: 36px;
  }

  .vision-message h3 {
    font-size: 24px;
  }

  .vision-message p {
    font-size: 14px;
  }
}

/* 会社情報テーブル（横長バージョン） */
.company-info-wide {
  max-width: 100%;
  margin: 0 auto;
}

.info-table-wide {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .05);
}

.info-table-wide tr {
  border-bottom: 1px solid var(--line);
}

.info-table-wide tr:last-child {
  border-bottom: none;
}

.info-table-wide th,
.info-table-wide td {
  padding: 12px 16px;
  text-align: left;
}

.info-table-wide th {
  background: var(--panel);
  font-weight: 600;
  color: var(--text);
  width: 15%;
  white-space: nowrap;
  font-size: 14px;
}

.info-table-wide td {
  color: var(--text);
  font-size: 14px;
  width: 35%;
}

.info-table-wide td.no-wrap {
  white-space: nowrap;
}

@media (max-width: 768px) {
  .info-table-wide {
    font-size: 13px;
  }

  .info-table-wide th,
  .info-table-wide td {
    padding: 10px 12px;
    font-size: 13px;
  }

  .info-table-wide th {
    width: 20%;
  }

  .info-table-wide td {
    width: 30%;
  }
}

@media (max-width: 480px) {
  .info-table-wide th,
  .info-table-wide td {
    padding: 8px 10px;
    font-size: 12px;
  }
}

/* ページヘッダー */
.page-header {
  padding: 120px 0 60px;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
}

.page-header h1 {
  font-size: 36px;
  margin: 0;
  color: var(--text);
  text-align: center;
}

/* プロフィールセクション（コンパクト版） */
.profile-section-compact {
  max-width: 100%;
}

.profile-header {
  margin-bottom: 30px;
}

.profile-section-compact h3 {
  font-size: 24px;
  margin: 0 0 8px;
  color: var(--text);
}

.profile-education {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

.profile-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  align-items: start;
}

.profile-summary p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 12px;
}

.profile-summary p:last-child {
  margin-bottom: 0;
}

.career-box {
  background: var(--panel);
  padding: 20px;
  border-radius: 12px;
}

.career-box h4 {
  font-size: 16px;
  margin: 0 0 12px;
  color: var(--text);
}

.career-list-compact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.career-list-compact li {
  padding: 6px 0;
  color: var(--text);
  font-size: 13px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.career-list-compact li:last-child {
  border-bottom: none;
}

.career-list-compact .year {
  display: inline-block;
  min-width: 45px;
  color: var(--accent);
  font-weight: 600;
  margin-right: 8px;
}

.career-more {
  color: var(--muted);
  font-style: italic;
  padding-top: 8px !important;
}

@media (max-width: 768px) {
  .profile-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .profile-summary p {
    font-size: 13px;
    margin-bottom: 10px;
  }
}

/* 沿革（モダンタイムライン） */
.history-modern {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

.history-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 60px;
  padding: 40px 0;
}

.history-track::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--accent);
  transform: translateX(-50%);
}

.history-track::after {
  content: '▼';
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  color: var(--accent);
  font-size: 18px;
}

.history-milestone {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.history-milestone:nth-child(odd) {
  text-align: right;
  flex-direction: row-reverse;
}

.history-milestone:nth-child(even) {
  text-align: left;
  margin-top: 40px;
}

.milestone-marker {
  position: relative;
  flex-shrink: 0;
  z-index: 2;
}

.milestone-year {
  width: 70px;
  height: 70px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(211, 47, 47, 0.3);
  position: relative;
  transition: all 0.3s ease;
}

.milestone-content {
  flex: 1;
  background: #ffffff;
  padding: 20px 24px;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--line);
  transition: all 0.3s ease;
  position: relative;
}

.milestone-content::before {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
  top: 25px;
}

.history-milestone:nth-child(odd) .milestone-content::before {
  right: -10px;
  border-width: 10px 0 10px 10px;
  border-color: transparent transparent transparent var(--line);
}

.history-milestone:nth-child(even) .milestone-content::before {
  left: -10px;
  border-width: 10px 10px 10px 0;
  border-color: transparent var(--line) transparent transparent;
}

.milestone-content:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border-color: var(--accent);
}

.history-milestone-link {
  display: flex;
  transition: opacity 0.2s;
  text-decoration: none;
  color: inherit;
}

.history-milestone-link:hover {
  opacity: 0.9;
}

.history-milestone-link:hover .milestone-content {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border-color: var(--accent);
}

.milestone-content h4 {
  font-size: 16px;
  margin: 0 0 8px;
  color: var(--text);
  font-weight: 700;
}

.milestone-content p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

@media (max-width: 768px) {
  .history-track {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 20px 0;
  }

  .history-track::before {
    display: none;
  }

  .history-track::after {
    display: none;
  }

  .history-milestone {
    position: relative;
    padding-bottom: 40px;
  }

  .milestone-marker {
    position: relative;
  }

  .milestone-marker::after {
    content: '▼';
    position: absolute;
    left: 50%;
    bottom: -35px;
    transform: translateX(-50%);
    color: var(--accent);
    font-size: 14px;
  }

  .history-milestone:last-child .milestone-marker::after {
    display: none;
  }

  .history-milestone,
  .history-milestone:nth-child(odd),
  .history-milestone:nth-child(even) {
    text-align: left;
    flex-direction: row;
    padding-left: 0;
    padding-right: 0;
    margin-top: 0;
  }

  .milestone-year {
    width: 60px;
    height: 60px;
    font-size: 14px;
  }

  .milestone-content::before,
  .history-milestone:nth-child(odd) .milestone-content::before {
    left: -10px;
    right: auto;
    border-width: 10px 10px 10px 0;
    border-color: transparent var(--line) transparent transparent;
  }

  .milestone-content {
    padding: 16px 20px;
  }

  .milestone-content h4 {
    font-size: 15px;
  }

  .milestone-content p {
    font-size: 13px;
  }
}

/* 沿革（コンパクトグリッド版） - 削除予定 */
.history-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 100%;
}

.history-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.history-item-compact {
  background: var(--panel);
  padding: 16px;
  border-radius: 12px;
  border-left: 3px solid var(--accent);
}

.history-year-compact {
  font-size: 18px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 8px;
}

.history-text {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text);
  margin: 0;
}

@media (max-width: 900px) {
  .history-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .history-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .history-item-compact {
    padding: 12px;
  }

  .history-year-compact {
    font-size: 16px;
  }

  .history-text {
    font-size: 12px;
  }
}

/* プロフィールセクション */
.profile-section {
  max-width: 900px;
  margin: 0 auto;
}

.profile-section h3 {
  font-size: 28px;
  margin: 0 0 10px;
  color: var(--text);
}

.profile-education {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 30px;
}

.profile-content {
  margin-bottom: 40px;
}

.profile-content p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 16px;
}

.profile-section h4 {
  font-size: 20px;
  margin: 30px 0 16px;
  color: var(--text);
}

.career-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.career-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-size: 15px;
}

.career-list li:last-child {
  border-bottom: none;
}

.career-other {
  color: var(--muted);
  font-style: italic;
}

/* 沿革タイムライン */
.history-timeline {
  max-width: 900px;
  margin: 0 auto;
}

.history-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 30px;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}

.history-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.history-year {
  font-size: 24px;
  font-weight: 800;
  color: var(--accent);
  padding-top: 5px;
}

.history-content h3 {
  font-size: 18px;
  margin: 0 0 12px;
  color: var(--text);
}

.history-content p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
  margin: 0;
}

@media (max-width: 768px) {
  .page-header {
    padding: 100px 0 40px;
  }

  .page-header h1 {
    font-size: 28px;
  }

  .history-item {
    grid-template-columns: 80px 1fr;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 30px;
  }

  .history-year {
    font-size: 18px;
  }

  .history-content h3 {
    font-size: 16px;
  }
}

/* その他のスタイル */
/* 特徴セクション（画像と文言の交互配置） */
/* ソリューションセクション */
.section-solutions {
  padding: 40px 0 80px;
  background: #ffffff;
}

.section-solutions .container {
  max-width: 1400px; /* 通常より広く */
}

.section-solutions .section-title {
  text-align: center;
  font-size: 56px;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.section-solutions .section-lead {
  text-align: center;
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 60px;
}

.solution-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}

.solution-row:last-child {
  margin-bottom: 0;
}

.solution-row.reverse {
  direction: rtl;
}

.solution-row.reverse > * {
  direction: ltr;
}

/* 小さい画像用 */
.solution-row-small-image .solution-image {
  max-width: 60%; /* 画像を60%の幅に制限 */
  margin: 0 auto;
}

/* オーバーラップスタイル */
.solution-row-overlap {
  display: grid;
  grid-template-columns: 1fr 0.6fr; /* 画像を狭く */
  gap: 0;
  position: relative;
  align-items: flex-end; /* 下揃えに変更 */
}

.solution-row-overlap .solution-image {
  width: 100%;
  grid-column: 1;
  z-index: 1;
}

.solution-row-overlap .solution-content {
  grid-column: 2;
  z-index: 2;
  background: rgba(255, 255, 255, 0); /* 透明度100%（完全に透明） */
  padding: 30px; /* パディングも少し減らす */
  margin-left: -80px;
  margin-bottom: -60px; /* もっと下に配置 */
}

.solution-image {
  width: 100%;
  overflow: hidden;
}

.solution-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.solution-content h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text);
  display: flex;
  align-items: center;
}

.solution-content .solution-logo {
  height: 48px; /* 大きく目立つように */
  width: auto;
  max-width: 200px; /* 最大幅を設定 */
  margin-right: 12px;
  vertical-align: middle;
  object-fit: contain; /* アスペクト比を維持 */
}

.solution-content .solution-subtitle {
  font-size: 22px; /* 少し大きく */
  font-weight: 400; /* 通常の太さ */
  color: #495057; /* もう少し濃いグレー */
  margin-left: 4px;
}

.solution-content p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
}

@media (max-width: 768px) {
  .section-solutions {
    padding: 30px 0 60px;
  }

  .section-solutions .section-title {
    font-size: 40px;
  }

  .section-solutions .section-lead {
    font-size: 16px;
    margin-bottom: 40px;
  }

  .solution-row {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 60px;
  }

  .solution-row.reverse {
    direction: ltr;
  }

  .solution-row-overlap {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .solution-row-overlap .solution-image {
    grid-column: 1;
    margin-bottom: -60px;
  }

  .solution-row-overlap .solution-content {
    grid-column: 1;
    grid-row: 2;
    margin-left: 0;
    margin-top: 0;
    padding: 30px 20px;
  }

  .solution-content h3 {
    font-size: 24px;
    margin-bottom: 16px;
  }

  .solution-content p {
    font-size: 15px;
    line-height: 1.7;
  }
}

.section-features {
  padding: 40px 0;
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 10px;
}

.feature-row:last-child {
  margin-bottom: 0;
}

.feature-row.reverse {
  direction: rtl;
}

.feature-row.reverse > * {
  direction: ltr;
}

.feature-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.feature-image:hover img {
  transform: scale(1.05);
}

.feature-content h3 {
  font-size: 20px;
  margin: 0 0 12px;
  color: var(--text);
}

.feature-content p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
}

@media (max-width: 768px) {
  .feature-row {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 30px;
  }

  .feature-row.reverse {
    direction: ltr;
  }
}

/* その他のスタイル */
.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  color: #ffffff;
  border-radius: 12px;
  font-size: 28px;
  margin-bottom: 16px;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 0;
}

.about-content p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
}

.company-info {
  max-width: 800px;
  margin: 0 auto;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .05);
}

.info-table tr {
  border-bottom: 1px solid var(--line);
}

.info-table tr:last-child {
  border-bottom: none;
}

.info-table th,
.info-table td {
  padding: 16px 20px;
  text-align: left;
}

.info-table th {
  background: var(--panel);
  font-weight: 600;
  color: var(--text);
  width: 30%;
  vertical-align: top;
}

.info-table td {
  color: var(--text);
  vertical-align: top;
}

@media (max-width: 768px) {
  .info-table th,
  .info-table td {
    display: block;
    width: 100%;
  }

  .info-table th {
    padding-bottom: 8px;
  }

  .info-table td {
    padding-top: 0;
  }
}