﻿@charset "UTF-8";

@import url('https://www.optronics.co.jp/css/footer.css');

body {
	margin: 0;
	font-size: 12px;
	line-height: 21px;
//	font-family: "ＭＳ ゴシック", Osaka, "ヒラギノ角ゴ Pro W3";
}
img{
	border: none;
	vertical-align: top;
}
.clearfix {zoom:1;}
.clearfix:after{
    content: ""; 
    display: block; 
    clear: both;
}
.inner-content{
	width: 960px;
	margin-left: auto;
	margin-right: auto;
}
a:link {
	color: #003894;
}
a:hover {
	color: #CC0000;
}

p.sidetitle {
	color: #000000;
	margin-top: 0px;
	margin-bottom: 0px;
	margin-left: 5px;
	padding-top: 10px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 10px;
	font-weight: nomal;
	font-size: 12px;
}

#base {
	background: #FFFFFF;
	padding-bottom: 10px;
}
#webad {
	background: #FFFFFF;
	width: 564px;
	padding-top: 10px;
	padding-bottom: 10px;
	margin: auto;
}
#base2 {
	background: #FFFFFF;
	margin: auto;
	padding: 10px;
}
#base2 p {
}
#base2 h1 {
	font-size: 18px;
	font-weight: bold;
	color: #003894;
}
#header {
	padding: 16px 0 0 !important;
	background: #FFFFFF;
}
#header #h_l {
	float: left;
	width: 200px;
	height: 25px;
	text-align: left;
	padding: 0;
	margin: 0 0 15px;
}
#header #h_c {
	float: right;
	height: 25px;
	text-align: right;
	margin: 0;
	padding: 0;
}
#h_c li{
    display: inline-block;
	list-style-type: none;
    margin-left: 8px;
}
#h_c li:first-child{
    margin-left: 0;
}
#h_c li a{
    padding: 2px 0 0 16px;
    background: url(../images/arrow.gif) no-repeat left top;
}
#h_c li:hover{
    background: url(../images/arrow.gif) no-repeat left 2px top;
}
#header #h_r {
	float: right;
	height: 25px;
	padding: 0px;
	margin: 0 0 0 10px;
}
#header #h_menu {
	clear: both;
	margin: 0px;
	padding: 0px;
}
#header a {
	font-size: 11px;
	color: #003894;
}
#header a:hover {
	font-size: 11px;
	color: #E60012;
}

/* ----- #main navigation ----- */

#mainNav{
    clear: both;
    margin: 0 0 16px;
    background: #00478B;
}
#mainNav ul{
	display: table;
    width: 100%;
    margin: 0;
    padding: 0;
}
#mainNav ul li{
	display: table-cell;
    border-right: solid 1px #ffffff;
}
#mainNav ul li:first-child{
    border-left: solid 1px #ffffff;
}
#mainNav ul li a{
    display: block;
    color: #ffffff;
	font-size: 14px;
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    font-weight: bold;
    text-align: center;
	text-decoration: none;
    padding: 12px;
}
#mainNav ul li a:hover{
	background: #f39801;
}

/* ----- バナー広告 1つ ------ */

#top_flash {
	margin: 0px 0px 15px;
	padding: 0px;
	width: 960px;
}

/* ----- バナー広告 2つ ------ */

#banner_2{
    margin: 20px 0 0;
    padding: 0;
}
#banner_2 li{
	width: 470px;
	float: left;
	margin: 0 0 20px 20px;
	list-style-type: none;
}
#banner_2 li:nth-child(2n+1){
	clear: both;
	margin-left: 0;
}

#contents {
	width: 960px;
	margin: 0 auto;
	padding: 0px;
}
#top_main {
	margin: 0px;
	padding: 0px;
	float: left;
	width: 740px;
}
#top_main #news_l {
	margin: 0px;
	padding: 0px;
	float: left;
	width: 180px;
}

