/* 旧HTMLがブラウザキャッシュから表示された場合も電話番号を表示しない。 */
.tel,
[class~="tel"],
[class*="phone"],
[class*="telephone"],
a[href^="tel:"] {
  display: none !important;
  visibility: hidden !important;
  background-image: none !important;
}
:root {
  --navy-950: #071b2c;
  --navy-900: #0b2d49;
  --navy-800: #0b3a63;
  --blue-700: #0d5f9a;
  --blue-600: #1479bd;
  --blue-100: #eaf4fb;
  --cyan-300: #6ed6e8;
  --ink: #162433;
  --muted: #5b6b79;
  --line: #dbe4ea;
  --surface: #f5f8fa;
  --white: #fff;
  --shadow: 0 20px 60px rgba(7, 27, 44, 0.1);
  --radius-lg: 28px;
  --radius-md: 18px;
  --container: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "YuGothic", "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--cyan-300);
  outline-offset: 4px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.35;
  letter-spacing: 0.01em;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--navy-950);
  border-radius: 8px;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(219, 228, 234, 0.9);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  min-height: 84px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy-950);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--white);
  background: linear-gradient(145deg, var(--navy-800), var(--blue-600));
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(13, 95, 154, 0.25);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brand-name {
  display: grid;
  line-height: 1.2;
}

.brand-name strong {
  font-size: 16px;
  letter-spacing: 0.12em;
}

.brand-name small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  padding: 10px 14px;
  border-radius: 10px;
  color: #304250;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.site-nav a:hover {
  color: var(--blue-700);
  background: var(--blue-100);
}

.site-nav .nav-contact {
  margin-left: 8px;
  padding-inline: 20px;
  color: var(--white);
  background: var(--navy-800);
}

