@charset "utf-8";
/*-----------------------------------------------------

  sub.css
  subpage CSS

------------------------------------------------------*/


/*-----------------------------------------------------
  general　
-----------------------------------------------------*/


/*-----------------------------------------------------
  header　
-----------------------------------------------------*/

/*-----------------------------------------------------
  contents
-----------------------------------------------------*/


.breadcrumb {
  margin: 20px 60px 75px;
  text-align: right;
}

.breadcrumb li {
  height: 30px;
  display: inline-block;
  font-size: 1.6em;
  line-height: 30px;
  background: url(../images/common/arrow_breadcrumb.png) no-repeat left center;
  background-size: 7px auto;
  padding-left: 24px;
  padding-right: 10px;
}

.breadcrumb li.home {
  background: url(../images/common/icon_home.png) no-repeat left top;
  background-size: 24px auto;
  padding: 0 15px 0 30px;
}

.breadcrumb a:link {text-decoration:underline; color:#333333;}
.breadcrumb a:visited {text-decoration:underline; color:#333333;}
.breadcrumb a:hover {text-decoration:underline; color:#de5e51;}

#contents {
  margin: 75px 60px;
  display: flex;
}

#contents aside {
  width: 320px;
  margin-right: 60px;
}

aside .chapter_box h3 {
  font-size: 1.6em;
  margin-bottom: 0;
}

aside .chapter_box h2 {
  font-size: 1.8em;
  background: none;
  padding: 0;
}

aside .chapter_box h2::before, aside .chapter_box h2::after {
  height: 1px;
  bottom: -2px;
}

aside .post_list li {
  width: 100%;
  margin-bottom: 7px;
}

aside .post_more {
  font-size: 1.6em;
  margin-top: 10px;
  padding-right: 20px;
}

aside .arrow_down {
  width: 12px;
  height: 15px;
}

#contents main {
  width: calc(100% - 380px);
}

.post_header {
  margin-bottom: 50px;
  padding: 25px 35px;
  background: #f5f5f5;
}

.post_header h2 {
  font-size: 1.8em;
}

.post_header h2 span {
  font-family: 'Roboto Slab', serif;
  color: #de5e51;
  margin-right: 10px;
}

.post_header h1 {
  font-size: 3em;
}


/*---- honbun -----*/

section {
  margin-bottom: 50px;
}

.post_honbun {

}

.post_honbun a:link {text-decoration:underline; color:#4f8ec0;}
.post_honbun a:visited {text-decoration:underline; color:#4f8ec0;}
.post_honbun a:hover {text-decoration:underline; color:#de5e51;}

.post_honbun h3 {
  font-size: 2em;
  position: relative;
  margin-bottom: 30px;
}

.post_honbun h3::after {
  content: "";
  width: 60px;
  height: 2px;
  background: #4f8ec0;
  position: absolute;
  bottom: -5px;
  left: 0;
}

.post_honbun h4 {
  font-size: 1.6em;
  margin-bottom: 15px;
}

.post_honbun h4::before {
  content: '・';
  font-weight: bold;
}

.post_honbun p {
  font-size: 1.6em;
  margin-bottom: 30px;
  display: flex;
}

.indent {
  padding-left: 1em;
}

.photo_left {
  margin: 0 40px 30px 0;
}

.photo_right {
  margin: 0 0 30px 40px;
}

.list_link {
}

.list_link li {
  font-size: 1.6em;
  position: relative;
  margin-bottom: 10px;
  padding-left: 30px;
}

.list_link li::after {
  content: "";
  width: 20px;
  height: 1px;
  background: #4f8ec0;
  position: absolute;
  top: 13px;
  left: 0;
}

.post_honbun .list_link a:link {text-decoration:underline; color:#333;}
.post_honbun .list_link a:visited {text-decoration:underline; color:#333;}
.post_honbun .list_link a:hover {text-decoration:underline; color:#4f8ec0;}

.post_honbun h3 span {
  font-size: 0.85em;
  font-weight: normal;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
}

.gallery_photo {
  width: 240px;
  height: 180px;
  margin-right: 20px;
}

.gallery_photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.medium-zoom-image--opened {
  object-fit: cover;
}


/*---- category ----*/

body#category #contents {
  width: 980px;
  margin: 75px auto;
  display: block;
}

body#category #contents main {
  width: 100%;
}


/*---- about　terms 404 ----*/

body#about #contents, body#terms #contents, body#not_found #contents {
  width: 980px;
  margin: 75px auto;
  display: block;
}

body#about #contents main, body#terms #contents main, body#not_found #contents main {
  width: 100%;
}

p.notfound {
  font-size: 1.6em;
}
/*---- search ----*/

body#search #contents {
  width: 980px;
  margin: 75px auto;
  display: block;
}

body#search #contents main {
  width: 100%;
}


@media screen and (min-width: 768px) {

  aside {
    display: none;
  }

  body#single aside {
    display: block;
  }


}



/*-----------------------------------------------------

  SP layout

------------------------------------------------------*/


@media screen and (max-width: 767px) {


/*-----------------------------------------------------
  SP general　
-----------------------------------------------------*/

html {
  font-size: 62.5%;
}

body {
  min-width: inherit;
  font-size: 1rem;
}

#wrapper {
  max-width: 100%;
}

img { width: 100%; }

.sp_kaigyou {
  display: block;
}

.pc_kaigyou {
  display: inline;
}



/*-----------------------------------------------------
  SP header
------------------------------------------------------*/

#wrapper {
  position: relative;
}
/*-----------------------------------------------------
  SP contents
------------------------------------------------------*/

.breadcrumb {
  width: 100%;
  margin: 15px 0;
  padding: 0 5%;
  text-align: left;
}

.breadcrumb li {
  font-size: 1.4rem;
  padding-left: 18px;
}

.breadcrumb li.home {
  background-size: 20px auto;
  padding: 0 10px 0 25px;
}

#contents {
  margin: 0;
  display: block;
}

body#category #contents, body#about #contents, body#terms #contents, body#not_found #contents, body#search #contents {
  width: 100%;
  margin: 0 0 50px;
}

p.notfound {
  padding: 0 5%;
}

#contents aside {
  width: 100%;
  height: 100%;
  overflow: auto;
  background: #fff;
  margin: 0;
  padding: 50px 5%;
  position: fixed;
  top: 0;
  right: -100%;
  -webkit-transition: all .3s;
	transition: all .3s;
  z-index: 999;
}

#contents aside.open-menu {
  right: 0;
}

#contents main {
  width: 100%;
}

.post_header {
  margin-bottom: 30px;
  padding: 15px;
}

.post_header h2 {
  font-size: 1.4rem;
}

.post_header h1 {
  font-size: 2rem;
}

.post_honbun {
  padding: 0 5%;
}

.post_honbun h3 {
  font-size: 1.6rem;
  margin-bottom: 15px;
}

.post_honbun h3::after {
  width: 30px;
  bottom: -2px;
}

.post_honbun h4 {
  margin-bottom: 7px;
}

.post_honbun p {
  margin-bottom: 15px;
  font-size: 1.4rem;
  display: block;
}

.photo_right, .photo_left {
  margin: 15px 0 15px 0;
}

.list_link li {
  font-size: 1.4rem;
}

.gallery_photo {
  width: 100%;
  height: auto;
  aspect-ratio: 3/2;
  margin: 0 20px 20px 0;
}












}
