@charset "utf-8";



/*PC・タブレット・スマホ共通設定
------------------------------------------------------------------------------------------------------------------------------------------------------*/

/*全体の設定
---------------------------------------------------------------------------*/
body {
	margin: 0px;padding: 0px;
	color: #666;	/*全体の文字色*/
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;	/*フォント種類*/
	font-size: 15px;	/*文字サイズ*/
	line-height: 2;		/*行間*/
	-webkit-text-size-adjust: none;
}
h1,h2,h3,h4,h5,p,ul,ol,li,dl,dt,dd,form,figure,form {margin: 0px;padding: 0px;font-size: 100%;}
ul {list-style-type: none;}
ol {padding-left: 40px;padding-bottom: 15px;}
img {border: none;max-width: 100%;height: auto;vertical-align: middle;-webkit-backface-visibility: hidden;}
table {border-collapse:collapse;font-size: 100%;border-spacing: 0;}
iframe {width: 100%;}
.map {
  position:relative;
  width: 95%;
  margin:0 auto 2em
}
.map::before {
  content: "";
  display: block;
  width: 100%;
  padding-top: 56.25%;
}
.map iframe {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
}
.center{
	text-align:center;
}
/*リンク（全般）設定
---------------------------------------------------------------------------*/
a {
	color: #666;	/*リンクテキストの色*/
	-webkit-transition: 0.5s;	/*マウスオン時の移り変わるまでの時間設定。0.5秒。*/
	transition: 0.5s;			/*同上*/
}
a:hover {
	color: #b6180c;				/*マウスオン時の文字色*/
	text-decoration: none;		/*マウスオン時にリンクの下線を消す設定*/
}
.item_bt {
    text-align: center;
}
.item_bt a {
    display: inline-block;
    background: #00a0e9;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    color: #fff;
    padding: 7px 20px;
    transition: .3s;
    text-decoration: none
}
.item_bt a:before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 90%;
    content: "\f138";
    margin-right: 0.3em;
}
/*ヘッダー
---------------------------------------------------------------------------*/
header {
	background: #f7f7f7;	/*背景色*/
}
header .inner {
	height: 100px;	/*ヘッダーの高さ*/
	position: relative;
}
/*ロゴ画像*/
#logo img {
	width: 450px;	/*画像幅*/
	position: absolute;
	left: 3%;	/*左から3%の場所に配置*/
	top: 5px;	/*上から32pxの場所に配置*/
}
#mainimg{
	background:url(/images/header-bg.jpg) no-repeat center center;
	background-size:cover;
	text-align:center;
	padding: 40px 10px 20px;
}
#mainimg .catch{
	color: #333;
    text-align: right;
    margin: 0 0 15px;
    font-size: 400%;
    line-height: 1;
    font-weight: bold;
}
#mainimg .main-text {
    padding: 20px;
    width: 450px;
    font-size: 25px;
    color: #fff;
    line-height: 1.8em;
    background: #b22222;
    text-align: center;
    box-sizing: border-box;
}

/*メインメニュー
---------------------------------------------------------------------------*/
/*メニューブロックの設定*/
#menubar {
	background: #228b22;	/*背景色*/
	overflow: hidden;
}
/*メニュー１個あたりの設定*/
#menubar li {
	float: left;
	margin-left: 3%;
	overflow: hidden;
	letter-spacing: 0.2em;
}
#menubar li a {
	text-decoration: none;
	display: block;
	color: #fff;	/*文字色*/
	line-height: 46px;	/*高さ。ここを変える場合、fixmenu.cssの「body.is-fixed header」のサイズも変える。*/
	padding-top: 4px;	/*上にあける余白。下の「border-bottom」のサイズと合わせる。*/
	padding-left: 0.2em;	/*上のletter-spacingの数字と揃える*/
}
/*下線のアニメーション設定*/
#menubar li::after {
	-webkit-transition: 0.5s;transition: 0.5s;	/*0.5秒かけてアニメーションを実行する。*/
	content: "";
	display: block;
	border-bottom: 4px solid #fff034;	/*下線の幅、線種、色*/
	position: relative;left: 0px;bottom: -4px;	/*bottomのサイズは上のborder-bottomの数字と合わせる。マイナス記号は残したまま。*/
}
#menubar li:hover::after,#menubar li.current::after {
	bottom: 0px;
}
/*小さい端末用(画面幅800px以下)メニューを表示させない*/
#menubar-s {
	display: none;
}
/*３本バーアイコンを表示させない*/
#menubar_hdr {
	display: none;
}

/*コンテンツ
---------------------------------------------------------------------------*/
#contents {
	display: flex;
	justify-content: space-between;
	margin: 3%;	/*ボックスの外側にとる余白*/
}

