@charset "utf-8";
/*
Theme Name: 弁護士法人i
Theme URI: http://c-tpl.com/
Description: 弁護士法人i
Version: 1.0
Author: Cloud template
Author URI: http://c-tpl.com/
Tags: simple

	Cloud template v1.0
	 http://c-tpl.com/

	This theme was designed and built by Cloud template,
	whose blog you will find at http://c-tpl.com/

	The CSS, XHTML and design is released under GPL:
	http://www.opensource.org/licenses/gpl-license.php

*/

/* =Reset default browser CSS.
Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
-------------------------------------------------------------- */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, ins, kbd, q, s, samp, small, strike, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {border: 0;font-family: inherit;font-size: 100%;font-style: inherit;font-weight: inherit;margin: 0;outline: 0;padding: 0;vertical-align: baseline;}
:focus {outline: 0;}

ol, ul {list-style: none;}
table {border-collapse: separate;border-spacing: 0;}
caption, th, td {font-weight: normal;text-align: left;}
blockquote:before, blockquote:after,q:before, q:after {content: "";}
blockquote, q {quotes: "" "";}
a img {border: 0;}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display: block;}

body{
  position: relative;
  font-family: "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
  font-size: 16px;
  line-height: 1.5;
  color:#333;
  -webkit-text-size-adjust: none;
  overflow-x: hidden;
}

.pc { display: block; }
.sp { display: none; }

/* リンク設定
------------------------------------------------------------*/
a{
  margin:0;
  padding:0;
  text-decoration:none;
  outline:0;
  vertical-align:baseline;
  background:transparent;
  font-size:100%;
  color:#0036ff;
}

a:hover, a:active{
  outline: none;
  color:#0036ff;
  opacity: 0.8;
  text-decoration: underline;
}

/**** Clearfix ****/
nav .panel:after, nav#mainNav:after, .newsTitle:after, .bg:after,.post:after, ul.post li:after,nav#mainNav .inner:after{content:""; display: table;clear: both;}
nav .panel,nav#mainNav,.newsTitle,.bg, .post, ul.post li,nav#mainNav .inner{zoom: 1;}


/*見出し
*****************************************************/

#content h1:not(.style_none) {
  font-family:"游ゴシック", YuGothic,"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro","メイリオ", Meiryo,"ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  clear: both;
  position: relative;
  margin: 0 0 20px;
  padding: 10px 20px;
  font-size: 24px;
  font-weight: bold;
  background: #77acf1;
  color: #04009a;
  text-align: center;
  border-radius: 10px 10px 0 0;
}

#content h1:not(.style_none):after {
  position: absolute;
  content: "";
  width: 100%;
  height: 8px;
  background: url("images/base/Bg_stripe.png") repeat-x;
  bottom: 0;
  left: 0;
}

#content h2:not(.style_none) {
  font-family:"游ゴシック", YuGothic,"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro","メイリオ", Meiryo,"ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  clear: both;
  position: relative;
  background: #e6e6e6;
  margin: 20px 0;
  padding: 8px 47px 5px;
  font-size: 22px;
  font-weight: bold;
  color: #333;
  text-align: center;
}

#content h2:not(.style_none):before {
  position: absolute;
  content: "";
  background: #04009a;
  width: 100%;
  height: 1px;
  top: -3px;
  left: 0;
}

#content h2:not(.style_none):after {
  position: absolute;
  content: "";
  background: #04009a;
  width: 100%;
  height: 1px;
  bottom: -3px;
  left: 0;
}

#content h3:not(.style_none) {
  font-family:"游ゴシック", YuGothic,"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro","メイリオ", Meiryo,"ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  clear: both;
  position: relative;
  margin: 20px 0;
  padding: 8px 20px 5px;
  font-size: 20px;
  background: #ddecff;
  font-weight: bold;
  color: #333;
  text-align: center;
  border-bottom: 2px solid #77acf1;
}

#content h4:not(.style_none) {
  font-family:"游ゴシック", YuGothic,"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro","メイリオ", Meiryo,"ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  clear: both;
  position: relative;
  margin: 20px 0;
  padding: 8px 20px 5px;
  font-size: 18px;
  font-weight: bold;
  color: #333;
  text-align: center;
  border-bottom: 2px solid #04009a;
}

 /* 下層ページリンクスタイル　※h3と揃える */
 
.plist { margin-top: 20px; }

.plist ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.plist li {
  font-family:"游ゴシック", YuGothic,"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro","メイリオ", Meiryo,"ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  clear: both;
  position: relative;
  margin: 20px 0;
  padding: 8px 20px 5px;
  font-size: 20px;
  background: #ddecff;
  font-weight: bold;
  color: #333;
  border-bottom: 2px solid #77acf1;
}

/* フォーム
------------------------------------------------------------*/
input[type="text"],input[type="email"],input[type="tel"], textarea{
  vertical-align:middle;
  max-width:90%;
  line-height:30px;
  height:30px;
  padding:1px 5px;
  border:1px solid #d4d4d7;
  border-radius:3px;
  -webkit-border-radius:3px;
  -moz-border-radius:3px;
  font-size:100%;
  color:#555;
  background:#fcfcfc;
}

