body {
  margin: 0;
   -webkit-text-size-adjust: 100%;

  background: #0f0f0f;
  color: #e5e5e5;
  font-family: "Yusei Magic", sans-serif;
  font-weight: 400;
  font-style: normal;
}

@media screen and (max-width: 460px) {
    body {
        width: fit-content;
    }
}


.hero {
  padding: 100px 0px;
  text-align: center;
}

.hero h1 {
  font-size: 3.2rem;
  letter-spacing: 2px;
}

.works {
  padding: 20px 20px;
}

.works a {
color:inherit;
text-decoration: none;
}

.contact {
    text-align: center;
    padding: 20px 0px;
}

.sns {
    text-align: center;
    padding: 20px 0px;
    padding-top: 30px;
}

footer {
    text-align: center;
    padding: 20px 0px;
}

.grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}
.card {
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 32px;
  transition: 0.35s ease;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  cursor: pointer;
  height: -webkit-fill-available;
}

.card:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.55);
  border-color: rgba(255, 255, 255, 0.25);
}


.card img {
  width: 100%;
  /* height: 180px; */
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 20px;
  opacity: 0.9;
  transition: 0.3s;
  /* object-position: 0% 100% */
}

.card:hover img {
  opacity: 1;
  transform: scale(1.03);
}


.button_line001 a {
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0 auto;
    max-width: 200px;
    padding: 10px 25px;
    color: #e5e5e5;
    transition: 0.3s ease-in-out;
    /* font-weight: 600; */
    text-decoration: none;
}
.button_line001 a:before {
    position: absolute;
    bottom: 0px;
    left: 50%;
    content: '';
    width: 100%;
    height: 2px;
    background: #6d6d6d;
    transform: translateX(-50%);
}
.button_line001 a:after {
    position: absolute;
    bottom: 0px;
    left: 0;
    content: '';
    width: 100%;
    height: 2px;
    background: #e5e5e5;
    transform: scale(0, 1);
    transform-origin: left top;
    transition: transform .3s;
}
.button_line001 a:hover {
    opacity: 0.7;
}
.button_line001 a:hover:after {
    transform: scale(1, 1);
}