/****************************************

		基本

*****************************************/

@import url(http://fonts.googleapis.com/earlyaccess/notosansjp.css);

section , article , footer , aside { display:block; }

* {
    margin:0;
	padding:0;
	border:none;
	list-style:none;
	text-decoration:none;
}

body {
	background:#fff;
	letter-spacing:1px;
	font:18px/1.8 'Noto Sans JP',"メイリオ","Meiryo","ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","Osaka","ＭＳ Ｐゴシック","MS PGothic",Sans-Serif,"verdana";
	color: #333;
}

.wrap {
    overflow: hidden;
}

a {
    color: #0A6CBF;
    text-decoration: none;
}

.aright {
    text-align: right;
}
.aleft {
    text-align: left;
}
.acenter {
    text-align:center;
}

.clear {
    clear: both;
}

#sp-navi {
    display:none;
}

.red {
    color:red;
}

/****************************************

		ヘッダーフッター

*****************************************/

/* ヘッダー */
nav {
/*    position: sticky; */
    position: relative;
    top: 10px;
    min-width: 1200px;
    height: 80px;
    margin: 10px ;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.3);
    text-align: right;
    font-size: 17px;
    font-weight: bold;
    z-index: 99999;
}

nav .logo {
    position: absolute;
    top: 20px;
    left: 30px;
}
nav .logo img {
    height: 40px;
}

nav a {
    position: relative;
    top: 25px;
    margin: 0 20px 0 0;
/*    transition: 0.3s linear; */
    color: #333
}
nav a:hover {
    color: #0A6CBF;
}

nav span {
    position: relative;
    top: 25px;
    margin: 0 10px 0 0;
    color: #0A6CBF;
}

.slider {
    position: absolute;
    top: -100px;
    z-index: -100;
}
.slider img {
    width: 100%;
}

/* 下層共通 */
.news nav, .about nav, .activity nav, .apply nav, .recruit nav, .inquiry nav, .privacy nav {
    box-shadow: none;
}

.news a.news, .about a.about, .activity a.activity, .apply a.apply, .recruit a.recruit, .inquiry a.inquiry  {
    color: #0A6CBF;
}

#under_main {
    position: relative;
    min-width: 1200px;
    margin: 0 0 50px 0;
    text-align: center;
}
#under_main h1 {
    position: absolute;
    top: 100px;
    left: 80px;
    font-family: ヒラギノ明朝 ProN,sans-serif;
    font-weight: 200;
    font-size: 40px;
}
#under_main span {
    position: absolute;
    top: 170px;
    left: 85px;
    text-align: left;
}
#under_main img {
    width: 95%;
    margin: 20px 40px 0 40px;
    border-radius: 10px;
}

#subnavi, #subnavi2 {
    width: 980px;
    margin: 0 auto 50px auto;
    border-left: 1px solid #ddd;
}
#subnavi a, #subnavi2 a {
    display: inline-block;
    width: 320px;
    border-right: 1px solid #ddd;
    text-align: center;
    font-size: 16px;
    color: #333;
    transition: 0.3s linear;
}
#subnavi a:hover, #subnavi2 a:hover {
    background: #f5f5f5;
}
#subnavi a.on, #subnavi2 a.on {
    color: #0A6CBF;
    font-weight: bold;
}
#subnavi2 a {
    width: 480px;
}

main {
    width: 980px;
    margin:0 auto 200px auto;
}

main h1 {
    position: relative;
    margin: 80px 0 60px 0;
    padding: 0 0 20px 0;
    border-bottom: 2px solid #eee;
    font-size: 26px;
    font-weight: 600;
}
main h1 .line {
    position: absolute;
    bottom: -2px;
    display: block;
    width: 120px;
    border-bottom: 2px solid #1070C0;
}
main h1 strong {
    font-size: 18px;
    font-weight: normal;
}

main h2 {
    margin: 80px 0 20px 0;
    padding: 0 0 20px 0;
    text-align: center;
    font-size: 22px;
    font-weight: 600;
}

main h3 {
    position: relative;
    margin: 0 0 20px 0;
    padding: 0 0 0 20px;
    font-size: 18px;
    font-weight: 600;
}
main h3 .line {
    position: absolute;
    top: 8px;
    left: 0;
    display: block;
    width: 4px;
    height: 18px;
    border-left: 4px solid #1070C0;
}

main p {
    margin: 0 0 40px 30px;
}

main table {
    margin: 0 0 40px 30px;
    border-top: 1px solid #eee;
    border-left: 1px solid #eee;
    border-collapse:separate;
    border-spacing:0;
}
main th {
    position: relative;
    padding: 8px;
    background: #eee;
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
    text-align: left;
    font-weight: normal;
    font-size: 16px;
}
main td {
    padding: 8px;
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
    font-size: 16px;
}

