@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/***** ここから自分のカスタマイズ *****/

/***** YouTube埋め込みレスポンシブ対応 *****/
.wp-block-embed__wrapper iframe {
  aspect-ratio: 16 / 9;
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
}

/* サイト全体を明朝体に */
body {
  font-family: "游明朝体", "Yu Mincho", "ヒラギノ明朝 ProN W3",
    "Hiragino Mincho ProN", "MS P明朝", "MS PMincho", serif !important;
}

/* 游明朝体（Windows 10以降） */
/* Yu Mincho（Mac） */
/* ヒラギノ明朝 ProN W3（Mac用、日本語環境） */
/* Hiragino Mincho ProN（Mac英語環境でも呼べるように英字表記） */
/* MS P明朝（古いWindows） */
/* MS PMincho（さらに古いWindows） */
/* serif（どれも無い場合、汎用的な明朝体に近いセリフ体） */


/* 固定ページタイトル中央寄せ＆スタイル */
.c-pageTitle,
.c-pageTitle__inner {
  float: none !important;
  text-align: center;
  font-size: 2rem;     /* 大きさ調整：1.8rem～2.2remくらいがバランス良い */
  font-weight: bold;  /* 太字 */
}


/* icomoon アイコンフォント: font-display: swap */
@font-face {
  font-family: 'icomoon';
  src: url('https://www.kawagoe-matsuri-navi.net/wp-content/themes/swell/assets/fonts/icomoon.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;

}


/***** ヘッダー設定ここから *****/

/* ヘッダーバー最小高さと余白 */
.l-header__barInner {
  min-height: 30px;
  padding: 5px 0;
}

/* ヘッダーバーの背景を透過 */
.l-header__bar {
  background: transparent !important;
  box-shadow: none !important;
}

/* アイコンやリンクの色（白） */
.l-header__bar .c-iconList__icon,
.l-header__bar .c-iconList__item a {
  color: #fff !important;
}

/* ヘッダーアイコンの間隔 */
.c-iconList__item {
  margin-right: 10px;
}

/* ヘッダーアイコンの最後 */
.c-iconList__item:last-child {
  margin-right: 3px;
}

/* ヘッダーアイコンサイズ */
.c-iconList__icon {
  font-size: 18px;
  width: 18px;
  height: 18px;
}

/***** ヘッダー設定ここまで *****/


/***** 機能説明 4カラム調整 *****/
.four-columns-block {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
  display: flex;
  column-gap: 8px !important;
}

.four-columns-block .wp-block-column {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.feature-col img {
  display: block;
  margin: 10px auto;
  max-width: 100%;
  height: auto !important;
}

/* セクション見出し下線の太さ */
.post_content h2.is-style-section_ttl::after {
  height: 4px;
}

/* フッター上の余白除去 */
.l-content {
  margin-bottom: 0 !important;
}


/********** PC版（961px以上） **********/
@media screen and (min-width: 961px) {

  /* ヘッダーメニュー */
  .c-gnav>.menu-item>a .ttl {
    font-size: 1.3rem;
    color: #fff;
    font-weight: bold;
    letter-spacing: 0.4px;
  }

  /* 新着情報の日付とカテゴリ */
  .p-postList__meta {
    font-size: 1.1rem;
  }

  /* 見出し */
  .post_content h2 {
    font-size: 1.7rem;
  }

  /* カラムブロック幅 */
  .wp-block-columns.is-not-stacked-on-mobile {
    max-width: 80%;
    margin: 20px auto;
  }

  /* サブ画像（レスポンシブ） */
  .mv-subimg {
    max-width: 100%;
    height: auto;
  }

  /* Appバッジ（高さ揃え） */
  .app-badge img {
    height: 120px;
    width: auto;
    display: inline-block;
    vertical-align: middle;
  }

  /* ストアバナー横並び */
  .store-banners {
    display: flex;
    justify-content: left;
    gap: 20px !important;
  }
	
  /* 念のため gap が効かない環境用の保険 */
  .store-banners .app-badge:not(:last-child) {
    margin-right: 20px;
  }
	
}


/********** タブレット版（768px～960px） **********/
@media screen and (min-width: 768px) and (max-width: 960px) {
	
	/* ヘッダーのうえにSNSアイコン強制表示 */
  .l-header__bar {
    display: block !important;
    position: relative;
    z-index: 999;
    background: transparent; /* 必要なら背景を透過 */
  }

  .l-header__barInner {
    display: flex;
    justify-content: flex-end; /* 右寄せ */
    align-items: center;
    padding: 5px 10px;
  }

  /* ヘッダーアイコンサイズ調整 */
  .c-iconList__icon {
    font-size: 20px;
    width: 20px;
    height: 20px;
  }

  /* ヘッダーアイコン同士の間隔 */
  .c-iconList__item {
    margin-right: 10px;
  }
  /* ヘッダーアイコンの最後 */
  .c-iconList__item:last-child {
    margin-right: 2px;
  }


  /* 見出し */
  .post_content h1 { font-size: 1.0rem; line-height: 1.4; }
  .post_content h2 { font-size: 0.9rem; line-height: 1.4; }
  .post_content h3 { font-size: 0.8rem; line-height: 1.4; }

  /* カラム幅100% */
  .wp-block-columns.is-not-stacked-on-mobile {
    max-width: 100% !important;
    margin: 20px auto;
  }

  /* サブ画像（タブレット用縮小） */
  .mv-subimg {
    width: 30%;
  }

  /* Appバッジ（縮小版） */
  .store-banners {
    flex-direction: column;   /* 縦並び */
    align-items: center;
    gap: 12px;                /* バナー間隔 */
  }

  .app-badge {
    width: 70vw;   /* ストアバッチのカラム */
    margin: 0 auto 16px;
  }

  .app-badge img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

	
  /* 念のため gap が効かない環境用の保険 */
  .store-banners .app-badge:not(:last-child) {
    margin-right: 15px;
  }	

}


/********** スマホ版（767px以下） **********/
@media screen and (max-width: 767px) {

	/* ヘッダーのうえにSNSアイコン強制表示 */
  .l-header__bar {
    display: block !important;
    position: relative;
    z-index: 999;
    background: transparent; /* 必要なら背景を透過 */
  }

  .l-header__barInner {
    display: flex;
    justify-content: flex-end; /* 右寄せ */
    align-items: center;
    padding: 5px 10px;
  }

  /* アイコンサイズ調整 */
  .c-iconList__icon {
    font-size: 20px;
    width: 20px;
    height: 20px;
  }

  /* アイコン同士の間隔 */
  .c-iconList__item {
    margin-right: 10px;
  }
  /* ヘッダーアイコンの最後 */
  .c-iconList__item:last-child {
    margin-right: 2px;
  }
	
	
  /* 見出し */
  .post_content h1 { font-size: 1.2rem; line-height: 1.4; }
  .post_content h2 { font-size: 1.1rem; line-height: 1.4; }
  .post_content h3 { font-size: 1.0rem; line-height: 1.4; }

  /* カラム幅100% */
  .wp-block-columns.is-not-stacked-on-mobile {
    max-width: 100% !important;
    margin: 20px auto;
  }

  /* サブ画像（スマホ用縮小） */
  .mv-subimg {
    width: 60%;
  }

  /* Appバッジ */
  .app-badge {
    width: 70vw;
    margin: 0 auto 16px;
  }
  .app-badge img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  /* ストアバナー縦並び */
  .store-banners {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
}


/********** ハンバーガーメニュー（960px以下：タブレット＆スマホ共通） **********/
@media screen and (max-width: 960px) {

  /* メニューアイコン（デフォルト時） */
  .-menuBtn .c-iconBtn__icon {
    width: 24px;
    height: 2px;
    background-color: #fff;
    display: grid;
    place-items: center;
    transition: transform .3s;
  }

  .-menuBtn .c-iconBtn__icon::before,
  .-menuBtn .c-iconBtn__icon::after {
    grid-area: 1 / 1;
    content: '';
    display: block;
    inset: 0;
    width: 24px;
    height: 2px;
    background-color: #fff;
    transition: transform .3s;
  }

  .-menuBtn .c-iconBtn__icon::before {
    transform: translateY(-8px);
  }
  .-menuBtn .c-iconBtn__icon::after {
    transform: translateY(8px);
  }

  /* メニューアイコン（オープン時） */
  [data-spmenu=opened] .-menuBtn .c-iconBtn__icon::before {
    transform: rotate(45deg);
  }
  [data-spmenu=opened] .-menuBtn .c-iconBtn__icon {
    background-color: transparent;
  }
  [data-spmenu=opened] .-menuBtn .c-iconBtn__icon::after {
    transform: rotate(-45deg);
  }

  /* ボタンラベル */
  .l-header__menuBtn .c-iconBtn::after,
  .p-spMenu__closeBtn .c-iconBtn::after {
    font-size: 10px;
    line-height: 10px;
    transform: translateY(12px);
  }

  /* メニュー本体 */
  .p-spMenu__inner {
    width: 100%;
    height: 100%;
    transform: translateX(0)!important;
    opacity: 0;
    transition: opacity .5s ease-out!important;
  }
  [data-spmenu="opened"] .p-spMenu__inner {
    opacity: 1;
  }

  /* 背景ぼかし */
  .p-spMenu__inner::before {
    background: rgba(255, 255, 255, .8);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
  }

  /* メニューをフェードイン */
  .p-spMenu__body {
    opacity: 0;
    transform: translateY(20px);
  }
  [data-spmenu="opened"] .p-spMenu__body {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 1s ease-in, transform .7s ease-out;
  }

  /* 既存メニュー削除 */
  .c-widget__title.-spmenu,
  .p-spMenu__nav {
    display: none;
  }

  /* リンクリスト余白＆中央寄せ */
  .p-spMenu__body .swell-block-linkList {
    gap: 2em;
  }
  .p-spMenu__body .swell-block-linkList__text {
    margin-inline: auto;
  }
}
