/*
Theme Name: miyagisendai-office
*/

@charset "utf-8";
@import url(//fonts.googleapis.com/earlyaccess/notosansjapanese.css);

/* commmon
---------------------------------------------------------------------------*/
html,body{
	margin-top: 0;
	font-family: "Noto Sans Japanese", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
	line-height: 2rem;
	background-color: white;
}
body{
	/*background-image: url(./images/cubes.png);*/
}
#top {
	margin: 0px;
	padding: 0px;
}
h1,h2,h3,h4,h5,p,ul,ol,li,dl,dt,dd,form,figure,figcaption{
	margin: 0px;
	padding: 0px;
	font-size: 100%;
	font-weight: normal;
}
ul{
	list-style-type: none;
	margin:0;
	padding:0;
}
ol{
	margin:0;
	padding:0;
}
img {
	border: none;
	vertical-align: bottom;
}
a{
	text-decoration: none;
	color: black;
}
a.underline{
	text-decoration: underline;
	color: #006cb8;
}
a.underline i{
	margin: 0 6px;
	font-size: 80%;
}
.left{
	text-align: left;
}
.right{
	text-align: right;
}
.clear{
	clear:both;
}
.center{
	text-align: center;
}
.bold{
	font-weight:bold;
}
i{
	margin-right: 0.4em;
}
.clearfix::after {
	content: "";
	display: block;
	clear: both;
}
.only-sp{
	display: none;
}
.only-pc{
	display: block;
}
.small{
	font-size:90%;
}
.scroll_up {
  transition: 0.5s ease-in-out;
  transform: translateY(140px);
  opacity: 0;
}
.scroll_up.on {
  transform: translateY(0);
  opacity: 1.0;
}


/* header
---------------------------------------------------------------------------*/
header {
	height: 200px;
	width:100%;
	position: fixed; 
	top: 0px;
	left: 0px;
	z-index: 100;
	background-color: white;
	background: rgba(255,255,255,0.9);
	transition: .3s;
	box-sizing: border-box;
}
#header-wrapper{
	border-top: 5px solid #83B334;
	box-sizing: border-box;
}
#header {
	position: relative;
	margin:0 auto;
	justify-content: space-evenly;
	align-items: center;
	max-width: 1100px;
	padding: 20px 0 10px 0;
	display: flex;
	align-items: center;
	-moz-transition: height 0.3s;
	-o-transition: height 0.3s;
	-webkit-transition: height 0.3s;
	transition: height 0.3s;
}
#header #logo {
	flex-grow: 1;
}
#header #logo h1 {
	position: relative;
	left: 0;
	top: 0;
}
#header #logo h1 img{
	width: 360px;
}
#header #contact {
	flex-grow: 1;
	text-align: right;
}
#header #contact ul{
	display: flex;
	justify-content: right;
	gap: 15px;
}
#header #contact a{
	font-size: 0.9rem;
	border: 2px solid #83B334;
	padding: 10px 40px;
	border-radius: 6px;
	color: #83B334;
}
#header #contact a:hover{
	color: white;
	background-color: darkorange;
	transition : 0.3s;
	border: 2px solid darkorange;
}
#header #contact #phone{
	float: right;
}
#header #contact #phone .number{
	font-size: 1.2rem;
	font-weight: bold;
	display: block;
	padding: 0.3rem 0;
}
#header #contact #phone .notice{
	font-size: 0.8em;
}



/* navi
---------------------------------------------------------------------------*/
header #navi {
	clear: both;
	top: 30px;
	font-size: 0;
	position: relative;
	margin: 0 auto;	
	justify-content: space-evenly;
	align-items: center;
	max-width: 1100px;
}
header #navi p{
	margin-bottom: 4px;
}
header #navi p a{
}
header #navi p i{
	margin-right: 10px;
}
header #navi ul#index{
	text-align: left;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}
header #navi ul#index li{
	display:inline-block; 
	width: calc(100% / 6);
	text-align: center;
	box-sizing: border-box;
	border-right: 1px dotted #ccc;
}
header #navi ul#index li:first-child{
	border-left: 1px dotted #ccc;
}
header #navi li a{
	display:block;
	color: black;
	text-decoration: none;
	font-size: 1.1rem;
	line-height: 1.4rem;
	letter-spacing: 2px;
	font-weight: 500;
}
header #navi li a:hover{
	color: darkorange;
	transition : 0.3s;
}
header #navi li a span{
	display: block;
	font-size: 0.6rem;
	color: #83B334;
	font-weight: normal;
}
header #navi li a:hover{
	color: darkorange;
	transition : 0.3s;
}
header #navi li a:hover span{
	transition : 0.3s;
	color: darkorange;
}
header #navi li.stay a,
header #navi li.stay a span{
  color: darkorange;
}
header #navi .underline a {
}




