@charset "utf-8";
/*
theme Name: simple theme
Author: sabira
*/

/* ********************************************
// --- リセット ---
// ※ブラウザのデフォルトCSSをリセット
// ***************************************** */

*{
  margin: 0;
  padding: 0;
}
html{
  font-size: 16px;
}
body {
  font-family: Verdana, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
  color: #333333;
}
header, footer, nav, menu, article, aside, section, details, figcaption, figure{
  display: block;
}
table {
  border-collapse: collapse;
}
img {
  vertical-align: bottom;
  height: auto;
  box-sizing: border-box;
  max-width: 100%;
}
a{
  color: #B7727F;
}
h1{
  font-size: 22px;
}
.content-area li,
.content-area p {
	line-height: 24px;
	margin-bottom: 10px;
}
ul, ol{
  margin: 0 0 10px 18px;
}
*, *:before, *:after {
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
         -o-box-sizing: border-box;
        -ms-box-sizing: border-box;
            box-sizing: border-box;
}


/**************** header ****************/

header{
  background: #fafae7;
  border-top: 6px solid #f7ddb1;
}
.header-top{
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 932px;
  padding: 10px;
}
.header-left p{
  color: #48301A;
}
.header-right{
  text-align: center;
}

/* head-menu */
.head-menu-wrap{
  background: -moz-linear-gradient(top, #f9e3c1, #f2ce8e); 
  background: -webkit-linear-gradient(top, #f9e3c1, #f2ce8e); 
  background: linear-gradient(to bottom, #f9e3c1, #f2ce8e);
}
.head-menu{
  font-size: 0;
  margin: 0 auto;
  max-width: 932px;
}
.head-menu li{
  display: inline-block;
  font-size: 14px;
}
.head-menu li + li{
  background: url(/wp-content/themes/wp-simple-thema/images/img_menu_border.png) left 0 no-repeat;
}
.head-menu li a{
  color: #333333;
  display: block;
  text-decoration: none;
  line-height: 40px;
  padding: 0 33px;
}
.head-menu li:hover > a{
  color: #666666;
}

.nav-toggle {
    -webkit-appearance:none;
    appearance:none;
    position: absolute;/*要素を固定*/
    top: 50%;
    right: 0;
    z-index: 110;
    width: 40px;
    height: 40px;
    border:none;
    background-color: #f7ddb1; 
    overflow : hidden;
    outline : none;
    transform: translateY(-50%);

    display: none;
}

.nav-toggle span {
    position: absolute;/*fixedを起点に位置を指定*/
    display: block;
    width: 28px;
    height: 2px;
    background-color: #fff;
    transition: all 0.5s;
    left: 6px;
}

.nav-toggle span:first-of-type {
    top: 10px;
}
.nav-toggle span:nth-of-type(2) {
    top: 19px;
}
.nav-toggle span:last-of-type {
    bottom: 10px;
}
.nav-toggle.active span:first-of-type {
    transform: rotate(45deg);
    top: 19px;
}
.nav-toggle.active span:nth-of-type(2) {
    opacity:0;
}
.nav-toggle.active span:last-of-type {
    transform: rotate(-45deg);
    bottom: 19px;
}

/**************** footer ****************/

footer{
  background: #fafae7;
  border-top: 3px solid #f7ddb1;
  padding: 10px 0 14px;
}
.foot-menu-wrap{
  max-width: 932px;
  margin: 0 auto 20px;
}
.foot-menu{
  margin: 0;
}
.foot-menu li{
  display: inline-block;
  line-height: 1em;
  list-style: none;
  padding-right: 10px;
}
.foot-menu li + li{
  border-left: 1px solid #333333;
  padding-left: 10px;
}
.foot-content{
  display: flex;
  align-items: flex-end;
  justify-content: space-between;

  margin: 0 auto;
  max-width: 932px;
}


/**************** main ****************/

.site-content{
  background: -moz-linear-gradient(top, #fafae7, #FFF 870px);
  background: -webkit-linear-gradient(top, #fafae7, #FFF 870px);
  background: linear-gradient(to bottom, #fafae7, #FFF 870px);
  min-height: calc(100vh - 249px);
}
.content-area{
  background: #fff;
  display: flex;
  justify-content: space-between;

  margin: 0 auto;
  padding: 10px 18px 30px;
  max-width: 898px;
  width: 100%;
}
.site-main{
  max-width: 654px;
  width: 100%;
}
.site-main{
  max-width: 100%;
}
.sidebar{
  min-width: 224px;
  max-width: 224px;
  margin-left: 20px;
}
.side-ul{
  list-style: none;
  margin: 0;
}
.side-ul li{
  margin-bottom: 10px;
}
h4.toki-blog{
  background: url('/wp-content/themes/wp-simple-thema/images/img_sidebar_ttl.png') 0 0 no-repeat;
  font-weight: normal;
  line-height: 36px;
  padding-left: 30px;
}
.blog-ul{
  list-style-image: url('/wp-content/themes/wp-simple-thema/images/img_listmark_02.png');
}
.blog-link{
  display: block;
  text-align: right;
}

/**************** top page ****************/

.top-link{
  display: flex;
  justify-content: space-between;
  list-style: none;
  margin: 0;
}
.page-title{
  background: url(/wp-content/uploads/2020/08/img_ttl.png) 0 0 no-repeat, linear-gradient(to bottom,#e7cd98 0%,#e7cd98 40%,#eeddb8 44%,#eeddb8  100%);
  color: #993300;
  font-size: 17px;
  line-height: 38px;
  margin: 15px 0 20px;
  padding-left: 24px;
}
.news-ul{
  list-style: none;
  margin: 0;
}
.news-ul li{
  border-bottom: 1px #999 dashed;
  margin: 0 10px 5px;
  padding-bottom: 5px;
}
.news-ul li a{
  background: url(/wp-content/themes/wp-simple-thema/images/img_listmark_02.png) 0 6px no-repeat;
  padding-left: 12px;
}
.sp{
  display: none;
}

/**************** page.php ****************/

.breadcrumb ul li{
  display: inline-block;
  font-size: 10px;
}
.breadcrumb ul li + li{
  margin-left: 0.5em;
}
.page-top{
  margin-top: 20px;
  text-align: right;
}
h3{
  border-bottom: 3px double #E6CB93;
  font-size: 13px;
  margin: 20px 0 7px;
}
.img-center{
  text-align: center;
}
.br{
  display: inline-block;
}
table{
  margin-bottom: 10px;
}
table th, table td{
  padding: 5px;
}
.table-1{
  border: 1px solid #666;
  width: 100%;
}
.table-1 thead th{
  background: #EEDBB4;
  border-bottom: 1px dotted #666;
  text-align: center;
}
.table-1 tbody th{
  background: #F3E6CB;
  text-align: center;
}
.table-1 tbody tr td:first-of-type{
  text-align: center;
}
.table-1 tbody tr td:last-child{
  text-align: right;
}
.table-1 tbody tr + tr th,
.table-1 tbody tr + tr td{
  border-top: 1px dotted #666;
}
.table-1 th + th,
.table-1 th + td,
.table-1 td + td{
  border-left: 1px dotted #666;
}
.page-id-11 .table-1 th{
  color: #990000;
}
.page-id-11 .table-1 tbody th{
  position: relative;
}
.page-id-11 .table-1 tbody th .th-num{
  position: absolute;
  top: 50%;
  left: 5px;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
}

.table-2{
  border: 1px solid #666;
}
.table-2 th{
  background: #EEDBB4;
  min-width: 140px;
  text-align: left;
}
.table-2 td{
  border-left: 1px dotted #666;
  min-width: 100px;
  text-align: right;
}
.table-2 tbody tr + tr th,
.table-2 tbody tr + tr td{
  border-top: 1px dotted #666;
}
.table-3{
  border-top: 1px dotted #666;
  width: 100%;
}
.table-3 tr{
  border-bottom: 1px dotted #666;
}
.table-3 th,
.table-3 td{
  padding: 10px;
}
.table-3 th{
  background: #F3E6CB;
  color: #990000;
  min-width: 100px;
  text-align :center;
}

.table-contact{
  width: 100%;
  border-collapse: separate;
  border-spacing: 5px;
}
.table-contact th{
  border-bottom: 1px dotted #666;
  border-left: 5px solid #993300;
  margin-right: 4px;
  min-width: 100px;
  padding-left: 20px;
  text-align: left;
  vertical-align: middle;
}
.table-contact td{
  border-bottom: 1px dotted #666;
}
.table-contact textarea{
  width: 100%;
}
.table-contact sup{
  color: red;
  padding-left: 5px;
}
.sub-btn{
  padding: 4px 20px;
}

.page-id-9 main ul{
  list-style-type: square;
}
.page-id-15 main ul{
  list-style-type: circle;
}

/* single.php */
.news-title{
  background: linear-gradient(to bottom, #f4f4f4, #dbdbdb);
  border-bottom: 2px solid #cecece;
  line-height: 1.1em;
  margin: 0 0 20px;
  padding: 4px 10px 4px 20px;
  position: relative;
}
.news-title:before{
  content: "";
  position: absolute;
  width: 3px;
  height: 75%;
  background: #336600;
  display: inline-block;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
  }

/* archive.php */
.nav-links{
  margin: 20px 0 10px;
  text-align: center;
}
.page-numbers{
  border: 1px solid #f9e3c1;
  display: inline-block;
  padding: 10px 14px;
}
a.page-numbers{
  background: #f9e3c1;
  color: #993300;
  text-decoration: none;
  transition: 0.3s ;
}
a.page-numbers:hover{
  background: #fff;
}


.page-contact{
  display: flex;
  justify-content: space-between;
}
div.wpcf7 input[name="your-name"],
div.wpcf7 input[name="your-email"],
div.wpcf7 input[name="your-tel"],
div.wpcf7 textarea[name="your-message"]{
  width: 100%;
}

/**************** メディアクリエ ****************/

@media screen and (max-width: 960px){
  .sp{
    display: block;
  }
  .head-content{
    display: none;
  }
  .header-right{
    min-width: 44px;
    position: relative;
  }
  .nav-toggle {
    display: block;
  }
  .head-menu-wrap{
    display: none;
    position: absolute;
    width: 100%;
    z-index: 99;
    transition: opacity 0.3s;
　　opacity: 0;
  }
  .sp-menu{
    display: block;
    opacity: 1;
  }
  .head-menu li{
    display: block;
    text-align: center;
    background: -moz-linear-gradient(top, #f9e3c1, #f2ce8e); 
    background: -webkit-linear-gradient(top, #f9e3c1, #f2ce8e); 
    background: linear-gradient(to bottom, #f9e3c1, #f2ce8e);
  }
  .head-menu li + li{
    background: -moz-linear-gradient(top, #f9e3c1, #f2ce8e); 
    background: -webkit-linear-gradient(top, #f9e3c1, #f2ce8e); 
    background: linear-gradient(to bottom, #f9e3c1, #f2ce8e);
  }
  footer{
    padding: 10px 10px 14px;
  }
}

@media screen and (max-width: 768px){
  .content-area{
    box-sizing: border-box;
    display: block;
  }
  .site-main{
    width: 100%;
  }
  .foot-content{
    display: block;
  }
  .sidebar{
    margin: 20px 0 0;
    max-width: 100%;
  }
  .side-ul{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 480px;
    margin: 0 auto;
  }
  .side-ul > li{
	width: 48%;
  }

}

@media screen and (max-width: 560px){

  /* table-1 */
  .table-1 thead{
    display: none;
  }
  .table-1 tr {
    width: 100%;
  }
  .table-1 th{
    box-sizing: border-box;
    display: block;
    width: 100%;
    border: none;
  }
  .page-id-11 .table-1 tbody th .th-num{
    position: static;
  }
  .table-1 td {
    box-sizing: border-box;
    display: block;
    text-align: center;
    width: 100%;
  }
  .table-1 tbody tr td:last-child{
    text-align: center;
  }
  .table-1 tbody th + th, .table-1 tbody th + td, .table-1 tbody td + td{
    border: none;
  }
  .table-1 tbody tr + tr th, .table-1 tbody tr + tr td{
    border: none;
  }
  .table-1 tbody tr + tr, .table-1 tbody th + td, .table-1 tbody td + td{
    border-top: 1px dotted #666 !important;
  }
  .table-1 .td-bg {
    background: #fafae7;
    font-weight: bold;
  }
  .table-1 tbody tr td.td-before{
    text-align: right;
  }
  .table-1 .td-before:before {
    content: attr(data-label);
    float: left;
    font-weight: bold;
    margin-right: 10px;
  }
  .table-1 .td-none{
    display: none;
  }

  .table-contact tr{
    border-left: 3px solid #993300;
    border-bottom: 1px dotted #666;
    display: block;
    margin-bottom: 10px;
  }
  .table-contact th,
  .table-contact td{
    border: none;
    display: block;
    width: 100%;
  }
  .news-ul li a{
    display: block;
  }
}