/* ============================================
  Ryuki Industry Corporate Site
  style.css
============================================ */

:root {
  /* Color */
  --color-primary: #1A3A6B;
  --color-primary-dark: #122a4f;
  --color-accent: #2E78C8;
  --color-accent-warm: #C9A961;
  --color-bg: #FFFFFF;
  --color-bg-gray: #F5F7FA;
  --color-text: #222222;
  --color-text-sub: #666666;
  --color-border: #E0E4EA;

  /* Typography */
  --font-jp: 'Noto Sans JP', 'Hiragino Sans', 'Yu Gothic', sans-serif;
  --font-en: 'Inter', 'Montserrat', sans-serif;
  --fs-base: 16px;
  --lh-base: 1.8;

  /* Layout */
  --container-max: 1200px;
  --section-pad-pc: 120px;
  --section-pad-sp: 64px;
  --header-h: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-jp);
  font-size: var(--fs-base);
  line-height: var(--lh-base);
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s; }
a:hover { color: var(--color-accent); }
ul { list-style: none; padding: 0; margin: 0; }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}
.center { text-align: center; }
.bg-gray { background: var(--color-bg-gray); }
.bg-primary { background: var(--color-primary); color: #fff; }

/* ===== Section common ===== */
.section {
  padding: var(--section-pad-pc) 0;
}
.section-title {
  margin-bottom: 32px;
}
.section-title .en {
  display: block;
  font-family: var(--font-en);
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--color-text-sub);
  text-transform: uppercase;
}
.section-title .jp {
  font-size: 34px;
  font-weight: 700;
  color: var(--color-primary);
  margin: 6px 0 0;
  letter-spacing: 0.04em;
}
.lead {
  font-size: 22px;
  font-weight: 500;
  color: var(--color-primary);
  line-height: 1.7;
  margin: 0 0 36px;
}
.lead em {
  font-style: italic;
  color: var(--color-accent);
}
.en-label {
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 0.25em;
  color: var(--color-text-sub);
  text-transform: uppercase;
}
.en-label.light { color: rgba(255,255,255,.75); }

