@charset "UTF-8";

/*================================================
 *  CSSリセット
 ================================================*/
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,main,menu,nav.gnav,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.gnav,section{display:block}ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:none}a{margin:0;padding:0;font-size:100%;vertical-align:baseline;background:transparent}del{text-decoration:line-through}abbr[title],dfn[title]{border-bottom:1px dotted;cursor:help}table{border-collapse:collapse;border-spacing:0}hr{display:block;height:1px;border:0;border-top:1px solid #ccc;margin:1em 0;padding:0}input,select{vertical-align:middle}

/*================================================
 *  一般・共通設定
 ================================================*/
body {
	font-size: 14px;
	font-family: "メイリオ",Meiryo,"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro",Osaka,"ＭＳ Ｐゴシック","MS PGothic",sans-serif;
	line-height: 1.6;
	-webkit-text-size-adjust: 100%;
	color: #333;
}

#contents {
	width: 980px;
	margin: 0 auto 5em;
}

header + #contents {
	padding-top: 70px;
}

.inner {
	position: relative;
	width: 980px;
	margin: 0 auto;
}

footer {
	box-sizing:border-box;
	width:100%;
	margin:0 auto;
}

a {
	color: #333;
}
a:hover {
	color: #00c;
}

h2.basic {
    position: relative;
	margin-bottom: 0.3em;
	font-size: 24px;
    text-align: center;
}
h2.basic span {
    position: relative;
    z-index: 2;
    display: inline-block;
    margin: 0 2.5em;
    padding: 0 0.5em;
    background-color: #fff;
    text-align: left;
	font-weight: bold;
}
h2.basic::before {
    position: absolute;
    top: 50%;
    z-index: 1;
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background-color: #ccc;
}

h2.catch {
	margin-bottom: 1em;
	font-size: 50px;
	color: #e50000;
	text-align: center;
	line-height: 1.2;
}

h3.orange {
	margin-bottom: 1em;
	font-size: 30px;
	color: #f90;
	line-height: 1.2;
	text-align: center;
}

@media screen and (max-width:768px) {
    h2.catch {
        font-size: 38px;
    }
	
    h3.orange {
        font-size: 23px;
    }
}

@media screen and (max-width:480px) {
    h2.basic {
        font-size: 20px;
    }
	
    h3.orange {
        font-size: 22px;
    }
}

p {
	margin:0 0 1em 0;
}

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

em {
	font-weight: bold;
}

strong {
	font-weight: bold;
	color: #e50000;
}

pre {
	margin:1em 0;
	padding:1em;
}

blockquote {
	margin-bottom: 1em;
	padding: 1em;
	border: 1px dotted #ddd;
	border-left: 5px solid #ddd;
}

ul,ol,dl {
	margin: 0 0 1em 0;
}
ul li {
	list-style: disc;
}
ol li {
	list-style: decimal;
}
li {
	margin-left: 2em;
}

dt {
	margin-bottom: 0.5em;
	border-bottom: 1px dotted #ddd;
}
dd {
	margin-bottom: 0.5em;
}

/* テーブル-会社概要 */
.companyBox table {
	width: 100%;
	margin-bottom: 1em;
	border-collapse: collapse;
	border-top: 5px solid #ddd;
	border-left: none;
	border-right: none;
	border-bottom: 5px solid #ddd;
	font-size: 16px;
}
.companyBox table th {
	width: 25%;
	padding: 10px 15px 8px;
	font-weight: bold;
	text-align: center;
	vertical-align: middle;
	white-space: nowrap;
	border-top: 2px solid #fff;
	border-left: none;
	border-right: none;
	border-bottom: 2px solid #fff;
	background: #f1f1f1;
}
.companyBox table td {
	padding: 10px 15px 8px;
	text-align: left;
	border-top: 2px solid #ddd;
	border-left: none;
	border-right: none;
	border-bottom: 2px solid #ddd;
}

