@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
.footer {
  margin: 0!important;
  padding: 0!important;
}

/* ローディングアニメーション用CSS */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    opacity: 0;
}

.loader-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.loader-logo img {
    width: 80px;
    height: auto;
    opacity: 0;
}

.loader-spinner {
    position: relative;
    width: 60px;
    height: 60px;
}

.spinner-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-top: 3px solid #ff6b35;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.spinner-ring:nth-child(1) {
    width: 60px;
    height: 60px;
}

.spinner-ring:nth-child(2) {
    width: 40px;
    height: 40px;
    top: 10px;
    left: 10px;
    border-top: 3px solid #ff8c69;
    animation-delay: -0.1s;
}

.spinner-ring:nth-child(3) {
    width: 20px;
    height: 20px;
    top: 20px;
    left: 20px;
    border-top: 3px solid #ffa500;
    animation-delay: -0.2s;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loader-text {
    font-size: 14px;
    color: #666;
    font-weight: 500;
    letter-spacing: 1px;
    opacity: 0;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .loader-logo img {
        width: 60px;
    }
    
    .loader-spinner {
        width: 50px;
        height: 50px;
    }
    
    .spinner-ring:nth-child(1) {
        width: 50px;
        height: 50px;
    }
    
    .spinner-ring:nth-child(2) {
        width: 35px;
        height: 35px;
        top: 7.5px;
        left: 7.5px;
    }
    
    .spinner-ring:nth-child(3) {
        width: 20px;
        height: 20px;
        top: 15px;
        left: 15px;
    }
    
    .loader-text {
        font-size: 12px;
    }
}

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

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

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