/*トップのサービス*/
.flex-2box{
	display: flex;
	justify-content: space-between;
}
.reverse{
	flex-direction: row-reverse;
}
dl.flex-2box dt{
	width: 40%;
	margin: 0 0 1em;
    text-align: center;
}
dl.flex-2box dd {
    width: 55%;
    margin: 0 0 1em;
}

/*メインコンテンツ
---------------------------------------------------------------------------*/
section{
	margin:0 0 2em;
}
/*メインコンテンツブロック*/
#main {
	width: 72%;		/*ボックス幅*/
}
/*メインコンテンツのh2タグ*/
#main h2 {
	clear: both;
	margin-bottom: 20px;
	padding: 8px 20px;	/*上下、左右への余白*/
	background: #cd853f;	/*背景色*/
	color: #fff;	/*文字色*/
}
#main h2::first-letter {
	border-left: 3px solid #fff;	/*左側のアクセントラインの幅、線種、色*/
	padding-left: 10px;
}
/*メインコンテンツのh3タグ*/
#main h3 {
	clear: both;
	margin-bottom: 20px;
	padding: 6px 20px;	/*上下、左右への余白*/
	border: 1px solid #ccc;	/*枠線の幅、線種、色*/
	background: #fff;	/*背景色*/
}
#main h3::first-letter {
	border-left: 3px solid #b6180c;	/*左側のアクセントラインの幅、線種、色*/
	padding-left: 10px;
}
/*メインコンテンツの段落タグ*/
#main p {
	margin: 0 0 1em;	/*上、左右、下への余白*/
}
#main h2 + p,
#main h3 + p {
	margin-top: -10px;
}

/*SERVICEページ
---------------------------------------------------------------------------*/
.service{
	margin:0 0 40px;
}
.service  .sp-title{
	font-size: 2em;
    color: #ff8c00;
    margin: 0 0 0.1em !important;
}
.service .img{
	width:38%;
}
.service .text{
	width:60%;
}
.service-sub .sels, .service-sub .buy{
	width:48%;
}
.service-sub h4{
	border-top: 1px solid #00338a;
    border-bottom: 1px solid #00338a;
    padding: 0 0 0 10px;
    font-size: 120%;
    color: #1a4894;
    font-weight: 600;
    margin: 0 0 1em;
}
.service-sub .bold{
	color: #00338a;
    font-weight: bold;
    line-height: 1;
}
.flex-4box{
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	margin:0 0 5em;
}
.flex-4box li{
	width:25%;
}
h4.catch {
    color: #e41a05!important;
    font-size: 15px!important;
}
.pic-box{
	background: #fff;
    border: 1px dotted #000;
    padding: 15px;
    margin: 0 0 2em;
}
table{
	border-top:1px solid #000;
	border-left:1px solid #000;
	width:100%;
}
table th{
	background:#ffdead;
}
table th, table td{
	border-bottom:1px solid #000;
	border-right:1px solid #000;
	padding:5px 10px;
}

/*サブコンテンツ
---------------------------------------------------------------------------*/
/*メインコンテンツブロック*/
#sub {
	width: 24%;		/*幅*/
}
/*subコンテンツ内のh2タグ設定*/
#sub h2 {
	padding: 40px 15px;	/*上下左右へのボックス内の余白*/
	font-weight: normal;	/*hタグのデフォルトの太字を標準にする設定*/
	letter-spacing: 0.2em;	/*文字間隔を少し広くとる設定*/
	font-size: 28px;		/*文字サイズ*/
	line-height: 1.5;	/*行間*/
	color: #000;		/*文字色*/
	background: #fff;	/*背景色（サンプルテンプレートでは以下のキーボードやグリーンの背景画像とともに設定しているので注意）*/
	border-top: 1px solid #ccc;	/*上の線の幅、線種、色*/
	border-bottom: 1px solid #ccc;	/*下の線の幅、線種、色*/
}
/*navの直後にnavとh2が続いた場合と、navタグの直後にh2が続いた場合に、h2の上のラインを消す設定*/
#sub nav + nav h2,
#sub nav + h2 {
	border-top: none;
}
/*subコンテンツ内のh2タグ内のspanタグ設定*/
#sub h2 span {
	display: block;
	font-size: 13px;	/*文字サイズ*/
	letter-spacing: normal;	/*文字間隔を標準に戻す設定*/
}
/*bg1背景（キーボード）*/
#sub h2.bg1 {
	background: #fff url(../images/bg1.png) no-repeat right center;	/*背景色、背景画像読み込み、rightは右寄せ、center上下の中央という意味*/
}
/*bg2背景（グリーン）*/
#sub h2.bg2 {
	background: #fff url(../images/bg2.png) no-repeat right center;	/*背景色、背景画像読み込み、rightは右寄せ、center上下の中央という意味*/
}
/*subコンテンツ内のpタグ設定*/
#sub p {
	padding: 15px;
}

