/*
Theme Name: company
Theme URI: http://sphere-links.co.jp/
Description: company
Version: 1.0
Author: sphere-links
Author URI: http://sphere-links.co.jp/
Tags: company

*/

html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
	font-weight: normal;
}

body {
    line-height: 1;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

ul,ol {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

a {
    margin: 0;
    padding: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}


/* change colours to suit your needs */

ins {
    background-color: #ff9;
    color: #000;
    text-decoration: none;
}


/* change colours to suit your needs */

mark {
    background-color: #ff9;
    color: #000;
    font-style: italic;
    font-weight: bold;
}

del {
    text-decoration: line-through;
}

abbr[title],
dfn[title] {
    border-bottom: 1px dotted;
    cursor: help;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}


/* change border colour to suit your needs */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #cccccc;
    margin: 1em 0;
    padding: 0;
}

input,
select {
    vertical-align: middle;
}




/*************************************************************

ここまでリセット

*************************************************************/
/*共通*/
/*全体のフォントサイズを指定、remでbodyに引っ張られないようにする*/
html {
  font-size: 62.5%;
	font-family: 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', Meiryo, メイリオ, Osaka, 'MS PGothic', arial, helvetica, sans-serif;
}

body {
	font-size: 1.8em;
	line-height: 1.6;/*詰まりすぎを防ぐ*/
	color: #000;
}
/*全体のフォントサイズを指定*/

a{
	color: #17a2b8;
	text-decoration: none;
}

a:hover{

}

a:hover img{
  opacity: 0.8;
  filter: alpha(opacity=80);
  -ms-filter: "alpha(opacity=80)";
}

.clearfix:after{
  display: table;
  clear: both;
  content: "";
}

div,
a,
ul,
li,
span{
	box-sizing: border-box;
}

img{
	max-width: 100%;
	vertical-align: bottom;
}



/*ヘッダー*/
header{
    background-color: #0095d6;
    margin-bottom: 30px;
    position: fixed;
    width: 100%;
    z-index: 10;
}

.inner_header{
    position: relative;
    min-height: 56px;
    display: flex;
    align-items: center;
}

/*メニューの動き*/
.c_nav .menu-trigger,
.c_nav .menu-trigger span{
	display: inline-block;
	transition: all .4s;
	box-sizing: border-box;
	cursor :pointer;
}

.c_nav  .menu-trigger{
	position: relative;
	width: 40px;
	height: 45px;
	z-index: 2;
}

.c_nav  .menu-trigger span{
	position: absolute;
	background: #fff;
	width: 30px;
	height: 2px;
	left: 0;
	right: 0;
	margin: auto;
}

.c_nav .menu-trigger span:nth-of-type(1){
	top: 13px;
}

.c_nav .menu-trigger span:nth-of-type(2){
	top: 0;
	bottom: 0;
}

.c_nav .menu-trigger span:nth-of-type(3){
	bottom: 12px;
}

.c_nav .menu-trigger.active span:nth-of-type(1){
	-webkit-transform: translateY(9px) rotate(-45deg);
	transform: translateY(9px) rotate(-45deg);
}

.c_nav .menu-trigger.active span:nth-of-type(2){
	opacity: 0;
}

.c_nav .menu-trigger.active span:nth-of-type(3){
	-webkit-transform: translateY(-9px) rotate(45deg);
	transform: translateY(-9px) rotate(45deg);
}

/*メニューの動き END*/	

.clone_nav{
	position: relative;
	min-height: 56px;
	display: flex;
    align-items: center;	
	background-color: #474747;	
}

.mt_pc{
	position: absolute;
	width: 40px;
	top: -2px;
}

.clone_menu{
	max-width: 960px;
	margin: 0 auto;
}

.menu-trigger+span{
    display: block;
    margin-top: -8px;
    font-size: 1.0rem;
    text-align: center;
	color: #fff;
}


.c_nav .list {
    background-color: #f3f3f3;
    width: 300px;
    border-top: solid 1px #fff;
    position: absolute;
    left: -300px;
    height: 95vh;
    overflow-y: auto;    
    padding-bottom: 50px;
    border-right: solid 1px #fff;
}
@media screen and (max-width: 768px){
    .c_nav .list {
        width: 100%;
    }
}


.c_nav .list li {
    text-align: center;
    width: 100%;
    border-bottom: solid 1px #0095d6;
}

.c_nav .list li a {
    display: block;
    padding: 10px;
    color: #30353a;
    font-size: 1.6rem;
}

.c_nav .list li a:hover{
    background-color: #0095d6;
    color: #fff;   
}

.c_nav .list li form{
    padding: 10px;
}

.c_nav .list li form input{
    padding: 5px;
}

.inner_header h1{
    margin: 0 auto;
    color: #fff;
    font-size: 2rem;   
}

.inner_header h1 a{
    color: #fff;
    font-weight: bold;
}

.inner_header h1 a:hover{
    opacity: 0.6;
}

.logined_name{
    position: absolute;
    right: 5px;
    font-size: 1.4rem;
    color: #fff;    
}

.logined_name a{
    color: #fff;
}



.w800{
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    padding-top: 100px;
}
@media screen and (max-width: 768px){
    .w800{
        padding: 80px 5% 0 5%;
    }
}

.w1200{
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding-top: 100px;    
}
@media screen and (max-width: 768px){
    .w1200{
        padding: 80px 5% 0 5%;
    }
}

h2.contents_head{
    color: #000;
    margin: 0 auto 40px;
    font-size: 2.4rem;
    text-align: center;
    position: relative;
    padding-bottom: 10px;  
}

h2.contents_head:before {
    content: "";
    position: absolute;
    width: 70px;
    height: 2px;
    background: #0095d6;
    bottom: 0;
    left: 50%;
    margin-left: -35px;
}


/*お知らせ*/
.news_wrap{
    background-color: #f5f5f5;
}

.news_wrap .contents_head{
    margin-bottom: 20px;
}

.news_wrap>div{
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    padding-top: 80px;  
    padding-bottom: 20px;
}
@media screen and (max-width: 768px){
    .news_wrap>div{
        padding: 80px 5% 20px 5%;
    }
}

.news{
    height: 32px;
    overflow: hidden;    
}

.news li{
    border-left: solid 2px #0095d6;
    padding-left: 10px;
    margin-bottom: 10px;
}

.news li span{
    padding-right: 10px;
}

.news_more{
    width: 100px;
    margin: 0 auto;
    background-color: #fff;
    padding: 5px;
    text-align: center;
    font-size: 1.4rem;
    border: solid 1px #0095d6;
    cursor: pointer;
}

.single_wrap>p{
    text-align: right;
    margin-bottom: 10px;
    font-size: 1.4rem;    
}





/*会員一覧*/
.profile_upper{
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
    border-bottom: solid 1px #dedede;
    padding-bottom: 20px;    
}

.profile_upper>div:nth-of-type(1){
    margin-right: 40px;
}

.author_name{
    margin-bottom: 20px;
}

.author_name span{
    display: block;
    font-size: 1.2rem;
}

.author_company dt{
    border-left: solid 4px #0095d6;
    padding-left: 10px;
    margin-bottom: 5px;
}

.car_year{
    text-align: center;
    font-size: 1.4rem;
    margin-top: 5px;
}

.author_c_name span{
    display: block;
}

.author_details{
    margin-top: 20px;
    width: 100%;
}

.author_details a{
    display: block;
    width: 200px;
    text-align: center;
    background-color: #ed6f00;
    border-radius: 3px;
    padding: 10px;
    box-sizing: border-box;
    color: #fff;
    margin: 0 auto;
}

.author_details a:hover{
    background-color: #ff9b43;
}

.profile_lower>div{
    margin-bottom: 40px;
}

.profile_lower dt{
    background-color: #0095d6;
    color: #fff;
    padding: 5px;
    margin-bottom: 10px;
    border-radius: 3px;
}

.company_info>dl>dd,
.history_info>dl>dd,
.home_info>dl>dd{
    margin-left: 10px;
}

.company_info address,
.home_info address{
    font-style: normal;
}

.company_info address span,
.home_info address span{
    display: block;
}







.to_top{
    margin-top: 50px;
}

.to_top a{
    background-color: #0095d6;
}

.to_top a:hover{
    background-color: #26bdff;
}

footer{
    background-repeat: repeat;
    background-color: #30353a;
    border-top: 3px solid #0095d6;
    margin-top: 50px;    
}

.f_upper{
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    color: #fff;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
}



/*固定ページ*/
/*東京JC基本方針*/
.slogan_box h3,
#con h3{
    font-size: 2.0rem;
    margin-bottom: 10px;
    background-color: #0095d6;
    color: #fff;
    padding: 5px 10px;
    border-radius: 2px;    
}

