@charset "utf-8";

/*
==============
column.css
==============
*/

/* -----------------
■ 全体
------------------- */
body {
  font-family: YakuHanJP, "Noto Sans JP", sans-serif;
}

.text-clamp-1 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.text-clamp-2 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}




/* -----------------
■ p-column
------------------- */
.p-column {
  display: flex;
  justify-content: space-between;
  max-width: 1140px;
  margin-inline: auto;
  margin-top: 50px;
  padding: 0 20px 100px;
}

.single .p-column {
  margin-top: 0;
  padding: 230px 20px 110px;
}


.p-column__main {
  width: 78.94%;
}

.p-column__side {
  width: 17.54%;
}

.p-column__list {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
}

.p-column__item a {
  display: block;
}

.p-column__thumb {
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.p-column__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .15s ease;
}

.p-column__item a:hover .p-column__thumb img {
  transform: scale(1.05);
}


.p-column__detail {
  margin-top: 15px;
}

.p-column__data {
  font-size: 14px;
  line-height: 1;
}

.p-column__title {
  margin-top: 8px;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.6;
}

.p-column__text {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.6;
}


@media screen and (max-width: 767px)
{
  .p-column {
    display: block;
    padding-bottom: 50px;
  }

  .single .p-column {
    padding: 120px 15px 42px;
  }


  .p-column__main,
  .p-column__side {
    width: auto;
  }

  .p-column__side {
    margin-top: 40px;
  }

  .p-column__list {
    grid-template-columns: 1fr 1fr;
    gap: 40px 20px;
  }

  .p-column__detail {
    margin-top: 10px;
  }

  .p-column__data {
    font-size: 12px;
  }

  .p-column__title {
    margin-top: 8px;
    font-size: 14px;
  }

  .p-column__text {
    margin-top: 6px;
    font-size: 12px;
  }

} /* media end */




/* -----------------
■ wp-pagenavi
------------------- */
.p-column .wp-pagenavi {
  margin-top: 60px;
  text-align: center;
}

.p-column .wp-pagenavi a,
.p-column .wp-pagenavi span {
  display: inline-block;
  width: 34px;
  height: 34px;
  margin: 0 5px;
  font-size: 16px;
  line-height: 2;
  vertical-align: top;
  border: 1px solid #222;
  transition: opacity .4s;
}

.p-column .wp-pagenavi a:hover {
  opacity: 0.6;
}

.p-column .wp-pagenavi span.current {
  color: #fff;
  background-color: #222;
}

.p-column .previouspostslink,
.p-column .nextpostslink {
  position: relative;
}

.p-column .previouspostslink::after,
.p-column .nextpostslink::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 10px;
  height: 10px;
  border-top: 1px solid #222;
  border-right: 1px solid #222;
  z-index: 1;
}

.p-column .previouspostslink::after {
  left: 55%;
  transform: translate(-50%, -50%) rotate(-135deg);
}

.p-column .nextpostslink::after {
  left: 45%;
  transform: translate(-50%, -50%) rotate(45deg);
}


@media screen and (max-width: 767px)
{
  .p-column .wp-pagenavi {
    margin-top: 40px;
  }

  .p-column .wp-pagenavi a,
  .p-column .wp-pagenavi span {
    width: 30px;
    height: 30px;
    margin: 0 5px;
    font-size: 14px;
  }

  .p-column .previouspostslink::after,
  .p-column .nextpostslink::after {
    width: 10px;
    height: 10px;
  }

  .p-column .previouspostslink::after {
    left: 55%;
  }

  .p-column .nextpostslink::after {
    left: 45%;
  }

} /* media end */




/* -----------------
■ p-column-latest
------------------- */
.p-column-latest__heading {
  padding: 8px 10px;
  color: #222;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  background-color: #fafafa;
}

.p-column-latest__item {
  padding: 20px 0;
  border-bottom: 2px dotted #ddd;
}

.p-column-latest__item a {
  display: flex;
  gap: 20px 10px;
}

.p-column-latest__thumb {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  flex-shrink: 0;
  width: 60px;
}

.p-column-latest__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .15s ease;
}

.p-column-latest__item a:hover  .p-column-latest__thumb img {
  transform: scale(1.05);
}

