@charset "UTF-8";
@keyframes fadeOutLeft {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
    transform: translate3d(-100px, 0, 0);
  }
}
.blog_bg {
  background-image: url("../../../images/rp/blog/blog_bg.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  background-attachment: fixed;
}

.blog_category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}
@media screen and (max-width: 1023px) {
  .blog_category {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}
.blog_category .contents_title {
  margin-bottom: 0;
}
.blog_category .blog_menu {
  margin-bottom: 0;
}
@media screen and (max-width: 1023px) {
  .blog_category .blog_menu {
    margin-top: 1rem;
  }
}
.blog_category .blog_menu ul {
  display: flex;
  gap: 15px;
  list-style: none;
  padding: 0;
  margin: 0;
}
@media screen and (max-width: 1023px) {
  .blog_category .blog_menu ul {
    flex-wrap: wrap;
  }
}
.blog_category .blog_menu ul li a {
  order: -1;
  background-color: #D50E15;
  clip-path: polygon(10% 0%, 100% 0%, 90% 100%, 0% 100%);
  color: rgb(255, 255, 255);
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  margin-bottom: 1em;
  padding: 8px 40px;
  transition: 0.5s;
  white-space: nowrap;
}
@media screen and (max-width: 1023px) {
  .blog_category .blog_menu ul li a {
    padding: 8px 15px;
    font-size: 13px;
  }
}
.blog_category .blog_menu ul li a:hover {
  background-color: rgb(128, 128, 128);
  transition: 0.5s;
}
.blog_category .blog_menu ul li.is-active a {
  background: #D50E15;
  color: #fff;
}

.l-blog-grid {
  display: grid;
  max-width: 1014px;
  padding: 0 20px;
  margin: 0 auto;
}
@media print, screen and (min-width: 1024px) {
  .l-blog-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 30px;
  }
}
@media screen and (max-width: 1023px) {
  .l-blog-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.p-blog-card {
  background: #F3F3F3;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
@media print, screen and (min-width: 1024px) {
  .p-blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  }
}
.p-blog-card__link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.p-blog-card__img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #F3F3F3;
}
.p-blog-card__img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.3s ease;
}
@media print, screen and (min-width: 1024px) {
  .p-blog-card:hover .p-blog-card__img img {
    transform: scale(1.05);
  }
}
.p-blog-card__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.p-blog-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.p-blog-card__cat {
  background: #D50E15;
  color: #fff;
  clip-path: polygon(10% 0%, 100% 0%, 90% 100%, 0% 100%);
  padding: 4px 12px;
}
.p-blog-card__ttl {
  font-size: 20px;
  font-weight: 700;
  color: #354566;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media screen and (max-width: 1023px) {
  .p-blog-card__ttl {
    font-size: 18px;
  }
}
.p-blog-card__txt {
  font-size: 14px;
  line-height: 1.6;
  color: #071727;
  margin-top: auto;
}
.p-blog-card__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; /* 丸のサイズ */
  height: 40px; /* 丸のサイズ */
  background-color: #D50E15;
  border-radius: 50%;
  transition: all 0.3s ease;
  cursor: pointer;
  margin-top: 1rem;
  margin-left: auto;
}
.p-blog-card__btn .c-ico-arrow-02 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px; /* アイコンのサイズ */
  height: 18px;
}
.p-blog-card__btn .c-ico-arrow-02 svg {
  width: 100%;
  height: 100%;
  stroke: #ffffff; /* アイコンの色を白に */
  transition: fill 0.3s ease;
}

.p-entry {
  background-image: url("../../../images/rp/blog/blog_detail_bg.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  margin-bottom: 100px;
}

.p-entry__header-flex {
  display: flex;
  gap: 40px; /* 左右の間隔 */
  align-items: stretch; /* 左右の高さを揃える */
  margin-bottom: 60px;
  padding: 0 100px;
}
@media screen and (max-width: 1023px) {
  .p-entry__header-flex {
    padding: 0;
  }
}

/* 左側：サムネイル */
.p-entry__thumbnail {
  flex: 0 0 400px;
}
.p-entry__thumbnail img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  box-shadow: -20px 20px 0 #F3F3F3;
}

