/*
Theme Name: legalcommons_NEW
Theme URI: https://wordpress.org/themes/twentyseventeen/
Author: the WordPress team
Author URI: https://wordpress.org/
Description: Twenty Seventeen brings your site to life with header video and immersive featured images. With a focus on business sites, it features multiple sections on the front page as well as widgets, navigation and social menus, a logo, and more. Personalize its asymmetrical grid with a custom color scheme and showcase your multimedia content with post formats. Our default theme for 2017 works great in many languages, for any abilities, and on any device.
Version: 1.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentyseventeen
Tags: one-column, two-columns, right-sidebar, flexible-header, accessibility-ready, custom-colors, custom-header, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, post-formats, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/



/*--------------------------------------------------------------
1.0 Normalize
Styles based on Normalize v5.0.0 @link https://github.com/necolas/normalize.css
--------------------------------------------------------------*/

a{
  color: #000;
}
ul,li{
  margin: 0;
  padding: 0;
  list-style: none;
}
body{
  padding-top: 90px;
 font-family:  'EB Garamond', "Helvetica", "Arial", YuGothic,"Yu Gothic","Hiragino Sans","ヒラギノ角ゴシック","メイリオ", Meiryo,"ＭＳ Ｐゴシック","MS PGothic",sans-serif;
}
.clearfix::after{
  content: "";
  display: block;
  clear: both;
}

.navigation .alignleft{
  width: 44%;
  display: inline-block;
  float: left;
}
.navigation .alignright{
  width: 44%;
  display: inline-block;
  float: right;
  text-align: right;
}
header{
  background: #fff;
  border-bottom: 1px solid #222;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 11;
}
header a{
  text-decoration: none;
  color: #222;
   
}
header nav{
  line-height: 1;
  padding: 4px 0 8px;
  text-align: right;
  border-bottom: 1px solid #222;
}
header nav ul{
  margin: 0 20px 0 0;
  padding: 0;
}
header nav li{
  display: inline-block;
  font-size: 16px;
  margin: 0 8px;
}
header nav li a{
  text-decoration: none;
}

header nav li a:hover{
  background: #F0F0E1;
}

.logo{
  float: left;
  margin: 10px 0 10px 10px;
}
.logo img{
    height: 32px;
    width: auto;
    margin-top: 4px;
}
.menu{
  float: right;
}
header .menu ul{
  margin: 0 0px 0 0;
  padding: 0;
}
header .menu li{
  display: inline-block;
  font-size: 16px;
  margin: 0 0px;
}



header .menu a{
  display: inline-block;
  padding: 22px 10px 22px;
  font-size: 16px;
}
header .menu a:hover{
  background: #F0F0E1;
}

/*追記分*/
.menu_lang{
  float:right;
}
header .menu_lang ul{
  margin: 0 0px 0 0;
  padding: 0;
}
header .menu_lang li{
  display: inline-block;
  font-size: 18px;
  margin: 0 0px;
  
}

header .menu_lang a{
  display: block;
  padding: 18px 5px 22px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
   
}
header .menu_lang a:hover{
  background: #F0F0E1;
}
header .menu_lang a:after {
  content: '';
  position: relative;
  left: 50%;
  bottom: -5px; /*下線の上下位置調整*/
  display: block;
  width: 30px; /*下線の幅*/
  height: 2px; /*下線の太さ*/
  -moz-transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translate(-50%); /*位置調整*/
  background-color: #c72525; /*下線の色*/
}
/*ここまで追記分*/



.logo span{
  display: block;
  font-size: 12px;
  margin-top: 3px;
}
footer{
  text-align: center;
  font-size: 16px;
  margin-top: 110px;
  padding: 40px 0 40px;
  background: #fff;
  border-top: 1px solid #666;
}
footer ul{
  margin: 0;
  padding: 0;
}
footer ul li{
  list-style: none;
  margin: 0;
  padding: 0;
  display: inline-block;
  margin: 0 5px;
}
footer a{
  color: #333;
  text-decoration: none;
}

