@charset "utf-8";

html {
    font-size: 16px;
}

body {
    margin: 0;

    font-size: clamp(0.75rem, 0.659rem + 0.45vw, 1rem);
    font-family: "M PLUS Rounded 1c", sans-serif;
    font-weight: 400;

    /* background-color: #ffb053; */
}

h1,h2,h3,h4,h5,h6,p,ul,ol,dl {
    margin: 0;
    line-height: 1.7;
}

img {
    max-width: 100%;
    vertical-align: 1.7;
}

a:link {
    color: #ffffff;
    text-decoration: none;
}

a:visited {
    color: #ffffff;
    text-decoration: none;
}

a:hover {
    color: #faf60d;
    text-decoration: underline;
}

a:active {
    color: #ffdd00;
    text-decoration: underline;
}

.content-area {
    width: 1000px;
    margin: 0 auto;
}

/* header */
header   {
    position: sticky;
    top: 0;
    z-index: 999;

}



.content-area {
    padding-top: 4%;
    background-color: rgba(255, 255, 255, 0.935);
}

.top {
    display: flex;
    justify-content: space-between;    
}

.logo {
    width: 7%;
    height: 7%;

    padding-left: 5%;
}



.btn-menu {
    width: 10rem;
    position: absolute;
    top: 12px;
    right: 12px;
    border: solid 1px rgba(255, 255, 255, 0.5);
    color: #ffffff;
    padding: 0.5rem 1rem;
    background-color: #000000;
}

.global-nav {
    padding-left: 0;
    list-style-type: none;
    background-color:rgba(255, 255, 255, 0.5);
    width: 0;
    position: absolute;
    z-index: 2;
    top: 50px;
    right: 0;
    overflow: hidden;

    text-shadow: rgb(0, 0, 0) 2px 0.5px 7px;
} 

.global-nav.open-menu {
    width: 50%;
}

.global-nav li {
    text-align: center;
    margin: 2rem 0;
}

.global-nav a {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: #ffffff;
    text-decoration: none;
}


/* main */
.index-hero,
.page-hero,
.plan-title,
.promise {
    font-family: "Kaisei HarunoUmi", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 4.7rem;

    color: #ffffff;
}


.gotop {
    width: 8%;
    margin: 6rem auto;
}

/* footer */

.copy {
    padding: 16rem 0 2rem 0;
    background-image: url(../img/footer.png); 
    background-repeat: no-repeat;
    background-position: center;
    background-size: 30%;

    font-size: 3rem;
    font-family: "Cherry Bomb One", system-ui;
    font-weight: 400;
    font-style: normal;
    text-align: center;
    text-shadow: rgb(255, 255, 255) 2px 0.5px 7px;
}

/*
.copy {
  display:inline-block;
  width:100px;
  margin:50px;
  height:100px;
  margin:30px;

}
 #box1{
  animation:3s linear infinite rotation1;
} 
.copy {
  animation:3s linear infinite rotation2;
}
.copy {
  animation:3s linear infinite rotation3;
}
@keyframes rotation1{
  0%{ transform:rotate(0);}
  100%{ transform:rotate(360deg); }
}
@keyframes rotation2{
  0%{ transform:rotateX(0);}
  100%{ transform:rotateX(360deg); }
}
@keyframes rotation3{
  0%{ transform:rotateY(0);}
  100%{ transform:rotateY(360deg); }
}




/* logoアニメーション */

.logo:hover {
    transform: rotate3d(1,1,0,360deg);
    transition: 3s;
}

.gotop:hover {
    transform: translateY(-30px);
    transition: 1s;
}

