@charset "utf-8";

/* ==================================================
contents
================================================== */
/* Main visual */
#tmp_main_visual{
    position: relative;
    min-height: 600px;
}
#tmp_main_visual img{
    width: 100%;
    height: auto;
    vertical-align: top;
    display: none;
}
#tmp_mv_splide .splide__controls{
	position: absolute;
    bottom: 20px;
    z-index: 1;
    right: 20px;
    background-color: rgba(255, 255, 255, 0.75);
    padding: 5px 20px;
    border: 1px solid #ffffff;
}
#tmp_mv_splide .control_arrow{
    display: flex;
}
#tmp_mv_splide .splide__track,
#tmp_mv_splide,
#tmp_mv_splide .splide__slide{
    height: 100%;
    width: 100%;
}
#tmp_mv_splide .splide__slide .splide_cnt_wrap{
    position: relative;
    height: 100%;
}
#tmp_main_visual .wrap_link{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 380px;
    border: 2px solid #ffffff;
    background-color: rgba(255, 255, 255, .75);
    text-align: center;
    padding: 49px 0 36px;
}
#tmp_main_visual .wrap_link .link_en{
    display: block;
    margin-bottom: 16px;
    color: #333333;
    background-repeat: no-repeat;
    height: 53px;
    background-position: center top;
    text-indent: -9999px;
}
#tmp_main_visual #tmp_open_campus{
    padding-bottom: 41px;
}
#tmp_main_visual #tmp_open_campus .link_en{
    background-image: url(/site/shared/templates/nafic_top/images/main/open_campus_en.png);
    margin-bottom: 11px;
}
#tmp_main_visual .wrap_link a{
    text-decoration: none;
    font-size: 94.2%;
    background-color: #228567;
    background-image: url(/site/shared/templates/nafic_top/images/main/btn_arrow.png);
    background-size: 4px auto;
    background-repeat: no-repeat;
    background-position: right 15px top calc(50% + 1px);
    width: 214px;
    padding: 11px 21px 9px;
    font-weight: bold;
    color: #ffffff;
    display: inline-block;
}
#tmp_mv_splide .splide__toggle{
    display: block;
    margin-right: 10px;
}
#tmp_main_visual #tmp_food_creative{
    width: auto;
    padding: 42px calc(3% + 11px) 33px;
    left: 25%;
}
#tmp_main_visual #tmp_food_creative a{
    width: 253px;
    background-color: #b1560b;
}
#tmp_main_visual #tmp_food_creative .link_en{
    background-image: url(/site/shared/templates/nafic_top/images/main/food_creative_en.png);
    height: 40px;
    margin-bottom: 13px;
}
#tmp_main_visual #tmp_agri_management .link_en{
    background-image: url(/site/shared/templates/nafic_top/images/main/agri_mana_en.png);
    height: 40px;
    margin-bottom: 13px;
    min-width: 276px;
}
#tmp_main_visual #tmp_feature{
    width: 304px;
    padding: 59px 0 51px;
}
#tmp_main_visual #tmp_feature .link_en{
    background-image: url(/site/shared/templates/nafic_top/images/main/feature_en.png);
    margin-bottom: 11px;
}
#tmp_main_visual #tmp_feature a{
    width: 190px;
}
#tmp_main_visual #tmp_agri_management{
    width: auto;
    min-width: 300px;
    padding: 42px calc(3% - 1px) 33px;
    right: 25%;
    left: auto;
    transform: translate(50%, -50%);
}
#tmp_main_visual #tmp_agri_management a{
    width: 253px;
    background-color: #416523;
}
#tmp_main_visual .splide_common .splide__arrow{
    width: 44px;
    height: 44px;
    border: 1px solid #333333;
    border-radius: 50%;
    background-color: #ffffff;
}
#tmp_main_visual .splide_common .splide__arrows--ltr{
    margin-right: 20px;
}
.no_javascript #tmp_main_visual .splide{
    visibility: visible;
}
.no_javascript #tmp_main_visual .show_pc img{
    display: block;
    text-align: center;
}
.no_javascript #tmp_main_visual .splide .splide__list{
    flex-wrap: wrap;
    max-height: 903px;
    overflow: auto;
}
/* Whats News */
#tmp_whats_news{
    padding: 120px 0 100px;
}
#tmp_whats_news .container{
    max-width: 1020px;
}
#tmp_whats_news h2{
    position: relative;
    font-size: 88.2%; 
    text-align: center;
    padding-top: 58px;
    padding-bottom: 18px;
    background: url(/site/shared/templates/nafic_top/images/main/news_en.png) no-repeat center 4px;
}
#tmp_whats_news h2::after{
    content: "";
    display: block;
    width: 45px;
    height: 2px;
    bottom: 0;
    background-color: #23896b;
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
}
#tmp_whats_news .btn_read_more{
    text-align: right;
    display: block;
}
#tmp_whats_news .btn_read_more a{
    font-size: 82.4%;
    display: inline-block;
    text-decoration: none;
    color: #333333;
    margin-bottom: 12px;
    position: relative;
}
#tmp_whats_news .btn_read_more a::before{
    position: absolute;
    bottom: 0;
    left: 0;
    display: block;
    content: "";
    width: 100%;
    height: 2px;
    background-color: #545454;
}
#tmp_whats_news ul{
    list-style: none;
}
#tmp_whats_news ul li{
    display: flex;
    padding: 28px 20px 23px 24px;
}
#tmp_whats_news ul li:nth-child(odd) {
    background-color: #f5f5f5;
}
#tmp_whats_news ul li .time{
    font-size: 82.4%;
    width: 100px;
}
#tmp_whats_news ul li .title{
    font-size: 88.2%;
    flex: 1;
}
#tmp_whats_news ul li .title a{
    display: inline-block;
    color: #333333;
}
#tmp_main_visual .wrap_link a:hover{
    text-decoration: underline;
}
#tmp_whats_news .btn_read_more a:hover::before {
    opacity: 0;
}
#tmp_whats_news ul li .title a:hover{
    text-decoration: none;
}
/* Campus - Guidance */
#tmp_guidance{
	background: url(/site/shared/templates/nafic_top/images/main/graybg.png) top left repeat;
	padding: 90px 0 76px;
}
#tmp_guidance .guidance_ttl{
    max-width: 478px;
    margin: 0 auto;
    margin-bottom: 48px;
}
#tmp_guidance .guidance_ttl h2{
    display: flex;
}
#tmp_guidance .guidance_ttl:after{
    content: "";
    display: block;
    width: 45px;
    height: 2px;
    background-color: #23896b;
    margin: 17px auto 0;
}
#tmp_guidance .guidance_cnt li img,
#tmp_guidance .guidance_ttl img{
    max-width: 100%;
    height: auto;
}
#tmp_guidance .guidance_cnt{
    list-style: none;
    display: flex;
    flex-wrap: wrap;
}
#tmp_guidance .guidance_cnt li{
    width: 50%;
    margin-bottom: 24px;
}
#tmp_guidance .guidance_cnt li a{
    display: flex;
}
#tmp_guidance .guidance_cnt li:nth-child(even){
    padding-left: 12px;
}
#tmp_guidance .guidance_cnt li:nth-child(odd){
    padding-right: 12px;
}
/* Special contents */
#tmp_special_contents{
    background: #000000 url(/site/shared/templates/nafic_top/images/main/special_bg.jpg) 50% 20% / cover no-repeat;
    color: #ffffff;
    padding: 105px 0 50px;
    overflow: hidden;
}
#tmp_special_contents h2{
    text-align: center;
    font-size: 88.24%;
    padding-top: 59px;
    background: url(/site/shared/templates/nafic_top/images/main/special_ttl.png) center top no-repeat;
}
#tmp_special_contents h2::after{
    content: "";
    display: block;
    width: 45px;
    height: 2px;
    background-color: #ffffff;
    margin: 15px auto 0;
}
#tmp_special_contents .special_contents_cnt{
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    margin-left: -25px;
    margin-top: 60px;
}
#tmp_special_contents .special_contents_cnt li{
    width: 31.11%;
    margin-left: 2.22%;
    margin-bottom: 2.22%;
    background: #000000;
    color: #ffffff;
}
#tmp_special_contents .special_contents_cnt a{
    display: flex;
}
#tmp_special_contents .special_contents_cnt img{
    max-width: 100%;
    height: auto;
}
#tmp_guidance .guidance_cnt li a,
#tmp_special_contents .special_contents_cnt a{
    transition: opacity 0.3s;
}
#tmp_guidance .guidance_cnt li a:hover,
#tmp_special_contents .special_contents_cnt a:hover{
    opacity: 0.6;
}
/* ==================================================
print
================================================== */
@media print {
}