@charset "utf-8";

/*-----------------------------------------------------------
タブ切り替え
-----------------------------------------------------------*/

.tabGroup {
    max-width: 1240px;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 15px;
  	padding: 20px 5px;
  	position: relative;
    margin: auto;
}

.tabGroup:before {
    content: "";
    position: absolute;
    height: 1px;
    top: 0;
    right: 0;
    left: 0;
    margin: auto;
    width: 100%;
    background: #ccc;
    z-index: 0;
}

.tabGroup:after {
    content: "";
    position: absolute;
    height: 1px;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    width: 100%;
    background: #ccc;
    z-index: 0;
} 

.tab {
	position: relative;
	display: flex;
	align-items: center;
	flex-direction: column;
	justify-content: center;
	border: solid 1px #191918;
	color: #191918;
	/*background: #FCF6F1;*/
	text-align: center;
	padding: 10px 5px;
	border-radius: 5px;
	transition: .3s;
	cursor: pointer;
}

.tab:before {
	background: #191918;
    content: "";
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    transition: all .5s ease-out;
    width: 100%;
    opacity: 0;
  	border-radius: 5px;
	z-index: 0;
}

.tab:hover, .tab.active {
    border: solid 1px #EBDDD1; 
    color: #fff;
    transition: .3s;
}

.tab:hover .tabLogo, .tab.active .tabLogo {
    -webkit-filter: brightness(0) invert(1);
    filter: brightness(0) invert(1);
    transition: .3s;
}

.tab:hover::before, .tab.active::before {
  opacity: 1;
}

.panelGroup {
    margin: 20px auto 0;
}

.panel {
  opacity: 0;
  visibility: hidden;
  height: 0;
  overflow: hidden;
  transition: opacity 0.3s ease;
}

.panel.show {
  opacity: 1;
  visibility: visible;
  height: auto;
}

/*-----------------------------------------------------------
管理画面調整用
-----------------------------------------------------------*/

.gjs-dashed .panel {
    opacity: 1;
    visibility: visible;
    height: auto;
  	margin:30px auto 0;
}

/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */
/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */
@media screen and (min-width:576px) {

  .tabGroup {
      padding: 40px;
  }
  
  .tab {
      padding: 10px;
  }
	
}
/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */
/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */

/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */
/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */
@media screen and (min-width:1024px) {

/*-----------------------------------------------------------
タブ切り替え
-----------------------------------------------------------*/

.tabGroup {
    grid-template-columns: repeat(4,1fr);
    gap: 30px;
}

.tab {
    padding: 15px;
}

.panelGroup {
    margin: 40px auto 0;
}

}
/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */
/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */