/**
 * BIG Theme Main Stylesheet
 * 
 * @package BIG_Theme
 * @since 1.0.0
 */

/* ============================================
   Reset & Base Styles
   ============================================ */
* {
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: #333;
    line-height: 1.8;
    overflow-x: hidden;
	margin: 0;
    padding: 0;
}

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

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

/* ============================================
   Header
   ============================================ */
.site-header {
/*     position: fixed;
    top: 0;
    left: 0;
    right: 0;
	height: 150px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 60px;
    background: rgba(0, 0, 0, 0);
    z-index: 1000; */
	
	position: fixed; /* ページ上部に固定 */
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999; /* 他の要素より前面に */
    height: auto; /* 高さを自動に */
    background: rgba(0, 0, 0, 0.7); /* 透過は控えめに */
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

/* wpadminbarが表示されている場合の調整 */
body.admin-bar .site-header {
    top: 32px; /* wpadminbarの高さ分下げる */
}

@media screen and (max-width: 782px) {
    body.admin-bar .site-header {
        top: 46px; /* モバイルのwpadminbarの高さ分下げる */
    }
}

.header-inner {
    max-width: auto;
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-between; /* ロゴは左、ナビは右 */
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 20px;
	margin-left: 20px;
}

.logo a {
/*     display: flex;
    flex-direction: column;
    gap: 2px;
    color: white;
    text-decoration: none;
    transition: opacity 0.3s; */
	
	display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.header-logo-img {
    height: 100px; /* ロゴの大きさを調整 */
    width: auto
}

.logo-subtext {
	display: flex;
    color: #fff;
    width: 180px;
    font-weight: bold;
    letter-spacing: 0.05em;
}

.logo a:hover {
    opacity: 0.8;
}

/* .logo-text {
    font-weight: bold;
    font-size: 18px;
    letter-spacing: 0.05em;
    line-height: 1.2;
} */

/* .logo-subtext {
    font-size: 12px;
    opacity: 0.9;
    line-height: 1.2;
} */

.main-navigation ul {
    display: flex;
    gap: 40px;
    align-items: center;
    list-style: none;
    margin-right: 70px;
    padding: 0;
}

.main-navigation a {
/*     color: white;
    text-decoration: none;
    font-size: 14px;
    transition: opacity 0.3s; */

	color: #fff;
    font-size: 14px;
    font-weight: 500;
    transition: opacity 0.3s;
}

.main-navigation a:hover {
    opacity: 0.7;
}

.main-navigation .contact-btn {
    border: 1px solid #FFD700;
    color: #FFD700 !important;
    padding: 8px 20px;
}

.contact-btn {
    padding: 20px 24px;!important;
    border-radius: 4px;
    transition: all 0.3s;
}

.contact-btn:hover {
    background: rgba(255, 215, 0, 0.1);
    opacity: 1;
}

.main-navigation .contact-btn:hover {
    background: rgba(255, 215, 0, 0.2);
}

/* ============================================
   Mobile Menu Toggle (Hamburger)
   ============================================ */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    margin-right: 20px;
}

.mobile-menu-toggle:focus {
    outline: 2px solid #FFD700;
    outline-offset: 2px;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background-color: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
/* 	width: 100vw; */
    height: 720px;
    min-height: 600px;
/* 	margin: 0;
    padding: 0; */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: white;
    text-align: left;
/* 	overflow: hidden; */
}

.hero-content {
    max-width: 860px;
    padding: 20px;
	margin-left: 100px;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.4;
}

.hero-content p {
    font-size: 16px;
    opacity: 0.9;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    right: 40px;
    writing-mode: vertical-rl;
    font-size: 12px;
    opacity: 0.7;
    animation: scroll-bounce 2s ease-in-out infinite;
}

@keyframes scroll-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

/* ============================================
   Section Styles
   ============================================ */
section {
    padding: 100px 60px;
}

.section-dark {
    background: #2D3748;
    color: white;
}

.section-dark h2 {
	 color: #FFD700 !important;
}

.section-dark h3,
.section-dark p {
    color: white;
}

.section-light {
    background: #F7FAFC;
}

.section-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 30px;
}

