/* style.css */

/* Reset some default styles for better cross-browser consistency */
body, h1, h2, p, ul {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'YuGothic', '游ゴシック体', YuGothic, 'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', 'メイリオ', Meiryo, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
  line-height: 1.6;
  color: #333333;
}

.head_container {
  position: relative;
}

@media screen and (max-width:768px) {
  .head_container {
    position: initial;
  }
}

img.head_bg {
  width: 100%; /* 100%に設定することで親要素に合わせて大きさが調整されます */
  height: auto; /* アスペクト比を保ちながら自動的に高さが調整されます */
  display: block; /* 不要な余白を防ぐために追加 */
}

@media screen and (max-width:768px) {
  img.head_bg {
    display: none;
  }
}

.head_content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

@media screen and (max-width:768px) {
  .head_content {
    position: initial;
  }
}

@media screen and (max-width:768px) {
  img.head_top_logo {
    width: 140px;
    margin-top: 12px;
    line-height: 50px;
  }
}

.head_top_content {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

@media screen and (max-width:768px) {
  .head_top_content {
    display: block;
  }
}

img.head_top_youtube {
  width: 650px;
}

@media screen and (max-width:768px) {
  img.head_top_youtube {
    width: 100%;
  }
}

.head_top_item {
  display: grid;
  gap: 32px;
}

@media screen and (max-width:768px) {
  .head_top_item {
    gap: 12px;
  }
}

.head_top_movie {
  font-size: 74px;
  font-weight: bold;
  line-height: 80px;
}

@media screen and (max-width:768px) {
  .head_top_movie {
    font-size: 42px;
    margin-left: 12px;
    line-height: 50px;
  }
}

.head_top_earnings {
  font-weight: bold;
}

@media screen and (max-width:768px) {
  .head_top_earnings {
    margin: 0 12px;
    font-size: 13px;
  }
}

.head_top_email_content {
  display: grid;
  grid-template-columns: auto auto;
  gap: 24px;
  align-items: center;
  background-color: #DE511F;
  width: fit-content;
  color: #fff;
  padding: 20px 95px;
  border-radius: 48px;
}

.head_top_email_icon {
  width: 20px;
}

@media screen and (max-width:768px) {
  .head_top_email_content {
    display: none;
  }
}

.head_top_email_content_sp {
  display: none;
}

@media screen and (max-width:768px) {
  .head_top_email_content_sp {
    display: block;
    display: grid;
    grid-template-columns: auto auto;
    gap: 24px;
    align-items: center;
    background-color: #DE511F;
    width: fit-content;
    color: #fff;
    padding: 12px 48px;
    border-radius: 48px;
    margin: 0 auto;
  }
}

#feature_movie {
  margin-top: 84px;
}

@media screen and (max-width:768px) {
  #feature_movie {
    margin-top: 42px;
  }
}

.feature_top_img_content {
  display: grid;
  place-items: center;
}

@media screen and (max-width:768px) {
  img.feature_top_img {
    width: 100px;
  }
}

.feature_detail {
  font-weight: bold;
  font-size: 32px;
}

@media screen and (max-width:768px) {
  .feature_detail {
    font-size: 26px;
    text-align: center;
    margin: 0 16px;
    padding-top: 12px;
  }
}

.feature_strong_container {
  display: flex;
  justify-content: space-around;
  padding-top: 24px;
  flex-wrap: wrap; /* flexアイテムを折り返す */
}

@media screen and (max-width:768px) {
  .feature_strong_container {
    flex-direction: column; /* レスポンシブ時に縦向きに変更 */
  }
}

img.feature_top_strong_img {
  width: 100%; /* 幅を100%に設定して親要素に収まるようにする */
  max-width: 300px; /* 必要に応じて最大幅を設定 */
  margin-bottom: 24px; /* イメージ間の余白を追加 */
}

@media screen and (max-width:768px) {
  img.feature_top_strong_img {
    max-width: 210px;
  }
}

#video_production {
  margin-top: 24px;
  background-color: #EBEBDB;
  border-radius: 32px;
  padding: 80px 48px;
  margin: 24px 84px;
}