footer a:hover{
    background: #F0F0E1;
}

.home footer{
  margin-top: 0;
}
.wrap{
  line-height: 1.7;
}
.main_img{
  background: url(img/main.jpg) no-repeat center top;
  height: 500px;

}

.en_main_img{
  background: url(img/en_main_rev.png) no-repeat center top;
  height: 500px;

}






.copyright{
  margin-top: 20px;
}

.home_box{
  padding: 55px 0;
}
.home_box p{
  width: 780px;
  margin: auto;
  font-size: 18px;
}




.home_box_gray{
  padding: 55px 0;
  background: #EEEEEE;
}


.home_box02 p{
  font-size: 17px;
  text-align: center;
  margin: 0 auto;
}
.home_box03 p{
  font-size: 17px;
}

.btn01{
  text-align: center;
  margin-top: 33px;
}
.btn01 a{
  color: #333;
  text-decoration: none;
  border: 1px solid #333;
  border-radius: 32px;
  padding: 15px 38px;
  display: inline-block;
}

.btn01 a i{
  margin-left: 9px;
}
.btn01 a:hover{
  background: rgba(0,0,0,0.05);
}

h1{
  font-size: 30px;
  text-align: center;
  font-weight: normal;
  font-size: 32px;
  margin-top: 44px;
}
h1:after{
  position: absolute;
  content: "";
  display: block;
    left: 47%;
    right: 47%;
  background: #9D2A2E;
  height: 3px;
}

.display-sp{
  display: none;
}
.home_box02 ul{
  text-align: center;
  margin: 44px 0 20px;
}
.home_box02 li{
  display: inline-block;
  width: 22%;
  margin: 0 1%;
}
.home_box02 li img{
  width: 100%;
  height: auto;
}

.archive .home_box04{
  margin-top: 80px;
}

.home_box04 dl{
  width: 800px;
  margin: 50px auto;
}

.home_box04 dl dt{
  display: inline-block;
  width: 28%;
  margin-right: 2%;
  vertical-align: top;
  color: #677;
  font-size: 16px;
}

