@charset "utf-8";

: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;
}

.logo {
  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;
}

.about_title {
  margin-top: 30px;
}

.container {
  max-width:900px;
  margin:30px auto;
  padding:40px 20px;
}


h1, h2 {
  color:var(--accent);
  margin-top: 60px;
}


h2 {
  font-size: 36px;
}

p, li {
  font-size: 24px;
  line-height: 2;
}

section {
  margin-bottom:50px;
  border-top:1px solid #dc904d;
}

ul {
  padding-left:18px;
}

.page-title {
  margin-top: 50px;
}

strong{
  font-size: 30px;
}


/* ボックスデザイン */
.info-box {
  background:#fff;
  border:1px solid #eee;
  border-radius:10px;
  padding:24px;
  box-shadow:0 4px 20px rgba(0,0,0,0.05);
  opacity:0;
  transform:translateY(20px);
  transition:opacity .6s ease, transform .6s ease;
}

.info-box.active {
  opacity:1;
  transform:translateY(0);
}



/* タイトルアニメーション */
main {
  margin-top: 15px;
}

.page-title {
  font-size:48px;
  text-align:center;
  margin-bottom:40px;
  opacity:0;
  transform:translateY(10px);
  transition:opacity .6s ease, transform .6s ease;
}

.page-title.active {
  opacity:1;
  transform:translateY(0);
}

.timeline {
  margin-top: 10px;
}

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

.show-on-scroll.active {
  opacity:1;
  transform:translateY(0);
}

.site-footer{
    padding:18px 0;
    border-top:1px solid #eee;
    text-align:center;
    color:var(--muted);
    }

/* プロフィール画像 */
.profile-image-wrapper {
  margin:0 auto 40px;
  text-align:center;
}

.profile-image {
  width:50%;
  height:auto;
  border-radius:50%;
  background:#fff;
  box-shadow:0 4px 15px rgba(0,0,0,0.1);
  }
 

  .grid {
    display:grid;
    grid-template-columns:repeat(3,2fr);
    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:auto;
    object-fit:cover;
    display:block;
}

.card-body {
    padding:16px;
}

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

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


/* レスポンシブ */
@media screen and (max-width:768px) {
  .header {
    padding: 0 20px;
    margin-bottom: 30px;
  }
  
  .page-title {
  font-size: 28px;
  }

h2 {
  font-size: 22px;
}

strong{
  font-size: 18px;
}

p, li {
  font-size: 16px;
  line-height: 2;
}

  .logo {
    font-size: 28px;
  }
  
  .pc-nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

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

.site-nav a{
    margin:10px 0;
    }
  
.container {
   padding:30px 16px;
  }
  
  .page-title { 
    font-size:26px; 
  }
}
