@charset "UTF-8";
/* トップイメージ
---------------- */
#topimage {
    position: relative;
    text-align: center;
}
.top-txtarea {
    position: absolute;
    width: 100%;
    max-width: 375px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}
.title {
    font-family: 'Mochiy Pop One', sans-serif;
    font-size: 2.5rem;
    line-height: 1.5;
    color: #fff;
    text-shadow: 1px 1px 1px #555, -1px 1px 1px #555, 1px -1px 1px #555, -1px -1px 1px #555, 1px 1px 1px #555, -1px 1px 1px #555, 1px -1px 1px #555, -1px -1px 1px #555, 5px 5px #489EFF;
}
.top-img {
    display: block;
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: 30% center;
}

/* スクールの特色
---------------- */
#about {
    text-align: center;
}
#about h2 {
    margin: 1.5rem 0;
}
.content1,
.content2,
.content3,
.content4,
.content5 {
    padding: 2rem 2rem 3rem;
}
.content1 {
    background-color: #FFFBEC;
}
.content2 {
    padding-top: 3rem;
    background:url("../images/bg-wave.png") repeat-x left top;
    background-color: #DBF3FF;
}
.content3 {
    background-color: #C2EBFF;
}
.content4 {
    background-color: #99DBFC;
}
.kame-img {
    width: 60px;
    padding-bottom: 1rem;
}
.btn {
    margin-top: 1rem;
}
.about-txt {
    padding-bottom: 1rem;
    text-align: left;
    max-width: 500px;
}
.about-img {
    width: 100%;
    height: 100%;
    max-width: 500px;
    max-height: 250px;
    object-fit: cover;
    border-radius: 20px;
}
.saying {
    margin: 2rem 2rem;
}
.saying h3 {
    font-weight: 500;
    text-align: left;
    padding-top: 1.5rem;
    padding-bottom: 0.5rem;
    color: #005291;
}
.saying p {
    text-align: left;
    line-height: 2;
}
.indent-txt {
    margin: 0 1em;
}

/* 問い合わせ
---------------- */
#access {
    text-align: center;
    background-color: #FFFAE8;
    margin-top: 2rem;
    padding: 1rem 2rem 2rem;
}
.contact {
    padding: 1rem;
}
#access .btn {
    font-size: 2.5rem;
    margin-top: 1rem;
}
.contact i {
    color: #333;
}
.adress-container {
    margin-top: 1rem;
    text-align: center;
}
.adress-logo {
    width: 300px;
}
.adress-txt {
    color: #333;
    display: inline-block;
    text-align: left;
    margin-top: 1rem;
    padding-bottom: 2rem;
}
.map img{
    position: relative;
    max-width: 400px;
    margin: auto;
    border-radius: 20px;
    width: 100%;
}

/* PCサイズ（600px以上）
---------------- */
@media screen and (min-width: 600px),print {
    /* メインタイトル */
    .top-img {
        width: 100%;
        height: 350px;
        object-fit: cover;
    }
    .top-txtarea {
        max-width: 1100px;
    }
    .title {
        font-size: 5rem;
    }

    /* とこはスイミングスクールについて */
    #about {
        text-align: center;
    }
    #about h2 {
        font-size: 3.2rem;
    }
    .about-container {
        max-width: 1100px;
        margin: 2rem auto;
        display: flex;
    }
    .about-container2 {
        max-width: 1100px;
        margin: 2rem auto;
        display: flex;
        flex-direction: row-reverse;
    }
    .about-txt {
        font-size: 2rem;
        min-width: 250px;
        width: 50vw;
        margin: auto 0;
        padding: 0 5rem;
    }
    .container-head {
        display: block;
        margin: auto 0;
    }
    .kame-img{
        width: 120px;
        margin-top: 1rem;
        padding-bottom: 2rem;
    }
    .about-img {
        min-width: 250px;
        width: 50vw;
        border-radius: 20px;
        margin: auto 0;
    }
    #about a {
        font-size: 1.8rem;
    }
    .saying {
        max-width: 720px;
        margin: 0 auto;
        padding: 2rem;
    }
    .saying p {
        font-size: 2rem;
    }

    /*  問い合わせ */
    #access {
        padding: 2rem 2rem 2rem;
    }
    #access .btn {
        font-size: 3rem;
    }
    .adress {
        max-width: 1100px;
        display: flex;
        margin: 3rem auto 0;
        justify-content: center;
        align-items: center;
    }
    .adress-container {
        margin: 2rem;
        max-width: 400px;
    }
    .adress-logo {
        width: 350px;
    }
    .adress-txt {
        font-size: 2rem;
    }
    .map img {
        max-width: 500px;
    }
}