/* ===== Buttons ===== */
.btn-outline,
.btn-outline-dark,
.btn-outline-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 36px;
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  background: transparent;
  font-family: var(--font-jp);
  font-weight: 500;
  letter-spacing: 0.06em;
  position: relative;
  overflow: hidden;
  z-index: 0;
  transition: color .35s;
  cursor: pointer;
}
.btn-outline::before,
.btn-outline-dark::before,
.btn-outline-light::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--color-primary);
  transform: translateX(-101%);
  transition: transform .35s ease;
  z-index: -1;
}
.btn-outline:hover { color: #fff; }
.btn-outline:hover::before { transform: translateX(0); }

.btn-outline-dark {
  border-color: #fff;
  color: #fff;
}
.btn-outline-dark::before { background: #fff; }
.btn-outline-dark:hover { color: var(--color-primary); }
.btn-outline-dark:hover::before { transform: translateX(0); }
.btn-outline-dark small {
  display: block;
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.2em;
  margin-top: 2px;
  opacity: 0.7;
}

.btn-outline-light {
  border-color: rgba(255,255,255,.8);
  color: #fff;
}
.btn-outline-light::before { background: #fff; }
.btn-outline-light:hover { color: var(--color-primary); }
.btn-outline-light:hover::before { transform: translateX(0); }

.btn-entry {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  background: var(--color-accent-warm);
  color: #fff;
  font-family: var(--font-en);
  font-weight: 600;
  letter-spacing: 0.2em;
  margin-left: 16px;
  transition: background .25s;
}
.btn-entry:hover { background: #b89855; color: #fff; }

.btn-entry-large {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 40px;
  padding: 22px 80px;
  background: var(--color-accent-warm);
  color: #fff;
  font-family: var(--font-en);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.3em;
  transition: background .25s, transform .25s;
}
.btn-entry-large:hover {
  background: #b89855;
  color: #fff;
  transform: translateY(-2px);
}

.link-more {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--color-primary);
  font-weight: 600;
}
.link-more:hover { color: var(--color-accent); }

/* ============================================
  Section 1: Header
============================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  z-index: 100;
  transition: background .25s, border-color .25s;
}
.site-header.is-scrolled {
  background: #fff;
  border-bottom-color: var(--color-border);
}
.header-inner {
  max-width: var(--container-max);
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-jp {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.05em;
}
.logo-en {
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--color-text-sub);
}

.header-nav { display: flex; align-items: center; }
.nav-list {
  display: flex;
  gap: 28px;
  margin-right: 8px;
}
.nav-list a {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
  position: relative;
}
.nav-list a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s;
}
.nav-list a:hover::after { transform: scaleX(1); }

.hamburger {
  display: none;
  width: 40px; height: 40px;
  background: transparent;
  border: 0;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--color-primary);
  transition: transform .3s, opacity .3s;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ============================================
  Section 2: Hero
============================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
  background: linear-gradient(135deg, #1A3A6B 0%, #2E78C8 100%);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,20,40,.65) 0%, rgba(10,20,40,.45) 50%, rgba(10,20,40,.65) 100%);
  z-index: -1;
}
.hero-content {
  text-align: center;
  padding: 0 24px;
}
.hero-copy {
  font-size: clamp(34px, 5.2vw, 64px);
  font-weight: 900;
  line-height: 1.45;
  letter-spacing: 0.06em;
  margin: 0;
}
.hero-copy em {
  font-style: italic;
  color: var(--color-accent-warm);
  display: inline-block;
}
.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.3em;
}
.scroll-line {
  width: 1px;
  height: 60px;
  background: rgba(255,255,255,.4);
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 30%;
  background: #fff;
  animation: scrollLine 2s infinite ease-in-out;
}
@keyframes scrollLine {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(330%); }
}

/* ============================================
  Section 3: Information
============================================ */
.information { padding: 80px 0; }
.info-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 16px;
  margin-bottom: 8px;
}
.info-list li {
  display: grid;
  grid-template-columns: 120px 110px 1fr;
  gap: 16px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border);
}
.info-date {
  font-family: var(--font-en);
  font-size: 14px;
  color: var(--color-text-sub);
  letter-spacing: 0.06em;
}
.info-tag {
  display: inline-block;
  padding: 4px 10px;
  font-size: 12px;
  background: var(--color-bg-gray);
  color: var(--color-primary);
  text-align: center;
  border-radius: 2px;
}
.info-title {
  font-weight: 500;
}
.info-title:hover { color: var(--color-accent); }

/* ============================================
  Section 4: Our Works
============================================ */
.scroll-gallery {
  overflow: hidden;
  margin: 0 -24px 60px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.scroll-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: scrollX 40s linear infinite;
}
.scroll-item {
  flex: 0 0 auto;
  width: 360px;
  height: 240px;
  background: var(--color-border);
}
.scroll-item img {
  width: 100%; height: 100%;
  object-fit: cover;
}
@keyframes scrollX {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.works-text {
  max-width: 880px;
  margin: 0 auto 40px;
}
.works-text p {
  margin: 0 0 1.4em;
  line-height: 1.95;
}

/* ============================================
  Section 5: Service
============================================ */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 60px;
}
.service-card .en-sub {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--color-text-sub);
  text-transform: uppercase;
  display: block;
  margin-bottom: 14px;
}
.service-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--color-border);
  margin-bottom: 22px;
}
.service-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s ease;
}
.service-card:hover .service-img img { transform: scale(1.05); }
.service-card h3 {
  font-size: 22px;
  color: var(--color-primary);
  margin: 0 0 14px;
  letter-spacing: 0.04em;
}
.service-card h3 .num {
  font-family: var(--font-en);
  font-weight: 600;
  color: var(--color-accent);
  margin-right: 8px;
}
.service-card p {
  font-size: 15px;
  line-height: 1.9;
  margin: 0 0 18px;
  color: #444;
}

