/*
Theme Name: uematsu
Theme URI:
Description:
Version: 1.0
Author: Ogasahara
Author URI: http://ogasahara.info
*/


/* Move down content because we have a fixed navbar that is 50px tall */
html{
	font-size: 62.5%; /* sets the base font to 10px for easier math */
}

body {
  padding-top: 0;
  padding-bottom: 20px;

  font-size: 16px;
  font-size: 1.6rem;
  line-height: 2.8rem;
  /* sets the default sizing to make sure nothing is actually 10px */

  font-family: Helvetica , "游ゴシック体" , "Yu Gothic" , sans-serif;

  background-color: #151A59;
}

a{
	color: #151A59;
}

a:hover, a:focus{
	color: #4D4398;
}

.small{
	font-size: 0.8rem;
}

.caption{
	font-size: 1.4rem;
}

h1{
	font-size: 2.8rem;
	font-weight: bold;
	color: #151A59;
	margin-top: 40px;
	margin-bottom: 40px;
}
h1 a:hover,
h1 a:active {
	text-decoration: none;
}
h1 a img {
	float: left;
	margin: 0 1.5rem 0 0;
}
h1 .ja {
	display: block;
  font-family: 'Noto Serif JP', serif;
	font-weight: 400;
  letter-spacing: 0.15rem;
	white-space: nowrap;
}
h1 .en {
	display: block;
  font-size: 1rem;
	font-weight: 700;
	line-height: 2;
	text-transform: uppercase;
	letter-spacing: 0.35rem;
	white-space: nowrap;
	display: block;
}

h2{
	font-size: 2rem;
	font-weight: bold;
	color: #151A59;
}

.office h2, .service h2{
	border-bottom: 1px solid #151A59;
	padding-bottom: 0.5rem;
	margin-top: 1.5rem;
	margin-bottom: 0.8rem;
}
.service h2 .ruby {
	position: relative;
}
.service h2 .ruby em {
	position: absolute;
	bottom: 100%;
	left: 0;
	right: 0;
	white-space: nowrap;
	font-size: 1rem;
	font-weight: normal;
	font-style: normal;
	font-feature-settings: "palt";
	letter-spacing: 0.25rem;
	text-align: center;
}
h3{
	font-size: 1.6rem;
	font-weight: bold;
	color: #151A59;
}

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


/* header */
header{
	background-color: #ffffff;
	border-bottom: 6px solid #4D4398;
	padding: 10px 20px;
}

header .logo{
	float: left;
	margin: 0;
}

header .top-contact{
	float: right;
	margin: 0;
	white-space: nowrap;
}

.top-contact .tel{
	background: url(./img/tell.png) no-repeat 0 50%;
	background-size: 48px auto;
	color: #151A59;
	display: inline-block;
	vertical-align: bottom;
	font-size: 2.5rem;
	font-weight: bold;
	line-height: 1.5;
	margin: 0 20px 0 0;
	padding: 0.5rem 0 0.5rem 48px;
}
.top-contact .btn {
	display: inline-block;
	vertical-align: bottom;
	margin: 0 0 1rem 0;
}


/* main visual */
.main-visual {
	position: relative;
}
.main-visual .catchcopy {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	margin: 50px 0 0 0;
}
.main-visual .catchcopy h2 {
	margin: 0;
	padding: 60px 0 0 0;
	font-size: 2.25rem;
	line-height: 1.5;
  text-align: center;
  text-shadow: 0 0 1px #151A59;
}
.main-visual .catchcopy h2.large {
	margin: 0;
	padding: 30px 0 0 0;
	font-size: 2.5rem;
	line-height: 1.6;
	text-align: center;
	text-shadow: 0 0 1px #151A59;
	letter-spacing: 0.2rem;
	font-weight: 400;
}
.main-visual img{
}

.main-visual img:hover{
	opacity: 0.8;
}

.main-visual .container{
/* 	max-width: 1320px; */
}

.btn-default{
	background-color: #151A59;
	color: #ffffff;
	border: #151A59;
}

.btn-default:hover, .btn-default:active, .btn-default:focus, .btn-default:active:focus, .btn-default:active:hover{
	background-color: #4D4398;
	color: #ffffff;
}

.top-contact{
	text-align: center;
	color: #ffffff;
}

/* nav */
.navbar{
	border-radius: 0;
	margin-bottom: 0;
}

.navbar-default{
	background-color: #151A59;
	border: none;
}

.navbar-collapse{
	padding: 0;
}

.navbar-default ul{
	margin: 0;
	padding: 0;
	display: flex;
}

.navbar-default ul li{
	width: 235px;
	list-style: none;
	text-align: center;
}

.navbar-default ul>li>a{
	color: #ffffff;
	line-height: 50px;
	display: block;
}

.navbar-default ul>li>a:hover, .navbar-default ul>li>a:focus{
	background-color: #4D4398;
	color: #ffffff;
	text-decoration: none;
}

.navbar-default ul>.active>a, .navbar-default ul>.active>a:hover, .navbar-default ul>.active>a:focus{
	background-color: #4D4398;
	color: #ffffff;
	text-decoration: none;
}

.current-menu-item{
	background-color: #4D4398;
	color: #ffffff;
}

/* contents area */
.contents-bg-top{
	background-color: #eeeeee;
}

/* news */
.recent-news{
	margin: 0 0 60px 0;
	background-color: #ffffff;
	border-radius: 6px;
	padding: 10px 20px;
}




/* contents index */
.contents-index{
	margin-top: 150px;
}

.contents-index ul{
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	margin: 0 0 60px 0;
	padding: 0 0 0 20px;
}

