body {
  margin: 0;
  padding-top: 75px; 
  font-family: 'Kiwi Maru', serif;
}

header {
  background-color: #000;
  padding: 10px 0;
  position: fixed; 
  top: 0; 
  width: 100%;
  z-index: 1003;
}

.container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  user-select: none;
}

.logo img {
  height: 55px;
}

.hamburger-menu {
  position: relative;
  z-index: 1002;
}

.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  background: #000;
  border: 2px solid #fff;
  cursor: pointer;
  outline: none;
  padding: 10px;
  border-radius: 5px;
  width: 60px;
  height: 60px;
  position: relative;
  user-select: none;
  margin-right: 10px;
}

.hamburger-line {
  width: 30px;
  height: 3px;
  background-color: #fff;
  position: absolute;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger-line:nth-child(1) {
  top: 8px;
}

.hamburger-line:nth-child(2) {
  top: 18px;
}

.hamburger-line:nth-child(3) {
  top: 28px;
}

.hamburger.close .hamburger-line:nth-child(1) {
  top: 18px;
  transform: rotate(45deg);
}

.hamburger.close .hamburger-line:nth-child(2) {
  display: none;
}

.hamburger.close .hamburger-line:nth-child(3) {
  top: 18px;
  transform: rotate(-45deg);
}

.menu-text {
  display: block;
  font-size: 14px;
  color: #fff;
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
}

.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 1000;
}

.menu {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  text-align: center;
  z-index: 1001;
  user-select: none;
}

.menu ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.menu li {
  padding: 20px 0;
}

.menu li a {
  text-decoration: none;
  color: #fff;
  font-size: 24px;
}

/*ここまで固定*/

main {
  padding-top: 60px; 
}

.tag-menu {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
  padding-top: 20px;
  position: fixed;
  top: 75px; 
  left: 0;
  right: 0;
  z-index: 999;
}

.filter-btn {
  background-color: #ffffff;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  padding: 7px 25px;
  margin: 0 5px;
  font-size: 16px;
  font-family: 'Kiwi Maru', serif;
  color: rgb(59, 59, 59); 
}

.filter-btn:focus {
  outline: none; 
  color: rgb(59, 59, 59); 
}

.filter-btn.active {
  background-color: rgb(59, 59, 59);
  color: #fff;
}

.gallery-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-gap: 10px;
  justify-content: center;
  padding: 10px;
  max-width: 80%;
  margin: 0 auto;
}

.gallery-link {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.gallery-item {
  margin: 10px;
  max-width: 200px;
  background-color: #e2e0e0; 
  border-radius: 5px; 
  padding: 10px; 
}

.gallery-item:hover {
  background-color: #c7c7c7; 
}

img {
  max-width: 100%;
  display: block;
  border-radius: 5px; 
}

.image-info {
  display: flex;
  justify-content: space-between;
  padding: 5px;
  font-size: 12px;
  margin-top: 5px;
  margin-bottom: -5px;
}

.image-category {
  text-align: right;
  background-color: #ffffff; 
  border-radius: 10px; 
  padding: 3px 10px; 
}

