@charset "UTF-8";

:root {
  --navy: #001f67;
  --deep: #001a55;
  --blue: #00479d;
  --light: #f5f9fd;
  --line: #dce5ef;
  --text: #102033;
  --muted: #506070;
  --shadow: 0 7px 22px rgba(0, 35, 80, 0.1);
  --radius: 8px;
}
.mt-1 {
  margin-top: 1em !important;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: auto;
}
body {
  margin: 0;
  color: var(--text);
  font-family: Meiryo, sans-serif;
  background: #fff;
  line-height: 1.7;
}
img {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}
.container {
  width: min(1080px, calc(100% - 56px));
  margin-inline: auto;
}
.header {
  height: 72px;
  background: #fff;
  border-bottom: 1px solid #edf1f6;
  position: sticky;
  top: 0;
  z-index: 20;
}
.header-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo img {
  width: 170px;
  height: auto;
}
.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
  font-weight: 800;
  color: #111827;
}
.nav a {
  position: relative;
  padding: 15px 0;
}
.nav a.active {
  color: var(--navy);
}
.nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  height: 3px;
  background: #1e5bff;
  border-radius: 2px;
}
.hero {
  position: relative;
  height: 430px;
  overflow: hidden;
  background: #eaf5ff;
}
.hero-image {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    #f9fcff 0%,
    rgba(249, 252, 255, 0.9) 44%,
    rgba(249, 252, 255, 0.1) 78%
  );
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 20px;
}
.hero-content .btn:nth-of-type(2) {
  margin-left: 10px;
}
.hero h1 {
  margin: 0 0 18px;
  color: var(--navy);
  font-size: 48px;
  line-height: 1.3;
  font-weight: 900;
  letter-spacing: 0.02em;
}
.hero p {
  margin: 0 0 28px;
  color: #001a55;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.65;
}
.btn {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  height: 56px;
  min-width: 220px;
  padding: 0 1em;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 800;
  border: 1px solid transparent;
}
.btn.arrow::after {
  content: "→";
  font-size: 20px;
  line-height: 1;
}
.btn.primary {
  background: linear-gradient(90deg, #001b5a, #00388f);
  color: #fff;
}
.btn.outline {
  background: #fff;
  color: var(--navy);
  border-color: #96a9c5;
}
.section {
  padding: 34px 0;
}
.section-title {
  text-align: center;
  margin: 0 0 24px;
  color: var(--navy);
  font-size: 28px;
  font-weight: 900;
  line-height: 1.35;
}
.problem-grid {
  display: grid;
  /*grid-template-columns: repeat(5, 1fr);*/
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.problem-card {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  padding: 20px 16px 18px;
  text-align: center;
  min-height: 190px;
}
.problem-card h3 {
  font-size: 16px;
  line-height: 1.45;
  margin: 0 0 10px;
  color: #101827;
  font-weight: 900;
}
.problem-card img {
  width: 54px;
  height: 54px;
  margin: 0 auto 8px;
}
.problem-card p {
  font-size: 13px;
  line-height: 1.55;
  margin: 0;
  color: #344255;
  text-align: left;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.service-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  padding: 36px 20px 24px;
  min-height: 260px;
  box-shadow: var(--shadow);
}
.service-card .num {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--navy);
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 900;
}
.service-card img {
  width: 64px;
  height: 64px;
  margin: 0 auto 10px;
}
.service-card h3 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 20px;
  line-height: 1.4;
  text-align: center;
}
.service-card p {
  margin: 0;
  color: #334155;
  font-size: 14px;
  line-height: 1.55;
}
.text-link {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  color: #0b3b8f;
  font-size: 14px;
  font-weight: 900;
  margin-top: 10px;
}
.text-link::after {
  content: "→";
}
.strengths {
  margin-top: 18px;
  background: linear-gradient(90deg, #001a50, #003b87);
  color: #fff;
  padding: 28px 0 32px;
}
.strengths .section-title {
  color: #fff;
  margin-bottom: 8px;
}
.strength-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}
.strength {
  padding: 18px 18px;
  text-align: center;
  border-left: 1px solid rgba(255, 255, 255, 0.3);
}
.strength:first-child {
  border-left: 0;
}
.strength img {
  width: 50px;
  height: 50px;
  margin: 0 auto 8px;
  filter: brightness(0) invert(1);
}
.strength h3 {
  font-size: 18px;
  margin: 0 0 6px;
  line-height: 1.35;
}
.strength p {
  font-size: 13px;
  margin: 0;
  line-height: 1.55;
  color: #e5efff;
  text-align: left;
}
.works-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.work-card {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 35, 80, 0.06);
}
.work-card img {
  height: 105px;
  width: 100%;
  object-fit: cover;
}
.work-body {
  padding: 14px 14px 16px;
}
.work-body h3 {
  font-size: 17px;
  color: var(--navy);
  margin: 0 0 5px;
  line-height: 1.35;
}
.work-body p {
  font-size: 13px;
  color: #334155;
  margin: 0;
  line-height: 1.45;
}
.center-link {
  text-align: center;
  margin-top: 12px;
}
.tech-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.tech {
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #0b255d;
  font-weight: 800;
  font-size: 15px;
}
.tech span {
  font-size: 20px;
}
.pages-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.page-card {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 35, 80, 0.06);
}
.page-card img {
  height: 72px;
  width: 100%;
  object-fit: cover;
}
.page-card .body {
  padding: 14px;
}
.page-card h3 {
  font-size: 17px;
  color: var(--navy);
  margin: 0 0 4px;
}
.page-card p {
  font-size: 13px;
  line-height: 1.45;
  margin: 0;
  color: #334155;
}
.partner {
  margin-top: 20px;
  background: #f3f7fc;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.partner-inner {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 34px;
  align-items: center;
  padding: 18px 0;
}
.partner img {
  width: 360px;
  height: 110px;
  object-fit: cover;
}
.partner h2 {
  font-size: 28px;
  color: var(--navy);
  margin: 0 0 8px;
}
.partner p {
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
}
.checks {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  color: #0a255f;
  font-size: 15px;
  font-weight: 800;
}
.checks span::before {
  content: "●";
  color: #0b3f98;
  margin-right: 8px;
}
.contact-cta {
  background: linear-gradient(90deg, #001a50, #003b87);
  color: #fff;
  padding: 20px 0;
}
.contact-cta .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.contact-cta h2 {
  font-size: 26px;
  margin: 0 0 3px;
}
.contact-cta p {
  font-size: 15px;
  margin: 0;
  color: #e4efff;
}
.contact-cta .btn.outline {
  min-width: 170px;
}
.footer {
  background: #001a50;
  color: #e5efff;
  padding: 22px 0 14px;
}
.footer-grid {
  display: grid;
  /*grid-template-columns: 1.4fr repeat(5, 1fr);*/
  grid-template-columns: 1.4fr repeat(1, 1fr);
  gap: 28px;
}
.footer-logo {
  width: 170px;
  filter: brightness(0) invert(1);
  margin-bottom: 8px;
}
.footer h3 {
  font-size: 15px;
  margin: 0 0 7px;
  color: #fff;
}
.footer p,
.footer a,
.footer li {
  font-size: 12px;
  line-height: 1.55;
  color: #dce8ff;
}
.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.copy {
  margin-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  padding-top: 12px;
  text-align: right;
  font-size: 12px;
  color: #c8d9ff;
}
@media (max-width: 820px) {
  .container {
    width: min(1080px, calc(100% - 28px));
  }
  .header {
    height: auto;
  }
  .header-inner {
    height: auto;
    align-items: flex-start;
    flex-direction: column;
    padding: 12px 0;
  }
  .nav {
    width: 100%;
    overflow: auto;
    gap: 18px;
  }
  .nav a {
    white-space: nowrap;
    padding: 5px 0;
  }
  .nav a.active::after {
    bottom: -3px;
  }
  .hero {
    height: auto;
  }
  .hero-image {
    position: relative;
    width: 100%;
    height: 210px;
  }
  .hero::before {
    display: none;
  }
  .hero-content {
    padding: 24px 0;
  }
  .hero-content .btn:nth-of-type(2) {
    margin-left: 0;
    margin-top: 10px;
  }
  .hero h1 {
    font-size: 32px;
  }
  .hero .btn {
    width: 100%;
  }
  .problem-card h3 {
    font-size: 20px;
  }
  .problem-card p {
    font-size: 16px;
  }
  .service-grid,
  .works-grid,
  .tech-grid,
  .pages-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .partner-inner,
  .contact-cta .inner {
    grid-template-columns: 1fr;
    display: grid;
  }
  .strength {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
  }
  .strength h3 {
    font-size: 20px;
  }
  .strength p {
    font-size: 16px;
  }
  .partner img {
    width: 100%;
    height: 180px;
    object-fit: cover;
  }
}

.contact-cta {
  background: linear-gradient(90deg, #001a50 0%, #002b76 54%, #003b87 100%);
  color: #fff;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.contact-cta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 26px;
}
.contact-cta-copy h2 {
  font-size: 24px;
  line-height: 1.35;
  margin: 0 0 4px;
  color: #fff;
  font-weight: 900;
}
.contact-cta-copy p {
  font-size: 15px;
  margin: 0;
  color: #dbe8ff;
  font-weight: 600;
}
.contact-cta-actions {
  display: grid;
  grid-template-columns: 190px 230px;
  gap: 16px;
  align-items: center;
}
.cta-mail-button {
  height: 58px;
  border-radius: 5px;
  background: #fff;
  color: #00246b;
  border: 1px solid rgba(255, 255, 255, 0.86);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 900;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}
.cta-mail-button::after {
  content: "";
}
.mail-icon {
  font-size: 20px;
  line-height: 1;
}
.cta-phone-box {
  height: 58px;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  background: rgba(0, 26, 80, 0.2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 18px;
}
.cta-phone-box::after {
  content: "";
}
.phone-icon {
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 16px;
  line-height: 1;
}
.phone-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
}
.phone-text strong {
  font-size: 16px;
  letter-spacing: 0.02em;
  font-weight: 900;
}
.phone-text small {
  font-size: 12px;
  margin-top: 5px;
  color: #dbe8ff;
  font-weight: 700;
}
@media (max-width: 820px) {
  .contact-cta-inner {
    grid-template-columns: 1fr;
  }
  .contact-cta-actions {
    grid-template-columns: 1fr;
    width: 100%;
  }
  .cta-mail-button,
  .cta-phone-box {
    width: 100%;
  }
}

#services .service-card {
  position: relative;
  text-align: left;
  display: grid;
  grid-template-columns: 66px 1fr;
  grid-template-areas:
    "icon title"
    "text text"
    "link link";
  align-items: center;
  column-gap: 8px;
  padding: 34px 20px 22px;
  min-height: 250px;
}
#services .service-card .num {
  position: absolute;
  top: 14px;
  left: 14px;
}
#services .service-card img {
  grid-area: icon;
  width: 58px;
  height: 58px;
  margin: 0;
}
#services .service-card h3 {
  grid-area: title;
  text-align: left;
  margin: 0;
  color: var(--navy);
  font-size: 20px;
  line-height: 1.45;
  font-weight: 900;
}
#services .service-card p {
  grid-area: text;
  margin: 18px 0 0;
  color: #334155;
  font-size: 14px;
  line-height: 1.75;
}
#services .service-card .text-link {
  grid-area: link;
  justify-content: flex-end;
  margin-top: 14px;
}
@media (max-width: 820px) {
  #services .service-grid,
  .problem-grid,
  .strength-grid {
    grid-template-columns: 1fr;
  }
  #services .service-card {
    grid-template-columns: 58px 1fr;
    column-gap: 14px;
    padding-top: 48px;
  }
  #services .service-card p {
    font-size: 16px;
  }
}

