@charset "UTF-8";

/*youtube
---------------------------------------------------------------------------*/
.youtube {
 position: relative;
 padding-bottom: 56.25%; /*アスペクト比 16:9の場合の縦幅*/
 height: 0;
 overflow: hidden;
}
.youtube iframe {
 position: absolute;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
}


/*hr
---------------------------------------------------------------------------*/
hr {
border-width: 1px 0 0 0; /* 太さ */
border-style: dotted; /* 線種 */
border-color: #3F3F3F; /* 線色 */
height: 1px; /* 高さ */
max-width: 100%;
clear:both;
margin: 15px 0;
}


/*title
---------------------------------------------------------------------------*/
#title {
margin: 0;
width: 100%;
padding: 0;
text-align: left;
overflow:hidden;
height: 130px;
}
.orange {
background-color: #de5600;
}
.green {
background-color: #00982e;
}
#title h2 {
font-size: 130%;
font-weight: normal;
color: #fff;
display: inline-block;
line-height: 130px;
}
.t_cont {
padding: 0 0 0 6%;
box-sizing:border-box;
width:100%;
position: relative;
}
.top-right {
position: absolute;
top: 50%;
right: 5%;
transform: translateY(-50%);
}
.top-right img {
width: 80px;
height: auto;
}

@media screen and (min-width: 768px) {
.t_cont {
margin: 0 auto;
}
}

@media screen and (min-width: 1024px) {
#title {
height: 230px;
}
#title h2 {
font-size: 200%;
line-height: 230px;
}
.top-right {
right: 0;
}
.top-right img {
width: 150px;
}
.t_cont{
width:1000px;
padding: 0;
}
}


/*tex
---------------------------------------------------------------------------*/
.tex {
width: 100%;
line-height: 2em;
text-align:justify;
text-justify:inter-ideograph;
overflow: hidden;
padding: 50px 0
}

.tex_archive{
width: 100%;
line-height: 2em;
text-align:justify;
text-justify:inter-ideograph;
overflow: hidden;
padding: 10% 0
}
.tex_archive p{
line-height: 1.9
}

.tex img {
border: 0;
max-width: 100%;
height: auto;
box-sizing: border-box;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
-o-box-sizing: border-box;
-ms-box-sizing: border-box;
}
.tex p{
margin: 0;
padding: 0;
}
.tex img a {
border: 0;
}
.tex a:hover img,
.tex a:hover {
opacity: 0.8;
transition: 0.8s;
text-decoration: none;
}

@media screen and (min-width:768px) {
.tex {
padding: 60px 0
}
.tex_archive {
padding: 5% 0
}
}

/* 等分
---------------------------------------------------------------------------*/
.boxA:after{content: "";
display: block;
clear: both}
@media screen and (min-width: 768px) {
.box2{float: left;width: 47%;}
.box3{float: right;width: 47%;}
.boxB{float: left;width: 35%;}
.boxC{float: right;width: 60%;}
}
@media (max-width:767px){
.box2,.boxB{margin-bottom: 5%}
}

/* ボックス*/
.box_nuri {
padding: 2.5em 3.5em;
margin: 2em 0;
background: #f5f5f5;/*背景色*/
}
.box_nuri p,
.box_waku p{
margin: 0; 
padding: 0;
}
.box_waku {
padding: 2em;
margin: 1.5em 0 0 0;
border: 1px solid #848484;
}
p.indent {
text-indent: -2em;
padding-left: 2em;
margin: 1em 0;
}
@media (max-width:767px){
.box_nuri {
padding: 1.5em 2em;
}
.box_waku{
padding: 1.5em;
}
}


/*見出し
---------------------------------------------------------------------------*/
h3.midasi {
color: #00982e;
font-weight: normal;
font-size: 1.4em;
margin-bottom: 20px
}
h3.midasi:after{
content: "";
clear: both;
height: 0;
display: block;
visibility: hidden;
}
@media screen and (min-width:768px) {
h3.midasi{font-size: 1.6em;
}
}


