@charset "UTF-8";
/*
 Theme Name: SANGO Child 2020
 Theme URI: https://saruwakakun.design
 Author: SARUWAKA
 Author URI: https://saruwakakun.com
 Template: sango-theme
 Version: 4.0
*/
/*こちらはSANGOの子テーマ用CSSです。以下にCSSを記入していきましょう。*/

@font-face {
  font-family: "Lato";
  src: url(fonts/Lato-Bold.woff2) format("woff2"),
  url(fonts/Lato-Bold.woff) format("woff"),
  url(fonts/Lato-Bold.eot) format("eot");
  font-weight: 700;
  font-style: bold;
}

body{
  background-color: #FFF;
  color: #272626;
}

/* 指定デバイスのみで表示するclass */
@media (min-width:1024px){
  .tb:not(.pc){
    display: none;
  }
  .sp:not(.pc){
    display: none;
  }
}
@media (min-width:768px) and (max-width:1023px){
  .pc:not(.tb){
    display: none;
  }
  .sp:not(.tb){
    display: none;
  }
}
@media (max-width:767px){
  .pc:not(.sp){
    display: none;
  }
  .tb:not(.sp){
    display: none;
  }
}

body:not(.home) .header,
body.home.paged .header{
  height: 100px;
  background: #FFF;
}

.header{
  background: #FFF !important;
}
.header .logo{
  position: absolute;
  z-index: 3;
  top: 15px;
  left: 25px;
  width: 275px;
  margin: 0;
}
/*.header .header-search{
  z-index: 3;
}*/

.header .search{
  display: flex;
  align-items: center;
  position: absolute;
  z-index: 3;
  right: 20px;
  top: 10px;
}
.header .search form{
  position: relative;
}
.header .search form input{
  background: #FFF;
  border: 2px solid #dbdbdb;
  border-radius: 8px;
  width: 380px;
  height: 40px;
  margin: 0;
}
.header .search form button{
  background: none;
  border: 0;
  color: #dbdbdb;
  position: absolute;
  top: 50%;
  right: 10px;
  -webkit-transform: translate(0, -50%);
  transform: translate(0, -50%);
}
.header .search .gnav_btn{
  /*height: 100%;*/
  margin-left: 10px;
}
.header .search .gnav_btn a{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  background-color: #77bd0e;
  border-radius: 50%;
  text-decoration: none;
}
.header .search .gnav_btn a i{
  font-size: 24px;
  color: #FFF;
}

.header .search.sp{
  display: none;
}

.mv{
  width: 100%;
  height: 580px;
  /*display: flex;
  justify-content: center;
  align-items: center;*/
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  
  position: relative;
  overflow: hidden;
}
.mv .mv_video{
  position: absolute;
  width: 100%;
  height: auto;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  z-index: 1;
}
.mv .mv_img{
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  z-index: 2;
}

@media(max-width:1279px){
  .mv{
    height: 400px;
  }
  .mv .mv_video{
    /*width: auto;*/
    /*height: 100%;*/
  }
}

@media(max-width:767px){
  .mv{
    height: 350px;
  }
  .mv .mv_video{
    width: auto;
    height: 100%;
  }
}

/*  */
.gnav{
  /*display: none;*/
  
  position: fixed;
  z-index: 9999;
  background: #FFF;
  border-top: 2px solid #ffa191;
  top: 80px;
  bottom: 0px;
  left: 0px;
  right: 0px;
  overflow-y: auto;
  padding: 0 10px;
  -webkit-transform: translateX(100%);
  transform: translateX(100%);
  
}
.gnav.active{
  /*display: block;*/
  -webkit-transform: translateX(0%);
  transform: translateX(0%);
}

#footer-menu{
  padding: 0;
  padding-top: 20px;
  background-color: #fff !important;
  color: #272626;
  border-top: 2px solid #77bd0e;
}
#footer-menu a{
  color: #272626 !important;
  
}
#footer-menu nav{
  padding: 30px 0;
}
footer .copyright {
  background: #77bd0e;
  padding: 10px;
}



.archive main#main{
  
}
#archive_header{
  /*background: #ffebe8;*/
  margin: 0;
  border: 0;
  border-radius: 10px 10px 0 0;
  border: 2px solid;
  border-bottom: 0;
  border-color: #f6f6f6 !important;
}
#archive_header + .sidelong{
  border-radius: 0 0 10px 10px;
  border-top: 0;
}

