@charset "UTF-8";

/*
Theme Name: N-SIMPO.CO.JP
Theme URI: 
Author: 
Author URI: 
Description: N-SIMPO.CO.JP
Requires at least: 5.9
Tested up to: 5.9
Requires PHP: 5.9
Version: 0.1
License: Copyrights Reserved By Monmark, Inc.
License URI: 
Text Domain: 
Tags: 
*/

:root {

/* Color Palette */
	--IRO-Green:		rgba( 75,155, 86,1.0);
	--IRO-Green:		rgba( 18,126, 59,1.0);
	--IRO-Green-Dark:	rgba( 58,122, 67,1.0);/* 0 */
	--IRO-Gold:			rgba(212,174, 97,1.0);
	--IRO-Gray-Light:	rgba(230,230,230,1.0);/* 0 */
	--IRO-Gray-Dark:	rgba( 51, 51, 51,1.0);
	--IRO-Gray:			rgba(204,204,204,1.0);

	--BP-0768:768px;
}


*{
	margin:0;
	padding:0;
	border:0;
	outline:0;
	font-size:100%;
	vertical-align:baseline;
	background:transparent;
/*	transition: all 0.3s;*/

	font:normal normal 18px/1.4 'Noto Sans JP',"Noto Color Emoji",sans-serif;

	list-style:none;
	box-sizing:border-box;
	text-decoration:none;
/*
	border-collapse:collapse;
	color:rgba(0,0,0,1.0);
*/
	border:0px solid rgba(0,0,0,0);
	position:relative;
}




/* Base Styles */
* {
	box-sizing: border-box;
}
body {
	margin: 0;
	font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
	color: var(--IRO-Gray-Dark);
	line-height: 1.6;
	background-color: #fcfcfc;
}
a {
	text-decoration: none;
	color: inherit;
}

/*
	max-width:1040px;
	margin:0 auto;
*/
.Container{
	width:initial;
	margin:0 calc(50% - 1000px / 2);
	padding:0;
}

.ContainerP{
	width:100%;
	margin:0;
	padding:0 calc(50% - 1000px / 2);
}

.adTop{
	padding-top:15px;
	padding-bottom:15px;
	height: 120px;
	margin:30px calc(50% - 1000px / 2);
	padding:0;

}

article.main h1{
	margin:0 0 30px;
	font-size:20px;
	font-weight:bold;
}

article.main date{
	font-size:15px;
}

/* Tablet (max-width: 768px) */
@media (max-width:1040px) {

	.adTop{
		margin:30px 20px;
	}

	.weekly-top{
		margin:0 20px;
	}

}



/* Utils */
.ad-space {
	background-color: #bfbfbf;
	color: #666;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
}
.img-placeholder {
	background-color: #8cbf91;
	width: 100%;
	height: 100%;
}

/* Header */
.Header{
	padding-top:15px;
	padding-bottom:15px;
	background: #fff;
/*
}
.header-inner {
*/
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.logo {
	display: flex;
	align-items: center;
	gap: 8px;
}
.logo-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 2px solid var(--IRO-Green);
	border-radius: 50%;
	color: var(--IRO-Green);
	font-size: 14px;
	font-weight: bold;
	line-height: 1.1;
	text-align: center;
}
.logo-text {
	font-size: 26px;
	font-weight: bold;
}
.header-right {
	display: flex;
	align-items: center;
	gap: 20px;
}
.header-nav {
	display: flex;
	gap: 15px;
	font-size: 13px;
	font-weight: bold;
}

.header-nav a{
	font-size:13px;
	font-weight:bold;
}

.header-buttons {
	display: flex;
	gap: 10px;
}
.btn {
	padding: 6px 16px;
	border-radius: 20px;
	color: #fff;
	font-size: 13px;
	font-weight: bold;
	text-align: center;
}
.btn-green {
	background-color: var(--IRO-Green);
}
.btn-gold {
	background-color: var(--IRO-Gold);
}
.menu-icon {
	display: none;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	background-color: var(--IRO-Green);
	color: #fff;
	width: 48px;
	height: 48px;
	border-radius: 4px;
	font-size: 10px;
	font-weight: bold;
	gap: 4px;
	cursor: pointer;
}
.menu-icon span.line {
	display: block;
	width: 24px;
	height: 2px;
	background: #fff;
}

