@charset "utf-8";
/*
Theme Name: 　日本薬品株式会社
*/

/* サイトのベースカラー #5282C0 */

@media screen and (min-width: 769px) {
/* common
-------------------------------------------------------------- */
body {
    width: 100%;
    min-width: 970px;
    color: #333;
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", メイリオ, Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    /*border-top:solid 5px #5282C0;*/
    letter-spacing: 1px;
    -webkit-text-size-adjust: 100%;
}
.wrapper {
    width: 970px;
    margin: auto;
}
#s-header-wrapper {
    min-width: 970px;
}

h1,
header nav,
#container-top h2,
#sidebar-first,
#sidebar-second {
    color: #5282C0;
}

#container {
    width: 970px;
    margin: 0 auto;
}
.s-page ul {
    line-height: 1.5;
}

.f_left {
    float: left;
    margin-right: 20px !important;
    margin-bottom: 10px !important;
}
.f-right {
    float: right;
    margin-left: 20px !important;
    margin-bottom: 10px !important;
}



/* header
-------------------------------------------------------------- */
#header-top {
    cursor: pointer;
    margin: 10px 0 20px;
}
#header-top .left-box {
    float: left;
}
#header-top .right-box {
    float: left;
    margin: 10px auto auto 15px;
    box-sizing: border-box;
}
#header-top .right-box h1 {
    font-size: 2em;
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", メイリオ, Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    letter-spacing: 0.1em;
    margin: 10px 0 10px;
}
#header-top .right-box p {
    color: #C4C8CB;
    margin-left: 2px;
}

header nav ul {
    width: 80%;    
    margin-top: 5px;
}
header nav ul li {
    display: table-cell;
    width: 174px;
    height: 0px;
    font-weight: normal;
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", メイリオ, Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    text-align: center;/*
    vertical-align: middle;
    border-left: solid 1px #5282C0;
    */
    cursor: pointer;
}
header nav ul li:last-child {/*
    border-right: solid 1px #5282C0;
    */
}
header nav ul li:hover {/*
    background-color: #5282C0;
    */
    color: #8b0000;
    font-weight: bold;
}
header nav ul li a {
    text-decoration: none;
    color: #5282C0;
}
header nav ul li:hover a {
    color: #8b0000;
    font-weight: bold;
}
#container-top {
    clear: both;
/*
    width: 970px;
    height: 115px;
    margin: 0 auto 40px auto;
    background: url(img/page-bg.jpg) no-repeat right #dfebf7;
*/
}
#container-top.home-container-top {
    height: 330px;
    width: 970px;
    margin-bottom: 70px;
}
#container-top.home-container-top img {
   /* margin-top: -1px;*/
}
#container-top.home-container-top p {
    text-align: center;
    font-weight: bold;
    margin: 25px auto;
}
#container-top h2 {
    font-size: 1.75em;
    letter-spacing: 1px;
    padding: 15px 0 0 25px;
}
#container-top .breadcrumbs {
    color: #999;
    font-size: 0.95em;
    padding: 10px 0 0 28px;
}
#container-top .breadcrumbs a {
    color: #999;
    text-decoration: none;
}
#s-header-wrapper {
    width: 100%;
    border-bottom: solid 2px #5282C0;
}



/* sidebar
-------------------------------------------------------------- */
#sidebar {
    float: left;
    width: 245px;
    margin-right: 30px;
}

#sidebar ul#sidebar-first li,
#sidebar ul#sidebar-second li {
    cursor: pointer;
}
#sidebar ul#sidebar-first {
    border: solid 2px #5282C0;
    padding: 11px 15px;
    margin-bottom: 15px;
}
#sidebar ul#sidebar-first li {
    font-weight: bold;
    padding: 10px 0 10px 0;
    border-bottom: dotted 1px #5282C0;
}
#sidebar ul#sidebar-first li:first-child {
    padding-top: 5px;
}
#sidebar ul#sidebar-first li:last-child {
    padding-bottom: 3px;
    border-bottom: none;
}
#sidebar ul#sidebar-first li i {
    float: left;
    font-size: 2em;
    padding-left: 3px;
    margin-right: 15px;
}
#sidebar ul#sidebar-first li span {
    display: block;
    float: left;
    padding-top: 7px;
}

