@charset "UTF-8";

html {
  font-size: 100%
}

body{
  margin: 0;
  background: #1E006D;
  font-family:
  "Yu Gothic Medium",
  "Yu Gothic",
  "Hiragino Kaku Gothic Pro",
  sans-serif;
}

a{
  text-decoration : none;

}

img{
  max-width: 100%;
}

.page-header {
  background: #1E006D;
  padding: 0 40px ;
  border-bottom: 5px solid #fff200;
  margin-bottom: 0px;
  line-height: 1.7;

  height: 110px;
}

.header-inner {

  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 100%;
  gap: 16px;
  overflow: hidden;

}

.logo img {

  height: 100px;
  width: auto;
  display: block;
  transform: translateY(2px);
  opacity:0;
  animation: fade1 1.5s ease forwards;
  animation-delay:0.2s;

}

@keyframes fade1{
  from { opacity: 0; }
  to   { opacity: 1; }
}

.language {

  position: static;
  justify-self: center;
  text-align: center;
  width: auto;              
  margin: 0;

}

.language-title {

  font-size: 14px;
  letter-spacing: 4px;
  margin: 0 0 4px 0;        
  color: #fff200;
  opacity:0;
  animation: fade1 1.5s ease forwards;
  animation-delay:0.6s;
}

@keyframes fade1{
  from { opacity: 0; }
  to   { opacity: 1; }
}

.language-buttons {

  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;

}

.lang-btn-jp {
  width: 160px;
  font-size: 20px;
  border: 2px solid #fff200;
  background: transparent;
  color: #fff200;
  font-weight: bold;
  cursor: pointer;
  min-width: 0;
  text-decoration: none;
  opacity:0;
  animation: fade1 1.5s ease forwards;
  animation-delay:1.2s;
}

@keyframes fade1{
  from { opacity: 0; }
  to   { opacity: 1; }
}

.lang-btn-en {
  width: 160px;
  font-size: 20px;
  background: #fff200;
  color: #1E006D;
  font-weight: bold;
  cursor: pointer;
  min-width: 0;
  text-decoration: none;
  opacity:0;
  animation: fade1 1.5s ease forwards;
  animation-delay:0.9s;
}

@keyframes fade1{
  from { opacity: 0; }
  to   { opacity: 1; }
}

.nav ul {

  display: flex;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;

}

.nav a {

  text-decoration: none;
  color: #fff200;
  font-weight: bold;
  letter-spacing: 3px;

}

.nav {
  justify-self: end;
  align-self: center;
  margin-top: 0;
  position: relative;
  display: inline-block;
}

.main-nav li{
  position: relative;
  display: inline-block;
  font-size: 17px;

}

.fade0{
  opacity:0;
  animation: fade1 1.2s ease forwards;
  animation-delay:1.5s;
}
@keyframes fade1{
  from { opacity: 0; }
  to   { opacity: 1; }
}

.fade1{
  opacity:0;
  animation: fade1 1.2s ease forwards;
  animation-delay:1.7s;
}
@keyframes fade1{
  from { opacity: 0; }
  to   { opacity: 1; }
}

.fade2{
  opacity:0;
  animation: fade1 1.2s ease forwards;
  animation-delay:1.9s;
}
@keyframes fade1{
  from { opacity: 0; }
  to   { opacity: 1; }
}

.fade3{
  opacity:0;
  animation: fade1 1.2s ease forwards;
  animation-delay:2.1s;
}
@keyframes fade1{
  from { opacity: 0; }
  to   { opacity: 1; }
}

.main-nav li::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 3px;
  background: #fff200;
  transition: width 0.3s ease;
}

.main-nav li:hover::after{
  width: 100%;
}

.who{

  margin-top: 20px;

  top: 50%;
  left: 50%;

  text-align: center;
  width: 100%;
  position: static;
  transform: none;
}

.who-am-i{

  font-size: 10rem;
  color: #fff200;
  font-family: 'Philosopher', serif;
  text-transform : uppercase;
  font-weight: bold;
  line-height: 1.2;

  opacity: 0;
  animation: instant 1.4s linear forwards;
  animation-delay: 3s;

}

.Am-I{

  font-size: 1.5rem;
  margin: 20px 0 42px;

  color: #fff56c;

  opacity: 0;
  animation: instant2 1.2s linear forwards;
  animation-delay: 3.5s;
}

