/* ボタンのスタイル */
.header-button {
    position: relative;
    padding: 10px 20px;
    background-color: #c299ff; /* ボタンの背景色 */
    color: #fff;
    border-radius: 10px;
    cursor: pointer;
}

/* サブメニューのスタイル */
.header-button ul {
    display: none; /* デフォルトで非表示 */
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

/* サブメニューのアイテム */
.header-button ul li {
    list-style: none;
    margin: 5px 0;
}

.header-button ul li a {
    color: #000;
    text-decoration: none;
}

/* ホバーしたときにサブメニューを表示 */
.header-button:hover ul {
    display: block;
}

/* PC版黒いバーを伸ばす */
	.wp-block-group.alignwide[style*="background-color:#160c18"] {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-size: 120% 100%;
  background-position: center center;
  padding-left: 20px !important;
  padding-right: 20px !important;
	margin-left: -100px !important;
	margin-right: -100px 
}

/* SP版ログインボタン位置調整なし */
@media screen and (max-width: 767px) {
  .wp-block-buttons.is-content-justification-right {
    position: static; 
    margin-left: 0; 
    right: auto; 
  }
}

/* PC版ログインボタン位置調整 */
@media screen and (min-width: 768px) {
  .wp-block-buttons.is-content-justification-right {
    position: sticky !important;
    right: 20px !important; 
    z-index: 999;  
    margin-left: 28px; 
  }
}

/* SP版ロゴ調整 */
@media screen and (max-width: 767px) {
  .wp-block-site-logo {
    position: static; 
    left: 20px; 
    z-index: 10; 
  }
}

/* PC版ロゴ位置調整 */
@media screen and (min-width: 768px) {
  .wp-block-site-logo {
    position: sticky;
    top: 0;
    left: 20px; 
    z-index: 10; 
  }
}

/*SP版のpaddingとmarginを除く*/
@media (max-width: 768px) {
  .wp-block-group.alignwide[style*="background-color:#160c18"] {
    padding-left: 0 !important; 
    padding-right: 0 !important; 
    margin-left: 0 !important; 
    margin-right: 0 !important; 
  }
}

/* PC版背景画像 */
.wp-block-cover__image-background {
    background-image: url('https://peska.co/wp-content/uploads/2025/03/Peska_mv（PC）.jpg') !important;
}

/* SP版背景画像 */
@media (max-width: 768px) {
    .wp-block-cover__image-background {
        background-image: url('https://peska.co/wp-content/uploads/2025/03/Peska_mv（SP）.jpg') !important;
    }
}


/*SP版で黒いバーを除く*/
@media screen and (max-width: 767px) {
    .wp-block-group.alignwide[style*="background-color:#160c18"] {
        background-color: transparent !important;
    }
}

@media screen and (max-width: 768px) {
    .wp-block-heading {
        font-size: 24px !important;
    }
}
