/*-------------------header-----------------------*/


#nav-toggle {
  position: fixed;
  top: 25px;
  right: 25px;
  height: 32px;
  cursor: pointer;
}
#nav-toggle > div {
  position: relative;
  width: 36px;
}
#nav-toggle span {
  width: 100%;
  height: 1px;
  left: 0;
  display: block;
  background: #333;
  position: absolute;
  transition: top .5s ease, -webkit-transform .6s ease-in-out;
  transition: transform .6s ease-in-out, top .5s ease;
  transition: transform .6s ease-in-out, top .5s ease, -webkit-transform .6s ease-in-out;
}
#nav-toggle span:nth-child(1) {
  top: 0;
}
#nav-toggle span:nth-child(2) {
  top: 14px;
}
#nav-toggle span:nth-child(3) {
  top: 28px;
}
#nav-toggle:hover span:nth-child(1) {
  top: 4px;
}
#nav-toggle:hover span:nth-child(3) {
  top: 23px;
}

.open #nav-toggle span {
  background: #fff;
}
.open #nav-toggle span:nth-child(1) {
  top: 15px;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}
.open #nav-toggle span:nth-child(2) {
  top: 15px;
  width: 0;
  left: 50%;
}
.open #nav-toggle span:nth-child(3) {
  top: 15px;
  -webkit-transform: rotate(-45deg);
          transform: rotate(-45deg);
}

/* z-index */
#nav-toggle {
  z-index: 1000;
}
#container {
  z-index: 900;
}
#gloval-nav {
  background: #e21412;
  color: #fff;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 990;
  text-align: center;
  display: flex;
  visibility: hidden;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 29px;
  opacity: 0;
  transition: opacity .6s ease, visibility .6s ease;
}
#gloval-nav a {
  display: block;
  color: #fff;
  text-decoration: none;
  padding: 10px 0;
  transition: color .6s ease;
}
#gloval-nav a:hover {
  color: #666;
}
#gloval-nav ul {
  list-style: none;
}
#gloval-nav ul li {
  opacity: 0;
  -webkit-transform: translateX(200px);
          transform: translateX(200px);
  transition: opacity .2s ease, -webkit-transform .6s ease;
  transition: transform .6s ease, opacity .2s ease;
  transition: transform .6s ease, opacity .2s ease, -webkit-transform .6s ease;
}
#gloval-nav ul li:nth-child(2) {
  transition-delay: .15s;
}
#gloval-nav ul li:nth-child(3) {
  transition-delay: .3s;
}
#gloval-nav ul li:nth-child(4) {
  transition-delay: .45s;
}
#gloval-nav ul li:nth-child(5) {
  transition-delay: .6s;
}
#gloval-nav ul li:nth-child(6) {
  transition-delay: .75s;
}
#gloval-nav ul li:nth-child(7) {
  transition-delay: .9s;
}
/* open */
.open {
  overflow: hidden;
}
.open #gloval-nav {
  visibility: visible;
  opacity: 1;
}
.open #gloval-nav li {
  opacity: 1;
  -webkit-transform: translateX(0);
          transform: translateX(0);
  transition: opacity .9s ease, -webkit-transform 1s ease;
  transition: transform 1s ease, opacity .9s ease;
  transition: transform 1s ease, opacity .9s ease, -webkit-transform 1s ease;
}
header{
	height: 70px;
	background: rgba(255, 255, 255, 0.8);
    position: fixed;
    width: 100%;
	top: 0;
	z-index: 999;
	box-shadow: 0 0 10px 0px rgba(0, 0, 0, 5%);
}
header .header {
	width: 1200px;
	margin: 0 auto;
}
header .left {
	padding: 17px 0;
}
header .right nav ul {
	display: flex;
}
header .right nav ul li {
	width: 120px;
	text-align: center;
    display: table;
}
header .right nav ul li.twitter{
	width: 160px;
}
header .right nav ul li a {
	padding: 28px 20px;
    font-size: 14px;
    font-weight: bold;
    display: block;
	color: #333333;
}

.t_link {
	width: 14px;
    display: inline-block;
    vertical-align: bottom;
    padding-left: 10px;
}

/*
header .right nav ul .contact a {
	background: #e21412;
	color: #fff;
	padding: 28px 40px;
}
*/
.talent,
.g_map{
    text-align: center;
	position: relative;
}

.talent a,
.g_map a {
    display: inline-table;
    line-height: 1.4em;
    padding: 10px 0;
    width: 240px;
    border: 1px solid #e51814;
    color: #e41814;
    font-weight: bold;
    font-size: 14px;
    box-sizing: border-box;
}
.g_map a {
    padding: 20px 0;
}
.talent span,
.g_map span {
    position: absolute;
    right: 20px;
    top: 22px;
    color: #e51814;
}
/*----------------------main-----------------------*/

