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

:root {
  --teal: #4EA99E;
  --teal-light: #3DB8A9;
  --teal-soft: #E8F5F3;
  --teal-bg: #F0FAF8;
  --white: #FFFFFF;
  --warm-white: #FAFAF8;
  --sand: #F7F0E4;
  --sand-light: #FBF7F0;
  --dark: #1A1A1A;
  --dark-secondary: #3A3A3A;
  --gray: #6B6B6B;
  --gray-light: #9A9A9A;
  --gray-border: #E8E8E4;
  --serif: 'Shippori Mincho B1', 'YuMincho', '游明朝', serif;
  --serif-en: 'DM Serif Display', 'Georgia', serif;
  --sans: 'Zen Kaku Gothic New', 'Hiragino Kaku Gothic ProN', sans-serif;
  --sans-en: 'DM Sans', 'Zen Kaku Gothic New', sans-serif;
  --nav-height: 72px;
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { font-family: var(--sans); font-weight: 400; color: var(--dark); background: var(--warm-white); line-height: 1.8; font-size: 15px; overflow-x: hidden; letter-spacing: 0.03em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 900px; margin: 0 auto; padding: 0 24px; }

.section-label { font-family: var(--serif-en); font-size: 14px; font-weight: 400; letter-spacing: 0.12em; color: var(--teal); margin-bottom: 16px; font-style: italic; }
.section-heading { font-family: var(--serif); font-size: clamp(28px, 4vw, 44px); font-weight: 500; line-height: 1.5; letter-spacing: 0.06em; color: var(--dark); margin-bottom: 20px; }
.section-desc { font-size: 15px; line-height: 2; color: var(--gray); max-width: 640px; }

.fade-in { opacity: 0; transform: translateY(32px); transition: opacity 0.8s cubic-bezier(0.25,0.1,0.25,1), transform 0.8s cubic-bezier(0.25,0.1,0.25,1); }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }

/* NAV */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; height: var(--nav-height); display: flex; align-items: center; transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease; background: rgba(250,250,248,0.92); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 1px 0 rgba(0,0,0,0.06); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.nav__logo { font-family: var(--serif); font-size: 17px; font-weight: 500; letter-spacing: 0.1em; color: var(--dark); }
.nav__logo span { font-weight: 600; letter-spacing: 0.08em; }
.nav__links { display: flex; gap: 32px; list-style: none; }
.nav__links a { font-size: 13px; font-weight: 400; letter-spacing: 0.04em; color: var(--dark-secondary); transition: color 0.3s ease; position: relative; }
.nav__links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 1px; background: var(--teal); transition: width 0.3s ease; }
.nav__links a:hover { color: var(--teal); }
.nav__links a:hover::after { width: 100%; }
.nav__hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; background: none; border: none; }
.nav__hamburger span { display: block; width: 20px; height: 1.5px; background: var(--dark); transition: transform 0.3s ease, opacity 0.3s ease; }
.nav__hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.nav__hamburger.active span:nth-child(2) { opacity: 0; }
.nav__hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
.nav__mobile { display: none; position: fixed; top: var(--nav-height); left: 0; right: 0; bottom: 0; background: rgba(250,250,248,0.98); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); z-index: 999; padding: 40px 24px; }
.nav__mobile.active { display: flex; flex-direction: column; gap: 0; }
.nav__mobile a { font-size: 18px; font-weight: 400; padding: 20px 0; border-bottom: 1px solid var(--gray-border); display: block; }

/* BREADCRUMB */
.breadcrumb { padding-top: calc(var(--nav-height) + 32px); padding-bottom: 16px; }
.breadcrumb__list { display: flex; align-items: center; gap: 8px; list-style: none; font-size: 13px; color: var(--gray-light); }
.breadcrumb__list a { color: var(--gray-light); transition: color 0.3s ease; }
.breadcrumb__list a:hover { color: var(--teal); }
.breadcrumb__separator { color: var(--gray-border); }

