:root {
  --color-bg: #ffffff;
  --color-text: #202124;
  --color-sub: #5f6368;
  --color-line: #e8eaed;
  --color-light: #f7f8fa;
  --color-primary: #0f3d75;
  --color-primary-dark: #0a2d57;
  --font-ja: "Noto Sans JP", sans-serif;
  --font-en: "Inter", sans-serif;
  --header-height: 80px;
  --radius: 24px;
  --shadow: 0 24px 80px rgba(15, 61, 117, 0.1);
}

* {
  box-sizing: border-box;
}

.pb160 {
  padding-bottom: 160px;
}
.pb120 {
  padding-bottom: 120px;
}
.pb0 {
  padding-bottom: 0;
}

@media (max-width: 767px) {
  .pb160 {
    padding-bottom: 100px;
  }
  .pb120 {
    padding-bottom: 60px;
  }
}
.pt120 {
  padding-top: 120px;
}

@media (max-width: 767px) {
  .pt120 {
    padding-top: 60px;
  }
}
.mb160 {
  margin-bottom: 160px;
}
.mb120 {
  margin-bottom: 120px;
}
.mb100 {
  margin-bottom: 100px;
}
.mb80 {
  margin-bottom: 80px;
}
.mb60 {
  margin-bottom: 60px;
}
.mb40 {
  margin-bottom: 40px;
}
.mb30 {
  margin-bottom: 30px;
}
.mb20 {
  margin-bottom: 20px;
}
.mb10 {
  margin-bottom: 10px;
}
@media (max-width: 767px) {
  .mb160 {
    margin-bottom: 80px;
  }
  .mb120 {
    margin-bottom: 60px;
  }
  .mb100 {
    margin-bottom: 50px;
  }
  .mb80 {
    margin-bottom: 40px;
  }
  .mb60 {
    margin-bottom: 30px;
  }
  .mb40 {
    margin-bottom: 20px;
  }
  .mb30 {
    margin-bottom: 15px;
  }
  .mb20 {
    margin-bottom: 10px;
  }
  .mb10 {
    margin-bottom: 5px;
  }
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-ja);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.8;
  letter-spacing: 0.03em;
}

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

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

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

.narrow {
  max-width: 860px;
}

.section {
  padding: 120px 0;
}

.section-label {
  margin: 0 0 16px;
  font-family: var(--font-en);
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-title {
  margin: 0;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.35;
  letter-spacing: 0.02em;
}

.section-text {
  margin: 28px 0 0;
  color: var(--color-sub);
  font-size: 16px;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.site-header.is-scrolled {
  border-color: var(--color-line);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-en);
  font-weight: 700;
  letter-spacing: 0.02em;
}

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

.logo-text {
  font-size: 15px;
}

.global-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 14px;
  font-weight: 500;
}

.global-nav a {
  transition: color 0.3s;
}

.global-nav a:hover {
  color: var(--color-primary);
}

.nav-contact {
  padding: 10px 18px;
  color: #fff;
  background: var(--color-primary);
  border-radius: 999px;
}

.nav-contact:hover {
  color: #fff !important;
  background: var(--color-primary-dark);
}

.hamburger {
  display: none;
}

.hero {
  position: relative;
  min-height: 100vh;
  padding-top: var(--header-height);
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto -15% 5% auto;
  width: 54vw;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(15, 61, 117, 0.12), transparent 65%);
  pointer-events: none;
}

/* .hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 72px;
  align-items: center;
} */

.hero h1 {
  margin: 0;
  font-size: clamp(44px, 7vw, 86px);
  line-height: 1.16;
  letter-spacing: 0.01em;
}

.hero-lead {
  margin: 28px 0 0;
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 700;
}

.hero-text {
  max-width: 620px;
  margin: 22px 0 0;
  color: var(--color-sub);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 164px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.3s, background 0.3s, color 0.3s, border-color 0.3s;
}

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

.btn-primary {
  color: #fff;
  background: var(--color-primary);
}

.btn-outline {
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
}

.btn-light {
  color: var(--color-primary);
  background: #fff;
}

.btn-line {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.42);
}

.btn.white {
  background-color: #fff;
  color: var(--color-primary);
  margin-top: 40px;
}

.hero-visual {
  position: relative;
  height: min(540px, 58vw);
}

