html {
  font-family: "Roboto", "Noto Sans JP", sans-serif;
  font-weight: normal;
}
:root {
  --main--: #dd1b57;
  --service--: #f2f2f2;
  --text--: #fff;
  --a--: #349bf4;
  --line--: #e8e8e8;
  --nav--: rgba(255, 255, 255, 0.6);
}
.nav__sp {
  visibility: hidden;
}
.header {
  width: 100%;
  height: 90px;
}
.header__a {
  width: 167px;
  height: 33px;
  margin-left: 70px;
  display: flex;
}
.header__logo {
  width: 167px;
  height: 33px;
  margin-top: 28px;
}
.pc__ul {
  display: flex;
  justify-content: end;
}
.page1 .pc__a1 {
  color: var(--main--);
}
.pc__li {
  font-size: 16px;
  margin-right: 30px;
  font-weight: bold;
}
.pc__li:last-of-type {
  margin-right: 70px;
}
.top {
  background-image: url(../img/pc_bg_mv.png);
  background-size: cover;
  background-repeat: no-repeat;
  object-fit: cover;
  background-position: center;
  height: 600px;
  color: var(--text--);
  text-align: center;
  justify-content: center;
  position: relative;
}
.topp {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.top__h1 {
  font-size: 160px;
  font-weight: bold;
}
.top__p {
  font-size: 24px;
  font-weight: bold;
}
.inner {
  width: 1110px;
  max-width: 100%;
  margin: auto;
}
.news {
  display: flex;
  margin-top: 60px;
}
.news__ttl {
  color: var(--main--);
  font-size: 40px;
  font-weight: bold;
  margin-right: 91px;
  width: 20%;
}
table {
  width: 855px;
  font-size: 15px;
}
.news__tr {
  border-bottom: solid 1px var(--line--);
}
.news__tr:hover {
  color: var(--main--);
}
.news__td,
.news__td2 {
  padding: 15px 0;
}
.service__top {
  width: 1130px;
  max-width: 99%;
  margin: auto;
  display: flex;
  justify-content: space-between;
}
.news__td {
  padding-right: 20px;
}
.service__ttl {
  color: var(--main--);
  font-size: 40px;
  font-weight: bold;
  margin-top: 95px;
  margin-bottom: 50px;
  margin-left: 5px;
}
.service__h2 {
  font-size: 168px;
  color: var(--service--);
  font-weight: bold;
  width: 650px;
  z-index: -1;
  position: relative;
  top: 40px;
  left: 0;
}
.service__ul {
  display: flex;
  justify-content: space-between;
  text-align: center;
  margin-bottom: 100px;
}

.service__li {
  box-shadow: 0px 0px 15px -5px;
  width: 350px;
  height: 266px;
  max-width: 100%;
  max-height: 100%;
  padding: 50px 50px;
  background-color: var(--text--);
}
.service__img {
  width: 48px;
}
.service__p {
  font-size: 18px;
  font-weight: bold;
  padding-top: 5px;
}
.service__p2 {
  font-size: 14px;
  padding-top: 20px;
  text-align: left;
}
.footer {
  background-color: var(--main--);
  color: var(--text--);
  height: 158px;
}
.footer__ul {
  display: flex;
  font-size: 14px;
  font-weight: bold;
  padding-top: 60px;
}
.footer__li {
  margin-right: 30px;
}
.footer__p {
  font-size: 12px;
  padding-top: 20px;
}
.top2 {
  background-image: url(../img/pc_header.png);
  background-size: cover;
  background-repeat: no-repeat;
  object-fit: cover;
  background-position: center;
  height: 190px;
  position: relative;
}
.top2__h2 {
  font-size: 40px;
  font-weight: bold;
  color: var(--text--);
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.page2 .pc__a2 {
  color: var(--main--);
}
.ttl {
  max-width: 850px;
  margin: auto;
  text-align: center;
  font-size: 40px;
  font-weight: bold;
  line-height: normal;
  color: var(--main--);
  margin-top: 60px;
  margin-bottom: 20px;
}
.sub {
  max-width: 790px;
  margin: auto;
  text-align: center;
  font-size: 18px;
  margin-bottom: 40px;
}
.text {
  max-width: 790px;
  margin: auto;
  display: flex;
  align-items: flex-start;
}
.text__img {
  width: 100px;
  height: 100px;
  z-index: 10;
  margin-bottom: 0;
  align-self: flex-start;
  float: left;
}
.text__p,
.text__p2 {
  font-size: 16px;
  line-height: normal;
  margin-top: 0;
}
.text__p {
  margin-left: 25px;
  width: calc(100% - 120px);
  line-height: 1.5;
  flex-grow: 1;
  align-self: flex-start;
}
.text__p2 {
  margin-bottom: 80px;
}
.text__a {
  color: var(--a--);
  text-decoration: underline;
}
.img__box {
  width: 1110px;
  max-width: 100%;
  height: 400px;
  margin: auto;
  margin-bottom: 100px;
}
.text__img2 {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page3 .pc__a3 {
  color: var(--main--);
}
.top3 {
  background-image: url(../img/pc_header.png);
  background-size: cover;
  background-repeat: no-repeat;
  object-fit: cover;
  background-position: center;
  height: 190px;
  position: relative;
}
.top2__h2 {
  font-size: 40px;
  font-weight: bold;
  color: var(--text--);
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.top3__img {
  width: 100%;
  height: auto;
  max-width: 100%;
}
.table {
  font-size: 15px;
  line-height: normal;
  width: 1110px;
  max-width: 100%;
  margin: auto;
  margin-top: 60px;
  margin-bottom: 50px;
}
.form__tr,
.form__tr2 {
  border-bottom: solid 1px var(--line--);
}
.form__th {
  padding: 30px 0;
  padding-left: 30px;
}
.form__td {
  padding: 30px 0;
}
.map {
  width: 1110px;
  max-width: 100%;
  height: 437px;
  margin: auto;
  margin-bottom: 80px;
}
iframe {
  width: 100%;
  height: 100%;
}
.table2 {
  font-size: 15px;
  line-height: normal;
  width: 1110px;
  max-width: 100%;
  margin: auto;
  margin-bottom: 100px;
}
.form__th2 {
  font-weight: normal;
  padding: 15px 0;
}
.form__td2 {
  padding: 13px 0;
  padding-left: 21px;
}
@media screen and (max-width: 1023px) {
  .inner {
    width: 100%;
    padding: 0 20px;
  }
  .news {
    width: 100%;
  }
  .news__ttl {
    width: 35%;
  }
  table {
    width: 100%;
  }
  .service__top {
    width: 100%;
    padding: 0 20px;
  }
  .service__ttl {
    width: 30%;
  }
  .service__h2 {
    width: 540px;
    font-size: 135px;
    top: 65px;
  }
  .service__ul {
    width: 99%;
  }
  .service__li {
    width: 32%;
  }
  .text__img2 {
    width: 100%;
    padding: 0 20px;
  }
  .table {
    width: 95%;
    margin-left: 20px;
    margin-right: 20px;
  }
  .map {
    width: 95%;
    margin-left: 20px;
    margin-right: 20px;
  }
  .table2 {
    width: 95%;
    margin-left: 20px;
    margin-right: 20px;
  }
}
@media screen and (max-width: 767px) {
  .header {
    height: 60px;
  }
  .header__a {
    margin-left: 20px;
  }
  .header__logo {
    width: 107px;
    height: 21px;
    margin-top: 20px;
  }
  .nav__pc {
    visibility: hidden;
  }
  .nav__sp {
    visibility: visible;
  }
  .button {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 10;
    background-color: var(--main--);
    width: 60px;
    height: 60px;
    z-index: 200;
  }
  .btn1 {
    position: absolute;
    top: 22px;
    right: 16px;
    width: 28px;
    height: 2px;
    background-color: var(--text--);
    transition: all 0.3s;
  }
  .btn2 {
    position: absolute;
    top: 29px;
    right: 16px;
    width: 28px;
    height: 2px;
    background-color: var(--text--);
    transition: all 0.3s;
  }
  .btn3 {
    position: absolute;
    bottom: 22px;
    right: 16px;
    width: 28px;
    height: 2px;
    background-color: var(--text--);
    transition: all 0.3s;
  }
  .buttonIsOpen .btn1 {
    transform: rotate(45deg);
    top: 30px;
  }
  .buttonIsOpen .btn2 {
    opacity: 0;
  }
  .buttonIsOpen .btn3 {
    transform: rotate(-45deg);
    bottom: 28px;
  }
  .nav__sp {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 10;
    width: 100%;
    max-width: 200px;
    height: 100vh;
    color: var(--text--);
    background-color: var(--main--);
    font-size: 16px;
    font-weight: bold;
    transform: translateX(100%);
    transition: all 0.5s;
  }
  .nav__spIsOpen {
    transform: translateX(0);
  }
  .sp__ul {
    font-size: 16px;
    margin-top: 90px;
    margin-left: 50px;
  }
  .sp__li:first-of-type {
    color: var(--nav--);
  }
  .sp__li {
    color: var(--text--);
    padding-bottom: 25px;
  }
  .top {
    height: 460px;
    background-image: url(../img/sp_mv.png);
    background-size: cover;
  }
  .top__h1 {
    font-size: 80px;
  }
  .top__p {
    font-size: 20px;
  }
  .news {
    margin-top: 40px;
    display: block;
  }
  .inner {
    width: 100%;
  }
  .news__ttl {
    width: 100%;
    font-size: 32px;
    margin-bottom: 5px;
  }
  .news__tr {
    display: grid;
  }
  .news__td {
    padding: 0;
    padding-top: 15px;
  }
  .news__td2 {
    padding: 0;
    padding-bottom: 15px;
  }
  .service {
    width: 100%;
  }
  .service__top {
    display: block;
  }
  .service__ttl {
    font-size: 32px;
    margin-top: 52px;
    margin-bottom: 21px;
    width: 100%;
  }
  .service__h2 {
    font-size: 70px;
    width: 278px;
    top: -65px;
    left: calc(100% + -260px);
  }
  .service__ul {
    width: 100%;
    display: block;
    position: relative;
    top: -80px;
    left: 0;
    margin-bottom: 0;
  }
  .service__li {
    width: 100%;
    margin-bottom: 20px;
  }
  .top2 {
    height: 160px;
  }
  .top2__h2 {
    font-size: 28px;
  }
  .ttl {
    font-size: 24px;
    margin-top: 40px;
    margin-bottom: 15px;
  }
  .sub {
    font-size: 15px;
    margin-bottom: 30px;
  }
  .text {
    padding: 0 20px;
    display: block;
  }
  .text__img {
    float: left;
    margin-right: 15px;
  }
  .text__p {
    font-size: 15px;
    width: 100%;
    margin-left: 0;
  }
  .text__p2 {
    margin-bottom: 50px;
  }
  .img__box {
    width: 100%;
    height: 260px;
    margin-bottom: 50px;
  }
  .text__img2 {
    height: 260px;
  }
  .top3 {
    height: 160px;
  }
  .table {
    font-size: 14px;
    margin: 40px 20px 35px 20px;
    width: 90%;
  }
  .form__th {
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 0;
    width: 31%;
  }
  .form__td {
    padding-top: 20px;
    padding-bottom: 20px;
  }
  .map {
    height: 329px;
    width: 90%;
    margin-bottom: 50px;
  }
  .table2 {
    width: 90%;
    margin-bottom: 60px;
  }
  .form__tr2 {
    display: grid;
  }
  .form__th2 {
    padding-top: 15px;
    padding-bottom: 0;
  }
  .form__td2 {
    padding-bottom: 12px;
    padding-top: 0;
    padding-left: 0;
  }
}
