@charset "utf-8";

/* *****共通設定***** */
body {
	font-family: "メイリオ", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, "sans-serif";
}
/*@media screen and (max-width: 767.98px) {
	body {
	padding-bottom: 60px;
	}
}*/
main{
    display: block;
	color: #5B5B5B;
}
main .btn{
    padding-left: 2.5rem;
    padding-right: 2.5rem;
    font-size: 1.5rem;
}

.gray {
    color: #6c757d;
}
.card{
    border-color: #e0c7b2;
}
.img-thumbnail {
    width: 100%;
    padding: .25rem;
    background-color: transparent;
    border: none;
}

.high-light {
	/*background-color: #ffff00;*/
}

.midashi-10 {
	font-size: 10px; /* IE8以下とAndroid4.3以下用フォールバック */
	font-size: calc( 10 + ((1vw - 3.2rem) * 0.625));
}

.midashi-12 {
	font-size: 12px; /* IE8以下とAndroid4.3以下用フォールバック */
	font-size: calc( 12 + ((1vw - 3.2rem) * 0.625));
}

.midashi-14 {
	font-size: 14px; /* IE8以下とAndroid4.3以下用フォールバック */  /* before 16 */
	font-size: calc( 14 + ((1vw - 3.2rem) * 0.625));
}

.midashi-16 {
	font-size: 16px; /* IE8以下とAndroid4.3以下用フォールバック */
	font-size: calc( 16 + ((1vw - 3.2rem) * 0.625));
}

.midashi-18 {
	font-size: 18px; /* IE8以下とAndroid4.3以下用フォールバック */
	font-size: calc( 18 + ((1vw - 3.2rem) * 0.625));
}

.midashi-20 {
	font-size: 20px; /* IE8以下とAndroid4.3以下用フォールバック */
	font-size: calc( 20 + ((1vw - 3.2rem) * 0.625));
}

.midashi-22 {
	font-size: 22px; /* IE8以下とAndroid4.3以下用フォールバック */
	font-size: calc( 22 + ((1vw - 3.2rem) * 0.625));
}

/*---------------------------------------------
大きいブロックの隙間調整
===============================================*/
#sec-komarigoto, #sec-reasons,#sec-aisatsu, #sec-merit-power, #sec-merit-yuigon, #sec-voice {
	padding-top: 70px;
	padding-bottom: 70px;
}

@media screen and (max-width:767.98px) {
	#sec-komarigoto, #sec-reasons,#sec-aisatsu, #sec-merit-power, #sec-merit-yuigon, #sec-voice {
		padding-top: 0px;
		padding-bottom: 70px;
	}
}
/*section.to-contact {
	margin-top: 50px;
	margin-bottom: 50px;
}*/

