.section-profile{
  max-width: 860px;
  padding: 70px 40px;
  margin: 0 auto 60px;
}
.profile-wrap {
  display:grid;
  gap:64px;
  align-items:start;
  margin-bottom:72px;
}
.profile-collage-side {
  position:sticky;
  top:calc(var(--header-h) + 20px); 
}
.profile-photo-frame {
  position:relative;
  border-radius:var(--radius-lg);
  overflow:visible;
  border:8px solid var(--white);
  box-shadow:var(--shadow-hover);
  background:var(--white);
  transform:rotate(-2deg);
  transition:transform 0.4s;
  max-width: 70%;
  margin: 0 auto;
}
.profile-photo-frame {
  transform: rotate(-1.5deg);
}
.profile-tape {
  position:absolute;
  top:-12px;
  left:50%;
  transform:translateX(-50%) rotate(-2deg);
  width:46%;
  height:22px;
  background:rgba(126,200,224,0.5);
  border-radius:2px;
  z-index:2;
}
.profile-photo-frame img {
  width:100%;
  display:block;
  border-radius:var(--radius);
  object-fit:cover;
}
.profile-sticker-rakugaki {
  position:absolute;
  bottom:-20px;
  right:-16px;
  width:72px;
  height:72px;
  background-image:url('../../images/rakugaki/rakugaki3.webp');
  background-size:contain;
  background-repeat:no-repeat;
  transform:rotate(15deg);
  filter:drop-shadow(2px 4px 8px rgba(45,37,37,0.1));
}
.profile-name {
  font-size:clamp(22px,3vw,30px);
  font-weight:900;
  margin-bottom:4px;
}
.name-en {
  font-family:var(--font-en);
  font-size:11px;
  font-weight:700;
  color:var(--light);
  margin-bottom:20px;
}
.name-wrapper{
  display: flex;
  align-items: center;
  padding: 0 75px;  padding: 24px 32px;
  background: var(--glass-white);
  border:  1px solid var(--glass-black);
  border-radius: 20px;
  margin-bottom: 30px;
}
.name-box{
  width: 80%;
}
.profile-desc p {
  font-size:15px;
  line-height:2.1;
  margin-bottom:14px;
  color:var(--mid);
}
.profile-table {
  width:100%;
  border-collapse:collapse;
  margin-top:20px;
}
.profile-table tr {
  border-bottom:1px solid var(--border-c);
}
.profile-table th {
  padding:12px 0px;
  text-align:left;
  font-family:var(--font-en);
  font-size:12px;
  font-weight:700;
  color:var(--pink);
  width:80px;
  vertical-align:middle;
}
.profile-table td {
  padding:12px 16px;
  font-size:14px;
  font-weight:700;
}
.history-section-title {
  font-family:var(--font-disp);
  font-size:clamp(36px,5vw,56px);
  font-weight:700;
  color:var(--sky);
  margin-bottom:32px;
}
.history-list {
  display:flex;
  flex-direction:column;
}
.history-item {
  display:grid;
  grid-template-columns:100px 1fr;
  gap:24px;
  align-items: center;
  padding:20px 0;
  border-bottom:1px solid var(--border-c);
}
.history-item:first-child {
  border-top:1px solid var(--border-c);
}
.history-year {
  font-family:var(--font-hand);
  font-size:24px;
  font-weight:700;
  border-radius:var(--radius-full);
  display:inline-block;
  white-space:nowrap;
  box-shadow:var(--shadow-flat);
}
.history-text {
  font-size:14px;
  font-weight:700;
  line-height:1.8;
  padding-top:6px;
}
@media (max-width:900px) {
  .section-profile{
    max-width: 100%;
    padding: 70px 7%;
}
  .name-wrapper{
    flex-direction: column;
    padding: 15px 15px;
  }
  .name-box{
    width: 100%;
    text-align: center;
  }
  .name-en {
    margin: 0;
  }
  .profile-wrap {
    grid-template-columns:1fr;
  }
  .profile-collage-side {
    position:static;
    margin:0 auto;
  }
  .profile-table td {
    padding: 12px 11px ;
  }
  .profile-photo-frame {
  max-width: 100%;
}
  .history-item {
    grid-template-columns:1fr;
    gap:8px;
  }
  .history-year {
    font-family:var(--font-hand);
    font-size:18px;
  }
}