#entry{
  /*background: #ffebe8;*/
  /*box-shadow: 0px 0px 1px 2px #f6f6f6;*/
  border: 2px solid #f6f6f6;
  border-radius: 10px;
}

#breadcrumb li a{
  background: #fbbc2c;
  color: #FFF;
  padding: 3px;
  border-radius: 4px;
}

#archive_header{
  padding-left: 50px;
  padding-right: 50px;
}
#archive_header h1{
  background-image: url('img/cat_bg.png');
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 100% auto;
  /*height: 123px;*/
  padding-top: 15.37%;;
  padding-left: 15px;
  font-size: 24px;
  color: #FFF;
  position: relative;
}
#archive_header h1 span{
  position: absolute;
    top: 71%;
    transform: translateY(-50%);
}

@media (max-width:1360px){
  #archive_header h1{
    background-size: 100% auto;
    font-size: 20px;
  }
}
@media (max-width:1023px){
  #archive_header h1{
    font-size: 16px;
  }
}
@media (max-width:767px){
  #archive_header{
    padding-left: 10px;
    padding-right: 10px;
  }
  #archive_header h1{
    background-size: 100% auto;
    background-image: url('img/cat_bg_sp.png');
    
    padding-top: 15.34%;
    height: auto;
    position: relative;
  }
  #archive_header h1 span{
    
  }
}

@media (max-width:580px){
  #archive_header h1{
    font-size: 14px;
  }
}



.tt2{
  display: flex;
  justify-content: center;
  font-size: 22px;
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-weight: 500;
  text-align: center;
  margin-bottom: 30px;
  
}
.tt2:before,
.tt2:after{
  content: "";
  display: inline-block;
  width: 28px;
  height: 21px;
  background-repeat: no-repeat;
  background-position: left top, right top;
  margin-top: 10px;
}
.tt2:before{
  background-image: url('img/tt2_bg1.png');
}
.tt2:after{
  background-image: url('img/tt2_bg2.png');
}

.tt2 em{
  font-family: "Lato";
  font-style: normal;
  font-weight: bold;
}
.tt2 em.em1{
  font-size: 26px;
  margin-right: 5px;
}
.tt2 em.em2{
  display: block;
  font-size: 14px;
  color: #ffa191;
  margin-top: 5px;
}
.tt2 span{
  margin: 0 10px;
}

.home_posts_wrap{
  width: 100%;
  float: left;
  /*background: #ffebe8;*/
  /*box-shadow: 0px 0px 1px 2px #f6f6f6;*/
  border: 2px solid #f6f6f6;
  padding: 20px 25px;
  border-radius: 10px;
  margin-bottom: 50px;
}


.post_items{
  display: flex;
  margin-left: -20px;
  margin-right: -20px;
}
.post_items .item{
  width: 33.33333%;
  padding-left: 20px;
  padding-right: 20px;
  background: none;
  box-shadow: none;
  margin: 0;
  font-size: 15px;
}
.post_items .item a{
  text-decoration: none;
  color: #272626;
}
.post_items .item .img{
  width: 100%;
  /*padding-top: calc(100% - 10px);*/
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  border-radius: 50%;
  border: 5px solid #ffa495;
  margin-bottom: 25px;
}
.post_items .item .img:before{
  content: "";
  display: block;
  padding-top: 100%;
}
.post_items .item .meta{
  
}
.post_items .item .meta .cat_icon{
  background: #fbbc2c;
  border-radius: 4px;
  color: #FFF;
  padding: 3px;
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: 14px;
}
.post_items .item .meta .pubdate{
  
}
.post_items .item .meta .title{
  line-height: 1.6;
}

.cardtype,
.sidelong{
  width: 100%;
  padding: 30px 50px;
  /*background: #ffebe8;*/
  /*box-shadow: 0px 0px 1px 2px #f6f6f6;*/
  border: 2px solid #f6f6f6;
  float: left;
  border-radius: 10px;
}
.sidelong__article{
  
  width: 100%;
  
  margin-right: 0;
}
.sidelong__img{
  width: 285px;
  height: 170px;
}
.sidelong__article-info{
  width: calc(100% - 385px);
}
.sidelong__article-info .cat_icon{
  background-color: #fbbc2c;
  color: #FFF;
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: 14px;
  margin-right: 10px;
  padding: 3px;
  border-radius: 4px;
}
.sidelong__article-info .pubdate {
  display: inline-block;
  color: #272626;
}
.sidelong__article-info h2{
  border-top: 1px dotted;
  margin-top: 10px;
  padding-top: 10px;
  height: calc(4.2em + 10px);
  color: #272626;
}