/* ============================================
  Section 6: Works
============================================ */
.works-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 50px 0;
}
.work-card {
  display: block;
  background: #fff;
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}
.work-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(26,58,107,.12);
}
.work-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--color-border);
}
.work-img img { width:100%; height:100%; object-fit:cover; }
.work-card .work-cat {
  display: inline-block;
  margin: 14px 14px 0;
  padding: 3px 10px;
  font-size: 11px;
  background: var(--color-primary);
  color: #fff;
  letter-spacing: 0.05em;
}
.work-card h3 {
  font-size: 15px;
  margin: 8px 14px 16px;
  color: var(--color-text);
  line-height: 1.6;
}

/* ============================================
  Section 7: Join
============================================ */
.join-text {
  max-width: 760px;
  margin: 0 auto 32px;
}
.join-text p {
  font-size: 16px;
  line-height: 2;
  margin: 0 0 1.4em;
}

/* ============================================
  Section 8: Member
============================================ */
.member-intro {
  max-width: 760px;
  margin: 0 auto 50px;
  text-align: center;
}
.member-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}
.member-card {
  background: #fff;
  padding: 24px;
}
.member-card .num {
  font-family: var(--font-en);
  font-size: 36px;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 12px;
}
.member-img {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--color-border);
  margin-bottom: 20px;
}
.member-img img { width:100%; height:100%; object-fit:cover; }
.member-card h3 {
  font-size: 18px;
  color: var(--color-primary);
  line-height: 1.7;
  margin: 0 0 16px;
}
.member-card h3 em {
  font-style: italic;
  color: var(--color-accent);
}
.member-meta {
  font-size: 13px;
  color: var(--color-text-sub);
}
.member-meta span + span::before { content: " "; }

/* ============================================
  Section 9: Culture
============================================ */
.culture-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 36px;
  margin-top: 50px;
}
.culture-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
}
.culture-item h3 {
  font-size: 17px;
  color: var(--color-primary);
  margin: 0 0 10px;
  letter-spacing: 0.04em;
}
.culture-item p {
  font-size: 14px;
  line-height: 1.85;
  color: #444;
  margin: 0;
}

/* ============================================
  Section 10: Recruit CTA
============================================ */
.recruit-cta {
  background: var(--color-primary);
  color: #fff;
  text-align: center;
}
.cta-headline {
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 700;
  line-height: 1.6;
  margin: 0 0 50px;
  letter-spacing: 0.05em;
}
.cta-headline em {
  font-style: italic;
  color: var(--color-accent-warm);
}
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* ============================================
  Section 11: About Us
============================================ */
.about-us { padding: 0; }
.about-hero {
  position: relative;
  height: 60vh;
  min-height: 380px;
  overflow: hidden;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-hero img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  background: var(--color-primary);
}
.about-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,20,40,.6);
}
.about-hero-copy {
  position: relative;
  text-align: center;
  padding: 0 24px;
}
.about-hero-copy h2 {
  font-size: clamp(28px, 4.2vw, 50px);
  font-weight: 700;
  line-height: 1.55;
  margin: 0;
  letter-spacing: 0.06em;
}
.about-hero-copy em {
  font-style: italic;
  color: var(--color-accent-warm);
}
.about-us > .container {
  padding-top: var(--section-pad-pc);
  padding-bottom: var(--section-pad-pc);
}
.about-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  margin-top: 50px;
}
.about-card {
  display: block;
  background: #fff;
  border: 1px solid var(--color-border);
  padding: 0 0 28px;
  transition: box-shadow .3s, transform .3s;
}
.about-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(26,58,107,.12);
}
.about-card-img {
  aspect-ratio: 3/2;
  overflow: hidden;
  background: var(--color-border);
  margin-bottom: 22px;
}
.about-card-img img { width:100%; height:100%; object-fit:cover; }
.about-card .en-sub {
  display: block;
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--color-text-sub);
  padding: 0 28px;
  margin-bottom: 8px;
}
.about-card h3 {
  font-size: 22px;
  color: var(--color-primary);
  padding: 0 28px;
  margin: 0 0 16px;
}
.about-card .link-more { padding: 0 28px; }