/* Global Nav */
.Global {
	background-color: var(--IRO-Green);
}
.nav-list {
	list-style: none;
	display: flex;
	margin: 0;
	padding: 0;
	overflow-x: auto;
	white-space: nowrap;
	-webkit-overflow-scrolling: touch;
}
.nav-list li {
	border-right: 1px solid rgba(255,255,255,0.3);
}
.nav-list li:last-child {
	border-right: none;
}
.nav-list a {
	display: block;
	padding: 10px 15px;
	color: #fff;
	font-size: 13px;

	font-weight:600;
}
.nav-list li.active a {
	background-color: var(--IRO-Gold);
}

/* Search Area */
.SearchBox{
	background-color: var(--IRO-Gray-Light);
	padding: 20px 0;
}
.search-form {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	max-width: 650px;
	margin: 0 auto;
}
.search-input-group {
	display: flex;
	width: 100%;
	box-shadow: 0 1px 3px rgba(0,0,0,0.1);
	border-radius: 4px;
}
.search-input-group input {
	flex: 1;
	padding: 10px;
	border: 1px solid var(--IRO-Gray);
	border-radius: 4px 0 0 4px;
	font-size: 14px;
	outline: none;

	background-color:rgba(255,255,255,1.0);
}
.search-input-group button {
	background: var(--IRO-Green);
	color: #fff;
	border: none;
	padding: 0 20px;
	border-radius: 0 4px 4px 0;
	cursor: pointer;
	font-size: 16px;
}
.search-filters {
	display: flex;
	gap: 10px;
	width: 100%;
}
.search-filters select {
	flex: 1;
	padding: 8px;
	border: 1px solid var(--IRO-Gray);
	border-radius: 4px;
	font-size: 13px;
	color: #555;
}
.search-tags {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	justify-content: center;
}
.search-tags span {
	background-color: var(--IRO-Gold);
	color: #fff;
	padding: 3px 12px;
	border-radius: 12px;
	font-size: 12px;
	font-weight: bold;
}

/* Main Layout */
.Index{
	display: flex;
	gap: 30px;
	margin-top: 30px;
	margin-bottom: 60px;
}
.ContainerL{
	flex: 1;
	min-width: 0;
}
.sidebar-right {
	width: 260px;
	flex-shrink: 0;
}

/* Ads & Sections */
.large-ad {
	width: 100%;
	width:initial;
	height: 120px;
	margin-bottom: 30px;
}
.section-title {
	border-bottom: 1px solid #999;
	padding-bottom: 5px;
	margin-bottom: 15px;
	font-size: 20px;
	font-weight: normal;

}

.section-title span{

}

/* Weekly Top */
.weekly-top {
	margin-bottom: 30px;
}
.weekly-top-card {
	display: flex;
	gap: 20px;
	border: 1px solid var(--IRO-Gray);
	border-radius: 8px;
	padding: 20px;
	background: #fff;
}
.weekly-top-card .image-wrapper {
	flex: 1;
	min-height: 200px;
	border-radius: 4px;
	overflow: hidden;
}
.weekly-top-card .text {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.weekly-top-card h3 {
	margin: 0 0 10px 0;
	font-size: 20px;
	line-height: 1.4;
	border-bottom: 1px solid #eee;
	padding-bottom: 10px;
}
.weekly-top-card p {
	font-size: 12px;
	color: #555;
	margin: 0;
}

/* News Categories */
.section-title-green {
	background-color: var(--IRO-Green);
	color: #fff;
	padding: 8px 15px;
	font-size: 16px;
	margin-bottom: 20px;
	font-weight: normal;
}
.news-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
	padding:0;
}
.news-item {
	border: 2px solid var(--IRO-Gray-Dark);
	border-radius: 8px;
	overflow: hidden;
	position: relative;
	display: flex;
	flex-direction: column;
	background: #fff;

	padding:45px 0 0;
	border:initial;
	border-radius:initial;
	overflow:initial;
}

.news-item a{
	height:100%;
	border-radius:8px;
	overflow:hidden;
	box-shadow:0px 0px 3px rgba(0,0,0,0.15),0px 4px 3px rgba(0,0,0,0.15),4px 0px 3px rgba(0,0,0,0.15),4px 4px 4px rgba(0,0,0,0.15);
}

.news-item a.category-label {
	height:25px;
	border-radius:initial;
	box-shadow:initial;

	position: absolute;
	top: 10px;
	left: 0;
	background-color: var(--IRO-Gold);
	color: #fff;
	padding: 4px 12px;
	font-size: 12px;
	border-radius: 0 15px 15px 0;
	z-index: 1;
	font-weight: bold;
}
.news-item .image-wrapper {
	height: 160px;
	width: 100%;
}
.news-info {
	padding: 15px;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}
