/*
Theme Name: sanseito01
Theme URI: https://sofnavi.com/
Description: このテーマは、「株式会社SOFNAVI」参政党員が作成しました。賛成党内に限定して無料でご利用ください。
*/
@charset "utf-8";
html {
	overflow: scroll;
	overflow: -moz-scrollbars-vertical;
	overflow-x: scroll;
	font-size:16px;
	font-family: "Zen Kaku Gothic New", sans-serif, Meiryo, メイリオ,'Lucida Grande';
}
body{
	-webkit-text-size-adjust: 100%;
	font-size:inherit;
	font:100%;
	line-height:1;
	margin:0px 0 0 0;
	padding: 0 0 0px 0;
}
div,span,pre,p,blockquote,form,fieldset,label,legend,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,
embed,object,form,caption,tbody,tfoot,thead,a,abbr,acronym,address,
small,strike,sub,sup,tt,var,del,u,i,center,big,cite,code,iframe,obect,applet{
	margin: 0;
	padding: 0;
	vertical-align: baseline;
	outline:0;
}
table{margin:0 auto;}
th,td,input,textarea,select,option{
	margin: 0;
	padding: 0;	
}
input,textarea,select,option{font-size:16px;}
a { 
	vertical-align: baseline;
	outline: none;
	overflow:hidden;
	outline:none;   
}
a img{border:none;}
a img:hover{
	opacity: 0.8;
	transition : all 0.5s ease 0s;
}
img.over{
	transition : all 0.5s ease 0s;
}
img.over:hover {
	opacity: 0.8;
	transition : all 0.5s ease 0s;
}
a:link,a:visited{
	color:#4D4D4D;
	text-decoration:none;
}
a:hover,a:active{
	color:#000;
	text-decoration:none;
}
.side_max{
	max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}
#contenter.side_max{
	width:1000px;
	margin:0 auto;
	padding:40px;
}
.clearfix,.cf {zoom:1;}
.cf:before,
.cf:after {
  display: table;
  content: "";
  line-height: 0;
}
.clearfix:after,.cf:after {
  clear: both;
  display: block; 
}

.pull-left{float:left;}
.pull-right{float:right;}
.ffm {
    font-family: "ヒラギノ明朝 ProN W6", "HiraMinProN-W6", "HG明朝E", "ＭＳ Ｐ明朝", "MS PMincho", "MS 明朝", serif;
    font-size: 2.4rem;
}


/********************************
     出現させるコンテンツのスタイル
*********************************/
.fade-item {
/* ▼ 1. 最初は非表示（ふわっと出現の準備） ▼ */
opacity: 0;
transform: translateY(80px); /* 少し下から上に移動するアニメーションを追加 */
transition: opacity 1s ease-out, transform 1s ease-out; /* 1秒かけて変化させる */
}

/* ▼ 2. スクロールで画面に入ったらこのクラスを付与 ▼ */
.fade-item.is-visible {
opacity: 1;
transform: translateY(0); /* 元の位置に戻る */
}
.fade-item07 {
/* ▼ 1. 最初は非表示（ふわっと出現の準備） ▼ */
opacity: 0;
transform: translateY(80px); /* 少し下から上に移動するアニメーションを追加 */
transition: opacity 1s ease-out, transform 1s ease-out; /* 1秒かけて変化させる */
}

/* ▼ 2. スクロールで画面に入ったらこのクラスを付与 ▼ */
.fade-item07.is-visible {
opacity: 0.7;
transform: translateY(0); /* 元の位置に戻る */
}

