﻿/* ============================================
   ABOUT PAGE STYLES
   ============================================ */

/* About Secondary Navigation */
.about-nav-item {
  position: relative;
}

/* Secondary navigation is hidden by default */
.tab {
  position: fixed;
  top: 73px;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(2px);
  z-index: 99;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.24s ease, visibility 0.24s ease, transform 0.24s ease;
}

/* Show secondary navigation on About pages */
.about-page .tab {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

/* Secondary navigation only shows on About pages, not on hover */

/* Add padding-top to main content to account for fixed secondary nav */
.pCAboutOverview,
.rnd-page,
.group-companies-page {
  padding-top: 56px;  /* Only the secondary nav height (8px + 40px + 8px) */
}

.tab .container {
  display: flex;
  align-items: center;
  column-gap: 64px;
  min-height: 40px;
}

.tab-nav-item {
  appearance: none;
  border: 0;
  background: transparent;
  display: inline-grid;
  grid-template-areas: "stack";
  align-items: center;
  font-size: var(--font-size-16-fluid);
  line-height: var(--line-height-16-fluid-base);
  letter-spacing: 0;
  color: var(--color-neutral-solid-gray-400) !important;
  font-family: Roboto, "Hiragino Sans", "Meiryo", sans-serif;
  font-weight: 400 !important;
  text-decoration: none;
  white-space: nowrap;
  min-height: 40px;
  padding: 8px 10px;
  margin: -8px -10px;
  transition: color 0.24s ease;
  cursor: pointer;
  position: relative;
}

.tab-nav-item::before,
.tab-nav-item > span {
  grid-area: stack;
}

.tab-nav-item::before {
  content: attr(data-text);
  font-weight: 700;
  visibility: hidden;
  pointer-events: none;
}

.tab-nav-item::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: #1c7dcd;
  transform: scaleX(0) !important;
  transform-origin: center;
  transition: transform 0.28s ease;
}

/* No underline for any state - hover or active */
.tab-nav-item.is-active::after,
.tab-nav-item:hover::after,
.tab-nav-item:focus-visible::after {
  transform: scaleX(0) !important;
}

.tab-nav-item > span {
  font-weight: 400 !important;
  transition: color 0.24s ease;
}

.tab-nav-item:hover,
.tab-nav-item:focus-visible {
  color: #1c7dcd !important;
}

.tab-nav-item:hover::after,
.tab-nav-item:focus-visible::after {
  transform: scaleX(1);
}

.tab-nav-item.is-active,
.tab-nav-item[aria-current="page"] {
  color: #1c7dcd !important;
}

.tab-nav-item:hover > span,
.tab-nav-item:focus-visible > span,
.tab-nav-item.is-active > span,
.tab-nav-item[aria-current="page"] > span {
  font-weight: 700 !important;
}

/* Page Title */
.contentsAll {
  display: flex;
  flex-direction: column;
  row-gap: 0;
  padding-top: 48px;
  padding-bottom: 64px;
  background: #fff;
}

.title2 {
  flex-shrink: 0;
  align-self: stretch;
  letter-spacing: -0.64px;
  color: var(--color-neutral-opacity-gray-900);
  font-family: "Dunbar Text", "Hiragino Sans", "Meiryo", sans-serif;
  font-size: var(--font-size-64-fluid);
  font-weight: 700;
  margin: 0;
  line-height: var(--line-height-64-fluid);
}

/* Top Message Section */
.section {
  display: flex;
  position: relative;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 48px 0 120px;
      background: #fff;
}

.top-message-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  row-gap: 48px;
}

.topMessage {
  flex-shrink: 0;
  align-self: stretch;
  line-height: var(--line-height-54-fluid);
  letter-spacing: 0;
  color: var(--color-neutral-opacity-gray-900);
  font-family: "Dunbar Text", "Hiragino Sans", "Meiryo", sans-serif;
  font-size: var(--font-size-54-fluid);
  font-weight: 700;
      padding-bottom: 0px;
  margin: 0;
}

.top-message-content {
  display: flex;
  flex-shrink: 0;
  align-items: flex-start;
  align-self: stretch;
  justify-content: space-between;
  gap: 48px;
}

