@charset "utf-8";
/*
Theme Name: WING-AFFINGER5 Child
Template: affinger5
Description: ver20180831以上対応
Version: 20180831
*/
img{
    max-width: 100%;
}
body{
    background-color:#fafafa;
}
@media(max-width:500px){
    .inquiry th,.inquiry td {
       display:block!important;
       width:100%!important;
       border-top:none!important;
       -webkit-box-sizing:border-box!important;
       -moz-box-sizing:border-box!important;
       box-sizing:border-box!important;
   }
   .inquiry tr:first-child th{
       border-top:1px solid #d7d7d7!important;
   }
   /* 必須・任意のサイズ調整 */ 
   .inquiry .haveto,.inquiry .any {  
    font-size:8px;
    }
	span,a,p,h2 {
		font-size: 80%;
	}
	.graybox #text {
		font-size: 70px;
	}
	.header_position img {
		width: 100%;
		}
	}

    /*見出し欄*/
    .inquiry th{
       text-align:left;
       font-size:14px;
       color:#444;
       padding-right:5px;
       width:30%;
       background:#f7f7f7;
       border:solid 1px #d7d7d7;
   }
   /*通常欄*/
   .inquiry td{
       font-size:13px;
       border:solid 1px #d7d7d7;  
   }
   /*横の行とテーブル全体*/
   .entry-content .inquiry tr,.entry-content table{
       border:solid 1px #d7d7d7;  
   }
   /*必須の調整*/
   .haveto{
       font-size:7px;
       padding:5px;
       background:#ff9393;
       color:#fff;
       border-radius:2px;
       margin-right:5px;
       position:relative;
       bottom:1px;
   }
   /*任意の調整*/
   .any{
       font-size:7px;
       padding:5px;
       background:#93c9ff;
       color:#fff;
       border-radius:2px;
       margin-right:5px;
       position:relative;
       bottom:1px;
   }
   /*ラジオボタンを縦並び指定*/
   .verticallist .wpcf7-list-item{
       display:block;
   }
   /*送信ボタンのデザイン変更*/
   #formbtn{
       display: block;
       padding:15px;
       width:350px;
       background:#ffaa56;
       color:#fff;
       font-size:18px;
       font-weight:bold;   
       border-radius:2px;
       margin:25px auto 0;
   }
   /*送信ボタンマウスホバー時*/
   #formbtn:hover{
       background:#fff;
       color:#ffaa56;
       border:2px solid #ffaa56;
   }
   .text-left {
    text-align: left;
}
/* header .smanone ul.menu li:hover, header nav.st5 ul.menu li:hover, header #st-menuwide div.menu li:hover, header #st-menuwide nav.menu li:hover {
    background: inherit !important;
}

header .smanone ul.menu li a:hover {
    background: rgba(255,255,255,.2);
}
header .smanone ul.menu li{
    padding:6px;
    border-right:none;
}
header .smanone ul.menu li a {line-height: 28px;border: 1px solid #eee;border-radius: 5px;background: rgba(0,0,0,.1);}
*/
header .smanone ul.menu {
    font-size: 0;
    text-align: center;
}
header .smanone ul.menu li {
    border-right: none;
    display: inline-block;
    float: none;
    width: auto;
    border: none;
}

header .smanone ul.menu li a {
    margin: 10px 0;
    line-height: 20px;
    height: calc(100% - 20px);
    padding: 0 16px;
    border-right: 1px solid #000;
    width: auto;
}

header .smanone ul.menu li:last-of-type a {
    border: none;
}
#headbox-bg {
    background: url(https://materials.questar.ac/wp-content/uploads/2019/06/bg_paper.jpg) !important;
}
#st-menuwide {
    background: transparent !important;
    border-color: transparent !important;
}
header .descr{
    color:#000 !important;
}

header .sitename img {
    max-height: 60px;
}
.widget_media_image {
    text-align: center;
}
#side aside ul li a {
    position: relative;
    vertical-align: middle;
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    border-bottom: 1px solid #e1e1e1;
    color: #1a1a1a;
    text-decoration: none;
    display: block;
}
#side aside ul li a::after{
    content: " \f105";
    font-family: FontAwesome;
    position: absolute;
    right: 10px;
}
.st-ac-box {
    padding: 20px 0;
}
#footer .headbox {
    display: none;
}

