@charset "utf-8;";

 header h1 {
      font-size: 2em;
      margin: 0;
    }
    
    main {
      max-width: 960px;
      margin: 0 auto;
      padding: 20px;
    }
    
    section {
      margin-bottom: 60px;
    }
    
    section h2 {
      font-size: 1.6em;
      margin-top: 40px;
      border-left: 5px solid #00487c;
      padding-left: 10px;
      color: #00487c;
white-space: normal;
    }
    
    ul {
      padding-left: 20px;
    }
    
    li {
      margin-bottom: 6px;
    }
    
    footer {
      background-color: #eee;
      text-align: center;
      padding: 20px;
      font-size: 0.9em;
      color: #555;
    }

.label-box {
  display: inline-block;
  background-color: #fff;
  border: 2px solid #00487c;
  border-radius: 6px;
  padding: 4px 10px;
  margin-right: 8px;
  font-weight: bold;
  color: #00487c;
}





section ul li strong {
  font-weight: 900;
  color: #ec1c7e;
  font-size: 1.05em;
}


.memo-spec {
  font-family: "Helvetica", "?????", sans-serif;
  margin: 2em auto;
  padding: 1em;
  max-width: 700px;
  background: #fdfdfd;
  border: 1px solid #ccc;
  border-radius: 8px;
}

.memo-spec h2 {
  text-align: center;
  font-size: 1.5em;
  margin-bottom: 1em;
  color: #333;
margin-top: 15px;
}

.memo-spec table {
  width: 100%;
  border-collapse: collapse;
}

.memo-spec th,
.memo-spec td {
  border: 1px solid #ccc;
  padding: 0.8em;
  text-align: left;
}

.memo-spec th {
  background-color: #f0f0f0;
  font-weight: bold;
  color: #555;
}

.memo-spec td {
  color: #444;
}


.portfolio2 {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.portfolio-item2 {
  width: calc(50% - 10px);
  box-sizing: border-box;
}

.portfolio-item2 img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.portfolio-item2 p {
  margin-top: 8px;
  font-size: 0.95rem;
  color: #333;
  line-height: 1.5;
}

.works__bg div {
opacity: 0.5;
}

.tab-content {
  padding-top: 10px;
  padding-bottom: 10px;
}

.worksgroup {
  max-width: 1500px;
  margin: 0 auto;
 padding:2rem;
}


        .tabs {
            display: flex;
            margin-bottom: 30px;
            flex-wrap: wrap;
        }

        .tab-button {
            padding: 10px 20px;
            border: 1px solid #ccc;
            background-color: #f1f1f1;
            text-decoration: none;
            color: black;
            cursor: pointer;
            margin-right: 5px;
            border-radius: 5px;
            min-width: 130px;
            text-align: center;
margin-top:10px;
        }

        .tab-button:hover {
            background-color: #ddd;
        }

        .tab-content {
            display: none;
        }

        #tab1 {
            display: block;
        }

        .tab-button.active {
            background-color: #ddd;
            font-weight: bold;
        }

        .portfolio {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
        }

        .portfolio-item {
            width: calc(33.333% - 20px);
            box-sizing: border-box;
            text-align: center;
        }

        .portfolio-item img {
            width: 100%;
            height: auto;
            border-radius: 5px;
            background-color: #ccc; /* ?????? */
            aspect-ratio: 16 / 9; /* ?????? */
            display: block; /* ???????? */
        }

       .category-icon {
  background-color: #2b498d;
  color: white;
  padding: 5px 10px;
  border-radius: 3px;
  display: flex;
  margin-bottom: 15px;
}


        p {
            margin-top: 10px;
            font-size: 14px;
        }

        @media (max-width: 768px) {
            .portfolio-item {
                width: calc(50% - 20px);
            }
        }

        @media (max-width: 480px) {
            .portfolio-item, .portfolio-item2 {
                width: 100%;
            }
        }