/* nav透明 → 滚动后深色（与service页一致） */
.nav { background: transparent; }
.nav.scrolled { background: rgba(26,23,20,0.95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid rgba(200,169,110,0.2); }

/* ============================================================
   page-about.css — 私たちについて（2026-02統一改訂）
   全inner max-width → 1200px / 正文16px継承 / 金線装飾適用
   ============================================================ */

/* ===== PHILOSOPHY ===== */
.philosophy {
  padding: calc(var(--section-v) * 1.1) var(--page-pad);
  background: var(--color-offwhite);
  position: relative; overflow: hidden;
}
.philosophy::after {
  content: '侠';
  position: absolute; right: -20px; bottom: -60px;
  font-family: var(--font-display);
  font-size: 340px; font-weight: 900;
  color: rgba(200,169,110,0.045);
  pointer-events: none; line-height: 1; user-select: none;
}
.philosophy-inner {
  max-width: var(--page-max); margin: 0 auto;
  display: flex; flex-direction: column; gap: 48px;
  position: relative; z-index: 1;
}
/* タイトル行：全幅 */
.philosophy-header {
  text-align: left;
}
.philosophy-heading {
  font-family: var(--font-display);
  font-size: 30px; font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 6px; line-height: 1.4;
  margin-bottom: 16px; margin-top: 12px;
}
/* コンテンツ行：左図右文 */
.philosophy-content {
  display: grid; grid-template-columns: auto 1fr; gap: 60px;
  align-items: start;
}
.philosophy-image { 
  position: relative; 
  height: auto;
  width: auto;
  min-height: 300px;
  max-height: 420px;
  overflow: visible;
  border-radius: 6px;
}
.philosophy-image img {
  display: block;
  width: auto;
  height: 100%;
  min-height: 300px;
  max-height: 420px;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: var(--shadow-sm);
}
.philosophy-image::before {
  content: ''; position: absolute; top: -12px; left: -12px;
  width: 60px; height: 60px;
  border-top: 1.5px solid var(--color-accent);
  border-left: 1.5px solid var(--color-accent); z-index: 1;
}
.philosophy-image::after {
  content: ''; position: absolute; bottom: -12px; right: -12px;
  width: 60px; height: 60px;
  border-bottom: 1.5px solid var(--color-accent);
  border-right: 1.5px solid var(--color-accent); z-index: -1;
}
.philosophy-right {
  display: flex; flex-direction: column; justify-content: flex-start;
}
.philosophy-quote {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 3px; line-height: 1.7;
  margin-bottom: 20px; padding-bottom: 20px;
  border-bottom: 1px solid var(--color-border);
}
.philosophy-body {
  font-size: 16px; line-height: 1.9;
  color: var(--color-text-light);
  letter-spacing: 0.4px;
}
.philosophy-body p + p { margin-top: 16px; }

/* (message section removed) */

/* ===== COMPANY DETAIL ===== */
.company-detail {
  padding: var(--section-v) var(--page-pad);
  background: var(--color-cream);
  position: relative; overflow: hidden;
  border-top: 1px solid rgba(200,169,110,0.1);
}
.company-detail::before {
  content: ''; position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: url('../images/time3.webp') no-repeat center center;
  background-size: cover;
  opacity: 0.07;
  pointer-events: none;
  z-index: 0;
}
.company-detail-inner {
  max-width: var(--page-max); margin: 0 auto;
  display: flex; flex-direction: column; gap: 48px;
  position: relative; z-index: 1;
}
.company-detail-right {
  max-width: 820px;
}
.company-detail-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}
.company-detail-heading {
  font-family: var(--font-display);
  font-size: 30px; font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 4px; line-height: 1.7;
  margin-bottom: 16px; margin-top: 12px;
  text-align: left;
}
.company-detail-note {
  font-size: 14px; line-height: 1.9;
  color: var(--color-text-light); letter-spacing: 0.3px;
  white-space: nowrap;
}
/* ===== COMPANY INFO LIST ===== */
.info-list {
  width: 100%;
  border-top: 1px solid rgba(200,169,110,0.4);
  margin: 0;
}
.info-row {
  display: flex;
  align-items: baseline;
  padding: 8px 0;
  border-bottom: 1px solid rgba(200,169,110,0.15);
  gap: 0;
  transition: background 0.2s;
}
.info-row:last-child { border-bottom: 1px solid rgba(200,169,110,0.4); }
.info-row dt {
  min-width: 180px;
  max-width: 180px;
  font-family: var(--font-body);
  font-size: 13px; font-weight: 500;
  color: var(--color-accent);
  letter-spacing: 2px;
  line-height: 1.8;
  text-transform: uppercase;
  padding-right: 24px;
  flex-shrink: 0;
}
.info-row dd {
  flex: 1;
  font-family: var(--font-body);
  font-size: 15px; font-weight: 400;
  color: var(--color-text);
  letter-spacing: 0.4px; line-height: 1.9;
  margin: 0;
  border-left: 1px solid rgba(200,169,110,0.2);
  padding-left: 32px;
}

