
/* ===== 共通 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {
    font-size: 14px;
    background-color: #F9F9F9;
    font-family: 'Poppins', 'Noto Sans JP', sans-serif;

  line-height: 1.7;  /* 読みやすく */
  letter-spacing: 0.05em;

}


h1, h2 {
  font-family: 'Poppins', sans-serif;
}

.subject {
	text-align:right;
	font-size: 10px;
	color:#FFFFFF;
	padding:3px;
}

.subject3 {
	text-align:right;
	padding:5px;
	font-size: 10px;
	color:#FFFFFF;
  font-family: 'Poppins', sans-serif;
}
#content {

    width: 100%;
    max-width: 970px;   /* ←PC用 */
    margin: 0 auto;

}

/* ===== ヘッダー ===== */


#header {
	height:23px;
	background: linear-gradient(to right, #003366, #00ccff);
	align-items: center;      /* 上下中央 */
	justify-content: flex-end; /* 右寄せ */
}

#footer{
	height:23px;
	background: linear-gradient(to right, #003366, #00ccff);
	align-items: center;      /* 上下中央 */
	justify-content: flex-end; /* 右寄せ */
}
#footer .subject {
	margin: 0;
	padding-right: 10px;
}

#top_corplogo img {

	max-height:50px;
    height: auto;
}


#top_image {
    width: 970px;
    height: 285px;
    background: url(../image/top01.jpg) center/cover no-repeat;
    margin: 0 auto 10px;
	position: relative;   /* 基準にする */
}


.top_text {
  position: absolute;   /* 重ねる */
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  
  color: #fff;
  text-align: center;
}

.top_text h1 {
  font-family: "Poppins", "Noto Sans JP", sans-serif;
  font-weight: 800;
  font-size: 35px;
  color: #fff;
	text-shadow: 0 10px 10px rgba(0,0,0,0.5);
	line-height: 1.4;
}


/* ===== メニュー（PC） ===== */

#technology_top_image{

	display:block;
	background-image:url(../image/technology_top01.png);
	margin-left:auto;
	margin-right:auto;
	max-width:970px;
	height:60px;
	margin-bottom:10px;
}
#report_top_image{
	display:block;
	background-image:url(../image/report_top01.png);
	margin-left:auto;
	margin-right:auto;
	max-width:970px;
	height:60px;
	margin-bottom:10px;
}
#corp_top_image{
	display:block;
	background-image:url(../image/corp_top01.png);
	margin-left:auto;
	margin-right:auto;
	max-width:970px;
	height:60px;
	margin-bottom:10px;
}
#business_top_image{
	display:block;
	background-image:url(../image/business_top01.png);
	margin-left:auto;
	margin-right:auto;
	max-width:970px;
	height:60px;
	margin-bottom:10px;
}
#contact_top_image{
	display:block;
	background-image:url(../image/contact_top01.png);
	margin-left:auto;
	margin-right:auto;
	max-width:970px;
	height:60px;
	margin-bottom:10px;
}

#menu {
	margin-bottom:10px;
	float:right;
	display:block;
	width:600px;
	height:35px;
}


#content {
    width: 100%;
    max-width: 970px;
    margin: 0 auto;   /* ←これが絶対必要 */
}



#menu ul {
    list-style: none;
}

#menu li {
    float: left;
    width: 100px;
	height:35px;
}

/*{{{ menubar */


