@charset "utf-8";

/* =Reset default browser CSS.
Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
-------------------------------------------------------------- */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {border: 0;font-family: inherit;font-size: 100%;font-style: inherit;font-weight: inherit;margin: 0;outline: 0;padding: 0;vertical-align: baseline;}
:focus {outline: 0;}

ol, ul {list-style: none;}
table {border-collapse: separate;border-spacing: 0;}
caption, th, td {font-weight: normal;text-align: left;}
blockquote:before, blockquote:after,q:before, q:after {content: "";}
blockquote, q {quotes: "" "";}
a img {border: 0;}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display: block;}

body{
font:90%/1.5 "メイリオ","Meiryo","Lucida Sans Unicode", "Lucida Grande", Arial, "ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","ＭＳ Ｐゴシック",sans-serif;
color:#252525;
-webkit-text-size-adjust: none;
background:#fef6ea;
}


/* リンク設定
------------------------------------------------------------*/
a{
margin:0;
padding:0;
text-decoration:none;
outline:0;
vertical-align:baseline;
background:transparent;
font-size:100%;
color:#777;
}

a:hover, a:active{
-webkit-transition:opacity 1s;-moz-transition:opacity 1s;-o-transition:opacity 1s;
outline: none;
color:#999;
}


/**** Clearfix ****/
nav .panel:after, nav#mainNav:after, .newsTitle:after, .bg:after,.post:after{content:""; display: table;clear: both;}
nav .panel,nav#mainNav,.newsTitle,.bg, .post{zoom: 1;}


/* フォーム

------------------------------------------------------------*/
input[type="text"], textarea{
vertical-align:middle;
max-width:90%;
line-height:30px;
height:30px;
padding:1px 5px;
border:1px solid #d4d4d7;
border-radius:3px;
-webkit-border-radius:3px;
-moz-border-radius:3px;
font-size:100%;
color:#555;
background:#fcfcfc;
}

textarea{
height:auto;
line-height:1.5;
}

input[type="submit"],input[type="reset"],input[type="button"]{
padding:3px 10px;
background: #4485ae;
border:0;
border-radius:3px;
-webkit-border-radius:3px;
-moz-border-radius:3px;
line-height:1.5;
font-size:100%;
color:#fff;
}

input[type="submit"]:hover,input[type="reset"]:hover,input[type="button"]:hover{
background: #5b99c3;
}

*:first-child+html input[type="submit"]{padding:3px;}


/* レイアウト
------------------------------------------------------------*/
#wrapper, .inner{
margin:0 auto;
width:960px;
}

#header{
overflow:hidden;
}

#content{
float:left;
width:710px;
padding:30px 0;
}

#sidebar{
float:right;
width:225px;
padding:30px 0;
}

#footer{
clear:both;
padding-top:20px;
background:#fff1dd;
} 


/* ヘッダー
*****************************************************/
#header .bg{background:#4485ae;}


/* サイト説明文 + 住所
----------------------------------*/
#header h1,#header p{
float:left;
padding:3px 0;
color: #fff;
font-size:100%;
font-weight:normal;
}

#header p{
float:right;
}


/* ロゴ (サイトタイトル)
----------------------------------*/
#header h2{
clear:both;
float:left;
padding:10px 5px;
color: #515151;
}

/* サブナビゲーション
----------------------------------*/
#header ul{
padding-top:5px;
float:right;
}

#header ul li{
display:inline;
/*margin-left:10px;*/
}

#header ul li a{
padding-left:10px;
color:#000;
/* background:url(../img/arrowSub.png) no-repeat 0 50%; */
}

#header ul li a:hover{background-position:3px 50%;}


/* トップページ　メイン画像
----------------------------------*/
#mainImg{
clear:both;
margin-top:10px;
line-height:0;
text-align:center;
z-index:0;
position:relative;
}

.post{
margin:0 0 20px 0;
padding:10px;
border:1px solid #dadada;
background: #fff;
}


/* タイポグラフィ
*****************************************************/
h2.title{
clear:both;
margin:30px 0 0;
padding:7px 10px;
font-size:110%;
border:1px solid #dadada;
border-bottom:0;
background:#fff url(../img/border.png) repeat-x 0 100%;
}

h2.first{margin-top:0;}

