/* =================================
  joglis CSS
================================= */

body {
  -webkit-text-size-adjust: 100%;
}

/*  Layout
============================== */

.joglis b {
  color: #06436c;
}

.joglis main.inner h1 {
  text-indent: 110%;
  white-space: nowrap;
  overflow: hidden;
}

.joglis .line {
  background-color: #fdd66b;
}

.joglis .kome_list {
  font-size: 90%;
  color: #434343;
  margin-top: 1em;
}

.joglis .kome_list li {
  padding-left: 1.5em;
  text-indent: -1.5em;
}

@media all and (min-width: 768px) {
  .joglis main.inner h1 {
    width: 960px;
    height: 493px;
    background-image: url(../img/joglis/inner_h1_joglis.jpg?20171208);
    position: relative;
  }
  .joglis div.contents {
    padding: 0;
  }
  .text_area {
    padding: 25px 70px 35px;
  }
  main.inner {
    background-image: url(../img/inner_bottom.png), url(../img/inner_center.png);
    background-repeat: no-repeat, repeat-y;
    background-position: left bottom, left top;
    box-shadow: 0px 0px 5px #898989;
    overflow: hidden;
    width: 960px;
    margin: 17px 0 0 10px;
  }
}

@media all and (max-width: 767px) {
  .joglis main.inner h1 {
    width: 100%;
    background-image: url(../img/joglis/inner_h1_smp_joglis.jpg?20171208);
    position: relative;
    height: 0;
    padding-top: 49.6828%;
    background-size: contain;
    border: none;
    margin: 0;
  }
  .text_area{
    margin-bottom:2em;
}
  .text_box {
    margin-bottom:1em;
  }
}


/*  sub_tit
============================== */

.sub_tit {
  position: relative;
  text-indent: 110%;
  white-space: nowrap;
  overflow: hidden;
}

@media all and (min-width: 768px) {
  .sub_tit {
    margin: 35px auto 20px;
    width: 820px;
    height: 50px;
    background-size: 820px 50px;
  }
}

@media all and (max-width: 767px) {
  .sub_tit {
    margin: 20px 0 15px 0;
    width: 175px;
    height: 35px;
    background-size: 574px 35px;
    /*PCサイズの0.7*/
  }
}

.sub_tit1 {
  background-image: url(../img/joglis/sub_tit1.png);
}

.sub_tit2 {
  background-image: url(../img/joglis/sub_tit2.png);
}

.sub_tit3 {
  background-image: url(../img/joglis/sub_tit3.png);
}


/*  joglis_info
============================== */

@media all and (min-width: 768px) {
  .joglis_info>p {
    float: left;
    width: 450px;
  }
}

@media all and (max-width: 767px) {
  .joglis_info>p {
    margin-bottom: 1em;
  }
}


/*  joglis_info_table
============================== */

.joglis_info_table_area {
  background-color: #e3f4f7;
}

.joglis_info_table td {
  vertical-align: top;
  color: #06436c;
}

@media all and (min-width: 768px) {
  .joglis_info_table_area {
    float: right;
    width: 290px;
    padding: 12px;
  }
}

@media all and (max-width: 767px) {
  .joglis_info_table_area {
    padding: 12px;
  }
}


/*  attention_list
============================== */

.attention_list {
  margin-bottom: 1em;
}

.attention_list li {
  padding-left: 1.5em;
  text-indent: -1.5em;
  margin-top: 1em;
}


/*  pics
============================== */

div.pic_area span {
  display: block;
  background-repeat: no-repeat;
  border: 4px solid #fdd66b;
  background-color: #fdd66b;
}

div.pics .pic_1 {
  background-image: url(../img/joglis/pic_1.jpg);
}

@media all and (min-width: 768px) {
  div.pic_area span {
    margin: 5px 0 30px 30px;
    float: right;
  }
  div.pics span {
    width: 290px;
    height: 194px;
    background-size: 290px 194px;
  }
}

@media all and (max-width: 767px) {
  div.pic_area span {
    margin: 15px auto 20px;
    display: block;
    background-repeat: no-repeat;
    background-position: center center;
  }
  div.pics span {
    width: 250px;
    height: 167px;
    background-size: 250px 167px;
  }
}


/*  pics
============================== */

li.pic_box_l {
  display: block;
  color: #6f4d2e;
}

li.pic_box_l .ph {
  border: 4px solid #fdd66b;
  background-color: #fdd66b;
  display: block;
}

div.pic_l span {
  display: block;
}

div.pic_l .pic_2 {
  background-image: url(../img/joglis/pic_2.jpg);
}

div.pic_l .pic_3 {
  background-image: url(../img/joglis/pic_3.jpg);
}

@media all and (min-width: 768px) {
  .pic_area_l {
    margin: 20px 0 0 75px;
    width: 820px;
  }
  li.pic_box_l {
    margin-right: 15px;
    float: left;
  }
  li.pic_box_l:nth-child(2n) {
    margin-right: 0px;
  }
  li.pic_box_l .ph {
    margin: 20px auto 10px;
    padding: 0 0px;
  }
  div.pic_l span {
    width: 320px;
    height: 213px;
    background-size: 320px 213px;
  }
}

@media all and (max-width: 767px) {
  .ph {
    margin: 20px auto 10px;
    background-repeat: no-repeat;
    background-position: center center;
    display: block;
    width: 250px;
  }
  div.pic_l span {
    width: 250px;
    height: 167px;
    background-size: 250px 167px;
  }
}