.top a{
	display:block;
	width:100%;
	height:100%;	
	background-image:url(../image/menu.gif);
	background-position:0px 0px;
	background-repeat:no-repeat;
	text-indent:-1000em;
	text-decoration:none;
}
.top a:hover, .top_current a{
	background-image:url(../image/menu.gif);
	background-position:0px -35px;
}
.business a{
	display:block;
	width:100%;
	height:100%;	
	background-image:url(../image/menu.gif);
	background-position:-100px 0px;
	background-repeat:no-repeat;
	text-indent:-1000em;
	text-decoration:none;
}
.business a:hover, .business_current a{
	background-image:url(../image/menu.gif);
	background-position:-100px -35px;
}
.technology a{
	display:block;
	width:100%;
	height:100%;	
	background-image:url(../image/menu.gif);
	background-position:-200px 0px;
	background-repeat:no-repeat;
	text-indent:-1000em;
	text-decoration:none;
}
.technology a:hover, .technology_current a{
	background-image:url(../image/menu.gif);
	background-position:-200px -35px;
}
.report a{
	display:block;
	width:100%;
	height:100%;	
	background-image:url(../image/menu.gif);
	background-position:-300px 0px;
	background-repeat:no-repeat;
	text-indent:-1000em;
	text-decoration:none;
}
.report a:hover, .report_current a{
	background-image:url(../image/menu.gif);
	background-position:-300px -35px;
}
.corp a{
	display:block;
	width:100%;
	height:100%;	
	background-image:url(../image/menu.gif);
	background-position:-400px 0px;
	background-repeat:no-repeat;
	text-indent:-1000em;
	text-decoration:none;
}
.corp a:hover, .corp_current a{
	background-image:url(../image/menu.gif);
	background-position:-400px -35px;
}
.contact a{
	display:block;
	width:100%;
	height:100%;	
	background-image:url(../image/menu.gif);
	background-position:-500px 0px;
	background-repeat:no-repeat;
	text-indent:-1000em;
	text-decoration:none;
}
.contact a:hover, .contact_current a{
	background-image:url(../image/menu.gif);
	background-position:-500px -35px;
}
/*}}}*/



span.clear{
	display:block;
	clear:both;
	/*border:3px solid red;*/
}

div.content_box{
	float:left;
	width:685px;
	border:1px solid #CCCCCC;	
	padding-bottom:20px;
}


/*{{{ content */
p.content_title{
	font-size:15pt;
	color:#333;
	font-weight:bold;
	margin-left:20px;
	margin-bottom:0px;
}
h2.content_header{
	text-indent:1em;
	font-size:14px;
	color:navy;

	margin:20px 5px 5px 5px;
	clear:both;
}
h3.content_subtitle{
	font-size:13px;
	color:#333;

	margin:5px 3px 3px 14px;
	padding-left:10px;
	clear:both;
}
p.content_link{
	float:right;
	background-image:url(../image/link_marker.gif);
	background-repeat:no-repeat;
	color:#333;
	margin-right:10px;
	margin-top:10px;
	margin-bottom:10px;
	padding-left:25px;
}
p.content_pdf_link{
	float:right;
	background-image:url(../image/pdficon_large.gif);
	background-repeat:no-repeat;
	color:#333;
	margin-right:10px;
	margin-top:10px;
	margin-bottom:50px;
	padding-left:35px;
	padding-top:10px;
	padding-bottom:10px;
}
p.caption{
	color:#333;
	text-align:center;
	margin-bottom:20px;
}
div.detail{
	text-indent:1em;
	line-height:2em;
	color:#333;
	margin:0px 20px;
	padding:10px;
	border:1px solid #999;
	background-color:lightyellow;
}
p.content_text{
	text-indent:1em;
	line-height:2em;
	color:#333;
	margin:0px 30px;
	clear:both;
}
p.content_text span.corp_en{
	line-height:3em;
	float:left;
	display:block;
}
p.content_text span.name_en{
	line-height:3em;
	float:left;
	display:block;
	margin-left:50px;
	width:100px;
	clear:both;
}
p.content_text span.corp{
	line-height:3em;
	float:left;
	display:block;
	margin-left:50px;
	width:320px;
	clear:both;
}
p.content_text span.name{
	line-height:3em;
	float:left;
	display:block;
}


img.technology-img {

    max-width: 100%;
    height: auto;

}




a.bread:link{
	color:white;
	text-decoration:none;
}
a.bread:visited{
	color:white;
	text-decoration:none;
}
a.bread:hover{
	color:white;
	text-decoration:none;
}
a.bread:active{
	color:white;
	text-decoration:none;
}

#breadcrumb li{
    display: inline;
}

/* ===== 最新情報 ===== */

div.news{
	float:left;
	width:400px;
	border:1px solid #CCCCCC;	

    background: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    margin-top:1px;
    box-sizing: border-box;
    margin-bottom:10px;
}