/*  sp-menu
---------------------------------------------------------------------------*/
header .menu-sp-btn {
	display: none;
	position: absolute;
	z-index: 9999;
	top: 25px;
	right: 20px;
	width: 25px;
	height: 20px;
}
header .menu-sp-btn span {
	display: block;
	height: 3px;
	border-radius: 3px;
	width: 100%;
	margin-bottom: 6px;
	transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.1s, opacity 0.1s ease-in-out 0.1s, -webkit-transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.1s;
	-webkit-transform: translateZ(0);
					transform: translateZ(0);
}
header .menu-sp-btn span:last-child {
	margin-bottom: 0;
}
header .menu-sp-btn.is-clicked span:first-child {
	-webkit-transform: translateY(9px) rotateZ(-135deg);
			-ms-transform: translateY(9px) rotate(-135deg);
					transform: translateY(9px) rotateZ(-135deg);
}
header .menu-sp-btn.is-clicked span:nth-child(2) {
	opacity: 0;
}
header .menu-sp-btn.is-clicked span:last-child {
	-webkit-transform: translateY(-9px) rotateZ(135deg);
			-ms-transform: translateY(-9px) rotate(135deg);
					transform: translateY(-9px) rotateZ(135deg);
}


@media only screen and (max-width:767px){

	#header #navi ul#index li{
		text-align: left;
	}
	#header #navi ul#index li ul{
		position: relative;
		width: 100%;
		padding-top: 0;
		display: block !important;
	}
}



/* main
---------------------------------------------------------------------------*/
main {
	position: relative;
	top: 200px;
}





/* section
---------------------------------------------------------------------------*/
section{
	width:100%;
	clear: both;
}
section .section-inner{
	margin: 0 auto;
	justify-content: space-evenly;
	align-items: center;
	max-width: 1100px;
}
section .section-inner img{
	max-width: 100%;
}





/* トップページ
---------------------------------------------------------------------------*/
#toppage h2{
	font-size: 1.8rem;
	letter-spacing: 2px;
	margin-bottom: 30px;
}
#toppage h2 span{
	display: block;
	font-size: 0.9rem;
	color: #83B334;
}
#toppage .btn-all a{
	display: inline-block;
	background: gainsboro;
	padding: 5px 60px;
	border-radius: 50px;
	background: #83B334;
	color: white;
}
#toppage .btn-all a:hover{
	transition: .3s;
	background: darkorange;
}
#toppage .btn-all a i{
	margin-right: 1rem;
}
#toppage #icatch{
	padding: 0;
	background: #fffbf1;
	padding-bottom: 50px;
}
#toppage #icatch img{
	width: 100%;
}
#toppage #icatch .box{
	position: relative;
}
#toppage #icatch .box ul{
	background: #83B334;
	position: relative;
	top: -40px;
	display: flex;
	justify-content: space-between;
	border-radius: 10px;
	align-items: center;
	overflow: hidden;
}
#toppage #icatch .box ul li{
	flex: 1;
	text-align: center;
	border-right: 1px dotted white;
}
#toppage #icatch .box ul li:last-child{
	border-right: 0;
}
#toppage #icatch .box ul li a{
	display: block;
	color: white;
	line-height: 1.4rem;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px 0;
	font-weight: 500;
}
#toppage #icatch .box ul li:hover{
	background: darkorange;
	transition: .3s;
}
#toppage #icatch .box ul li a i{
	margin-right: 12px;
}
#toppage #icatch .box ul li a span{
	font-size: 0.7rem;
}
#toppage #report{
	text-align: center;
	background: #fffbf1;
	padding-bottom: 80px;
}
#toppage #report ul{
	display: flex;
	gap: 50px;
	margin-bottom: 50px;
	flex-wrap: wrap;
}
#toppage #report ul li{
	background: white;
	border: 1px solid black;
	width: 30%;
}
#toppage #report ul li a{
	padding: 20px;
	display: block;
	height: 100%;
	box-sizing: border-box;
}
#toppage #report ul li a:hover .btn{
	transition: .3s;
	color: darkorange;
}
#toppage #report ul li .photo{
}
#toppage #report ul li .photo img{
	width: 100%;
}
#toppage #report ul li .title{
	font-size: 0.9rem;
	line-height: 1.4rem;
	margin-top: 1rem;
	text-align: left;
}
#toppage #report ul li .btn{
	color: #83B334;
	font-size: 0.9rem;
}
#toppage #news{
	text-align: center;
	padding: 80px 0;
}
#toppage #news ul{
	margin-bottom: 50px;
}
#toppage #news ul li a{
	display: flex;
	background: #f6f6f6;
	padding: 10px;
	margin-bottom: 1rem;
	width: 100%;
	box-sizing: border-box;
}
#toppage #news ul li a .head{
	width: 30%;
	display: flex;
}
#toppage #news ul li a .date{
	width: 40%;
	text-align: center;
}
#toppage #news ul li a .category{
	width: 60%;
	text-align: center;
}
#toppage #news ul li a .category span{
	background: white;
	color: #83B334;
	border: 1px solid #83B334;
	padding: 2px 10px;
	border-radius: 10px;
	font-size: 0.9rem;
}
#toppage #news ul li a .title{
	width: 70%;
	text-align: left;
}
#toppage .banner-btn{
	display: flex;
	flex-wrap: wrap;
	gap: 5%;
	padding-top: 50px;
}
#toppage .banner-btn li{
	width: 30%;
	margin-bottom: 2%;
	background: white;
	box-sizing: border-box;
	border-radius: 10px;
	overflow: hidden;
}
#toppage .banner-btn li a{
	padding: 15px;
	display: block;
	position: relative;
}
#toppage .banner-btn li a:hover{
	transition: .3s;
	background: darkorange;
	color: white;
}
#toppage .banner-btn li a i{
	color: #83B334;
	position: absolute;
	right: 10px;
	top: 25px;
}
#toppage .banner-btn li a:hover i{
	color: white;
}
#toppage #business{
	text-align: center;
	padding: 80px 0;
	background-color: #f7f7f9;
	background-image: url(images/bg_business.png);
	background-size: cover;
	background-repeat: no-repeat;
}
#toppage #about{
	text-align: center;
	padding: 80px 0;
	background-color: #f7f7f9;
	background-image: url(images/bg_about.png);
	background-size: cover;
	background-repeat: no-repeat;
}
#toppage #about h2,
#toppage #about h2 span{
	color: white;
}