#top_main #news_r {
	float: right;
	width: 540px;
	margin: 0;
	padding: 0;
}
#main {
	float: left;
	width: 540px;
	margin: 0;
	padding: 0;
}
#sidemenu {
	float: left;
	width: 180px;
	font-size: 12px;
	text-align: left;
	padding: 0;
	margin: 0 20px 0 0;
}
.sidemenu_title {
	color: #FFFFFF;
	font-size: 12px;
	font-weight: bold;
	line-height: 1.2;
	margin: 0;
	padding: 6px 0;
	text-align: center;
	background: #003894;
}
#base #contents #sidemenu ul {
	padding: 0;
	margin: 0;
	list-style: none;
}
#base #contents #sidemenu li {
    border-bottom: 1px dashed #666666;
}
#base #contents #sidemenu li.with {
/*
	font-size: 13px;
	display: block;
	width: 170px;
	line-height: 1;
	text-align: left;
	text-decoration: none;
	margin: 0;
	padding: 10px 0 10px 10px;
	background: url(../images/arrow1.gif) no-repeat left center;
	border-top: 1px dashed #FFFFFF;
	border-bottom: 1px dashed #FFFFFF;
*/
}
#base #contents #sidemenu li a,
#base #contents #sidemenu li span {
    display: block;
    width: 170px;
    color: #000000;
    font-size: 13px;
    font-weight: normal;
    line-height: 1.2;
    text-align: left;
    text-decoration: none;
    padding: 12px 0 12px 16px;
    background: url(../images/arrow1.gif) no-repeat left center;
    box-sizing: border-box;
}
#base #contents #sidemenu li a:hover {
	color: #E60012;
	font-weight: normal;
    background: url(../images/arrow1.gif) no-repeat left 2px center;
}
#base #contents #sidemenu li ul{
}
#base #contents #sidemenu li ul li{
	border-top: 1px dashed #666666;
    border-bottom: none;
}
#base #contents #sidemenu li ul li a{
    display: block;
    width: inherit;
    font-size: 12px;
    padding: 6px 8px;
    background: none;
}
#base #contents #sidemenu li ul li a:hover{
	background: none;
}
#base #contents #sidemenu li ul li a:before,
#base #contents #sidemenu li ul li.nopadd:before{
	content: "―";
    font-size: 8px;
	margin-right: 4px;
}
#base #contents #sidemenu li ul li.nopadd{
    padding: 6px 8px;
}
#base #contents #sidemenu li ul li.nopadd a{
	display: inline;
}
#base #contents #sidemenu li ul li.nopadd a:before{
	content: none;
	margin: 0;
}

#base #contents #sidemenu .sidemenu_under {
    font-size: 12px;
	margin: 20px 0;
    padding: 12px 12px 4px;
    border: 1px solid #999999;
}
#base #contents #sidemenu .sidemenu_under p {
	font-size: 12px;
    line-height: 1.5;
    text-decoration: none;
    margin: 0 0 12px;
    padding: 0;
    border-style: none;
}
#base #contents #sidemenu .sidemenu_under a {
	color: #003894;
	text-decoration: underline;
}
#base #contents #sidemenu .sidemenu_under a:hover {
	color: #E60012;
}
#base #contents #sidemenu p {
	margin: 0px;
	padding: 3px 0px 0px 12px;
	line-height: 1.3em;
	border-bottom: 1px dashed #666666;
}
#base #contents #sidemenu p.topli {
/*
	margin: 0px;
	padding: 0px 0px 0px 12px;
	line-height: 1.3em;
	border-bottom: 0px dashed #666666;
*/
}
#base #contents #sidemenu p.endli {
    margin: 0 0 8px;
/*
	padding: 3px 0px 15px 12px;
	line-height: 1.3em;
	border-bottom: 1px dashed #666666;
*/
}
#base #contents #sidemenu p a {
	color: #000000;
	text-decoration: none;
}
#base #contents #sidemenu p a:hover {
	color: #E60012;
	text-decoration: none;
}
.sedenemu_red10px {
	font-size: 10px;
	line-height: 1.5em;
	color: #E60012;
	margin: 0px;
	padding: 0px;
}

