/* ------------------------------
   Base
------------------------------ */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&display=swap');

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  color: #222;
  background-color: #fff;
  line-height: 1.7;
  font-size: 15px;
}

h2 {
  font-family: "Oswald", sans-serif;
  margin: 0;
  font-size: 45px;
  color: #0370bd;
  letter-spacing: 0.1rem;
  line-height: 1;
}

.h2-jp {
    margin: 10px 0 20px;
    font-weight: 900;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.h2-jp:before {
    border-top: 2px solid;
    content: "";
    width: 30px;
    margin-right: 10px;
}

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

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

a:hover {
  opacity: 0.8;
}

.container {
  width: 100%;
  margin: 0 auto;
  padding: 0 16px;
}

/* Utility */

.sp-br {
  display: none;
}

.section-inner--narrow {
  max-width: 720px;
  margin: 0 auto;
}

/* ------------------------------
   Header & Global Nav
------------------------------ */

.site-header {
  position: fixed; 
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  background-color: transparent;
}

.site-header.scrolled {
  background-color: #0070bd;
}

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

.site-logo img {
  height: 40px;
  width: auto;
}

/* Nav */

.global-nav {
  display: flex;
}

.global-nav-list {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.2rem;
}

.global-nav-list a {
  font-family: "Oswald", sans-serif;
  position: relative;
  padding: 4px 0;
  color: #fff;
}

.global-nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background-color: #333;
  transition: width 0.2s ease;
}

.global-nav-list a:hover::after {
  width: 100%;
}

/* Hamburger */

.nav-toggle {
  display: none;
  width: 36px;
  height: 36px;
  padding: 8px;
  border-radius: 999px;
  border: 1px solid #ddd;
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}

.nav-toggle-line {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #333;
  border-radius: 999px;
}


/* ------------------------------
   Footer
------------------------------ */

.site-footer {
  border-top: 1px solid #eee;
  padding: 24px 0;
  background-color: #fff;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 13px;
}

.footer-logo {
  margin: 0 0 4px;
  font-weight: 600;
}

.footer-copy {
  margin: 0;
  color: #888;
}

.footer-links,
.footer-social {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 12px;
}

/* ------------------------------
   Responsive
------------------------------ */

@media (max-width: 960px) {
  .sp-br {
    display: inline;
  }
  .pc-br {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .global-nav {
    position: fixed;
    inset: 64px 16px auto 16px;
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
    padding: 16px;
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
  }

  .global-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .global-nav-list {
    flex-direction: column;
    gap: 10px;
  }

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

/* ------------------------------
   Top mainVisual
------------------------------ */


.hero {
    position: relative;
}

.mainVisual {
    position: relative;
    width: 100%;
  height: calc(100vh);
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.2);
}

.mainVisual video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
  -webkit-transform: translateY(-50%) translateX(-50%);
    min-width: 100%;
    min-height: 100%;
    z-index: -1;
}

@keyframes bg {
  0% {
    opacity: 0;
    transform: scaleX(0) translateX(-5%);
  }
  30% {
    transform: scaleX(1) translateX(0);
  }
  100% {
    transform: scaleX(1) translateX(0);
  }
  30%, 100% {
    opacity: 1;
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.bg {
    position: absolute;
    top: 40%;
    left: 50px;
}

.bg .bg-wrap {
  position: relative;
  display: inline-block;
  margin-top: 10px;
}
.bg.is-animated .bg-wrap::before {
  animation: bg 4s cubic-bezier(0.215, 0.61, 0.355, 1) forwards;
  background: #0070bd;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform-origin: left center;
}
.bg .bg-wrap .inn {
    opacity: 0;
    animation: fadeIn 1.5s ease 1.5s forwards;
    color: #fff;
    display: inline-block;
    font-size: 35px;
    letter-spacing: 0.1em;
    padding: 10px 20px;
    font-weight: bold;
    position: relative;
    z-index: 1;
}

/* ------------------------------
   Top
------------------------------ */

.inner_content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 20px;
}

/* ------------------------------
   Top ABOUT
------------------------------ */

.about .inner_content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 50px;
}

