/*
Theme Name: 勝哉地所
Theme URI: http://katsuya-est.com/
Description: 勝哉地所
Author: 勝哉地所
Author URI: http://katsuya-est.com/
*/

@charset "utf-8";
/* CSS Document */

/*-------------------------------------------
　　reset
-------------------------------------------*/
a, abbr, acronym, address, applet, article, aside, audio, b, big, blockquote, body, caption, canvas, center, cite, code, dd, del, details, dfn, dialog, div, dl, dt, em, embed, fieldset, figcaption, figure, form, footer, header, hgroup, h1, h2, h3, h4, h5, h6, html, i, iframe, img, ins, kbd, label, legend, li, mark, menu, nav, object, ol, output, p, pre, q, ruby, s, samp, section, small, span, strike, strong, sub, summary, sup, tt, table, tbody, textarea, tfoot, thead, time, tr, th, td, u, ul, var, video, input, select {
	font-size:100%;
	font-weight:inherit;
	font-style:inherit;
	vertical-align:baseline;
	/* white-space:normal; */
	text-align:left;
	margin:0;
	padding:0;
	border:0;
	outline:0;
	background:transparent;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display:block;}
ol, ul {list-style:none;}
blockquote, q {quotes:none;}
:focus {outline:0;}
table {border-collapse:collapse; border-spacing:0;}
img {vertical-align:top;}
input, textarea, select, button {-webkit-appearance:none; -moz-appearance:none; appearance:none;}




/*-------------------------------------------
　　base
-------------------------------------------*/
@font-face {
	font-family: 'HelveticaNeue';
	src: url('http://katsuya-est.com/core/wp-content/themes/katsuya/font/HelveticaNeue.ttc') format('truetype');
	font-weight: normal;
}
@font-face {
	font-family: 'KozGoPr';
	src: url('http://katsuya-est.com/core/wp-content/themes/katsuya/font/KozGoPr6N-Regular.otf') format('opentype');
	font-weight: normal;
}

body {
	font-family: 'KozGoPr', "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", "メイリオ", sans-serif;
	letter-spacing: 0.05em;
	font-weight: normal;
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 1000px;
}

a, a:visited, a:hover, a:focus, a:active {text-decoration:none; color:#000;}
a:hover			  {-moz-opacity:0.7; opacity:0.7; filter:alpha(opacity=70);}
header h1 a:hover,
footer h1 a:hover {-moz-opacity:1; opacity:1; filter:alpha(opacity=100);}

img {width: 100%; vertical-align: middle;}

.sp_only {display: none;}

@media screen and (max-width:768px) {
	body {
		min-width: 100%;
	}
	.sp_only {display: block;}
	.pc_only {display: none;}
}



/*-------------------------------------------
　 Common
-------------------------------------------*/
/* Header */
header {
	display: flex;
	flex-direction: column;
	background: #fff;
	z-index: 99;
	height: 97px;
	padding: 8px 0;
}
.header_contents {
	padding: 0 30px;
	flex: 1;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
h1.logo {
	max-width: 230px;
}
#header nav ul {
	display: flex;
	justify-content: flex-end;
}
#header nav ul li {
	font-size: 12px;
	margin: 0 10px;
}
#header nav ul li.insta {
	width: 17px;
}
.weather {
	width: 100vw;
	overflow: hidden;
}
.weather p {
	font-size: 10px;
	color: #1e2878;
	white-space: nowrap;
	animation: flowing 80s linear infinite;
	width: 4000px;
}
.weather p span {
	padding: 0 5px;
}
@keyframes flowing {
	0% { transform:translateX(0); }
	100% { transform:translateX(-100%); }
}

@media screen and (max-width:768px) {
	header {
		height: 80px;
	}
	.header_contents {
		padding: 0 15px;
	}
	#header nav {
		display: none;
	}
}

/* Footer */
footer .copyright {
	font-size: 10px;
	padding: 12px 0 15px 0;
	text-align: center;
	width: 100%;
}
#top_page + footer .copyright {
	position: absolute;
	bottom: 0;
}

@media screen and (max-width:768px) {
	#top_page + footer .copyright {
		background: #fff;
	}
}

/* Main */
main {
	width: 100%;
	height: 100%;
	margin: 0 auto;
	flex-grow: 1;
}

/* Sky Movie */
#video_area {
	width: 100%;
	height: 100%;
	background: url(http://katsuya-est.com/core/wp-content/themes/katsuya/images/clouds_sky.png) no-repeat center/cover;
	position: absolute;
	top: 0;
	left: 0;
	overflow: hidden;
	z-index: -1;
}
#video_area video {
	min-width: 100%;
	min-height: 100%;
	width: auto;
	height: auto;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translateX(-50%) translateY(-50%);
}

