﻿:root {
  --bg: #f8f9ff;
  --bg-soft: #eef5ff;
  --surface: rgba(255, 255, 255, 0.9);
  --surface-strong: #ffffff;
  --line: #d8e3f2;
  --text: #2e3145;
  --muted: #6f7692;
  --pastel-blue: #9ecbff;
  --pastel-pink: #ffc7dd;
  --pastel-mint: #b9efd9;
  --pastel-lavender: #d4cbff;
  --max-width: 1120px;
  --radius: 20px;
  --shadow: 0 16px 36px rgba(83, 98, 140, 0.14);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  color: var(--text);
  background:
    radial-gradient(45% 35% at 0% 0%, rgba(158, 203, 255, 0.35), transparent 65%),
    radial-gradient(45% 35% at 100% 10%, rgba(255, 199, 221, 0.35), transparent 65%),
    linear-gradient(180deg, #fcfdff 0%, var(--bg) 45%, var(--bg-soft) 100%);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(var(--max-width), 92%);
  margin: 0 auto;
}

.ambient {
  position: fixed;
  pointer-events: none;
  z-index: -1;
  filter: blur(70px);
  opacity: 0.6;
}

.ambient-1 {
  width: 280px;
  height: 280px;
  border-radius: 999px;
  background: rgba(158, 203, 255, 0.55);
  top: -100px;
  left: -80px;
}

.ambient-2 {
  width: 320px;
  height: 320px;
  border-radius: 999px;
  background: rgba(255, 199, 221, 0.55);
  right: -90px;
  bottom: -120px;
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(216, 227, 242, 0.8);
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.8);
}

.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
}

.logo-main {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  letter-spacing: 0.08em;
}

.logo-sub {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  color: var(--muted);
  margin-top: 2px;
}

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

.nav a {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  color: #5d6584;
  transition: color 0.2s ease;
}

.nav a:hover {
  color: #2e3145;
}

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

.header-social a {
  font-size: 0.75rem;
  line-height: 1;
  color: #4c567a;
  background: #ffffff;
  border: 1px solid #d8e3f2;
  border-radius: 999px;
  padding: 8px 12px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.header-social a:hover {
  transform: translateY(-2px);
  border-color: #b7c9e8;
}

.menu-btn {
  display: none;
  background: #ffffff;
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 10px;
  padding: 8px 12px;
  letter-spacing: 0.08em;
}

.hero {
  text-align: center;
  padding: 116px 0 72px;
}

.hero-tag {
  margin: 0;
  color: #6c78a8;
  letter-spacing: 0.2em;
  font-size: 0.76rem;
}

.hero h1 {
  margin: 18px 0 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.5rem, 8vw, 5.4rem);
  line-height: 1.08;
  font-weight: 600;
}

.hero h1 span {
  display: block;
  color: #5c7acb;
}

.hero-lead {
  margin: 20px auto 0;
  color: var(--muted);
  width: min(100%, 720px);
  font-size: clamp(0.98rem, 2.6vw, 1.1rem);
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  min-width: 180px;
  padding: 12px 18px;
  border-radius: 999px;
  text-align: center;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.btn-fill {
  background: linear-gradient(135deg, #a7c7ff, #c6b9ff);
  color: #243057;
  box-shadow: 0 10px 22px rgba(150, 170, 225, 0.3);
}

.btn-line {
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--text);
}

.section {
  padding: 66px 0;
}

.section-head {
  margin-bottom: 22px;
}

.section-head.row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-end;
}

.section-kicker {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  color: #7a83aa;
}

.section-head h2 {
  margin: 8px 0 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.15;
  font-weight: 600;
}

.text-link {
  color: #6e7697;
  border-bottom: 1px solid #cfd9ec;
  padding-bottom: 3px;
  align-self: center;
}

.modal-open-btn {
  background: transparent;
  border-top: 0;
  border-left: 0;
  border-right: 0;
  cursor: pointer;
  font: inherit;
}

.glass-card {
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.95), rgba(245, 250, 255, 0.9));
  border: 1px solid rgba(216, 227, 242, 0.9);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-card {
  padding: 30px;
}

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

.company-card {
  padding: 18px 20px;
}

.company-list {
  margin: 0;
}

.company-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 10px 16px;
  padding: 14px 0;
  border-bottom: 1px solid #e3ebf7;
}

.company-row:last-child {
  border-bottom: 0;
}

.company-row dt {
  margin: 0;
  font-weight: 700;
  color: #4d5a84;
}

.company-row dd {
  margin: 0;
  color: #2e3145;
}

.company-row a {
  color: #4f67a8;
  border-bottom: 1px solid #cfd9ec;
}

.talent-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.talent-card {
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
}

.talent-card img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.talent-body {
  padding: 18px;
}

.talent-body h3 {
  margin: 0;
  font-size: 1.3rem;
  color: #2e3555;
}

.talent-sns {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.talent-sns a {
  font-size: 0.8rem;
  line-height: 1;
  color: #425084;
  border: 1px solid #d6e2f6;
  border-radius: 999px;
  padding: 8px 10px;
  background: #ffffff;
}

.talent-profile {
  margin: 12px 0 0;
  color: #5f6788;
  font-size: 0.95rem;
}

.talent-works {
  margin: 10px 0 0;
  color: #3d4668;
  font-size: 0.9rem;
}

.talent-works span {
  font-weight: 700;
}
.news-list {
  display: grid;
  gap: 10px;
}

.news-item {
  border: 1px solid #dbe6f4;
  border-radius: 14px;
  padding: 16px 18px;
  display: grid;
  gap: 8px;
  background: #ffffff;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.news-item:hover {
  border-color: #b9cced;
  transform: translateY(-2px);
}

.news-item time {
  font-size: 0.84rem;
  color: #6f7aaa;
}

.news-item p {
  margin: 0;
}

.contact-card {
  padding: 34px 24px;
  text-align: center;
}

.contact-card h2 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: clamp(2rem, 5vw, 2.8rem);
  margin: 8px 0 0;
}