/* テーブル-査定依頼フォーム */
.sateiBox table {
	width: 100%;
	margin-bottom: 1em;
	border-collapse: collapse;
	border-top: 5px solid #99d7d9;
	border-left: none;
	border-right: none;
	border-bottom: 5px solid #99d7d9;
	font-size: 16px;
}
.sateiBox table th {
	width: 25%;
	padding: 20px 15px 15px;
	font-weight: bold;
	text-align: left;
	vertical-align: middle;
	white-space: nowrap;
	border-top: 2px solid #fff;
	border-left: none;
	border-right: none;
	border-bottom: 2px solid #fff;
	background: #ccebec;
}
.sateiBox table td {
	padding: 20px 15px;
	text-align: left;
	border-top: 2px solid #ccebec;
	border-left: none;
	border-right: none;
	border-bottom: 2px solid #ccebec;
}

/* お問い合わせフォーム */
.contactBox table {
	width: 100%;
	margin-bottom: 1em;
	border-collapse: collapse;
	border-top: 5px solid #a7b4cf;
	border-left: none;
	border-right: none;
	border-bottom: 5px solid #a7b4cf;
	font-size: 16px;
}
.contactBox table th {
	width: 25%;
	padding: 20px 15px 15px;
	font-weight: bold;
	text-align: left;
	vertical-align: middle;
	white-space: nowrap;
	border-top: 2px solid #fff;
	border-left: none;
	border-right: none;
	border-bottom: 2px solid #fff;
	background: #d3dae7;
}
.contactBox table td {
	padding: 20px 15px;
	text-align: left;
	border-top: 2px solid #d3dae7;
	border-left: none;
	border-right: none;
	border-bottom: 2px solid #d3dae7;
}

@media screen and (max-width:480px) {
    th {
        width: 100%;
    }
}

input#submit_btn {
	display:inline-block;
	padding:15px 20px;
	font-size: 16px;
	font-weight: bold;
	color:#39c;
	text-decoration:none;
	border-radius:5px;
	border:1px solid #39c;
	background:#fff;
	transition:all 0.2s ease 0s;
}
input#submit_btn:hover {
	font-weight: bold;
	color:#fff;
	background:#39c;
	transition:all 0.2s ease 0s;
}

input#reset_btn {
	display:inline-block;
	padding:15px 20px;
	font-size: 16px;
	font-weight: bold;
	color:#39c;
	text-decoration:none;
	border-radius:5px;
	border:1px solid #39c;
	background:#fff;
	transition:all 0.2s ease 0s;
}
input#reset_btn:hover {
	font-weight: bold;
	color:#fff;
	background:#39c;
	transition:all 0.2s ease 0s;
}

input#back_btn {
	display:inline-block;
	padding:15px 20px;
	font-size: 16px;
	font-weight: bold;
	color:#39c;
	text-decoration:none;
	border-radius:5px;
	border:1px solid #39c;
	background:#fff;
	transition:all 0.2s ease 0s;
}
input#back_btn:hover {
	font-size: 16px;
	font-weight: bold;
	color:#fff;
	background:#39c;
	transition:all 0.2s ease 0s;
}

input {
    cursor: pointer;
    cursor: hand;
}

td input {
    height:30px;
}

input, select, textarea {
    font-size: 16px;
}

input[type="radio"],input[type="checkbox"]{
    position: relative;
    top: -2px;
	margin-right: -2px;
}

/* --- フォーム部品のサイズ --- */
#total_units, #age {
    width: 20%;
}
#occupied_area, #building_area, #land_area {
    width: 30%;
}
#name, #name2, #tel, #contact_time {
    width: 50%;
}
#contact_mail, #contact_tel, #contact_other {
    width: 90%;
}
#email, #add, #property_address {
    width: 100%;
}

@media screen and (max-width:480px) {
    #name, #name2, #tel, #email, #add, #contact_mail, #contact_tel, #contact_other, #property_address {
        box-sizing: border-box;
        width: 100%;
    }
}

/* --- （複数行のテキスト入力欄） --- */
#message {
    box-sizing: border-box;
    width: 100%;
    height: 10em;
}

.required {
	color: #d00;
}

.msg {
	margin:0 0 1em;
	color: #d00;
}

span.msg {
	color: #d00;
}

.contact_btn {
	text-align: center;
}

/* 必須 */
.required {
	padding: 0 3px;
	font-size: 14px;
	color:#fff;
	line-height: 1.0;
	background:#f00;
}

