@charset "UTF-8";
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------

# Components
# layout
  - アーカイブ
  - 投稿
# Element
  - 投稿テンプレート
# Utilities

--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/
.entry-footer {
  padding-inline: 5px;
}

.entry-footer .arrow::before{
  left: 4%;
}


.blog .center-layout,
.single-post .center-layout {
  --side: var(--short-side);
}

/*--------------------------------------------------------------
# layout
--------------------------------------------------------------*/
/* archive */
.category.intern {
  color: var(--third-color);
  border: 1px solid var(--third-color);
}

.category.info {
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

.blog .page-content {
  margin-top: 80px;
}
@media screen and (width < 48rem) {
  .blog .page-content {
    margin-top: min((80 - 20) / 375 * 100vw, 80 * 1px);
  }
}

.blog .page-footer {
  margin-top: 80px;
}
@media screen and (width < 48rem) {
  .blog .page-footer {
    margin-top: min((80 - 20) / 375 * 100vw, 80 * 1px);
  }
}

.blog .newsList .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 1fr;
  gap: 52px 30px;
}

@media screen and (max-width: 960px) {
  .blog .newsList .container {
    grid-template-columns: repeat(2, 1fr);
    margin-top: -30px;
  }
}
@media (width < 48rem) {
  .blog .newsList .container {
    display: block;
  }
}
@media (width < 48rem) {
  .blog .newsList .item {
    padding-block: 30px;
    border-bottom: 1px solid #999;
    grid-template-columns: 40.6% 1fr;
    grid-template-rows: auto 1fr;
    grid-template-areas: "thumb data" "thumb title";
    justify-content: space-between;
    column-gap: 10px;
    row-gap: 20px;
  }
}
.blog .newsList .link {
  display: block;
}

.blog .newsList .item {
  display: grid;
}

.blog .newsList .item .thumbnail {
  border: 1px solid #b3b3b3;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 16px;
  aspect-ratio: 300/180;
  order: -1;
}

@media (width < 48rem) {
  .blog .newsList .item .thumbnail {
    aspect-ratio: 1/1;
    margin: 0;
    grid-area: thumb;
  }
}
.blog .newsList .item .thumbnail img {
  width: 100%;
  aspect-ratio: 300/180;
  -o-object-fit: cover;
  object-fit: cover;
  transition: 0.3s ease;
  height: 100%;
}

@media (width < 48rem) {
  .blog .newsList .item .thumbnail img {
    aspect-ratio: 1/1;
  }
  .blog .newsList .item .no--thumbanail img {
    aspect-ratio: initial;
    max-width: 105px;
  }
}
.blog .newsList .item .no--thumbanail {
  display: grid;
  place-content: center;
  background-color: #fff;
  padding: 10px;
}

.blog .newsList .item .no--thumbanail img {
  -o-object-fit: contain;
  object-fit: contain;
  aspect-ratio: initial;
  max-width: 171px;
  height: 100%;
}

