@charset "UTF-8";
/**
 * 共通スタイル (全ページで読み込み）
 */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--inline-padding-base);
}

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

.header-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 152px;
    height: var(--header-height);
    line-height: var(--header-height);
    margin-left: var(--inline-padding-base);
}

.header-logo .logo img {
    width: 100%;
    height: auto;
}

.header-navigation {
    width: var(--header-height);
    height: var(--header-height);
    position: relative;
}

.header-navigation .header-navigation-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: var(--header-height);
    height: var(--header-height);
    line-height: var(--header-height);
    color: var(--text-color);
    border: none;
    background: none;
    cursor: pointer;
}

.header-navigation .header-navigation-button-icon {
    line-height: 1.0;
    color: var(--text-color);
}

.header-navigation .header-navigation-button-icon::before {
    content: "\e5d2";
    font-family: Material Icons;
    font-size: 30px;
    color: var(--text-color);
}

.header-navigation.active .header-navigation-button-icon::before {
    content: "\e5cd";
}

.header-navigation .header-navigation-content {
    transition: all 0.3s;
    transform: translateX(100%);
    background: var(--bg-color);
    padding: var(--block-padding-base) var(--inline-padding-base);
    width: 75vw;
    max-width: 360px;
    height: calc(100vh - var(--header-height));
    position: absolute;
    top: var(--header-height);
    right: 0;
    z-index: 1001;
}

.header-navigation.active .header-navigation-content {
    transform: translateX(0);
}

.header-navigation::after {
    content: "";
    position: absolute;
    top: var(--header-height);
    right: 0;
    width: 0;
    height: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s;
}

.header-navigation.active::after {
    height: calc(100vh - var(--header-height));
    width: 100vw;
    opacity: 1;
}

.header-navigation .category-navigation ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.header-navigation .category-navigation a {
    display: block;
    text-align: center;
    font-size: 15px;
    font-weight: bold;
    line-height: 40px;
    border-radius: 8px;
    color: var(--link-color);
    text-decoration: none;
}

.header-navigation .category-navigation a:hover {
    background-color: var(--bg-color-hover);
}

@media screen and (min-width: 768px) {
    .header-logo {
        width: 180px;
    }

    .header-navigation.active .header-navigation-content {
        width: 400px;
        max-width: 400px;
    }
}

.search-form {
    display: flex;
    position: relative;
    max-width: 400px;
    margin: 0 auto 32px;
}

.search-form .search-input {
    flex: 1 1 auto;
    height: 48px;
    border: none;
    padding: 4px 16px 4px 48px;
    box-sizing: border-box;
    font-size: 17px;
    width: 100%;
    border-radius: 24px;
    background: #fff;
}

.search-form .search-input:focus {
    outline: none;
}

.search-form .search-button {
    flex: 0 0 auto;
    height: 48px;
    width: 48px;
    border: none;
    background: none;
    border-radius: 24px;
    color: var(--sub-color);
    text-align: center;
    cursor: pointer;
    position: absolute;
    left: 0;
}

.search-form .search-button::before {
    content: "\e8b6";
    font-family: Material Icons;
    font-size: 30px;
    line-height: 48px;
}

.section-header {
    padding: var(--block-padding-base) 0;
    display: flex;
    flex-direction: column;
}

.section-title {
    font-size: var(--title-size);
    line-height: 1.2;
    color: var(--title-color);
}

.section-subtitle {
    font-size: 15px;
    line-height: 1.2;
    color: var(--text-color);
    margin-top: 8px;
}

.section-content {
    padding: 0 0 var(--block-padding-base);
}

.section-footer {
    background: none;
    padding: 0 0 48px;
}


.archive-header {
    padding: var(--block-padding-base) 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.archive-title {
    font-size: var(--title-size);
    line-height: 1.2;
    color: var(--title-color);
}

.archive-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    font-size: 15px;
    color: #666;
}

.archive-content {
    padding: 0 0 var(--block-padding-base);
}

.archive-footer {
    background: none;
    padding: 0 0 48px;
}

.post-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--inline-padding-base);
}

.post-list-item {
    flex: 0 0 auto;
    width: 100%;
}

@media screen and (min-width: 768px) {
    .post-list-item {
        width: calc((100% - var(--inline-padding-base)) / 2);
    }
}