.cell_required {
    float: right;
	padding: 3px 3px 2px;
	font-size: 14px;
	color:#fff;
	line-height: 1.0;
	background:#f00;
}

.supplement {
	text-align: left;
}

.check_lb {
    display:block;
}



/* 連絡先 */
.contact_address {
	margin-bottom: 0px;
}

.contact_address dt {
	clear: both;
	float: left;
	margin: 0;
	padding: 10px 0;
	vertical-align: middle;
	border-bottom: none;
}

.contact_address dd {
	margin: 0 0 0.5em;
	padding: 5px 0 10px 9em;
	vertical-align: middle;
	border-bottom: 1px dotted #999;
}

@media screen and (max-width:767px) {
	.contact_address {
		margin-bottom: 0px;
	}

	.contact_address dt {
		float: none;
		padding: 0 0 10px;
		padding: 0;
		vertical-align: top;
		border-bottom: none;
	}

	.contact_address dd {
		margin: 0 0 0.5em;
		padding: 0 0 10px 0;
		vertical-align: top;
		border-bottom: 1px dotted #999;
	}
}

/*================================================
 *  汎用クラス
 ================================================*/
/* 中央寄せ */
.center {
	text-align: center;
}

/* 左寄せ */
.left {
	text-align: left;
}

/* 右寄せ */
.right {
	text-align: right;
}

/* 写真中央寄せ */
.imgC {
	clear:both;
	overflow:hidden;
	margin: 0 auto 50px auto;
	margin-bottom:50px;
	text-align:center;
}
.imgC img {
	margin-bottom:10px;
}

/* 写真左寄せ */
.imgL {
	clear:both;
	overflow:hidden;
	margin-bottom:50px;
}
.imgL img {
	float:left;
	margin:0 10px 0 0;
}

@media screen and (max-width:767px) {
	.imgL {
		margin-bottom:20px;
	}
	.imgL img {
		float:none;
		margin:0 0 10px 0;
	}
}

/* 写真右寄せ */
.imgR {
	clear:both;
	overflow:hidden;
	margin-bottom:50px;
}
.imgR img {
	float:right;
	margin:0 0 0 10px;
}

@media screen and (max-width:767px) {
	.imgR {
		clear:both;
		overflow:hidden;
		margin-bottom:20px;
	}
	.imgR img {
		float:right;
		margin:0 0 10px 0;
	}
}

/* 2カラム（スマートフォンでは1カラム) */
.twoCol {
	display: -ms-flexbox;
	display: -webkit-box;
	display: -webkit-flex;
	display: flex;
	-ms-flex-pack: justify;
	-webkit-box-pack: justify;
	-webkit-justify-content: space-between;
	justify-content: space-between;
	-ms-flex-wrap: wrap;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	position: relative;
	overflow: hidden;
	margin-bottom:40px;
}
.twoCol .inner {
	box-sizing: border-box;
	position: relative;
	overflow: hidden;
	display: -ms-flexbox;
	display: -webkit-box;
	display: -webkit-flex;
	display: flex;
	-ms-flex-align: center;
	-webkit-box-align: center;
	-webkit-align-items: center;
	align-items: center;
	-ms-flex-pack: justify;
	-webkit-box-pack: justify;
	-webkit-justify-content: space-between;
	justify-content: space-between;
	-ms-flex-direction: normal;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-webkit-flex-direction: column;
	flex-direction: column;
	width: 50%;
	width: calc((490 / 980) *100%);
	margin: 0 0 20px 0;
	padding: 0 20px;
	border-left: 1px solid #ccc;
}

.twoCol .inner:nth-child(2n) {
	border-right: 1px solid #ccc;
}

.twoCol .inner h4 {
	width: 100%;
	margin-top: 0.5em;
	font-size: 28px;
	font-weight: bold;
	text-align: center;
}
.twoCol .inner p {
	width: 100%;
	margin-bottom: 0;
	font-size: 20px;
	text-align: justify;
	line-height: 1.4;
}
.twoCol .inner .image {
	width: 100%;
	min-height: 0%;
	margin-bottom: 0.5em;
	text-align: center;
}
.twoCol .inner img {
	max-width: 250px;
}
.twoCol .inner .text {
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translateY(-50%) translateX(-50%);
	transform: translateY(-50%) translateX(-50%);
	font-size: 16px;
	color: #fff;
	text-align: center;
	vertical-align: middle;
	pointer-events: none;
}

