body,
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 2;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  font-weight: 500;
}

body {
  font-size: 17px;
}

a {
  text-decoration: none;
  background-color: transparent;
  transition: 0.2s all ease-out;
  color: #333;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  cursor: pointer;
}

a:hover {
  opacity: 0.7;
}

.btn-area__center a:hover {
  opacity: 1;
}

.bg {
  background: #f7f7f7;
  padding: 180px 20px 50px;
}

#container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  max-width: 1240px;
  margin: 0 auto;
}

main {
  width: 66%;
}

main article {
  margin-bottom: 30px;
  padding: 30px 0 60px;
  background: white;
}

.atc-cnt__single {
  padding: 30px 0;
}

main article img {
  height: auto;
  width: 100%;
}

main .article-title {
  margin: 15px 0;
  text-align: left;
  line-height: 1.4;
  color: #7b7b7b;
  font-weight: 600;
  font-size: 25px;
}

main .meta {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}

main .meta li {
  font-size: 0.875rem;
  margin-right: 20px;
}

/*-------------------------------------------
記事内装飾
-------------------------------------------*/
.wrapper h1 {
  margin-top: 0;
  font-weight: 600;
  font-size: 25px;
  color: #7b7b7b;
  text-align: center;
}

.wrapper p {
  margin-bottom: 60px;
}

.wrapper p.point {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
}

.index-list {
  margin-top: 1.5em;
}

.text h2,
.text h3,
.text h4,
.text pre,
.text ul,
.text ol,
.text twitterwidget,
.text blockquote,
.text iframe {
  text-align: left;
  margin-bottom: 40px;
}

.text h2 {
  background: #f7f7f7;
  padding: 20px 15px 18px;
  color: #333;
  border-left: 9px solid #e30920;
  line-height: 40px;
  border-bottom: solid 3px #d7d7d7;
}

.text h3 {
  padding: 0 15px;
  border-left: 10px double #e30920;
  color: #333;
  font-size: 1.1em;
  margin-top: 3em;
}

.text h4 {
  position: relative;
  border-bottom: 2px dashed #e30920;
  margin: 2em 0 1.5em;
  font-size: 1.05em;
}

.text h5,
.text h6 {
  text-align: left;
}

.point::before {
  content: "\f00c";
  font-weight: 900;
  font-family: "Font Awesome 6 Free";
  margin-right: 10px;
  color: #a92117;
}

.text p.pre {
  font-size: 16px;
  padding: 20px;
  background-color: #fafafa;
  outline: 1px solid #f0f0f0;
  border-color: #f0f0f0;
  text-align: left;
  margin: 0 0 40px;
}

.text ul,
.text ol {
  background-color: #fff2f4;
  border: dashed 1px #a72117;
  padding: 40px 40px 30px;
}

.text ul li,
.text ol li {
  margin-bottom: 10px;
  text-align: left;
  list-style: inherit;
}

.text img {
  margin-bottom: 20px;
}

.atc-cnt__inner {
  padding: 0 30px;
}

.atc-thumb {
  margin-bottom: 30px;
}

.atc-cnt h2 a {
  margin-top: 0;
  font-weight: 600;
  font-size: 25px;
  color: #7b7b7b;
}

.atc-cnt .cat {
  text-align: center;
  font-size: 13px;
  margin-bottom: 30px;
}

.atc-cnt .cat a {
  margin: 0 10px;
}

.atc-cnt .sub {
  text-align: center;
  font-size: 13px;
  color: #7b7b7b;
  margin-top: 30px;
  margin-bottom: 10px;
}

.article-excerpt p {
  margin-bottom: 40px;
}

.btn-area__center {
  margin-top: 1em;
}

.wrapper h1.page-title {
  margin-block-start: 0;
  margin-block-end: 0;
  margin-bottom: 5px;
  font-size: 25px;
  font-weight: 600;
  text-align: left;
  color: #333333;
  position: relative;
}

.red-line {
  width: 20%;
  border: 1px solid #e30920;
  text-align: left;
  margin: 0 0 40px;
}

/*-------------------------------------------
pickup
-------------------------------------------*/
.pickup {
  display: flex;
  justify-content: space-between;
  max-width: 1240px;
  margin: 0 auto 30px;
}