/******************************************
ヘッダー　header
*******************************************/
#header{
	background:none;
	padding:20px 30px;
	left:0;
	top:0;
    z-index: 1000;
	width:calc(100% - 60px);
}
#header .header_side_max{
    margin:0 auto;
	position:relative;
}
#header_menu{
	float:right;
	width:100%;
	text-align:right;
}
#logo{
	float:left;
    width:294px;
    display: block;
}
#header h1{
	font-family: "M PLUS Rounded 1c", sans-serif;
	font-size: 0.9rem;
	font-weight:500;
	color:#666;
	left:360px;
	top:30px;
	width: calc(100% - 800px);
	position: absolute;
	text-align: left;
}
#header_navimenu{
	float:right;
	overflow:hidden;
	margin-top:10px;
    color:#fff;
}
#header_navimenu ul li{
    padding:10px 20px;
    float:left;
    display:block;
    font-size: 0.8em;
}
#header_navimenu ul li a{
    color:#000;
}
.home #header_navimenu ul li a{
    color:#fff;
}
.main-visual {
	height:500px;
    text-align: center;
    position: relative;
    overflow: hidden;
	background:url(images/top_main_bg01.png) no-repeat;
	background-size: contain;
	background-position: center top;
}
.main-visual img {
    z-index: 2;
	font-family: "M PLUS Rounded 1c", sans-serif;
	font-size:28px;
    position: absolute;
    bottom: 0px;
	left:100px;
}
.main-visual-text1{
	z-index: 2;
	font-family: "M PLUS Rounded 1c", sans-serif;
	text-shadow: 00px 0px 20px rgba(0, 0, 0, 1), 00px 0px 15px rgba(0, 0, 0, 1);
	font-size:48px;
	color:#fff;
	font-weight:700;
    position: absolute;
    top: 80px;
	left:100px;
}
.main-visual-text2{
	z-index: 2;
	font-family: "M PLUS Rounded 1c", sans-serif;
	text-shadow: 00px 0px 20px rgba(0, 0, 0, 1), 00px 0px 15px rgba(0, 0, 0, 1);
	font-size:20px;
	color:#fff;
	font-weight:700;
    position: absolute;
    top: 160px;
	left:100px;
}
#gnavi{
	max-width: 1200px;
    margin: 0 auto 20px;
    width: 100%;
}
.header-nav{
	display:inline-block;
	width: 100%;
}
.header-nav > ul{
	margin:0;
	padding:0;
	list-style:none;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr;
}
.header-nav ul > li{
	padding: 0px 10px;
	width:94%;
	position:relative;
	overflow: visible; 
}
.header-nav ul li a{
	font-size: 1em;
    display: block;
    color: #333;
    text-decoration: none;
    padding: 8px;
    text-align: center;
    font-family: "M PLUS Rounded 1c", sans-serif;
    font-weight: 700;
    font-style: normal;
    border-radius: 14px;
}
.header-nav ul li a:hover{
	margin-top:-4px;
	transition: 0.5s;
}
.header-nav ul li:nth-child(1) a { background-color: #e1f4dc; } /* 1番目 */
.header-nav ul li:nth-child(2) a { background-color: #d6f2ec; } /* 2番目 */
.header-nav ul li:nth-child(3) a { background-color: #e1f4dc; } /* 3番目 */
.header-nav ul li:nth-child(4) a { background-color: #e4f5c0; } /* 4番目 */
.header-nav ul li:nth-child(5) a { background-color: #e1f4dc; } /* 5番目 */


.header-tel{
	position: absolute;
	right:70px;
	top:0px;
}
.header-tel img{
	margin:0;
}
.header-tel p{
	background: #7f5d74;
    padding: 4px 10px;
    border-radius: 10px;
    width: 310px;
    text-align: center;
    color: #fff;
    font-size: 12px;
}
@media screen and (min-width: 0px) and (max-width: 768px) {
	.header-nav ul > li{
		padding: 0;
		width:100%;
	}
	.header-nav ul li a{
		font-size: 0.8em;
		display: block;
		color: #333;
		padding: 10px 0;
		border-radius: 0;
		border: 0.5px solid #ccc;
	}
	.header-nav ul li a:hover{
		margin-top:0px;
		transition: 0.5s;
	}
}

/* ===== サブメニューの初期状態 ===== */
.header-nav .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	background: #444;
	list-style: none;
	margin: 0;
	padding: 0;
	min-width: 200px; /* 適度な幅に調整 */
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: all 0.3s ease;
	z-index: 100;
}

/* hover時に表示 */
.header-nav li:hover > .sub-menu {
	opacity:1;
	visibility:visible;
	transform:translateY(0);
}

/* サブメニュー内の項目 */
.header-nav .sub-menu li {
	padding: 0;
	border-bottom: 1px solid #555;
}
.header-nav .sub-menu li:last-child {
  	border-bottom: none;
}
.header-nav .sub-menu li a {
	display: block;
	padding: 10px 20px;
	color: #fff;
	text-decoration: none;
}
.header-nav .sub-menu li a:hover {
  background: #555;
}

@media screen and (min-width: 0px) and (max-width: 768px) {
	#header{
		overflow:hidden;
		padding:10px;
		width: calc(100% - 20px);
	}
	#logo{
        margin:0 auto;
        width:260px;
    }
	#logo img{
        width:100%;
    }
	.header-nav > ul{
		grid-template-columns: 1fr 1fr;
	}
}

/******************************************
パンクズリスト　breadcrumbs
*******************************************/
.breadcrumbs{
	width: 1160px;
    margin: 0 auto;
    padding: 0 20px;
    margin-bottom: 20px;
}
.breadcrumbs ol{
	display: flex;
}
.breadcrumbs ol li{
	list-style: none;
	color:#999;
	font-size:0.8em;
}
.breadcrumbs ol li.sep{
	margin: 1px 10px;
	font-size:0.7em;
}
@media screen and (min-width: 0px) and (max-width: 768px) {
	.breadcrumbs{
		width: 96%;
		margin: 0 auto 20px;
		padding: 0 2%;
	}
}
/******************************************
ハンバーガーメニュー　hamburgermenu
*******************************************/

.menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100%;
  background-color: #f9f9f9;
  color: #333;
  transition: right 0.3s ease; 
  padding: 20px;
  box-sizing: border-box;
  z-index: 10;
}

/* メニューが開いているとき */
.menu.open {
  right: 0;
}

/* ボタンのスタイル */
.hamburger {
  position: fixed;
  top: 26px;
  right: 20px;
  width: 30px;
  cursor: pointer;
  z-index: 1000;
  padding: 10px;
  background-color: #000;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: #fff;
  margin: 5px 0;
  transition: 0.4s;
}

/* バツ印に変化するスタイル */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* メニューリストのスタイル */
.menu > ul {
  list-style-type: none;
  padding: 0;
  margin-top: 80px;
}

.menu > ul > li {
  	margin:14px 0;
	list-style: none;
	text-align: left;
}

.menu > ul > li > a {
    padding: 8px 10px 10px 20px;
    color: #333;
    text-decoration: none;
    display: block;
    background-color: #e1f4dc;
    text-align: left;
    position: relative;
    border-radius: 20px;
}
.menu > ul > li > a::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: 17px;
  width: 9px;
  height: 9px;
  margin: auto;
  border-top: 2px solid #ccc;
  border-right: 2px solid #ccc;
  transform: rotate(45deg);
  box-sizing: border-box;
}
.menu > ul > li > a:hover {
  background-color: #cee0ca;
}
.menu > ul > li > ul > li{
  padding: 10px 0;
  list-style: none;
}
.menu > ul > li > ul > li > a{
	color: #333;
	padding: 10px 10px 10px 10px;
	width: 90%;
	display: block;
	text-align: left;
}
.menu > ul > li > ul > li > a::before{
   content:"└ ";
   color:#333;
}
.menu > ul > li > ul > li > a:hover{
   color: #000;
}
.drawer-stitle{
	margin:20px 0 10px;
	text-align: left;
	padding: 10px;
	color: #333;
	font-weight:900;
	display: block;
	background-color: #dbdbdb;
	border-bottom:1px #333 dotted;
}
a.drawer-btn{
	padding: 8px 10px 10px 20px;
    color: #333;
    text-decoration: none;
    display: block;
    background-color: #e1f4dc;
    text-align: left;
    position: relative;
    border-radius: 20px;
}
a.drawer-btn::after{
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	right: 17px;
	width: 9px;
	height: 9px;
	margin: auto;
	border-top: 2px solid #ccc;
	border-right: 2px solid #ccc;
	transform: rotate(45deg);
	box-sizing: border-box;
}
.drawer-tel{
	margin:10px 0;
	text-align: left;
	padding: 10px;
	color: #333;
	font-family: "Dela Gothic One", sans-serif;
  	font-weight: 400;
}
@media screen and (min-width: 0px) and (max-width: 768px) {
	.hamburger {
		top: 20px;
		right: 20px;
	}
}

