/* ==========================================================
   Wellnessmore - Main Stylesheet
   Figma デザイン準拠
   ========================================================== */

/* --------------------------------------------------------
   CSS Custom Properties（デザイントークン）
   -------------------------------------------------------- */
:root {
    /* Colors */
    --color-primary: #63C0AB;
    --color-text-main: #333333;
    --color-text-body: #000000;
    --color-text-sub: #9E9E9E;
    --color-text-date-movie: #969696;
    --color-bg-footer: #8B8B8B;
    --color-bg-placeholder: #D9D9D9;
    --color-bg-button: #F2F2F2;
    --color-bg-page: #FFFFFF;

    /* Fonts */
    --font-noto-sans: 'Noto Sans', sans-serif;
    --font-noto-sans-jp: 'Noto Sans JP', sans-serif;
    --font-roboto: 'Roboto', sans-serif;
    --font-roboto-condensed: 'Roboto Condensed', sans-serif;

    /* Layout */
    --header-height-pc: 100px;
    --header-height-sp: 60px;
}

/* --------------------------------------------------------
   Reset & Base
   -------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-noto-sans-jp);
    color: var(--color-text-body);
    background-color: var(--color-bg-page);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
}

/* --------------------------------------------------------
   Header
   -------------------------------------------------------- */
.site-header {
    position: relative;
    height: var(--header-height-pc);
    background-color: var(--color-bg-page);
    z-index: 1000;
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 40px;
    max-width: 1920px;
    margin: 0 auto;
}

.site-header__logo a {
    display: block;
}

.site-header__logo-img {
    height: 50px;
    width: auto;
    max-width: 267px;
}

.site-header__nav .header-nav__list {
    display: flex;
    align-items: center;
    gap: 40px;
}

.site-header__nav .header-nav__list li {
    list-style: none;
}

.site-header__nav .header-nav__list a {
    font-family: var(--font-noto-sans);
    font-weight: 700;
    font-size: 14px;
    color: var(--color-primary);
    letter-spacing: -0.04em;
    white-space: nowrap;
    transition: opacity 0.3s ease;
}

.site-header__nav .header-nav__list a:hover {
    opacity: 0.7;
}

.hamburger-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 28px;
    height: 22px;
    position: relative;
    z-index: 1001;
}

.hamburger-btn__icon,
.hamburger-btn__close {
    display: block;
}

.hamburger-btn__close {
    display: none;
}

.hamburger-btn.is-open .hamburger-btn__icon {
    display: none;
}

.hamburger-btn.is-open .hamburger-btn__close {
    display: block;
}

.mobile-menu {
    display: none;
}

/* --------------------------------------------------------
   Slider
   -------------------------------------------------------- */
.section-slider {
    padding: 40px 0 0;
}

.slider {
    position: relative;
    overflow: hidden;
}

.slider__track {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    padding: 0;
    transition: transform 0.5s ease;
}

.slider__slide {
    flex: 0 0 520px;
    width: 520px;
    height: 520px;
}

.slider__slide a {
    display: block;
    width: 100%;
    height: 100%;
}

.slider__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.slider__indicators {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
    padding-bottom: 30px;
}

.slider__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background-color: var(--color-bg-placeholder);
    cursor: pointer;
    padding: 0;
    transition: background-color 0.3s ease;
}

.slider__dot.is-active {
    background-color: var(--color-primary);
}

/* --------------------------------------------------------
   Section Title
   -------------------------------------------------------- */
.section-title {
    font-family: var(--font-noto-sans);
    font-weight: 700;
    font-size: 40px;
    color: var(--color-text-main);
    text-align: center;
    margin-bottom: 40px;
}

/* --------------------------------------------------------
   More Button
   -------------------------------------------------------- */
.section-more {
    text-align: right;
    margin-top: 70px;
}