@media screen and (max-width:480px) {
	.twoCol {
		display: block;
		margin-bottom:20px;
	}
	.twoCol .inner {
		box-sizing: border-box;
		width :100%;
		margin:0 0 10px 0;
        border-right: 1px solid #ccc;
	}
}

/* 3カラム（スマートフォンでは1カラム) */
.threeCol {
	display: -ms-flexbox;
	display: -webkit-box;
	display: -webkit-flex;
	display: flex;
	-ms-flex-pack: justify;
	-webkit-box-pack: justify;
	-webkit-justify-content: space-between;
	justify-content: space-between;
	-ms-flex-wrap: wrap;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	position: relative;
	overflow: hidden;
	margin-bottom:60px;
}
.threeCol .inner {
	position: relative;
	overflow: hidden;
	display: -ms-flexbox;
	display: -webkit-box;
	display: -webkit-flex;
	display: flex;
	-ms-flex-align: center;
	-webkit-box-align: center;
	-webkit-align-items: center;
	align-items: center;
	-ms-flex-pack: justify;
	-webkit-box-pack: justify;
	-webkit-justify-content: space-between;
	justify-content: space-between;
	-ms-flex-direction: normal;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-webkit-flex-direction: column;
	flex-direction: column;
	width: 32.14%;
	width: calc((315 / 980) *100%);
	margin: 0 0 20px 0;
}
.threeCol .inner h4 {
	width: 100%;
	margin-top: 0.5em;
	text-align: left;
}
.threeCol .inner p {
	width: 100%;
	margin-bottom: 0;
	text-align: justify;
}
.threeCol .inner > a {
	width: 100%;
	height: 100%;
}
.threeCol .inner .image {
	width: 100%;
	min-height: 0%;
}
.threeCol .inner img {
	width: 100%;
}
.threeCol .inner .btn {
	margin-top: auto;
	padding-top: 20px;
}
.threeCol .inner .text {
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translateY(-50%) translateX(-50%);
	transform: translateY(-50%) translateX(-50%);
	font-size: 16px;
	font-weight: bold;
	color: #fff;
	text-align: center;
	vertical-align: middle;
	pointer-events: none;
}

@media screen and (max-width:767px) {
	.threeCol {
		display: block;
		margin-bottom: 20px;
	}
	.threeCol .inner {
		width : 100%;
		margin: 0 0 10px 0;
	}
}

/* 4カラム（スマートフォンでは2カラム) */
.fourCol {
	display: -ms-flexbox;
	display: -webkit-box;
	display: -webkit-flex;
	display: flex;
	-ms-flex-pack: justify;
	-webkit-box-pack: justify;
	-webkit-justify-content: space-between;
	justify-content: space-between;
	-ms-flex-wrap: wrap;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	position: relative;
	overflow: hidden;
	margin-bottom:60px;
}
.fourCol .inner {
	position: relative;
	overflow: hidden;
	display: -ms-flexbox;
	display: -webkit-box;
	display: -webkit-flex;
	display: flex;
	-ms-flex-align: center;
	-webkit-box-align: center;
	-webkit-align-items: center;
	align-items: center;
	-ms-flex-pack: justify;
	-webkit-box-pack: justify;
	-webkit-justify-content: space-between;
	justify-content: space-between;
	-ms-flex-direction: normal;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-webkit-flex-direction: column;
	flex-direction: column;
	width: 23.46%;
	width: calc((220 / 980) *100%);
	margin: 0 0 20px;
}
.fourCol .inner .image {
	width: 100%;
	min-height: 0%;
}
.fourCol .inner img {
	width: 100%;
}

@media screen and (max-width:480px) {
	.fourCol {
		margin-bottom: 20px;
	}
	.fourCol .inner {
		box-sizing: border-box;
		width: 48.98%;
		width: calc((460 / 980) *100%);
		margin-bottom: 10px;
	}
}

/* 無料査定 */
.satei {
    box-sizing: border-box;
    width:100%;
	overflow:hidden;
	margin: 0 0 3em;
    padding:0;
	text-align: center;
}

