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

.ff-sawarabi-mincho, .wf-active .ff-sawarabi-mincho, .wp-admin-ff-sawarabi-mincho .editor-styles-wrapper {
    font-family: "Noto Serif JP", sans-serif;
}

code {
    font-family: 'Noto Serif JP', monospace;
}

.pager-post-navi {
	display: none;
}

@media (min-width: 769px) {

.skin-grayish .navi {
  position: fixed; /* 要素を画面に固定 */
  left: 0; /* 左端に配置 */
  top: 0; /* トップからの位置 */
  height: 100vh; /* ビューポートの高さに合わせる */
  width: 200px; /* ここでの幅は例えば200pxとしますが、お好みで調整してください */
  z-index: 1000; /* 他の要素よりも前面に表示 */
  overflow-y: auto; /* 内容が多い場合はスクロール可能に */
}
	
.hamburger-menu {
    display: none !important; 
  }

.skin-grayish .navi a {
  display: block;
  padding: 10px;
  color: ; /* リンクの色 */
  text-decoration: none; /* アンダーラインを消す */
}

/* ナビゲーションバー */
#navi {
  position: fixed; /* 要素を画面に固定 */
  left: 0; /* 左端に配置 */
  top: 0; /* トップからの位置 */
  height: 100vh; /* ビューポートの高さに合わせる */
  width: 200px; /* 幅を200pxに設定 */
  z-index: 1000; /* 他の要素よりも前面に表示 */
  overflow-y: auto; /* 内容が多い場合はスクロール可能に */
}

#navi a {
  display: block;
  padding: 10px;
  color: black; /* リンクの色 */
  text-decoration: none; /* アンダーラインを消す */
}

/* ヘッダー */
body {
  margin-left: 200px; /* ナビゲーションバーの幅に合わせて左側にマージンを設定 */
  width: calc(100% - 200px); /* 全体の幅からナビゲーションバーの幅を引いた幅に設定 */
  top: 0; /* トップからの位置 */
  right: 0; /* 右端に配置 */
  z-index: 500; /* ナビゲーションバーの後ろになるようにz-indexを設定 */
}
	
}

.menu-item-logo {
	margin-bottom: 300px;
}

.menu-item-logo a {
  width: 140px; /* 幅を100ピクセルに固定 */
  height: 50px; /* 高さを50ピクセルに固定 */
  object-fit: cover; /* 画像が指定したサイズに収まるように調整 */
}

.navi-in ul {
	background-color: #ffffff;
}

#menu-top {
	background-color: #ffffff;
}

footer .menu-item-logo {
    display: none;
}

@media (max-width: 768px) {
    .menu-item-logo {
        display: none;
    }
}

.menu ul {
  list-style: none; /* 箇条書きのマーカーを消す */
  margin: 0; /* 余白を消す */
  padding: 0; /* パディングを消す */
}

.header {
    background-image: url("http://shrine-sample02.satos-studio.com/wp-content/uploads/2024/04/main01.png");
}

.eximg01 {
    overflow: hidden;
}

.eximg01 img {
    transition: transform .6s ease;
}

.eximg01 p {
    transition: transform .6s ease;
}

.eximg01:hover img {
    transform: scale(1.2);
}

.eximg01:hover p {
    transform: scale(1.2);
}

.mar20px {
	margin: 0 20px
}

@media (min-width: 769px) {
  .max-width600px {
    max-width: 600px;
	      margin-left: auto;
    margin-right: auto;
  }
	
.hamburger-menu {
		display: none;
	}	
	
}

.tategaki-center {
    writing-mode: vertical-rl;
    position: absolute; /* 要素を画面に対して絶対位置で配置 */
    top: 50%; /* 上端から画面の50%の位置に */
    left: 50%; /* 左端から画面の50%の位置に */
    transform: translate(-50%, -50%); /* 要素の中心が画面の中心に来るように調整 */
    white-space: nowrap; /* テキストを折り返さない */
}

.wp-block-cocoon-blocks-column-2 .wp-block-cover, .wp-block-cocoon-blocks-column-2 .wp-block-cover-image {
min-height: 300px;
}

#header {
    display: none;
}


.header-container {
    position: relative;
    width: 100%;
    z-index: 1000;
}

.site-logo {
    width: auto;
    max-width: 400px;
}

.hamburger-menu {
    position: absolute;
    right: 10px;
    top: 10px; /* メニューの上の位置を調整 */
    width: 40px;
    height: 40px;
}