.site-nav .nav-contact:hover {
  color: var(--white);
  background: var(--blue-700);
  transform: translateY(-1px);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 104px 0 112px;
  background:
    radial-gradient(circle at 82% 18%, rgba(110, 214, 232, 0.22), transparent 28%),
    linear-gradient(135deg, #f7fbfe 0%, #edf6fb 46%, #f9fcfd 100%);
}

.hero::before {
  position: absolute;
  top: -180px;
  right: -160px;
  width: 540px;
  height: 540px;
  border: 1px solid rgba(13, 95, 154, 0.11);
  border-radius: 50%;
  content: "";
}

.hero-grid {
  position: relative;
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 72px;
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--blue-700);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.hero h1 {
  margin-bottom: 28px;
  color: var(--navy-950);
  font-size: clamp(42px, 6vw, 76px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.18;
}

.hero h1 span {
  color: var(--blue-700);
}

.hero-lead {
  max-width: 680px;
  margin-bottom: 36px;
  color: #405564;
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: var(--navy-800);
  box-shadow: 0 12px 28px rgba(11, 58, 99, 0.22);
}

.button-primary:hover {
  background: var(--blue-700);
}

.button-secondary {
  color: var(--navy-800);
  background: var(--white);
  border-color: var(--line);
}

.button-secondary:hover {
  box-shadow: 0 12px 30px rgba(7, 27, 44, 0.09);
}

.hero-panel {
  position: relative;
  padding: 40px;
  color: var(--white);
  background: linear-gradient(145deg, var(--navy-950), var(--navy-800));
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero-panel::after {
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: 64px;
  height: 64px;
  background: linear-gradient(145deg, var(--cyan-300), var(--blue-600));
  border-radius: 50%;
  content: "";
  opacity: 0.5;
}

.panel-label {
  margin-bottom: 16px;
  color: var(--cyan-300);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.hero-panel h2 {
  margin-bottom: 28px;
  font-size: clamp(26px, 3vw, 34px);
}

.check-list {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 14px;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: #dceaf3;
  font-size: 14px;
}

.check-list li::before {
  position: absolute;
  top: 0.48em;
  left: 0;
  width: 16px;
  height: 8px;
  border-bottom: 2px solid var(--cyan-300);
  border-left: 2px solid var(--cyan-300);
  content: "";
  transform: rotate(-45deg);
}

.section {
  padding: 104px 0;
}

.section-tint {
  background: var(--surface);
}

.section-dark {
  color: var(--white);
  background: var(--navy-950);
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 50px;
  text-align: center;
}

.section-heading.align-left {
  margin: 0;
  text-align: left;
}

.section-heading h2 {
  margin-bottom: 18px;
  color: var(--navy-950);
  font-size: clamp(30px, 4vw, 46px);
  letter-spacing: -0.025em;
}

.section-heading > p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
}

.light-heading h2,
.light-heading > p:last-child {
  color: var(--white);
}

.light-heading > p:last-child {
  opacity: 0.72;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.card {
  padding: 34px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.service-card {
  display: flex;
  min-height: 330px;
  flex-direction: column;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card:hover {
  border-color: #b7d4e6;
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.card-number {
  display: block;
  margin-bottom: 46px;
  color: var(--blue-600);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.service-card h3 {
  margin-bottom: 16px;
  color: var(--navy-950);
  font-size: 23px;
}

.service-card p {
  margin-bottom: 28px;
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  color: var(--blue-700);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.text-link span {
  transition: transform 160ms ease;
}

.text-link:hover span {
  transform: translateX(4px);
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: 96px;
}

.feature-list {
  display: grid;
  gap: 4px;
}

.feature-list article {
  display: grid;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 54px 1fr;
  gap: 18px;
}

.feature-list article:first-child {
  padding-top: 0;
}

.feature-list article > span {
  color: var(--blue-600);
  font-size: 13px;
  font-weight: 800;
}

.feature-list h3 {
  margin-bottom: 7px;
  color: var(--navy-950);
  font-size: 20px;
}

.feature-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.process-list {
  display: grid;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
}

.process-list li {
  min-height: 200px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.process-list li:nth-child(3n + 1) {
  border-left: 1px solid var(--line);
}

.process-list span {
  display: block;
  margin-bottom: 28px;
  color: var(--blue-600);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.process-list strong {
  display: block;
  margin-bottom: 8px;
  color: var(--navy-950);
  font-size: 17px;
}

.process-list p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.contact-section {
  padding: 78px 0;
  color: var(--white);
  background: linear-gradient(120deg, var(--navy-800), var(--blue-700));
}

.contact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.contact-section .eyebrow {
  color: var(--cyan-300);
}

.contact-section h2 {
  margin-bottom: 12px;
  font-size: clamp(28px, 4vw, 42px);
}

.contact-section p:last-child {
  margin-bottom: 0;
  color: #d9eaf4;
}

.button-light {
  flex: 0 0 auto;
  color: var(--navy-800);
  background: var(--white);
}

.button-light:hover {
  box-shadow: 0 14px 32px rgba(7, 27, 44, 0.22);
}

.page-hero {
  padding: 88px 0 76px;
  background:
    radial-gradient(circle at 92% 0%, rgba(110, 214, 232, 0.2), transparent 32%),
    var(--surface);
  border-bottom: 1px solid var(--line);
}

.page-hero-inner {
  display: grid;
  align-items: end;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 80px;
}

.page-hero h1 {
  margin-bottom: 0;
  color: var(--navy-950);
  font-size: clamp(42px, 6vw, 68px);
  letter-spacing: -0.03em;
}

.page-hero-inner > p {
  margin-bottom: 4px;
  color: #405564;
  font-size: 18px;
}

.service-detail {
  scroll-margin-top: 96px;
}

.detail-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 80px;
}

.detail-number {
  display: block;
  margin-bottom: 42px;
  color: var(--blue-600);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.detail-heading h2 {
  margin-bottom: 0;
  color: var(--navy-950);
  font-size: clamp(30px, 4vw, 44px);
}

.detail-lead {
  margin-bottom: 38px;
  color: #334b5b;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.8;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.mini-grid article {
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.mini-grid h3 {
  margin-bottom: 8px;
  color: var(--navy-950);
  font-size: 17px;
}

.mini-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.plain-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.plain-list li {
  display: grid;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  grid-template-columns: minmax(140px, 0.38fr) 1fr;
  gap: 24px;
}

.plain-list strong {
  color: var(--navy-950);
}

.plain-list span {
  color: var(--muted);
}

.workflow-list {
  display: grid;
  margin: 52px 0 0;
  padding: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
}

.workflow-list li {
  padding: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.workflow-list li:first-child {
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.workflow-list li > span {
  display: block;
  margin-bottom: 40px;
  color: var(--cyan-300);
  font-size: 12px;
  font-weight: 800;
}

.workflow-list strong {
  display: block;
  margin-bottom: 10px;
  font-size: 18px;
}

.workflow-list p {
  margin-bottom: 0;
  color: #b9cbd6;
  font-size: 14px;
}

.philosophy-layout {
  align-items: start;
}

.large-copy {
  color: #334b5b;
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 600;
  line-height: 2;
}

.large-copy p:last-child {
  margin-bottom: 0;
}

.profile-layout {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: 80px;
}

.company-profile {
  margin: 0;
  border-top: 1px solid var(--line);
}

.company-profile > div {
  display: grid;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 150px 1fr;
  gap: 24px;
}

.company-profile dt {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.company-profile dd {
  margin: 0;
  color: var(--navy-950);
  font-weight: 600;
}

.company-profile address {
  font-style: normal;
}

.company-profile a {
  color: var(--blue-700);
}

.site-footer {
  padding: 36px 0;
  color: #a9bdca;
  background: var(--navy-950);
}

.footer-inner {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.footer-inner > div {
  display: grid;
  line-height: 1.4;
}

.footer-inner strong {
  color: var(--white);
  letter-spacing: 0.12em;
}

.footer-inner span {
  margin-top: 3px;
  font-size: 11px;
}

.footer-inner p {
  margin-bottom: 0;
  font-size: 12px;
}

/* Redmine #1155: 便利なツールの紹介 */
.tool-card {
  display: flex;
  max-width: 760px;
  margin: 0 auto;
  gap: 24px;
  align-items: flex-start;
}

.tool-icon {
  flex: none;
  width: 72px;
  height: 72px;
  border-radius: 22%;
}

.tool-body h3 {
  margin-bottom: 10px;
  color: var(--navy-950);
  font-size: 23px;
}

.tool-body p {
  margin-bottom: 18px;
  color: var(--muted);
}

.tool-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 10px;
  border-radius: 999px;
  background: #fff3d6;
  color: #6b4b00;
  font-size: 13px;
  font-weight: 700;
  vertical-align: middle;
}

@media (max-width: 900px) {
  .hero {
    padding: 80px 0;
  }

  .hero-grid,
  .page-hero-inner,
  .detail-grid,
  .split-layout,
  .profile-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-panel {
    max-width: 640px;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .card-number {
    margin-bottom: 24px;
  }

  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-list li:nth-child(3n + 1) {
    border-left: 0;
  }

  .process-list li:nth-child(2n + 1) {
    border-left: 1px solid var(--line);
  }

  .workflow-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workflow-list li:nth-child(3) {
    border-left: 1px solid rgba(255, 255, 255, 0.2);
  }

  .contact-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .site-header {
    position: relative;
  }

  .header-inner {
    min-height: 0;
    align-items: stretch;
    flex-direction: column;
    gap: 18px;
    padding: 18px 0;
  }

  .site-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .site-nav a {
    padding: 9px 6px;
    text-align: center;
  }

  .site-nav .nav-contact {
    margin: 0;
    grid-column: 1 / -1;
  }

  .hero {
    padding: 62px 0 72px;
  }

  .hero-grid {
    gap: 42px;
  }

  .hero h1 {
    font-size: clamp(39px, 12vw, 58px);
  }

  .hero-panel {
    padding: 30px;
  }

  .section {
    padding: 76px 0;
  }

  .section-heading {
    margin-bottom: 36px;
  }

  .card {
    padding: 28px;
  }

  .process-list,
  .workflow-list,
  .mini-grid {
    grid-template-columns: 1fr;
  }

  .process-list li,
  .process-list li:nth-child(3n + 1),
  .process-list li:nth-child(2n + 1) {
    min-height: auto;
    border-right: 1px solid var(--line);
    border-left: 1px solid var(--line);
  }

  .workflow-list li,
  .workflow-list li:first-child,
  .workflow-list li:nth-child(3) {
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    border-left: 1px solid rgba(255, 255, 255, 0.2);
  }

  .workflow-list li + li {
    border-top: 0;
  }

  .workflow-list li > span {
    margin-bottom: 20px;
  }

  .page-hero {
    padding: 62px 0 54px;
  }

  .page-hero-inner {
    gap: 30px;
  }

  .plain-list li,
  .company-profile > div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .company-profile dt {
    font-size: 12px;
  }

  .contact-section {
    padding: 62px 0;
  }

  .button-light {
    width: 100%;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 460px) {
  .tool-card {
    flex-direction: column;
    gap: 16px;
  }

  body {
    font-size: 15px;
  }

  .brand-name strong {
    font-size: 14px;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