/*section:nth-child(even){
    background-color: #e0c7b2;
}*/
/*---------------------------------------------
文字サイズ/h1～6
===============================================*/
h1.service-midashi {
	font-size: 2rem;
	background: linear-gradient( #1EAB5E , #126e3c);
	padding: 1rem;
	color: #fff;

}
h2, h3{
   color: #401f0f;
}

h1, h2, h3, h4, h5, h6 { color: #5B5B5B;}
.h-midashi {
/*	padding: 0.75rem;*/
	font-size: 250%;
	font-weight: bold; text-align: center;
	color: #126e3c;
	display: flex;
	align-items: center;
	width: 100%;
	padding: 0;
	margin: 2rem auto 2rem auto;
	max-width: 700px;
}

.h-midashi:before, .h-midashi:after {
  content: "";
  flex-grow: 1;
  height: 3px; /* 線の太さ  .text-line:before, */
  background: #126e3c; /* 線の色 */
}

.h-midashi:before {
	margin-right: 2rem;
}

.h-midashi:after {
	margin-left: 2rem;
}
.midashi-leftBar {
	padding: 0.5em 0.5em 0.25em 0.5em;/*上下 左右の余白*/
  	color: #494949;/*文字色*/
  	background: linear-gradient( #fff, #e0e0e0 );
	border-bottom: solid 3px #126e3c;
}
.midashi-under {
  border-bottom: solid 2px #126e3c;
  position: relative;
	padding-bottom: 0.5rem; 
	padding-top: 1.5rem;
}

.midashi-under:after {
  position: absolute;
  content: " ";
  display: block;
  border-bottom: solid 2px #CF6319;
  bottom: -2px;
  width: 30%;
	max-width: 100px;
}
@media screen and (min-width:320px) and (max-width:767.98px) {
	.h-midashi {
		color: #126e3c;
		border-color: #126e3c;
		border-style: solid;
		border-width: 2px;
		border-left: none;
		border-right: none;
		background-color: #8FFBC0; /* #8FFBC0; */
		font-size: 4vw;
		font-weight: bold;
		padding: 2vw 4vw;
		position: relative;
		line-height: 1.3;
		clear: both;
	}
	
	.h-midashi:before, .h-midashi:after {
		content: "";
		flex-grow: 0;
		height: 0px; /* 線の太さ  .text-line:before, */
		background: #126e3c; /* 線の色 */
	}

	.h-midashi:before {
		margin-right: 0rem;
	}

	.h-midashi:after {
		margin-left: 0rem;
	}
}

/*---------------------------------------------
よく使う指示
===============================================*/
.flex-box {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-content: flex-start;
}

/*---------------------------------------------
ヘッダー(navbar) 
===============================================*/
.navbar{
    border-bottom: 1px solid #a29080;
}
@media screen and (max-width: 767.98px) {
	.navbar{
    	border-bottom: 1px solid #a29080;
		background-color: #fff;
/*		position: fixed;
		bottom: 0;
		right:0;
		left:0;
		Z-index: 1030;*/
	}
}

.navbar .navbar-collapse{
    flex-grow: 0;
}
.navbar .navbar-brand div {
    height: 50px;
}
.navbar .navbar-brand img{
    height: 50px;
}
/*.navbar .navbar-nav .active > .nav-link{
    color: #5B5B5B;
}*/
.nav-link {
	color: #5b5b5b!important;
}
.nav-item a.active {
	display: block;
	color: #126e3c!important;
}
.navbar .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus {
    color: rgba(251,251,241,1);
}
p.top-small {
	font-size: 0.6rem; color: #126e3c;
	padding: 0; margin: 0px auto 5px auto;
}

/*---------------------------------------------
to-contact　お問い合わせフォームへ
===============================================*/
.to-contact div img {
	width: 100%;
}
@media screen and (min-width:768px) {
.to-contact {
	background-color: #f1efff;
		border-bottom: #dddddd;
		background: url("../images/top-backgreen.png") no-repeat bottom center;
		background-size:cover;
		height: 300px;
		width: 100%;
	padding: 30px 0;
	}
	
	.contact-title {
		width:100%; max-width: 800px;
		margin: 0 auto;
		display: block;
	}
}
@media screen and (max-width:767.98px) {
.to-contact {
	background: url("../images/top-backgreen.png") no-repeat bottom center;
    	background-size:cover;
		position: relative;
  		margin: auto;
		padding-top: 4%;
		padding-bottom: 4.5%;
/*	padding: 5% 5vw 0% 5vw;*/
}
	}

/* *****トップページ***** */
/*---------------------------------------------
top page
===============================================*/
/* メイン画像 */
h1{
    font-weight: bold !important;
    color: #ffce11;
}
#top-images h1 + span {
    font-size: 3rem;
    font-weight: bold;
    color: #ffffff;
    line-height: 110%;
    margin-top: 0.2rem;
    display: block;
}
@media screen and (min-width: 768px) and (max-width:991.98px) {
	#top-images{
		background-color: #f1efff;
		border-bottom: #dddddd;
		background: url("../images/top-backgreen.png") no-repeat top center;
		background-size:cover;
		height: 340px;
		width: 100%;
	/*	padding: 5% 5vw;*/
	}

	#top-images img.top-images-on {
		height: 340px;
		margin: 0 auto;
	}
	#top-images img {
		padding: 20px 0;
		display: block;
	}

	.TEL img {
/*		width: 40%; */
		height: 50px;
		margin: 0 30px;
		padding: 0;
	}
	
	.TEL p {
		font-size: 2.5rem;
		font-weight: bold;
		padding: 0; margin: 0;
	}
	.TEL {
		background-color: #cef1de;
		width: 100%;
		margin: 0;
	}
	
	.TEL p.small {
		font-size: 1rem;
		margin-bottom: 1rem;
	}
	.TEL div {
		padding: 0.75rem;
		flex-direction: row;
		align-content: flex-start;
		/*justify-content: space-around;*/
		align-items: center;
		margin: 0 auto;
	}
	
	.TEL div a {
		font-size: 2.5rem;
		padding: 0; margin: 0;
		text-decoration: none;
	}
}
@media screen and (min-width: 992px) {
	#top-images{
		background-color: #f1efff;
		border-bottom: #dddddd;
		background: url("../images/top-backgreen.png") no-repeat top center;
		background-size:cover;
		height: 420px;
		width: 100%;
	/*	padding: 5% 5vw;*/
	}

	#top-images img.top-images-on {
		height: 420px;
		margin: 0 auto;
	}

	#top-images img {
		padding: 20px 0;
		display: block;
	}

	.TEL img {
/*		width: 40%; */
		height: 50px;
		margin: 0 30px;
		padding: 0;
	}
	
	.TEL p {
		font-size: 2.5rem;
		font-weight: bold;
		padding: 0; margin: 0;
	}
	.TEL {
		background-color: #cef1de;
		width: 100%;
		margin: 0;
	}
	
	.TEL p.small {
		font-size: 1rem;
		margin-bottom: 1rem;
	}
	.TEL div {
		padding: 0.75rem;
		flex-direction: row;
		align-content: flex-start;
		/*justify-content: space-around;*/
		align-items: center;
		margin: 0 auto;
	}
	
	.TEL div a {
		font-size: 2.5rem;
		padding: 0; margin: 0;
		text-decoration: none;
	}
}
@media screen and (min-width:320px) and (max-width:767.98px) {
	#top-images{
    	background: url("../images/top-backgreen.png") no-repeat top center;
    	background-size:cover;
		position: relative;
  		margin: auto;
		padding-top: 2%;
		padding-bottom: 40.5%;
/*	padding: 5% 5vw 0% 5vw;*/
}
	#top-images img.top-images-on {
		height: auto;
		max-width: 98%;
		width: 98%;
		position: absolute;
	}
	
	#top-images {
		background: url("../images/top-sp.png") no-repeat top center;
		background-size:cover;
		position: relative;
		margin: auto;
		padding-top: 2%;
		padding-bottom: 110%;
	}
	#top-images img.top-images-on {
		display: none;
	}
	.TEL img {
		padding: 20px 0;
		display: block;
	}
	
	.TEL a {
		width: 100%;
		display: block;
	}
	.TEL img, .TEL a img {
		width: 45%;
		padding: 0;
	}
	
	.TEL p {
		font-size: 1.5rem;
		font-weight: bold;
		padding: 0; margin: 0;
	}
	.TEL p.small {
		font-size: 0.8rem;
		text-align: center;
	}
	.TEL {
		background-color: #cef1de;
		width: 100%;
		margin: 0;
		padding: 0.5rem;
	}
	.TEL div {
		margin: 0 auto;
		padding: 0.75rem 0.75rem 0.25rem 0.75rem;
		flex-direction: row;
		align-content: flex-start;
		justify-content: space-between;
		align-items: center;
	}
	