.about_left {
    width: 100%;
}


/* ------------------------------
   Top POINT
------------------------------ */

.point {
    background: #efefef;
}


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

    .strength-card {
      background-color: #ffffff;
      border-radius: 12px;
      border: 1px solid var(--ming-border);
      padding: 24px 22px 26px;
      display: flex;
      flex-direction: column;
      box-shadow: 0 8px 16px rgba(0, 0, 0, 0.04);
      transition: transform 0.2s ease, box-shadow 0.2s ease,
        border-color 0.2s ease;
    }

    .strength-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 14px 30px rgba(0, 0, 0, 0.06);
      border-color: var(--ming-green);
    }

    .strength-tag {
      display: inline-flex;
      align-items: center;
      padding: 4px 14px;
      border-radius: 999px;
      background-color: #0370bd;
      color: #fff;
      font-size: 16px;
      letter-spacing: 0.1em;
      font-weight: 500;
      text-transform: uppercase;
      margin-bottom: 18px;
      font-family: "Oswald", sans-serif;
      justify-content: center;
    }

    .strength-tag span {
      margin-left: 6px;
    }

    .strength-icon {
      width: 75%;
      margin: 20px auto 20px;
    }

    .strength-title {
      font-size: 18px;
      font-weight: 700;
      margin-bottom: 10px;
      line-height: 1.5;
      text-align: center;
    }

    .strength-text {
    margin-bottom: 0;
    }

    /* レスポンシブ */
    @media (max-width: 960px) {
      .strengths-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }

    @media (max-width: 640px) {
      .strengths-section {
        padding: 40px 16px;
      }

      .strengths-heading h2 {
        font-size: 22px;
      }

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

      .strength-card {
        padding: 20px 18px 22px;
      }
    }


/* ------------------------------
   Top Network
------------------------------ */

.network {
    background-image: url(../../img/network.jpg);
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    padding: 80px 0;
    text-align: center;
}

.network h3 {
    font-size: 20px;
}

.network h2,
.network h3,
.network p {
    color: #fff;
    text-shadow: 1px 1px 5px #000000;
}

/* ------------------------------
   Top CLIENT
------------------------------ */

.client {
    background: #efefef;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 22px;
}

/* ------------------------------
  service
------------------------------ */

.service {
    margin-top: 70px;
}

.service_box {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 50px;
    margin-top: 70px;
}

.service_left {
    width: 100%;
}

.service h3 {
    border-bottom: 3px solid #0370bd;
    font-size: 20px;
}

.service h3 span {
    font-family: "Oswald", sans-serif;
    font-size: 1.6rem;
    color: #0370bd;
    padding-right: 8px;
}

.service li {
    list-style: none;
    background: #0370bd;
    color: #fff;
    border-radius: 50px;
    padding: 10px 20px;
}

.service ul {
    padding: 0;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}


.equipment {
    background: #efefef;
}

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.equipment-grid p {
    margin: 0;
    background: #fff;
    padding: 5px;
    text-align: center;
    border-top: 1px solid #dfdfdf;
}


/* ------------------------------
  COMPANY
------------------------------ */

