@charset "utf-8";
/* 基本要素 */
body {
  margin: 0;
  padding: 0;
  color: #040000;
}
a {
  color: #040000;
  text-decoration: none;
  }
a:hover {
  color: #0a6ac6;
  font-weight: bold;
  text-decoration: underline;
}
a img { transition: opacity 0.3s linear; }
a:hover img { opacity: 0.7; }
h1, h2, h3, h4, h5, h6 { margin-top: 0; }
p {
  margin-top: 0;
  line-height: 1.5;
  font-size: 15px;
  margin-left: 21px;
}
img { vertical-align: bottom; }
#main h1 {
  background-color: whitesmoke;
  padding: 10px 20px 10px 20px;
  font-size: 24px;
  color: #040000;
  border-bottom: solid 3px #040000;
  border-radius: 3px; 
}
#main h2 { 
  font-size: 18px;
  border: 2px solid #e3dede;
  padding: 10px 20px 8px 16px;
  border-radius: 2px;
}
#main h3 {
  font-size: 16px;
  border-left: solid 4px #e3dede; 
  padding: 5px 10px 5px 17px;
}
/* ヘッダー */
header {
  width: 980px;
  margin: 0 auto;
}
header h1 {
  float: left;
  margin: 5px 0px 0px 0px;
}
header #header_contact {
  float: right;
  margin: 10px 0px 0px 0px;
}
/* ナビゲーション */
#global_navi {
  width: 980px;
  clear: both;
  overflow: hidden;
  margin: 5px auto;
}
#global_navi ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
#global_navi ul li {
  width: 195px;
  float: left;
  margin-right: 1px;
  text-align: center;
  border-radius: 5px;
}
#global_navi ul li a {
  display: block;
  padding: 16px;
  background-color: #040000;
  color: #fff;    
  text-decoration: none;
  transition: background-color 0.2s linear;
  border-radius: 5px; 
}
#global_navi ul li.current a { 
  background-color: #BA9497; 
}
#global_navi ul li a:hover { 
  background-color: #D4ABAF;
}
/* コンテンツ全体 */
#wrapper {
  width: 980px;  
  margin: 0 auto;
  overflow: hidden;
}
/* メイン部分 */
#main {
  width: 730px;    
  float: left;
}
#strip_image {
   position: relative;
   width:  980px; 
   height: 200px;  
   margin: 0 auto 10px;
}

/* サイドバー */
#sidebar {
  width: 220px;
  float: right;
}
#side_banner {
  margin-bottom: 30px;
}
#side_banner h2 {
  background-color: #716961;
  color: #fff;
  padding: 7px;
  font-size: 14px;
  text-align: center;
}
#side_banner ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
#side_banner ul li {
  margin-bottom: 10px;
}
#side_contact {
  margin-bottom: 30px;
}
#side_contact {
  border: 1px solid #b7a077;
  color: #7F7259;
  text-align: center;
}
#side_contact h2 {
  background-color: #b7a077;
  color: #fff;
  padding: 7px;
  font-size: 14px;
}
#side_contact address {
  font-weight: bold;
  font-size: 20px;
  font-style: normal;
}
#side_contact address img {
  vertical-align: middle;
  margin-right: 5px;
}
#side_contact .contact_button {
  display: inline-block;
  background: #f1ede4;
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#f1ede4));
  background: -webkit-linear-gradient(top,  #ffffff 0%,#f1ede4 100%);
  background: linear-gradient(to bottom,  #ffffff 0%,#f1ede4 100%);
  color: #b7a077;
  padding: 10px;
  border: 1px solid #b7a077;
  border-radius: 5px;
  text-decoration: none;
}
#side_contact .contact_button:hover{
  background: #b7a077;
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#b7a077), color-stop(100%,#e2cda7));
  background: -webkit-linear-gradient(top,  #b7a077 0%,#e2cda7 100%);
  background: linear-gradient(to bottom,  #b7a077 0%,#e2cda7 100%);
  color: #fff;
}
/* フッター */
footer {
  color: #bcb6b6;
  background-color: #040000;
  text-align: center;
}
footer #footer_nav {
  background-color: #efefef;
  padding: 10px 0;
}
footer #footer_nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
footer #footer_nav li {
  display: inline;
  border-left: solid 1px #aaa;
  margin-left: 8px;
  padding-left: 8px;
  font-size: smaller;
}
footer #footer_nav li:last-child {
  border-right: solid 1px #aaa;
  padding: 0 8px;
}
footer small {
  display: block;
  padding: 8px 0;
  color: #fff;
}
/* パンくずリスト */
#breadcrumb {
  font-size: smaller;
}
#breadcrumb ol {
  list-style: none;
  margin: 0 0 10px 0;
  padding: 0;
}
#breadcrumb ol li {
  display: inline;
}
#breadcrumb ol li::after {
  content: ">";
  padding-left: 7px;
}
#breadcrumb ol li:last-child::after {
  content: none;
}

