@charset "utf-8";

* {
	margin: 0;padding: 0;box-sizing: border-box;line-height: 1;list-style-type: none;text-decoration: none;color: #111;
}

h2 {
	font-size: 32px;
}

h3 {
	font-size: 26px;
}

body {
	font-size: 16px;
	line-height: 32px;
	font-family: "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
}

p {
	line-height: 26px;
}

img {
	width: auto;
	height: auto;
}

.container {
	/*iPadだと右側に謎の余白ができるので、その対策用CSS*/
	overflow: hidden;
	margin-left: 0;
	margin-right: 0;
	padding: 0;
	width: 100%;
}

.thanks_hd{
	font-size: 36px;
	margin-top: 80px;
	font-weight: bold;
	text-align: center;
}

/*---------ロード画面-----------------------*/

	.loading p {
	position: absolute;
	left: 20%;
}
	.loading img {
		width: auto;
	}
	
	.loading_2 .loading_item {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	height: 100vh;
}

.loading_2 .loading_item:nth-of-type(1) {
	background: #d6000f;
	z-index: 9999;
}

.loading_2 .loading_item:nth-of-type(2) {
	background: #fff;
	z-index: 9998;
}

/*---------ロード画面-----------------------*/

/*--------ドロップダウンメニュー----------------*/

.menu_wrapper {
	background: #111;
	position: relative;
}

.menu_wrapper .menu_area {
	height: 350px;
	width: 100%;
	position: fixed;
	background: #111;
	z-index: 9996;
	top: 80px;
}

.menu_wrapper .menu_inner {
	max-width: 1200px;
	min-width: 1100px;
	padding: 0 30px;
	margin: 0 auto;
 }

.menu_wrapper .menu_box {
	display: flex;
	justify-content: space-around;
}

.menu_wrapper h2 {
	font-size: 26px;
	color: #fff;
	padding: 40px 30px;
	text-align: center;
}

.menu_wrapper .menu_block {
	position: relative;
}

.menu_wrapper h3 {
	color: #fff;
	position: absolute;
	bottom: 30px;
	left: 60px;
}

.menu_wrapper .kaigo_hd {
	display: none;
}

.menu_wrapper .calnedar {
	left: 40px;
	bottom: 20px;
	text-align: center;
	font-size: 20px;
}

.menu_wrapper a {
	display: block;
	width: 245px;
	overflow: hidden;
}

.menu_wrapper img {
	transition: 0.3s;
}

.menu_wrapper img:hover {
	transform: scale(1.2,1.2);
}

.menu_wrapper .res_hd {
	display: none;
}

@media screen and (min-width:1000px){
.menu_wrapper .menu_bg {
	background: #111;
	opacity: 0.6;
	position: fixed;
	z-index: 9900;
	top: 0;
	height: 100vh;
	width: 100vw;
}
}

/*--------↑ドロップダウンメニュー↑----------------*/

/*--------------↓ボタンの設定↓----------------------*/
.header .nav_contact {
	background: #d6000f;
	width: 160px;
	padding: 20px 0;
	margin: 18px 20px 0 20px;
	text-align: center;
	color: #fff;
	transition: 0.6s;
	position: relative;
	z-index: 0;
	border: 1px solid #d6000f;
}

.header .production_menu,
.header .marketing_menu {
	position: relative;
}

.header .production_menu::before,
.header .marketing_menu::before {
	content: '';
	display: inline-block;
	background: #111;
	width: 10px;
	height: 2px;
	position: absolute;
	top: 47px;
	right: 0;
	transform: rotate(-45deg);
	transition: 0.2s;
}

.header .production_menu::after,
.header .marketing_menu::after {
	content: '';
	display: inline-block;
	background: #111;
	width: 10px;
	height: 2px;
	position: absolute;
	top: 47px;
	right: 6px;
	transform: rotate(45deg);
	transition: 0.2s;
}

.header .arrow::before,
.header .arrow::after {
	content: '';
}

.header .arrow::before {
	transform: rotate(45deg);
}

.header .arrow::after {
	transform: rotate(-45deg);
}

.red_btn,
.white_btn {
	display: block;
	width: 310px;
	text-align: center;
	padding: 25px 0;
	font-weight: bold;
	position: relative;
	overflow: hidden;
	transition: 0.5s;
}

.red_btn:before,
.white_btn::before {
position: absolute;
top: 0;
left: 0;
z-index: -1;
content: '';
width: 120%;
height: 100%;
transform-origin: right top;
transform: skewX(-30deg) scale(0,1);
transition: transform 0.5s;
}

.red_btn {
	color: #d6000f;
	border: 1px solid #d6000f;
}

