@charset "utf-8";

* {
  box-sizing: border-box;
}

.main {
  background-color:#fff;
  overflow-x: hidden;
  }

.title{
  height: 350px;
  background-image: url(../images/concept/トップ画像.png);
  background-repeat: no-repeat;
  background-size: 1000px;
  background-position: center center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #FFA500;
  text-shadow: none;  
  font-family: "Potta One", system-ui;
  font-weight: bold;
  font-style: normal;
  font-size: 25px;
}

.title p {
  font-size: 25px;
  margin-top: 15px;
}

.concept {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 930px;
  margin-top: 75px;
  margin-left: auto;
  margin-right: auto;
  align-items: flex-start;
  font-family: "Potta One", system-ui;
}

.concept img {
  width: 360px;
  height: auto;
}

.concept-text {
  max-width: 100%;
  margin-right: 20px;
}

.concept.reverse {
  flex-direction: row-reverse;
}

.reverse .concept-text {
  margin-left: 20px;
  margin-right: 0;
}

.concept-text h2 {
  font-size: 30px;
  font-weight: bold;
}

.concept-text h2::after {
  content: '';
  display: block;
  width: 36px;
  height: 3px;
  background-color: black;
  margin-top: 20px;
}

.concept-text p {
  font-size: 20px;
  line-height: 28px;
  margin-top: 25px;
}


.movie {
  display: block;
  width: 100%;/*背景色を横幅いっぱいに広げる*/
  text-align: center;
  margin-top: 100px;
  background: #fff;/*余白の背景色*/
  margin-bottom: 100px;
}

.movie video {
  max-width: 100%; /* 画面幅に合わせて動画の幅を縮小 */
  height: auto; /* アスペクト比を維持して高さを自動調整 */
  display: block;
  margin: 0 auto; /* 中央揃え */
}


.vid_main {
  margin-bottom: 100px;
}

.movie h2 {
  font-size: 30px;
  font-weight: bold;
  text-align: center;
  font-family: "Potta One", system-ui;
  padding-bottom: 20px;
}

.footer {
  margin-top: 100px;
}


@media (max-width: 800px) {

.title {
  background: none;
  max-width: 100%;
  height: 150px;
  font-size: 20px;
}

.title p{
  font-size: 20px;
}

.concept {
  display: block;
  text-align: center;
  max-width: 100%;
  max-height: 100%;
  margin-top: 20px;
}

.concept-text {
  margin-right: 0;
  text-align: center;
  max-width: 100%;
}

.concept-text h2 {
  font-size: 22px;
}

.concept-text p {
  font-size: 15px;
  text-align: center;
}


.reverse .concept-text {
  margin-left: 0;
}

.concept img {
  max-width: 80%;
  height: auto;
  margin-top: 25px;
  margin-bottom: 40px;
}

.movie {
  max-width: 100%;
  margin-top: 50px;
}


.concept-text h2::after {
  display: none;
}

}