textarea{
  height:auto;
  line-height:1.5;
}

input[type="submit"],input[type="reset"],input[type="button"]{
  padding:3px 10px;
  background: #878787;
  background: -moz-linear-gradient(top, #878787 0%, #6f6f6f 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#878787), color-stop(100%,#6f6f6f));
  background: -webkit-linear-gradient(top, #878787 0%,#6f6f6f 100%);
  background: -o-linear-gradient(top, #878787 0%,#6f6f6f 100%);
  background: linear-gradient(to bottom, #878787 0%,#6f6f6f 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#878787', endColorstr='#6f6f6f',GradientType=0 );
  border:0;
  border-radius:3px;
  -webkit-border-radius:3px;
  -moz-border-radius:3px;
  line-height:1.5;
  font-size:120%;
  color:#fff;
}

input[type="submit"]:hover,input[type="reset"]:hover,input[type="button"]:hover{
background: #878787;
background: -moz-linear-gradient(top, #6f6f6f 0%, #878787 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#6f6f6f), color-stop(100%,#878787));
background: -webkit-linear-gradient(top, #6f6f6f 0%,#878787 100%);
background: -o-linear-gradient(top, #6f6f6f 0%,#878787 100%);
background: linear-gradient(to bottom, #6f6f6f 0%,#878787 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#6f6f6f', endColorstr='#878787',GradientType=0 );
cursor:pointer;
}

*:first-child+html input[type="submit"]{padding:3px;}


/* レイアウト
------------------------------------------------------------*/
#wrapper, .inner{
  width:1200px;
  margin:0 auto;
  box-sizing: border-box;
}

#content .inner {
  width:880px;
  margin:0 auto;
  box-sizing: border-box;
}

#header{
  overflow:hidden;
}

#header .inner {
  display: flex;
  justify-content: space-between;
}

#content{
  float: right;
  width: 880px;
  padding: 20px 0 50px;
}

#sidebar{
  float:left;
  width:290px;
  padding: 20px 0;
}

#sidebar .side_nav {
  margin-bottom: 50px;
}

#sidebar .side_nav div > ul {
  margin: 0;
  padding: 0;
  border: 1px solid #77acf1;
}

#sidebar h1:not(.style_none) {
  font-family:"游ゴシック", YuGothic,"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro","メイリオ", Meiryo,"ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  clear: both;
  position: relative;
  padding: 10px 20px;
  font-size: 24px;
  font-weight: bold;
  background: #77acf1;
  color: #04009a;
  text-align: center;
  border-radius: 10px 10px 0 0;
}

#sidebar h1:not(.style_none):before {
  position: absolute;
  content: "";
  width: 100%;
  height: 8px;
  background: url("images/base/Bg_stripe.png") repeat-x;
  bottom: 0;
  left: 0;
}

#sidebar p.title {
  font-family:"游ゴシック", YuGothic,"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro","メイリオ", Meiryo,"ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  clear: both;
  position: relative;
  padding: 10px 20px;
  font-size: 24px;
  font-weight: bold;
  background: #77acf1;
  color: #04009a;
  text-align: center;
  border-radius: 10px 10px 0 0;
}

#sidebar p.title:before {
  position: absolute;
  content: "";
  width: 100%;
  height: 8px;
  background: url("images/base/Bg_stripe.png") repeat-x;
  bottom: 0;
  left: 0;
}

/*第一階層*/

#sidebar .side_nav div > ul > li {
  position: relative;
  background: #fff;
  border-bottom: 1px solid #77acf1;
}

#sidebar .side_nav div > ul > li:last-child {
  border-bottom: none;
}

#sidebar .side_nav div > ul > li > a {
  position: relative;
  display: block;
  padding: 12px 10px 10px 30px;
  text-decoration: none;
  background: url("images/base/BgSnav1.png") 10px 50% no-repeat;
  box-sizing: border-box;
  color: #333;
}

#sidebar .side_nav div > ul > li:hover {
  background: #c5deff;
}

#sidebar .side_nav div > ul > li a:hover{
  opacity: 1;
  text-decoration: underline;
}

/*第二階層*/

#sidebar .side_nav div > ul > li > ul {
  padding: 0 10px 10px 20px;
}

#sidebar .side_nav div > ul > li > ul > li > a {
  position: relative;
  display: block;
  padding: 5px 0 3px 30px;
  text-decoration: none;
  background: url("images/base/BgSnav1.png") 10px 50% no-repeat;
  box-sizing: border-box;
  color: #333;
}

#sidebar .side_bn1 {
  margin-bottom: 30px;
}

#sidebar .side_bn1_1 {
  position: relative;
  margin-bottom: 30px;
}

#sidebar .side_bn1_1 .mail {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 264px;
}

#sidebar .side_bn1 ul li {
  margin-bottom: 10px;
}

#sidebar .side_bn2 {
  margin-bottom: 40px;
}

#sidebar .side_bn2 .side_bn2_1 {
  padding: 10px;
  border: 1px solid #77acf1;
  text-align: center;
}

