html,
body {
    margin: 0;
    padding: 0;
}

*,
*::before,
*::after {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    /* color: #082B48; */
    /* font-family: Verdana, Geneva, Tahoma, sans-serif; */
    font-family: 'Noto Sans JP', sans-serif;
    /* line-height: 1.5; */
    letter-spacing: 0.05em;
}

img {
    max-width: 100%;
    /* height: auto; */
}

.inner {
    width: 1060px;
    max-width: 100%;
    margin: 0 auto;
    padding-left: 30px;
    padding-right: 30px;

    /* border: 1px solid black; */
}

@media (max-width: 767px) {
    .inner {
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* a {
    text-decoration: none;
    color: #082B48;
} */

/* a:hover {
    opacity: .7;
} */

/* .container {
    width: 90%;
    max-width: 980px;
    margin: auto;
} */

/* .clear::after {
    content: "";
    clear: both;
    display: block;
} */

/*===========================================
header
===========================================*/

/* header {
    padding: 20px 0;
} */

.header {
    padding: 0;
}

/* .navbar {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
} */

/* .header-left {
    float: left;
} */

/* .header-right {
     float: right;
} */

.header__inner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    height: 60px;
}

/* .header-title {
    font-weight: bold;
    font-size: 24px;
  } */
  .header__logo {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 32px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
  }
.header__img {
    /* opacity: 50%; */
}



/* .header-nav-item {
    float: left;
    margin-left: 50px;
} */

/* .header-nav-item a {
    font-size: 15px;
    font-weight: 600;
    line-height: 36px;
} */

.header__nav {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-left: auto;
}

@media (max-width: 767px) {
    .header__nav {
        display: none;
    }
}

.header__hamburger {
    margin-left: auto;
    display: none;
}

@media (max-width: 767px) {
    .header__hamburger {
        display: block;
    }
}

.header__link {
    text-decoration: none;
    color: #333;
}

.header__link:hover {
    color: #333;
}

.header__link:nth-child(n + 2) {
    margin-left: 32px;
}

.header-drawer__link {
    border-top: 1px dotted #777;
}

.header-drawer__link a {
    padding: 12px 16px;
    display: block;
    color: #333;
}

.header-drawer__link a:hover {
    color: #333;
}

/*===========================================
top
===========================================*/

/* .top {
    background-image: url(../img/main-vsual-nontitle.png);
    background-size: cover;
    padding: 80px 0;
} */

.main-visual {
    width: 100%;
    height: 360px;
    /* background: #aaa url(https://picsum.photos/1920/300) no-repeat center center/cover; */
    background: #aaa url(../img/25168318_m.jpg) no-repeat center center/cover;
    position: relative;
}

@media (max-width: 767px) {
    .main-visual {
        height: 300px;
    }
}

.main-visual::after {
    content: "";
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.32);
    position: absolute;
}


.main-visual__content {
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 100%;
    color: #fff;
    z-index: 3;
    text-align: center;
    letter-spacing: 0.1em;
    padding: 0 16px;
}

/* .top-title {
    font-size: 48px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
} */

.main-visual__text {
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    font-size: 60px;
}

@media (max-width: 767px) {
    .main-visual__text {
        font-size: 42px;
    }
}

/* .top-subtitle {
    font-size: 18px;
    text-align: center;
} */

.main-visual__lead {
    font-size: 16px;
    font-weight: 700;
    margin-top: 20px;
    line-height: 1.8;
}

@media (max-width: 767px) {
    .main-visual__lead {
        font-size: 14px;
    }
}

/*===========================================
section共通クラス
===========================================*/

.section {
    /* padding: 60px 0; */
    padding: 100px 0;

    /* border: 1px solid red; */
}

.section.section--gray {
    background-color: #eee;
}

@media (max-width: 767px) {
    .section {
        padding-top: 6px;
    }
}

.section__title {
    font-size: 32px;
    /* font-weight: bold; */
    font-weight: 700;
    text-align: center;
}

.section__subtitle {
    /* font-size: 18px; */
    text-align: center;
    /* margin-bottom: 50px; */
    margin-top: 2px;
    color: #555;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
}

.section__body {
    margin-top: 50px;
}

@media (max-width: 767px) {
    .section__body {
        margin-top: 30px;
    }
}

/*===========================================
about
===========================================*/

.profile__inner {
    width: 800px;
}

/* .about-left {
    float: left;
    width: 48%;
} */

/* .about-right {
    float: right;
    width: 48%;
} */

.profile-card {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.16);
    box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.16);
    padding: 24px;
    background: #fff;
}

@media (max-width: 767px) {
    .profile-card {
        padding-left: 16px;
        padding-right: 16px;
    }
}

.profile-card__image {
    text-align: center;
    width: 40%;
}

.profile-card__image img {
    border-radius: 2%;
}

@media (max-width: 767px) {
    .profile-card__image {
        width: 100%;
    }
}

.profile-card__body {
    padding: 0 0 0 32px;
    width: 60%;
}

@media (max-width: 767px) {
    .profile-card__body {
        width: 100%;
        padding-left: 0;
        margin-top: 32px;
    }
}

.profile-card__title {
    font-weight: 500;
    font-size: 13px;
    color: #666;
}

.profile-card__name {
    font-weight: 500;
    margin-top: 5px;
    font-size: 24px;
    line-height: 1.2;
}

.profile-card__content {
    margin-top: 16px;
    line-height: 1em;
}

.profile-card__content p:nth-child(n + 2) {
    margin-top: 1em;
}

.profile-card__sns {
    margin-top: 12px;
}

.profile-card__sub-head {
    font-weight: 700;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-top: 24px;
    margin-bottom: 5px;
}