#main {
    height: 850px;
    background: url(http://remax-web.jp/wp-content/uploads/2020/01/remax_02.jpg) no-repeat;
    background-size: cover;
	background-position:bottom;
	position:relative;
	margin-top: 70px;
}
.scroll {
	position: absolute;
    bottom: 0;
    left: 50%;
}

/*---------------------container---------------------*/


.contain {
	margin-top: 20px;
}

.contain ul {
	display: flex;
	padding: 0 !important;
    flex-wrap: wrap;
    justify-content: space-between;
}
.contain ul li {
	text-align: center;
  	margin-bottom: 30px;
}
.contain ul li .thum img{
	width: 190px;
    height: 190px;
    object-fit: cover;
	 font-family: 'object-fit: contain;'
}
.contain ul li .name{
    margin-top: 12px;
}
.contain ul li .name span{
    vertical-align: sub;
    margin-left: 5px;
}
.contain ul li .yomi {
	font-size: 10px;
    margin-top: 5px;
    letter-spacing: 0.2em;
}
.conv {
	margin-top: 50px;
}
.conv ul {
	display: flex;
	justify-content: center;
}
.conv li {
	margin: 0 20px;	
}
#blog {
	background: url(http://remax-web.jp/wp-content/uploads/2020/01/remaxMV_05.gif) no-repeat center center;
	background-size: cover;
}
#top #access {
	background: #fff;
}
/*
#top #twitter{
    display: none;
}
*/
#top #twitter .include_twitter{
    width: 600px;
    margin: 32px auto 0;
    overflow: auto;
    max-height: 500px;
}

#top #twitter ::-webkit-scrollbar {
    width: 16px;
    height: 20px;
}
#top #twitter ::-webkit-scrollbar-track {
    background-color: rgba(227, 23, 16,0.1);
    border-radius: 100px;
}
#top #twitter ::-webkit-scrollbar-thumb {
    background: #e31710;
    border-radius: 100px;
    width: 130px;
}
#top #twitter ::-webkit-scrollbar-corner{
    background: blue;
    border-radius: 100px;
}

#access .conv {
    margin-bottom: 20px;
    margin-top: 70px;
}
footer {
	background: #e21412;
}
footer p {
    text-align: center;
    font-size: 12px;
    padding: 24px 0;
}

#top footer .red_color p {
/*
    color: #e3170f;
    background: #ffffff;
*/
    color: #ffffff;
}


.scroll{
    position: absolute;
    bottom: 30px;
    left: 50%;	
}
.swiper-button-next, .swiper-container-rtl .swiper-button-prev {
    background-image: url("http://remax-web.jp/wp-content/uploads/2020/01/right.png") !important;
}
.swiper-button-prev, .swiper-container-rtl .swiper-button-next {
    background-image: url("http://remax-web.jp/wp-content/uploads/2020/01/left.png") !important;
}
.swiper-pagination-bullet-active {
    background: #e21312 !important;
}

/*------------------------下層----------------*/