.home_box04 dl dt span{
  color: #fff;
  margin-left: 10px;
  line-height: 1;
  padding: 4px 7px;
  background: #666;
  display: inline-block;
  font-size: 12px;
}
.home_box04 dl dd {
  display: inline-block;
  width: 64%;
  margin-left: 0;
  vertical-align: top;
  margin-bottom: 28px;
  font-size: 16px;
}
.member_box{
  width: 1180px;
  margin: 70px auto;
  text-align: center;
  
  width: auto;
}
span.tag a{
  text-decoration: none;
  color: #fff;
}
.member_box ul{
  display: flex;
  flex-wrap: wrap;
  width: auto;
  margin-right: 0;
}
.member_box li{
  display: block;
  margin: 0 20px 26px 0;
  line-height: 1;
  overflow: hidden;
  width: 24%;
  margin: 0 0.5% 1.1% 0.5%;
  position: relative;
}
.member_box li img{
  width: 100%;
  height: auto;
}
.member_box li span{
  position: absolute;
  bottom: -100px;
  left: 0;
  right: 0;
  color: #fff;
  padding: 10px 0;
  background: rgba(0,0,0,0.6); 
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.member_box li a:hover img{
  opacity: 0.8;
}
.member_box li a:hover span{
  bottom: 0;
}
.archive .member_box li a span{
  bottom: 0;
}
.single_member_parent{
  position: relative;
  height: 500px;
  overflow: hidden;
}
.single_member_parent:before{
  content: '';
  height: 510px;
  background: inherit;/*.bgImageで設定した背景画像を継承する*/
  background-size: 110%;
  -webkit-filter: blur(5px);
  -moz-filter: blur(5px);
  -o-filter: blur(5px);
  -ms-filter: blur(5px);
  filter: blur(5px);
  position: absolute;
  /*ブラー効果で画像の端がボヤけた分だけ位置を調整*/
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  z-index: -1;/*重なり順序を一番下にしておく*/
}
.single_member{
  height: 500px;
  position: relative;
  width: 1200px;
  margin: 0 auto 40px;
}
.single_member_box{
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  color: #fff;
  padding: 10px 30px;
  background: rgba(0,0,0,0.6); 
  font-size: 28px;
}
.single_member_box div{
  width: 1140px;
  margin: 0 auto;
}
.single_member_box span{
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  display: inline-block;
  margin-left: 22px;
}

.single_member_profile_box01,
.single_member_profile_box02,
.single_member_profile_box03{
  width: 900px;
  margin: 30px auto 50px;
}
.single_member_profile_box01 h2,
.single_member_profile_box02 h2,
.single_member_profile_box03 h2{
  font-size: 20px;
  letter-spacing: 0.1em;
  border-left: 4px solid #900;
  padding-left: 10px;
  line-height: 1.2;
}

.historyList dt{
  width: 100px;
  display: block;
  float: left;
  vertical-align: top;
  margin-bottom: 20px;
  padding-bottom: 10px;
  font-style: italic;
  color: #999;
  font-weight: bold;
}

.historyList dd{
  display: block;
  padding-left: 100px;
  vertical-align: top;
  margin: 0;
  padding: 0;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px dotted #ccc;
  padding-left: 100px;
}

.single_member_btn_box{
  width: 900px;
  margin: 30px auto 80px;
  text-align: center;
}
.single_member_btn_box i{
  margin: 0 8px;
  display: inline-block;
}
.single_member_btn_box a{
  display: inline-block;
  color: #fff;
  width: 420px;
  margin: 0 10px;
  font-size: 16px;
  padding: 15px 0;
  line-height: 1;
  text-decoration: none;
}
.single_member_btn_box a.btn01{
  background: #666;
}
.single_member_btn_box a.btn02{
  background: #900;
}

a.btn02{
  display: inline-block;
  color: #fff;
  width: 420px;
  margin: 0 10px;
  font-size: 16px;
  padding: 15px 0;
  line-height: 1;
  text-decoration: none;
  background: #900;
  text-align: center;
}
.single_member_btn_box a:hover{
  opacity: 0.88;
}

.page_title{
  background-size:auto 100%;
  background-position: center top;
  background-repeat: no-repeat;
  height: 440px;
}
.page_title h1{
  margin: 0 auto;
  color: #fff;
  padding-top: 40px;
  padding-bottom: 6px;
  width: 1200px;
  text-align: left;
  text-shadow: 1px 0px 5px rgba(0,0,0,0.77);
  letter-spacing: 0.2em;
  border-left: 1px solid #fff;
  padding-left: 13px;
  line-height: 1;
}
.page_title h1:after{
  display: none;
}

.meta_date{
  margin-bottom: 22px;
  color: #666;
}
.meta_date .tag a{
  margin-left: 10px;
  background: #222;
  display: inline-block;
  font-size: 12px;
  line-height: 1;
  padding: 3px 10px;
}
.page_title_inner{
  background: url(img/title_bg.png) repeat-x top;
  height: 200px;
}

.single,
.page{
  background: #eee;
}

.single article,
.page article{
  width: 1200px;
  background: #fff;
  margin: 30px auto;
  padding: 40px;
  border: 1px solid #ccc;
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
         -o-box-sizing: border-box;
        -ms-box-sizing: border-box;
            box-sizing: border-box;
}
.single article h2{
  margin-top: 0;
}
.contentBox02 {
    border: 1px solid #CCC;
    padding: 20px 32px;
    background: url(img/contentbox_bg.png) no-repeat right top;
  margin-bottom: 20px;
}
article p{
  margin-top: 0;
}
.page h2{
  margin-top: 18px;
  color: #900;
  font-size: 18px;
  border-left: 4px solid #900;
  border-bottom: 1px solid #ccc;
  padding-left: 8px;
  padding-bottom: 5px;
  line-height: 1;
}
.page h2 span{
  display: block;
  font-size: 25px;
  margin-top: 5px;
}
ul.conceptList{
  margin-bottom: 20px;
}

.page h3{
  background: #900;
  color: #fff;
  padding: 8px 13px;
  margin-top: 42px;
  box-shadow: 0 4px 0 rgba(0,0,0,0.2) inset;
}
ul.conceptList li {
    font-size: 14px;
    color: #005A02;
    font-weight: bold;
    padding-left: 16px;
}

ul.conceptList li:before{
  content: "\f105";
  content: "\f0da";
  display: inline-block;
  font-weight: bold;
  vertical-align: middle;
  font-family: fontAwesome;
    margin-right: 8px;
    vertical-align: 0px;
}
.copy01{
  font-size: 26px;
  margin: 10px 0;
}
.page h4{
  border-left: 3px solid ;
  padding-left: 8px;
}
h5 {
    font-size: 15px;
    color: #005A02;
    padding-left: 16px;
    margin-bottom: 10px;
}
h5:before{
  content: "\f105";
  content: "\f0da";
  display: inline-block;
  font-weight: bold;
  vertical-align: middle;
  font-family: fontAwesome;
    margin-right: 8px;
    vertical-align: 0px;
}
.aboutBox{
  padding:5px 30px 20px;
  background: #eee;
}



.contactForm{
}

.contactForm input,
.contactForm textarea{
	border:1px solid #CCC;
    width: 90%;
  background: #f9f9f9;
  padding: 4px 10px;
}

.contactForm dl,
#chinoichiba dl {
	margin: 15px 0 15px;
	padding: 0 0px 10px;
}
.contactForm dl dt ,
#chinoichiba dl dt {
	float: left;
	width: 14.5em;
	padding: 10px 0;
	text-indent: 1em;
	line-height: 150%;
	color: #222;
}
.contactForm dl dd ,
#chinoichiba dl dd {
	padding: 10px 0 20px 14.5em;
	line-height: 150%;
}