/* カテゴリ一覧 */
.archive .sidelong{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.archive .sidelong .sidelong__article{
  width: 49%;
  margin-left: 0;
  margin-right: 0;
}

.archive .sidelong .sidelong__link{
  display: block;
}
.archive .sidelong .sidelong__link .sidelong__img,
.archive .sidelong .sidelong__link .sidelong__article-info{
  display: block;
  width: 100%;
}
.archive .sidelong .sidelong__link .sidelong__img{
  height: auto;
  overflow: hidden;
  margin-bottom: 10px;
  
}
.archive .sidelong .sidelong__link .sidelong__img img{
  border-radius: 3px 3px 0 0;
}
.archive .sidelong .sidelong__article .entry-time.pubdate{
  color: #fbbc2c;
}


.archive .sidelong .sidelong__article:first-child{
  width: 100%;
}
.archive .sidelong .sidelong__article:first-child .sidelong__img{
  height: auto;
  overflow: hidden;
  
}




/* サイドメニュー */
.sidebar{
  /*background: #ffebe8;*/
  border-radius: 10px;
}
.insidesp{
  /*padding: 18px !important;*/
  padding: 0 !important;
}

.single #inner-content, 
.page #inner-content{
  align-items: flex-start;
}

.widget{
  background: #ffa191;
  padding: 10px;
  margin-bottom: 25px;
  border-radius: 10px;
}
.gnav h4:first-child, 
#sidebar1 h4:first-child, 
#nav_drawer h4:first-child{
  background-color: #FFF;
  border-radius: 10px;
  color: #ffa191;
}
.sidebar .has-fa-before:before{
  color: #77bd0e;
}

.widget h4 + *{
  background-color: #FFF;
  margin-top: 10px;
  border-radius: 10px;
}
.widget ul li a{
  color: #272626;
}
.widget ul li + li{
  border-top: 1px solid #ffa191;
}

.widget.widget_custom_html{
  background: none;
  padding: 10px 0 0;
}
.widget .custom_links{
  
}
.widget .custom_links li{
  
}
.widget .custom_links li + li{
  border: 0;
  margin-top: 15px;
}
.widget .custom_links li a{
  background-color: #ffa191;
  color: #FFF;
  padding: 3px 4px;
  border-radius: 28px;
  display: flex;
  align-items: center;
}
.widget .custom_links li a:before{
  content: "";
  width: 50px;
  height: 50px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  margin-right: 15px;
}
.widget .custom_links li.icon1 a:before{
  background-image: url('img/icon1.png');
}
.widget .custom_links li.icon2 a:before{
  background-image: url('img/icon2.png');
}
.widget .custom_links li.icon3 a:before{
  background-image: url('img/icon3.png');
}
.widget .custom_links li a:after{
  content: "▶";
  width: 42px;
  height: 100%;
  margin-left: auto;
  border-left: 1px solid #FFF;
  
  text-align: center;
}
.widget .custom_links li a:hover{
  background-color: #ff907d;
}

/*
#searchsubmit, #toc_container .toc_title:before, .ez-toc-title-container:before, .cat-name, .pre_tag > span, .pagination .current, #submit, .withtag_list > span, .main-bc-before li:before{
  background-color: #77bd0e;
}
#toc_container .toc_title, .entry-content .ez-toc-title-container, #footer_menu .raised, .pagination a, .pagination span, #reply-title:before, .entry-content blockquote:before, .main-c-before li:before, .main-c-b:before{
  color: #77bd0e;
}
*/

/* 記事ページ */

