/* フォント設定 */
html {
  font-family: "Segoe UI Semibold","Segoe WP Semibold","Segoe WP","Segoe UI",Arial,Sans-Serif
}

/* navの分 下にずらす */
body {
  padding-top: 20px;
}

/* リンクは印刷しない */
@media print {
    a[href]:after {
     content: "" !important;
    }
 
 abbr[title]:after {
     content: "" !important;
    }
}

/* ハイライト時の調整*/
::selection {
background: #ADBBE0;
}
::-moz-selection {
background: #ADBBE0;
}

/* navbar　Shadow*/
.navbar {
    box-shadow: 0 3px 5px 0 rgba(0,0,0,0.4);
}


/* 外部リンクにアイコン表示 */
p a,li a[target="_blank"]:after {
    margin: 0 5px;
    font-family: FontAwesome;
    vertical-align: middle;
    content: '\f08e';
}
tr a[target="_blank"]:after {
    margin: 0 5px;
    font-family: FontAwesome;
    vertical-align: middle;
    content: '\f08e';
}

/* リンクの装飾 */
p a,tr a{
    font-weight: 700;
    color: #202f55;
    border-bottom:1px dotted;
}

/* toppage */
.top{
    padding: 10px auto;
    line-height: 2em;
    text-align: center;
}
h1 {
  font-size:2.2em ;
  padding-top: 50px;
  padding-bottom: 20px;
  text-align: center;
  color: #202f55;
}

h2 {
}

h4  {
  padding-top: 30px;
  color: #202f55;
  font-weight: 700;
}

/* h5はIPJの見出しとして使用 */
h5 {
    margin-top: 30px;
    margin-bottom: 15px;
	position: relative;
	padding: .30em 0 .4em .75em;
	border-left: 8px solid #C5DBE1;
    font-size: 20px;
    font-weight: 700;
}
h5::before {
	position: absolute;
	left: -8px;
	bottom: 0;
	content: '';
	width: 8px;
	height: 70%;
	background-color: #202F55;
}
h5::after {
	position: absolute;
	left: 0;
	bottom: 0;
	content: '';
	width: 100%;
	height: 0;
	border-bottom: 1px solid #ccc;
}

/* h6はIPJの各号特集の装飾として使用 */
h6 {
    padding-top: 4px;
    color: #202F55;
    font-size: 18px;
    font-weight: 700;
}

h6:before{
    content: "\f02e";
    font-family: FontAwesome;
    margin: 0 0.5em 0 0;
}

h7 {
    padding-top: 4px;
    color: #202F55;
    font-size: 18px;
    font-weight: 700;
}

dd{
    padding-bottom: 1em;
}

/* リンク画像　hover　*/
img {
	opacity: 1;
	-webkit-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
}
a:hover img {
	opacity: .6;
}

/* トップページの事業紹介*/
.business{
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    transition: 0.3s;
    border-radius: 3px;
    padding:8px;
    margin: 20px 0 0 0;
    max-width: 304px;
    background-color: #F9F9F9;
}

.business:hover {
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
    background-color: #F7F9FC;
}

 .business a  {
     display:block;
     text-decoration: none;
}

.business img{
    border-radius: 3px 3px 0 0;
}

 .heading_business{
    color: #202F55;
    padding: 4px 0;
    font-size: 16px;
    font-weight: 700;
}

.business .readmore {
    text-align: right;
    display: block;
    margin-top: 4px;
    font-weight: 700;
}

.business .readmore::after {
    margin-left: 0.5em;
    font-family: FontAwesome;
    vertical-align: middle;
    content: '\f08e';
    font-size: 0.8em;
    font-weight: 700;
}

/* 事業紹介の文字数省略 */
.clamp1{
    overflow: hidden;
    margin: 4px;
    display: block;
    height: 112px;
    font-size: 0.9em;
}

/* 事業紹介の部門バッジ */
.badge-iip{
    background-color: #40E0D0;
}
.badge-aipe{
    background-color: #B6CE30;
}

.btn_h5 {
    margin-top: 30px;
    margin-bottom: 15px;
	position: relative;
	padding: .50em 1em .4em 1.5em;
	border-left: 8px solid #C5DBE1;
    font: #202F55;
    font-size: 18px;
    font-weight: 700;
    background-color: #EDEDED;
    min-width: 200px;
    display: block;
}
.btn_h5::before {
	position: absolute;
	left: -8px;
	bottom: 0;
	content: '';
	width: 8px;
	height: 70%;
	background-color: #202F55;
}