#sidebar .side_bn2 .side_bn2_1 .side_office {
  font-family:"游ゴシック", YuGothic,"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro","メイリオ", Meiryo,"ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  margin: 5px 0;
}

#sidebar .side_bn2 .address {
  margin: 15px 0;
}

#footer{
  padding: 30px 0 0;
  clear:both;
} 

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

/* サイト説明文
----------------------------------*/
#header h1{
padding:5px 0;
font-size:80%;
font-weight:normal;
}


/* ロゴ (サイトタイトル)
----------------------------------*/
#header h2,
#footer h2 {
  clear:both;
  padding:5px 0 15px;
  font-family:"游ゴシック", YuGothic,"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro","メイリオ", Meiryo,"ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}

#header h2:hover,
#footer h2:hover {
  opacity: 0.8;
}

#header h2 a,
#footer h2 a {
  text-decoration: none;
}

#header h2 a .gray,
#footer h2 a .gray {
  display: block;
  font-size: 40px;
  font-weight: bold;
  color: #333;
  font-family:"游ゴシック", YuGothic,"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro","メイリオ", Meiryo,"ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  line-height: 1.1;
}

#header h2 a .blue,
#footer h2 a .blue {
  display: block;
  font-size: 40px;
  font-weight: bold;
  color: #04009a;
  font-family:"游ゴシック", YuGothic,"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro","メイリオ", Meiryo,"ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}

#header h2 a .gray_small,
#footer h2 a .gray_small {
  color: #333;
  display: block;
}

#header .header_description,
#footer .footer_description {
  width: 1200px;
  margin: 10px auto 0;
  font-family:"游ゴシック", YuGothic,"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro","メイリオ", Meiryo,"ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}

/* コンタクト
----------------------------------*/
.contact{
position: relative;
padding:10px 0 0;
margin-bottom: 30px;
text-align:right;
color:#000;
font-size:90%;
}

.contact a {
margin-left: 3px;
}

/* トップページ　メイン画像
----------------------------------*/
#mainImg{
  position: relative;
  width: 100%;
  margin:0 auto 30px;
  clear:both;
  line-height:0;
  z-index:0;
}

#mainImg .inner {
  position: relative;
}

#mainImg .inner .mainbtn {
  position: absolute;
  display: flex;
  justify-content: space-between;
  bottom: 12%;
  left: 0;
  width: 65%;
}

/* メインコンテンツ部分
*****************************************************/

/* top_block1 */

.top_block1 {
  margin-bottom: 50px;
}

.top_block1 ul {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.top_block1 ul li {
  margin-bottom: 10px;
}

/* top_bn1 */

.top_bn1 {
  margin-bottom: 50px;
}

.top_bn1 li {
  margin-bottom: 10px;
}

/* 新着情報 */

#top_info {
  margin-bottom: 50px;
}

#top_info h1 {
  margin-bottom: 0 !important;
}

#top_info dl dt {
  padding: 10px 0;
  margin: 0 0 10px 20px;
  line-height: 1.7em;
}

#top_info .news_date {
  display: inline-block;
  margin-right: 10px;
}

#top_info dl dd {
  margin: -45px 0 5px;
  padding: 0 0 10px 160px;
  border-bottom: 1px dashed #bfbfbf;
}

#top_info dl dd a {
  color: #333;
  text-decoration: none;
}

/* top_block2, top_block3, top_block4 */
.top_block2,
.top_block3,
.top_block4,
.top_block5 { margin-bottom: 50px; }

/* top_block2 */

.top_block2 .case {
  margin-bottom: 30px;
}

.top_block2 .title {
  position: relative;
  font-family:"游ゴシック", YuGothic,"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro","メイリオ", Meiryo,"ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  padding: 8px 15px;
  margin-bottom: 30px;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  background: #dadada;
  color: #1216a3;
}

.top_block2 .title:before {
  position: absolute;
  content: "";
  height: 80%;
  width: 8px;
  background: #77acf1;
  left: 5px;
  top: 50%;
  transform: translateY(-50%);
}

.top_block2 .title:after {
  position: absolute;
  content: "";
  height: 80%;
  width: 8px;
  background: #77acf1;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
}

.top_block2 .case .searchform {
  width: 85%;
  margin: 0 auto;
}

.top_block2 .case .searchform div {
  display: flex;
  justify-content: space-around;
  flex-wrap: nowrap;
  align-items: center;
}

.top_block2 .case .searchform label {
  display: none;
}

.top_block2 .case .searchform input[type="text"] {
  width: 88%;
  border-radius: 3px 0 0 3px;
}

.top_block2 .case .searchform input[type="submit"] {
  background: #77acf1;
  font-family:"游ゴシック", YuGothic,"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro","メイリオ", Meiryo,"ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  border-radius: 0 5px 5px 0;
  font-weight: bold;
}

.top_block2 .case .searchform input[type="submit"]:hover {
  background: #6ebffe;
}

.top_block2 .case_injury {
  margin-bottom: 30px;
}

