:root {
  @media (width <= 480px ) {
    --is-mq-mobile-p: true;
  }
  @media (width <= 600px) {
    --is-mq-mobile-l: true;
  }
  @media (width <= 960px) {
    --is-mq-tablet: true;
  }
}



@font-face {
  font-family: "APJapanesefont";
  src: url("font/APJapanesefont.ttf") format("truetype");
}

.font-anzu {
  font-family: "APJapanesefont";
}

body {
  position: relative;
  font-family: "Zen Maru Gothic", serif;
  font-weight: 500;
  font-style: normal;
  padding: 0;
  margin: 0;
}

a:link {
  color: #333;
  text-decoration: underline;
}
a:visited {
  color: #999;
  text-decoration: underline;
}
a:hover {
  color: #666;
  text-decoration: underline;
}
a:active {
  color: #666;
  text-decoration: none;
}

.posts-list {
  a:link {
    text-decoration: none;
  }
  a:visited {
    text-decoration: none;
  }
  a:hover {
    text-decoration: underline;
  }
  a:active {
    text-decoration: none;
  }
}

.header {
  position: sticky;
  z-index: 1000;
  top: 0;
  left: 0;
  display: block;
  padding: 12px;
  height: 56px;
  width: 100%;
  overflow: hidden;

  font-family: Arial, Helvetica, sans-serif;
  background-color: #fff;
  background-color: rgba(255, 255, 255, 1);
  /* backdrop-filter: blur(10px); */
  box-shadow: 0 2px 10px rgba(255, 255, 255, 1);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  overflow-x: hidden;
}

.company-info {
  display: flex;
  align-items: center;
  gap: 12px;

  overflow-x: hidden;
}
.company-title {
  display: flex;
  align-items: center;
  gap: 12px;

  overflow-x: hidden;
}
.company-logo {
  /* width: 40px; */
  height: 32px;
}
.company-name {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.2rem;
  /* font-weight: bold; */
}
.company-desc {
  font-size: 0.8rem;
}

.nav-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
.nav-list {
  display: flex;
  gap: 2em;
}

.nav li a {
  text-decoration: none;
  color: #333;
  font-size: 0.9rem;
}

[x-cloak] { display: none !important; }

.nav-mobile {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  padding: 56px 0 0;
  z-index: 1000;

  display: inline-flex;
  justify-content: flex-end;

  .nav-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 1em;
    width: 200px;
    height: auto;

    background-color: #fff;
    box-shadow: -2px 8px 10px rgba(0, 0, 0, 0.4);
  }
}

@media (width <= 768px) {
  .header-content {
  }
  .company-info {
  }
  .company-name {
    display: none;
  }
  .company-desc {
    font-size: 0.8rem;
  }
  .nav {
    display: none;
  }
  .nav-list {
    flex-direction: column;
    gap: 12px;
    a {
      display: block;
      line-height: 2;
      padding: 0.5em;
    }
  }
}

.main {
  /* padding: 20px; */
}

.section {
  margin-bottom: 20px;
}


.table-aboutus {
  width: 100%;
  max-width: 480px;
  margin: 20px auto;
  border-collapse: collapse;
  border-spacing: 0;
  /* border: 1px solid #ddd; */
  th,
  td {
    border: 1px solid #ddd;
    padding: 0.8em 0.4em;
    font-size: medium;
    border: none;
    vertical-align: top;
  }
  th {
    text-align: right;
    white-space: nowrap;
  }
  td {
    white-space: nowrap;
  }

  @media (width <= 768px) {
    display: block;
    tbody,
    tr,
    th,
    td {
      display: block;
    }
    th {
      text-align: left;
      padding-bottom: 0;
      font-size: 0.8rem;
      font-weight: normal;
    }
    td {
      padding-top: 0.4em;
    }
  }
}


.footer {
    margin: 12rem auto 0;
    padding-top: 6rem;

    text-align: center;
    color: #333;

    background-color: #f7f7f7;

    .inner {
        max-width: 1200px;
        margin: 0 auto;
    }


    .footer-contact {
        max-width: 800px;
        margin: 2rem auto;
        padding: 2rem;
        /* background-color: #f8f9fa; */

        .wrap {
            /* display: flex; */
            /* flex-direction: column; */
            /* gap : 0rem; */
            text-align: left;
        }

        h2 {
            font-size: 1.25rem;
            margin-bottom: 0.5rem;
            font-weight: bold;
        }

        strong {
            color: #999;
            font-size: 1.4rem;
        }


        .contact-link {
            display: inline-block;
            width: 240px;
            padding: 0.75rem 1.5rem;
            font-size: 1rem;
            font-weight: bold;
            color: #fff;
            background-color: #333;
            /* border-radius: 25px; */
            text-decoration: none;
            transition: background-color 0.3s ease;
            text-align: center;
        }
        .contact-link:hover {
            background-color: #0056b3;
        }


    }

    .footer-nav {
        margin-bottom: 1.5rem;

        h2 {
            font-size: 1.25rem;
            margin-bottom: 0.5rem;
            font-weight: bold;
        }

        ul {
            list-style: none;
            padding: 0;
            margin: 0;
            display: flex;
            justify-content: center;
            gap: 1rem;
        }

        li a {
            font-size: 1rem;
            text-decoration: none;
        }

        li a:hover {
            text-decoration: underline;
        }
    }

    .footer-copyright {
        font-size: 0.875rem;
        color: #666;
        padding: 1rem;
    }
}





