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

/************************************
** 1. 基本設定（全体）
************************************/
* {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  vertical-align: top;
}

a:hover {
  color: #777;
}

::selection {
  background-color: #eee;
}

.breadcrumb {
  display: none;
}

/************************************
** 2. ヘッダー・ナビゲーション
************************************/
#header-container {
  background: transparent;
  padding: 20px 0;
}

#header-container .navi {
  padding-top: 30px;
}

.header-container-in.hlt-top-menu .logo-header,
.header-container-in.hlt-top-menu .logo-header img {
  height: 80px;
  max-height: 80px;
}

.header-in {
  display: flex;
  flex-direction: row;
}

.header {
  display: flex;
  align-items: flex-end;
}

/* ロゴパーツ */
.logo {
  display: flex;
  align-items: center;
  gap: 6px;
}

.logo-jp {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.05em;
}

.logo-en {
  font-family: "Abril Fatface", serif !important;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #000;
  line-height: 1;
}

/* ナビゲーションメニュー */
.navi-in > ul li {
  height: auto;
}

.menu-head {
  margin-right: 20px;
}

.menu-head a {
  border: 1px solid;
  padding: 5px 10px !important;
  margin: 0 10px;
}

.menu-head a:hover {
  background: #eee !important;
}
.wp-block-latest-posts.is-grid li {
	margin: 0 1.25em 3em 0;}
/* モバイルメニュー・Slicknav */
.menu-drawer li {
  display: block;
  text-align: center;
  padding: 12px;
	font-size:18px;
}

.menu-content .menu-drawer {
    padding: 30px;
}
.slicknav_menu {
  background: #000;
  padding: 5px;
}

.slicknav_btn {
  background-color: transparent !important;
}

.slicknav_menu .slicknav_icon {
  float: left;
  margin: 0;
}

.slicknav_menu .slicknav_menutxt {
  display: none;
}

#search-menu-open {
  display: none;
}

/************************************
** 3. 投稿・固定ページ・レイアウト
************************************/
.main {
  padding: 0;
}

.content {
  margin: 0;
}

.home .content {
  margin: 30px 0 0 0;
}

.home .main {
  padding: 0px 20px;
}

/* タイトル・見出し */
.entry-title,
.archive-title {
  font-size: 32px;
  line-height: 1.3;
  text-align: center;
  margin: 70px 0;
}

.post .entry-title,
.eye-catch,
.cat-label {
  display: none;
}

.entry-card-title {
  text-align: center;
}

/* コンテンツエリア */
.entry-content {
  margin: 1em 0 0 0 !important;
}

.entry-content a:hover {
  opacity: 0.6;
}

.under-entry-content {
  margin-top: 50px;
}

/* 特定のページ設定 (ID:6など) */
#post-6 .entry-content {
  text-align: center;
}

#post-6 .entry-content a {
  text-decoration: none;
}

/************************************
** 4. 独自パーツ・アイテムボックス
************************************/
/* itemboxレイアウト */
.itembox {
  display: flex;
  gap: 50px;
}

.itembox-l {
  width: 60%;
}

.itembox-r {
  font-size: 0.8rem !important;
  width: 40%;
}

.item-txt h3 {
  padding: 0 0 15px 10px;
  margin: 0;
  font-size: 26px;
}

.itembox h4 {
  font-size: 0.8rem;
  margin: 0;
  width: 8em;
  padding: 0;
  font-family: "黎ミン B" !important;
}

/* itembox 詳細リスト (dl/dt/dd) */
.itembox-dl dl {
  border-top: 1px solid #eee;
}

.itembox-dl dt {
  margin: 0;
  display: flex;
  padding: 12px 0 12px 12px;
  border-top: 1px solid #eee;
  font-weight: 600;
}

.itembox-dl dd {
  margin: 0;
  padding: 0 12px;
}

/* ボタン・リスト */
.color-button {
  display: flex;
  margin: 0 0 14px 0;
  flex-wrap: wrap;
  gap: 14px;
}

.secList {
  padding: 2px 10px;
  background: #fff;
  border-radius: 5px;
  border: 1px solid #b6b6b6;
  font-size: 12px;
  color: #555;
  font-family: '黎ミン M';
}

.secList:hover,
.secList:focus {
  background: #e7e7e7;
}

.color-list {
  list-style: none;
  margin: 0;
}

/* その他パーツ */
.item-chart {
  text-align: center;
}

.item-chart img {
  width: 300px;
  padding: 20px;
}

.c-txt {
  font-size: 10px;
  text-align: left;
}

.listbox {
  width: 48%;
}

.detail {
  border: none !important;
  display: flex;
  flex-wrap: wrap !important;
}

.detail dt {
  width: 20% !important;
  margin-right: 0em !important;
  border: none !important;
  padding: 0 !important;
  font-weight: 100 !important;
}

.detail dd {
  width: 80% !important;
  margin-right: 0em !important;
  border: none !important;
  padding: 0 !important;
}