/* ===== ACCESS ===== */
.access {
  padding: var(--section-v) var(--page-pad);
  background: var(--color-offwhite);
  border-top: 1px solid rgba(200,169,110,0.1);
  position: relative;
}
.access-inner {
  max-width: var(--page-max); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 70px; align-items: start;
}
.access-map {
  background: rgba(26,26,46,0.05);
  aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(200,169,110,0.18); overflow: hidden;
}
.access-map iframe { width: 100%; height: 100%; border: none; }
.access-heading {
  font-family: var(--font-display);
  font-size: 26px; font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 4px; line-height: 1.7;
  margin-bottom: 36px; margin-top: 16px;
}
.access-divider {
  width: 36px; height: 1px;
  background: var(--color-border); margin-bottom: 36px;
}
.access-item { margin-bottom: 28px; }
.access-item:last-child { margin-bottom: 0; }
.access-item-label {
  font-size: 10px; font-weight: 500;
  color: var(--color-accent);
  letter-spacing: 3px; margin-bottom: 7px;
}
.access-item-value {
  font-size: 15px; color: var(--color-text);
  line-height: 1.9; letter-spacing: 0.3px;
}

/* ===== RESPONSIVE ===== */

/* ===== Tablet 820px~1024px ===== */
@media (max-width: 1024px) {
  .philosophy-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .philosophy-image {
    width: 100%;
    min-height: auto;
    max-height: 400px;
    overflow: hidden;
  }
  .philosophy-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: center top;
    min-height: auto;
    max-height: 400px;
  }
  .company-detail-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
@media (max-width: 1024px) {
  .philosophy-content { grid-template-columns: 1fr; gap: 40px; }
  .philosophy-image { 
    height: auto; 
    width: 100%;
    max-width: 100%;
    min-height: 250px;
    max-height: 380px;
  }
  .philosophy-image img { 
    height: auto; 
    width: 100%;
    max-width: 500px;
    min-height: auto;
    max-height: 380px;
  }
  .access-inner { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 768px) {
  .philosophy, .company-detail, .access { padding: 48px 20px; }
  .philosophy-heading, .company-detail-heading, .access-heading { font-size: 22px; letter-spacing: 2px; }
  .company-detail::before { display: none; }
  .company-detail-note { white-space: normal; }

  .philosophy-image { height: auto; width: 100%; min-height: auto; max-height: none; }
  .philosophy-image img { height: auto; width: 100%; max-width: 100%; min-height: auto; max-height: none; }
  
  /* mobile: vertical layout */
  .info-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 18px 0;
  }
  .info-row dt {
    min-width: auto;
    max-width: none;
    padding-right: 0;
    font-size: 11px;
  }
  .info-row dd {
    font-size: 15px;
    padding-left: 0;
    border-left: none;
  }
  
  /* テーブル横スクロール */
  .company-table-wrap { overflow-x: auto; }
  .company-table { min-width: 480px; }
}

@media (max-width: 390px) {
  .philosophy, .company-detail, .access { padding: 36px 16px; }
  .philosophy-heading, .company-detail-heading { font-size: 20px; letter-spacing: 1px; }
  .philosophy-quote { font-size: 16px; letter-spacing: 1px; }
  .philosophy-body { font-size: 15px; }
  .info-row dt { font-size: 10px; }
  .info-row dd { font-size: 14px; }
}

.company-detail-sub {
  font-size: 14px;
  color: var(--color-accent);
  letter-spacing: 0.05em;
  margin-top: 6px;
  margin-bottom: 24px;
}
