/* Blog post */

.blog-post {
    max-width: 960px;
    margin: 0 auto;
}

.blog-post__meta {
  margin-bottom: 1.4rem;
}

.blog-post__meta a {
  text-decoration: underline;
}

.blog-post__timestamp {
  display: block;
}

.blog-post__tags svg {
  height: auto;
  margin-right: 0.35rem;
  width: 15px;
}

.blog-post__tag-link {
    background: #eef3ff;
    color: #4b6b9a;
    font-size: 11px;
}
/* Blog related posts */

.blog-related-posts {
  background-color: #F8FAFC;
}

.blog-related-posts h2 {
    text-align: center;
    font-size: 36px;
}

.blog-related-posts__list {
  display: flex;
  flex-wrap: wrap;
}

.blog-related-posts__post {
  flex: 0 0 100%;
  padding: 1rem;
}

.blog-related-posts__content h3{
    margin: 12px 0px 12px 0px;
    font-size: 18px;
    line-height: 1.4;
}

.blog-related-posts_summary {
    margin: 12px 0px 12px 0px;
    font-size: 12px;
    line-height: 1.4;
    color: #666;
}

.blog-related-posts__content p{
    margin: 12px 0px 12px 0px;
    font-size: 12px;
    line-height: 1.4;
    color: #666;
    text-align: right;
}

@media screen and (min-width: 768px) {
  .blog-related-posts__post {
    flex: 0 0 calc(100% / 2);
  }
}

@media screen and (min-width: 1000px) {
  .blog-related-posts__post {
    flex: 0 0 calc(100% / 3);
  }
}

.blog-related-posts__image {
  height: 260px;
  max-width: 100%;
}

.blog-related-posts__title {
  margin: 0.7rem 0;
}

/* Blog comments */

.blog-comments {
  margin: 0 auto;
  max-width: 680px;
}

.blog-comments .hs-submit {
  text-align: center;
}

.blog-comments .comment-reply-to {
  border: 0 none;
}

.blog-comments .comment-reply-to:hover,
.blog-comments .comment-reply-to:focus {
  background-color: transparent;
  text-decoration: underline;
}

.blog-post__tag-link {
  background:#16204a;
  color:#fff;
  padding:6px 12px;
  border-radius:999px;
}

.blog-post__author {
    margin-top: 16px;
    margin-bottom: 12px;
}

.blog-post__author-image {
  width:40px;
  height:40px;
  border-radius:50%;
}

.blog-post {
  max-width: 900px;
  margin: 0 auto;
}

.blog-post__tags {
  margin-bottom: 20px;
}

.blog-post__tag-link {
  display: inline-block;
  background: #d9e6ff;
  color: #234f92;
  text-decoration: none;
  padding: 4px 10px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 600;
  margin-right: 8px;
}

.blog-post h1 {
    font-family:
        "Noto Sans JP",
        "Hiragino Kaku Gothic ProN",
        "Yu Gothic",
        sans-serif;

    font-size: 26px;
    font-weight: 800;

    line-height: 1.15;

    color: #1f2b44;

    margin-top: 12px;
    margin-bottom: 24px;

    letter-spacing: -0.02em;
}

.blog-post__author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.blog-post__author img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}

.blog-post__date {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 32px;
  color: #42526e;
}

.blog-post__author-name {
  font-size: 14px;
  font-weight: 600;
  color: #0b1330;
}

/* ==========================================
   TEIDEC BLOG LISTING
========================================== */

/* ==========================================
   Featured Section
========================================== */

.teidec-featured {
    margin: 60px 0;
}

.teidec-featured-grid{
    margin: 48px 0px 48px 0px;
    display:grid;
    grid-template-columns:2fr 1fr;
    gap:20px;
}

.teidec-featured-grid {
    display: grid;
    grid-template-columns: 60% 40%;
    gap: 32px;
}

