@charset "utf-8";
/*
Theme Name:Ngaoka Well Base
Theme URI:http://www.agn.co.jp/
Description:ベーステンプレート
Version:1.0
Author:K.abe
Author URI:http://www.agn.co.jp/
*/

@import "css/reset.css";
@import "css/common.css";

@import "css/samplegrid_24col.css";
@import "css/icon.css";
@import "css/etc.css";

/* トップページ,アーカイブページ,カテゴリーページ,タグページ,検索ページ共通 */

.post {
	margin:0px 0px 50px 0px;
	clear:both;
}

.post h2 {
	font-size:20px;
	color:#666;
	border-bottom:dotted 1px #666;
	padding:0px 0px 7px 0px;
	margin:10px 0px 10px 0px;
}

.post h2 a {
	color:#666;
}

.post .entry_content h2 {
        font-size:18px;
        border-bottom:none;
	padding:0px 0px 0px 10px;
	margin:15px 0px 15px 0px;
}

.post p {
	line-height:1.8;
}

.post ul {
        list-style-type:disc;
        margin:15px 0px 15px 30px;
        line-height:1.8;
}

.post ol {
        list-style-type:decimal;
        margin:15px 0px 15px 30px;
        line-height:1.8;
}

.entry_content p {
	line-height:1.8;
}

.entry_header {
	text-align:right;
	margin:0px 0px 10px 0px;
}

.entry_footer {
	text-align:left;
	margin:5px 0px 15px 0px;
}

