@charset "UTF-8";
/* ============================================================
   SEVEN DEVELOPMENT Co.,Ltd.  Renewal Stylesheet
   Design direction: minimal / large typography / generous space
   ============================================================ */

:root {
  --c-text: #1a1a1a;
  --c-sub: #6f6f6f;
  --c-line: #e3e3e3;
  --c-bg: #ffffff;
  --c-bg-gray: #f5f5f3;
  --c-dark: #14171a;
  --c-accent: #0e5a8a;
  --font-en: "Jost", sans-serif;
  --font-ja: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  --font-mincho: "Shippori Mincho", serif;
  --header-h: 84px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-ja);
  color: var(--c-text);
  background: var(--c-bg);
  font-size: 15px;
  line-height: 2;
  letter-spacing: .06em;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; vertical-align: bottom; }
a { color: inherit; text-decoration: none; transition: opacity .3s; }
a:hover { opacity: .65; }
ul, ol { list-style: none; }

.inner { width: min(1120px, 92%); margin: 0 auto; }

/* ---------- Header ---------- */
#siteHeader {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 0 0 4vw;
  transition: background .4s, box-shadow .4s;
}
#siteHeader.solid,
body.subpage #siteHeader {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 var(--c-line);
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand a { display: flex; flex-direction: column; line-height: 1.3; }
.brand .en {
  font-family: var(--font-en); font-weight: 600;
  font-size: 20px; letter-spacing: .14em; text-transform: uppercase;
}
.brand .ja { font-size: 11px; letter-spacing: .2em; color: var(--c-sub); }
#toppage .brand .en, #toppage .brand .ja { color: #fff; text-shadow: 0 1px 12px rgba(0,0,0,.35); }
#toppage #siteHeader.solid .brand .en { color: var(--c-text); text-shadow: none; }
#toppage #siteHeader.solid .brand .ja { color: var(--c-sub); text-shadow: none; }

.headerRight { display: flex; align-items: center; height: 100%; }
.headerTel { text-align: right; margin-right: 28px; line-height: 1.5; }
.headerTel .tel {
  font-family: var(--font-en); font-size: 20px; font-weight: 500; letter-spacing: .08em;
}
.headerTel .addr { font-size: 10.5px; color: var(--c-sub); letter-spacing: .1em; }
#toppage .headerTel .tel, #toppage .headerTel .addr { color: #fff; text-shadow: 0 1px 10px rgba(0,0,0,.4); }
#toppage #siteHeader.solid .headerTel .tel { color: var(--c-text); text-shadow: none; }
#toppage #siteHeader.solid .headerTel .addr { color: var(--c-sub); text-shadow: none; }

.headerContact {
  height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center;
  background: var(--c-dark); color: #fff !important; width: 150px;
  font-size: 12.5px; letter-spacing: .15em; gap: 2px;
}
.headerContact .en { font-family: var(--font-en); font-size: 10px; letter-spacing: .3em; opacity: .6; }
.headerContact:hover { opacity: 1; background: var(--c-accent); }

/* hamburger */
#menuBtn {
  width: 84px; height: 100%; background: #fff; border: none; cursor: pointer;
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 7px;
  border-left: 1px solid var(--c-line); z-index: 210; position: relative;
}
#menuBtn span { display: block; width: 30px; height: 1.5px; background: var(--c-text); transition: .35s; }
body.navOpen #menuBtn span:nth-child(1) { transform: translateY(8.5px) rotate(23deg); }
body.navOpen #menuBtn span:nth-child(2) { opacity: 0; }
body.navOpen #menuBtn span:nth-child(3) { transform: translateY(-8.5px) rotate(-23deg); }

/* fullscreen nav */
#globalNav {
  position: fixed; inset: 0; z-index: 200; background: var(--c-dark); color: #fff;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity .5s, visibility .5s;
}
body.navOpen #globalNav { opacity: 1; visibility: visible; }
#globalNav .navInner { width: min(880px, 88%); }
#globalNav ul { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 60px; }
#globalNav li a {
  display: block; padding: 18px 4px; border-bottom: 1px solid rgba(255,255,255,.14); color: #fff;
}
#globalNav li .en {
  display: block; font-family: var(--font-en); font-size: 26px; font-weight: 400;
  letter-spacing: .18em; text-transform: uppercase; line-height: 1.2;
}
#globalNav li .ja { display: block; font-size: 11.5px; letter-spacing: .25em; color: rgba(255,255,255,.55); margin-top: 4px; }
#globalNav .navFoot { margin-top: 48px; display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 16px; }
#globalNav .navFoot .tel { font-family: var(--font-en); font-size: 26px; letter-spacing: .1em; }
#globalNav .navFoot .addr { font-size: 12px; color: rgba(255,255,255,.55); letter-spacing: .15em; }

