/*
 * DAIBI CLEAN Design System
 * See /_emails/DESIGN.md for tokens, components and maintenance rules.
 */
:root {
  --navy: #0b315f;
  --navy-dark: #061d38;
  --navy-light: #174b80;
  --brand-blue: #1c67ad;
  --accent: #3b82c4;
  --sky: #eaf3fa;
  --ice: #f4f8fb;
  --white: #fff;
  --ink: #162333;
  --muted: #647180;
  --line: #dbe4eb;
  --line-dark: rgba(255, 255, 255, .18);
  --success: #1f7a52;
  --danger: #bd3b3b;
  --header-height: 82px;
  --container: 1200px;
  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --shadow-soft: 0 18px 48px rgba(6, 29, 56, .08);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  overflow-x: hidden;
  background: var(--white);
  color: var(--ink);
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", sans-serif;
  font-feature-settings: "palt";
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }
main { overflow: hidden; }
img { max-width: 100%; }
a { color: var(--navy-light); transition: color .33s ease, background-color .33s ease, border-color .33s ease, opacity .33s ease; }
a:hover { color: var(--navy); }
::selection { background: var(--navy); color: #fff; }

.container { max-width: var(--container); }
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 9999;
  padding: 10px 16px;
  background: #fff;
  color: var(--navy);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

/* Brand utilities */
.text-navy { color: var(--navy) !important; }
.bg-navy { background-color: var(--navy) !important; }
.bg-dark-navy { background-color: var(--navy-dark) !important; }
.bg-light { background-color: var(--ice) !important; }
.btn {
  min-height: 48px;
  border-radius: var(--radius-sm);
  padding: 11px 24px;
  border-width: 1px;
  font-size: .88rem;
  font-weight: 500;
  letter-spacing: .04em;
  transition: background-color .33s ease, color .33s ease, border-color .33s ease;
}
.btn:focus-visible,
.form-control:focus-visible,
.form-select:focus-visible,
.nav-link:focus-visible,
.navbar-toggler:focus-visible {
  outline: 3px solid rgba(59, 130, 196, .3);
  outline-offset: 3px;
  box-shadow: none;
}
.btn-navy { border-color: var(--navy); background: var(--navy); color: #fff; }
.btn-navy:hover,
.btn-navy:focus { border-color: var(--navy-dark); background: var(--navy-dark); color: #fff; }
.btn-outline-navy { border-color: var(--navy); background: transparent; color: var(--navy); }
.btn-outline-navy:hover { border-color: var(--navy); background: var(--navy); color: #fff; }
.btn-outline-light:hover { color: var(--navy); }
.btn-arrow { display: inline-flex; align-items: center; justify-content: space-between; gap: 30px; min-width: 210px; }
.btn-arrow i { font-size: 1rem; transition: transform .33s var(--ease); }
.btn-arrow:hover i { transform: translateX(4px); }

/* Header */
.site-header {
  z-index: 1030;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid rgba(11, 49, 95, .1);
  transition: box-shadow .33s ease, background-color .33s ease;
}
.site-header.is-scrolled { box-shadow: 0 8px 28px rgba(6, 29, 56, .08); }
.header-utility {
  height: 30px;
  background: var(--navy-dark);
  color: rgba(255, 255, 255, .68);
  font-size: .68rem;
  letter-spacing: .08em;
}
.header-utility .container { height: 100%; }
.header-utility a { color: #fff; text-decoration: none; }
.header-main .navbar { min-height: 76px; }
.brand-logo { display: block; width: auto; height: 42px; }
.site-header .navbar-nav { gap: 2px; }
.site-header .navbar-nav .nav-link {
  position: relative;
  padding: 27px 12px 25px;
  color: #263545;
  font-size: .79rem;
  font-weight: 500;
  letter-spacing: .04em;
}
.site-header .navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: 18px;
  left: 12px;
  height: 1px;
  background: var(--navy);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .33s var(--ease);
}
.site-header .navbar-nav .nav-link:hover,
.site-header .navbar-nav .nav-link.active { color: var(--navy); }
.site-header .navbar-nav .nav-link:hover::after,
.site-header .navbar-nav .nav-link.active::after { transform: scaleX(1); transform-origin: left; }
.site-header .nav-contact .btn { min-width: 142px; min-height: 42px; display: flex; align-items: center; justify-content: space-between; padding: 9px 15px; }
.navbar-toggler { width: 48px; height: 48px; border: 0; border-radius: 0; padding: 12px; }
.navbar-toggler:focus { box-shadow: none; }
.menu-lines { display: flex; flex-direction: column; gap: 7px; }
.menu-lines span { display: block; width: 24px; height: 1px; margin-left: auto; background: var(--navy); transition: transform .33s ease; }
.navbar-toggler[aria-expanded="true"] .menu-lines span:first-child { transform: translateY(4px) rotate(45deg); }
.navbar-toggler[aria-expanded="true"] .menu-lines span:last-child { transform: translateY(-4px) rotate(-45deg); }
.mobile-nav-meta { border-top: 1px solid var(--line); padding: 22px 0; }
.mobile-nav-meta a { display: block; color: var(--navy); font-size: 1.15rem; text-decoration: none; }
.mobile-nav-meta small { color: var(--muted); }

/* Hero */
.hero {
  position: relative;
  min-height: clamp(560px, 72svh, 680px);
  overflow: hidden;
  background: var(--navy-dark);
  color: #fff;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0 50% 0 0;
  z-index: 2;
  background: var(--navy-dark);
}
.hero-content { position: relative; z-index: 4; display: flex; min-height: inherit; flex-direction: column; justify-content: center; padding-top: 56px; padding-bottom: 58px; }
.hero-content .row { width: 100%; }
.hero h1 {
  max-width: 670px;
  margin: 24px 0 26px;
  font-size: clamp(2.45rem, 4.1vw, 4.5rem);
  font-weight: 500;
  line-height: 1.23;
  letter-spacing: -.035em;
}
.hero-en,
.page-hero .en {
  color: rgba(255, 255, 255, .7);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .24em;
}
.hero-lead { max-width: 560px; margin-bottom: 34px; color: rgba(255, 255, 255, .7); font-size: .91rem; line-height: 2; }
.hero-actions { display: flex; align-items: center; gap: 28px; }
.hero-text-link { display: inline-flex; align-items: center; gap: 13px; color: #fff; font-size: .84rem; text-decoration: none; }
.hero-text-link:hover { color: #fff; opacity: .72; }
.hero-img-panel { position: absolute; inset: 0 0 0 42%; z-index: 1; overflow: hidden; }
.hero-img-panel .hero-slide,
.hero-strip .hero-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; }
.hero-img-panel .hero-slide.active,
.hero-strip .hero-slide.active { opacity: 1; }
.hero-img-overlay { position: absolute; inset: 0; z-index: 2; background: rgba(6, 29, 56, .18); pointer-events: none; }
.hero-img-panel::after { content: ""; position: absolute; inset: 0 auto 0 0; z-index: 3; width: 1px; background: rgba(255, 255, 255, .28); }
.hero-dots { position: absolute; right: 38px; bottom: 28px; z-index: 4; display: flex; gap: 8px; }
.hero-dots span { width: 24px; height: 2px; background: rgba(255, 255, 255, .35); }
.hero-dots span.active { background: #fff; }
.hero-scroll { position: absolute; right: 30px; bottom: 86px; z-index: 4; align-items: center; gap: 12px; color: #fff; font-size: .6rem; letter-spacing: .2em; text-decoration: none; writing-mode: vertical-rl; }
.hero-scroll:hover { color: #fff; opacity: .65; }

/* Page heroes */
.page-hero { position: relative; min-height: 250px; overflow: hidden; background: var(--navy-dark); color: #fff; }
.page-hero > .container:not(.page-hero-content),
.page-hero-content { position: relative; z-index: 3; padding-top: 76px; padding-bottom: 74px; }
.page-hero h1 { margin: 12px 0 0; font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 500; letter-spacing: -.03em; }
.page-hero h2 { font-weight: 500; }
.page-hero p { margin: 18px 0 0; color: rgba(255, 255, 255, .68); font-size: .88rem; }
.page-hero-img-panel { position: absolute; inset: 0 0 0 42%; z-index: 1; overflow: hidden; }
.page-hero-img-panel img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-img-panel::after { content: ""; position: absolute; inset: 0; background: rgba(6, 29, 56, .24); }
.page-hero-strip { position: relative; width: 100%; height: 210px; overflow: hidden; }
.page-hero-strip img { width: 100%; height: 100%; object-fit: cover; }
.breadcrumb { --bs-breadcrumb-divider: "—"; }
nav[aria-label="breadcrumb"] { border-color: var(--line) !important; background: #fff !important; }
nav[aria-label="breadcrumb"] .container { padding-top: 12px !important; padding-bottom: 12px !important; }
.breadcrumb-item { color: #8b96a2; font-size: .67rem; letter-spacing: .06em; }
.breadcrumb-item a { color: #8b96a2; }
.breadcrumb-item.active { color: var(--navy); }

/* Sections and typography */
.section { padding: clamp(78px, 9vw, 128px) 0; }
.section-sm { padding: 60px 0; }
.section-title-en { display: block; margin-bottom: 12px; color: var(--brand-blue); font-size: .68rem; font-weight: 500; letter-spacing: .24em; }
.section-title { margin-bottom: 18px; color: var(--navy); font-weight: 500; letter-spacing: -.015em; }
.section-lead { max-width: 680px; margin: 0 auto 54px; color: var(--muted); font-size: .9rem; line-height: 1.9; }
.section > .container > .text-center:first-child { margin-bottom: 0; }
.section-ink-soft { position: relative; }
.section-ink-soft::before { content: ""; position: absolute; top: 0; right: max(24px, calc((100vw - var(--container)) / 2)); width: 80px; height: 1px; background: var(--navy); }

/* Cards */
.feature-card {
  position: relative;
  height: 100%;
  padding: 32px 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  transition: border-color .33s ease, background-color .33s ease;
}
.feature-card::after { content: ""; position: absolute; right: 0; bottom: 0; left: 0; height: 3px; background: var(--navy); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.feature-card:hover { border-color: #aec4d7; background: #fbfdff; }
.feature-card:hover::after { transform: scaleX(1); transform-origin: left; }
.feature-card .icon { display: flex; width: 52px; height: 52px; align-items: center; justify-content: center; margin-bottom: 28px; border: 1px solid #c9d9e7; border-radius: 50%; color: var(--navy); font-size: 1.2rem; }
.feature-card h3 { margin-bottom: 13px; color: var(--navy); font-size: 1.4rem; font-weight: 500; }
.feature-card p { margin-bottom: 0; color: var(--muted); font-size: .83rem; line-height: 1.85; }
.concept-scroll .feature-card { padding-top: 40px; padding-bottom: 40px; }

.partner-cta-section { position: relative; padding: clamp(85px, 10vw, 140px) 0; overflow: hidden; background: var(--navy-dark) url('../images/image01.webp') center / cover no-repeat; color: #fff; }
.partner-cta-section::before { content: ""; position: absolute; inset: 0; background: rgba(6, 29, 56, .78); }
.partner-cta-layout { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) clamp(240px, 27vw, 315px); align-items: center; gap: clamp(36px, 7vw, 100px); }
.partner-cta-panel { position: relative; max-width: 700px; padding-left: 34px; border-left: 1px solid rgba(255, 255, 255, .45); }
.partner-cta-panel h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 500; }
.partner-cta-panel p { max-width: 620px; color: rgba(255, 255, 255, .7); font-size: .9rem; line-height: 2; }
.partner-cta-image { position: relative; z-index: 1; aspect-ratio: 1; overflow: hidden; border: 1px solid rgba(255, 255, 255, .5); border-radius: 24px; box-shadow: 0 20px 44px rgba(1, 17, 34, .32); }
.partner-cta-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.partner-form-box { border-color: var(--line) !important; border-radius: var(--radius-lg) !important; box-shadow: var(--shadow-soft); }

/* 協力会社フォーム：お問い合わせ内容はPCでも必ず1行全幅で表示 */
@media (min-width: 768px) {
  .partner-form-box .wpcf7 .row > [class*="col"]:has(textarea[name="partner-message"]) {
    flex: 0 0 100%;
    width: 100%;
  }
  .partner-form-box .wpcf7 .form-grid > :has(textarea[name="partner-message"]) {
    grid-column: 1 / -1;
  }
}

.work-card { height: 100%; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; transition: border-color .33s ease; }
.work-card:hover { border-color: #9fb9ce; }
.work-card .ratio { overflow: hidden; background: var(--ice); }
.work-card .ratio img { transition: transform .65s var(--ease); }
.work-card:hover .ratio > img,
.work-card:hover .ratio .noimg img,
.work-card:hover .work-card__image > img { transform: scale(1.035); }
.work-card__image { position: relative; width: 100%; height: 100%; }
/* .ratio の予約領域内に重ね、画像分の余白を追加しない */
.work-card .ratio > .work-card__image { position: absolute; inset: 0; }
.work-card__image > img { display: block; width: 100%; height: 100%; }
.work-card__image > span { position: absolute; right: 12px; bottom: 12px; padding: 5px 8px; background: rgba(6, 29, 56, .82); color: rgba(255, 255, 255, .92); font-size: .59rem; font-weight: 500; letter-spacing: .08em; }
.work-card .body { padding: 24px 25px 26px; }
.work-card h3 { margin-bottom: 11px; color: var(--navy); font-size: 1rem; font-weight: 500; line-height: 1.65; }
.work-card .meta { color: #8994a0; font-size: .68rem; }
.noimg { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; background: var(--ice); }
.noimg img { max-width: 55%; max-height: 55%; opacity: .48; }

/* Company greeting */
.company-greeting-photo {
  position: relative;
  width: min(100%, 360px);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--ice);
  box-shadow: var(--shadow-soft);
}
.company-greeting-photo::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: inherit;
  content: "";
  pointer-events: none;
}
.company-greeting-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}

.section-divider-img { width: 100%; max-height: 420px; overflow: hidden; line-height: 0; }
.section-divider-img img { display: block; width: 100%; height: clamp(240px, 34vw, 420px); object-fit: cover; }
.client-item { height: 100%; padding: 20px 16px; border-bottom: 1px solid var(--line); color: var(--navy); text-align: center; font-size: 1.1rem; }
.cross-link-card { position: relative; display: grid; min-height: 250px; grid-template-columns: minmax(0, 1fr) 150px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; transition: border-color .33s ease; }
.cross-link-card:hover { border-color: #a9bfd2; }
.cross-link-card__content { position: relative; z-index: 1; padding: 44px 20px 44px 44px; }
.cross-link-card__content .section-title { margin-bottom: 14px; }
.cross-link-card__content .btn { min-width: 128px; min-height: 42px; padding: 8px 16px; }
.cross-link-card__visual { position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; border-left: 1px solid var(--line); background: var(--ice); color: var(--navy); }
.cross-link-card__visual::after { content: ""; position: absolute; width: 106px; height: 106px; border: 1px solid rgba(11, 49, 95, .14); border-radius: 50%; }
.cross-link-card__visual > span { position: absolute; top: 19px; right: 21px; color: rgba(11, 49, 95, .45); font-size: .6rem; letter-spacing: .18em; }
.cross-link-card__visual i { position: relative; z-index: 1; font-size: 2.25rem; transition: transform .4s var(--ease); }
.cross-link-card:hover .cross-link-card__visual i { transform: translateY(-3px); }
.cross-link-card--recruit .cross-link-card__visual { background: #eef5f9; }

/* Tables and editorial content */
.info-table { width: 100%; border-top: 1px solid var(--navy); border-collapse: collapse; }
.info-table th,
.info-table td { padding: 20px 22px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: .88rem; }
.info-table th { width: 28%; background: var(--ice); color: var(--navy); font-weight: 500; text-align: left; }
.post-content { color: #3f4c5a; line-height: 2; }
.post-content h2,
.post-content h3 { margin: 2.5em 0 1em; color: var(--navy); font-weight: 500; }
.post-content img { border-radius: var(--radius-md); }

/* Contact */
.contact-hero { min-height: 315px; }
.contact-section { position: relative; background: #fff; }
.contact-section::before { content: ""; position: absolute; inset: 0 62% 0 0; background: var(--ice); }
.contact-section > .container { position: relative; }
.contact-intro { display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; align-items: end; margin-bottom: 70px; }
.contact-intro h2 { margin: 0; color: var(--navy); font-size: clamp(1.8rem, 3.2vw, 2.85rem); font-weight: 500; line-height: 1.5; letter-spacing: -.03em; }
.contact-intro > p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 2; }
.contact-layout { display: grid; grid-template-columns: minmax(280px, .72fr) minmax(0, 1.55fr); gap: 64px; align-items: start; }
.contact-aside { position: sticky; top: 135px; }
.contact-aside__panel { padding: 34px 30px; background: var(--navy-dark); color: #fff; }
.contact-aside__label { margin-bottom: 22px; color: var(--muted); font-size: .68rem; font-weight: 500; letter-spacing: .1em; }
.contact-aside__panel .contact-aside__label { color: rgba(255, 255, 255, .58); }
.contact-tel { display: flex; align-items: center; gap: 15px; color: #fff; text-decoration: none; }
.contact-tel:hover { color: #fff; opacity: .76; }
.contact-tel i { font-size: 1.1rem; }
.contact-tel span { font-size: clamp(1.25rem, 2vw, 1.65rem); font-weight: 500; letter-spacing: .01em; }
.contact-tel small { display: block; margin-bottom: 3px; color: rgba(255, 255, 255, .58); font-size: .58rem; letter-spacing: .13em; }
.contact-aside__note { margin: 20px 0 0; padding-top: 18px; border-top: 1px solid var(--line-dark); color: rgba(255, 255, 255, .65); font-size: .74rem; line-height: 1.8; }
.contact-flow { padding: 36px 6px; border-bottom: 1px solid var(--line); }
.contact-flow ol { margin: 0; padding: 0; list-style: none; }
.contact-flow li { position: relative; display: flex; gap: 17px; padding-bottom: 25px; }
.contact-flow li:not(:last-child)::after { content: ""; position: absolute; top: 26px; bottom: 4px; left: 14px; width: 1px; background: var(--line); }
.contact-flow li:last-child { padding-bottom: 0; }
.contact-flow li > span { position: relative; z-index: 1; display: flex; width: 29px; height: 29px; flex: 0 0 29px; align-items: center; justify-content: center; border: 1px solid #a9bfd2; border-radius: 50%; background: var(--ice); color: var(--navy); font-size: .59rem; }
.contact-flow strong { display: block; margin: 2px 0 4px; color: var(--navy); font-size: .82rem; font-weight: 500; }
.contact-flow small { color: var(--muted); font-size: .7rem; line-height: 1.6; }
.contact-security { display: flex; gap: 14px; padding: 27px 6px; color: var(--navy); }
.contact-security i { font-size: 1.15rem; }
.contact-security p { margin: 0; font-size: .76rem; line-height: 1.6; }
.contact-security strong { font-weight: 500; }
.contact-security span { color: var(--muted); font-size: .67rem; }
.contact-form-shell { padding: 52px 58px 58px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-soft); }
.contact-form-heading { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: baseline; margin-bottom: 38px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.contact-form-heading > span { color: var(--brand-blue); font-size: .62rem; letter-spacing: .18em; }
.contact-form-heading h2 { margin: 0; color: var(--navy); font-size: 1.35rem; font-weight: 500; }
.contact-form-heading p { margin: 0; color: var(--muted); font-size: .68rem; }
.contact-form-heading em,
.form-field label em { color: var(--danger); font-size: .64rem; font-style: normal; font-weight: 500; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form-field { position: relative; margin-bottom: 28px; }
.form-field > label,
.contact-form-live label:not(.privacy-check),
.wpcf7-form > p > label { display: block; margin-bottom: 10px; color: var(--navy); font-size: .82rem; font-weight: 500; }
.form-field > label { display: flex; align-items: center; justify-content: space-between; }
.form-field > label small { color: #95a0aa; font-size: .58rem; letter-spacing: .1em; }
.form-control,
.form-select,
.wpcf7-form-control:not(.wpcf7-submit):not(.wpcf7-acceptance):not(.wpcf7-checkbox):not(.wpcf7-radio) {
  width: 100%;
  min-height: 54px;
  border: 1px solid #cfd9e1;
  border-radius: var(--radius-sm);
  background-color: #fbfdff;
  color: var(--ink);
  font-size: .87rem;
  padding: 14px 40px 14px 20px;
  transition: border-color .25s ease, background-color .25s ease, box-shadow .25s ease;
}
textarea.form-control,
.wpcf7 textarea.wpcf7-form-control { min-height: 170px; resize: vertical; }
.form-control::placeholder,
.wpcf7-form-control::placeholder { color: #a3adb7; }
.form-control:focus,
.form-select:focus,
.wpcf7-form-control:focus { border-color: var(--brand-blue); background: #fff; box-shadow: 0 0 0 4px rgba(28, 103, 173, .08); }
.character-count { margin-top: 7px; color: #9aa4ae; font-size: .63rem; text-align: right; }
.privacy-check { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 4px 0 28px; color: var(--muted); font-size: .76rem; cursor: pointer; }
.privacy-check input,
.wpcf7-acceptance input[type="checkbox"] { width: 20px; height: 20px; flex: 0 0 20px; margin: 0; accent-color: var(--navy); cursor: pointer; }
.btn-submit,
.wpcf7-submit { display: flex; width: min(100%, 330px); min-height: 58px; align-items: center; justify-content: space-between; margin: 0 auto; padding: 14px 22px; border: 1px solid var(--navy); border-radius: var(--radius-sm); background: var(--navy); color: #fff; font-size: .85rem; font-weight: 500; letter-spacing: .05em; transition: background-color .33s ease, border-color .33s ease; }
.btn-submit:hover,
.wpcf7-submit:hover { border-color: var(--navy-dark); background: var(--navy-dark); }
.btn-submit:disabled { opacity: .5; }
.preview-note { margin: 14px 0 0; color: #9aa4ae; font-size: .65rem; text-align: center; }
.contact-form-notice { display: flex; gap: 12px; padding: 22px; background: var(--ice); color: var(--muted); }
.contact-form-notice p { margin: 0; font-size: .82rem; line-height: 1.7; }

/* Generic Contact Form 7 markup normalization */
.wpcf7-form > p { margin-bottom: 25px; }
.wpcf7-form-control-wrap { display: block; margin-top: 10px; }
.wpcf7-list-item { margin-left: 0; }
.wpcf7-form .privacy-consent,
.wpcf7-form > .mb-4:has(.wpcf7-acceptance) { display: flex; align-items: center; flex-wrap: wrap; column-gap: 4px; row-gap: 7px; margin-top: 4px; margin-bottom: 28px !important; color: var(--muted); font-size: .76rem; line-height: 1.6; }
.wpcf7-form .privacy-consent > .wpcf7-form-control-wrap,
.wpcf7-form > .mb-4:has(.wpcf7-acceptance) > .wpcf7-form-control-wrap { display: inline-flex; align-items: center; margin-top: 0; }
.wpcf7-form .privacy-consent .wpcf7-acceptance,
.wpcf7-form > .mb-4:has(.wpcf7-acceptance) .wpcf7-acceptance { display: inline-flex; align-items: center; }
.wpcf7-form .privacy-consent .wpcf7-list-item,
.wpcf7-form > .mb-4:has(.wpcf7-acceptance) .wpcf7-list-item { display: inline-flex; align-items: center; margin: 0; }
.wpcf7-form .privacy-consent .wpcf7-list-item label,
.wpcf7-form > .mb-4:has(.wpcf7-acceptance) .wpcf7-list-item label { display: inline-flex !important; align-items: center; gap: 10px; margin: 0 !important; color: inherit; font-size: inherit; font-weight: 400; }
.wpcf7-form .privacy-consent a,
.wpcf7-form > .mb-4:has(.wpcf7-acceptance) a { color: var(--navy); text-underline-offset: 3px; }
.wpcf7-not-valid { border-color: var(--danger) !important; }
.wpcf7-not-valid-tip { display: block; margin-top: 7px; color: var(--danger); font-size: .7rem; }
.wpcf7-response-output { margin: 24px 0 0 !important; padding: 16px 18px !important; border: 0 !important; border-left: 3px solid var(--brand-blue) !important; background: var(--ice); color: var(--ink); font-size: .78rem; line-height: 1.7; }
.wpcf7 form.sent .wpcf7-response-output { border-left-color: var(--success) !important; }
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output { border-left-color: var(--danger) !important; }
.wpcf7-spinner { display: block; margin: 14px auto 0; }

/* CTA and footer */
.cta-band { position: relative; padding: 82px 0; overflow: hidden; background: var(--navy); color: #fff; }
.cta-band::after { content: "DAIBI CLEAN"; position: absolute; right: -20px; bottom: -37px; color: rgba(255, 255, 255, .045); font-size: clamp(4rem, 12vw, 10rem); font-weight: 500; letter-spacing: -.06em; white-space: nowrap; pointer-events: none; }
.cta-band__inner { position: relative; z-index: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: 50px; }
.cta-band .section-title-en { color: rgba(255, 255, 255, .55); }
.cta-band h2 { margin: 0 0 15px; font-size: clamp(1.7rem, 3vw, 2.55rem); font-weight: 500; line-height: 1.45; letter-spacing: -.025em; }
.cta-band__copy p { margin: 0; color: rgba(255, 255, 255, .65); font-size: .8rem; }
.cta-band__actions { display: flex; align-items: center; gap: 28px; }
.cta-phone { display: flex; align-items: center; gap: 12px; color: #fff; font-size: 1.15rem; text-decoration: none; white-space: nowrap; }
.cta-phone:hover { color: #fff; opacity: .7; }
.cta-phone small { display: block; color: rgba(255, 255, 255, .55); font-size: .58rem; letter-spacing: .1em; }
.site-footer { position: relative; padding: 76px 0 24px; overflow: hidden; background: var(--navy-dark); color: rgba(255, 255, 255, .65); }
.site-footer::before { content: ""; position: absolute; inset: 0; background: url('../images/footerbackground.webp') center / cover; opacity: .08; pointer-events: none; }
.site-footer .container { position: relative; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 70px; padding-bottom: 60px; }
.brand-logo--footer { width: auto; height: 54px; padding: 7px 10px; border-radius: var(--radius-sm); background: #fff; }
.footer-tagline { margin: 22px 0 0; color: rgba(255, 255, 255, .62); font-size: .78rem; line-height: 1.9; }
.footer-label { margin-bottom: 20px; color: #fff; font-size: .62rem; letter-spacing: .2em; }
.footer-contact address { margin: 0; font-size: .75rem; font-style: normal; line-height: 2; }
.footer-contact a { color: rgba(255, 255, 255, .72); text-decoration: none; }
.footer-separator { margin: 0 5px; opacity: .35; }
.footer-nav__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.footer-nav a { color: rgba(255, 255, 255, .62); font-size: .75rem; text-decoration: none; }
.footer-nav a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 22px; border-top: 1px solid var(--line-dark); }
.footer-bottom p { margin: 0; color: rgba(255, 255, 255, .42); font-size: .62rem; }
.mobile-contact-bar { position: fixed; right: 10px; bottom: max(10px, env(safe-area-inset-bottom)); left: 10px; z-index: 1025; display: flex; min-height: 70px; align-items: center; gap: 14px; overflow: hidden; padding: 8px 10px 8px 8px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 8px; background: rgba(6, 29, 56, .96); color: #fff; text-decoration: none; box-shadow: 0 14px 36px rgba(6, 29, 56, .3); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.mobile-contact-bar::before { content: ""; position: absolute; top: 0; right: 0; left: 0; height: 2px; background: var(--accent); }
.mobile-contact-bar:hover { color: #fff; }
.mobile-contact-bar__mark { display: flex; width: 50px; height: 50px; flex: 0 0 50px; align-items: center; justify-content: center; border: 1px solid rgba(255, 255, 255, .22); border-radius: 6px; background: rgba(255, 255, 255, .08); font-size: 1.15rem; }
.mobile-contact-bar__copy { display: flex; min-width: 0; flex: 1; flex-direction: column; gap: 2px; line-height: 1.3; }
.mobile-contact-bar__copy small { color: rgba(255, 255, 255, .52); font-size: .5rem; font-weight: 500; letter-spacing: .13em; }
.mobile-contact-bar__copy strong { color: #fff; font-size: .84rem; font-weight: 500; letter-spacing: .04em; }
.mobile-contact-bar__arrow { display: flex; width: 34px; height: 34px; flex: 0 0 34px; align-items: center; justify-content: center; border-radius: 50%; background: #fff; color: var(--navy); font-size: .88rem; transition: transform .33s var(--ease); }
.mobile-contact-bar:hover .mobile-contact-bar__arrow { transform: translateX(3px); }

/* Motion enhancement: content stays visible without JavaScript */
.js .reveal-ready { opacity: 0; transform: translateY(24px); transition: opacity .75s var(--ease), transform .75s var(--ease); }
.js .reveal-ready.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1199.98px) {
  .site-header .navbar-nav .nav-link { padding-right: 8px; padding-left: 8px; font-size: .74rem; }
  .site-header .navbar-nav .nav-link::after { right: 8px; left: 8px; }
  .contact-layout { gap: 38px; }
  .contact-form-shell { padding: 44px; }
}

@media (max-width: 991.98px) {
  :root { --header-height: 72px; }
  .header-main .navbar { min-height: 70px; }
  .brand-logo { height: 38px; }
  .navbar-collapse { position: absolute; top: 70px; right: -12px; left: -12px; max-height: calc(100svh - 70px); overflow-y: auto; border-top: 1px solid var(--line); background: #fff; padding: 13px 26px 26px; box-shadow: 0 22px 40px rgba(6, 29, 56, .1); }
  .site-header .navbar-nav { align-items: stretch !important; }
  .site-header .navbar-nav .nav-link { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: .88rem; }
  .site-header .navbar-nav .nav-link::after { display: none; }
  .site-header .nav-contact { margin: 18px 0 6px !important; }
  .site-header .nav-contact .btn { width: 100%; min-height: 50px; padding: 12px 18px; }
  .hero { min-height: auto; }
  .hero::before { inset: 210px 0 0; }
  .hero-strip { position: relative; z-index: 1; width: 100%; height: 210px; overflow: hidden; }
  .hero-strip::after { content: ""; position: absolute; inset: 0; background: rgba(6, 29, 56, .18); }
  .hero-content { min-height: 440px; padding-top: 52px; padding-bottom: 56px; }
  .hero h1 { font-size: clamp(2.35rem, 7vw, 3.7rem); }
  .hero-dots { top: 188px; right: 20px; bottom: auto; }
  .contact-section { background: var(--ice); }
  .contact-section::before { display: none; }
  .contact-intro { gap: 42px; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-aside { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
  .contact-security { grid-column: 1 / -1; }
  .cta-band__inner { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-nav { grid-column: 1 / -1; }
}

@media (max-width: 767.98px) {
  .section { padding: 74px 0; }
  .section-lead { margin-bottom: 38px; font-size: .82rem; }
  .hero-content { min-height: 420px; padding-top: 48px; padding-bottom: 52px; }
  .hero h1 { margin: 19px 0 22px; line-height: 1.3; }
  .hero-lead br { display: none; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 19px; }
  .hero-actions .btn { width: 100%; }
  .hero-text-link { justify-content: center; }
  .concept-scroll { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
  .concept-scroll > [class*="col-"] { scroll-snap-align: start; }
  .concept-scroll::-webkit-scrollbar { height: 3px; }
  .concept-scroll::-webkit-scrollbar-thumb { background: #b8c7d3; }
  .partner-cta-layout { grid-template-columns: minmax(0, 1fr) 190px; gap: 28px; }
  .partner-cta-panel { padding-left: 22px; }
  .cross-link-card { min-height: 230px; grid-template-columns: minmax(0, 1fr) 120px; }
  .cross-link-card__content { padding: 36px 18px 36px 30px; }
  .cross-link-card__visual::after { width: 88px; height: 88px; }
  .cross-link-card__visual i { font-size: 1.9rem; }
  .contact-intro { grid-template-columns: 1fr; gap: 24px; margin-bottom: 45px; }
  .contact-intro h2 br { display: none; }
  .contact-intro > p { font-size: .81rem; }
  .contact-aside { display: block; }
  .contact-flow { padding-right: 6px; padding-left: 6px; }
  .contact-form-shell { padding: 34px 24px 38px; border-radius: var(--radius-md); }
  .contact-form-heading { grid-template-columns: auto 1fr; gap: 12px; }
  .contact-form-heading p { grid-column: 2; }
  .form-grid { grid-template-columns: 1fr; gap: 0; }
  .cta-band { padding: 70px 0; }
  .cta-band__actions { width: 100%; align-items: stretch; flex-direction: column; }
  .cta-band__actions .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 42px; padding-bottom: 46px; }
  .footer-nav { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 10px; }
  .site-footer { padding-bottom: 112px; }
}

@media (max-width: 575.98px) {
  .container { --bs-gutter-x: 32px; }
  .hero-strip,
  .page-hero-strip { height: 190px; }
  .hero::before { inset: 190px 0 0; }
  .hero-dots { top: 168px; }
  .page-hero > .container:not(.page-hero-content),
  .page-hero-content { padding-top: 58px; padding-bottom: 56px; }
  .partner-cta-layout { grid-template-columns: 1fr; gap: 30px; }
  .partner-cta-image { width: min(250px, 74vw); margin-left: 22px; border-radius: 18px; }
  .info-table th,
  .info-table td { display: block; width: 100%; padding: 14px 16px; }
  .info-table th { border-bottom: 0; }
  .feature-card { padding: 28px 24px; }
  .company-greeting-photo { width: min(100%, 310px); margin-right: auto; margin-left: auto; }
  .cross-link-card { min-height: 0; grid-template-columns: minmax(0, 1fr) 92px; }
  .cross-link-card__content { padding: 30px 16px 30px 24px; }
  .cross-link-card__visual::after { width: 66px; height: 66px; }
  .cross-link-card__visual i { font-size: 1.5rem; }
  .cross-link-card__visual > span { top: 14px; right: 13px; }
  .contact-form-shell { margin-right: -4px; margin-left: -4px; }
  .footer-separator { display: block; height: 0; opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .js .reveal-ready { opacity: 1; transform: none; }
}