.dateLabel{
margin:0 0 10px;
text-align:right;
font:italic 1em "Palatino Linotype", "Book Antiqua", Palatino, serif;
}

.post p{padding-bottom:5px;}

.post ul{margin: 0 0 10px 10px;}

.post ul li{
margin-bottom:5px;
padding-left:15px;
background:url(../img/bullet.png) no-repeat 0 8px;
}

.post ol{margin: 0 0 10px 30px;}

.post ol li{list-style:decimal;}

.post h1{
margin:20px 0;
padding:5px 0;
font-size:150%;
color: #000;
border-bottom:3px solid #000;
}

.post h2{
margin:10px 0;
padding-bottom:2px;
font-size:130%;
font-weight:normal;
color: #333;
border-bottom:2px solid #515151;
}

.post h3{
margin:10px 0;
font-size:120%;
font-weight:normal;
color:#4485ae;
border-bottom:1px solid #515151;
}

.post blockquote {
clear:both;
padding:10px 0 10px 15px;
margin:10px 0 25px 30px;
border-left:5px solid #ccc;
}
 
.post blockquote p{padding:5px 0;}

.post table{
border: 1px #696969 solid;
border-collapse: collapse;
border-spacing: 0;
margin:10px 0 20px;
width:95%;
}

.post table-style{
border: 1px #696969 solid;
border-collapse: collapse;
border-spacing: 0;
margin:10px 0 20px;
text-align:left;
}

.post table th{
padding:7px 10px 7px 5px;
border: #696969 solid;
border-width: 0 0 1px 1px;
color:#fff;
background:#4485ae;
text-align:left;
}

.post table-style th-style{
padding:7px 10px 7px 5px;
border: #696969 solid;
border-width: 0 0 1px 1px;
color:#fff;
background:#4485ae;
text-align:left;
}

.post table td{
padding:7px 5px;
border: 1px #696969 solid;
border-width: 0 0 1px 1px;
background:#fff;
text-align:left;
vertical-align:middle;
}

.post table-style td-style{
padding:7px 5px;
border: 1px #696969 solid;
border-width: 0 0 1px 1px;
background:#fff;
text-align:left;
vertical-align:middle;
}

.post dt{font-weight:bold;}

.post dd{padding-bottom:10px;}

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

img.aligncenter {
display: block;
margin:5px auto;
}

img.alignright, img.alignleft{
padding:4px;
margin:0 0 2px 7px;
display:inline;
}

img.alignleft{margin: 0 7px 2px 0;}

.alignright{float:right;}
.alignleft{float: left;}


.post a{
margin:0;
padding:0;
text-decoration:none;
outline:0;
vertical-align:baseline;
background:transparent;
font-size:100%;
color:#777;
text-decoration:underline;
}

.post a:hover, .post a:active{
-webkit-transition:opacity 1s;-moz-transition:opacity 1s;-o-transition:opacity 1s;
outline: none;
color:#999;
text-decoration:none;
}


/* サイドバー　ウィジェット
*****************************************************/
section.widget, .widgetInfo{
margin: 0 0 20px;
padding: 10px 7px;
border:1px solid #dadada;
background: #fff;
}

#banners img{
max-width:225px;
height:auto;
padding-bottom:10px;
}

section.widget h3{
clear:both;
margin:0 0 10px;
padding:5px 0;
font-size:100%;
font-weight:normal;
color: #333;
border-bottom:1px solid #ccc;
}

section.widget a{
display:block;
padding:3px 0 3px 13px;
text-decoration:underline;
background:url(../img/arrow.png) no-repeat 0 50%;
}

section.widget a:hover{
text-decoration:none;
background-position: 3px 50%;
}

#searchform input[type="text"]{
line-height:1.7;
height:24px;
width:100px;
vertical-align:bottom;
}


/* お知らせ　
-------------*/
.newsTitle{
clear:both;
margin:0 0 20px;
padding:5px 0;
font-size:100%;
color: #333;
border-bottom:1px solid #ccc;
}

.newsTitle h3{
float:left;
font-weight:normal;
}

.newsTitle p{
float:right;
padding:0 0 0 10px;
font-size:.8em;
background:url(../img/arrow.png) no-repeat 0 50%;
}

