@charset "utf-8";
/* CSS Document */

/*「各事務所イベント・所員紹介」ブロック
---------------------------------------------------------------------------*/
/*ブロック全体の設定*/
html,body {
 margin: 0px;
 padding: 0px;
	color: #333;	/*全体の文字色*/
	font-family:"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;	/*フォント種類*/
	font-size: 14px;	/*文字サイズ*/
	line-height: 2;		/*行間*/
	

}
h1,h2,h3,h4,h5,p,ul,ol,li,dl,dt,dd,form,figure,form{margin: 0px;padding: 0px;}
.icon {
	background: #F00;
	color: #FFF;
	font-size: 10px;
	padding: 2px 10px;
	border-radius: 2px;
	margin: 0px 5px;
}

/*mainコンテンツのh2タグの設定*/
h2 {
	clear: both;
	margin-bottom: 15px;
	font-size: 100%;
	color: #FFF;		/*文字色*/
	background: #212741;	/*背景色*/
	padding: 5px 15px;	/*上下、左右への余白*/
	border-radius: 4px;	/*角丸のサイズ*/
}
/*mainコンテンツのh2タグの１文字目への設定*/
h2::first-letter {
	border-left: 3px solid #fff;	/*左側のアクセント用ラインの幅、線種、色*/
	padding-left: 10px;	/*アクセントラインと文字の間にとる余白*/
}
/*mainコンテンツのh3タグの設定*/
h3 {
	clear: both;
	margin-bottom: 15px;
	font-size: 100%;
	background: #FFF;	/*背景色*/
	padding: 4px 15px;	/*上下、左右への余白*/
	border: 1px solid #bcbcbc;	/*枠線の幅、線種、色*/
	border-radius: 4px;	/*角丸のサイズ*/
}
/*mainコンテンツのh3タグの１文字目への設定*/
h3::first-letter {
	border-left: 3px solid #212741;	/*左側のアクセント用ラインの幅、線種、色*/
	padding-left: 10px;	/*アクセントラインと文字の間にとる余白*/
}
/*mainコンテンツの段落タグ設定*/
p {
	padding: 7px 15px 14px;	/*上、左右、下への余白*/
}
p + p {
	padding-top: 0px;
}
h2 + p,
h3 + p {
	padding-top: 0px;
	margin-top: -5px;
}

/*リンク（全般）設定
---------------------------------------------------------------------------*/
a {
	color: #306030;	/*リンクテキストの色*/
	-webkit-transition: 0.5s;	/*マウスオン時の移り変わるまでの時間設定。0.5秒。*/
	transition: 0.0s;
	text-decoration: none;/*同上*/
}
a:hover {
	color: #212741;			/*マウスオン時の文字色（全体）*/
	text-decoration: none;	/*マウスオン時に下線を消す設定。残したいならこの１行削除。*/
}
/*テーブル
---------------------------------------------------------------------------*/
/*ta1,ta2共通設定*/
table {border-collapse:collapse;font-size: 100%;border-spacing: 0;}
.ta1,
.ta2 {
	width: 100%;
	margin-bottom: 10px;
}
.ta1, .ta1 td, .ta1 th,
.ta2, .ta2 td, .ta2 th {
	border: 1px solid #999;	/*テーブルの枠線の幅、線種、色*/
	line-height: 2;
	padding: 5px;	/*ボックス内の余白*/
	word-break: break-all;
}
/*テーブル１行目に入った見出し部分*/
.ta1 th.tamidashi,
.ta2 th.tamidashi {
	width: auto;
	text-align: left;	/*左よせ*/
	background: #cce6f6;	/*背景色*/
}
/*ta1の左側ボックス*/
.ta1 th {
	width: 140px;	/*幅*/
	text-align: center;	/*センタリング*/
	background: #f0f0f0;	/*背景色*/
}
/*ta2の左側ボックス*/
.ta2 th {
	background: #b9e9b4;	/*背景色*/
}
/*ta2の右側ボックス*/
.ta2 td {
	width: 50%;
	text-align: left;	/*センタリング*/
	line-height: 1.5;
}