.teidec-main{
    margin: 0px 0px 0px 0px;
    background:#ffffff;
    min-height:auto;
}

.teidec-side{
    margin: 0px 0px 0px 0px;
    display:flex;
    flex-direction:column;
    gap:20px;
}

.teidec-side div{
    background:#ffffff;
    min-height:120px;
}

.teidec-main img{
    margin: 0px 0px 15px 0px;
    width:90%;
    height:auto;
    object-fit:cover;
}

.teidec-main h3 {
    margin: 0px 12px 12px 0px;
    font-size: 24px;
    line-height: 1.25;
    font-weight: 700;
}

.teidec-main p {
    margin: 0px 12px 12px 0px;
    font-size: 10px;
    color: #666;
    text-align: right;
}

.teidec-main-summary {
    margin: 20px 12px 12px 0px;

    font-size: 14px;
    line-height: 1.8;

    color: #3a3a3a;

    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;

    overflow: hidden;
}
.teidec-side-card {
    display: flex;
    gap: 12px;
    align-items: flex-start;

    padding-bottom: 12px;
    margin-bottom: 12px;

    border-bottom: 1px solid #e5e5e5;
}

.teidec-side-card img {
    width: 160px;
    height: auto;
    object-fit: cover;
    flex-shrink: 0;
}

.teidec-side-card-content {
    flex: 1;
}

.teidec-side-card-content h4 {
    margin: 0px 12px 12px 0px;
    font-size: 16px;
    line-height: 1.4;
}

.teidec-side-card-content p {
    margin: 0px 12px 12px 0px;
    font-size: 10px;
    color: #666;
    text-align: right;
}

.teidec-main h3 a,
.teidec-main h3 a:visited,
.teidec-hero-header a,
.teidec-hero-header a:visited,
.teidec-section-header a,
.teidec-section-header a:visited,
.teidec-side-card-content h4 a,
.teidec-side-card-content h4 a:visited,
.teidec-latest-card-content h4 a,
.teidec-latest-card-content h4 a:visited,
.teidec-category-card-content h4 a,
.teidec-category-card-content h4 a:visited,
.blog-related-posts__list h3 a,
.blog-related-posts__list h3 a:visited {
  color: #222;
    text-decoration: none;
}

.teidec-main h3 a:hover,
.teidec-hero-header a:hover,
.teidec-section-header a:hover,
.teidec-side-card-content h4 a:hover,
.teidec-latest-card-content h4 a:hover,
.teidec-category-card-content h4 a:hover,
.blog-related-posts__list h3 a:hover {
    text-decoration: underline;
}

.teidec-side-card:last-child,
.teidec-latest-card-content:last-child,
.teidec-category-card-content:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.teidec-side-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0px 0px 20px 0px;
    padding-bottom: 8px;

    border-bottom: 2px solid #1F4F9A;
}

/* ==========================================
   Title Section
========================================== */

.teidec-hero {
    margin: 50px 0 70px;
}

.teidec-hero-header {
    display: flex;
    align-items: baseline;
    gap: 32px;
    margin-bottom: 24px;
}

.teidec-hero h1 {
    font-size: 40px;
    font-weight: 700;
    color: #16204a;
    margin-bottom: 20px;
}

.teidec-hero-subtitle h2 {
    font-size: 40px;
    font-weight: 700;
    color: #16204a;
    margin-bottom: 20px;
        text-align: center;
}

.teidec-hero-lead {
    font-size: 20px;
    font-weight: 600;
    color: #222;
    margin-bottom: 10px;
}

.teidec-hero-description {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    max-width: 100%;
}

/* ==========================================
   Latest Section
========================================== */

.teidec-latest {
    margin: 100px 0px 100px 0px;
}

.teidec-latest h2 {
    font-size: 36px;
    margin-bottom: 30px;
    padding-bottom: 8px;

    border-bottom: 2px solid #1F4F9A;
}

