/* ===================================
   TechnoBridge Corporate Site
   Accent: Teal #0d9488
   Base: White + Dark Navy
   Font: Noto Sans JP
   =================================== */

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  color: #1e293b;
  background: #fff;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition:
    color 0.2s,
    opacity 0.2s;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.sp-only {
  display: none;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 600;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-align: center;
  transition:
    transform 0.2s,
    box-shadow 0.2s,
    background 0.2s;
  letter-spacing: 0.04em;
  font-size: 0.9rem;
}

.btn:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.btn-primary {
  background: #0d9488;
  color: #fff;
  padding: 14px 36px;
}

.btn-primary:hover {
  background: #0f766e;
  box-shadow: 0 4px 16px rgba(13, 148, 136, 0.25);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.7);
  padding: 12px 34px;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

.btn-outline-dark {
  background: transparent;
  color: #1e293b;
  border: 2px solid #cbd5e1;
  padding: 14px 40px;
}

.btn-outline-dark:hover {
  border-color: #0d9488;
  color: #0d9488;
}

.btn-white {
  background: #fff;
  color: #0d9488;
  padding: 16px 44px;
  font-size: 0.95rem;
}

.btn-white:hover {
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.3);
}

.btn-header {
  background: #0d9488;
  color: #fff;
  padding: 10px 24px;
  font-size: 0.82rem;
}

.btn-text {
  background: none;
  color: #0d9488;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0;
}

.btn-text:hover {
  transform: none;
  color: #0f766e;
}

.btn-submit {
  width: 100%;
  padding: 16px;
  font-size: 1rem;
}

/* --- Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.logo span {
  color: #0d9488;
}

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

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

.nav-list a {
  font-size: 0.82rem;
  font-weight: 500;
  color: #475569;
}

.nav-list a:hover {
  color: #0d9488;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #1e293b;
  transition:
    transform 0.3s,
    opacity 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.header-note {
  text-align: center;
  font-size: 0.68rem;
  color: #15803d !important;
  padding: 2px 0;
}

/* --- Hero --- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  max-height: 900px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-visual {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

.hero-content {
  position: relative;
  color: #fff;
  z-index: 2;
  padding-top: 72px;
}

.hero-label {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 20px;
  opacity: 0.8;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.hero-text {
  font-size: 1rem;
  line-height: 1.9;
  opacity: 0.85;
  margin-bottom: 40px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  right: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
}

.hero-scroll span {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.1em;
  writing-mode: vertical-lr;
}

.hero-scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), transparent);
}

/* --- Section Common --- */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  text-align: left;
}

.section-en {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #0d9488;
  margin-bottom: 8px;
}

.section-en.white {
  color: rgba(255, 255, 255, 0.7);
}

.section-title {
  font-size: 1.9rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 12px;
}

.section-title.white {
  color: #fff;
}

.section-desc {
  font-size: 0.92rem;
  color: #64748b;
  line-height: 1.8;
}

/* --- About --- */
.about {
  padding: 120px 0;
}

.about-content {
  display: flex;
  gap: 60px;
  align-items: center;
}

.about-image {
  flex-shrink: 0;
  width: 460px;
  height: 380px;
  border-radius: 12px;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-body {
  flex: 1;
}

.about-heading {
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.6;
  color: #0f172a;
  margin-bottom: 20px;
}

.about-text {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.9;
  margin-bottom: 12px;
}

.about-numbers {
  display: flex;
  gap: 36px;
  margin: 32px 0;
  padding: 28px 0;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.number-value {
  font-size: 2.2rem;
  font-weight: 700;
  color: #0d9488;
  line-height: 1.2;
}

.number-value small {
  font-size: 1rem;
}

.number-label {
  display: block;
  font-size: 0.78rem;
  color: #64748b;
  margin-top: 4px;
}

/* --- Services --- */
.services {
  padding: 120px 0;
  background: #f8fafb;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.service-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
  transition:
    box-shadow 0.3s,
    transform 0.2s;
}

.service-card:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

.service-image {
  height: 200px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-body {
  padding: 32px;
}

.service-num {
  font-size: 2rem;
  font-weight: 700;
  color: rgba(13, 148, 136, 0.12);
  line-height: 1;
  display: block;
  margin-bottom: 8px;
}

.service-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 12px;
}

.service-text {
  font-size: 0.85rem;
  color: #475569;
  line-height: 1.85;
  margin-bottom: 16px;
}

.service-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: #0d9488;
}

.service-link:hover {
  color: #0f766e;
}

/* --- Works --- */
.works {
  padding: 120px 0;
}

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

.work-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
}

