@charset "utf-8";

/*
theme Name: 同友会苫小牧テーマ
Author: morse
Description: original theme
version： 2.0.0
*/
.container{
margin-top: 20px;
}

/*--sudebsr.php--*/
 .nav-bottom-space{
padding-top: 70px!important;
}
 .sidebar-wrapper {
  margin-bottom: 2rem;
}
 .sidebar-title {
  font-size: 1.1rem;
  box-sizing: border-box;
  margin: 0 0 1.2rem;
  padding: .5rem;
  color: #000;
  border-bottom: 2px solid #662C7F;
}
 .widget_recent_entries ul,
.widget_meta ul,
.widget_recent_comments ul,
.widget_pages ul,
.widget_meta ul,
.widget_categories ul,
.widget_archive ul,
.widget_nav_menu ul,
.calendar_wrap,
.tagcloud {
  list-style: none;
  padding: 0;
}
 .widget_recent_entries li,
.widget_meta li,
.widget_recent_comments li,
.widget_pages li,
.widget_meta li,
.widget_archive li,
.widget_nav_menu li {
  position: relative;
  margin-bottom: .5rem;
}
 .widget_recent_entries a,
.widget_meta a,
.widget_recent_comments a,
.widget_pages a,
.widget_meta a,
.widget_categories a,
.widget_archive a,
.widget_nav_menu a {
  text-decoration: none;
  color: #333;
}
 .sidebar-wrapper a:hover {
  opacity: .6;
}
 /*カテゴリウィジェット*/
.widget_categories li {
  display: block;
  margin-bottom: .5rem;
}
 .widget_categories li a {
  font-size: .95rem;
  position: relative;
  display: block;
  padding: 0 0 0 2rem;
  color: #000;
}
 .widget_categories li a::before {
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  top: 50%;
  left: .6rem;
  content: '\f02b';
  transform: translateY(-50%);
  color: #000;
}
 .widget_categories .children {
  margin-bottom: .5rem;
  padding: 0;
  padding-left: 1rem;
  background-color: #415671;
}
 .widget_categories .children li {
  margin-bottom: 0;
}
 .widget_categories .children li a {
  font-size: .9rem;
  background-color: transparent;
}
 .widget_categories .children li a::before {
  position: absolute;
  top: 50%;
  left: .6rem;
  content: '∟';
  transform: translateY(-50%);
  color: #fff;
}
 /*カテゴリウィジェットとアーカイブウィジェットのドロップダウン表示*/
.widget_categories .screen-reader-text {
  display: none;
}
 .widget_archive .screen-reader-text {
  position: relative;
  display: block;
  height: 0;
  text-indent: -9999999px;
}
 .widget_categories form {
  position: relative;
}
 .widget_categories form::after {
  position: absolute;
  top: 50%;
  right: 1rem;
  content: '▼';
  transform: translateY(-50%);
  pointer-events: none;
}
 .widget_categories .postform,
.widget_archive select {
  font-size: .95rem;
  width: 100%;
  padding: 4px 10px;
  cursor: pointer;
  border: 1px solid #e0e3ef;
  border-radius: 0;
  background-color: #f4f5f9;
  -webkit-appearance: none;
  -moz-appearance: none;
}
 .widget_archive label::after {
  position: absolute;
  top: .5rem;
  right: 1rem;
  content: '▼';
  text-indent: 0;
  pointer-events: none;
}
 /*検索*/
.searchfield {
  font-size: 14px;
  width: 90%;
  margin-right: 3px;
  margin-left: 5px;
  padding: 7px 5px;
  border: 2px solid #ddd;
  border-radius: 3px;
}
.searchsubmit {
  font-family: FontAwesome;
  font-size: 1.4em;
  padding: 0;
  cursor: pointer;
  color: #255fac;
  border: none;
  background: transparent;
}
.searchsubmit:hover {
  opacity: .6;
}