main .tanni {
    position: absolute;
    top: -30px;
    right: 0;
    font-size: 10px;
}

main ul {
    margin: 0 0 40px 0;
}
main li {
    margin: 0 0 0px 50px;
    list-style-type: disc;
}

/* ページトップ */
#totop a {
    position:fixed;
    bottom: 10px;
    right: 10px;
    display: inline-block;
    line-height: 50px;
    width: 50px;
    background: #0A6CBF;
    font-size: 40px;
    color: #fff;
    text-align: center;
    z-index: 100;
    transition: 0.3s linear;
}
#totop a:hover {
    bottom: 15px;
    background:none;
    color: #0A6CBF;
}

/* フッター */
footer {
    position: relative;
    height: 300px;
    background: #333;
}

footer div {
    display: inline-block;
    width: 200px;
    margin: 40px 40px 0 40px;
    vertical-align: top;
}

footer a {
    display: block;
    margin: 0 0 30px 0;
    color: #fff;
    font-size: 20px;
}

footer a.under {
    margin: 0 0 0px 20px;
    font-size: 18px;
    font-weight: 200;
}
footer a.mgu {
    margin: -20px 0 0 20px;
}

footer p {
    position: absolute;
    top: 40px;
    right: 70px;
    padding: 30px;
    background: #2F2F2F;
    border: 1px solid #3B3B3B;
    font-size: 18px;
    color: #fff;
}

footer img {
    height:40px;
}

#copy {
    position: relative;
    font-size: 12px;
}

#copy div {
    margin: 10px 0 10px 30px;
}
#copy div a {
    color: #666;
}

#copy span {
    position: absolute;
    top: 0px;
    right: 30px;
}


/****************************************

		トップページ

*****************************************/

/* YBS未来財団について */
#top_about {
    margin: -35px 20px 50px 20px;
    text-align: center;
}

#top_about h1 {
    margin: 0 0 40px 0;
    font-size: 45px;
    font-weight: 400;
    color: #0A6CBF;
}

#top_about p {
    margin: 0 0 20px 0;
    font-size: 20px;
}

#top_about > span {
    display: inline-block;
    width: 100px;
    margin: 0 0 40px 0;
    border-bottom: 1px solid #eee;
}

#top_about h2 {
    margin: 0 0 0px 0;
    font-size: 22px;
    font-weight: 600;
}

#top_about #theme {
    margin: 30px 10px 0 10px ;
    padding: 0 0 30px 0;
    background: #f5f5f5;
    border-radius: 10px;
}

#top_about #theme li {
    position: relative;
    display: inline-block;
    width: 30%;
    margin: 50px 0 0 0;
    text-align: left;
}
#top_about #theme img {
    width: 100px;
    margin: 0 20px 0 0;
}

#top_about #theme span {
    position: absolute;
    top: 30px;
}
#top_about #theme span.two {
    top: 15px;
}

#top_about #theme a {
    display: inline-block;
    margin: 80px 0 50px 0;
    padding: 10px 70px;
    background: #0A6CBF;
    font-weight: 600;
    color: #fff;
    transition: 0.3s linear;
}
#top_about #theme a:hover {
    border: 1px solid #0A6CBF;
    background: #fff;
    color: #0A6CBF;
}

/* お知らせ */
#top_news {
    margin: 0px 20px 0 20px;
    text-align: center;
}

#top_news h1 {
    margin: 0 0 0px 0;
    font-size: 45px;
    font-weight: 400;
    color: #0A6CBF;
}

#top_news > span {
    display: inline-block;
    width: 100px;
    margin: 0 0 0 0;
    border-bottom: 1px solid #eee;
}

#top_news div a {
    position: relative;
    display: inline-block;
    width: 31%;
    margin: 50px 10px 0 10px;
    text-align: left;
    vertical-align: top;
    color: #333;
    transition: 0.3s linear;
}
#top_news div a:hover {
    color: #0A6CBF;
}

#top_news div a img {
    width: 100%;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

#top_news h2 {
    font-size: 18px;
}
#top_news h2 span {
    position: relative;
    left: 30px;
}
#top_news h2 .active {   
    color: #E6A01B;
}
#top_news h2 .news {
    color: #0A6CBF;
}

#top_news .toall {
    display: inline-block;
    margin: 80px 0 50px 0;
    padding: 10px 70px;
    background: #0A6CBF;
    font-weight: 600;
    color: #fff;
    transition: 0.3s linear;
}
#top_news .toall:hover {
    border: 1px solid #0A6CBF;
    background: #fff;
    color: #0A6CBF;
}

/* 事業内容 */
#top_jigyo {
    margin: 50px 0 50px 0;
    padding: 0 0 50px 0;
    text-align: center;
    background: #FAF6EC;
}

#top_jigyo h1 {
    margin: 0 0 0 0;
    padding: 50px 0 0 0;
    font-size: 45px;
    font-weight: 400;
    color: #0A6CBF;
}