/* 下層ページ共通
---------------------------------------------------------------------------*/
#subpage p{
	margin-bottom: 1rem;
}
#subpage h2{
	padding: 30px 0;
	text-align: center;
	letter-spacing: 4px;
	font-size: 1.8rem;
}
#subpage h3{
	font-size: 1.8rem;
	padding: 1.5rem 0px;
	letter-spacing: 0.2rem;
	background-color: #fff;
	box-sizing: border-box;
	margin-bottom: 2.5rem;
	text-align: left;
	border-bottom: 1px solid black;
}
#subpage h3:before{
	font-family: "Font Awesome 5 Free";
	content: '\f0d7';
	font-weight: bold;
	margin-right: 10px;
	vertical-align: bottom;
	font-size: medium;
	color: #83B334;
}
#subpage h4{
	padding: 10px 1rem;
	box-sizing: border-box;
	margin-bottom: 20px;
	font-weight: bold;
	letter-spacing: 1px;
	background: #83B334;
	color: white;
}
#subpage .pagetitle{
	background: #83B334;
	color: white;
	margin-bottom: 80px;
}
#subpage input.large-btn{
	font-size: 1.2rem;
	margin: 1rem;
}
#subpage .contents{
	margin-bottom: 80px;
	font-size: 1.1rem;
}
#subpage .contents p.indent{
	text-indent: -1rem;
	padding-left: 1rem;
	margin-bottom: 1rem;
}
#subpage .contents ul.list{
	margin-left: 1rem;
	column-count: 1;
}
#subpage .contents ul.list li{
	list-style-type: disc;
	margin-bottom: 0.5rem;
}
#subpage .contents ul.list li a:hover{
	text-decoration: underline;
}
#subpage .contents .block{
	margin-bottom: 60px;
}
#subpage .banner-btn{
	display: flex;
	flex-wrap: wrap;
	gap: 5%;
	margin-bottom: 80px;
}
#subpage .banner-btn li{
	width: 30%;
	margin-bottom: 3%;
	background: white;
	box-sizing: border-box;
	border-radius: 2px;
	overflow: hidden;
	box-shadow: 1px 1px 2px 2px rgba(0, 0, 0, .1);
	text-align: center;
}
#subpage .banner-btn li a{
	padding: 25px 10px;
	display: block;
	position: relative;
	font-size: 1.1rem;
}
#subpage .banner-btn li a.stay{
	background: #83B334;
	color: white;
}
#subpage .banner-btn li a.stay i{
	color: white;
}
#subpage .banner-btn li a:hover{
	transition: .3s;
	background: darkorange;
	color: white;
}
#subpage .banner-btn li a i{
	color: #83B334;
	position: absolute;
	right: 10px;
	top: 33px;
}
#subpage .banner-btn li a:hover i{
	color: white;
}
#subpage section.page-index{
	padding: 50px;
    box-sizing: border-box;
    margin-top: 80px;
}
#subpage section.page-index .banner-btn li{
	margin-bottom: 2%;
}
#subpage section.page-index .banner-btn li a{
	font-size: 1rem;
	padding: 10px 5px;
}
#subpage section.page-index .banner-btn li a i{
	top: 18px;
}
#subpage section.page-index .index-title{
	font-size: 1.2rem;
	text-align: center;
	background: #f7f7f9;
	padding: 10px;
	box-sizing: border-box;
	margin-bottom: 30px;
}
#subpage .contents table{
	border-collapse:collapse;
	border-spacing:0px;
	width: 100%;
	font-size: 1rem;
	margin: 1rem 0;
}
#subpage .contents table th,
#subpage .contents table td{
	border: 1px solid;
	padding: 1rem;
	box-sizing: border-box;
}
#subpage .contents table th{
	background: #f7f7f9;
}
#subpage .contents .box{
	padding: 2rem;
	background: #f7f7f9;
}
#subpage .contents .box-list{
	display: flex;
	gap: 4%;
}
#subpage .contents .box-list li{
	flex: 1;
	box-shadow: 1px 1px 2px 2px rgba(0, 0, 0, 0.1);
	box-sizing: border-box;
	border-radius: 15px;
	padding: 30px;
}
#subpage .contents .box-list li .title{
	text-align: center;
	padding-bottom: 1rem;
	font-size: 120%;
}
#subpage .contents .box-list li .btn{
	text-align: center;
}
#subpage .contents .box-list li .btn a{
	background: #83B334;
	color: white;
	padding: 5px 20px;
	border-radius: 10px;
	font-size: 1rem;
}
#subpage .contents .box-list li .btn a i{
	margin-left: 5px;
}
#subpage .contents .box-list li .btn a:hover{
	transition: .3s;
	background: darkorange;
	color: white;
}





