/* 
===================================================================
CSS index

	common
	link
	header
	freamwork
	footer
	totop

===================================================================
*/

/* 
-------------------------------------------------------------------

common

------------------------------------------------------------------- */
body {
  margin: 0;
  padding: 0;
  font-family: "M PLUS 1p", "Yu Gothic", "Hiragino Kaku Gothic Pro", "Meiryo", verdana, "Osaka", "MS PGothic", Sans-Serif;
  font-size: 13px;
  font-weight: bold;
  letter-spacing: 0.2em;
  color: #000;
  background: #f4f3f0;
}
/* 
-------------------------------------------------------------------

link

------------------------------------------------------------------- */
a:link {
  color: #000;
  text-decoration: underline;
}

a:visited {
  color: #000;
  text-decoration: underline;
}

a:hover {
  color: #000;
  text-decoration: none;
}

a:active {
  color: #000;
  text-decoration: underline;
}

/* 
-------------------------------------------------------------------

	header

------------------------------------------------------------------- */
header {
  padding-bottom: 5px;
  background: #f4f042 url(../images/common/border_head.svg) repeat-x bottom center;
  background-size: auto 5px;
}
@media screen and (max-width: 768px) {
  header {
    width: 100%;
    position: fixed;
    z-index: 999;
  }
}
header .top {
  width: 1200px;
  height: 50px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  display: flex;
}
@media screen and (max-width: 1250px) {
  header .top {
    width: auto;
    padding-left: 10px;
  }
}
@media screen and (max-width: 768px) {
  header .top {
    display: block;
    position: relative;
  }
}
header .top > h1 {
  width: 150px;
}
@media screen and (max-width: 768px) {
  header .top > h1 {
    margin: 0 auto;
    padding: 10px 0;
  }
}
header .top_nav {
  display: flex;
}
@media screen and (max-width: 768px) {
  header .top_nav {
    position: absolute;
    top: 0;
    right: 0;
  }
}
header .top_nav li a {
  font-size: 14px;
  display: block;
  position: relative;
}
@media screen and (max-width: 768px) {
  header .top_nav li:first-child,
  header .top_nav li:nth-child(2),
  header .top_nav li:nth-child(3) {
    display: none;
  }
}
/* SVGの色を制御 */
header .top_nav li a svg path {
  fill: #fff;
}
@media screen and (max-width: 768px) {
  header .top_nav li a svg path {
    fill: #000;
  }
}
header .top_nav li:first-child a {
  height: 50px;
  line-height: 50px;
  margin-right: 30px;
  color: #000;
  text-decoration: none;
  display: inline-block;
}
header .top_nav li:first-child a:before {
  width: 100%;
  content: "";
  position: absolute;
  top: 45px;
  left: 0;
  border-bottom: 0px solid #000;
  transition: all 0.1s ease;
}
header .top_nav li:first-child a:hover:before {
  width: 100%;
  border-bottom: 2px solid #000;
  top: 37px;
  transition: all 0.2s ease;
}

header .top_nav li:nth-child(2) a {
  height: 50px;
  line-height: 50px;
  margin-right: 30px;
  color: #000;
  text-decoration: none;
  display: inline-block;
}
header .top_nav li:nth-child(2) a:before {
  width: 100%;
  content: "";
  position: absolute;
  top: 45px;
  left: 0;
  border-bottom: 0px solid #000;
  transition: all 0.1s ease;
}
header .top_nav li:nth-child(2) a:hover:before {
  width: 100%;
  border-bottom: 2px solid #000;
  top: 37px;
  transition: all 0.2s ease;
}

header .top_nav li:nth-last-child(3) {
  background: #000;
  position: relative;
}
header .top_nav li:nth-last-child(3) a {
  height: 50px;
  line-height: 50px;
  padding: 0 20px;
  color: #fff;
  text-decoration: none;
  display: block;
  position: relative;
}
header .top_nav li:nth-last-child(3)::before {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  content: "";
  background: #2d2c27;
  transform-origin: right top;
  transform: scale(0, 1);
  transition: transform 0.3s;
}
header .top_nav li:nth-last-child(3):hover::before {
  transform-origin: left top;
  transform: scale(1, 1);
}