.top_block2 .case_injury ul {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.top_block2 .case_injury li {
  width: 23%;
  margin-bottom: 10px;
}

.top_block2 .case_injury li a {
  font-family:"游ゴシック", YuGothic,"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro","メイリオ", Meiryo,"ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  display: flex;
  flex-flow: wrap;
  justify-content: center;
  width: 100%;
  min-height: 183px;
  border: 1px solid #77acf1;
  border-radius: 10px;
  font-weight: bold;
  background: url("images/base/Bg_arrow_case01.png") bottom 15px right 10px no-repeat,#77acf1;
  color: #04009a;
  text-align: center;
}

.top_block2 .case_injury li a:before {
  display: block;
  content: "";
  background: url("images/base/Bg_case01.png") center no-repeat,#bcd9ff;
  width: 100%;
  height: 130px;
  border-radius: 9px 9px 0 0;
}

.top_block2 .case_injury li:nth-of-type(2) a:before {
  background: url("images/base/Bg_case02.png") center no-repeat,#bcd9ff;
}

.top_block2 .case_injury li:nth-of-type(3) a:before {
  background: url("images/base/Bg_case03.png") center no-repeat,#bcd9ff;
}

.top_block2 .case_injury li:nth-of-type(4) a:before {
  background: url("images/base/Bg_case04.png") center no-repeat,#bcd9ff;
}

.top_block2 .case_injury li:nth-of-type(5) a:before {
  background: url("images/base/Bg_case05.png") center no-repeat,#bcd9ff;
}

.top_block2 .case_injury li:nth-of-type(6) a:before {
  background: url("images/base/Bg_case06.png") center no-repeat,#bcd9ff;
}

.top_block2 .case_injury li:nth-of-type(7) a:before {
  background: url("images/base/Bg_case07.png") center no-repeat,#bcd9ff;
}

.top_block2 .case_injury li:nth-of-type(8) a:before {
  background: url("images/base/Bg_case08.png") center no-repeat,#bcd9ff;
}

.top_block2 .case ul {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.top_block2 .case ul li {
  box-sizing: border-box;
  margin: 10px 0;
}

.top_block2 .case ul li a {
  display: block;
  position: relative;
  font-family:"游ゴシック", YuGothic,"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro","メイリオ", Meiryo,"ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  padding: 10px 12px;
  background: linear-gradient(to bottom,#fefefe,#f3f5f9);
  border: 1px solid #77acf1;
  border-radius: 5px;
  color: #333;
  font-weight: bold;
  text-align: center;
}

.top_block2 .case ul li a:before {
  position: absolute;
  display: block;
  content: "";
  background: url("images/base/Bg_arrow_case02.png") left 4px center no-repeat;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.top_block2 .case.transportation ul li {
  width: 23%;
  box-sizing: border-box;
}

.top_block2 .case.transportation ul li a {
  padding-left: 55px;
}

.top_block2 .case.transportation ul li a:after {
  position: absolute;
  display: block;
  content: "";
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.top_block2 .case.transportation ul li:nth-of-type(1) a:after {
  background: url("images/base/Bg_case09.png") left 25px center no-repeat;
}

.top_block2 .case.transportation ul li:nth-of-type(2) a:after {
  background: url("images/base/Bg_case10.png") left 25px center no-repeat;
}

.top_block2 .case.transportation ul li:nth-of-type(3) a:after {
  background: url("images/base/Bg_case11.png") left 25px center no-repeat;
}

.top_block2 .case.transportation ul li:nth-of-type(4) a:after {
  background: url("images/base/Bg_case12.png") left 25px center no-repeat;
}

.top_block2 .case.traffic_accident ul li {
  width: 30%;
}

.top_block2 .case.traffic_accident ul li {
  width: 30%;
}

.top_block2 .case.victim ul li {
  width: 23%;
}

.top_block2 .case.victim ul li a {
  padding-left: 35px;
}

.top_block2 .case.victim ul li a:after {
  position: absolute;
  display: block;
  content: "";
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.top_block2 .case.victim ul li:nth-of-type(1) a:after {
  background: url("images/base/Bg_case16.png") left 25px center no-repeat;
}

.top_block2 .case.victim ul li:nth-of-type(2) a:after {
  background: url("images/base/Bg_case14.png") left 25px center no-repeat;
}

.top_block2 .case.victim ul li:nth-of-type(3) a:after {
  background: url("images/base/Bg_case17.png") left 25px center no-repeat;
}

.top_block2 .case.victim ul li:nth-of-type(4) a:after {
  background: url("images/base/Bg_case18.png") left 25px center no-repeat;
}

.top_block2 .case.victim ul li:nth-of-type(5) a:after {
  background: url("images/base/Bg_case13.png") left 25px center no-repeat;
}

.top_block2 .case.victim ul li:nth-of-type(6) a:after {
  background: url("images/base/Bg_case15.png") left 25px center no-repeat;
}

.top_block2 .case.victim ul li:nth-of-type(7) a:after {
  background: url("images/base/Bg_case20.png") left 25px center no-repeat;
}

.top_block2 .case.victim ul li:nth-of-type(8) a:after {
  background: url("images/base/Bg_case19.png") left 25px center no-repeat;
}

.top_block2 .case.solve ul li {
  width: 30%;
}

/* top_bn2 */

.top_bn2 {
  margin-bottom: 50px;
}

.top_bn2 ul {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.top_bn2 ul li {
  margin: 10px 0;
}

/* top_block3 */

.top_block3 .img {
  margin: 0;
  text-align: center;
}

.top_block3 .img img {
  border-radius: 0 0 10px 0;
}

/* top_contact */

.top_contact {
  position: relative;
  margin-bottom: 50px;
}

.top_contact .button {
  position: absolute;
  display: block;
  bottom: 15px;
  left: 50%;
  font-size: 0;
  transform: translateX(-50%);
}

/* top_block4 */

.top_block4 .inner {
  display: flex;
  justify-content: space-between;
}

.top_block4 .inner .img {
  width: 35%;
}

.top_block4 .inner .textarea {
  width: 60%;
}

/* top_block5 */

.top_block5 .inner {
  margin: 0;
}

/* タイポグラフィ
*****************************************************/
h2.title{
clear:both;
margin:0;
padding:7px 10px 7px 10px;
font-size:110%;
color:#000;
border:1px solid #d5d5d5;
border-bottom:0;
}

.dateLabel{
text-align:right;
font-weight:bold;
color:#858585;
}

.post p{padding-bottom:15px;}

.post ul{margin: 0 0 10px 10px;}

.post ul li{
margin-bottom:5px;
padding-left:15px;
}

.post ol{margin: 0 0 10px 30px;}

.post ol li{list-style:decimal;}

.post blockquote {
clear:both;
padding:10px 0 10px 15px;
margin:10px 0 25px 30px;
border-left:5px solid #ccc;
}
 
.post blockquote p{padding:5px 0;}

.post table{
border: 1px #ccc solid;
border-collapse: collapse;
border-spacing: 0;
margin:10px 0 20px;
}

.post table th{
padding:10px;
border: #ccc solid;
border-width: 0 0 1px 1px;
background:#efede7;
vertical-align: middle;
}

.post table td{
padding:10px;
border: 1px #ccc solid;
border-width: 0 0 1px 1px;
background:#fff;
vertical-align: middle;
}

.post dt{font-weight:bold;}

.post dd{padding-bottom:10px;}

.post img{max-width:100%;height:auto;}

img.aligncenter {
display: block;
margin:5px auto;
}

img.alignright, img.alignleft{
margin: 10px 10px 15px 15px;
display:inline;
}

img.alignleft{margin:10px 15px 15px 10px;}

.alignright{float:right;}
.alignleft{float:left;}

#gallery-1 img{
border:1px solid #eaeaea !important;
padding:5px;
background:#fff;
}

#gallery-1 img:hover{background:#fffaef;}

/* お問い合わせフォーム
*****************************************************/
.wpcf7 {
  margin-bottom: 10px;
  border-top: 1px solid #ccc;
} 

.wpcf7 .inner {
  display:table;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #ccc;
  border-top: none;
}

.wpcf7_th, .wpcf7_td {
  display:table-cell;
  padding: 10px 0 10px 10px;
  background: #fff;
 }

.wpcf7_th {
  background: #ddd;
  text-align: left;
  width: 30%;
  vertical-align: top;
}

.wpcf7 p {
  margin-top: 20px;
}

.wpcf7 .tableWide {
  width:100% !important;
 }
 
.wpcf7 .tableWide tr {
  display:inline;
 }
 
.wpcf7 .tableWide th, .wpcf7 .tableWide td {
  display:block; 
  width: 100% !important; 
  box-sizing: border-box;
}

.wpcf7 .checkbox-97 .last input{
  display: none;
}

.wpcf7 .checkbox-97 .last span{
  /*margin-left:26px;*/
  display: block;
  padding-left: 25px;
}

.wpcf7_td span.wpcf7-list-item { margin: 0; }

/* パンくずリスト
*****************************************************/
.breadcrumbs { margin-bottom: 10px; }

/* フッター
*****************************************************/
#footer .inner.pc {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#footer .footer_map {
  margin: 30px auto;
}

#footer .footer_map .heading {
  font-family:"游ゴシック", YuGothic,"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro","メイリオ", Meiryo,"ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  width: 1200px;
  margin: 0 auto 30px;
  text-align: center;
  border-bottom: 2px solid #04009a;
  color: #04009a;
  font-weight: bold;
  font-size: 20px;
  padding: 10px 0;
}

#footer .footer_map .inner {
  width: 100%;
}

/* 固定バナー */
.footer_fix { display: none; }

#copyright{
  clear:both;
  padding:20px 0;
  text-align:center;
  color:#333;
  font-size:12px;
}


/* page navigation
------------------------------------------------------------*/
.pagenav{
clear:both;
width: 100%;
height: 30px;
margin: 5px 0 20px;
}

.prev{float:left}

.next{float:right;}

#pageLinks{
clear:both;
color:#4f4d4d;
text-align:center;
}


/* メインメニュー　PC用
------------------------------------------------------------*/
@media only screen and (min-width: 1200px){
	nav#mainNav {
	  position:relative;
	  z-index:200;
	  width:100%;
	}
	
	nav#mainNav .inner {
	  width: 100%;
	}
	
	nav#mainNav .inner .menu1,
	#footer .menu1{
	  position: relative;
	  background: #dadada;
	  height: auto;
	}
	
	nav#mainNav .inner .menu2,
	#footer .menu2 {
	  position: relative;
	  background: #77acf1;
	  height: auto;
	}
		
	nav#mainNav ul,
	#footer .panel ul {
	  width: fit-content;
	  margin: 0 auto;
	  display: flex;
	}
			
	nav#mainNav ul li a,
	#footer .panel ul li a {
	  font-family:"游ゴシック", YuGothic,"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro","メイリオ", Meiryo,"ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	  display: flex;
	  justify-content: center;
	  align-items: center;
	  width: 200px;
	  height: 58px;
	  color:#333;
	  font-size: 16px;
	  font-weight: bold;
	  line-height: 1.1;
	}
	
	nav#mainNav .menu2 ul li,
	#footer .menu2 ul li {
	  position: relative;
	}
	
	nav#mainNav .menu2 ul li:before,
	#footer .menu2 ul li:before {
	  position: absolute;
	  content: "";
	  width: 1px;
	  height: 45px;
	  background: #c9def9;
	  left: 0;
	  top: 50%;
	  transform: translateY(-50%);
	}
	
	nav#mainNav .menu2 ul li:last-child:after,
	#footer .menu2 ul li:last-child:after {
	  position: absolute;
	  content: "";
	  width: 1px;
	  height: 45px;
	  background: #c9def9;
	  right: 0;
	  top: 50%;
	  transform: translateY(-50%);
	}
	
	nav#mainNav .menu2 ul li a,
	#footer .menu2 ul li a {
	  position: relative;
	  width: 171px;
	  color: #04009a;
	}
	
	nav#mainNav .menu2 ul li a:hover,
	#footer .menu2 ul li a:hover {
	  text-decoration: none;
	}
	
	nav#mainNav .menu2 ul li a:hover:before,
	#footer .menu2 ul li a:hover:before {
	  position: absolute;
	  content: "";
	  width: 100%;
	  height: 8px;
	  background: url("images/base/Bg_stripe.png") repeat-x;
	  bottom: 0;
	  left: 0;
	}
	
	nav#mainNav ul li a:hover span,
	nav#mainNav ul li a:hover,
	#footer ul li a:hover span,
	#footer ul li a:hover {
	  text-decoration: underline;
	  opacity: 1.0;
	}
			
	nav div.panel {
	  display:block !important;
	}
	
	a#menu {
	  display:none;
	}
	
		/* グローバルナビ固定
	------------------------------------------------------------*/
	.fixed {
	  position: fixed !important;
	  top: 0;
	  width: 100%;
	  margin-bottom: -5px;
	  z-index: 10000;
	}
	
	.fixed_adjust {
	  padding-top: 50px;
	}
	
}

