@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){
  /*必要ならばここにコードを書く*/
}

/************************************
** みまもるまち カスタマイズ
************************************/
/* ヘッダー画像(2144x485)を縦横比どおりフルブリード表示 */
#header-container #header {
  aspect-ratio: 2144 / 485;
  height: auto;
  min-height: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
#header-container #header .header-in { height: 100%; padding: 0; position: relative; }
#header-container #header .logo-header { height: 100%; margin: 0; }
#header-container #header .site-name { display: block; width: 100%; height: 100%; }
/* サイト名は画像内に入っているため視覚的に隠す（SEO・読み上げ用には残す） */
#header-container #header .site-name-text {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
/* モバイルは縦長版(750x500)に差し替え */
@media screen and (max-width: 834px) {
  #header-container #header {
    background-image: url("https://mimamorumachi.com/wp-content/uploads/2026/07/%E8%A6%8B%E5%87%BA%E3%81%97.jpg") !important;
    aspect-ratio: 750 / 500;
  }
}