/*サブコンテンツ内のメニュー
---------------------------------------------------------------------------*/
/*メニュー全体の設定*/
#sub ul.submenu {
	border-top: 1px solid #ccc;	/*上の線の幅、線種、色*/
}
/*h2タグの直後にsubmenuが入った場合にsubmenuの上のラインを消す設定*/
#sub h2 + ul.submenu {
	border-top: none;
}
/*メニュー１個ごとの設定*/
#sub ul.submenu li a {
	text-decoration: none;
	display: block;
	padding: 15px;	/*メニュー内の余白*/
	border-bottom: 1px solid #ccc;	/*下の線の幅、線種、色*/
}
/*マウスオン時*/
#sub ul.submenu li a:hover {
	background: #999;	/*背景色*/
	color: #fff;	/*文字色*/
}
/*「>」マーク*/
#sub ul.submenu li a::before {
	display: block;
	float: right;	/*右側に配置*/
	content: ">";	/*このテキストを表示させる。変更してもOKですが機種依存文字は使わないように。*/
	color: #999;	/*文字色*/
}
/*マウスオン時の「>」マーク*/
#sub ul.submenu li a:hover::before {
	color: #fff;	/*文字色*/
}

/*PAGE TOP設定
---------------------------------------------------------------------------*/
#pagetop {
	clear: both;
}
#pagetop a {
	text-decoration: none;
	text-align: center;
	display: block;
	float: right;
	margin-right: 3%;
	color: #FFF;		/*文字色*/
	font-size: 20px;	/*文字サイズ*/
	padding: 0px 30px;	/*上下、左右へのボックス内余白*/
	background: #006400;	/*背景色*/
	border-radius: 4px 4px 0px 0px;	/*角丸のサイズ。左上、右上、右下、左下。*/
}
/*マウスオン時*/
#pagetop a:hover {
	background: #999;	/*背景色*/
	color: #FFF;			/*文字色*/
}

/*フッター設定
---------------------------------------------------------------------------*/
footer {
	clear: both;
	background: #006400;	/*背景色*/
	color: #fff;			/*文字色*/
	text-align: center;
}
footer a {
	color: #fff;
	text-decoration: none;
}
footer a:hover {
	color: #fff;
}
footer .pr {
	display: block;
	font-size: 80%;
}

/*トップページ内「更新情報・お知らせ」ブロック
---------------------------------------------------------------------------*/
/*ブロック全体の設定*/
#new dl {
	padding-left: 15px;
	margin-bottom: 40px;
}
/*日付設定*/
#new dt {
	font-weight: bold;	/*太字にする設定。標準がいいならこの行削除。*/
	float: left;
	width: 8em;
}
/*記事設定*/
#new dd {
	padding-left: 8em;
}

/*よく頂く質問ページ
---------------------------------------------------------------------------*/
/*ブロック全体*/
.faq {
	padding: 0px 15px;	/*上下、左右への余白*/
}
/*質問の設定*/
.faq dt {
	color: #b6180c;	/*文字色*/
	font-weight: bold;	/*太字*/
	padding-top: 15px;
}
.faq dt a {
	color: #1a4ef7;	
}
/*回答の設定*/
.faq dd {
	border-bottom: 1px solid #CCC;	/*下線の幅、線種、色*/
	overflow: hidden;
	padding-bottom: 15px;
}

/*テーブル ta1
---------------------------------------------------------------------------*/
/*ta1設定*/
.ta1 {
	width: 96%;
	margin: 0 2% 20px;
	background: #fff;	/*背景色*/
}
.ta1, .ta1 td, .ta1 th {
	border: 1px solid #ccc;	/*テーブルの枠線の幅、線種、色*/
	padding: 10px;	/*ボックス内の余白*/
	word-break: break-all;
}
/*テーブル１行目に入った見出し部分*/
.ta1 th.tamidashi {
	width: auto;
	text-align: left;		/*左よせ*/
	background: #eee;	/*背景色*/
}
/*ta1の左側ボックス*/
.ta1 th {
	width: 140px;	/*幅*/
	text-align: center;	/*センタリング*/
}
/*左側ボックスに画像を入れた場合の設定*/
.ta1 th img {
	width: 100%;
}

/*トップページのNEWアイコン
---------------------------------------------------------------------------*/
.newicon {
	background: #F00;
	color: #FFF;
	font-size: 70%;
	line-height: 1.5;
	padding: 0 5px;
	border-radius: 2px;
	margin: 0px 5px;
	display: inline-block;
	vertical-align: text-top
}

