@charset "utf-8";
/* styles.css (テンプレート) */
:root { 
    --accent:#C8537A; 
    --bg:#ffe9c7; 
    --text:#222; 
    --muted:#dc904d;
    }
* {
    padding: 0;
    margin: 0;
    box-sizing:border-box;
    }

ul,
ol {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

body  {
    font-family: "Yusei Magic", sans-serif;
    font-weight: 400;
    font-style: normal;
        color:var(--text);
         background:var(--bg);
         margin:0;
    }

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  background: rgba(255, 227, 227, 0.9);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
  backdrop-filter: blur(8px);
  z-index: 1000;
}

h1 {
  font-size: 48px;
  font-weight: 700;
}

.nav ul {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav a {
  text-decoration: none;
  color: #222;
  font-size: 28px;
  transition: 0.3s;
}

.nav a:hover {
  opacity: 0.6;
}

/* ------------------------------
   Hamburger
------------------------------ */
.hamburger {
  width: 28px;
  height: 22px;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.hamburger span {
  display: block;
  height: 3px;
  background: #222;
  border-radius: 3px;
  transition: 0.4s;
}

/* open */
.hamburger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.sp-nav {
  position: fixed;
  top: 70px;
  right: -100%;
  width: 70%;
  height: 100vh;
  background: #fff;
  padding: 40px;
  transition: 0.4s;
}

.sp-nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.sp-nav.active {
  right: 0;
}

.container {
    max-width:1000px;
    margin:0 auto;
    padding:0 20px;
    }


.hero {
    padding-top: 64px;
    text-align: left;
    position: relative;
    }

.hero h2 {
    font-size: 40px;
    margin:0 0 12px;
    }

.first-view img {
  max-width: 100%;
  max-height: 50%;
}

.hero .container{
  position: absolute;
  top: 10%;
  left: 5%;
}

.lead {
    color:#C8537A;
    margin-bottom:20px;
    font-size: 24px;
    }

.cta {
    display:inline-block;
    padding:10px 16px;
    border-radius:6px;
    background:var(--accent);
    color:#fff;
    text-decoration:none;
    margin: 15px auto;
    }

.works {
    padding:40px 0
}

#works h2,
#about h2,
#contact h2
{
  font-size: 36px;
}

.grid {
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px

}

.card{
    background:#fff;
    border:1px solid #dc904d;
    border-radius:8px;
    overflow:hidden;
    box-shadow:0 6px 18px rgba(0,0,0,0.03);
    }

.card img {
    width:100%;
    height:200px;
    object-fit:cover;
    display:block;
}

.card-body {
    padding:16px;
}

.card h3 {
    margin:0 0 6px;
    font-size: 24px;
    }

.name {
  font-size: 24px;
}

.role {
    color: #222;
    font-family: "Zen Kaku Gothic Antique", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size:18px;
    margin-bottom:12px;
    }

.btn-detail {
    text-decoration:none;
    color:var(--accent);
    }

.about, .contact  {
    padding:32px 0;
    border-top:1px solid #dc904d;
    }

/* スクロールアニメーション共通 */
.show-on-scroll {
  opacity:0;
  transform:translateY(25px);
  transition:opacity .6s ease, transform .6s ease;
}

.show-on-scroll.active {
  opacity:1;
  transform:translateY(0);
}
    
.site-footer{
  background-color: rgba(255, 227, 227);  
  padding:18px 0;
  border-top:1px solid #dc904d;
  text-align:center;
  color:var(--muted);
    }

.text-block {
      background-color: #ffe3e3;
      padding: 16px;
      border-radius: 6px;
      margin-top: 12px;
     }     

/* Responsive */
@media screen and (max-width:768px) {
 .header {
    padding: 0 20px;
  }

  h1 {
    font-size: 28px;
  }

  .hero {
    margin-top: 30px;
    padding-top: 30px;
  }

  .container h2 {
    font-size: 20px;
    margin-top: 30px;
  }

  .catch,
  .lead
  {
    display: none;
  }

.lead {
  font-size: 16px;
}
  .pc-nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

.grid {
    grid-template-columns:1fr;
    }

    .works, .about, .contact {
    padding: 20px;
  }

.site-nav {
    display:flex;
    flex-direction:column;
    }

.site-nav a{
    margin:10px 0;
    }

}