/*
Theme Name: nest_koba
*/

@charset "utf-8";

html, body, h1, h2, h3, h4, ul, ol, dl, li, dt, dd, p, div, span, img, a, table, tr, th, td {
  margin: 0;
  padding: 0;
  border: 0;
  font-weight: normal;
  font-size: 100%;
  vertical-align:baseline;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
article, header, footer, aside, figure, figcaption, nav, section { 
  display:block;
}
body {
  line-height: 1;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  font: 16px/1.9 'Noto Sans JP', Arial, Verdana, 游ゴシック, YuGothic,'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', メイリオ, Meiryo,sans-serif;
  font-weight: 300;
  -webkit-text-size-adjust:100%;
  overflow-x: hidden;
  color: #333;
}
ol, ul {
  list-style: none;
  list-style-type: none;
}
a {
  color: #333;
  text-decoration: none;
}

a:hover{
  opacity: 0.5;
}
.allContent {
  max-width: 1080px;
  display: block;
  margin: 0 auto;
}
.wrapper {
  width: 800px;
  background: #f4ffff;
  border-radius: 20px;
  float: left;
  margin: 15px 0;
}
.sitetitle,.inner {
  padding: 20px 10px;
  text-align: center;
  font-weight: bold;
}
.mainvisual {
  width: 100%;
  height: auto;
}
.mainvisual img{
  width: 100%;
  object-fit: cover;
}
main .breadcrumbs{
  margin: 0 15px;
}
main .breadcrumbs li {
  display: inline-block;
}
main .breadcrumbs li::after{
  content: ">";
  margin: 0 5px;
}
main .breadcrumbs li:last-child::after{
  display: none;
}
.main_content {
  padding: 0 15px;
}
.content {
  width: 100%;
  display: block;

}
.content p {
  margin-bottom: 20px;
}
.underheading ,.content h2{
  padding: 0px 0 0px 10px;
  margin: 10px 0px 10px 0;
  font-size: 24px;
  font-weight: bold;
  background: #fff;
  border-top: 5px solid #8c6b61;
}
.category_list li {
  margin: 10px;
  width: 47%;
  display: inline-flex;
  padding: 10px;
}
.category_list dl dt {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
  border-bottom: 2px solid #8c6b61;
  line-height: 1.2;
  padding-bottom: 10px;
}
ul.category_list li dl .cap {
  width: 100%;
  display: block;
  margin: 0 auto;
  text-align: center;
}
.cap img {
  border-radius: 100px;
  object-fit: cover;
}

.sidebar {
  display: block;
  float: left;
  width: 250px;
  margin: 15px;
  border-top: 5px solid #8c6b61;
}
.sidebar .sidelist {
  margin: 15px;
}
.sidebar .sidelist dt {
  text-align: center;
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: bold;
}
.sidebar .sidelist dd ul li {
  padding-bottom: 8px;
}

footer {
  clear: both;
  width: 800px;
}

/*-------------------------------
タブレット
-------------------------------*/
@media screen and (max-width: 1080px){
  .wrapper {
    width: 74%;
}
  .sidebar {
    width: 20%;
  }
  footer {
    width: 74%;
  }
}
@media screen and (max-width: 1045px){
  .category_list li {
    width: 45%;
}
ul.category_list {
  display: block;
}

}
/*-------------------------------
スマホ
-------------------------------*/
@media screen and (max-width: 769px){
  p {
    font-size: 14px;
}
.mainvisual img{
  height: 174px;
}
main .breadcrumbs {
  font-size: 14px;
}
.underheading {
  font-size: 18px;
}
.content p img {
  width: 100%;
}
.content img {
  margin: 0 auto;
  display: block;
}
  .wrapper {
    width: 96%;
    margin: 10px;
}
.category_list li {
  width: 95%;
}
.category_list dl dt {
  font-size: 18px;
}
.category_list span {
  font-size: 14px;
}
  .sidebar {
    width: 96%;
    margin: 10px;
  }
  footer {
    width: 96%;
  }
}