header .top_nav li:nth-last-child(2) {
  background: #405ba1;
  position: relative;
}
header .top_nav li:nth-last-child(2) a {
  width: 50px;
  height: 50px;
  line-height: 50px;
  color: #fff;
  text-align: center;
  position: relative;
  justify-content: center;
  align-items: center;
  display: flex;
}
@media screen and (max-width: 768px) {
  header .top_nav li:nth-last-child(2) {
    background: none;
  }
  header .top_nav li:nth-last-child(2) a {
    width: 30px;
    color: #405ba1;
  }
  header .top_nav li:nth-last-child(2) a svg path {
    fill: #405ba1;
  }
  header .top_nav li:nth-last-child(2)::before {
    display: none;
  }
  header .top_nav li:nth-last-child(2):hover::before {
    display: none;
  }
}

header .top_nav li:nth-last-child(2)::before {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  content: "";
  background: #5975b5;
  transform-origin: right top;
  transform: scale(0, 1);
  transition: transform 0.3s;
}
header .top_nav li:nth-last-child(2):hover::before {
  transform-origin: left top;
  transform: scale(1, 1);
}

header .top_nav li:last-child {
  background: #319ecf;
  position: relative;
}
header .top_nav li:last-child a {
  width: 50px;
  height: 50px;
  line-height: 50px;
  color: #fff;
  text-align: center;
  position: relative;
  justify-content: center;
  align-items: center;
  display: flex;
}
@media screen and (max-width: 768px) {
  header .top_nav li:last-child {
    background: none;
  }
  header .top_nav li:last-child a {
    width: 30px;
    color: #319ecf;
  }
  header .top_nav li:last-child::before {
    display: none;
  }
  header .top_nav li:last-child:hover::before {
    display: none;
  }
}
header .top_nav li:last-child::before {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  content: "";
  background: #43b0d6;
  transform-origin: right top;
  transform: scale(0, 1);
  transition: transform 0.3s;
}
header .top_nav li:last-child:hover::before {
  transform-origin: left top;
  transform: scale(1, 1);
}

/* 
-------------------------------------------------------------------

navi mobile

------------------------------------------------------------------- */

.icon_drawer {
  display: none;
}
.mobile_navi {
  display: none;
}

@media screen and (max-width: 768px) {
  .icon_drawer {
    width: 50px;
    height: 50px;
    display: block;
    cursor: pointer;
    text-align: center;
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: 999;
    background: #000;
  }
  .icon_drawer span {
    width: 28px;
    height: 1px;
    background: #fff;
    position: absolute;
    top: 23px;
    left: 10px;
    margin: auto;
    transition: all 0.3s;
    transform: rotate(0deg);
  }
  .icon_drawer span:nth-of-type(1) {
    transform: translateY(-9px);
  }
  .icon_drawer span:nth-of-type(3) {
    transform: translateY(9px);
  }
  .is-open span:nth-of-type(2) {
    background: rgba(51, 51, 51, 0);
  }
  .is-open span:nth-of-type(1) {
    transform: rotate(-45deg) translateY(0px);
  }
  .is-open span:nth-of-type(3) {
    transform: rotate(45deg) translateY(0px);
  }
}
/* mobile_navi */
.mobile_navi {
  width: 220px;
  height: 100%;
  padding-top: 60px;
  padding-bottom: 30px;
  color: #fff;
  background: #000;
  box-sizing: border-box;
  display: block;
  overflow-x: hidden;
  overflow-y: auto;
  position: fixed;
  top: 0px;
  left: 0;
  z-index: 1;
  visibility: hidden;
  transform: translatex(-100%);
  transform-style: preserve-3d;
  transition: 0.3s 0.1s cubic-bezier(0.8, 0, 0.2, 1);
  -webkit-overflow-scrolling: touch;
}
.cat_nav li a {
  padding: 12px;
  color: #fff;
  border-bottom: 1px #333 solid;
  display: block;
  text-decoration: none;
}
.cat_nav i {
  margin-right: 5px;
  color: #f4f042;
}
.nor_nav li a {
  padding: 12px;
  color: #fff;
  border-bottom: 1px #fff solid;
  display: block;
  text-decoration: none;
}
.nor_nav li i {
  margin-right: 5px;
  color: #f4f042;
}
.published a {
  margin: 0 12px;
  padding: 10px;
  text-align: center;
  color: #000;
  border-radius: 5px;
  background: #f4f042;
  display: block;
  text-decoration: none;
}
.mobile_navi.on {
  visibility: visible;
  transition: all 0.3s ease;
  transform: translateX(0px);
}
/* open時コンテンツ固定 */
.scroll-prevent {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  right: 0;
  z-index: -1;
}
/* Filter */
.modal {
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0.1;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 0;
  visibility: hidden;
  transition:
    visibility 0 linear 0.4s,
    opacity 0.4s;
  transform: translateZ(0);
  cursor: pointer;
}
.modal.on {
  opacity: 1;
  transition-delay: 0;
  visibility: visible;
}
/* 
-------------------------------------------------------------------

sticky navi

------------------------------------------------------------------- */
/* sticky */
.sticky_wrap.fixed {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
}
@media screen and (max-width: 768px) {
  .sticky_wrap {
    display: none;
  }
}
.cat_navi {
  justify-content: center;
  display: flex;
  background-color: rgba(255, 255, 255, 0.8);
}
.cat_navi li a {
  padding: 30px 30px;
  color: #000;
  font-size: 15px;
  text-decoration: none;
  display: block;
}
@media screen and (max-width: 1000px) {
  .cat_navi li a {
    font-size: 13px;
  }
}
@media screen and (max-width: 890px) {
  .cat_navi li a {
    padding: 30px 20px;
  }
}
.cat_navi li a:hover {
  background: #f4f042;
  transition: all 0.3s ease;
}
/* 
-------------------------------------------------------------------

contents

------------------------------------------------------------------- */
.container {
  padding-top: 0px;
}
@media screen and (max-width: 768px) {
  .container {
    padding-top: 55px;
  }
}
.container.negative {
  /*headerがスクロール追従した時active*/
  margin-top: 75px;
}
@media screen and (max-width: 768px) {
  .container.negative {
    margin-top: 0px;
  }
}

