@charset "utf-8";
.sub_main_img {
    background: url(../images/access_main.jpg) no-repeat center;
    background-size: cover;
}
/* googlemap */
.gmap{
	width:100%;
	height:300px;
    margin-top: 50px;
}
.map_btn{
    display: block;
    width: 300px;
    margin: 30px auto;
    padding: 15px 0;
    text-align: center;
    background: #811925;
    border-radius: 5px;
    border: 2px solid #811925;
    color: #FFF;
    font-size: 18px;
    font-weight: 600;
}
.map_btn:hover{
    background: none;
    color: #811925;
}
.map_tel,.map_fax{
    width: 100%;
    padding: 15px 0;
    text-align: center;
    border-radius: 5px;
    border: 2px solid #811925;
}
.map_fax{
    background: #811925;
    margin-bottom: 50px;
}
.map_tel img,.map_fax img{
    width: 50%;
}
.access_back{
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    height: 600px;
    margin: 30px 0 50px 0;
    line-height: 1.7;
    color: #811925;
    font-weight: 600;
}
.access_inner{
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    padding: 30px;
    background: rgba(255,255,255,0.7);
}
.access_img{
    background: url(../images/access_back_sp.jpg) center no-repeat;
    background-size: cover;
}
@media (max-width: 320px) {
.access_inner{
    padding: 30px 10px;
}
}
@media (min-width: 1024px) {
.access_img{
    background: url(../images/access_back_sp1.jpg) top right no-repeat;
    background-size: cover;
}
}

@media (min-width: 1200px) {
/* googlemap */
.gmap{
	height:450px;
    margin-top: 80px;
}
.map_tel img,.map_fax img{
    width: auto;
}
.access_back{
    height: 700px;
    margin: 60px 0 50px 0;
}
.access_inner{
    height: 700px;
    background: none;
}
.access_img{
    background: url(../images/access_back1.jpg) top right no-repeat;
    background-size: cover;
}
.map_fax{
    margin-bottom: 200px;
}
}


/*タブ追加*/
#tab-menu ul {
    width:100%;
}
#tab-menu li {
  display:inline-block;
  padding:20px 0;
  width:100%;
  text-align:center;
  border-radius:5px;
  background:#fff;
  color:#811925;
  margin-bottom:10px;
  margin-left:0;
  font-size:16px;
  font-weight:600;
  cursor: pointer;
}
#tab-menu li.active {
position: relative;
  background: #811925;
  color: #FFF;
}

#tab-menu li.active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -15px;
  left: 0;
  width: 0px;
  height: 0px;
  margin: auto;
  border-style: none;
  border-color: #811925 transparent transparent transparent;
  border-width: 0px;
}


/* タブの中身 */
#tab-box section {
  width:100%;
  display: none;
}
#tab-box section.active {
  display: block;
}
.tab_box1,.tab_box2,.tab_box3{
	padding:50px 30px 0px 30px;
	background:#fff;
	border-radius:5px;
	margin-top:30px;
	line-height:1.8;
}
.privacy_box {
	margin-top:50px;
	margin-bottom:50px;
}
@media (min-width: 768px) {
#tab-menu li {
  display:inline-block;
  padding:20px 0;
  width: 32%;
  text-align:center;
  border-radius:5px;
  background:#fff;
  color:#811925;
  margin-bottom:10px;
  margin-left:0;
  font-size:16px;
  font-weight:600;
  cursor: pointer;
}
#tab-menu li.active {
position: relative;
  background: #811925;
  color: #FFF;
}

#tab-menu li.active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -15px;
  left: 0;
  width: 0px;
  height: 0px;
  margin: auto;
  border-style: solid;
  border-color: #811925 transparent transparent transparent;
  border-width: 15px 15px 0 15px;
}
}

@media (min-width: 1200px) {
	.privacy_box {
	margin-top:100px;
	margin-bottom:100px;
}

#tab-menu li {
  width:350px;
  margin-left:20px;
}
.tab_box1,.tab_box2,.tab_box3{
	padding:50px 50px 5px 50px;
	margin-top:50px;
}
}


.mapsiframe iframe{width: 100%;height: 500px;}

.mapsiframe{filter: grayscale(80); line-height: 0;}


.mapsiframe:hover{filter: none;}
