@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Template:   cocoon-master
Version:    1.0.8
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1240px以下*/
@media screen and (max-width: 1240px){
  /*必要ならばここにコードを書く*/
}

/*1030px以下*/
@media screen and (max-width: 1030px){
  /*必要ならばここにコードを書く*/
}

/*768px以下*/
@media screen and (max-width: 768px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}





.shirouto-dx-btn-wrap {
    display: flex;
    justify-content: center;
    margin: 45px auto;
}
.shirouto-dx-btn-wrap a.button {
    background-color: transparent;
    border: none;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-decoration: none;
    width: 220px;
    height: 60px;
}
.shirouto-dx-btn-wrap a.button svg {
    width: 0;
    height: 0;
}
.shirouto-dx-btn-wrap a.button p {
    width: 220px;
    height: 60px;
    z-index: 9;
    font-size: 17px;
    color: #fff;
    text-align: center;
    cursor: pointer;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    transition: all 0.3s ease;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
    letter-spacing: 1px;
    user-select: none;
    pointer-events: none;
}
.shirouto-dx-btn-wrap a.button:hover p {
    transform: scale(1.1);
}
.shirouto-dx-btn-wrap a.button:hover .liquid span:not(.bg) {
    animation-play-state: running;
}
.shirouto-dx-btn-wrap a.button:active p {
    transform: scale(1);
}
.shirouto-dx-btn-wrap a.button .liquid {
    filter: url(#shirouto-dx-gooey);
    width: 220px;
    height: 200px;
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.shirouto-dx-btn-wrap a.button .liquid > span {
    position: absolute;
    top: 1px;
    left: -35px;
    width: 100%;
    height: 100%;
    display: block;
    animation: shirouto-dx-rotate 2.5s ease infinite;
    animation-delay: calc(0.15s * var(--i));
    animation-play-state: paused;
}
.shirouto-dx-btn-wrap a.button .liquid > span > span {
    animation: shirouto-dx-move 6s ease-in-out infinite;
    animation-delay: calc(0.2s * var(--i));
    background: rgba(232, 83, 74, 0.9);
    width: 50px;
    height: 50px;
    display: block;
    margin: auto;
    border-radius: 50%;
}
.shirouto-dx-btn-wrap a.button .liquid span > span::before {
    content: "";
    position: absolute;
    left: calc(50% - 20px);
    top: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(
        135deg,
        rgba(255, 130, 120, 1) 0%,
        rgba(232, 83, 74, 0.85) 40%,
        rgba(192, 53, 43, 0.75) 100%
    );
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(232, 83, 74, 0.6);
}
.shirouto-dx-btn-wrap a.button .liquid span.bg {
    animation: none;
}
.shirouto-dx-btn-wrap a.button .liquid span.bg > span::before {
    width: 220px;
    height: 50px;
    left: calc(50% - 60px);
    border-radius: 20px;
    background: linear-gradient(
        160deg,
        rgba(255, 130, 120, 1) 0%,
        rgba(232, 83, 74, 0.95) 30%,
        rgba(210, 60, 50, 0.88) 70%,
        rgba(192, 53, 43, 0.92) 100%
    );
    box-shadow: 0 0 25px rgba(232, 83, 74, 0.4);
}
.shirouto-dx-btn-wrap a.button::before {
    content: "";
    position: absolute;
    top: 1px;
    left: 0;
    width: 220px;
    height: 58px;
    border-radius: 20px;
    border: none;
    box-shadow: none;
    z-index: 10;
    pointer-events: none;
}
.shirouto-dx-btn-wrap a.button .liquid span:nth-child(2) { left: -20px; }
.shirouto-dx-btn-wrap a.button .liquid span:nth-child(1) { left: -40px; }
.shirouto-dx-btn-wrap a.button .liquid span:nth-child(3) { left: -50px; }
.shirouto-dx-btn-wrap a.button .liquid span:nth-child(4) { left: 20px; }
.shirouto-dx-btn-wrap a.button .liquid span:nth-child(7) { left: 40px; }
.shirouto-dx-btn-wrap a.button .liquid span:nth-child(6) { left: 50px; }
@keyframes shirouto-dx-rotate {
    0% { transform: rotate(0deg); }
    80%, 100% { transform: rotate(360deg); }
}
@keyframes shirouto-dx-move {
    0%, 100% { transform: translateX(0) translateY(0) scale(1); }
    20% { transform: translateX(-8px) translateY(-4px) scale(1.1); }
    40% { transform: translateX(8px) translateY(8px) scale(0.9); }
    60% { transform: translateX(-8px) translateY(4px) scale(1.1); }
    80% { transform: translateX(5px) translateY(-8px) scale(0.9); }
}
@media (pointer: coarse), (pointer: none) {
    .shirouto-dx-btn-wrap a.button .liquid > span > span { background: transparent; }
}