/* ============================================
   Vision Section
   ============================================ */
.vision-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.vision-text h3 {
    font-size: 18px;
    margin-bottom: 20px;
    line-height: 1.8;
}

.vision-text p {
    font-size: 14px;
    line-height: 1.9;
    opacity: 0.9;
}

.vision-image {
    width: 100%;
    height: 350px;
    background-color: #4A5568;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
}

/* ============================================
   Mission Section
   ============================================ */
.mission-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.mission-text h3 {
    font-size: 20px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.mission-text p {
    font-size: 14px;
    line-height: 1.9;
    opacity: 0.9;
}

/* ============================================
   Values Section
   ============================================ */
.values-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.values-text h3 {
    font-size: 20px;
    margin-bottom: 20px;
}

.values-list {
    list-style: none;
    padding: 0;
}

.values-list li {
    font-size: 16px;
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
}

.values-list li:before {
    content: "1.";
    position: absolute;
    left: 0;
    color: #FFD700;
    font-weight: bold;
}

.values-list li:nth-child(2):before { content: "2."; }
.values-list li:nth-child(3):before { content: "3."; }
.values-list li:nth-child(4):before { content: "4."; }
.values-list li:nth-child(5):before { content: "5."; }

/* ============================================
   Quote Section
   ============================================ */
.quote-section {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), #2D3748;
	height: 50vh;
    text-align: left;
    padding: 90px 60px;
    color: white;
}

.quote-section h2 {
    font-size: 28px;
    line-height: 1.8;
    font-weight: normal;
    max-width: 1400px;
    padding: 20px;
    margin-left: 100px;
	font-weight: bold;
    color: #000; 
}

/* ============================================
   Company Info Section
   ============================================ */
.company-info {
    padding: 100px 0 100px 60px  60px;
    max-width: 1400px;
    margin: 0 auto;
}

/* 会社情報リスト（セクション内のdiv.company-info） */
.company-info .company-info {
    margin-top: 60px;
    max-width: 1400px;
    padding: 0;
}

.company-info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #2D3748;
}

.company-info-label {
    min-width: 120px;
    font-weight: bold;
}

.company-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.company-card {
    text-align: center;
}

.company-card-image {
    width: 100%;
    height: 360px;
    background-color: #E2E8F0;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    margin-bottom: 20px;
}

.company-card h3 {
    font-size: 16px;
    margin-bottom: 20px;
    color: #2D3748;
}

.timeline {
    margin-top: 60px;
    max-width: 600px;
}

.timeline-item {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #2D3748;
}

.timeline-date {
    min-width: 120px;
    font-weight: bold;
}

.info {
    margin-top: 0px;
    max-width: 600px;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #2D3748;
}

.info-date {
    min-width: 120px;
    font-weight: bold;
}



/* ============================================
   Profile Section
   ============================================ */
.profile-section {
    background: #2D3748;
    color: white;
    padding: 100px 60px;
}

.profile-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 60px;
    align-items: start;
    max-width: 1400px;
    margin: 0 auto;
}

.profile-image {
    width: 100%;
    aspect-ratio: 1/1;
    background-color: #4A5568;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
}

.profile-info h3 {
    font-size: 24px;
    margin-bottom: 30px;
}

.profile-history {
    font-size: 14px;
    line-height: 2;
}

/* ============================================
   News Section
   ============================================ */
/* News Section Layout */
.news-section {
    padding: 100px 0 100px 60px; /* 右側の余白を抜いてカードがはみ出るようにする */
    max-width: 1400px;
    margin: 0 auto;
    overflow: hidden; /* 画面からはみ出たカードを隠す */
}

.news-container {
    display: flex; /* 縦並びレイアウト */
    flex-direction: column;
    gap: 30px;
    align-items: flex-start;
}