.ta2 td.kunren {
	width: 20%;
	text-align: center;	/*センタリング*/
	line-height: 1.5;
}
/*お楽しみコンテンツ
---------------------------------------------------------------------------*/
.ta3, .ta3 td, .ta3 th,
.ta3, .ta3 td, .ta3 th {
	line-height: 2;
	padding: 5px;	/*ボックス内の余白*/
	word-break: break-all;

}

.ta3 td {
	width: 20%;
	text-align: left;	/*センタリング*/
	vertical-align:top;
}

/*GoogleMap
---------------------------------------------------------------------------*/
.ggmap {
position: relative;
padding-bottom: 40%;
padding-top: 30px;
height: 0;
overflow: hidden;
}
 
.ggmap iframe,
.ggmap object,
.ggmap embed {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}



/*PDFアイコン
---------------------------------------------------------------------------*/
a[href $='.pdf']    {
background:url(../icon/pdf.png) no-repeat center right;
margin:0;
padding:2px 32px 2px 0;
color:#dd0000;
text-decoration:underline;
}
a[href $='.pdf']:hover  {
	color: #212741;			/*マウスオン時の文字色（全体）*/
	text-decoration: none;	/*マウスオン時に下線を消す設定。残したいならこの１行削除。*/
}
a[href $='.pdf'] {
	color: #306030;	/*リンクテキストの色*/
	-webkit-transition: 0.5s;	/*マウスオン時の移り変わるまでの時間設定。0.5秒。*/
	transition: 0.0s;
	text-decoration: none;/*同上*/
}

/*「所員紹介」と「事務所・出張所」ページの一覧用ブロック
---------------------------------------------------------------------------*/
/*ボックスの設定（リンクなし・あり共通設定）*/
section.list {
	margin-bottom: 5px;	/*ボックス間のスペース*/
	position: relative;
	overflow: hidden;
	padding: 10px;	/*ボックス内の余白*/
	border: 1px solid #ccc;
}
/*ボックスの設定（リンクありの場合）*/
section.list a {
	text-decoration: none;
	display: block;
	overflow: hidden;
	padding: 20px;	/*ボックス内の余白*/
	margin: -20px;	/*上のリンクなしの場合の余白をなくす為の設定*/
	background: #fff;		/*背景色*/
	border: 1px solid #ccc;	/*枠線の幅、線種、色*/
	color: #333;	/*文字色*/
}
/*「事務所・出張所」ページのボックス内の矢印マーク設定*/
section.list a::before {
	content: "→";	/*「→」の文字を表示させる。機種依存文字は使わないように。*/
	background: #212741;	/*背景色（古いブラウザ用）*/
	background: rgba(139,163,101,0.2);	/*色(rgba)の設定。rgba値は左３つが色指定(この場合#212741のrga値)で最後の小数点が透明度。*/
	color: #fff;	/*文字色*/
	font-size: 80px;	/*文字サイズ*/
	line-height: 1;
	padding: 20px;	/*余白（文字と円の間にあける余白）*/
	position: absolute;
	right: -15px;	/*ボックスに対して右から-15pxの場所に配置*/
	bottom: -25px;	/*ボックスに対して下から-25pxの場所に配置*/
	border-radius: 100px;	/*角丸のサイズ。ひとまず大きくしておけばいい。この行を削除すれば四角になる。*/
}
/*マウスオン時のボックス*/
section.list a:hover {
	background: #fffde7;	/*背景色*/
}
/*マウスオン時の矢印マーク*/
section.list a:hover::before {
	background: #212741;	/*背景色*/
}
/*ボックス内の段落タグ設定*/
section.list p {
	padding: 0px;
	margin-left: 25%;	/*左の写真とのバランスをとって設定*/
}
/*ボックス内の写真設定*/
section.list figure img {
	float: left;		/*画像を左へ回り込み*/
	padding: 5px;		/*余白*/
	background: #fff;	/*背景色*/
	width: 20%;			/*写真の幅*/
	height: auto;		/*写真の高さ*/
	border: 1px solid #ccc;	/*線の幅、線種、色*/
}
/*ボックス内のh4タグ設定*/
section.list h4 {
	font-size: 120%;
	color: #212741;		/*文字色*/
	border-bottom: dotted 2px #212741;	/*下線の線種、幅、色*/
	margin-left: 25%;	/*左の写真とのバランスをとって設定*/
	margin-bottom: 10px;
}