/* ----- left column ----- */

#base #contents #top_main #news_l #main_serviceList {
    margin: 0 0 16px;
    border: solid 1px #4F87AE;
	border-top: none;
}
#base #contents #top_main #news_l #main_serviceList h1.sidetitle{
    color: #000000;
    font-size: 16px;
    font-weight: normal;
    padding: 8px;
    margin: 0;
    border-top: solid 1px #4F87AE;
    border-bottom: solid 1px #4F87AE;
}
#base #contents #top_main #news_l #main_serviceList ul{
    margin: 0;
    padding: 8px;
    background: #E4EDF4;
}
#base #contents #top_main #news_l #main_serviceList ul li{
	padding: 0 !important;
	margin-top: 8px !important;
}
#base #contents #top_main #news_l #main_serviceList ul li:first-child{
	margin-top: 0 !important;
}
#base #contents #top_main #news_l #main_serviceList ul li:before{
	content: none !important;
}
#base #contents #top_main #news_l #main_serviceList ul li a{
    font-size: 13px;
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    line-height: 1.2;
    padding-left: 14px;
}
#base #contents #top_main #news_l #main_serviceList ul li a:before{
    content: '';
    display: block;
    position: absolute;
    box-shadow: 0 0 2px 2px rgba(255,255,255,0.2) inset;
    top: 0.30em;
    left: 0;
    height: 0;
    width: 0;
    border-top: 5px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 8px solid #aaa;
}

.ssl_seal{
    margin: 16px 0;
    text-align: center;
}
#news_l .bnr{
	width: 180px;
	margin: 0 0 12px;
}
#news_l .bnr a{
	display: block;
}
#news_l .bnr a img{
	width: 100%;
	height: auto;
}

/* ----- twitter ----- */

#twitter{
    width: 100%;
    height: 678px;
	overflow-y: scroll;
    border: solid 1px #cccccc;
}
#twitter iframe{
    width: 163px !important;
    max-width: 163px !important;
	min-width: 163px !important;
}

/* ----- right column ----- */

#bannar {
	float: right;
	width: 200px;
	margin: 0px;
	padding: 0px;
}
#bannar_img {
	width: 200px;
	padding: 0px;
	margin: 0 0 10px;
}


#second_image {
	margin-bottom: 28px;
}
#base #contents #top_main p {
	margin: 0px;
	padding: 0px;
}
#base #contents #top_main h1 {
	font-size: 22px;
	font-weight: normal;
	text-align: left;
	color: #003894;
	margin: 0px 0px 10px;
	padding: 0px 0px 5px;
	border-bottom: 1px dashed #999999;
	line-height: 1.2em;
	font-family: "HGP創英角ｺﾞｼｯｸUB", "ヒラギノ角ゴ Std W8", Osaka;
}
#base #contents #top_main h2 {
	font-size: 14px;
	font-weight: bold;
	text-align: left;
	color: #003894;
	margin: 0px;
	background: url(../images/arrow_h2.jpg) no-repeat left center;
	padding-top: 6px;
	padding-right: 0px;
	padding-bottom: 6px;
	padding-left: 30px;
}
#base #contents #top_main h2 a {
	text-decoration: none;
	color: #003894;
}
#base #contents #top_main h2 a:hover {
	text-decoration: none;
	color: #E60012;
}
#keiji {
	margin-top: 20px;
}
#base #contents #main h1 {
    font-size: 20px;
    font-family: "HGP創英角ｺﾞｼｯｸUB", "ヒラギノ角ゴ Std W8", Osaka;
    font-weight: normal;
    line-height: 1.2;
    text-align: left;
    margin: 0 0 12px;
    padding: 0 0 6px;
    border-bottom: 1px dashed #999999;
}
#base #contents #main h2 {
	font-size: 16px;
	text-align: left;
	margin: 0 0 16px;
	padding: 0 0 0 16px;
	background: url(../images/shikaku.gif) no-repeat left top;
}
#main h3 {
    font-size: 16px;
    text-align: left;
    line-height: 1.3;
    margin: 0 0 12px;
    padding: 0 0 4px;
    border-bottom: 1px solid #003894;
}
#base #contents #main h4 {
	font-size: 14px;
	font-weight: bold;
	color: #003894;
	text-align: left;
	margin: 0px;
	padding: 0px;
}
#base #contents #main #keiji h4 {
	margin-top: 25px;
	margin-bottom: 10px;
	padding-top: 2px;
	padding-right: 5px;
	padding-bottom: 2px;
	padding-left: 5px;
	background-color: #EBEBEB;
}
#base #contents #main p {
	font-size: 12px;
	line-height: 1.5em;
	margin: 0px;
	padding: 0px;
}
#base #contents #main a {
	color: #003894;
}
#base #contents #main a:hover {
	color: #E60012;
}

/* ----- 170329 commons section plus ----- */

#base #contents #main section {
	margin: 0 0 20px;
}
#base #contents #main section p {
	font-size: 13px;
    line-height: 1.5;
    margin: 0 0 20px;
    padding: 0;
}
#base #contents #main section p.subtitle {
	font-size: 15px;
    margin: 0 0 4px;
}
#base #contents #main section ul{
    margin: 0 0 24px 1.5em;
    padding: 0;
    list-style-position: outside;
}
#base #contents #main section ul li{
	font-size: 13px;
    line-height: 1.3;
    margin: 6px 0 0;
}
#base #contents #main section ul li:first-child{
    margin-top: 0;
}

.top_main_l,
.top_main_r {
	width: 350px;
    margin: 0 0 20px;
	padding: 0;
}
.top_main_l {
	clear: both;
	float: left;
}
.top_main_r {
	float: right;
}
.clear {
	clear: both;
	height: 20px;
	width: 100%;
}
#base #commons_footer #text {
	margin: 0px 0px 15px;
	padding: 0px;
	text-align: center;
}
#base #commons_footer #f_l {
	padding: 0px;
	float: left;
	height: 16px;
	margin-top: 0px;
	margin-right: 10px;
	margin-bottom: 0px;
	margin-left: 10px;
}
#base #commons_footer #f_r {
	clear: right;
	text-align: right;
	height: 16px;
	margin-right: 10px;
	margin-left: 10px;
}
.font12px {
}
.fontcolor_blue {
	color: #003894;
}
.font_right {
	text-align: right;
}
.font16px {
	font-size: 16px;
}
#base #contents #main .back {
	text-align: right;
	margin: 10px 0px;
	padding: 0px;
}
.sem_title {
	font-size: 16px;
	display: block;
	background: #80ACC3;
	padding-left: 10px;
	border-bottom: 1px solid #003894;
	font-weight: bold;
	padding-top: 4px;
	padding-bottom: 4px;
	margin-bottom: 10px;
}
.book_name {
	font-weight: bold;
	text-align: right;
	font-size: 12px;
}
.book_img {
	text-align: right;
	margin: 5px 0px 10px 10px;
	float: right;
	outline-color: #000000;
	outline-style: solid;
	outline-width: thin;
}
#top_main h3 {
	font-size: 16px;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #003894;
	margin-top: 20px;
	margin-bottom: 10px;
}
#mag .h1 {
	font-size: 18px;
	font-weight: bold;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #003894;
	margin-bottom: 10px;
	margin-top: 40px;
	float: left;
	width: 540px;
}
#mag .h1 .option {
	font-size: 11px;
	color: #E8E8E8;
	border: 1px solid #D6D6D6;
	padding: 1px;
	float: right;
	background-color: #F6F6F6;
	font-weight: bold;
}
#base #contents #main #mag h2 {
	font-size: 14px;
	margin-top: 30px;
	border-bottom-width: 1px;
	border-bottom-style: dashed;
	border-bottom-color: #C1C1C1;
	padding-bottom: 5px;
	clear: both;
}

