@charset "UTF-8";

/* news & blogs Archive */
#contentArchive {
  background-color: #fbfaf3;
}
#contentArchive.-blog .blog-heading__en, #contentArchive.-blog .card-category, #contentSingle.-blog .post-category {
  color: #e55538;
}
#contentArchive.-blog .blog-heading__line {
  background: #e55538;
}
#contentArchive.-news .blog-heading__en, #contentArchive.-news .card-category, #contentSingle.-news .post-category {
  color: #7ab8a0;
}
#contentArchive.-news .blog-heading__line {
  background: #7ab8a0;
}

#contentSingle.-news .post-back a {
  color: #7ab8a0;
  border: 1.5px solid #7ab8a0;
}

#contentSingle.-news .post-back a:hover {
  background: #7ab8a0;
}

#contentSingle.-blog .post-back a {
  color: #e55538;
  border: 1.5px solid #e55538;
}

#contentSingle.-blog .post-back a:hover {
  background: #e55538;
}


/* ===== コンテナ ===== */
.blog-container {
  max-width: 1020px;
  margin: 0 auto;
  padding: 56px 20px 118px;
}

/* ===== 見出し ===== */
.blog-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-bottom: 70px;
}

.blog-heading__ja {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #333;
}

.blog-heading__en {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.blog-heading__line {
  width: 32px;
  height: 2px;
  border-radius: 1px;
  margin-top: 4px;
}

@media (max-width: 768px) {
  .blog-heading {
    margin-bottom: 48px;
  }
}

/* ===== グリッド ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .blog-container {
    padding: 36px 16px 60px;
  }
}

/* ===== カード ===== */
.blog-card {
  background: #fff;
  border-radius: 0.625rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* ===== サムネイル ===== */
.card-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #e8e4df;
}

.card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===== カード本文 ===== */
.card-body {
  padding: 16px 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.card-category {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.card-title {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.55;
  color: #222;
  flex: 1;
}

@media (max-width: 768px) {
  .card-title {
    font-size: 0.82rem;
  }
}

.card-date {
  font-size: 0.75rem;
  color: #aaa;
  margin-top: auto;
}

.card-more {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  font-size: 0.75rem;
  color: #888;
  padding: 0 16px 14px;
  gap: 4px;
}

.card-more::after {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-top: 1.5px solid #888;
  border-right: 1.5px solid #888;
  transform: rotate(45deg);
}


/* news & blogs Single */
#contentSingle {
  background-color: #fbfaf3;
}

/* ===== コンテナ ===== */
.single-container {
  max-width: 1020px;
  margin: 0 auto;
  padding: 56px 20px 80px;
}

@media (max-width: 768px) {
  .single-container {
    padding: 36px 16px 60px;
  }
}

/* ===== パンくず ===== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: #aaa;
  margin-bottom: 36px;
}

.breadcrumb a {
  color: #aaa;
  text-decoration: none;
}

.breadcrumb a:hover {
  color: #7ab8a0;
}

.breadcrumb__sep {
  font-size: 0.6rem;
}

/* ===== 記事ヘッダー ===== */
.post-header {
  margin-bottom: 40px;
}

.post-category {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.post-title {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.5;
  color: #222;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

@media (max-width: 768px) {
  .post-title {
    font-size: 1.2rem;
  }
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.75rem;
  color: #aaa;
  padding-bottom: 24px;
  border-bottom: 1px solid #e8e4df;
}

/* ===== 記事本文エリア ===== */
.post-body {
  background: #fff;
  border-radius: 8px;
  padding: 48px 56px;
}

@media (max-width: 768px) {
  .post-body {
    padding: 28px 20px;
  }
}

/* サムネイル画像 */
.post-thumbnail {
  width: 100%;
  overflow: hidden;
  border-radius: 6px;
  background: #e8e4df;
  margin-bottom: 40px;
}

.post-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===== WYSIWYGエリア（.entry-content） ===== */
.entry-content {
  font-size: 0.95rem;
  line-height: 1.9;
  color: #444;
}

.entry-content p {
  margin-bottom: 1.6em;
}

.entry-content h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #222;
  margin: 2.4em 0 0.8em;
  padding-left: 14px;
  border-left: 3px solid #7ab8a0;
  line-height: 1.5;
}

.entry-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #333;
  margin: 2em 0 0.6em;
  padding-bottom: 6px;
  border-bottom: 1px dashed #ccc;
}

.entry-content ul,
.entry-content ol {
  margin: 0 0 1.6em 1.4em;
}

.entry-content li {
  margin-bottom: 0.4em;
}

.entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  margin: 1.6em 0;
  display: block;
}

.entry-content a {
  color: #7ab8a0;
  text-decoration: underline;
  text-decoration-color: rgba(122, 184, 160, 0.4);
  text-underline-offset: 3px;
}

.entry-content a:hover {
  text-decoration-color: #7ab8a0;
}

.entry-content blockquote {
  margin: 1.6em 0;
  padding: 16px 20px;
  background: #f4f1ec;
  border-left: 3px solid #7ab8a0;
  border-radius: 0 4px 4px 0;
  font-size: 0.9rem;
  color: #666;
}

.entry-content strong {
  font-weight: 700;
  color: #222;
}

.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.6em 0;
  font-size: 0.88rem;
}

.entry-content th,
.entry-content td {
  padding: 10px 14px;
  border: 1px solid #e0dbd4;
  text-align: left;
}

.entry-content th {
  background: #f4f1ec;
  font-weight: 700;
}

/* ===== 戻るボタン ===== */
.post-back {
  margin-top: 56px;
  display: flex;
  justify-content: center;
}

.post-back a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  padding: 12px 32px;
  border-radius: 40px;
  transition: background 0.2s, color 0.2s;
}

#contentSingle.-blog .post-back a:hover, #contentSingle.-news .post-back a:hover {
  color: #fff;
}

.post-back a::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-top: 1.5px solid currentColor;
  border-left: 1.5px solid currentColor;
  transform: rotate(-45deg);
}