.work-card-large {
  grid-column: span 2;
  grid-row: span 2;
}

.work-image {
  width: 100%;
  height: 100%;
  min-height: 220px;
  transition: transform 0.4s;
}

.work-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-card-large .work-image {
  min-height: 460px;
}

.work-card:hover .work-image {
  transform: scale(1.03);
}

.work-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
  color: #fff;
}

.work-category {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.2);
  padding: 3px 10px;
  border-radius: 3px;
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}

.work-title {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
}

.work-card-large .work-title {
  font-size: 1.3rem;
}

.work-desc {
  font-size: 0.82rem;
  opacity: 0.8;
  margin-top: 8px;
}

.works-more {
  text-align: center;
  margin-top: 48px;
}

/* --- Voices --- */
.voices {
  padding: 120px 0;
  background: #f8fafb;
}

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

.voice-card {
  background: #fff;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
  border-left: 4px solid #0d9488;
}

.voice-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.voice-avatar {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.voice-avatar span {
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
}

.voice-company {
  font-size: 0.82rem;
  font-weight: 600;
  color: #0f172a;
}

.voice-project {
  font-size: 0.75rem;
  color: #64748b;
  margin-top: 2px;
}

.voice-text {
  font-size: 0.85rem;
  color: #475569;
  line-height: 1.9;
}

/* --- News --- */
.news {
  padding: 100px 0;
}

.news-list {
  border-top: 1px solid #e2e8f0;
}

.news-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid #e2e8f0;
  transition: background 0.2s;
}

.news-item:hover {
  opacity: 1;
  background: #f8fafb;
  padding-left: 12px;
}

.news-date {
  flex-shrink: 0;
  font-size: 0.82rem;
  color: #64748b;
  width: 100px;
}

.news-tag {
  flex-shrink: 0;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 12px;
  border-radius: 3px;
  width: 100px;
  text-align: center;
}

.tag-info {
  background: #e0f2fe;
  color: #0369a1;
}
.tag-press {
  background: #dcfce7;
  color: #15803d;
}
.tag-blog {
  background: #fef3c7;
  color: #a16207;
}
.tag-case {
  background: #f3e8ff;
  color: #7e22ce;
}

.news-title {
  flex: 1;
  font-size: 0.9rem;
  font-weight: 500;
  color: #1e293b;
}

.news-more {
  text-align: center;
  margin-top: 24px;
}

/* --- Recruit --- */
.recruit {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}

.recruit-bg {
  position: absolute;
  inset: 0;
}

.recruit-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.3);
}

.recruit-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
}

.recruit-text {
  font-size: 0.95rem;
  line-height: 1.9;
  opacity: 0.85;
  margin-bottom: 48px;
}

.recruit-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.recruit-card {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 32px 24px;
  text-align: left;
}

.recruit-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.recruit-card p {
  font-size: 0.82rem;
  opacity: 0.8;
  line-height: 1.7;
}

/* --- Contact --- */
.contact {
  padding: 120px 0;
  background: #f8fafb;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 48px;
  align-items: start;
}

.contact-info-item {
  margin-bottom: 36px;
}

.contact-info-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.contact-phone {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f172a;
}

