@charset 'UTF-8';
@media screen and (max-width: 640px){

/* BASE */

html {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  font-size: 62.5%;
}

body{
  line-height: 1.5;
  color: #223670;
  font-size: 2.4rem;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 20px;
  letter-spacing: 2px;
  font-family: 'Zen Old Mincho', serif;
  font-weight: 500;
  font-style: normal;
  position: relative;
  flex-direction: column;
}

.hidden-sp{
  display: none;
}

/* HEADER */

header {
  width: 100%;
  display: flex;
  flex-direction: column;
  position: fixed;
  z-index: 5;
}

#logo {
  z-index: 9;
}

.logo {
    padding-top:18px;
    padding-left:10px;
}

.logo img{
  width:60%;
}

.space2{
      padding-top:20px;
}

a.anchor {
    display: block;
    padding-top: 100px;
    margin-top: -100px;
}

/* ▼MESSAGE▼ */

#fade {
  z-index: 4;
  color: #fff;
  letter-spacing: 0.5rem;
  margin: 0 auto;
  height:100vh;
  top: 50%;
  bottom: 50%;
  justify-content: center;
  display: grid;
  place-items: center;
  writing-mode: vertical-rl;
  text-shadow:0 0 3px #2e2e2e;
}

.fade p {
    animation: text-focus-in 2s;
    padding-bottom: 1.2rem;
    font-size:1.8rem;
}

@keyframes text-focus-in {
  0% {
    filter: blur(12px);
    opacity: 0;
  }
  100% {
    filter: blur(0px);
    opacity: 1;
  }
}

/* ▲MESSAGE▲ */

/* ▼MENU▼ */

#menu-input{
  display: none;
}
#menu-icon{
  width: 70px;
  height: 70px;
  top: 10px;
  right: 10px;
  position: absolute;
  background: #223670;
  border-radius: 350px;
  z-index: 10;
}
#menu-icon span{
  display: inline-block;
  transition: all .5s;
  position: absolute;
  left: 18px;
  height: 4px;
  border-radius: 0px;
  background: #fff;
  width: 34px;
}
#menu-icon span:nth-of-type(1) {
	top:20px;	
}
#menu-icon span:nth-of-type(2) {
	top:32px;
}
#menu-icon span:nth-of-type(3) {
	top:44px;
}
#menu-icon.active span:nth-of-type(1) ,
#menu-icon.active span:nth-of-type(3){
  top: 32px;
}
#menu-input:checked ~ .menu{
  display: block;
}

.menu{
  margin-top: 0px;
  width: 100%;
  height: 100%;
  background: rgba(247,198,55,0.8);
  position: fixed;
  top: 0;
  right: 0;
  z-index: 9;
  transform: translateX(100%);
  transition: all .5s;
}

.menu.open {
  transform: translateX(0);
}

.menu ul {
    margin-top: 100px;
    margin-bottom: 100%;
}

.menu li {
  font-size: 2.8rem;
  text-align: center;
}

.menu li a{
  display: block;
  padding: 20px 0;
  text-decoration: none;
  border-top: 0px;
  letter-spacing: 2px;
  font-family: 'Zen Antique Soft', serif;
  color:#223670;
} 

/* ▲MENU▲ */



/* MAIN */

section{
  clear: both;
  display: flex;
  flex-direction: column;
  width: 100%;
  position: absolute;
  z-index: 4;
}

#main{
  clear: both;
  display: flex;
  flex-direction: column;
  width: 100%;
  position: absolute;
  z-index: 3;
}
    
article {
    padding-top: 100px;
    margin: auto;
    text-align: center;
}

/* ▼FADE▼ */

.fade2 {
  opacity: 0;
}

.fade2.active {
  animation: 1.5s fadeup ease-in-out forwards;
}

@keyframes fadeup {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ▲FADE▲ */

/* ▼table▼ */

.company {
  text-align: center;
  margin: auto;
  border: 10px;
  font-size: 1.2rem;
  }
  
.company th{
  text-align: center;
  padding: 5px 5px 5px 5px;
  max-width:80px;
  }
  
.company td{
  text-align: left;
  padding: 5px 5px 5px 5px;
  max-width:240px;
  }

/* ▲table▲ */

h2{
  font-size: 3.0rem;
  font-family: 'Zen Antique Soft', sans-serif;
}

.fade2 h2{
  padding-bottom: 20px;
}

h3{
  font-size: 1.8rem;
  padding-top: 3px;
  letter-spacing: 0.1rem;
}

h4{
  font-size: 1.2rem;
  padding-top: 3px;
  letter-spacing: 0.1rem;
}

/* FOOTER */

footer{
  width: 100%;
  z-index: 3;
  clear: both;
  padding-top: 100px;
  padding-bottom: 20px;
  display: flex;
  align-items: center;
  flex-direction: column;
  }

footer p.copy{
  text-align: center;
  font-size: 1rem;
  padding-top: 20px;
  font-family: "Libre Baskerville", serif;
  font-weight: 400;
  font-style: normal;
}

.button {
  padding-top: 20px;
  letter-spacing: 1px;
}

.button a {
    background: rgb(34, 54, 112);
    border-radius: 9999px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    max-width: 250px;
    padding: 10px 25px;
    font-family: 'Zen Antique Soft', sans-serif;
    line-height: 1.8;
    text-decoration: none;
    transition: 0.15s ease-in-out;
    color: #fff;
    font-size: 1.6rem;
}

.float {
    font-size: 2rem;
    color: #fff;
    line-height: 2.2rem;
    padding: 0;
    position:fixed;
    bottom:50px;
    right:0px;
    font-family: 'Zen Antique Soft', sans-serif;
    z-index: 6;
}

.float a{
    background: rgb(34, 54, 112);
    border-radius: 30px 0 0 30px;
    position: relative;
    display: block;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    text-decoration: none;
    transition: 0.15s ease-in-out;
    color: #fff;
    padding: 20px 10px 20px 20px;
}

}