#sidebar ul#sidebar-second {
    width: 100%;
    margin-bottom: 13px;
}

#sidebar ul#sidebar-second li {
    height: 80px;
    font-weight: bold;
    margin-bottom: 10px;
    border: solid 2px #5282C0;
}
#sidebar ul#sidebar-second li .sidebar-icon {
    float: left;
    height: 80px;
    color: #FFF;
    font-size: 3.3em;
    background-color: #5282C0;
    padding: 0 18px;
}
#sidebar ul#sidebar-second li .sidebar-icon i {
    padding-top: 14px;
}
#sidebar ul#sidebar-second li .sidebar-text {
    font-size: 1.3em;
    text-align: center;
    letter-spacing: 2px;
    padding-top: 30px;
}

#sidebar ul#sidebar-third li {
    margin-top: 10px;
}

#sidebar ul#sidebar-fourth {
    letter-spacing: 2px;
    margin-top: 12px;
}
#sidebar ul#sidebar-fourth li .side-fourth-inner {
    float: left;
    width: 83px;
    background-color: #A4A4A4;
    margin: 7px 0 0 0;
}
#sidebar ul#sidebar-fourth li .side-fourth-inner p {
    color: #FFF;
    margin: 3px 0 3px 15px;
}
#sidebar ul#sidebar-fourth li .side-fourth-wrapper {
    height: 82px;
    background-color: #EEE;
    padding: 8px auto auto 0px;
}
#sidebar ul#sidebar-fourth li .side-fourth-wrapper .side-fourth-text {
    clear: both;
    display: block;
    padding: 2px 0 10px 15px;
}
#sidebar ul#sidebar-fourth li .side-fourth-wrapper .side-fourth-text p {
    line-height: 1.5;
}


/* main
-------------------------------------------------------------- */
#main {
    float: right;
    width: 750px;
}
#main.top-page {
    margin: 0 0 auto 0;
}

#main #margin-top {
    width: 100%;
}
#main #main-top .inner-box {
    float: left;
    margin-left: 23px;
}
#main #main-top .inner-box:first-child {
    margin-left: 0;
}

#main #news {
    clear: both;
    margin-top: 30px;
}
#main #news h2 {
    font-size: 1.3em;
    letter-spacing: 2px;
    background: url(img/circle.png) no-repeat left top;
    padding: 2px 0 8px 35px;
    margin-bottom: 5px;
    border-bottom: solid 2px #5282C0;
}
#main #news dl dt {
    width: 64px;
    height: 25px;
    float: left;
    font-weight: bold;
    vertical-align: super;
    /* background: url(img/new.png) no-repeat left; */
    padding-left: 20px;
    margin-top: 8px;
    border-left: 5px solid #5282C0;
    padding-top: 8px;
}
#main #news dl dd {
    font-size: 0.9em;
    float: left;
    padding: 17px 0 0 70px;
}
#main #news dl dd a {
    color: #333;
    text-decoration: none;
}

#main #contact {
    height: 122px;
    background-color: #EEE;
    margin-top: 30px;
}
#main #contact #contact-box {
    padding: 20px;
    letter-spacing: 2px;
    line-height: 170%;
}
#main #contact #contact-box h2 {
    float: left;
    font-size: 1.3em;
}
#main #contact #contact-box p {
    float: left;
    padding-left: 20px;
}
#main #contact #contact-box p span {
    font-size: 1.6em;
}




