/**
 * 共通部品
 *
 * @format
 */

html {
    font-family: 'Noto Sans JP', sans-serif;
    color: #333333;
    line-height: 1.5;
    letter-spacing: 0.08em;
}

/* ここから記述します。 */

header.header {
    display: flex;
    justify-content: space-between;
    background: #188888;
    color: #ffffff;
    width: 100%;
    padding: 38px 0;
}

header.header {
    @media screen and (max-width: 768px) {
        padding: 16px;
    }
}

.header-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-container {
    @media screen and (max-width: 768px) {
        flex-direction: column;
    }
}

.inner-wrapper {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 100px;
}

.inner-wrapper {
    @media screen and (max-width: 768px) {
        padding: 0 20px;
    }
}

h1.header-title {
    font-size: 24px;
    font-weight: bold;
}

h1.header-title {
    @media screen and (max-width: 768px) {
        margin-bottom: 10px;
    }
}

ul.header-subtitle {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
}

/* first-view */

section.first-view {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 500px;
    background: url(../image/FV.png) no-repeat center / cover;
    width: 100%;
}

section.first-view {
    @media screen and (max-width: 768px) {
        height: 540px;
    }
}

h2.first-view-title {
    margin: 0;
    padding: 8px 32px;
    font-size: 40px;
    font-weight: bold;
    background-color: #ffffff;
}

h2.first-view-title {
    @media screen and (max-width: 768px) {
        font-size: 32px;
    }
}

/* course */

section#course {
    padding: 64px 0;
}

h2.course-title {
    text-align: center;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 4px;
}

p.course-subtitle {
    text-align: center;
    margin-bottom: 64px;
    font-size: 18px;
}

p.course-subtitle {
    @media screen and (max-width: 768px) {
        margin-bottom: 40px;
    }
}

ul.course-content {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

ul.course-content {
    @media screen and (max-width: 768px) {
        flex-direction: column;
    }
}

li.course-item {
    background: #ffffff;
    filter: drop-shadow(0 4px 15px rgba(51, 51, 51, 0.25));
}

img.course-courseImage {
    width: 100%;
    height: auto;
}

.course-textbox {
    padding: 24px;
}

/* news */

section.news {
    background-color: #F1F8F8;
    padding: 80px 0;
}

section.news {
    @media screen and (max-width: 768px) {
        padding: 64px 0;
    }
}

h2.news-title {
    text-align: center;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 4px;
}

p.news-subtitle {
    text-align: center;
    margin-bottom: 64px;
    font-size: 18px;
}

p.news-subtitle {
    @media screen and (max-width: 768px) {
        margin-bottom: 40px;
    }
}

dl.news-box {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 64px;
}

dl.news-box {
    @media screen and (max-width: 768px) {
        gap: 32px;
    }
}

.news-list {
    display: flex;
    background: #ffffff;
}

.news-list {
    @media screen and (max-width: 768px) {
        flex-direction: column;
    }
}

dt.news-date {
    text-align: center;
    padding: 24px 0;
    width: 22%;
    color: #ffffff;
    background-color: #188888;
}

dt.news-date {
    @media screen and (max-width: 768px) {
        width: 100%;
        padding: 12px 16px;
    }
}

dd.news-description {
    padding: 24px 50px 24px 24px;
    width: 78%;
    margin: 0;
}

dd.news-description {
    @media screen and (max-width: 768px) {
        width: 100%;
        padding: 12px 16px;
    }
}

button.news-button {
    display: block;
    background: #EC8812;
    color: #ffffff;
    border: none;
    padding: 16px 64px;
    margin: 0 auto;
    font-size: 20px;
    cursor: pointer;
}

/* CONTACT */

.contact-container {
    max-width: 640px;
    margin: 0 auto;
    padding: 80px 0;
}

.contact-container {
    @media screen and (max-width: 768px) {
        padding: 64px 30px;
    }
}

h2.contact-title {
    text-align: center;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 4px;
}

p.contact-subtitle {
    text-align: center;
    margin-bottom: 64px;
    font-size: 18px;
}

p.contact-subtitle{
    @media screen and (max-width: 768px) {
        margin-bottom: 40px;
    }
}

form.contact-form {
    display: flex;
    flex-direction: column;
}

label.contact-label {
    margin-bottom: 12px;
}

input#name {
    border: solid 1px #c4c4c4;
    padding: 10px;
    margin-bottom: 32px;
    font-size: 16px;
}

input#email {
    border: solid 1px #c4c4c4;
    padding: 10px;
    margin-bottom: 32px;
    font-size: 16px;
}

textarea#message {
    border: solid 1px #c4c4c4;
    padding: 10px;
    margin-bottom: 32px;
    font-size: 16px;
}

.contact-textarea {
    min-height: 160px;
}

button.contact-button {
    margin-top: 64px;
}

button.contact-button {
    @media screen and (max-width: 768px) {
        margin-top: 40px;
    }
}

.u-button {
    display: block;
    background: #EC8812;
    color: #ffffff;
    border: none;
    padding: 16px 64px;
    margin: 0 auto;
    font-size: 20px;
    cursor: pointer;
}

/* footer */

footer.footer {
    background: #188888;
    color: #ffffff;
    text-align: center;
    font-size: 14px;
    padding: 30px 0;
}