.slogan_box h3.slogan{
    text-align: center;
    font-weight: normal;
    background-color: #fff;
    color: #000;
    padding: 0;
}

.slogan_box h3.slogan span{
    display: block;
    font-size: 1.6rem;
}

.slogan_box h3+p+p{
    margin-top: 10px;
}

.h3_box{
    margin-bottom: 60px;
}

.slogan_box h4{
    text-align: center;
    color: #0095D5;
    font-size: 2.0rem;
    margin-bottom: 20px;
}

.slogan_box .h3_box:nth-of-type(2)>div{
    margin-bottom: 50px;
} 


/*スケジュール*/
#nenkansuke table{
    width: 100%;
    text-align: center;
    border-collapse: separate;
    border-spacing: 1px;    
}

#nenkansuke table th,
#nenkansuke table td{
    padding: 5px;
}

#nenkansuke table th{
    background-color: #efefef;
}    

#nenkansuke table td{
    border-bottom: 1px solid #ccc;
}

#nenkansuke table td:not(:last-child){
    border-right: solid 1px #efefef;
}


/*東京JC役員*/
.officer_box{
    margin-bottom: 25px;
    border-bottom: solid 1px #d6d6d6;
    padding-bottom: 25px;
}

.officer_box p:not(:last-child){
    margin-bottom: 15px;
}