/* 
-------------------------------------------------------------------

post

------------------------------------------------------------------- */
.post {
  flex-wrap: wrap;
  display: grid;
  grid-template: repeat(1, 1fr) / repeat(3, 1fr);
  gap: 20px;
}
@media screen and (max-width: 768px) {
  .post {
    grid-template: repeat(1, 1fr) / repeat(2, 1fr);
  }
}
@media screen and (max-width: 600px) {
  .post {
    grid-template: repeat(1, 1fr) / repeat(1, 1fr);
  }
}
/* post_pickup */
.post_pickup li {
  padding: 16px;
  border-radius: 5px;
  border: 1px #e4e4e4 solid;
  background: #fff;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}
/* post_pickup_img */
.post_pickup_img {
  height: 150px;
  margin-bottom: 5px;
  text-align: center;
  position: relative;
}
@media screen and (max-width: 414px) {
  .post_pickup_img {
    height: auto;
  }
}
.post_pickup_img img {
  max-height: 150px;
  vertical-align: bottom;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}
@media screen and (max-width: 414px) {
  .post_pickup_img img {
    max-height: 100%;
    position: static;
  }
}
.post_pickup_img span a {
  padding: 5px;
  font-size: 13px;
  color: #000;
  background: #f4f042;
  position: absolute;
  left: 0;
  bottom: 0;
  text-decoration: none;
  white-space: nowrap;
}
.post_pickup_img span a:hover {
  color: #fff;
  background: #000;
  transition: all 0.3s ease;
}
/* post li */
.post li {
  padding: 20px;
  border-radius: 5px;
  border: 1px #e4e4e4 solid;
  background: #fff;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}
/* post_img */
.post_img {
  height: 172px;
  margin-bottom: 5px;
  text-align: center;
  position: relative;
}
@media screen and (max-width: 414px) {
  .post_img {
    height: auto;
  }
}
.post_img img {
  max-height: 172px;
  vertical-align: bottom;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}
@media screen and (max-width: 414px) {
  .post_img img {
    max-height: 100%;
    position: static;
  }
}
.post_img span a {
  padding: 5px;
  font-size: 13px;
  color: #000;
  background: #f4f042;
  position: absolute;
  left: 0;
  bottom: 0;
  text-decoration: none;
  white-space: nowrap;
}
.post_img span a:hover {
  color: #fff;
  background: #000;
  transition: all 0.3s ease;
}
/* date */
.post_date {
  color: #666;
  margin-bottom: 5px;
  font-size: 12px;
}
/* post_ttl */
.post_ttl {
  line-height: 1.4;
  margin-bottom: 10px;
  font-size: 17px;
  word-break: break-all;
}
.post_ttl a {
  text-decoration: none;
  display: block;
}
/* excerpt */
.post_ex {
  line-height: 1.8;
  margin-bottom: 10px;
  word-break: break-all;
}
/* term */
.post_term {
  font-size: 12px;
  display: flex;
}
.post_term.exp {
  color: #ff6666;
}

.post_term:first-of-type {
  margin-bottom: 7px;
  padding-top: 10px;
  border-top: 1px #dbdbdb solid;
}
.post_term:last-of-type {
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px #dbdbdb solid;
}
/* btn_post */
.btn_post {
  width: 100%;
  margin-top: auto;
  text-align: center;
  border-radius: 5px;
  background: #f4f042;
  position: relative;
}
.btn_post a {
  padding: 15px 10px;
  color: #000;
  text-decoration: none;
  display: block;
  position: relative;
}
.btn_post a:hover {
  color: #fff;
}
@media screen and (max-width: 768px) {
  .btn_post a:hover {
    color: #000;
  }
}
.btn_post::before {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  content: "";
  border-radius: 5px;
  background: #000;
  transform-origin: right top;
  transform: scale(0, 1);
  transition: transform 0.3s;
}
@media screen and (max-width: 768px) {
  .btn_post::before {
    display: none;
  }
}
.btn_post:hover::before {
  transform-origin: left top;
  transform: scale(1, 1);
}
@media screen and (max-width: 768px) {
  .btn_post:hover::before {
    display: none;
  }
}
/* .btn_more */
.btn_more {
  width: 350px;
  margin-top: 50px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  font-size: 17px;
  border: 1px #000 solid;
  position: relative;
}
@media screen and (max-width: 375px) {
  .btn_more {
    width: auto;
    margin-top: 30px;
  }
}
.btn_more a {
  padding: 20px 10px;
  color: #000;
  text-decoration: none;
  display: block;
  position: relative;
}
@media screen and (max-width: 375px) {
  .btn_more a {
    padding: 20px 10px;
  }
}
.btn_more a:hover {
  color: #fff;
}
@media screen and (max-width: 768px) {
  .btn_more a:hover {
    color: #000;
  }
}
.btn_more::before {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  content: "";
  background: #000;
  transform-origin: right top;
  transform: scale(0, 1);
  transition: transform 0.3s;
}
@media screen and (max-width: 768px) {
  .btn_more::before {
    display: none;
  }
}
.btn_more:hover::before {
  transform-origin: left top;
  transform: scale(1, 1);
}
@media screen and (max-width: 768px) {
  .btn_more:hover::before {
    display: none;
  }
}
/* 
-------------------------------------------------------------------

point

------------------------------------------------------------------- */
.point {
  padding: 70px 0 70px;
  background: url(../images/common/bg_grid.svg) left center;
}
@media screen and (max-width: 1050px) {
  .point {
    padding: 50px 15px 30px;
  }
}
/* point_wrap */
.point_wrap {
  width: 1200px;
  margin: 0 auto 50px;
  justify-content: space-between;
  display: flex;
}
@media screen and (max-width: 1250px) {
  .point_wrap {
    width: auto;
  }
}
@media screen and (max-width: 414px) {
  .point_wrap {
    display: block;
  }
}
.point_wrap li {
  width: 25%;
}
@media screen and (max-width: 414px) {
  .point_wrap li {
    width: 100%;
    margin-bottom: 30px;
  }
}
/* point_list */
.point_list dt {
  margin-bottom: 25px;
  text-align: center;
}
.point_list dt img {
  width: 180px;
}

.point_list dd:nth-child(2) {
  margin-bottom: 18px;
  font-size: 20px;
  color: #55bcd8;
}
.point_list dd {
  line-height: 1.5;
  text-align: center;
}
/* 
-------------------------------------------------------------------

promoter apply

------------------------------------------------------------------- */
.pro_apply {
  padding: 50px 0;
  text-align: center;
  background: #f4f042;
}
.pro_apply > h1,
.pro_apply > h2 {
  margin-bottom: 15px;
  font-size: 30px;
}
.pro_apply .btn_pro_apply {
  width: 350px;
  margin: 0 auto;
  font-size: 17px;
  background: #000;
  position: relative;
}
.pro_apply .btn_pro_apply a {
  padding: 20px 10px;
  color: #fff;
  text-decoration: none;
  border: 1px #000 solid;
  display: block;
  position: relative;
}
.pro_apply .btn_pro_apply a:hover {
  color: #000;
}
@media screen and (max-width: 768px) {
  .pro_apply .btn_pro_apply a:hover {
    color: #fff;
  }
}
.pro_apply .btn_pro_apply::before {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  content: "";
  background: #f4f042;
  transform-origin: right top;
  transform: scale(0, 1);
  transition: transform 0.3s;
}
@media screen and (max-width: 768px) {
  .pro_apply .btn_pro_apply::before {
    display: none;
  }
}
.pro_apply .btn_pro_apply:hover::before {
  transform-origin: left top;
  transform: scale(1, 1);
}
@media screen and (max-width: 768px) {
  .pro_apply .btn_pro_apply:hover::before {
    display: none;
  }
}

/* 
-------------------------------------------------------------------

footer

------------------------------------------------------------------- */
footer {
  padding: 10px 0;
  font-family: "メイリオ", Meiryo, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "游ゴシック", "Yu Gothic", YuGothic, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  background: #333;
}
footer > .inner {
  width: 1000px;
  margin: 0 auto;
  padding: 5px 0;
  align-items: center;
  justify-content: space-between;
  flex-direction: row-reverse;
  display: flex;
}
@media screen and (max-width: 1050px) {
  footer > .inner {
    width: auto;
  }
}
@media screen and (max-width: 850px) {
  footer > .inner {
    flex-direction: row;
    display: block;
  }
}
/* inner */
@media screen and (max-width: 850px) {
  footer > .inner > h1,
  footer > .inner > h2 {
    margin-bottom: 10px;
    text-align: center;
  }
}
footer > .inner > h1 img,
footer > .inner > h2 img {
  width: 150px;
}
footer > .inner .ft_navi {
  display: flex;
}
@media screen and (max-width: 850px) {
  footer > .inner .ft_navi {
    border-top: 1px #555 solid;
    flex-wrap: wrap;
    display: flex;
  }
}
footer > .inner .ft_navi li {
  margin-right: 20px;
}
@media screen and (max-width: 850px) {
  footer > .inner .ft_navi li {
    width: 33.33333%;
    margin-right: 0px;
    padding: 10px 0;
    text-align: center;
    border-right: 1px #555 solid;
    border-bottom: 1px #555 solid;
    box-sizing: border-box;
  }
  footer > .inner .ft_navi li:nth-child(3n) {
    border-right: none;
  }
}
footer > .inner .ft_navi li:last-child {
  margin-right: 0px;
}
footer > .inner .ft_navi li a {
  color: #fff;
  font-size: 12px;
  font-weight: normal;
  text-decoration: none;
}
footer > .inner .ft_navi li a:hover {
  text-decoration: underline;
  transition: all 0.3s ease;
}
footer .cright {
  margin-top: 3px;
  font-size: 11px;
  font-weight: normal;
  letter-spacing: 0.1em;
  color: #fff;
  text-align: center;
}

/* 
-------------------------------------------------------------------

pagetop

------------------------------------------------------------------- */
.pagetop {
  width: 40px;
  height: 40px;
  cursor: pointer;
  border-radius: 50%;
  border: 1px #f4f042 solid;
  background: #f4f042;
  position: fixed;
  right: 15px;
  bottom: 80px;
  display: none;
}
@media screen and (max-width: 768px) {
  .pagetop {
    bottom: 160px;
  }
}
@media screen and (max-width: 414px) {
  .pagetop {
    right: 5px;
    bottom: 160px;
  }
}
.pagetop a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: block;
}
.pagetop span {
  position: relative;
  position: absolute;
  top: 30%;
  left: 52%;
  transition: all ease 0.3s;
}
.pagetop:hover span {
  top: 20%;
  transition: all ease 0.3s;
}
@media screen and (max-width: 768px) {
  .pagetop:hover span {
    top: 30%;
    left: 52%;
  }
}
.pagetop span::before {
  content: "";
  display: block;
  width: 9px;
  height: 9px;
  border-top: solid 1px #000;
  position: absolute;
  transform: rotate(-55deg);
  left: -4px;
  top: 1px;
  transition: all ease 0.3s;
}
.pagetop span::after {
  content: "";
  display: block;
  width: 1px;
  height: 17px;
  border-right: solid 1px #000;
  position: absolute;
  right: 0;
  top: 0;
  transition: all ease 0.3s;
  z-index: 9;
}
