@charset "UTF-8";


/* Key Visual & Wrapper
------------------------------------------- */

section#key_visual{
	width:100%;
	height:260px;
    background: url("../images/common/contents_bg.jpg");
	margin:0 auto 0;
	background-size: cover;
	z-index:0;
	background-position: center top;
    padding-top: 130px;
}

section#key_visual2{
	width:100%;
    padding-top: 40px;
    border-bottom: 1px dotted #ccc;
    padding-bottom: 80px;
    background-color: #EFEFEF;
}



/* Layout
------------------------------------------- */

section{
	width:100%;
    margin: 0 auto;
	z-index: 999;
}

div.contents{
	width: 90%;
	margin-left: auto;
	margin-right: auto;
	overflow: hidden;
    text-align: center;
}

.po_rea{
	position: relative;
}


/* Contents Title
------------------------------------------- */

h2{
    width: 90%;
	text-align: center;
	font-size: 150%;
	font-weight: bold;
	font-family: "ＭＳ Ｐ明朝", "MS PMincho","ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "serif";
	color: #000;
	text-shadow: 2px 2px 2px #FFF;
    background-color: rgba(255,255,255,0.5);
    margin-left: auto;
    margin-right: auto;
    line-height: 100%;
    padding: 10px 0;
}

h2 span{
    font-size: 60%;
}



h3{
    text-align: center;
	font-size: 140%;
	font-weight: bold;
	font-family: "ＭＳ Ｐ明朝", "MS PMincho","ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "serif";
}

h3 span{
    font-size: 50%;
    color: #FF3300;
}


h4{
    text-align: center;
	font-size: 130%;
    position: relative;
    overflow: hidden;
    padding-bottom: 12px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}


h4::before{
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50%;
  height: 5px;
  background: #002399;/*ピンク*/
}
h4::after{
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50%;
  height: 5px;
  background: #008699;/*薄ピンク*/
}

