@charset "utf-8";
@import url("//fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@200..900&display=swap");
@import url("//fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&family=Noto+Serif+JP:wght@200..900&display=swap");
/* CSS Document */



:root {
  --base-maxwidth: 1400px;
  --base-padding: 20px;
		--color-oyellow:#fec800;
		--color-gleen:#509a51;
		--color-red:#e24d4d;
		--color-blue:#6a92dd;
}

/* INDEX  メイン画像-----------------------------------　*/

.main_area{
position: absolute;
top: 0;
left: 0;
width: 100%;
background: url("../../items/index/main.png") no-repeat top left;
background-size: 100% auto;
min-height: 700px;
height: 60vh;
z-index: 1;
}

.main_area div br{
display: none ;
}
.main_area div:first-of-type{
margin-top: 200px;
text-align: right;
color: #fff;
font-size: 25px;
font-family: "Noto Serif JP", serif;
padding-right: 120px;
}

.main_area div:first-of-type h2{
font-size: 90px;
}

/* メイン画像内の線 */
.main_area div:first-of-type p span{
position: relative;
display: inline-block;
}

.main_area div:first-of-type p span:after{
content: "";
position: absolute;
left: 0;
bottom: -2px;
border-bottom: solid 1px #fff;

width: 10%;
transition: width 3s; /* アニメーションを適用 */
}
.main_area div:first-of-type p span.visible:after {
    width: 100%; /* 最終状態 */
}

.main_area div:nth-of-type(2) a{
margin: 50px 30px 30px 30px;
color: #fff;
border: solid 1px #fff;
width: fit-content;
height: auto;
padding: 20px 40px 20px 20px;
text-align: center;
display: block;
position: relative;
transition: 0.3s;
font-size: 1.3em;
background: rgba(0,0,0,0.5);
}
.main_area div:nth-of-type(2) a:hover{
background: rgba(0,0,0,0.8);
color: #ffff00;
}

.main_area div:nth-of-type(2) a::after{
content: '';
width: 8px;
height: 8px;
margin-top: -5px;
border-top: solid 1px #fff;   /* 好みで色を変えてください */  
border-right: solid 1px #fff;   /* 好みで色を変えてください */  
transform: rotate(45deg);
position: absolute;
top: 50%;
right: 15px;
}

@media screen and (max-width: 736px) {
.main_area{
background-size:  auto 100%;
}
.main_area div br{
display: block;
}

.main_area div:first-of-type{
margin: 200px auto 10px;
padding: 0;
text-align: center;
}
.main_area div:nth-of-type(2) a{
margin: 50px auto 20px;
}

}


/* INDEX  の内容---------------------------------------------*/


.con_wrap.index{
margin-top: 700px;
}

.top_news_logo{
display: flex;
padding: var(--base-padding);
}

.top_news_logo section{
border: solid 1px #ccc;
width: 48%;
}
.con_wrap.index .con_main{
display: flex;
justify-content: space-between;
margin-bottom: 50px;
}

.top_news{
width: 54%;
}
.logo_area{
width: 40%;
margin-top: -50px;
}
.logo_area h3{
color: var(--color-blue);
font-weight: 600;
font-size: 19px;
margin-bottom: 1em;
}
.logo_area p{
line-height: 1.9em;
font-size: 14px;
}
.logo_area img{
width: 90%;
margin-bottom: 50px;
}
.index .con_ttl::after{
height: 270px;
}
@media screen and (max-width: 1100px) {
.con_wrap.index .con_main{
display: block;
}
.top_news,
.logo_area{
width: 100%;
}
.logo_area{
margin-top:10px;
display: flow-root;
}
.logo_area img{
width: 270px;
float: left;
margin-right: 30px;
margin-left: -260px;
}
}
@media screen and (max-width: 736px) {
.con_wrap.index {
	margin-top: 660px;
}
.logo_area img{
float: none;
margin-left: 0;
margin: 20px auto;
}
.index .con_ttl h3 span{
display: inline;
}
.logo_area h3 br{
display: none;
}
.index .con_ttl.c_green h3{
margin-top:0;
margin-bottom:20px;
}
.index .con_ttl::after{
height: 2px;
bottom: -20px;
}
}