.profile-card__sub-head::before {
    content: "";
    width: 10px;
    height: 1px;
    background: #333;
    margin-right: 12px;
}

.profile-card__sub-head::after {
    content: "";
    width: 10px;
    height: 1px;
    background: #333;
    margin-left: 10px;
}




.sns-links {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.sns-links__item:nth-child(n + 2) {
    margin-left: 12px;
}

.sns-links__item img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

/*===========================================
course
===========================================*/

/* .course {
    background-color: #e3fcf4;
} */

/* .course-wrapper {
    display: flex;
    justify-content: space-between;
} */

/* .course-item {
    width: 30%;
} */

.service-card {
    padding: 24px 20px;
    -webkit-box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.16);
    box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.16);
    background: #fff;
}

.service-card__image {
    text-align: center;
}

.service-card__image img {
    width: 150px;
    height: 150px;
    border-radius: 5%;
}

.service-card__title {
    margin-top: 16px;
    font-weight: 500;
    font-size: 22px;
    text-align: center;
}

.service-card__content {
    line-height: 1.8;
    margin-top: 12px;
}


.service__cards {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.service__card {
    width: calc(33.3% - 24px * 2 / 3);
}

.service__card:nth-child(n + 2) {
    margin-left: 24px;
}

@media (max-width: 767px) {
    .service__card:nth-child(n + 2)  {
        margin-left: 0;
        margin-top: 24px;
    }
}

@media (max-width: 767px) {
    .service__card {
        width: 100%;
    }
}

/*===========================================
Work
===========================================*/

.work__cards {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.work__card {
    width: calc(33.3% - 24px * 2 / 3);
    -webkit-box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.16);
    box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.16);
}

.work__card:not(:nth-child(3n + 1)) {
    margin-left: 24px;
}

@media (max-width: 767px) {
    .work__card:not(:nth-child(3n + 1)) {
        margin-left: 0;
    }
}

@media (max-width: 767px) {
    .work__card {
        width: 100%;
    }
    .work__card::nth-child(n + 2) {
        margin-top: 24px;
    }
}

.work-card {
    background-color: #fff;
}

.work-card__image {

}

.work-card__image img {
    width: 100%;
    height: auto;
}

.work-card__body {
    padding: 12px 12px 20px;
}

.work-card__title {
    font-weight: 500;
    font-size: 18px;
}

.work-card__comment {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin-top: 8px;
}

.work-card__link {
    text-align: center;
    margin-top: 20px;
}

.work-card__link a {
    text-decoration: none;
}

/*===========================================
contact
===========================================*/

/* .contact-message {
    text-align: center;
    margin-bottom: 20px;
} */

.contact__message {
    text-align: center;
}

.contact__items {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;

    margin-top: 42px;
    /* border: 1px solid black; */
    /* padding: 100px; */
}

.contact__item {
    text-align: center;
}

.contact__item:nth-child(n + 2) {
    margin-left: 60px;
}

.contact__img {
    display: block;
}

.contact__img img {
    
}

@media (max-width: 767px) {
    .contact__img img {
        width: 50px;
        height: 50px;
    }
}

.contact__name {
    display: inline-block;
    margin-top: 8px;
    font-size: 14px;
}


input[type="email"] {
    width: 600px;
    border: 3px solid #d8d8d8;
    font-size: 18px;
    display: block;
    margin: 20px auto;
    padding: 15px;
    border-radius: 999px;
    /* margin-bottom: 20px; */
}

.btn {
    padding: 20px 60px;
    display: inline-block;
    background-color: #082B48;
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    border-radius: 4px;
    border: none;
}

.btn:hover {
    opacity: .7;
    cursor: pointer;
}

.btn-register {
    background-color: #ec6d64;
    display: block;
    margin: auto;

}


/*===========================================
footer
===========================================*/

/* footer {
    background-color: #082B48;
    color: #fff;
    padding: 20px 0;
} */

.footer {
    background: #555;
    color: #fff;
    padding: 12px 0;
    font-size: 13px;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.05em;
}

/* .copyright {
    font-size: 12px;
    float: right;
} */

.footer__copyright {
    text-align: center;
}

/*===========================================
スマホ用の表示
===========================================*/

@media only screen and (max-width: 767px) {

    .clear::after {
        content: none;
    }

    /*===========================================
    header
    ===========================================*/

    .header-left {
        float: none;
    }

    .header-title {
        text-align: center;
    }

    .header-right {
        float: none;
    }

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

    .header-nav-item {
        float: none;
        margin: 0;
    }

    /*===========================================
    top
    ===========================================*/

    .top {
        padding: 120px 0;
    }

    .top-title {
        font-size: 32px;
    }

    .top-subtitle {
        font-size: 14px;
    }

    /*===========================================
    section共通クラス
    ===========================================*/

    .section {
        padding: 80px 0;
    }

    .section-title {
        font-size: 24px;
        font-weight: bold;
    }

    .section p {
        font-size: 14px;
    }

    /*===========================================
    about
    ===========================================*/

    .about-left {
        float: none;
        width: 100%;
        margin-bottom: 20px;
    }

    .about-right {
        float: none;
        width: 100%;
    }

    /*===========================================
    course
    ===========================================*/

    .course-wrapper {
        flex-wrap: wrap;
    }

    .course-item {
        width: 100%;
        margin-bottom: 20px;
    }

    /*===========================================
    contact
    ===========================================*/

    input[type="email"] {
        width: 100%;
    }

    /*===========================================
    footer
    ===========================================*/

    /* .copyright {
        font-size: 10px;
        float: none;
        text-align: center;
    } */

}