/* =========================================================
   株式会社カイシン  Official Site
   Shared stylesheet — blue theme / construction & civil works
   ========================================================= */
/* ---------- Design tokens ---------- */ :root {
  --navy: #0a2c5c;
  --navy-d: #082247;
  --blue: #1565c0;
  --blue-d: #0d47a1;
  --accent: #2f8fe0;
  --sky: #eaf2fb;
  --sky-2: #f4f8fd;
  --ink: #1e2a37;
  --muted: #5c6b7c;
  --line: #e2e8f0;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(10, 44, 92, .10);
  --shadow-sm: 0 4px 14px rgba(10, 44, 92, .08);
  --radius: 14px;
  --radius-sm: 10px;
  --maxw: 1160px;
  --header-h: 76px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --font: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", Meiryo, "Yu Gothic", system-ui, sans-serif;
}
*, *::before, *::after {
  box-sizing: border-box
}
html {
  scroll-behavior: smooth
}
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.8;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  letter-spacing: .02em;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
  height: auto
}
a {
  color: inherit;
  text-decoration: none;
  transition: color .2s var(--ease)
}
h1, h2, h3, h4 {
  line-height: 1.4;
  margin: 0;
  font-weight: 700
}
ul {
  margin: 0;
  padding: 0;
  list-style: none
}
p {
  margin: 0 0 1em
}
/* ---------- Layout helpers ---------- */
.container {
  width: min(92%, var(--maxw));
  margin-inline: auto
}
.section {
  padding: clamp(56px, 8vw, 110px) 0
}
.section--tint {
  background: var(--sky-2)
}
.section--navy {
  background: var(--navy);
  color: #dfe8f4
}
.narrow {
  max-width: 900px;
  margin-inline: auto
}
.center {
  text-align: center
}
.lead {
  font-size: clamp(1rem, 2.4vw, 1.12rem);
  color: var(--muted)
}
/* ---------- Section headings ---------- */
.head {
  margin-bottom: clamp(34px, 5vw, 54px)
}
.head--center {
  text-align: center
}
.head__en {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .28em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: .7em;
}
.head__ttl {
  font-size: clamp(1.55rem, 4.2vw, 2.35rem);
  color: var(--navy);
  letter-spacing: .04em;
}
.head--center .head__ttl::after {
  content: "";
  display: block;
  width: 52px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--blue), var(--accent));
  margin: .7em auto 0;
}
.head--light .head__ttl {
  color: #fff
}
.head--light .head__en {
  color: #9cc4ef
}
/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  padding: .95em 2.1em;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
  will-change: transform;
}
.btn svg {
  width: 1.05em;
  height: 1.05em;
  flex: none
}
.btn--primary {
  background: linear-gradient(120deg, var(--blue), var(--accent));
  color: #fff;
  box-shadow: 0 10px 24px rgba(21, 101, 192, .35)
}
.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 30px rgba(21, 101, 192, .45)
}
.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .7)
}
.btn--ghost:hover {
  background: #fff;
  color: var(--navy)
}
.btn--outline {
  background: #fff;
  color: var(--blue-d);
  border-color: var(--blue)
}
.btn--outline:hover {
  background: var(--blue);
  color: #fff;
  transform: translateY(-3px)
}
.btn--lg {
  padding: 1.05em 2.6em;
  font-size: 1.05rem
}
/* =========================================================
   Header
   ========================================================= */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  width: min(94%, 1280px);
  margin-inline: auto;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0
}
.brand__logo {
  height: 44px;
  width: auto
}
.brand__name {
  display: flex;
  flex-direction: column;
  line-height: 1.2
}
.brand__name b {
  font-size: 1.06rem;
  color: var(--navy);
  letter-spacing: .06em
}
.brand__name span {
  font-size: .62rem;
  color: var(--accent);
  letter-spacing: .24em
}
.nav {
  display: flex;
  align-items: center;
  gap: 6px
}
.nav__telrow {
  display: none
}
.nav a {
  padding: .55em .85em;
  font-size: .93rem;
  font-weight: 600;
  color: var(--ink);
  border-radius: 8px;
  position: relative;
}
.nav a::after {
  content: "";
  position: absolute;
  left: .85em;
  right: .85em;
  bottom: .28em;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s var(--ease);
}
.nav a:hover {
  color: var(--blue-d)
}
.nav a:hover::after, .nav a.is-active::after {
  transform: scaleX(1)
}
.nav a.is-active {
  color: var(--blue-d)
}
.header__cta {
  display: flex;
  align-items: center;
  gap: 14px
}
.header__tel {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.1
}
.header__tel small {
  font-size: .62rem;
  color: var(--muted);
  letter-spacing: .1em
}
.header__tel b {
  font-size: 1.2rem;
  color: var(--navy);
  letter-spacing: .02em
}
.header__tel b a {
  display: flex;
  align-items: center;
  gap: .3em
}
.header__tel svg {
  width: .9em;
  height: .9em;
  color: var(--accent)
}
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 10px;
}
.burger span {
  height: 2.5px;
  background: var(--navy);
  border-radius: 2px;
  transition: .3s var(--ease)
}
.burger.is-open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg)
}
.burger.is-open span:nth-child(2) {
  opacity: 0
}
.burger.is-open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg)
}
/* =========================================================
   Hero (home)
   ========================================================= */
.hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: flex;
  align-items: center;
  overflow: hidden
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(8, 34, 71, .86) 0%, rgba(13, 71, 161, .55) 55%, rgba(10, 44, 92, .30) 100%);
}
.hero__inner {
  width: min(92%, var(--maxw));
  margin-inline: auto;
  color: #fff;
  padding: 70px 0
}
.hero__tag {
  display: inline-block;
  font-size: .82rem;
  letter-spacing: .24em;
  font-weight: 700;
  padding: .5em 1.2em;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 999px;
  margin-bottom: 1.4em;
}
.hero__copy {
  font-size: clamp(2.1rem, 6.5vw, 4.1rem);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: .05em;
  text-shadow: 0 4px 24px rgba(0, 0, 0, .3);
}
.hero__copy .accent {
  color: #8fc4ff
}
.hero__sub {
  font-size: clamp(1rem, 2.6vw, 1.2rem);
  margin: 1.4em 0 2.2em;
  max-width: 620px;
  color: #e6eefb
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px
}
.hero__scroll {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: .66rem;
  letter-spacing: .24em;
  writing-mode: vertical-rl;
  opacity: .85;
}
.hero__scroll::after {
  content: "";
  display: block;
  width: 1px;
  height: 46px;
  background: #fff;
  margin: 10px auto 0;
  animation: scrolly 1.8s ease-in-out infinite
}
@keyframes scrolly {
  0% {
    transform: scaleY(0);
    transform-origin: top
  }
  50% {
    transform: scaleY(1);
    transform-origin: top
  }
  51% {
    transform-origin: bottom
  }
  100% {
    transform: scaleY(0);
    transform-origin: bottom
  }
}
/* =========================================================
   Page banner (sub pages)
   ========================================================= */
.pagebanner {
  position: relative;
  padding: clamp(66px, 12vw, 130px) 0;
  color: #fff;
  overflow: hidden
}
.pagebanner__media {
  position: absolute;
  inset: 0;
  z-index: -2
}
.pagebanner__media img {
  width: 100%;
  height: 100%;
  object-fit: cover
}
.pagebanner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgba(8, 34, 71, .9), rgba(13, 71, 161, .6))
}
.pagebanner__en {
  font-size: .8rem;
  letter-spacing: .3em;
  color: #9cc4ef;
  font-weight: 700
}
.pagebanner__ttl {
  font-size: clamp(1.8rem, 5.5vw, 3rem);
  letter-spacing: .06em;
  margin-top: .3em
}
.breadcrumb {
  font-size: .78rem;
  color: #cfe0f5;
  margin-top: 1.2em;
  letter-spacing: .04em
}
.breadcrumb a:hover {
  color: #fff;
  text-decoration: underline
}
.breadcrumb span {
  opacity: .6;
  margin: 0 .5em
}
/* =========================================================
   Home — intro
   ========================================================= */