/* メインメニュー 1200pxサイズ以下から
------------------------------------------------------------*/
@media only screen and (max-width:1200px) {
	img {
	  max-width: 100%;
	}
	
	nav#mainNav a.menu{
	  position: absolute;
	  display:block;
	  width: fit-content;
	  height:37px;
	  top: 20px;
	  right: 2.5%;
	  text-align:left;
	}
	
	nav#mainNav a#menu span {
	  padding-left:35px;
	}
	
	nav#mainNav a#menu:hover {
	  cursor:pointer;
	}
	
	nav .panel {
	  position: relative;
	  display: none;
	  width:100%;
	  right: 0;
	  top:0;
	  z-index: 1;
	}

	nav#mainNav ul {
	  margin: 0;
	  padding: 0;
	}

	nav#mainNav ul li {
	  float: none;
	  clear:both;
	  width:100%;
	  height:auto;
	  line-height:1.0;
	}

	nav#mainNav ul li a,
	nav#mainNav ul li.current-menu-item li a {
	  display: block;
	  background: #77acf1;
	  padding:15px 10px;
	  text-align:left;
	  color: #fff;
	  border-bottom:1px solid #e5e5e5;
	}
 
	nav#mainNav ul li.current-menu-item a,
	nav#mainNav ul li a:hover,
	nav#mainNav ul li.current-menu-item a,
	nav#mainNav ul li a:active,
	nav#mainNav ul li li.current-menu-item a,
	nav#mainNav ul li.current-menu-item li a:hover,
	nav#mainNav ul li.current-menu-item li a:active {
	  background: #77acf1;
	}

		
}

