:root{
  --bg:#f7f4ef;
  --text:#2f2f2f;
  --accent:#8b6f47;
  --line:#ddd5c8;
}

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

body{
  font-family:"Noto Sans JP",sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.9;
  letter-spacing:.04em;
}

img{
  max-width:100%;
  display:block;
}

a{
  text-decoration:none;
  color:inherit;
}

/* --------------------
FV
-------------------- */

.hero {
  position: relative;
  height: 60vh;
  min-height: 500px;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.25);
}

.hero-overlay {
  position: absolute;
  left: 8%;
  bottom: 12%;
  color: #fff;
  z-index: 2;
}

.hero-label {
  font-size: .9rem;
  letter-spacing: .25em;
  margin-bottom: 20px;
  color: #fff;
}

.hero h1 {
  font-size: clamp(2.4rem,5vw,4.5rem);
  font-weight: 300;
  line-height: 1.35;
  color: #fff;
}

/* --------------------
INTRO
-------------------- */

.intro{
  max-width:900px;
  margin:120px auto;
  padding:0 20px;
  text-align:center;
}

.intro p{
  margin-bottom:20px;
}

/* --------------------
GRID
-------------------- */

.works-grid{
  width:min(1200px,92%);
  margin:0 auto 120px;

  display:grid;
  grid-template-columns:
  repeat(3,1fr);

  gap:40px;
}

/* --------------------
CARD
-------------------- */

.work-card{
  background:#fff;
  transition:.3s;
  box-shadow:0 10px 30px rgba(0,0,0,.05);
}

.work-card:hover{
  transform:translateY(-6px);
}

.work-image{
  aspect-ratio:4 / 3;
  overflow:hidden;
}

.work-image img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.work-content{
  padding:28px;
}

.work-content h2{
  font-size:1.2rem;
  font-weight:400;
  line-height:1.7;
  margin-bottom:15px;
}

.location{
  color:#666;
  margin-bottom:20px;
}

.work-tags{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-bottom:24px;
}

.work-tags span{
  font-size:.8rem;
  padding:5px 12px;
  border:1px solid var(--line);
  border-radius:30px;
}

.work-link{
  color:var(--accent);
  font-size:.9rem;
}

/* --------------------
FOOTER
-------------------- */

.footer{
  padding:80px 20px;
  text-align:center;
}

.footer img{
  width:180px;
  margin:0 auto;
}

/* --------------------
TABLET
-------------------- */

@media(max-width:1000px){

  .works-grid{
    grid-template-columns:
    repeat(2,1fr);
  }

}

/* --------------------
SP
-------------------- */

@media(max-width:768px){

   .hero{
    min-height:420px;
  }

  .intro{
    margin:80px auto;
  }

  .works-grid{
    width:calc(100% - 32px);
    grid-template-columns:repeat(2, 1fr);
    gap:16px;
    margin-bottom:90px;
  }

  .work-image{
    aspect-ratio:1 / 1;
  }

  .work-content{
    padding:12px;
  }

  .work-content h2{
    font-size:.82rem;
    line-height:1.6;
    margin-bottom:8px;
  }

  .location{
    font-size:.72rem;
    margin-bottom:10px;
  }

  .work-tags{
    gap:5px;
    margin-bottom:10px;
  }

  .work-tags span{
    font-size:.65rem;
    padding:3px 7px;
  }

  .work-link{
    font-size:.72rem;
  }

}