.company {
    margin-top: 70px;
}
            .company table {
                text-align: left;
                font-size: 14px!important;
                color: #000;
                border-left: none!important;
                width: 100%;
                max-width: 700px;
                margin: 70px auto 0;
            }

            .company table th {
                width: 180px;
                background: none!important;
                font-weight: bold;
                padding: 32px 0;
                border-top: none;
                text-align: center;
            }

            .company table td {
                border-bottom: 2px solid #e4e4e4 !important;
                text-align: left;
                border-top: none;
            }

            .company table ul {
                margin: 0!important;
                padding-left: 0;
                padding-bottom: 15px;
            }

            .company table ul li {
                list-style: disc;
                line-height: 1.5;
                margin-bottom: 10px;
            }

            .company table ul li:last-child {
                margin-bottom: 0;
            }

            .company table th,
            .company table td {
                border-left: none!important;
                border-right: none!important;
            }

            .company table p {
                margin: 0;
            }

            @media only screen and (min-width: 767px) {
                .company table td {
                    padding: 32px 0 32px 50px;
                }

                .company table tr:nth-child(1) th {
                    border-top: 2px solid #0370bd !important;
                }

                .company table tr:nth-child(1) td {
                    border-top: 2px solid #e4e4e4 !important;
                }

                .company table th {
                    border-bottom: 2px solid #0370bd !important;
                }

                .company table td {
                    border-bottom: 2px solid #e4e4e4 !important;
                }
            }

            @media screen and (max-width: 767px) {
                .company table th,
                .company table td {
                    border-top: none;
                }

                .company table {
                    border-top: 2px solid #e4e4e4 !important;
                }

                .company table td {
                    padding: 32px 0;
                }

                .company table td,
                .company table th {
                    display: block !important;
                    text-align: center !important;
                }

                .company table td {
                    padding-top: 0!important;
                    border-top: 0!important;
                }

                .company table th {
                    padding: 32px 0 10px 0 !important;
                    width: 100% !important;
                    border-bottom: none !important;
                }

                .company table ul li {
                    list-style: none !important;
                }
            }


.timeline {
}

.timeline-list {
    padding: 40px 0;
}

.timeline-list-item {
    display: flex;
    line-height: 1.5;
    font-size: 16px;
}

.timeline-list-item .date {
    width: 20%;
    text-align: right;
    padding: 0 30px 0 0;
    color: #000000;
    font-weight: bold;
}

.timeline-list-item .content {
    position: relative;
    width: 80%;
    padding: 0 20px 60px 30px;
    border-left: 1px solid #aaaaaa;
}

.timeline-list-item .content span{
    font-weight: bold;
}

.timeline-list-item .content::before {
    content: "";
    position: absolute;
    top: 4px;
    left: -8px; //widthの半分の値を指定
    height: 16px;
    width: 16px;
    height: 16px;
    background-color: #0370bd;
    border-radius: 10px;
}

.activities {
    background: #efefef;
}

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

    .activities-card {
      background-color: #ffffff;
      border-radius: 12px;
      border: 1px solid var(--ming-border);
      padding: 24px 22px 26px;
      display: flex;
      flex-direction: column;
      box-shadow: 0 8px 16px rgba(0, 0, 0, 0.04);
      transition: transform 0.2s ease, box-shadow 0.2s ease,
        border-color 0.2s ease;
    }

    .activities-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 14px 30px rgba(0, 0, 0, 0.06);
      border-color: var(--ming-green);
    }

    .activities-tag {
      display: inline-flex;
      align-items: center;
      padding: 4px 14px;
      border-radius: 999px;
      background-color: #0370bd;
      color: #fff;
      font-size: 16px;
      letter-spacing: 0.1em;
      font-weight: 900;
      text-transform: uppercase;
      margin-bottom: 18px;
      justify-content: center;
    }

    .activities-tag span {
      margin-left: 6px;
    }

    .activities-icon {
      width: 100%;
    }

    .activities-title {
      font-size: 18px;
      font-weight: 700;
      margin-bottom: 10px;
      line-height: 1.5;
      text-align: center;
    }

    .activities-text {
    margin-bottom: 0;
    }

    /* レスポンシブ */
    @media (max-width: 960px) {
      .activities-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }

    @media (max-width: 640px) {
      .activities-section {
        padding: 40px 16px;
      }

      .activities-heading h2 {
        font-size: 22px;
      }

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

      .activities-card {
        padding: 20px 18px 22px;
      }
    }

/* ------------------------------
  CONTACT
------------------------------ */

.contact {
    margin-top: 70px;
}