/* ============================================
  Section 12: Contact
============================================ */
.contact { color: #fff; }
.contact-headline {
  font-size: 26px;
  font-weight: 700;
  margin: 14px 0 18px;
  letter-spacing: 0.05em;
}
.contact-text {
  max-width: 720px;
  margin: 0 auto 36px;
  line-height: 2;
  opacity: 0.92;
}
.contact-tel {
  display: inline-flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 6px;
  color: #fff;
}
.contact-tel:hover { color: var(--color-accent-warm); }
.tel-label {
  font-family: var(--font-en);
  font-size: 14px;
  letter-spacing: 0.3em;
  opacity: 0.7;
}
.tel-num {
  font-family: var(--font-en);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: 0.05em;
}
.contact-hours {
  font-size: 14px;
  opacity: 0.75;
  margin: 0 0 36px;
}

/* ============================================
  Section 13: Footer
============================================ */
.site-footer {
  background: var(--color-primary-dark);
  color: #fff;
}
.footer-gallery {
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-gallery-track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: scrollX 50s linear infinite;
}
.footer-gallery-track img {
  height: 140px;
  width: auto;
  flex: 0 0 auto;
  background: rgba(255,255,255,.06);
  min-width: 220px;
  object-fit: cover;
}
.footer-main {
  padding: 70px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 60px;
}
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 18px;
}
.footer-brand address {
  font-style: normal;
  font-size: 14px;
  line-height: 1.85;
  opacity: 0.85;
}
.footer-brand a { color: #fff; }
.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.footer-nav ul li {
  margin-bottom: 10px;
  font-size: 14px;
}
.footer-nav a { color: rgba(255,255,255,.85); }
.footer-nav a:hover { color: var(--color-accent-warm); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 18px 0;
  text-align: center;
  font-size: 12px;
  opacity: 0.7;
  font-family: var(--font-en);
  letter-spacing: 0.1em;
}

/* ============================================
  Sub-page styles
============================================ */
.page-hero {
  margin-top: var(--header-h);
  padding: 80px 0 70px;
  background: linear-gradient(135deg, var(--color-primary) 0%, #2a4d8a 100%);
  color: #fff;
  text-align: center;
}
.page-hero .en {
  font-family: var(--font-en);
  font-size: 14px;
  letter-spacing: 0.3em;
  opacity: 0.8;
  text-transform: uppercase;
}
.page-hero h1 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  margin: 10px 0 0;
  letter-spacing: 0.06em;
}
.breadcrumb {
  font-size: 12px;
  margin-top: 18px;
  opacity: 0.8;
}
.breadcrumb a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb span { margin: 0 8px; opacity: 0.5; }

.page-body { padding: var(--section-pad-pc) 0; }
.page-body h2 {
  font-size: 28px;
  color: var(--color-primary);
  margin: 0 0 24px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--color-primary);
  letter-spacing: 0.04em;
}
.page-body h3 {
  font-size: 20px;
  color: var(--color-primary);
  margin: 40px 0 14px;
}
.page-body p { line-height: 2; margin: 0 0 1.4em; }

/* Company info table */
.info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}
.info-table th,
.info-table td {
  padding: 18px 16px;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
  vertical-align: top;
  font-size: 15px;
  line-height: 1.8;
}
.info-table th {
  width: 28%;
  background: var(--color-bg-gray);
  color: var(--color-primary);
  font-weight: 500;
}

