@charset "UTF-8";
/* CSS Document */

#header{ height: 125px;}
#header .head_wrap {transform: translateY(0%);box-shadow: 0 0 0.25em 0 rgba(0, 0, 0, 0);}
#header .head_wrap .change_day{ display: none;}
#header .sidebar .link{display: none;}
#header .footbtn{ opacity: 1; visibility: visible; transform: translateY(0px);}

@media all and (max-width: 768px) {
#header{ height: 5.5em;}
#header .footbtn{ bottom: 1em;}
}


#breadcrumb{position: absolute;left: 0;right: 0;top: 1em;font-size: 12px;width: 100%;max-width: 1280px;margin: auto;padding: 0 1em;} 


/*
#main.bukyoku{}
#main.bukyoku #single_wrap{ padding: 1px 0;}
#main.bukyoku #ttl_bg{ display: none;}
#main.bukyoku #contents{  transform: translateY(0); margin: 5em auto;}

*/

#single_wrap #ttl_bg{ width: 100%; max-height: 480px; min-height: 350px; overflow: hidden;  max-width: 1280px; margin: auto;}
#single_wrap #ttl_bg img{ display: block; width: 100%; height: 100%; object-fit: cover; object-position: center center;}

#single_wrap #contents{ width: 90%; max-width: 1024px; margin: auto; background: #FFF; padding:3em; border-radius: 0.1em; transform: translateY(-100px);}
#single_wrap #contents h1.co_ttl{ text-align: center; font-size: 1.6em; font-weight: bold; position: relative; line-height: 1.4;}
/*
 padding-bottom: 0.5em; margin-bottom: 0.5em;
#single_wrap #contents h1.co_ttl::after{ content: ""; position: absolute; bottom: 0; right: 0; left: 0; margin: 0 auto; width: 2em; height: 2px; background: #000;}
*/
#single_wrap #contents .cat{ text-align: center;}
#single_wrap #contents .cat span{ display: inline-block; position: relative; margin-right: 0.5em; padding-right: 0.5em;}
#single_wrap #contents .cat span::after{ content: ""; width: 1px; height: 0.8em; position: absolute; right: 0; top: 0; bottom: 0; margin: auto; background: #000;}
#single_wrap #contents .cat span:last-of-type{ margin-right: 0; padding-right: 0;}
#single_wrap #contents .cat span:last-of-type::after{ display: none;}

#header .sidebar{ display: none;}
#header .head_wrap .change_day{ display: none;}



#single_wrap #contents .text_wrap{ max-width: 752px; width: 90%; margin: 3em auto 3em;}
#single_wrap #contents .text_wrap p{ margin-bottom: 1em;}
#single_wrap #contents .text_wrap b,
#single_wrap #contents .text_wrap strong{ font-weight: bold;}


#single_wrap #contents .text_wrap h1 {
  font-size: 1.6em;
  text-align: center;
  color: #007DB8;
  font-weight: 600;
  line-height: 1.3;
  margin: 1.25em 0 0.75em;
  padding: 0 0 0.25em;
  border-bottom: 1px solid;
}
#single_wrap #contents .text_wrap h2 {
  font-size: 1.4em;
  font-weight: 600;
  line-height: 1.3;
  margin: 1.5em auto 0.5em;
  padding: 0;
}
#single_wrap #contents .text_wrap h3 {
  font-size: 1.2em;
  font-weight: 600;
  line-height: 1.3;
  margin: 1em auto 0.5em;
  padding: 0 0 0 0.25em;
  border-left: 0.2em solid;
}
#single_wrap #contents .text_wrap h4 {
  font-size: 1.4em;
  font-weight: 600;
  line-height: 1.3;
  margin: 1.5em auto 0.5em;
  padding: 0;
  color: #007DB8;
  border-bottom: 1px solid #323232;
}
#single_wrap #contents .text_wrap h5 {
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.3;
  margin: 1em auto 0;
  padding: 0;
}
#single_wrap #contents .text_wrap th {
  background-color: #F6F6F6;
}
#single_wrap #contents .text_wrap th, #single_wrap #contents .text_wrap td {
  padding: 0.3em 0.5em;
  border: solid 1px #999999;
}
#single_wrap #contents .text_wrap figure {
  max-width: 100%;
  display: inline-block;
  margin-bottom: 1em;
  vertical-align: top;
}
#single_wrap #contents .text_wrap img {
  width: revert-layer;
}


#single_wrap #contents .text_wrap img{ display: block;  height: auto;}
#single_wrap #contents .text_wrap .aligncenter{ margin: auto;}
#single_wrap #contents .text_wrap .gallery{
display:flex;justify-content:center;align-items:center;}
#single_wrap #contents .text_wrap .gallery .gallery-item{ margin: 0.5em;}





#main .co_btn{ text-align: center;}
#main .co_btn a{ display: inline-block; text-decoration: none; padding: 0.5em 3em; border: 1px solid; background: #FFF; border-radius: 1.5em; min-width: 16em;}


@media all and (max-width: 768px) {
  #single_wrap #ttl_bg{min-height: 0;}
  #single_wrap #ttl_bg img{ height: 16em;}
  #single_wrap #contents h1.co_ttl{}
  #single_wrap #contents h1.co_ttl span{ text-align: left; display: inline-block;}
  
  #single_wrap #contents{ width: 94%;padding:3em 1.5em; transform: translateY(-3em);}
  #single_wrap #contents .text_wrap{width: 100%; }

  #single_wrap #contents h1.co_ttl { font-size: 1.5em;}
  #single_wrap #contents .text_wrap h1 { font-size: 1.5em;}
  #single_wrap #contents .text_wrap h2 { font-size: 1.4em;}
  #single_wrap #contents .text_wrap h3 { font-size: 1.4em;}
  #single_wrap #contents .text_wrap p { font-size: 1.2em;}
}