.blog .newsList .item .post-data {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

@media (width < 48rem) {
  .blog .newsList .item .post-data {
    flex-direction: column;
    align-items: flex-start;
    grid-area: data;
    margin-bottom: 0;
    justify-content: flex-start;
  }
}
.blog .newsList .item .post-data .time {
  font-size: 18px;
}

.blog .newsList .item .title {
  display: grid;
  justify-content: space-between;
  align-items: center;
  order: 10;
  position: relative;
  font-size: 1rem;
  font-feature-settings: "palt";
}

.blog .newsList .item .title .inner {
  padding-right: 20px;
}

@media (width < 48rem) {
  .blog .newsList .item .title {
    font-size: calc(15 / 16 * 1rem);
    grid-area: title;
    display: block;
  }
  .blog .newsList .item .title .inner {
    display: grid;
    align-items: flex-start;
    position: relative;
  }
}
.blog .newsList .item .title .arrow::before {
  content: "";
  position: absolute;
  display: inline-block;
  width: 12px;
  height: 12px;
  border-top: 1px solid;
  border-left: 1px solid;
  border-color: #999;
  transform: rotate(135deg);
  right: 0;
}

@media (width < 48rem) {
  .blog .newsList .item a {
    display: grid;
    grid-template-areas: "item1 item2" "item1 item3";
    -moz-column-gap: 10px;
    column-gap: 10px;
  }
}
@media (any-hover: hover) {
  .blog .newsList .link:hover .thumbnail img {
    transform: scale(1.1);
    opacity: 0.7;
  }
}
.blog .category {
  font-size: 13px;
  border: 1px solid;
  border-radius: 4px;
  padding: 0px 10px;
  max-width: 156px;
  font-weight: bold;
}

@media (width < 48rem) {
  .blog .category {
    margin-top: 2px;
  }
}
/* 投稿
--------------------------------------------- */
.single-post .entry-header {
  margin-bottom: 24px;
}



.single-post .post .content {
  max-width: 840px;
}

@media (width < 48rem) {
  .single-post .entry-header {
    margin-bottom: 12px;
  }
}
.single-post .entry-header .post-data {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.single-post .entry-header .post-data .time {
  font-size: min(20 / 16 * 1rem, 24px);
}
@media screen and (width < 48rem) {
  .single-post .entry-header .post-data .time {
    font-size: min((20 - 2) / 375 * 100vw, 20 / 16 * 1rem);
  }
}

.single-post .entry-header .title {
  font-size: min(22 / 16 * 1rem, 26.4px);
}
@media screen and (width < 48rem) {
  .single-post .entry-header .title {
    font-size: min((22 - 4) / 375 * 100vw, 22 / 16 * 1rem);
  }
}

.single-post .post-thumbnail {
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 24px;
}

.single-post .post-thumbnail img {
  width: 100%;
  -o-object-fit: contain;
  object-fit: contain;
  height: 100%;
  aspect-ratio: 840/400;
}

.single-post .entry-content h2 {
  margin-block: 12px;
  /* margin-bottom: 12px; */
  font-size: min(18 / 16 * 1rem, 21.6px);
}
@media screen and (width < 48rem) {
  .single-post .entry-content h2 {
    font-size: min((18 - 2) / 375 * 100vw, 18 / 16 * 1rem);
  }
}

.single-post .entry-content p {
  font-size: min(15 / 16 * 1rem, 30px);
}

:where(.single-post .entry-content) p {
  line-height: 1.8;
  margin-top: 0.8em;
}

@media screen and (width < 48rem) {
  .single-post .entry-content p {
    font-size: min((15 - 1) / 375 * 100vw, 15 / 16 * 1rem);
  }
}



.single-post .category {
  font-size: 0.8125rem;
  border-radius: 4px;
  padding: 0 10px;
  max-width: 156px;
  border: 2px solid;
  font-weight: bold;
}

.category.intern {
  color: #eb0a1e;
  border-color: #eb0a1e;
}

.category.intern span {
  background-color: rgba(235, 10, 30, 0.2);
}

@media (width < 48rem) {
  .category.intern span {
    background-color: transparent;
  }
  .single-post .post-thumbnail img {
    aspect-ratio: 335/201;
  }
}
.category.info {
  color: #ff761b;
  border-color: #ff761b;
}

.category.info span {
  background-color: rgba(255, 118, 27, 0.2);
}

@media (width < 48rem) {
  .category.info span {
    background-color: transparent;
  }
}
/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
/* 投稿テンプレート
--------------------------------------------- */
/* 添付 */
.single .entry-attachment {
  width: 100%;
  border: 1px solid #b3b3b3;
  display: flex;
  flex-direction: row-reverse;
  margin-top: 68px;
}
@media screen and (width < 48rem) {
  .single .entry-attachment {
    margin-top: min((68 - 28) / 375 * 100vw, 68 * 1px);
  }
}
.single .entry-attachment p{
    margin-top: 0;
}
.single .entry-attachment .thumb {
  background: var(--gray-2);
  display: grid;
  place-content: center;
  flex-basis: 26%;
  flex-shrink: 0;
  aspect-ratio: 220/160;
}

.single .entry-attachment .desc {
  flex-grow: 1;
  padding: 16px 24px;
}

.single .entry-attachment .title {
  font-weight: bold;
  font-size: min(1.125rem, 27px);
}

.single .entry-attachment .text {
  margin-top: 10px;
}

.single-post .entry-attachment .button p {
  font-size: inherit;
　
}

.single .entry-attachment .button {
  margin-top: 20px;
  background: var(--body-color);
  border: 1px solid var(--body-color);
  color: #fff;
  max-width: 260px;
  margin-inline: auto;
  border-radius: 1000px;
  padding: 6px;
  font-weight: bold;
  transition: 0.4s background ease;
  font-size: min(20 / 16 * 1rem, 24px);
}
@media screen and (width < 48rem) {
  .single .entry-attachment .button {
    font-size: min((20 - 2) / 375 * 100vw, 20 / 16 * 1rem);
  }
}

.single .entry-attachment .icon-r {
  position: relative;
  justify-content: center;
}

.single .entry-attachment .button img {
  filter: invert(100%);
  position: absolute;
  right: 7.7%;
}

@media (any-hover: hover) {
  .single .entry-attachment .button:hover {
    color: var(--body-color);
    background: #fff;
  }
  .single .entry-attachment .button:hover img {
    filter: none;
  }
}
@media (width < 48rem) {
  .single .entry-attachment {
    display: block;
  }
  .single .entry-attachment .thumb {
    display: none;
  }
  .single .entry-attachment .desc {
    padding: 0;
    padding-bottom: 20px;
  }
  .single .entry-attachment .title {
    display: flex;
    gap: 20px;
    align-items: center;
    background: var(--gray-2);
    padding-block: 1.5em;
    padding-inline: 22px;
  }
  .single .entry-attachment .title::before {
    content: "";
    width: 42px;
    height: 54px;
    flex-shrink: 0;
    background-image: url(../image/share/pdf.svg);
    background-repeat: no-repeat;
    background-size: contain;
  }
  .single .entry-attachment .text {
    margin-top: 27px;
  }
  .single .entry-attachment .text,
  .single .entry-attachment .button {
    padding-inline: 15px;
  }
}