/* ---------------------------------------------------------------------------------------------

　 table

--------------------------------------------------------------------------------------------- */
table {
width: 100%;
border-collapse: collapse;
margin: 10px 0;
border-style: solid;
border-width: 0;
border-bottom: 1px solid #ccc;
text-align: left;
}
table th,
table td {
font-weight:normal;
padding: 1em;
border-top: 1px solid #ccc;
border-bottom: 1px solid #ccc;
vertical-align: middle;
}
table td img {
margin: 0 0 10px 0;
margin-bottom: 0;
}

/* 横線のデザイン */
.table_design {
border-collapse: collapse;
width: 100%;
}
.table_design td {
border-top: 2px solid #e6e6e6;
padding: 1em 0 1em 2em;
}
.table_design td:first-child {
border-top: 2px solid #00982e;
width: 30%;
padding: 1em;
}
@media only screen and (max-width:768px) {
 .table_design td:first-child {
padding: 1em 0;
}
}

/*pagination
---------------------------------------------------------------------------*/
.pagination {
clear: both;
padding: 20px 0;
position: relative;
font-size: 12px;
line-height: 12px;
text-align: center;
margin-bottom:3%
}
.pagination-box {
display: inline-block;
}
.pagination span, .pagination a {
display: block;
float: left;
margin: 2px 2px 2px 0;
padding: 8px 10px 8px 10px;
text-decoration: none;
width: auto;
color: #fff;
background: #c5c5c5;
}
.pagination a:hover {
color: #fff;
background: #00982e;
}
.pagination .current {
padding: 8px 10px 8px 10px;
background: #00982e;
color: #fff;
}
.page_box {
float: left;
width: 100%;
margin-top:20px
}

@media screen and (min-width: 768px) {
.pagination {
font-size: 14px;
line-height: 14px;
}
.pagination span, .pagination a {
padding: 10px 15px 10px 15px;
}
.pagination .current {
padding: 10px 15px 10px 15px;
}}


/*ギャラリー
---------------------------------------------------------------------------*/
.gallery { /** ギャラリーを囲むボックス **/
width: 100%;
margin-bottom: 20px !important;
overflow: hidden;
display:-webkit-box;
display:-moz-box;
display:-ms-flexbox;
display:-webkit-flex;
display:-moz-flex;
display:flex;
-webkit-box-lines:multiple;
-moz-box-lines:multiple;
-webkit-flex-wrap:wrap;
-moz-flex-wrap:wrap;
-ms-flex-wrap:wrap;
flex-wrap:wrap;
}
.gallery br {display: none;} 
.gallery-item { /** 画像共通のスタイル **/
float: left;
margin-bottom: 0 !important;
}
.gallery-icon { /** 画像を囲む dt のスタイル **/
text-align: center;
}
.gallery-icon img {
width: 100%;
height: auto;
margin-bottom: 10px !important;
}
.gallery-caption,
.wp-caption-text { /** キャプション **/
color: #222;
font-size: 14px;
margin: 0 0 10px;
text-align: center;
}
.gallery-columns-1 .gallery-item { /** カラムなし **/
width: 100%;
margin-right: 0;
}
.gallery-columns-2 .gallery-item { /** 2カラム **/
width: 48%;
margin: 0 1%;
}
.gallery-columns-3 .gallery-item { /** 3カラム **/
width: 31.33333%;
margin: 0 1%;
}
.gallery-columns-4 .gallery-item { /** 4カラム **/
width: 23%;
margin: 0 1%;
}
.gallery-columns-5 .gallery-item { /** 5カラム **/
width: 18%;
margin: 0 1%;
}

@media (max-width:767px){
/* 640px以下用の記述 */
.gallery-columns-3 .gallery-item{
width: 48%;
margin: 0 1%;
}
.gallery-columns-5 .gallery-item {
width: 31.33333%;
margin: 0 1%;
}
}


