/*
*******************
* 共通スタイル
*******************
*/
@charset "utf-8";

html, body {
    /* スクロール禁止 */
    overflow-x: hidden;
    /* 共通フォント */
    font-family: 'M PLUS Rounded 1c', sans-serif;
}

p {
    margin-bottom: 0;
}

/* フォントサイズ（小） */
.nbnb-text-small {
    font-size: min(3.5vw, 2vh);
}

/* フォントサイズ（中） */
.nbnb-text-middle {
    font-size: min(4.5vw, 2vh);
}

/* フォントサイズ（大） */
.nbnb-text-large {
    font-size: 5.5vw;
}

/* 背景 */
body {
    height: 100vh;
    text-align: center;
    text-align: -webkit-center;

    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

/* 背景透過ボタン */
.transparent-btn {
    background-color: transparent;
    border: 2px solid transparent;
}

/* ベースコンテナ */
#base-container {
    /* aspect-ratio: 1/2; */
    height: 98vh;
    margin-top: 2vh;
    text-align: left;
    text-align: -webkit-left;
}

/* バナー */
#text-banner-announce {
    margin-bottom: 0;
}

.banner-announce {
    background-color: #eb108d;
    position: relative;
    width: 90%;
}

.banner-announce:before {
    background: linear-gradient(315deg, #eb108d 50%, transparent 0), linear-gradient(45deg, transparent 50%, #eb108d 0);
    background-size: 5px 5px;
    content: "";
    position: absolute;
    top: 0;
    left: -5px;
    height: 100%;
    width: 5px;
}

.banner-announce:after {
    background: linear-gradient(45deg, #eb108d 50%, transparent 0), linear-gradient(315deg, transparent 50%, #eb108d 0);
    background-size: 5px 5px;
    content: "";
    position: absolute;
    top: 0;
    right: -5px;
    height: 100%;
    width: 5px;
}

/* ホームアイコン */
.home-icon {
    position:  absolute;
    z-index: 1;
    top: 0%;
    left: 78%;
    width: 20%; 
}

/* 戻るアイコン */
.prev-icon {
    position:  absolute;
    z-index: 1;
    top: 1%;
    left: 2%;
    width: 17%;
}

/*
* イベントを下の要素に伝達
* ボタン要素の上に画像を表示する必要がある場合に使用する
*/
.event-through {
    pointer-events: none;
}

/* Bootstrapの拡張 */
.z-4 {
    z-index: 4 !important;
}

.z-5 {
    z-index: 5 !important;
}

/* グレースケール表示 */
.gray-scale {
    filter: grayscale(100%);
}

/*
* イベントを下の要素に伝達
* ボタン要素の上に画像を表示する必要がある場合に使用する
*/
.event-through {
    pointer-events: none;
}

/* Bootstrapの拡張 */
.z-4 {
    z-index: 4 !important;
}

.z-5 {
    z-index: 5 !important;
}

/* ボタン類タップ前 */
input[type="image"], button {
    -webkit-user-select:none;
    -moz-touch-callout:none;
    -moz-user-select:none;
    user-select:none;
    pointer-events:auto;
    transition: transform 0.2s;
    -webkit-transition: -webkit-transform 0.2s;
  }
/* ボタン類タップ時（iOSは &:active{} の書き方で動作しなかった） */
input[type="image"]:active, button:active {
    opacity:0.8;
    transform: scale(.96);
    -webkit-transform: scale(.96);
}