.slick-prev, .slick-next, .slick-prev:hover, .slick-prev:focus, .slick-next:hover, .slick-next:focus {
    background: transparent;
}
/*--------------------------------
スマホフッターメニュー
---------------------------------*/
#footer .footerlogo {
    display: none;
}
#st-footermenubox {
    position: fixed;
    bottom: 0px;
    right: 0px;
    width:100%;
    height:auto;
    box-sizing:border-box;
    padding:10px;
    background:#fff;  
    box-shadow:0px 0px 5px;
    z-index:9999;
}

#st-footermenubox a {
    text-decoration: none;
}

#st-footermenubox ul.menu  {
    display:table;
    table-layout: fixed;
    width:100%;
}
#st-footermenubox ul.menu li{
    display:table-cell;
    vertical-align:middle;
    text-align:center;
    font-size:13px;
}

#st-footermenubox ul.menu li .fa{
    font-size:13px;
}
#side aside ul li a:hover {
    opacity: .5;
}
#header-r {
    max-width: 100%;
    margin-top: 1rem;
}
#footer .footerlogo {
    line-height: 22px;
    margin-bottom: .2rem;
}
.header_bottom_description {
    background: black;
    padding: 16px 8px;
    color: #fff;
    font-size: 1.4rem;
    text-align: center;
}

.footermenust {
    padding: 8px 20px 20px;
}
.slick-slider.slick-dotted {
    padding-bottom: 0;
}
.slick-dots{
    bottom: 5px;
}
.front-page main {
    /* margin-left: -1000px; */
    /* padding-left: 1000px; */
    /* margin-right: -1000px; */
    /* padding-right: 1000px; */
    /* padding-bottom: 120px; */
    padding-top: 0;
}
#content-w {
    overflow: hidden;
}
#side .ad {
    background: #fafafa;
}

aside h4:not(.st-css-no2), #side aside h4:not(.st-css-no2), .st-widgets-title:not(.st-css-no2) {
    margin-bottom: 4px;
}
#side .ad.widget_media_image {
    background: transparent;
}
#side #formbtn {
    width: 180px;
}
#side .custom-html-widget {
    background: #fff;
}
.kanren:not(.st-cardbox) p.st-catgroup.itiran-category {
    display: none;
}
main{
    border-radius:0px !important;
}
.st-cardstyle .kanren dt {
    margin: .5rem;
    height: 194px;
    width: calc(100% - 1rem) !important;
    z-index: 0;
    position: relative;
}


.st-cardstyle .kanren dd {
    padding: 0 20px 6px;
    z-index: 1;
    position: relative;
}

.st-cardstyle .kanren dt.st-card-img {
    position: relative;
}


.st-cardstyle .kanren dt img {
    position: relative;
}

.st-cardstyle .kanren dl, .st-cardstyle .kanren.st-cardbox dl:last-child {
    border-radius: 4px;
}

.st-card-excerpt.smanone {
    margin-top: 8px;
}
.st-cardstyle .kanren dd {
    padding: 0 1rem;
}
.st-cardbox .clearfix dd p {
    color: #1a1a1a;
}
.st-cardbox:hover {
    opacity: 1;
    box-shadow: 0px 4px 15px rgba(0,0,0,.24);
}
.st-cardbox .clearfix dd h5, .post .st-cardbox .clearfix dd h5, #side .st-cardbox .clearfix dd h5 {
    border-bottom: none;
}

.su-column-size-1-3 {
    width: 31.8% !important;
}

.su-row .su-column.su-column-size-1-3 {
    margin: 0 0 0 1.5% !important;
}
.h4modoki, .post h4:not(.st-css-no):not(.st-matome):not(.rankh4):not(.point) {
    background: transparent !important;
}

.front-page .post h4:not(.st-css-no):not(.st-matome):not(.rankh4):not(.point) {
    color: #333;
    border-color: #333;
    font-size: 21px;
    font-weight: 400;
    border-left-width: 3px;
}
#side .custom-html-widget textarea,#side .custom-html-widget input {
    border: 1px solid #aaa;
}
.whitebox {
    padding: .6rem;
    margin-left: -1000px;
    padding-left: 1000px;
    margin-right: -1000px;
    padding-right: 1000px;
    background: #fff;
    margin-bottom: 1.6rem;
}
.front-page .post ul li {
    display: inline-block;
    padding-left: 4px;
    position: relative;
    min-width: 46%;
}

.front-page .post ul:not(.toc_list):not(.st_toc_list):not(.children) {
    padding: 0;
}