/*キャプション
---------------------------------------------------------------------------*/
figure {
background-color: #fff;
padding: 5px;
display: table;
overflow: hidden;
}

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

figcaption {
display: table-caption;
caption-side: bottom;
background: #fff;
}
@media only screen and (max-width:60em) {
figure {
text-align:center;
clear:both;
overflow:hidden;
padding:0;
margin:0 auto
}
figure .alignright img,
figure .alignleft img{float:none;}
}

/* 次へ　戻る　前へ
---------------------------------------------------- */
.kiji_link{
display: flex;
align-items: flex-end;
height: 100px;
width: 100%;
margin: 0 auto
}
.kiji_link>div{
width: calc(100% / 3);
text-align: center;
vertical-align: middle;
}
.kiji_link a{
text-decoration: none;
color: #555;
font-size: 1em;
}
.kiji_link a:hover{
opacity: 0.6;
transition: 0.5s;
}
@media screen and (min-width: 768px) {
.kiji_link{
width: 600px;
}
}

/*btn_BOX
---------------------------------------------------------------------------*/
.btn_page a{
padding: 0;
display: block;
justify-content: center;
width: 100%;
border-left: 1px solid #ccc;
border-right: 1px solid #ccc;
}

/* editボタン
---------------------------------------------------- */
.postmetadata{
margin: 10px 0;
width:100%;
clear:both;
}
.edit-link{
width:100%;
clear:both;
}
a.post-edit-link {
display: inline-block;
padding: 0 1.6em;
font-size: 0.8em;
color: #fff;
text-decoration: none;
user-select: none;
background: #999;
transition: 0.2s ease;
}
a.post-edit-link:hover {
opacity: .6;
color: #fff;
}
.edit-link:after{
content: "";
clear: both;
height: 0;
display: block;
visibility: hidden;
}

/*arvhive
/* ------------------------------------- */
.info_box1{
margin-top: 50px;
}
.i_date{
color: #3F3F3F;
margin: 0 10px 0 0;
font-size: 85%;
min-width: 100px;
}
.i_text{
margin: 0;
text-decoration: none;
font-weight: normal;
font-size: 100%;
line-height: 150%;
color: #555;
padding:5px 0;
width: 100%;
}
.info_box a:hover {
background-color: #f9fafc;
cursor: pointer;
}

/* single */
.i_date2{
color: #3F3F3F;
margin: 0;
font-size: 85%;
}
.i_title{
font-size: 150%;
font-weight:400;
line-height: 150%;
margin: 0 0 30px 0;
padding: 0;
}
/* footer線 */
.i_text_box{
margin: 0 0 30px 0;
padding: 0 0 30px 0;
}


@media screen and (min-width:768px) {
/* single */
.i_title{
font-size: 200%;
line-height: 200%;
}
.i_text_box_none{
width: 750px;
margin: 0 auto
}
}

/*投稿　ファイル
/* ------------------------------------- */
.pdf-box {
width :100%;
clear: both
}
.pdf-box a{
position: relative;
display: inline-block;
padding: 1.5em 1.5em 1.5em 70px;
background-color: #fff;
text-decoration: none;
text-align: left;
margin: 10px 0;
width: auto;
max-width :100%;
font-size: 80%;
line-height: 1.5em;
border: 1px solid #cee9cc;
}

.pdf-box a::before {
content: '';
display: block;
width: 39px; 
height: 50px;
background-image: url('../img/page/pdf-icon.png');
background-size: contain;
background-repeat:no-repeat;
position:absolute;
top:0;
left:15px;
bottom:0;margin:auto;
}

@media screen and (min-width:768px) {
.pdf-box a{
padding: 1.5em 1.5em 1.5em 90px;
font-size: 100%;
}
.pdf-box a::before {
width: 47px; 
height: 60px;
left:20px;
}
}