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

/* h1 */
.category-header h1#archive-title.archive-title,
.single-post .entry-title,
body:not(.home) .page .entry-title {
    display: block !important;
    border: none !important;
    background: transparent !important;
    font-size: 1.6rem !important;
    font-weight: 500 !important;
    color: #222222 !important;
    letter-spacing: 0.08em !important;
    line-height: 1.4 !important;
    text-align: left !important;
}

.category-header h1#archive-title.archive-title .fa {
    margin-right: 0.5em !important;
    color: rgba(194, 181, 168, 0.9) !important;
}

/* h2 */
.category .entry-content h2,
.single-post .entry-content h2, 
body:not(.home) .page .entry-content h2 {
    display: block !important;
    width: 100% !important;
    background-color: #f4f0eb !important;
    border: none !important;
    padding: 0.8em 1.2em !important;
    margin: 2.5em 0 1.2em 0 !important;
    font-size: 1.35rem !important;
    font-weight: 500 !important;
    color: #222222 !important;
    line-height: 1.4 !important;
    letter-spacing: 0.05em !important;
    text-align: left !important;
    border-left: 3px solid rgba(194, 181, 168, 0.85) !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06) !important; 
}

.category .entry-content h2::before,
.category .entry-content h2::after,
.single-post .entry-content h2::before,
.single-post .entry-content h2::after,
body:not(.home) .page .entry-content h2::before,
body:not(.home) .page .entry-content h2::after {
    content: none !important;
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

/* h3 */
.single-post .entry-content h3,
body:not(.home) .page .entry-content h3 {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-left: 3px solid #f4f0eb !important;
    padding: 0 0 0.7em 14px !important;
    margin: 2.8em 0 1.4em 0 !important;
    font-size: 1.22rem !important;
    font-weight: 500 !important;
    color: #222222 !important;
    line-height: 1.4 !important;
    letter-spacing: 0.05em !important;
    text-align: left !important;
}

.single-post .entry-content h3::after,
body:not(.home) .page .entry-content h3::after {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 4px !important;
    background-color: #f4f0eb !important;
    border-radius: 1px !important;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.06) !important;
}

.single-post .entry-content h3::before,
body:not(.home) .page .entry-content h3::before {
    content: none !important;
    display: none !important;
}

/* グローバルナビ */
.skin-grayish :where(.navi-in, .navi-footer-in) a,
.skin-grayish .navi-in>ul>li>a>.caption-wrap,
.skin-grayish #navi-in [class^="icon-"],
.skin-grayish #navi-in [class*=" icon-"],
.skin-grayish .navi-in .search-menu-icon span::before,
.search-submit .fa-search {
    color: #44403c !important;
}

.skin-grayish .navi-in>ul>li>a>.caption-wrap {
    transition: color 0.25s ease-in-out !important;
}

.skin-grayish :where(.navi-in, .navi-footer-in) a:hover,
.skin-grayish :where(.navi-in, .navi-footer-in) a:hover .item-label,
.skin-grayish .navi-in .search-menu-icon:hover span::before,
.skin-grayish #navi-in a:hover [class^="icon-"],
.skin-grayish #navi-in a:hover [class*=" icon-"] {
    color: #a8a29e !important;
}

.skin-grayish .navi-in>ul>li>a>.caption-wrap::before,
.skin-grayish .navi-footer-in a::before,
.skin-grayish .navi-in>ul>li>a:hover>.caption-wrap::before,
.skin-grayish .navi-footer-in a:hover::before {
    background: #a8a29e !important;
    background-color: #a8a29e !important;
}

body:not(.home) .header-container {
    transition: transform 0.3s ease-in-out !important;
}

body:not(.home) .header-container.header-hide {
    transform: translateY(-100%) !important;
}

body.home #navi {
    transition: transform 0.3s ease-in-out !important;
}

body.home #navi.header-hide {
    transform: translateY(-100px) !important;
}

/* フッター */
.skin-grayish .footer {
    background-color: #d6d3d1 !important;
}

/* パンくずリスト */
#breadcrumb.breadcrumb,
#breadcrumb.breadcrumb a,
#breadcrumb.breadcrumb .breadcrumb-caption {
    color: #666666 !important;
    font-size: 0.85rem !important;
    letter-spacing: 0.05em !important;
    text-decoration: none !important;
}

#breadcrumb.breadcrumb a:hover,
#breadcrumb.breadcrumb a:hover .breadcrumb-caption {
    color: #222222 !important;
}

#breadcrumb.breadcrumb .fa {
    color: rgba(194, 181, 168, 0.9) !important;
    margin-right: 0.4em !important;
}

#breadcrumb.breadcrumb .fa-angle-right {
    margin-left: 0.6em !important;
    margin-right: 0.6em !important;
    opacity: 0.7 !important;
}



/* インフォメーションボックス */
.is-style-information-box {
    background: #fcfbfa !important;
    border-color: rgba(194, 181, 168, 0.85) !important;
}

.is-style-information-box::before {
    background-color: #ffffff !important;
    color: rgba(194, 181, 168, 0.85) !important;
}

/* 記事本文内の単体画像だけに前後の余白を付与 */
.article .entry-content > figure.wp-block-image {
  margin-top: 40px;
  margin-bottom: 40px;
}

/* 画像のキャプションを中央揃えにする */
.wp-block-image figcaption {
	text-align: center;
	margin: 0.8em 0 0 0;
}

/* YouTube */
.video-container {
margin: 0 auto;
}

.youtube-shorts iframe {
  position: relative;
  aspect-ratio:9 /16; /* ビデオの横/縦比 */
}

.youtube-shorts .video {
  height: 100%;
  margin: 0 auto;
  overflow: visible;
  padding-bottom: 0;
  width: 300px;   /* ビデオ横幅 */
}

/* PC（768px以上）では電話リンクを無効化し、見た目もテキストにする */
@media(min-width: 768px) {
    #access a[href^="tel:"] {
        pointer-events: none;
        color: inherit;
        text-decoration: none;
        cursor: default;
    }
}

/* スマホ（767px以下）ではタップしやすいように調整 */
@media(max-width: 767px) {
    #access a[href^="tel:"] {
        font-weight: bold;
        color: #007aff;
    }
}

/* 駐車場セクション専用の画像制御 */
.parking img {
    margin: 10px 0 !important;
    border-radius: 4px;
    border: 1px solid #555;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    width: 100%;
    height: auto;
    display: block;
}

/* 駐車場セクション専用のアコーディオン制御 */
.parking details {
    margin: 10px 0;
}

.parking summary {
    font-size: 0.9em;
    cursor: pointer;
    white-space: nowrap;
}

.parking summary::before {
    content: "📍";
}

/* マップコンテナ */
.map-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin: 10px 0 20px;
    border-radius: 8px;
    border: 1px solid #555;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    border: 0;
}