    html {
      scroll-behavior: smooth;
    }


    .container {
      display: flex; 
      width: 100%;
      align-items:stretch;
      flex-direction: column;
      height: auto;  
      

    }

  
  .header-row {
  display: flex;
  align-items: center;

}

    header {
      position:absolute;
      padding:0px 25px;
      height: auto;
      width: 100%;
      background-color: rgba(2, 13, 63, 0.7);
      backdrop-filter: blur(10px);
      box-shadow: 0 5px 20px rgba(0,0,0,0.2);

      /* ヘッダー固定*/
      position:fixed;
      top:0;
      z-index:10;
  

    }

    .header-menu a {
      position: relative;
    }

    .header-menu a::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: -5px;
      width: 0%;
      height: 2px;
      background: #4f7cff;
      transition: 0.3s;
    }

    .header-menu a:hover::after {
      width: 100%;
    }

    .title{
        max-width:600px;
        width: 90%;
        margin:0 auto;
        animation: fadeUp 1.2s ease forwards;
    }

    @keyframes fadeUp {
      0% {
        opacity: 0;
        transform: translateY(30px);
      }
      100% {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .header-title h2{
          margin:0px;
          color: rgb(255, 243, 240);
        
    }


    .header-menu {
        font-size:20px;
        font-weight: bold;
        display: flex;
        list-style: none;
        margin-left:auto; 
        padding: 0 40px;
        
    }

    .header-menu li{
          margin: 0 15px;
        }

    .header-menu a {
      color: aliceblue;      
      text-decoration: none; /* 下線を消す */
    }

    .header-menu a:hover {
        opacity: 0.7; 
    }





    .top-wrapper {
      position: relative;
      width:100%;
      padding: 250px 0;
      
      background-image: url(img/background.jpg);
      color: white;
     
      background-size: cover;        
   
      
      }

      /* タイトル */
    .section-title {
      font-size: 32px;
      margin-bottom: 40px;
    }

    .about {
      max-width: 900px;
      padding:20px 0;
      margin:0 auto;
      scroll-margin-top: 65px;
    }

    /* カード */
    .about-card {
    animation: glow 3s ease-in-out infinite;
      transition: transform 0.3s;
      display: flex;
      gap: 100px;
      padding: 60px;
      background: rgb(6, 8, 26);
      backdrop-filter: blur(12px);
      border-radius: 15px;
      align-items: center;
    }

    .about-card:hover{
        transform: translateY(-5px);
    }

    @keyframes glow {
      0% {
        box-shadow: 0 5px 20px rgba(2, 36, 150, 0.5);
      }
      50% {
        box-shadow: 0 10px 50px rgba(2, 36, 150, 0.6);
      }
      100% {
        box-shadow: 0 5px 20px rgba(2, 36, 150, 0.5);
      }
    }

    /* 写真 */
    .about-image img {
      width: 200px;
      height: 200px;
      object-fit: cover;
      border-radius: 50%;
    }

    /* テキスト */
    .about-text {
      flex: 1;
    }

    .name {
      font-size: 30px;
      font-weight: bold;
       color:aliceblue;
       margin-bottom:50px;
      
    }



    .about-text dl {
      display: grid;
      grid-template-columns: 80px 1fr;
      row-gap: 20px;
    }

    .about-text dt {
      font-size: 21px;
      color: #7aa2ff;
      font-weight: 800;
    }

    .about-text dd {
      font-size: 20px;
      margin: 0;
        color: rgba(209, 212, 223, 0.9);
        font-weight:600;
    }




    .about h2{
        font-size:35px;
    }

    .career{
        margin:0 auto;
    }

    .career h2{
    font-size:35px;
    }

    .career p{
        font-size:20px;
    }

body {
  margin: 0;
  min-height: 100vh;
  width:100%;

  background:
    radial-gradient(
      circle at center,
      rgba(255, 255, 255, 0.12) 0%,
      rgba(15, 30, 45, 0.95) 45%,
      rgba(8, 15, 25, 1) 75%
    ),
    linear-gradient(
      180deg,
      #0b1623 0%,
      #050b12 100%
    );

  background-attachment: fixed; 
  color:aliceblue; 
  font-family: "Inter", "Noto Sans JP", sans-serif;
}

    .title{
        text-align:center;
      
        color:aliceblue;
    }

    .title h1{
        margin-bottom:0px;
        font-style:italic;
        font-size: 56px;

        letter-spacing: 0.05em;
        text-shadow: 0 10px 30px rgba(0,0,0,0.35);
        font-weight:900px;
    }
    .sub {
        font-size:20px;
        font-style:italic;
        opacity:0.9;
        letter-spacing: 0.2em;
    }


    .career{
    scroll-margin-top: 10px;
      padding: 80px 0px;
      max-width: 900px;
      
    }

    .career h2 {
      font-size: 36px;
      margin-bottom: 50px;

    }

    .career-list {
      padding-left: 32px;
      font-size:23px;
      border-left: 2px solid rgba(7, 44, 168, 0.815);
      
    }

    .career-item {
      position: relative;
      margin-bottom: 75px;
      padding: 0px 20px 20px 30px;
      padding-left: 20px;
      transition: transform 0.3s, background 0.3s;
      border-radius: 12px;

    }

    .career-item{
      width: 100%;
    }


    .career-item:last-child {
      margin-bottom: 0;
    }

    .career-item::before {
      content: "";
      position: absolute;
      left: -41px;
      top: 0.45em;
      width: 14px;
      height: 14px;
      background-color: #666;
      border-radius: 50%;
      
    }

    .career-item.current::before {
    
      content: "";
      position: absolute;
      left: -41px;

      width: 14px;
      height: 14px;
      background-color: #2ecc71;
      border-radius: 50%;
      z-index: 2;
    }
    .career-item:hover {
      background: rgba(79, 124, 255, 0.08);
      transform: translateX(5px);
    }
    .career-item.current::after {
      content: "";
      position: absolute;
      left: -51px;   /* before より少し外 */
      top: 0;
      width: 34px;
      height: 34px;
      background-color: rgba(46, 204, 113, 0.25);
      border-radius: 50%;
      z-index: 1;
      animation: onlinePulse 2.3s ease-out infinite;
    }

    @keyframes onlinePulse {
      0% {
        transform: scale(0.92);
        opacity: 0.75;
      }
      50% {
        transform: scale(1.0);
        opacity: 1;
      }
      100% {
        transform: scale(0.92);
        opacity: 0.75;
      }
    }



    .career-year {
      display: inline-block;
      font-weight: bold;
      color: #7aa2ff;
      line-height: 1;

      
    }

    .career-item p {
      margin: 0;
      line-height: 1.8;
      color: rgba(230, 235, 255, 0.9);
    
      
    }

    p.year{
      margin:0;
      font-size:15px;
       color: rgba(170, 190, 255, 0.7);
      margin-bottom: 12px;
      letter-spacing: 0.05em;

    }

    .career-item {
      opacity: 0;
      transform: translateY(30px);
      transition: opacity 0.6s ease, transform 0.6s ease;
    }

    /* 表示された状態 */
    .career-item.show {
      opacity: 1;
      transform: translateY(0);
    }

    .hobbys h2{
        font-size:35px;
    }

    .hobby-container{
        display:flex;
        gap:100px;
        justify-content: center;
        

    }

    .hobbys{ 
        padding:0 30x;
        scroll-margin-top: 65px;
        max-width:900px;
        margin:0 auto;
        margin-bottom:100px;

      
    }

 .hobbys h3 {
  font-size: 28px;
  letter-spacing: 0.1em;
  
  text-align: center;
  font-weight: 600;
   color: #7aa2ff;

  
}





    .hobby img{
      width: 300px;
      height: 300px;
      object-fit: cover;
      border-radius: 15%;
    }


    .hobby-text{
        padding-top:20px;
        font-size:20px;
    }


    section,
    .career,
    .hobbys {
      margin-top: 120px;
    }


footer {

  position: fixed;
  right: 28px;
  bottom: 28px;

  display: flex;
  gap: 26px;

  padding: 14px 18px;

  
  background: rgba(80, 78, 78, 0.4);
  backdrop-filter: blur(12px) saturate(200%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);

  border-radius: 25px;


  z-index: 20;
  font-size: 25px;


  border: 3px solid  rgba(2, 36, 150, 0.5);
  box-shadow: 0 5px 20px rgba(2, 36, 150, 0.5);
 margin:0 auto;

}


footer a {
  color: aliceblue;
  transition: transform 0.25s ease, filter 0.25s ease;
  
}

footer:hover {
  box-shadow:
    0 0 40px rgba(2, 36, 150, 0.8),
    0 15px 40px rgba(0,0,0,0.6);
}


footer:hover {
  transform: translateY(-2px);
}