.bridge-graphic {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 42px;
  background: linear-gradient(145deg, #f8fbff, #ffffff);
  border: 1px solid var(--color-line);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.bridge-graphic::before {
  content: "";
  position: absolute;
  inset: 14%;
  background-image: linear-gradient(
      rgba(15, 61, 117, 0.08) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(15, 61, 117, 0.08) 1px, transparent 1px);
  background-size: 42px 42px;
  border-radius: 30px;
}

.node {
  position: absolute;
  z-index: 2;
  width: 18px;
  height: 18px;
  background: var(--color-primary);
  border: 5px solid #fff;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(15, 61, 117, 0.25);
}

.node-01 {
  top: 28%;
  left: 22%;
}
.node-02 {
  top: 58%;
  left: 36%;
}
.node-03 {
  top: 36%;
  left: 64%;
}
.node-04 {
  top: 68%;
  left: 74%;
}

.line {
  position: absolute;
  z-index: 1;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--color-primary),
    transparent
  );
  transform-origin: left center;
  opacity: 0.55;
}

.line-01 {
  top: 32%;
  left: 24%;
  width: 250px;
  transform: rotate(28deg);
}
.line-02 {
  top: 61%;
  left: 39%;
  width: 240px;
  transform: rotate(-32deg);
}
.line-03 {
  top: 39%;
  left: 66%;
  width: 150px;
  transform: rotate(50deg);
}

.visual-card {
  position: absolute;
  z-index: 3;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--color-line);
  border-radius: 18px;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.08);
  font-family: var(--font-en);
  font-weight: 700;
  color: var(--color-primary);
}

.card-01 {
  top: 18%;
  left: 10%;
}
.card-02 {
  top: 28%;
  right: 10%;
}
.card-03 {
  bottom: 18%;
  left: 18%;
}

.scroll-text {
  position: absolute;
  right: 28px;
  bottom: 32px;
  writing-mode: vertical-rl;
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--color-sub);
}

.about {
}

.about-wrapper {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: min(60px, 2vw);
  width: min(90vw, 1120px);
  margin-left: auto;
  margin-right: auto;
  .img {
    aspect-ratio: 1/1;
    width: 100%;
    height: auto;
    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: var(--radius);
    }
  }
}

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

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

.service-card {
  min-height: 520px;
  padding: 36px;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-number {
  font-family: var(--font-en);
  color: rgba(15, 61, 117, 0.2);
  font-size: 58px;
  font-weight: 700;
  line-height: 1;
}

.service-concept {
  margin: 28px 0 8px;
  color: var(--color-primary);
  font-weight: 700;
}

.service-card h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.45;
}

.service-card p:not(.service-concept) {
  color: var(--color-sub);
}

.service-card ul {
  padding: 0;
  margin: 28px 0;
  list-style: none;
}

.service-card li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: var(--color-sub);
}

.service-card li::before {
  content: "";
  position: absolute;
  top: 0.9em;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--color-primary);
  border-radius: 50%;
}

.text-link {
  color: var(--color-primary);
  font-weight: 700;
}

.text-link::after {
  content: " →";
}

.strength-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: min(30px, 1vw);
}

.strength-item {
  padding: 36px;
  background: var(--color-light);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  transition: transform 0.3s, box-shadow 0.3s;
}

.strength-item:last-child {
  border-right: none;
}

.strength-item span {
  font-family: var(--font-en);
  font-size: 48px;
  font-weight: 700;
  color: rgba(15, 61, 117, 0.2);
}

.strength-item h3 {
  margin: 0px 0 12px;
  font-size: 20px;
  line-height: 1.5;
  color: var(--color-primary);
}

.strength-item p {
  margin: 0;
  color: var(--color-sub);
  font-size: 14px;
}

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

.news-list {
  border-top: 1px solid var(--color-line);
}

.news-item {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--color-line);
  transition: color 0.3s;
}

.news-item:hover {
  color: var(--color-primary);
}

.news-item time {
  font-family: var(--font-en);
  color: var(--color-sub);
}

.company-inner {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 72px;
}

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

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

.company-table dt {
  color: var(--color-sub);
  font-weight: 700;
}

.company-table dd {
  margin: 0;
}

.contact {
  padding: 110px 0;
  color: #fff;
  background: var(--color-primary);
  text-align: center;
}

.contact .section-label {
  color: rgba(255, 255, 255, 0.7);
}

.contact h2 {
  margin: 0;
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.35;
}

.contact p:not(.section-label) {
  max-width: 700px;
  margin: 24px auto 0;
  color: rgba(255, 255, 255, 0.82);
}