/* subpage
---------------------------------------------------------------------------*/
#subpage.greeting p{
	margin-bottom: 1rem;
}
#subpage.greeting .greeting-box{
	display: flex;
}
#subpage.greeting .greeting-box .message{
	width: 70%;
}
#subpage.greeting .greeting-box .photo{
	width: 30%;
	text-align: center;
}
#subpage.greeting .greeting-box .photo img{
	margin-bottom: 30px;
	width: 70%;
}
#subpage.history th{
	background: #f7f7f9;
	width: 30%;
}
#subpage.outline table{
	margin-top: 30px;
}
#subpage.outline th{
	background: #f7f7f9;
	width: 20%;
}
#subpage.member th{
	background: #f7f7f9;
	width: 40%;
}
#subpage.privacy ol{
	margin-left: 1.5rem;
	margin-bottom: 1rem;
}
#subpage.privacy .contents ul.list{
	column-count: 1;
}
#subpage .img-padding{
	padding: 50px 150px;
	box-sizing: border-box;
}
@media only screen and (max-width:767px){
	#subpage .img-about-voting,
	#subpage .img-about-organization{
		padding: 0;
	}
}
#subpage .pr{
	font-size: 120%;
	font-weight: 600;
	color: palevioletred;
	margin-bottom: 2rem;
	letter-spacing: 2px;
}
#subpage .pr:before{
	font-family: "Font Awesome 5 Free";
	content: '\f00c';
	font-weight: bold;
	margin-right: 0.5rem;
}
#subpage img.free1{
	width: 34px;
	vertical-align: baseline;
	margin-right: 0.5rem;
}
#subpage .bookcenter{
	background: #f7f7f9;
	padding: 20px;
}
#subpage .bookcenter .photo{
	display: flex;
	justify-content: space-evenly;
}
#subpage .zenzeikyo{
	align-items: center;
	justify-content: space-evenly;
	display: flex;
	border: 2px solid;
	padding: 20px;
	margin-top: 50px;
}
#subpage .zenzeikyo .title{
	font-size: 120%;
	font-weight: bold;
}
#subpage.business08 .free-consultation{
	border: 1px solid;
	border-radius: 20px;
	padding: 40px 50px;
}
#subpage.business08 .free-consultation strong{
	font-size: 120%;
}
#subpage.business08 .free-consultation .phone{
	background: gray;
	color: white;
	margin-right: 1rem;
	padding: 0 1rem;
}
#subpage.business08 .free-consultation .number{
	font-size: 160%;
	vertical-align: bottom;
	font-weight: bold;
	color: crimson;
}
#subpage.business08 .free-consultation table th{
	width: 20%;
	background: #f7f7f9;
}
#subpage.business05 .photo,
#subpage.business08 .photo,
#subpage.business07 .photo{
	margin-top: 30px;
	display: flex;
	justify-content: start;
	gap: 50px;
}
#subpage.report .topic-item{
	margin-bottom: 60px;
	border: 1px solid #ccc;
	padding: 40px 80px;
}
#subpage.report .topic-item .photo{
	margin-top: 30px;
	display: flex;
	justify-content: start;
	gap: 50px;
}
#subpage.report h3{
	font-size: 1.4rem;
}
#subpage.books .book-info{
	display: flex;
	font-size: 0.9rem;
}
#subpage.books .book-info div{
	flex: 1;
}
#subpage.books .book-info span{
	background: gray;
	color: white;
	margin-right: 0.5rem;
	vertical-align: bottom;
	padding: 2px 10px;
}
#subpage.books .booklist{
	display: flex;
	justify-content: left;
	align-items: stretch;
	flex-wrap: wrap;
	gap: 2%;
}
#subpage.books .booklist .bookitem{
	width: 32%;
	border: 1px solid #ccc;
	padding: 20px;
	box-sizing: border-box;
	margin-bottom: 2%;
}
#subpage.books .booklist .bookitem .publisher{
	font-size: 0.9rem;
}
#subpage.books .booklist .bookitem .bookname{
	font-size: 1.25rem;
	font-weight: bold;
}
#subpage.books .booklist .bookitem .author{
	font-size: 0.9rem;
	text-align: right;
}
#subpage.books .booklist .bookitem .price{
	font-size: 1.5rem;
	text-align: right;
	color: #c42626;
	font-weight: bold;
}
#subpage.books .booklist .bookitem .price span{
	font-size: 0.9rem;
	margin: 0 0.5rem;
}
#subpage.books .booklist .bookitem .select-num{
	text-align: right;
}
#subpage.books .booklist .bookitem .select-num select{
	font-size: 1.2rem;
}
#subpage.supplies .default-table th{
	background: #f7f7f9;
}
#subpage.business11 .contents ul.box-index{
	display: flex;
	justify-content: left;
	align-items: stretch;
	flex-wrap: wrap;
	gap: 4%;
}
#subpage.business11 .contents ul.box-index > li{
	width: 48%;
	border: 1px solid #ccc;
	padding: 20px;
	box-sizing: border-box;
	margin-bottom: 4%;
	border-radius: 5px;
}
#subpage.business11 .contents ul.box-index > li li,
#subpage.business11 .contents ul.box-index > li p{
	margin-bottom: 0;
	font-size: 90%;
}
#subpage.business11 .contents ul.box-index > li .title{
	font-weight: bold;
	margin-bottom: 1rem;
	background: #f7f7f9;
	padding: 5px;
	box-sizing: border-box;
}
#subpage.contact .contact-form table{
}
#subpage.contact .contact-form table th{
	background: #f7f7f9;
	width: 25%;
	font-size: 90%;
}
#subpage.contact .contact-form table td{
}
#subpage.contact .contact-form table textarea{
	width: 60%;
	height: 100px;
}
#subpage.contact .contact-form table input.email{
	width: 60%;
}
#subpage.contact .error {
	border: 1px solid red;
	padding: 30px;
}
#subpage.contact .error p{
	color: red;
    margin-bottom: 0;
}
#subpage.contact .error ul{
	margin-left: 2rem;
}
#subpage.contact .error li{
	color: red;
	list-style-type: disc;
	font-size: 90%;
}



