@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){
  /*必要ならばここにコードを書く*/
}

/*フロント固定ページのタイトルを非表示*/
.home.page .entry-title{
  display: none;
}
/*フロント固定ページの投稿日を非表示*/
.home.page .post-date{
  display: none;
}

/*フロント固定ページの更新日を非表示*/
.home.page .post-update{
  display: none;
}

/*フロント固定ページの投稿者名を非表示*/
.home.page .author-info{
  display: none;
}

body .wp-block-group.top-img-text-style {
  --wp--style--global--content-size: 100% !important;
}

.top-slide-style {
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  gap: 20px;
  padding: 16px 12px;
  grid-template-columns: unset !important;

  scrollbar-width: none; /* Firefox */
}
.top-slide-style::-webkit-scrollbar {
  display: none;
}

.top-slide-style > figure.wp-block-image {
  flex: 0 0 auto;
  width: 350px;
  scroll-snap-align: start;
  margin: 0;
  box-sizing: border-box;

  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  background-color: #fff;
  transition: transform 0.3s;
}

.top-slide-style > figure.wp-block-image:hover {
  transform: translateY(-4px);
}

.top-slide-style > figure.wp-block-image:last-child {
  margin-right: 12px;
}

.top-slide-wrapper {
  position: relative;
}
.slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.4);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.3s;
}

.slide-btn:hover:enabled {
  background: rgba(0,0,0,0.7);
}

.slide-btn.prev {
  left: 8px;
}
.slide-btn.next {
  right: 8px;
}

.menu-item {
  width: 140px !important;
}

.footer-bottom {
  display: flex;
}

.footer-bottom-content {
  flex: 1;
  text-align: center;
}

.navi-footer-in,
.menu-footer {
  display: inline-flex;
  justify-content: center;
  margin: 0 auto 10px auto;
}

.wp-block-button__link:hover {
  color: #FFFF55 !important;
  background: #555 !important;
}

.ap-questions {
  border: none !important;
  background: #fff;
}

.ap-questions-item {
  background: #fff;
  border: 1px solid #fff;
}

span[itemprop="name"] {
  color: #8bc34a;
  font-weight: bold;
}

.ap-questions-count.ap-questions-acount:hover {
  background: gray !important;
  color: #fff !important;
}

.type-question {
  background: #fff !important;
}

.ap-post-history a[href*="ap_page=shortlink"] {
  pointer-events: none;
  color: #333;
}

.ap-post-history a span {
  color: #8bc34a;
  font-weight: bold;
}

.ap-login {
  display: none;
}

.wpuf-submit-button:hover {
  background: rgba(0, 0, 255, 1) !important;
  cursor: pointer;
  color: #FFFF55 !important;
}

.date-tags {
  display: none;
}

.entry-footer {
  display: none;
}

.views {
  display: none !important;
}