/*
	.TEL div a {
		font-size: 1.5rem;
		padding: 0; margin: 0;
		text-decoration: none;
	}
*/
}
#top-images .container{
    height: 100%;
}
#top-images .btn{
    padding-left: 3rem;
    padding-right: 3rem;
    margin-top: 1.5rem;
    font-weight: bold;
	border-width: 3px;
    border-color: #fff;
}

/* 各セクション */
#top-images section{
    border-bottom: 1px solid #e0c7b2;
	padding: 5rem 0;
}
#top-images section:nth-child(odd){
    background-color: #e0c7b2;
}
#top-images section .container > h2{
    margin-bottom: 30px;
    font-size: 2.5rem;
}
#top-images section .container > h2 + p{
    max-width: 700px;
	margin: 0 auto 50px;
}
/*---------------------------------------------
top page  #sec-komarigoto　困り事
===============================================*/
#sec-komarigoto p {
	color: #126e3c; font-weight: bold;
	width:100%; max-width:19em; text-align: left;
}
/*---------------------------------------------
top page  #sec-reasons　選ばれる理由
===============================================*/
#sec-reasons {
	background-color: #CEF1DE;
}

/*#sec-reasons div.tsuyomi {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	align-content:flex-start;
	margin: 0 auto 30px auto;
}*/
#sec-reasons img {
	/*height: 90px;*/
	width: 100%;
	display: block;
	padding: 10px 0 10px 0;
}
@media screen and (min-width:768px) and (max-width: 991.98px) {
	#sec-reasons img {
		/*height: 70px;*/
		width: 100%;
		height: auto;
		display: block;
		padding: 10px 0 10px 0;
	}
}
@media screen and ( min-width:768px ) {
	#sec-reasons img {
	/*height: 100%;
	max-height: 55px; 55px; */
		width: 100%;
		height: auto;
}
}
	#sec-reasons img.crown {
	height: 45px;
	margin-right: 15px;
}

	#sec-reasons img.tsuyomi-detail {
	height: 40px;
}

	#sec-reasons img.tsuyomi-images {
	height: 100px;
}

