/*!
Theme Name: agrifish
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: agrifish
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

agrifish is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/
body{font-size:16px;font-family:"Sawarabi Gothic","Helvetica Neue",Helvetica,Arial,sans-serif;margin:0;padding:0;background-color:#f4fffb}a{transition:.3s}a img{transition:.3s}a:hover img{opacity:.7}a.list-link:before{content:"\f0da";font-family:"Font Awesome 5 Free";margin-left:1em;margin-right:.5em}.mincho{font-family:"Sawarabi Mincho",sans-serif}.en{font-family:Times,Times New Roman,Georgia,serif}.box{background-color:#fff;height:100%;border:2px solid #efefef}.title-en{font-size:11.5px;margin-bottom:5px;color:#fff}.cat{padding:0 10px;border-radius:3px;color:#fff;font-size:14px;width:90px;text-align:center;flex-shrink:0}.cat-osirase{background-color:#b20000}.cat-nyuusijouhou{background-color:#d9a300}.cat-kyouikukenkyu{background-color:#00b200}.cat-notices{background-color:#b20000}.cat-admissions{background-color:#d9a300}.cat-research{background-color:#00b200}.sp-none{display:none}h2{font-weight:200;font-size:20px;letter-spacing:.2em;background-color:#208dc3;color:#fff;padding:.8em;display:flex;align-items:center;border-bottom:5px solid #b2cf3e;background-image:url(/images/agrifish/h2-bg.png)}h2 i{margin-right:.3em}h2>span.en{font-size:12px;letter-spacing:0;font-style:italic;margin-left:1em}header{background-color:#208dc3;position:relative}header a.title:hover{text-decoration:none}header h1{font-size:18px;color:#fff;display:flex;align-items:center;letter-spacing:.05em}header h1 span:last-of-type{font-size:28px;margin-left:.4em}header .left{display:flex;flex-direction:column;justify-content:space-around;padding-top:10px}header .right{display:flex;flex-direction:column;align-items:flex-end;justify-content:space-between;padding:7px 0}header .right>div{line-height:1em;width:110px}header .right a{color:#fff;font-size:11px}header .right a:before{content:"\f0da";font-family:"Font Awesome 5 Free";margin-left:1em;margin-right:.5em}header .right form{position:relative;display:flex;align-items:center}header .right input{font-size:14px;padding:4px;line-height:1em;margin:0;border:none;width:170px}header .right input:after{position:absolute;content:"\f0da";font-family:"Font Awesome 5 Free";color:#208dc3}header .right input::placeholder{color:#ccc;font-weight:400}header .right button{position:absolute;color:#208dc3;border:none;left:130px;top:calc(50% - .5em);line-height:1em;font-size:1em;padding:0;margin:0;background-color:transparent}header .right form a{border:1px solid #fff;background-color:#000;font-size:10px;padding:3px;border-radius:5px;margin-left:5px}header .right form a:before{content:none}header .sp-menu-button{display:none;color:#208dc3;font-size:8px;position:absolute;right:10px;bottom:10px;padding:3px;width:40px;background-color:#fff;text-align:center}header .sp-menu-button>i{font-size:24px;display:block}.gsc-input{width:140px!important}.gsc-search-button-v2 svg{fill:#1f8dc3!important}a.gsst_a{padding:0 5px!important}#gs_tti50{padding:0}#gsc-iw-id1{border-top-left-radius:0;border-bottom-left-radius:0;padding:0;margin-top:5px}#gsc-i-id1{background-image:none !important;text-indent:0px !important}.gsc-adBlock{display:none!important}@media(max-width:992px){header .right input{width:105px!important}header .right button{left:125px}}@media(max-width:767px){header{position:fixed;z-index:1000;width:100%;max-height:90px;top:0}.title-en{font-size:8px}header h1{font-size:16px;letter-spacing:.05em;flex-direction:column;align-items:flex-start}header h1 span:last-of-type{font-size:28px;margin-left:.4em}header .right{background-color:#1f8dc3;padding:5px}header .sp-menu-button{display:block}header .sp-menu-button:hover{text-decoration:none}header .right a{color:#fff}header .right form{position:relative;display:flex;align-items:center;margin-right:10px}header .right>div{line-height:1em;margin-top:5px}header .right{display:flex;flex-direction:row;align-items:normal}#gs_st50{display:none}}#sec_sitemap{background-color:#b2cf3e;color:#fff;padding:30px 0 40px;margin-top:30px;font-size:14px}#sec_sitemap a{color:#fff}#sec_sitemap p{text-align:center;position:relative;margin-bottom:5px}#sec_sitemap p:before{content:"";position:absolute;left:0;right:0;top:50%;border-bottom:1px solid #fff}#sec_sitemap p>span{background-color:#b2cf3e;position:relative;padding:0 10px}#sec_sitemap .col-6 p:nth-of-type(n+2){margin-top:15px}footer{background-color:#208dc3;color:#fff;text-align:center;background-image:url(/images/agrifish/footer-bg.png)}footer .container{padding:50px 0}footer a.title:hover{text-decoration:none}footer h1{font-size:18px;color:#fff;display:flex;align-items:center;justify-content:center;letter-spacing:.05em}footer h1 span:last-of-type{font-size:28px;margin-left:.4em}footer p{font-size:12px}footer #copyright{text-align:center;background-color:#000;font-size:12px;padding:10px 0}@media(max-width:767px){footer h1{font-size:16px}footer h1 span:last-of-type{font-size:20px}footer p{display:flex;flex-direction:column}}#gmenu{background-color:#b2cf3e}#gmenu .container{padding:0}#gmenu a{color:#fff}#gmenu a:hover{text-decoration:none}#gmenu ul{margin:0;padding:0}#gmenu li{list-style:none}#gmenu ul.top{display:flex;justify-content:space-between;width:100%}#gmenu ul.top>li{width:100%;position:relative}#gmenu ul.top>li>a{padding:.5em 0;margin-left:.1em;letter-spacing:.1em;display:flex;height:100%;justify-content:center;align-items:center;line-height:1.2em;flex-direction:column}#gmenu ul.top>li.menu-item-has-children>a:after{content:"\f0d7";font-family:"Font Awesome 5 Free";position:absolute;right:10px}#gmenu ul.top>li:before{border-left:1px solid #fff;content:"";position:absolute;z-index:10;height:60%;top:20%;left:0}#gmenu ul.top>li:last-of-type:after{border-right:1px solid #fff;content:"";position:absolute;z-index:10;height:60%;top:20%;right:0}#gmenu ul.sub-menu{position:absolute;top:100%;left:0;background-color:#fff;display:none;flex-direction:column;z-index:10;border:1px solid #b2cf3e;border-top:none;width:100%;height:0;overflow-y:hidden;transition:.5s}#gmenu ul.sub-menu.active{display:flex}#gmenu ul.sub-menu a{color:#b2cf3e;border-bottom:2px dotted #b2cf3e;display:block;line-height:1.2em;padding:1em .5em;text-align:center;transition:.3s}#gmenu ul.sub-menu a:hover{background-color:#b2cf3e;color:#fff}#gmenu ul.sub-menu li:last-of-type a{border-bottom:none}@media(max-width:767px){#gmenu{position:absolute;z-index:100;width:100%;height:0;overflow-y:hidden;margin-top:130px;top:0}#gmenu.active{height:auto}#gmenu ul.top{flex-direction:column}#gmenu ul.top>li>a{padding:1em 0}#gmenu ul.top>li:before,#gmenu ul.top>li:last-of-type:after{display:none}#gmenu ul.sub-menu{position:relative;display:flex}}.wideslider{background:#fff;width:100%;text-align:left;position:relative;overflow:hidden;height:0}.wideslider .title{position:absolute;z-index:9;top:calc(50% - 60px);left:calc(50% - 200px)}.wideslider ul,.wideslider ul li{float:left;display:inline;overflow:hidden;padding:0}.wideslider ul li img{width:100%;display:none}.wideslider_base{top:0;position:absolute}.wideslider_wrap{top:0;position:absolute;overflow:hidden}.slider_prev,.slider_next{top:0;overflow:hidden;position:absolute;z-index:10;cursor:pointer}.slider_prev{background:#fff no-repeat right center}.slider_next{background:#fff no-repeat left center}.pagination{bottom:10px;left:0;width:100%;height:15px;text-align:center;position:absolute;z-index:10;justify-content:center}.pagination a{margin:0 5px;width:15px;height:15px;display:inline-block;overflow:hidden;background:#333}.pagination a.active{filter:alpha(opacity=100)!important;-moz-opacity:1!important;opacity:1!important}.wideslider ul:after{content:".";height:0;clear:both;display:block;visibility:hidden}.wideslider ul{display:inline-block;overflow:hidden}@media(max-width:767px){.wideslider{margin-top:130px}.wideslider .title img{width:200px;height:60px}.wideslider .title{top:calc(50% - 30px);left:calc(50% - 100px)}}.btns{display:flex;padding:10px}.btns>li>a{display:block;border-radius:5px;background-color:none;width:100px;text-align:center;padding:.7em 0}.btns>li:nth-of-type(1)>a{color:#208dc3}.btns>li:nth-of-type(1)>a.active{background-color:#208dc3;color:#fff}.btns>li:nth-of-type(2)>a{color:#00b200}.btns>li:nth-of-type(2)>a.active{background-color:#00b200;color:#fff}.btns>li:nth-of-type(3)>a{color:#d9a300}.btns>li:nth-of-type(3)>a.active{background-color:#d9a300;color:#fff}.btns>li:nth-of-type(4)>a{color:#b20000}.btns>li:nth-of-type(4)>a.active{background-color:#b20000;color:#fff}.btns div{flex-grow:1;text-align:right;padding:.7em 0}.lists{padding:15px}.lists>a{display:flex;color:#000;padding:1em 0;align-items:center;border-bottom:2px dotted #ccc}.lists>a:hover{background-color:#efefef;text-decoration:none}.lists>a>.date{font-style:italic;padding:0 10px}.lists>a>.ttl{flex-grow:1;padding:0 10px}.links{padding:10px}.links a{display:block;margin-bottom:10px}.links a img{width:100%}@media(max-width:767px){.btns{flex-wrap:wrap}.btns div{width:100%}.btns>li>a{width:75px;font-size:13px}.btns>li:nth-of-type(1){order:2}.btns>li:nth-of-type(2){order:3}.btns>li:nth-of-type(3){order:4}.btns>li:nth-of-type(4){order:5}.lists{padding:5px}.lists>a{flex-wrap:wrap}.lists .ttl{width:100%}.links{display:flex;flex-wrap:wrap}.links a{width:50%}}main{margin:20px 0}#sec_subtitle{font-size:13px;padding:7px 0;position:relative}#sec_subtitle:before,#sec_subtitle:after{content:"";z-index:-1;position:absolute;top:0;left:0;right:0;height:400px}#sec_subtitle:before{background-image:url(/images/agrifish/top2.jpg);background-size:cover;background-position:center center}#sec_subtitle:after{background-image:url(/images/agrifish/h1-bg.png)}.breadcrumbs a{color:#000}.breadcrumbs a:after,.breadcrumbs span:after{padding:0 3px}.breadcrumbs span:last-of-type:after{content:none}.breadcrumbs a:after{padding:0 3px}#sec_subtitle h1{font-size:32px;text-align:center;letter-spacing:.05em;text-indent:.05em;padding:70px 0 20px;text-shadow:2px 2px 2px #fff}@media(max-width:767px){#sec_subtitle{margin-top:130px}#sec_subtitle h1{font-size:24px}}#primary{background-color:#fff;padding:15px;border:2px solid #efefef;height:100%}#primary .impact{font-size:24px;color:red;letter-spacing:.05em;text-indent:.05em;text-align:center;margin:50px 0}#primary h1{font-size:24px;text-align:center;padding:15px}#primary h2{margin-top:60px;margin-bottom:20px}#primary .asset:first-of-type h2,#primary>h2:first-of-type{margin-top:0}#primary h2 a{color:#fff}#primary h3{border-bottom:2px solid #b2cf3e;font-size:18px;padding:8px 12px;margin-top:50px}#primary ul,#primary ol{margin:20px 0}#primary li{margin-bottom:10px}#primary p{line-height:1.7em}#primary .red{color:#ff4c4c}#primary .green{color:#2cb200}#primary img{max-width:100%;padding:10px;width:auto;height:auto}@media(max-width:767px){#primary{padding:10px;margin-left:-10px;margin-right:-10px;border:none}#primary img{max-width:100%;width:auto;height:auto;display:block;margin:0 auto}#primary td{width:100%;display:block}.table1 td{width:50%!important;display:table-cell!important}}#primary table{width:100%}#primary th{background-color:#17a2b8;color:#fff;padding:3px 10px;letter-spacing:.2em;text-align:center}#primary td{padding:3px 10px}@media(max-width:767px){.smart-phone{overflow-x:scroll;overflow-y:hidden;white-space:nowrap}}#secondary{background-color:#fff;padding:10px;border:2px solid #efefef;height:100%}#secondary .links{padding:0}#secondary h3{border-bottom:4px solid #b2cf3e;font-size:18px;padding:8px 12px;margin:30px -10px 10px;text-align:center}#secondary h3:first-of-type{margin-top:0}#secondary .childrens a{display:block;position:relative;padding-left:.7em;font-size:15px;line-height:1.2em;margin-bottom:.5em}#secondary .childrens a:before{content:"\f0da";font-family:"Font Awesome 5 Free";position:absolute;left:0}@media(max-width:767px){#secondary{padding:10px;margin-left:-15px;margin-right:-15px;border:none}}.single-subheader{text-align:right;padding-bottom:15px;border-bottom:1px solid #efefef;margin-bottom:15px}#primary table th,#primary table td{border:1px solid gray}