body {
  margin: 0;
  font-family: YuMincho, /* Mac用 */ "Yu Mincho", /* Windows用 */ serif;
}

.sp {
  text-align: justify;
  max-width: 575px;
}

_::-webkit-full-page-media,
_:future,
:root .sp {
  max-width: 470px;
}

h1 {
  color: red;
  margin-top: 0;
}

h2 {
  font-size: 1.3em;
}

/*body > div:first-of-type{
	opacity: 0.5;
}*/

header {
  position: relative;
  background: url(../img/main_back.jpg);
}

.slider {
  height: 45vw;
  width: 100%;
  background-color: #fff;
  background-position: center;
  background-repeat: no-repeat;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  margin-bottom: 0px;
}

.slider {
  background-position: center top\9;
  background-repeat: repeat-x\9;
}

* + html .slider {
  background-position: center top;
  background-repeat: repeat-x;
}

header h1,
header div {
  position: absolute;
}

header h1 {
  width: 35vw;
  top: 5vw;
  left: 10%;
}

header div {
  width: 20vw;
  bottom: 3vw;
  right: 10%;
}

h1 img {
  display: block;
  margin: auto;
}

header img {
  width: 100%;
}

.movie_area {
  width: 100%;
  height: 61vw;
  /* aspect-ratio: 16 / 9; */
  /* margin: 7% auto; */
  background: url(../img/movie_back.png);
  background-size: cover;
  background-repeat: no-repeat;
}

.movie_area h2 {
  text-align: center;
  margin: 0 auto 2%;
  padding-top: 10%;
}

.movie_area p {
  text-align: center;
  margin-bottom: 5%;
}

.movie_area .video_box {
  width: 45%;
  height: 45%;
  aspect-ratio: 16 / 9;
  border: none;
  margin: 0 auto 0;
}

.movie_area iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: none;
}

.movie_area video {
  width: 100%;
}

.company_area {
  width: 100%;
  background: url(../img/company_back.png);
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.company_area h2 {
  margin-top: 0;
  padding-top: 10%;
  text-align: center;
}

.company_area h2 span {
  font-size: 0.9rem;
  line-height: 2;
}

.table {
  display: block;
  width: 60%;
  margin: auto;
  text-align: center;
}

.table dl {
  display: block;
  line-height: 2;
  /*	background: #ddd;*/
}

.table dl:nth-of-type(2n) {
  /*background: #eee;*/
}

.table dt,
.table dd {
  display: block;
  /*	vertical-align: middle;*/
}

.table dt {
  text-align: center;
  width: auto;
  padding: 50px 0 15px;
  font-size: 1.3rem;
  font-weight: bold;
}

.table dd {
  padding: 20px;
  font-size: 0.9rem;
  margin-left: 0;
}

.table dd.sp {
  margin: auto;
}

.contact_area {
  padding-bottom: 10%;
}

.contact_area a {
  display: block;
  text-decoration: none;
  width: 300px;
  margin: auto;
  margin-top: 7%;
  background: #000;
  color: #fff;
  font-size: 24px;
  text-align: center;
  padding: 10px 50px;
}

footer {
  /*	margin-top: 7%;*/
  background: #ddd;
  padding: 20px;
}

footer p {
  font-size: 1rem;
  text-align: center;
  color: #666;
}

footer p:last-of-type {
  font-size: 2rem;
  line-height: 0;
}

footer img {
  display: block;
  width: 275px;
  margin: auto;
  padding: 2% 0 5%;
}

footer small {
  display: block;
  text-align: center;
}

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

  .sp {
    display: block;
  }

  h2 {
    font-size: 1em;
    line-height: 2;
  }

  header h1 {
    width: 100%;
    top: -30%;
    left: -13%;
  }

  header div {
    width: 15vh;
    bottom: 7vw;
    right: 7%;
  }

  h1 img {
    width: 62%;
    padding-top: 35%;
  }

  .slider {
    height: 320px;
  }

  .movie_area {
    width: 100%;
    height: 50vh;
    aspect-ratio: 16 / 9;
    margin: 0 auto;
  }

  .movie_area .video_box {
    width: 90%;
    margin: 13% auto 0;
  }

  .movie_area h2 {
    padding-top: 15%;
  }

  .table {
    display: block;
    width: 90%;
    margin: auto;
  }

  .table dt,
  .table dd {
    display: block;
  }

  .table dt {
    font-size: 1rem;
    text-align: center;
    width: auto;
    padding: 20px 0 0;
    /*background: #ddd;*/
  }

  .table dd {
    font-size: 0.8rem;
    padding: 30px 20px;
    margin-left: 0;
    /*background: #eee;*/
  }

  .table dd.sp {
    display: block;
    text-align: left;
  }

  .company_area h2 span {
    font-size: 0.7rem;
  }

  .company_area {
    background-size: 175%;
    background-image: none;
  }

  .contact_area a {
    font-size: 1rem;
    width: 40%;
    margin: 15% auto 15%;
  }

  footer p {
    font-size: 0.7rem;
  }

  footer p:last-of-type {
    font-size: 1.7rem;
    line-height: 0;
  }

  footer img {
    display: block;
    width: 180px;
    margin: auto;
    padding: 10% 0 20%;
  }
}