/******************************************
トップメイン
*******************************************/
/* 設定 */
.container {
	width: 100%; 
}

@media screen and (min-width: 0px) and (max-width: 768px) {
	.sp_container {
		width: 100%;
	}
	.sp_container img{
		width: 100%;
	}
}
/******************************************
トップコンテンツ
*******************************************/
/* セクション共通 */

section h2 {
	font-size: 2rem;
	font-family: "M PLUS Rounded 1c", sans-serif;
	color: #000;
	margin-bottom: 3rem;
	text-align: center;
	position: relative;
	padding-bottom: 1rem;
}
@media screen and (min-width: 0px) and (max-width: 768px) {
	section h2 {
		font-size: 1.3rem;
	}
}
/* 特徴 */

#tokucho{
	padding:30px;
}
#tokucho .tokucho_wrap{
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr;
}
#tokucho .tokucho_wrap li{
	padding:0%;
	list-style: none;
}
#tokucho .tokucho_wrap li img{
	width:100%;
}
@media screen and (min-width: 0px) and (max-width: 768px) {
	#tokucho{
		padding:10px;
	}
	#tokucho .tokucho_wrap{
		grid-template-columns: 1fr 1fr;
	}
}

/* 設備０１ */
#top_facillity_info01{
	padding:40px 0;
	background: #fdf8f8;
}
.facillity01{
	float:right;
	padding:3%;
	width:44%;
	display: block;
}
.facillity01 h3{
	margin-bottom:10px;
}
.facillity01 p{
	font-size:16px;
	text-align: justify;
	line-height:1.8;
	display: block;
	padding:10px;
}
.facillitybt{
	font-size:20px;
	font-weight:700;
	padding: 3%;
	border:2px solid #333;
	border-radius: 30px;
	margin:20px 0;
	width:90%;
	display: block;
}
.facillity_img01{
	float:left;
	padding:3%;
	width:44%;
}
.menu_box{
	padding:3%;
	width:94%;
	display: grid;
	grid-template-columns: 1fr 1fr;
}
@media screen and (min-width: 0px) and (max-width: 768px) {
	.facillity_img01{
		float:none;
		padding:3%;
		width:94%;
	}
	.facillity01 {
		float: none;
		padding: 3%;
		width: 94%;
		display: block;
	}
	.facillity01 h3 img{
		max-width:100%;
	}
	.menu_box {
		grid-template-columns: 1fr;
	}
	.menu_box img{
		max-width:100%;
	}
}

/* 設備０２ */

#top_facillity_info02{
	padding:40px 0;
	background: #f6f4fd;
}
.facillity02{
	float:left;
	padding:3%;
	width:44%;
	display: block;
}
.facillity02 h3{
	margin-bottom:10px;
}
.facillity02 p{
	font-size:16px;
	text-align: justify;
	line-height:1.8;
	display: block;
	padding:10px;
}
.facillitybt{
	font-size:20px;
	font-weight:700;
	padding: 3%;
	border:2px solid #333;
	border-radius: 30px;
	margin:20px 0;
	width:90%;
	display: block;
}
.facillity_img02{
	float:right;
	padding:3%;
	width:44%;
}
@media screen and (min-width: 0px) and (max-width: 768px) {
	.facillity_img02{
		float:none;
		padding:3%;
		width:94%;
	}
	.facillity02 {
		float: none;
		padding: 3%;
		width: 94%;
		display: block;
	}
	.facillity02 h3 img{
		max-width:100%;
	}
}

/* 設備０３ */

#top_facillity_info03{
	padding:40px 0;
	background: #fff;
}
.facillity03{
	float:right;
	padding:3%;
	width:44%;
	display: block;
}
.facillity03 h3{
	margin-bottom:10px;
}
.facillity03 p{
	font-size:16px;
	text-align: justify;
	line-height:1.8;
	display: block;
	padding:10px;
}
.facillitybt{
	font-size:20px;
	font-weight:700;
	padding: 3%;
	border:2px solid #333;
	border-radius: 30px;
	margin:20px 0;
	width:90%;
	display: block;
	background: #fff;
	text-align: center;
}
.facillitybt:hover{
	background: #e6d9ca;
	transition: 0.5s;
}
.facillitybt::after{
	content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    border-top: 2px solid #000;
    border-right: 2px solid #000;
    transform: rotate(45deg);
    margin-right: 0px;
    vertical-align: middle;
    position: relative;
    top: -3px;
    left: 100px;
}
.facillity_img03{
	float:left;
	padding:3%;
	width:44%;
}
@media screen and (min-width: 0px) and (max-width: 768px) {
	.facillity_img03{
		float:none;
		padding:3%;
		width:94%;
	}
	.facillity03 {
		float: none;
		padding: 3%;
		width: 94%;
		display: block;
	}
	.facillity03 h3 img{
		max-width:100%;
	}
	.facillitybt {
		font-size: 14px;
	}
	.facillitybt::after {
		left: 40px;
	}
}

/* トップーウィジェット　セクション*/
#top_image_area01{
	padding: 0 0 40px;
    background: #fdf8f8;
}
.top-image-wrapper{
	display: grid;
	grid-template-columns: 1fr 1fr;
}
.top-widget-image{
	width:96%;
	padding:2%;
}
@media screen and (min-width: 0px) and (max-width: 768px) {
	.top-image-wrapper{
		display: grid;
		grid-template-columns: 1fr;
	}
}
/* レンタル・お客様の声　セクション */
#top-voice-section{
	padding:4rem 0;
	background: #fbfff3;
	display: none;
}


/* インフォメーションーお知らせ　セクション */
#top_info {
	padding:4rem 0;
	background: #fffcf7;
}
#top_info ul{
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr;
}
#top_info ul li{
	width:90%;
	margin:5%;
	list-style: none;
}
#top_info ul li img{
	width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}