.contact-text {
  color: var(--muted);
  margin: 14px 0 0;
}

.contact-actions {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.sns-highlight {
  text-align: center;
  padding: 8px 0 26px;
}

.sns-highlight h2 {
  margin: 8px 0 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.8rem, 4.5vw, 2.5rem);
}

.sns-highlight-groups {
  width: min(100%, 760px);
  margin: 20px auto 0;
  display: grid;
  gap: 16px;
}

.sns-group {
  padding: 24px;
  text-align: center;
}

.sns-group-title {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.8rem;
  line-height: 1.1;
}

.sns-highlight-links {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.sns-highlight-links a {
  font-size: 0.95rem;
  color: #2f3b67;
  background: linear-gradient(135deg, #d7e7ff, #efe2ff);
  border: 1px solid #c7d8f2;
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: 0 8px 18px rgba(126, 147, 199, 0.2);
  text-align: center;
}

.official-social {
  margin-top: 20px;
}

.official-social p {
  margin: 0;
  font-weight: 600;
  color: #5d678e;
}

.official-social-sections {
  margin-top: 12px;
  display: grid;
  gap: 16px;
}

.official-social-section {
  padding: 18px;
  border: 1px solid #d8e3f2;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  text-align: center;
}

.official-social-title {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.45rem;
  color: #3b466d;
}

.official-social-links {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.official-social-links a {
  font-size: 0.9rem;
  color: #42507f;
  background: #ffffff;
  border: 1px solid #d8e3f2;
  border-radius: 14px;
  padding: 10px 14px;
  text-align: center;
}

.footer {
  border-top: 1px solid #d8e3f2;
  margin-top: 40px;
}

.footer-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.9rem;
}

.mobile-sns-fixed {
  display: none;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(25, 31, 54, 0.35);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.open {
  display: flex;
}

.history-modal {
  width: min(760px, 100%);
  max-height: min(84vh, 900px);
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #d8e3f2;
  border-radius: 16px;
  box-shadow: 0 20px 46px rgba(53, 73, 118, 0.28);
  display: grid;
  grid-template-rows: auto 1fr;
}

.history-modal-head {
  position: relative;
  padding: 18px 48px 14px 20px;
  border-bottom: 1px solid #e2ebf7;
}

.history-modal-head h3 {
  margin: 8px 0 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  line-height: 1.1;
}

.modal-close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border: 1px solid #d8e3f2;
  border-radius: 999px;
  background: #ffffff;
  color: #3d4564;
  font-size: 1.2rem;
  cursor: pointer;
}

.history-modal-body {
  overflow: auto;
  padding: 14px 20px 20px;
}

.history-year-block {
  padding: 12px 0;
  border-bottom: 1px solid #edf2fa;
}

.history-year-block:last-child {
  border-bottom: 0;
}

.history-year {
  margin: 0;
  font-weight: 700;
  color: #5368a1;
}

.history-year-block ul {
  margin: 8px 0 0;
  padding-left: 1.2em;
}

.history-year-block li {
  margin: 0 0 6px;
  color: #3e4562;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .section {
    padding: 56px 0;
  }
}

@media (max-width: 720px) {
  body {
    padding-bottom: 86px;
  }

  .container {
    width: min(100%, 92%);
  }

  .menu-btn {
    display: inline-flex;
  }

  .header-social {
    display: none;
  }

  .nav {
    display: none;
    position: absolute;
    right: 4%;
    top: 64px;
    width: min(260px, 92vw);
    padding: 16px;
    border: 1px solid #d8e3f2;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.97);
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    box-shadow: 0 10px 26px rgba(88, 107, 145, 0.14);
  }

  .nav.open {
    display: flex;
  }

  .hero {
    padding-top: 92px;
  }

  .sns-highlight {
    display: none;
  }

  .section-head.row {
    flex-direction: column;
    align-items: flex-start;
  }
  .talent-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(84%, 1fr);
    overflow-x: auto;
    gap: 12px;
    padding: 2px 4% 8px 0;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .talent-grid::-webkit-scrollbar {
    display: none;
  }

  .talent-card {
    scroll-snap-align: start;
  }

  .company-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .btn {
    width: 100%;
    min-width: 0;
  }

  .contact-actions {
    width: 100%;
  }

  .mobile-sns-fixed {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: 10px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    z-index: 40;
    padding: 8px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #cfdcf2;
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(82, 101, 142, 0.24);
    backdrop-filter: blur(8px);
  }

  .mobile-sns-fixed a {
    text-align: center;
    font-size: 0.82rem;
    font-weight: 700;
    color: #2f3b67;
    background: linear-gradient(135deg, #dce9ff, #f4e9ff);
    border: 1px solid #c9d9f1;
    border-radius: 10px;
    padding: 10px 8px;
  }

  .history-modal {
    max-height: 88vh;
  }

  .history-modal-head h3 {
    font-size: 1.7rem;
  }
}



