@charset "UTF-8";

.page-blog{
    padding: 6.5rem 0 12.5rem;
}

.page-blog__inner{
    max-width: 1024px;
    width: 100%;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.blog__item {
    border-bottom: 1px solid #e3b336;
    display: flex;
    align-items: center;
    padding-bottom: 1.875rem;
}
@media screen and (max-width: 600px) {
    .blog__item {
        flex-direction: column;
        align-items: flex-start;
    }
}

.blog__item + .blog__item {
    margin-top: 1.875rem;
}

.blog-item__unit {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.blog-item__date {
    font-size: 0.875rem;
    font-weight: 300;
    color: #fff;
}
@media screen and (max-width: 600px) {
    .blog-item__date {
        font-size: 13px;
        padding-top: 4px;
    }
}

.blog-item__category {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e3b336;
    border: 1px solid #e3b336;
    padding: 0.5rem 0.9375rem;
    font-size: 0.875rem;
    max-width: 300px;
    min-width: 128px;
    font-weight: 500;
    margin-left: 1.25rem;
    transition: all 0.3s;
}
@media screen and (max-width: 600px) {
    .blog-item__category {
        font-size: 0.75rem;
    }
}

.blog-item__link {
    font-weight: 500;
    font-size: 1rem;
    line-height: 2;
    letter-spacing: 0;
    margin-left: 1.25rem;
    color: #fff;
    line-height: 2;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
@media screen and (max-width: 600px) {
    .blog-item__link {
        font-size: 0.875rem;
    }
}

@media screen and (max-width: 600px) {
    .blog-item__link {
        margin-left: 0px;
        padding-top: 0;
        margin-top: 20px;
    }
}

.blog-item__link:hover {
    opacity: 1;
    color: #e3b336;
}

.blog__date {
    font-size: 1rem;
    color: #fff;
    letter-spacing: 0.05em;
    line-height: 1.8;
    font-weight: 700;
    width: 6.25rem;
    flex-shrink: 0;
}

.blog__category-title-wrap {
    margin-top: 2.25rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}


.post {
    padding: 3.75rem 0;
}
@media screen and (max-width: 600px) {
    .post {
        padding: 2.5rem 0 3.75rem;
    }
}

.post__inner {
    width: 100%;
    max-width: 1024px;
    padding: 0 1.25rem;
    margin: 0 auto;
}
@media screen and (max-width: 600px) {
    .post__inner {
        padding: 0 1.5625rem;
    }
}

.post__body {
    padding-top: 3.75rem;
}

.post__meta {
    display: flex;
    justify-content: space-between;
    margin-top: 0.9375rem;
    flex-wrap: wrap;
}

.post__category {
    display: inline-block;
    font-size: 0.875rem;
    color: #e3b336;
    border: 1px solid #e3b336;
    padding: 0.5rem 0.9375rem;
    min-width: 128px;
    text-align: center;
    transition: all 0.3s;
}
@media screen and (max-width: 600px) {
    .post__category {
        font-size: 0.75rem;
    }
}

.post__date {
    font-size: 1rem;
    color: #fff;
}
@media screen and (max-width: 600px) {
    .post__date {
        font-size: 0.875rem;
    }
}

.post__title {
    position: relative;
    font-size: 2.25rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.6;
}
@media screen and (max-width: 600px) {
    .post__title {
        font-size: 1.75rem;
    }
}
@media screen and (max-width: 375px) {
    .post__title {
        font-size: 1.5rem;
    }
}

.post__title::after {
    position: absolute;
    content: "";
    width: 100%;
    background: #e3b336;
    height: 1px;
    left: 0;
    bottom: -5px;
}

.single-nav__items {
    margin-top: 90px;
    max-width: 500px;
    margin-inline: auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(calc(33.3333333333% - 20px), 1fr));
    -moz-column-gap: 20px;
    column-gap: 20px;
    justify-items: center;
    align-items: center;
}
@media screen and (max-width: 600px) {
    .single-nav__items {
        margin-top: 3.4375rem;
        grid-template-columns: 1fr;
        row-gap: 1.6875rem;
    }
}

.single-nav__item {
    width: 100%;
}

.page-nav-button {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 500;
    border: 1px solid #e3b336;;
    color: #e3b336;
    padding: 0.625rem 1.25rem;
    transition: background-color 0.3s ease;
}

.page-nav-button:hover {
    border: 1px solid transparent;
    background-color: #e3b336;;
    color: #fff;
    opacity: 1;
}

.post-content h2,
.post-content h3 {
    margin-bottom: 1.875rem;
}

.post-content p,
.post-content h4,
.post-content h5,
.post-content h6,
.post-content img,
.post-content ul,
.post-content ol,
.post-content table {
    margin-bottom: 0.9375rem;
}

.post-content p {
    font-weight: 500;
    font-size: 1rem;
    line-height: 2;
    letter-spacing: 0;
    color: #fff;
}
@media screen and (max-width: 600px) {
    .post-content p {
        font-size: 0.875rem;
    }
}

.post-content h2 {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.6;
    letter-spacing: 0.1em;
    color: #fff;
    border-left: 5px solid #e3b336;
    padding-left: 1.25rem;
}
@media screen and (max-width: 600px) {
    .post-content h2 {
        font-size: 1.75rem;
    }
}

.post-content h3 {
    position: relative;
    font-size: 1.625rem;
    font-weight: 700;
    line-height: 1.6;
    letter-spacing: 0.1em;
    color: #fff;
    padding-bottom: 1.25rem;
}
@media screen and (max-width: 600px) {
    .post-content h3 {
        font-size: 1.5rem;
    }
}

.post-content h3::after {
    position: absolute;
    content: "";
    width: 3.5rem;
    height: 0.125rem;
    bottom: 0;
    left: 0;
    background-color: #e3b336;
}

.post-content h4 {
    font-size: 1.5rem;
    line-height: 1.6;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
    margin-bottom: 0.9375rem;
}
@media screen and (max-width: 600px) {
    .post-content h4 {
        font-size: 1.375rem;
    }
}
@media screen and (max-width: 375px) {
    .post-content h4 {
        font-size: 1.25rem;
    }
}

.post-content h5 {
    font-size: 1.375rem;
    font-weight: 700;
    line-height: 1.6;
    color: #fff;
}
@media screen and (max-width: 600px) {
    .post-content h5 {
        font-size: 1.25rem;
    }
}
@media screen and (max-width: 375px) {
    .post-content h5 {
        font-size: 1.125rem;
    }
}

.post-content h6 {
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.6;
    color: #fff;
}
@media screen and (max-width: 600px) {
    .post-content h6 {
        font-size: 1rem;
    }
}

.post-content ul {
    list-style: none;
    padding-left: 2.25rem;
}
@media screen and (max-width: 600px) {
    .post-content ul {
        padding-left: 0.9375rem;
    }
}

.post-content ul li {
    font-size: 1rem;
    display: flex;
    color: #fff;
    align-items: baseline;
}
@media screen and (max-width: 600px) {
    .post-content ul li {
        align-items: baseline;
    }
}

.post-content ul li::before {
    content: "⚫︎";
    color: #fff;
    font-size: 0.5em;
    margin-right: 1em;
}

.post-content ul li:not(:first-child) {
    margin-top: 0.625rem;
}

.post-content ol {
    counter-reset: number;
    list-style-type: none !important;
    padding-left: 1.25rem;
}

.post-content ol li {
    position: relative;
    line-height: 1.6;
    padding-left: 2.1875rem;
}

.post-content ol li:not(:first-child) {
    margin-top: 0.625rem;
}

.post-content ol li:before {
    position: absolute;
    counter-increment: number;
    content: counter(number);
    display: inline-block;
    background-color: #e3b336;
    color: #fff;
    font-weight: 500;
    font-size: 1rem;
    left: 0;
    width: 1.5625rem;
    height: 1.5625rem;
    line-height: 25px;
    text-align: center;
    top: 50%;
    transform: translateY(-50%);
}

.post-content table table {
    border: none;
}

.post-content table thead {
    border-bottom: 1px solid #fff;
}

.post-content table th {
    border: 1px solid #fff;
    background-color: #e3b336;
    color: #000000;
    padding: 0.5rem 0.875rem;
}

.post-content table td {
    border: 1px solid #fff;
    color: #fff;
    padding: 0.5rem 0.875rem;
}

.post-content a {
    color: #fff;
    text-decoration: underline;
    word-break: break-all;
}

@media screen and (max-width: 600px) {
    .post-content figure {
        text-align: center;
    }
}

.post-content figure.wp-block-image img {
    width: auto !important;
    max-width: 100%;
    height: auto;
    display: inline-block;
}

/* YouTube iframe対応（レスポンシブ） */
.post-content iframe {
    display: block;
    max-width: 100%;
    width: 100%;
    height: auto;
    aspect-ratio: 16/9; /* CSSでアスペクト比を維持 */
    margin-bottom: 0.9375rem;
}

/* PDFファイルを埋め込んだiframeだけ対象 */
.post-content iframe[src$=".pdf"],
.post-content iframe[src*=".pdf?"] {
    height: 1200px !important;
    aspect-ratio: auto !important;
}

/* タブレット */
@media (max-width: 1024px) {
    .post-content iframe[src$=".pdf"],
    .post-content iframe[src*=".pdf?"] {
        height: 900px !important;
    }
}

/* スマホ（横向き or 中くらい） */
@media (max-width: 600px) {
    .post-content iframe[src$=".pdf"],
    .post-content iframe[src*=".pdf?"] {
        height: 700px !important;
    }
}

  /* スマホ（縦・小画面） */
@media (max-width: 480px) {
    .post-content iframe[src$=".pdf"],
    .post-content iframe[src*=".pdf?"] {
      height: 500px !important;
    }
}

/* 旧ブラウザ対応が必要な場合はwrapで対応 */
.post-content .video-wrap {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9のアスペクト比 */
    margin-bottom: 0.9375rem;
}

.post-content .video-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.page-navitation{
    margin-top: 2.5rem;
}

.page-navitation .right{
    display: flex;
    justify-content: center;
    gap:0.75rem;
}

.page-navitation span,
.page-navitation a{
    color: #fff;
    font-size: 1.25rem;
}

.page-navitation a{
    text-decoration: underline;
}