/*---------------------------------------------
top page  #sec-merit-yuigon　遺言作成のメリット
===============================================*/
#sec-merit-yuigon div.flex-box div {
	width: 48%;
	margin-bottom: 30px;
}
@media screen and (max-width:767.98px) {
	#sec-merit-yuigon div.flex-box div {
		width: 100%;
		margin-bottom: 30px;
	}
}
#sec-merit-yuigon div.flex-box div img {
/*	width:100px;*/
	width: 100%;
	margin-right: 20px;
	
}

/*---------------------------------------------
top page  #sec-merit-power　ご相談事例
===============================================*/
#sec-merit-power {
	background-color: #CEF1DE;
}

#sec-merit-power  div.flex-box div{
	 width: 47%;
		background-color: #ffffff;
	margin-bottom: 30px;
}
@media screen and (min-width:768px) {
	#sec-merit-power  div.flex-box div{
	 width: 30%;
		background-color: #ffffff;
	margin-bottom: 50px;
}
}

#sec-merit-power  div.flex-box div p{
	 font-size: 1.2rem;
	padding: 0.5rem 1rem;
	margin: auto;
	vertical-align: middle;
	min-height: 4rem;
}

#sec-merit-power  div.flex-box div img {
	width: 100%;
}


/*---------------------------------------------
top page  #sec-aisatsu　代表挨拶
===============================================*/
#sec-aisatsu div.YouTube {
	margin: 0;
}

.aisatsubun {
	font-size: 1.2rem;
}
#daihyo div.daihyou-images img {
	width: 100%;
	max-width: 250px;
	display: block;
	float: right;
}

@media screen and (max-width: 767.98px) {
	#daihyo div.daihyou-images img {
		width: 100%;
		max-width: 250px;
		display: block;
		margin: 0 auto;
	}
}
@media screen and (max-width: 767px) {
	.FB-umekomi {
		width: 100%;
		max-width: 500px;
/*		position: relative; padding-bottom: 56%; height:0; overflow: hidden;
*/	}
}
@media screen and (min-width: 768px) {
	.FB-umekomi {
		width: 500px;
/*		position: relative; padding-bottom: 56%; height:0; overflow: hidden;
*/	}
}
/*---------------------------------------------
top page  #sec-voice　お客様の声
===============================================*/
#sec-voice p {
	 display: inline-block; font-size: 1.5rem;
}