.midashi {
	margin-bottom: 0.3em;
	font-size: 34px;
	font-weight: bold;
	color: #333;
	line-height: 1.0;
}

/* お問合せ電話番号 */
a[href*="tel:"] {
	pointer-events: none;
}
@media only screen and (max-width: 1024px) {
	a[href*="tel:"] {
		pointer-events: initial;
	}
}

.tel {
	margin-bottom: 0.5em;
    padding-left: 0;
    background-size: 30px;
	font-size: 34px;
	font-weight: bold;
	color: #333;
	line-height: 1.2;
}
.tel .icon {
    display: inline-block;
    width: 30px;
    height: 30px;
	padding-right: 0.1em;
    background: url(../img/tel_ico.png) no-repeat 0 bottom;
    background-size: 26px;
	line-height: 30px;
}
.tel span.number {
	font-size: 46px;
	font-weight: bold;
	line-height: 1.2;
}
.tel a {
	color: #e50000;
	text-decoration: none;
}
.tel a:hover {
	color: #b50000;
}

.satei_text {
	margin-bottom: 0.5em;
	font-size: 24px;
	font-weight: bold;
	color: #518c65;
	text-align: center;
	line-height: 1.4;
}

button.sateibtn1 {
    display:inline-block;
    width: 30%;
    padding:15px;
	font-size: 24px;
	font-weight: bold;
    text-align:center;
    color:#fff;
    margin:5px;
    border-style: none;
    cursor:pointer;
    background-color: #009b9f;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
}
button.sateibtn1:hover {
    background-color: #00afcc;
}

button.sateibtn2 {
    display:inline-block;
    width: 30%;
    padding:15px;
	font-size: 24px;
	font-weight: bold;
    text-align:center;
    color:#fff;
    margin:5px;
    border-style: none;
    cursor:pointer;
    background-color: #248;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
}
button.sateibtn2:hover {
    background-color: #24d;
}

.sateiBox {
    text-align:center;
}

@media (min-width: 751px) {
    a[href*="tel:"] {
    pointer-events: none;
    cursor: default;
    text-decoration: none;
    }
}

@media screen and (max-width:480px) {
    .satei {
		margin: 0 0 1em;
        font-size: 30px;
    }

    .tel {
		margin-bottom: 1em;
        font-size: 26px;
		line-height: 1.6;
    }
    .tel .icon {
        display: inline-block;
        width: 24px;
        height: 24px;
        padding-right: 0.1em;
        background: url(../img/tel_ico.png) no-repeat left bottom;
        background-size: 22px;
    }
    .tel span.number {
        font-size: 36px;
        font-weight: bold;
        line-height: 1.2;
    }
	
    button.sateibtn1 {
        width: 45%;
	    padding:10px;
        font-size: 18px;
    }
	
    button.sateibtn2 {
        width: 45%;
	    padding:10px;
        font-size: 18px;
    }
}

.area {
    box-sizing: border-box;
    width:100%;
	overflow:hidden;
	margin: 0 0 2em;
    border:3px solid #777;
    outline: 1px solid #777;
    outline-offset: -10px;
    padding:3%;
}
.area h2.areaTitle {
	margin: 0 0 0.25em;
	padding: 0;
	font-size: 30px;
	font-weight: bold;
    color: #518c65;
	text-align: center;
} 
.area p {
	margin: 0;
	padding: 0;
	font-size: 20px;
}

@media screen and (max-width:480px) {
    .area {
        padding:5%;
    }
    .area h2.areaTitle {
        font-size: 18px;
		font-weight: bold;
    } 
    .area p {
        font-size: 16px;
        text-align: justify;
        text-justify: inter-ideograph;
    }
}

/* ----- 吹き出し ----- */

.talk {
    margin-bottom: 60px;
}

.talk figure img {
    width: 100%;
    height: 100%;
    border: 3px solid #9ce191;
    border-radius: 50%;
    margin: 0;
}

p.talk-text {
    margin: 0 0 8px;
	font-size: 22px;
    text-align: justify;
    text-justify: inter-ideograph;
	line-height: 1.4;
}

p.talk-text:last-child {
    margin-bottom: 0;
}