.contact-actions {
  justify-content: center;
}

.site-footer {
  padding: 32px 0;
  background: #fff;
}

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

.site-footer small {
  color: var(--color-sub);
  font-family: var(--font-en);
}

.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.12s;
}
.delay-2 {
  transition-delay: 0.24s;
}
.delay-3 {
  transition-delay: 0.36s;
}

@media (max-width: 960px) {
  .section {
    padding: 88px 0;
  }

  .hero-inner,
  .company-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero {
    padding-top: 120px;
    min-height: auto;
  }

  .hero-visual {
    height: 420px;
  }

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

  .strength-item:nth-child(2) {
    border-right: none;
  }

  .strength-item:nth-child(n + 3) {
    border-top: 1px solid var(--color-line);
  }
}

@media (max-width: 720px) {
  :root {
    --header-height: 68px;
  }

  .l-container {
    width: min(100% - 32px, 1120px);
  }

  .site-header.is-open {
    background: #fff;
  }

  .hamburger {
    position: relative;
    z-index: 110;
    display: grid;
    place-items: center;
    width: 44px;
    padding: 0;
    background: transparent;
    border: none;
  }

  .hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: transform 0.3s;
  }

  .hamburger span + span {
    margin-top: 7px;
  }

  .hamburger.is-active span:first-child {
    transform: translateY(4.5px) rotate(24deg);
  }

  .hamburger.is-active span:last-child {
    transform: translateY(-4.5px) rotate(-24deg);
  }

  .global-nav {
    position: fixed;
    inset: var(--header-height) 0 auto 0;
    display: grid;
    gap: 0;
    padding: 24px 16px 32px;
    background: #fff;
    border-bottom: 1px solid var(--color-line);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
  }

  .global-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .global-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--color-line);
  }

  .nav-contact {
    margin-top: 16px;
    text-align: center;
    border-bottom: none !important;
  }

  .hero-actions,
  .contact-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .hero-visual {
    height: 340px;
  }

  .visual-card {
    font-size: 12px;
    padding: 10px 12px;
  }

  .about-wrapper {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .service-grid,
  .strength-list {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .service-card {
    min-height: auto;
    padding: 28px;
  }

  .strength-item {
    border-right: none;
    border-top: 1px solid var(--color-line);
    padding: 28px;
  }

  .strength-item:first-child {
    border-top: none;
  }

  .news-item,
  .company-table div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

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

  .scroll-text {
    display: none;
  }
}

/* お問い合わせ */

.under.contact {
  .contents {
    width: min(90vw, 1120px);
    margin-left: auto;
    margin-right: auto;
    .info {
      .tel {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-left: auto;
        margin-right: auto;
        transition: var(--trans);
        .img {
          width: 42px;
          img {
            width: 100%;
          }
        }
        .num {
          font-size: min(58px, 10vw);
          color: var(--color-primary);
          display: flex;
          align-items: center;
          gap: 10px;
        }
        .num::before {
          content: "";
          background-image: url(../img/tel-icon-blue.svg);
          background-repeat: no-repeat;
          background-size: contain;
          width: 0.8em;
          height: auto;
          aspect-ratio: 1 / 1;
        }
      }
      a:hover {
        opacity: 0.7;
      }
    }

    /* フォーム */
    .contact-area {
      background-color: #fff;
      border-radius: var(--radius);
      padding: 80px 20px;

      table {
        max-width: 700px;
        margin: 0 auto;
        margin-bottom: 40px;
        width: 100%;
        color: var(--color-text);

        tr {
          padding: 10px 0;
          display: flex;
          align-items: start;
          flex-direction: column;
          width: fit-content;
          width: 100%;

          th {
            padding-right: 10px;
            font-size: 16px;
            margin: 10px 0;
          }

          th.il::after {
            content: "必須";
            padding: 2px 10px;
            background-color: var(--color-primary);
            color: #fff;
            font-size: 12px;
            border-radius: 100px;
            margin-left: 20px;
            font-weight: 500;
          }
        }
        tr.notes {
          margin-top: 20px;
          padding: 5px 10px;
          background-color: var(--color-primary);
          width: fit-content;
          border-radius: 2px;
          th {
            margin: 0;
            font-size: 14px;
            color: var(--color-primary);
            font-weight: 500;
          }
        }
        tr.select_area {
          td {
            display: flex;
            flex-wrap: wrap;
            gap: 10px 30px;
            span {
              margin-left: 0;
              input {
                margin-right: 2px;
              }
            }
          }
        }
        td {
          width: 100%;
        }
        td.half {
          width: 50%;
        }
        td.flex-area {
          display: flex;
          justify-content: space-between;
          gap: 20px;
          width: 70%;
          @media screen and (max-width: 768px) {
            gap: 5px;
            width: 100%;
          }
          .wrapper {
            display: flex;
            gap: 10px;
            align-items: center;
            width: 100%;
            text-wrap: nowrap;
          }
        }

        p {
          font-size: 14px;
          margin-bottom: 20px;
        }
      }

      .policy-desc {
        margin-bottom: 20px;
        text-align: center;
        font-size: 14px;
        color: var(--color-text);
      }
      .check-area {
        margin-bottom: 40px;
        display: flex;
        justify-content: center;
        color: var(--color-text);
      }
      .thanks-message {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 20px;
        margin: 60px 0;
        text-align: center;
        .thanks-title {
          font-size: 38px;
          color: var(--color-primary);
          font-weight: 700;
          margin-bottom: 10px;
        }
      }
    }
    .send-btn-area {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 20px;
    }

    .send-btn {
      background-color: var(--color-primary);
      border-radius: 30px;
      padding: 0px 30px;
      cursor: pointer;
      color: #fff;
      width: fit-content;
      border: 0;
      transition: var(--trans);
    }
    .send-btn:hover {
      scale: 1.02;
    }
    .back-btn {
      background-color: #eee;
      border-radius: 30px;
      padding: 0px 30px;
      border: 1px #eee solid;
      cursor: pointer;
      color: #999;
      width: fit-content;
      transition: var(--trans);
    }

    .back-btn:hover {
      scale: 1.02;
    }
  }
  .recha-info {
    font-size: 14px;
    padding-top: 40px;
    text-align: center;
    line-height: 2;
    color: var(--color-text);
  }
  input,
  select,
  textarea {
    width: 100%;
    height: 50px;
    border-radius: 4px;
    border: #999 0.5px solid;
    background-color: rgb(255, 255, 255, 0.6);
    padding: 10px;
    font-size: 16px;
  }
  textarea {
    height: 300px;
  }

  input[type="checkbox"] {
    width: 18px;
    height: 18px;
    translate: 0 3px;
    margin-right: 10px;
    border: 1px #3f3f3f solid;
    font-size: 16px;
    color-scheme: light; /* 強制的にライトテーマで描画 */
  }

  input,
  select,
  textarea:focus {
    outline: none;
    box-shadow: none;
  }

  input::placeholder,
  textarea::placeholder {
    color: #ccc;
  }
}

@media (max-width: 767px) {
  .under.contact {
    .contents {
      .info {
        .desc {
          font-size: 14px;
          text-align: start;
        }
        .tel {
          .num {
            gap: 0px;
          }
        }
      }
      /* フォーム */
      .contact-area {
        padding: 40px 20px;
        border-radius: 20px;
        table {
          tr {
            padding: 10px 0;
            th {
              font-size: 14px;
              margin: 10px 0;
            }

            th.il::after {
              padding: 2px 8px;
              font-size: 10px;
              margin-left: 10px;
            }
          }
          tr.select_area {
            td {
              gap: 10px 20px;
              span {
                font-size: 14px;
              }
            }
          }
          td {
            width: 100%;
          }
        }
        .policy-desc {
          margin-bottom: 10px;
          text-align: start;
          font-size: 12px;
        }

        .check-area {
          font-size: 14px;
        }
        .thanks-message {
          gap: 10px;
          margin: 40px 0;
          .thanks-title {
            font-size: 20px;
          }
        }
      }
      .flex {
        .btn-privacy-policy {
          padding-left: 20px;
          margin-bottom: 60px;
        }
      }
      .recha-info {
        font-size: 12px;
        text-align: start;
      }
    }
    input[type="checkbox"] {
      width: 14px;
      height: 14px;
      font-size: 14px;
      translate: 0 1.5px;
    }
    input,
    select,
    textarea {
      height: 40px;
      font-size: 14px;
    }
    textarea {
      height: 200px;
    }
  }
}

.policy-text-area {
  background-color: #fff;
  border-radius: var(--radius);
  padding: 40px;
  height: 300px;
  overflow-y: auto;
  .desc {
    font-size: 14px;
    text-align: left;
    color: var(--color-sub) !important;
    max-width: 100% !important;
  }
}