.news p{
clear:both;
padding-bottom:2px;
border-bottom: 1px solid #ccc;
}

.news p:last-child{border:0;}

.news p a{
display:block;
padding:5px 0;
color:#333;
font-style:italic;
font:italic 110% "Palatino Linotype", "Book Antiqua", Palatino, serif;
}

.news a span{
color:#515151;
font:normal 90% Arial, 'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','ＭＳ Ｐゴシック',sans-serif;
}

.news span{padding-left:10px;}

.news a:hover span{color:#777;}



/* フッター
*****************************************************/
#footer ul{
font-size:12px;
padding:10px 0 30px 0;
}

#footer ul li{
display:inline-block;
vertical-align:text-top;
text-align:left;
padding:5px 0;
margin-right:30px;
background:url(../img/arrow.png) no-repeat 0 12px;
}

#footer ul li	a{
display:block;
padding:0 0 0 12px;
overflow:hidden;
}

#footer ul li	a:hover{text-decoration:underline;}

#footer ul li li{
display:block;
padding:0;
margin:0 0 0 10px;
background-position:0 5px;
}


*:first-child+html #footer ul li{display:inline;}
*:first-child+html #footer ul ul,*:first-child+html #footer ul li li a,*:first-child+html #footer ul li li{display:none;}

#copyright{
clear:both;
padding:10px;
text-align:center;
font-size:90%;
zoom:1;
color:#fff;
background:#4485ae;
}


/* page navigation
------------------------------------------------------------*/
.pagenav{
clear:both;
width: 100%;
height: 30px;
margin: 5px 0 20px;
}

.prev{float:left}

.next{float:right;}

#pageLinks{
clear:both;
color:#2a588b;
text-align:center;
}


/* トップページ 最新記事3件
------------------------------------------------------------*/
.thumbWrap{
width:735px;
margin:20px -25px 20px 0;
}

.thumbWrap li{
float:left;
width: 220px;
margin:0 25px 0 0;
padding:2px 0 40px;
background:none;
}

/* 最新記事リンク */
ul.thumb h3{
margin-top:10px;
padding:1px;
font-weight:normal;
font-size:100%;
text-align:center;
background:#25252;
border:1px solid #dadada;
}

ul.thumb h3 span{
color:#fff;
display:block;
padding:2px 3px;
background:#4485ae;
}

ul.thumb h3 a{color:#252525;}

ul.thumb h3:hover span{
color:#333;
background:#fff1dd;
}


/* メインメニュー　PC用
------------------------------------------------------------*/
@media only screen and (min-width: 1025px){
nav div.panel{
display:block !important;
float:left;
}

a#menu{display:none;}		
	
nav#mainNav{
clear:both;
position:relative;
z-index:200;
}

nav#mainNav ul li{
float: left;
position: relative;
border-right:1px dotted #ccc;
}

nav#mainNav ul li:first-child{border-left:1px dotted #ccc;}

nav#mainNav ul li a{
display: block;
text-align: center;
_float:left;
color:#333;
height:34px;
line-height:34px;
padding:12px 18px 5px;
}

nav#mainNav ul li a span,nav#mainNav ul li a strong{
display:block;
font-size:100%;
line-height:1.3;
}

nav#mainNav ul li a span{
font-size:80%;
color:#4485ae;
}

nav#mainNav ul li.current-menu-item a, nav#mainNav ul li a:hover, nav#mainNav ul li a:active, nav#mainNav ul li.current-menu-parent a{
background:#fff1dd;
}

nav#mainNav ul ul{width:160px;}

nav#mainNav ul li ul{display: none;}

nav#mainNav ul li:hover ul{
display: block;
position: absolute;
top:50px;
left:-2px;
z-index:500;
}

nav#mainNav ul li li{
padding:0 0 0 10px;
margin:0;
float: none;
height:40px;
line-height:40px;
width:160px;
background:#fff1dd;
border:0;
border-bottom:1px dotted #ccc;
}

nav#mainNav ul li li:first-child{border-left:0;}

nav#mainNav ul li li a{
width:100%;
height:40px;
padding:0;
line-height:40px;
font-size:100%;
text-align:left;
}

nav#mainNav ul li li a span{padding:0 10px;}

nav#mainNav ul li li a:hover,nav#mainNav ul li li.current-menu-item a{color:#4485ae;}

