/* ─────────────────────────────────────────
   PAGE WHAT IS SUNATEC
───────────────────────────────────────── */
.sn-what-page {
  background: #FFFFFF;
  padding: 0;
  font-family: 'Noto Sans JP', sans-serif;
}
.sn-what-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 30px 40px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
}

/* Header Banner */
.sn-what-header-wrapper {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}
.sn-what-header {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px 0px;
  gap: 17px;
}
.sn-what-title {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 10px;
  gap: 10px;
  min-width: 251px;
  height: 63px;
  background: rgba(0, 143, 141, 0.7);
  backdrop-filter: blur(6px);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 36px;
  line-height: 43px;
  letter-spacing: -0.02em;
  margin: 0;
}

/* Breadcrumb override */
.sn-what-breadcrumb {
  margin-bottom: 0;
}
.sn-what-breadcrumb .sn-breadcrumb {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
}
.sn-what-breadcrumb .sn-breadcrumb a {
  font-weight: 500;
  font-size: 14px;
  color: #6A778B;
  text-decoration: none;
}
.sn-what-breadcrumb .sn-breadcrumb a:hover {
  text-decoration: underline;
}
.sn-what-breadcrumb .sn-breadcrumb-current {
  font-weight: 400;
  font-size: 14px;
  color: #111112;
}

/* Intro Section */
.sn-what-intro {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
}
.sn-what-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 48px;
}
.sn-what-heading-line {
  flex-grow: 1;
  height: 1px;
  background: #008F8D;
  max-width: 300px;
}
.sn-what-heading-text {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 36px;
  line-height: 1.2;
  color: #008F8D;
  text-align: center;
  letter-spacing: -0.02em;
}

.sn-what-desc {
  text-align: left;
  font-size: 16px;
  line-height: 2;
  color: #243752;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
}
.sn-what-desc p {
  margin: 0 0 18px 0;
}

/* Cards Section */
.sn-what-cards-section {
  width: 100%;
  padding: 0;
}
.sn-what-cards-inner {
  width: 100%;
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.sn-what-card {
  box-sizing: border-box;
  flex: none;
  width: 340px;
  height: 138px;
  background: #008F8D;
  border: 1px solid #008F8D;
  box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.06);
  border-radius: 24px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.sn-what-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.sn-what-card-top {
  height: 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 10px 16px 10px 10px;
  gap: 4px;
  text-align: center;
  color: #FFFFFF;
}
.sn-what-card-top h3 {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 32px;
  margin: 0;
  letter-spacing: -0.02em;
}
.sn-what-card-top p {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  margin: 0;
}

.sn-what-card-bottom {
  box-sizing: border-box;
  height: 38px;
  background: #FFFFFF;
  border-top: 1px solid #008F8D;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 14px;
  gap: 12px;
}
.sn-what-card-link-text {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.02em;
  color: #008F8D;
}
.sn-what-card-icon {
  width: 24px;
  height: 24px;
  background: #008F8D;
  box-shadow: inset 0px 4px 4px rgba(0, 0, 0, 0.25);
  border-radius: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 1px;
}
.sn-what-card-icon img {
  width: 14px;
  height: auto;
  filter: brightness(0) invert(1);
}

/* Philosophy Section */
.sn-what-philosophy-section {
  width: 100%;
  padding: 0;
}
.sn-what-philosophy-header {
  border-bottom: 2px solid #008F8D;
  margin-bottom: 40px;
  padding-bottom: 8px;
}
.sn-what-philosophy-header h2 {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 28px;
  color: #008F8D;
  margin: 0;
}
.sn-what-philosophy-banner {
  width: 100%;
  padding: 80px 40px;
  background-size: cover;
  background-position: center;
  background-color: #f5f5f5;
  display: flex;
  justify-content: center;
  border-radius: 8px;
  overflow: hidden;
}
.sn-what-philosophy-box {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(4px);
  max-width: 960px;
  width: 100%;
  padding: 48px 64px;
  border-radius: 16px;
  text-align: center;
}
.sn-what-philosophy-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 32px;
  color: #008F8D;
  margin: 0 0 32px 0;
  letter-spacing: -0.02em;
}
.sn-what-philosophy-box p {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  line-height: 2;
  color: #111112;
  margin: 0;
  text-align: left;
  display: inline-block;
}

/* History Section */
.sn-what-history-section {
  width: 100%;
  padding: 0;
  margin-bottom: 0;
}
.sn-what-history-header {
  border-bottom: 2px solid #008F8D;
  margin-bottom: 60px;
  padding-bottom: 8px;
}
.sn-what-history-header h2 {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 28px;
  color: #008F8D;
  margin: 0;
}

/* Timeline Base */
.sn-timeline {
  position: relative;
  padding-left: 120px; /* Space for the vertical line and year bubbles */
}
.sn-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 54px; /* Centers the 2px line underneath the 110px year pill */
  width: 2px;
  background: #008F8D;
  opacity: 0.3;
}

/* Timeline Item */
.sn-timeline-item {
  position: relative;
  padding-bottom: 25px;
}