h5{
    font-size: 120%;
    display: inline-block;
    padding: 0 50px;
    position: relative;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

h5::before, h5::after {
    content: '';
    position: absolute;
    top: 50%;
    display: inline-block;
    width: 45px;
    height: 4px;
    border-top: solid 1px #000;
    border-bottom: solid 1px #000;
}

h5::before {
    left:0;
}
h5::after {
    right: 0;
}

h6{
    font-size: 110%;
    color: #5550B6;
    font-weight: bold;
    text-align: left;
}


/* Breadcrumb
------------------------------------------- */

.pageGuide {
		display: none;
	}



/* Text
------------------------------------------- */

p.co_txt{
	font-size: 100%;
	text-align: left;
	overflow: hidden;
    line-height: 200%;
    margin-left: 20px;
	margin-right: 20px;
}

p.co_txtc{
	font-size: 100%;
	margin-left: 20px;
	margin-right: 20px;
	text-align: center;
	overflow: hidden;
    line-height: 200%;
}

p.co_txtr{
	font-size: 100%;
	margin-left: 20px;
	margin-right: 20px;
	text-align: right;
	overflow: hidden;
}

p.co_txt img{
    width: 400px;
    height: auto;
}

p.co_txt img.small{
    width: 300px;
    height: auto;
}


/* Button
------------------------------------------- */

div.detail_btn{
    width: 200px;
    height: 40px;
    margin-left: auto;
	margin-right: auto;
    overflow: hidden;
    margin-bottom: 20px;
}
div.detail_btn a::after{
    font-family: "Font Awesome 5 Free";
	content: '\f054';
	margin-left:10px;
	font-weight: bold;
}
div.detail_btn a{
	  display: block;
	  width: 100%;
	  height: 100%;
	  line-height: 40px;
	  color: #000;
	  text-align: center;
	  font-size: 100%;
	  background-color: #FFF;
	  border: 1px solid #aaa;
	  position: relative;
	  z-index: 2;
}

div.detail_btn a:before{
	  content: '';
	  position: absolute;
	  top: 0;
	  left: -100%;
	  width: 100%;
	  height: 100%;
	  z-index: -1;
	  background-color: #25A639;
	  transition: all 300ms linear;
}
div.detail_btn a:hover{
  	color: #fff;
	opacity: 0.9;
}

div.detail_btn a:hover:before {
  	left: 0;
}



div.loan_btn{
    width: 80%;
    height: 40px;
    margin-left: auto;
	margin-right: auto;
    overflow: hidden;
    z-index: 1;
}
div.loan_btn a::after{
    font-family: "Font Awesome 5 Free";
	content: '\f054';
	margin-left:10px;
	font-weight: bold;
}
div.loan_btn a{
	  display: block;
	  width: 100%;
	  height: 100%;
	  line-height: 40px;
	  color: #000;
	  text-align: center;
	  font-size: 100%;
	  background-color: #78E484;
	  border: 1px solid #aaa;
	  position: relative;
	  z-index: 1;
}







/* Ogata Village
------------------------------------------- */

div.ogata_wrap{
    width: 98%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    overflow: hidden;
}

div.ogata_box{
    width: 100%;
    border: 1px dashed #ccc;
    margin-bottom: 60px;
    border-radius: 15px;
    padding-left: 30px;
    padding-right: 30px;
    margin-left: auto;
    margin-right: auto;
}

div.ogata_box ul{
    text-align: left;
}

div.ogata_box ul li{
    margin-bottom: 20px;
}

div.ogata_box ul li:nth-child(1){
    font-size: 150%;
    font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
}


div.ogata_ouline_wrap{
    width: 100%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

div.ogata_outline_box{
    width: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 80px;
}


p.ogata_txt{
	font-size: 100%;
	text-align: left;
	overflow: hidden;
    line-height: 180%;
    margin-left: 20px;
	margin-right: 20px;
}

p.ogata_txt img{
    width: 200px;
    height: auto;
}



/* immigaration
------------------------------------------- */

table.process{
	width:1104px;
    margin-left: auto;
    margin-right: auto;
}

table.process th{
	width:137px;
	padding:8px 0;
	text-align:center;
	color:#FFF;
	background-color:#9F9F9F;
	border:1px solid #CCC;
	line-height:120%;
}

table.process td{
	width:137px;
	padding:8px 0;
	text-align:center;
	border:1px solid #CCC;
}

table.hometown{
	width:1116px;
    margin-left: auto;
    margin-right: auto;
}

table.hometown th{
	width:185px;
	padding:8px 0;
	text-align:center;
	color:#FFF;
	background-color:#9F9F9F;
	border:1px solid #CCC;
	line-height:120%;
}

table.hometown td{
	width:185px;
	padding:8px 0;
	text-align:center;
	border:1px solid #CCC;
}


/* Section
------------------------------------------- */

table.section{
	width:1104px;
    margin-left: auto;
    margin-right: auto;
}

table.section th{
	padding:8px 0;
	text-align:center;
	color:#FFF;
	background-color:#9F9F9F;
	border:1px solid #CCC;
	line-height:120%;
}

table.section th.sec_tit{
	width:137px;
}

table.section th.sec_kou{
	width:98px;
}

table.section td{
	padding:8px 0;
	text-align:center;
	border:1px solid #CCC;
}


/* Shop List
------------------------------------------- */

table.shop_info{
	width:1200px;
    margin-left: auto;
    margin-right: auto;
}

table.shop_info th{
	background-color:#9F9F9F;
	color:#FFF;
	padding:12px 0;
	text-align:center;
	border:1px solid #CCC;
}

table.shop_info td{
	padding:12px;
	text-align:left;
	border:1px solid #CCC;
}

table.shop_info th:nth-child(1){
	width:240px;
}

table.shop_info th:nth-child(2){
	width:180px;
}

table.shop_info th:nth-child(3){
	width:300px;
}

table.shop_info td:nth-child(4){
    width: 480px;
}



/* Access Map
------------------------------------------- */

div#map_canvas{
	width: 98%;
    height: 500px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}



/* FAQ
------------------------------------------- */
.accordion {
	margin-left: auto;
	margin-right: auto;
}
.toggle {
	display: none;
}
.option {
	width: 98%;
	margin-left: auto;
	margin-right: auto;
	position: relative;
	margin-bottom: 30px;
}
.title,
.content {
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	transform: translateZ(0);
	transition: all 0.3s;
}
.title {
	border: solid 1px #ccc;
	padding: 1em;
	display: block;
	color: #333;
	font-weight: bold;
    cursor: pointer;
    border-radius:10px;
	-moz-border-radius:10px;
  	-webkit-border-radius:10px;
    text-align: left;
    padding-right: 25px;
}
.title::after,
.title::before {
	content: "";
	position: absolute;
	right: 1.25em;
	top: 1.25em;
	width: 2px;
	height: 0.75em;
	background-color: #999;
	transition: all 0.3s;
}
.title::after {
	transform: rotate(90deg);
}
.content {
	max-height: 0;
	overflow: hidden;
    padding-top: 10px;
}
.content p {
	margin: 0;
	padding: 15px 20px 0 30px;
	line-height: 1.5;
    text-align: left;
}
.toggle:checked + .title + .content {
	max-height: 9000px;
	transition: all 1.5s;
}
.toggle:checked + .title::before {
	transform: rotate(90deg) !important;
}

.content ul{
    overflow: hidden;
    margin-left: 20px;
}
.content ul li{
    float: left;
    margin-right: 20px;
    margin-bottom: 25px;
}

.content ul li img{
    width: 110px;
    height: auto;
}

/* Privacy Policy
------------------------------------------- */

dl.policy{
	margin-left: 30px;
	margin-right: 30px;
	padding:0;
}

dl.policy dt{
	margin:30px 0 0 10px;
	text-align:left;
	font-weight: bold;
    font-size: 120%;
    line-height: 200%:
}

dl.policy dd{
	margin:10px 0 0 30px;
	text-align:left;
    line-height: 200%;
}


/* Hokyo Table
------------------------------------------- */

table.pptb{
	width:100%;
    margin-left: auto;
    margin-right: auto;
}

table.pptb th{
    display: none;
}

table.pptb td{
    widows: 100%;
    display: block;
	padding:10px;
	text-align:left;
    line-height: 200%;
    border-top: 1px solid #ccc;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
}

table.pptb tr:last-child td:nth-child(2){
    border: 1px solid #ccc;
}

table.pptb td:nth-child(1)::before{
    content: ""
}



/* Emergency Contact
------------------------------------------- */

table.em_contact{
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

table.em_contact th{
    width: 100%;
    padding: 15px 0;
    text-align: center;
    border: 1px solid #aaa;
    background-color: #DFDFDF;
    font-weight: bold;
    display: block;
}

table.em_contact td{
    width: 100%;
    padding: 15px;
    text-align: left;
    border-left: 1px solid #aaa;
    border-right: 1px solid #aaa;
    border-bottom: 1px solid #aaa;
    display: block;
}

table.em_contact td span{
    font-size: 130%;
    font-weight: bold;
    display: block;
}



/*Tab Menu
------------------------------------------- */

div.all_area{
	margin-left: auto;
	margin-right: auto;
    overflow: hidden;
    }
	
ul.tab_area{
	width:100%;
    overflow:hidden;
	margin-left: auto;
	margin-right: auto;
	text-align:center;
}


.tab_area li{
   list-style: none;
	padding:12px 5px 10px;
    margin-bottom: 10px;
	border:1px solid #CCC;
	border-radius:5px;
	background:-moz-linear-gradient(top,#FFF, #EFEFEF 50%,#FFF 50%,#EFEFEF);
    background:-webkit-gradient(linear, left top, left bottom, from(#FFF), color-stop(0.5,#EFEFEF), color-stop(0.5,#EFEFEF), to(#FFF));
	background:linear-gradient(to bottom, #FFF, #EFEFEF);
    cursor: pointer; 
    }
     
div.content_area{
    width: 100%;
    padding:10px 0 40px 0;  
    border-top: 1px solid #00D900;
	margin:0 auto;
    }
 
.tab_area li.select{
    /*アクティブタブの装飾*/
    background-color:#ffffff; 
    background-image:none; 
    color:#333333;
    border-top:2px solid #00D900;
    }
     
.hide{display:none;}


/* Related List
------------------------------------------- */

ul.link_list{
	margin-left: auto;
    margin-right: auto;
}

ul.link_list li{
	margin:0 0 12px 20px;
	text-align:left;
    list-style:square outside;
}




/* Contents Bottom Menu
------------------------------------------- */

p.co_btm_mn_title{
    font-size: 130%;
    font-weight: bold;
    text-align: center;
}

div.bottom_menu_wrap{
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    z-index: 10;
}

div.bottom_menu_box{
    width: 100%;
    height: 60px;
    line-height: 60px;
    border-bottom: 2px solid #AAA;
    display: inline-block;
    text-align: left;
    margin-bottom: 20px;
}


div.bottom_menu_box a{
    width: 100%;
    height: 60px;
    display: block;
    padding-left: 10px;
    position: relative;
    color: #000;
}

div.bottom_menu_box a::after{
    font-family: "Font Awesome 5 Free";
	content: '\f061';
	font-weight: bold;
    position: absolute;
    top: 0;
    right: 10px;
    color: #FF3300;
}

div.bottom_menu_box a:hover{
    color: #FF3300;
    border-bottom: 2px solid #FF3300;
}

div.bottom_menu_box a:hover::after{
    color: #003399;
}


/* Contact TEL
------------------------------------------- */


div.contact_info{
    width: 400px;
    margin-left: auto;
	margin-right: auto;
    border: 1px solid #aaa;
    background-color: #FFF;
    box-shadow: 3px 3px 5px #CCC;
}

p.tel_tit{
    text-align: center;
    font-size: 120%;
    font-weight: bold;
}


p.tel_num{
    text-align: center;
    font-size: 120%;
    font-weight: bold;
    margin-top: 10px;
}




/* Radiogen Table
------------------------------------------- */

div.scroll{
overflow: auto;　　　　/*tableをスクロールさせる*/
white-space: nowrap;　　/*tableのセル内にある文字の折り返しを禁止*/
}
div.scroll::-webkit-scrollbar{　　/*tableにスクロールバーを追加*/
 height: 5px;
}
div.scroll::-webkit-scrollbar-track{　　/*tableにスクロールバーを追加*/
 background: #F1F1F1;
}
div.scroll::-webkit-scrollbar-thumb {　　/*tableにスクロールバーを追加*/
 background: #BCBCBC;
}

table.radiogen, table.radiogen2, table.radiogen3{
	width:1160px;
    margin-left: auto;
    margin-right: auto;
}

table.radiogen caption{
	padding:6px 0;
	text-align:center;
}

table.radiogen th, table.radiogen2 th, table.radiogen3 th{
	padding:12px 0;
	text-align:center;
	background-color:#EFEFEF;
	border:1px solid #CCC;
	font-weight:normal;
}

table.radiogen td{
	margin:0;
	padding:12px 0;
	text-align:center;
	border:1px solid #CCC;
}

table.radiogen td:nth-child(1){
    width: 40px;
}
table.radiogen td:nth-child(2){
    width: 80px;
}
table.radiogen td:nth-child(3), table.radiogen td:nth-child(4){
    width: 60px;
}
table.radiogen td:nth-child(5), table.radiogen td:nth-child(6), table.radiogen td:nth-child(7), table.radiogen td:nth-child(8){
    width: 185px;
}
table.radiogen td:nth-child(9){
    width: 240px;
}


table.radiogen2 td{
    width: 290px;
	margin:0;
	padding:12px 0;
	text-align:center;
	border:1px solid #CCC;
}

table.radiogen3 td{
    width: 252px;
	margin:0;
	padding:12px 0;
	text-align:center;
	border:1px solid #CCC;
}



/* Download
------------------------------------------- */

div.download_wrap{
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

div.download_box{
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 60px;
}



div.download_box a{
  display: block;
  width: 100%;
  text-align: center;
  text-decoration: none;
  line-height: 60px;
  outline: none;
  color: #5DAE3A;
  background-color: #fff;
  position: relative;
  border: 1px solid #5DAE3A;
  transition: all .5s;
  border-radius: 6px;
}






/* Terms Table
------------------------------------------- */

div.waku_txt{
	width: 97%;
    margin-left: auto;
    margin-right: auto;
	border: 1px solid #333;
}

div.waku_txt p{
    text-align: left;
    padding: 15px;
}

.spmt80{
    margin-top: 80px;
}
.spmt40{
    margin-top: 40px;
}

.table_wrap {
    overflow-x : auto;
    position: relative;
}

.table_wrap::before {
    content: '横スクロール';
    color: #000;
    position: absolute;
    top: 20px;
    left: 5px;
    font-size: 85%
}
.table_wrap2 {
    overflow-x : auto;
    position: relative;
}

.table_wrap2::before {
    content: '横スクロール';
    color: #FFF;
    position: absolute;
    top: 20px;
    left: 5px;
    font-size: 85%
}
.table_arrow, .table_arrow2 {
    display: block;
    position: relative;
}
.table_arrow::before {
    content: '';
    position: absolute;
    top:40px;
    left:5px;   
    width: 130px;
    height: 1px;
    background:#000;  
}
.table_arrow::after {
    content: '';
    position: absolute;
    top:35px;
    left:120px;   
    width: 15px;
    height:1px;
    background:#000;
    transform: rotate(35deg);
}
.table_arrow2::before {
    content: '';
    position: absolute;
    top:40px;
    left:5px;   
    width: 130px;
    height: 1px;
    background:#FFF;  
}
.table_arrow2::after {
    content: '';
    position: absolute;
    top:35px;
    left:120px;   
    width: 15px;
    height:1px;
    background:#FFF;
    transform: rotate(35deg);
}

table.terms{
	width: 1160px;
    margin-left: auto;
    margin-right: auto;
}

table.terms th{
	padding: 12px 0;
	text-align: center;
	background-color: #398B20;
	color: #fff;
	font-weight: normal;
	border: 1px solid #aaa !important;
}

table.terms td{
    padding: 12px 0;
}

table.terms td:nth-child(1){
	text-align: center;
	width: 40px;
	border-left: 1px solid #aaa !important;
	border-bottom: 1px solid #aaa !important;
}
table.terms td:nth-child(2){
    padding-left: 10px;
    padding-right: 10px;
	text-align: left;
	width: 380px;
	border-left: 1px solid #aaa !important;
	border-bottom: 1px solid #aaa !important;
}
table.terms td:nth-child(3){
    padding-left: 10px;
    padding-right: 10px;
	text-align: left;
	width: 600px;
	border-left: 1px solid #aaa !important;
	border-bottom: 1px solid #aaa !important;
}
table.terms td:nth-child(4){
	text-align: center;
	width: 140px;
	border-left: 1px solid #aaa !important;
	border-bottom: 1px solid #aaa !important;
	border-right: 1px solid #aaa !important;
}





/* Loan
------------------------------------------- */
dl.loan_detail{
}

.loan_detail dt{
	margin:15px 0 20px 0;
	padding:0;
	font-size:110%;
	font-weight:bold;
	color:#0DDE3D;
    text-align: left;
}

.loan_detail dd{
	margin:10px 5px 0 35px;
	color:#454545;
	line-height:1.6;
    text-align: left;
}

.loan_detail dd ul{
	margin:10px 0 0 20px;
	padding:0;
	list-style-type:decimal;
	list-style-position:outside;
}

.loan_detail dd li{
	margin:0 0 10px 0;
	padding:0;
	line-height:1.6;
    text-align: left;
}

ul.agree{
    margin-left: auto;
    margin-right: auto;
	text-align:center;
}

.agree li{
    display: inline-block;
    vertical-align: top;
}

.agree li:nth-child(1){
    margin-right: 50px;
}
.agree li:nth-child(2){
    margin-left: 50px;
}






/* Flyer Information
------------------------------------------- */

div.flyer_wrap{
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    background-color: #DFDFDF;
    border-radius: 10px;
}

div.flyer_wrap img{
    text-align: center;
    margin: 30px auto 30;
    width: 90%;
    height: auto;
}


/* Maintenance Information
------------------------------------------- */

div.maintenance_wrap{
    width: 95%;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    padding-bottom: 50px;
    background-color: rgba(17,79,57,1.00);
    border: 8px solid #909090;
    border-radius: 5px;
    position: relative;
}

.maintenance_wrap::before, .maintenance_wrap::after {
position: absolute;
content: '';
bottom: 0;
}
.maintenance_wrap::before {
width: 20px;
right: 50px;
border: solid 3px #ff42a0; /*チョークピンク */
border-radius: 3px 2px 0 2px;
}
.maintenance_wrap::after {
width: 15px;
right: 15px;
border: solid 3px #fff; /*チョーク白 */
border-radius: 8px 5px 2px 5px;
}

.maintenance_wrap table{
    width: 1060px;
    margin: 50px auto 0;
    border-collapse: collapse;
}

.maintenance_wrap table th{
    color: #CFDC38;
    padding: 8px 0;
    text-align: center;
    font-weight: normal;
}

.maintenance_wrap table td{
    color: #fff;
    padding: 8px 0;
}

.maintenance_wrap table th:nth-child(1){
    width: 60px;
}
.maintenance_wrap table th:nth-child(2){
    width: 650px;
}
.maintenance_wrap table th:nth-child(3){
    width: 350px;
}

.maintenance_wrap table td:nth-child(1){
    text-align: center;
}
.maintenance_wrap table td:nth-child(2){
    text-align: left;
}
.maintenance_wrap table td:nth-child(3){
    text-align: center;
}


div.maintenance_contact{
    width: 100%;
    height: 120px;
    border: 1px solid #000;
    background: url("../images/maintenance/woman.png") no-repeat;
    background-position: 15px 15px;
    background-size: 20%;
    margin-left: auto;
    margin-right: auto;
}

div.maintenance_contact p:nth-child(1){
    padding: 5px 40px;
    background-color: #000;
    color: #FFF;
    text-align: center;
    display: inline-block;
    margin-top: 10px;
    margin-left: 60px;
}

div.maintenance_contact p:nth-child(2){
    text-align: center;
    margin-top: 10px;
    margin-left: 60px;
}

div.maintenance_contact p:nth-child(3){
    margin-top: 5px;
    font-size: 150%;
    color: #AD2B2D;
    font-weight: bold;
    margin-left: 40px;
}

div.maintenance_contact p:nth-child(3)::before{
	font-family: "Font Awesome 5 Free";
	content: '\f095';
	font-size:110%;
	margin-right:8px;
	font-weight: bold;
}




/* JA-OGATA outline
------------------------------------------- */

table.outline{
    width: 1160px;
    margin-left: auto;
    margin-right: auto;
}

table.outline th{
    width: 190px;
    padding: 12px 0;
    text-align: center;
    border: 1px solid #CCC;
    background-color: #EFEFEF;
}

table.outline td{
    width: 390px;
    padding: 12px 0 12px 20px;
    text-align: left;
    border: 1px solid #CCC;
}


/* JA-OGATA document
------------------------------------------- */

div.document_dl{
    width: 99%;
    height: 50px;
    line-height: 50px;
    border-radius: 5px;
    border: 2px solid #006699;
    margin-left: auto;
    margin-right: auto;
}

div.document_dl:hover{
    background-color: #EFEFEF;
}

div.document_dl a{
    display: block;
    font-size: 95%;
}


/* JA-OGATA organization
------------------------------------------- */

ul.organi{
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

ul.organi li{
    margin-bottom: 40px;
    vertical-align: top;
}


ul.organi li img{
    width: 85%;
    height: auto;
    margin-bottom: 10px;
}




/* Magazine
------------------------------------------- */

div.magazine_wrap{
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    overflow: hidden;
}

div.magazine_image{
    width: 100%;
    display: block;
    margin-bottom: 30px;
    margin-left: auto;
    margin-right: auto;
}

div.magazine_info{
    width: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

div.magazine_image img{
    width: 80%;
    height: auto;
}

div.magazine_info li{
    margin-bottom: 15px;
    text-align: left;
}

div.magazine_info li span{
    width: 50px;
    height: 36px;
    line-height: 36px;
    border: 1px solid #CCC;
    border-radius: 5px;
    text-align: center;
    margin-right: 10px;
    display: inline-block;
}


div.view_btn{
    width: 80%;
    height: 40px;
    overflow: hidden;
    margin-left: auto;
    margin-right: auto;
}
div.view_btn a::after{
    font-family: "Font Awesome 5 Free";
	content: '\f054';
	margin-left:10px;
	font-weight: bold;
}
div.view_btn a{
	  display: block;
	  width: 100%;
	  height: 100%;
	  line-height: 40px;
	  color: #FFF;
	  text-align: center;
	  font-size: 100%;
	  background-color: #25A639;
	  border: 1px solid #aaa;
	  position: relative;
	  z-index: 2;
}




/* Movie
------------------------------------------- */

ul.youtube{
    overflow: hidden;
}

ul.youtube li{
	text-align: center;
	line-height: 130%;
    margin-bottom: 30px;
    vertical-align: top;
}


ul.youtube li iframe{
	width: 80%;
	height: 220px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}



/* Event
------------------------------------------- */

ul.event{
    overflow: hidden;
    margin-left: auto;
    margin-right: auto;
}

ul.event li{
    width: 80%;
    margin-bottom: 50px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    line-height: 180%;
}

ul.event li img{
    margin: 10px auto;
}

ul.event li strong{
    font-size: 120%;
}

ul.event li span{
    font-size: 110%;
    font-weight: bold;
}





/* Credit
------------------------------------------- */

div.credit_wrap{
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
}

div.credit_name{
    width: 100%;
    display: block;
    margin-bottom: 30px;
}
div.credit_table{
    width: 100%;
    display: block;
}

div.credit_name p{
    font-size: 140%;
    color: #999;
    text-align: center;
    font-weight: bold;
}
div.credit_name p span{
    font-size: 50%;
    color: #000;
    font-weight: normal;
}

div.credit_table table{
	width:100%;
    margin-left: auto;
    margin-right: auto;
}

div.credit_table th{
    width: 30%;
	padding:8px 0;
	text-align:center;
	background-color:#EFEFEF;
	border:1px solid #CCC;
}

div.credit_table td{
    width: 30%;
	padding:8px 25px 8px 0;
	text-align:right;
	border:1px solid #CCC;
}


table.deposit, table.deposit2{
	width:100%;
    margin-left: auto;
    margin-right: auto;
}

table.deposit caption, table.deposit2 caption{
	background-color:#0ACA0C;
	color:#FFF;
	padding:12px 0;
    text-align: center;
}

table.deposit th{
	width:50%;
	background-color:#EFEFEF;
	border:1px solid #CCC;
	margin:0;
	padding:12px 6;
	text-align:center;
}

table.deposit2 th{
	width:100%;
	background-color:#EFEFEF;
	border:1px solid #CCC;
	margin:0;
	padding:12px 6;
	text-align:center;
    display: block;
}

table.deposit td{
	width:25%;
	border:1px solid #CCC;
	padding:12px 6px;
	text-align:center;
}
table.deposit2 td{
	width:100%;
	border:1px solid #CCC;
	padding:12px 6px;
	text-align:left;
    display: block;
}



table.loan{
	width:100%;
    margin-left: auto;
    margin-right: auto;
}

table.loan caption{
	padding:12px 0;
	border:1px solid #CCC;
	background-color:#12CD15;
	color:#FFF;
	font-weight:bold;
    text-align: center;
}

table.loan th{
	width:100%;
	padding:12px;
	text-align:left;
	border:1px solid #CCCCCC;
    display: block;
}

table.loan td{
	width:100%;
	padding:12px;
	text-align:right;
	border:1px solid #CCCCCC;
    display: block;
}

table.loan td input{
	text-align:right;
	border:1px solid #AAA;
	padding:5px 8px 5px 0;
}


table.loan input:focus{
	background-color:#FFCC99!important;
}

table.loan textarea:focus{
	background-color:#FFCC99!important;
}
table.loan select{
    border: 1px solid #AAA;
    padding: 3px 15px 3px 5px;
    border-radius: 5px;
}

ul#loan_btn{
	margin-left: auto;
    margin-right: auto;
	text-align:center;
    overflow: hidden;
}

#loan_btn li{
	text-align:center;
	display:inline-block;
    margin-bottom: 20px;
}


#loan_btn input{
	padding:12px 20px;
	margin:0 15px;
	border-radius: 5px;
}

#loan_btn input.ex{
	background-color:#FF6633;
	color:#FFF;
}

#loan_btn input.reset{
	background-color:#9DE8F0;
}





/* Mutal Aid
------------------------------------------- */

div.mutal_wrap{
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

div.mutal_box{
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 5px;
    display: inline-block;
    vertical-align: top;
    margin-bottom: 40px;
}

div.mutal_box img{
    width: 200px;
    height: auto;
}

p.mutal_title{ 
    text-align: center;
    font-size: 120%;
}
p.mutal_title span{
    font-size: 150%;
    font-weight: bold;
}

p.mutal_txt{
    text-align: left;
    padding: 10px 20px;
    line-height: 200%;
}


div.farm_btn{
    width: 70%;
    height: 50px;
    overflow: hidden;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
}
div.farm_btn a::after{
    font-family: "Font Awesome 5 Free";
	content: '\f054';
	margin-left:10px;
	font-weight: bold;
}
div.farm_btn a{
	  display: block;
	  width: 100%;
	  height: 100%;
	  line-height: 50px;
	  color: #FFF;
	  text-align: center;
	  font-size: 100%;
	  background-color: #25A639;
	  border: 1px solid #aaa;
	  position: relative;
	  z-index: 2;
}


table.funeral_list{
    width: 1160px;
    margin-left: auto;
    margin-right: auto;
}

table.funeral_list th{
    border: 1px solid #ccc;
    background-color: #EFEFEF;
    text-align: center;
    padding: 12px 0;
}

table.funeral_list th:nth-child(1){
    width: 200px;
}
table.funeral_list th:nth-child(2){
    width: 400px;
}
table.funeral_list th:nth-child(3){
    width: 300px;
}
table.funeral_list th:nth-child(4){
    width: 260px;
}

table.funeral_list td{
    border-bottom: 1px dotted #ccc;
}
table.funeral_list td:nth-child(1), table.funeral_list td:nth-child(2){
    text-align: left;
    padding: 12px;
}
table.funeral_list td:nth-child(4), table.funeral_list td:nth-child(3){
    text-align: center;
    padding: 12px 0;
}



/* Farming
------------------------------------------- */

div.farming_wrap{
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
}

div.farming_box, div.farming_box2, div.farming_box3{
    width: 100px;
    height: 100px;
    border-radius: 5px;
    border: 2px solid #006699;
    margin-left: auto;
    margin-right: auto;
    float: left;
    margin-right: 10px;
    margin-bottom: 15px;
}

div.farming_box:hover, div.farming_box2:hover, div.farming_box3:hover{
    background-color: #EFEFEF;
}

div.farming_box a, div.farming_box2 a, div.farming_box3 a{
    width: 100px;
    height: 100px;
    display: block;
    padding-top:12px;
    line-height: 135%;
}

div.farming_box a::before{
    font-family: "Font Awesome 5 Free";
	content: '\f1c1';
	margin-bottom:5px;
	font-weight: bold;
    color: #FF0000;
    font-size: 150%;
    display: block;
}

div.farming_box2 a::before{
    font-family: "Font Awesome 5 Free";
	content: '\f1c3';
	margin-bottom:5px;
	font-weight: bold;
    color: #FF0000;
    font-size: 150%;
    display: block;
}
div.farming_box3 a::before{
    font-family: "Font Awesome 5 Free";
	content: '\f1c2';
	margin-bottom:5px;
	font-weight: bold;
    color: #FF0000;
    font-size: 150%;
    display: block;
}





/* Information
------------------------------------------ */

div.years_wrap{
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

div.years_tab{
    width: 122px;
    height: 40px;
    display: inline-block;
    margin-left: 5px;
    margin-right: 5px;
    margin-bottom: 10px;
}


div.years_tab a{
    width: 122px;
    height: 40px;
    line-height: 40px;
    border: 1px solid #ccc;
    background-color: #FFF;
    border-radius: 5px;
    text-align: center;
    display: inline-block;
}

div.years_tab a:hover{
    background-color: #EFEFEF;
}

div.years_tab a.on{
    background-color: #EFEFEF;
    color: #D05E13;
}


div.news_wrap{
    width: 100%;
    height: 800px;
    margin-left: auto;
    margin-right: auto;
}

ul.news_list li{
    width: 100%;
    display: block;
    line-height: 170%;
    text-align: left;
    padding-top: 8px;
    padding-bottom: 8px;
    border-bottom: 1px dotted #CCC;
}
ul.news_list li span{
    margin-left: 10px;
    margin-right: 10px;
    border-radius: 5px;
    padding: 4px 8px;
    color: #FFF;
}


ul.news_list li span.ad{
    background-color: #006699;  /*旧広報*/
}
ul.news_list li span.ag{
    background-color: #539837;  /*営農*/
}
ul.news_list li span.fi{
    background-color: #FF3300;  /*金融*/
}
ul.news_list li span.ai{
    background-color: #FF7367;  /*共済*/
}
ul.news_list li span.me{
    background-color: #B0BDF2;  /*整備*/
}
ul.news_list li span.ma{
    background-color: #718FB8;  /*資材*/
}
ul.news_list li span.ge{
    background-color: #F093D6;  /*総務*/
}
ul.news_list li span.pz{
    background-color: #89D67F;  /*あぐり*/
}
ul.news_list li span.oi{
    background-color: #A09393;  /*給油*/
}
ul.news_list li span.ot{
    background-color: #EA3D58;  /*その他*/
}


ul.news_list li a{
    margin-left: 12px;
    display: block;
}




nav.pagination-container ul {
    border: none;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    filter: drop-shadow(0px 1px 3px #ccc);
    transition: 0.3s;
    border-radius: 0px;
    overflow: hidden;
    margin-top: 50px;
}
.pagination li {
    margin: 0;
}
nav.pagination-container ul li a {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 0;
    padding: 15px 18px 13px;
    background: #FFF;
    line-height: 1;
    border-right: solid 1px #eee;
}
li.first {
    border-radius: 5px 0 0 5px;
}
li.last {
    border-radius: 0 5px 5px 0;
}
li.page.navi-active a {
    background: #ebfcfe;
    transform: scale(1.2);
}
.pagenation_block dl {
    border-bottom: solid 1px #ddd;
}

table.news_tb, table.news_tb2{
    width: 1160px;
    margin-left: auto;
    margin-right: auto;
}

table.news_tb caption, table.news_tb2 caption{
    text-align: left;
    margin-bottom: 10px;
}

table.news_tb th{
    width: 850px;
    padding: 12px;
    text-align: left;
    border: 1px solid #CCC;
}

table.news_tb td{
    width: 300px;
    padding: 12px;
    text-align: left;
    border: 1px solid #CCC;
}

table.news_tb tr:nth-child(1) th, table.news_tb tr:nth-child(1) td{
    background-color: #EFEFEF;
    text-align: center;
}

table.news_tb2 th{
    width: 1160px;
    padding: 12px;
    text-align: center;
    border: 1px solid #CCC;
}
table.news_tb2 td:nth-child(1){
    width: 240px;
    padding: 12px;
    text-align: center;
    border: 1px solid #CCC;
}
table.news_tb2 td:nth-child(2){
    width: 920px;
    padding: 12px;
    text-align: left;
    border: 1px solid #CCC;
    line-height: 200%;
}


.selectlink{
    padding: 10px 25px;
    border: 2px #ddd solid;
    border-radius: 3px;
    background-color: #fff;
    cursor: pointer;
}
.selectlink:hover{
    border: 2px #333 solid;
    background-color: #eee;
}

.selectlink option span::after{
    font-family: "Font Awesome 5 Free";
	content: '\f1c2';
	margin-left:5px;
	font-weight: bold;
    font-size: 180%;
}



/* Sitemap
------------------------------------------ */

div.sitemap{
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

div.sitemap ul li{
  text-align: left;
}

div.sitemap ul li ul {
  margin-top: .5em;
  margin-bottom: .75em;
  margin-left: 40px;
  text-align: left;
}
 
.sitemap ul li ul li {
  margin-bottom: .25em;
  position: relative;
  text-align: left;
}
 
.sitemap ul li ul li::before {
  content: "";
  position: absolute;
  top: -0.5em;
  left: -16px;
  width: 10px;
  height: calc(100% + .75em);
  border-left: 1px solid #3972b2;
}
 
.sitemap ul li ul li:last-child::before {
  height: calc(1em + .25em);
}
 
.sitemap ul li ul li::after {
  content: "";
  position: absolute;
  top: .75em;
  left: -16px;
  width: 10px;
  border-bottom: 1px solid #3972b2;
}