@charset "utf-8";

/* --------------------------------
        余白、コンテンツ幅
----------------------------------*/
.content-wrap {
  padding: 0 20px;
}
.page-size {
  max-width: 1000px;
  margin: 0 auto;
}

/* --------------------------------
            共通設定
----------------------------------*/
body {
  position: relative;
  padding-top: 100px;
}
.font-raleway {
  font-family: 'Raleway', sans-serif;
}
.ta_c {
  text-align: center;
}
.flex {
  display: flex;
  justify-content: space-between;
}
a {
  transition: .3s;
}
a:hover {
  opacity: .7;
}
@media screen and (max-width: 767px) {
  body {
    padding-top: 50px;
  }
}

/* --------------------------------
              Header
----------------------------------*/
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: #fff;
  box-shadow: 0 0 6px #999;
  z-index: 10;
}
.header .page-size {
  max-width: 1200px;
}
.header-logo {
  font-size: 40px;
  font-weight: normal;
  text-shadow: 2px 4px 5px rgba(0,0,0,0.3);
}
.header-logo a {
  display: flex;
  align-items: center;
}
.header-logo a .icon {
  width: 48px;
}
.header-logo a:hover .icon {
  animation: ani_rotate .4s;
}
@keyframes ani_rotate {
  0% {transform: translate(0px, 0px) rotate(15deg)}
  25% {transform: translate(0px, 0px) rotate(-15deg)}
  50% {transform: translate(0px, 0px) rotate(20deg)}
  75% {transform: translate(0px, 0px) rotate(-20deg)}
  100% {transform: translate(0px, 0px) rotate(0deg)}
}
.header .sns-area {
  align-self: center;
  gap: 10px;
}
.header .sns-area .sns-icon {
  width: 30px;
}
.hamburger {
  display: none;
  position: relative;
  width: 30px;
  height: 20px;
  cursor: pointer;
}
.hamburger span {
  position: absolute;
  display: inline-block;
  top: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: #000;
  transition: .3s;
}
.hamburger span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}
.hamburger span:last-child {
  top: auto;
  bottom: 0;
}
.hamburger.active span:first-child {
  top: 50%;
  transform: rotate(135deg);
}
.hamburger.active span:nth-child(2) {
  transform: translateY(-50%) scale(0);
}
.hamburger.active span:last-child {
  top: 50%;
  transform: rotate(-135deg);
}
.header-nav {
  max-width: 500px;
  margin: 0 auto;
  font-size: 20px;
}
.header-nav li {
  position: relative;
  overflow: hidden;
}
.header-nav li a {
  display: block;
  padding: 5px 0;
}
.header-nav li a:hover {
  opacity: 1;
}
.header-nav li::after {
  position: absolute;
  content: "";
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: #000;
  transition: .3s;
}
.header-nav li:hover::after,
.header-nav li.active::after {
  width: 40px;
}
@media screen and (max-width: 767px) {
  .header {
    height: 50px;
  }
  .header .page-size {
    height: 100%;
  }
  .header .page-size > .flex:first-child {
    height: 100%;
    align-items: center;
  }
  .header-logo {
    font-size: 26px;
  }
  .header-logo a .icon {
    width: 40px;
  }
  .header .sns-area {
    display: none;
  }
  .hamburger {
    display: block;
  }
  .header-nav {
    position: fixed;
    top: 50px;
    left: 0;
    max-width: 100%;
    width: 100%;
    height: 0;
    justify-content: flex-start;
    flex-direction: column;
    background: rgba(0,0,0,0.9);
    color: #fff;
    /* padding: 20px 10px 30px; */
    padding: 0;
    /* box-shadow: 0 2px 3px #999; */
    overflow: hidden;
    transition: .4s ease;
  }
  .header-nav.active {
    height: auto;
    padding: 20px 10px 30px;
  }
  .header-nav li {
    text-align: center;
    margin-bottom: 20px;
  }
  .header-nav li:last-of-type {
    margin-bottom: 0;
  }
  .header-nav li::after {
    background: #fff;
  }
}

/* --------------------------------
              Footer
----------------------------------*/
.footer {
  color: #fff;
  background: #000;
  padding-top: 10px;
}
.footer-nav {
  max-width: 500px;
  margin: 0 auto 20px;
}
.footer-nav li {
  position: relative;
  overflow: hidden;
}
.footer-nav li a {
  display: block;
  padding: 5px 0;
}
.footer-nav li a:hover {
  opacity: 1;
}
.footer-nav li::after {
  position: absolute;
  content: "";
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: #fff;
  transition: .3s;
}
.footer-nav li:hover::after,
.footer-nav li.active::after {
  width: 40px;
}
@media screen and (max-width: 767px) {
  .footer-nav {
    flex-direction: column;
    font-size: 18px;
  }
  .footer-nav li {
    text-align: center;
    margin-bottom: 10px;
  }
  .footer-nav li:last-child {
    margin-bottom: 0;
  }
}

/* --------------------------------
            セクション
----------------------------------*/
.sec-wrap {
  padding-top: 50px;
  padding-bottom: 50px;
  background: #fff;
}
.sec-wrap:nth-child(odd) {
  background: #efefef;
}
.sec-ttl {
  font-size: 36px;
  font-weight: normal;
  padding-bottom: 10px;
  margin-bottom: 40px;
  position: relative;
}
.sec-ttl::after {
  position: absolute;
  content: "";
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 2px;
  background: #000;
}
.sec-read {
  margin-bottom: 40px;
}
@media screen and (max-width: 767px) {
  .sec-ttl {
    font-size: 30px;
  }
}
/* --------------------------------
        ページトップボタン
----------------------------------*/
.page-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  opacity: 0;
  transition: padding-bottom .3s, opacity .5s;
}
.page-top.show {
  opacity: 1;
}
.page-top:hover {
  padding-bottom: 10px;
}
.page-top a {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.page-top a:hover {
  opacity: 1;
}
.page-top a span {
  display: block;
  font-size: 12px;
  text-align: center;
}

.link {
  text-decoration: underline;
  color: #ff6200;
}