p.box_header{
	height:30px;
	margin:-1px;
	border-top:1px solid #FF3399;
	border-bottom:1px solid #990033;
	font-weight:bold;
	padding:2px 0 2px 10px;
	font-size:17px;
	background-color:#CC0066;
	color:white; 

}


p.box_header2{
	height:30px;
	margin:-1px;
	border-top:1px solid  #00ccff;
	border-bottom:1px solid  #00ccff;
	font-weight:bold;
	padding:2px 0 2px 10px;
	font-size:18px;
	background: linear-gradient(to right, #003366, #00ccff);
	color:white;
    margin-bottom: 20px;
    border-left: 6px solid #1da1c9;
    padding-left: 10px;
}

p.news_date{
	color:#333;
	border-left:10px solid #00ccff;
	font-weight:bold;
	margin:10px 0px 3px 10px;
	padding-left:5px;
}
h2.news_title{
	font-weight:normal;
	font-size:14px;
	color:#333;
	margin-left:16px;
}

h2.news_flash{
	font-weight:normal;
	font-size:14px;
	color:#333;
	margin-left:16px;
}
p.news_text{
	color:#333;
	margin-left:16px;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
	font-size:13px;
}
ol.news_list li{
	color:#333;
	margin-left:50px;
}



/* リンク */
.news_title a {
    color: #26896D;
    text-decoration: none;
}

.news_title a:hover {
    text-decoration: underline;
}

#toggle-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 16px;
    background: linear-gradient(to right, #1da1c9, #0b2c6b);
    color: #fff;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    width: 100%;
}

#toggle-btn:hover {
    background: #0b2c6b;
    opacity: 0.85;
}


/*}}}*/






.banner {
    position: relative;
    float: left;
    width: 270px;
    height: 240px;
    margin-left: 5px;
    margin-bottom: 10px;
    border: 1px solid #CCC;

    display: flex;
    flex-direction:column;
    justify-content:space-between;
    background-repeat:no-repeat;
    background-position:bottom;
    overflow: hidden;
}

/* 画像（右下配置） */
.banner-img {
    position: absolute;
    right: 25px;
    bottom: 5px;
    width: 80%;
    height: auto;
    z-index: 0;
}


/* 文字を前面に */
	.banner p,
	.banner a {
    position: relative;
    z-index: 1;
}

/* タイトル */
.banner p.title {
    background-color:#333;
    color: #fff;
    text-align: center;
    padding: 5px;
    font-size: 13px;
    height:37px;
	vertical-align: middle;
	line-height:1.2em;
}

/* 本文 */
.banner p.text {
    padding: 5px;
    font-size: 12px;
	text-indent:1em;
	flex-grow:1; 
}


/* リンク */
.banner a {
    text-align: right;
    padding: 5px;
	float:left;
}



div.banner_1line{
	float:right;
	width:275px;

}
div.banner_2line{
	float:right;
	width:555px;
}

* a img{
	border:none;
	text-decoration:none;
}


div.banner:hover{
    transform: translateY(-5px);
    transition: 0.3s;
}


div.maps{
	width:640px;
	height:550px;
	border:1px solid blue;
}
iframe.map
{
	width:640px;
	height:550px;
	margin-left:20px;
	margin-bottom:20px;
}


/* ===== ハンバーガー ===== */
#hamburger {
    display: none;
    width: 35px;
    margin: 10px;
    cursor: pointer;
}

#hamburger span {
    display: block;
    height: 4px;
    margin: 6px 0;
    background:  #fff;
}