nav#mainNav ul li:hover ul li:last-child{border:0;}
}


/* メインメニュー iPadサイズ以下から
------------------------------------------------------------*/
@media only screen and (max-width:1024px){
	nav#mainNav{
	clear:both;
	width:100%;
	margin:10px auto;
	background:#fff1dd;
	border-top:1px dotted #ccc;
	border-bottom:1px dotted #ccc;
	}
	
	nav#mainNav a.menu{
	width:100%;
	display:block;
	height:37px;
	line-height:37px;
	font-weight: bold;
	text-align:left;
  background: url(../img/menuOpen.png) no-repeat 5px 8px;
z-index: 1001; /* メニューより上に配置して隠れないようにする */
	}
	
	nav#mainNav a#menu span{padding-left:35px;}
	
	nav#mainNav a.menuOpen{
	background: url(../img/menuOpen.png) no-repeat 5px -34px;
	}
	
	nav#mainNav a#menu:hover{cursor:pointer;}
	
	nav .panel{
	display: none;
	width:100%;
	position: relative;
	right: 0;
	top:0;
	z-index: 1;
	}

	nav#mainNav ul{margin:0;padding:0;}

	nav#mainNav ul li{
	float: none;
	clear:both;
	width:100%;
	height:auto;
	line-height:1.2;
	}

	nav#mainNav ul li:first-child{border-top:1px solid #d5d5d5;}
	nav#mainNav ul li li:first-child{border-top:0;}

	nav#mainNav ul li a,nav#mainNav ul li.current-menu-item li a{
	display: block;
	padding:15px 10px;
	text-align:left;
	border-bottom:1px dashed #ccc;
	background:#fff;
	}
	
	nav#mainNav ul li:last-child a{border:0;}
	nav#mainNav ul li li:last-child a{border:0;}
	nav#mainNav ul li li:last-child a{border-bottom:1px dashed #ccc;}

 	nav#mainNav ul li a span{display:none;}
 
	nav#mainNav ul li.current-menu-item a,nav#mainNav ul li a:hover,nav#mainNav ul li.current-menu-item a,nav#mainNav ul li a:active, nav#mainNav ul li li.current-menu-item a, nav#mainNav ul li.current-menu-item li a:hover, nav#mainNav ul li.current-menu-item li a:active{
	background:#fff1dd;
	}

	nav#mainNav ul li li{
	float:left;
	border:0;
	}

	nav#mainNav ul li li a, nav#mainNav ul li.current-menu-item li a, nav#mainNav ul li li.current-menu-item a{
  padding-left:40px;
	background:#fff url(../img/sub1.png) no-repeat 20px 18px;}

	nav#mainNav ul li li.current-menu-item a,nav#mainNav ul li li a:hover, nav#mainNav ul li.current-menu-item li a:hover{
		background:#fff1dd url(../img/sub1.png) no-repeat 20px -62px;}
	
	nav#mainNav ul li li:last-child a{background:#fff url(../img/subLast.png) no-repeat 20px 20px;}
	nav#mainNav ul li li:last-child.current-menu-item a,nav#mainNav ul li li:last-child a:hover,nav#mainNav ul li.current-menu-item li:last-child a:hover{background:#fff1dd url(../img/subLast.png) no-repeat 20px -65px;}
	
	nav div.panel{float:none;}
	
	#mainImg{margin-bottom:20px;}
}


/* ハンバーガーメニュー */
.menu-toggle {
  display: none;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  .menu-container, .panel {
      display: none;
  }
  .menu-title {
    padding-left: 35px;
  }
}



/* 959px以下から 1カラム表示
------------------------------------------------------------*/
@media only screen and (max-width: 959px){
  #wrapper, #header, .inner{width:100%;}

	#header h1, #header p{padding:5px 10px;}
	#header h2 img{width:100%;height:auto;}
	#header ul{padding:20px 10px 10px;}


	nav#mainNav ul, .thumbWrap{margin:0 auto;}
	nav#mainNav ul ul{padding:0;}

	nav div.panel{float:none;}
	
	#mainImg img{width:98%;height:auto;}

	#content, #sidebar{
	clear:both;
	width:95%;
	float:none;
	margin:0 auto;
	padding:10px 0;
	}
	
	#banners{width:100%;margin:0 auto;}
	#banners p{text-align:center;}
	#banners p img{width:100%;height:auto;}
	
	section.widget_search{text-align:center;}

	#footer{margin:0;border:0;text-align:center;}
	
	#footer ul{	text-align:center;	}
	#footer ul li{margin-right:20px;}
	
	.thumbWrap{
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
	width:100%;
	margin:0 auto;
	padding-top:20px;
	overflow:auto;
  border:1px solid #dadada;
	}
	.thumbWrap ul.thumb li{width:30%; float:left;margin:0 1% 0 2%;}
  .thumbWrap img{width:100%;height:auto;}
}


