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

.new-entry-cards.large-thumb {
display: flex;
flex-wrap: wrap;
}

.new-entry-cards.large-thumb a {
width: 33.333%;
}

/768px以下/
@media screen and (max-width: 768px){
.new-entry-cards.large-thumb a {
width: 50%;
}
}

/480px以下/
@media screen and (max-width: 480px){
.new-entry-cards.large-thumb a {
width: 100%;
}
}
/* 投稿ページタイトルを中央揃えに */
.entry-title {
  text-align: center;
}

.sns-icons {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 12px;
}

.sns-icons img {
  width: 26px;
  height: 26px;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.2s ease;
}

.sns-icons img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.1);
}

.page-id-/about/ .entry-content p {
  line-height: 1.4; /* ちょっとタイトで上品に */
}
/* トップページのみにロゴをメニューバー下に表示 */
.home .header {
  position: relative;
}

.home .header::after {
  content: "";
  display: block;
  position: relative;
  background: url('https://www.istatata.com/wp-content/uploads/2025/11/title.png') no-repeat center center;
  background-size: contain;
  width: 400px;   /* ← ロゴの横幅（ここで大きさ調整） */
  height: 85px;   /* ← ロゴの高さ */
  margin: 1px auto 0; /* メニューバー下との余白調整 */
}

/* スマホサイズのときロゴを少し小さくする */
@media screen and (max-width: 767px) {
  .home .header::after {
    width: 300px;   /* ←スマホ用の幅（お好みで調整） */
    height: 50px;   /* ←スマホ用の高さ */
    background-size: contain;
  }
}
/* トップページのヘッダーとメイン画像の間の余白を詰める */
.home .header-container {
  margin-bottom: 0;
  padding-bottom: 0;
}

.home .header {
  margin-bottom: 0;
  padding-bottom: 0;
}

.home .main {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
.home #content {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.home .header::after {
  margin-bottom: 5px;
}
.page-id-/about/ .entry-content p {
  line-height: 1.7;
}
.footer {
  background: #f9f9f9;
}
.sns-icons img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.15);
  transition: all 0.25s ease;
}