/* 1200px以下から 1カラム表示
------------------------------------------------------------*/
@media only screen and (max-width: 1200px){
	img {
	  width: 100%;
	  height: auto;
	}
	
	.pc { display: none; }
	
	.sp { display: block; }
	
	#wrapper, .inner { width:100%; }
	
	#content .inner { width:100%; }

	#header {
	  width:96%;
	  padding:0 2%;
	  background: #fff;
	}
	
	#header .header_description {
	  width: 80%;
	  margin: 0 auto 0 0;
	}
	
	#header h2 {
	  padding: 15px 5px 15px;
	}
	
	.contact { display: none; }
	
	/*nav#mainNav{width:95%;}*/
	nav#mainNav { width:100%; }

	nav#mainNav ul { margin:0 auto; }
	
	nav#mainNav ul ul { padding:0; }

	nav div.panel { float:none; }
	
	#mainImg .inner .mainbtn {
	  position: static;
	  width: 90%;
	  margin: 30px auto;
	}
	
	#mainImg .inner .mainbtn li {
	  width: 32%;
	}
	    	
	#content, #sidebar {
	  clear:both;
	  width:94%;
	  float:none;
	  margin:0 auto;
	  padding:10px 0 30px;
	}
	
	#sidebar .side_bn1 ul.sp {
	  display: flex;
	  justify-content: space-between;
	  flex-wrap: wrap;
	}
	
	#sidebar .side_bn1 ul.sp li {
	  width: 48%;
	}
	
	#sidebar .side_bn1 ul.sp li:last-child {
	  width: 100%;
	}
	
	#sidebar .side_bn2 {
	  background: #77acf1;
	  padding: 10%;
	}
	
	#sidebar .side_bn2 .side_bn2_1 {
	  background: #fff;
	  padding: 3%;
	}
	
	#sidebar .side_bn2 .side_bn2_1 img {
	  display: block;
	  width: 60%;
	  margin: 0 auto;
	}
	
	#sidebar .sidemap {
	  margin: 20px 0;
	}

	/* メインコンテンツ部分
    *****************************************************/
	
	/* top_block1 */
	
	.top_block1 ul {
	  justify-content: space-around;
	}
	
	.top_block1 ul li {
	  width: 30%;
	}
	
	.top_bn2 ul {
	  justify-content: space-around;
	  flex-wrap: wrap;
	}
	
	.top_bn2 ul li {
	  width: 48%;
	  margin-bottom: 10px;
	}
	
	.top_bn2 ul li:last-child {
	  width: 100%;
	}
		
	/* top_contact */
	.top_contact {
	  width: fit-content;
	  margin: 0 auto 50px;
	}
	
	.top_contact .button {
	  bottom: 17px;
	  right: 15px;
	  width: 30%;
	}
		
	section.widget_search{text-align:center;}
	
	#footer {
	  padding: 0;
	}
	
	#footer .inner.pc {
	  display: none;
	}
			
}