/* Forms */
.form-block { max-width: 760px; margin: 0 auto; }
.form-row { margin-bottom: 24px; }
.form-row label {
  display: block;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--color-primary);
}
.form-row .required {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 8px;
  background: var(--color-accent-warm);
  color: #fff;
  font-size: 11px;
  border-radius: 2px;
}
.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row input[type="date"],
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  background: #fff;
  font-family: var(--font-jp);
  font-size: 15px;
  border-radius: 2px;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 0;
  border-color: var(--color-accent);
}
.form-row textarea { min-height: 160px; resize: vertical; }
.form-agree {
  text-align: center;
  margin: 36px 0;
  padding: 20px;
  background: var(--color-bg-gray);
}
.form-agree label { color: var(--color-text); cursor: pointer; }
.btn-submit {
  display: block;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  padding: 20px;
  border: 0;
  background: var(--color-primary);
  color: #fff;
  font-family: var(--font-jp);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.2em;
  cursor: pointer;
  transition: background .25s;
}
.btn-submit:hover { background: var(--color-primary-dark); }

/* Service detail */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin: 60px 0;
}
.service-detail.reverse > div:first-child { order: 2; }
.service-detail-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--color-border);
}
.service-detail-img img { width:100%; height:100%; object-fit:cover; }
.service-detail-text h3 {
  margin-top: 0;
  font-size: 24px;
}
.service-feat-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  line-height: 1.9;
}
.service-feat-list li::before {
  content: "■";
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-size: 12px;
  top: 6px;
}

@media (max-width: 767px) {
  .service-detail { grid-template-columns: 1fr; gap: 30px; }
  .service-detail.reverse > div:first-child { order: 0; }
  .info-table th { width: 36%; padding: 14px 10px; }
  .info-table td { padding: 14px 10px; }
}

/* ============================================
  Fade-in animation
============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s ease-out, transform .8s ease-out;
}
.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
  Responsive
============================================ */
@media (max-width: 1023px) {
  :root {
    --section-pad-pc: 80px;
  }
  .hamburger { display: flex; }
  .header-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: #fff;
    flex-direction: column;
    justify-content: flex-start;
    padding: 40px 24px;
    transform: translateX(100%);
    transition: transform .35s ease;
    overflow-y: auto;
  }
  .header-nav.is-open { transform: translateX(0); }
  .nav-list {
    flex-direction: column;
    gap: 0;
    width: 100%;
    margin: 0 0 24px;
  }
  .nav-list li {
    border-bottom: 1px solid var(--color-border);
  }
  .nav-list a {
    display: block;
    padding: 18px 4px;
    font-size: 16px;
  }
  .btn-entry {
    margin: 12px 0 0;
    width: 100%;
    justify-content: center;
    padding: 18px;
  }

  .service-grid,
  .member-grid,
  .culture-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .works-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 767px) {
  :root {
    --section-pad-pc: 64px;
    --header-h: 64px;
  }
  .section { padding: var(--section-pad-sp) 0; }
  .container { padding: 0 20px; }
  .section-title .jp { font-size: 26px; }
  .lead { font-size: 18px; }

  .info-list li {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 16px 0;
  }
  .info-tag { justify-self: start; }

  .scroll-item { width: 240px; height: 160px; }

  .service-grid,
  .works-grid,
  .member-grid,
  .culture-grid,
  .about-cards {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .cta-buttons { flex-direction: column; align-items: stretch; }
  .btn-outline-dark { width: 100%; }
  .btn-entry-large {
    width: 100%;
    padding: 20px 0;
    font-size: 18px;
  }

  .footer-nav {
    grid-template-columns: 1fr 1fr;
  }

  .hero-copy { letter-spacing: 0.04em; }
  .tel-num { font-size: 36px; }

  .info-head { flex-direction: column; align-items: flex-start; gap: 8px; }
}