/* パンくずリスト全体 */
.breadcrumb {
  margin: 1rem 0;
  font-size: 0.875rem;

  ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;

    li {
      display: inline;
      margin: 0 0.25rem;

      &:not(:last-child)::after {
        content: "/";
        margin-left: 0.25rem;
        color: #4a4a4a;
      }

      a {
        text-decoration: none;
        font-weight: 500;

        &:hover {
          text-decoration: underline;
        }
      }

      &[aria-current="page"] {
        font-weight: bold;
        color: #333;
      }
    }
  }
}

.table-of-contents {
      max-width: 720px;
      margin: 2rem auto 1rem;
}
/*  works 制作実績 */
/* article全体 */

section {

  max-width: 720px;
  margin: 4rem auto 8rem;
  
  p {
    margin: 1rem 0;
    line-height: 1.6;
  }
    h2 {
      font-size: 1.5rem;
      margin-bottom: 1rem;
      font-weight: bold;
    }
    h3 {
      font-size: 1.1rem;
      margin: 2rem 0 1rem;
      font-weight: bold;
    }
    figure {
      /* margin:  2rem 0; */
      figcaption {
        font-size: 0.8rem;
        color: #aaa;
      }
    }
  }

.work {
  margin: 2rem 0;

  .workHeader {
    /* text-align: center; */

    .mainVisual img {
      width: 100%;
      height: auto;
    }

    .workTitle {

      max-width: 720px;
      margin: 2rem auto 1rem;
      font-size: 3rem;
      font-weight: bold;
      line-height: 1.2;
      @media (width <= 768px) {
        font-size: 10vw;
      }
    }

    .workDescription {
      max-width: 720px;
      margin: 0 auto;
      font-size: 1rem;
      color: #555;
    }
  }



  .workSummary {
    dl {
      display: flex;
      flex-wrap: nowrap;
      gap: 1rem;
      margin: 0;
      padding: 0;

      font-size: 0.9rem;

    }

    dt {
      width: 8rem;
      font-weight: normal;
      text-wrap: nowrap;
    }

    dd {
      flex: 1;
      margin: 0;
      flex-wrap: nowrap;
    }
    ul {
      display: flex;
      flex-wrap: nowrap;
      margin: 0;
      padding: 0;
      list-style: none;
    }

    .taskList,
    .toolList {
      display: flex;
      flex-wrap: wrap;
      list-style: none;
      li {
        text-wrap: wrap;
        &:not(:last-child)::after {
          content: "/";
          margin-left: 0.25rem;
          padding-right: 0.25rem;
          color: #4a4a4a;
        }
      }
    }


    @container style(--is-mq-mobile-l) {
      dl {
        flex-wrap: wrap;
        gap: 0.5rem;
      }
      dt {
        width: 100%;
      }
      dd {
        padding-left: 1rem;
      }
      .taskList,
      .toolList {
        display: block;
        li {
          display: inline;
        }
      }
    }

  }
  .workSummaryList {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 1rem 2.2rem;

  }

  .gallery {
    margin-top: 10rem;
    max-width: 100%;
    h2 {
        display: none;
    }
    .imageContainer {
      display: flex;

      gap: 2rem;
      flex-wrap: wrap;
      justify-content: center;

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

      figure {
        width: 100%;
        text-align: center;
        img {
            display: inline-block;
            max-width: auto;
        }
      }
    }
  }

}

.client-feedback {
}

.testimonial {
    /* max-width: 600px; */
    margin: 0 auto;
    font-size: 1rem;
    color: #333;


    margin-bottom: 1rem;
    padding: 1.5rem;
    border-left: 4px solid #aaa;
    background-color: #f8f9fa;
}

.testimonial-quote {
    margin-bottom: 2rem;
}

.testimonial-quote p {
    margin: 0 0 0.8rem 0;
    line-height: 1.6;
}

.testimonial-author {
    font-size: 1rem;
    text-align: right;
}