/* PAGE HERO */
.page-hero { padding: 60px 0 80px; text-align: center; background: linear-gradient(180deg, var(--warm-white) 0%, #F4F9F8 50%, var(--warm-white) 100%); }
.page-hero__label { font-family: var(--serif-en); font-size: 14px; font-weight: 400; letter-spacing: 0.15em; color: var(--teal); margin-bottom: 16px; font-style: italic; }
.page-hero__title { font-family: var(--serif); font-size: clamp(32px, 5vw, 52px); font-weight: 500; line-height: 1.5; letter-spacing: 0.08em; color: var(--dark); margin-bottom: 20px; }
.page-hero__desc { font-size: 15px; line-height: 2; color: var(--gray); max-width: 600px; margin: 0 auto; }

/* PHILOSOPHY EXPANDED */
.philosophy-full { padding: 100px 0; background: var(--warm-white); }
.philosophy-full__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-top: 64px; }
.philosophy-full__item { text-align: center; padding: 56px 32px; border-radius: 10px; background: var(--white); border: 1px solid var(--gray-border); transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease; }
.philosophy-full__item:hover { border-color: rgba(78,169,158,0.3); box-shadow: 0 16px 48px rgba(78,169,158,0.08); transform: translateY(-4px); }
.philosophy-full__number { font-family: var(--serif-en); font-size: 56px; font-weight: 400; color: var(--teal); line-height: 1; margin-bottom: 24px; opacity: 0.5; font-style: italic; }
.philosophy-full__item-title { font-family: var(--serif); font-size: 22px; font-weight: 500; margin-bottom: 8px; letter-spacing: 0.08em; }
.philosophy-full__item-en { font-family: var(--sans-en); font-size: 12px; font-weight: 400; letter-spacing: 0.1em; color: var(--teal); margin-bottom: 20px; text-transform: uppercase; }
.philosophy-full__divider { width: 40px; height: 1px; background: var(--gray-border); margin: 20px auto; }
.philosophy-full__item-desc { font-size: 14px; line-height: 2.2; color: var(--gray); text-align: left; }

/* VISION */
.vision { padding: 100px 0; background: var(--sand-light); }
.vision__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.vision__photo { aspect-ratio: 4/3; background: linear-gradient(145deg, #B8DDD7 0%, #8FC4BC 100%); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-family: var(--sans-en); font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.6); }
.vision__content {}
.vision__quote { font-family: var(--serif); font-size: clamp(20px, 3vw, 26px); font-weight: 400; line-height: 1.8; color: var(--dark); margin-bottom: 28px; padding-left: 24px; border-left: 2px solid var(--teal); letter-spacing: 0.06em; }
.vision__text { font-size: 14px; line-height: 2.2; color: var(--gray); }
.vision__text p + p { margin-top: 16px; }

/* CORPORATE TABLE */
.corporate { padding: 100px 0; background: var(--white); }
.corporate__table-wrap { max-width: 800px; margin: 48px auto 0; }
.corporate__table { width: 100%; border-collapse: collapse; }
.corporate__table th, .corporate__table td { padding: 20px 24px; text-align: left; border-bottom: 1px solid var(--gray-border); font-size: 14px; line-height: 1.8; }
.corporate__table th { font-weight: 500; color: var(--dark); width: 180px; background: var(--warm-white); font-family: var(--serif); letter-spacing: 0.04em; vertical-align: top; }
.corporate__table td { color: var(--gray); }

/* TIMELINE */
.timeline-section { padding: 100px 0; background: var(--warm-white); }
.timeline { max-width: 800px; margin: 64px auto 0; position: relative; }
.timeline::before { content: ''; position: absolute; left: 24px; top: 0; bottom: 0; width: 2px; background: var(--gray-border); }
.timeline__item { position: relative; padding-left: 72px; padding-bottom: 56px; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__dot { position: absolute; left: 15px; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--white); border: 2px solid var(--teal); z-index: 1; }
.timeline__dot--active { background: var(--teal); }
.timeline__year { font-family: var(--sans-en); font-size: 14px; font-weight: 500; color: var(--teal); letter-spacing: 0.06em; margin-bottom: 8px; }
.timeline__title { font-family: var(--serif); font-size: 18px; font-weight: 500; margin-bottom: 8px; letter-spacing: 0.04em; }
.timeline__desc { font-size: 14px; line-height: 2; color: var(--gray); }

/* FOOTER */
.footer { padding: 80px 0 40px; background: #F2F2EF; }
.footer__inner { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 64px; }
.footer__brand {}
.footer__logo { font-size: 16px; font-weight: 600; letter-spacing: 0.06em; margin-bottom: 16px; }
.footer__brand-desc { font-size: 13px; color: var(--gray); line-height: 1.9; }
.footer__col-title { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; margin-bottom: 20px; color: var(--dark); }
.footer__col-links { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer__col-links a { font-size: 13px; color: var(--gray); transition: color 0.3s ease; }
.footer__col-links a:hover { color: var(--teal); }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 32px; border-top: 1px solid var(--gray-border); }
.footer__copy { font-family: var(--sans-en); font-size: 12px; color: var(--gray-light); letter-spacing: 0.02em; }
.footer__bottom-links { display: flex; gap: 24px; list-style: none; }
.footer__bottom-links a { font-size: 12px; color: var(--gray-light); transition: color 0.3s ease; }
.footer__bottom-links a:hover { color: var(--teal); }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .philosophy-full__grid { grid-template-columns: 1fr; gap: 24px; }
  .vision__inner { grid-template-columns: 1fr; gap: 40px; }
  .footer__inner { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --nav-height: 60px; }
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }
  .page-hero { padding: 40px 0 60px; }
  .philosophy-full { padding: 80px 0; }
  .vision { padding: 80px 0; }
  .corporate { padding: 80px 0; }
  .corporate__table th { width: 120px; }
  .timeline-section { padding: 80px 0; }
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; gap: 16px; text-align: center; }
}
