/*
Theme Name: Misato Corporate
Theme URI: https://example.com/
Author: Misato Co., Ltd.
Description: Corporate website starter theme for Misato.
Version: 0.6.9
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
Text Domain: misato-corporate
*/

:root {
  --color-primary: #005bac;
  --color-primary-dark: #003d7a;
  --color-accent: #0099dc;
  --color-text: #152238;
  --color-muted: #5d6b82;
  --color-bg: #f4f8fc;
  --color-border: #dce7f2;
  --shadow-card: 0 8px 24px rgba(0, 61, 122, 0.12);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--color-text);
  background: #fff;
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: blur(8px);
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #fff;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  border-radius: 12px;
  font-size: 24px;
  line-height: 1;
}

.brand-name {
  display: block;
  font-size: 18px;
  letter-spacing: 0.08em;
}

.brand-sub {
  display: block;
  color: var(--color-muted);
  font-size: 11px;
  letter-spacing: 0.14em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--color-text);
  font-size: 14px;
  font-weight: 700;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  color: #fff;
  background: var(--color-primary);
  border-radius: 6px;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(0, 91, 172, 0.2);
}

.button.secondary {
  color: var(--color-primary);
  background: #fff;
  border: 1px solid var(--color-border);
  box-shadow: none;
}

.hero {
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(0, 153, 220, 0.26), transparent 34%),
    linear-gradient(120deg, #eff8ff 0%, #ffffff 42%, #e5f4ff 100%);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  align-items: center;
  min-height: 460px;
  gap: 40px;
  padding: 56px 0 44px;
}

.hero h1 {
  margin: 0 0 20px;
  color: #032452;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.18;
  letter-spacing: 0.02em;
}

.hero p {
  max-width: 620px;
  margin: 0 0 28px;
  color: var(--color-muted);
  font-size: 18px;
  font-weight: 600;
}

.hero-visual {
  position: relative;
  min-height: 320px;
}

.hero-visual img {
  display: block;
  width: 100%;
  border: 8px solid #fff;
  border-radius: 18px;
  box-shadow: var(--shadow-card);
}

.section {
  padding: 68px 0;
}

.section.light {
  background: var(--color-bg);
}

.section-title {
  margin: 0 0 28px;
  text-align: center;
  font-size: 30px;
  line-height: 1.35;
}

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