/*タグウィジェット*/
.tagcloud a {
  font-size: .9rem !important;
  line-height: 1;
  position: relative;
  display: inline-block;
  margin-bottom: .5rem;
  padding: .2rem .5rem;
  text-decoration: none;
  color: #1A3780;
  border: 1px solid #000;
  background-color: #fff;
}
 /*メニューウィジェット*/
.widget_nav_menu li a {
  font-size: 1rem;
  font-weight: bold;
  position: relative;
  padding-left: 1.3rem;
  color: #333;
}
 .widget_nav_menu li a::before {
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  top: 50%;
  left: 0;
  content: '\f105';
  transform: translateY(-50%);
  color: #1A3780;
}
 /*最近の投稿*/
.widget_recent_entries li {
  padding-bottom: .5rem;
  border-bottom: 1px solid #ddd;
}
 .widget_recent_entries li a:before {
  font-family: 'Font Awesome 5 Free';
  font-weight: bold;
  font-weight: 900;
  position: absolute;
  left: 5px;
  content: '\f303';
  color: #000;
}
 .widget_recent_entries li a {
  display: block;
  margin-bottom: .3rem;
  padding-left: 1.6rem;
}
 .widget_recent_entries .post-date {
  font-size: .8rem;
  display: block;
}
 /*カレンダーウィジェット*/
.calendar_wrap {
  padding: 1rem;
  border: 1px solid #ddd;
}
 .calendar_wrap table {
  width: 100%;
}
 .calendar_wrap tbody {
  text-align: center;
}
 .calendar_wrap caption {
  font-weight: bold;
  margin-bottom: 1rem;
}
 .calendar_wrap td {
  padding: .3rem 0;
}
 .calendar_wrap tfoot td {
  padding-top: .7rem;
}
 .calendar_wrap tfoot td:last-child {
  text-align: right;
}
 /*--index.php--*/
