/* parts.css - 小さな部品やコンポーネント */

/* グラデーションボタン */
.gradient4 {
    display: inline-block;
    padding: 10px 60px;
    margin: 20px 0 0;
    border-radius: 30px;
    text-decoration: none;
    border: 1px solid #fff;
    color: #fff;
    transition: all 0.4s ease-out;
}

#box3 .gradient4 {
    color: #925410;
    border-color: #925410;
}

.gradient4:hover,
#box3 .gradient4:hover {
    border-color: transparent;
    color: #fff;
    background: linear-gradient(270deg, #3bade3 0%, #9844b7 50%, #44ea76 100%);
    background-size: 200% auto;
    background-position: right center;
    box-shadow: 0 5px 10px rgba(250, 108, 159, 0.4);
}

/* モーダルクローズボタン */
.modaal-close {
    background: none;
    right: 20px;
    cursor: pointer;
}

.modaal-close:focus:after,
.modaal-close:focus:before,
.modaal-close:hover:after,
.modaal-close:hover:before {
    background: #666;
}

/* キャプション */
.caption {
    display: block;
    padding: 10px 0;
}

/*=============================
  スプラッシュ画面
=============================*/

/* スプラッシュ画面 */
#splash {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 9999;
    text-align: center;
}

/* ローディングバーが出るところ */
#splash_text {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1rem;
    color: #000;
    width: 200px;
    height: 20px;
    z-index: 10001;
}

/* 上下の黒いふた */
.loader_cover {
    position: absolute;
    width: 100%;
    height: 50%;
    background: black;
    z-index: 10000;
    transition: transform 1.2s ease;
}

.loader_cover-up {
    top: 0;
}

.loader_cover-down {
    bottom: 0;
}

/* 開くときのアニメ */
.coveranime.loader_cover-up {
    transform: translateY(-100%);
}

.coveranime.loader_cover-down {
    transform: translateY(100%);
}

/* 画像をくるくる回すアニメ */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* 画像の見た目とアニメ設定 */
.splash_logo {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
}

.splash_logo img {
    width: 100%;
    height: auto;
    animation: spin 2s linear infinite;
}