/* トップページ スライドショー*/
#main_visual {
   position: relative;
   width:  980px; 
   height: 320px;  
   margin: 0 auto 25px;
}
#main_visual img {
   position: absolute;
   left: 0;
   z-index: 8;
   opacity: 0.0;
}
#main_visual img.active {
   left: 0;
   z-index: 10;
   opacity: 1.0;
}
#main_visual img.last-active {
   z-index: 9;
}
/* トップページ　メッセージ */
#point  {
  margin-bottom: 30px;
}
#point section {
  margin-bottom: 10px;
  overflow: hidden;
}
#point figure {
  float: right;
  margin: 0 0 0 16px;
}
#point figcaption {
  font-size: 12px;
  color: #9C9689;
  text-align: center;
}
/* トップページ　新着情報 */
#news dl {
  overflow: hidden;
}
#news dt {
  float: left;
  width: 8em;
  font-size: 15px;
  margin-left: 21px;
  margin-bottom: 10px;
  clear: both;
}
#news dd {
  font-size: 15px;
  margin-left: 8em;
  margin-bottom: 10px;
}

/* 事務所紹介ページ */
#jump_to_access {
   display: inline-block;
   margin: 0 0 0 25px;   
}
#lawyer img {
   position: relative;
   width:  100px; 
   height: 136px;
   margin: 0 0 0 25px;
}
#googlemap iframe {
  width: 730px;
  height: 550px;
}

/* 取扱業務分野ページ */
#practice {
  width: 730px;
  overflow: hidden;
  margin: 16px auto;
}
#practice ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
#practice ul li {
  width: 180px;
  float: left;
  margin-right: 2px;
  margin-bottom: 2px;
  text-align: center;
  border-radius: 5px;
}
#practice ul li a {
  display: block;
  padding: 16px;
  background: #b7deed; /* Old browsers */
  background: -moz-linear-gradient(top, #b7deed 10%, #21b4e2 48%, #21b4e2 73%, #b7deed 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(top, #b7deed 10%,#21b4e2 48%,#21b4e2 73%,#b7deed 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom, #b7deed 10%,#21b4e2 48%,#21b4e2 73%,#b7deed 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  color: #fff;
  text-decoration: none;
  transition: background-color 0.2s linear;
  border-radius: 5px;
  font-size: 120%;
  font-weight: bold;
}
#practice ul li.current a { 
  background-color: #f0f0f0; 
}
#practice ul li a:hover { 
  background: #e0f3fa; /* Old browsers */
  background: -moz-linear-gradient(top, #e0f3fa 0%, #d8f0fc 26%, #b8e2f6 62%, #b6dffd 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(top, #e0f3fa 0%,#d8f0fc 26%,#b8e2f6 62%,#b6dffd 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom, #e0f3fa 0%,#d8f0fc 26%,#b8e2f6 62%,#b6dffd 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */;
}



/* ---------------------------------
メディアクエリー スマホ対応
--------------------------------- */
@media screen and (min-width : 768px){
  /* contact */
  #main_contact {
        display: none;
  }
}

@media screen and (max-width : 767px){
  /* 基本要素 */
  img {
    max-width: 100%;
  }
  #strip_image {
    width: 100%;
    height: auto;
  }
  /* Layout */
  header,
  #global_navi,
  #sidebar,
  #wrapper{
    width: 100%;
  }  
  /* ヘッダー */
  header h1 {
    float: none;
    text-align: center;
  }
  header h1 img#logomark {
    width: 15%;
    height: auto;
  } 
  header h1 img#logotext {
    width: 80%;
    height: auto;
  }
  header #header_contact {
    display: none;
  }
  /* ナビゲーション */
  #global_navi ul li {
    width: 50%;
    padding: 0.5px;
    margin: 0;
    box-sizing: border-box;
  }
  #global_navi ul li a {
    margin: 0;
  }
  #global_navi ul li:first-child {
    width: 100%;
  }
  /* メイン部分 */
  #main {   
    width: 100%;
    padding: 0 5%;
    box-sizing: border-box;
  }
  #breadcrumb {
    display: none;      
  }
  #main figure {
    text-align: center;
  }
  /* トップページパーツ */
  #main_visual {  
    width: 100%;
    height: auto;
  }
  #free_counseling {      
    width: 100%;
    height: auto;
  }
  #practice {
    width: 100%;
    height: auto;
  } 
  #practice ul li {
    width: 50%;
    padding: 0.5px;
    margin: 0;
    box-sizing: border-box;
  }
  #practice ul li a {
    margin: 0;
  }
  #point figure {
    float: none;
    margin: 0 0 11px 0;
  }
  /* サイドバー */
  #side_banner ul li {
    text-align: center;
    margin: 11px auto;
  }
  #side_contact address img {
    width: 14px;
    height: 20px;
  }
  /* 事務所紹介ページパーツ */
  #googlemap iframe {
    width: 100%;
    height: auto;      
  }
  #side_banner img {
    display: none;      
  }
  #about_free_counseling {
    display: none;      
  }    
  /* 取扱業務分野ページパーツ */
  #practicearea {
    width: 100%;
    height: auto;
  } 
  #practicearea ul li {
    width: 30%;
    padding: 0.5px;
    margin: 3;
    box-sizing: border-box;
    border-radius: 10px;
  }
  #practicearea ul li a {
    margin: 0;
  }
  #practicearea ul li img {
    border-radius: 10px;    
  }
  /* 相談の流れページパーツ */
  #counsel_free_counseling {
    display: none;      
  }    
  /* お問い合せページパーツ */
  #entry #name {
    width: 100%;
    padding: 2px;
  }
  #entry #phone {
    width: 100%;
    padding: 2px;
  }
  #entry #email {
    width: 100%;
    padding: 2px;
  }
  #entry #jenre {
    width: 100%;
    padding: 2px;
  }
  #entry #detail {
    width: 100%;
    height: 15em;
    padding: 2px;
  }
}