/* 共通部分 */
body {
  font-family: "Noto Sans JP", sans-serif;
  max-width: 375px;
  margin: 0 auto;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
}


/* レイアウト */

header {
  display: flex;
  justify-content: space-between;
  height: 50px;
}

header h1 {
  width: 250px;
  height: 33px;
  line-height: 33px;
  font-size: 20px;
  font-weight: lighter;
  padding: 8px 0 9px 20px;
}

header ul {
  display: flex;
  font-size: 0;
}

.view {
  background-image: url(../images/SP/FV-sp.jpg);
  background-size: cover;
  background-position: center;
  height: 550px;
  text-align: center;
}

.view h2 {
  padding: 44px 30px 0 30px;
  font-size: 35px;
  font-weight: lighter;
  line-height: 42px;
}

menu {
  text-align: center;
  height: 1286px;
}

menu h3 {
  font-size: 30px;
  font-weight: lighter;
  padding-top: 50px;
  margin-bottom: 46px;
  position: relative;
  line-height: 36px;
}

menu h3::after {
  position: absolute;
  content: "";
  background-color: #000;
  width: 50px;
  height: 2px;
  bottom: -16.5px;
  left: 50%;
  transform: translateX(-50%);
}

menu h4 {
  font-size: 20px;
  font-weight: normal;
  line-height: 25px;
  margin-top: 20px;
  margin-bottom: 9px;
}

menu p {
  font-size: 15px;
  font-weight: lighter;
  line-height: 25px;
  margin-bottom: 24px;
}

.about {
  height: 785px;
  background-color: rgb(0, 0, 0, 5.1%);
  text-align: center;
  margin-top: 20px;
  padding-bottom: 50px;
}

.about h3 {
  font-size: 30px;
  font-weight: lighter;
  padding-top: 45px;
  position: relative;
  margin-bottom: 47px;
  line-height: 36px;
}

.about h3::after {
  position: absolute;
  content: "";
  background-color: #000;
  width: 50px;
  height: 2px;
  bottom: -16.5px;
  left: 50%;
  transform: translateX(-50%);
}

.about-box {
  max-width: 315px;
  margin: 0 auto;
}

.about h4 {
  font-size: 22px;
  font-weight: normal;
  line-height: 33px;
  margin-top: 28px;
  margin-bottom: 21px;
  text-align: left;
}

.about p {
  font-size: 18px;
  font-weight: lighter;
  line-height: 30.8px;
  margin-top: 0;
  margin-bottom: 33px;
  text-align: left;
}


.about a {
  display: block;
  color: white;
  font-size: 25px;
  font-weight: lighter;
  max-width: 315px;
  height: 55px;
  line-height: 55px;
  background-color: #505050;
  margin-bottom: 50px;
}

footer {
  height: 92px;
  text-align: center;
  background-color: #505050;
  line-height: 92px;
  font-size: 17px;
  color: white;
  font-weight: lighter;
}

/* デスクトップ版
-------------------------------------- */

@media (min-width: 351px) {
  body {
    max-width: 1080px;
  }

  header {
    padding-right: 9px;
    margin: 0 auto;
    max-width: 960px;
  }

  header h1 {
    padding-left: 0;
    padding-top: 9px;
  }

  header ul {
    font-size: 20px;
    font-weight: lighter;
    list-style: none;
    line-height: 50px;
  }

  header li {
    margin-left: 42px;
  }

  header a {
    padding-top: 9px;
  }

  .view {
    background-image: url(../images/PC/FV.jpg);
    height: 500px;
  }

  menu {
    height: 540px;
  }

  .menus {
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
    max-width: 960px;
  }

  .menu h3 {
    padding-top: 54px;
    margin-bottom: 47px;
  }

  .about {
    height: 478px;
    padding-bottom: 48px;
  }

  .about h3 {
    padding-top: 44px;
  }

  .abouts {
    display: flex;
    justify-content: space-between;
    max-width: 960px;
    margin: 0 auto;
  }

  .about .about-box {
    order: 1;
    margin: 0;
    max-width: none;
  }

  .about picture {
    order: 2;
  }

  .about img {
    object-fit: contain;
  }

  .about h4 {
    max-width: 362px;
    margin: 0 0 20px 0;
  }

  .about p {
    max-width: 480px;
    margin: 0 0 22px 0;
  }

  .about a {
    float: left;
    width: 250px;
  }

  footer {
    font-size: 20px;
  }
}