
@import url('Common.css');
@import url('Spinner.css');

* {
    list-style: none;
    box-sizing: border-box;	
    font-family: sans-serif;
}
body {
  background: repeat 0 0 / 70% url('../img/cotton.jpg');
  padding-top: 120px;
}
/*header*/
header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 90px;
	background-color: var(--main-color);
    z-index: 5000;
    opacity: 0.9;
}
.logo {
    width: 9rem;
}
.header-title {
    position: absolute;
    left: 50%;
    top: 10%;
    transform: translate(-50%, 0);
    color: #fff;
    font-size: 1.4rem;
    font-weight: bold;
    text-align: center;
    z-index: 5100;
    letter-spacing: 0.1em;
    pointer-events: none;
    width: 100%;
    white-space: nowrap;
}
.salon-name {
    position: fixed;
    top: 1rem;
    left: auto;
    right: 1rem;
    color: var(--sub-color);
}
/* 技術別テーブルをページタイトルと重ならないよう下に移動 */
.table-wrapper.target1 {
    margin-top: 30px;
}
/* インディケーター（現在時刻の赤線）を正しく表示 */
.indicator-capa,
.indicator-setsubi,
.indicator-staff {
    position: absolute;
    height: 2px;
    background: red;
    z-index: 10;
    display: none;
}
.table-wrapper {
    overflow-x: auto;
    width: 100%;
    min-width: 600px;
    padding-bottom: 32px;
    position: relative;
    width: 96%;
    max-width: 96%;
    /* height: 35vh; */
    margin-left: 2%;
    padding-top: 0;
    background: #fff;
    margin-bottom: 5rem;
    /* テーブルの一番下がスクロールバーと重ならないようにする */
    margin-bottom: 24px;
}
.table-title {
    color: blue;
    height: 2.2em;
    display: flex;
    align-items: center;
}
/* 技術名（1行目）sticky: テーブルタイトルの高さ分だけ下げる */


h2 {
    position: fixed;
    top: 70px; /* headerの高さと合わせて隙間をなくす */
    left: 10px;
    right: 10px;
    padding-top: 0;
    font-size: 1.4rem;
    background-color: #FFF;
    z-index: 4900;
    line-height: 1.4rem;
}
.today, .tomorrow {
    font-size: 1.6rem;
    text-shadow: none;
}
button.prev,button.next {
    display: inline-block;
    min-width: 2rem;
    max-width: 2rem;
    margin: 0.4rem 0;
    width: 2rem;
}
button.reload, button.yoyaku-list {
    display: inline-block;
    margin: 0.4rem;
}

h2 img {
    width: 1.8rem;
    vertical-align: middle;
}
.prev, .next {
    cursor: pointer;
    padding: 0.2rem 0.4rem;
    min-width: auto;
}
#syukujitsuArea {
    white-space: nowrap;
}
#syukujitsuArea {
    color: red;
    font-size: 1.2rem;
}
.reload, .yoyaku-list {
    display: inline-block;
    width: auto;
    padding: 0.2rem;
    margin-bottom: 0.4rem;
    background-color: #F5F;
    color: white;
    font-size: 1rem;
    border-radius: 0.2rem;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
}
.grey {
    background-color: #AAA !important;
}
/*スマホのみ。スクロールの右側対策。透明になって下地が出る*/
.white {
    background-color: #FFF;
}
.blue {
    background-color: #9AC !important;
}
.capa-table {
    display: grid;
    grid-template-columns: 60px var(--grid-column);
    grid-auto-rows: minmax(30px, auto);
    gap: 0px;
    background-color: #fff;
    /* 余計なoverflow/min-width指定を削除 */
}
.setsubi-table {
    display: grid;
    grid-template-columns: 60px var(--grid-column-setsubi);
    grid-auto-rows: minmax(30px, auto);
    gap: 0px;
    background-color: #fff;
    overflow: visible;
    min-width: max-content;
}
.staff-table {
    display: grid;
    grid-template-columns: 60px var(--grid-column-staff);
    grid-auto-rows: minmax(30px, auto);
    gap: 0px;
    background-color: #fff;
    overflow: visible;
    min-width: max-content;
}

.grid-cell, .grid-cell0{
    text-align: center;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 0;
    border: 0.5px solid black;
    box-sizing: border-box;
    font-size: 0.8rem;
    line-height: 1.2;
    height: 30px;
}
.grid-cell0 {
    background-color: rgb(247, 222, 255);
}
.staff {
    background-color: rgb(255, 240, 240);
}
.time {
    background-color: rgb(255, 245, 255);
}
.grid-cell0 {
    align-items: center;
}
/* 1列目（時刻）をstickyで固定 */
.grid-table .header-cell.time {
    position: sticky;
    left: 0;
    z-index: 90;
    background: rgb(255, 245, 255);
}

.waku {
    width: 100%;
    height: 100%;
    background-color: #DFE;
    border: 2px #BDC solid;
    border-radius: 0rem;
    box-sizing: border-box;
    margin: 0;
    cursor: pointer;
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
}
.teikyubi {
    position: fixed;
    left: 10%;
    width: 80%;
    top: 35vh;
    height: 20vh;
    font-size: 3rem;
    border: 6px #666 double;
    border-radius: 1rem;
    line-height: 20vh;
    text-align: center;
}
.popup, .popup-container {
    top: 120px;
    z-index: 2000;
}
/* 予約情報ポップアップのボタン配置調整 */
.yoyaku-info-popup .btn-box {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 1rem 0.5rem;
}
.yoyaku-info-popup .btn-box button {
    flex: 1;
    min-width: 7rem;
    margin: 0.2rem;
}
.menu.PC {
    display: none;
}
.hit-name {
    cursor: pointer;
}
.SP {
    display: block;
}
.footerbox.PC {
    display: none;
}
.footerbox.SP {
    display: block;
}