/* info
---------------------------------------------------------------------------*/
#subpage .info-single-wrapper{
	padding: 40px;
	position: relative;
	border: 1px solid;
	margin-bottom: 60px;
}
#subpage .info-single-wrapper h3{
	font-size: 1.4rem;
}
#subpage .info-single-wrapper .info-header{
	display: flex;
	gap: 30px;
}



/* table
---------------------------------------------------------------------------*/
table.responsive{
	background: #ccc;
	width: 100%;
	margin: 0.5rem 0;
}
table.responsive th{
	background: #eee;
	padding: 10px;
	font-size: 90%;
	box-sizing: border-box;
}
table.responsive td{
	background: #fff;
	padding: 10px;
	box-sizing: border-box;
}
table.responsive th{
	width: 200px;
}


/* footer
---------------------------------------------------------------------------*/
#footer {
	position: relative;
	top: 200px;
	width:100%;
	clear: both;
	text-align: left;
	background-color: #f7f7f9;
}
#footer-inner {
	margin: 0 auto;
	justify-content: space-evenly;
	align-items: center;
	max-width: 1100px;
	padding: 3rem 0;
}
#footer #banners{
	max-width:800px;
	margin: 0 auto;
}
#footer #banners ul{
	display: flex;
	gap: 30px;
	margin: 0 auto;
}
#footer #banners ul li{
	flex: 1;
}
#footer #banners ul li a{
	display: block;
	border: 1px solid #ccc;
	text-align: center;
	background: white;
	padding: 10px;
	line-height:1.5em;
}
#footer #banners ul li a span{
	display: block;
	font-size: 0.8rem;
}
#footer-company{
	margin-top: 80px;
	display: flex;
	align-items: end;
	font-size: 0.8rem;
	line-height: 1.5em;
}
#footer-company #footer-left{
	flex: 1;
}
#footer-company #footer-right{
	flex: 1;
	text-align: right;
}
#footer-company #footer-right li{
	margin-bottom: 1rem;
}
#footer-company img{
	width: 300px;
}


