﻿/* ============================
    link
=============================*/
a:link {
	color: #333333;	
	text-decoration:underline;
}
a:visited {
	color: #333333;	
	text-decoration:underline;
}
a:hover {
	color: #666666;	
	text-decoration:none;
}
a:active {
	color: #666666;	
	text-decoration:none;
}

/*=============================
    body
=============================*/
html{
    font-size: 62.5%;
    height: 100%;
}
body{
    padding: 0;
    min-width: 960px;
    background: url(../image/main-bg.gif) repeat;
    background-size: 100px;
    -webkit-print-color-adjust: exact;
}
#wrap {	
	font-family: Helvetica , "游ゴシック" , "Yu Gothic", "YuGothic" , "ヒラギノ角ゴ Pro W3" , "Hiragino Kaku Gothic Pro" ,"Meiryo", "メイリオ", "ＭＳ Ｐゴシック", sans-serif;
	font-size: 1.6rem;
    font-weight: normal;
    min-height: 100%;
    position: relative;
}
h1{
	font-size: 2.2rem;
}
h2{
	font-size: 1.8rem;
}
h3{
	font-size: 1.6rem;
	font-weight: bold;
}
a{
    font-size: 1.6rem;
    font-weight: bold;
}

/* ================================
    header
================================ */
.header{
    width: 100%;
}
.header-wrap{
    width: 960px;
    margin: 0 auto;
    padding-top: 10px;
    position: relative;
}
.header-wrap::after{
    content: '';
    clear: both;
    display: block;
    height: 0;
}

/*logo*/
.logo-box{
    width: 214px;
    float: left;
}
.logo-box a{
    display: block;
    -webkit-transition: 0.6s;
    -moz-transition: 0.6s;
    -o-transition: 0.6s;
    -ms-transition: 0.6s;
    transition: 0.6s;
}
.logo-box img{
    width: 100%;
}
.logo-box a:hover{    
    -moz-transform: scale(1.04,1.04);
    -webkit-transform: scale(1.04,1.04);
    -o-transform: scale(1.04,1.04);
    -ms-transform: scale(1.04,1.04)
}

/*change-btns*/
.change-btns{
    width: 684px;
    float: right;
    margin: 4px 0;
}

/*fontsize-change*/
#fontsize-change {
    width: 190px;
    float: left;
    margin-right: 8px;
}
#fontsize-change p{    
    display: inline-block;
}
#fontsize-change input[type="radio"]{
    display: none ;
    width: 44px;
    height: 30px;
    line-height: 30px;
}
#fontsize-change .btn{
    width: 46px;
    height: 32px;
    line-height: 30px;
    font-size: 1.7rem;
    font-weight: bold;   
    text-align: center;
    background: #e6e6e6;
    display: inline-block;
    border: 1px solid #e6e6e6;
    border-bottom: 2px solid #999999;
    cursor: pointer;
}
#fontsize-change .btn.active,
#fontsize-change .btn:active{
    color: #FFFFFF;
    background: #f29300;
    border-bottom:2px;
}
#fontsize-change  #font_medium{
    border-radius: 4px 0 0 4px;
}
#fontsize-change  #font_large{
    border-radius: 0 4px 4px 0;
}

.font_medium_active {
  font-size: 62.5%;
}
.font_large_active {
  font-size: 70%;
}

/*lang chenge*/
.lang-box{
    width: 330px;
    float: left;
}
.lang-box .lang-btn{
	display: inline-block;
	padding: 4px 1px 1px 1px;
    font-size: 1.5rem;
}
.lang-box input[type="button"]{
    padding: 0;
}
.lang-box .lang-btn::before{
    content: '＞';
    padding: 0px 1px;
    margin-right: 2px;
    border: 1px solid;
	background: #FFFFFF;
	border-radius: 50%;
	font-size: 1.2rem;
	line-height: 1.5;
	text-align: center;
	text-decoration: none;
	color: #333333;
}

/*bgcolor-change*/
.bgcolor-change{
    width: 152px;
    float: right;
}
.bgcolor-change button{
    width: 34px;
    height: 34px;
    font-weight: bold;
    border: 1px solid #e6e6e6;
    border-radius: 2px;
    cursor: pointer;
}
.bgcolor-change #whitebutton{
    background-color: #FFFFFF;
}
.bgcolor-change #yellowbutton{
    background-color: #fcee21;
}
.bgcolor-change #bluebutton{
    color: #FFFFFF;
    background-color: #2e3192;
}
.bgcolor-change #blackbutton{
    color: #FFFFFF;
    background-color: #000000;
}


/*global navi*/
.gnav{
    width: 630px;
    text-align: right;
    margin-bottom: 20px;
    float: right;
}
.gnav ul li{
    padding-left: 7px;
    line-height: 1.2;
    display: -moz-inline-box;
    display: inline-block;
}
.gnav ul li::after{
    content:'';
    width: 2px;
    height: 20px;
    background-color: #CCC;
    display: inline-block;
    margin-left: 14px;
}
.gnav ul li:last-child::after{
    display: none;
}
.gnav ul li span{
    color: #f29300;
}
.gnav ul li a{
    padding: 3px 3px 1px;
    font-size: 2.8rem;
    font-weight: bold;
    text-decoration: none;
    position: relative;
}
.gnav ul li a:hover{
    background-color: #e5e5e5;
    border-radius: 2px;
    -webkit-transition-property: background-color;
    transition-property: background-color;
    -webkit-transition-duration: 0.25s;
    transition-duration: 0.25s;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
}
/* ================================
    main
================================ */
.main{
    width: 100%;
    margin: 0 auto;
}

