/******************************************************************
Theme Name: 宮伸一税理士事務所
Theme URI: https://crevia-ts.com
Description: CREVIA Base v1.0.0から派生した宮伸一税理士事務所専用テーマ
Author: CREVIA
Author URI: https://crevia-ts.com
Version: 0.1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: miya-tax
Tags: custom-logo, custom-menu, featured-images, accessibility-ready
*/
:root {
	--crevia-primary: #003e6c;
	--crevia-secondary: #33709d;
	--crevia-accent: #68a4d0;
	--crevia-text: #1c1c1c;
	--crevia-background: #ffffff;
	--crevia-surface: #f5f5f5;
	--crevia-border: #d9e2e9;
	--crevia-danger: #d60101;
	--crevia-content-width: 1100px;
}
*, *::before, *::after {
	box-sizing: border-box;
}
* {
	margin: 0;
}
html, body {
	height: 100%;
}
body {
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}
img, picture, video, canvas, svg {
	display: block;
	max-width: 100%;
}
input, button, textarea, select {
	font: inherit;
}
p, h1, h2, h3, h4, h5, h6 {
	overflow-wrap: break-word;
}
ol, ul {
	list-style-type:none;
	margin:0;
}
legend, menu, ol, ul {
	padding:0
}
a {
	text-decoration:none;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
	outline: 3px solid var(--crevia-accent);
	outline-offset: 3px;
}
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	position: absolute;
	width: 1px;
	white-space: nowrap;
}
.screen-reader-text:focus {
	clip: auto;
	clip-path: none;
	height: auto;
	left: 1rem;
	top: 1rem;
	width: auto;
	z-index: 100000;
	background: var(--crevia-background);
	color: var(--crevia-text);
	padding: .75rem 1rem;
}


body {
	font-family:"游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", YuGothic, "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo", sans-serif;
	/*font-family: "Noto Sans Japanese";*/
}
body img {
	max-width:100%;
	height:auto;
}
/* 
 Pagination（index.php/archive.php）
----------------------------------------------------------- */  
.pagination, .wp-prev-next {
	margin:5rem 0 2rem;
}
.pagination ul {
	display:flex;
	justify-content:center;
	flex-wrap:wrap;
	align-items: center;
	text-align:center;
}
.pagination ul li {
	margin:3px;
	font-size:0.8em;
}
.pagination ul li a {
	padding:0.3rem;
	display: block;
	width:50px;
	background:#FFF;
	color:#000;
	border:1px solid #000;
	transition:all ease 0.5s;
	-webkit-transition:all ease 0.5s;
	-moz-transition:all ease 0.5s;
}
.pagination ul li a:hover {
	background:#000;
	color:#FFF;
}
.pagination ul li span {
	padding:0.3rem;
	display: block;
	width:50px;
	background:#000;
	color:#FFF;
	border:1px solid #000;
}
.pagination ul li span.current {
	font-weight:bold;
}
.wp-prev-next .prev-link {
	float:left;
}
.wp-prev-next .next-link {
	float:right;
}
#allowed_tags {
	margin: 1.5em 10px 0.7335em 0;
}
.nocomments {
	margin: 0 20px 1.1em;
}
/* 
 Pagination（single.php）
----------------------------------------------------------- */  
.nav-below {
	width:100%;
	padding:1rem 0;
	display:flex;
    justify-content:space-between;
	flex-wrap:wrap;
	margin-top:5rem;
}
.nav-below a {
	background:#FFF;
	border:1px solid #000;
	color:#000;
	padding:0.2rem;
	transition:all ease 0.3s;
	-webkit-transition:all ease 0.3s;
	-moz-transition:all ease 0.3s;
	font-size:0.8em;
}
.nav-below img {
	width:50px;
	height:50px;
}
#prev, #next {
	width:49%;
	overflow:hidden;
}
#next {
	text-align:right;
}
#prev img {
	float:left;
	margin-right:0.4rem;
}
#next img {
	float:right;
	margin-left:0.4rem;
}
.nav-below p{
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;	
}
.nav-below a:hover {
	background:#000;
	border:1px solid #000;
	color:#FFF;
}

