@charset "utf-8";
.wrapper {
  background: url(../images/home/bg_top.png) center top no-repeat;
  background-size: 1400px auto;
}
@media (min-width: 768px) and (-webkit-min-device-pixel-ratio: 2), (min-width: 768px) and (min-resolution: 2dppx) {
  .wrapper {
    background-image: url(../images/home/bg_top@2x.png);
  }
}
@media screen and (max-width: 767px) {
  .wrapper {
    background-image: url(../images/home/bg_top_sp.png);
    background-size: 100% auto;
  }
}
/* ========================================
# Header
======================================== */
/* ========================================
# Main
======================================== */
/* アンカーリンク */
.local-navi {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}
.local-navi .link {
  display: block;
  width: 240px;
  border-radius: 10px;
  border: 5px solid #fff;
  background-color: #fff;
  overflow: hidden;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
}
.local-navi .link img {
  display: block;
}
@media (hover: hover) and (pointer: fine) {
  .local-navi .link img {
    transition: opacity 0.3s ease;
  }
  .local-navi .link:hover img {
    opacity: 0.8;
  }
}
@media screen and (max-width: 767px) {
  .local-navi .link {
    width: 32%;
    border-radius: 5px;
    border-width: 3px;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.16);
  }
  .local-navi .link img {
    border-radius: 3px;
  }
}
/* Section
---------------------------------------- */
.section {
  margin-bottom: 77px;
}
.section .section__contents {
  position: relative;
  background-color: #fff;
  padding: 30px;
}
@media screen and (max-width: 767px) {
  .section {
    margin-bottom: calc(20px + 6.66vw);
  }
  .section .section__contents {
    padding: 4vw;
  }
}
.title02 {
  position: relative;
  padding-left: 15px;
  margin-bottom: 10px;
  border-left: 6px solid #286B43;
  font-weight: bold;
  font-size: 20px;
  line-height: 1.5;
}
.title02::before {
  content: "";
  position: absolute;
  display: block;
  top: 0;
  bottom: 0;
  left: 2px;
  border-left: 2px solid #286B43;
}
@media screen and (max-width: 767px) {
  .title02 {
    padding-left: 11px;
    margin-bottom: 10px;
    border-left-width: 4px;
    font-size: 16px;
    line-height: 1.3;
  }
  .title02::before {
    left: 3px;
    border-left-width: 2px;
  }
}
.box-list {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
}
.box-list .box__caption {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
  padding: 10px;
  text-align: center;
}
@media screen and (max-width: 767px) {
  .box-list {
    display: block;
  }
  .box-list .box {
    width: auto;
    max-width: none;
  }
}
/* 愛媛から全国へ
---------------------------------------- */
.section-beginning .section__contents {
  border: 4px solid #286B43;
}
.img-block {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  margin-bottom: 20px;
}
.img-block__detail {
  width: 56.5%;
  max-width: 530px;
}
.img-block__detail p + p {
  margin-top: 1em;
}
.img-block__detail hr {
  padding: 0;
  margin: 0 0 10px;
  height: 1px;
  border: 0;
  background-color: #333;
}
.img-block__image {
  width: 39.5%;
  max-width: 370px;
}
@media screen and (max-width: 767px) {
  .img-block {
    display: block;
    margin-bottom: 10px;
  }
  .img-block__detail {
    width: auto;
    max-width: none;
  }
  .img-block__image {
    display: none;
  }
}
.movie-block {
  background-color: #000;
}
.movie-block video {
  width: 100%;
  height: auto;
}
/* まちペイ加盟店になる3つのメリット
---------------------------------------- */
.section-style .inner::before {
  content: "";
  position: absolute;
  display: block;
  top: 5px;
  left: 5px;
  right: -5px;
  bottom: -5px;
  background-color: #286B43;
}
.section-style .section__contents {
  padding-top: 57px;
}
.section-style .section__title {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -50%);
  width: 480px;
  height: 74px;
  padding: 0 4px 4px 0;
  background: url(../images/home/bg_title01.png) 0 0 no-repeat;
  background-size: contain;
  color: #286B43;
  font-size: 24px;
  font-weight: bold;
  line-height: 1.2;
}
@media (min-width: 768px) and (-webkit-min-device-pixel-ratio: 2), (min-width: 768px) and (min-resolution: 2dppx) {
  .section-style .section__title {
    background-image: url(../images/home/bg_title01@2x.png);
  }
}
@media screen and (max-width: 767px) {
  .section-style .inner::before {
    top: 3px;
    left: 3px;
    right: -3px;
    bottom: -3px;
  }
  .section-style .section__contents {
    padding-top: 9.33vw;
  }
  .section-style .section__title {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    left: 50%;
    top: 0;
    transform: translate(-50%, -50%);
    width: 84vw;
    height: 13.33vw;
    padding: 0 1vw 1vw 0;
    background-image: url(../images/home/bg_title01@2x.png);
    font-size: 4vw;
  }
}
.merit-box-list .box {
  width: 31%;
  max-width: 290px;
}
.merit-box-list .box__caption {
  position: relative;
  margin-bottom: 20px;
  background-color: #666;
  color: #fff;
  font-weight: bold;
  font-size: 20px;
  line-height: 1.5;
}
.merit-box-list .box__caption::after {
  content: "";
  position: absolute;
  display: block;
  left: 50%;
  bottom: -12px;
  transform: translateX(-50%);
  border: 13px solid transparent;
  border-bottom-width: 0;
}
.merit-box-list .box__image {
  margin-bottom: 10px;
}
.merit-box-list .box01 .box__caption {
  background-color: #00B9EF;
}
.merit-box-list .box01 .box__caption::after {
  border-top-color: #00B9EF;
}
.merit-box-list .box02 .box__caption {
  background-color: #EF858C;
}
.merit-box-list .box02 .box__caption::after {
  border-top-color: #EF858C;
}
.merit-box-list .box03 .box__caption {
  background-color: #8DC556;
}
.merit-box-list .box03 .box__caption::after {
  border-top-color: #8DC556;
}
@media screen and (max-width: 767px) {
  .merit-box-list .box {
    width: auto;
    max-width: none;
  }
  .merit-box-list .box + .box {
    margin-top: 20px;
  }
  .merit-box-list .box__caption {
    margin-bottom: 10px;
    padding: 8px;
    font-size: 16px;
  }
  .merit-box-list .box__caption::after {
    display: none;
  }
  .merit-box-list .box__detail {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
  }
  .merit-box-list .box__image {
    width: 32%;
    margin-top: 2px;
  }
  .merit-box-list .box__text {
    width: 65%;
  }
}
/* まちペイ導入の流れ
---------------------------------------- */
.section-flow .scroll-arrow {
  display: none;
}
@media screen and (max-width: 767px) {
  .section-flow .section__contents {
    padding: 9.33vw 2vw 4vw;
  }
  .section-flow .scroll-arrow {
    width: 180px;
    max-width: 100%;
    height: 12px;
    margin: 10px auto 0;
    background: transparent url(../images/home/img_scroll.png) center bottom no-repeat;
    background-size: 100% 100%;
  }
  .section-flow .scroll-container {
    position: relative;
    width: 100%;
    overflow-x: auto;
  }
}
.flow-box-list .box {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  width: 23.5%;
  max-width: 220px;
}
.flow-box-list .box__caption {
  min-height: 80px;
  background-color: #286B43;
  color: #fff;
  font-weight: bold;
  font-size: 20px;
  line-height: 1.5;
}
.flow-box-list .box__image {
  margin-top: auto;
  padding-top: 10px;
}
.flow-box-list .box + .box::before {
  content: "";
  position: absolute;
  display: block;
  bottom: 60px;
  left: -20px;
  border: 20px solid transparent;
  border-left-color: #C8151C;
  border-right-width: 0;
}
@media screen and (max-width: 767px) {
  .flow-box-list {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    width: calc(850px + 4vw);
    padding: 0 2vw;
  }
  .flow-box-list .box {
    width: 190px;
  }
  .flow-box-list .box .box__caption {
    padding: 5px;
    min-height: 55px;
    font-size: 16px;
    line-height: 1.2;
  }
  .flow-box-list .box + .box::before {
    bottom: auto;
    top: 80px;
    left: -22px;
    border-width: 15px 0 15px 15px;
  }
}
/* 他のまちペイ加盟店様向けサービス
---------------------------------------- */
.section-service {
  margin-bottom: 40px;
}
.section-service .section__contents {
  position: relative;
  padding-top: 57px;
  border: 4px solid #CF9DC6;
  background-color: #fff;
}
.section-service .section__title {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  left: 50%;
  top: -4px;
  transform: translate(-50%, -50%);
  width: 480px;
  height: 74px;
  padding: 0 4px 4px 0;
  background: url(../images/home/bg_title02.png) 0 0 no-repeat;
  background-size: contain;
  color: #4C4E74;
  font-size: 24px;
  font-weight: bold;
  line-height: 1.2;
}
@media (min-width: 768px) and (-webkit-min-device-pixel-ratio: 2), (min-width: 768px) and (min-resolution: 2dppx) {
  .section-service .section__title {
    background-image: url(../images/home/bg_title02@2x.png);
  }
}
@media screen and (max-width: 767px) {
  .section-service {
    margin-bottom: 20px;
  }
  .section-service .section__contents {
    padding-top: calc(10px + 6.66vw);
  }
  .section-service .section__title {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    left: 50%;
    top: 0;
    transform: translate(-50%, -50%);
    width: 84vw;
    height: 13.33vw;
    padding: 0 2px 2px 0;
    background-image: url(../images/home/bg_title02@2x.png);
    font-size: 4vw;
  }
}
.service-box-list .box {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  width: 31%;
  max-width: 290px;
}
.service-box-list .box .box__caption {
  padding: 10px;
  background-color: #eee;
  font-weight: bold;
  font-size: 20px;
  line-height: 1.5;
}
.service-box-list .box .box__detail {
  position: relative;
  margin-bottom: 20px;
  padding-bottom: 76%;
}
.service-box-list .box .box__image {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
}
.service-box-list .box .box__button {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 70px;
  margin-top: auto;
  padding: 10px 30px;
  background-color: #F79800;
  color: #fff;
  text-align: center;
  font-weight: bold;
  font-size: 20px;
  line-height: 1.25;
  text-decoration: none;
}
.service-box-list .box .box__button::after {
  content: "";
  position: absolute;
  display: block;
  top: 50%;
  right: 5px;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background: url(../images/common/ico_btn_arrow.svg) 0 0 no-repeat;
  background-size: contain;
}
.service-box-list .box01 .box__caption {
  background-color: #F7D2E6;
}
.service-box-list .box02 .box__caption {
  background-color: #C8E8F4;
}
.service-box-list .box03 .box__caption {
  background-color: #CDF0C5;
}
@media screen and (max-width: 767px) {
  .service-box-list .box {
    display: block;
    width: auto;
    max-width: none;
  }
  .service-box-list .box + .box {
    margin-top: 30px;
  }
  .service-box-list .box .box__caption {
    margin-bottom: 10px;
    padding: 8px;
    font-size: 16px;
  }
  .service-box-list .box .box__detail {
    margin-bottom: 20px;
    padding: 0 0 0 29.7vw;
    background-position: left center;
    background-repeat: no-repeat;
    background-size: 26.66vw auto;
  }
  .service-box-list .box .box__image {
    display: none;
  }
  .service-box-list .box .box__button {
    min-height: 0;
    padding: 10px 30px;
    margin: 0 10%;
    font-size: 16px;
  }
  .service-box-list .box .box__button::after {
    right: 5px;
    width: 15px;
    height: 15px;
  }
  .service-box-list .box01 .box__detail {
    min-height: 26.66vw;
    background-image: url(../images/home/img_service01_sp.png);
  }
  .service-box-list .box02 .box__detail {
    min-height: 26.66vw;
    background-image: url(../images/home/img_service02_sp.png);
  }
  .service-box-list .box03 .box__detail {
    min-height: 16vw;
    background-image: url(../images/home/img_service03_sp.png);
  }
}
/* よくあるご質問
---------------------------------------- */
.section-faq {
  margin-bottom: 30px;
}
.section-faq .section__lede {
  margin-bottom: 20px;
}
@media screen and (max-width: 767px) {
  .section-faq {
    margin-bottom: 20px;
  }
  .section-faq .section__lede {
    margin-bottom: 10px;
  }
}
.faq-box {
  position: relative;
  display: block;
  background-size: 4px 1px;
}
.faq-box + .faq-box {
  margin-top: 20px;
}
.faq-box .icon {
  position: relative;
  z-index: 1;
  align-self: flex-start;
  width: 40px;
  height: 40px;
  margin-right: 10px;
}
.faq-box__q {
  position: relative;
}
.faq-box__q .box-detail {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 15px 60px 15px 20px;
  border-radius: 5px;
  background-color: #fff;
  color: #286B43;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.16);
  font-weight: bold;
  font-size: 18px;
  line-height: 1.5;
  cursor: pointer;
}
.faq-box__q .toggle-icon {
  position: absolute;
  display: block;
  align-self: flex-start;
  z-index: 1;
  right: 20px;
  top: 50%;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  transform: translateY(-50%);
}
.faq-box__q .toggle-icon::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: url(../images/home/ico_accordion.svg) center top no-repeat;
  background-size: 100% auto;
  transition: rotate 0.3s ease;
}
.faq-box.-open .faq-box__q .toggle-icon::after {
  background-position: center bottom;
  rotate: 180deg;
}
.faq-box__a .box-detail {
  position: relative;
  display: flex;
  align-items: center;
  background-color: transparent;
  padding: 15px 60px 15px 20px;
  font-size: 18px;
  line-height: 1.5;
}
.faq-box__text-block {
  width: 100%;
  flex: 1;
}
@media screen and (max-width: 767px) {
  .faq-box + .faq-box {
    margin-top: 10px;
  }
  .faq-box .icon {
    width: 25px;
    height: 25px;
    margin-right: 5px;
  }
  .faq-box__q .box-detail {
    min-height: 40px;
    padding: 10px 35px 10px 1.33vw;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.16);
    font-size: 14px;
  }
  .faq-box__q .toggle-icon {
    right: 10px;
    width: 15px;
    height: 15px;
  }
  .faq-box__a .box-detail {
    padding: 10px 30px 10px 1.33vw;
    font-size: 14px;
  }
}
@media print {
  .faq-box {
    pointer-events: none;
  }
  .faq-box__q .toggle-icon::after {
    background-position: center top !important;
  }
  .faq-box__a {
    display: block !important;
  }
}
.bottom-note {
  margin-bottom: 10px;
  font-size: 12px;
  text-align: right;
  line-height: 1.5;
}
@media screen and (max-width: 767px) {
  .bottom-note {
    font-size: 10px;
  }
}
/* ========================================
#
======================================== */
/*
---------------------------------------- */