.fpost_items-center{
	margin:0;
	padding:1rem 0;
	text-align: left;
}
.fpost_items-center span{
	display: block;
	margin:0;
	padding:1rem 0;
}
.top_info_bt{
	margin:3rem auto;
	text-align: center;
}
.top_info_bt .section_categori_bt{
	padding:0.8rem 4rem;
	color:#4d4d4d;
	border:2px solid #333;
	border-radius:4rem;
	font-weight: 700;
	font-size: 20px;
	background: #fff;
}
.top_info_bt .section_categori_bt::after{
	content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    border-top: 2px solid #000;
    border-right: 2px solid #000;
    transform: rotate(45deg);
    margin-right: 0px;
    vertical-align: middle;
    position: relative;
    top: -3px;
    left: 10px;
}
.top_info_bt .section_categori_bt:hover{
	background: #e6d9ca;
	transition : 0.5s;
}
@media (max-width: 768px) {
	#top_info ul{
		display: grid;
		grid-template-columns: 1fr;
	}
	#top_info ul li {
		width: 100%;
        margin: 0 0 10px;
        list-style: none;
        border-bottom: 1px dotted #ccc;
	}
	#top_info ul li img {
		width: 100px;
		height: 100px;
		aspect-ratio: 1 / 1;
		object-fit: cover;
		float: left;
		margin-right:20px;
	}
	.fpost_items-center {
		margin: 0;
		padding: 0.4rem 0;
		text-align: left;
	}
}


/******************************************
 固定ページ　contenter
*******************************************/
#contenter{
	overflow:hidden;
	margin-bottom:40px;
	color:#3f3f3f;
}
.page_title {
	background-color: #e6d9ca;
	padding: 40px 0;
    font-size: 2rem;
    color:#fff;
	text-align: center;
}
.section_title{
	background:url(images/title_bg.png) repeat-x bottom;
	padding:20px 0px 20px 0px;
	margin-bottom:45px;
	font-size:26px;
	font-weight:bold;
	text-align:left;
	color:#555;
}
#contenter h2 {
    font-size: 1.5em;
	font-weight:700;
    padding: 25px;
    background-color: #ecebeb;
	color:#333;
	text-align: left;
	margin-top: 1rem;
	margin-bottom: 1rem;
}
#contenter h3 {
    font-size: 1.8em;
	font-weight:700;
    padding: .5em 0 .5em .75em;
	border-top:1px solid #cfcfcf;
	border-bottom:1px solid #cfcfcf;
    text-align: left;
	margin-top: 1rem;
    margin-bottom: 1rem;
    line-height:1.8;
	color:#333;
}
#contenter h4 {
    font-size: 1.4em;
	font-weight:700;
    padding: 0.3rem 1rem;
    text-align: left;
    line-height:1.8;
	color:#333;
	border-bottom: 1px solid #cfcfcf;
    background-color: #f4f4f4;
}
#contenter h5 {
    font-size: 1.4em;
	font-weight:700;
    padding: .4em;
    text-align: left;
	margin-top: 1rem;
    margin-bottom: 1rem;
    line-height:1.8;
	color:#333;
}
#contenter h6 {
    font-size: 1.3em;
	font-weight:700;
    padding: .4em;
    text-align: left;
	margin-top: 1rem;
    margin-bottom: 1rem;
    line-height:1.8;
	color:#333;
}
#contenter p {
    font-size: 1em;
    padding: 1rem;
    text-align: left;
	text-align: justify;
    line-height:1.8;
	color:#333;
}
#contenter .imgbox2 {
    display: grid;
	grid-template-columns: 1fr 1fr;
}
#contenter .imgbox2 img{
    max-width:90%;
	padding:5%;
}
#contenter a.link-bt{
	padding: 0.2em 2em 0.3em;
    color: #fff;
    border-radius: 20px;
    background-color: #ac862f;
    margin: 10px 0;
    display: inline-block;
}
#contenter a.link-bt:hover{
	background-color: #ac762f;
	transition: 0.5s;
}

@media screen and (min-width: 0px) and (max-width: 768px) {
	/*スマホ用*/
	#contenter{
		padding:2%;
		width:96%;
		margin:0 auto;
	}
	.page_title {
		padding: 20px 0;
		margin-bottom: 10px;
		font-size: 1.2em;
	}
	#contenter h2 {
		font-size: 1.2em;
	}
	#contenter h3 {
		font-size: 1.2em;
	}
	#contenter h3 {
		font-size: 1.2em;
	}
	#contenter h4 {
		font-size: 1em;
	}
	#contenter h5 {
		font-size: 1em;
	}
	#contenter h6 {
		font-size: 1em;
	}
	
}

/******************************************
投稿ページ　single
*******************************************/

.meta{text-align:left;font-size:16px;color:#00613c;}
.meta span{float:right;}

.singlebox{
	background:#fff;
}
.single_title{
	text-align:left;
}


@media screen and (min-width: 0px) and (max-width: 768px) {
	.singlebox{
		width:100%;
		padding:0%;
		margin:0 auto;
	}
}

/******************************************
サイドバー　sidebar
*******************************************/



/* カテゴリーページ　関連記事 */
#contenter .sidebar ul.list_posts{
	width:100%;
}
#contenter .list_posts{
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr;
}
#contenter .list_posts li{
	padding:1rem;
	list-style: none;
}
#contenter .list_posts li img{
	width:100%;
}
#contenter .list_posts li time{
	display: block;
	padding:1rem 0;
}
#contenter .list_posts li h4{
	display: block;
	padding:1rem 0;
	margin:0;
	border:none;
	font-size: 1em;
    font-weight: 400;
}
@media screen and (min-width: 0px) and (max-width: 768px) {
	#sidebar{
		width:100%;
	}
	#contenter .list_posts{
		display: grid;
		grid-template-columns: 1fr 1fr;
	}
	#contenter .sidebar ul {
		padding: 1rem 0rem;
	}
	#contenter .list_posts li{
		width:96%;
		padding:2%;
	}
}