.top-message-copy {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  align-items: flex-start;
  align-self: stretch;
  row-gap: 32px;
  width: 55.15625%;
}

.top-message-quote {
  display: flex;
  flex-shrink: 0;
  align-items: flex-start;
  align-self: stretch;
}

.top-message-quote-icon {
  flex-shrink: 0;
  width: 59px;
  height: 62px;
}

.top-message-quote-text {
  display: flex;
  flex-grow: 1;
  align-items: center;
  justify-content: center;
  margin-left: -24px;
  padding-top: 24px;
}

.top-message-lead {
  flex-grow: 1;
  width: 100%;
  line-height: var(--line-height-18-fluid);
  letter-spacing: 0;
  color: #1A1A1A;
  font-family: Roboto, "Hiragino Sans", "Meiryo", sans-serif;
  font-size: var(--font-size-18-fluid);
  font-weight: 700;
  margin: 0;
}

.top-message-name {
  flex-shrink: 0;
  line-height: var(--line-height-15-fluid);
  letter-spacing: 0;
  color: #666;
  font-family: Roboto, "Hiragino Sans", "Meiryo", sans-serif;
  font-size: var(--font-size-15-fluid);
  margin: 0;
}

.top-message-body {
  flex-shrink: 0;
  align-self: stretch;
  width: 100%;
  line-height: 24px;
  letter-spacing: 0;
  color: var(--color-neutral-solid-gray-800);
  font-family: Roboto, "Hiragino Sans", "Meiryo", sans-serif;
  font-size: var(--font-size-16-fluid);
  margin: 0;
  display: flex;
  flex-direction: column;
  row-gap: 24px;
}

.top-message-body-paragraph {
  margin: 0;
}

.top-message-body-source {
  display: none;
}

.top-message-toggle {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  column-gap: 4px;
  padding-top: 8px;
  padding-bottom: 8px;
  cursor: pointer;
}

.top-message-toggle-text {
  flex-shrink: 0;
  line-height: var(--line-height-16-fluid-base);
  letter-spacing: 0;
  color: #000000;
  font-family: Roboto, "Hiragino Sans", "Meiryo", sans-serif;
  font-size: var(--font-size-16-fluid);
  margin: 0;
  transition: color 0.3s ease;
}

.top-message-toggle:hover .top-message-toggle-text {
  color: #1c7dcd;
}

.top-message-toggle-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  overflow: hidden;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.top-message-toggle:hover .top-message-toggle-icon {
  filter: brightness(0) saturate(100%) invert(42%) sepia(88%) saturate(1330%) hue-rotate(184deg) brightness(95%) contrast(88%);
}

.top-message-toggle-icon.rotated {
  transform: rotate(180deg);
}

.top-message-image {
  position: relative;
  flex-shrink: 0;
  width: 574px;
  max-width: 44.84375%;
  min-width: 300px;
  height: auto;
  aspect-ratio: 574 / 381;
}

.top-message-dot-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 39.72%; /* 228/574 */
  height: 62.2%; /* 237/381 */
  background-image: url('../assets/images/about_dot_grid_large.png');
  background-repeat: no-repeat;
  background-size: contain;
}

.top-message-dot-grid-2 {
  position: absolute;
  top: 74.54%; /* 284/381 */
  left: 83.8%; /* 481/574 */
  width: 16.2%; /* 93/574 */
  height: 25.46%; /* 97/381 */
  background-image: url('../assets/images/about_dot_grid_small.png');
  background-repeat: no-repeat;
  background-size: contain;
}

.top-message-photo {
  position: absolute;
  top: 13.91%; /* 53/381 */
  left: 6.45%; /* 37/574 */
  border-radius: 8px;
  width: 90.42%; /* 519/574 */
  height: 76.64%; /* 292/381 */
  object-fit: cover;
}

/* Who We Are Section */
.section2 {
  display: flex;
  position: relative;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  background: #edf7ff;
  padding: 120px 0;
}

.who-we-are-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  row-gap: 48px;
}

.who-we-are-dot-grid {
  position: absolute;
  top: 193px;
  left: 0;
  width: 93px;
  height: 97px;
  background-image: url('../assets/images/about_dot_grid_left.png');
  background-repeat: no-repeat;
  background-size: contain;
}