#base #contents #main #mag h3 {
	font-size: 13px;
	font-weight: bold;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
	clear: both;
}
#top_main li {
	margin-top: 10px;
	list-style-type: none;
}
#top_main ul {
	margin-top: 5px;
	padding: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
}

p.contt {
	color: #000000;
	margin: 0px;
	margin-left: 15px;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 15px;
	font-weight: bold;
	font-size: 12px;
	background: url(../img/cia.gif) no-repeat left center;
}

p.backnum {
	color: #000000;
	margin-top: 0px;
	margin-bottom: 0px;
	margin-left: 5px;
	padding-top: 10px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 5px;
	font-weight: bold;
	font-size: 12px;
}
<!--サイドメニュー-->

.sidemenulist
,.sidemenulist li{
	padding:0px;
	margin:0px;
	font-size: 12px;
	line-height: 1.5em;
}
 
.sidemenulist li{
	list-style-type:none !important;
	list-style-image:none !important;
	margin: 5px 0px 5px 0px !important;
}
.list1 li{
	position:relative;
	padding-left:20px;
}
 
.list1 li:before{
	content:''; 
	display:block; 
	position:absolute; 
	box-shadow: 0 0 2px 2px rgba(255,255,255,0.2) inset;
	top:3px; 
	left:8px; 
	height:0; 
	width:0; 
	border-top: 5px solid transparent;
	border-right: 6px solid transparent;
	border-bottom: 5px solid transparent;
	border-left: 8px solid #aaa;
}
.list1 li a:link {
	color: #0A2B42;
	font-weight: normal;
	text-decoration: none;
}
.list1 li a:visited {
	color: #0A2B42;
	font-weight: normal;
	text-decoration: none;
}
.list1 li a:hover {
	color: #E60012;
	font-weight: normal;
	text-decoration: underline;
}

<!--中央タイトル-->

.centerconttitle
,.centerconttitle li{
	padding:0px;
	margin:0px;
	font-size: 13px;
	line-height: 1.5em;
	font-weight: bold;
}
 
.centerconttitle li{
	list-style-type:none !important;
	list-style-image:none !important;
	margin: 5px 0px 5px 0px !important;
}
 
.list2 li{
	position:relative;
	display: block;
	padding: 5px 0px 5px 20px;
	background: #00478B;
	color: #FFFFFF;
	border-radius:15px 0px 0px 15px;
}
 
.list2 li:after{
	content:'';
	display:block; 
	position:absolute;
	width:10px;
	height: 10px;
	top:8px;
	left:5px;
	background: #fff;
	border-radius: 10px;
}

/* ----- fromOptronics ----- */

#base #contents #top_main #fromOptronics{
    margin: 0 0 16px;
    overflow: hidden;
}
#base #contents #top_main #fromOptronics h1{
    display: block;
    width: 180px;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: normal;
    line-height: 1.5;
    text-align: center;
    padding: 6px 0;
    margin: 0;
    border: none;
    background: #00478B;
    position: relative;
}
/*
#base #contents #top_main #fromOptronics h1:after {
    content: '';
    display: block;
    position: absolute;
    width: 10px;
    height: 10px;
    top: 8px;
    left: 5px;
    background: #fff;
    border-radius: 10px;
}
*/
#base #contents #top_main #fromOptronics iframe{
    width: 100%;
    height: 333px;
    border: solid 1px #cccccc;
}


/* ----- news_banner ----- */

#news_banner{
}
#news_banner li{
    margin: 0 0 16px;
}
#news_banner li a{
}


/* ----- rss feed ----- */