/* ===== スマホ ===== */
@media screen and (max-width: 768px) {


	html, body {
	    width: 100%;
	    overflow-x: hidden;   /* ←はみ出し完全防止 */
	}



    	#footer {
        	width: 100%;
        	max-width: 100%;
        	margin: 0
    }

    #header {
        width: 100%;
        max-width:100%;
        margin: 0
    }

    #top_corplogo {
        text-align: center;   /* ←外側で中央寄せ */
    	width: auto;
	height:50px;

}

	#top_corplogo img {
	width:100%!important;
        max-width:380px;
        margin: 0 auto;
        display: block;       /* ←これ重要 */
	}


    #content {
        width: 100%!important;
        margin: 0 auto;
        padding:0 10px;   /* ←左右だけ */
	display: inline-block;  /* ←これが効く */
	    text-align: left;       /* ←中身は左揃えに戻す */

    }


    #top_image {
        display:none;
	height:100px;
        background-size: cover;
        width: 100% !important;
    }


    .top_space {
	height: 60px;   /* 空けたいスペース */
	margin-bottom:10px;
  }


    /* ハンバーガー表示 */
    #hamburger {
        display: block;
	position: fixed;   /* ←これ重要 */
	top: 72px;
	right: 10px;
	z-index: 9999;     /* ←最前面 */
	background:#003366;
	padding: 3px;
	border-radius: 6px;
	width: 55px;
	height: 43px;
}

    /* メニュー */
    #menu {
	display: none;   /* ←これが一番重要 */
        float: none;
	position: fixed;   /* ←追加 */
	top: 143px;
	left: 0;
	background: #003366!important;
	z-index: 9998;
        right: -40%;      /* 最初は画面外 */
        width: 40%;
        height: calc(100lvh - 143px);
        transition: right 0.35s ease;
    }

	.hamburger.open {
	  background: #333!important;
	}

	.hamburger.open span {
	  background: #fff;
	}

    #menu.open {
        display: block !important;
        right: 0;
    }


    #menu li {
        float: none;
        width: 100%;
	min-height: 70px; 
    	padding: 10px 10px;
    }

    #menu li a {
        text-indent: 0;
        background: #29ABE2;
        color: #fff;
        width: 100%;
    	font-size: 16px;
	min-height: 60px; 
    	display: flex;
    	align-items: center;
    	justify-content: center;
        border-radius: 8px;
	adding-top: 20px;

   }
#overlay {
    position: fixed;
    inset: 0;

    background: rgba(0,0,0,0.4);

    opacity: 0;
    visibility: hidden;

    transition: 0.3s;

    z-index: 9997;
}

#overlay.open {
    opacity: 1;
    visibility: visible;
}

    /* レイアウト */
    .news {
        width:  100%!important;
	max-width:  400px!important;
        float: none!important;
    	position: relative;
	margin: 0 auto;
    	z-index: 1;
	display: block;
	text-align: left;     /* ←中身は左揃えに戻す */
}
    .content_box {
        width:  100%!important;
	max-width:  700px!important;
        float: none!important;
    	position: relative;
	margin: 0 auto;
    	z-index: 1;
	display: block;
	text-align: left;     /* ←中身は左揃えに戻す */
}

img.technology-img {

    max-width: 100%;
    height: auto;

}


    .banner_1line {
    	width:  100%!important;
	max-width:  400px!important;
        padding: 0!important;
        float: none !important;
       	margin: 0 auto;
       	margin-top: 10px;
    }

    .banner_2line {
    	width:  100%!important;
	max-width:  400px!important;
        padding: 0!important;
        float: none !important;
       margin: 0 auto;
    }

    .banner {
    	width:  100%!important;
	max-width:  400px!important;
        padding: 0!important;
        float: none !important;
       margin: 0 auto;
       margin-bottom: 10px;
    }


    .news_title a {
        display: inline-block;
        padding: 10px;
        background: #eaf6fb;
        border-radius: 10px;
    }


    .banner a {
        display: block;         /* ←横いっぱいタップ可能 */
        padding: 10px;
	text-align: left!important;
        background: #eaf6fb;
        border-radius: 10px;
    }
.banner p.title {
    	width:  100%!important;
	max-width:  400px!important;
    background-color:#333;
    color: #fff;
    text-align: center;
    padding: 5px;
    font-size: 13px;
    height:37px;
	vertical-align: middle;
	line-height:1.2em;
}

/* 本文 */
.banner p.text {
    	width:  100%!important;
	max-width:  400px!important;
    padding: 5px;
    font-size: 12px;
	text-indent:1em;
	flex-grow:1; 
}



}

