/**
全体
*************/
body{
  font-family: 'Hiragino Sans';
}
.main{
  width: 85%;
  height: auto;
  margin: 0 auto;
}
/**
ヘッダー
*************/
.header{
  width: 100%;
  height: auto;
  background-color: white;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
}
.header__logo img{
  width: 90px;
  height: auto;
}
.header__inner{
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header__list{
  display: flex;
}
.header__list li{
  color: #E24D51;
  font-size: 25px;
  font-weight: 700;
  margin: auto 75px;
  position: relative;
  padding: 0 10px;
}
.header__list li::after {
  position: absolute;
  left: 0;
  content: '';
  width: 100%;
  height: 4px;
  background: #E24D51;
  bottom: -5px;
  transform: scale(0, 1);
  transform-origin: left top;
  transition: transform 0.3s;
  }
.header__list li:hover::after {
  transform: scale(1, 1);
  }
.header__hamburger {
  position: relative;
  width: 28px;
  height: 24px;
  margin-right: 20px;
  background: none;
  border: none;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  cursor: pointer;
  display: none;
}
.header__hamburger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #E24D51;
  border-radius: 4px;
  -webkit-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
}
.header__hamburger span:first-of-type {
  top: 0;
}
.header__hamburger span:last-of-type {
  bottom: 0;
}
.header__hamburger.active span:nth-of-type(1) {
  -webkit-transform: translateY(10px) rotate(-45deg);
          transform: translateY(10px) rotate(-45deg);
}
.header__hamburger.active span:nth-of-type(2) {
  opacity: 0;
}
.header__hamburger.active span:nth-of-type(3) {
  -webkit-transform: translateY(-12px) rotate(45deg);
          transform: translateY(-12px) rotate(45deg);
}
.header__nav {
  width: 100%;
  height: auto;
  background-color: #E24D51;
  color: #F7F9EE;
  display: none;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  margin: 0;
  -webkit-box-shadow: 0px 15px 15px 0px rgba(0, 0, 0, 0.2);
          box-shadow: 0px 15px 15px 0px rgba(0, 0, 0, 0.2);
  opacity: 0;
  -webkit-animation: menu 0.3s ease-out;
          animation: menu 0.3s ease-out;
}
.header__nav li {
  width: 100%;
  padding:  35px;
  text-align: center;
  font-weight: bold;
  font-size: 20px;
}
.header__nav li:hover{
  color: #9F9F9F;
}
.header__nav.active {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  height: auto;
  opacity: 1;
}
@-webkit-keyframes menu {
  from {
    -webkit-transform: translateY(-500px);
            transform: translateY(-500px);
  }
  to {
    -webkit-transform: translateY(0px);
            transform: translateY(0px);
  }
}
@keyframes menu {
  from {
    -webkit-transform: translateY(-500px);
            transform: translateY(-500px);
  }
  to {
    -webkit-transform: translateY(0px);
            transform: translateY(0px);
  }
}
@media screen and (max-width: 959px) {
  .header {
    background-color: white;
  }
  .header__list {
    display: none;
  }
  .header__hamburger {
    display: block;
  }
}
@media screen and (max-width: 480px){
  .header__logo img{
    width: 60px;
    height: auto;
  }
}
/**
フッター
***************/
.footer{
  width: 100%;
  height: 230px;
  border-top: solid #E24D51 3px;
  margin-top: 111px;
  padding-top: 30px;
  position: relative;
}
.footer-list{
  display: flex;
  justify-content: center;
  width: auto;
  color: #E24D51;
  font-size: 25px;
  font-weight: bold;
  gap: 100px;
}
.footer-list a{
  position: relative;
  padding: 0 10px;
}
.footer-list a::after {
  position: absolute;
  left: 0;
  content: '';
  width: 100%;
  height: 4px;
  background: #E24D51;
  bottom: -8px;
  transform: scale(0, 1);
  transform-origin: left top;
  transition: transform 0.3s;
  }
.footer-list a:hover::after {
  transform: scale(1, 1);
  }
.footer-list-item{
  width: 130px;
  text-align: center;
}
.footer-text{
  font-size: 13px;
  color: #E24D51;
  text-align: center;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%,0);
}
@media screen and (max-width: 959px){
  .footer-list{
    gap: 60px;
  }
}
@media screen and (max-width: 480px) {
  .footer-list{
    display: block;
    text-align: center;
    padding-bottom: 30px;
  }
  .footer-list-item{
    margin: 35px auto;
    font-size: 22px;
  }
  .footer-text{
    font-size: 10px;
    bottom: -50px;
  }
}
/**
フェードイン
*****/
.js-fade {
  opacity: 0;
  visibility: hidden;
  transform: translateY(50px);
  transition: opacity 1s,visibility 1s, transform 1s;
}
.scroll {
  opacity: 1;
  visibility: visible;
  transform: translateY(0px);
}