.red_btn::before {
	background: #d6000f;
}

.white_btn {
	color: #fff;
	border: 1px solid #fff;
}

.white_btn::before {
	background: #fff;
}

/*--------------↑ボタンの設定↑----------------------*/

/*-----------PC画面にのみホバーの設定 ------------*/

@media screen and (min-width: 1000px){

.header .nav_contact:hover {
	background: #fff;
	color: #d6000f;
	border: 1px solid #d6000f;
}

.header .production_menu:hover::before,
.header .marketing_menu:hover::before {
		transform: rotate(45deg);
}

.header .production_menu:hover::after,
.header .marketing_menu:hover::after {
	transform: rotate(-45deg);
}

.red_btn:hover {
	color: #fff;
}

.white_btn:hover {
	color: #111;
}

.red_btn:hover::before,
.white_btn:hover::before{
	transform-origin: left top;
	transform: skewX(-30deg) scale(1,1);
}
	
.footer nav > ul a:hover {
	text-decoration: underline;
}
	
	.header nav a:hover {
		color: #d6000f;
	}
	
	.works_wrapper .works_block:hover {
		opacity: 0.7;
	}
	
}
	
/*-----------↑ボタンの設定↑ ------------*/

.fixed_menu {
	position: fixed;
	top: 80px;
	z-index: 9996;
	width: 100%;
}

.humburger {
	display: none;
	width: 50px;
	background: #d0000f;
	margin: 15px 30px 15px 0;
	padding: 21px 0;
	position: relative;
}

.humburger span {
	display: block;
	width: 28px;
	height: 2px;
	background: #fff;
	position: absolute;
	left: 11px;
	transition: 0.3s;
}

.humburger span:nth-of-type(1){
	top: 10px;
	transform-origin: left bottom;
}

.humburger span:nth-of-type(2){
	top: 20px;
}

.humburger span:nth-of-type(3){
	top: 30px;
	transform-origin: left top;
}

.close span:nth-of-type(1) {
	transform: rotate(45deg);
	left: 13.5px;
}

.close span:nth-of-type(2) {
	left: 20px;
	opacity: 0;
}

.close span:nth-of-type(3) {
	transform: rotate(-45deg);
	left: 13.5px;
}

.header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: #fff;
	height: 80px;
	width: 100%;
	position: fixed;
	z-index: 9997;
	transition: 0.6s;
}

.header .logo {
	padding-left: 50px;
}

.header nav ul {
	display: flex;
}

.header nav a {
	position: relative;
 	display: inline-block;
	padding: 40px 23px;
	font-weight: bold;
	transition: 0.6s;
}

.footer {
	background: #d6000f;
}

.footer nav {
	padding-top: 125px;
}

.footer h4,
.footer a,
.footer p,
.footer address {
	color: #fff;
}

.footer h4,
.footer h4 a {
	font-size: 20px;
}

.footer nav > ul {
	display: flex;
	justify-content: space-around;
	width: 920px;
	margin: 0 auto;
}

.footer nav > ul > li > ul > li {
	padding-bottom: 20px;
}


.footer h4 {
	padding-bottom: 30px;
}

.footer .footer_bottom {
	padding-top: 50px;
	width: 950px;
	margin: 0 auto;
	position: relative;
	z-index: 1;
}

.footer .white_btn {
	width: 400px;
}

.footer .footer_bottom_inner {
	display: flex;
	justify-content: space-between;
}

.footer .tel {
	font-size: 48px;
	font-weight: bold;
	padding: 10px 0 20px;
}

address {
	padding-top: 80px;
	text-align: center;
}

.on_white,
.on_red,
.on_gray {
	position: relative;
}

.on_red::before,
.on_white::before,
.on_gray::before {
	content: '';
	display: block;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	right: 0;
	transition: 0.6s;
}

.on_red::before {
	background: #d6000f;
	z-index: 1;
}

.on_white::before {
	background: #fff;
	z-index: 2;
}

.on_gray::before {
	background: #f1f1f1;
	z-index: 1000;
}

.off::before {
	content: '';
	width: 0%;
}

/*-----------↓タブレット↓------------------------*/