/* 
 animation
----------------------------------------------------------- */  
.fadein {
	opacity:0.1;
	transition:all ease 1s;
	-webkit-transition:all ease 1s;
	-moz-transition:all ease 1s;
}
.on .fadein {
	opacity:1;
}
/* 
 Head
----------------------------------------------------------- */  
.header {
	width:100%;
}
/* 
 gNavi
----------------------------------------------------------- */ 
.navwrap {
	width:100%;
	background:rgba(255,255,255,1);
	position:fixed;
	top:0;
	left:0;
	z-index:99;
}
.navwrap ul {
	display:flex;
	justify-content:center;
	flex-wrap:wrap;
	align-items: center;
}
.navwrap ul li {
	flex-grow:1;
	line-height:53px;
	position:relative;
}
.navwrap ul li:nth-of-type(1) {
	flex-grow:2;
}
.navwrap ul li:nth-of-type(1) img {
	width:150px;
	max-width:100%;
	margin-left:1rem;
}
.navwrap ul li a {
	display: block;
	text-align:center;
	color:#000;
}
.navwrap ul li:nth-of-type(1) a {
	text-align:left;
}
.navwrap ul li ul {
	width:100%;
	position: absolute;
	overflow: hidden;
	visibility: hidden;
	z-index: 8999;
	height:0;
	display:block;
}
.navwrap ul li:hover ul {
	top: auto;
	overflow: visible;
	visibility: visible;
	height:auto;
}
.navwrap ul li ul li {
	width:100%!important;
	flex-grow:1!important;
}
.navwrap ul li ul li a{
	text-align:center!important;	
}
.navwrap * {
	transition:all ease 0.3s;
	-webkit-transition:all ease 0.3s;
	-moz-transition:all ease 0.3s;
}
/* 
 共通
----------------------------------------------------------- */ 
#content {
	width:100%;
}
.pc {
	display:block;
}
.sp {
	display:none;
}
/* 
 TOP
----------------------------------------------------------- */ 

#top_news {
	width:100%;
	padding:8rem 5%;
}
#top_news h2 {
	color:var(--crevia-primary);
	text-align:center;
	font-size:2.5rem;
	letter-spacing:0.05em;
	margin-bottom:2rem;
}
#top_news ul {
	width:900px;
	max-width:95%;
	margin:0 auto;
}
#top_news li {
	width:100%;
	border-bottom: 1px solid #EEE;
}
#top_news dl {
	width:100%;
	display:flex;
    justify-content:center;
	flex-wrap:wrap;
}
#top_news dt {
	width:15%;
	text-align:center;
	position:relative;
	z-index:0;
	padding:0.5rem;
}
#top_news dd {
	padding:0.5rem;
	position:relative;
}
#top_news dd a, #top_news dd span {
	position: absolute;
	inset: 0;
	margin: auto;
	width: fit-content;
	height: fit-content;
}
#top_news dd:nth-of-type(1) {
	width:15%;
}
#top_news dd:nth-of-type(2) {
	width:15%;
}
#top_news dd:nth-of-type(3) {
	width:55%;
	text-align:left;
}
#top_news dd:nth-of-type(3) a {
	margin:auto auto auto 1rem;
}
#top_news dd h3 {
	font-size:1em;
}
#top_news dd h3 a {
	color:#000;
}
#top_news dd span {
	color:var(--crevia-primary);
}
#top_news dd p {
	text-align:right;
}
#top_news dd p a {
	display:inline-block;
	padding:0.3rem 0.5rem;
	color:#FFF;
	background:var(--crevia-primary);
	font-size:0.8em;
	border-radius:5px;
	-webkit-border-radius:5px;
	-moz-border-radius:5px;
}
/* 
 about
----------------------------------------------------------- */ 




/* 
 contact
----------------------------------------------------------- */ 

