@charset "UTF-8";
@import url("grid.css");

body {
		overflow-y: scroll;
		-ms-overflow-style: none;    /* IE, Edge 対応 */
		scrollbar-width: none;       /* Firefox 対応 */
}
body::-webkit-scrollbar {  /* Chrome, Safari 対応 */
		display:none;
}

img {
	max-width:100%;
	height: auto;/*高さ自動*/
}
a {
    display:block;
    color: #666;
    /* text-decoration-line: none; */
}
a:hover {
    color: #999;
}
h3{
	color: #193e19;
	font-weight: bold;
	margin: 2em 0 1em 0;
}

/*ヘッダー
-------------------------------------*/
.header {
	display: flex;
    flex-direction: row;
    padding: 1rem 0 0 0;
		background: #fff;
}
.header-box {
	margin-left: auto;
	margin-top: 8px;
	text-align: right;
}
.contact-button {
	padding: 1rem;
	border: 2px solid #000;
}
nav ul {
	display: flex;
    flex-direction: row;
    justify-content: space-around;
    list-style: none;
		list-style: none;
	    padding: 1rem 0 0 0;
	    background: #193e19;
	    margin: 0;
}
nav li {
	flex: 1 0 auto;
}
nav li a {
    text-decoration: none;
    text-align: center;
    width: 100%;
		color: #fff;
}
nav a:hover {
    background-color: #f7f7f7;
}
nav a {
    padding: 0.5rem;
}

@media screen and (min-width: 769px){
/* PC時はMENUボタンを非表示 */
	.catch h2{
		top: -70rem;
	}
	.catch2 h2{
		height: 30vh;
		padding: 10rem;
	}
	video{
		width: 100vw;
	}
	main::before{
		content:"";
		display:block;
		position:fixed;
		top:0;
		left:0;
		z-index:-1;
		width:100%;
		height:100vh;
		/* background-repeat:no-repeat; */
		background-position:50% 100%;
		/* background-image:url(https://takeharasangyo-iwata.com/img/back2.jpg); */
		background-size:cover;
	}
	#open,#close {
		display: none !important;
	}
	#navi {
		display: block !important;
	}
	.footer_logo img{
		width: 30vw;
	}
	section h2{
		margin: 10rem 0 4rem 0;
	}
}

@media screen and (max-width: 768px){
	.catch h2{
		top: -45rem;
	}
	.catch2 h2{
		height: 5vh;
		padding: 5rem 0 0
	}
	.step h4{
		text-align: center;
		font-size: 1.5em;
	}
	.company div.span-2{
		background: #e9e9e9;
	}
	main::before{
		content:"";
		display:block;
		position:fixed;
		top:0;
		left:0;
		z-index:-1;
		width:100%;
		height:100vh;
		/* background-repeat:no-repeat; */
		background-position:50% 100%;
		/* background-image:url(https://takeharasangyo-iwata.com/img/back2.jpg); */
		background-size:cover;
	}
	video{
		/* height: 75vh; */
	}
	.mainimg{
		display: flex;
    justify-content: center;
		width: 100vw;
    overflow: hidden;
	}
	.header {
		flex-direction: column;
		/* margin-bottom: 10px; */
		border-bottom: solid 1px #ccc;
	}
	.header #open,#close  {
    position: absolute;
    top: 20px;
    right: 12px;
	}
	nav ul {
		flex-direction: column;
	}
	.header li {
		padding-top: 0;
	}
	/* スマホ時はMENUボタンを表示 */
	#open,#close  {
    display: block;
    width: 50px;
    border: none;
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
	}
	/* スマホ時はメニューを非表示 */
	#navi {
    display: none;
	}
	section h2{
		margin: 4rem 0;
	}
}


/*メイン画像
-------------------------------------*/
.mainimg img {
    width: 100vw;
}

/*メインコンテンツ
-------------------------------------*/
main {
    /* margin: 5rem 0 0 0; */
}
section {
	margin: 0 0 5rem 0;
	padding: 0;
}
.gray-back {
	background-color: #f4f4f4;
}
.step h4 b{
	font-weight: bold;
}
.company div{
	padding: 0.6rem;
}
.ryp_site{
	text-align: center;
}

/*キャッチコピー
-------------------------------------*/
.catch {
    text-align: center;
}
.catch h2 {
	text-align: center;
	position: relative;
	color: #fff;
}
.under {
    border-bottom: 0.4rem solid #000;
    padding:0 1rem 1rem 1rem;
}
.center {
	text-align: center;
}

/*申し込みの流れ
-------------------------------------*/
.flow.row {
	margin-bottom: 3rem;
}

/*フッター
-------------------------------------*/
footer {
    background-color: #193e19;
    padding: 5rem 0;
}
footer h4 {
    border-bottom: 3px solid #ccc;
		color: #fff;
}
footer p {
		color: #fff;
}
/*お問い合わせ
-------------------------------------*/
.contact-box {
	border: 1px solid #ccc;
	text-align: center;
	padding: 2rem 0;
}
.table {
	margin: 4rem 0;
}
.table th {
	width: 250px;
}

/*コピーライト
-------------------------------------*/
.copyright {
    text-align: center;
    padding: 1rem 0;
    background-color: #193e19;
}
.copyright{
    color: #fff;
    text-decoration: none;
}

/*ページトップへ戻るボタン
-------------------------------------*/
#pagetop {
    position: fixed;
    bottom: 15px;
    right: 15px;
}
#pagetop a {
    display: block;
    background: #333;
    color: #fff;
    width: 50px;
    padding: 10px 5px;
    text-align: center;
}
#pagetop a:hover {
    background: #666;
}

/* 幅768px以下の表示
-------------------------------------*/
@media screen and (max-width: 768px){

	/*ヘッダー
	-------------------------------------*/
	.header-box {
		display: none;
	}
	/*お問い合わせ
	-------------------------------------*/
	.table th {
		width: 100%;
		display: block;
	}
	.table td {
		display: block;
	}
	.footer_logo img{
		width: 50vw;
	}
}

/* フッター */
.footer_logo{
	text-align: center;
	margin: 3em 0;
}
footer h4 a{
	color: #fff;
	text-decoration: none;
}