.contact-email {
  font-size: 1rem;
  font-weight: 600;
  color: #0d9488;
}

.contact-info-note {
  font-size: 0.75rem;
  color: #94a3b8;
  margin-top: 4px;
}

.contact-form {
  background: #fff;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.form-group:last-child {
  margin-bottom: 0;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #334155;
}

.required {
  color: #ef4444;
  font-size: 0.72rem;
  margin-left: 4px;
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.88rem;
  padding: 12px 14px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background: #f9fafb;
  color: #1e293b;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #0d9488;
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
  background: #fff;
}

.form-group textarea {
  resize: vertical;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='%2364748b'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.form-privacy {
  margin: 20px 0;
}

.form-privacy label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: #64748b;
  cursor: pointer;
}

.form-privacy input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #0d9488;
}

/* --- Footer --- */
.footer {
  background: #0f172a;
  padding: 60px 0 0;
  color: rgba(255, 255, 255, 0.6);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
  font-size: 1.3rem;
  color: #fff;
}

.footer-logo span {
  color: #2dd4bf;
}

.footer-desc {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 12px;
  line-height: 1.7;
}

.footer-nav {
  display: flex;
  gap: 60px;
}

.footer-nav-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}

.footer-nav-col ul li {
  margin-bottom: 10px;
}

.footer-nav-col a {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer-nav-col a:hover {
  color: #fff;
  opacity: 1;
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
}

.portfolio-note {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 6px;
}

.copyright {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.25);
}

/* ===================================
   Responsive (768px)
   =================================== */
@media (max-width: 768px) {
  .sp-only {
    display: inline;
  }
  .pc-only {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .nav {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(8px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    z-index: 999;
  }

  .nav.active {
    display: flex;
  }

  .nav-list {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .nav-list a {
    font-size: 1rem;
  }

  /* Hero */
  .hero {
    height: auto;
    min-height: 0;
    max-height: none;
    padding: 130px 0 80px;
  }

  .hero-title {
    font-size: 2rem;
  }
  .hero-text {
    font-size: 0.88rem;
  }
  .hero-scroll {
    display: none;
  }
  .hero-btns {
    flex-direction: column;
    gap: 12px;
  }
  .hero-btns .btn {
    text-align: center;
  }

  /* About */
  .about {
    padding: 80px 0;
  }

  .about-content {
    flex-direction: column;
    gap: 36px;
  }

  .about-image {
    width: 100%;
    height: 240px;
  }

  .about-heading {
    font-size: 1.2rem;
  }

  .about-numbers {
    gap: 20px;
  }

  .number-value {
    font-size: 1.6rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  /* Services */
  .services {
    padding: 80px 0;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-image {
    height: 160px;
  }
  .service-body {
    padding: 24px;
  }

  /* Works */
  .works {
    padding: 80px 0;
  }

  .works-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .work-card-large {
    grid-column: span 1;
    grid-row: span 1;
  }

  .work-card-large .work-image {
    min-height: 240px;
  }

  .work-image {
    min-height: 200px;
  }

  /* Voices */
  .voices {
    padding: 80px 0;
  }

  .voices-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .voice-card {
    padding: 24px;
  }

  /* News */
  .news {
    padding: 60px 0;
  }

  .section-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .news-item {
    flex-wrap: wrap;
    gap: 8px 12px;
    padding: 16px 0;
  }

  .news-date {
    width: auto;
  }
  .news-tag {
    width: auto;
  }
  .news-title {
    flex-basis: 100%;
  }

  /* Recruit */
  .recruit {
    padding: 80px 0;
  }

  .recruit-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Contact */
  .contact {
    padding: 80px 0;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .contact-form {
    padding: 28px 20px;
  }

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

  /* Footer */
  .footer-top {
    flex-direction: column;
    gap: 36px;
  }

  .footer-nav {
    flex-wrap: wrap;
    gap: 32px 40px;
  }
}
