@charset "utf-8";
@import url(http://fonts.googleapis.com/earlyaccess/notosansjp.css);


* {
    margin: 0 auto;
    padding: 0;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    }

a {
    text-decoration: none;
}

* {
    box-sizing:border-box;

}

img {
    width: 100%;
    height: auto;
}

/* ここからCSSを書いていきましょう */

.main {
    width: 1024px;
    max-width: 90%;
}

@media (max-width:768px){
    .main {
        max-width: 90%;
    }
}

header {
    background-image: url("images/main01.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position:40% 55%;
    display: block;
    height: 320px;
    width: 100%;
    max-width: 100%;
}


@media (max-width:768px){
header {
        background-image: url("images/main_sp02.jpg");
        background-repeat: no-repeat;
        background-size: cover;
        background-position: 20% 20%;
        display: block;
        width: 100%;
        height: 100vh;
        max-width: 100%;
}
}

.header-top {
    background-color: #000;        
    height: 80px;
    position: fixed;
    top: 0px;
    opacity: 0.8;
    z-index: 11;
    margin: 0 auto;
    width: 100%;
    max-width: 100%;
}

@media (max-width:768px){
    .header-top {
        background-color: #000;
        width: 100%;
        height: 48px;
        position: fixed;
        top: 0px;
        opacity: 0.8;
        z-index: 10;
        margin: 0 auto;
        width: 100%;
        max-width: 100%;
    } 
    }

    h1 {
        font-size: 26px;
        font-weight: bold;
        color: #fff;
        line-height: 29px;
        margin-left: 20px;
        margin-top: 22px;
        margin-bottom: 21px;
        float: left;
    }

    @media (max-width:769px){
        h1 {
            font-size: 20px;
            font-weight: bold;
            color: #fff;
            margin-left: 20px;
            line-height: 23px;
            margin-top: 10px;
            margin-bottom: 10px;
        }
    }

.header-list {
    float: right;
    margin-right: 20px;
    margin-top: 28px;
    margin-bottom: 28px;
}

.clearfix::after {
    content: '';
    display: block;
    clear: both;
    }

.header-list::after {
    content: '';
    display: block;
    clear: both;
}

.header-list li {
    list-style: none; 
    float: left;
}



.header-list a {
    line-height: 16px;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    margin-left: 40px;
}


@media (max-width:768px){
    .header-list {
        display: none;
    }
}

.title-name {
    color: #a6acff;
    font-weight: bold;
}

h2 {
    font-size: 24px;
    color: #4b52a7;
    margin-top: 80px;
    text-align: center;
}

.ts {
    width: 600px;
    font-size: 16px;
    margin-top: 40px;
    margin-bottom: 30px;
    line-height: 32px;
}

.name {
    font-weight: bold;
}

.gazou-ki {
    width: 600px;
    height: 406px;
    display: block;
    text-align: center;
    margin-bottom: 40px;
}

.ts-sub {
    font-size: 14px;
}

@media (max-width:768px){
    h2 {
        font-size: 20px;
        color: #4b52a7; 
        margin-top: 80px;
        text-align: center;
        font-weight: bold;
    }

    .sample {
        font-size: 12px;
        font-weight: bold;
    }

    .ts {
        font-size: 14px;
        width: 100%;
        margin-top: 40px;
        margin-bottom: 30px;
        line-height: 32px;
    }

    .ts-sub {
        font-size: 14px;
    }

    .gazou-ki {
        margin-bottom: 40px;
        width: 100%;
        max-width: 100%;
        height: auto;
        display: block;
        text-align: center;
    }
}

.contents {
    display: flex;
}

@media (max-width:768px) {
    .contents {
      flex-direction: column;
    }
}

.one-contents {
    background-color:#8ab3dc;
    border-radius: 10px 10px 10px 10px;
    width: 48%;
    height: 204px;
    padding-top: 20px;
    padding-bottom: 20px;
}

@media (max-width:768px) {
    .one-contents {
        width: 100%;
        height: 198px;
        margin-bottom: 10px;
        padding-top: 20px;
        padding-bottom: 20px;
        padding-left: 10px;
        padding-right: 10px;
}
}

.one-contents li {
    color: #feffc7;
    text-align: left;
    line-height: 30px;
    font-size: 16px;
    list-style: none;
    font-weight: bold;
}

.one-contents ul {
    margin-top: 20px;
    margin-bottom: 20px;
    margin-left: 30px;
}

.two-contents {
    background-color: #8ab3dc;
    border-radius: 10px 10px 10px 10px;
    width: 48%;
    height: 204px;
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 10px;
    padding-right: 10px;
    margin-left: 20px;
}

@media (max-width:768px) {
    .two-contents {
        width: 100%;
        height: 198px;
        margin-bottom: 10px;
        padding-top: 20px;
        padding-bottom: 20px;
        padding-left: 10px;
        padding-right: 10px;
        margin-left: 0px;
}
}

.two-contents li {
    list-style: none;
}

.two-contents li a {
    color: #ffe8f6;
    line-height: 30px;
    text-decoration: none;
    line-height: 30px;
    font-size: 16px;
    font-weight: bold;
}

.two-contents ul {
    margin-top: 20px;
    margin-bottom: 20px;
    margin-left: 30px;
}

h3 {
    text-align: center;
    color: #fff;
    font-size: 16px;
}


.border-line  {
    font-size: 12px;
    color: white; 
    text-align: center;
    font-weight: bold;
    border-bottom:1px solid #fff;
    padding-bottom: 10px;
    padding-top: 5px;
}

.title {
    color: #32839C;
    font-size: 16px;
    border-bottom: 1px solid #b7b7b7;
    margin-top: 80px;
    margin-bottom: 40px;
    padding-bottom:3px;
    font-weight: bold;
}

@media (max-width:768px) {
    .title {
        color: #32839C;
        font-size: 16px;
        border-bottom: 1px solid #b7b7b7;
        margin-top: 80px;
        margin-bottom: 40px;
        padding-bottom:3px;
        font-weight: bold;
    }
}

.garelly {
    display: flex;
    column-gap: 20px;
    margin-left: 4%;
    margin-right: 3%;
}

@media (max-width:768px) {
    .garelly {
        flex-direction: column;
        margin-left: 7%;
    }
}

.sub-garelly {
    width: 32%;
  }

  .three-garelly video {
    max-width: 100%;
  }

  @media (max-width:768px) {
    .sub-garelly {
    margin-bottom: 20px;
    width: 80%;
    margin-bottom: 30px;
  }

  .three-garelly video {
    width: 450px;
  }
}

.gazou-g {
    max-width:100%;
    height: auto;
} 

@media (max-width:768px) {
    .gazou-g {
        max-width: 90%;
        height: auto;
    }
}   
   
.sub-garelly h4 {
    font-size: 14px;
    font-weight: bold;
    width: 100%;
  }

.text-contents {
    width: 100%;
    max-width: 100%;
    height: auto;
    line-height: 16px;
    font-size: 12px;
    margin-right: 11%;
    margin-top: 4px;
    row-gap: 50px;
} 

@media (max-width:768px) {
    .sub-garelly h4 {
       font-size: 14px;
       font-weight: bold;
     }

    .text-contents {
        max-width: 90%;
        font-size: 12px;
        line-height: 16px;
        margin-top: 3px;
        margin-left: 0px;
    } 
}

.form-item {
    width: 100%;
}

.hissu {
    color: #fff;
    background-color: #32839C;
    border-radius: 4px 4px 4px 4px;
    font-size: 12px;
    margin-right: 10px;
    padding-left: 8px;
    padding-right: 8px;
    padding-top: 2px;
    padding-bottom: 4px;
    font-weight: bold;
}

.form-title {
    font-size: 16px;
    text-align: left;
    max-width: 600px;
}

@media (max-width:768px) {
    .form-title {
        font-size: 14px;
        text-align: left;
        max-width: 348px;
}
}

@media (min-width:769px) {
.form-item input {
    border: 1px solid #b7b7b7;
    border-radius: 10px 10px 10px 10px;
    width: 600px;
    height: 40px;
    display: block;
    text-align: center;
    margin-bottom: 20px;
    margin-top: 10px;
}
}

@media (max-width:768px) {
    .form-item input {
        border: 1px solid #b7b7b7;
        border-radius: 5px 5px 5px 5px;
        width: 348px;
        height: 40px;
        display: block;
        text-align: center;
        margin-bottom: 20px;
        margin-top: 10px;
    }
}

@media (min-width:769px) {
.form-item textarea {
    border: 1px solid #b7b7b7;
    border-radius: 10px 10px 10px 10px;
    text-align: center;
    display: block;
    width: 600px;
    height: 40px;
    margin-bottom: 40px;
    margin-top: 10px;
}
}

@media (max-width:768px) {
    .form-item textarea {
        border: 1px solid #b7b7b7;
        border-radius: 10px 10px 10px 10px;
        text-align: center;
        display: block;
        width: 348px;
        height: 40px;
        margin-bottom: 40px;
        margin-top: 10px;
    }
}

.form-submit {
    text-align: center;
    display: block;
    border-radius: 4px 4px 4px 4px;
    background-color: #8ab3dc;
    color: #fff;
    font-size: 16px;
    width: 300px;
    height: 40px;
    border: none;
    box-shadow: 0px 4px #818694;
    font-weight: bold;
}

.footer {
    background-color: #8ab3dc;
    height: 120px;
    width: 100%;
  }

.footer p {
    font-size: 16px;
    color: white;
    padding-top: 2%;
    text-align: center;
}

.footer-text {
    margin-top: 20px;
    padding-bottom: 3%;
    padding-right: 5%;
    margin-left: 5%;
}

.javascript {
    margin-bottom: 80px;
}