* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  padding-top: 80px;
  font-family: "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho",
    serif;
}

/*******header*******/
nav {
  background: linear-gradient(black, #2b2b2b);
  height: 80px;
}

.navbar-toggler,
.navbar-toggler span {
  display: inline-block;
  transition: all 0.4s;
  box-sizing: border-box;
}

.navbar-toggler {
  position: relative;
  width: 50px;
  height: 44px;
  background: none;
  border: none;
  appearance: none;
  cursor: pointer;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 255)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.logo {
  font-family: "Baskerville", "Baskerville Old Face", "Garamond",
    "Times New Roman", serif;
  font-size: 40px;
  letter-spacing: 6px;
  color: white;
}

nav ul li {
  padding-top: 35px;
  margin-right: 15px;
  font-size: 20px;
  font-family: "Diwan Thuluth";
}

.nav-item {
  padding-top: 50px;
}

.sns-icon {
  padding-top: 30px;
}

nav a {
  color: white;
}

nav a:hover {
  color: white;
}

.icon1 {
  width: 30px;
  margin: 1px 10px 0 0;
}

.icon2 {
  width: 30px;
  margin: 4px 0 0 0;
}

.icon3 {
  width: 35px;
  margin: 3px  0 0 5px;
}


/*******footer*******/

footer {
  background: linear-gradient(#505050, black);
  position: absolute;
  bottom: 0;
}

.footer-title {
  font-size: 40px;
  text-align: center;
  padding-top: 30px;
}

.footer-content {
  padding-top: 80px;
  text-align: center;
}

.logo1 {
  width: 25%;
}

.logo2 {
  width: 23%;
}

.logo3 {
  width: 25%;
}

.logo4 {
  width: 20%;
}

.footer-text {
  color: gray;
  font-family: "Baskerville", "Baskerville Old Face", "Garamond",
    "Times New Roman", serif;
  padding: 1% 0 1% 3%;
  border-top: gray solid 1px;
  margin-top: 6%;
}

.footerFixed {
  min-height: 100vh;
  position: relative;
  padding-bottom: 580px;
  box-sizing: border-box;
}


/*sp版footer*/
.sp-footer {
  background: linear-gradient(#505050, black);
  display: none;
  position: absolute;
  bottom: 0;
}

.sp-footer-title {
  padding-top: 30px;
  text-align: center;
  font-size: 4vw;
}

.sp-footer-content {
  padding-top: 8%;
  text-align: center;
}

.sp-logo1 {
  width: 25%;
  margin-bottom: 5%;
}

.sp-logo2 {
  width: 23%;
  margin-bottom: 5%;
}

.sp-logo3 {
  width: 25%;
}

.sp-logo4 {
  width: 20%;
}

.footer-link1 {
  margin-right: 8%;
}

.footer-link3 {
  margin-right: 9%;
}

.footer-link4 {
  margin-right: 1%;
}

.sp-footer-text {
  color: gray;
  font-family: "Baskerville", "Baskerville Old Face", "Garamond",
    "Times New Roman", serif;
  padding: 3% 0 0 5%;
  margin-top: 6%;
  border-top: gray solid 1px;
  font-size: 1vw;
}

.footer-sns {
  padding: 8% 0 0 38%;
}

.footer-icon1 {
  width: 7%;
  margin-right: 8%;
}

.footer-icon2 {
  width: 7%;
}

.footer-icon3 {
  width: 8%;
  margin-left: 7%;
}

/*タブレット*/
@media screen and (max-width: 1024px) {
  .logo {
    font-size: 30px;
  }
}

/*sp版に切り替え*/
@media screen and (max-width: 767px) {
  body {
    padding-top: 63px;
  }

  nav {
    height: 63px;
  }

  .nav-item {
    margin-right: 10px;
    padding-top: 22px;
  }

  .navbar-collapse {
    background: linear-gradient(black, #2b2b2b);
    margin-right: -15px;
    margin-left: -15px;
    opacity: 0.9;
  }

  .icon1 {
    margin-right: 6px;
  }

  footer {
    display: none;
  }

  .sp-footer {
    display: block;
  }

  .footer-sns {
    padding: 8% 0 0 37%;
  }

  .logo {
    font-size: 4vw;
  }
}

/*スマホ*/
@media screen and (max-width: 599px) {
  .logo {
    font-size: 20px;
  }

  .footerFixed {
    padding-bottom: 300px;
  }
}

/*ヘッダーずれ修正用*/
@media screen and (max-width: 977px) {
  nav ul li {
    font-size: 15px;
    margin-right: 5px;
  }

  .icon1 {
    width: 21px;
    margin-top: 2px;
  }

  .icon2 {
    width: 21px;
    margin: 4px 5px 13px 5px;
  }

  .icon3 {
    width: 26px;
    margin-top: 4px;
  }

  .logo {
    font-size: 30px;
  }
}