/*「イベント」ページの一覧用ブロック
---------------------------------------------------------------------------*/
/*ボックスの設定（リンクなし・あり共通設定）*/
section.event {
	margin-bottom: 5px;	/*ボックス間のスペース*/
	position: relative;
	overflow: hidden;
	padding: 10px;	/*ボックス内の余白*/
	border: 1px solid #ccc;
}
/*ボックスの設定（リンクありの場合）*/
section.event a {
	text-decoration: none;
	display: block;
	overflow: hidden;
	padding: 20px;	/*ボックス内の余白*/
	margin: -20px;	/*上のリンクなしの場合の余白をなくす為の設定*/
	background: #fff;		/*背景色*/
	border: 1px solid #ccc;	/*枠線の幅、線種、色*/
	color: #333;	/*文字色*/
}
/*「事務所・出張所」ページのボックス内の矢印マーク設定*/
section.event a::before {
	content: "→";	/*「→」の文字を表示させる。機種依存文字は使わないように。*/
	background: #212741;	/*背景色（古いブラウザ用）*/
	background: rgba(139,163,101,0.2);	/*色(rgba)の設定。rgba値は左３つが色指定(この場合#212741のrga値)で最後の小数点が透明度。*/
	color: #fff;	/*文字色*/
	font-size: 80px;	/*文字サイズ*/
	line-height: 1;
	padding: 20px;	/*余白（文字と円の間にあける余白）*/
	position: absolute;
	right: -15px;	/*ボックスに対して右から-15pxの場所に配置*/
	bottom: -25px;	/*ボックスに対して下から-25pxの場所に配置*/
	border-radius: 100px;	/*角丸のサイズ。ひとまず大きくしておけばいい。この行を削除すれば四角になる。*/
}
/*マウスオン時のボックス*/
section.event a:hover {
	background: #fffde7;	/*背景色*/
}
/*マウスオン時の矢印マーク*/
section.event a:hover::before {
	background: #212741;	/*背景色*/
}
/*ボックス内の段落タグ設定*/
section.event p {
	padding: 0px;
	margin-left: 34%;	/*左の写真とのバランスをとって設定*/
}
/*ボックス内の写真設定*/
section.event figure img {
	float: left;		/*画像を左へ回り込み*/
	padding: 5px;		/*余白*/
	background: #fff;	/*背景色*/
	width: 30%;			/*写真の幅*/
	height: auto;		/*写真の高さ*/
	border: 1px solid #ccc;	/*線の幅、線種、色*/
}
/*ボックス内のh4タグ設定*/
section.event h4 {
	font-size: 120%;
	color: #212741;		/*文字色*/
	border-bottom: dotted 2px #212741;	/*下線の線種、幅、色*/
	margin-left: 34%;	/*左の写真とのバランスをとって設定*/
	margin-bottom: 10px;
}



/*画面幅480px以下の設定
---------------------------------------------------------------------------*/
@media screen and (max-width:480px){

/*「所員紹介」と「事務所・出張所」ページの一覧用ブロック
---------------------------------------------------------------------------*/
/*ボックス内の段落タグ設定*/
section.list p {
	margin-left: 0;
}
/*ボックス内の写真設定*/
section.list figure img {
	float: none;
	width: 100%;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
}
/*ボックス内のh4タグ設定*/
section.list h4 {
	margin-left: 0;
}

/*「イベント」ページの一覧用ブロック
---------------------------------------------------------------------------*/
/*ボックス内の段落タグ設定*/
section.event p {
	margin-left: 0;
}
/*ボックス内の写真設定*/
section.event figure img {
	float: none;
	width: 100%;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
}
/*ボックス内のh4タグ設定*/
section.event h4 {
	margin-left: 0;
}


/*  お楽しみコーナー
----------------------------------------------------*/
    .ta3 td{
    width: 95%;
    display: block;
    border-top: none;
    }


}