.article-list {
  margin-bottom: 1rem;
  padding: 1rem;
  border: 1px solid #ddd;
}
 .article-list:hover {
  background-color: #eee;
}
 .article-list a {
  display: block;
  text-decoration: none;
  color: #333;
}
 .article-list a:after {
  display: block;
  clear: both;
  content: '';
}
 .article-list .img-wrap {
  position: relative;
  float: left;
  line-height: 1;
}
 .article-list .img-wrap img {
  width: 240px;
  height: 160px;
  object-fit: cover;
}
 .article-list .img-wrap .cat-data {
  font-size: .75rem;
  position: absolute;
  top: 0;
  right: 0;
  padding: .3rem .5rem;
  color: #fff;
  background: linear-gradient(#662C7F, #3D167F);
}
 .article-list .text {
  margin-left: 260px;
}
 .article-list .text h2 {
  font-size: 1.15rem;
  margin-bottom: .5rem;
}
 .article-list .text .article-date,
.article-list .text .article-author {
  font-size: .75rem;
  font-weight: bold;
  display: inline-block;
  margin-bottom: .5rem;
  color: #888;
}
 .article-list .text .article-date {
  margin-right: .5rem;
}
 .article-list .text .article-author i {
  margin-right: .3rem;
}
 .article-list .text p {
  font-size: .8125rem;
  line-height: 1.7;
}
 @media(max-width: 600px) {
  .article-list {
    padding: .5rem;
}
 .article-list .img-wrap img {
    width: 132px;
    height: 88px;
}
 .article-list .img-wrap .cat-data {
    font-size: .6rem;
}
 .article-list .text {
    margin-left: 140px;
    padding: 0;
}
 .article-list .text h2 {
    font-size: 1rem;
    margin-bottom: 0;
}
 .article-list .text p {
    display: none;
}
 .article-list .text .article-date,
  .article-list .text .article-author {
    font-size: .625rem;
    margin-bottom: 0;
}
 .article-list .text .article-date {
    margin-right: .2rem;
}
 }
/*ページネーション*/
.pagination {
  margin: 2rem 0;
  text-align: center;
} 
.pagination .page-numbers{
  margin: 0 auto;
} 
.pagination ul {
  font-size: 0;
} 
.pagination ul li {
  font-size: 1rem;
  display: inline-block;
  margin-right: .5rem;
} 
.pagination ul li:last-child {
  border: 0;
} 
.pagination ul li a,
.pagination .current {
  display: block;
  padding: .5rem .8rem;
  border: 1px solid #ccc;
} 
.pagination ul li .prev,
.pagination ul li .next {
  border: 0;
} 
.pagination ul li a {
  text-decoration: none;
  color: #333;
} 
.pagination ul li a:hover {
  opacity: .6;
} 
.pagination .current {
  color: #fff;
  background: linear-gradient(#662C7F, #3D167F);
}
 /*single.php*/
.article-content {
  margin-bottom: 2rem;
}
.article-content a{
  color: #000;
}
 .article-content .article-info {
  margin-bottom: .5rem;
}
 .article-content .cat-data a {
  font-size: .8rem;
  margin-right: .5rem;
  padding: .1rem .5rem;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(#662C7F, #3D167F);
}
 .article-content .article-info .article-date,
.article-content .article-info .article-author {
  font-size: .8rem;
  display: inline-block;
  margin-right: .5rem;
  color: #888;
}
 .article-content .article-info .article-author i {
  margin-right: .3rem;
}
 .article-content p,
.article-content b,
.article-content table,
.article-content ul,
.article-content ol {
  font-size: 1rem;
  line-height: 1.7;
  letter-spacing: 1px;
}
 .article-content p,
.article-content img,
.article-content table,
.article-content ul,
.article-content ol {
  margin-bottom: 2rem;
}
 .article-content h1 {
  font-size: 1.9rem;
  margin: 0 0 2rem;
  letter-spacing: 1px;
}
 .article-content h2 {
  font-size: 1.7rem;
  margin: 3rem 0 2rem;
  padding: .4rem 0;
  letter-spacing: 1px;
  border-bottom: solid 5px #662C7F;
}
 .article-content h3 {
  font-size: 1.5rem;
  margin: 2.5rem 0 1.8rem;
  padding: 0 1rem;
  letter-spacing: 1px;
  border-left: solid 7px #C18FF3;
  background: transparent;
}
 .article-content h4 {
  font-size: 1.3rem;
  margin: 2rem 0 1rem;
  letter-spacing: 1px;
}
 .article-content h5 {
  font-size: 1.1rem;
  margin: 0 0 .3rem;
  letter-spacing: 1px;
}
 .article-content .article-img {
  margin-bottom: 2rem;
}
 .article-content .article-img img {
  display: block;
  margin: 0 auto;
}
 .article-content ul {
  margin-left: 2rem;
  list-style: disc;
}
 .article-content ol {
  margin-left: 2rem;
  list-style: decimal;
}
 .article-content table {
  border-collapse: collapse;
}
 .article-content th,
.article-content td {
  padding: .6rem;
  vertical-align: middle;
  border: 1px solid #ddd;
}
 .article-content figure {
  max-width: 100%;
}
 .article-tag {
  text-align: right;
}
 .article-tag ul {
  font-size: 0;
  margin-bottom: 0;
}
 .article-tag ul li {
  font-size: .9rem;
  display: inline-block;
  margin-right: .5rem;
  vertical-align: middle;
}
 .article-tag ul li:last-child {
  margin-right: 0;
}
 .article-tag ul li a {
  padding: .2rem .5rem;
  text-decoration: none;
  color: #000;
  border: 1px solid #000;
}
 .article-tag ul li a:hover {
  opacity: .6;
}
 @media(max-width: 600px) {
  .article-content h1 {
    font-size: 1.6rem;
}
 .article-content h2 {
    font-size: 1.4rem;
}
 .article-content h3 {
    font-size: 1.3rem;
}
 .article-content h4 {
    font-size: 1.2rem;
}
 }