.card {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  box-shadow: var(--shadow-card);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 18px;
  color: #fff;
  background: var(--color-primary);
  border-radius: 50%;
  font-size: 28px;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.card p,
.about p,
.news-list {
  color: var(--color-muted);
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  align-items: center;
  gap: 40px;
}

.city-panel {
  min-height: 220px;
  border-radius: 18px;
  background:
    linear-gradient(to top, rgba(0, 61, 122, 0.45), rgba(0, 153, 220, 0.1)),
    linear-gradient(135deg, #a9d9f5, #f6fbff);
  box-shadow: var(--shadow-card);
}

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

.strength {
  padding: 22px 14px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
}

.strength strong {
  display: block;
  margin-bottom: 8px;
  color: var(--color-primary-dark);
}

.news-list {
  display: grid;
  gap: 0;
  max-width: 860px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
}

.news-list li {
  display: grid;
  grid-template-columns: 120px 110px 1fr;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--color-border);
}

.news-list li:last-child {
  border-bottom: 0;
}

.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 26px;
  color: #fff;
  background: var(--color-primary);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.cta {
  color: #fff;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.2), transparent 28%),
    linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 38px 0;
}

.site-footer {
  color: #dbe8f7;
  background: #06264d;
  padding: 34px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 14px;
}

@media (max-width: 900px) {
  .site-nav {
    display: none;
  }

  .hero-inner,
  .about {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 640px) {
  .hero-visual {
    display: none;
  }

  .news-list li {
    grid-template-columns: 1fr;
    gap: 8px;
  }

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

/* Coded homepage based on the provided visual reference. */
body {
  background: #f7fbff;
}

.site-header {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 14px rgba(12, 55, 104, 0.08);
}

.container {
  width: min(1160px, calc(100% - 48px));
}

.header-inner {
  min-height: 64px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  color: transparent;
  background:
    linear-gradient(135deg, #003c8f 0 38%, transparent 38% 62%, #0878d8 62%),
    linear-gradient(45deg, #0a66c2, #0db4ff);
  border-radius: 8px;
  clip-path: polygon(0 0, 22% 0, 50% 42%, 78% 0, 100% 0, 100% 100%, 78% 100%, 78% 36%, 50% 78%, 22% 36%, 22% 100%, 0 100%);
  box-shadow: none;
}

.brand-name {
  color: #111c2f;
  font-size: 18px;
  line-height: 1.1;
}

.brand-sub {
  color: #6b7482;
  font-size: 10px;
}

.site-nav {
  gap: 32px;
  font-size: 14px;
}

.site-nav a:first-of-type {
  color: var(--color-primary);
  position: relative;
}

.site-nav a:first-of-type::after {
  position: absolute;
  right: 0;
  bottom: -20px;
  left: 0;
  height: 3px;
  background: var(--color-primary);
  border-radius: 999px;
  content: "";
}

.header-button {
  gap: 8px;
  min-height: 42px;
  padding: 0 20px;
  border-radius: 9px;
  font-size: 13px;
}

.header-button::before {
  content: "✉";
}

.hero {
  position: relative;
  width: min(1160px, calc(100% - 48px));
  min-height: 310px;
  margin: 0 auto;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.88) 34%, rgba(255, 255, 255, 0.34) 58%, rgba(255, 255, 255, 0) 100%),
    url("assets/images/main-visual-banner.jpg") center center / cover no-repeat;
  border-radius: 0 0 18px 18px;
}

.hero::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 72%, rgba(247, 251, 255, 0.78) 100%);
  content: "";
}

.hero-inner {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(0, 0.72fr) minmax(280px, 0.28fr);
  min-height: 310px;
  padding: 34px 0 42px;
}

.hero-copy h1 {
  margin: 0 0 18px;
  color: #061b33;
  font-size: clamp(38px, 4.4vw, 56px);
  font-weight: 900;
  letter-spacing: 0.01em;
}

.hero-copy h1 span {
  color: var(--color-primary);
}

.hero-copy p {
  margin-bottom: 22px;
  color: #152238;
  font-size: 16px;
  font-weight: 700;
}

.hero-art {
  display: none;
}

.hero-button {
  min-width: 180px;
  border-radius: 8px;
}

.hero-button::after,
.service-card a::after,
.cta .button::after {
  margin-left: 14px;
  content: "›";
}

.hero-art {
  position: relative;
  min-height: 300px;
}

.device {
  position: absolute;
  background: #fff;
  border: 9px solid #101928;
  box-shadow: 0 18px 38px rgba(3, 42, 88, 0.18);
}

.laptop {
  left: 40px;
  bottom: 28px;
  width: 270px;
  height: 165px;
  border-radius: 10px;
  background: linear-gradient(145deg, #0b315f, #102b52);
}

.laptop::after {
  position: absolute;
  right: -22px;
  bottom: -18px;
  left: -22px;
  height: 16px;
  background: #222b36;
  border-radius: 0 0 20px 20px;
  content: "";
}

.device-top {
  height: 38px;
  margin: 16px;
  border-radius: 7px;
  background: linear-gradient(90deg, #1ca0ff, #65d3ff);
}

.graph-lines {
  height: 70px;
  margin: 0 18px;
  border-radius: 7px;
  background:
    linear-gradient(145deg, transparent 45%, rgba(34, 189, 255, 0.9) 45% 49%, transparent 49%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.22) 0 10px, transparent 10px 24px);
}

.desktop {
  right: 86px;
  top: 16px;
  width: 285px;
  height: 205px;
  border-radius: 12px;
}

.desktop::after {
  position: absolute;
  right: 90px;
  bottom: -48px;
  width: 78px;
  height: 48px;
  background: linear-gradient(#1b2534 0 58%, #0e1624 58%);
  clip-path: polygon(34% 0, 66% 0, 78% 74%, 100% 74%, 100% 100%, 0 100%, 0 74%, 22% 74%);
  content: "";
}

.shop-header {
  height: 36px;
  margin: 16px;
  border-radius: 7px;
  background: linear-gradient(90deg, #f5f0eb, #d9c7b7);
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 0 16px;
}

.shop-grid span {
  height: 56px;
  border-radius: 6px;
  background: linear-gradient(145deg, #f4eee9, #d9b99a);
}

.phone {
  right: 28px;
  bottom: 26px;
  width: 70px;
  height: 132px;
  border-width: 6px;
  border-radius: 14px;
}

.phone span {
  display: block;
  height: 24px;
  margin: 13px 8px;
  border-radius: 5px;
  background: linear-gradient(90deg, #f1e6dc, #a97853);
}

.floating-icon {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: #fff;
  background: linear-gradient(135deg, #35a7ff, #006fce);
  border: 5px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  box-shadow: 0 12px 24px rgba(0, 91, 172, 0.2);
  font-weight: 900;
}

.floating-icon.cloud {
  top: 14px;
  left: 76px;
}

.floating-icon.chart {
  top: 0;
  left: 260px;
}

.floating-icon.cart {
  top: 88px;
  right: 0;
}

.floating-icon.users {
  bottom: 54px;
  left: 0;
  font-size: 13px;
}

.plant {
  position: absolute;
  right: 0;
  bottom: 24px;
  width: 82px;
  height: 160px;
  background:
    radial-gradient(ellipse at 50% 14%, #67b96d 0 16%, transparent 17%),
    radial-gradient(ellipse at 28% 32%, #4faa61 0 14%, transparent 15%),
    radial-gradient(ellipse at 74% 35%, #4faa61 0 14%, transparent 15%),
    linear-gradient(#7b563d 0 0) center 42px / 8px 68px no-repeat,
    linear-gradient(#d9c6a5 0 0) center bottom / 62px 42px no-repeat;
  opacity: 0.8;
}

.services {
  position: relative;
  z-index: 2;
  margin-top: 28px;
  padding-bottom: 34px;
}

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

.service-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 40%;
  gap: 16px;
  min-height: 160px;
  overflow: hidden;
  padding: 24px 0 22px 22px;
  background: #fff;
  border: 1px solid #e3eef8;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(15, 58, 110, 0.13);
}

.service-number {
  position: absolute;
  top: 14px;
  left: 14px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #fff;
  background: var(--color-primary);
  border-radius: 6px;
  font-weight: 900;
}

.service-ec .service-number {
  background: #0a9a7c;
}

.service-consulting .service-number {
  background: #6e45d8;
}

.service-card h2 {
  margin: 0 0 8px;
  color: #0b2d64;
  font-size: 20px;
}

.service-ec h2 {
  color: #078568;
}

.service-consulting h2 {
  color: #4c319e;
}

.service-card p {
  margin: 0 0 8px;
  color: #2d3c52;
  font-size: 12px;
  line-height: 1.75;
}

.service-card a {
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 900;
}

.service-illustration {
  position: relative;
  order: 2;
  align-self: stretch;
  width: 100%;
  min-height: 160px;
  margin: -24px 0 -22px;
  background-image:
    linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0.82) 24%, rgba(255, 255, 255, 0.2) 58%, rgba(255, 255, 255, 0) 100%),
    url("assets/images/main-visual-banner.jpg");
  background-repeat: no-repeat;
  background-size: auto 100%, auto 100%;
  border-radius: 0 14px 14px 0;
  box-shadow: none;
  opacity: 0.92;
}

.service-card-body {
  position: relative;
  z-index: 1;
  order: 1;
  padding-left: 42px;
}

.cube-art {
  background-position: left center, 45% center;
}

.cube-art::before {
  display: none;
}

.cart-art {
  background-position: left center, 64% center;
}

.cart-art::before {
  display: none;
}

.cart-art::after {
  display: none;
}

.meeting-art {
  background-position: left center, 92% center;
}

.meeting-art::before {
  display: none;
}

.meeting-art::after {
  display: none;
}

.overview {
  padding: 12px 0 26px;
  background:
    radial-gradient(circle at bottom right, rgba(65, 179, 247, 0.16), transparent 30%),
    linear-gradient(#fff, #f6fbff);
}

.overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
}

.overview h2,
.news-section h2 {
  margin: 0 0 12px;
  color: #061b33;
  font-size: 22px;
}

.about-block p {
  margin: 0 0 20px;
  color: #2d3c52;
  font-size: 13px;
}

.about-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.about-points div,
.strength-item {
  display: grid;
  gap: 6px;
}

.about-points span,
.strength-item span {
  color: var(--color-primary);
  font-size: 28px;
}

.about-points strong,
.strength-item strong {
  color: #0a2b61;
  font-size: 14px;
}

.about-points small,
.strength-item small {
  color: #526070;
  font-size: 11px;
  line-height: 1.5;
}

.strength-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.strength-item {
  min-height: 94px;
  padding: 16px 14px;
  background: #fff;
  border: 1px solid #e3eef8;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(15, 58, 110, 0.08);
}

.news-section {
  padding: 0 0 28px;
  background: #fff;
}

.news-grid {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  align-items: start;
}

.news-list {
  max-width: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.news-list li {
  grid-template-columns: 110px 86px 1fr 24px;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid #e3eef8;
  font-size: 13px;
}

.news-list li::after {
  color: #0a2b61;
  content: "›";
  font-size: 22px;
  font-weight: 900;
}

.tag {
  height: 23px;
  background: #005bac;
  border-radius: 3px;
  font-size: 11px;
}

.tag.green {
  background: #0a9a7c;
}

.cta {
  background:
    radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.18), transparent 22%),
    repeating-linear-gradient(-8deg, rgba(255, 255, 255, 0.08) 0 2px, transparent 2px 14px),
    linear-gradient(120deg, #0049a8, #0077d9);
}

.cta-inner {
  justify-content: center;
  min-height: 96px;
  padding: 18px 0;
}

.cta-icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  font-size: 34px;
}

.cta h2 {
  margin: 0;
  font-size: 19px;
}

.cta p {
  margin: -4px 0 0;
  font-size: 34px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.cta .button {
  min-width: 280px;
  color: var(--color-primary);
  border-radius: 9px;
}

.site-footer {
  padding: 24px 0 20px;
  background: #052a5a;
}

.site-footer,
.site-footer .brand-name,
.site-footer .brand-sub,
.site-footer .footer-info,
.site-footer .footer-info p {
  color: #fff;
}

.site-footer .brand-sub {
  opacity: 0.82;
}

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

.footer-info {
  display: grid;
  gap: 4px;
  text-align: right;
}

.footer-info p {
  margin: 0;
}

@media (max-width: 1024px) {
  .hero-inner,
  .overview-grid {
    grid-template-columns: 1fr;
  }

  .hero-art {
    min-height: 280px;
  }

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

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .hero-inner {
    min-height: auto;
  }

  .hero-art {
    display: none;
    min-height: 230px;
    transform: scale(0.78);
    transform-origin: top left;
  }

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

  .service-card {
    padding: 24px 22px 0;
  }

  .service-card-body {
    padding-left: 42px;
  }

  .service-illustration {
    min-height: 150px;
    margin: 16px -22px 0;
    border-radius: 0 0 14px 14px;
  }

  .about-points,
  .strength-grid {
    grid-template-columns: 1fr;
  }

  .cta p {
    font-size: 26px;
  }

  .footer-info {
    text-align: left;
  }
}

.service-detail-hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0;
  color: #fff;
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.26), transparent 20%),
    linear-gradient(135deg, #003d7a, #0077d9);
}

.service-detail-hero::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(35deg, rgba(255, 255, 255, 0.08) 0 2px, transparent 2px 18px),
    radial-gradient(circle at 20% 90%, rgba(255, 255, 255, 0.18), transparent 28%);
  content: "";
}

.service-detail-ec {
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.26), transparent 20%),
    linear-gradient(135deg, #006b60, #0aa586);
}

.service-detail-consulting {
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.26), transparent 20%),
    linear-gradient(135deg, #3b2a8d, #7d5ce7);
}

.service-detail-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 26px;
  align-items: center;
}

.service-detail-number {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  background: rgba(255, 255, 255, 0.18);
  border: 2px solid rgba(255, 255, 255, 0.52);
  border-radius: 20px;
  font-size: 32px;
  font-weight: 900;
}

.service-detail-label {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.service-detail-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.2;
}

.service-detail-hero p:last-child {
  max-width: 820px;
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.service-detail-section {
  padding: 64px 0 76px;
  background:
    radial-gradient(circle at bottom right, rgba(0, 119, 217, 0.1), transparent 28%),
    #f7fbff;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: start;
}

.service-detail-main,
.service-detail-side {
  background: #fff;
  border: 1px solid #e3eef8;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(15, 58, 110, 0.1);
}

.service-detail-main {
  padding: 36px;
}

.service-detail-side {
  position: sticky;
  top: 88px;
  padding: 28px;
}

.service-detail-main h2,
.service-detail-side h2 {
  margin: 0 0 14px;
  color: #061b33;
  font-size: 24px;
}

.service-detail-main h2:not(:first-child) {
  margin-top: 34px;
}

.service-detail-main p,
.service-detail-side p {
  margin: 0;
  color: #425168;
}

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

.service-feature {
  padding: 14px 16px;
  color: #0a2b61;
  background: #f4f9ff;
  border: 1px solid #dbeaf7;
  border-radius: 10px;
  font-weight: 800;
}

.service-flow {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-flow li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid #dbeaf7;
  border-radius: 10px;
  font-weight: 800;
}

.service-flow span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #fff;
  background: var(--color-primary);
  border-radius: 50%;
  font-size: 13px;
}

.service-detail-side .button {
  width: 100%;
  margin-top: 22px;
}

.back-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--color-primary);
  font-weight: 800;
}

.back-link::before {
  margin-right: 8px;
  content: "‹";
}

@media (max-width: 900px) {
  .service-detail-hero-inner,
  .service-detail-grid {
    grid-template-columns: 1fr;
  }

  .service-detail-side {
    position: static;
  }
}

@media (max-width: 640px) {
  .service-detail-hero {
    padding: 48px 0;
  }

  .service-detail-main,
  .service-detail-side {
    padding: 24px;
  }

  .service-feature-grid {
    grid-template-columns: 1fr;
  }
}

.subpage-hero {
  padding: 76px 0;
  color: #fff;
  background:
    repeating-linear-gradient(35deg, rgba(255, 255, 255, 0.1) 0 2px, transparent 2px 18px),
    linear-gradient(135deg, #005bac, #6d5de7);
}

.works-hero {
  background:
    repeating-linear-gradient(35deg, rgba(255, 255, 255, 0.1) 0 2px, transparent 2px 18px),
    linear-gradient(135deg, #003d7a, #008fd3);
}

.contact-hero {
  background:
    repeating-linear-gradient(35deg, rgba(255, 255, 255, 0.1) 0 2px, transparent 2px 18px),
    linear-gradient(135deg, #0049a8, #00a1d8);
}

.subpage-hero p {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 900;
  letter-spacing: 0.18em;
}

.subpage-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.2;
}

.subpage-hero span {
  font-size: 18px;
  font-weight: 700;
}

.subpage-section {
  padding: 64px 0;
  background: #fff;
}

.subpage-section.light {
  background:
    radial-gradient(circle at bottom right, rgba(0, 119, 217, 0.1), transparent 28%),
    #f7fbff;
}

.subpage-title {
  margin: 0 0 26px;
  color: #061b33;
  font-size: 30px;
}

.company-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: start;
}

.company-intro-section {
  padding-bottom: 32px;
}

.company-info-section {
  padding-top: 36px;
}

.subpage-card,
.company-message,
.work-card,
.works-cta {
  background: #fff;
  border: 1px solid #e3eef8;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(15, 58, 110, 0.1);
}

.subpage-card,
.company-message {
  padding: 34px;
}

.subpage-card h2,
.company-message h2,
.work-card h2,
.works-cta h2 {
  margin: 0 0 14px;
  color: #061b33;
}

.subpage-card p,
.company-message li,
.work-card p,
.work-card dd,
.works-cta p {
  color: #425168;
}

.company-message ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding-left: 1.2em;
}

.company-table {
  overflow: hidden;
  margin: 0;
  background: #fff;
  border: 1px solid #e3eef8;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(15, 58, 110, 0.1);
}

.company-table div {
  display: grid;
  grid-template-columns: 220px 1fr;
  border-bottom: 1px solid #e3eef8;
}

.company-table div:last-child {
  border-bottom: 0;
}

.company-table dt,
.company-table dd {
  margin: 0;
  padding: 18px 22px;
}

.company-table dt {
  color: #0a2b61;
  background: #f4f9ff;
  font-weight: 900;
}

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

.work-card {
  padding: 26px;
}

.work-card .tag {
  width: fit-content;
  min-width: 100px;
  margin-bottom: 16px;
}

.tag.purple {
  background: #6e45d8;
}

.work-card dl {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
}

.work-card dt {
  color: #0a2b61;
  font-size: 13px;
  font-weight: 900;
}

.work-card dd {
  margin: 4px 0 0;
  font-size: 13px;
}

.works-cta {
  padding: 36px;
  text-align: center;
}

.works-cta p {
  max-width: 680px;
  margin: 0 auto 22px;
}

@media (max-width: 900px) {
  .company-layout,
  .works-grid {
    grid-template-columns: 1fr;
  }

  .company-table div {
    grid-template-columns: 1fr;
  }
}

.contact-layout {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.contact-feedback {
  margin-bottom: 20px;
  padding: 16px 20px;
  border-radius: 12px;
  font-weight: 800;
}

.contact-feedback--success {
  background: #e9f9f2;
  border: 1px solid #93d9b9;
  color: #074c32;
}

.contact-feedback--error {
  background: #fff5f5;
  border: 1px solid #efb3b3;
  color: #5c1a1a;
}

.contact-https-note {
  margin: 14px 0 0 !important;
  padding: 12px;
  background: #fffaf0;
  border: 1px solid #f0dfb1;
  border-radius: 8px;
  color: #614a29 !important;
  font-weight: 600;
  font-size: 13px !important;
  line-height: 1.55;
}

.misato-visually-hidden {
  position: absolute;
  clip: rect(0 0 0 0);
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
}

.contact-intro,
.contact-form {
  background: #fff;
  border: 1px solid #e3eef8;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(15, 58, 110, 0.1);
}

.contact-intro {
  padding: 32px;
}

.contact-intro h2 {
  margin: 0 0 14px;
  color: #061b33;
}

.contact-intro p {
  margin: 0 0 22px;
  color: #425168;
}

.contact-direct {
  display: grid;
  gap: 6px;
  padding: 18px;
  background: #f4f9ff;
  border-radius: 12px;
}

.contact-direct strong {
  color: #0a2b61;
}

.contact-direct a {
  color: var(--color-primary);
  font-weight: 900;
}

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

.contact-form label {
  display: grid;
  gap: 8px;
  color: #0a2b61;
  font-weight: 900;
}

.contact-form .full {
  grid-column: 1 / -1;
}

.contact-form em {
  display: inline-flex;
  margin-left: 6px;
  padding: 2px 7px;
  color: #fff;
  background: var(--color-primary);
  border-radius: 999px;
  font-size: 11px;
  font-style: normal;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 13px 14px;
  color: #152238;
  background: #f8fbff;
  border: 1px solid #dbeaf7;
  border-radius: 9px;
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  border: 0;
  cursor: pointer;
}

.contact-form .contact-submit-full {
  grid-column: 1 / -1;
  width: fit-content;
  min-width: 180px;
}

@media (max-width: 900px) {
  .contact-layout,
  .contact-form {
    grid-template-columns: 1fr;
  }
}

.notice-hero {
  background:
    repeating-linear-gradient(35deg, rgba(255, 255, 255, 0.08) 0 2px, transparent 2px 18px),
    linear-gradient(135deg, #003d68, #0067b8);
}

.notice-document {
  max-width: 860px;
  margin: 0 auto;
  padding: 40px;
  background: #fff;
  border: 1px solid #e3eef8;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(15, 58, 110, 0.1);
  color: #2d3c52;
  line-height: 1.85;
}

.notice-meta {
  margin: 0 0 24px;
  color: #061b33;
  font-weight: 900;
  font-size: 18px;
  text-align: center;
}

.notice-document h2 {
  margin: 28px 0 12px;
  color: #061b33;
  font-size: 22px;
}

.notice-document h3 {
  margin: 32px 0 14px;
  color: #0a2b61;
  font-size: 18px;
}

.notice-lead {
  margin: 0 0 24px;
  font-size: 14px;
}

.notice-table {
  margin: 16px 0 0;
  overflow: hidden;
  border: 1px solid #e3eef8;
  border-radius: 12px;
}

.notice-table div {
  display: grid;
  grid-template-columns: 200px 1fr;
  border-bottom: 1px solid #e3eef8;
}

.notice-table div:last-child {
  border-bottom: 0;
}

.notice-table dt,
.notice-table dd {
  margin: 0;
  padding: 14px 18px;
  font-size: 14px;
}

.notice-table dt {
  color: #0a2b61;
  background: #f4f9ff;
  font-weight: 900;
}

.notice-table dd a {
  word-break: break-all;
}

.notice-note {
  margin: 14px 0 0;
  font-size: 13px;
  color: #526070;
}

@media (max-width: 768px) {
  .notice-document {
    padding: 26px;
  }

  .notice-table div {
    grid-template-columns: 1fr;
  }
}
