/**
 * 共通部品
 *
 * @format
 */

html {
  font-family: 'Noto Sans JP', sans-serif;
  color: #333333;
  line-height: 1.5;
  letter-spacing: 0.08em;
}

.u-wrapper {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 100px;
}
@media screen and (max-width: 768px) {
  .u-wrapper {
  padding: 0 20px;
	}
}
/* ここから記述します。 */
/* 個別部品 */

/*--------------------------------
header
---------------------------------*/
.header {
  display: flex;
  justify-content: space-between;
  background: #188888;
  color: #ffffff;
  width: 100%;
  padding: 38px 0;
  @media screen and (max-width: 768px) {
		padding: 16px;
	}
}
.header__title {
  font-size: 24px;
  font-weight: bold;
  @media screen and (max-width: 768px) {
		margin-bottom: 10px;
	}
}
.header__inner {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  @media screen and (max-width: 768px) {
		flex-direction: column;
	}
}
.header__navList {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 20px;
}
.header__navItem a {
  color: #ffffff;
}
.header__navItem a:hover {
  text-decoration: underline;
}

/*-------------------------------- 
firstView
---------------------------------*/

.firstview {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 500px;
  background-image: url('../image/FV.png') ;
  background-repeat:no-repeat ;
  background-size: cover;
  width: 100%;
}
  @media screen and (max-width: 768px) {
    .firstview { 
     flex-direction: column;
  }
}
.firstview__title {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: black;
  font-weight: bold;
  background-color: #ffffff;
  padding: 8px 32px;
}

/* -------------------------
course 
----------------------------*/
.course {
  display: flex;
  align-items: center;
  justify-content: center;
}
.course__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 50px 0;
  flex-direction: column;
}
.course__titleText {
  font-size: 40px;
  font-weight: bold;  
}
.course__subtitle {
  font-size: 20px;
  margin-bottom: 20px;
  text-align: center;
}
.course__cards {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.course__card {
  
  box-shadow: 5px 5px 20px -5px #cccccc;
  text-align: center;
  justify-content: center;
  padding-bottom: 70px;
}
.course__name {
  font-size: 24px;
  font-weight: bold;
  margin: 20px 0;
}
.course__description {
  font-size: 16px;
  padding: 0 20px;
}

/* -----------------------------
news
-------------------------------*/
.news{
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #F1F8F8;
  padding: 80px 0;
}
.news__inner{
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
  padding: 0 100px;
}
.news__title {
  text-align: center;
}
.news__titleText {
  font-size: 40px;
  font-weight: bold;
}
.news__subtitle {
  font-size: 20px;
  margin-bottom: 20px;
}
.news__list {
  display: flex;
  flex-direction: column;
  width: 800px;
}
.newslist__contant {
  display: flex;
  flex-direction: row;
  margin-bottom: 20px;
}
.news__date {
  background-color: #188888;
  padding: 24px 0;
  width: 22%;
  color: #ffffff;
  text-align: center;
}
.news__text {
  background-color: #ffffff;
  padding: 24px 50px 24px 24px;
  width: 78%;
}
.news__button {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #EC8812;
  width: 250px;
  height: 65px;
}
.news__link {
  color: #ffffff;
  font-size: 20px;
  padding: 16px 64px;
}

/* ----------------------------
contact
------------------------------ */
.contact {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 0;
}
.contact__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    padding: 0 100px;
}
.contact__titleText {
    font-size: 40px;
    font-weight: bold;
}
.contact__subtitle {
    font-size: 20px;
    margin-bottom: 20px;
}
.contact__form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: left;
  width: 800px;
}
.contact__label {
  font-size: 20px;
}
.contact__input {
  border: 1px solid #cccccc;
  padding: 10px;
}
.contact__input:last-child {
  box-sizing: content-box;
  width: 800px;
  height: 500px;
}
.contact__button {
  display: block;
  justify-content: center;
  align-items: center;
  background-color: #EC8812;
  width: 250px;
  height: 65px;
  color: #ffffff;
  font-size: 20px;
  padding: 16px 64px;
  margin: 0 auto;
  text-align: center;
  margin-top: 20px;
}
/* ---------------------------
footer
----------------------------- */
.footer {
  background-color: #188888;
  padding: 30px 0;
}
.footer__text{
  text-align: center;
  color: #ffffff;
}

/* ----------------------------
メディアクエリ
------------------------------ */
@media screen and (max-width: 768px) {
  .firstview__title {
    font-size: 24px;
    padding: 4px 16px;
  }
  .course__titleText,
  .contact__titleText,
  .news__titleText {
    font-size: 28px;
  }
  .course__cards {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .newslist__contant {
    flex-direction: column;
  } 
  .news__list,
  .contact__form {
    width: 100%;
  }
  .news__date,
  .news__text {
    width: 100%;
  }
  .u-wrapper {
    padding: 0 20px;
  }
}