/* ---------- Hero (top) ---------- */
#hero { position: relative; height: 100svh; min-height: 560px; overflow: hidden; background: var(--c-dark); }
#hero .slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.06); transition: opacity 2s ease, transform 7s linear;
}
#hero .slide.active { opacity: 1; transform: scale(1); }
#hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.28) 0%, rgba(0,0,0,.05) 45%, rgba(0,0,0,.4) 100%);
}
.heroCopy { position: absolute; left: 6vw; bottom: 14vh; z-index: 2; color: #fff; }
.heroCopy .en {
  font-family: var(--font-en); font-weight: 500; text-transform: uppercase;
  font-size: clamp(38px, 7vw, 96px); line-height: 1.05; letter-spacing: .06em;
  text-shadow: 0 2px 30px rgba(0,0,0,.35);
}
.heroCopy .ja {
  display: inline-block; margin-top: 22px; font-size: clamp(13px, 1.6vw, 17px);
  letter-spacing: .5em; font-weight: 500;
  padding-left: 4px; border-left: 2px solid #fff; line-height: 1.6; padding: 4px 0 4px 16px;
}
.heroScroll {
  position: absolute; right: 40px; bottom: 0; z-index: 2; color: #fff;
  font-family: var(--font-en); font-size: 10px; letter-spacing: .4em; text-transform: uppercase;
  writing-mode: vertical-rl; padding-bottom: 90px;
}
.heroScroll::after {
  content: ""; position: absolute; left: 50%; bottom: 0; width: 1px; height: 70px;
  background: rgba(255,255,255,.4); overflow: hidden; animation: scrollLine 2.2s ease infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- Section commons ---------- */
section { padding: 110px 0; }
.secHead { margin-bottom: 56px; }
.secHead .en {
  display: block; font-family: var(--font-en); font-weight: 500;
  font-size: clamp(40px, 5.5vw, 68px); letter-spacing: .08em; line-height: 1; text-transform: uppercase;
}
.secHead .ja { display: inline-block; margin-top: 14px; font-size: 13px; letter-spacing: .35em; color: var(--c-sub); }
.secHead .ja::before { content: ""; display: inline-block; width: 34px; height: 1px; background: var(--c-text); vertical-align: middle; margin-right: 14px; }

.btnMore {
  display: inline-flex; align-items: center; gap: 18px;
  font-family: var(--font-en); font-size: 13px; letter-spacing: .3em; text-transform: uppercase;
  padding-bottom: 10px; border-bottom: 1px solid var(--c-text); position: relative;
}
.btnMore::after { content: "→"; transition: transform .3s; }
.btnMore:hover::after { transform: translateX(6px); }
.btnMore.white { color: #fff; border-color: #fff; }

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 1s ease, transform 1s ease; }
.reveal.on { opacity: 1; transform: none; }

/* ---------- Top: strength ---------- */
#strength .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
#strength .lead { font-size: 16px; line-height: 2.4; }
#strength figure { position: relative; }
#strength figure img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
#strength figure::after {
  content: "SURVEYING & INSPECTION"; position: absolute; left: -10px; bottom: -14px;
  font-family: var(--font-en); font-size: 11px; letter-spacing: .45em; color: var(--c-sub);
}

/* ---------- Top: services ---------- */
#services { background: var(--c-bg-gray); }
#services .cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
#services .card { background: #fff; display: flex; flex-direction: column; }
#services .card .thumb { overflow: hidden; }
#services .card .thumb img { width: 100%; height: 190px; object-fit: cover; transition: transform .8s ease; }
#services .card:hover .thumb img { transform: scale(1.06); }
#services .card .body { padding: 26px 26px 30px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
#services .card .num { font-family: var(--font-en); font-size: 12px; letter-spacing: .3em; color: var(--c-sub); }
#services .card h3 { font-size: 17px; font-weight: 600; letter-spacing: .1em; line-height: 1.6; }
#services .card .link { margin-top: auto; font-family: var(--font-en); font-size: 11px; letter-spacing: .3em; color: var(--c-sub); }
#services .secFoot { margin-top: 48px; text-align: right; }

/* ---------- Top: news ---------- */
#news .newsList li { border-bottom: 1px solid var(--c-line); }
#news .newsList li:first-child { border-top: 1px solid var(--c-line); }
#news .newsList a, #news .newsList .row {
  display: flex; align-items: center; gap: 40px; padding: 28px 10px; flex-wrap: wrap;
}
#news time { font-family: var(--font-en); font-size: 14px; letter-spacing: .15em; color: var(--c-sub); }
#news .cat {
  font-size: 11px; letter-spacing: .2em; border: 1px solid var(--c-text);
  padding: 2px 14px; line-height: 1.8;
}
#news .newsTitle { font-size: 15px; }

