@charset "utf-8";

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

.tabGroup {
    max-width: 630px;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 12px;
    margin: 40px auto 0;
}

.tab {
	position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row-reverse;
    width: 100%;
    max-width: 220px;
    height: 60px;
    gap: 10px;
    border-radius: 100vmax;
    border: 3px solid var(--black);
    box-shadow: 3px 3px 0 var(--black);
    background: var(--white);
    overflow: hidden;
    cursor: pointer;
}


.tab p {
    letter-spacing: 0;
    line-height: 1.5em;
    color: var(--black);
    font-weight: 800;
    font-size: 16px;
    transition: all .3s;
}

.tab::after {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--black);
    border-radius: 100vmax;
    transition: all .3s;
    transform: scale(0);
}

.tab:hover::after, .tab.active::after {
    background: var(--black);
    transform: scale(1.1);
}

.tab:hover, .tab.active {
    color: var(--white);
    background: var(--black);
}

.tab:hover p, .tab.active p {
    color: var(--white);
}

.panel {
    display: none;
}

.panel.show {
    display: block;
}

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

.gjs-dashed .panel {
    display: block;
  	margin:30px auto 0;
}

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

.tab {
    font-size: 16px;
}
	
}
/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */
/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */

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

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

.tabGroup {
    gap: 30px;
}

.tab {
    padding: 15px;
}

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