:root {
  --navy: #082f72;
  --navy-dark: #04265e;
  --ink: #071f4d;
  --muted: #5b6575;
  --line: #dce3ec;
  --pale: #f5f8fc;
  --white: #fff;
  --shadow: 0 7px 24px rgba(12, 38, 79, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: #fff;
  font-family: "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.site-header {
  position: relative;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  padding: 0 clamp(24px, 5vw, 78px);
  border-bottom: 1px solid #d7dee8;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
}
.logo {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  font-weight: 700;
  text-decoration: none;
}
.header-cta {
  padding: 9px 28px;
  border-radius: 999px;
  color: #fff;
  background: var(--navy);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
.hero {
  display: grid;
  grid-template-columns: minmax(500px, .93fr) minmax(550px, 1.07fr);
  min-height: 590px;
  overflow: hidden;
  background: linear-gradient(90deg, #fff 0%, #fff 42%, #f8fafc 55%);
}
.hero-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
  align-self: center;
  padding: 55px 20px 48px max(38px, calc((100vw - 1180px) / 2));
}
.hero h1 {
  margin: 0 0 24px;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(38px, 3.5vw, 52px);
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.42;
}
.hero h1 span { display: block; white-space: nowrap; }
.hero-lead { margin: 0 0 17px; font-size: 16px; font-weight: 600; }
.hero-note { margin: 0; color: #29384e; font-size: 14px; }
.hero-actions { display: flex; gap: 14px; margin-top: 30px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 25px;
  border: 2px solid var(--navy);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.button-primary { color: #fff; background: var(--navy); }
.button-secondary { color: var(--navy); background: #fff; }
.location { display: flex; align-items: center; gap: 7px; margin: 18px 0 9px; font-size: 13px; font-weight: 700; }
.location img { width: 22px; height: 22px; }
.industries { margin: 0; color: #40506a; font-size: 12px; font-weight: 600; }
.hero-visual {
  min-width: 0;
  min-height: 542px;
  margin: 24px 24px 24px 0;
  overflow: hidden;
  border-radius: 12px;
  background: #e8edf3;
  box-shadow: 0 8px 24px rgba(12, 38, 79, .1);
}
.hero-visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 542px;
  object-fit: cover;
  object-position: center;
}
.section {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 54px 0 24px;
}
.section-heading { margin-bottom: 28px; text-align: center; }
.section-heading h2 {
  margin: 0 0 6px;
  font-size: clamp(26px, 3vw, 37px);
  letter-spacing: .025em;
  line-height: 1.4;
}
.section-heading p { margin: 0; color: var(--muted); font-size: 14px; }
.grid { display: grid; gap: 18px; }
.grid-five { grid-template-columns: repeat(5, 1fr); }
.grid-four { grid-template-columns: repeat(4, 1fr); }
.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}
.compact-card {
  min-height: 170px;
  padding: 26px 12px 18px;
  text-align: center;
}
.compact-card p { margin: 13px 0 0; color: #28364b; font-size: 14px; font-weight: 700; }
.icon {
  display: block;
  width: 58px;
  height: 58px;
  margin: 0 auto;
  object-fit: contain;
}
.service-card, .feature-card {
  min-height: 272px;
  padding: 30px 24px 24px;
  text-align: center;
}
.service-card h3, .feature-card h3 { margin: 18px 0 11px; font-size: 18px; line-height: 1.55; }
.service-card p, .feature-card p { margin: 0; color: #465367; font-size: 13px; }
.industry-card {
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(12, 38, 79, .07);
}
.industry-photo {
  height: 176px;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
  background: #e8edf3;
}
.industry-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.industry-body { min-height: 185px; padding: 16px 22px 20px; }
.industry-body h3 { margin: 0 0 5px; font-size: 18px; }
.industry-body ul { margin: 0; padding-left: 1.25em; color: #27364c; font-size: 13px; }
.safety-note { margin: 14px 0 0; color: #59677b; font-size: 12px; text-align: center; }
.flow-section { padding-top: 42px; }
.flow { display: flex; align-items: center; }
.flow-card {
  position: relative;
  flex: 1;
  min-height: 250px;
  padding: 26px 18px 18px;
  border: 2px solid #6e8cb8;
  border-radius: 8px;
  text-align: center;
}
.flow-card b {
  position: absolute;
  top: 0;
  left: 50%;
  padding: 2px 17px;
  transform: translate(-50%, -50%);
  border-radius: 4px;
  color: #fff;
  background: var(--navy);
  font-size: 12px;
}
.flow-card .icon { margin: 13px auto 16px; }
.flow-card h3 { margin: 0 0 8px; font-size: 17px; line-height: 1.45; }
.flow-card p { margin: 0; color: #4d596c; font-size: 12px; }
.flow-arrow { padding: 0 8px; color: var(--navy); font-size: 28px; font-weight: 700; }
.flow-bottom { margin: 15px 0 0; text-align: center; font-size: 13px; }
.subheading { margin: 32px 0 16px; font-size: 20px; text-align: center; }
.mini-card {
  padding: 20px 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: #263954;
  background: #fff;
  box-shadow: var(--shadow);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}
.consultation { padding-bottom: 42px; }
.consultation-panel {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  max-width: 980px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 9px;
  box-shadow: var(--shadow);
}
.checklist {
  display: grid;
  gap: 12px;
  padding: 32px 38px;
  border: 2px solid #60799f;
  border-radius: 9px;
  background: #fff;
  font-size: 15px;
  font-weight: 700;
}
.checklist input { width: 17px; height: 17px; margin-right: 10px; accent-color: var(--navy); }
.consultation-message {
  position: relative;
  min-height: 225px;
  padding: 35px 38px;
  overflow: hidden;
  background: #eff7fd;
  font-size: 15px;
  font-weight: 700;
}
.tokushima-landscape {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 82px;
  opacity: .7;
  background:
    linear-gradient(165deg, transparent 48%, #83b6ca 49% 56%, transparent 57%) 0 0 / 52% 100%,
    linear-gradient(195deg, transparent 48%, #9dced5 49% 58%, transparent 59%) 100% 0 / 62% 100%,
    linear-gradient(0deg, #c7e5ed 0 20%, transparent 21%);
}
.contact-wrap {
  display: grid;
  grid-template-columns: .9fr 1.3fr;
  gap: 38px;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto 54px;
  padding: 40px;
  border-radius: 10px;
  color: #fff;
  background:
    radial-gradient(circle at 3% 40%, rgba(89,147,190,.28), transparent 27%),
    linear-gradient(135deg, #073a83, #01265e);
  box-shadow: 0 15px 35px rgba(4, 39, 90, .2);
}
.contact-message { align-self: center; padding: 10px 6px; }
.contact-kicker {
  margin: 0 0 18px;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(28px, 3.2vw, 43px);
  font-weight: 700;
  line-height: 1.45;
}
.contact-message > p:not(.contact-kicker):not(.contact-promise) { color: #edf5ff; font-size: 14px; }
.contact-button {
  justify-content: space-between;
  width: 100%;
  max-width: 390px;
  margin-top: 20px;
  color: var(--navy);
  background: #fff;
}
.contact-button span { font-size: 26px; }
.contact-promise { display: flex; align-items: center; gap: 8px; margin: 16px 0 0; font-size: 14px; font-weight: 700; }
.contact-promise img { width: 24px; height: 24px; filter: brightness(0) invert(1); }
.contact-form {
  position: relative;
  padding: 28px;
  border-radius: 9px;
  color: #233047;
  background: #fff;
}
.website-field {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.field {
  display: grid;
  grid-template-columns: 140px 1fr;
  align-items: start;
  gap: 14px;
  margin-bottom: 13px;
}
.field label { padding-top: 8px; font-size: 13px; font-weight: 700; }
.field em {
  margin-left: 5px;
  padding: 2px 5px;
  border: 1px solid #ff8d83;
  border-radius: 3px;
  color: #e64f45;
  font-size: 9px;
  font-style: normal;
}
input, select, textarea {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid #d8e0e9;
  border-radius: 5px;
  color: #1d2b40;
  background: #fff;
  font: inherit;
  font-size: 13px;
}
textarea { min-height: 74px; resize: vertical; }
.privacy { margin: 6px 0 13px 154px; color: #697487; font-size: 10px; }
.submit-button {
  display: block;
  width: 180px;
  min-height: 46px;
  margin-left: auto;
  border: 0;
  border-radius: 6px;
  color: #fff;
  background: var(--navy);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.submit-button:disabled { cursor: wait; opacity: .65; }
.form-status.is-success { color: #177145; }
.form-status.is-error { color: #c43d34; }
.form-status { min-height: 1.6em; margin: 8px 0 0; color: #41516a; font-size: 11px; text-align: right; }
footer { padding: 22px; color: #667186; background: #f5f7fa; font-size: 12px; text-align: center; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 60px 8vw 48px; background: rgba(255,255,255,.95); }
  .hero-visual { min-height: 420px; margin: 0 8vw 48px; }
  .hero-visual img { min-height: 420px; }
  .grid-five { grid-template-columns: repeat(3, 1fr); }
  .grid-four { grid-template-columns: repeat(2, 1fr); }
  .flow { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
  .flow-arrow { display: none; }
  .contact-wrap { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .site-header { height: 58px; padding: 0 16px; }
  .logo { font-size: 22px; }
  .header-cta { padding: 7px 13px; font-size: 10px; }
  .hero { min-height: auto; }
  .hero-copy { padding: 42px 22px 35px; }
  .hero h1 { font-size: clamp(29px, 8.2vw, 35px); }
  .hero h1 span { white-space: normal; }
  .hero-lead br, .hero-note br { display: none; }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
  .hero-visual { min-height: 260px; margin: 0 14px 28px; }
  .hero-visual img { min-height: 260px; }
  .section { width: min(100% - 28px, 1180px); padding-top: 42px; }
  .section-heading h2 { font-size: 25px; }
  .grid-five, .grid-four { grid-template-columns: 1fr; }
  .compact-card { min-height: 140px; }
  .industry-photo { height: 210px; }
  .flow { grid-template-columns: 1fr; }
  .consultation-panel { grid-template-columns: 1fr; }
  .contact-wrap { width: calc(100% - 20px); padding: 25px 16px; }
  .contact-form { padding: 21px 15px; }
  .field { grid-template-columns: 1fr; gap: 4px; }
  .privacy { margin-left: 0; }
  .submit-button { width: 100%; }
}