/* page
-------------------------------------------------------------- */
#main.s-page {
    width: 660px;
    margin-top: 5px;
}
/*
#main.s-page h3 {
    font-size:      1.5em;
    letter-spacing: 2px;
    background:     url(img/circle.png) no-repeat left;
    padding:        5px 0 5px 35px;
    margin:         40px auto 25px;
    border-bottom:  solid 2px #5282C0;
}
#main.s-page h3:first-child {
    margin-top: -10px;
}*/
#main.s-page h4 {
    color: #5282C0;
    font-size: 1.25em;
    margin: 15px 0;
}
#main.s-page h5 {
    display: inline;
    color: #666;
    font-size: 1.1em;
    padding: 0 5px 2px 0;
    border-bottom: solid 1px #5282C0;
    margin: 20px;
}
#main.s-page #access h5 {
    margin: 30px 0 10px;
}
#main.s-page #subject h5 {
    font-size: 1em;
    color: #333;
    border: none;
    margin-bottom: 0;
}
#main.s-page h6 {
    margin: 20px 0 0 20px;
}
#main.s-page p {
    line-height: 170%;
    margin-top: 10px;
    margin-bottom: 10px;
}
#main.s-page dl {
    line-height: 1.4;
}
#main.s-page dt {
    display: inline-block;
    padding-bottom: 2px;
    border-bottom: 1px dotted #5282C0;
    margin-bottom: 5px;
}

#main.s-page .center {
    text-align: center;
    margin: auto;
}
.text-box {
    line-height: 170%;
    margin-bottom: 20px;
}
.adress {
    color: #777;
    margin-bottom: 5px;
}

#summary .summary-img {
    float: right;
    margin: 10px 0 10px 15px;
}
#summary h4 {
    margin: 15px 0;
}
#summary p a {
    font-weight:bold;
    color: #333;
    text-decoration: none;
    padding-bottom: 2px;
    border-bottom: solid 1px #5282C0;
}

.button-box {
    width: 100%;
    text-align: center;
    margin: 40px auto 0;
}
.blue-button {
    width: 385px;
    height: 48px;
    color: #FFF;
    font-size: 1.3em;
    text-align: left;
    text-decoration: none;
    display: block;
    background-color: #5282C0;
    padding: 12px 0 0 20px;
    margin: auto;
}
.blue-button i {
    font-size: 1.5em;
    font-weight: bold;
    padding: 2px 10px 0 0;
}
#main.s-page #program h4 {
    margin-top: 50px;
}
#main.s-page #program h5 {
    display: inline-block;
    margin: 25px 0 5px;
}
#main.s-page #program p {
    list-style-type: none;
    padding: 5px 0 5px 20px;
}
#main.s-page #program ul {
    padding-top: 5px;
}
#main.s-page #program ul li {
    list-style-type: circle;
    margin: 4px 0 10px 40px;
    line-height: 1.5;
}
#main.s-page #program ul.li-bold li:first-line {
    font-size: 1.1em;
    font-weight: bold;
}
#main-hall,#sub-hall {
    padding-left: 20px;
}

.download-wrapper {
    text-align: center;
    margin: 50px auto 0;
}
.download-box-cotainer {
    width: 100%;
    height: 120px;
}
.download-box-cotainer h4 {
    margin: 30px 0 0;
}
.download-box-cotainer h4 i {
    font-size: 1.2em;
    margin-right: 10px;
}
.download-box {
    width: 450px;
    height: 75px;
    text-align: center;
    margin: 10px auto;
}
.download-box-s-l,
.download-box-s-r {
    float: left;
    width: 200px;
    height: 75px;
}
.download-box-s-l p,
.download-box-s-r p {
    text-align: left;
    font-size: 0.9em;
}
.download-button {
    width: 180px;
    height: 35px;
    color: #333;
    font-size: 1.2em;
    font-weight: bold;
    text-align: left;
    text-decoration: none;
    display: block;
    padding: 13px 0 0 12px;
    border: solid 1px #81B930;
    margin: 0 0 12px 0;
}
.download-button i {
    color: #81B930;
    font-size: 1.3em;
    margin-right: 20px;
}
.download-box-s-l {
    margin-right: 50px;
}