/* 会社情報 */
.company-grid {
  max-width: 720px;
  margin-inline: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.company-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  border-bottom: 1px solid var(--line);
}
.company-row:last-child {
  border-bottom: none;
}
.company-label {
  background: var(--light);
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  border-right: 1px solid var(--line);
}
.company-value {
  background: #fff;
  font-size: 14px;
  color: var(--text);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  line-height: 1.55;
}
@media (max-width: 820px) {
  .company-row {
    grid-template-columns: 1fr;
  }
  .company-label {
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding: 10px 16px;
  }
  .company-value {
    padding: 10px 16px;
  }
}


/* --- Contact page: /contact --- */
.contact-page-hero {
  background: linear-gradient(90deg, #f8fbff 0%, #edf4fc 55%, #dcecff 100%);
  border-bottom: 1px solid var(--line);
  padding: 56px 0 46px;
}
.contact-page-hero h1 {
  color: var(--navy);
  font-size: 42px;
  line-height: 1.35;
  margin: 0 0 12px;
  font-weight: 900;
}
.contact-page-hero p {
  color: #23344d;
  font-size: 17px;
  margin: 0;
  font-weight: 700;
}
.breadcrumb {
  color: #637083;
  font-size: 13px;
  margin-bottom: 18px;
}
.contact-form-section {
  padding: 44px 0 56px;
  background: #fff;
}
.contact-intro,
.privacy-box,
.thanks-box {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 28px 32px;
  box-shadow: 0 6px 18px rgba(0, 35, 80, 0.06);
}
.contact-intro {
  margin-bottom: 28px;
}
.contact-intro h2,
.privacy-box h2,
.thanks-box h2 {
  color: var(--navy);
  margin: 0 0 12px;
  font-size: 28px;
  font-weight: 900;
}
.contact-intro p,
.thanks-box p {
  margin: 0;
  color: #344255;
  font-size: 16px;
}
.required-note {
  color: #d10000;
  font-weight: 900;
}
.form-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
}
.form-table th,
.form-table td {
  border: 1px solid var(--line);
  padding: 18px 20px;
  vertical-align: top;
  text-align: left;
}
.form-table th {
  width: 260px;
  background: #f6f9fd;
  color: var(--navy);
  font-weight: 900;
}
.badge-required {
  display: inline-flex;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  color: #fff;
  background: #d40000;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 900;
}
.form-table input[type="text"],
.form-table input[type="tel"],
.form-table input[type="email"],
.form-table select,
.form-table textarea {
  width: 100%;
  border: 1px solid #d6e0ec;
  border-radius: 6px;
  padding: 13px 15px;
  font: inherit;
  font-size: 16px;
  background: #fff;
}
.form-table textarea {
  min-height: 210px;
  resize: vertical;
}
.error-list {
  border: 1px solid #f4b6b6;
  background: #fff7f7;
  color: #b40000;
  border-radius: 8px;
  padding: 18px 24px;
  margin: 0 0 24px;
}
.error-list ul {
  margin: 8px 0 0 20px;
  padding: 0;
}
.privacy-box {
  margin-top: 28px;
}
.privacy-box h3 {
  color: var(--navy);
  font-size: 18px;
  margin: 24px 0 8px;
}
.privacy-box p {
  color: #344255;
  margin: 0 0 12px;
  font-size: 15px;
}
.agree-box {
  margin-top: 22px;
  padding: 18px 20px;
  background: #f8fbff;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-weight: 900;
  color: var(--navy);
}
.form-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 30px;
}
.form-actions .btn {
  min-width: 260px;
}
.confirm-table td {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.thanks-box {
  text-align: center;
  padding: 46px 32px;
}
@media (max-width: 820px) {
  .form-table,
  .form-table tbody,
  .form-table tr,
  .form-table th,
  .form-table td {
    display: block;
    width: 100%;
  }
  .form-table th {
    border-bottom: 0;
  }
  .form-actions {
    flex-direction: column;
  }
  .form-actions .btn {
    width: 100%;
  }
}


/* --- Contact CTA button text/icon update --- */
.form-contact-button {
  white-space: nowrap;
}
.form-contact-button::after {
  content: "";
}
.form-icon {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 2px solid currentColor;
  border-radius: 3px;
  font-size: 0;
  position: relative;
  flex: 0 0 auto;
}
.form-icon::before,
.form-icon::after {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}
.form-icon::before {
  top: 6px;
}
.form-icon::after {
  top: 11px;
}
@media (max-width: 820px) {
  .form-contact-button {
    min-width: 0;
  }
  .contact-cta-actions {
    grid-template-columns: 1fr;
  }
}

/* --- Privacy page: /privacy --- */
.privacy-section {
  background: #f7fbff;
}
.privacy-hero p {
  max-width: 900px;
}
.privacy-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 26px 30px;
  box-shadow: 0 6px 18px rgba(0, 35, 80, 0.06);
  margin-bottom: 20px;
}
.privacy-card h2 {
  color: var(--navy);
  margin: 0 0 14px;
  font-size: 28px;
  font-weight: 900;
}
.privacy-card h3 {
  color: var(--navy);
  margin: 20px 0 8px;
  font-size: 20px;
  font-weight: 900;
}
.privacy-card p,
.privacy-card li,
.privacy-card dd {
  color: #344255;
  font-size: 15px;
  line-height: 1.75;
}
.privacy-card ol,
.privacy-card ul {
  margin: 10px 0 0;
  padding-left: 20px;
}
.privacy-signature {
  margin-top: 18px;
  font-weight: 700;
  color: #20324a;
}
.privacy-note {
  margin-top: 10px;
  font-weight: 700;
}
.privacy-def-list {
  margin: 0;
}
.privacy-def-list div {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid #e9eff6;
}
.privacy-def-list div:last-child {
  border-bottom: 0;
}
.privacy-def-list dt {
  color: var(--navy);
  font-size: 14px;
  font-weight: 900;
}
.privacy-def-list dd {
  margin: 0;
}
@media (max-width: 820px) {
  .privacy-card {
    padding: 20px 18px;
  }
  .privacy-card h2 {
    font-size: 24px;
  }
  .privacy-card h3 {
    font-size: 18px;
  }
  .privacy-def-list div {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}