/*関係団体*/
.stakeholders_box p:not(:last-child){
    margin-bottom: 30px;
}



/*歴代委員長*/
.board_member dl{
    display: flex;
    flex-wrap: wrap;
}

.board_member dt{
    width: 100px;
    border-bottom: solid 1px #efefef;
    margin-bottom: 10px;
    padding: 10px 20px 10px 10px;
}

.board_member dd{
    width: calc(100% - 160px);
    border-bottom: solid 1px #efefef;
    margin-bottom: 10px;
    padding: 10px 20px 10px 10px;
}




/*物故*/
.text_r{
    text-align: right;
}


/*会則*/
.constitution dl{
    border-bottom: solid 1px #efefef;
    margin-bottom: 20px;
    padding-bottom: 20px;
}

.constitution>dl>dd{
    margin-left: 1em;
}

.constitution>dl>dd>ul>li{
    display: flex;
    flex-wrap: wrap;
}

.constitution>dl>dd>ul>li>span:nth-of-type(1){
    display: block;
    width: 3em;
    margin-right: 1em;
}

.constitution>dl>dd>ul>li>span:nth-of-type(2){
    display: block;
    width:calc(100% - 4em);
}

.constitution>dl>dd>ul>li ul li{
    display: flex;
    flex-wrap: wrap;   
}

.constitution>dl>dd>ul>li ul li>span:nth-of-type(1){
    display: block;
    width: 2em;
    margin-right: 1em;   
}

.constitution>dl>dd>ul>li ul li>span:nth-of-type(2){
    display: block;
    width:calc(100% - 3em);
}



/*プロフィール*/

.add_headline{
    border-bottom: solid 1px #0095d6;
    padding-bottom: 5px;
    font-size: 1.8rem;
    margin-top: 30px;
}

#wpmem_reg label.text,
#wpmem_reg label.select{
    border-left: 4px solid #0095d6;
    padding: 0px 0px 0px 12px!important;
    margin-bottom: 15px;
    margin-top: 40px;
    line-height: 1.2;
    display: block;    
}


#wpmem_reg label.text{
    width: 100%!important;
    height: auto;
    float: none;
}

#wpmem_reg input{
    font-family: inherit;
    font-size: inherit;
    padding: 5px;
    box-sizing: border-box;   
}

#wpmem_reg .textbox{
    height: auto;    
    display: block;
    width: 100%;
    border: 1px solid #ccc;
    box-sizing: border-box;   
    margin: 0 0 10px 0;
}


/*項目見出し非表示*/
label[for="billing_postcode2"],
label[for="billing_tel2"],
label[for="billing_tel3"],
label[for="mobile_num2"],
label[for="mobile_num3"],
label[for="billing_fax2"],
label[for="billing_fax3"],
label[for="co_postcode2"],
label[for="co_tel2"],
label[for="co_tel3"],
label[for="co_fax2"],
label[for="co_fax3"]{
    display: none!important;
}

/*姓*/
label[for="last_name"]{
    margin-top: 20px!important;
    
}