.teidec-latest-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.teidec-latest-card {
    display: flex;
    gap: 0px;
    align-items: flex-start;

    padding-bottom: 0px;
    margin-bottom: 0px;

    border-bottom: 1px solid #e5e5e5;
}

.teidec-latest-card img {
    width: 150px;
    height: auto;
    object-fit: cover;
    flex-shrink: 0;
    margin: 0px 20px 0px 0px;
}

.teidec-latest-card-content {
    flex: 1;
}

.teidec-latest-card-content h4 {
    margin: 0px 12px 5px 0px;
    font-size: 16px;
    line-height: 1.4;
}

.teidec-latest-card-content p {
    margin: 0px 12px 18px 0px;
    font-size: 11px;
    color: #666;
    text-align: right;
}

.teidec-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-bottom: 30px;
    padding-bottom: 8px;

    border-bottom: 2px solid #1F4F9A;
}

.teidec-section-header h2 {
    margin: 0;
    border-bottom: none;
}

.teidec-section-header a {
    font-size: 11px;
    color: #666;
}

.teidec-filter-description {
    margin-bottom: 15px;
    font-size: 14px;
    font-weight: 500;
    color: #444;
}

.teidec-filter {
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-bottom:10px;
}

.teidec-filter button {
    border:none;
    background:#eeeeee;
    color:#555555;
    padding:0px 8px 0px 8px;
    cursor:pointer;
    font-size:10px;
    font-weight: 700;

    min-height:32px;
    min-width: 125px;
    box-sizing:border-box;

}

.teidec-filter button:hover {
    background:#234f92;
    color:#fff;
    font-weight: 700;
}

.teidec-filter-icon {
    width: 21px;
    height: 21px;
    vertical-align: middle;
}
/* ==========================================
   Category Section
========================================== */

.teidec-category {
    margin: 100px 0px 100px 0px;
}

.teidec-category h2 {
    font-size: 36px;
    margin-bottom: 0px;
    padding-bottom: 8px;

    border-bottom: none;
}

.teidec-category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.teidec-category-card {
    background: #fff;
}

.teidec-category-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.teidec-category-card-content h4 {
    margin: 0px 12px 12px 0px;
    font-size: 16px;
    line-height: 1.4;
}

.teidec-category-card-content p {
    margin: 0;
    font-size: 13px;
    color: #666;
}

.teidec-post-tags {
    margin-bottom: 10px;
}

.teidec-post-tag {
    display: inline-block;

    padding: 4px 10px;
    margin-right: 4px;
    margin-bottom: 4px;

    background: #eeeeee;
    color: #444444;

    font-size: 10px;
    font-weight: 500;

    border-radius: 3px;
}

.teidec-back-to-top {
    text-align: center;
    margin: 80px 0 40px;
}

.teidec-back-to-top a {
    color: #1F4F9A;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
}

.teidec-back-to-top a:hover {
    text-decoration: underline;
}
/* ==========================================
Responsive
========================================== */

@media (max-width: 1024px) {
  
    .teidec-hero-header {
        display: block;
    }

    .teidec-hero h1 {
        margin-bottom: 12px;
        font-size: 32px;
    }

    .teidec-hero-subtitle h2 {
        margin-bottom: 12px;
        font-size: 32px;
        text-align: center;
    }

    .teidec-hero-lead {
        margin-bottom: 0;
        font-size: 18px;
    }

    .teidec-category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 768px) {

    .teidec-featured-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .teidec-featured-main img {
        width: 120px;
        height: auto;
    }

    .teidec-featured-main h3 {
        font-size: 26px;
    }

    .teidec-featured-side h4 {
        font-size: 18px;
    }
    .teidec-section-header {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
  
    .teidec-latest-grid {
        grid-template-columns: 1fr;
    }
  
   .teidec-category-grid {
        grid-template-columns: 1fr;
}

     .teidec-category-grid img{
        width: 100%;
        height: 150px;
}