.btn-more {
    display: inline-block;
    width: 200px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    font-family: var(--font-roboto-condensed);
    font-weight: 600;
    font-size: 24px;
    background-color: var(--color-bg-button);
    border-radius: 10px;
    color: var(--color-text-body);
    border: none;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.btn-more:hover {
    opacity: 0.7;
}

.btn-more.is-loading {
    pointer-events: none;
    opacity: 0.5;
}

/* --------------------------------------------------------
   PRODUCTS Section
   -------------------------------------------------------- */
.section-products {
    padding: 60px 0 70px;
}

.section-products__inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.product-card__link {
    display: block;
}

.product-card__image {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card__link:hover .product-card__image img {
    transform: scale(1.03);
}

.product-card__info {
    margin-top: 4px;
}

.product-card__name-en {
    font-family: var(--font-noto-sans-jp);
    font-weight: 500;
    font-size: 16px;
    color: var(--color-text-body);
    line-height: 1.4;
}

.product-card__name-ja {
    font-family: var(--font-noto-sans-jp);
    font-weight: 500;
    font-size: 12px;
    color: var(--color-text-sub);
    line-height: 1.4;
    margin-top: 4px;
}

/* --------------------------------------------------------
   NEWS Section
   -------------------------------------------------------- */
.section-news {
    padding: 60px 0 70px;
}

.section-news__inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.news-card__link {
    display: block;
}

.news-card__image {
    width: 100%;
    aspect-ratio: 285 / 160;
    background-color: var(--color-bg-placeholder);
    border-radius: 10px;
    overflow: hidden;
}

.news-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.news-card__info {
    margin-top: 12px;
}

.news-card__date {
    display: block;
    font-family: var(--font-noto-sans-jp);
    font-weight: 700;
    font-size: 12px;
    color: var(--color-primary);
    line-height: 22px;
}

.news-card__title {
    font-family: var(--font-noto-sans-jp);
    font-weight: 400;
    font-size: 14px;
    color: var(--color-text-body);
    line-height: 1.5;
    margin-top: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* SP用ニュースリストアイテム（PCでは非表示） */
.news-list-item {
    display: none;
}

/* --------------------------------------------------------
   MOVIE Section
   -------------------------------------------------------- */
.section-movie {
    padding: 60px 0 70px;
}

.section-movie__inner {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 20px;
}

.movie-grid {
    display: flex;
    justify-content: center;
    gap: 23px;
}

.movie-card {
    flex: 0 0 197px;
    width: 197px;
}

.movie-card__link {
    display: block;
}

.movie-card__thumbnail {
    position: relative;
    width: 197px;
    height: 350px;
    background-color: var(--color-bg-placeholder);
    border-radius: 10px;
    overflow: hidden;
}

.movie-card__thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.movie-card__play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    pointer-events: none;
}

.movie-card__play-btn svg {
    width: 100%;
    height: 100%;
}

.movie-card__meta {
    margin-top: 14px;
}

.movie-card__author {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.movie-card__author-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.movie-card__author-info {
    display: flex;
    flex-direction: column;
}

.movie-card__author-name {
    font-family: var(--font-roboto);
    font-weight: 500;
    font-size: 12px;
    color: var(--color-text-body);
    line-height: 16px;
}

.movie-card__author-handle {
    font-family: var(--font-roboto);
    font-weight: 500;
    font-size: 12px;
    color: var(--color-text-body);
    line-height: 16px;
}

.movie-card__comment {
    font-family: var(--font-noto-sans-jp);
    font-weight: 400;
    font-size: 14px;
    color: var(--color-text-body);
    line-height: 1.5;
    margin-top: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.movie-card__date {
    display: block;
    font-family: var(--font-noto-sans-jp);
    font-weight: 700;
    font-size: 12px;
    color: var(--color-text-date-movie);
    line-height: 22px;
    margin-top: 8px;
}

/* MOVIEスライダー インジケーター（SPのみ表示） */
.movie-slider__indicators {
    display: none;
}

/* --------------------------------------------------------
   Footer
   -------------------------------------------------------- */
.site-footer {
    background-color: var(--color-bg-footer);
    color: var(--color-bg-page);
    padding: 35px 40px 34px;
}

.site-footer__inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.site-footer__sns {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.site-footer__sns-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--color-bg-page);
    transition: opacity 0.3s ease;
}

.site-footer__sns-link:hover {
    opacity: 0.7;
}

.site-footer__sns-link svg {
    width: 40px;
    height: 40px;
}

.site-footer__nav .footer-nav__list {
    display: flex;
    justify-content: center;
    gap: 50px;
}

.site-footer__nav .footer-nav__list li {
    list-style: none;
}

.site-footer__nav .footer-nav__list a {
    font-family: var(--font-noto-sans-jp);
    font-weight: 600;
    font-size: 14px;
    color: var(--color-bg-page);
    letter-spacing: -0.04em;
    white-space: nowrap;
    transition: opacity 0.3s ease;
}

.site-footer__nav .footer-nav__list a:hover {
    opacity: 0.7;
}

.site-footer__copyright {
    display: none;
}

/* --------------------------------------------------------
   Content pages
   -------------------------------------------------------- */
.page-content,
.archive-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.page-title,
.archive-title {
    font-family: var(--font-noto-sans);
    font-weight: 700;
    font-size: 34px;
    color: var(--color-text-main);
    margin-bottom: 30px;
    text-align: center;
}

/* --------------------------------------------------------
   Company page
   -------------------------------------------------------- */
.page-company {
    padding-top: 40px;
    padding-bottom: 100px;
}

/* Section heading (shared) */
.company-section-heading {
    text-align: center;
    margin-bottom: 50px;
}

.company-section-heading__en {
    font-family: var(--font-noto-sans);
    font-weight: 700;
    font-size: 34px;
    color: var(--color-text-body);
    line-height: normal;
    margin: 0;
}

.company-section-heading__ja {
    font-family: var(--font-noto-sans-jp);
    font-weight: 500;
    font-size: 18px;
    color: var(--color-text-main);
    line-height: normal;
    margin-top: 4px;
}

/* CONCEPT */
.company-concept {
    max-width: 1200px;
    margin: 0 auto 80px;
    padding: 0 20px;
    text-align: center;
}

.company-concept__catchcopy {
    font-family: var(--font-noto-sans-jp);
    font-weight: 900;
    font-size: 50px;
    line-height: 55px;
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 70px;
}

.company-concept__description {
    font-family: var(--font-noto-sans-jp);
    font-weight: 700;
    font-size: 28px;
    line-height: 50px;
    color: #525252;
    text-align: center;
    margin: 0;
}

/* BUSINESS */
.company-business {
    max-width: 1200px;
    margin: 0 auto 100px;
    padding: 0 20px;
}

.company-business__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.company-business__card {
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: center;
}

.company-business__card-image {
    width: 100%;
    aspect-ratio: 285 / 150;
    background-color: var(--color-bg-placeholder);
    border-radius: 10px;
}

.company-business__card-title {
    font-family: var(--font-noto-sans-jp);
    font-weight: 700;
    font-size: 20px;
    line-height: 22px;
    color: var(--color-text-body);
    text-align: center;
    margin: 0;
}

.company-business__card-text {
    font-family: var(--font-noto-sans-jp);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    color: var(--color-text-body);
    text-align: center;
    margin: 0;
}

/* COMPANY INFO */
.company-info {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.company-info__table {
    margin: 0 auto;
    max-width: 800px;
}

.company-info__row {
    display: flex;
    gap: 28px;
    padding: 0 0 18px;
    font-family: var(--font-noto-sans-jp);
    font-weight: 500;
    font-size: 14px;
    line-height: normal;
    color: var(--color-text-body);
}

.company-info__label {
    width: 100px;
    text-align: right;
    flex-shrink: 0;
    border-right: 1px solid var(--color-text-body);
    padding-right: 14px;
}

.company-info__value {
    margin: 0;
    flex: 1;
}

.company-info__list {
    list-style: disc;
    padding-left: 21px;
    margin: 0;
}

.company-info__list li {
    line-height: normal;
}

/* --------------------------------------------------------
   NEWS Single Page
   -------------------------------------------------------- */
.single-news {
    padding-top: 70px;
    padding-bottom: 80px;
}

.single-news .section-title {
    margin-bottom: 54px;
}

/* Shared 2-column layout (single + archive) */
.news-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    align-items: start;
}

/* Article Title */
.single-news__title {
    font-family: var(--font-noto-sans-jp);
    font-weight: 900;
    font-size: 32px;
    color: var(--color-text-main);
    line-height: 1.5;
}

/* Meta Info (date, author) */
.single-news__meta {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.single-news__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: var(--font-noto-sans-jp);
    font-weight: 500;
    font-size: 14px;
    color: var(--color-text-main);
}

.single-news__meta-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

/* Article Body (WordPress content output) */
.single-news__body {
    margin-top: 40px;
}

.single-news__body p {
    font-family: var(--font-noto-sans-jp);
    font-weight: 500;
    font-size: 16px;
    color: var(--color-text-main);
    line-height: 1.75;
    margin-bottom: 24px;
}

.single-news__body h2,
.single-news__body h3,
.single-news__body h4 {
    font-family: var(--font-noto-sans-jp);
    font-weight: 900;
    color: var(--color-text-main);
    line-height: 1.5;
    margin-top: 48px;
    margin-bottom: 20px;
}

.single-news__body h2 {
    font-size: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--color-primary);
}

.single-news__body h3 {
    font-size: 20px;
}

.single-news__body h4 {
    font-size: 18px;
}

.single-news__body img {
    width: 100%;
    height: auto;
    margin: 24px 0;
}

.single-news__body figure {
    margin: 24px 0;
}

.single-news__body figure img {
    margin: 0;
}

.single-news__body figcaption {
    font-size: 14px;
    color: #666;
    margin-top: 8px;
}

.single-news__body hr {
    border: none;
    border-top: 1px solid var(--color-primary);
    margin: 40px 0;
}

.single-news__body ul,
.single-news__body ol {
    margin: 16px 0;
    padding-left: 24px;
    list-style: disc;
}

.single-news__body ol {
    list-style: decimal;
}

.single-news__body li {
    font-family: var(--font-noto-sans-jp);
    font-weight: 500;
    font-size: 16px;
    color: var(--color-text-main);
    line-height: 1.75;
    margin-bottom: 8px;
}

.single-news__body a {
    color: var(--color-primary);
    text-decoration: underline;
}

.single-news__body blockquote {
    border-left: 4px solid var(--color-primary);
    padding: 16px 24px;
    margin: 24px 0;
    background-color: #f9f9f9;
}

/* Author Profile Box */
.single-news__profile {
    margin-top: 60px;
    border: 8px solid #DEDEDE;
    padding: 24px 30px 30px;
}

.single-news__profile-label {
    font-family: var(--font-noto-sans-jp);
    font-weight: 700;
    font-size: 18px;
    color: var(--color-text-body);
    margin-bottom: 16px;
}

.single-news__profile-header {
    display: flex;
    align-items: center;
    gap: 20px;
}

.single-news__profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 0;
    object-fit: cover;
}

.single-news__profile-name {
    font-family: var(--font-noto-sans-jp);
    font-weight: 700;
    font-size: 18px;
    color: var(--color-text-body);
}

.single-news__profile-posts-label {
    font-family: var(--font-noto-sans-jp);
    font-weight: 700;
    font-size: 16px;
    color: var(--color-text-body);
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
    margin-bottom: 12px;
}

.single-news__profile-posts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.single-news__profile-post {
    display: block;
}

.single-news__profile-post-thumb {
    width: 100%;
    aspect-ratio: 178 / 100;
    background-color: var(--color-bg-placeholder);
    border-radius: 10px;
    overflow: hidden;
}

.single-news__profile-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.single-news__profile-post-info time {
    display: block;
    font-family: var(--font-noto-sans-jp);
    font-weight: 700;
    font-size: 10px;
    color: #666;
    margin-top: 6px;
}

.single-news__profile-post-info p {
    font-family: var(--font-noto-sans-jp);
    font-weight: 400;
    font-size: 12px;
    color: var(--color-text-main);
    line-height: 1.5;
    margin-top: 2px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Category Row */
.single-news__cats {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 30px;
}

.single-news__cats-label {
    display: inline-block;
    background-color: #666;
    color: white;
    font-family: var(--font-noto-sans-jp);
    font-weight: 700;
    font-size: 10px;
    line-height: 20px;
    padding: 0 16px;
    border-radius: 2px;
}

.single-news__cats-name {
    font-family: var(--font-noto-sans-jp);
    font-weight: 700;
    font-size: 12px;
    color: var(--color-text-main);
    line-height: 1.5;
}

/* Prev/Next Navigation */
.single-news__pager {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.single-news__pager-item {
    display: block;
    overflow: hidden;
}

.single-news__pager-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 400 / 190;
    background-color: var(--color-bg-placeholder);
    overflow: hidden;
}

.single-news__pager-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.single-news__pager-badge {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    display: inline-block;
    background-color: #64C1AA;
    color: white;
    font-family: var(--font-noto-sans);
    font-weight: 600;
    font-size: 10px;
    line-height: 28px;
    padding: 0 12px;
}

.single-news__pager-badge--next {
    left: auto;
    right: 0;
}

.single-news__pager-title {
    background-color: #858585;
    color: white;
    font-family: var(--font-noto-sans);
    font-weight: 600;
    font-size: 16px;
    text-align: center;
    line-height: 50px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 16px;
}

/* --------------------------------------------------------
   News Sidebar (shared: single + archive)
   -------------------------------------------------------- */
.news-sidebar__block {
    margin-bottom: 40px;
}

.news-sidebar__heading {
    font-family: var(--font-noto-sans-jp);
    font-weight: 900;
    font-size: 18px;
    color: var(--color-text-body);
    line-height: 1.5;
    padding-bottom: 10px;
    border-bottom: 2px solid #333;
    margin-bottom: 0;
}

.news-sidebar__recent-list {
    list-style: none;
}

.news-sidebar__recent-item {
    padding: 12px 0;
    border-bottom: 1px solid #ddd;
}

.news-sidebar__recent-top {
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-sidebar__recent-top time {
    font-family: var(--font-noto-sans-jp);
    font-weight: 700;
    font-size: 14px;
    color: var(--color-text-body);
    line-height: 25px;
}

.news-sidebar__badge {
    display: inline-block;
    font-family: var(--font-noto-sans-jp);
    font-weight: 700;
    font-size: 10px;
    color: white;
    line-height: 16px;
    padding: 0 8px;
    border-radius: 2px;
    background-color: #1E73BE;
}

.news-sidebar__badge[data-category="新商品"],
.news-sidebar__badge[data-category="new-product"] {
    background-color: #44DDB5;
}

.news-sidebar__recent-link {
    display: block;
    font-family: var(--font-noto-sans-jp);
    font-weight: 400;
    font-size: 16px;
    color: var(--color-text-body);
    line-height: 1.5;
    margin-top: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-sidebar__archive-list {
    list-style: none;
}

.news-sidebar__archive-list li {
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
}

.news-sidebar__archive-list a {
    font-family: var(--font-noto-sans-jp);
    font-weight: 700;
    font-size: 14px;
    color: var(--color-text-body);
    line-height: 25px;
}

/* --------------------------------------------------------
   NEWS Archive (List) Page
   -------------------------------------------------------- */
.archive-news {
    padding-top: 70px;
    padding-bottom: 80px;
}

.archive-news .section-title {
    margin-bottom: 54px;
}

.archive-news__list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.archive-news__card {
    border-bottom: 1px solid #ddd;
}

.archive-news__card:first-child {
    border-top: 1px solid #ddd;
}

.archive-news__card-link {
    display: grid;
    grid-template-columns: 258px 1fr;
    gap: 30px;
    padding: 30px 0;
    align-items: start;
}

.archive-news__card-thumb {
    width: 258px;
    height: 172px;
    background-color: var(--color-bg-placeholder);
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}

.archive-news__card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.archive-news__card-body {
    min-width: 0;
}

.archive-news__card-title {
    font-family: var(--font-noto-sans-jp);
    font-weight: 700;
    font-size: 18px;
    color: var(--color-text-main);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.archive-news__card-date {
    display: block;
    font-family: var(--font-noto-sans-jp);
    font-weight: 700;
    font-size: 14px;
    color: var(--color-primary);
    line-height: 25px;
    margin-top: 8px;
}

.archive-news__card-excerpt {
    font-family: var(--font-noto-sans-jp);
    font-weight: 400;
    font-size: 14px;
    color: var(--color-text-main);
    line-height: 1.75;
    margin-top: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.archive-news__card-more {
    display: inline-block;
    margin-top: 12px;
    background-color: #64C1AA;
    color: white;
    font-family: var(--font-noto-sans-jp);
    font-weight: 700;
    font-size: 12px;
    line-height: 30px;
    padding: 0 20px;
    border-radius: 4px;
}

/* Pagination */
.archive-news__pagination {
    margin-top: 50px;
    display: flex;
    justify-content: center;
}

.archive-news__pagination-list {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.archive-news__pagination-item a,
.archive-news__pagination-item span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    font-family: var(--font-noto-sans-jp);
    font-weight: 700;
    font-size: 14px;
    color: var(--color-text-main);
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 0 8px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.archive-news__pagination-item a:hover {
    background-color: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}

.archive-news__pagination-item span.current {
    background-color: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}

/* --------------------------------------------------------
   404
   -------------------------------------------------------- */
.error-404 {
    text-align: center;
    padding: 100px 20px;
}

.error-404__title {
    font-size: 80px;
    font-family: var(--font-noto-sans);
    font-weight: 700;
    color: var(--color-primary);
}

.error-404__message {
    font-size: 18px;
    margin: 20px 0 40px;
}

/* --------------------------------------------------------
   Empty State（コンテンツ未登録時）
   -------------------------------------------------------- */
.empty-state {
    padding: 60px 20px;
    background-color: #F9F9F9;
    border-radius: 10px;
    text-align: center;
}

.empty-state--slider {
    margin: 0 160px;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.empty-state__message {
    font-family: var(--font-noto-sans-jp);
    font-weight: 500;
    font-size: 14px;
    color: var(--color-text-sub);
    margin: 0;
}

/* --------------------------------------------------------
   Product Detail（デフォルトテンプレート）
   -------------------------------------------------------- */
.product-detail {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 20px;
}

.product-detail__header {
    text-align: center;
    margin-bottom: 40px;
}

.product-detail__title {
    font-family: var(--font-noto-sans);
    font-weight: 700;
    font-size: 32px;
    color: var(--color-text-main);
    line-height: 1.3;
}

.product-detail__subtitle {
    font-family: var(--font-noto-sans-jp);
    font-weight: 500;
    font-size: 16px;
    color: var(--color-text-sub);
    margin-top: 8px;
}

.product-detail__image {
    text-align: center;
    margin-bottom: 40px;
}

.product-detail__image img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.product-detail__body {
    font-family: var(--font-noto-sans-jp);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-text-body);
    margin-bottom: 40px;
}

.product-detail__description {
    font-family: var(--font-noto-sans-jp);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-text-body);
    margin-bottom: 40px;
}

.product-detail__back {
    text-align: center;
    margin-top: 60px;
}

/* --------------------------------------------------------
   Fallback Logo（画像未登録時）
   -------------------------------------------------------- */
img.fallback-logo {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    background-color: #F9F9F9;
    padding: 15%;
}