/* topback
---------------------------------------------------------------------------*/
#page-top {
	position: fixed;
	bottom: 0px;
	right: 50px;
	margin:0;
	z-index:100;
	display:none;
}
#page-top a {
	color: #83B334;
	text-align: center;
	display: block;
	margin:0;
	font-size: 250%;
}
#page-top a:hover {
	-webkit-transition: 0.3s ease-in-out;
	-moz-transition: 0.3s ease-in-out;
	-o-transition: 0.3s ease-in-out;
	transition: 0.3s ease-in-out;
}




/* navi
---------------------------------------------------------------------------*/
@media print, screen  and (min-width: 768px){
	#navi ul#index{
	}
	a#menu{display:none;}
}



/*===============================================
 狭いブラウザとタブレット向け(iPad Pro～iPad Mini)
===============================================*/
@media (max-width: 1024px) and (min-width: 768px) {

	#header,
	header #navi,
	section .section-inner{
		width: 90vw;
	}
	header #navi ul#index,
	header #navi ul#index li {
	}
	header #navi li a{
		font-size: 0.9rem;
	}
	header #navi ul#index li {
		font-size: 0.7rem;
	}
	#header #logo h1 img{
		width: 260px;
	}
	#header #contact a{
		font-size: 0.8rem;
		padding: 5px 20px;
	}
	#toppage #icatch,
	#toppage #icatch .box{
	}
	#toppage #icatch .box p:first-child{
		font-size: 2rem;
	}
	#toppage #about .aboutbox .summary{
		padding: 0;
		padding-right: 60px;
	}
	#footer #sitemap{
		padding: 20px 0;
		margin-bottom: 0;
	}
	#footer-company{
		padding: 20px 0;
	}
	#footer-company #footer-right li{
		text-align: center;
	}
	#toppage #about p.leadtext{
		font-size: 1.6rem;
	}
	#footer-inner{
		box-sizing: border-box;
		width: 90vw;
	}
	#toppage #icatch .box ul li a{
		font-size: 0.8rem;
	}

	/*service
	---------------------------------------------------------------------------*/
	#subpage #service .service-box{
		flex-direction: column;
	}
	#subpage #service .service-box .photo{
		width: 100%;
		margin-bottom: 2rem;
	}
	#subpage #service .service-box .text{
		width: 100%;
		padding: 0;
	}
	#subpage #service .service-box .text .title{
		font-size: 1.3rem;
	}
	#subpage h3{
		font-size: 1.4rem;
	}
	#subpage.business11 .contents ul.box-index > li{
		width: 100%;
	}
}