.program-wrapper {
    width: 400px;
    height: 135px;
    text-align: center;
    margin: 40px auto 0;
}
.program-box {
    width:380px;
    height: 56px;
}
.program-button,
.program-button-b {
    width: 160px;
    height: 46px;
    font-size: 1.3em;
    text-align: left;
    text-decoration: none;
    display: block;
    padding: 12px 0 0 20px;
    border: solid 1px #5282C0;
    margin: 0 0 12px 0;
}
.program-button i,
.program-button-b i {
    font-size: 1.5em;
    font-weight: bold;
    padding-right: 10px;
}
.program-button {
    float: left;
    color: #5282C0;
    background-color: #FFF;
    margin-right: 12px;
}
.program-button-b {
    float: left;
    color: #FFF;
    background-color: #5282C0;
}

/*Safariだけに適用されるCSSハック*/
@media screen and (-webkit-min-device-pixel-ratio:0) {
  #main.s-page #program ul li {
    font-size: 0.95em;
  }
}

#for-guest h4 {
    margin: 45px 0 25px !important;
}
#for-guest p {

}
#for-guest ul{
    margin: 20px 60px;
    line-height: 1.5;
}
#for-guest dl {
    margin-left: 60px;
}
#for-guest dd {
    margin: 10px 30px 15px;
}

.coi-button-wrapper {
    width: 770px;
    /* height: 135px; */
    text-align: left;
    margin: 40px auto 0;
}
.coi-button-box {
    width: 770px;
}
.coi-button-box p.f_left {
    line-height: 100%;
    margin-top: 10px;
    margin-bottom: 10px;
}
.coi-button-box p.coi_right {
    margin-left: 114px;
}
.coi-button, .coi-button-b {
    width: 190px;
    height: 44px;
    font-size: 1.3em;
    text-align: left;
    text-decoration: none;
    display: block;
    padding: 12px 0 0 20px;
    border: solid 1px #5282C0;
    margin: 0 0 12px 0;
    float: left;
    color: #5282C0;
    background-color: #FFF;
    margin-right: 25px;
}
.coi-button i,.coi-button-b i {
    font-size: 1.5em !important;
    font-weight: bold;
    padding-right: 10px;
}
.coi-button-b {
    float: left;
    color: #FFF;
    background-color: #5282C0;
}



.map-box-top {
    height: 245px;
    text-align: left;
    margin: 0 auto 40px;
}
.map-box-left {
    float: left;
    width: 300px;
}
.map-box-right {
    float: right;
    width: 450px;
}
.map-box-right img {
    width: 450px;
}
.map-box-bottom {
    clear: both;
    margin: 10px auto 30px;
}
.map-box-bottom p.adress {
    margin-bottom: 40px;
}

#commission img {
    margin: 0 auto;
}

#international-session ul {
    padding-left: 25px;
    line-height: 1.5;
}
#international-session ul li {
    padding-bottom: 10px;
}

#subject ul {
    margin: 15px 0 25px;
}
#subject ul li {
    margin: 4px 0 5px 40px;
    line-height: 1.5;
}
#subject table th {
    text-align: left;
    padding-right: 20px;
    padding-bottom: 10px;
}
.subject-button-container {
    text-align: center;
    padding: 15px 0;
    border-top: dashed 1px #5282C0;
    border-bottom: dashed 1px #5282C0;
    margin: 20px auto;
}
.subject-button-boxes {
    width: 690px;
    text-align: center;
    margin: 0 auto;
}
.subject-button-boxes:first-child {
    margin-bottom: 20px;
}
.subject-button-text {
    text-align: left;
    font-size: 1.25em;
    font-weight: bold;
    letter-spacing: 2px;
    margin: 0 auto 10px;
}
.subject-button {
    float: left;
    width: 330px;
    height: 45px;
    color: #FFF;
    font-size: 1.5em;
    font-weight: bold;
    letter-spacing: 3px;
    text-align: center;
    text-decoration: none;
    display: block;
    background-color: #4786C1;
    padding: 15px 0 0;
    margin: 0 0 12px 0;
    border-radius: 4px;
    box-shadow:2px 4px #3776A4;
}
.subject-button.deep {
    background-color: #155CA8;
    box-shadow:2px 4px #134879;
}
.subject-button.sl {
    margin-right: 20px;
}
.subject-button i {
    padding-right: 10px;
}