#cont_list {
	width:100%;
	padding:3rem 5%;
}
#cont_list ul {
	width:900px;
	max-width:100%;
	margin:0 auto;
	display:flex;
    justify-content:center;
	flex-wrap:wrap;
}
#cont_list li {
	width:32%;
	text-align:center;
	background: -moz-linear-gradient(to bottom, #f5f5f5, #CCC);
	background: -webkit-linear-gradient(to bottom, #f5f5f5, #CCC);
	background: linear-gradient(to bottom, #f5f5f5, #CCC);
	color:#FFF;
	padding:0.5rem;
	border-radius:5px;
	font-weight:bold;
}
.cont_page {
	background: linear-gradient(to bottom, var(--crevia-secondary), var(--crevia-accent))!important;
}
#cont_list li:nth-of-type(2) {
	margin:0 2%;
}
#cont_fi {
	width:100%;
	padding:2rem 5% 4rem;
}
.cont_fi_box {
	width:900px;
	max-width:100%;
	margin:0 auto;
}
.cont_fi_box h2 {
	font-size:1.8em;
	margin-bottom:2.5rem;
	padding-bottom:1rem;
	text-align:center;
	border-bottom:1px solid #000;
}
#cont_se {
	width:100%;
	padding:4rem 5%;
	background:#f5f5f5;
}
.cont_se_box {
	width:900px;
	max-width:100%;
	margin:0 auto;
}
.cont_se_box h2 {
	font-size:1.8em;
	margin-bottom:1.5rem;
	letter-spacing:0.1em;
	text-align:center;
	color: var(--crevia-primary);
	border-bottom:1px solid var(--crevia-primary);
}
.cont_se_box li {
	text-align:center;
	margin:0.5rem auto;
}
.cont_se_box li:nth-of-type(1) {
	font-size:2em;
	letter-spacing:0.1em;
}
.cont_se_box li:nth-of-type(2) {
	margin-top:0.5rem;
}
.cont_se_box li:nth-of-type(1) i {
	color:var(--crevia-accent);
	margin-right:0.5rem;
}
.wpcf7, .mw_wrap {
	width:800px;
	margin:2em auto 0!important;
	max-width:95%;
}
.wpcf7 dl, .mw_wrap dl {
	width:100%;
	margin-bottom:1.5rem;
}
.wpcf7 dt, .mw_wrap dt {
	width:100%;
	font-weight:bold;
}
.wpcf7 dt span, .mw_wrap dt span {
	color:#d60101;
	font-size:0.7em;
	padding-left:1%;
}
.wpcf7 dd, .mw_wrap dd {
	width:100%;
}
.wpcf7 dd p, .mw_wrap dd p {
	font-size:0.8rem;
	margin-top:0.5rem;
}
.wpcf7 .subbtn, .mw_wrap .subbtn {
	width:300px;
	max-width:80%;
	margin:2em auto 0;
}
.wpcf7-submit, .mw_submit {
	width:100%;
	padding:3%;
	color: #FFF;
	border-style: none;
	background-color:var(--crevia-primary);
	border-radius: 5px;
	transition:all ease 0.3s;
}
.wpcf7-submit:hover, .mw_submit:hover {
	background-color:var(--crevia-accent);
}
.wpcf7-text, .mw_txt {
	width: 100%;
	background-color: #FFF;
	max-width: 100%;
	border: 1px solid #D9E2E9;
	padding:0.3rem;
	font-size:0.9rem;
}
.wpcf7-text:focus, .wpcf7-textarea:focus {
	background-color:#fafeff;
}
.wpcf7-textarea, .mw_area {
	width: 100%;
	background-color: #FFF;
	max-width: 100%;
	border: 1px solid #D9E2E9;
	padding:0.3rem;
	font-size:0.9rem;
}
.priva {
	margin-top:2em;
}
.priva p {
	text-align:left;
}
.priva h3 {
	font-size: 100%;
}
.priva h3 span {
	font-size:0.8em;
	margin-left:1rem;
	display:inline-block;
}
.priva ul {
	width:100%;
	overflow-y:scroll;
	height:250px;
	border: 1px solid #D9E2E9;
	background:#FFF;
}
.priva li {
	padding:0 1rem 1rem 1rem;
	font-size:0.9rem;
}
.priva li h4 {
	margin:1.5em auto 0.5em;
	border-bottom:1px solid #000;
	font-size:1em;
}
.privabtn {
	text-align:center;
	margin-top:2em;
	font-weight:bold;
}
.cont_kanryo {
	width:100%;
	text-align:center;
	min-height:420px;
}
/* 
 subpage共通
----------------------------------------------------------- */ 
#sub_mid {
	width:100%;
	padding:7rem 5% 4rem;
	text-align:center;
	background:#f8f8f8;
}
#sub_mid h1 {
	font-size:4rem;
}
/* 
 news index-archives page（サイドバー有り）
----------------------------------------------------------- */
.ttl_maru{
	font-size:26px;
	margin-bottom:1rem;
	padding:0 0 0 0.5rem;
	color:#1C1C1C;
	position:relative;
	border-left:5px solid #1C1C1C;
	line-height:30px;
}
#wrap{
	width:min(100%,1200px);
	margin:0 auto;
	display:flex;
    justify-content:flex-start;
	flex-wrap:wrap;
}
#l_cotent{
	width:70%;
	margin-right:5%;
}
#l_cotent > .nlist{
	margin-bottom: 70px;
}
#l_cotent > .nlist > li{
	padding: 1.25rem 0;
	border-bottom: 1px solid #CCCCCC;
	position: relative;
}
#l_cotent .nlist li > a{
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
}
#l_cotent .nlist li dl{
	display: flex;
	justify-content: center;/*左右*/
	align-items:flex-start;
}
#l_cotent .nlist li dt{
	width:30%;
}
#l_cotent .nlist li dd .info span{
	font-size:12px;
	margin-right:0.5rem;
}
#l_cotent .nlist li dd .info span a{
	color:#FFF;
	padding:0 0.5rem;
	transition:all ease 0.3s;
	-webkit-transition:all ease 0.3s;
	-moz-transition:all ease 0.3s;
}
#l_cotent .nlist li dd .info span a:hover{
	color:#FFF;
	background:var(--crevia-secondary);
}
#l_cotent .nlist li dd .info span:nth-of-type(1){
	margin-right:1rem;
}
#l_cotent .nlist li dd{
	width:65%;
	margin-left:5%;
}
#l_cotent .nlist li dd .info{
	font-size: 15px;
	margin:0.5rem auto 1rem;
}
#l_cotent .nlist li dd .info span:first-of-type{
	margin-right: 10px;
}
#l_cotent .nlist li dd span a{
	background:var(--crevia-primary);
	color:#FFF;
	padding:0.1rem 0.3rem;
	font-size:12px;
	white-space: nowrap;
	margin-right: 5px;
}
#l_cotent .nlist li dd h2{
	font-size:1rem;
	font-weight:normal;
}


