﻿@charset "UTF-8";

/* サイト共通使用CSS */

/* ================= 目次 =====================

【1】配置関連
【2】float 関連
【3】margin 関連
【4】hack 関連
【5】form 関連
	 ・日本語フォーム
	 ・英語フォーム
【6】ImageBox

============================================ */



/* =============================================================
　■□■ 1. 配置関連 ■□■
============================================================= */

/* ------------------ 画像中央寄せ -------------- */

#main p.img-center
{
	text-align: center;
}

#main p.img-center img
{
	margin-left: auto;
	margin-right: auto;
}

/* ------------------ 画像右寄せ -------------- */

img.img-right
{
	float: right;
	margin-left: 10px;
	margin-bottom: 3px;
}

#main p.img-right
{
	float: right;
	margin: 0;
	text-align: right;
	padding-left: 10px;
	height: 100%;
}

#main p.img-right:after
{
	content: "";
	display: block;
	clear: both;
	height: 0px;
}

#main p.img-right img
{
	margin: 0 0 10px auto;
	display: block;
}

*:first-child+html #main p.img-right img /* For Only IE7 */
{
	margin: 0 0 10px 0;
}

*html #main p.img-right img /* For Only IE6 */
{
	margin: 0 0 10px 0;
}

#main .img-right02
{
	display: inline;
}

#main .img-right02 img
{
	float: right;
	margin: 0 0 10px 10px;
}

/* ------------------ 画像左寄せ -------------- */

img.img-left
{
	float: left;
	margin-right: 10px;
	margin-bottom: 3px;
}

#main p.img-left
{
	float: left;
	margin: 0;
	text-align: left;
	padding-right: 10px;
	height: 100%;
}

#main p.img-left:after
{
	content: "";
	display: block;
	clear: both;
	height: 0px;
}

#main p.img-left img
{
	margin: 0 auto 10px 0;
	display: block;
}

*:first-child+html #main p.img-left img /* For Only IE7 */
{
	margin: 0 0 10px 0;
}

*html #main p.img-left img /* For Only IE6 */
{
	margin: 0 0 10px 0;
}

#main .img-left02
{
	display: inline;
}

#main .img-left02 img
{
	float: left;
	margin: 0 10px 10px 0;
}

/* ------------------ テキスト右寄せ -------------- */

#main .text-right
{
	text-align: right;
}

/* ------------------ テキスト左寄せ -------------- */

#main .text-left
{
	text-align: left;
}

/* ------------------ テキスト中央寄せ -------------- */

#main .text-center
{
	text-align: center;
}


/* =============================================================
　■□■ 2. float 関連 ■□■
============================================================= */

/* ------------------ floatをここから回避 ------------------ */
.clear
{
	clear: both;
}

.clear-top15
{
	clear: both;
	padding-top: 15px !important;
}
*:first-child+html .clear-top15  /* For Only IE7 */
{
	padding-top: 35px !important;
}

/* -------- floatした中身がBOXからはみ出すのを回避 -------- */

.clearbox:after
{
	content: "";
	display: block;
	clear: both;
	height: 0px;
}

.clearbox
{
	height: 100%;
}


/* =============================================================
　■□■ 3. margin 関連 ■□■
============================================================= */

/* -------------- 上 -------------- */
#main .top5
{
	margin-top: 5px;
}

#main .top10
{
	margin-top: 10px;
}

#main .top20
{
	margin-top: 20px;
}

#main .p-top10
{
	padding-top: 20px;
}

#main .p-top20
{
	padding-top: 20px;
}

/* -------------- 下 -------------- */
#main .bottom0
{
	margin-bottom: 0px;
}

#main .bottom5
{
	margin-bottom: 5px;
}

#main .bottom8
{
	margin-bottom: 8px;
}

#main .bottom10
{
	margin-bottom: 10px;
}

#main .bottom20
{
	margin-bottom: 20px;
}

#main .bottom30
{
	margin-bottom: 30px;
}

#main .bottom40
{
	margin-bottom: 40px;
}

#main .bottom250
{
	margin-bottom: 250px;
}

#main .p-bottom10
{
	padding-bottom: 10px;
}

#main .p-bottom20
{
	padding-bottom: 20px;
}


/* -------------- 左 -------------- */
#main .left10
{
	margin-left: 10px;
}

#main .left20
{
	margin-left: 20px;
}

#main .left50
{
	margin-left: 50px;
}

/* -------------- 右 -------------- */
#main .right10
{
	margin-right: 10px;
}

#main .right20
{
	margin-right: 20px;
}


/* =============================================================
　■□■ 4. hack 関連 ■□■
============================================================= */

/* -------- 中身をfloatした場合も背景を下まで伸ばす -------- */

.clearfix:after
{
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

.clearfix
{
	display: inline-block;
}

/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */



/* -------- IE5.5 ＆ IE6のみで起きる不具合の回避 -------- */

/* Hides from IE5-mac \*/
* html .hollyhack {height: 1%;}
/* End hide from IE5-mac */


/* =============================================================
　■□■ 5. form 関連 ■□■
============================================================= */

/* -------- 日本語フォーム -------- */

.form-jpn /* フォーム内を日本語入力に指定（IEのみ対応） */
{
	ime-mode: active;
	padding: 1px 2px;
}

.textbox-jpn /* テキストボックス内を日本語入力に指定（IEのみ対応） */
{
	ime-mode: active;
	padding: 1px 2px;
}


/* -------- 英語フォーム -------- */

.form-eng /* フォーム内を英語入力に指定（IEのみ対応） */
{
	ime-mode: inactive;
	padding: 1px 2px;
}


/* ====================================================
　■□■ 6. ImageBox ■□■
==================================================== */

/* ------------ #ImageBox ------------ */

#ImageBoxOverlay
{
	background-color: #000;
}
#ImageBoxCaption
{
	background-color: #FFFFFF;
}
#ImageBoxContainer
{
	width: 250px;
	height: 250px;
	background-color: #FFFFFF;
}
#ImageBoxCaptionText
{
	font-weight: bold;
	padding-bottom: 5px;
	color: #000;
}
#ImageBoxCaptionImages
{
	margin: 0;
	font-size: 82%;
}
#ImageBoxNextImage
{
	background-image: url(/img/spacer.gif);
	background-color: transparent;
}
#ImageBoxPrevImage
{
	background-image: url(/img/spacer.gif);
	background-color: transparent;
}
#ImageBoxNextImage:hover
{
	background-image: url(/img/next.gif);
	background-repeat: no-repeat;
	background-position: right 15px;
}
#ImageBoxPrevImage:hover
{
	background-image: url(/img/prev.gif);
	background-repeat: no-repeat;
	background-position: left 15px;
}

/*171206*/
.img-right span{
	font-size: 11px;
	width: 250px;
	display: block;
	text-align: left;
	margin: -10px 0 10px 3px;
}