.under_main{
	background: url(http://remax-web.jp/wp-content/uploads/2020/01/remaxMV_05.gif) no-repeat;
    background-size: cover;
}
.under_main .container{
	padding: 80px 0 ;
    margin-top: 70px;
}
.under_main h1 {
	font-size: 40px;
    font-weight: bold;
}
.under_main h2 {
	font-size: 16px;
    font-weight:nomal;
}
.under_main h1::after {
    content: '';
    display: block;
    background: #fff;
    height: 1px;
    width: 240px;
    margin: auto;
    margin-top: 12px;
    margin-bottom: 18px;
}
.under_main h2::after {
	display: none;
}
.about_table table{
	    width: 100%;
}
.about_table table th{
	width: 30%;
    display: table-cell;
    vertical-align: middle;
	font-weight: bold;
}
.about_table table td {
    display: inline-block;
    vertical-align: top;
    width: 70%;
    padding: 30px 0;
    line-height: 1.8em;
}
.about_table table td:first-line {
    line-height: inherit;
}
.about_table table tr {
	border-bottom: 1px solid #dddddd;
}

/*---------------------single----------------------------------*/

.prof {
	clear: both;
    overflow: hidden;
    padding: 70px 0;
}
.prof .left img {
	box-shadow: 20px 20px 0px 0px #e21412;
    width: 700px;
    height: 467px;
    object-fit: cover;
	 font-family: 'object-fit: contain;'
}
.prof .right {
	width: 400px;
}
.prof h2 {
    font-size: 36px;
    margin-top: 20px;
    font-weight: bold;
	margin-bottom: 20px;
}
.prof h2 span {
    margin-left: -140px;
    vertical-align: super;
    padding-right: 40px;
}
.prof .yomi {
	color: #e21412;
	font-size: 18px;
	margin-bottom: 30px;
	letter-spacing: 0.1em;
}
.prof li span {
	display: inline-block;
    text-align: center;
	margin-right: 15px;
}
.prof .ul1 li {
    letter-spacing: 0em;
    padding: 4px 0;
    line-height: 24px;
}
.prof .ul1 {
    display: inline-table;
}
.prof .ul2 {
	display: flex;
	margin-top: 20px;
}
.prof .ul2 li {
    width: 150px;
}
.prof .ul2 img{
	width: 120px;
}
.tab ul {
    display: flex;
}
.tab li a {
	color: #000000;
} 
.sns a {
    margin-right: 10px;
    color: #000;
    text-decoration: underline;
}
.sns a:last-child {
	margin-right: 0px;
}
.other {
    margin: 40px 0 0;
}
.other h3 {
    color: #e21412;
    font-size: 24px;
    border-bottom: 1px solid #dddddd;
    line-height: 50px;
	position: relative;
}
.other h3::after {
  content: "";
  display: block;
  line-height: 0;
  overflow: hidden;
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 10%;
  border-bottom: 1px solid #e21412;
}
.other h4 {
	border-left: 6px solid #e21412;
	padding-left: 12px;
	font-weight: bold;
	margin-top: 20px;
}
.other ul {
    display: flex;
    flex-wrap: wrap;
    padding: 10px 7px;
	justify-content: space-between;
}
.other li {
    width: 48%;
    line-height: 30px;
}
.other ul::after {
  content:"";
  display: block;
  width:48%;
}
.other .red {
	font-weight: bold;
}
.alt {
    background: url(../img/shingle_bg2.jpg);
    margin-top: -150px;
    padding-top: 20px;
}
.red_box {
    text-align: center;
    color: #e21412;
    border: 1px solid;
    padding: 13.5px;
    margin-top: 30px;
}
.saisei {
	margin: 0 0 0 5px !important;
}
.saisei img {
	width: auto !important;
}


/*-----------------------archive---------------------------*/

.tab_archive ul {
	 display: flex;
    justify-content: space-between;
}
.tab_archive ul li {
	 width:33%;
    text-align: center;
    height: 70px;
}
.tab_archive ul li a {
    text-align: center;
    display: block;
    width: 100%;
    padding: 28px 0;
    color: #000;
    background: #f1f1f1;
}
.tab_archive ul li .selected {
    background: #e21412;
	color: #fff;
}
.panel_contain {
    display: flex;
	flex-wrap: wrap;
    flex-flow: row wrap;
}
.panel_content {
	width: 240px;
	margin-bottom: 20px;
}
.panel_content:nth-child(5n) {
	margin-right:0px;
}
.voice_prev audio {
	width: 100%;
}
.voice_title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2em;
}
.voice_prev {
	text-align:center;
}
.voice_ul {
    display: flex;
    flex-wrap: wrap;
    text-align: left;
	margin-top: 10px;
}
.voice_ul:active {
	color: #1472d1;
}
.voice_ul li {
    width: 35% !important;
    margin-bottom: 10px;
    margin-top: 10px;
    margin-left: 10%;
}
.voice_ul a {
	color:#333333;
	font-size: 18px;
}
.sample {
	font-size: 16px;
    color: #e21412;
}
#single .container .prof .right .popup_content .close_btn {
    top: 15px;
    right: 0px;
    font-size: 35px;
    color: #fff !important;
}

#single .container .prof .right .popup_content .close_btn span {
    color: #fff !important;
    background: #000;
    padding: 8px;
}


/*-----------------------contact---------------------*/