#sidebar1 {
	width: 25%;
}
.widgettitle {
	font-size:1rem;
	padding-bottom:0.3rem;
	margin-bottom: 0.7rem;
	border-bottom: 1px solid #CCCCCC;
	font-weight: 500;
	color:#1C1C1C;
	position: relative;
}
.widgettitle::before{
	content:"";
	position: absolute;
	bottom:-0.5px;
	left: 0;
	width:100px;
	height:1.5px;
	background:#1C1C1C;
}
.widget ul {
  margin-bottom: 2rem;
}
.widget ul li a {
	width: 100%;
	font-size: 0.9rem;
	display: block;
	padding:0.3rem 2rem 0.3rem 0;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	position:relative;
	transition:all ease 0.3s;
	-webkit-transition:all ease 0.3s;
	-moz-transition:all ease 0.3s;
	color:#000;
}
.widget ul li a:hover{
	color: var(--crevia-secondary);
}
.widget ul li a::before{
	content:"";
	width:24px;
	height:5px;
	background:#DEDEDE;
	position:absolute;
	top:50%;
	right:0;
	transform:translateY(-50%);
	border-radius:10px;
	z-index:0;
}
.widget ul li a::after{
	content:"";
	width:5px;
	height:5px;
	background:var(--crevia-primary);
	position:absolute;
	top:50%;
	right:19px;
	transform:translateY(-50%);
	border-radius:10px;
	z-index:1;
	transition:all ease 0.3s;
	-webkit-transition:all ease 0.3s;
	-moz-transition:all ease 0.3s;
}
.widget ul li a:hover::after{
	right:0;
}
#archives-dropdown-2 {
	width: 100%;
	font-size: 0.9rem;
	padding: 0.7rem 1rem;
	border: 0px;
	background-color: #F0F0F0;
}
/* news single page
----------------------------------------------------------- */
.tca {
	display: flex;
	align-items: center;
	margin-bottom: 2.5rem;
	flex-wrap: wrap;
}
.tca a {
	color: #FFF;
	padding: 0.1rem 0.3rem;
	font-size: 12px;
	white-space: nowrap;
	margin-right: 5px;
	background:var(--crevia-primary);
}
.tca a:after {
	content: " , ";
}
.tca a:last-of-type:after {
	content: "";
}
.stitle {
	font-size:26px;
	color: #1C1C1C;
	padding:0 0 0.5rem 0;
	margin-bottom: 0.5rem;
	border-bottom: 1px solid #CCC;
	position: relative;
}
.stitle::before{
	content: "";
	background: #1C1C1C;
	position:absolute;
	bottom:-0.5px;
	left:0;
	width:100px;
	height:1.5px;
}
.singlecont {
	overflow:auto;
}
.singlecont h1 {
	font-size:20px;
	line-height: 1.5em;
	color: #1C1C1C;
	padding-bottom: 0.5rem;
	margin-bottom: 0.5rem;
	position: relative;
}
.singlecont h1::before{
	content: "";
	height: 1px;
	width: 50px;
	background-color: #1C1C1C;
	position: absolute;
	bottom: -0.5px;
	left: 0;
}
.singlecont h2 {
	font-size:18px;
	padding-bottom: 10px;
	margin-bottom: 15px;
	position: relative;
	color: #1C1C1C;
	text-align: justify;
}
.singlecont h3 {
	border-left: 3px solid #1C1C1C;
	padding: 0 10px;
	margin-bottom:16px;
	color: #1C1C1C;
	background: none;
}
.singlecont h4 {
	background: #1C1C1C;
	color: #FFF;
	padding: 1px 10px 0;
	margin-bottom:16px;
}
.singlecont h5 {
	border-bottom: 1px dashed #1C1C1C;
	margin-bottom:16px;
	font-size: 16px;
	color: #1C1C1C;
}
.singlecont h6 {
	margin-bottom:16px;
	font-size: 16px;
	color: #1C1C1C;
}
.singlecont p{
	text-align: justify;
	font-size: 16px;
}
.singlecont img{
	margin-bottom:16px;
	height: auto;
	max-width: 100%;
}
.singlecont a{
	text-decoration: underline;
}
.singlecont ul {
	list-style: disc;
	list-style-position: inside;
}
.singlecont ol {
	list-style: decimal;
	list-style-position: inside;
}
.singlecont .aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.singlecont .alignleft {
	float: left;
	margin: 0.5em 1em 0.5em 0;
}
.singlecont .alignright {
	float: right;
	margin: 0.5em 0 0.5em 1em;
}
/* 
 foot
----------------------------------------------------------- */
#cop {
	width:100%;
	padding:0.5rem;
	text-align:center;
	background:var(--crevia-secondary);
	color:#FFF;
	font-size:0.9em;
}
/* 
 smartphone menu btn
----------------------------------------------------------- */
#spnavbtn {
	position:fixed;
	top:4%;
	right:2%;
	z-index:999;
	text-align:center;
	padding:12px 10px 5px 11px;
	display:block;
	cursor:pointer;
	display:none;
	background:#000;
}
.nav-trigger, .nav-trigger span {
	display: inline-block;
	transition: all .4s;
	box-sizing: border-box;
}
.nav-trigger {
	position: relative;
	width: 30px;
	height: 18px;
}
.nav-trigger span {
	position: absolute;
	left: 0;
	width: 100%;
	height: 2px;
	background-color: #FFF;
	border-radius: 20px;
}
.nav-trigger span:nth-of-type(1) {
	top: 0;
}
.nav-trigger span:nth-of-type(2) {
	top: 8px;
}
.nav-trigger span:nth-of-type(3) {
	bottom: 0;
}
/* 
 smartphone menu btn click
----------------------------------------------------------- */
#spnavbtn .activete {
	font-size:0.9em;
	opacity:0;
}
#spnavbtn .activete:before {
	content:"";
}
.nav-trigger.active span:nth-of-type(1) {
	-webkit-transform: translateY(8px) rotate(-45deg);
	transform: translateY(8px) rotate(-45deg);
}
.nav-trigger.active span:nth-of-type(2) {
	left: 60%;
	opacity: 0;
	-webkit-animation: active-menu-bar02 .8s forwards;
	animation: active-menu-bar02 .8s forwards;
}
@-webkit-keyframes active-menu-bar02 {
 100% {
 height: 0;
}
}
@keyframes active-menu-bar02 {
 100% {
 height: 0;
}
}
.nav-trigger.active span:nth-of-type(3) {
	-webkit-transform: translateY(-8px) rotate(45deg);
	transform: translateY(-8px) rotate(45deg);
}
/* 
 smartphone menu btn click area
----------------------------------------------------------- */
#spnav {
	position:relative;
	z-index:998;
}
#spnav .trigger {
	width:300px;
	height:100%;
	transition:all ease 0.4s;
	-webkit-transition:all ease 0.4s;
	-moz-transition:all ease 0.4s;
	position:fixed;
	top:0;
	left:-300px;
	color:rgba(255,255,255,0);
	overflow-y:scroll;
}
#spnav .open {
	width:300px;
	max-width:80%;
	background:rgba(255,255,255,1);
	height:100%;
	position:fixed;
	top:0;
	left:0;
	color:rgba(150,150,150,1);
	overflow-y:scroll;
}
#spnav h1 {
	width:100%;
	padding:2rem 5%;
	margin-bottom:2rem;
	text-align:center;
}
#spnav h1 img {
	width:120px;
}
#spnav ul li {
	border-top:1px solid rgba(255,255,255,0.2);
	line-height:3em;
	text-align:center;
}
#spnav ul li:last-child {
	border-bottom:1px solid rgba(255,255,255,0.2);
}
#spnav ul li a {
	display:block;
	color:#000;
	text-decoration:none;
	padding:0 10px;
	transition:all ease 0.3s;
	-webkit-transition:all ease 0.3s;
	-moz-transition:all ease 0.3s;
	font-size:0.8em;
	height:48px;
}
#spnav ul li a:hover {
	background:rgba(255,255,255,1);
	color:rgba(150,150,150,1);
}
#spnav ul li dl {
	overflow:hidden;
}
#spnav ul li dd {
	display:none;
}
#spnav ul li .subnav {
	padding:0 30px;
	overflow:hidden;
	border-top:1px solid rgba(255,255,255,0.2);
	opacity:0;
	transition:all ease 0.8s;
	-webkit-transition:all ease 0.8s;
	-moz-transition:all ease 0.8s;
}
#spnav ul li .drop1, #spnav ul li .drop2, #spnav ul li .drop3 {
	opacity:1;
}
@media screen and (max-width: 1100px) {
.pc {
	display:block;
}
.sp {
	display:none;
}
#cont_list {
	margin-top:0rem;
}
.navwrap li {
	display: none;
}
.navwrap li:nth-of-type(1) {
	display: block;
}
.navwrap li:nth-of-type(1) a {
	padding: 1rem 0;
}
/* 
 news
----------------------------------------------------------- */ 
#news_area {
  padding: 5rem 5%;
}
	