.intro {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(30px, 5vw, 64px);
  align-items: center
}
.intro__media {
  position: relative
}
.intro__media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%
}
.intro__media::before {
  content: "";
  position: absolute;
  inset: auto -18px -18px auto;
  width: 62%;
  height: 62%;
  border: 3px solid var(--accent);
  border-radius: var(--radius);
  z-index: -1;
  opacity: .4;
}
.intro__body p {
  color: var(--muted)
}
/* Feature cards */
.grid {
  display: grid;
  gap: 24px
}
.grid--3 {
  grid-template-columns: repeat(3, 1fr)
}
.grid--2 {
  grid-template-columns: repeat(2, 1fr)
}
.grid--4 {
  grid-template-columns: repeat(4, 1fr)
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  height: 100%;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: #c8ddf5
}
.card__icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--sky), #d7e8fb);
  color: var(--blue-d);
  margin-bottom: 18px;
}
.card__icon svg {
  width: 28px;
  height: 28px
}
.card__num {
  font-size: .78rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: .15em
}
.card h3 {
  font-size: 1.15rem;
  color: var(--navy);
  margin: .3em 0 .5em
}
.card p {
  color: var(--muted);
  font-size: .95rem;
  margin: 0
}
/* =========================================================
   Reason list (rich rows)
   ========================================================= */
.reasons {
  display: grid;
  gap: 22px
}
.reason {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.reason:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow)
}
.reason__no {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--blue), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  min-width: 64px;
}
.reason h3 {
  color: var(--navy);
  font-size: 1.22rem;
  margin-bottom: .5em
}
.reason p {
  color: var(--muted);
  margin: 0;
  font-size: .97rem
}
/* =========================================================
   Services
   ========================================================= */
.service {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: clamp(26px, 5vw, 56px);
  align-items: center;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.service:last-child {
  margin-bottom: 0
}
.service:nth-child(even) .service__media {
  order: 2
}
.service__media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 16/11;
  object-fit: cover;
  width: 100%
}
.service__label {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--accent);
  margin-bottom: .6em;
}
.service__label::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--accent)
}
.service h3 {
  font-size: clamp(1.35rem, 3.4vw, 1.7rem);
  color: var(--navy);
  margin-bottom: .6em
}
.service p {
  color: var(--muted)
}
.taglist {
  margin-top: 1.2em;
  padding: 20px 24px;
  background: var(--sky);
  border-radius: var(--radius-sm)
}
.taglist b {
  display: block;
  font-size: .82rem;
  color: var(--blue-d);
  letter-spacing: .08em;
  margin-bottom: .7em
}
.taglist ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px
}
.taglist li {
  background: #fff;
  border: 1px solid #cfe0f5;
  color: var(--navy);
  padding: .4em 1em;
  border-radius: 999px;
  font-size: .86rem;
  font-weight: 600;
}
/* =========================================================
   Check list (□ items)
   ========================================================= */
.checklist {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 26px;
  margin: 0
}
.checklist li {
  display: flex;
  gap: .7em;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-weight: 600;
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}
.checklist svg {
  width: 22px;
  height: 22px;
  flex: none;
  color: var(--accent);
  margin-top: 2px
}
/* =========================================================
   Highlight callout band
   ========================================================= */
.callout {
  background: linear-gradient(120deg, var(--navy), var(--blue-d));
  color: #eaf2fb;
  border-radius: var(--radius);
  padding: clamp(30px, 5vw, 52px);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.callout::before {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(47, 143, 224, .4), transparent 70%);
}
.callout h3 {
  color: #fff;
  font-size: clamp(1.25rem, 3.4vw, 1.7rem);
  margin-bottom: .6em;
  position: relative
}
.callout p {
  position: relative;
  margin: 0;
  color: #d7e6f7
}
/* =========================================================
   CTA band
   ========================================================= */
.ctaband {
  position: relative;
  padding: clamp(56px, 8vw, 96px) 0;
  color: #fff;
  text-align: center;
  overflow: hidden
}
.ctaband__media {
  position: absolute;
  inset: 0;
  z-index: -2
}
.ctaband__media img {
  width: 100%;
  height: 100%;
  object-fit: cover
}
.ctaband::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(rgba(8, 34, 71, .9), rgba(13, 71, 161, .82))
}
.ctaband h2 {
  font-size: clamp(1.5rem, 4.4vw, 2.4rem);
  letter-spacing: .05em;
  margin-bottom: .5em
}
.ctaband p {
  color: #dbe7f6;
  max-width: 640px;
  margin: 0 auto 2em
}
.ctaband__row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center
}
.ctaband__tel {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: .03em;
  display: flex;
  align-items: center;
  gap: .35em
}
.ctaband__tel svg {
  width: .85em;
  height: .85em;
  color: #8fc4ff
}
.ctaband__tel small {
  display: block;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .2em;
  color: #bcd4ef
}
/* =========================================================
   Info / table
   ========================================================= */