.centerconttitle.list2{
    width: 540px;
}
#news{
	margin: 0 0 16px;	
}
#news iframe{
    width: 540px;
	height: 382px;
}
#online_news{
    width: 540px;
    margin: 8px 0 20px !important;
    padding: 0;
}
#online_news li{
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    border-top: dashed 1px #cccccc;
	margin: 0;
	list-style: none;
}
#online_news li:first-child{
    border-top: none;
}
#online_news li a{
    display: block;
    padding: 8px;
}
#online_news li a:hover{
	background: #f2f2f2;
}
#online_news li a .thumb{
	width: 100px;
    float: left;
    margin-right: 16px;
}
#online_news li a p{
	margin: 0;
	padding: 0;
}
#online_news li a .thumb img{
}
#online_news li a .text{
    width: 408px;
    float: left;
}
#online_news li a p.date{
	color: #666666;
}
#online_news li a p.title{
    color: #000000;
    font-size: 13px;
    font-weight: bold;
}
#online_news li a p.text{
}

#commons_footer #sitemap{
    padding: 40px 0 16px !important;
}

/* ----- pagetop ----- */

#pagetop{
    clear: both;
    width: 960px;
    margin: 40px auto 16px;
    text-align: right;
}
#pagetop a{
	display: inline-block;
    width: 104px;
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    margin: 0 auto;
    padding: 4px 8px;
    text-align: center;
    text-decoration: none;
    background: #f2f2f2;
    border: solid 1px #cccccc;
}
#pagetop a:before{
	content: "▲";
    font-size: 10px;
    margin: 0 4px 0 0;
}

/* ----- lightbox ----- */

.row figure {/*表示されている画像。*/
  height: 240px;
  width: 240px;
  margin: 0;
  background-size: cover;
  background-position: 50% 50%;
  transition: all 1s ease-in-out;
  background-repeat: no-repeat;
  z-index: 2;
  display: inline-block;
  position: relative;
}
 
.row a {/*拡大画像を表示させる為の要素*/
  display: inline-block;
  text-align: center;
  margin: 40px;
  text-decoration: none;
  color: white;
}
 
.row a p {/*テキスト表示。デフォルトでは透過しておく*/
  position: absolute;
  opacity: 0;
  font-size: 20px;
  top: 45%;
  z-index: 100;
  left: 0;
  right: 0;
  margin: auto;
}
 
figure:hover p {/*テキスト表示*/
  opacity: 1;
}
 
figure:after {/*オーバーレイ。デフォルトでは透過*/
  content: "";
  display: inline-block;
  height: 100%;
  width: 100%;
  background-color: blue;
  position: absolute;
  left: 0;
  bottom: 0;
  opacity: 0;
  transition: all 0.4s ease-in-out 0s;
  z-index: 99;
}
 
figure:hover:after {/*マウスホバーでオーバーレイ表示*/
  opacity: 0.7;
}
 
.fig2 {/*表示する画像*/
  background-image: url("http://www.optronics.co.jp/magazine/2021/03/fig2");
}
 
.photo02 {/*表示する画像*/
  background-image: url("https://picsum.photos/701/500");
}
 
.photo03 {/*表示する画像*/
  background-image: url("https://picsum.photos/703/500");
}
 
.lightbox-target {/*lightbox*/
  position: fixed;
  top: -100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.7);
  width: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  overflow: hidden;
  z-index: 300;
}
 
.lightbox-target .container {
  margin: auto;
  position: absolute;
  top: 50vh;
  left: 30vw;
  background-color: white;
  box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.3);
  transition: 0.5s ease-in-out;
  text-align: left;
  transform: translate3d(-50%, -50%, 0);
}
 
a.lightbox-close {/*閉じるボタン*/
  display: block;
  width: 20px;
  height: 20px;
  background: white;
  border: 1px solid #000000;
  color: red;
  text-decoration: none;
  position: absolute;
  top: 0;
  right: 0;
  margin: 0;
  padding-top: 10px;
}
 
.lightbox-target:target {
  opacity: 1;
  top: 0;
  bottom: 0;
}
 
.lightbox-target:target img {
  height: 600px;
  vertical-align: top;
}