@media screen and (max-width: 767.98px) {
	#sec-voice p {
		display: inline;
		font-size: 1rem;
	}
}
/* *****下層ページ***** */
/*---------------------------------------------

===============================================*/

#breadcrumb-wrapper,
.breadcrumb{
    font-size: 0.9rem;
    color: #333333;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

h1.page-ttl {
    font-size:2rem; 
}
#page h1 + span {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffffff;
    line-height: 110%;
    margin-top: 0.2rem;
    display: block;
}

#page article {
    padding: 5rem 0;
}

#page section {
    padding-bottom: 5rem;
}
#page section:last-child {
    padding-bottom: 0rem;
}

#page h1 + small {
    font-size: 1.5rem;
    color: #ffffff;
    line-height: 110%;
    margin-top: 0.2rem;
}

#page h2 + p{
    margin: 0 0 1.2rem;
}
#page main img{
    max-width: 100%;
}
#page .sample-title{
    display: flex;
    align-items: center;
    text-align: center;	
}

#page .sample-title::after {
    border-top: 3px dotted;
    content: "";
    display: inline; /* for IE */
    flex-grow: 1;
    margin-left: 0.5em;
}

#page .sample-subtitle{
    font-size: 1.5rem;
    font-weight: bold;
    color: #401f0f;
}

/* *****フォーム***** */

.form1 label{
    font-weight: bold;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}
.form1 input,
.form1 textarea,
.form1 select{
    max-width: 768px;
}
.form1 .form-group{
    margin-bottom: 2rem;
}

.form-koumoku {
	background-color: #cef1de;
}
.hissu { color: red;
font-size: 110%;}


/*---------------------------------------------
footer
===============================================*/
#footer{
    background-color: #126e3c;
}
#footer .container{
    color: #e0c7b2;
}
#footer .footer-ttl{
    font-size: 1rem;
    font-weight: bold;
    margin: 1.5rem 0;
    color: #ffce11;
}
#footer address p,
#footer #footer-news li{
    margin-bottom: 0.5rem;
}
#footer #footer-news ul{
    margin: 0;
    padding: 0
}
#footer #footer-news ul{
    list-style: none;
}
#footer #footer-news li span{
    display: inline-block;
    margin-right: 0.5rem;
}
#footer #copyright{
    border-top: 1px solid #774831;
    background-color: #401f0f;
    color: #e0c7b2;
}
#footer img {
	width: 360px;
}

p.text-center a {
    color: #e0c7b2;
    text-decoration: none;
}



/*---------------------------------------------*/
/* button 7-1-1
============================================== */
.btn-st {
    /*アニメーションの起点とするためrelativeを指定*/
    position: relative;
	overflow: hidden;
    /*ボタンの形状*/
	text-decoration: none;
	display: inline-block;
   	border: 1px solid #126e3c;/* ボーダーの色と太さ */
    padding: 0.5rem 2rem;
    text-align: center;
    outline: none;
    /*アニメーションの指定*/   
    transition: ease .2s;
}

/*ボタン内spanの形状*/
.btn-st span {
	position: relative;
	z-index: 3;/*z-indexの数値をあげて文字を背景よりも手前に表示*/
	color:#126e3c;
}

.btn-st:hover span{
	color:#fff;
}

/*== 背景が流れる（左から右） */
.bgleft:before {
 	content: '';
    /*絶対配置で位置を指定*/
 	position: absolute;
 	top: 0;
 	left: 0;
 	z-index: 2;
    /*色や形状*/
 	background:#126e3c;/*背景色*/
 	width: 100%;
	height: 100%;
    /*アニメーション*/
 	transition: transform .6s cubic-bezier(0.8, 0, 0.2, 1) 0s;
 	transform: scale(0, 1);
	transform-origin: right top;
}

/*hoverした際の形状*/
.bgleft:hover:before{
	transform-origin:left top;
	transform:scale(1, 1);
}