.infotable {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line)
}
.infotable th, .infotable td {
  padding: 18px 24px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  font-size: .96rem
}
.infotable tr:last-child th, .infotable tr:last-child td {
  border-bottom: 0
}
.infotable th {
  background: var(--sky);
  color: var(--navy);
  font-weight: 700;
  width: 34%;
  white-space: nowrap
}
.infotable td {
  color: var(--ink)
}
.infotable td .sub {
  display: block;
  color: var(--muted);
  font-size: .9em
}
.infotable td ul li {
  position: relative;
  padding-left: 1.1em;
  margin-bottom: .2em
}
.infotable td ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .7em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent)
}
/* History timeline */
.timeline {
  position: relative;
  margin-left: 8px;
  padding-left: 34px
}
.timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(var(--blue), var(--accent))
}
.timeline li {
  position: relative;
  padding-bottom: 28px
}
.timeline li:last-child {
  padding-bottom: 0
}
.timeline li::before {
  content: "";
  position: absolute;
  left: -34px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--blue);
  box-shadow: 0 0 0 4px var(--sky)
}
.timeline time {
  display: block;
  font-weight: 800;
  color: var(--blue-d);
  font-size: .95rem;
  margin-bottom: .15em
}
.timeline p {
  margin: 0;
  color: var(--muted);
  font-size: .96rem
}
/* =========================================================
   Greeting
   ========================================================= */
.greeting {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px
}
.greeting__body p {
  color: #33414f
}
.greeting__sign {
  text-align: right;
  margin-top: 1.5em;
  font-weight: 700;
  color: var(--navy)
}
.greeting__sign small {
  display: block;
  font-size: .8rem;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: .2em
}
.greeting__sign b {
  font-size: 1.25rem
}
/* Company gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px
}
.gallery figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm)
}
.gallery img {
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
  transition: transform .5s var(--ease)
}
.gallery figure:hover img {
  transform: scale(1.06)
}
/* Map */
.mapwrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line)
}
.mapwrap iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0
}
.accesslink {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  margin-top: 1em;
  font-weight: 700;
  color: var(--blue-d)
}
.accesslink:hover {
  color: var(--accent)
}
/* =========================================================
   Recruit
   ========================================================= */
.persona {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px
}
.persona li {
  display: flex;
  gap: .7em;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  font-weight: 700;
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}
.persona svg {
  width: 22px;
  height: 22px;
  color: var(--accent);
  flex: none
}
/* =========================================================
   Coming soon (news)
   ========================================================= */
.comingsoon2 {
  text-align: center;
  padding: clamp(70px, 12vw, 150px) 24px;
}
.comingsoon2 .cs-icon {
  width: 96px;
  height: 96px;
  margin: 0 auto 26px;
  color: var(--accent);
  opacity: .85
}
.comingsoon2 .cs-ttl {
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  color: var(--navy);
  letter-spacing: .1em
}
.comingsoon2 .cs-sub {
  color: var(--muted);
  margin-top: .8em
}
/* =========================================================
   News list (info)
   ========================================================= */
.newslist {
  border-top: 1px solid var(--line)
}
.newslist li {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
  align-items: center;
  padding: 22px 6px;
  border-bottom: 1px solid var(--line)
}
.newslist time {
  font-weight: 700;
  color: var(--blue-d);
  font-size: .9rem;
  min-width: 96px
}
.newslist .tag {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: #fff;
  background: var(--accent);
  padding: .25em 1em;
  border-radius: 999px
}
.newslist p {
  margin: 0;
  color: var(--ink);
  flex: 1;
  min-width: 200px
}
/* =========================================================
   Contact form
   ========================================================= */
.formtabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
  justify-content: center
}
.formtabs button {
  border: 2px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-family: inherit;
  padding: .7em 1.4em;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  font-size: .92rem;
  transition: .25s var(--ease);
}
.formtabs button:hover {
  border-color: var(--accent);
  color: var(--blue-d)
}
.formtabs button.is-active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  box-shadow: 0 8px 18px rgba(21, 101, 192, .3)
}
.formcard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(26px, 5vw, 48px);
  box-shadow: var(--shadow-sm)
}
.formnote {
  background: var(--sky);
  border-radius: var(--radius-sm);
  padding: 16px 22px;
  margin-bottom: 28px;
  font-size: .9rem;
  color: var(--blue-d);
  font-weight: 600
}
.field {
  margin-bottom: 22px
}
.field > label {
  display: block;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .5em;
  font-size: .95rem
}
.field .req {
  font-size: .68rem;
  background: #e53935;
  color: #fff;
  padding: .15em .7em;
  border-radius: 4px;
  margin-left: .6em;
  vertical-align: middle;
  letter-spacing: .05em
}
.field .opt {
  font-size: .68rem;
  background: #90a4b7;
  color: #fff;
  padding: .15em .7em;
  border-radius: 4px;
  margin-left: .6em;
  vertical-align: middle
}
.field input, .field select, .field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  padding: .85em 1em;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fbfcfe;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(47, 143, 224, .15);
  background: #fff;
}
.field textarea {
  min-height: 150px;
  resize: vertical
}
.field--row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px
}
.checkline {
  display: flex;
  gap: .6em;
  align-items: flex-start;
  font-size: .92rem;
  color: var(--muted)
}
.checkline input {
  width: auto;
  margin-top: .35em
}
.form-actions {
  text-align: center;
  margin-top: 10px
}
/* Privacy */
.privacy h3 {
  color: var(--navy);
  margin: 1.6em 0 .5em;
  font-size: 1.12rem;
  padding-left: .6em;
  border-left: 4px solid var(--accent)
}
.privacy p {
  color: var(--muted)
}
.privacy ol {
  padding-left: 1.4em;
  color: var(--muted)
}
.privacy ol li {
  margin-bottom: .4em
}
/* =========================================================
   Footer
   ========================================================= */