/* 幅644px以下から ヘッダー等微調節
------------------------------------------------------------*/
@media only screen and (max-width: 644px){
	#header{text-align:center;}
	#header h1,#header p,#header h2,#header ul{float:none;}
	#headerInfo{width:250px;margin:0 auto;}
	img.alignright, img.alignleft{display: block;	margin:5px auto;}
	.alignright,.alignleft{float:none;}
	#footer ul{text-align:left;padding:15px;}
	#footer ul ul{padding:0;}
}

.mt5{
    margin-top:5px;
}
.mt10{
    margin-top:10px;
}
.mt20{
    margin-top:20px;
}
.mt30{
    margin-top:30px;
}
.mt50{
    margin-top:50px;
}
.ml10{
    margin-left:10px;
}
.ml20{
    margin-left:20px;
}
.ml30{
    margin-left:30px;
}
.ml50	{
    margin-left:50px;
}
.ml120{
    margin-left:120px;
}
.mb10{
    margin-bottom:10px;
}
.mr10{
    margin-right:10px;
}
.pl10{
    padding-left:10px;
}
.pl20{
    padding-left:20px;
}
.tac{
    text-align:center;
}
.tar{
    text-align:right;
}


.formHissu{
	color:#FF0000;
	font-size:12px;
}

/* よくあるご質問 -------------------------------------------------- */
.faq-block{
	border:1px solid #CCCCCC;
	margin-top:30px;
	margin-right:2px;
	padding:6px;
	background-color:#F7F7F7;
}

/* font ------------------------------------------------*/
.fs20{
	font-size:20px;
}
.fs18{
	font-size:18px;
}
.fs16{
	font-size:16px;
}
.fs14{
	font-size:14px;
}
.fs13{
	font-size:13px;
}
.fs12{
	font-size:12px;
}
.red{
	color:#FF0000;
}
.green{
	color:green;
}
.blue{
	color:blue;
}
.orange{
	color:orange;
}
.lh120{
	line-height:120%;
}
.lh140{
	line-height:140%;
}
.lh160{
	line-height:160%;
}
.lh200{
	line-height:200%;
}

.bold{
	font-weight:bold;
}

.note {
  padding-left: 1em;
  text-indent: -1em;
}

/* GoogleMap -------------------------------------------------- */
.ggmap {
position: relative;
padding-bottom: 56.25%;
padding-top: 30px;
height: 0;
overflow: hidden;
}
 
.ggmap iframe,
.ggmapr object,
.ggmap embed {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}

a:hover img{
opacity:0.6;
filter:alpha(opacity=60);
-ms-filter: “alpha( opacity=60 )”;
}

/* 問い合わせ -------------------------------------------------- */
.table-style-form {
	width:100%;
}
.table-style-form th{
	background-color:#FAFAFA;
	border: solid 1px #dcdcdc;
	padding:5px 10px;
	font-weight:500;
}
.table-style-form td{
	background-color:#FFFFFF;
	border: solid 1px #dcdcdc;
	padding:5px 10px;
	font-weight:500;
}
.form-hissu{
	color:#FF0000;
	font-size:80%;
}
.form-submit{
	width:100px;
	height:32px;
	text-align:center;
}
.formResult{
	text-align:center;
	color:#FF0000;
	font-weight:bold;
}
.btn-style{
	text-align:center;
	height:32px;
}


.table-style3 {
	width:100%;
}
.table-style3 th{
	background-color:#FFDEAD;
	border: 1px solid #CCCCCC;
	padding:5px 10px;
	font-weight:500;
	text-align:center;
	line-height: 150%;
}