/* 左側エリア */
.news-header {
    margin-bottom: 30px; /* タイトルとグリッドの間隔 */
}

.news-header .section-title {
    font-size: 32px;
    font-weight: bold;
    color: #2D3748;
    line-height: 1.2;
    margin: 0;
}

.news-sub-title {
    font-size: 18px;
    font-weight: normal;
    display: inline-block;
    margin-left: 10px;
}

/* ナビゲーション（矢印とボタン） */
.news-nav {
    display: flex;
    flex-direction: column; /* 矢印ともっとみるを縦に並べる */
    gap: 25px;
    align-items: flex-start;
}

.news-arrows {
    display: none; /* レスポンシブ対応のため非表示 */
}

.news-nav-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background-color: #E2E8F0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-more-btn {
    background-color: #4A4A4A !important; /* 濃いグレー */
    color: #fff !important;
    padding: 5px 35px;
    font-size: 14px;
    color: #fff !important;
    border-radius: 8px;
    font-weight: bold;
    display: inline-block;
    background: #4A5568;
    border: none;
    text-decoration: none;
	transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* 少し強めの影 */
}

.news-more-btn:hover {
	background: #2D3748;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

/* もっとみるボタンのラッパー */
.news-more-wrapper {
    display: flex;
    justify-content: center; /* 中央揃え */
    margin-top: 30px; /* グリッドとの間隔 */
}

/* 右側：ニュースカード */
.news-grid {
    flex: 1;
    display: grid; /* Gridレイアウトに変更 */
    grid-template-columns: 1fr; /* 縦に1列で表示 */
    gap: 20px;
}

.news-card {
    display: flex; /* 横並びレイアウト */
    gap: 20px;
    text-decoration: none;
    transition: transform 0.3s;
    align-items: stretch; /* 高さを揃える */
}

.news-card:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.news-card-image {
    flex: 0 0 200px; /* 固定幅200px */
    width: 200px;
    height: 200px; /* 正方形に変更 */
    background-color: #C4C4C4; /* 画像がない時のグレー */
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    object-fit: cover; /* 画像が縦長になるように */
}

.news-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center; /* 縦方向の中央揃え */
    gap: 8px;
    min-height: 200px; /* 画像の高さと同じ */
}

.news-card-date {
    font-size: 14px;
    color: #2D3748;
    line-height: 1.4;
    margin: 0;
}

.news-card-title {
    font-size: 15px;
    font-weight: bold;
    color: #2D3748;
    line-height: 1.4;
    text-align: left;
    margin: 0;
}

/* ============================================
   Contact Button Section
   ============================================ */
/* お問い合わせボタン（Contact Section） */
.contact-button-section {
	display: flex;
    background: #fff; /* 背景を白に */
    padding: 80px 0;
	width: 100%;
	justify-content: center; /* 左右の中央 */
    align-items: center;     /* 上下の中央 */
}

.contact-main-btn {
    display: inline-block;
    background-color: #5D6D96 !important; /* 画像のような青みがかったグレー */
    color: #fff !important;
    padding: 15px 60px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); /* 浮き出た影 */
}

.contact-main-btn:hover {
    background-color: #4A577A !important; /* ホバー時は少し濃く */
    transform: translateY(-2px); /* 少し上に浮く */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25); /* 影を強く */
    opacity: 1; /* 透明度変化を防止 */
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
	background: #fff;
    color: #333;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #e2e8f0;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-logo a {
    display: flex;
    align-items: center; /* 画像とテキストを垂直中央揃え */
    gap: 15px;           /* ロゴ画像と文字の間の間隔 */
    text-decoration: none;
    color: #333;
}

.footer-logo a:hover {
    opacity: 0.8;
}

.footer-logo-img {
    height: 40px;        /* 画像の高さ（適宜調整） */
    width: auto;
}

.footer-logo-subtext {
    font-size: 18px;     /* 社名のサイズ */
    font-weight: bold;
    letter-spacing: 0.05em;
}