.footer {
  position: relative;
  color: #c6d5e8;
  background: var(--navy-d);
  overflow: hidden
}
.footer__media {
  position: absolute;
  inset: 0;
  opacity: .10
}
.footer__media img {
  width: 100%;
  height: 100%;
  object-fit: cover
}
.footer__top {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding: clamp(48px, 7vw, 76px) 0
}
.footer__brand .brand__name b {
  color: #fff
}
.footer__logo {
  height: 46px;
  margin-bottom: 18px
}
.footer__desc {
  font-size: .9rem;
  color: #a9bdd6;
  max-width: 340px
}
.footer__addr {
  font-size: .88rem;
  color: #a9bdd6;
  margin-top: 16px;
  line-height: 1.9
}
.footer h4 {
  color: #fff;
  font-size: .95rem;
  letter-spacing: .1em;
  margin-bottom: 1.2em;
  position: relative;
  padding-bottom: .6em
}
.footer h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 2px;
  background: var(--accent)
}
.footer__nav li {
  margin-bottom: .7em
}
.footer__nav a {
  font-size: .9rem;
  color: #c6d5e8
}
.footer__nav a:hover {
  color: #fff;
  padding-left: .3em
}
.footer__contact a {
  color: #c6d5e8;
  font-size: .9rem;
  display: flex;
  gap: .5em;
  align-items: center;
  margin-bottom: .7em
}
.footer__contact a:hover {
  color: #fff
}
.footer__contact svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
  flex: none
}
.footer__tel {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: .02em;
  margin: .1em 0 .4em
}
.footer__bottom {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 22px 0;
  font-size: .8rem;
  color: #8fa4c2;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  justify-content: space-between;
  align-items: center
}
.footer__bottom a:hover {
  color: #fff
}
/* =========================================================
   Reveal on scroll
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease), transform .7s var(--ease)
}
.reveal.is-in {
  opacity: 1;
  transform: none
}
.reveal.d1 {
  transition-delay: .1s
}
.reveal.d2 {
  transition-delay: .2s
}
.reveal.d3 {
  transition-delay: .3s
}
/* Back to top */
.totop {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: grid;
  place-items: center;
  z-index: 90;
  box-shadow: 0 8px 20px rgba(21, 101, 192, .4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: .3s var(--ease);
  border: 0;
  cursor: pointer;
}
.totop.show {
  opacity: 1;
  visibility: visible;
  transform: none
}
.totop:hover {
  background: var(--blue-d)
}
.totop svg {
  width: 22px;
  height: 22px
}
/* =========================================================
   Responsive
   ========================================================= */
@media (max-width:960px) {
  .footer__top {
    grid-template-columns: 1fr 1fr
  }
  .footer__brand {
    grid-column: 1/-1
  }
  .persona, .gallery {
    grid-template-columns: repeat(2, 1fr)
  }
}
@media (max-width:900px) {
  :root {
    --header-h: 66px
  }
  .nav, .header__tel small + * {}
  .header__cta .header__tel {
    display: none
  }
  .burger {
    display: flex
  }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 8px 0 18px;
    box-shadow: var(--shadow);
    transform: translateY(-140%);
    transition: transform .4s var(--ease);
    max-height: calc(100vh - var(--header-h));
    overflow: auto;
  }
  .nav.is-open {
    transform: translateY(0)
  }
  .nav a {
    width: 100%;
    padding: 1em 8%;
    border-bottom: 1px solid var(--sky);
    border-radius: 0;
    font-size: 1rem
  }
  .nav a::after {
    display: none
  }
  .nav .nav__telrow {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 1.2em 8%;
    overflow: hidden;
  }
  .nav .nav__telrow a {
    width: auto;
    max-width: 100%;
    padding: 0;
    border: 0;
    white-space: nowrap;
  }
  .intro, .service, .service:nth-child(even) .service__media {
    grid-template-columns: 1fr;
    order: 0
  }
  .service__media {
    order: -1 !important
  }
}
@media (max-width:720px) {
  .grid--3, .grid--4, .grid--2 {
    grid-template-columns: 1fr
  }
  .checklist {
    grid-template-columns: 1fr
  }
  .field--row {
    grid-template-columns: 1fr
  }
  .infotable th {
    width: 38%;
    white-space: normal
  }
  .ctaband__row {
    flex-direction: column
  }
  .reason {
    grid-template-columns: 1fr;
    gap: 8px
  }
  .reason__no {
    font-size: 2rem
  }
  .footer__top {
    grid-template-columns: 1fr
  }
  .footer__brand {
    grid-column: auto
  }
}
@media (max-width:520px) {
  .persona, .gallery {
    grid-template-columns: 1fr
  }
  .header__cta .btn {
    display: none
  }
  .infotable th, .infotable td {
    display: block;
    width: 100%
  }
  .infotable th {
    border-bottom: 0
  }
}
@media (prefers-reduced-motion:reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto
  }
  .reveal {
    opacity: 1;
    transform: none
  }
}
/* =========================================================
   Smartphone horizontal overflow fix
   ========================================================= */
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}
*, *::before, *::after {
  max-width: 100%;
}
.container, .header__inner, .hero__inner {
  min-width: 0;
}
@media (max-width: 720px) {
  .hero__tag {
    max-width: 100%;
    white-space: normal;
    word-break: break-word;
  }
  .hero__copy {
    overflow-wrap: anywhere;
  }
  .hero__sub {
    max-width: 100%;
    overflow-wrap: break-word;
  }
  .btn {
    max-width: 100%;
    white-space: normal;
  }
  .ctaband__tel {
    max-width: 100%;
    font-size: clamp(1.35rem, 7vw, 2rem);
    overflow-wrap: anywhere;
  }
  .ctaband__tel span {
    min-width: 0;
  }
  .card, .reason, .service, .intro, .callout, .formcard {
    min-width: 0;
  }
  .card *, .reason *, .service *, .intro * {
    min-width: 0;
  }
  .infotable {
    max-width: 100%;
    table-layout: fixed;
  }
  .newslist li, .newslist p {
    min-width: 0;
    overflow-wrap: break-word;
  }
  .footer__top > *, .footer__bottom > * {
    min-width: 0;
    max-width: 100%;
  }
}