.more-link {
        color:#333;
	padding:1px 5px 1px 5px;
        margin:30px 20px 30px 0px;
        display:block;
        float:right;
        clear:both;
	border:solid 1px #CCC;
	-webkit-border-radius:3px;
	-moz-border-radius:3px;
	border-radius:3px;
	background: -webkit-gradient(linear, left top, left bottom, color-stop(1.00, #ffffff), color-stop(0.00, #d5def6));
	background: -webkit-linear-gradient(top, #d5def6 0%, #ffffff 100%);
	background: -moz-linear-gradient(top, #d5def6 0%, #ffffff 100%);
	background: -o-linear-gradient(top, #d5def6 0%, #ffffff 100%);
	background: -ms-linear-gradient(top, #d5def6 0%, #ffffff 100%);
	background: linear-gradient(top, #d5def6 0%, #ffffff 100%);
        background-color:#d5def6;
}

.tag {
	padding:30px 0px 0px 0px;
	clear:both;
}

.pagenavi {
	clear:both;
        padding:30px 0px 50px 0px;
}

.pagenavi .previous_page {
	float:left;
}

.pagenavi .next_page {
	float:right;
}

/* トップページ,アーカイブページ,カテゴリーページ,タグページ,検索ページ共通 */

/* アーカイブページ,カテゴリーページ,タグページ,検索ページのh1スタイル */

.archive h1,
.category h1,
.tag h1,
.search h1{
font-weight:bold;
}

/* アーカイブページ,カテゴリーページ,タグページ,検索ページのh1スタイルend */

/* シングルページ,固定ページ */

.single h1,
.page h1 {
	font-size:20px;
	color:#666;
	border-bottom:dotted 1px #666;
	padding:0px 0px 7px 0px;
	margin:10px 0px 10px 0px;
}

.single h2,
.page h2 {
	font-size:18px;
        color:#666;
	padding:0px 0px 0px 10px;
	margin:15px 0px 15px 0px;
}

.single .entry_content ul,
.page .entry_content ul {
        list-style-type:disc;
        margin:15px 0px 15px 30px;
        line-height:1.8;
}

.single .entry_content ol,
.page .entry_content ol {
        list-style-type:decimal;
        margin:15px 0px 15px 30px;
        line-height:1.8;
}

.post_link {
	padding:100px 0px 30px 0px;
	clear:both;
}

.previus {
	float:left;
}

.next {
	float:right;
}

/* コメント欄 */

#respond {
	margin:15px 0px 0px 0px;
}

#commentform {
	margin:0px 0px 30px 0px;
}

#commentform p{
	margin:5px 0px 5px 0px;
}

#comments {
	margin:15px 0px 15px 0px;
}

.commentlist p {
	margin:15px 0px 15px 0px;
}

.comment{
	margin:15px 0px 15px 0px;
}

.reply a {
	background: -webkit-gradient(linear, left top, left bottom, color-stop(1.00, #f2f5f6), color-stop(0.00, #c8d7dc));
	background: -webkit-linear-gradient(top, #c8d7dc 0%, #f2f5f6 100%);
	background: -moz-linear-gradient(top, #c8d7dc 0%, #f2f5f6 100%);
	background: -o-linear-gradient(top, #c8d7dc 0%, #f2f5f6 100%);
	background: -ms-linear-gradient(top, #c8d7dc 0%, #f2f5f6 100%);
	background: linear-gradient(top, #c8d7dc 0%, #f2f5f6 100%);
        background-color:#c8d7dc;
	color:#333;
	-webkit-border-radius:3px;
	-moz-border-radius:3px;
	border-radius:3px;
	padding:1px 5px 1px 5px;
	border:solid 1px #CCC;
	margin:15px 0px 0px 0px;
}

.depth-1 {
	border:dotted 1px #666;
	padding:10px;
}

.commentlist .children {
	margin:0px 0px 0px 30px;
}

/* コメント欄end */


/* 投稿画像等設定 */

img.size-auto,
img.size-full,
img.size-large,
img.size-medium,
.attachment img {
	max-width: 100%; 
	height: auto;
}

.alignleft,
img.alignleft {
	display: inline;
	float: left;
	margin-right: 15px;
	margin-top: 4px;
}

.alignright,
img.alignright {
	display: inline;
	float: right;
	margin-left: 15px;
	margin-top: 4px;
}

.aligncenter,
img.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

img.alignleft,
img.alignright,
img.aligncenter {
	margin-bottom: 12px;
}

.wp-caption {
	background: #f1f1f1;
	line-height: 18px;
	margin-bottom: 20px;
	max-width: 632px !important;
	padding: 4px;
	text-align: center;
}

.wp-caption img {
	margin: 5px 5px 0;
}

.wp-caption p.wp-caption-text {
	color: #888;
	font-size: 12px;
	margin: 5px;
}

.wp-smiley {
	margin: 0;
}

.gallery {
	margin: 0 auto 18px;
}

.gallery .gallery-item {
	float: left;
	margin-top: 0;
	text-align: center;
	width: 33%;
}

.gallery-columns-2 .gallery-item {
	width: 50%;
}

.gallery-columns-4 .gallery-item {
	width: 25%;
}

.gallery img {
	border: 2px solid #cfcfcf;
}

.gallery-columns-2 .attachment-medium {
	max-width: 92%;
	height: auto;
}

.gallery-columns-4 .attachment-thumbnail {
	max-width: 84%;
	height: auto;
}

.gallery .gallery-caption {
	color: #888;
	font-size: 12px;
	margin: 0 0 12px;
}

.gallery dl {
	margin: 0;
}

.gallery img {
	border: 10px solid #f1f1f1;
}

.gallery br+br {
	display: none;
}

#content .attachment img {
	display: block;
	margin: 0 auto;
}

/* 投稿画像等設定end */

/* シングルページ,固定ページend */




  

.page_wrap { padding: 15px 15px; }
.page_content { max-width: 1200px; margin: 0 auto; }

.information { 
max-width: 1100px; 
margin: 0 auto; 
padding: 30px 15px; 
background: #f4f3eb; 
border-radius: 20px; 
overflow: hidden;
}

.information a { text-decoration: none; transition: 0.5s; }
.information a:hover { opacity: 0.6 }

.information h2 { 
display: flex;
justify-content: center;
align-items: center;
font-size: 36px;
font-weight: bold;
line-height: 1.2em;
color: #b50080; 
margin-bottom: 15px;
}
.information h2 span { 
font-size: 14px;
line-height: 1em;
color: #111;
background: #fff;
margin-left: 10px;
padding: 5px 15px;
border-radius: 15px;
}

.information .link-btn a { 
display: flex;
justify-content: center;
align-items: center;
max-width: 500px;
font-size: 20px;
font-weight: bold;
line-height: 1.2em;
color: #fff;
background: #b50080;
margin: 15px auto 0 auto;
padding: 15px;
border-radius: 30px;
}

.information ul { 
display: flex;
flex-direction: row;
flex-wrap: wrap; 
justify-content: flex-start;
}
.information li { 
display: flex;
flex-direction: column;
align-items: center;
width: 31.3%; 
background: #fff;
margin-bottom: 20px;
margin-left: 1%;
margin-right: 1%;
border-radius: 20px;
}

.information li a { 
width: 100%;
padding: 15px;
}
.information li .thumbnail img { 
object-fit: cover;
object-position: center;
width: 100%;
height: 200px;
border-radius: 10px;
}    
.information li .post-text { 
padding: 10px 0;
}
.information li h3 { 
font-size: 20px;
line-height: 1.2em;
text-align: center;
color: #111;
}
.information li .day { 
display: inline-block;
font-size: 14px;
line-height: 1em;
color: #9e9e9e;
border: 1px solid #ccc;
margin-bottom: 10px;
padding: 5px 10px;
border-radius: 15px;
}
 
@media ( max-width : 767px ) { 
.information li { width: 49%; margin-right: 0; } 
.information li:nth-child(1n) { margin-right: 2%; }
.information li:nth-child(2n) { margin-right: 0; }
}
@media ( max-width : 600px ) { 
.information h2 { flex-direction: column; }
.information h2 span { margin-left: 0; margin-top: 10px; }
.information li { width: 100%; } 
}




/* =========================================================
   ホームページ カテゴリーON/OFF絞り込み
   ========================================================= */

.information [data-categories][hidden] {
  display: none !important;
}

.cat-filter {
	position: -webkit-sticky;
	position: sticky;
	top: 0;
	z-index: 50;
	background: #f4f3eb;
	margin: 0 0 20px 0;
	padding: 14px 0;
	border-radius: 12px;
}

.cat-filter__inner {
	width: 100%;
}

.cat-filter__buttons {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	padding: 0 10px;
}

.cat-filter__btn {
	-webkit-appearance: none;
	appearance: none;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	line-height: 1;
	font-weight: bold;
	color: #fff;
	background: #b50080;
	border: 1px solid #b50080;
	border-radius: 30px;
	padding: 9px 18px;
	cursor: pointer;
	white-space: nowrap;
	transition: opacity 0.2s, background 0.2s, color 0.2s;
}

.cat-filter__btn:focus {
	outline: 2px solid #2b80ff7b;
	outline-offset: 2px;
}

.cat-filter__btn--all {
	background: #fff;
	color: #b50080;
}

/* OFF状態：不透明度を下げて控えめな見た目にしOFF表示を出す */
.cat-filter__btn.is-off {
	opacity: 0.45;
	background: #fff;
	color: #9e9e9e;
	border-color: #d6d6d6;
}

.cat-filter__off {
    display: inline-block;
    font-size: 11px !important;
    font-weight: bold !important;
    line-height: 1;
    color: #e40016 !important;
    background: #fff !important;
    border: 2px solid #e40016;
    border-radius: 8px !important;
    padding: 2px 5px !important;
}



.cat-filter__btn {
  position: relative;
  overflow: hidden;
}

/* button自体にはopacityをかけない！ */

/* is-offの時、カテゴリー名だけを薄くする */
.cat-filter__btn.is-off .cat-filter__name {
  opacity: 0.35;
}

/* OFFバッジは常にくっきり(親の影響を受けない独立した見た目に) */
.cat-filter__off {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-weight: bold;
  font-size: 0.9em;
  letter-spacing: 0.05em;
  color: #fff;
  background: rgba(0, 0, 0, 0.6);
  padding: 2px 10px;
  border-radius: 3px;
  pointer-events: none;
  white-space: nowrap;
  opacity: 0; /* ← 通常時は非表示(前回のhidden属性と併用でもOK) */
  transition: opacity 0.15s ease;
}

/* is-offの時だけOFFバッジを表示 */
.cat-filter__btn.is-off .cat-filter__off {
  opacity: 1;
}


.cat-filter__btn.is-off {
  opacity: 1;
}

.cat-filter__btn.is-off > *:not(.cat-filter__off) {
  opacity: 0.45;
}

.cat-filter__btn.is-off .cat-filter__off {
  opacity: 1;
}




/* 該当なしメッセージ */
.cat-filter__noresults {
    margin: 100px 0px 210px 0;
    font-size: 18px;
    color: #9e9e9e;
    text-align: center;
}
/* モバイル：ボタン行を横スクロール */
@media ( max-width : 600px ) {
	.cat-filter__buttons {
		flex-wrap: nowrap;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		padding: 6px;
	}
	.cat-filter__btn {
		flex: 0 0 auto;
	}
}





.entry_header a{
color: #000;
pointer-events: none;
}



.entry_content a:has(img){
text-decoration: none;
display: table;
overflow: hidden;
border: solid 1px #bbb;
margin: 20px auto;
}