/* 回り込み解除 */
.talk:after,.talk:before {
    clear: both;
    content: "";
    display: block;
}

/* ----- 左の場合 ----- */

/* 左画像 */
.talk-Limg {
    margin-left: 4px;
    margin-top: -1px;
    float: left;
    width: 140px;
    height: 140px;
}

/* 左からの吹き出しテキスト */
.talk-Ltxt {
    position: relative;
    margin-left: 160px;
    padding: 1.2em;
    border: 3px solid #9ce191;
    background-color: #ebffe7;
    border-radius: 5px;
}

/* 左の三角形を作る */
.talk-Ltxt:before {
    position: absolute;
    content: '';
    border: 10px solid transparent;
    border-right: 10px solid #9ce191;
    top: 15px;
    left: -20px;
}

.talk-Ltxt:after {
    position: absolute;
    content: '';
    border: 10px solid transparent;
    border-right: 10px solid #fff;
    top: 15px;
    left: -16px;
}

/* ----- 右の場合 ----- */

/* 右画像 */
.talk-Rimg {
    margin-right: 4px;
    margin-top: -1px;
    float: right;
    width: 140px;
    height: 140px;
}

/* 右からの吹き出しテキスト */
.talk-Rtxt {
    position: relative;
    margin-right: 155px;
    padding: 1.2em;
    border: 3px solid #9ce191;
    background-color: #ebffe7;
    border-radius: 5px;
}

/* 右の三角形を作る */
.talk-Rtxt:before {
    position: absolute;
    content: '';
    border: 10px solid transparent;
    border-left: 10px solid #9ce191;
    top: 15px;
    right: -23px;
}

.talk-Rtxt:after {
    position: absolute;
    content: '';
    border: 10px solid transparent;
    border-left: 10px solid #ebffe7;
    top: 15px;
    right: -19px;
}

.ggmap {
    position: relative;
    width: 100%;
    height: 0;
    padding-top: 30%;
}
 
.ggmap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@media screen and (max-width:480px) {
/* ----- 吹き出し ----- */

    .talk {
        margin-bottom: 40px;
    }

    p.talk-text {
        font-size: 18px;
    }

    /* ----- 左の場合 ----- */

    /* 左画像 */
    .talk-Limg {
        margin: 0 auto 1em;
        float: none;
        width: 140px;
        height: 140px;
    }

    /* 左からの吹き出しテキスト */
    .talk-Ltxt {
        position: relative;
        margin-left: 0;
        padding: 1.2em;
        border: 3px solid #9ce191;
        background-color: #ebffe7;
        border-radius: 5px;
    }

    /* 左の三角形を作る */
    .talk-Ltxt:before {
        position: absolute;
        content: '';
        border: 0;
        top: 0;
        left: 0;
    }

    .talk-Ltxt:after {
        position: absolute;
        content: '';
        border: 0;
        top: 0;
        left: 0;
    }

    /* ----- 右の場合 ----- */

    /* 右画像 */
    .talk-Rimg {
        margin: 0 auto 1em;
        float: none;
        width: 140px;
        height: 140px;
    }

    /* 右からの吹き出しテキスト */
    .talk-Rtxt {
        position: relative;
        margin-right: 0;
        padding: 1.2em;
        border: 3px solid #9ce191;
        background-color: #ebffe7;
        border-radius: 5px;
    }

    /* 右の三角形を作る */
    .talk-Rtxt:before {
        position: absolute;
        content: '';
        border: 0;
        top: 0;
        right: 0;
    }

    .talk-Rtxt:after {
        position: absolute;
        content: '';
        border: 0;
        top: 0;
        right: 0;
    }
}

/*================================================
 *  ヘッダー
 ================================================*/
header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
	z-index: 100;
}

header:after {
	content: ""; 
	display: block;
	clear: both;
}

header h1 {
	float: left;
	height: 70px;
	padding: 0 0 0 10px;
	line-height: 70px;
}

header h1 img {
	max-width: 401px;
	vertical-align: middle;
}

@media screen and (max-width:768px) {
	header h1 {
		padding: 0 0 0 10px;
	}
}

@media screen and (max-width:480px) {
    header h1 img {
        max-width: 220px;
    }
}

/*================================================
 *  グローバルナビゲーション
 ================================================*/
