@font-face {
  font-family: 'Sawarabi Mincho';
  font-style: normal;
  font-weight: 400;
  src: url(https://fonts.gstatic.com/ea/sawarabimincho/v1/SawarabiMincho-Regular.eot);
  src: url(https://fonts.gstatic.com/ea/sawarabimincho/v1/SawarabiMincho-Regular.eot?#iefix) format("embedded-opentype"), url(https://fonts.gstatic.com/ea/sawarabimincho/v1/SawarabiMincho-Regular.woff2) format("woff2"), url(https://fonts.gstatic.com/ea/sawarabimincho/v1/SawarabiMincho-Regular.woff) format("woff"), url(https://fonts.gstatic.com/ea/sawarabimincho/v1/SawarabiMincho-Regular.ttf) format("truetype");
}

/**
 * 1705established
 */
.estab_hero_wrap {
  max-width: 1040px;
  margin-right: auto;
  margin-left: auto;
  padding-top: 10px;
  text-align: center;
}

.estab_slider_wrap {
  max-width: 790px;
  margin-right: auto;
  margin-left: auto;
  padding: 30px 10px;
}

.estab_slider .slick-slide {
  margin-right: 5px;
  margin-left: 5px;
}

.estab_slider_slide_inner {
  text-align: center;
}

.estab_slider_slide_inner:hover {
  opacity: 0.7;
  transition: opacity 0.2s;
}

.estab_slider_year {
  font-size: 15px;
  font-weight: bold;
  color: #9b9795;
}

/*
.estab_slider_img {
  img {
    border: 1px solid #9b9795;
  }
}
*/
.estab_slider_text {
  margin-top: 10px;
  font-size: 12px;
}

@media (min-width: 768px), print {
  .estab_slider_year {
    font-size: 26px;
  }
  .estab_slider_text {
    font-size: 16px;
  }
}

.estab_nav_wrap {
  display: -webkit-box;
  display: flex;
  flex-wrap: wrap;
  max-width: 1040px;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 50px;
  padding-right: 8px;
}

.estab_nav_item {
  position: relative;
  margin: 5px 0;
  padding: 0 10px 0 20px;
}

.estab_nav_item::before, .estab_nav_item::after {
  content: '';
  position: absolute;
  background-color: #e9e7e7;
  left: 0;
  right: 0;
  height: 51%;
  border-right: 2px solid #fff;
}

.estab_nav_item::before {
  top: 0;
  -webkit-transform-origin: 0 0;
          transform-origin: 0 0;
  -webkit-transform: skew(20deg);
          transform: skew(20deg);
}

.estab_nav_item::after {
  bottom: 0;
  -webkit-transform-origin: 0 100%;
          transform-origin: 0 100%;
  -webkit-transform: skew(-20deg);
          transform: skew(-20deg);
}

.estab_nav_item:first-child {
  background-color: #e9e7e7;
}

.estab_nav_item_inner {
  display: -webkit-box;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
          flex-direction: column;
  -webkit-box-pack: center;
          justify-content: center;
  -webkit-box-align: center;
          align-items: center;
  position: relative;
  z-index: 1;
  width: 80px;
  height: 50px;
  text-align: center;
  background: url(../img/common/ico_arrow_down02.png) no-repeat 50% 90%;
  background-size: 10px auto;
}

.estab_nav_item_inner:hover {
  color: #ab0012;
}

.estab_nav_title {
  margin-bottom: 3px;
  font-size: 12px;
  line-height: 1;
  font-weight: bold;
}

.estab_nav_text {
  font-size: 10px;
  line-height: 1.2;
  font-weight: bold;
}

@media (min-width: 768px), print {
  .estab_nav_item_inner {
    width: 140px;
    height: 100px;
    background-size: auto;
  }
  .estab_nav_title {
    font-size: 21px;
  }
  .estab_nav_text {
    font-size: 15px;
  }
}

.estab_head_wrap {
  position: relative;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: cover;
  color: #fff;
}

.estab_head_wrap::before {
  content: '';
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(35, 24, 21, 0.75);
}

.estab_head_wrap.var01 {
  background-image: url(../img/topics/estab_head_img01_sp.jpg);
}

.estab_head_wrap.var02 {
  background-image: url(../img/topics/estab_head_img02_sp.jpg);
}

.estab_head_wrap.var03 {
  background-image: url(../img/topics/estab_head_img03_sp.jpg);
}

.estab_head_wrap.var04 {
  background-image: url(../img/topics/estab_head_img04_sp.jpg);
}

.estab_head_wrap.var05 {
  background-image: url(../img/topics/estab_head_img05_sp.jpg);
}

.estab_head_wrap.var06 {
  background-image: url(../img/topics/estab_head_img06_sp.jpg);
}

/**
 * Calendar
 */
.estab_head_inner {
  position: relative;
  z-index: 2;
  max-width: 800px;
  min-height: 220px;
  margin-right: auto;
  margin-left: auto;
  padding: 15px 10px 10px 10px;
}

.estab_head_title {
  margin-bottom: 15px;
  font-size: 25px;
  line-height: 1;
  text-align: center;
}

.estab_head_title_sub {
  display: block;
  margin-top: 10px;
  font-size: 15px;
}

.estab_head_text {
  font-size: 12px;
}

.estab_calen_group {
  background-color: #e9e7e7;
}

.estab_calen_item {
  max-width: 1040px;
  margin: 0 auto;
  padding: 15px;
  color: #231815;
}

.estab_calen_body02 {
  padding-left: 20px;
  position: relative;
}

.estab_calen_body02::before {
  content: '';
  position: absolute;
  top: 0.3em;
  left: 0;
  height: 12px;
  width: 12px;
  border: 2px solid #ab0012;
  background-color: #f0d3d8;
  border-radius: 100px;
}

.estab_calen_title01, .estab_calen_title02 {
  font-weight: bold;
  font-size: 15px;
  line-height: 1.4;
}

.estab_calen_title01 {
  color: #000;
}

.estab_calen_text {
  margin-bottom: 10px;
}

.estab_calen_img {
  border: 1px solid #9b9795;
}

.estab_calen_caption {
  display: block;
  margin-top: 5px;
}

@media (min-width: 768px), print {
  .estab_head_wrap {
    background-size: auto;
  }
  .estab_head_wrap.var01 {
    background-image: url(../img/topics/estab_head_img01_pc.jpg);
  }
  .estab_head_wrap.var02 {
    background-image: url(../img/topics/estab_head_img02_pc.jpg);
  }
  .estab_head_wrap.var03 {
    background-image: url(../img/topics/estab_head_img03_pc.jpg);
  }
  .estab_head_wrap.var04 {
    background-image: url(../img/topics/estab_head_img04_pc.jpg);
  }
  .estab_head_wrap.var05 {
    background-image: url(../img/topics/estab_head_img05_pc.jpg);
  }
  .estab_head_wrap.var06 {
    background-image: url(../img/topics/estab_head_img06_pc.jpg);
  }
  .estab_head_inner {
    min-height: 260px;
    padding: 40px 10px 10px 10px;
  }
  .estab_head_title {
    font-size: 35px;
  }
  .estab_head_title_sub {
    font-size: 20px;
  }
  .estab_head_text {
    font-size: 16px;
  }
  .estab_calen_item {
    display: -webkit-box;
    display: flex;
    position: relative;
    padding: 30px 15px;
  }
  .estab_calen_item::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 153px;
    width: 4px;
    background-color: #ab0012;
  }
  .estab_calen_body01 {
    display: inline-block;
    width: 130px;
  }
  .estab_calen_body02 {
    display: inline-block;
    -webkit-box-flex: 1;
            flex: 1;
    padding-left: 65px;
    position: relative;
  }
  .estab_calen_body02::before {
    content: '';
    position: absolute;
    top: 0.4em;
    height: 20px;
    width: 20px;
  }
  .estab_calen_title01 {
    display: inline-block;
    font-size: 28px;
    text-align: center;
  }
  .estab_calen_title01_sub {
    display: block;
    font-size: 16px;
  }
  .estab_calen_title02 {
    font-size: 22px;
  }
}

/**
 * Calendar menu
 */
@media (max-width: 960px) {
  .estab_page .footer_wrap {
    margin-bottom: 50px;
  }
  .calen_menu_wrap {
    position: fixed;
    z-index: 10;
    right: 0;
    bottom: 0;
    left: 0;
    display: -webkit-box;
    display: flex;
    border-right: 1px solid #9b9795;
  }
  .calen_menu_item {
    display: -webkit-box;
    display: flex;
    -webkit-box-pack: center;
            justify-content: center;
    -webkit-box-align: center;
            align-items: center;
    height: 50px;
    width: 16.666666%;
    background-color: #e9e7e7;
    font-weight: bold;
    color: #ab0012;
    border: 1px solid #9b9795;
    border-right: none;
  }
  .calen_menu_item.js_calenmenuactive {
    background-color: #ccc;
  }
  .calen_menu_text {
    text-align: center;
  }
  .calen_menu_text_sub {
    display: none;
  }
}

@media (min-width: 961px) {
  .calen_menu_wrap {
    position: fixed;
    z-index: 10;
    top: 50%;
    right: 30px;
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
  }
  .calen_menu_item {
    position: relative;
    display: block;
    height: 50px;
    width: 20px;
    color: #ab0012;
    font-weight: bold;
    line-height: 1;
  }
  .calen_menu_item::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    display: block;
    width: 10px;
    height: 10px;
    border: 1px solid #ab0012;
    border-radius: 100px;
    background-color: #fff;
  }
  .calen_menu_item:hover::after, .calen_menu_item.js_calenmenuactive::after {
    background-color: #ab0012;
  }
  .calen_menu_text {
    position: absolute;
    right: 100%;
    top: 50%;
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
            flex-direction: column;
    -webkit-box-pack: center;
            justify-content: center;
    -webkit-box-align: center;
            align-items: center;
    width: 130px;
    height: 56px;
    margin-right: 15px;
    padding-left: 10px;
    background: rgba(255, 255, 255, 0.7);
    visibility: hidden;
    opacity: 0;
    -webkit-transform: translate3d(-80%, -50%, 0);
            transform: translate3d(-80%, -50%, 0);
    transition-property: opacity, -webkit-transform;
    transition-property: transform, opacity;
    transition-property: transform, opacity, -webkit-transform;
    transition-duration: 0.4s, 0.5s;
  }
  .calen_menu_text::after {
    content: '';
    position: absolute;
    top: 0;
    left: 100%;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 28px 0 28px 15px;
    border-color: transparent transparent transparent rgba(255, 255, 255, 0.7);
  }
  .calen_menu_item:hover .calen_menu_text {
    visibility: visible;
    opacity: 1;
    -webkit-transform: translate3d(0, -50%, 0);
            transform: translate3d(0, -50%, 0);
  }
  .calen_menu_text_sub {
    display: block;
    margin-top: 5px;
    font-size: 0.8em;
  }
}