/******************************************
カテゴリー一覧　category_list
*******************************************/
#contenter .categori_lists{
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr;
}
#contenter .categori_lists li{
	list-style: none;
	width:92%;
	margin:4%;
}
#contenter .categori_lists li img{
	width:100%;
}
#contenter .categori_lists li time{
	display: block;
	padding: 1rem 0;
}
#contenter .categori_lists li h4{
	display: block;
    padding: 1rem 0;
    margin: 0;
    border: none;
    font-size: 1em;
    font-weight: 400;
}
@media screen and (min-width: 0px) and (max-width: 768px) {
	#contenter ul {
		padding: 1rem 0rem;
		padding: 0.5em 0.5em 0.5em 2em;
	}
	#contenter .categori_lists{
		display: grid;
		grid-template-columns: 1fr 1fr;
	}
	.category_list dd{
		min-height:40px;
	}
	.category_list dt,.category_list dd,.category_list dt img{
		width:100%;
		margin:0;
	}
}




/******************************************
メール送信フォーム　contact
*******************************************/
.rtable {
	width:100%;
	margin:20px auto 60px;
	clear:both;
	border-bottom:1px dotted #81c14b;
}
.rtable dt {
	width:280px;
	float:left;
	box-sizing: border-box;
	padding:1rem 1%;
	border-top:1px dotted #81c14b;
	font-weight:normal;
	line-height:1.8;
	text-align:left;
	}
.rtable dd {
	border-top:1px dotted #81c14b;
	float:left;
	padding:1rem 1%;
	width:calc(100% - 280px);
	box-sizing: border-box;
	line-height:1.8;
	text-align:left;
	word-break:break-all;
}

.mustbox{
	border-bottom:1px dotted #81c14b;
	padding:2rem 0;
	color:#333333;
	font-weight:bold;
}

.rtable label{display:block;}
.rtable dd textarea{
	height:200px;
	margin-bottom:10px;
	border-radius: 3px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border:1px #ccc solid;
    padding: 10px;
    color:#444;
	font-size: 1em;
	line-height: 1.6;
}
.rtable dd span{
	margin:0;
	padding:5px 0;
}
.rtable input{
	border-radius: 3px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border:1px #ccc solid;
	padding: 10px;
    color:#444;
	font-size: 1em;
	line-height: 1.6;
	margin-right: 10px;
}
.rtable select{
	border-radius: 3px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border:1px #ccc solid;
	padding: 11px 10px 13px;
    color:#444;
	font-size: 1.2em;
	line-height: 1.6;
}
.rtable .ss{width:20px;}
.rtable .s{width:60px;}
.rtable .m{width:240px;}
.rtable .l{width:90%;}

.btn,a.btn{
	padding:20px;
	color:#fff;
	margin:0 auto 40px auto;
	display:block;
	width:50%;
	font-size:26px;
	background:#0f4ead;
	font-weight:bold;
	border-radius: 6px;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	box-shadow:3px 3px 0px 0px #0b108c;
	-moz-box-shadow:3px 3px 0px 0px #0b108c;
	-webkit-box-shadow:3px 3px 0px 0px #0b108c;
	border:none;
	text-align:center;
}
.btn:hover,a.btn:hover{
	margin:2px auto 38px auto;
	text-decoration:none;
	box-shadow:3px 3px 0px 0px #0b108c;
	-moz-box-shadow:3px 3px 0px 0px #0b108c;
	-webkit-box-shadow:3px 3px 0px 0px #0b108c;
}
#contenter .btn_submit p{
	text-align:center;
}
#contenter .btn_submit input{
	background:url(images/btn_submit.png) no-repeat;
	width:240px;
	margin:40px auto 60px auto;
	height:48px;
	text-indent:-9999px;
	border:none;
}
.red{color:#fe0000;}

span.wpcf7-list-item {
    display: inline-block;
    width: 100%;
}
.must{
	background:#fe0000;
	color:#fff;
	padding:2px 5px;
	font-size:0.8em;
	margin:2px 5px;
	float:right;
}
.policy{
	background:#fff;
	margin:-30px auto 10px auto;
	padding:10px 30px;
	font-size:0.9em;
	text-align:left;
	line-height:1.8;
	height:230px;
	overflow-y: scroll;
	overflow-x: hidden;
	width:85%;
	color:#666;
	border: 5px #ccc solid;
}
.policy strong{
	display:block;
}

@media screen and (min-width: 0px) and (max-width: 768px) {
	/*スマホ用*/
	.must {
		margin: 0px 10px;
		float: none;
	}
	.rtable{width:100%}
	.rtable dt{width:100%;}
	.rtable dd{width:100%; border-left:none;border-top:none;padding-top:0;}
	.rtable dd .extext{
		padding:10px 0;
		display: block;
		font-size: 12px;
	}
	.ajax-loader{height:0px;}

}


/******************************************
ページネーション　Pagenation
*******************************************/
.pagenation {
    margin-bottom:40px;
}
.pagenation:after, .pagenation ul:after {
    clear: both;
    content: ".";
    display: block;
    height: 0;
    visibility: hidden;
}
.pagenation ul {
    margin: 0;
}
.pagenation li {
    float: left;
    list-style: none outside none;
    margin-left: 3px;
}
.pagenation li:first-child {
    margin-left: 0;
}
.pagenation li.active {
    background-color: #6fb92c;
    border-radius: 3px;
    color: #FFFFFF;
    cursor: not-allowed;
    padding: 10px 20px;
}
.pagenation li a,.pagenav a {
    background: none repeat scroll 0 0 #fff;
	border:1px solid #666;
    border-radius: 3px;
    color: #666;
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2);
    float: left;
    margin-left: 2.5%;
    margin-right: 2.5%;

}
.pagenation li a:hover {
    background-color: #444444;
    color: #FFFFFF;
    opacity: 0.8;
    transition-duration: 500ms;
    transition-property: all;
    transition-timing-function: ease;
}
.pagenav{
	overflow: hidden;
	margin:0 auto;
	width:100%;
	margin-bottom:40px;
	display: grid;
	grid-template-columns: 1fr 1fr;
}