.table-style3 td{
	background-color:#FFFFFF;
	border: 1px solid #CCCCCC;
	padding:5px 10px;
	font-weight:500;
	line-height: 150%;
}


/* Form */
.contactMsg{
  text-align:center;
  padding:10px;
}
table.basicTable{
  width:100%;
}
#formResult{
    color:#FF0000;
    text-align:center;
    font-weight:bold;
}
.formHissu{
    font-size:12px;
    color:#FF0000;
}
.formTable input{
    width:200px;
}

.formTable textarea{
    width:400px;
    height:130px;
}


.formTable textarea , .formTable input{
  width: 100%;
  }
  .post table th {
    width:30%;
  }


/* page top */
#pageTop {

  position: fixed;
  bottom: 20px;
  right: 20px;
}

 

#pageTop a {
  display: block;
  z-index: 999;
  padding: 8px 0 0 8px;
  border-radius: 30px;
  width: 35px;
  height: 35px;
  background-color: #9FD6D2;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
}

 

#pageTop a:hover {
  text-decoration: none;
  opacity: 0.7;
}


/* imgbox */
#imgbox_left{
width:auto;
float:left;
margin-right:20px;
position:relative;
}
#imgbox_right{
width:auto;
float:right;
margin-right:10px;
margin-left:10px;
position:relative;
}
.comment{
font-size : 12px;
color : #808000;
}

/* フォーム 問い合わせ先radioのスタイル */
.inquiry td label {
	display: flex;
	padding: 3px 0;
}

.inquiry td label input {
	width: min-content;
}


/*
 * CF7用追加設定
 */
.wpcf7-form-control.wpcf7-radio .wpcf7-list-item {
  display: block;
  margin-left: 0;
}

.cf-textarea {
  vertical-align:middle;
  max-width:90%;
  line-height:30px;
  height:30px;
  padding:1px 5px;
  border:1px solid #d4d4d7;
  border-radius:3px;
  -webkit-border-radius:3px;
  -moz-border-radius:3px;
  font-size:100%;
  color:#555;
  background:#fcfcfc;
}

.wpcf7-spinner {
  display: none !important;
}

/* 入力欄下のエラーメッセージを表示にする場合は有効にする */
/*
.wpcf7-not-valid-tip {
  display: none;
}
*/

/*
 * ブログ一覧ページ
 */
.wp-block-image figcaption {
  font-size: 0.8em;
  color: #808000;
  margin-top: 8px;
  line-height: 1.4;
  text-align: center;
}

/* ページネーション全体のコンテナ */
.pagination {
  display: flex;
  justify-content: center;
  margin: 40px 0;
}

/* 各数字と「次へ」などのリンク共通 */
.pagination .nav-links {
  display: flex;
  gap: 8px; /* ボタン同士の隙間 */
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 5px;
  border: 1px solid #ddd;
  background: #fff;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s;
}
  
/* ホバー時（マウスを乗せた時） */
.pagination .page-numbers:hover {
  background: #f0f0f0;
  border-color: #bbb;
}
 
/* 現在表示中の数字（カレント） */
.pagination .page-numbers.current {
  background: #333; /* 好きなアクセントカラーに */
  color: #fff;
  border-color: #333;
}

/* 「…（ドット）」の部分 */
.pagination .page-numbers.dots {
  border: none;
  background: transparent;
}

/* グリッド全体のコンテナ */
.blog-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 横2列 */
    gap: 30px 20px; /* 縦・横の隙間 */
    margin-top: 30px;
}

/* 記事カードの基本スタイル */
.blog-card {
    text-decoration: none;
    color: #333;
    display: block;
    background: #fef6ea;
    transition: transform 0.2s;
}

.blog-card:hover {
    transform: translateY(-3px);
}

.blog-card__image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
}

.blog-card__body {
    padding: 10px 0;
}

.blog-card__date {
    font-size: 0.85em;
    color: #888;
    margin-bottom: 5px;
    margin-left: 5px;
}

.blog-card__title {
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
}

/* 最新の記事（1件目）のレイアウト調整 */
.blog-card:first-child {
    grid-column: 1 / 3;
    display: block;
}