/* IPJ表紙*/
.ipj_left{
    margin: 0 10px 10px 0;
    box-shadow: -2px 2px 3px 0 rgba(0,0,0,0.4);
}

/* ２列のtableをレスポンシブに*/
.col2 th  {
    width: 30%;
}
 
@media only screen and (max-width:768px){
    .col2 {
        margin: 0 -10px ;
    }
    .col2 th,.col2 td{
        width: 100%;
        display: block;
        border-top: none;
    }
    .col2 tr:first-child th {
        border-top: 1px solid #ddd;
    }
}

/* IPJ_記事紹介 */
.ipj_heading {
    margin-bottom: 21px;
    padding: 10px 15px;
    width: 100%;
    background-color: #ffffff;
    border: 1px solid #dddddd;
    border-radius: 4px;
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
    position: relative;
}

.ipj_title{
    display: flex;
    font: 16px;
}

.ipj_article{
    display: flex;
}

.ipj_articletitle1{
    font-size: 16px;
    font-weight: bold;
}

.ipj_articletitle2{
    font-weight: bold;
}

.ipj_author{
    padding-top: 0.5em ;
}

.ipj_abstract{
    padding-top: 0.5em ;
    padding-left: 1em;
    padding-bottom: 2em;
    color: #8C8C8C;
}

/* IPJ_最新記事装飾*/
.newest {
    width: 130px;
    height: 130px;
    overflow: hidden;
    position: absolute;
}
.newest::before,
.newest::after {
    position: absolute;
    z-index: -1;
    content: '';display: block;
    border: 5px solid #ff0000;
}
.newest span {
    position: absolute;
    display: block;
    width: 225px;
    padding: 15px 0;
    background-color: #cc0000;
    box-shadow: 0 5px 10px rgba(0,0,0,.1);
    color: #fff;
    font: 700 18px/1 'Lato', sans-serif;
    text-shadow: 0 1px 1px rgba(0,0,0,.2);
    text-transform: uppercase;
    text-align: center;
}

.newest-top-right {
    top: -10px;
    right: -10px;
}
.newest-top-right::before,
.newest-top-right::after {
    border-top-color: transparent;
    border-right-color: transparent;
}
.newest-top-right::before {
    top: 0;
    left: 0;
}
.newest-top-right::after {
    bottom: 0;
    right: 0;
}
.newest-top-right span {
    left: -25px;
    top: 30px;
    transform: rotate(45deg);
}

/* IPJ_購入一覧テーブル */
table.ipj th,table.ipj td{
    text-align: center;
}

/* IPJ_右ナビゲーション */
.ipj_nav{
    min-width: 208px;
    margin-left: 2em;
    margin-bottom:1.5em; 
}
@media only screen and (max-width:768px){
    .ipj_nav{
    margin-top: 2em;
    margin-left: 0;
    }
}
.ipj_nav ul{ 
    margin:0;
    padding:0px;
    list-style:none;
}
.ipj_nav li {
    margin-bottom: 3px;
	position: relative;
    background-color: #EDEDED;
    font-weight: 700;
    white-space: nowrap;
    display:block;
	color:#333;
	text-decoration:none;
    overflow: hidden;
    text-overflow: ellipsis;
   -o-text-overflow: ellipsis;
    box-shadow: 0 1px  0 #dddddd;
    cursor:pointer;
}
.ipj_nav li a::before {
    font-family: FontAwesome;
    padding-left:15px;
    vertical-align: middle;
    content: '\f105　';
    font-weight: 700;
}
.ipj_nav li a {
	text-decoration:none;
    display:block;
    padding-bottom: 0.75em;
    padding-top: 1em;
    padding-right: 0.5em;
    overflow: hidden;
    text-overflow: ellipsis;
   -o-text-overflow: ellipsis;
}
.ipj_nav li a:hover{
    background-color: #c4c4c4;
}

.accordion > li .content{
    display:none;
}
.accordion > li.expanded .content {
    padding:0;
    margin-bottom: 1px;
}
.accordion > li.expanded .content a {
    padding-left: 1em;
}
.accordion li a.toggle:after{
    font-family: FontAwesome;
    content: "　\f0d7";
}