.who-we-are-dot-grid-2 {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 177px;
  background-image: url('../assets/images/about_dot_grid_bottom.png');
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: left top;
  z-index: 0;
  pointer-events: none;
  transform: translate(var(--who-we-are-dot-expose-x), var(--who-we-are-dot-expose-y));
}

.who-we-are-dot-grid-3 {
  position: absolute;
  top: 1px;
  right: 0;
  width: 687px;
  height: 111px;
  background-image: url('../assets/images/about_dot_grid_top.png');
  background-repeat: no-repeat;
  background-size: contain;
  z-index: 5;
}

.whoWeAre {
  flex-shrink: 0;
  align-self: stretch;
  z-index: 2;
  line-height: var(--line-height-54-fluid);
  letter-spacing: 0;
  color: var(--color-neutral-opacity-gray-900);
  font-family: "Dunbar Text", "Hiragino Sans", "Meiryo", sans-serif;
  font-size: var(--font-size-54-fluid);
  font-weight: 700;
  margin: 0;
}

.who-we-are-intro {
  flex-shrink: 0;
  align-self: stretch;
  z-index: 3;
  width: 100%;
  line-height: 24px;
  letter-spacing: 0;
  color: var(--color-neutral-solid-gray-800);
  font-family: Roboto, "Hiragino Sans", "Meiryo", sans-serif;
  font-size: var(--font-size-16-fluid);
  margin: 0;
}

.who-we-are-detail-shell {
  position: relative;
  width: 100%;
  overflow: visible;
  isolation: isolate;
  --who-we-are-dot-expose-x: 2.35%;
  --who-we-are-dot-expose-y: 9.6%;
}

.who-we-are-detail {
  position: relative;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  align-items: flex-start;
  align-self: stretch;
  z-index: 1;
  border: 1px solid #9cc4e5;
  border-radius: 8px;
  background: #ffffff;
  background-clip: padding-box;
  padding: 31px 47px;
  row-gap: 24px;
  overflow: hidden;
  isolation: isolate;
  min-height: 174px;
}

.who-we-are-detail::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: #ffffff;
  z-index: 0;
  pointer-events: none;
}

.who-we-are-detail > * {
  position: relative;
  z-index: 1;
}

.who-we-are-detail-title {
  flex-shrink: 0;
  line-height: 1.3125;
  letter-spacing: 0;
  color: var(--color-neutral-opacity-gray-900);
  font-family: "Dunbar Text", "Hiragino Sans", "Meiryo", sans-serif;
  font-size: clamp(24px, calc(0.694444vw + 18.6667px), 32px);
  font-weight: 700;
  margin: 0;
}

.who-we-are-detail-text {
  flex-shrink: 0;
  align-self: stretch;
  width: 100%;
  line-height: 24px;
  letter-spacing: 0;
  color: var(--color-neutral-solid-gray-600);
  font-family: Roboto, "Hiragino Sans", "Meiryo", sans-serif;
  font-size: var(--font-size-16-fluid);
  margin: 0;
}
.pCAboutOverview{
  background: #fff;
}
/* Company Profile Section */
.section4 {
  display: flex;
  position: relative;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 120px 0;
  background: #fff;
}

.company-profile-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  row-gap: 48px;
}

.companyProfile {
  flex-shrink: 0;
  align-self: stretch;
  line-height: var(--line-height-54-fluid);
  letter-spacing: 0;
  color: var(--color-neutral-opacity-gray-900);
  font-family: "Dunbar Text", "Hiragino Sans", "Meiryo", sans-serif;
  font-size: var(--font-size-54-fluid);
  font-weight: 700;
  margin: 0;
}

.company-profile-intro {
  flex-shrink: 0;
  align-self: stretch;
  width: 100%;
  line-height: 24px;
  letter-spacing: 0;
  color: var(--color-neutral-solid-gray-800);
  font-family: Roboto, "Hiragino Sans", "Meiryo", sans-serif;
  font-size: var(--font-size-16-fluid);
  margin: 0;
  display: block;
  overflow: visible;
  max-height: none;
  -webkit-line-clamp: unset;
  -webkit-box-orient: initial;
}

.company-profile-list {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  align-items: flex-start;
  align-self: stretch;
}