#toc_container p.toc_title{
  padding-left: 60px;
}
.entry-content h2{
  background-color: #f5fdf7;
  background-image: url('img/icon4.png');
  background-repeat: no-repeat;
  background-position: left 10px center;
  border-bottom: 3px solid #77bd0e;
  color: #646262;
  padding: 10px 10px 10px 60px;
} 
.entry-content h3{
  
}
.entry-content h4{
  border-bottom: 3px solid #77bd0e;
}
.entry-content table,
.entry-content ul,
.entry-content ol{
  /*background-color: #FFF;*/
  background-color: #f5fdf7;
}
.entry-content ul, 
.entry-content ol{
  border: solid 2px #b2da77;
}
.entry-content table,
.entry-content tr,
.entry-content tr:not(:last-child),
.entry-content td{
  border-color: #b2da77;
}

/* 404ページ */
.notfound, .nofound-contents{
  /*background: #ffebe8;*/
  margin-right: 0;
}
.notfound{
  padding: 50px;
}
.nofound-contents{
  padding: 0;
}
.nofound-contents #searchform input#s{
  background: #FFF;
  border: 2px solid #77bd0e;
}
.withtag_list {
  border: 2px solid #77bd0e;
  border-radius: 5px;
}
.withtag_list h4{
  display: flex;
  justify-content: space-between;
  background-image: url('img/tt4_bg.jpg');
  color: #FFF;
  margin: 0;
  padding: 0px 15px;
}
.withtag_list h4 span{
  color: #baed6e;
}
.withtag_list ul{
  background:#FFF;
  list-style: none;
  padding-left: 15px;
}
.withtag_list ul li{
  
}
.withtag_list ul li a:before{
  content: "▶";
}

.nofound-title:before{
  display: none;
}
.nofound-title{
  text-align: center;
  color: #fbbc2c;
  background: #FFF;
}
.nofound-title .txt1{
  font-size: 24px;
}
.nofound-title .txt1 img{
  margin-right: 10px;
}
.nofound-title .txt2{
  font-size: 92px;
  font-family: 'M PLUS Rounded 1c', sans-serif;;
}

.accent-bc, 
.has-sango-accent-background-color{
  background-color: #77bd0e !important;
}

/* ページTOPに戻る */
.pagetop{
  display: none;
  position: fixed;
  right: 10px;
  bottom: 60px;
}
.pagetop a{
  display: block;
  font-size: 0;
  width: 42px;
  height: 42px;
  text-align: center;
  color: #77bd0e;
}
.pagetop a i{
  font-size: 40px;
}

@media only screen and (min-width: 1030px){
  .wrap, .maximg, .single #inner-content, .page #inner-content, .inner-footer{
    width: 92%;
  }
  .d-5of7{
    width: 68.4%;
  }
  .d-2of7{
    width: 29.4%;
  }
}

@media only screen and (min-width: 1360px){
  .wrap, .maximg, .single #inner-content, .page #inner-content, .inner-footer{
    width: 1360px;
  }
  
}