.contact_box {
    text-align: center;
    padding: 40px;
    letter-spacing: 0em;
    border: 1px solid #dddddd;
    margin-bottom: 50px;
}
.contact_box .number {
	color: #e21412;
    font-size: 24px;
    margin: 20px 0;
    font-weight: bold;
}
.contact_box .number a {
    color: #e21412;
    font-size: 24px;
    margin: 20px 0;
    font-weight: bold;
}
/*ポップアップここから*/
.popup_wrap input {
  display: none;
}
.popup_overlay {
  display: flex;
  justify-content: center;
  overflow: auto;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  opacity: 0;
  transition: opacity 0.5s, transform 0s 0.5s;
  transform: scale(0);
}
.popup_trigger {
  position: absolute;
  width: 100%;
  height: 100%;
}
.popup_content {
    position: relative;
    align-self: center;
    width: 80%;
    max-width: 500px;
    padding: 50px 50px 50px;
    box-sizing: border-box;
    background: #fff;
    line-height: 1.4em;
    transition: 0.5s;
}
.close_btn {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 30px;
  cursor: pointer;
}
.popup_wrap input:checked ~ .popup_overlay {
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.5s;
}
.open_btn {
  cursor: pointer;
  transition: .3s ease;
}
/*ポップアップココまで*/
.red {
	color: #e21412;
}
.content {
	display: block;
    text-align: center;
    padding-top: 200px;
}
#talent {
	background: #fff;
}
.swiper-button-prev,
.swiper-container-rtl .swiper-button-next {
	background-image: url(“data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D’http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg’%20viewBox%3D’0%200%2027%2044’%3E%3Cpath%20d%3D’M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z’%20fill%3D’%23007aff’%2F%3E%3C%2Fsvg%3E”);
	left: 10px;
	right: auto;
}
.swiper-container {
    padding: 50px 0 !important;
}
.child {
    background: #e21412;
    color: #fff;
    width: 190px;
    height: 190px;
    display: inline-table;
}
.child_block {
    margin-top: 83px;
    font-size: 24px;
}
.contact_table {
    width: 100%;
    margin-top: 20px;
}
.contact_table th{
	width: 30%;
	vertical-align: middle;
	text-align: left;
}
.contact_table input{
	background: #f5f5f5;
    border: inherit;
}
.contact_table .contain .wpcf7-form-control-wrap {
	height: 200px;
}
.wpcf7-form-control-wrap {
    display: grid;
    width: 100%;
    height: 50px;
    font-size: 22px;
    margin: 20px 0;
}
.wpcf7 input[type="submit"] {
	-webkit-appearance: none;
    width: 240px;
    padding: 15px;
    -moz-border-radius: 10px;
    border: none;
    box-shadow: 0 3px 0 #ddd;
    background: #e21312;
    transition: 0.3s;
    font-size: 14px;
    color: #fff;
}
.sub {
    text-align: center;
    margin-top: 10px;
}
.contact_table .content {
    padding-top: 0;
}
.contact_table .content textarea {
    border: inherit;
    background: #f5f5f5;
}
.ness {
	border-radius: 8px;
    background: #e21412;
    color: #fff;
    padding: 4px 15px;
    margin-right: 20px;
    font-size: 14px;
    vertical-align: text-bottom;
}

span.wpcf7-not-valid-tip {
	margin-top: 5px !important;
	text-align: left !important;
	font-size: 0.6em !important;
	color: #E21412 !important;
} 

/*----------------------modal----------------------- */

.modal {
    display: none;
    height: 100vh;
    position: fixed;
    top: 0;
   	left: 0;
    width: 100%;
	z-index:999;
}
.modal__bg {
    background: rgba(0,0,0,0.8);
    height: 100vh;
    position: absolute;
    width: 100%;
}
.modal__content {
    background: #fff;
    left: 50%;
    padding: 40px;
    position: absolute;
    top: 50%;
    transform: translate(-50%,-50%);
    width: 25%;
	text-align: center;
}

/*-------------------------404--------------------------*/

.return {
	margin-top: 20px;
	text-align: center;
}


/*-----------------------ロード画面*------------------------*/

#loader-bg {
  display: none;
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0px;
  left: 0px;
  background: #fff;
  z-index: 1;
}

#loader {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  width: 200px;
  height: 200px;
  margin-top: -100px;
  margin-left: -100px;
  text-align: center;
  color: #000;
  z-index: 2;
}

#wrap {
	display:none;
}



/*----------------------404-----------------------*/

.r_top {
	text-align: center;
    margin-top: 40px;
    font-weight: bold;
}

.r_top a {
    color: white;
    text-decoration: none;
}

.r_top a:hover {
    color: blue;
}

/*-------------------IE用css-------------------*/
	
@media all and (-ms-high-contrast: none){

.ness {
	padding: 5px 15px 0px;
}
.contact_table th {
	padding-bottom: 30px;
}
.contact_table td {
	width: 70%;
	text-align: center;
}
.contact_table input {
	height: 30px;
	width: 500px;
}
.contact_table .content textarea {
	width: 500px;
}
.wpcf7-form-control-wrap {
    display: ruby;
}
.panel_contain {
    display: -webkit-inline-box;
    flex-flow: row wrap;
	max-width: 1200px;
}
audio {
	max-width: 100%;
}
.close_btn {
	top:30px;
}
	.tab_archive ul li a {
    padding: 28px 0 16px;
}
	.child_block {
    margin-top: 95px;
}
	.g_map a {
    padding: 20px 0 8px;
}
#google span {
    top: 16px;
}
.talent a, .g_map a {
    padding: 20px 0 5px;
}
#talent .talent span, .g_map span {
    top: 25px;
}
.red_box {
    padding: 20px 0 5px;
}
	header .right nav ul li a {
    padding: 36px 20px 20px; 
}
footer p {
	padding: 30px 0 16px;
}
.swiper-slide {
	margin-bottom:50px;
}
.sub {
margin-top: 30px;
}
.ness {
	padding: 10px 15px 0;
}
}