/* 2nd Page */
.second_page .inner {
	max-width: 650px;
	width: 90%;
	margin: 50px auto 0 auto;
	background: #fff;
	padding: 40px 20px;
	box-sizing: border-box;
}

@media screen and (max-width:768px) {
	.second_page .inner {
		margin: 30px auto 0 auto;
		padding: 30px 20px 40px 20px;
	}
}

/* Page Title */
h1.page_title {
	text-align: center;
	font-size: 18px;
	margin: 0 0 20px 0;
	letter-spacing: 0.2em;
}

@media screen and (max-width:768px) {
	h1.page_title {
		font-size: 16px;
		margin: 0 0 10px 0;
	}
}

/* BTN */
.btn a,
input[type="submit"] {
	display: block;
	background: #1e2878;
	line-height: 1.0;
	text-align: center;
	width: 180px;
	padding: 10px 0;
	color: #f3e228;
	font-size: 13px;
	margin: 0 auto;
}


/*-------------------------------------------
　 TOP PAGE
-------------------------------------------*/
#top_page {
	min-height: 650px;
}
#top_contents {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	position: absolute;
	bottom: 0;
	overflow: hidden;
}
#top_contents .main_text {
    animation: fadeIn 0.5s ease-in-out 2s forwards;
	width: 45%;
	max-width: 768px;
	margin-left: 4%;
	opacity: 0;
}
#top_contents .photo {
    animation: fadeIn 0.5s ease-in-out 2.5s forwards;
	position: absolute;
	width: 50%;
	min-width: 768px;
	max-width: 900px;
	right: -2%;
	bottom: -15%;
	opacity: 0;
}
@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@media screen and (max-width:1200px) {
	#top_contents .photo {
		right: -8%;
	}
}

@media screen and (max-width:768px) {
	#top_page {
		min-height: auto;
	}
	#top_contents {
		flex-direction: column;
	}
	#top_contents .main_text {
		width: 84%;
		margin: 120px auto 0 auto;
	}
	#top_contents .photo {
		width: 90%;
		min-width: auto;
		right: 4%;
		bottom: 30px;
	}
}



/*-------------------------------------------
　 会社概要 PAGE
-------------------------------------------*/
#about_page dl {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	line-height: 1.9;
	font-size: 13px;
}
#about_page dl dt {
	width: 40%;
	text-align: right;
	padding-right: 20px;
	box-sizing: border-box;
	margin-top: 20px;
}
#about_page dl dd {
	width: 60%;
	margin-top: 20px;
}
@media screen and (max-width:768px) {
	#about_page dl {
		flex-direction: column;
		line-height: 1.7;
	}
	#about_page dl dt {
		width: 100%;
		text-align: left;
		padding-right: 0;
		font-size: 10px;
		color: #666;
	}
	#about_page dl dd {
		width: 100%;
		margin-top: 3px;
	}
}



/*-------------------------------------------
　 新着情報 一覧 PAGE
-------------------------------------------*/
#news_page ul {
	display: flex;
	flex-wrap: wrap;
}
#news_page ul li {
	width: 50%;
	padding: 0 3%;
	box-sizing: border-box;
	margin-top: 40px;
}
#news_page ul .photo {
	position: relative;
	width: 100%;
	overflow: hidden;
}
#news_page ul .photo::before {
	content: "";
	display: block;
	padding-top: 100%;
}
#news_page ul .photo img {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	object-fit: cover;
	height: 100%;
}
#news_page ul .date {
	font-size: 10px;
	color: #666;
	margin: 12px 0 5px 0;
}
#news_page ul .title {
	font-size: 13px;
	line-height: 1.5;
}

@media screen and (max-width:768px) {
	#news_page ul {
		flex-direction: column;
	}
	#news_page ul li {
		width: 90%;
		margin: 15px auto;
	}
}



/*-------------------------------------------
　 新着情報 記事 PAGE
-------------------------------------------*/
@media screen and (min-width:769px) {
	#news_page article {
		width: 90%;
		margin: 0 auto;
	}
}
#news_page article h2 {
	font-size: 16px;
	line-height: 1.5;
}
#news_page article .date {
	font-size: 11px;
	color: #666;
	border-bottom: 1px solid #ddd;
	padding-bottom: 10px;
	margin-bottom: 30px;
}
#news_page article p,
#news_page article img {
	margin-bottom: 20px;
	font-size: 13px;
	line-height: 1.9;
}
#news_page article p img {
	margin-bottom: 0;
}
#news_page .btn {
	margin-top: 40px;
}