/* 右側：情報エリア */
.p-entry__info {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 10px 0;
}

.p-entry__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.p-entry__meta .p-entry__title {
  font-size: 25px;
  font-weight: 800;
}

.p-entry__date {
  font-size: 16px;
}

.p-entry__cat {
  background: #D50E15;
  color: #fff;
  clip-path: polygon(10% 0%, 100% 0%, 90% 100%, 0% 100%);
  padding: 5px 10px;
}

.p-entry__title {
  font-size: 24px;
  font-weight: 700;
  margin: 0; /* デフォルトの余白を消す */
  text-align: left; /* 左揃え */
}

/* スマホ対応：縦並びに戻す */
@media (max-width: 768px) {
  .p-entry__header-flex {
    flex-direction: column;
    gap: 20px;
  }
  .p-entry__thumbnail {
    flex: 0 0 auto;
  }
  .p-entry__info {
    gap: 15px; /* スマホでは間隔を詰める */
  }
}
/* 本文 */
.p-entry__body {
  margin: 0 auto;
  padding: 0 140px;
  max-width: 1014px;
  /* 本文内の画像 */
  /* 箇条書き（リスト） */
}
@media screen and (max-width: 1023px) {
  .p-entry__body {
    padding: 0 20px;
  }
}
.p-entry__body h1 {
  font-size: 36px;
  font-weight: 400;
  margin-bottom: 1rem;
}
@media screen and (max-width: 1023px) {
  .p-entry__body h1 {
    font-size: 24px;
  }
}
.p-entry__body h2 {
  font-size: 32px;
  font-weight: 400;
  margin-bottom: 1rem;
}
@media screen and (max-width: 1023px) {
  .p-entry__body h2 {
    font-size: 20px;
  }
}
.p-entry__body h3 {
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 0.8rem;
}
@media screen and (max-width: 1023px) {
  .p-entry__body h3 {
    font-size: 18px;
  }
}
.p-entry__body h4 {
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 0.8rem;
}
@media screen and (max-width: 1023px) {
  .p-entry__body h4 {
    font-size: 16px;
  }
}
.p-entry__body p {
  font-size: 16px;
}
@media print, screen and (min-width: 1024px) {
  .p-entry__body p {
    font-size: 14px;
  }
}
.p-entry__body img {
  width: auto;
  height: auto;
  display: block;
  margin: 40px auto;
  box-shadow: 20px 20px 0 #F3F3F3;
}
@media screen and (max-width: 1023px) {
  .p-entry__body img {
    max-width: 100%;
  }
}
.p-entry__body ul {
  margin: 20px 0 30px 20px;
  list-style-type: disc;
}
.p-entry__body ul li {
  margin-bottom: 10px;
}

/* ライター紹介セクション全体 */
.p-entry-writer {
  margin: 80px auto;
  max-width: 1014px;
}

.p-entry-writer__box {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  background: #ffffff;
  padding: 30px;
  border: 3px solid #D50E15;
}

/* 左側：画像 */
.p-entry-writer__img {
  flex: 0 0 120px; /* 画像サイズ固定 */
}
.p-entry-writer__img img {
  width: 120px;
  height: 120px;
  -o-object-fit: cover;
     object-fit: cover;
}

/* 右側：コンテンツ */
.p-entry-writer__content {
  flex: 1;
}

.p-entry-writer__label {
  color: #D50E15;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 5px;
}

.p-entry-writer__name {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.p-entry-writer__txt {
  margin: 0;
}

.mb80 {
  margin-bottom: 80px;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .p-entry-writer__box {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
  }
  .p-entry-writer__img {
    margin-bottom: 15px;
  }
}/*# sourceMappingURL=blog.css.map */