.p-column-latest__title {
  font-size: 12px;
  font-weight: bold;
  line-height: 1.5;
}

.p-column-latest__text {
  font-size: 12px;
  line-height: 1.5;
}


@media screen and (max-width: 767px)
{
  .p-column-latest__heading {
    padding: 6px 12px;
    font-size: 13px;
  }

  .p-column-latest__item {
    padding: 15px 0;
  }

} /* media end */




/* -----------------
■ p-column-archive
------------------- */
.p-column-archive {
  margin-top: 40px;
}

.p-column-archive__heading {
  padding: 8px 10px;
  color: #222;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  background-color: #fafafa;
}

.p-column-archive__list {
  margin-top: 15px;
}

.p-column-archive__list li:nth-of-type(n+2) {
  margin-top: 5px;
}

.p-column-archive__list a {
  display: inline-block;
  padding: 5px 0;
  font-size: 14px;
  line-height: 1.5;
  transition: opacity .4s;
}

.p-column-archive__list a:hover {
  opacity: 0.6;
}


@media screen and (max-width: 767px)
{
  .p-column-archive__heading {
    padding: 6px 12px;
    font-size: 13px;
  }

  .p-column-archive__list {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
  }

  .p-column-archive__list li:nth-of-type(n+2) {
    margin: 0;
  }

} /* media end */




/* -----------------
■ p-entry
------------------- */
.p-entry__title {
  color: #111;
  font-size: 30px;
  line-height: 1.4;
  font-weight: bold;
}

.p-entry__eyecatch {
  margin-top: 30px;
}

.p-entry__eyecatch img {
  max-width: 100%;
  height: auto;
}

.p-entry__content {
  margin-top: 30px;
  color: #222;
  font-size: 16px;
  line-height: 1.8;
}

.p-entry__content > * + * {
  margin-top: 1.6em;
}

.p-entry__content h2 {
  margin-top: 4.5em;
  margin-bottom: 0.8em;
  padding: 15px 0;
  font-size: 24px;
  line-height: 1.4;
  font-weight: 700;
  border-top: 1px solid #222;
  border-bottom: 1px solid #222;
}

.p-entry__content h3,
.p-entry__content h4,
.p-entry__content h5 {
  margin-top: 4em;
  margin-bottom: 0.6em;
  padding: 15px 0;
  font-size: 20px;
  line-height: 1.5;
  font-weight: 700;
  border-top: 1px solid #222;
  border-bottom: 1px solid #222;
}

.p-entry__content img {
  display: block;
  max-width: 100%;
  height: auto;
  margin-inline: auto;
}

.p-entry__content .aligncenter {
  margin-left: auto;
  margin-right: auto;
}

.p-entry__content .alignleft {
  float: left;
  margin: 0 1.5em 1em 0;
}

.p-entry__content .alignright {
  float: right;
  margin: 0 0 1em 1.5em;
}

.p-entry__content ul,
.p-entry__content ol {
  padding-left: 1.4em;
  list-style: disc;
}

.p-entry__content li + li {
  margin-top: 0.4em;
}

.p-entry__content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.p-entry__content th,
.p-entry__content td {
  padding: 0.6em 0.8em;
  border: 1px solid #ddd;
}

.p-entry__content th {
  background: #f5f5f5;
  font-weight: 700;
}

.p-entry__content a {
  color: #0066cc;
  transition: all .4s;
  text-decoration: underline;
}

.p-entry__content a:hover {
  opacity: .6;
}

.p-entry__content blockquote {
  padding: 1em 1.2em;
  background: #f8f8f8;
  border-left: 4px solid #ccc;
}

.p-entry__content strong {
  font-weight: 700;
}

.p-entry__content em {
  font-style: italic;
}


@media screen and (max-width: 767px)
{
  .p-entry__title {
    font-size: 20px;
  }

  .p-entry__content {
    font-size: 14px;
  }

  .p-entry__content h2 {
    margin-top: 3.5em;
    font-size: 18px;
  }

  .p-entry__content h3,
  .p-entry__content h4,
  .p-entry__content h5 {
    margin-top: 3em;
    font-size: 16px;
  }

} /* media end */