.footer-navigation {
    display: flex;
    align-items: center;
    gap: 30px;           /* Instagramアイコンとメニューの間隔 */
	margin-right: 70px;
    padding: 0;
}

.footer-nav {
    display: flex;
    gap: 25px;           /* 各メニューリンクの間隔 */
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.footer-nav li a {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    transition: opacity 0.3s;
}

.footer-nav li a:hover {
    opacity: 0.7;
}

/* --- 特別なボタン（Contact） --- */
.footer-nav .contact-btn {
    border: 1px solid #FFD700;
    color: #FFD700;
    padding: 8px 20px;
    border-radius: 6px;
    transition: all 0.3s;
}

.contact-btn {
    padding: 20px 24px;!important;
    border-radius: 4px;
    transition: all 0.3s;
}

.footer-nav .contact-btn:hover {
    background: rgba(255, 215, 0, 0.1);
    opacity: 1;
}

/* --- Instagramアイコン --- */
.instagram-icon {
    display: flex;
    align-items: center;
    color: #666; /* アイコンの色 */
    transition: opacity 0.3s;
}

.instagram-icon:hover {
    opacity: 0.7;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
    .site-header {
        position: fixed;   /* relative ではなく fixed を維持 */
        top: 0;
        left: 0;
        right: 0;
        height: auto;      /* 高さを自動に */
        background: rgba(0, 0, 0, 0.7); /* 透過は控えめに */
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    /* wpadminbarが表示されている場合の調整 */
    body.admin-bar .site-header {
        top: 32px; /* wpadminbarの高さ分下げる */
    }

    .main-navigation ul {
        gap: 20px;
    }

    section {
        padding: 80px 30px;
    }

    .vision-container,
    .mission-container,
    .values-container,
    .profile-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* Missionセクション: モバイル表示時にテキストを先に表示 */
    .mission-container .mission-text {
        order: 1;
    }

    .mission-container .vision-image {
        order: 2;
    }

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

    .quote-section h2 {
        font-size: 28px;
        line-height: 1.8;
        font-weight: normal;
        max-width: 1400px;
        padding: 20px;
        margin-left: 0px;
        font-weight: bold;
        color: #000; 
    }

    .news-grid {
        grid-template-columns: 1fr; /* タブレットでも1列 */
    }
    
    .news-container {
        flex-direction: column; /* 縦に並べる */
        gap: 30px;
    }
    
    .news-header {
        flex: 0 0 auto; /* 固定幅を解除 */
    }
    
    .news-card-image {
        flex: 0 0 180px; /* タブレットでは少し小さく */
        width: 180px;
        height: 180px; /* 正方形に変更 */
    }
    
    .news-card-content {
        min-height: 180px; /* 画像の高さと同じ */
    }
}

@media (max-width: 768px) {
/*     .site-header {
        padding: 15px 20px;
		background: rgba(0, 0, 0, 0.4);
    } */
    
	.header-inner {
        padding: 0 20px;
    }
    
    /* wpadminbarが表示されている場合の調整 */
    body.admin-bar .site-header {
        top: 46px; /* モバイルのwpadminbarの高さ分下げる */
    }
    
    .logo-subtext {
        display: none; /* スマホでは社名を消してロゴのみにする場合 */
    }

    /* ハンバーガーメニューボタンを表示 */
    .mobile-menu-toggle {
        display: flex;
    }

    /* 通常のナビゲーションを非表示 */
    .main-navigation {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: #2D3748;
        transition: right 0.3s ease;
        z-index: 10000;
        padding: 80px 30px 30px;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.3);
        overflow-y: auto;
    }

    .main-navigation.active {
        right: 0;
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 0;
        align-items: flex-start;
        width: 100%;
    }

    .main-navigation ul li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .main-navigation a {
        display: block;
        padding: 15px 0;
        font-size: 16px;
        width: 100%;
    }

    .main-navigation .contact-btn {
        border: none;
        padding: 15px 0;
        margin-top: 10px;
    }

    /* メニューオーバーレイ */
    .menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }

    .menu-overlay.active {
        display: block;
    }

    .hero-content {
        margin-left: 0px;
    }
    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 14px;
    }

    section {
        padding: 60px 20px;
    }

    .section-title {
        font-size: 32px;
    }

    .company-grid {
        grid-template-columns: repeat(1, 1fr);
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    .quote-section {
        padding: 30px 20px;
    }

    .quote-section h2 {
        font-size: 28px;
        line-height: 1.8;
        font-weight: normal;
        max-width: 1400px;
        padding: 0px;
        margin-left: 0px;
        font-weight: bold;
        color: #000; 
    }

    .profile-container {
        grid-template-columns: 1fr;
    }
	
	.site-footer {
        flex-direction: column;
        gap: 30px;
        padding: 40px 20px;
        text-align: center;
    }
    
    .footer-navigation {
        flex-direction: column;
        gap: 20px;
        margin-right: 0px;
    }
    
    .footer-nav {
        flex-direction: column;
        gap: 15px;
    }

    .footer-navigation ul {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        width: 100%;
    }

    .footer-navigation ul li {
        width: 100%;
    }

    .contact-btn {
        padding: 6px 18px;
        font-size: 12px;
    }

    .contact-button-section {
        padding: 60px 20px;
    }

    .contact-main-btn {
        padding: 14px 36px;
        font-size: 14px;
    }

    .news-section {
        padding: 60px 20px; /* モバイルでは左右の余白を小さく */
    }
    
    .news-container {
        flex-direction: column; /* 縦に並べる */
        gap: 30px;
    }
    
    .news-header {
        flex: 0 0 auto; /* 固定幅を解除 */
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .news-nav {
        align-self: flex-start; /* 左寄せに変更 */
    }
    
    .news-grid {
        grid-template-columns: 1fr; /* モバイルで1列（縦に3記事表示） */
        gap: 20px;
    }
    
    .news-card {
        flex-direction: row; /* モバイルでも横並び */
        gap: 15px;
    }
    
    .news-card-image {
        flex: 0 0 120px; /* 固定幅120px */
        width: 120px;
        height: 120px; /* 正方形に変更 */
    }
    
    .news-card-content {
        min-height: 120px; /* 画像の高さと同じ */
        justify-content: center; /* 縦方向の中央揃え */
    }
}

/* ============================================
   Utility Classes
   ============================================ */
.text-center {
    text-align: center;
}

.hidden {
    display: none;
}

.visible {
    display: block;
}

/* ============================================
   News Archive Page
   ============================================ */
.news-archive-page {
    padding-top: 0; /* ヘッダーと被らないように0に */
    background: white;
    min-height: 100vh;
}

.news-archive-header {
    background: linear-gradient(135deg, #2D3748 0%, #1a202c 100%);
    color: white;
    padding: 150px 20px 60px; /* ヘッダー（150px）+ 余白（80px） */
    text-align: center;
    margin-top: 0;
}

/* wpadminbarが表示されている場合の調整 */
body.admin-bar .news-archive-header {
    padding-top: 150px; /* wpadminbar（32px）+ ヘッダー（150px）+ 余白（80px） */
}

@media screen and (max-width: 782px) {
    body.admin-bar .news-archive-header {
        padding-top: 150px; /* wpadminbar（46px）+ ヘッダー（150px）+ 余白（80px） */
    }
}

.news-archive-header .page-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.news-archive-header .page-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.6;
    margin-top: 0.5rem; /* タイトルとの間隔を調整 */
    margin-bottom: 0; /* 下部の余白を削除 */
}

.news-archive-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 60px;
}

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