/*search-box*/
.search-box {
    padding-bottom: 10px;
    position: relative;
}
.search-box input[type="text"],
.search-box input[type="submit"]{    
    height: 38px;
    border: 2px solid #f29300;
    font-weight: bold;
    margin: 0;
    box-shadow: 6px 8px 10px rgba(0,0,0,0.11);
}
.search-box:hover{
    filter: li(opacity=60);
    -ms-filter: "li(opacity=60)";
    -webkit-transition: 0.4s;
    -moz-transition: 0.4s;
    -o-transition: 0.4s;
    -ms-transition: 0.4s;
    transition: 0.4s;
    -moz-transform: scale(1.01,1.01);
    -webkit-transform: scale(1.01,1.01);
    -o-transform: scale(1.01,1.01);
    -ms-transform: scale(1.01,1.01);
}
.search-box input[type="text"]{    
    border-radius: 8px 0 0 8px;
    background-color: #FFFFFF;
    background-image:url(../image/search_icon.png);
    background-size: 18px;
    background-repeat: no-repeat;
    background-position: 6px 50%;
    padding-left: 28px;
    margin-left: 6px;
}
.search-box input[type="submit"]{
    width: 60px;
    color: #FFFFFF;
    border-radius: 0 8px 8px 0;
    background-color: #f29300;
    position: absolute;
    top: 0;
    right: 0;
    margin-right: 6px;
    cursor: pointer;
}

/*emergency-box*/
.emergency-box{
    padding: 5px 10px;
    margin: 0 6px;
    border: 2px solid #ed1c24;
    border-radius: 8px;
    background-color: #FFFFFF;
}
.emergency-box img{
    width: 28px;
    vertical-align: sub;
}
.emergency-title,
.emergency-box p,
.emergency-box a {
    font-size: 1.8rem;
    display: inline-block;
}
.emergency-box a{
    color: #0071bc;
    -webkit-transition: 0.6s;
    -moz-transition: 0.6s;
    -o-transition: 0.6s;
    -ms-transition: 0.6s;
    transition: 0.6s;
}
.emergency-box a:hover{
    color: #f29300;
    text-decoration: underline;
}
/* ================================
    advertisement
================================ */
.advertisement-box{
    width: 940px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0 auto 20px;
}
.advertisement-box div{
    width: 194px;
    margin-right: 4px;
    margin-bottom: 4px;
    position: relative;
    float: left;
    cursor: pointer;    
}
.advertisement-box div::before,
.advertisement-box div::after{
	content: '';
	width: 0;
	height: 0;
	border: 2px solid transparent;
    position: absolute;
    z-index: -1;
}
.advertisement-box div::before{
    top: -2.4px;
	left: -2.2px;
}
.advertisement-box div::after{
    bottom: -2.3px;
	right: -2.2px;
}
.advertisement-box div:hover::before,
.advertisement-box div:hover::after {
	width: 198px;
	height: 109%;
}
.advertisement-box div:hover::before {
	border-bottom-color: #0071bc;
	border-left-color: #0071bc;
	-webkit-transition: height 0.3s, width 0.3s 0.3s;
    -moz-transition: height 0.3s, width 0.3s 0.3s;
    -o-transition: height 0.3s, width 0.3s 0.3s;
    -ms-transition: height 0.3s, width 0.3s 0.3s;    
	transition: height 0.3s, width 0.3s 0.3s;
}
.advertisement-box div:hover::after {
	border-top-color: #0071bc;
	border-right-color: #0071bc;
    -webkit-transition: height 0.3s, width 0.3s 0.3s;
    -moz-transition: height 0.3s, width 0.3s 0.3s;
    -o-transition: height 0.3s, width 0.3s 0.3s;
    -ms-transition: height 0.3s, width 0.3s 0.3s;    
	transition: height 0.3s, width 0.3s 0.3s;
}
.advertisement-box div a{
    width: 100%;
    display: block;
    font-size: 1.4rem;
    text-align: center;
}
.advertisement-box div a:hover{
     text-decoration: underline;
}
.advertisement-box div:first-child{
    padding: 3px 0;
    background-color: #FFFFFF;
    height: 52px;
}
.advertisement-box a img{
    width: 100%;
}

/* ================================
    footer
================================ */
.footer{
    width: 100%;
    text-align: center;
}
.footer-link-box,
.footer-address-box{
    width: 960px;
    padding: 10px;
    margin: 0 auto;
}
.footer-link-wrap{
    width: 100%;
    background: #f29300;    
}
.footer-link-box a{
    font-size: 1.4rem;
    font-weight: normal;
    color: #FFFFFF;
    margin-right: 8px;
}
.footer-address-box{
    width: 100%;
    filter: alpha(opacity=50);
	-moz-opacity: 0.8;
	opacity: 0.8;
	background: #FFFFFF;
}
.footer-address-box address{
    font-style: normal;
    font-size: 1.4rem;
}
.footer-address-box address a{
    margin-right: 8px;
}

