@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;

  background: #1E006D;
}
.page-header {
  background: #1E006D;
  padding: 0 40px ;
  border-bottom: 5.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: 95px;
  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.5s;
}

@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.3s ease forwards;
  animation-delay:0.9s;
}

@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.3s ease forwards;
  animation-delay:0.7s;
}

@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.2s;
}

.fade1{
  opacity:0;
  animation: fade1 1.2s ease forwards;
  animation-delay:1.4s;
}
.fade2{
  opacity:0;
  animation: fade1 1.2s ease forwards;
  animation-delay:1.6s;
}

.fade3{
  opacity:0;
  animation: fade1 1.2s ease forwards;
  animation-delay:1.8s;
}

.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%;
}

.design{
  width: 100%;

  border-bottom: 5.5px solid #fff200;
  padding: 1.5rem 0;
  overflow: hidden;
  background:repeating-linear-gradient(to bottom, rgba(255,242,0,.15) 0 1px, transparent 1px 54px);
}

.design-inner{
  width: 100%;
  max-width: 1050px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.design-img{
  display: block;
  width: 100%;
  max-width: 1100px;
  height: auto;
  margin: 0 auto;
  opacity:0;
  animation: fade1 1.5s ease forwards;
  animation-delay:2.5s;
}

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

.main{

  width: 100%;
  margin: 0 auto;
  font-family: var(--font-sans);
  background:repeating-linear-gradient(to bottom, rgba(255,242,0,.08) 0 1px, transparent 1px 54px);
}

.section{
  padding:3rem 1.25rem;
  font-family:var(--font-sans);
  background:linear-gradient(135deg,var(--bg-dark) 0%,#151515 100%);
  color:var(--accent);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  text-align: center;
  max-width: 1100px;
  margin: 0 auto;

}

.keepLine{
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.title{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.reason1{
  margin: 2rem 0 1.4rem 0;
  font-weight: bold;
  line-height: 1.12;
  font-size: clamp(3rem, 5vw, 6rem);
  text-shadow: 0 3px 8px rgba(0,0,0,0.65);
  color: #fff200;
  position: relative;
  display: inline-block;
  opacity:0;
  animation: fade1 1.4s ease forwards;
  animation-delay:5s;
}

.reason2{
  margin: 0 0 2.5rem 0;
  font-weight: 600;
  line-height: 1.15;
  font-size: clamp(1.6rem, 2.6vw, 3.2rem);
  text-shadow: 0 3px 8px rgba(0,0,0,0.65);
  color: #fff200;
  max-width: 95vw;
  overflow-wrap: anywhere;
  position: relative;
  display: inline-block;
  opacity:0;
  animation: fade1 1.2s ease forwards;
  animation-delay:5.2s;
}

.reason1::after,
.reason2::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 0;
  height: 4px;
  background: #fff200;
  animation: underline 1s ease forwards;
}

.reason1::after{
  animation-delay: 7s;
}

.reason2::after{
  animation-delay: 8s;
}

@keyframes underline{
  from{ width: 0; }
  to{ width: 100%; }
}
.content1-1{
  margin:0 auto;
  margin-top: 3rem;
  max-width:2000px;
  font-size:clamp(1rem,2.2vw,1.05rem);
  line-height:1.75;
  color:var(--accent);
  text-shadow:0 1px 3px rgba(0,0,0,0.55);
  white-space: normal;
  word-break:break-word;
  color: #fff200;
  text-align: center;
  line-height: 2.2;
  opacity:0;
  animation: fade1 1.4s ease forwards;
  animation-delay:5.5s;

}

.content1-1 p{
  margin-bottom: 4rem;

}

.fullwidth-divider{
  height: 5px;
  background: #fff200;
  width: 100%;
}

.study-section{
  color: #fff200;
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 1rem;
  margin: 0 auto 2rem;

}

.study-what{

  font-weight: bold;
  font-size: clamp(3rem, 4vw, 5.5rem);

  text-align: center;
  margin: 2rem auto 3rem;
  position: relative;
  opacity:0;
  animation: fade1 1.4s ease forwards;
  animation-delay:6.2s;

}

.study-what::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 0;
  height: 4px;
  background: #fff200;
  transition: width 0.4s ease;
}

.study-what:hover::after{
  width: 100%;
}

.study-content{
  display: flex;
  align-items: flex-start;
  gap: 3.5rem;
}

.study-content img{
  width: 55%;
  height: auto;
}

.text-area{
  width: 40%;
  display: flex;
  flex-direction: column;
  margin-top: 2.2rem;
}

.Explain{
  margin-top: 1.5rem;
  font-weight: bold;
  color: #ffe600;
  line-height: 1.8;
  font-size:clamp(1rem,2.5vw,1.1rem);
  opacity:0;
  animation: fade1 1.4s ease forwards;
  animation-delay:7.1s;
}

.photo{
  opacity:0;
  animation: fade1 1.4s ease forwards;
  animation-delay:6.6s;
}

.bigexplain{
  margin-top: 2rem;
  font-weight: bold;
  font-size: 1.8rem;
  margin-bottom: 1rem;
  opacity:0;
  animation: fade1 1.4s ease forwards;
  animation-delay:7s;
}

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

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

.logo img{
  height: 80px;
  width: auto;
  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: 8px;
  margin-bottom: 3px;
}

.main-nav li{
  position: relative;
  display: inline-block;

}

.nav a{
  font-size: clamp(13px, 3.2vw, 18px);
}

.nav ul{
  gap: 16px 20px;
  flex-wrap: wrap;
  justify-content: center;
}

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

.section {
  padding: 2.2rem 1rem;
}

.content1-1 {
  margin-top: 2rem;
  line-height: 2.0;
}

.study-content {
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  margin-top: 5rem;
}

.study-content img {
  width: 100%;
  max-width: 680px;
}

.text-area {
  width: 100%;
  margin-top: 3rem;
}

.study-section {
  padding: 1.2rem 1rem 1rem;
}

.Explain{

  margin-bottom: 1.5rem;
}
}

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

.lang-btn-en,
.lang-btn-jp {
  width: 100%;
  max-width: 320px;
  font-size: 15px;
  padding: 10px 12px;
}

.nav ul {
  gap: 10px 26px;
}

.design-inner{
  margin-right: 1.5rem;

}

.main-nav li::after {
  bottom: -4px;
  height: 2px;
}

.study-what {
  margin: 1.6rem auto 2rem;
}
}