@media screen and (min-width: 1080px) {
    .post-list-item {
        width: calc((100% - var(--inline-padding-base) * 2) / 3);
    }
}

.post-list-item a {
    display: block;
    height: 100%;
    overflow: hidden;
    background: #fff;
    transition: all 0.8s;
}

.post-list-item a:hover {
    opacity: 0.8;
}

.post-list-item a:hover img {
    transform: scale(1.05);
    transition-duration: 1.5s;
}

.post-list-item a article {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.post-list-item-thumbnail {
    flex: 0 0 auto;
    width: 100%;
    margin-bottom: 0;
    background: var(--bg-color);
    aspect-ratio: 16/9;
    overflow: hidden;
    z-index: 1;
}

.post-list-item-thumbnail img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
    transition: all 0.5s;
}

.post-list-item-thumbnail .noimage {
    display: block;
    width: 100%;
    height: auto;
    background-color: var(--shadow-color);
    background-image: url('../images/logo_wh.png');
    background-size: 50%;
    background-repeat: no-repeat;
    background-position: center center;
    aspect-ratio: 16/9;
    transition: all 0.5s;
}

.post-list-item a:hover .noimage {
    transform: scale(1.05);
}

.post-list-item-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.post-list-item-title {
    font-size: 16px;
    font-weight: bold;
    color: var(--link-color);
    line-height: 1.3;
    overflow: hidden;
    display: -webkit-box;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    height: 3.9em;
}

.post-list-item-category {
    display: none;
}

.post-list-item-time {
    color: #776;
    font-size: 13px;
    line-height: 1.2;
}

.pagination {
    display: flex;
    justify-content: center;
}

.pagination-list {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.pagination-list .page-number {
    display: block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
}

.pagination-list span {
    background-color: var(--main-color);
    color: #fff;
}

.pagination-list a {
    background-color: var(--bg-color);
    color: var(--link-color);
}

.pagination-list a:hover {
    background-color: var(--shadow-color);
}

.breadcrumbs {
    padding: 12px var(--inline-padding-base);
    background-color: var(--bg-color);
}

.breadcrumbs ol {
    display: flex;
    align-items: center;
    gap: 4px;
    height: 24px;
    line-height: 24px;
    font-size: 12px;
}

.breadcrumbs li {
    display: flex;
    align-items: center;
    gap: 4px;
}

.breadcrumbs li:not(:last-child)::after {
    content: "\e5cc";
    font-family: Material Icons;
    font-size: 16px;
}

.breadcrumbs li:last-child {
    flex-shrink: 1;
    overflow: hidden;
}

.breadcrumbs li a {
    color: #666;
    text-decoration: underline;
}

.breadcrumbs li span {
    display: block;
    color: #666;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.breadcrumbs li span.current {
    color: #888;
}

.button {
    display: flex;
    justify-content: center;
}

.button .link-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 400px;
    height: 48px;
    background-color: transparent;
    color: var(--link-color);
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    border: 1px solid var(--link-color);
    border-radius: 24px;
    transition: all 0.5s;
}

.button .link-button:hover {
    background-color: var(--bg-color);
}

.page-404 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 70vh;
}

.page-404-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
}


.footer {
    padding: 48px 0 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.footer-information {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: 100%;
}

.footer-logo {
    width: 60%;
    max-width: 320px;
    height: auto;
}

.footer-menu {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.footer-navigation ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-navigation ul li {
    font-size: 14px;
    line-height: 1.4;
}

.footer-links {
	padding: 48px var(--inline-padding-base) 0;
}

.footer-links ul {
	display: flex;
	row-gap: 10px;
}

.footer-links ul li {
	position: relative;
	font-size: 14px;
}

.footer-links ul li::after {
	content: '｜';
	top: 0;
	right: 5px;
}

.footer-links ul li:last-child::after {
	content: none;
}

.footer-links ul li a {
	text-decoration: underline;
}

.footer-copyright {
    padding-top: var(--block-padding-base);
    text-align: center;
    font-size: 12px;
    line-height: 2.4;
}

@media screen and (min-width: 768px) {
    .footer {
        padding: 48px 0 0;
    }

    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }
}