.company-profile-row {
  display: flex;
  flex-shrink: 0;
     align-items: baseline;
  align-self: stretch;
  column-gap: 24px;
}

.company-profile-row--multiline {

}

.company-profile-label {
  flex-shrink: 0;
  padding: 16px 0;
  width: 200px;
  line-height: 24px;
  letter-spacing: 0;
  color: var(--Ulvac---main, #1c7dcd);
  font-family: Roboto, "Hiragino Sans", "Meiryo", sans-serif;
  font-size: var(--font-size-16-fluid);
  font-weight: 700;
  margin: 0;
}

.company-profile-value,
.company-profile-value-wrap {
  flex-grow: 1;
  max-width: calc(100% - 224px);
}

.company-profile-value {
  width: 100%;
  line-height: 24px;
  letter-spacing: 0;
  color: var(--color-neutral-solid-gray-800);
  font-family: Roboto, "Hiragino Sans", "Meiryo", sans-serif;
  font-size: var(--font-size-16-fluid);
  margin: 0;
}

.company-profile-value-wrap {
  display: flex;
  align-items: center;
  padding-top: 16px;
  padding-bottom: 16px;
}

/* Company History Section */
.section5 {
  padding: 120px 0;
  background: #edf7ff;
}

.companyHistory {
  flex-shrink: 0;
  align-self: stretch;
  line-height: var(--line-height-54-fluid);
  letter-spacing: 0;
  color: var(--color-neutral-opacity-gray-900);
  font-family: "Dunbar Text", "Hiragino Sans", "Meiryo", sans-serif;
  font-size: var(--font-size-54-fluid);
  font-weight: 700;
  margin: 0;
}

.company-history-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  row-gap: 48px;
}

.company-history-intro {
  width: 100%;
  line-height: 24px;
  letter-spacing: 0;
  color: var(--color-neutral-solid-gray-800);
  font-family: Roboto, "Hiragino Sans", "Meiryo", sans-serif;
  font-size: var(--font-size-16-fluid);
  margin: 0;
}

.timeline-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: translate3d(0, 0, 0);
  transition:
    transform 0.36s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.36s ease;
  backface-visibility: hidden;
  will-change: transform, opacity;
  opacity: 1;
  background-color: #edf7ff;
}

.timeline-img[src*="ulvac-logo.png"] {
  object-fit: contain;

}

.timeline-img--overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.timeline-img.is-switching-in {
  transform: translate3d(0, 102%, 0);
  opacity: 0;
}

.timeline-img.is-switching-in.is-active {
  transform: translate3d(0, 0, 0);
  opacity: 1;
}

.timeline-img--overlay.is-switching-out {
  transform: translate3d(0, -102%, 0);
  opacity: 0;
}

.company-history-desktop {
  display: flex;
  align-items: center;
  min-height: 478px;
  width: 100%;
}

.company-history-image-column {
  display: flex;
  align-items: center;
  flex: 0 0 clamp(360px, 34.375vw, 495px);
  margin-right: -5px;
  position: relative;
  z-index: 1;
}

.company-history-image-frame {
  position: relative;
  width: clamp(320px, 31.181vw, 449px);
  aspect-ratio: 449 / 253;
  border-radius: 8px;
  overflow: hidden;
  background: transparent;
  isolation: isolate;
  flex-shrink: 0;
}

.company-history-image-year {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 12px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  background: rgba(19, 38, 58, 0.42);
  backdrop-filter: blur(6px);
  color: rgba(255, 255, 255, 0.92);
  font-family: Roboto, "Hiragino Sans", "Meiryo", sans-serif;
}

.company-history-image-status {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 12px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  background: rgba(19, 38, 58, 0.42);
  backdrop-filter: blur(6px);
  color: rgba(255, 255, 255, 0.92);
  font-family: Roboto, "Hiragino Sans", "Meiryo", sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  letter-spacing: 0.03em;
}

.company-history-connector {
  width: 46px;
  height: 2px;
  flex-shrink: 0;
}

.company-history-connector svg {
  display: block;
  width: 100%;
  height: 100%;
}