.pagenav a{
	width:90%;
	margin:5%;
	display:inline;
}
@media screen and (min-width: 0px) and (max-width: 768px) {
	.pagenav{
		width:100%;
	}
	.pagenav a{
		width: 90%;
		padding:5% 0%;
		margin:5%;
		font-size: 0.7em;
	}
}

/******************************************
フッターエリア
*******************************************/
.fotter_bana_wrap{
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr;
}
.footer_bana img{
	width:96%;
    margin:1% 2%;
}

#footer_contact{
	border-top:#e0ddd9 1px solid;
	background:url(images/footr_bg.png) repeat;
	padding:42px 0;
}
#footer{
	background:#333;
	color:#fff;
	padding:40px 0 40px 0;
}
section#footer h2{
	text-align: left;
	font-family: "M PLUS Rounded 1c", sans-serif;
	line-height:1.6;
	color:#fff;
	margin-bottom: 0;
	padding:1rem;
}
#footer a{
	color:#fff;
}
#footer p{
	text-align:left;
	line-height:2;
	font-size:1rem;
	padding:1rem;
}
#footer .pull-left{
	width:65%;
}
#footer .pull-right{width:30%;}

#footer .pull-left{
	text-align:left;
}
.footer_list{
	background:url(images/footer_line.png) repeat-x bottom;
	margin-bottom:40px;
	padding-bottom:40px;
}
#footer .footer-nav ul{
	width:100%;
	display: flex;
}
#footer .footer-nav ul li{
	background:url(images/footer_icon.png) no-repeat 0 16px;
	padding:10px 15px;
	margin-right:20px;
	font-size:16px;
	list-style: none;
}
.orange{color:#e88e19;}
.footer_sns{
	display: flex;
}
.footer_sns img{
	margin:0.5em;
}
.footer_bana_join img:hover{
	width:100%;
}
#footer .pull-right{
	text-align:left;
}

#footer .footer_logo img{
	width:100%;
	margin-bottom:20px;
}
#footer .footer_bt{
	width: 100%;
    padding: 1em 0;
}
#footer .footer_bt a{
	position: relative;
    background: #fff;
    text-align: center;
    padding: 12px;
    width: 90%;
    font-weight: 700;
    color: #000;
    border-radius: 4px;
    display: block;
    margin: 20px 0;
    height: 20px;
    transition: 0.5s;
    font-size: 18px;
}
#footer .footer_bt a::after{
	content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 27px;
    width: 9px;
    height: 9px;
    margin: auto;
    border-top: 2px solid #000;
    border-right: 2px solid #000;
    transform: rotate(45deg);
    box-sizing: border-box;
}

.copy{
	padding:10px 0;
	font-size:12px;
	background:#222;
	color:#fff;
	text-align:center;
}

@media screen and (min-width: 0px) and (max-width: 768px) {
	.fotter_bana_wrap {
		display: grid;
		grid-template-columns: 1fr;
	}
	#footer{
		overflow:hidden;
		width:96%;
		padding:40px 2%; 
	}
	.footer_logo{width:100%;margin:0 auto;margin-bottom:20px;}
	.footer_logo .pull-left{float:none;}
	.footer_list{margin-bottom:10px;padding-bottom:10px;}
	#footer .footer-nav ul {
		width: 100%;
		display: grid;
		grid-template-columns: 1fr;
	}
	#footer .pull-left{width:100%;}
	#footer .pull-right{width:100%;}
}

/******************************************
wysiwyg
*******************************************/

.aligncenter{
    margin:60px auto;
    display: block;
}
.size-full{
    max-width:100%;
}
.singlebox ul,.pagebox ul {
	background: #fffde8;
	box-shadow: 0px 0px 0px 10px #fffde8;/*線の外側*/
	border: dashed 2px #ffb03f;/*破線*/
	border-radius: 9px;
	margin:20px;
	padding: 0.5em 0.5em 0.5em 2em;
}
.singlebox ul li,.pagebox ul li {
	line-height: 1.5;
  	padding: 0.5em 0;
}
.singlebox ol,.pagebox ol {
    list-style: none;
    padding: 0;
    margin: 0;
    padding: 1rem 1rem;
    counter-reset: custom-counter; 
}
.singlebox ol li,.pagebox ol li {
    display: flex;
    align-items: flex-start; 
    margin-bottom: 18px;
    padding-left: 0; 
}
.singlebox ol li::before,.pagebox ol li::before {
    counter-increment: custom-counter;
    content: counter(custom-counter); 
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 50%;
    background-color: #e6d9ca;
    color: #ffffff;
    font-weight: bold;
    font-size: 14px;
    line-height: 1;
    margin-right: 15px;
	margin-top: -5px;
}

/******************************************
 Contact form7
*******************************************/
#contenter .wpcf7 form .wpcf7-response-output {
    margin: 2em 0.5em 1em;
    padding: 1em 1em;
    border: 2px solid #00a0d2;
    text-align: center;
}

/******************************************
 gallery
*******************************************/
#contenter .gallery{
	padding: 0.5rem 1rem;
}
#contenter .gallery .gallery-item{
	width: 33.3%;
	margin-top:0;
}
#contenter .gallery .gallery-item a img{
	width:94%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
    height: auto;
	border:none;
	padding: 3%;
}