@media screen and (max-width:768px) {
  #video_production {
    margin: 24px 0;
    padding: 26px;
  }
}

.video_production_content {
  display: grid;
  place-items: center;
}

.video_production_title {
  position: relative;
  padding: 8px 4px;
  margin-bottom: 0.5rem;
  font-weight: bold;
  font-size: 26px;
  color: #0489B9;
}

.video_production_title::before {
  position: absolute;
  border-bottom: 2px solid #0489B9;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  content: '';
}

.video_production_subtitle {
  font-weight: bold;
  font-size: 60px;
}

@media screen and (max-width:768px) {
  .video_production_subtitle {
    font-size: 32px;
  }
}

.video_production_kind {
  font-size: 32px;
  text-align: center;
  font-weight: bold;
  padding-bottom: 32px;
}

@media screen and (max-width:768px) {
  .video_production_kind {
    font-size: 18px;
    padding-top: 12px;
  }
}

img.video_production_img {
  width: 60%;
}

@media screen and (max-width:768px) {
  img.video_production_img {
    width: 100%;
  }
}

#solution {
  margin-top: 84px;
}

.solution_contanier {
  position: relative;
  padding: 32px 0;
}

img.solution_contanier_bg {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1; /* 背景画像を後ろに配置するために z-index を負の値に設定 */
}

img.solution_arch_img {
  display: flex;
  margin: 0 auto;
  width: 30%;
}

@media screen and (max-width:768px) {
  img.solution_arch_img {
    width: 60%;
  }
}

img.solution_man_img {
  display: flex;
  margin: 0 auto;
  width: 80%;
}

.solution_content_items {
  display: grid;
  grid-template-columns: auto auto auto;
}

@media screen and (max-width:768px) {
  .solution_content_items {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

img.solution_content_img {
  width: 70%;
  margin: 0 auto;
}

.solution_price_container {
  position: relative;
  width: 100%;
}

img.solution_price_bg {
  width: 100%;
}

@media screen and (max-width:768px) {
  img.solution_price_bg {
    width: 100%;
    height: 200px;
  }
}

.solution_price_content {
  position: absolute;
  top: 40px;
  left: 0;
  width: 100%;
  text-align: center;
  color: #fff;
}

.solution_price_wrapper {
  font-weight: bold;
  font-size: 50px;
}

@media screen and (max-width:768px) {
  .solution_price_wrapper {
    font-size: 20px;
  }
}

.solution_email_content {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 24px;
  width: fit-content;
  background-color: #DE511F;
  color: #fff;
  padding: 20px 95px;
  border-radius: 48px;
  margin: 24px auto 0;
}

@media screen and (max-width:768px) {
  .solution_email_content {
    padding: 12px 48px;
    margin: 16px auto;
  }
}

.solution_email_icon_img {
  width: 20px;
}

#merit {
  margin-top: 92px;
}

@media screen and (max-width:768px) {
  #merit {
    margin-top: 42px;
  }
}

.merit_container {
  display: grid;
  place-items: center;
}

@media screen and (max-width:768px) {
  img.merit_top_img {
    width: 30%;
  }
}

.merit_text {
  text-align: center;
  font-weight: bold;
  font-size: 38px;
}

@media screen and (max-width:768px) {
  .merit_text {
    font-size: 22px;
    margin: 16px;
  }
}

.merit_content {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2列のグリッド */
  gap: 16px;
  width: 80%;
  margin: 16px auto;
}

@media screen and (max-width:768px) {
  .merit_content {
    grid-template-columns: 1fr; /* 1列のグリッド */
    width: 100%;
  }
}

.merit_content_items {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2列のグリッド */
  align-items: center;
  justify-items: center;
  background-color: #EBEBDB;
  border-radius: 12px;
  padding: 32px;
}

@media screen and (max-width:768px) {
  .merit_content_items {
    grid-template-columns: 1fr; /* 1列のグリッド */
    margin: 0 12px;
  }
}

.merit_content_box {
  display: grid;
  justify-items: center;
}