.timeline-list,
.company-history-timeline-list {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  height: 478px;
  padding-bottom: 120px;
  box-sizing: border-box;
  overflow-x: hidden;
  overflow-y: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.company-history-timeline-column {
  position: relative;
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  flex-direction: column;
}

.company-history-timeline-list,
.company-history-mobile-list {
  position: relative;
}

.company-history-timeline-list::before,
.company-history-timeline-list::after,
.company-history-mobile-list::before,
.company-history-mobile-list::after {
  content: "";
  position: absolute;
  right: 0;
  left: 0;
  z-index: 2;
  height: 24px;
  pointer-events: none;
}

.company-history-timeline-list::before,
.company-history-mobile-list::before {
  top: 0;
  background: linear-gradient(180deg, #edf7ff 0%, rgba(237, 247, 255, 0) 100%);
}

.company-history-timeline-list::after,
.company-history-mobile-list::after {
  bottom: 0;
  background: linear-gradient(180deg, rgba(237, 247, 255, 0) 0%, #edf7ff 100%);
}

.company-history-scroll-hint {
  display: inline-flex;
  align-items: center;
  align-self: flex-end;
  gap: 8px;
  margin-bottom: 10px;
  color: #1c7dcd;
  font-family: Roboto, "Hiragino Sans", "Meiryo", sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.9;
}

.company-history-scroll-hint-icon {
  position: relative;
  width: 12px;
  height: 18px;
}

.company-history-scroll-hint-icon::before,
.company-history-scroll-hint-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateX(-50%) rotate(45deg);
  animation: companyHistoryHintPulse 1.8s ease-in-out infinite;
}

.company-history-scroll-hint-icon::before {
  top: 1px;
}

.company-history-scroll-hint-icon::after {
  top: 7px;
  animation-delay: 0.18s;
}

@keyframes companyHistoryHintPulse {
  0%, 100% {
    opacity: 0.3;
    transform: translate(-50%, -2px) rotate(45deg);
  }

  50% {
    opacity: 1;
    transform: translate(-50%, 2px) rotate(45deg);
  }
}

.timeline-list::-webkit-scrollbar,
.company-history-timeline-list::-webkit-scrollbar {
  display: none;
}

.timeline-item,
.company-history-timeline-item {
  display: flex;
  gap: 24px;
  align-items: center;
  min-height: 120px;
  width: 100%;
  flex-shrink: 0;
  cursor: pointer;
  transition: transform 0.28s ease, opacity 0.28s ease;
}

.bar-vertical,
.company-history-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  align-self: stretch;
  width: 14px;
  flex-shrink: 0;
}

.bar-line,
.company-history-bar-line {
  width: 2px;
  flex: 1 1 auto;
  min-height: 1px;
  background: #daecfa;
}

.bar-line.no-line,
.company-history-bar-line.no-line {
  background: transparent;
}

.bar-dot,
.company-history-dot {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.bar-dot svg,
.company-history-dot svg {
  display: block;
  width: 100%;
  height: 100%;
}

.item-text,
.company-history-item-text {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding-bottom: 16px;
}

.item-year,
.company-history-year {
  margin: 0;
  color: #949494;
  font-family: Roboto, "Hiragino Sans", "Meiryo", sans-serif;
  font-weight: 700;
  font-size: var(--font-size-16-fluid);
  line-height: 24px;
  transition: color 0.3s ease;
}

.item-desc,
.company-history-desc {
  margin: 0;
  color: #949494;
  font-family: Roboto, "Hiragino Sans", "Meiryo", sans-serif;
  font-size: var(--font-size-16-fluid);
  line-height: 24px;
  font-weight: 400;
  transition: color 0.3s ease;
}

.timeline-item.active .item-year,
.company-history-timeline-item.active .item-year {
  color: #1a1a1a;
}

.timeline-item.active .item-desc,
.company-history-timeline-item.active .item-desc {
  color: #666666;
}

.timeline-item.active,
.company-history-timeline-item.active {
  transform: translate3d(0, 0, 0);
}

.company-history-mobile {
  display: none;
}

.company-history-mobile-image {
  position: relative;
  width: 100%;
  aspect-ratio: 449 / 253;
  overflow: hidden;
  border-radius: 8px;
  background: transparent;
  isolation: isolate;
}

.company-history-mobile-image-frame {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  overflow: hidden;
  background: transparent;
  isolation: isolate;
}

.mobile-list,
.company-history-mobile-list {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 650px;
  overflow-x: hidden;
  overflow-y: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.mobile-list::-webkit-scrollbar,
.company-history-mobile-list::-webkit-scrollbar {
  display: none;
}

.company-history-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 10px 20px 10px 24px;
  border: 1px solid #1c7dcd;
  border-radius: 4px;
  background: #1c7dcd;
  color: #ffffff;
  font-family: Roboto, "Hiragino Sans", "Meiryo", sans-serif;
  font-size: var(--font-size-16-fluid);
  line-height: var(--line-height-16-fluid-base);
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.company-history-button:hover,
.company-history-button:focus-visible {
  background: #ffffff;
  border-color: #1c7dcd;
  color: #1c7dcd;
  transform: translate3d(0, -4px, 0);
  box-shadow: 0 12px 32px rgba(28, 125, 205, 0.2);
}

.company-history-button-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transition: filter 0.3s ease;
  filter: brightness(0) invert(1);
}

.company-history-button:hover .company-history-button-icon,
.company-history-button:focus-visible .company-history-button-icon {
  filter: brightness(0) saturate(100%) invert(42%) sepia(88%) saturate(1330%) hue-rotate(184deg) brightness(95%) contrast(88%);
}

/* More Information Section */
.section6 {
  background: #ffffff;
  padding: 120px 0;
}

.more-info-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  row-gap: 48px;
}

.more-information-title {
  flex-shrink: 0;
  align-self: stretch;
  line-height: var(--line-height-54-fluid);
  letter-spacing: 0;
  color: var(--color-neutral-opacity-gray-900);
  font-family: "Dunbar Text", "Hiragino Sans", "Meiryo", sans-serif;
  font-size: var(--font-size-54-fluid);
  font-weight: 700;
  margin: 0;
}

.more-info-grid {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  align-items: flex-start;
  align-self: stretch;
  row-gap: 24px;
}

.more-info-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 24px;
  width: 100%;
}