/* Timeline Year Bubble */
.sn-timeline-year {
  position: absolute;
  left: -120px; /* Aligns to left edge of timeline padding */
  top: 0;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 3px 12px;
  gap: 10px;
  width: 110px;
  height: 53px;
  background: #008F8D;
  box-shadow: inset 0px 4px 4px rgba(0, 0, 0, 0.25);
  border-radius: 120px;
  color: #FFFFFF;
  font-family: 'TikTok Sans', sans-serif;
  font-style: italic;
  font-weight: 900;
  font-size: 36px;
  line-height: 47px;
  letter-spacing: -0.02em;
  z-index: 2;
  box-sizing: border-box;
}

/* Timeline Content */
.sn-timeline-content {
  padding-top: 6px;
}
.sn-timeline-event {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-bottom: 25px; /* According to padding: 0 0 25px */
}
.sn-timeline-month {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 0;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 32px;
  color: #008F8D;
  white-space: nowrap;
  min-width: 62px;
}
.sn-timeline-month img {
  width: 30px;
  height: 30px;
  border-radius: 5px;
}
.sn-timeline-event p {
  margin: 0;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: #061C3D;
}

/* Timeline Media & Notes */
.sn-timeline-media-row {
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap; /* allow wrapping if too narrow */
  padding: 14px;
  gap: 14px;
  background: #F9FAFB;
  border: 1px solid rgba(126, 195, 194, 0.7);
  border-radius: 10px;
  width: fit-content;
}
.sn-timeline-media-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: 260px;
}
.sn-timeline-media-box img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid #E2E8F0;
}
.sn-timeline-award-box {
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 14px;
  background: #F9FAFB;
  border: 1px solid rgba(126, 195, 194, 0.7);
  border-radius: 10px;
  width: fit-content;
}
.sn-timeline-award-box p {
  margin: 0;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5;
  color: #061C3D;
}
.sn-timeline-caption {
  font-family: 'Noto Sans JP', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5;
  color: #061C3D;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Note Box (ひとくちメモ) */
.sn-timeline-note {
  position: relative;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 40px 20px 20px;
  isolation: isolate;
  background: #FFFFFF;
  border: 1px solid #008F8D;
  box-shadow: 2px 3px 0px #008F8D;
  border-radius: 8px;
  flex: 1;
  min-width: 300px;
}
.sn-timeline-note-badge {
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 0px 18px;
  gap: 10px;
  position: absolute;
  width: 130px;
  height: 48px;
  left: 20px;
  top: -20px;
  background: #008F8D;
  border: 1px solid #008F8D;
  border-radius: 120px;
  color: #FFFFFF;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.02em;
  white-space: nowrap;
  z-index: 2;
}
.sn-timeline-note-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
.sn-timeline-note-body p:not(.sn-timeline-note-highlight) {
  font-family: 'Noto Sans JP', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5;
  color: #061C3D;
  margin: 0;
}
.sn-timeline-note-highlight {
  font-family: 'Noto Sans JP', sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.02em;
  color: #008F8D;
  margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .sn-what-container { padding: 24px; gap: 24px; }
  .sn-what-header { padding: 24px 0; }
  .sn-what-title { font-size: 24px; padding: 16px 24px; min-width: auto; }
  .sn-what-heading { flex-direction: column; gap: 16px; }
  .sn-what-heading-line { display: none; }
  .sn-what-heading-text { font-size: 20px; }
  .sn-what-cards-inner { padding: 0 24px; flex-direction: column; align-items: center; }
  .sn-what-card { width: 100%; max-width: 100%; }
  
  .sn-what-philosophy-section { padding: 0; }
  .sn-what-philosophy-banner { padding: 40px 20px; }
  .sn-what-philosophy-box { padding: 24px; }
  .sn-what-philosophy-title { font-size: 24px; }

  /* History Timeline Mobile */
  .sn-what-history-header h2 { font-size: 24px; }
  .sn-timeline { padding-left: 60px; }
  .sn-timeline::before { left: 20px; }
  .sn-timeline-year {
    left: -80px;
    width: 80px;
    height: 40px;
    font-size: 24px;
    line-height: 34px;
  }
  .sn-timeline-event { gap: 10px; }
  .sn-timeline-month { font-size: 16px; min-width: 50px; }
  .sn-timeline-month img { width: 24px; height: 24px; }
  
  .sn-timeline-media-row { 
    flex-direction: column; 
    align-items: flex-start;
    padding: 14px;
    width: fit-content;
  }
  .sn-timeline-media-box { 
    max-width: 100%; 
  }
  .sn-timeline-award-box {
    flex-direction: column;
    align-items: flex-start;
    width: fit-content;
  }
  
  .sn-timeline-note {
    min-width: 100%;
    padding: 40px 14px 20px;
  }
  
  .sn-timeline-responsive-row {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 16px !important;
  }
  .sn-timeline-brackets {
    display: none !important;
  }
  .sn-responsive-logo {
    width: 100% !important;
    max-width: 240px;
    height: auto !important;
  }
}
