/* mixins ---- */
/* side menu ---- */
#side_box .side_menu .menu_grp_c.grp61 {
}
.csr_matsuri .btn611.btn_toggle .btn_toggle_act::after {
  background-color: rgb(255,255,255) !important;
}
.csr_matsuri li.btn611 {
  background-color: rgb(218,218,218);
  border-bottom-color: rgb(204,204,204) !important;
}
.csr_matsuri #side_box .side_menu .menu_grp_c > li.btn611 > a {
  pointer-events:none;
  cursor: auto;
}
.csr_matsuri #side_box .side_menu .menu_grp_c > li.btn611 > a::after {
  display: none;
}



/* responsive ---- */
@media screen and (max-width: 767px) {
  header .main_navigation li.btn04 a {
    margin-left: auto;
    margin-right: auto;
  }
}

@media screen and (max-width: 767px) {
  .all_box {
    width: 100%;
  }
}

@media screen and (max-width: 767px) {
  #main_box {
    float: none;
  }
}

@media screen and (max-width: 767px) and (max-width: 767px) {
  #main_box {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-right: 0;
    padding-left: 0;
  }
}

@media screen and (max-width: 767px) {
  #main_box img {
    max-width: 100%;
    height: auto;
  }
  #main_box .main_inner {
    margin: 30px 15px;
    padding-right: 0;
    padding-left: 0;
  }
  #main_box .title_line {
    padding-top: 28px;
  }
  #main_box .title_line .page_title {
    border-width: 8px;
    font-size: 24px;
    line-height: 1.2;
    margin-top: 0;
    text-indent: 0;
    padding-left: .5em;
  }
  #main_box .ttl_s {
    font-size: 20px;
    line-height: 1.4;
  }
}

@media screen and (max-width: 767px) and (max-width: 767px) {
  #main_box .linkbox_gray {
    background-position: right 20px center;
    font-size: 15px;
    line-height: 1.4;
    padding: 18px 34px 16px;
  }
}

@media screen and (min-width: 740px) {
  .linkbox_gray br {
    display: none !important;
  }
}

@media screen and (max-width: 767px) {
  #side_box {
    float: none;
    margin-left: auto;
    margin-right: auto;
    display: none;
  }
}

/* csr/matsuri ---- */
.csr_matsuri .main_box_img {
  margin-top: 72px;
  background-color: rgb(29,37,84);
  border-bottom: 30px solid #fff;
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: contain;
}
html[lang="en"] .csr_matsuri .main_box_img {
  padding-bottom: 72%;
  background-image: url(../images/main_bg.jpg);  
}

.csr_matsuri .lead {
  position: relative;
  color: rgb(255,255,255);
  padding-top: calc(960 / 850 * 100%);
  background-image: url(../images/txt_01.svg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
}
.csr_matsuri .lead .image_logo {
  position: absolute;
  top: 0;
  right: 0;
  width: calc(230 / 850 * 100%);
}
.csr_matsuri .lead p {
  padding-top: calc(56 / 794 * 100%);
  padding-right: calc(48 / 794 * 100%);
  padding-left: calc(48 / 794 * 100%);
  font-weight: 700;
  font-size: 112.5%;
  line-height: 2.25;
}


.hide_lead {
  display: none;
}

.csr_list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: -20px;
}

.csr_list li {
  width: calc(320 / 660 * 100%);
  box-sizing: border-box;
  line-height: 1.4;
  margin-bottom: 20px;
}

.csr_list li a {
  border: 1px solid #dedede;
  box-sizing: border-box;
  display: block;
  padding: 10px 10px 20px;
  text-decoration: none;
}

.csr_list li img {
  display: block;
}

.csr_list li img + * {
  margin-top: 18px;
}

.csr_list li span {
  display: block;
  font-weight: bold;
  font-size: 16px;
  padding: 0 50px 0 10px;
  position: relative;
}

.csr_list li span::after {
  background: url(images/link_arrow.png) no-repeat left 0;
  background-size: 8px auto;
  content: '';
  position: absolute;
  right: 10px;
  top: 0;
  bottom: 0;
  width: 8px;
  height: 11px;
  margin: auto;
}

@media screen and (max-width: 767px) {
  .csr_matsuri .main_box_img {
    margin-top: 0;
  }
  .csr_matsuri .lead {
    padding-top: calc(1656 / 750 * 100%);
    background-image: url(../images/txt_01_sp.svg);
  }
  .csr_matsuri .lead .image_logo {
    width: calc(115 / 375 * 100%);
  }
  .csr_matsuri .lead p {
    font-size: 100%;
  }
}

/* csr/matsuri/* ---- */
.foot_nav {
  margin-top: 40px;
  background-color: #f4f4f4;
  padding-top: 40px;
  padding-right: 28px;
  padding-left: 28px;
  padding-bottom: 28px;
}

.foot_nav_ttl {
  border-left: 4px solid #f7af0b;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.2;
  padding-left: 13px;
}

.foot_nav_ttl + * {
  margin-top: 25px;
}

.foot_nav_list {
  display: flex;
  justify-content: space-between;
}

.foot_nav_list li {
  font-weight: bold;
  width: calc(130 / 794 * 100%);
  margin-right: 22px;
  height: 76px;
  position: relative;
  text-align: center;
  line-height: 1.3071428571;
}
.foot_nav_list li:last-child {
  margin-right: 0;
}

.foot_nav_list li a {
  background-color: #fff;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
  padding-top: 2px;
}

.foot_nav_list li.-active::before {
  border: 2px solid #f7af0d;
  box-sizing: border-box;
  content: '';
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.foot_nav_list li.-active a {
  background-color: #fff8dc;
  color: #f7af0d;
  pointer-events: none;
}

.foot_nav_list li:not(:last-child)::after {
  background: url(images/arrow_foot_nav.png) no-repeat left 0;
  background-size: 6px auto;
  content: '';
  display: block;
  position: absolute;
  right: -15px;
  top: 0;
  bottom: 0;
  margin: auto;
  width: 6px;
  height: 9px;
}

@media screen and (max-width: 767px) {
  .foot_nav_list {
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-bottom: -10px;
  }
  .foot_nav_list > li {
    width: 42%;
    height: 60px;
    margin-right: 8%;
    margin-bottom: 10px;
  }
}

/* ---- TOPバナーあり ---- */
.csr_matsuri .social_box a:nth-child(1) {
    width: calc(425 / 850 * 100%);
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}
.csr_matsuri .social_box a:nth-child(2) {
    width: calc(425 / 850 * 100%); 
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.csr_matsuri .social_box a:hover{
  opacity: .75;
}

@media screen and (max-width: 767px) {
  .csr_matsuri .social_box {
    display: block;
  }
  .csr_matsuri .social_box img{
    margin: 5px auto;
  }
}