@charset "utf-8";

html{
    background-color: #1c1f3f;
    color: #f5f5f5;
    font-size: 16px;
    font-family: serif;
}
* {
    box-sizing: border-box;
}
body{
    margin: 0 0 0 0;
}
main{
    max-width: 1000px;
    margin: 0 auto;
}
img{
    max-width: 100%;
}



/* header */
header{
    height: 70px;
    background: linear-gradient(to bottom , #1c1f3f,rgba(0,0,0,0));
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 10;
}

.header_inner h1 a{
    transition: .3s;
}

.header_inner h1 a:hover{
    opacity: .8;
}

.header_inner{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 16px 20px 0 30px;
}

.header_inner nav ul{
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style-type: none;
}

.header_inner nav a{
    color: #f5f5f5;
    font-size: 14px;
    margin-left: 40px;
    letter-spacing: .1em;
    position: relative;
}

.header_inner nav a::after{
    content: "";
    width: 0%;
    height: 1px;
    background-color: #f5f5f5;
    position: absolute;
    bottom: -5px;
    left: 0;
    transition: .3s;
}

.header_inner nav a:hover::after{
    width: 100%;
}




.header_inner a:hover{
    background-color: #dce6f2;
    color: #333;

}


/* footer */
footer{
    color: #ffffff;
    font-size: 0.7rem;
    padding: 20px;
    text-align: center;
    height: 70px;
    background: linear-gradient(to bottom ,rgba(0,0,0,0),#1c1f3f);
}


footer a:hover::after{
    width: 100%;
}
.footer a:link{
    text-decoration: none;
    color: #ffffff;
}

.footer a:visited{
    text-decoration: none;
    color: #ffffff;
    
}
.footer a:hover{
   text-decoration: none;
   color: #1c1f3f;
}
.footer a:active{
    text-decoration: none;
    color: #1c1f3f;
}



/* index.html */
.hero_index{
    height: 720px;
    background: url(image/hero\ \(1\).jpg) no-repeat 50% 50% / cover;
    position: relative;
}

.logo{
    position: absolute;
    width: 450px;
    height: 249px;
    top: 15%;
    left: 55%;
}

.hero_index.fadein img{
  animation: fadeIn 3.5s cubic-bezier(0.33, 1, 0.68, 1) forwards;
}
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

h2{
    text-align: center;
}

.Concept{
    /* font-family: " Dancing Script", cursive;
    font-optical-sizing: auto;
    font-style: normal; */
    margin-top: 50px;
    margin-bottom: px;
    padding-bottom: 100px;
    border-bottom: #f5f5f5 solid 1px;
    text-align: center;
}
h3{
    text-align: center;
}

.recommend_plan{
    margin-bottom: 150px;
    border-bottom: #f5f5f5 solid 1px;
}
.recommend{
    margin: 20 auto 100 auto;
}
.plan_content{
    text-align: center;
    margin-bottom: 100px;
}

.access{
    text-align: center;
}

/* plans.html */


/* contact.html */
.contact{
}

.Form {
    margin-top: 80px;
    margin-left: auto;
    margin-right: auto;
    max-width: 720px;
  }
  @media screen and (max-width: 480px) {
    .Form {
      margin-top: 40px;
    }
  }
  .Form-Item {
    border-top: 1px solid #ddd;
    padding-top: 24px;
    padding-bottom: 24px;
    width: 100%;
    display: flex;
    align-items: center;
  }
  @media screen and (max-width: 480px) {
    .Form-Item {
      padding-left: 14px;
      padding-right: 14px;
      padding-top: 16px;
      padding-bottom: 16px;
      flex-wrap: wrap;
    }
  }
  .Form-Item:nth-child(5) {
    border-bottom: 1px solid #ddd;
  }
  .Form-Item-Label {
    width: 100%;
    max-width: 248px;
    letter-spacing: 0.05em;
    font-weight: bold;
    font-size: 18px;
  }
  @media screen and (max-width: 480px) {
    .Form-Item-Label {
      max-width: inherit;
      display: flex;
      align-items: center;
      font-size: 15px;
    }
  }
  .Form-Item-Label.isMsg {
    margin-top: 8px;
    margin-bottom: auto;
  }
  @media screen and (max-width: 480px) {
    .Form-Item-Label.isMsg {
      margin-top: 0;
    }
  }
  .Form-Item-Label-Required {
    border-radius: 6px;
    margin-right: 8px;
    padding-top: 8px;
    padding-bottom: 8px;
    width: 48px;
    display: inline-block;
    text-align: center;
    background: #d4af37;
    color: #fff;
    font-size: 14px;
  }
  @media screen and (max-width: 480px) {
    .Form-Item-Label-Required {
      border-radius: 4px;
      padding-top: 4px;
      padding-bottom: 4px;
      width: 32px;
      font-size: 10px;
    }
  }
  .Form-Item-Input {
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-left: 40px;
    padding-left: 1em;
    padding-right: 1em;
    height: 48px;
    flex: 1;
    width: 100%;
    max-width: 410px;
    background: #eaedf2;
    font-size: 18px;
  }
  @media screen and (max-width: 480px) {
    .Form-Item-Input {
      margin-left: 0;
      margin-top: 18px;
      height: 40px;
      flex: inherit;
      font-size: 15px;
    }
  }
  .Form-Item-Textarea {
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-left: 40px;
    padding-left: 1em;
    padding-right: 1em;
    height: 216px;
    flex: 1;
    width: 100%;
    max-width: 410px;
    background: #eaedf2;
    font-size: 18px;
  }
  @media screen and (max-width: 480px) {
    .Form-Item-Textarea {
      margin-top: 18px;
      margin-left: 0;
      height: 200px;
      flex: inherit;
      font-size: 15px;
    }
  }
  .Form-Btn {
    border-radius: 6px;
    margin-top: 32px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 20px;
    padding-bottom: 20px;
    width: 280px;
    display: block;
    letter-spacing: 0.05em;
    background: #5bc8ac;
    color: #fff;
    font-weight: bold;
    font-size: 20px;
  }
  @media screen and (max-width: 480px) {
    .Form-Btn {
      margin-top: 24px;
      padding-top: 8px;
      padding-bottom: 8px;
      width: 160px;
      font-size: 16px;
    }
  }


  /* モバイル対応 */
@media(max-width: 767px){
    .nav ul{
        flex-wrap: wrap;
        gap: 20px;
    }
    main{
        padding: 0 4%;
    }

    /* index.html */
    .hero_index{
        /* padding: 28vh 0; */
        background-image: url(image/hero\ \(1\).jpg);
        background-position: center top;
        background-size: contain;
    }
}