#nst-seminar h5 {
    display: inline-block !important;
    min-width: 200px;
    margin: 20px 0 5px !important;
}
#nst-seminar h5:first-child {
    margin-top: 0 !important;
}
#nst-seminar .kaijo-box {
    margin: 25px 15px 30px;
}
#nst-seminar .kaijo-box p {
    line-height: 100%;
}
.seminar-wrapper {
    width: 500px;
    height: 135px;
}
.seminar-button,
.seminar-button-b {
    width: 300px;
    height: 40px;
    font-size: 1em;
    text-align: center;
    text-decoration: none;
    display: block;
    padding: 10px 0 0;
    border: solid 1px #5282C0;
}
.seminar-button i,
.seminar-button-b i {
    font-weight: bold;
    padding-right: 5px;
}
.seminar-button {
    color: #5282C0;
    background-color: #FFF;
    margin-right: 12px;
}
.seminar-button-b {
    color: #FFF;
    background-color: #5282C0;
}
#nst-seminar table {
    text-align: left;
    margin: 30px 20px;
}
#nst-seminar table tr {
    height: 55px;
    line-height: 1.4;
    border-bottom: dotted 1px #333;
    padding-bottom: 20px;
}
#nst-seminar table tr th,
#nst-seminar table tr td {
    vertical-align: middle;
    margin: 10px;
}
#nst-seminar table tr th {
    width: 180px;
    text-align: left;
}
#nst-seminar table tr td .gre-bo {
    color:#5282C0;
    font-weight: bold;
}
#nst-seminar .tbl-layout h5 {
    border: none !important;
    margin: 0 !important;
    padding: 10px 0 0 !important;
}
#nst-seminar .tbl-layout h5:nth-child(2) {
    padding-top: 0 !important;
}

#contact-page p.c-text {
    font-size: 0.95em;
    margin-top: 0;
    margin-bottom: 30px;
}
#contact-page table.form tr {
    line-height: 2;
}
#contact-page table.form th {
    text-align: left;
    vertical-align: top;
    font-size: 0.9em;
}
.required {
    color: #5282C0;
    font-size: 0.5em;
    vertical-align: top;
}
#contact-page .wpcf7-submit {
    margin-left: 400px;
}
.screen-reader-response ul {
    display: none;
}
.wpcf7-not-valid-tip {
    margin-left: 10px;
}
.wpcf7-response-output.wpcf7-validation-errors {
    display: none;
}





/* single-page
-------------------------------------------------------------- */
#single-box {
    margin-top: 15px;
}
#single-box .caption-box h3 {
    margin-top: 5px !important;
    margin-bottom: 25px !important;
}
#single-box .caption-box h3 a {
    color: #333;
    text-decoration: none;
}
#main #single-box p.date {
    line-height: 100%;
    margin-top: 0;
    margin-bottom: 15px;
}
.content-box img {
    margin: 15px 0;
}



/* footer
-------------------------------------------------------------- */
footer {
    clear: both;
    min-width: 970px;
    border-top: solid 2px #5282C0;
    margin: 40px 0 20px;
}
footer nav ul {
    margin: 8px auto 5px;
}
footer nav ul li {
    display: table-cell;
    width: 174px;
    height: 40px;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
}
footer nav ul li:nth-child(2) {
    width: 145px;
    padding-right: 29px;
}
footer nav ul li:nth-child(4) {
    width: 145px;
    padding-left: 29px;
}
footer nav ul li a {
    text-decoration: none;
    color: #5282C0;
}
footer .wrapper {
    text-align: center;
}
footer .wrapper small {
    font-size: 0.7em;
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", メイリオ, Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    letter-spacing: 1px;
    color: #C4C8CB;
}


}
