@charset 'UTF-8';

/* Site
------------------------------------------------- */

body > main {
  display: block;
  padding-top: 60px;
  padding-bottom: 48px;
  color: #000;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #f8f8f8;
}

/* Module
------------------- */

/* section */
.mod-section01 {
  margin-top: 40px;
  padding-left: 15px;
  padding-right: 15px;
}

/* heading */
.mod-h2 {
  margin-bottom: 24px;
  padding-bottom: 4px;
  font-size: 20px;
  font-size: 2.0rem;
  font-weight: 700;
  border-bottom: 1px solid #c4c4c4;
}

/* button */
.mod-button01 a {
  position: relative;
  display: inline-block;
  padding: 8px 16px;
  color: #fff;
  transition: .2s ease;
  background-color: #f00;
  z-index: 0;
}
.mod-button01 a:before {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  content: '';
  transition: .35s cubic-bezier(0.22, 1, 0.36, 1);;
  z-index: -1;
}
.mod-button01 a:hover {
  text-decoration: none;
}
.mod-button01 a:hover:before {
  width: 0;
}

/* card */
.mod-cards {
  display: -webkit-box;
  display: flex;
  flex-wrap: wrap;
  -webkit-box-align: center;
  align-items: center;
  -webkit-box-align: stretch;
  align-items: stretch;
  margin-left: -4px;
  margin-right: -4px;
  margin-bottom: -8px;  
}
.cards_item {
  width: calc(50%);
  padding-left: 4px;
  padding-right: 4px;
  margin-bottom: 8px;
}
.mod-card {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: #fff;
}
.card_body { padding: 10px; }
.card_title {
  margin-bottom: 14px;
  font-size: 14px;
  font-size: 1.6rem;
  text-align: center;
  font-weight: 700;
}
.card_body .mod-button01 {
  margin-top: 16px;
  text-align: center;
}
.card_body .mod-button01 > a { width: 100%; }


@media print,(min-width: 750px) {
  body > main {
    padding-top: 0;
    padding-bottom: 64px;
  }

/* section */
  .mod-section01 {
    width: 1040px;
    margin-top: 72px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
  }

/* heading */
  .mod-h2 {
    margin-bottom: 32px;
    font-size: 28px;
    font-size: 2.8rem;
  }

/* card */
  .mod-cards {
    margin-left: -16px;
    margin-right: -16px;
    margin-bottom: -32px;  
  }
  .cards_item {
    width: calc(33.333333%);
    padding-left: 16px;
    padding-right: 16px;
    margin-bottom: 32px;
  }
  .card_body { padding: 20px 20px 24px; }
  .card_title {
    font-size: 18px;
    font-size: 1.8rem;
  }
  .card_body .mod-button01 > a { width: 220px; }
}


@media all and (-ms-high-contrast: none) {
  .mod-button01 > a {
    padding: 8px 16px 3px;
  }
}

.sec_title {
  width: 100%;
  background: #fff url(../img/title_bg_sp.png) no-repeat 0 50%;
  background-size: cover;
}
.sec_title h1 {
  padding: 40px 15px;
  text-align: right;
  font-size: 22px;
  font-size: 2.2rem;
  font-weight: 700;
}
.sec_title h1 > span {
  font-size: 18px;
  font-size: 1.8rem;
}

  @media print,(min-width: 750px) {
  .sec_title {
    width: 100%;
    height: 320px;
    display: flex;
    align-items: center;
    background: #fff url(../img/title_bg.png) no-repeat 0 0;
    background-size: auto 320px;
  }
  .sec_title h1 {
    width: 1040px;
    margin: 0 auto;
    text-align: right;
    font-size: 46px;
    font-size: 4.6rem;
    font-weight: 700;
    line-height: 1.3;
  }
  .sec_title h1 > span {
    font-size: 30px;
    font-size: 3.0rem;
  }
}
@media all and (-ms-high-contrast: none) {
  .sec_title h1 {
    padding: 40px 15px 30px;
}

/* js
------------------- */
.js-scroll-container:before {
  transition: width .45s ease; 
  width: 0;
  margin: 0 auto; 
}
.js-scroll-container.is-active:before {
  width: 100%;
}

.js-scroll-elm {
  opacity: 0;
  transition: all 1s ease;
}
.js-scroll-elm.is-active {
  opacity: 1;
  transform: none;
}

.fade { transform: translateY(30px); }
.slideL { transform: translateX(30px); }
.slideR { transform: translateX(-30px); }