.front-page .post ul li:before {
    content: '\f054';
    font-family: FontAwesome;
    left: -3px;
    position: relative;
}

.front-page .post ul li:nth-child(odd) {
    text-align: left;
}

.front-page .post ul li:nth-child(even) {
    text-align: right;
}
.front-page main .entry-content h2:first-of-type {
    margin-top: 0;
}
header .headbox .custom-html-widget {
    background: transparent !important;
    text-align: right;
}

.front-page .post ul li a {
    text-decoration: none;
    color: inherit;
}
.footermenust li {
    border-right: 1px solid #000;
}

.footermenust li:last-of-type {
    border: none;
}
#side .menu_underh2 span {
    padding-left: 26px;
    background-image: url(https://materials.questar.ac/wp-content/themes/affinger5-child/photo-icon.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left center;
}
.materials_request_area{
	padding: 10px;
}
/*media Queries スマートフォンとタブレットサイズ（959px以下）で適応したいCSS - スマホ・タブレット
---------------------------------------------------------------------------------------------------*/
@media only screen and (max-width: 959px) {
    #formbtn {
        width: auto;
    }

    .st-cardstyle .kanren dt {
        margin-bottom: 1rem;
    }

    a .st-cardbox h5 {
        font-size: 16px;
        bottom: -4px;
    }
    .su-row .su-column.su-column-size-1-3{
        margin:0 0 1.5em 0 !important;
    }
    .su-column-size-1-3{
        width: 100% !important;
    }
    /*-- ここまで --*/
}

/*media Queries タブレットサイズ（600px～959px）のみで適応したいCSS -タブレットのみ
---------------------------------------------------------------------------------------------------*/
@media only screen and (min-width: 600px) and (max-width: 959px) {


    /*-- ここまで --*/
}   

/*media Queries タブレット（600px）以上で適応したいCSS -タブレット・PC
---------------------------------------------------------------------------------------------------*/
@media only screen and (min-width: 600px) {

    .post .responbox50  h4:not(.st-css-no2):not(.point):not(.rankh4) {
        font-size: 14px;
    }
    .whitebox > div > div:last-of-type ul li:last-of-type {
        text-align: left;
    }
    .not-front-page #headbox-bg {
        border-bottom: 4px solid #4c392f;
    }

    #content-w {
        padding-top: 20px;
    }
    /*-- ここまで --*/
}

/*media Queries PCサイズ（960px）以上で適応したいCSS - PCのみ
---------------------------------------------------------------------------------------------------*/
@media print, screen and (min-width: 960px) {
    
    header .descr.sitenametop, header .sitename.sitenametop,header .descr {
        display: inline-block;
        vertical-align: bottom;
    }

    #header-l {
        max-width: 940px;
    }
	


    /*-- ここまで --*/
}
/*media Queries PCサイズ(1024px）以上で適応したいCSS - PCのみ
---------------------------------------------------------------------------------------------------*/
@media print, screen and (min-width: 1025px) {

.front-page #content{
		max-width:1200px !important;
	}

    /*-- ここまで --*/
}

/*media Queries スマホサイズ（599px）以下で適応したいCSS - スマホのみ
---------------------------------------------------------------------------------------------------*/
@media print, screen and (max-width: 599px) {
    .footer-r-2,.footer-r-3 {
        margin: 1rem 0;
        text-align: center;
    }
    .front-page main {
        /* padding-left: 1015px; */
        /* padding-right: 1015px; */
        padding-top: 16px;
    }
    /*-- ここまで --*/
}


/* 0325無効化 */

/* a .st-cardbox h5 {
    position: absolute;
    bottom: -6px;
    left: 24px;
    right: 24px;
    font-weight: 500;
    font-size: 14px;
    z-index: 1;
    color: #fff;
    text-shadow: 0px 0px 2px rgba(0,0,0,.72);
}
*/
 /* .st-cardstyle .kanren dt.st-card-img:after {
    content: ' ';
    position: absolute;
    top: 1rem;
    right: 1rem;
    left: 1rem;
    bottom: 0;
    display: block;
    z-index: 0;
    background-image: linear-gradient(to bottom,rgba(0,0,0,0) 60% ,rgba(0,0,0,.4) 70%,rgba(0,0,0,0.6));
    } */


    body .su-custom-gallery {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    body .su-custom-gallery-slide {
        /* position: relative; */
        width: 32%;
        margin: 1% auto;
    }

    .mce-notification-error{
        display: none !important;
    }