/*---------------------------------------------*/
/* 個別ページ　遺言作成
============================================== */
#yuigon-top .left-img {
	width: 210px;
}

#yuigon-top .right-text {
	width: calc(100% - 80px);
}
#yuigon-top .right-text:first-child {
	width: calc(100% - 230px);
}
@media screen and (max-width:991.98px) {
	#yuigon-top .right-text {
	width: 100%;
}
	#yuigon-top .right-text:first-child {
	width: 100%;
}
}

/*---------------------------------------------*/
/* 個別ページ　相続手続
============================================== */
.flowChart {
	 border: 1px solid #aaa;
}

/*---------------------------------------------*/
/* 個別ページ　不動産登記
============================================== */
#touki-top .right-text {
	width: calc(100% - 80px);
}


/*---------------------------------------------*/
/* 個別ページ　会社・法人登記
============================================== */
.touki-list {
	margin: 20px 0 50px 0;
}
.touki-list tr td, .touki-list tr th {
	padding: 15px;
	width: 30%;
	min-width: 150px;
	text-align: center;
	border-top: 1px solid #aaa;
	border-bottom: 1px solid #aaa;
}

.touki-list tr td:nth-child(even), .touki-list tr th:last-of-type {
	border-left: 1px solid #aaa;
}
.touki-list tr th {
	background-color: #EBEBEB;
}

/*---------------------------------------------*/
/* 個別ページ　事務所概要
============================================== */
.gaiyou-list tr td {
	padding: 15px;
	border-top: 1px solid #aaa;
	border-bottom: 1px solid #aaa;
}

.gaiyou-list {
	margin-top: 20px;
	margin-bottom: 50px;
}

.gaiyou-list tr td:nth-child(odd) {
	background-color: #eee;
	text-align: center;
}

.Google-map {
    position: relative;
    width: 100%;
	max-width: 700px;
    height: 0;
    padding-top: 56.25%;/*比率をお好みで*/
}
.Google-map iframe{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/*---------------------------------------------*/
/* 個別ページ　プライバシーポリシー
============================================== */
#privacy-policy h4 {
	font-size: 100%;
	padding-bottom: 0.5rem;
	border-bottom: 1px solid #aaa;
	padding-top: 2rem;
}


/*---------------------------------------------*/
/* 個別ページ　成年後見
============================================== */
.seinen-list tr th:nth-child(odd) {
	background-color: #f08080;
	color: #fff;
	text-align: center;
	padding: 10px;
	border: 0.5px solid #aaa;
	border-collapse: collapse;
}
.seinen-list tr th:nth-of-type(2) {
	background-color: #1e90ff;
	color: #fff;
	text-align: center;
	padding: 10px;
	border: 0.5px solid #aaa;
	border-collapse: collapse;
}

.seinen-list tr th.seinen-blue-midashi {
	background-color: #1e90ff;
	color: #fff;
	text-align: center;
	padding: 10px;
	border: 0.5px solid #aaa;
	border-collapse: collapse;
}

.seinen-list tr td {
	padding: 10px;
}
.seinen-list tr td {
	background-color: #ffdbe1;
	border: 0.5px solid #aaa;
	border-collapse: collapse;
}

.seinen-list .seinen-blue {
	background-color: #bfe7ff;
}

.seinen-list  {
	width: 100%!important;
}
.seinen-list tbody tr td.seinen-kouken {
	width:10%;
}
.seinen-list tbody tr td.seinen-houtei {
	width:40%;
}
.seinen-list tbody tr td.seinen-merit {
	width: 25%;
}
@media screen and ( max-width:767.98px ) {
	.seinen-list {
		width:100%;
	}
	.seinen-list tbody tr th {
		width:100%!important;
	}
	
	.seinen-list tbody tr td.seinen-kouken {
		width:80%;
	}
	.seinen-list tbody tr td.seinen-kouken {
		width:20%;
	}
	.seinen-list tbody tr td.seinen-merit {
		width: 50%;
	}
}
	