/* 
 smartphone menu btn
----------------------------------------------------------- */
#spnavbtn {
	top:0.5rem;
	right:0.5rem;
	padding:10px 10px 5px 11px;
	display:block;
}
.nav-trigger {
	width: 30px;
}
}
@media screen and (max-width:950px) {
/* 
 news
----------------------------------------------------------- */ 
#mainsub {
	width:100%;
	float:none;
	margin:0 auto;
}
.sidebar {
	width:100%;
	float:none;
}
.stitle {
  font-size: 20px;
}
}
@media screen and (max-width:800px) {
.pc {
	display:none;
}
.sp {
	display:block;
}
.flex-prev {
	display:none!important;
}
.flex-next {
	display:none!important;
}
/* 
 共通部分
----------------------------------------------------------- */
#content {
	font-size:0.9em;
}
#top_news li {
	margin-bottom:1rem;
	border-bottom:0;
}
#top_news dt {
	width: 100%;
	padding: 0;
	margin-bottom:0.5rem;
}
#top_news dd:nth-of-type(1), #top_news dd:nth-of-type(2), #top_news dd:nth-of-type(3) {
	width: 100%;
	padding: 0;
}
#top_news dd:nth-of-type(1) {
	width:25%;
}
#top_news dd:nth-of-type(2) {
	width:75%;
}
#top_news dd a, #top_news dd span {
	position: relative;
	margin: auto;
}
#top_news dd:nth-of-type(3) a {
	margin:0;
}
/* 
 contact
----------------------------------------------------------- */
#cont_list {
	padding: 3rem 5% 1rem;
}
#cont_list li {
	line-height: 1.5rem;
	font-size: 0.7rem;
}
.wpcf7 dl, .mw_wrap dl {
	width:100%;
	display:block;
	border-top:0px dashed #CCC;
	margin-bottom:1em;
}
.wpcf7 dt span, .mw_wrap dt span {
	color:#d60101;
	font-size:0.7em;
	padding-left:1%;
}
.mwform-tel-field input[type="text"], .mwform-zip-field input[type="text"] {
	display: inline-block;
	width: 26%;
}
.priva ul {
	font-size:0.9em;
}
/* news single page（サイドバー無し）
----------------------------------------------------------- */
#sidebar {
	width: 100%;
	margin-top: 40px;
}
#news_area {
	padding: 3rem 5%;
}
#wrap {
	  display: block;
}
#sidebar1{
	width: 100%;
	margin-top:5rem;
}
#l_cotent {
	width: 100%;
	margin: 0;
}
/* 
 foot
----------------------------------------------------------- */
#prev, #next {
	width:100%;
	margin:0 0 0.4rem;
}
#next {
	float:right;
}
}
@media screen and (max-width:660px) {
/* 
 news
----------------------------------------------------------- */
#l_cotent > ul {
	margin-bottom: 0;
}
#l_cotent .nlist li dd .info {
  font-size: 14px;
  margin: 0.5rem auto;
}
#l_cotent .nlist li dd p{
	font-size: 14px;
	display:none;
}
#sidebar1{
	width: 100%;
	margin-top:3rem;
}
}