@media screen and (max-width:768px) {
  .merit_content_box {
    padding-top: 8px;
  }
}

img.merit_title_img {
  width: 80%;
}

img.merit_img {
  width: 60%;
}

#project {
  margin-top: 84px;
}

@media screen and (max-width:768px) {
  #project {
    margin-top: 24px;
  }
}

.project_container {
  position: relative;
}

.project_content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

img.project_title_img {
  display: flex;
  margin: 84px auto 0;
}

@media screen and (max-width:768px) {
  img.project_title_img {
    margin: 34px auto 0;
  }
}

.project_heading_content {
  display: grid;
  place-items: center;
  margin-top: 64px;
  color: #fff;
}

@media screen and (max-width:768px) {
  .project_heading_content {
    margin-top: 32px;
  }
}

.project_heading {
  font-size: 52px;
  font-weight: bold;
}

@media screen and (max-width:768px) {
  .project_heading {
    font-size: 28px;
  }
}

.project_heading_sub {
  font-size: 26px;
  font-weight: bold;
}

@media screen and (max-width:768px) {
  .project_heading_sub {
    font-size: 20px;
    text-align: center;
  }
}

.project_movie_contanier {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin: 0 auto;
  padding-top: 32px;
}

@media screen and (max-width:768px) {
  .project_movie_contanier {
    grid-template-columns: 1fr;
  }
}

img.project_bg_img {
  width: 100%; /* 100%に設定することで親要素に合わせて大きさが調整されます */
  height: 840px; /* アスペクト比を保ちながら自動的に高さが調整されます */
  display: block; /* 不要な余白を防ぐために追加 */
}

.project_movie_content {
  display: grid;
  place-items: center;
  margin-bottom: 24px;
}

a.project_movie_link {
  display: grid;
  place-items: center;
}

img.project_movie_img {
  width: 90%;
  border-radius: 24px;
}

.project_movie_type_content {
  display: flex;
  justify-content: space-around;
  gap: 8px;
  padding-top: 20px;
}

.project_movie_type {
  border: 1px solid #fff;
  padding: 4px 16px;
  border-radius: 20px;
  color: #fff;
}

@media screen and (max-width:768px) {
  .project_movie_type {
    padding: 4px 8px;
    font-size: 12px;
  }
}

.project_movie_title {
  color: #fff;
  font-weight: bold;
  font-size: 20px;
  padding-top: 18px;
}

#contact {
  background-color: #EBEBDB;
  padding: 64px 0px;
}

.contact_container {
  text-align: center;
}

.contact_title {
  font-weight: bold;
  font-size: 32px;
}

.contact_title_sub {
  font-weight: bold;
  font-size: 22px;
  padding: 8px;
}

@media screen and (max-width:768px) {
  .contact_title_sub {
    font-size: 16px;
  }
}

.contact_content {
  display: grid;
  place-items: center;
  padding-top: 32px;
}

@media screen and (max-width:768px) {
  .contact_content {
    padding-top: 16px;
  }
}

@media screen and (max-width:768px) {
  .contact_form_content {
    width: 100%;
  }
}

.form_group {
  display: grid;
  grid-template-columns: 150px 300px;
  align-items: center;
  margin-bottom: 24px;
}

@media screen and (max-width:768px) {
  .form_group {
    grid-template-columns: auto;
    margin: 8px 16px;
  }
}

.form_label {
  font-size: 13px;
}

.input_field {
  padding: 12px;
  color: #858585;
  border-radius: 4px;
  border: none;
}

input[type="submit"] {
  color: #fff;
  background-color: none;
  background-color: transparent;
  border: none;
  cursor: pointer;
}

footer {
  background-color: #333;
  color: #fff;
  padding: 32px 0;
}

.footer_container {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

@media screen and (max-width:768px) {
  .footer_container {
    flex-direction: column; /* レスポンシブ時に縦向きに変更 */
    text-align: center; /* ロゴを中央寄せにする */
  }
}

@media screen and (max-width:768px) {
  .footer_logo_img {
    text-align: center;
  }
}

.footer_content {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 24px;
}

.footer_item {
  font-size: 12px;
}
