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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
.main {
  margin: 0 auto;
  width: 80%;
}

.no-sidebar .content .main {
  margin: 0 auto;
  width: 75%;
}

.article h1 {
  padding: 0.4em 0.7em;
  margin-bottom: 40px;
  color: #333;
  border-bottom: 3px solid #00a497
  }

.subtitle {
font-weight: bold;
border-left: 5px solid #d8e698;
padding: 2px 14px;
margin-bottom: 10px;
}

.archive-title {
	display:none;
}

  .wp-block-button {
    height: 100px;
    margin-bottom: 60px;
  }

  .wp-block-button__link {
    background-color: #d8e698;
    border-radius: 9999px;
    color: #333;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease, border 0.3s ease, box-shadow 0.3s ease;
    font-weight: bold;
  }

  .wp-block-button__link::after {
    content: "\f054";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #333;
    margin-left: 20px;
  }

  .wp-block-button__link:hover {
    background-color: #fff;
    color: #333;
    border: 1px solid #d8e698;
    transform: translate(5px, 5px);
    box-shadow: none;
  }

.menu-item {
	transition: background-color ease .5s;
	background-color: #f5f5f5;
	font-weight: bold;
}

.menu-item:not(:last-child) {
	margin-right: 5px;
}

.menu-item:hover {
	background-color: #D8E698;
}

.sub-menu li{
	font-size: 12px !important;
	width: inherit;
}

/*2025.01.08 追加*/
.top-column {
  padding-top: 50px;
  display: flex;
  justify-content: space-between;
}
.top-column p {
  text-align: center;
  font-weight: 700;
}
.top-column img {
  box-shadow: 0px 5px 5px 0px rgb(0, 0, 0, 0.5)
}
.top-column a {
  display: block;
  position: relative;
}
.top-column a::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: #7ED8E2;
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  transition: all .3s ease-in-out;
}
.top-column a:hover::before {
  opacity: .6;
}
.top-column .sp-img {
  display: none;
}
/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
  .top-column {
    display: grid;
    justify-content: center;
  }
  .top-column .sp-img {
    display: block;
  }
  .top-column .pc-img {
    display: none;
  }
}

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

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