/* PC用 */
@media print, screen and (min-width:769px) {
	nav.gnav:after {
		content: '';
		display: block;
		clear: both;
	}
	nav.gnav {
		display: block !important;
		float: right;
		padding: 0 10px 0 0;
	}

	/* 共通 */
	nav.gnav ul {
		margin: 0;
		padding: 0;
	}
	nav.gnav ul li {
		position: relative;
		line-height: 70px;
		margin: 0;
		padding: 0;
		list-style: none;
	}
	nav.gnav ul li a {
		display: block;
		background: #fff;
		color: #333;
		font-size: 18px;
		text-decoration: none;
	}
	nav.gnav ul li:hover > a {
		color: #333;
		background: #eee;
	}
	nav ul li+li:before {
        position: absolute;
        display: block;
        content: "";
        top: 50%;
        height: 30px;
        margin-top: -15px;
        border-right: 1px solid #ccc;
    }

	/* 1段目 */
	nav.gnav > ul > li {
		position: relative;
		width: 120px;
		float: left;
		margin: 0;
		padding: 0;
		text-align: center;
		list-style: none;
		line-height: 70px;
	}
	nav.gnav > ul > li:last-child {
		width: 155px;
	}
	nav.gnav > ul > li.subnav a {
		padding-right: 20px;
	}
	nav.gnav > ul > li.subnav > a:after {
		position: absolute;
		content: "";
		top: 50%;
		width: 0;
		height: 0;
		margin-top: -2.5px;
		margin-left: 10px;
		border: 5px solid transparent;
		border-top-color: #fff;
	}

	.telBtn {
		display: none;
	}
	
	#spMenu {
		display: none;
	}
}

/* タブレット・スマートフォン用 */
@media screen and (max-width:768px) {
    .telBtn {
        background: url(../img/telBtn.png) no-repeat 0 0;
        display: block;
        width:50px;
        height: 50px;
        position: absolute;
        top:10px;
        right:61px;
        cursor: pointer;
        z-index: 200;
    }
    .telBtn a {
        background: url(../img/telBtn.png) no-repeat 0 0;
        display: block;
        width:50px;
        height: 50px;
        text-indent: -9999px;
    }
     
    .telBtn a:hover {
        background: url(../img/telBtn_hover.png) no-repeat 0 0;
    }
	
    .spBtn {
        background:transparent url(../img/spBtn.png) no-repeat 0 0;
        display: block;
        width:50px;
        height: 50px;
        position: absolute;
        top:10px;
        right:10px;
        cursor: pointer;
        z-index: 200;
    }
    .peke {
        background-position: -50px 0;
    }
    .drawr {
        display: none;
        background-color:rgba(0,0,0,0.7);
        position: absolute;
        top: 70px;
        right:0;
        width:260px;
        padding:20px 20px 0 10px;
        z-index: 100;
    }
    #menu li {
        position: relative;
        width:260px;
        padding-left: 0px;
        border-bottom: 1px dotted #ddd;
    }
    #menu li:before {
      content: "";
      position: absolute;
      top: 24px;
      left: -20px;
      -webkit-transform: rotate(45deg);
      -ms-transform: rotate(45deg);
      transform: rotate(45deg);
      width: 5px;
      height: 5px;
      border-top: 2px solid #ccc;
      border-right: 2px solid #ccc;
    }
    #menu li a {
        display: block;
        padding: 15px;
        font-size:18px;
        color:#fff;
        text-decoration:none;
    }
    #menu li a:hover {
        display: block;
        padding: 15px;
        color:#fff;
        background-color:rgba(0,0,0,0.5);
    }
	
	nav.gnav {
		display: none;
	}
}

/*================================================
 *  トピックパス（パンくずリスト）
 ================================================*/
#topicpath {
	font-size:12px;
	margin:20px 0;
	padding:2px;
	background:#f1f1f1;
}

/*================================================
 *  フッター
 ================================================*/
footer {
	clear: both;
	margin: 0;
	background:#efede9;
}