/*  accordion_box
============================== */

.accordion_box .tit {
  cursor: pointer;
  position: relative;
  text-indent: 110%;
  white-space: nowrap;
  overflow: hidden;
  background-position: top right, top left;
  background-repeat: no-repeat, no-repeat;
  /*box-shadow: 0 3px 0 #81d1df;*/
}

.accordion_box .tit.active {
  background-position: top right, top left;
  background-repeat: no-repeat, no-repeat;
}

.accordion_box .content {
  display: none;
}

@media all and (min-width: 768px) {
  .accordion_box .tit {
    margin: 15px auto 0px;
    width: 820px;
    height: 50px;
  }
  .toukou_box .tit {
    background-image: url(../img/joglis/open_icon.png), url(../img/joglis/sub_tit1.png);
  }
  .toukou_box .tit.active {
    background-image: url(../img/joglis/close_icon.png), url(../img/joglis/sub_tit1.png);
  }
  .joglis_info_box .tit {
    background-image: url(../img/joglis/open_icon.png), url(../img/joglis/sub_tit2.png);
  }
  .joglis_info_box .tit.active {
    background-image: url(../img/joglis/close_icon.png), url(../img/joglis/sub_tit2.png);
  }
  .doui_box .tit {
    background-image: url(../img/joglis/open_icon.png), url(../img/joglis/sub_tit3.png);
  }
  .doui_box .tit.active {
    background-image: url(../img/joglis/close_icon.png), url(../img/joglis/sub_tit3.png);
  }
  .accordion_box .content {
    padding: 20px;
  }
}

@media all and (max-width: 767px) {
  .accordion_box .tit {
    margin: 20px 0 0px 0;
    width: 100%;
    height: 35px;
    border-bottom: 3px solid #abeaf5;
  }
  .toukou_box .tit {
    background-image: url(../img/joglis/open_icon_smp.png), url(../img/joglis/sub_tit1_smp.png);
  }
  .toukou_box .tit.active {
    background-image: url(../img/joglis/close_icon_smp.png), url(../img/joglis/sub_tit1_smp.png);
  }
  .joglis_info_box .tit {
    background-image: url(../img/joglis/open_icon_smp.png), url(../img/joglis/sub_tit2_smp.png);
  }
  .joglis_info_box .tit.active {
    background-image: url(../img/joglis/close_icon_smp.png), url(../img/joglis/sub_tit2_smp.png);
  }
  .doui_box .tit {
    background-image: url(../img/joglis/open_icon_smp.png), url(../img/joglis/sub_tit3_smp.png);
  }
  .doui_box .tit.active {
    background-image: url(../img/joglis/close_icon_smp.png), url(../img/joglis/sub_tit3_smp.png);
  }
  .accordion_box .content {
    padding: 15px 10px 10px;
    font-size: 90%;
  }
}


/*  extra_area
============================== */
.extra_area {
  overflow: hidden;
}

.extra_area ul {
  margin: 0 auto;
  text-align: center;
  overflow: hidden;
}

.extra_area li {
  position: relative;
  /*background-image:url(../img/extra/extra_box_bg.png);*/
  background-color: #e3f4f7;
  float: left;
}

.extra_area li a {
  text-decoration: none;
  color: #06436c;
}

.extra_area li .lazy {
  background-size: cover;
}

.extra_area li .date {
  color: #06436c;
  font-weight: bold;
}

.extra_area li .area {
  font-weight: bold;
  line-height: 1.3;
}

@media all and (min-width: 768px) {
  .extra_area {
    width: 840px;
    margin: 20px auto 40px;
  }
  .extra_area ul {}
  .extra_area li {
    width: 250px;
    /*min-height: 200px;*/
    margin: 7px;
    padding: 5px;
  }
  .extra_area li a {
    display: block;
  }
  .extra_area li a:hover {
    opacity: 0.7;
  }
  .extra_area li .lazy {
    width: 250px;
    height: 187px;
    display: block;
    margin-bottom: 5px;
  }
  .extra_area li .date {
    padding: 3px;
    font-size: 85%;
  }
}

@media all and (max-width: 767px) {
  .extra_area {
    margin: 20px auto 0;
    width: 100%;
    padding-bottom: 1em;
  }
  .extra_area ul {
    width: 100%;
    letter-spacing: -0.5em;
  }
  .extra_area li {
    display: inline-block;
    width: 32%;
    margin: 0px 2% 0px 0;
    padding: 4px 4px 4px;
    vertical-align: top;
    box-sizing: border-box;
  }
  .extra_area li:nth-child(3n) {
    margin: 0px 0% 10px 0;
  }
  .extra_area li .lazy {
    width: 100%;
    height: 0;
    padding-top: 75%;
    margin-bottom: 0.2em;
  }
  .extra_area li span {
    letter-spacing: 0.1em;
  }
  .extra_area li .date {
    padding: 3px;
    font-size: 60%;
  }
  .extra_area li .area {
    display: block;
    padding: 3px;
    font-size: 85%;
  }
}

/*  info_text
============================== */
  p.info_text{
    text-align: center;
    color: #06436c;
}
@media all and (min-width: 768px) {
  p.info_text{
    margin:30px 0 0px; 
}
}
@media all and (max-width: 767px) {
  p.info_text{
    margin:30px 0 0px; 
    font-size: 90%;
}
}