.wpcf7-not-valid-tip-no-ajax,
.wpcf7-validation-errors{
	display:block;
	margin-top:10px;
	color:#F00;
}
span.red{
  color: #900;
  font-size: 13px;
}

[type="submit"] {
  background: #900;
  color: #fff;
  padding: 12px 82px;
  color: #fff;
  cursor: pointer;
  border: none;
}

.wpcf7-mail-sent-ok{
	display:block;
	margin-top:10px;
}

.wpcf7-list-item{
	margin-right:20px;
}
.fontOrange{
  color: #900;
}
.map{
  margin-right:20px;
  float:left;
}
.clear{
  clear: both;
}
.accessText {
    margin-left: 30px;
}

.ankerbox{
  margin-top: -90px;
  padding-top: 90px;
}
.ankerlink{
  text-align: center;

}
.ankerlink li{
  width: 30%;
  margin: 0px 1% 20px;
  display: inline-block;
  vertical-align: top;
   
}

.ankerlink li a{
  display: block;
  border-radius: 4px;
  border : 1px solid #999;
  padding: 7px 0;
  text-decoration: none;
  height: 70px;
  position: relative;
}

.ankerlink li a span{
  position: absolute;
  width: 100%;
  top: 50%;
  left: 0;
  text-align: center;
  transform : translateY(-50%);
}

.ankerlink li a:hover{
  background: #f4f4f4;
}

table.feetable{
  margin-bottom: 44px;
  margin-top: -4px;
}
table.feetable,.feetable th,.feetable td {
  border-collapse: collapse;
  border: 1px solid #ccc;
  line-height: 1.5;
}

table.feetable th {
  width: 150px;
  padding: 10px;
  font-weight: bold;
  vertical-align: top;
  background: #3f3f3f;
  color: #ffffff;
}
table.feetable td {
  width: 350px;
  padding: 10px;
  vertical-align: top;
}
  