/*郵便番号*/
label[for="billing_postcode1"] + .div_text,
label[for="billing_postcode2"] + .div_text,
label[for="co_postcode1"] + .div_text,
label[for="co_postcode2"] + .div_text{
    display: inline-block;
    float: none!important;
}

label[for="billing_postcode1"] + .div_text,
label[for="co_postcode1"] + .div_text{
    width: 100px!important;
    margin-right: 20px!important;
    position: relative;
}

label[for="billing_postcode1"] + .div_text::before,
label[for="co_postcode1"] + .div_text::before{
    position: absolute;
    content: '-';
    right: -13px;
    top: 7px;
}

label[for="billing_postcode2"] + .div_text,
label[for="co_postcode2"] + .div_text{
    width: 200px!important;
}




/*電話番号*/
label[for="billing_tel1"] + .div_text,
label[for="billing_tel2"] + .div_text,
label[for="billing_tel3"] + .div_text,
label[for="co_tel1"] + .div_text,
label[for="co_tel2"] + .div_text,
label[for="co_tel3"] + .div_text{
    display: inline-block;
    float: none!important;
}

label[for="billing_tel1"] + .div_text,
label[for="billing_tel2"] + .div_text,
label[for="billing_tel3"] + .div_text,
label[for="co_tel1"] + .div_text,
label[for="co_tel2"] + .div_text,
label[for="co_tel3"] + .div_text{
    width: 80px!important;
    margin-right: 20px!important;
    position: relative;
}

label[for="billing_tel1"] + .div_text::before,
label[for="billing_tel2"] + .div_text::before,
label[for="co_tel1"] + .div_text::before,
label[for="co_tel2"] + .div_text::before{
    position: absolute;
    content: '-';
    right: -13px;
    top: 7px;
}

/*携帯電話番号*/
label[for="mobile_num1"] + .div_text,
label[for="mobile_num2"] + .div_text,
label[for="mobile_num3"] + .div_text{
    display: inline-block;
    float: none!important;
}

label[for="mobile_num1"] + .div_text,
label[for="mobile_num2"] + .div_text,
label[for="mobile_num3"] + .div_text{
    width: 80px!important;
    margin-right: 20px!important;
    position: relative;
}

label[for="mobile_num1"] + .div_text::before,
label[for="mobile_num2"] + .div_text::before{
    position: absolute;
    content: '-';
    right: -13px;
    top: 7px;
}

/*FAX番号*/
label[for="billing_fax1"] + .div_text,
label[for="billing_fax2"] + .div_text,
label[for="billing_fax3"] + .div_text,
label[for="co_fax1"] + .div_text,
label[for="co_fax2"] + .div_text,
label[for="co_fax3"] + .div_text{
    display: inline-block;
    float: none!important;
}

label[for="billing_fax1"] + .div_text,
label[for="billing_fax2"] + .div_text,
label[for="billing_fax3"] + .div_text,
label[for="co_fax1"] + .div_text,
label[for="co_fax2"] + .div_text,
label[for="co_fax3"] + .div_text{
    width: 80px!important;
    margin-right: 20px!important;
    position: relative;
}

label[for="billing_fax1"] + .div_text::before,
label[for="billing_fax2"] + .div_text::before,
label[for="co_fax1"] + .div_text::before,
label[for="co_fax2"] + .div_text::before{
    position: absolute;
    content: '-';
    right: -13px;
    top: 7px;
}




/*ログイン*/
#login_wrap legend{
    color: #000;
    margin: 0 auto 40px!important;
    font-size: 2.4rem!important;
    text-align: center!important;
    position: relative!important;
    padding-bottom: 10px!important;
    font-weight: normal!important;
}

#login_wrap legend:before {
    content: "";
    position: absolute;
    width: 70px;
    height: 2px;
    background: #0095d6;
    bottom: 0;
    left: 50%;
    margin-left: -35px;
}


.wpmem_msg{
    width: 100%!important;
    padding: 10px!important;
    box-sizing: border-box;
}



/*マイページ*/
#mypage_wrap>ul{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

#mypage_wrap>ul li{
    width: 45%;
}

#mypage_wrap>ul li a{
    width: 100%;
    display: block;
    text-align: center;    
    border: solid 1px #17a2b8;
    padding: 10px;
    box-sizing: border-box;
}

#mypage_wrap>ul li a:hover{
    background-color: #17a2b8;
    color: #fff;
}

#mypage_wrap .div_image{
    margin-top: 20px!important;
}

.wpmem_msg{
    margin-bottom: 20px!important;
}