/* IPジャーナルバナー類 */
.ipj_banner{
    min-width: 208px;
    margin-top: 0.3em;
    margin-left: 3em;
    font-size: 0.8em;
}
@media only screen and (max-width:768px){
    .ipj_banner{
    margin-top: 2em;
    margin-left: 0;
    }
}

.ipj_banner img{
    width:100%;
    height:auto;
    margin-top:0.5em; 
}
@media only screen and (max-width:768px){
    .ipj_banner img{
    width:48%;
    height: auto;
    margin-top: 0.5em;
    margin-right:0.4em;
    display:inline-block;
    vertical-align: middle;
    }
}

/* privacypolicy */
.privacypolicy{
    line-height: 1.7em;
}

.privacypolicy ol, .privacypolicy ul{
    margin-top: 1em;
}

.privacypolicy .first{
    margin-top: 0.7em;
    text-indent: -1.5em;
    padding-left: 1.5em;
}
.privacypolicy .second{
    list-style-type:none;
    list-style-position:outside;
    counter-increment: cnt;
    margin-top:0;
    padding-top: 0;
    padding-left: -3em;
    margin-left: -3em;
}
.privacypolicy .second:before{
  display: marker;
  content: "(" counter(cnt) ") ";
}
.privacypolicy .second:first-child{
    margin-top:-0.5em;
    padding-top: -0.5em;
}
.privacypolicy .third{
    list-style-type:none;
    list-style-position:outside;
    padding-left: -1.5em;
    margin-left: -1.5em;
}
.privacypolicy .third:first-child{
    margin-top:-0.5em;
    padding-top: -0.5em;
}

.privacypolicy .fourth{
    list-style-type:none;
    list-style-position:outside;
    padding-left: -1.5em;
    margin-left: -1.5em;
    text-indent: -1.5em;
}
.privacypolicy .fourth:first-child{
    margin-top:-0.5em;
    padding-top: -0.5em;
    text-indent: -1.5em;
}

/* 会長あいさつ */
.message{
    padding: 2em 0;
    line-height: 1.8em;
    text-align: justify;
}


/* フッター調整 */
footer {
    background-color: #EDEDED;
    font-size: 12px;
    color : #202f55;
    text-align: left;
    margin-top: 40px;
    padding-top: 16px;
    padding-bottom: 16px;
    width: 100%;
    border-top: 1px solid #fff ;
    box-shadow: 0 -4px 5px 0 #f9f9f9;
}


.copyright{
    font-size: 0.8em;
    padding: 20px 0;
    margin: 0 auto;
}

.footer_head{
    padding: 8px 0 4px;
    font-size: 16px;
    font-weight: 700;
}

footer ul.menu li{
    list-style: none;
    position: relative;
    padding: 0 0 0 2em;
    margin-left: -4em;
    text-indent: 0em;
}

footer ul.menu li:before{
    font-family: FontAwesome;
    content: "\f105";
    position: absolute;
    left: 0.8em;
    font-size: 0.5em;
}

footer ul.menu ul li{
    list-style: none;
    margin-left: -2em;
    text-indent: -2em;

}

footer ul.menu ul li:before{
    font-family: FontAwesome;
    content: "\f105";
    position: absolute;
    font-size: 0.2em;
    font-weight: normal;
}

footer hr{
    border: 1px solid #f9f9f9;
    box-shadow: 0 1px  0 #dddddd;
}

/* ページトップへもどる */
#page-top {
    position: fixed;
    bottom: 18px;
    right: 18px;
    font-size: 80%;
}
#page-top a {
    background: #202f55;
    text-decoration: none;
    text-shadow: 0 1px 1px #f9f9f9;
    color: #fff;
    width: 75px;
    padding: 10px 0;
    text-align: center;
    display: block;
    border-radius: 5px;
}
#page-top a:hover {
    text-decoration: none;
    background: #17223d;
}
/* topの画像 20170520より不使用 */
header.jumbotron {
    height: 310px;
    background: url("../img/topimage.jpg") center 0 no-repeat;
    background-size: cover;
    text-shadow: 0 2px 3px #000;
}
@media (max-width: 767px){
header.jumbotron {
    height: 250px;
    background: url("../img/topimage.jpg") center no-repeat;
    background-size: cover;
}

.fixed {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10000;
}