/************************************
** 5. 画像・ギャラリー・スライダー
************************************/
/* Top Photo Area */
.top-pho {
  display: flex;
  list-style: none;
  background-image: url(https://sign1011.co.jp/wpkoga/wp-content/uploads/2023/10/bk.png), url(https://sign1011.co.jp/wpkoga/wp-content/uploads/2023/10/bk.png);
  background-position: left top, left bottom;
  background-repeat: repeat-x, repeat-x;
  background-size: 22px;
  background-color: #000;
  padding: 24px 10px;
  align-items: center;
  flex-direction: row;
  flex-wrap: nowrap;
  margin-bottom: 16px !important;
  gap: 8px;
}

.top-pho li img {
  transition: .3s ease-in-out;
  border-radius: 5px;
}

.top-pho li:hover img {
  filter: brightness(1.15);
}

/* Zoom Image */
.zoom__img {
  overflow: hidden;
}

.zoom__img img {
  transition: transform .3s, object-position .3s;
  width: 100%;
  height: auto;
  display: block;
}

.zoom__img:hover img {
  transform: scale(2);
  position: relative;
}

/* Gallery (CSSのみの切り替え等) */
.gallery {
  display: flex;
  margin: 10px auto;
  position: relative;
  padding-top: 67%;
}

.gallery__img {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  width: 800px;
  object-fit: cover;
}

.gallery__selector:checked + .gallery__img {
  opacity: 1;
}

.gallery__thumb {
  padding-top: 6px;
  margin: 6px;
  display: block;
}

.gallery__selector {
  position: absolute;
  opacity: 0;
  visibility: hidden;
}

.gallery p {
  font-size: 10px;
}

/* Slick Slider 調整 */
.slider img {
  height: auto;
  width: 100%;
}

.thumbnail .slick-track {
  transform: unset !important;
}

.thumbnail-img {
  opacity: 0.3;
  transition: opacity .3s linear;
}

.thumbnail .slick-current {
  opacity: 1;
}

/************************************
** 6. アニメーション
************************************/
.blur {
  animation-name: blurAnime;
  animation-duration: 2s;
  animation-fill-mode: forwards;
}

@keyframes blurAnime {
  from {
    filter: blur(10px);
    transform: scale(1.02);
    opacity: 0;
  }
  to {
    filter: blur(0);
    transform: scale(1);
    opacity: 1;
  }
}

.blurTrigger {
  opacity: 0;
}

/************************************
** 7. フッター
************************************/
#footer {
  color: #666;
}

.footer {
  margin-top: 0px;
  padding: 0px;
}

.footer-bottom {
  margin: 0;
}

/************************************
** 8. レスポンシブデザイン
************************************/

/* 1023px以上 (PC) */
@media screen and (min-width: 1023px) {
  .sp { display: none; }
}

/* 1023px以下 (タブレット・スマホ共通) */
@media screen and (max-width: 1023px) {
  .pc { display: none; }
  
  .itembox {
    flex-direction: column;
    gap: 50px;
  }
  
  .itembox-l, .itembox-r {
    width: 100%;
  }

  .mobile-menu-buttons .menu-caption {
    display: none;
  }

  .mobile-header-menu-buttons {
    top: 0;
    bottom: auto;
    justify-content: space-around;
    min-width: 46px;
    box-shadow: none;
    background: none;
  }

  .has-logo-button .menu-button {
    width: 70px;
    padding: 20px;
  }

  .logo-menu-button img {
    max-height: 80px;
    display: block;
    margin: 0 auto;
  }

  .gallery__img {
    width: 100%;
    height: auto;
    object-fit: unset;
  }
}

/* 834px以下 */
@media screen and (max-width: 834px) {
 .article ul, .article ol {
        padding-left:0;
    }
.top-pho{
        padding-left: 10px!important;
    }
    .mobile-menu-buttons {
        display: flex;
        align-items: stretch;
        flex-direction: row-reverse;
    }
.container {
    margin: -20px 0 0 0;
}
  .listbox {
    width: 100%;
  }

  .content {
    margin: 20px;
  }

  .main {
    padding: 10px 16px;
  }

  .entry-title, .archive-title {
    margin: 0px 0;
  }

  .wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column {
    flex-basis: 45% !important;
  }

  #header-container {
    padding: 20px 0 0 0;
  }

  #header-container .navi {
    padding-top: 0px;
  }

  .wp-block-latest-posts.is-grid li {
    margin: 0;
    width: 45%;
  }

  main.main, div.sidebar {
    padding: 30px 0;
    margin: 12px 0;
    border-width: 0;
  }
}

/* 480px以下 (スマホ) */
@media screen and (max-width: 480px) {
.wp-block-latest-posts.is-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
	gap: 30px;
}
  .page-id-6 .menu-content {
    font-size: 22px;
  }
.menu-head {
    margin-right: 0;
}
  #header-container {
    padding: 0;
  }
}