@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
*/

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

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

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

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}
/* ==========================================
 * 1. ヒーローエリア
 * ========================================== */
.reborn-hero {
    background: linear-gradient(rgba(255, 245, 247, 0.8), rgba(255, 245, 247, 0.8)), 
                url('ここに画像のURLを入れる'); 
    background-size: cover;
    background-position: center;
    padding: 80px 20px;
    text-align: center;
    border-radius: 15px;
    margin-bottom: 30px;
    border: 2px solid #f8bbd0;
    box-shadow: 0 4px 20px rgba(216, 27, 96, 0.1);
}

.reborn-sub { font-weight: bold; color: #ff69b4; margin-bottom: 10px; font-size: 1.2rem; }
.reborn-title { font-size: 1.8rem; margin-bottom: 20px; line-height: 1.4; color: #d81b60; font-weight: bold; }
.reborn-text { font-size: 1rem; line-height: 1.8; margin-bottom: 30px; color: #4e342e; }

/* ==========================================
 * 2. ポータルレイアウト（女の子を中心に）
 * ========================================== */
.reborn-portal-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 40px 0;
}

.portal-navi img {
    width: 250px;
    height: auto;
    border-radius: 50%;
    border: 5px solid #fff;
    box-shadow: 0 0 25px rgba(248, 187, 208, 0.8);
    margin-bottom: 30px;
}

/* ==========================================
 * 3. ボタンサイズ・文字配置設定
 * ========================================== */
.top-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1200px;
}

.cat-btn {
    display: flex;
    flex-direction: column;
    align-items: center;    /* 左右中央 */
    justify-content: center; /* 上下中央 */
    text-align: center;      /* テキスト中央 */
    
    width: 320px;
    height: 230px;
    
    border-radius: 20px;
    border: 2px solid #f8bbd0;
    text-decoration: none !important;
    font-weight: bold;
    font-size: 26px; 
    line-height: 1.2;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    
    background-size: cover;
    background-position: center;
    color: #ffffff !important; 
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8), 0 0 10px rgba(0,0,0,0.5);
}

/* 画像の上の薄い影 */
.cat-btn::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.10); /* 10%に微増（白文字をより見やすく） */
    z-index: 1;
}

/* 文字とアイコンを前面に出し、中央に固定 */
.cat-btn span, 
.cat-btn-text {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%; /* 横幅いっぱいに使って中央揃え */
}

/* 絵文字のサイズ調整（90pxは大きすぎたので60pxに調整） */
.cat-btn span { 
    font-size: 60px; 
    margin-bottom: 5px; 
}

/* キラリ演出 */
.cat-btn::after {
    content: '';
    position: absolute;
    top: -50%; left: -110%; width: 30%; height: 200%;
    background: rgba(255, 255, 255, 0.4);
    transform: rotate(30deg);
    transition: none;
    z-index: 3;
}
.cat-btn:hover::after { left: 120%; transition: all 0.5s ease-in-out; }
.cat-btn:hover { transform: translateY(-5px); box-shadow: 0 12px 25px rgba(0,0,0,0.2); }

/* ==========================================
 * 4. 各ボタンの背景画像（11個分）
 * ========================================== */
.btn-1 { background-image: url('https://reborn-fufu.com/wp-content/uploads/2026/02/zyosi.jpg'); }
.btn-2 { background-image: url('https://reborn-fufu.com/wp-content/uploads/2026/02/pegasasu.jpg'); }
.btn-3 { background-image: url('https://reborn-fufu.com/wp-content/uploads/2026/02/54.png'); }
.btn-4 { background-image: url('https://reborn-fufu.com/wp-content/uploads/2026/02/gp2.jpg'); }
.btn-5 { background-image: url('https://reborn-fufu.com/wp-content/uploads/2026/02/gp4-1.png'); }
.btn-6 { background-image: url('https://reborn-fufu.com/wp-content/uploads/2026/02/gp23.png'); }
.btn-7 { background-image: url('https://reborn-fufu.com/wp-content/uploads/2026/02/neko.jpg'); }
.btn-8 { background-image: url('https://reborn-fufu.com/wp-content/uploads/2026/02/kirozyosi.jpg'); }
.btn-9 { background-image: url('https://reborn-fufu.com/wp-content/uploads/2026/02/9a8a0d37-8466-4104-ba92-964607624ebb.jpg'); }
.btn-10 { background-image: url('https://reborn-fufu.com/wp-content/uploads/2026/02/0f010805-8acf-424d-9e26-3cffc63e3b35.jpg'); }
.btn-11 { background-image: url('https://reborn-fufu.com/wp-content/uploads/2026/02/zyosi3.jpg'); }

/* ==========================================
 * 5. スマホ・レスポンシブ調整
 * ========================================== */
@media screen and (max-width: 480px) {
    .portal-navi img { width: 180px; }
    .cat-btn { 
        width: 46% !important; 
        height: 140px;         /* 高さを少しだけ詰めました */
        font-size: 17px;      /* スマホ文字サイズ微調整 */
    }
    .cat-btn span { font-size: 35px; } /* スマホ絵文字サイズ */
}