.page-template-english-php footer ul,
.page-template-english-php .menu,
.page-template-english-php nav,
.page-template-english-php .logo span{
  display: none;
}
body.page-template-english-php{
  padding-top: 40px;
}

.tel{
  font-size: 17px;
  text-align: center;
  line-height: 1.5;
  margin-bottom: 33px;
}
.tel span{
  font-size: 24px;
  letter-spacing: 0.03em;
  font-weight: bold;
}



@media screen and (max-width: 768px){
  .logo img {
    height: 19px;
    width: auto;
    margin-top: 10px;
}
  .single_member_btn_box a{
    margin-bottom: 22px;
  }
  
  
  .home_box p,
  .home_box04 dl,
  .single_member_btn_box,
  .single_member,
  .page_title h1,
  .single_member_profile_box01, .single_member_profile_box02, .single_member_profile_box03,
  .single article, .page article{
    width: auto;
  }
  .single_member_profile_box01,
  .single_member_profile_box02,
  .single_member_profile_box03,
  .single_member_profile_box04,
  .single_member_profile_box05,
  .single_member_profile_box06{
    margin: 0 20px;
  }
  .main_img {
    /*
    background-position-x: -310px;
    */
    
}
  
  .home_box p{
    margin: auto 22px;
  }
    
    
    
  .home_box04 dl{
    margin-left: 16px;
  }
  
  
  
}


/*bogo 言語スイッチのテキスト変更*/
.bogo-language-switcher .current {
  display: none;
}

.bogo-language-switcher li{
  vertical-align: middle;
}

.bogo-language-name {
  font-size: 0;
}
/*TOPページのバナー３つのレイアウト*/

/* フレックスボックスの基本設定 等間隔（両端揃え）折返しあり */
[class^="flex-col"] {
	display: flex;
  flex-wrap: wrap;
  justify-content: center;
	max-width: 1800px;
	margin-right: auto;
	margin-left: auto;
}

/* コンテンツ下のマージン */
.flex-child { margin-bottom: 10px; }

/* 各カラム毎のコンテンツと疑似要素の横幅 */
.flex-col2 .flex-child { width: calc( (100% - 10px) / 2 ); }

.flex-col3 {max-width: 960px; margin: 0 auto; }
.flex-col3::after,
.flex-col3 .flex-child { width: calc(100% / 3 - 16px ); }

.flex-col4::before,
.flex-col4::after,
.flex-col4 .flex-child { width: calc( (100% - 30px) / 4 ); }

.flex-col5::before,
.flex-col5::after,
.flex-col5 .flex-child { width: calc( (100% - 30px) / 5 ); }

/* 最終行は両端揃えにしない */
.flex-col3::after,
.flex-col4::before,
.flex-col4::after { content: ""; }

.flex-col4::before { order: 1; }



.flex-child img { width: 100%;
max-width: 600px;
}

/* ホバー */
.flashing img:hover {
  opacity: 1;
  animation: flash-banner 1.5s;
}
@keyframes flash-banner {
  0% {
    opacity: .4;
  }
  100% {
    opacity: 1;
  }
}

/* 特設サイトバナー */
#top-text {
  margin:20px;
	display:flex;
	align-items:center;
}
#top-banners {
	display:flex;
	flex-basis: 300px;
	flex-shrink:0;
	flex-grow:0;
	flex-wrap:wrap;
	justify-content:center;
  margin:10px auto 10px auto;
  max-width: 1100px; 
}
.top-banner {
	width:300px;
	height:auto;
	margin:5px;
}

/* 一部固定ページの背景を変更　*/
article.white-bg {
	border:0px;
}

body.page-template-page_with-white-bg {
  background-color:white;
}

/* Wordpress エディタでのaligncenter right left定義を有効化する */
img.aligncenter {
  display: block;
  margin: 0 auto;
}
img.alignright{
	display: block;
	margin: 0 0 0 auto;
}
img.alignleft{
	display: block;
	margin: 0 auto 0 0;
}

/* 独自の中央揃えクラス */
div.centering {
  text-align: center;
}