/*その他
---------------------------------------------------------------------------*/
.look {color:#fff;background: #666;padding:5px;border-radius: 4px;}
.mb15,.mb1em {margin-bottom: 15px;}
.clear {clear: both;}
ul.disc {padding: 0em 25px 1em;list-style: disc;}
.color1 {color: #b6180c;}
.pr {font-size: 10px;}
.wl {width: 96%;}
.ws {width: 50%;}
.c {text-align: center;}
.r {text-align: right;}
.l {text-align: left;}
.fr {float: right;margin-left: 1%;margin-bottom: 15px;width: 45%;}
.fl {float: left;margin-right: 1%;margin-bottom: 15px;width: 45%;}
.big1 {font-size: 30px;letter-spacing: 0.2em;}
.mini1 {font-size: 11px;}
.sh {display: none;}
.dn {display: none;}


/*画面幅900px以下の設定
------------------------------------------------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width:900px){

/*ヘッダー（ロゴが入った最上段のブロック）
---------------------------------------------------------------------------*/
/*ヘッダー右側のアイコン類*/
#h-nav {
	right: 20%;	/*右から20%の場所に配置*/
}

/*メインメニュー
---------------------------------------------------------------------------*/
/*メニューブロックの設定*/
#menubar-s {
	background: #228b22;
	overflow: hidden;
}
/*メニュー１個あたりの設定*/
#menubar-s li {
	float: left;
	width: 50%;		/*幅*/
}
#menubar-s li a {
	text-decoration: none;
	display: block;
	text-align: center;
	line-height: 50px;		/*行間（高さ）*/
	color: #fff;
	border-bottom: 1px solid #fff;
	border-right: 1px solid #fff;
}
#menubar-s li:nth-child(even) a {
	border-right: none;
}
/*大きな端末用(画面幅801px以上)メニューを非表示にする*/
#menubar {
	display: none;
}

/*３本バーアイコン設定
---------------------------------------------------------------------------*/
/*３本バーブロック*/
#menubar_hdr {
	display: block;
	z-index: 4;
	position: absolute;
	top: 25px;		/*上から25pxの場所に配置*/
	right: 3%;		/*右から3%の場所に配置*/
	width: 30px;	/*幅*/
	border: 1px solid #000;	/*枠線の幅、線種、色*/
	padding: 12px 10px 5px;	/*上、左右、下へのボックス内余白*/
}
#top #menubar_hdr {
	border: 1px solid #000;	/*トップページでの枠線の幅、線種、色*/
}
/*３本のバー（1本あたり）*/
#menubar_hdr span {
	display: block;
	border-top: 3px solid #000;	/*枠線の幅、線種、色*/
	margin-bottom: 7px;			/*バー同士の余白*/
}
#top #menubar_hdr span {
	border-top: 3px solid #000;	/*トップページでの枠線の幅、線種、色*/
}

/*main,subコンテンツ
---------------------------------------------------------------------------*/
#contents {
	display: block;
}
#main {
	width: 100%;		/*ボックス幅*/
}
#sub {
	width: 100%;		/*幅*/
}

/*トップページ内「更新情報・お知らせ」ブロック
---------------------------------------------------------------------------*/
section#new h2.open {
	background: #b6180c url(../images/btn_minus.png) no-repeat right center/34px 34px;
}
section#new h2.close {
	background: #b6180c url(../images/btn_plus.png) no-repeat right center/34px 34px;
}

/*その他
---------------------------------------------------------------------------*/
body.s-n #sub {display: none;}

}

/*画面幅600px以下の設定
------------------------------------------------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width:600px){
#mainimg .catch{
    text-align: left;
    font-size: 250%;
}
#mainimg .main-text {
    padding: 15px;
    width: 100%;
    font-size: 16px;
}

/*ヘッダー（ロゴが入った最上段のブロック）
---------------------------------------------------------------------------*/
/*ロゴ画像*/
#logo img {
	width: 60%;	/*画像幅*/
	top: 20px;	/*上から38pxの場所に配置*/
}
.flex-2box{
	display: block;
}
dl.flex-2box dt{
	width: 100%;
}
dl.flex-2box dd {
    width: 100%;
}
.service-sub .sels, .service-sub .buy{
	width:100%;
}
.flex-4box li{
	width:49.5%;
}

}


/*画面幅480px以下の設定
------------------------------------------------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width:480px){

/*ヘッダー（ロゴが入った最上段のブロック）
---------------------------------------------------------------------------*/
/*ロゴ画像*/
#logo img {
	left: 5%;	/*左から5%の場所に配置*/
	top: 15px;	/*上から15pxの場所に配置*/
}
/*ヘッダー右側のアイコン類*/
#h-nav {
	left: 0px;	/*左から0pxの場所に配置*/
	top: 55px;	/*上から55pxの場所に配置*/
}

/*メインメニュー
---------------------------------------------------------------------------*/
/*メニュー１個あたりの設定*/
#menubar-s li {
	float: none;
	width: 100%;
}
#menubar-s li a {
	border-right: none;
}

}