@media only screen and (max-width:1280px){
  
  .gnav h4:first-child, 
  #sidebar1 h4:first-child, 
  #nav_drawer h4:first-child{
    font-size: 14px;
  }
  .widget ul li{
    font-size: 14px;
  }
  
  .widget .custom_links li a{
    font-size: 14px;
  }
  .widget .custom_links li a:before{
    width: 30px;
    height: 30px;
  }
  .widget .custom_links li a:after{
    width: 30px;
  }
}
@media only screen and (max-width:1023px){
  
  .header .logo{
    width: 200px;
    
  }
  .header .search form input{
    width: 300px;
  }
  .header .search .gnav_btn a{
    width: 45px;
    height: 45px;
  }
  .header .search .gnav_btn a i{
    font-size: 20px;
  }
  
  
  body:not(.home) .header,
  body.home.paged .header{
    height: 75px;
  }
  
  .nofound-title .txt1{
    font-size: 20px;
  }
  .notfound{
    
  }
  
  
  #archive_header + .sidelong{
    padding-top: 0;
  }
  
}
@media only screen and (max-width:767px){
  
  .header .logo{
    width: 140px;
    top: 10px;
    left: 5px;
  }
  
  .header .search{
    /*top: auto;
    bottom: 10px;
    left: 10px;
    right: 10px;*/
    right: 5px;
  }
  
  .header .search form{
    display: none;
  }
  /*.header .search form{
    display: none;
    width: calc(100% - 45px - 10px);
  }
  .header .search form input{
    width: 100%;
  }*/
  
  .header .search .gnav_btn a{
    width: 35px;
    height: 35px;
  }
  .header .search .gnav_btn a i{
    font-size: 16px;
  }
  
  .header .search.sp{
    display: flex;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    background: #77bd0e;
    padding: 5px 15px;
  }
  .header .search.sp form{
    display: flex;
    width: 100%;
  }
  .header .search.sp form input{
    width: 100%;
  }
  
  body:not(.home) .header,
  body.home.paged .header{
    height: 100px;
  }
  
  .mv .mv_img{
    width: 90%;
  }
  
  .pagetop{
    bottom: 10px;
  }
  
  #archive_header{
    margin-left: -4%;
    margin-right: -4%;
    
  }
  #archive_header + .sidelong{
    padding-top: 15px;
  }
  
  .home_posts_nav{
    display: flex;
    margin-left: -4%;
    margin-right: -4%;
  }
  .home_posts_nav li{
    width: 50%;
    background: #d5d5d5;
  }
  .home_posts_nav li a{
    color: #908e8e;
    text-decoration: none;
    padding-top: 5px;
    padding-bottom: 5px;
  }
  .home_posts_nav li.on{
    background: #77bd0e;
  }
  .home_posts_nav li.on a{
    color: #FFF;
  }
  .home_posts_nav li .tt2{
    font-size: 11px;
    margin-bottom: 0;
  }
  .home_posts_nav li .tt2 em.em1{
    font-size: 13px;
  }
  .home_posts_nav li .tt2 em.em2{
    color: inherit;
    margin-top: 0;
    line-height: 1.4;
  }
  
  .home_posts_nav li a:before{
    background-image: url(img/tt2_bg1_gr_sp.png);
  }
  .home_posts_nav li a:after{
    background-image: url(img/tt2_bg2_gr_sp.png);
  }
  .home_posts_nav li.on a:before{
    background-image: url(img/tt2_bg1_wh_sp.png);
  }
  .home_posts_nav li.on a:after{
    background-image: url(img/tt2_bg2_wh_sp.png);
  }
  
  
  .tt2:before, 
  .tt2:after{
    width: 14px;
    height: 12px;
    background-size: contain;
  }
  
  .home_posts_wrap{
    width: auto;
    margin-left: -4%;
    margin-right: -4%;
    border: 0;
    border-radius: 0;
  }
  .home_posts_wrap#home_posts1{
    
  }
  .home_posts_wrap#home_posts2{
    display: none;
  }
  .home_posts_wrap h2{
    display: none;
  }
  
  .post_items{
    flex-wrap: wrap;
    
  }
  .post_items .item{
    width: 100%;
    padding: 0 10px;
  }
  .post_items .item + .item{
    border-top: 1px solid #ffa191;
    margin-top: 20px;
    padding-top: 20px;
  }
  .post_items .item>a{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
  }
  .post_items .item .img{
    width: 46%;
    margin-bottom: 0;
  }
  .post_items .item .meta{
    width: 50%;
  }
  .post_items .item .meta .title{
    font-size: 14px;
  }
  
  
  
  .cardtype, .sidelong{
    width: auto;
    margin-left: -4%;
    margin-right: -4%;
    border: 0;
    border-radius: 0;
    padding-left: 10px;
    padding-right: 10px;
  }
  .sidelong{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .sidelong .tt2{
    width: 100%;
  }
  
  .sidelong__article{
    width: 49%;
  }
  
  .sidelong__link{
    display: block;
    padding: 0;
  }
  .sidelong__img, .sidelong__article-info{
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    
  }
  .sidelong__img{
    
  }
  .sidelong__article-info{
    padding-bottom: 10px;
    margin-top: 5px;
  }
  
  .archive .sidelong .sidelong__article:first-child{
    width: 100%;
  }
  
  .pagination a, 
  .pagination span{
    width: 36px;
    height: 36px;
    line-height: 36px;
  }
  
  .nofound-title .txt1{
    font-size: 16px;
  }
  .nofound-title .txt1 img{
    /*display: block;*/
    width: 75px;
  }
  .notfound{
    padding: 15px;
  }
}

@media only screen and (max-width:320px){
  .home_posts_nav li .tt2{
    font-size: 10px;
  }
  .home_posts_nav li .tt2 em.em1{
    font-size: 10px;
  }
  .home_posts_nav li .tt2 em.em2{
    font-size: 10px;
  }
}