.footmenu {
	width:100%;
	padding:20px 0;
	overflow:hidden;
}
.footmenu ul {
	position:relative;
	float:left;
	left:50%;
	margin:0;
	padding:0;
}
.footmenu li {
	position:relative;
	left:-50%;
	float:left;
	list-style:none;
	margin:0;
	padding:0 15px;
	font-size:12px;
	text-align:center;
}
.footmenu li {
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
}
.footmenu li+ li {
    border-left: 0;
    border-right: 1px solid #ccc;
}
.footmenu a {
	color:#333;
	text-decoration:none;
}
.footmenu a:hover {
	color:#333;
	text-decoration:underline;
}

.copyright {
	padding: 20px 0;
	color: #fff;
	font-size: 11px;
	text-align: center;
	background: #000;
}

/*================================================
 *  ページトップへの戻り
 ================================================*/
.totop {
	position:fixed;
	bottom:15px;
	right:15px;
	z-index:1;
}
.totop a {
	display:block;
	text-decoration:none;
}
.totop img {
	background:#444;
}
.totop img:hover {
	background:#666;
}

/*================================================
 *  スライドショー
 ================================================*/
.slide {
    margin: 0 0 50px;
	padding-top: 70px;
	overflow: hidden;
	position: relative;
}
.slideInner {
	list-style: none;
	margin: 0;
	padding: 0;
}
.slideInner li {
	position: absolute;
	width: 100%;
	margin: 0;
	padding: 0;
	background-color: #fff;
	background-position: 50% 0;
	background-repeat: no-repeat;
}
.slideInner li img {
    width: 100%;
    object-fit:cover;
}

.topTitle {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
    -webkit- transform: translateY(-50%) translateX(-50%);
    margin: auto;
}
.topTitle img {
	width: 100%;
	max-width: 800px;
}
.topTitle p {
	margin: 0;
	padding: 0;
}

.logo_pc {
	display:block;
}
.logo_sp {
	display:none;
}

@media screen and (max-width:1024px) {
    .topTitle {
        top: 58%;
        width: 60%;
    }
}

@media screen and (max-width:768px) {
    .slide {
        margin: 0 0 30px;
    }

    .topTitle {
        top: 61%;
        width: 65%;
    }
}

@media screen and (max-width:480px) {
    .slide {
        margin: 0 0 30px;
    }
	
    .slideInner li img {
        width: 100%;
		height: 100vw;
		object-fit:cover;
    }
	
    .topTitle {
        top: 57%;
        width: 70%;
    }
	
    .logo_pc {
        display:none;
    }
    .logo_sp {
        display:block;
    }
}

/*================================================
 *  タブレット・スマートフォン
 ================================================*/
/* テンプレートより小さくなった場合に適用 */
@media screen and (max-width:979px) {
	.inner {
		width: 100%;
	}

	#contents {
		box-sizing: border-box;
		width: 100%;
		padding: 0 10px;
	}
	
    .ggmap {
        padding-top: 56.25%;
    }

	footer {
		width: 100%;
	}

	.lock {
		position: fixed;
		z-index: -1;
		width: 100%;
		height: 100%;
		top: 0;
		right: 0;
	}
}

@media screen and (min-width: 480px){
    .br-sp {display: none; }
}

@media screen and (max-width:480px) {
    .companyBox .table_sp { margin: 0 0 20px; }
    .companyBox .table_sp th,
    .companyBox .table_sp td{
        width: auto;
        display: block;
        border: none;
    }
    .companyBox .table_sp th {border-top: 1px #ddd solid; border-bottom: 1px #ddd solid;}
    .companyBox .table_sp tr:first-child th {border-top: none;}
	
    .sateiBox .table_sp { margin: 0 0 20px; }
    .sateiBox .table_sp th,
    .sateiBox .table_sp td{
        width: auto;
        display: block;
        border: none;
    }
    .sateiBox .table_sp th {border-top: 1px #ddd solid; border-bottom: 1px #ddd solid;}
    .sateiBox .table_sp tr:first-child th {border-top: none;}
	
    .contactBox .table_sp { margin: 0 0 20px; }
    .contactBox .table_sp th,
    .contactBox .table_sp td{
        width: auto;
        display: block;
        border: none;
    }
    .contactBox .table_sp th {border-top: 1px #ddd solid; border-bottom: 1px #ddd solid;}
    .contactBox .table_sp tr:first-child th {border-top: none;}
}