.news-info .date {
	font-size: 11px;
	color: #888;
	margin-bottom: 5px;
}
.news-info p {
	font-size: 14px;
	font-weight: bold;
	margin: 0;
	line-height: 1.5;
}
.news-item.ad-box {
	border: none;
}

/* Sidebar */
.sidebar-box {
	margin-bottom: 20px;
	display:block;
}
.subscribe-box {
	background-color: var(--IRO-Gold);
	padding: 25px 15px;
	text-align: center;
	border-radius: 8px;
	color: #fff;
	font-weight: bold;
	line-height: 1.8;
}
.subscribe-box p {
	margin: 0 0 15px 0;
	font-size: 15px;
}
.btn-white {
	display: inline-block;
	background: #fff;
	color: var(--IRO-Gold);
	padding: 8px 15px;
	border-radius: 20px;
	font-size: 12px;
}

.youtube-box {
	border: 1px solid var(--IRO-Gray);
	padding: 10px;
	text-align: center;
	background: #fff;
}
.youtube-box h4 {
	margin: 0;
	font-size: 12px;
	font-weight: normal;
}
.youtube-thumbnail {
	background: #333;
	color: #f00;
	font-size: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 120px;
	margin-top: 10px;
	border-radius: 8px;
}

.banner-box {
	border: 1px solid var(--IRO-Green);
	height: 60px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	font-weight: bold;
	color: var(--IRO-Green);
	background: #fff;
	margin-bottom: 20px;
}

.sidebar-ads {
	display: flex;
	flex-direction: column;
	gap: 15px;
}
.small-ad {
	height: 90px;
	width: 100%;
}

/* Footer */
.Footer {
	background-color: var(--IRO-Gray-Dark);
	color: #fff;
	padding-top:50px;
	padding-bottom:20px;

/*.footer-inner */
	display: flex;
	flex-flow:row wrap;
	justify-content: space-between;
	gap: 30px;
}

.Footer *{
	color:rgba(255,255,255,1.0);
}

.FooterL h2 {
	margin:0;
	font-size:26px;
	display: flex;
	align-items: center;
	gap: 10px;
	font-family:'Noto Serif JP';
	font-weight:600;
}

.FooterL p {
	font-size: 12px;
	margin-bottom: 20px;
	line-height: 1.8;
}

.FooterL p span{
	font-size:17px;
}

.FooterL p,
.FooterL p br{
	font-size: 12px;
	line-height:1.5;
}

.btn-outline {
	border: 1px solid #fff;
	padding: 6px 24px;
	border-radius: 20px;
	display: inline-block;
	font-size: 13px;
}

.FooterR {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
	font-size: 13px;
	max-width: 450px;
}

.FooterR li {
	width: calc(50% - 15px);
	margin-bottom: 10px;
}

.FooterR a:hover {
	text-decoration: underline;
}

.copyright {
	width:100%;
	text-align: center;
	font-size: 12px;
	padding-top: 20px;
}

