/*
Theme Name: g&b
Theme URI: https://www.thesec.co.jp
Description: 
Author: BaQuun.TV
Author URI: 
Version: 1.0
Tags: black, blue, white, two-columns, fixed-width, custom-header, custom-background, threaded-comments, sticky-post, translation-ready, microformats, rtl-language-support, editor-style, custom-menu (optional)

License:
License URI:

General comments (optional).
*/


/**
 * YUI 3.5.0 - reset.css (http://developer.yahoo.com/yui/3/cssreset/)
 * http://cssreset.com
 * Copyright 2012 Yahoo! Inc. All rights reserved.
 * http://yuilibrary.com/license/
 */
/*
	TODO will need to remove settings on HTML since we can't namespace it.
	TODO with the prefix, should I group by selector or property for weight savings?
*/
html{
	color:#000;
	background:#FFF;
}
/*
	TODO remove settings on BODY since we can't namespace it.
*/
/*
	TODO test putting a class on HEAD.
		- Fails on FF.
*/
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td {
	margin:0;
	padding:0;
}
table {
	border-collapse:collapse;
	border-spacing:0;
}
fieldset,img {
	border:0;
}
/*
	TODO think about hanlding inheritence differently, maybe letting IE6 fail a bit...
*/
address, caption, cite, code, dfn, em, strong, th, var {
	font-style:normal;
	font-weight:normal;
}
ol, ul {
	list-style:none;
}
caption, th {
	text-align:left;
}
h1, h2, h3, h4, h5, h6 {
	font-size:100%;
	font-weight:normal;
}
q:before,
q:after {
	content:'';
}
abbr, acronym {
	border:0;
	font-variant:normal;
}
/* to preserve line-height and selector appearance */
sup {
	vertical-align:text-top;
}
sub {
	vertical-align:text-bottom;
}
input, textarea, select {
	font-family:inherit;
	font-size:inherit;
	font-weight:inherit;
	padding: 6px 10px;
	width: 90%;
}
/*to enable resizing for IE*/
input, textarea, select {
	*font-size:100%;
}
/*because legend doesn't inherit in IE */
legend {
	color:#000;
}
/* YUI CSS Detection Stamp */
#yui3-css-stamp.cssreset { display: none; }

body {
	font-family:"Hiragino Sans W3", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	background-color: #fff;
	color: #000;
	font-size: 16px;
	-webkit-text-size-adjust: 100%;
	line-height: 28px;
	letter-spacing: 1.5px;
	margin: 0;
}
a {
	text-decoration: none;
}
li {
	list-style: none;
}
table {
	width: 100%;
	margin: 30px 0;
}
tr {
	border: solid 1px #939393;
}
th, td {
	padding: 14px;
}
th {
	border-right: solid 1px #939393;
}
.tab-btn {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .btn {
        flex-basis: 30%;
        text-align: center;
		border: solid 1px;
    }
    .btn a {
        display: block;
        position: relative;
        font-size: 16px;
        padding: 14px;
        text-decoration: none;
        line-height: 1.2;
        color: #181716;
        background-color: #fff;
        cursor: pointer;
    }
    .btn a.is-active {
        background-color: #ae3131;
		color: #fff;
		font-weight: bold;
    }


    .tab-contents-item {
        display: none;
        width: 100%;
        height: auto;
        justify-content: center;
    }
    .tab-contents-item.is-active {
        display: flex;
        background-color: #ae3131;
		color: #fff;

    }
    .tab-contents-item>p {
        margin: auto;
        height: 40px;
        opacity: 0;
    }
    .tab-contents-item.is-active>.tab-contents-inner {
      animation:  fadeinAnime 2s forwards;
    }

    @keyframes fadeinAnime{
        from {
          opacity: 0;
        }
        to {
          opacity: 1;
        }
    }
.facility-slider img {
  width: 360px;
  height: 270px;
  object-fit: cover;
}

.facility-slider .slick-slide {
  margin: 0 10px;
}

@media (max-width: 768px) {
  .facility-slider img {
    width: 100%;
    height: auto;
  }
}
.facility-slider {
  width: 100%;
  display: block;
}

.facility-slider .slick-track {
  display: flex !important;
}

.facility-slider .slick-slide {
  height: auto !important;
}

.facility-slider img {
  width: 360px;
  height: auto;
  object-fit: cover;
  display: block;
}
.fade-in {
	transition: opacity 0.5s;
}
.fade-up {
	transition: opacity 0.5s;
	transition: transform 0.5s;
}
.left-in {
	transition: opacity 0.5s;
	transition: transform 0.5s;
}
.right-in {
	transition: opacity 0.5s;
	transition: transform 0.5s;
}
@keyframes slide{
	0%{
		transform:scaleX(0);
	}
	100%{
		transform:scaleX(1);
	}
}
@keyframes fadeIn{
	0%{
		opacity:0;
	}
	100%{
		opacity:1;
	}
}
@keyframes moveUp{
	0%{
		transform: translateY(0px);
	}

	100%{
		transform: translateY(-215px);
	}

}
@keyframes leftIn{
	0%{
		transform: translateX(0px);
	}

	100%{
		transform: translateX(550px);
	}

}




/*======================header===========================*/

#header {
	width: 100%;
	height: 100vh;
	position: relative;
}
.main-image {
    position: relative;
	width: auto;
    height: 100%;
	overflow: hidden;

}
.main-image .bg-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 2s ease;
}