/*INDEXのボタン*/
.index .con_ttl a.btn_green{
padding: 10px;
background-color: var(--color-gleen);
color: #fff;
text-align: center;
position: relative;
padding-right : 70px;
padding-left: 20px;
font-size: 12px;
font-weight: 400;
display: inline-block;
transition : all 0.5s ease 0s;
}
.index .con_ttl a.btn_green::before{
content: '';
width: 40px;
height: 1px;
background-color: #fff;
position: absolute;
right: 15px;
bottom: 15px;
transition : all 0.5s ease 0s;
}
.index .con_ttl a.btn_green::after{
content: '';
width: 11px;
height: 11px;
border-left: solid 1px #fff;
transform: rotate(-45deg);
position: absolute;
right: 10px;
bottom: 17px;
transition : all 0.5s ease 0s;
}
.index .con_ttl a.btn_green:hover{
background-color: rgba(80,154,81,0.8);
}
.index .con_ttl a.btn_green:hover::before{
right: 12px;
}
.index .con_ttl a.btn_green:hover::after{
right: 7px;
}


.index .con_ttl h3{
margin-top: 2em;
}

/*--お知らせのtable--*/
.index .tbl_news{
}
.tbl_news th,
.tbl_news td{
padding: 5px;
text-align: left;
}
.tbl_news th{
color: #7f7f7f;
font-size: .9em;
width: 10em;
}
.tbl_news td{
font-size: 16px;
}
@media screen and (max-width: 1100px) {
.index .tbl_news th,
.index .tbl_news td{
border-bottom: none;
display: block;
width: 100%;
padding:0;
}
.index .tbl_news td{
padding-bottom: 10px;
}
}
@media screen and (max-width: 736px) {
.index .con_ttl p{
margin-bottom: 20px;
}

.index .tbl_news{
margin-top: 50px;
}
.index .tbl_news td{
font-size: 1.1em;
}
}


/* INDEX  2段目-----------------------------------　*/

.index02.con_wrap{
padding-bottom:4em;
padding-top: 4em;
}

.boxblue_list,
.boxgreen_list{
display: flex;
flex-wrap: wrap;
justify-content:space-between;
}
.boxblue_list div:nth-child(2n),
.boxgreen_list div:nth-child(2n){
margin-top: 2em;
}
.boxblue_list div,
.boxgreen_list div{
padding: 5px;
position: relative;
z-index: 1;
width:23%;
}

@media screen and (max-width: 736px) {
.boxblue_list div,
.boxgreen_list div{
width:48%;
}
}

.boxblue_list div img,
.boxgreen_list div img{
border-radius: 5px;
}
.boxblue_list h4,
.boxgreen_list h4{
margin-top: -60px;
margin-left: -15px;
position: relative;
z-index: 3;
}
.boxblue_list h4 span,
.boxgreen_list h4 span{
display: block;
border: solid 1px #ccc;
background-color: #fff;
padding: 10px 15px;
font-weight: 500;
font-size: 16px;
width: fit-content;
transition: 0.3s;
}

/*--緑---*/


.boxgreen_list h4 span{
border: solid 1px var(--color-gleen);
color: var(--color-gleen);
}

.boxgreen_list h4 span.boxgreen{
color: #fff;
background-color: var(--color-gleen);
}

.boxgreen_list a:hover h4 span{
color: #fff;
background-color: rgba(80,154,81,0.8);
}
.boxgreen_list a:hover h4 span.boxgreen{
color: var(--color-gleen);
background-color: rgba(255,255,255,0.50);
}

/*--青---*/

.boxblue_list h4 span.boxblue{
color: #fff;
background-color:var(--color-blue);
}
.boxblue_list h4 span{
border: solid 1px var(--color-blue);
color: var(--color-blue);
}