/******************************************
テーブル
*******************************************/
/* テーブル０１ */
table.table01 {
	width: 97%;
	border-collapse: collapse;
	border-spacing: 0;
	margin: 1.5%;
}
.table01 th,.table01 td {
  padding: 15px;
  border: 1px solid #ccc;
}
.table01 th {
  background: #f2f2f2;
}
thead th {
  background: #e5e5e5;
}
.table01 th {
  width: 30%;
  text-align: center;
}
/* テーブル０２ */
table.table02 {
	width: 97%;
	border-collapse: collapse;
	border-spacing: 0;
	margin: 1.5%;
}
.table02 th,.table02 td {
	padding: 15px;
	border: 1px solid #ccc;
}
.table02 th {
  	background: #242424;
}
.table02 td {
  	text-align: center;
}
thead th {
  	background: #e5e5e5;
}
.table02 th {
	width: 30%;
	text-align: left;
	color:#fff;
}
@media screen and (max-width: 768px) {
  .table01 th, .table01 td {
    padding: 10px;
  }
  .table01 {
    margin: 0 auto;
  }
  .table01 th, .table01 td {
    width: auto;
    display: block;
    border-top: none;
  }
  .table01 tr:first-child th {
    border-top: 1px solid #ccc;
  }
  .table02 {
    display: block;
    position: relative;
  }
  .table02 th, .table02 td {
    width: calc(100% - 30px);
    display: block;
  }
  .table02 thead {
    display: block;
    float: left;
    overflow-x: scroll;
  }
  .table02 thead th {
    width: auto;
    display: block;
  }
  .table02 tbody {
    width: auto;
    display: block;
    overflow-y: hidden;
    overflow-x: auto;
    white-space: nowrap;
  }
  .table02 tbody tr {
    display: inline-block;
    margin: 0 -2px;
  }
  .table02 tbody td {
    display: block;
  }
}

/* ==================================================
   トップページ お客様の声（voice-section）スタイル
================================================== */
.voice-section {
  padding: 60px 0;
  background-color: #d6f2ec;
}

.voice-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  list-style: none;
  margin: 2rem;
  padding: 0;
}

.voice-item {
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}

.voice-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}

.voice-link {
  display: block;
  padding: 20px;
  color: inherit;
  text-decoration: none;
  height: 100%;
  box-sizing: border-box;
}

/* 1. 評価点数（星） */
.voice-body .voice-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 8px;
}

.voice-body .voice-rating .stars {
  color: #ff9800;
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.voice-body .voice-rating .score-num {
  font-size: 0.85rem;
  color: #666;
  font-weight: bold;
}

/* 2. カテゴリータグ（評価点数の下） */
.voice-body .voice-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.voice-body .cat-tag {
  display: inline-block;
  background-color: #eaf2fc;
  color: #0d6efd;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 12px;
}

/* 3. タイトル */
.voice-body .voice-title {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.45;
  margin: 0 0 10px 0;
  color: #222222;
}

/* 4. 抜粋テキスト */
.voice-body .voice-excerpt {
  font-size: 0.9rem;
  color: #555555;
  line-height: 1.6;
  margin: 0;
}

/* 一覧ボタン */
.top_voice_bt {
  margin: 3rem auto;
  text-align: center;
}

.section_voice_bt {
  	padding: 0.8rem 4rem;
    color: #4d4d4d;
    border: 2px solid #333;
    border-radius: 4rem;
    font-weight: 700;
    font-size: 20px;
    background: #fff;
}

.section_voice_bt:hover {
  	background: #e6d9ca;
    transition: 0.5s;
}
.section_voice_bt::after{
	content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    border-top: 2px solid #000;
    border-right: 2px solid #000;
    transform: rotate(45deg);
    margin-right: 0px;
    vertical-align: middle;
    position: relative;
    top: -3px;
    left: 10px;
}

/* レスポンシブ対応 */
@media (max-width: 900px) {
  .voice-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .voice-list {
    grid-template-columns: 1fr;
  }
}

/* ==================================================
   お客様の声 詳細ページ（single-voice）
================================================== */

/* メインコンテナ */
.voice-single {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* 詳細カードラッパー */
.voice-detail {
  background-color: #ffffff;
  border-radius: 12px;
  border: 1px solid #eaeaea;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  padding: 40px 30px;
  margin-bottom: 60px;
  box-sizing: border-box;
}

/* ヘッダーエリア */
.voice-header {
  border-bottom: 2px solid #f0f4f8;
  padding-bottom: 24px;
  margin-bottom: 30px;
}

/* メタ情報（カテゴリー・投稿日） */
.voice-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

/* カテゴリータグ */
.cat-tag {
  display: inline-block;
  background-color: #eaf2fc;
  color: #0d6efd;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.cat-tag:hover {
  background-color: #0d6efd;
  color: #ffffff;
}

/* 投稿日時 */
.voice-date {
  font-size: 0.85rem;
  color: #888888;
}

/* 星評価（5点満点） */
.voice-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 10px 0 16px 0;
}

.voice-rating .stars {
  color: #ff9800; /* 鮮やかなゴールド・オレンジ */
  font-size: 1.25rem;
  letter-spacing: 2px;
}

.voice-rating .score-num {
  font-size: 0.95rem;
  font-weight: bold;
  color: #444444;
}

/* 記事タイトル */
.voice-single .voice-title {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.4;
  color: #222222;
  margin: 0;
}

/* アイキャッチメイン画像 */
.voice-main-image {
  margin: 0 0 35px 0;
  text-align: center;
}

.voice-main-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  display: inline-block;
  object-fit: cover;
  max-height: 480px;
  width: 100%;
}

/* 本文（WYSIWYGエディタ出力エリア） */
.voice-body.entry-content {
  font-size: 1.05rem;
  line-height: 1.85;
  color: #333333;
}

.voice-body.entry-content p {
  margin: 0 0 1.5em 0;
}

.voice-body.entry-content h2 {
  font-size: 1.4rem;
  font-weight: 700;
  padding-left: 12px;
  border-left: 5px solid #0d6efd;
  margin: 35px 0 18px 0;
  color: #222222;
}

.voice-body.entry-content h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 25px 0 14px 0;
  color: #333333;
}

.voice-body.entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}

/* 抜粋コメント（抜粋枠がある場合） */
#contenter p.voice-excerpt {
  background-color: #fbfbfb;
  padding: 16px 20px;
  margin-bottom: 25px;
  border-radius: 0 8px 8px 0;
  font-size:0.8em;
}