/* ---------- Top: links (company / recruit / access) ---------- */
#quickLinks { padding: 0; }
#quickLinks .row { display: grid; grid-template-columns: repeat(3, 1fr); }
#quickLinks a.panelLink {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 340px; padding: 34px; color: #fff; overflow: hidden;
}
#quickLinks a.panelLink .bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  transition: transform 1s ease; z-index: 0;
}
#quickLinks a.panelLink:hover .bg { transform: scale(1.05); }
#quickLinks a.panelLink::after { content: ""; position: absolute; inset: 0; background: rgba(10,14,18,.45); z-index: 1; transition: background .4s; }
#quickLinks a.panelLink:hover::after { background: rgba(10,14,18,.25); }
#quickLinks a.panelLink .txt { position: relative; z-index: 2; }
#quickLinks .en { font-family: var(--font-en); font-size: 30px; letter-spacing: .12em; text-transform: uppercase; line-height: 1.1; }
#quickLinks .ja { font-size: 12px; letter-spacing: .3em; opacity: .8; display: block; margin-top: 8px; }

/* ---------- CTA ---------- */
#cta { background: var(--c-dark); color: #fff; text-align: center; padding: 100px 0; }
#cta .en { font-family: var(--font-en); font-size: clamp(34px, 4.5vw, 54px); letter-spacing: .12em; text-transform: uppercase; line-height: 1.1; }
#cta .ja { font-size: 13px; letter-spacing: .35em; color: rgba(255,255,255,.6); margin-top: 14px; }
#cta .telBig { font-family: var(--font-en); font-size: clamp(30px, 4vw, 44px); letter-spacing: .08em; margin-top: 36px; display: inline-block; }
#cta .note { font-size: 12px; color: rgba(255,255,255,.55); letter-spacing: .2em; margin-top: 4px; }
#cta .btnWrap { margin-top: 40px; }
#cta .btnContact {
  display: inline-block; border: 1px solid #fff; padding: 18px 70px;
  font-size: 14px; letter-spacing: .3em; transition: .35s;
}
#cta .btnContact:hover { background: #fff; color: var(--c-dark); opacity: 1; }

/* ---------- Footer ---------- */
#footer { background: #0d0f11; color: #fff; padding: 80px 0 36px; }
#footer .top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 40px; margin-bottom: 60px; }
#footer .fBrand .en { font-family: var(--font-en); font-size: 22px; letter-spacing: .16em; text-transform: uppercase; display: block; }
#footer .fBrand .ja { font-size: 12px; letter-spacing: .3em; color: rgba(255,255,255,.55); }
#footer .fAddr { margin-top: 18px; font-size: 12.5px; line-height: 2.2; color: rgba(255,255,255,.7); letter-spacing: .12em; }
#footer nav ul { display: grid; grid-template-columns: repeat(2, auto); gap: 10px 48px; }
#footer nav a { font-size: 12.5px; letter-spacing: .2em; color: rgba(255,255,255,.75); }
#footer #copyright {
  border-top: 1px solid rgba(255,255,255,.12); padding-top: 28px;
  font-family: var(--font-en); font-size: 10.5px; letter-spacing: .25em;
  color: rgba(255,255,255,.4); text-align: center; text-transform: uppercase;
}