.more-info-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 24px;
  width: 100%;
  border-radius: 8px;
  border: 1px solid transparent;
  min-height: 76px;
  row-gap: 7px;
  background-color: #1c7dcd;
  background-image: linear-gradient(279.55deg, #0d5895 0%, #1164a7 50%, #4da8f5 100%);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: 0 0;
  background-clip: padding-box;
  overflow: hidden;
  box-shadow: 0 0 0 rgba(28, 125, 205, 0);
  transition: transform 0.24s ease, box-shadow 0.24s ease, background-color 0.32s ease, background-image 0.32s ease, border-color 0.32s ease;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.more-info-card:hover {
  border-color: #1c7dcd;
  background-color: #ffffff;
  background-image: none;
  box-shadow: 0 8px 24px rgba(28, 125, 205, 0.16);
}

.more-info-card-title {
  flex-shrink: 0;
  align-self: stretch;
  font-size: var(--font-size-18-fluid);
  line-height: var(--line-height-18-fluid);
  letter-spacing: 0;
  color: #ffffff;
  font-family: Roboto, "Hiragino Sans", "Meiryo", sans-serif;
  font-weight: 700;
  margin: 0;
  transition: color 0.3s ease;
}

.more-info-card-link {
  display: flex;
  align-items: center;
  align-self: stretch;
  justify-content: flex-end;
  column-gap: 0;
}

.more-info-card-link-text {
  flex-shrink: 0;
  font-size: var(--font-size-16-fluid);
  line-height: var(--line-height-16-fluid-base);
  letter-spacing: 0;
  color: #ffffff;
  font-family: Roboto, "Hiragino Sans", "Meiryo", sans-serif;
  font-weight: 700;
  margin: 0;
  transition: color 0.3s ease;
}

.more-info-card-link-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
  transition: filter 0.3s ease;
}

.more-info-card:hover .more-info-card-title,
.more-info-card:hover .more-info-card-link-text {
  color: #1c7dcd;
}

.more-info-card:hover .more-info-card-link-icon {
  filter: brightness(0) saturate(100%) invert(42%) sepia(88%) saturate(1330%) hue-rotate(184deg) brightness(95%) contrast(88%);
}

