body {
	min-width: 1300px;
	font-family: 'Zen Kaku Gothic New', sans-serif;
	background-color: #EFEFEF;
	color: #505050;
}

.wrapper {
	font-size: 1.1em;
	max-width: 1300px;
	margin: 0 auto;
	letter-spacing: 0.025em;
}

@media only screen and (max-width: 769px) {
	body {
		min-width: 769px;
		margin: 0;
		font-weight: bold;
	}
	.wrapper {
		width: 100%;
		margin: 0;
		letter-spacing: 0;
	}
}

/* 画面幅が769px以上の時 */
@media screen and (min-width: 769px) {
  .ps-br{ display: block; /* PCを改行して */}
  .sp-br{ display: none; /* SPの改行を隠す */}
}

a {
	color: #505050;
	display: inline-block;
	transition: .3s;
	transform: scale(1);
}
a:hover {
	transform: scale(1.1);
}


/* =============================================
トップに戻るボタン
============================================= */
#pagetop h2{
	text-align: center;
	margin-bottom: 40px;
}

#pagetop {
	position: fixed;
	right: 10px;
	bottom: 10px;
	margin: 0;
	z-index: 1;
    
}
#pagetop a{
    position: relative;
    display: flex;
    width: 60px;
    height: 60px;
    justify-content: center;
    background:#505050;
    transition: opacity .6s ease;
    color: #FFF;
    align-items: center;
    text-decoration: none;
    font-size: 40px;
    border-radius:100%;
}
#pagetop a:hover { opacity: .3;}

@media screen and (max-width:769px) {
	#pagetop a {
		width: 50px;
		height: 50px;
	}
}


/* =============================================
ヘッダー
============================================= */
header {
	display: flex;
	max-width: 1250px;
	margin: 2em auto;
}
header .logo {
	width: 182px;
	align-self: flex-start;
	margin-right: 2em;
}
header h1 {
	font-size: 3em;
	font-weight: bold;
	color: #297C5C;
	margin-top: .25em;
}

header h2 {
	font-size: 100%;
}
.otoiawase {
	width: 280px;
	margin-left: auto;
	margin-right: 0;
}
.otoiawase h3, .otoiawase h4 {
	display: grid;
	place-items: center;
	height: 42px;
	text-align: center;
}
.otoiawase h3 {
	color: #FFF;
	font-size: 1.1em;
	background-color: #805F3E;
	padding: 1.5em auto;
}
.otoiawase h4 {
	color: #807265;
	font-size: 1.5em;
	background-color: #FDEFE0;
	font-weight: bold;
}

@media only screen and (max-width: 769px) {
	header {
		max-width: 769px;
		display: inherit;
		margin-right: 0;
	}
	header .logo {
		width: 100%;
		align-self: block !important;
	}
	.splogo {
		display: block;
		text-align: center;
		margin-bottom: 1.5em;
	}
	header h1 {display: none;}
	header h2 {
		width: 100%;
		font-size: 150%;
		text-align: center;
		line-height: 1.5;
		margin: 0;
		padding: 0;
	}
	.otoiawase {
		margin: 2em auto;
		width: 80%;
	}
	.otoiawase h3, .otoiawase h4 { height: 55px;}
	.otoiawase h3 { font-size: 180%;}
	.otoiawase h4 { font-size: 240%;}
}


/* =============================================
コンテナとメイン
============================================= */
.container { display: flex;}
.main { width: 100%;}


/* =============================================
フッター
============================================= */
footer {

}
address p {
	text-align: center;
	line-height: 1.5;
}
address img {
	width: 180px;
	margin: 0 auto 1em ;
}
footer .credit {
	text-align: center;
	margin: 4em 0 2em;
}
.shitazoroe {
	display: flex;
	align-items: flex-end;
	line-height: 1.5;
}
.insta {
	margin-bottom: 4em;
	text-align: center;
}
.insta {
	display: inline-block;
}
.insta {
	display: block;
	width: 120px;
	margin: 0 auto 8em;
}
.insta img {
	width: 100%;
	margin-bottom: 20px;
}
.kochira {
	margin: 5em auto 1.5em;
	text-align: center;
}

@media only screen and (max-width: 769px) {
	address p { font-size: 150%;}
	address img { width: 35%;}
	footer .credit { font-size: 155%; font-weight: 300}
	.kochira { font-size: 160%;}
}


/* =============================================
スライドショー
============================================= */
.slide {
	position: relative;
	width: 100%;
	padding-top: 38%;
	overflow: hidden;
}
@keyframes slideshow {
	0% {opacity: 0;}
	10% {opacity: 1;}
	28% {opacity: 1}
	38% {opacity: 0;}
	100% {opacity: 0;}
}
.slide img {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 100%;
	height: auto;
	opacity: 0;
	animation: slideshow 24s linear infinite;
}
.slide img:nth-child(2) {
	animation-delay: 8s;
}
.slide img:last-child {
	animation-delay: 16s;
}


/* =============================================
トップのメッセージ
============================================= */
#message {
	font-size: 1.1em;
	margin: 6em auto 2em;
	text-align: center;
	line-height: 3.5;
}

@media only screen and (max-width: 769px) {
	#message {
		font-size: 120%;
		margin: 5em auto;
		line-height: 2.5;
	}
}