.news-archive-item {
    border-bottom: 1px solid #E2E8F0;
    transition: background 0.3s;
}

.news-archive-link {
    display: block;
    text-decoration: none;
    color: inherit;
    padding: 30px 0;
    transition: background 0.3s;
}

.news-archive-link:hover {
    background: #F7FAFC;
}

.news-archive-content {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 30px;
    align-items: center;
}

.news-archive-image {
    width: 200px;
    height: 150px;
    overflow: hidden;
    border-radius: 8px;
    flex-shrink: 0;
}

.news-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-placeholder {
    width: 100%;
    height: 100%;
    background: #E2E8F0;
}

.news-archive-text {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.news-date {
    font-size: 14px;
    color: #718096;
    font-weight: 500;
}

.news-title {
    font-size: 20px;
    font-weight: 700;
    color: #2D3748;
    margin: 0;
    line-height: 1.5;
}

.news-excerpt {
    font-size: 14px;
    color: #4A5568;
    line-height: 1.6;
    margin: 0;
}

.news-no-posts {
    text-align: center;
    padding: 80px 20px;
    color: #718096;
}

.news-pagination {
    margin-top: 60px;
    display: flex;
    justify-content: center;
}

.news-pagination .page-numbers {
    display: flex;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.news-pagination .page-numbers li {
    margin: 0;
}

.news-pagination a,
.news-pagination span {
    display: block;
    padding: 10px 16px;
    border: 1px solid #CBD5E0;
    border-radius: 4px;
    text-decoration: none;
    color: #2D3748;
    transition: all 0.3s;
}

.news-pagination a:hover,
.news-pagination .current {
    background: #2D3748;
    color: white;
    border-color: #2D3748;
}

/* ============================================
   News Single Page
   ============================================ */
.news-single-page {
    padding-top: 80px;
    background: white;
    min-height: 100vh;
}

.news-single-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 60px;
}

.news-single-article {
    background: white;
}

.news-single-header {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #E2E8F0;
}

.news-single-date {
    display: block;
    font-size: 14px;
    color: #718096;
    font-weight: 500;
    margin-bottom: 15px;
}

.news-single-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2D3748;
    margin: 0;
    line-height: 1.4;
}