#top_jigyo > span {
    display: inline-block;
    width: 100px;
    margin: 0 0 40px 0;
    border-bottom: 1px solid #eee;
}


/****************************************

		個別ページ

*****************************************/
/* 財団について */
.about #under_main h1 {
    top:150px;
}

/* 社会貢献活動 */
.activity main p {
    margin: 0 0 40px 0px;
}

.activity #theme2  {
    /* width: 800px; */
    margin: 50px auto 0 auto;
}

.activity #theme2 div {
    position: relative;
}

.activity #theme2 img {
    width: 100px;
    margin: 0 20px 40px 0;
    vertical-align: middle;
}
.activity #theme2 p {
    position: absolute;
    top: 10px;
    left: 120px;
    line-height: 1.4;
}

/* 助成事業の応募方法 */
.download a {
    display: inline-block;
    margin: 0px 20px 50px 0;
    padding: 10px 70px;
    background: #0A6CBF;
    font-weight: 600;
    color: #fff;
    transition: 0.3s linear;
}
.download a:hover {
    border: 1px solid #0A6CBF;
    background: #fff;
    color: #0A6CBF;
}

/* 人材募集 */
.recruit #under_main h1 {
    top:150px;
}

/* お知らせ */
.newsall {
    margin: 0 0 200px 0 !important;
}

.imgwaku {
    width:100%;
    height:240px;
    margin:0 0 10px 0;
    overflow: hidden;
}
.imgwaku2 {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background:#f5f5f5;
    height:240px;
    margin:0 0 10px 0;
    text-align:center;
}
.imgwaku2 img {
    width:40% !important;
    margin:90px 0 0 0;
}

.news .date {
    position:absolute;
    right:0;
    top: 20px;
    font-size: 20px;
    font-weight: normal;
}

.news main p {
    margin: 0 0 40px 0;
}

.news .text {
    margin:0 0 60px 0;
}

.news .newsimg {
    text-align:center;
}
.news .newsimg img {
    max-width:400px;
}

.tonewstop {
    display: inline-block;
    margin: 80px 0 50px 0;
    padding: 10px 70px;
    background: #0A6CBF;
    font-weight: 600;
    color: #fff;
    transition: 0.3s linear;
}
.tonewstop:hover {
    border: 1px solid #0A6CBF;
    background: #fff;
    color: #0A6CBF;
}


/* 個人情報保護方針 */
.privacy #under_main h1 {
    top:150px;
}

/****************************************

		お問い合わせ

*****************************************/

.form {
    margin: 0 0 0 0;
    text-align: left;
}

.form dt {
    float: left;
    clear: left;
    width: 300px;
    padding:30px 0;
    font-weight:bold;
}

.form dd {
    float: left;
    width: calc(100% - 400px);
    padding:30px 0px;
}

.form dt span {
    margin:0 30px 0 0;
    padding:2px 15px;
    background:#0A6CBF;
    font-size:15px;
    font-weight:400;
    color:#fff;
}
.form dt span.any {
    padding:2px 0 2px 65px;
    background:#fff;
}

.form input[type='text'],.form input[type='email'],.form input[type='tel'] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 2px;
    background: #fafafa;
    font-size:20px;
}
.form textarea {
    width: 100%;
    min-height: 150px;
    padding: 10px;
    border: 1px solid #ddd;
    background: #fafafa;
    font-size:20px;
}
.form input[type='checkbox'] {
    width: auto;
    padding: 0;
    border: none;
    background:none;
}
.form label {
    cursor: pointer;
    margin:0 20px 0 0;
}

.form-actions {
    margin:60px 0 0 0;
}
.form .form-actions input {
    display: block;
    width: 30%;
    margin: 0 auto;
    padding: 13px 70px;
    background:#0A6CBF;
    font-size: 20px;
    font-weight:bold;
    color: #fff;
    cursor: pointer;
    transition: 0.3s linear;
}
.form .form-actions input:hover {
    border:1px solid #0A6CBF;
    background:#fff;
    color: #0A6CBF;
}

.tohome {
    display: inline-block;
    margin: 80px 0 50px 0;
    padding: 10px 70px;
    background: #0A6CBF;
    font-weight: 600;
    color: #fff;
    transition: 0.3s linear;
}
.tohome:hover {
    border: 1px solid #0A6CBF;
    background: #fff;
    color: #0A6CBF;
}

.screen-reader-response {
    color: brown;
    font-weight: bold;
    text-align: center;
}
.screen-reader-response ul {
    display: none;
}

.form dt p, .form dd p {
    margin: 0;
}

.wpcf7-not-valid-tip {
    font-size: 12px;
    color: brown;
}

.wpcf7-response-output {
    display: none;
}

.sent {
    display: none;
}

.wp-block-image img {
    max-width: 50%;
    height: auto;
}