/* Floating Banner */
.floating-banner {
	position: fixed;
	bottom: 20px;
	right: 20px;
	z-index: 100;
	display: flex;
	align-items: center;
	gap: 15px;
}
.floating-text {
	color: #f44336;
	font-size: 12px;
	font-weight: bold;
	line-height: 1.5;
}
.floating-banner .small-ad {
	width: 160px;
	height: 120px;
	margin: 0;
	border: 2px solid #ccc;
	box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* =========================================
	 Responsive Media Queries
	 ========================================= */

/* Tablet (max-width: 768px) */
@media (max-width: 768px) {
	.header-nav {
		display: none;
	}
	.menu-icon {
		display: flex;
	}
	
	.Index{
		flex-direction: column;
	}
	.sidebar-right {
		width: 100%;
	}
	
	/* サイドバーを横並びのグリッドに調整 */
	.sidebar-right-inner {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
	}
	.sidebar-ads {
		grid-column: span 2;
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		gap: 15px;
		flex-direction: row;
	}
	
	.Footer{
		flex-direction: column;
	}
	.FooterR {
		max-width: 100%;
	}
	
	.floating-banner .floating-text {
		display: none;
	} /* モバイル時はテキスト非表示 */
}

/* Mobile Large (max-width: 450px) */
@media (max-width: 450px) {
	.search-filters {
		flex-wrap: wrap;
	}
	.search-filters select {
		flex: 1 1 calc(50% - 10px);
	}
	
	.weekly-top-card {
		flex-direction: column;
	}
	.weekly-top-card .image-wrapper {
		min-height: 160px;
	}
	
	.news-grid {
		grid-template-columns: 1fr;
	}
	
	.sidebar-right-inner {
		grid-template-columns: 1fr;
	}
	.sidebar-ads {
		grid-column: span 1;
		grid-template-columns: repeat(2, 1fr);
	}
	
	.FooterR li {
		width: 100%;
	}
	
	.floating-banner {
		bottom: 10px;
		right: 10px;
	}
	.floating-banner .small-ad {
		width: 120px;
		height: 90px;
	}
}

/* Mobile Small (max-width: 350px) */
@media (max-width: 350px) {
	.logo-text {
		font-size: 20px;
	}
	.logo-icon {
		width: 36px;
		height: 36px;
		font-size: 11px;
	}
	
	.header-buttons {
		flex-direction: column;
		gap: 5px;
	}
	.menu-icon {
		width: 40px;
		height: 40px;
	}
	
	.search-filters select {
		flex: 1 1 100%;
	}
	
	.sidebar-ads {
		grid-template-columns: 1fr;
	}
}

/**************************************************************************************************/

.Pagination .nav-links{
	display:flex;
	flex-flow:row nowrap;
	justify-content:center;
}

.Pagination a,
.Pagination span{
	width:34px;
	height:34px;
	line-height:34px;
	margin:0 5px 10px;
	display:block;
	border-radius:50%;
	border:1px solid rgba(0,0,0,0.8);
	color:rgba(0,0,0,1.0);
	background-color:rgba(255,255,255,1.0);
	text-align:center;
	font-size:16px;
	font-family:'Inter';
	transition:all 0.5s;
}

.Pagination a:hover,
.Pagination span:hover{
	text-decoration:none;
}

.Pagination a.prev,
.Pagination a.next{
	line-height:32px;
}

.Pagination a:hover,
.Pagination span:hover,
.Pagination span.current{
	width:30px;
	height:30px;
	line-height:30px;
	border:3px double rgba(0,0,0,0.8);
	background-color:rgba(0,0,0,0.8);
	color:rgba(255,255,255,1.0);

	width:34px;
	height:34px;
	line-height:34px;
	border:1px solid rgba(0,0,0,0.8);

}

.PaginationPost a,
.PaginationPost span{
	width:50px;
	height:50px;
	line-height:50px;
	margin:0 5px 10px;
	display:block;
	border-radius:50%;
	border:1px solid rgba(0,0,0,0.8);
	color:rgba(0,0,0,1.0);
	background-color:rgba(255,255,255,1.0);
	text-align:center;
	font-size:16px;
	font-family:'Inter';
	position:relative;

	font-size:50px;
	font-weight:900;
	margin:0 10px 10px;
	background-color:rgba(0,0,0,0.8);
	border:0px solid rgba(0,0,0,0.8);

	background-color:rgba(122,122,122,1);
	transition:all 0.5s;
	z-index:1;
}

.PaginationPost a:hover,
.PaginationPost span:hover{
	text-decoration:none;
}

.PaginationPost a::after,
.PaginationPost span::after{
	content:'';
	width:0px;
	height:0px;
	border-top:20px solid rgba(0,0,0,0);
	border-right:25px solid rgba(0,0,0,0);
	border-bottom:20px solid rgba(0,0,0,0);
	border-left:25px solid rgba(0,0,0,1);
	top:5px;
	left:81.5%;
	position:absolute;
	display:block;
	z-index:-1;
}

.PaginationPost span.dots{
	color:rgba(255,255,255,1.0);
	font-size:40px;
}

.PaginationPost span.dots::after{
	border-left:25px solid rgba(122,122,122,1);
	z-index:-1;
}

.PaginationPost a{
	color:rgba(255,255,255,1.0);
}

.PaginationPost a::after{
	border-left:25px solid rgba(122,122,122,1);
}

.PaginationPost a:hover::after{
	border-left:25px solid rgba(0,0,0,1);
	transition:all 0.5s;
}

.PaginationPost a.prev,
.PaginationPost a.next{
	line-height:42px;
}

.PaginationPost a.prev::after,
.PaginationPost a.next::after,
.PaginationPost a:last-child::after,
.PaginationPost span:last-child::after{
	content:initial;
}

.PaginationPost a:hover,
.PaginationPost span:hover,
.PaginationPost span.current{
	width:30px;
	height:30px;
	line-height:30px;
	border:3px double rgba(0,0,0,0.8);
	background-color:rgba(0,0,0,0.8);
	color:rgba(255,255,255,1.0);

	width:50px;
	height:50px;
	line-height:50px;
	border:1px solid rgba(0,0,0,0.8);

	border:0px double rgba(0,0,0,1);
	background-color:rgba(0,0,0,1);
}
