*, *::before, *::after { box-sizing: border-box; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  position: fixed;
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  padding: 10px 16px;
  background: #FFFFFF;
  color: #2C2C2C;
  border: 1px solid rgba(60, 60, 60, 0.3);
  z-index: 200;
  font-family: "Shippori Mincho B1", serif;
  font-size: 14px;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: "Shippori Mincho B1", "游明朝", "YuMincho", serif;
  color: #505050;
  background: #FFFFFF;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* ---------- NAV ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(60, 60, 60, 0.08);
}
.nav-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-logo { text-decoration: none; display: flex; align-items: center; }
.nav-logo-img {
  height: 28px;
  width: auto;
  display: block;
}
.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-links a {
  font-family: "EB Garamond", serif;
  font-size: 14px;
  color: #505050;
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}
.nav-links a:hover { color: #2C2C2C; }
.nav-contact {
  font-family: "Shippori Mincho B1", serif !important;
  padding: 8px 20px;
  border: 1px solid rgba(60, 60, 60, 0.2);
  border-radius: 2px;
  font-size: 13px !important;
  transition: background 0.2s;
}
.nav-contact:hover { background: rgba(60, 60, 60, 0.04); }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  width: 100%;
  height: calc(100vh - 61px);
  max-height: calc(100vh - 61px);
  background: #FFFFFF;
  overflow: hidden;
}
.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
}
.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.7s ease;
}
.hero-slide.is-active { opacity: 1; }
.hero-slide--photo img,
.hero-slide--photo picture {
  width: 100%;
  height: 100%;
  display: block;
}
.hero-slide--photo img {
  object-fit: cover;
}
.hero-slide--logo { background: #FFFFFF; }
.hero-logo-img {
  width: 80%;
  max-width: 448px;
  height: auto;
  display: block;
}
@media (max-width: 768px) {
  .hero-logo-img { max-width: 336px; }
}
@media (max-width: 480px) {
  .hero-logo-img { max-width: 240px; }
}
.hero-inner { padding: 80px 32px; max-width: 720px; width: 100%; }
.hero-logo {
  margin: 0 0 32px;
}
.hero-logo img {
  width: 100%;
  max-width: 560px;
  height: auto;
  margin: 0 auto;
  display: block;
}
.hero-sub {
  font-family: "Shippori Mincho B1", serif;
  font-size: 14px;
  color: #8C8C8C;
  letter-spacing: 0.1em;
  margin: 0;
}

/* ---------- SECTION ---------- */
.section { padding: 120px 32px; }
.section:nth-of-type(even) { background: #F7F6F4; }
.section-inner { max-width: 680px; margin: 0 auto; }
.section-inner--wide { max-width: 1000px; margin: 0 auto; }
.section-header { margin-bottom: 64px; }
.section-label {
  font-family: "EB Garamond", serif;
  font-size: 14px;
  color: #8C8C8C;
  letter-spacing: 0.15em;
  text-transform: capitalize;
  margin: 0;
}
.section-title {
  font-family: "Shippori Mincho B1", serif;
  font-size: 20px;
  font-weight: 400;
  color: #2C2C2C;
  margin: 12px 0 0;
  letter-spacing: 0.05em;
}

/* ---------- STORY ---------- */
.story-text {
  font-family: "Shippori Mincho B1", serif;
  font-size: 16px;
  line-height: 2.2;
  color: #505050;
  letter-spacing: 0.05em;
  margin: 0 0 40px;
}
.story-text:first-child {
  font-size: 20px;
  color: #2C2C2C;
  font-weight: 500;
  margin-bottom: 48px;
}

/* ---------- SERVICE ---------- */
.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 64px;
}
.service-card {
  background: #FFFFFF;
  border: 1px solid rgba(60, 60, 60, 0.08);
  border-radius: 4px;
  overflow: hidden;
}
.service-card-image img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.service-card-body { padding: 32px; }
.service-card-name-en {
  font-family: "EB Garamond", serif;
  font-size: 22px;
  font-weight: 400;
  color: #2C2C2C;
  letter-spacing: 0.05em;
  margin: 0 0 4px;
}
.service-card-name-ja {
  font-family: "Shippori Mincho B1", serif;
  font-size: 13px;
  color: #8C8C8C;
  letter-spacing: 0.08em;
  margin: 0 0 20px;
}
.service-card-desc {
  font-family: "Shippori Mincho B1", serif;
  font-size: 14px;
  line-height: 2.0;
  color: #505050;
  letter-spacing: 0.04em;
  margin: 0 0 24px;
}
.service-card-link {
  font-family: "EB Garamond", serif;
  font-size: 14px;
  color: #3C5A7A;
  text-decoration: none;
  letter-spacing: 0.05em;
  display: inline-block;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(60, 90, 122, 0.3);
  transition: color 0.2s, border-color 0.2s;
}
.service-card-link:hover {
  color: #2A4560;
  border-bottom-color: #2A4560;
}
.service-card-coming {
  font-family: "EB Garamond", "Shippori Mincho B1", serif;
  font-size: 13px;
  color: #8C8C8C;
  letter-spacing: 0.1em;
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid rgba(60, 60, 60, 0.15);
  border-radius: 2px;
}

/* ---------- ABOUT ---------- */
.about-mission { margin-bottom: 48px; }
.about-mission-text {
  font-family: "Shippori Mincho B1", serif;
  font-size: 22px;
  font-weight: 500;
  color: #2C2C2C;
  letter-spacing: 0.08em;
  line-height: 1.8;
  margin: 0 0 24px;
}
.about-desc {
  font-family: "Shippori Mincho B1", serif;
  font-size: 15px;
  line-height: 2.0;
  color: #505050;
  letter-spacing: 0.04em;
  margin: 0;
}
.about-objectives { margin-bottom: 64px; }
.about-objectives-lead {
  font-family: "Shippori Mincho B1", serif;
  font-size: 14px;
  color: #8C8C8C;
  margin: 0 0 20px;
  letter-spacing: 0.04em;
}
.about-objectives-list {
  font-family: "Shippori Mincho B1", serif;
  font-size: 14px;
  line-height: 2.0;
  color: #505050;
  letter-spacing: 0.03em;
  padding-left: 24px;
  margin: 0;
}
.about-objectives-list li { margin-bottom: 12px; }
.about-table {
  border-top: 1px solid rgba(60, 60, 60, 0.12);
  padding-top: 48px;
}
.about-table table {
  width: 100%;
  border-collapse: collapse;
  font-family: "IBM Plex Sans JP", sans-serif;
  font-size: 14px;
}
.about-table th {
  text-align: left;
  vertical-align: top;
  padding: 16px 24px 16px 0;
  color: #8C8C8C;
  font-weight: 400;
  width: 120px;
  white-space: nowrap;
  border-bottom: 1px solid rgba(60, 60, 60, 0.06);
}
.about-table td {
  padding: 16px 0;
  color: #505050;
  line-height: 1.8;
  border-bottom: 1px solid rgba(60, 60, 60, 0.06);
}

/* ---------- CONTACT ---------- */
.contact-form {
  margin-top: 48px;
  max-width: 560px;
}
.form-group { margin-bottom: 28px; }
.form-group label {
  display: block;
  font-family: "Shippori Mincho B1", serif;
  font-size: 13px;
  color: #505050;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}
.required { color: #3C5A7A; font-size: 12px; }
.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: "Shippori Mincho B1", serif;
  font-size: 15px;
  color: #2C2C2C;
  background: #FFFFFF;
  border: 1px solid rgba(60, 60, 60, 0.15);
  border-radius: 2px;
  outline: none;
  transition: border-color 0.2s;
  letter-spacing: 0.03em;
}
.form-group input:focus,
.form-group textarea:focus { border-color: #3C5A7A; }
.form-group textarea { resize: vertical; line-height: 1.8; }
.form-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
}
.form-checkbox label {
  margin-bottom: 0;
  font-size: 13px;
  color: #8C8C8C;
}
.form-submit {
  font-family: "Shippori Mincho B1", serif;
  font-size: 14px;
  color: #505050;
  background: transparent;
  border: 1px solid rgba(60, 60, 60, 0.2);
  border-radius: 2px;
  padding: 14px 48px;
  cursor: pointer;
  letter-spacing: 0.08em;
  transition: all 0.2s;
  margin-top: 8px;
}
.form-submit:hover {
  background: rgba(60, 60, 60, 0.04);
  border-color: rgba(60, 60, 60, 0.4);
  color: #2C2C2C;
}

/* ---------- FOOTER ---------- */
.footer {
  padding: 48px 32px;
  text-align: center;
  border-top: 1px solid rgba(60, 60, 60, 0.08);
}
.footer-inner { max-width: 1000px; margin: 0 auto; }
.footer-logo-img {
  height: 28px;
  width: auto;
  margin: 0 auto 16px;
  display: block;
}
.footer-copy {
  font-size: 12px;
  color: #8C8C8C;
  letter-spacing: 0.03em;
  margin: 0;
}

/* ---------- FADE-IN ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
  .nav-links { gap: 20px; }
  .section { padding: 80px 24px; }
  .section-inner, .section-inner--wide { max-width: 100%; }
  .service-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-logo img { max-width: 420px; }
  .story-text { font-size: 15px; }
}

@media (max-width: 480px) {
  .nav-inner { padding: 12px 20px; }
  .nav-links a:not(.nav-contact) { display: none; }
  .nav-contact {
    padding: 5px 12px;
    font-size: 11px !important;
    white-space: nowrap;
    letter-spacing: 0.03em;
  }
  .nav-logo-img { height: 24px; }
  .section { padding: 64px 20px; }
  .hero { min-height: 60vh; }
  .hero-logo img { max-width: 300px; }
  .about-table th {
    display: block;
    width: 100%;
    padding-bottom: 4px;
    border-bottom: none;
  }
  .about-table td {
    display: block;
    padding-top: 0;
  }
}
