@charset "UTF-8";
/* CSS Document */
html {
  font-size: 62.5%; /* 16px * 62.5% = 10px */
  width: 100%;
}
body {
  background-color: #f2f2f2;
  color: #4A4A4A; /* RGB */
  font-family: "Crimson Text", "serif", YuMincho, 'Yu Mincho', 'Hiragino Mincho ProN', 'serif';
  letter-spacing: 0.07rem;
  font-weight: 500;
  font-size: 1.6rem;
  line-height: 1.6;
}
/* header */
.header {
  background-color: #F2F2F2;
  width: 100%;
  height: 60px;
  padding: 20px 80px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
}
.header h1 {
  color: #4A4A4A;
  text-align: left;
  padding: 12px 24px 12px 0;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ham {
  display: none;  
}

.header h1 img{
  height: 30px;
}
.header h1 a {
  color: #4A4A4A;
  text-decoration: none;
  
}
.header nav ul {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.header nav ul a {
    display: block;
    text-decoration: none;
    line-height: 1;
    color: #4A4A4A;
}
.header nav ul li{
  position: relative;
  margin-left: 30px;
  line-height: 1;
}

.header nav ul li:last-of-type{
    margin-left: 10px;
}

.header nav ul li:last-of-type a{
    line-height: 0;
}

.header nav ul li:not(:last-child)::before{
  content: '';
  width: 1px;
  height: 16px;
  display: block;
  background-color: #3F3F3F;
  position: absolute;
  top: 50%;
  left: -15px;
  transform: translate(0,-50%);
  
}
.header nav ul li:first-child::before{
  content: none;
}
.header nav ul p {
    display: block;
    padding: 12px 7px 0;
    height: 83px;
}
.header nav ul img {
  height: 20px;
}

.footer {
  background-color: #F9F9F9;
  padding: 30px 80px;
}
.footer h1 img{
  height: 30px;
}
.footer ul a {
  color: #4A4A4A;
  text-decoration: none;
}

.footer .site-map {
  display: flex;
  align-items: flex-start;
  gap: 23px;
  margin-bottom: 28px;
}

.footer__copyright {
  text-align: center;
  display: block;
}

/* 上に戻るボタン*/

.page-top {
  position: fixed;
  bottom: 40px;
  right: 30px;
  width: 26px;
  height: 26px;
  border-top: 1px solid #4A4A4A;
  border-right: 1px solid #4A4A4A;
  transform: rotate(-45deg);
  z-index: 100;
}

.page-top:hover {
  cursor: pointer;
}

@media(max-width: 1160px) {
 /* header */
  .header {
    height: 30px;
    padding: 30px 10px 0;
    position: relative;
  }
  .header h1 {
    font-size: 1.5rem;
    font-weight: 400;
    gap: 5px;
  }
  
  .header nav ul li {
    position: static;
  }
  
  .ham {
    width: 20px;
    height: 13px;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 200;
    display: block;
  }
  
  .ham span{
    position: absolute;
    width: 100%;
    height: 1px;
    background-color: #4A4A4A;
    top: 0;
    bottom: 0;
    margin: auto;
    z-index: 1;
    transition: all ease .3s;
  }  
  
  .ham span:first-of-type{
    bottom: auto;
  }  
  
  .ham span:last-of-type{
    top: auto;
  }
  
  .ham.open span{
    opacity: 0;
  }
    
  .ham.open span:first-of-type{
    bottom: 0;
    transform: rotate(45deg);
    opacity: 1;
  }  
  
  .ham.open span:last-of-type{
    top: 0;
    transform: rotate(-45deg);
    opacity: 1;
  }
  
  .header nav {
    position: fixed;
    top: 0;
    right: 0;
    background-color: rgba(255,255,255,0.82);
    z-index: 100;
    height: 100%;
    transition: all ease .3s;
    right: -110%;
    z-index: 100;
    padding: 80px 25px 0;
    width: 66%;
    box-sizing: border-box;
  }
  .header nav.open {
    right: 0;
  }
  
  .header nav ul {
    display: block;
  }  
  
  .header nav ul li {
    margin: 0 0 30px; 
    text-align: right;
  }
  
  .header nav ul li:first-of-type {
    margin-left: 0;
  }
  
  .header nav ul li:not(:last-child)::before {
    left: -8px;
    height: 1.4rem;
  }
  
  .header nav ul a {
    font-size: 1.6rem;
  }
  .footer {
    padding: 30px 10px;
  }
}