/* ---------- Sub pages ---------- */
body.subpage { padding-top: 0; }
.pageHero {
  position: relative; height: 46vh; min-height: 340px; display: flex; align-items: flex-end;
  background-size: cover; background-position: center; color: #fff; overflow: hidden;
}
.pageHero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,.3), rgba(0,0,0,.45)); }
.pageHero .inner { position: relative; z-index: 2; padding-bottom: 52px; }
.pageHero .en { font-family: var(--font-en); font-size: clamp(40px, 6vw, 76px); letter-spacing: .1em; text-transform: uppercase; line-height: 1; display: block; }
.pageHero .ja { display: inline-block; margin-top: 14px; font-size: 13px; letter-spacing: .4em; }
.pageHero .ja::before { content: ""; display: inline-block; width: 30px; height: 1px; background: #fff; vertical-align: middle; margin-right: 12px; }

.breadcrumb { font-family: var(--font-en); font-size: 11px; letter-spacing: .25em; color: var(--c-sub); padding: 18px 0; text-transform: uppercase; }
.breadcrumb a { color: var(--c-sub); }
.breadcrumb span::before { content: "—"; margin: 0 12px; }

main.pageBody { padding: 70px 0 130px; }
.pageBody .contentInner { width: min(880px, 92%); margin: 0 auto; }
.pageBody .contentInner.wide { width: min(1000px, 92%); }

/* definition table */
.defTable { width: 100%; border-collapse: collapse; margin-top: 10px; }
.defTable th, .defTable td { padding: 24px 18px; border-bottom: 1px solid var(--c-line); vertical-align: top; text-align: left; font-weight: 400; }
.defTable th { width: 200px; font-weight: 600; letter-spacing: .12em; white-space: nowrap; }
.defTable tr:first-child th, .defTable tr:first-child td { border-top: 1px solid var(--c-text); }

/* mission page */
.section-block { margin-bottom: 110px; }
.section-block:last-child { margin-bottom: 0; }
.section-title {
  font-size: clamp(24px, 3vw, 32px); font-weight: 600; letter-spacing: .12em; line-height: 1.5;
  padding-bottom: 20px; margin-bottom: 40px; border-bottom: 1px solid var(--c-text); position: relative;
}
.section-title::before {
  content: attr(data-num); display: block; font-family: var(--font-en);
  font-size: 12px; letter-spacing: .4em; color: var(--c-sub); margin-bottom: 12px;
}
.section-block h2 {
  font-size: 18px; font-weight: 600; letter-spacing: .1em; margin: 52px 0 18px;
  padding-left: 16px; border-left: 3px solid var(--c-dark); line-height: 1.7;
}
.section-block p { margin-bottom: 14px; }
.mission-img { margin: 24px 0; }
.mission-img img { width: 100%; }
.feature-list { margin: 18px 0; }
.feature-list li { position: relative; padding-left: 24px; margin-bottom: 8px; }
.feature-list li::before { content: ""; position: absolute; left: 2px; top: .95em; width: 10px; height: 1.5px; background: var(--c-accent); }
.result-box, .spec-box { background: var(--c-bg-gray); padding: 24px 28px; margin: 20px 0; font-size: 14px; line-height: 2.1; }
.result-box strong { letter-spacing: .12em; }

/* access */
.mapWrap { margin-top: 50px; }
.mapWrap iframe { width: 100%; height: 480px; border: 0; filter: grayscale(30%); }

/* center note */
.centerNote { text-align: center; margin-top: 48px; line-height: 2.4; }

/* image placeholder (for images to be inserted later) */
.imgPlaceholder {
  background: repeating-linear-gradient(45deg, #f2f2f0, #f2f2f0 12px, #eaeae7 12px, #eaeae7 24px);
  border: 1px dashed #c9c9c4; color: #9a9a94;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; letter-spacing: .2em; text-align: center; line-height: 1.8;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  #quickLinks .row { grid-template-columns: 1fr; }
  #services .cards { grid-template-columns: 1fr; }
  #strength .grid { grid-template-columns: 1fr; gap: 40px; }
  #globalNav ul { grid-template-columns: 1fr; }
  #globalNav li .en { font-size: 20px; }
  #globalNav li a { padding: 13px 2px; }
}
@media (max-width: 720px) {
  :root { --header-h: 64px; }
  body { font-size: 14px; }
  .headerTel { display: none; }
  .headerContact { width: 116px; font-size: 11px; }
  #menuBtn { width: 64px; }
  #menuBtn span { width: 24px; }
  section { padding: 70px 0; }
  .heroCopy { left: 6vw; bottom: 16vh; }
  .heroScroll { right: 18px; }
  .defTable th { display: block; width: 100%; border-bottom: none; padding-bottom: 0; }
  .defTable td { display: block; padding-top: 6px; }
  .pageHero { height: 40vh; }
  #footer nav ul { grid-template-columns: 1fr; }
  #cta .btnContact { padding: 16px 44px; }
}
