h1 {
  font-size: 60px;
  text-align: center;
}

@media screen and (max-width: 1280px) {
h1 {
  font-size: 30px;
  text-align: center;
}
}


.p1 {
  display: block;
  overflow: auto;
  margin: auto;
  margin-bottom: 3%;
  width: 70%;
  text-align: center;
  font-size: 20px;
}

@media screen and (max-width: 1280px) {
.p1 {
  text-align: center;
  font-size: 10px;
  clear: both;
}
}
nav{
 position: absolute;
 position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 7%;
  z-index: 16;
}
nav ul{
display: table;
z-index: 100;
margin: 0 auto;
padding: 0;
width: 80%;
text-align: center;
}
nav ul li{
display: table-cell;
min-width: 50px;
border-right: 1px solid #FFFFFF;
}
nav ul li:first-child{
border-left: 1px solid #FFFFFF;
}
nav ul li a{
display: block;
width: 100%;
padding: 10px 0;
text-decoration: none;
color: #FFFFFF;
}
nav ul li a:hover{
background-color:#456990;
border-bottom: 5px solid #456990;
}
nav ul li.current{
font-weight: bold;
}
nav ul li.current a{
border-bottom: 5px solid #00B0F0;
color: #00B0F0;
}



.square_contents {
  display: flex;
  flex-wrap: wrap;
  width: 95%;
  margin: auto;
}
 
.square_contents div {
  position: relative;
  width: 25%;
  color: #5d627b;
  background: white;
  border-top: solid 5px #5d627b;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.22);
  font-size: 20px;
  margin: auto;
  overflow: hidden;
}

@media screen and (max-width: 1280px) {
.square_contents div {
  position: relative;
  width: 25%;
  color: #5d627b;
  background: white;
  border-top: solid 5px #5d627b;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.22);
  font-size: 5px;
  margin: auto;
  overflow: hidden;
}
}
 
.square_contents div::before {
  content: "";
  display: block;
  padding-top: 100%;
  overflow: hidden;
}
 

.square_contents p {
  overflow: hidden;
  position: absolute;
  z-index: 15;
  top: 0;
}


.button-032 {
    z-index: 12;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 250px;
    margin:0 auto;
    margin-top: 20px;
    padding: .9em 2em;
    overflow: hidden;
    border: 1px solid #47bae1;
    border-radius: 5px;
    background-color: #fff;
    color: #47bae1;
    font-size: 1em;
}

.button-032:hover {
    background-color: transparent;
    color: #fff;
}

.button-032::before {
    position: absolute;
    z-index: -1;
    transform: rotate(-30deg);
    width: 100%;
    height: 0;
    border-radius: 5px;
    background-color: #47bae1;
    content: '';
    transition: height .3s ease;
}


.button-032:hover::before {
    height: 350%;
}

#sea {
 position: relative;
z-index: 5;
  width: 100%;
  height: 400px;
  height: auto;
  object-fit: cover;
  animation: fadeIn 5s cubic-bezier(0.33, 1, 0.68, 1) 1 forwards;
}



@keyframes fadeIn {
 0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}


.text {
  position: absolute;
  z-index: 6;
  top: 400px;
  left: 0;
  margin: auto;
  width: 100%;
  height: 30%;
  text-align: center;
  font-size: 100px;
  color: #ffffff;
  overflow: hidden;
  animation: fadeIn 7s forwards;
}

@media screen and (max-width: 1280px) {
.text {
  position: absolute;
  z-index: 6;
  top: 100px;
  left: 0;
  margin: auto;
  width: 100%;
  text-align: center;
  font-size: 35px;
  color: #ffffff;
  overflow: hidden;
  animation: fadeIn 7s forwards;
}
}
.text span {
  display: block;
 overflow: hidden;

.text span:nth-child(1) {
  animation-delay: 1s;
}

.text span:nth-child(2) {
  animation-delay: 3s;
}


}

#kinrinko {
  width: 40%;
  height: 100%;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
margin-top: 2%;
margin-left: 4%;
  object-fit: contain;
}

@media screen and (max-width: 1280px) {
#kinrinko {
  width: 100%;
  height: 100%;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
margin-top: 4%;
object-fit: contain;
}
}

.text2 {
  display: block;
  position: relative;
  float: right;
  font-size: 25px;
  width: 40%;
  overflow: hidden;
  margin-right: 8%;
}

@media screen and (max-width: 1280px) {
.text2 {
  display: block;
  position: relative;
  float: none;
  font-size: 15px;
  margin: auto;
  width: 90%;
  overflow: hidden;
}
}

.text2 span {
  display: block;
  border-bottom: solid 2px #5d627b;
  font-size: 40px;
  margin-top: 5%;
  width: 100%;
  clear: right;
  height: 40%;
  overflow: hidden;
  margin-right: 0;
}

@media screen and (max-width: 1280px) {
.text2 span {
  display: block;
  font-size: 30px;
  margin-top: 5%;
  width: 100%;
  height: 40%;
  overflow: hidden;
  clear: both;
}
}

.text2 p {
  display: block;
  font-size: 20px;
  margin-top: 5%;
  width: 100%;
  height: auto;
  overflow: hidden;
}

.sa {
  opacity: 0;
  transition: all 2.5s ease;
}
 
.sa.show {
  opacity: 1;
  transform: none;
}
 
.sa--lr {
  transform: translate(-100px, 0);
}
 
.sa--rl {
  transform: translate(100px, 0);
}
 
.sa--up {
  transform: translate(0, 100px);
}
 
.sa--down {
  transform: translate(0, -100px);
}
 
.sa--scaleUp {
  transform: scale(.5);
}
 
.sa--scaleDown {
  transform: scale(1.5);
}
 
.sa--rotateL {
  transform: rotate(180deg);
}
 
.sa--rotateR {
  transform: rotate(-180deg);
}

footer {
  width: 100%;
  height: 60px; 
  text-align: center;
margin-top: 2%;
  padding: 50px 0;
  background-color: #456990;
  color: #FFFFFF;
}