/*===============================================
 スマホ：画面の横幅が767pxまで
===============================================*/
@media only screen and (max-width:767px){
	/*common 
	---------------------------------------------------------------------------*/
	html,body{ 
		width:100%; 
		min-width: 300px;
		line-height: 1.8rem;
	}
	body{ 
		width:100%; 
		overflow-x:hidden;
	}
	h2 {
		font-size: 1.2em;
	}
	h3{
		font-size: 1.0rem;
	}
	.only-sp{
		display: block;
	}
	.only-pc{
		display: none;
	}
	.table-scroll {
		overflow: scroll;
	}

	
	/* header
	---------------------------------------------------------------------------*/
	header{
		height: 70px;
	}
	#header{
		width:100%;
		padding-bottom: 0;
		padding-top: 0;
		z-index:0;
		clear:both;
		margin:0;
	}
	#header #logo h1{
		top: 8px;
	}
	#header #navi{
		width: 100%;
		top: 25px;
	}
	header #description{
		display: none;
	}
	#header #navi ul#index{
		position: relative;
		border-top: 1px solid #ccc;
	}
	#header #navi ul#index li{
		display:block;
		margin-left: 0;
		font-weight: normal;
		padding: 0;
		width: 100%;
	}
	#header #navi ul#index li:first-child{
		border: none;
	}
	#header #logo{
		margin-left: 15px;
	}
	#header #logo h1 img{
		width: 240px;
	}
	#header #contact{
		display: none;
	}

	/* navigation
	---------------------------------------------------------------------------*/
	#menu{
		display: block;
	}
	#navi{
		z-index:100;
		clear:both;
		padding:0;
		position:relative;
		width:100%;
	}
	#navi a{
		font-size: 100%;
	}
	#navi a.menu{
		display:block;
		font-weight: bold;
		text-align:left;
		top:-62px;
		right:15px;
		position:absolute;
		width:50px;
		right: 20px;
	}
	#navi a#menu span{padding-left:10px;}
	#navi a#menu:hover{cursor:pointer;}
	#navi ul#index{
		display: none;
		width:100%;
		position:absolute;
		right: 0;
		top:0px;
		z-index:100;
	}
	#navi ul#index li{
		float: none;
		clear:both;
		width:100%;
		height:auto;
		background-color: white;
		background: rgba(255,255,255,0.9);
	}
	#navi ul#index li a,#navi ul#index li.current-menu-item li a{
		display: block;
		padding:10px 5px 10px  10px ;
		text-align:left;
		border-bottom:1px dashed #ccc;
	}
	#navi ul#index li a img{display:none;}
	#navi div.panel{float:none;}

	/* sp-menu
	---------------------------------------------------------------------------*/
	header .menu-sp-btn {
		display: block;
	}
	header .menu-sp-btn span {
		background-color: #83B334;
	}

	/* sp-nav
	---------------------------------------------------------------------------*/
	nav.sp-menu{
		position: absolute;
		width: 100%;
		top: 70px;
		left: 100%;
		z-index: 1;
		padding: 0;
		background-color: #00326F;
		-webkit-box-shadow: 0 5px 5px rgb(0 0 0 / 15%);
		box-shadow: 0 5px 5px rgb(0 0 0 / 15%);
		-webkit-backface-visibility: hidden;
		-webkit-transition: all .3s ease;
		-o-transition: all .3s ease;
		transition: all .3s ease;
		background-color: rgba( 0, 0, 0, 0.7 );
	}
	nav.sp-menu.is-displayed {
		left: 0;
		-webkit-backface-visibility: hidden;
		-webkit-transition: all .3s ease;
		-o-transition: all .3s ease;
		transition: all .3s ease;
	}
	nav.sp-menu ul li{
		text-align: center;
		border-bottom: 1px solid white;
	}
	nav.sp-menu ul li a{
		color: white;
		display:block;
		padding: 8px 0;
	}
	nav.sp-menu ul li a span{
		display: block;
		font-size: 70%;
		line-height: 1;
	}
	header li.login a{
		border: 0;
	}

	/*slider
	---------------------------------------------------------------------------*/
	#slider{
		top: 70px;
	}
	.slick-box img{
		width: 320px;
	}
		
	/* toppage
	---------------------------------------------------------------------------*/
	#toppage h2{
		font-size: 1.3rem;
		padding-top: 40px;
	}
	#toppage #icatch .box ul{
		flex-direction: column;
	    background: none;
	    border-radius: 0;
	    top: 40px;
	}
	#toppage #icatch .box ul li{
		border: 1px solid #83B334;
		background: white;
		margin-bottom: 1rem;
		width: 100%;
		box-sizing: border-box;
	}
	#toppage #icatch .box ul li:last-child{
		border-right: 1px solid #83B334;
	}
	#toppage #icatch .box ul li a{
		color: black;
		font-weight: normal;
		font-size: 0.9rem;
	}
	#toppage #report ul{
		flex-direction: column;
	}
	#toppage #news ul li a{
	    flex-direction: column;
	}
	#toppage #news ul li a .head{
		margin-bottom: 1rem;
		font-size: 0.9rem;
	}
	#toppage #news ul li a .date{
		width: 40%;
		text-align: left;
	}
	#toppage #news ul li a .category{
		width: 60%;
		font-size: 0.8rem;
	}
	#toppage #news ul li a .head,
	#toppage #news ul li a .title{
		width: 100%;
	}
	#toppage #business{
		padding-top: 0;
        background-size: 100% 130px;
        margin-top: 80px;
	}
	#toppage .banner-btn{
		flex-direction: column;
		gap: 10px;
	}
	#toppage .banner-btn li{
		width: 100%;
	}
	#toppage #about{
	    padding: 0px 0 80px 0;
	    background-size: 100% 130px;
	}
	#toppage #news{
		padding: 0;
	}
	#footer #banners{
		margin-top: 80px;
	}
	#footer #banners ul{
		width: 300px;
		flex-direction: column;
		gap: 15px;
	}
	#footer-company #footer-left{
		text-align: center;
		margin-bottom: 1rem;
	}
	#footer-company #footer-right{
		text-align: center;
	}
	#toppage #report ul li{
		width: 100%;
	}


	/* subpage
	---------------------------------------------------------------------------*/
	#subpage h2{
		padding: 20px 0;
		font-size: 1.2rem;
	}
	#subpage h3{
		margin-top: 30px;
		font-size: 1.1rem;
		padding: 1rem 0;
		margin-bottom: 1.5rem;
	}
	#subpage .pagetitle{
		margin-bottom: 30px;
	}
	#subpage .banner-btn li{
		width: 100%;
		margin-bottom: 20px;
	}
	#subpage.history th{
		background: #f7f7f9;
		width: 100%;
	}
	#subpage.outline th{
		width: 100%;
	}
	#subpage.member th{
		width: 100%;
	}
	#subpage .banner-btn li a{
		font-size: 0.9rem;
	}
	#subpage .contents table th{
		font-size: 90%;
	}
	#subpage .contents table.responsive th,
	#subpage .contents table.responsive td{
		border-bottom: 0;
		width: 100% !important;
	}
	#subpage .contents table tr:last-child td{
		border-bottom: 1px solid;
	}
	#subpage .contents img{
		max-width: 100%;
	}
	#subpage section.page-index{
		padding: 0;
		margin-top: 120px;
	}
	#subpage .banner-btn{
		padding-top: 0px;
	}
	#subpage section.page-index .banner-btn li{
		margin-bottom: 6%;
	}
	#subpage section.page-index .index-title{
		font-size: 0.9rem;
	}
	#subpage section.page-index .banner-btn li a{
		font-size: 0.9rem;
	}
	#subpage .contents{
		font-size: 1rem;
	}
	#subpage .img-padding{
		padding: 0;
	}
	#subpage.business05 .photo,
	#subpage.business08 .photo,
	#subpage.business07 .photo{
		gap: 20px;
		flex-direction: column;
	}
	#subpage .zenzeikyo{
		gap: 20px;
		flex-direction: column;
	}
	#subpage.business08 .free-consultation{
		padding: 20px;
	}
	#subpage.business08 .free-consultation .phone{
		display: table;
	}
	#subpage.report .topic-item{
		padding: 0;
		border: 0;
	}
	#subpage.report h3{
		font-size: 1.2rem;
		margin-top: 0;
	}
	#subpage.report .topic-item .photo{
		gap: 20px;
		flex-direction: column;
	}
	#subpage .contents ul.list{
		column-count: 1;
	}
	#subpage .contents .box-list{
		flex-direction: column;
		gap: 2rem;
	}
	#subpage .contents .box-list li{
		padding: 10px;
	}
	#subpage.books .booklist .bookitem{
		width: 100%;
		margin-bottom: 5%;
	}
	#subpage.books .booklist .bookitem p{
		margin-bottom: 0;
	}
	#subpage.books .booklist .bookitem .bookname,
	#subpage.books .booklist .bookitem .price{
		font-size: 1.1rem;
	}
	#subpage.business04 table.responsive{
		width: 100% !important;
	}
	#subpage.business11 .contents ul.box-index > li{
		width: 100%;
	}
	#subpage .bookcenter .photo{
		flex-direction: column;
		gap: 20px;
	}
	#subpage.greeting .greeting-box{
		flex-direction: column;
	}
	#subpage.greeting .greeting-box .message,
	#subpage.greeting .greeting-box .photo{
		width: 100%;
	}

	#subpage .info-single-wrapper{
		border: 0;
		padding: 0;
		padding-bottom: 40px;
		border-bottom: 2px solid;
		margin-bottom: 40px;
	}
	#subpage .info-single-wrapper h3{
		font-size: 1.1rem;
		margin-top: 0;
	}


	
	/*main
	---------------------------------------------------------------------------*/
	main {
		position: relative;
		top: 70px;
	}

	/*section
	---------------------------------------------------------------------------*/
	section{
		width: 100%;
		padding: 0;
	}
	section .section-inner{
		width: 90%;
		padding: 0;
	}
	section table{
		font-size: 90%;
	}
	section table th, section table td{
		padding: 0.5rem 0;
		border-bottom: 0;
	}
	section table th{
	    text-align: left;
		box-sizing: border-box;
		border-bottom: 1px solid;
	}
	section table.responsive th, section table.responsive td{
		display: block;
		width: 100%;
	}



	/*topback
	---------------------------------------------------------------------------*/
	#page-top {
		position: fixed;
		bottom:0;
		right: 10px;
		margin:0;
		z-index:100;
	}
	#page-top a {
		text-decoration: none;
		text-align: center;
		display: block;
		margin:0;
	}
	#page-top img {
		width: 40px;
	}

	/*footer
	---------------------------------------------------------------------------*/
	#footer{
		width:100%; 
		font-size:80%;
		display:inline-block;
		clear:both;
		top: 70px;
	}
	#footer-inner{
		width: 100%;
		padding: 0;
	}
	#footer #sitemap{
		margin-bottom: 0;
	}
	#footer #sitemap ul{
		flex-direction: column;
	}
	#footer #sitemap ul li{
		width: 100%;
		border-bottom: 1px solid white;
		box-sizing: border-box;
		padding: 10px;
	}
	#footer-company{
		margin-left: 0;
		flex-direction: column;
		padding: 0 50px 30px 50px;
		align-items: center
	}
	#footer-company img{
		margin-bottom: 1rem;
		width: 240px;
	}



}



/*印刷調整
---------------------------------------------------------------------------*/
@media print {
	header{
		position: absolute;
	}
	#slider{
		background: url(images/icatch01.jpg) no-repeat center center;
		height: 400px;
	}
	.slick-box{
		display:none;
	}
}