/* 画像を指定 */
.bg1 { background-image: url(img/top-main1.png); }
.bg2 { background-image: url(img/top-main2.png); }
.bg3 { background-image: url(img/top-main3.png); }
.bg4 { background-image: url(img/top-main4.png); }

.logo {
    position: absolute;
    top: 18vh;
    left: 50%;
    width: 24%;
    margin-left: -12%;
}
.logo img {
    width: 100%;
    height: auto;
}
.h2-01 {
    position: absolute;
    width: 100%;
    font-size: 42px;
    font-weight: bold;
    color: #fff;
    text-align: center;
    top: 53vh;
    line-height: 52px;
}
.tel {
    position: absolute;
    width: 600px;
    border-radius: 34px;
    background-color:#F3AA23;
    text-align: center;
    padding: 18px 0;
    font-size: 38px;
    font-weight: bold;
    top: 77vh;
    left: 50%;
    margin-left: -300px;
    line-height: 40px;
}
.tel a, .tel2 a {
    text-decoration: none;
    color: #fff;
}
.tel2 {
    width: 600px;
    border-radius: 34px;
    background-color:#F3AA23;
    text-align: center;
    padding: 18px 0;
    font-size: 34px;
    font-weight: bold;
    color: #fff;
    line-height: 34px;
    margin: 60px auto;
}
.wrap03-inner {
    width: 54%;
    min-width: 700px;
    margin: 0 auto 40px;
}


/*==========front-page==========*/

#main {
    width: 100%;
}
.wrap01, .wrap02 {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}
.wrap01-left, .wrap02-left, .wrap01-right, .wrap02-right {
    width: 50%;
    text-align: center;
    height: auto;
    min-height: 360px;
}
.wrap01-left img, .wrap02-left img, .wrap01-right img, .wrap02-right img {
    width: 100%;
    height: auto;
}
.h3-01 {
    padding-top: 13vh;
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 14px;
}
.h4-01 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 24px;
}
.wrap03 {
    margin: 100px 0;
    width: 100%;
}
.area-map {
    text-align: center;
    margin-bottom: 20px;
}
.area-map img {
    width: 70%;
    height: auto;
}
.area-img {
    display: flex;
    flex-wrap: wrap;
}
.area-img li {
    width: 16.66%;
    height: auto;
}
.area-img li img {
    width: 100%;
    height: auto;
}

@keyframes fade {
  0%{
    opacity: 0;
  }
  20%{
    opacity: 1;
  }
  80%{
    opacity: 0;
    transform: scale(1.2);
  }
  100%{
    opacity: 0;
    z-index: 0;
  }
}





/*======================child-page===========================*/




/*======================footer===========================*/






/* 1100px以下 */
@media only screen and (max-width:1100px){
    .wrap01-left, .wrap02-left, .wrap01-right, .wrap02-right {
        width: 100%;
    }
    .wrap02-right {
        order: 1;
    }
    .wrap02-left {
        order: 2;
    }
    .logo {
       width: 360px;
        margin-left: -180px;
    }
}

/* 820px以下 */
@media only screen and (max-width:820px){
    .area-img li {
        width:  33.33%;
    }
	
}

/* 768px以下 */
@media only screen and (max-width:768px){
   
	
}


/* スマートフォン 縦(ポートレート) */
@media only screen and (max-width:680px){
    #main {
        font-size: 13px;
        line-height: 24px;
    }
    .logo {
        width: 250px;
        margin-left: -125px;
        top: 24vh;
    }
    .h2-01 {
        font-size: 20px;
        line-height: 30px;
    }
    .tel {
        width: 300px;
        margin-left: -150px;
        font-size: 18px;
        line-height: 30px;
        padding: 10px 0;
    }
    .tel2 {
        width: 300px;
        font-size: 18px;
        line-height: 30px;
        padding: 10px 0;
    }
    .h3-01 {
        padding-top: 6vh;
        font-size: 30px;
        margin-bottom: 8px;
    }
    .h4-01 {
        font-size: 15px;
    }
    .wrap01-left, .wrap02-left, .wrap01-right, .wrap02-right {
        height: 240px;
        min-height: 240px;
    }
    .wrap02-left img, .wrap01-right img {
        height: 100%;
        width: 100%;
        object-fit: cover;
    }
    .wrap01, .wrap02 {
        margin-bottom: 50px;
    }
    .wrap03-inner {
        min-width: 330px;
    }
    .area-map img {
        width: 98%;
    }
    .area-img li {
        width: 50%;
    }
    th, td {
        padding: 10px;
    }
    .cp {
        font-size: 9px;
    }
    
}