@keyframes instant{
  to{
    opacity: 0.9;
  }
}

@keyframes instant2{
  to{
    opacity: 0.7;
  }
}

.main-visual{
  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  padding: 0 12px;

  background-image:
  linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
  url(../images/myphoto2.jpg);

  background-size: cover;
  background-position: center;
  min-height: 100vh;
  min-height: 100svh;

  border-bottom: 5px solid #fff200;
}

.timeline{
  padding: 60px 20px 20px 20px;

  border-bottom: 5px solid #fff200;

  background:repeating-linear-gradient(to bottom, rgba(255,242,0,.15) 0 1px, transparent 1px 54px);

}

.timeline-row{
  display: flex;
  align-items: flex-start;
  gap: 60px;
  margin-left: 90px;
  flex-wrap: wrap;

}

.timeline-img{
  display: block;
  max-width: 100%;
  height: auto;

}

.timeline-img.left{
  width: 520px;
  opacity: 0;
  transform: translateY(-150px);
  animation: fadeDown 2.5s ease forwards;
  animation-delay:6s;
}

.timeline-img.right{
  width: 610px;
  margin-left: auto;
  margin-top: -92px;

  opacity: 0;
  transform: translateY(-150px);
  animation: fadeDown 2.5s ease forwards;
  animation-delay: 7s;

}

@keyframes fadeDown{
  to{
    opacity: 1;
    transform: translateY(0);
  }
}

.detail-button{
  text-align: center;
  margin-top: 80px;
  margin-bottom: 70px;
}

.btn-detail{
  font-size: 40px;
  display: inline-block;
  padding: 20px 150px;
  background: #fff200;
  color: #1E006D;
  font-weight: bold;
  text-decoration: none;
  border-radius: 2px;
  transition: 0.3s;
  pointer-events: none;
  opacity: 0;
  animation: fadeIn 1.4s linear forwards 3.8s,
  pulse 1s ease-in-out infinite 2s;
}

@keyframes fadeIn{
  from{ opacity: 0; }
  to  { opacity: 1;
    pointer-events: auto; }
}

@keyframes pulse{
  0%,100%{ transform: scale(1); }
  50%     { transform: scale(1.05); }
}

.btn-detail:hover{
  opacity: 0.7;
}

@media (max-width: 900px) {
  .header-inner{
    grid-template-columns: 1fr;
    gap: 10px;
    justify-items: center;
    padding: 10px 0;
  }

.page-header{
  height: auto;
  padding: 10px 16px;
}

.logo img{
  height: 72px;
  transform: none;
}

.language{
  justify-self: center;
}

.language-buttons{
  flex-wrap: nowrap;
  gap: 10px;
  margin-top: 8px;

}

.lang-btn-en,
.lang-btn-jp{
  width: clamp(140px, 44vw, 200px);
  font-size: 18px;
  text-align: center;
  padding: 10px 12px;
  display: inline-block;
}

.nav{
  justify-self: center;
  width: 100%;
  margin-top: 10px;
  margin-bottom: 5px;
}

.nav ul{
  flex-wrap: wrap;
  justify-content: center;

  gap: 22px 26px;
}

.page-header {
  line-height: 1.4;
}

.who{
  padding: 0 12px;
}

.who-am-i{
  font-size: clamp(3rem, 12vw, 6.5rem);
  line-height: 1.05;
}

.Am-I{
  font-size: clamp(1rem, 3.6vw, 1.35rem);
  margin: 14px 0 28px;
}

.timeline-row{
  margin-left: 0;
  gap: 24px;
  justify-content: center;
  margin-left: 12px;
}

.timeline-img.right{
  margin-top: 0;
  margin-left: 0;
}

.timeline-img.left,
.timeline-img.right{
  width: 90vw;
  max-width: 520px;
}

.btn-detail{
  width: min(520px, 92vw);
  padding: 18px 0;
  font-size: clamp(22px, 6vw, 34px);
  text-align: center;
}

}

@media (max-width: 480px){
  .logo img{
    height: 64px;
  }

.language-title{
  font-size: 12px;
  letter-spacing: 3px;
}

.nav a{
  letter-spacing: 2px;
}

.main-visual{
  background-position: center;
}

.timeline{
  padding: 40px 14px 16px 14px;
}

.detail-button{
  margin-top: 50px;
  margin-bottom: 50px;
}
}