/* 770px以下の場合
------------------------------------------------------------*/
@media only screen and (max-width: 770px){
	
	#header .header_description {
	  font-size: 2vw;
	}
	
	
	#header h2 a .gray {
	  font-size: 5vw;  
	}
	
	#header h2 a .blue {
	  font-size: 5vw;
	}
	
	#header h2 a .gray_small {
	  font-size: 2vw;
	}
	
	.top_block2 .case_injury ul {
	  justify-content: space-around;
	}
	
	.top_block2 .case_injury li {
	  width: 31%;
	}
	
	.top_block2 .case ul li {
	  width: 18%;
	}
	
	.top_block2 .case.transportation ul li,
	.top_block2 .case.traffic_accident ul li,
	.top_block2 .case.victim ul li {
	  width: 48%;
	}
	
	.top_block2 .case.transportation ul li a {
	  padding-left: 85px;
	}
	
	.top_block2 .case.victim ul li a {
	  padding-left: 58px;
	}
	
}

/* 幅685px以下から ヘッダー等微調節
------------------------------------------------------------*/
@media only screen and (max-width: 685px) {
	body { font-size: 14px; }
	
	#header .header_description {
	  width: 80%;
	  margin: 0 auto 0 0;
	}
	
	nav#mainNav{ width:100%; }
	
	img.alignright,
	img.alignleft { display: block;	margin:5px auto; }
	
	.alignright,
	.alignleft { float:none; }
	
	nav#mainNav a.menu {
	  width:13%;
	  line-height:37px;
	  font-weight: bold;
	  text-align:left;
	  position: absolute;
	  top: 15px;
	  right: 15px;
	}
	
	nav#mainNav a.menu img {width:100%;}
	
	#header {
	  position: relative;
	}
	
	
	/*見出し
	*****************************************************/
	
	#content h1:not(.style_none) {
	  margin: 0 0 4%;
	  padding: 2% 3%;
	  font-size: 20px;
	}
	
	#content p.title {
	  margin: 0 0 4%;
	  padding: 2% 3%;
	  font-size: 20px;
	}
		
	#content h2:not(.style_none) {
	  margin: 4% 0;
	  padding: 2% 49px;
	  font-size: 18px;
	  font-weight: bold;
	}
	
	#content h3:not(.style_none) {
	  margin: 4% 0;
	  padding: 1% 4%;
	  font-size: 16px;
	  font-weight: bold;
	}
	
	/* 下層ページリンクスタイル　※h3と揃える */
	.plist li {
	  margin: 20px 0;
	  padding: 5px 20px 3px;
	  font-size: 14px;
	  font-weight: bold;
	}
	
	/* メイン画像下エリア
	----------------------------------*/
	
	#sidebar h1:not(.style_none) {
	  padding: 2% 3%;
	  font-size: 20px;
	  font-weight: bold;
	}
	
	#sidebar h1:not(.style_none):after { bottom: 5px; }

	#sidebar p.title {
	  padding: 2% 3%;
	  font-size: 20px;
	  font-weight: bold;
	}
	
	#sidebar p.title:after { bottom: 5px; }
	
	#sidebar .side_nav { margin-bottom: 40px; }
	
	#sidebar .side_bn2 { margin-bottom: 20px; }
		
	/* メインコンテンツ部分
    *****************************************************/
	
	/* top_block1 */
	
	.top_block1 ul li {
	  width: 48%;
	}
	
	/* top_block2 */
	
	.top_block2 .case_injury li {
	  width: 48%;
	}
	
	.top_block2 .case:nth-of-type( n + 2 ) .title {
	  padding: 8px 55px;
	  background: url("images/base/minus.png") right 25px center no-repeat,#dadada;
	}
	
	.top_block2 .case:nth-of-type( n + 2 ) .title.active {
	  background: url("images/base/plus.png") right 25px center no-repeat,#dadada;
	}
	    
	/* top_contact */
	.top_contact {
	  width: 100%;
	  margin: 0 auto 50px;
	}
	
	.top_contact .button {
	  width: 45%;
	  bottom: 7%;
	}
	
	/* top_block4 */
	
	.top_block4 .inner {
	  display: block;
	  overflow: hidden;
	}
	
	.top_block4 .inner .img {
	  float: left;
	  margin: 10px;
	}
	
	.top_block4 .inner .textarea {
	  width: 100%;
	}
		
	/* 新着情報 */
	#top_info dl dt { margin: 0; }
	
	#top_info dl dd {
	  margin: 0 0 5px;
	  padding: 0 0 10px 0;
	}
	
	/*　お問い合わせフォーム　*/
	.wpcf7 {
		margin-bottom: 10px;
		border-top: 1px solid #ccc;
	} 
	
	.wpcf7 .inner {
		display:table;
		width: 100%;
		box-sizing: border-box;
		border: 1px solid #ccc;
		border-top: none;
	}
	
	.wpcf7_th, .wpcf7_td {
		display:table-cell;
		padding: 10px;
		background: #fff;
	}
	
	.wpcf7_th {
		background: #efeff1;
		text-align: left;
		width: 30%;
		vertical-align: top;
	}
	
	.wpcf7_td { width: 200px; }
	
	.wpcf7_td [type="checkbox"] { width: 30px; }
	
	.wpcf7_td_1 {
		display: block;
		padding: 10px;
		border-bottom:1px solid #ccc;
		background: #fff;
	}
	
	.wpcf7_td_1_last { border-bottom: none; }
	
	.wpcf7_td_1 [type="number"] { width: 30px; }
	
	.wpcf7 .wpcf7_text1 {
		font-size: 90%;
		color: #73573c;
	}
	
	.wpcf7 .wpcf7_text2 { font-size: 90%; }
	
	.wpcf7_td textarea,
	.wpcf7_td input { width: 200px; }
	
	.wpcf7_td label{ display: block; }
	
	.wpcf7 p { margin-top: 5px; }
	
	.wpcf7 .tableWide { width:100% !important; }
	
	.wpcf7 .tableWide tr { display:inline; }
	
	.wpcf7 .tableWide th,
	.wpcf7 .tableWide td {
		display:block; 
		width: 100% !important; 
		box-sizing: border-box;
	}
	
	.wpcf7 .checkbox-97 .first { margin-top:2%; }
	
	.wpcf7 .checkbox-97 .last { margin-bottom:2%; }
	
	.wpcf7 .checkbox-97 .first input {
		display:inline-block;
		margin:1% 0 0 0;
		width:10%;
		min-height:15px;
		vertical-align:top;
	}
	
	.wpcf7 .checkbox-97 .first span{
		display:inline-block;
		width:90%;
	}
	
	.wpcf7 .checkbox-97 .last input{ display: none; }
	
	.wpcf7 .checkbox-97 .last span {
		display:block;
		margin-left: 10%;
		padding: 0;
	}
	
	/* 固定バナー */
	.footer_fix {
	  display: block;
	  position: fixed;
	  width: 100%;
	  bottom: 0;
	  left: 0;
	  background:#fff;
	  z-index: 100;
	  border-top: 8px solid #04009a;
	}
	
	.footer_fix ul {
	  display: table;
	  width: 100%;
	  margin: 0;
	  padding: 0;
	  border-spacing: 10px;
	}
	
	.footer_fix li {
	  display: table-cell;
	  font-size: 0;
	}
		
	.footer_fix li a img { width: 100%; }
	
	#copyright{ margin-bottom: 23%; }
}