.news-single-image {
    margin: 40px 0;
    border-radius: 8px;
    overflow: hidden;
}

.news-featured-image {
    width: 100%;
    height: auto;
    display: block;
}

.news-single-content {
    line-height: 1.9;
    color: #4A5568;
    font-size: 16px;
}

.news-single-content h2 {
    font-size: 1.8rem;
    margin: 2rem 0 1rem;
    color: #2D3748;
    border-bottom: 2px solid #E2E8F0;
    padding-bottom: 0.5rem;
}

.news-single-content h3 {
    font-size: 1.4rem;
    margin: 1.5rem 0 0.8rem;
    color: #2D3748;
}

.news-single-content p {
    margin-bottom: 1.5rem;
}

.news-single-content ul,
.news-single-content ol {
    margin: 1rem 0 1.5rem 2rem;
}

.news-single-content li {
    margin-bottom: 0.5rem;
}

.news-single-content a {
    color: #3182ce;
    text-decoration: underline;
}

.news-single-content a:hover {
    color: #2c5282;
}

.news-single-footer {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid #E2E8F0;
}

.news-back-link {
    display: inline-block;
    color: #2D3748;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.news-back-link:hover {
    color: #FFD700;
}

/* News Pages Responsive */
@media (max-width: 768px) {
    .news-archive-header {
        padding: 150px 20px 30px; /* ヘッダー（auto）+ 余白（150px）、下部は30pxに調整 */
    }
    
    /* wpadminbarが表示されている場合の調整 */
    body.admin-bar .news-archive-header {
        padding-top: 150px; /* wpadminbar（46px）+ ヘッダー（auto）+ 余白（150px） */
    }

    .news-archive-header .page-title {
        font-size: 1.8rem;
    }

    .news-archive-container {
        padding: 40px 20px;
    }
}
}

    .news-archive-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .news-archive-image {
        width: 100%;
        height: 200px;
    }

    .news-single-container {
        padding: 40px 20px;
    }

    .news-single-title {
        font-size: 1.5rem;
    }

    .news-single-content {
        font-size: 14px;
    }
}