@media (min-width: 769px) {
    .site-logo {
        display: none; /* PCビューでロゴを非表示にする */
    }
}

.mobile-img {
    display: none !important;
}

@media (max-width: 768px) {
    .desktop-img {
        display: none !important;
    }
    .mobile-img {
        display: block !important;
    }
}

/* トップページのメニュー調節css */

.guide {
  border-bottom: 2px solid #E07487;
  padding-bottom: .5em;
}

.whatsnew {
    max-width: 800px !important;
    margin: 0 auto !important;
}

.custom-overlay {
  position: relative;
  display: inline-block;
  overflow: hidden;
  z-index: 1;
}

.custom-overlay a {
  display: block;
  position: relative;
}

.custom-overlay figure {
  margin: 0;
  padding: 0;
}

.custom-overlay figure img {
  display: block;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: brightness(70%);
}

.custom-overlay figure img:hover {
  transform: scale(1.1);
  filter: brightness(100%);
}

.custom-overlay .overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 2em;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
  z-index: 2;
  pointer-events: none; /* テキストがクリックできないようにする */
}

/* トップページのメニュー調節css */


.slick-arrow {
	display: none !important;
}


/* 詳細ページのメニュー調節css */
@media screen and (max-width: 1400px) {
    .skin-grayish #navi-in.wrap {
        width: auto !important;
    }
}

.skin-grayish:not(.front-top-page) .header-container {
	background-color: transparent !important;
}	

.header-container {
	background-color:
}
	
	
.skin-grayish:not(.front-top-page) #navi-in {
    height: auto !important;
}

.skin-grayish:not(.front-top-page) .navi-in>ul {
    justify-content: center !important;
}

.search-menu-button {
	 display: none !important;
}

.skin-grayish:not(.front-top-page) .navi-in>ul>li {
    height: var(--topHeaderNavisize)  !important;
}

/* 詳細ページのメニュー調節css ここまで*/

 
/* ハンバーガーメニュー */
.menu-btn {
  display: none;
}

.menu {
  list-style: none;
  padding: 0 0 20px 0;
  margin: 0 0 0 0;
  display: none;
  background: rgba(255, 255, 255, 1.00);
  position: absolute;
  top: 75px;
  right: 0;
  width: 100%;
  text-align: center;
}

.menu-btn:checked ~ .menu {
  display: block;
}

.hamburger-menu {
  display: inline-block;
  cursor: pointer;
  position: absolute;
  right: 14px;
  top: 36px;
}

.navicon {
  background: #333;
  height: 3px;
  width: 26px;
  display: block;
  position: relative;
  transition: 0.3s;
}

.navicon:before,
.navicon:after {
  content: "";
  background: #333;
  height: 3px;
  width: 26px;
  position: absolute;
  transition: 0.3s;
}

.navicon:before {
  top: -8px;
}

.navicon:after {
  bottom: -8px;
}

.menu-btn:checked + .hamburger-menu .navicon {
  background: transparent;
}

.menu-btn:checked + .hamburger-menu .navicon:before {
  transform: rotate(-45deg);
  top: 0;
}

.menu-btn:checked + .hamburger-menu .navicon:after {
  transform: rotate(45deg);
  bottom: 0;
}

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

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

@media (min-width: 769px) and (max-width: 1023px) {
	    .navi-in .menu-pc {
        display: flex;
  }
}




.news-section {
    max-width: 720px;
    width: calc(100% - 32px);
    margin: 60px auto;
}

.news-heading {
    text-align: center;
    font-size: 24px;
    margin-bottom: 28px;
}

.news-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.news-item {
    display: flex;
    align-items: baseline;
    gap: 16px;
    padding: 12px 4px;
    border-bottom: 1px solid #ccc;
    font-size: 15px;
    line-height: 1.7;
}

.news-item:first-child {
    border-top: 1px solid #ccc;
}

.news-date {
    flex-shrink: 0;
    color: #888;
    white-space: nowrap;
}

.news-title {
    color: #555;
}

.news-title a {
    color: inherit;
    text-decoration: none;
}

.news-title a:hover {
    text-decoration: none;
    opacity: 0.7;
}

@media (max-width: 768px) {
    .news-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        padding: 12px 4px;
    }

    .news-date {
        white-space: normal;
        font-size: 14px;
    }

    .news-title {
        width: 100%;
    }
}