@media screen and (max-width:1000px) {
	
	.top_movie img {
		max-width: 400px;
	}

	.humburger {
		display: block;
	}
	
	.header nav {
	display: none;
}
	.menu_wrapper {
	padding-top: 40px;
	width: 100%;
	height: 100vh;
	position: fixed;
	top: 80px;
	z-index: 10000;
}
	
	.menu_wrapper .menu_area {
		background: transparent;
		position: static;
		height: auto;
}
	
	.menu_wrapper .menu_inner {
		max-width: 100%;
		min-width: 0%;
		width: 100%;
		padding: 0;
	}
	
	
	.menu_wrapper img {
		display: none;
	}
	
	.menu_wrapper	.menu_box {
		display: block;
		text-align: left;
	}
	
	.menu_wrapper .menu_area {
		min-width: 0px;
		padding: 0px;
	}
	
	.menu_wrapper a {
		width: 100%;
		color: #fff;
		border-bottom: 1px solid #777;
		padding-bottom: 5px;
	}
	.menu_wrapper .calnedar {
	text-align: left;
}
	
	.menu_2 h2 {
		padding: 20px 30px 40px;
	}
	
	.menu_wrapper h2 {
		font-size: 24px;
		margin-bottom: 40px;
	}
	
	.menu_wrapper .menu_block {
		margin-bottom: 50px;
	}
	
	.menu_wrapper h3 {
		width: 100%;
		position: static;
		font-size: 20px;
		padding-bottom: 0;
		padding-left: 20px;
	}
	
	.menu_wrapper .kaigo_hd {
		display: block;
	}
	
	.menu_wrapper .res_hd {
	padding: 0px 30px 0px;
	font-size: 20px;
}
	
	.menu_wrapper h2:not(.res_hd) {
		display: none;
	}
	
	.footer nav {
	padding-top: 80px;
}
	
	.footer nav > ul {
	display: block;
	width: 500px;
}
	
	
	.footer .footer_bottom {
	width: 500px;
	margin: 0 auto;
	padding-top: 10px;
}

	.footer .footer_bottom_inner {
	display: block;
}
	
	address {
	padding-top: 40px;
	text-align: left;
	width: 500px;
	margin: 0 auto;
}
	
	.footer .footer_left p:nth-of-type(2){
		padding: 30px 0;
	}
	
	.footer h4 {
		font-weight: 400;
	}
	
	.footer h4 a {
		font-size: 16px;
	}
	
	.footer li:nth-of-type(2) h4,
	.footer  li:nth-of-type(3) h4 {
		display: none;
	}
	
}

/*-----スマホ版コーディング-----*/

@media screen and (max-width:750px) {
	
	body {
		font-size: 14px;
		line-height: 21px;
	}
	
	img {
		/*画面の最大幅から左右のpaddding30pxを引いた数値を画像のサイズとする*/
		width: calc(100vw - 30px);
	}
	
	h2 {
	font-size: 24px;
}

	h3 {
	font-size: 18px;
}
	.top_movie img {
		max-width: 250px;
	}
	
	.close span:nth-of-type(1) {
	left: 8px;
	width: 20px;
}

	.close span:nth-of-type(2) {
	left: 8px;
	opacity: 0;
}

	.close span:nth-of-type(3) {
	left: 8px;
	width: 20px;
}
	
	.top_image {
	height: 376px;
}

.top_image h2 {
	bottom: 80px;
	left: 115px;
	font-size: 26px;
}
	
	.header {
		height: 60px;
	}
	
	.menu_wrapper {
		top: 60px;
	}

	.menu_wrapper .calnedar {
	font-size: 14px;
}
	
	.humburger {
		width: 30px;
		margin: 10px 15px 10px 0;
		padding: 15px 0;
	}
	
	.humburger span {
	width: 15px;
	left: 8px;
}

.humburger span:nth-of-type(1){
	top: 7px;
}

.humburger span:nth-of-type(2){
	top: 14px;
}

.humburger span:nth-of-type(3){
	top: 21px;
}
	
	.header .logo {
		padding-top: 10px;
		padding-left: 15px;
	}

	.logo img {
		max-width: 110px;
	}
	
	.red_btn,
.white_btn {
	display: block;
	width: 200px;
	text-align: center;
	padding: 15px 0;
	font-weight: bold;
	position: relative;
	overflow: hidden;
	transition: 0.5s;
}
	
	.footer nav > ul {
	display: block;
	width: 100%;
	padding: 0 15px;
}
	.footer h4 {
	padding-bottom: 20px;
}
	
		
	.footer .footer_bottom {
	width: 100%;
	margin: 0 auto;
	padding-top: 10px;
}
	
	.footer .footer_bottom {
		width: 100%;
		padding: 10px 15px 0;
	}
	
	.footer .tel {
		font-size: 30px;
		padding: 0;
	}
	
	.footer .white_btn {
		width: 300px;
	}
	
	.footer address {
		width: 100%;
		padding: 30px 15px 0;
	}

	
	.menu_wrapper .menu_block {
		margin-bottom: 30px;
	}
	
	.menu_wrapper h3 {
		font-size: 14px;
	}
	
	.menu_wrapper .calnedar {
	font-size: 12px;
}
	
}