/* Active Navigation State */


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

@media (max-width: 1366px) {
  .contentsAll {
    padding-top: 35px;
    padding-bottom: 44px;
  }

  .section {
    padding-bottom: 80px;
  }
  
  .section2,
  .section4,
  .section6 {
    padding-top: 80px;
    padding-bottom: 80px;
  }
  
  .section5 {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .tab .container {
    column-gap: 48px;
  }
  
  .contentsAll,
  .section,
  .section2,
  .section4,
  .section5,
  .section6 {
    padding-left: 0;
    padding-right: 0;
  }
  
  .top-message-content {
    gap: 48px;
  }
  
  .contents2 {
    grid-template-columns: 320px 1fr;
    gap: 36px;
  }
}

@media (max-width: 1024px) {


  .tab .container {
    column-gap: 32px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  
  .tab .container::-webkit-scrollbar {
    display: none;
  }
  
  .tab-nav-item {
    white-space: nowrap;
  }
  
  .top-message-content {
    gap: 32px;
  }
  
  .contents2 {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .pic {
    max-height: 300px;
  }
  
  .more-info-row {
    grid-template-columns: 1fr;
    row-gap: 24px;
  }

  .who-we-are-detail {
    padding: 24px 32px;
  }
  
  .company-profile-row {
    flex-direction: column;
    row-gap: 8px;
    column-gap: 0;
    align-items: flex-start;
  }
  
  .company-profile-label,
  .company-profile-value,
  .company-profile-value-wrap {
    max-width: 100%;
  }

  .company-profile-label {
    width: auto;
    min-width: auto;
    padding-bottom: 0;
  }

  .company-profile-value {
    padding-top: 0;
  }

  .company-profile-value-wrap {
    padding-top: 0;
    padding-bottom: 16px;
  }
}

@media (max-width: 991px) {
  .top-message-content {
    flex-direction: column;
    gap: 32px;
  }

    .title2 {
        font-size: 34px;
    }
.topMessage{
  font-size: 24px;
}
  .top-message-copy {
    width: 100%;
  }

  .top-message-lead,
  .top-message-body,
  .who-we-are-intro {
    width: 100%;
  }

  .top-message-toggle {
    margin-right: auto;
  }

  .top-message-image {
    width: 100%;
    max-width: none;
    margin-top: 0;
    order: -1;
  }
}

@media (max-width: 768px) {
  .tab .container {
    column-gap: 32px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  
  .tab .container::-webkit-scrollbar {
    display: none;
  }
  
  .tab-nav-item {
    white-space: nowrap;
  }
  
  .top-message-content {
    gap: 32px;
  }
  
  .contents2 {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .pic {
    max-height: 300px;
  }
  
  .more-info-row {
    grid-template-columns: 1fr;
    row-gap: 24px;
  }

  .who-we-are-detail {
    padding: 24px 24px;
  }
  
  .company-profile-row {
    flex-direction: column;
    row-gap: 8px;
    column-gap: 0;
    align-items: flex-start;
  }
  
  .company-profile-label,
  .company-profile-value,
  .company-profile-value-wrap {
    max-width: 100%;
  }

  .company-profile-label {
    width: auto;
    min-width: auto;
    padding-bottom: 0;
  }

  .company-profile-value {
    padding-top: 0;
  }

  .company-profile-value-wrap {
    padding-top: 0;
    padding-bottom: 16px;
  }
  
  .top-message-image {
    width: 100%;
    max-width: none;
    height: auto;
    aspect-ratio: 574 / 381;
  }
  
  .top-message-dot-grid,
  .top-message-dot-grid-2,
  .who-we-are-dot-grid,
  .who-we-are-dot-grid-2,
  .who-we-are-dot-grid-3 {
    display: none;
  }
}

@media (max-width: 480px) {
  .title2 {
    font-size: 40px;
  }
  
  .topMessage {
    font-size: 28px;
    line-height: 36px;
  }
  
  .companyProfile,
  .whoWeAre,
  .companyHistory {
    font-size: 28px;
    line-height: 36px;
  }
  
  .who-we-are-detail-title {
    font-size: 22px;
    line-height: 30px;
  }
}