/*-------------------------------------------
　 お問い合わせ PAGE
-------------------------------------------*/
@media screen and (min-width:769px) {
	#contact_page form {
		width: 80%;
		margin: 40px auto 10px auto;
	}
}

#contact_page input,
#contact_page textarea  {
	border: 1px solid #ccc;
	padding: 10px 12px;
	vertical-align: top;
	width: 100%;
	min-height: 40px;
	box-sizing: border-box;
	border-radius: 0;
	font-size: 16px;
}
#contact_page label {
	font-size: 11px;
	display: block;
	margin: 20px 0 0 0;
}
#contact_page input[type="submit"] {
	width: 180px;
	padding: 10px 0;
	margin-top: 40px;
	border: 0;
	cursor: pointer;
	min-height: auto;
	font-size: 13px;
	letter-spacing: 0.15em;
}
#contact_page input[type="submit"]:hover {
	opacity: 0.7;
}
#contact_page .error {
	font-size: 10px;
}

/* confirm */
#contact_page .mw_wp_form_preview .input_wrap {
	border-bottom: 1px solid #ccc;
	width: 100%;
	min-height: 40px;
	box-sizing: border-box;
	padding: 10px 0 5px 0;
	font-size: 16px;
	border-radius: 0;
	display: block;
} 

/* THANKS PAGE */
#contact_page.thanks_page p {
	text-align: center;
	font-size: 12px;
	line-height: 2.0;
	margin: 40px 0 20px 0;
}


/*-------------------------------------------
　 404 PAGE
-------------------------------------------*/
#error404_page h1.page_title {
	letter-spacing: 0.05em;
}
#error404_page p {
	text-align: center;
	font-size: 12px;
	line-height: 2.0;
	margin: 40px 0 20px 0;
}








/*-------------------------------------------
　 SP Menu
-------------------------------------------*/
@media screen and (max-width:768px) {
#toggle {
	cursor: pointer;
	display: block;
	color: #fff;
	text-align: center;
	border-radius: 50%;
	position: absolute;
	top: 55px;
	right: 15px;
	z-index: 101;
	display: flex;
	justify-content: center;
	align-items: center;
}
.trigger,
.trigger span {
	display: inline-block;
	transition: all .4s;
}
.trigger {
	position: relative;
	width: 20px;
	height: 13px;
}
.trigger span {
	position: absolute;
	left: 0;
	width: 100%;
	height: 1px;
	background-color: #000;
	border-radius: 4px;
}
.trigger span:nth-of-type(1) {
	top: 0;
}
.trigger span:nth-of-type(2) {
	top: 8px;
}
.trigger span:nth-of-type(2)::after {
	position: absolute;
	top: 0;
	left: 0;
	content: '';
	width: 100%;
	height: 1px;
	background-color: #000;
	border-radius: 4px;
	transition: all .4s;
}
.trigger span:nth-of-type(3) {
	bottom: 0;
}
.trigger.active span:nth-of-type(1) {
	transform: translateY(8px) scale(0);
}
.trigger.active span:nth-of-type(2) {
	transform: rotate(-45deg);
	top: 4px;
}
.trigger.active span:nth-of-type(2)::after {
	transform: rotate(90deg);
}
.trigger.active span:nth-of-type(3) {
	transform: translateY(-8px) scale(0);
}
.hide {
	opacity: 0;
	visibility: hidden;
	overflow: hidden;
}
.animation {
	transition-property: opacity, visibility;
	transition-duration: .3s;
	transition-timing-function: ease-in;
}
/* menu中身 */
.toggleWrap {
	background: rgba(255, 255, 255, 1.0);
	width:100%;
	height:100%;
	top:0;
	padding: 0;
	position:fixed;
	z-index:100;
	overflow:scroll;
}
.toggleWrap nav {
	width: 100%;
	height: calc(100% - 200px);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}
.toggleWrap nav ul li {
	font-size: 14px;
	text-align: center;
	padding: 0 0 20px 0;
}
.toggleWrap nav ul li.insta {
	margin-top: 30px;
}
.toggleWrap nav ul li.insta img {
	width: 24px;
}
.toggleWrap .copyright {
	position: absolute;
	bottom: 0;
}

.no-scroll {
	position: fixed;
	left: 0;
	right: 0;
	overflow: hidden;
}
}

