
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body { font-family: system-ui, -apple-system, Segoe UI, Arial, sans-serif; color: #000; }


.page{
  min-height: 100vh;
  padding: 44px 28px 60px;
  background: #000;
  color:#ffffff;
}

.hero h1{
  margin: 0;
  font-weight: 900;
  font-size: clamp(64px, 14vw, 120px);
  line-height: 0.9;
  letter-spacing: -0.02em;
}

.sub{
  margin: 18px 0 0;
  font-size: 18px;
}

.accordion{
  margin-top: 56px;
  max-width: 680px;
}

details{
  border: 1.5px solid #ffffff;
  border-radius: 14px;
  margin-bottom: 18px;
  overflow: hidden; 
}


summary{
  list-style: none;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 18px 18px;
  font-size: 18px;
}

summary::-webkit-details-marker{ display: none; }


.icon{
  font-size: 26px;
  line-height: 1;
  display: inline-block;
  transform-origin: 50% 50%;
  transition: transform 0.25s ease;
}


.label{
  font-size: 18px;
}


details[open] .icon{
  transform: rotate(180deg);
}

.content{
  padding: 0 18px 18px;
  font-size: 16px;
}

.content p{
  margin: 12px 0 0;
}

.panel {
  border: 1.5px solid #ffffff;
  border-radius: 18px;
  margin-bottom: 20px;
  overflow: hidden;
}

.panel summary {
  list-style: none;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 18px 20px;
  font-size: 18px;
}

.panel-content {
  padding: 28px 28px 60px;
  position: relative;
}

.panel-content h2 {
  margin: 0 0 20px;
  font-size: 64px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.mail {
  position: absolute;
  right: 28px;
  bottom: 20px;

  font-size: 18px;
  color: #ffffff;
  text-decoration: none;
}

.text {
  max-width: 638px;
  font-size: 18px;
  line-height: 1.4;
}


.panel-content.work{
  padding: 28px 28px 28px;
}

.work-head{
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 12px;
}

.panel-content.work h2{
  margin: 0;
  font-size: 64px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.work-meta{
  text-align: right;
  font-size: 18px;
  line-height: 1.1;
  margin-top: 18px;
}

.work-image{
  margin: 22px 0 18px;
  display: flex;
  justify-content: center;
}

.work-image img{
  width: min(520px, 100%);
  height: auto;
  display: block;
}

.work-text h3{
  margin: 0 0 10px;
  font-size: 18px;
  text-decoration: underline;
  font-weight: 600;
}

.work-text p{
  margin: 0;
  font-size: 18px;
  line-height: 1.35;
  max-width: 684px;
}




.work-item{
  margin-top: 100px;
}


.work-item .work-meta{
  text-align: right;
  font-size: 18px;
  line-height: 1.1;
  margin-bottom: 34px;
}


.work-item .work-image{
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}

.work-item img{
  width: min(520px, 100%);
  height: auto;
  display: block;
}


.work-item h3{
  margin: 0 0 10px;
  font-size: 18px;
  text-decoration: underline;
  font-weight: 600;
}

.work-item p{
  margin: 0;
  font-size: 18px;
  line-height: 1.35;
  max-width: 656px;
}

.work-item{
  margin-top: 65px;
}


.work-gallery{
  display: grid;
  grid-template-columns: 1fr;   
  gap: 28px;                    
  margin: 18px 0 24px;
}

.work-gallery img{
width: min(620px, 100%);   
  height: auto;
  display: block;
  margin: 0 auto;              
}


.panel-content.contact h2{
  margin: 0 0 24px;
  font-size: 64px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.contact-text{
  font-size: 18px;
  line-height: 1.4;
  max-width: 320px;
}

.contact-text p{
  margin: 0 0 18px;
}

.contact-text a{
  color: #ffffff;
  text-decoration: none;
}

.contact-text a:hover{
  text-decoration: underline;
}

.contact-text .open{
  margin-top: 28px;
}