.blog-card:first-child .blog-card__image img {
    height: 400px;
    width: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.blog-card:first-child .blog-card__body {
    padding: 15px 0;
}

.blog-card:first-child .blog-card__title {
    font-size: 1.5rem;
    font-weight: bold;
}

/* スマホ表示（1列） */
@media (max-width: 600px) {
    .blog-card:first-child .blog-card__image img {
        height: 250px; /* スマホでは画像が高すぎないように調整 */
    }
    .blog-card:first-child .blog-card__title {
        font-size: 1.2rem;
    }
}

/* 1件目の後のhrを2列分ぶち抜く設定 */
.first-post-divider {
    grid-column: 1 / 3; /* 2列分の幅を確保 */
    border: none;
    border-top: 1px solid #ddd; /* 線の色と太さ */
    margin: 20px 0; /* 前後の余白 */
    width: 100%;
}

/* スマホでは1列なので自動的に幅いっぱいに広がります */
@media (max-width: 600px) {
    .first-post-divider {
        grid-column: auto;
    }
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr; /* 横1列に変更 */
        gap: 20px; /* 隙間を少し詰める */
    }

    /* 最新記事のぶち抜きを解除して、他と同じ1列にする */
    .blog-card:first-child {
        grid-column: auto;
    }

    /* 画像の高さもスマホに合わせて調整（任意） */
    .blog-card__image img {
        height: 200px; /* PCで400pxにしていた場合、スマホでは低くすると見やすい */
    }
}

.new-label {
    display: inline-block;
    background-color: #ff0000; /* 背景：赤 */
    color: #ffffff;            /* 文字：白 */
    font-size: 10px;           /* 小さめのサイズ */
    font-weight: bold;
    padding: 2px 6px;          /* 内側の余白 */
    border-radius: 4px;        /* 角を少し丸く */
    margin-right: 8px;         /* 日付との間の隙間 */
    vertical-align: middle;    /* 高さを中央に揃える */
    position: relative;
    top: -1px;                 /* 微調整 */
}

/*
 * ブログページ
 */
.post-header {
    margin-bottom: 30px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}
.post-date {
    color: #888;
    font-size: 0.9em;
}
.post-title {
    font-size: 1.8rem;
    font-weight: bold;
    line-height: 1.4;
    margin-top: 5px;
}

.post-body img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

/* 記事詳細のナビゲーションコンテナ（一覧の.paginationに相当） */
.post-navigation {
    margin: 40px 0;
}

/* ナビゲーション内のリンクを横並びにし、隙間を作る */
.post-navigation .nav-links {
    display: flex;
    justify-content: center; /* 中央寄せ */
    gap: 8px; /* ボタン同士の隙間を一覧と統一 */
}

/* 前後の記事リンクと一覧リンクの共通スタイル（一覧の.page-numbersに相当） */
.post-navigation .nav-links a,
.post-navigation .nav-links .nav-archive a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px; /* 数字ボタンと合わせるなら最小幅を設定 */
    height: 40px;
    padding: 0 20px; /* 文字が入るので左右のパディングを確保 */
    border: 1px solid #ddd;
    background: #fff;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
    box-sizing: border-box;
}

/* ホバー時（一覧のhoverと統一） */
.post-navigation .nav-links a:hover {
    background: #f0f0f0;
    border-color: #bbb;
    color: #333; /* 文字色が変わらないように固定 */
}

/* 一覧へ戻るボタンだけ少し色を変えたい場合（任意） */
.post-navigation .nav-links .nav-archive a {
    background: #f9f9f9; /* ほんの少しだけ色を変える例 */
}

/* スマホ対応：ボタンが重なる場合は縦並びに */
@media (max-width: 600px) {
    .post-navigation .nav-links {
        flex-direction: column;
        align-items: stretch;
    }
    .post-navigation .nav-links a {
        text-align: center;
    }
}

/* 本文内の見出し */
.post-body h4 {
    font-size: 1.3rem;
    font-weight: bold;
    padding-bottom: 10px;
    border-bottom: 2px solid #edd5d5;
    margin: 30px 0 15px;
}

.post-body h5 {
    font-size: 1.1rem;
    font-weight: bold;
    color: #555;
    margin: 25px 0 10px;
    display: flex;
    align-items: center;
}

.post-body h5::before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    background-color: #000;
    margin-right: 10px;
    flex-shrink: 0;
}