.pickup__box {
  width: 32%;
  padding: 30px 0;
  background-color: #ffffff;
}

.pickup__box-inner {
  padding: 0 30px;
}

.pickup__box img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.pickup-title {
  font-weight: 600;
  font-size: 18px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  /* 制限したい行数が3の場合 */
  overflow: hidden;
  text-align: center;
  margin-bottom: 30px;
}

.pickup-title a {
  color: #7b7b7b;
}

.keywords-set {
  margin-top: 3em;
}

/*-------------------------------------------
サイドバー
-------------------------------------------*/
#sidebar {
  width: 33.5%;
  padding-left: 20px;
}

#sidebar .side-title {
  font-size: 1.125rem;
  font-weight: bold;
  margin-bottom: 30px;
}

.aside-group {
  margin-bottom: 30px;
  position: relative;
  padding: 30px 15px;
  background: white;
}

aside h4 {
  text-align: center;
  font-size: 20px;
  font-weight: 500;
  color: #333;
  margin-bottom: 5px;
}

aside hr {
  width: 20%;
  border: 1px solid #e30920;
  margin-bottom: 40px;
}

/*検索ボタン*/
.searchform input {
  display: block;
  width: 100%;
  height: 60px;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.42857;
  color: #555;
  background: #f5f5f5;
  border: 1px solid #ebebeb;
  border-radius: 4px;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
  -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
  -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
  transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

.searchform {
  position: relative;
}

.searchbtn {
  background-color: transparent;
  border: none;
  position: absolute;
  top: 50%;
  right: 5%;
  transform: translateY(-50%);
}

.wrapper p.search-text {
  padding-left: 0;
}

/*よく読まれている記事*/
.aside-group.popular-clm {
  margin-bottom: 30px;
  position: relative;
  padding: 20px 15px 10px;
  background: white;
  height: auto;
}

.popular {
  text-align: center;
}

.popular .thumbnail img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.popular .title {
  margin-block-start: 0;
  margin-block-end: 0;
  margin: 10px 0 40px;
  text-align: left;
}

.popular h5 a {
  color: #7b7b7b;
  line-height: 25px;
}

/*月別アーカイブリスト*/
.archive__month {
  position: relative;
  padding: 20px 15px;
  text-align: center;
  background: white;
}

.archive__month ul {
  margin-top: 40px;
  padding-left: unset;
}

.archive__month ul li {
  border-top: dotted 1px #686868;
  color: #7b7b7b;
  font-size: 0.875rem;
  text-align: left;
}

.archive__month ul li a {
  color: #7b7b7b;
  line-height: 55px;
  padding-left: 20px;
}

/* 関連記事 */
.relatedposts {
  padding: 40px 0 30px;
  background-color: #ffffff;
}

.relatedposts h4 {
  text-align: left;
  margin-bottom: 40px;
}

.relatedposts h4 {
  /*font-family: avenir-next;*/
  font-weight: 600;
  color: #a92117;
  letter-spacing: 2.25px;
  padding: 0 15px;
  border-left: 9px solid #e30920;
  line-height: 30px;
}

.relatedposts .table-inners {
  width: 100%;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  position: relative;
}

.relatedposts .inner {
  border: 1px solid #f1f2f4;
  margin-bottom: 4%;
  width: 48%;
  padding: 30px 15px;
  position: relative;
}

.relatedposts .inner a.link {
  height: 0
}

.relatedposts .inner .thumbnail {
  margin-bottom: 10px;
}

.relatedposts .inner .thumbnail img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.relatedposts .inner h5 {
  text-align: left;
  color: #4daed4;
  letter-spacing: 0;
  line-height: 25px;
  font-size: 16px;
  margin: 0 0 10px;
}

.relatedposts .inner h5 a {
  color: #a92117;
  text-decoration: none;
  text-align: justify;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.relatedposts .inner h5 a:hover,
.relatedposts .inner h5 a:focus {
  color: #a92117bf;
  text-decoration: underline;
}

.relatedposts .inner p {
  float: right;
  padding: 2px 10px;
  text-align: justify;
  font-family: Noto, Hiragino Sans, Helvetica, Arial, sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  line-height: 2;
  font-size: 17px;
  margin: 0;
}

.relatedposts .inner p a {
  font-size: 12px;
  color: #838c91;
  text-align: justify;
  text-decoration: none;
  font-weight: 600;
  background: #e8ebec;
  margin: 0 5px;
  padding: 5px;
}

.column_dl>dd {
  margin-bottom: .5em;
  margin-left: 1em;
}

.column_hyo01 {
  width: 100%;
  border-collapse: collapse;
}

.column_hyo01 th,
.column_hyo01 td {
  border: 1px solid #ccc;
  padding: 0.5em;
  text-align: left;
}

.column_hyo01 th {
  background-color: #f4f4f4;
  font-weight: bold;
}

.column_hyo01 .hyo01_label {
  display: none;
}

@media (max-width: 640px) {
  .column_hyo01 thead {
    display: none;
  }

  .column_hyo01 tr {
    display: block;
    width: 100%;
    border-bottom: none;
  }

  .column_hyo01 td {
    display: block;
    width: 100%;
    border-bottom: none;
    white-space: normal;
    text-align: left;
    font-weight: normal;
  }

  .column_hyo01 .hyo01_label {
    display: inline-block;
    margin-right: 0.5em;
    min-width: 9em;
  }

  .column_hyo01 tr > td:first-child {
    text-align: center;
    font-weight: bold;
  }
    .column_hyo01 tr > td:last-child {
    border-bottom: 1px solid #ccc;
    margin-bottom: 1em;
  }
}


/* パンくずリスト */
/* .breadcrumb {
  padding-top: 58px;
  list-style: none;
  border-radius: 4px;
  padding-bottom: 8px;
  font-size: 14px;
  font-weight: 400;
}
.breadcrumb a {
  color: #a92117;
  text-decoration: none;
} */

.breadcrumb {
  max-width: 1260px;
  margin: -20px auto 50px;
}

/* ページネーション */
.wp-pagenavi a.page,
.wp-pagenavi a.nextpostslink,
.wp-pagenavi a.previouspostslink {
  background-color: #ffffff;
}

@media screen and (max-width: 1000px) {
  .bg {
    padding: 125px 20px 50px;
  }

  .slideshow__slide-caption-subtitle.-load {
    margin: 0 auto;
  }

  /* パンくずリスト */
  .breadcrumb {
    margin: -40px auto 30px;
  }

}

@media screen and (max-width: 767px) {
  #container {
    flex-direction: column;
  }

  main {
    width: 100%;
    margin-bottom: 50px;
  }

  main .text {
    padding: 10px 0;
  }

  .atc-thumb {
    margin-bottom: 0;
  }

  /* パンくずリスト */
  .breadcrumb {
    margin: -55px auto 25px;
    padding-right: 20px;
  }

  /*pickup*/
  .pickup {
    flex-direction: column;
    margin: 0 auto;
  }

  .pickup__box {
    width: 100%;
    margin-bottom: 30px;
  }

  /*aside*/
  #sidebar {
    width: 100%;
    padding: 0;
  }
}

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

  body,
  p,
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    line-height: 1.8;
  }

  body {
    font-size: 16px;
  }

  main .article-title {
    font-size: 18px;
    line-height: 1.5;
  }

  .pickup-title {
    line-height: 2;
  }

  .article-excerpt p {
    font-size: 14px;
  }

  .atc-cnt__inner {
    padding: 0 20px;
  }

  .atc-cnt h2 a {
    font-size: 18px;
  }

  .text h2 {
    font-size: 18px;
    line-height: 30px;
  }

  .text h3 {
    font-size: 18px;
  }

  .text ul li,
  .text ol li {
    font-size: 14px;
  }

  .wrapper p.point {
    font-size: 18px;
  }

  .relatedposts .inner {
    width: 100%;
    min-height: 250px
  }

  .relatedposts .inner .thumbnail a {
    height: 100px;
  }

  .relatedposts .inner h5 {
    font-size: 13px;
  }

  .single .relatedposts h4 {
    font-size: 18px;
  }

  .relatedposts .inner p a {
    font-size: 10px;
  }

  .slideshow__slide-caption-subtitle.-load {
    max-width: 200px;
    font-size: 13px;
  }

  .breadcrumb {
    font-size: 12px;
  }

  .wrapper h1.page-title {
    font-size: 18px;
  }
}