.voice-excerpt p {
  margin: 0;
  color: #555555;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ==================================================
   関連するお客様の声（4件グリッド）
================================================== */
.related-voice-section {
  margin-top: 60px;
  border-top: 2px dashed #e5e5e5;
  padding-top: 40px;
}

.related-voice-section h2 {
  font-size: 1.4rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 30px;
  color: #222222;
  position: relative;
}

/* 関連一覧グリッド */
.related-voice-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.related-voice-list .voice-card {
  background-color: #ffffff;
  border: 1px solid #ebebeb;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.related-voice-list .voice-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.related-voice-list .voice-thumbnail img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}

.related-voice-list .voice-content-preview {
  padding: 14px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

#contenter .related-voice-list h3.voice-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.4;
}

#contenter .related-voice-list h3.voice-title a {
  color: #333333;
  text-decoration: none;
  transition: color 0.2s;
}

#contenter .related-voice-list h3.voice-title a:hover {
  color: #0d6efd;
}

/* ==================================================
   レスポンシブ対応（スマホ・タブレット）
================================================== */
@media (max-width: 900px) {
  .related-voice-list {
    grid-template-columns: repeat(2, 1fr); /* タブレットは2列 */
  }
}

@media (max-width: 600px) {
  .voice-single {
    margin: 20px auto;
    padding: 0 12px;
  }

  .voice-detail {
    padding: 24px 16px;
  }

  .voice-single .voice-title {
    font-size: 1.35rem;
  }

  .related-voice-list {
    grid-template-columns: 1fr; /* スマホは1列 */
  }
}

/* ==================================================
   お客様の声 一覧ページ（archive-voice）
================================================== */

/* メインコンテナ */
.voice-archive {
  max-width: 1100px;
  margin: 40px auto 80px;
  padding: 0 20px;
  box-sizing: border-box;
}

/* ページヘッダー（見出し） */
.voice-archive .page-header {
  text-align: center;
  margin-bottom: 48px;
}

.voice-archive .page-header h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #222222;
  margin: 0;
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}

.voice-archive .page-header h1::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  border-radius: 2px;
}

/* 一覧グリッドレイアウト（PC: 3列） */
.voice-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 50px;
}

/* 各カードアイテム */
.voice-card {
  background-color: #ffffff;
  border: 1px solid #e9ecef;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.voice-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
}

/* サムネイル画像領域 */
.voice-thumbnail {
  position: relative;
  overflow: hidden;
  background-color: #f8f9fa;
}

.voice-thumbnail a {
  display: block;
}

.voice-thumbnail img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.voice-card:hover .voice-thumbnail img {
  transform: scale(1.05);
}

/* コンテンツ本文枠 */
.voice-content-preview {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* メタ情報（カテゴリー ＆ 投稿日） */
.voice-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

/* カテゴリータグ */
.voice-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cat-tag {
  display: inline-block;
  background-color: #eaf2fc;
  color: #0d6efd;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  margin: 10px 0;
  border-radius: 20px;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.cat-tag:hover {
  background-color: #0d6efd;
  color: #ffffff;
}

/* 登録日 */
.voice-date {
  font-size: 0.8rem;
  color: #888888;
}

/* 星評価（5点満点） */
.voice-card .voice-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 8px;
}

.voice-card .voice-rating .stars {
  color: #ff9800;
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.voice-card .voice-rating .score-num {
  font-size: 0.85rem;
  color: #555555;
  font-weight: bold;
}

/* 記事タイトル */
#contenter .voice-card h2.voice-title {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.45;
  margin: 0 0 10px 0;
  padding: 10px;
  background-color: #fff;
}

#contenter .voice-card h2.voice-title a {
  color: #222222;
  text-decoration: none;
  transition: color 0.2s ease;
}

#contenter .voice-card h2.voice-title a:hover {
  color: #0d6efd;
}

/* 抜粋コメント */
.voice-card .voice-excerpt {
  font-size: 0.9rem;
  color: #666666;
  line-height: 1.6;
  margin: 0;
  flex-grow: 1;
}

#contenter .voice-card .voice-excerpt p {
  margin: 0;
  display: -webkit-box;
  font-size: 0.8em;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 投稿が存在しない時のメッセージ */
.voice-empty {
  text-align: center;
  color: #777777;
  padding: 60px 0;
  font-size: 1rem;
}

/* ==================================================
   ページネーション（functions.php の pagination() 用）
================================================== */
.pagenation {
  text-align: center;
  margin-top: 40px;
}

.pagenation ul {
  display: inline-flex;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
  align-items: center;
}

.pagenation li a,
.pagenation li.active {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  box-sizing: border-box;
}

.pagenation li a {
  background-color: #ffffff;
  color: #333333;
  border: 1px solid #e0e0e0;
  transition: all 0.2s ease;
}

.pagenation li a:hover {
  background-color: #0d6efd;
  color: #ffffff;
  border-color: #0d6efd;
}

.pagenation li.active {
  background-color: #0d6efd;
  color: #ffffff;
  border: 1px solid #0d6efd;
}

.pagenation li.prev a,
.pagenation li.next a {
  padding: 0 14px;
}

/* ==================================================
   レスポンシブ対応
================================================== */
@media (max-width: 960px) {
  .voice-list {
    grid-template-columns: repeat(2, 1fr); /* タブレット: 2列 */
    gap: 20px;
  }
  .voice-thumbnail img {
    height: 190px;
  }
}

@media (max-width: 600px) {
  .voice-archive {
    margin: 24px auto 60px;
    padding: 0 15px;
  }

  .voice-archive .page-header {
    margin-bottom: 30px;
  }

  .voice-archive .page-header h1 {
    font-size: 1.5rem;
  }

  .voice-list {
    grid-template-columns: 1fr; /* スマホ: 1列 */
    gap: 20px;
  }

  .voice-thumbnail img {
    height: 200px;
  }

  .voice-content-preview {
    padding: 16px;
  }

  .pagenation li a,
  .pagenation li.active {
    min-width: 36px;
    height: 36px;
    font-size: 0.85rem;
  }
}
/*******************************************
ALL
********************************************/

@media screen and (min-width: 769px)  {
/*PC 769以上*/
	.pchide{display:none;}
}
@media screen and (min-width: 0px) and (max-width: 768px) {
	#contenter.side_max{
		width:96%;
		margin: 0 auto;
		padding:0;
	}
	.side_max{
		width:96%;
		margin: 0 auto;
		padding:0;
	}
	.sphide{display:none;}
	.tabhide{display:none;}
}