.contents-index ul li{
	list-style-type: none;
	color: #151A59;
	text-align: left;
	width: 300px;
	background-color: #ffffff;
	margin-right: 20px;
	border: 3px solid #151A59;
	padding:0 20px;
}

.contents-index ul li h2{
	display: block;
	background-position:left center;
	line-height: 40px;
	padding-left: 45px;
}

.contents-index ul li.top-office h2{
	background: url(img/top-office.svg) no-repeat;
}

.contents-index ul li.top-service h2{
	background: url(img/top-service.svg) no-repeat;
}

.contents-index ul li.top-contact h2{
	background: url(img/top-contact.svg) no-repeat;
}

.readmore{
	text-align: right;
	margin-bottom: 20px;
}


/* footer */
footer{
	background-color: #151A59;
	padding: 20px;
	text-align: center;
}
footer .container-fluid{
    margin: 0 auto;
    max-width: 580px;
    padding: 0;
    width: 580px;
}
footer .container-fluid .row{
    margin: 0;
    text-align: left;
}
footer .container-fluid .col-xs-3,
footer .container-fluid .col-xs-4,
footer .container-fluid .col-xs-8,
footer .container-fluid .col-xs-9{
    border: 0;
    background: transparent;
    padding: 0;
}
footer .container-fluid .col-xs-3,
footer .container-fluid .col-xs-4 {
    width: 159px;
}
footer .container-fluid .col-xs-8,
footer .container-fluid .col-xs-9{
    width: calc(100% - 159px);
}
footer .row h6 {
    margin: 0;
    padding: 0 0 4px 0;
		color: #fff;
		opacity: 0.65;
		font-family: 'Noto Serif JP', serif;
		font-size: 1.75rem;
		font-weight: 400;
}
footer .row img {
    display: block;
}
footer .row p {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    opacity: 0.65;
}
.copyright{
	color: #ffffff;
	font-size: 1.2rem;
	letter-spacing: 1px;
	margin-top: 40px;
}





/* //////////////////////////////
	事務所案内
/////////////////////////////////*/

.contents-bg{
	background-color: #ffffff;
}

.office .greeting div{
	width: 560px;
	float: left;
}

.office .greeting .portrait{
	text-align: center;
}

.office .greeting div ul{
	background-color: #eeeeee;
	color: #151A59;
	font-weight: bold;
	padding: 20px 20px 20px 40px;
	margin: 10px 0;
}

.profile .name, .profile .prof{
	float: left;
}

.profile .name{
	width: 320px;
}

.profile .name .kanji{
	font-size: 3rem;
}

.profile .name .alphabet{
	font-size: 1.2rem;
	letter-spacing: 1px;
}

.profile .prof{
	width: 620px;
}

.access{
	margin-bottom: 100px;
}



/* //////////////////////////////
	サービス案内
/////////////////////////////////*/

.service .lineup{
	display: flex;
	flex-wrap: wrap;
	padding-bottom: 40px;
}

.service .lineup .block{
	width: 300px;
	min-height: 255px;
	border: 2px solid #151A59;
	margin-right: 20px;
	margin-bottom: 20px;
	padding: 1rem 2rem;
}

.service .lineup.two-cols .block {
	width: calc(50% - 20px);
	min-height: 198px;
}

.service .lineup .block:last-child{
	margin-right: 0;
}

.service table{
	width: 940px;
	border: 1px solid #999999;
}

.service table th, .service table td{
	border-bottom: 1px solid #999999;
	padding: 10px 20px;
}

.service table tr:last-child{
	border-bottom: none;
}

.service table tr th{
	color: #151A59;
	width: 220px;
	background-color: #eeeeee;
}

.pricelist{
	margin-bottom: 100px;
}



/* //////////////////////////////
	お問い合わせ
/////////////////////////////////*/

.contact .form{
	background-color: #eeeeee;
	padding: 40px 80px;
	margin-bottom: 100px;
}

.contact .form p{
	font-size: 1.4rem;
	margin-bottom: 60px;
}

.contact .form .control-label{
	width: 220px;
	font-size: 1.6rem;
	font-weight: normal;
	color: #151A59;
	border-top: 1px solid #151A59;
	margin-right: 20px;
	text-align: left;
	padding-top: 10px;
}

.contact .form .control-label .require{
	font-size: 1.2rem;
}

.contact .form .form-input-s{
	width: 380px;
}
.contact .form .form-input-s,
.contact .form .form-input {
	padding-top: 7px;
}

.contact .form .form-input{
	width: 540px;
}

.contact .form .form-group{
	display: flex;
}

.contact .form .form-btn{
	text-align: center;
}

.contact .form .form-confirm{
	text-align: center;
	display: block;
	font-size: 1.4rem;
}

.contact span.wpcf7-not-valid-tip{
	font-size: 1.4rem;
}

.contact div.wpcf7-validation-errors{
	border: 2px solid #f00;
	color: #f00;
}

.contact div.wpcf7-mail-sent-ok{
	border: 2px solid #151A59;
	color: #151A59;
}


/* //////////////////////////////
	お知らせ
/////////////////////////////////*/

.news .contents{
	margin-bottom: 100px;
}

.news .contents article{
	width: 700px;
}

.news .contents article header{
	border-bottom: 1px solid #151A59;
	padding: 0;
	margin-bottom: 20px;
}

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

.news .post .nav-below{
	margin-top: 40px;
}

.news .post .nav-below a{
	font-size: 1.2rem;
	color: #151A59;
}

.news .post .nav-below a::before{
	content: "▶︎ ";
	font-size: 0.8rem;
}