/* =============================================
写真5枚表示
============================================= */
#house-photo-base {
	position: relative;
	height: 900px;
}
#house-photo {

}
#house-photo .house01 {
	position: absolute;
    width: 474px;
	height: auto;
	top: 50%;
	left: 33%;
	transform: translate(-50%,-50%);
	margin:0;
	padding:0;
}
#house-photo .house02 {
	position: absolute;
    width: 250px;
	height: auto;
	top: 51%;
	left: 58.7%;
	transform: translate(-50%,-50%);
	margin:0;
	padding:0;
}
#house-photo .house03 {
	position: absolute;
    width: 250px;
	height: auto;
	top: 51%;
	left: 79.7%;
	transform: translate(-50%,-50%);
	margin:0;
	padding:0;
}
#house-photo .house04 {
	position: absolute;
    width: 250px;
	height: auto;
	top: 72.8%;
	left: 58.7%;
	transform: translate(-50%,-50%);
	margin:0;
	padding:0;
}
#house-photo .house05 {
	position: absolute;
    width: 250px;
	height: auto;
	top: 72.8%;
	left: 79.7%;
	transform: translate(-50%,-50%);
	margin:0;
	padding:0;
}

@media screen and (max-width: 769px) {
	#house-photo-base {
		width: 100%;
	}
	#house-photo .house01 {
    	width: 65%;
		top: 43%;
		left: 50%;
	}
	#house-photo .house02 {
    	width: 40%;
		top: 80.5%;
		left: 28%;
	}
	#house-photo .house03 {
    	width: 40%;
		top: 80.5%;
		left: 72%;
	}
	#house-photo .house04 {
    	width: 40%;
		top: 109%;
		left: 28%;
	}
	#house-photo .house05 {
    	width: 40%;
		top: 109%;
		left: 72%;
	}
}


/* =============================================
木のぬくもりを
============================================= */
#nukumori-base {
	position: relative;
	text-align: center;
	line-height: 3;
	top: 1%;
	z-index: 1;
}
.nukumori-bg {
    content: '';
	height: 1600px;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    transform: skewY(-14deg);
    z-index: -1;
	background-image: url("../img/nukumori-bg.jpg");
	background-size: 120%;
}
.nukumori-brown {
	position: absolute;
	width: 593px;
	height: 403px;
	background-color: #807265;
    top: 18%;
	left: 27.2%;
	transform: translate(-50%,-50%);
	z-index: 100;
	display: grid;
	place-items: center;
}
.nukumori-brown h4 {
	color: rgba(255,255,255,1.00);
	font-size: 2.25em;
	line-height: 1.7;
}
.nukumori-photo {
	position: absolute;
	width: 593px;
	height: 403px;
    top: 18%;
	left: 72.75%;
	transform: translate(-50%,-50%);
	z-index: 100;
}
.nukumori-photo img { width: 100%;}
.nukumori-text {
	font-size: 1.1em;
	position: absolute;
	height: auto;
	top: 57%;
	left: 50%;
	transform: translate(-50%,-50%);
	margin:0;
	padding:0;
}

@media screen and (max-width: 769px) {
	#nukumori-base {
		top: 6%;
	}
	.nukumori-bg {
		height: 2200px;
	}
	.nukumori-text {
		font-size: 120%;
		width: 90%;
		top: 60%;
	}
	.nukumori-brown h4 {
		font-size: 300%;
		line-height: 1.7;
	}
	.nukumori-brown {
		width: 90%;
		height: 300px;
		font-size: 80%;
		top: 8%;
		left: 50%;
	}
	.nukumori-photo {
		width: 90%;
		height: 300px;
		top: 23%;
		left: 50%;
	}
}


/* =============================================
相談のしやすさが強みです。
============================================= */
#soudan-base {
	position: relative;
	height: 900px;
	top: -3.8%;
	background-image: url("../img/tree.jpg");
    background-position: center;
    background-repeat: no-repeat;
	z-index: 1;
}
.soudan-text {
	width: 70%;
	position: absolute;
	height: auto;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	margin:0;
	padding:0;
	background-color: rgba(255,255,255,0.6);
}
.soudan-text P {
	font-size: 1.1em;
	text-align: center;
	line-height: 3.2em;
	margin: 0 2em;
}
.soudan-text P:first-child { padding-top: 3.5em;}
.soudan-text P:last-child { padding-bottom: 3.5em;}
.danraku { margin-top: 2em !important;}

@media screen and (max-width: 769px) {
	#soudan-base {
		height: 1400px;
		top: 0;
	}
	.soudan-text {
		width: 90%;
	}
	.soudan-text P {
		font-size: 140%;
		line-height: 3em;
		margin: 0 0;
	}
}


/* =============================================
会社概要
============================================= */
#company-base {
	position: relative;
	height: 800px;
	z-index: 1;
}
.company-title {
	position: absolute;
	width: 120px;
	height: 40px;
	font-size: 1.4em;
	color: #FFF;
	background-color: #805F3E;
    top: 9%;
	left: 25.3%;
	transform: translate(-50%,-50%);
	z-index: 100;
	display: grid;
	place-items: center;
}
.company-kakoi {
	max-width: 90%;
	position: absolute;
	height: auto;
	top: 40%;
	left: 50%;
	transform: translate(-50%,-50%);
	margin:0;
	padding:0;
	background-color: rgba(255,255,255,1);
}
#company-text {
	width: 600px;
	margin: 2.8em 2em;
}
#company-text tr { border-bottom: 1px solid #b5b1b1;}
#company-text th, #company-text td {
	padding: 24px 0;
	border: none;
}
#company-text th {
	width: 30%;
	color: #999;
}

@media screen and (max-width: 769px) {
	#company-base { height: 1100px;}
	.company-title {
		font-size: 175%;
		width: 150px;
		height: 50px;
		top: 12.5%;
		left: 50%;
	}
	.company-kakoi { top: 50%;}
	#company-text { width: 380px; font-size: 140%;}
	#company-text th, #company-text td {
		width: 100%;
		display: block;
		text-align: center;
	}
	#company-text th { width: 100%;}
	#company-text td { padding-top: 0;}
	.company-kakoi { width: 100%!important; padding: 0;}
	#company-text { width: 90%; margin: 2em auto;}
}