.boxblue_list a:hover h4 span{
color: #fff;
background-color: rgba(106,146,221,0.8);
}
.boxblue_list a:hover h4 span.boxblue{
color: var(--color-blue);
background-color: rgba(255,255,255,0.50);
}

span.boxblue img.pdf{
display: inline-block;
border-radius: 0;
margin-left: 2px;
margin-left: 9px;
vertical-align: middle;
}

.index03 .con_ttl::after,
.index02 .con_ttl::after{
width: 40px;
height: 2px;
right: auto;
left:0;
bottom: auto;
top: 8em;
}
.index02 .con_ttl{
margin-top: 2em;
}
.index03 .con_ttl p,
.index02 .con_ttl p{
background-color: #fff;
border-radius: 3px;
padding: 15px;
margin: -15px;
display: block;
line-height: 2.5em;
margin-bottom: 1em;
}
.bg_gray2.ind{
margin-top: 30px;
}

@media screen and (max-width: 1100px) {
.con_wrap.index03,
.con_wrap.index02{
display: block;
}
.index03 .con_ttl,
.index03 .con_main,
.index02 .con_ttl,
.index02 .con_main {
width: 100%;
padding-left:0;
}
.index03 .con_ttl span,
.index02 .con_ttl span{
display: inline-block
}
.boxblue_list div,
.boxgreen_list div{
width: fit-content;
margin: 20px auto;
width: 50%;
display: flex;
justify-content: center;
align-items: center;
}
.index02.con_wrap {
    padding-top: 0em;
}

.logo_area img{
margin-bottom: 5px;
}
.con_wrap.index .con_main{
margin-bottom: 20px;
}
}

@media screen and (max-width: 736px) {
.boxblue_list,
.boxgreen_list{
display: block;
}
.boxblue_list div,
.boxgreen_list div{
margin: auto;
margin-bottom: 50px;
width: fit-content;
display: block;
}

}

/* INDEX  3段目-----------------------------------　*/

.index03.con_wrap{
flex-direction: row-reverse;
padding-bottom:4em;
padding-top: 4em;
}
.index03 .con_main{
padding-left: 0px;
padding-right: 40px;
}
.index03 .con_ttl.c_blue {
padding-left: 20px;
padding-right:0;
}
.index03 .con_ttl p{
height: 200px;
}

.index03 .con_ttl::after {
left: 22px;
}

@media screen and (max-width: 1100px) {
.index02 .con_ttl::after ,
.index03 .con_ttl::after {
top:5em;
}
.index03 .con_ttl p {
height: auto;
}
}

@media screen and (max-width: 736px) {
.index03 .con_main{
padding-right: 0;
}
}

section.top_bookimg{
display:flex;
justify-content:center;
align-items:center;
background-color:#f5f5f5;
border-radius: 5px;
padding: 20px;
max-width: 250px;
}

section.top_bookimg img{
border-radius:0;
}

/* ご挨拶・組織図・沿革 ---------------*/


.lead_box{
display: flex;
justify-content: center;
align-items: center;
height: 16em;
width: 100%;
background-image: linear-gradient(90deg, rgb(135, 232, 150,.4), rgb(145, 236, 218,0.3));
margin: 0 0 3em;
}
.lead_box p{
font-family: "Noto Serif JP", serif;
font-weight: 500;
font-size: 1.6em;
padding: 20px;
text-align: center;
}


.gree_chairman{
display: flex;
justify-content: space-between;
 align-items: flex-end;
	margin-bottom: 30px;
}
.gree_chairman div{
width: 48%;
}
@media screen and (max-width: 1100px) {
.gree_chairman{
display: block;
}
.gree_chairman div:nth-child(1){
width: 80%;
}
.gree_chairman div:nth-child(2){
width: 100%;
}
}
@media screen and (max-width: 736px) {
.gree_chairman div:nth-child(1){
width: 100%;
}
}




.history table th{
width: 20%;
}
@media screen and (max-width: 736px) {
.history table th{
width: 100%;
background-color: #eee;
}
}