/* CREVIA Base structural overrides
----------------------------------------------------------- */
.navwrap {
	display: flex;
	align-items: center;
	min-height: 64px;
}
.navwrap > .site-logo {
	flex: 0 0 190px;
	padding: .5rem 1rem;
}
.navwrap > .site-logo img {
	width: 150px;
	max-height: 48px;
	object-fit: contain;
}
.navwrap > nav {
	flex: 1;
}
.navwrap ul li:nth-of-type(1) {
	flex-grow: 1;
}
.navwrap ul li:nth-of-type(1) a {
	text-align: center;
}
#spnavbtn {
	border: 0;
	border-radius: 0;
	appearance: none;
}
#spnav .site-logo {
	width: 100%;
	padding: 2rem 5%;
	margin-bottom: 2rem;
	text-align: center;
}
#spnav .site-logo img {
	width: 120px;
	margin: 0 auto;
}
#cont_list ol,
#cont_list ul {
	width: 900px;
	max-width: 100%;
	margin: 0 auto;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
}
.footer-nav ul {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: .5rem 1.5rem;
	padding: 1.25rem 5%;
	background: var(--crevia-surface);
}
.footer-nav a {
	color: var(--crevia-text);
}
.error-404,
.page-content,
.front-content {
	width: var(--crevia-content-width);
	max-width: 90%;
	margin: 0 auto;
	padding: 8rem 0 5rem;
}
.empty-state {
	text-align: center;
}
.empty-state > * + * {
	margin-top: 1rem;
}
.button,
.empty-state .search-submit {
	display: inline-block;
	padding: .75rem 1.25rem;
	border: 0;
	background: var(--crevia-primary);
	color: #fff;
	cursor: pointer;
}
.setup-notice {
	padding: 1rem;
	border: 1px solid var(--crevia-border);
	background: var(--crevia-surface);
}
@media screen and (max-width: 1100px) {
	.navwrap > nav {
		display: none;
	}
	.navwrap > .site-logo {
		flex-basis: auto;
	}
}
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
	}
}
