/*
Theme Name: enpekoubou
Theme URI: 
Author: 
Author URI: 
Description: えんぺ工房（公式サイト）
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 5.7
Version: 
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: enpekoubou
Tags: 
*/

/*＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
共通で使用したいCSS
＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝*/
/* アイコンをグループ化して縦・横中央にする（グループにクラス名”enpe-icon-center”を付与） */
.enpe-icon-center {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-bottom: 8px;
}

.enpe-icon-center svg {
  display: block;
}

.enpe-display-none {
  display: none;
}

/* PCで非表示 */
@media (min-width: 783px) {
  .enpe-pc-display-none {
    display: none;
  }
}

/* スマホ・タブレットで非表示 */
@media (max-width: 782px) {
  .enpe-sp-display-none {
    display: none;
  }
}

/* パソコン・PCの両方で表示しない */
.enpe-display-none {
  display: none;
}
/***************************/
/* アイコンをグループ化して「縦」中央にする（グループにクラス名”enpe-icon-center”を付与） */
.enpe-icon-center-tate {
  display: flex;
  justify-content: center;
  /* align-items: center; */
  /* width: 100%; */
  /* margin-bottom: 8px; */
}

.enpe-icon-center-tate svg {
  display: block;
  /* width: 42px; */
  /* height: 42px; */
}

/*＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
共通で使用したいCSS　end
＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝*/

/*＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
パターン化したCSS
＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝*/
/********************************/
/* 公式案内を見る ボタン */

.enpe-official-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;

  min-width: 260px;
  padding: 14px 28px;

  color: #fff;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  line-height: 1.4;

  background: #0b5fa5;
  border: 1px solid #084f8a;
  border-radius: 999px;

  box-shadow: 0 4px 10px rgba(11, 95, 165, 0.22);
  transition:
    background-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.enpe-official-button:hover {
  color: #fff;
  background: #084f8a;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(11, 95, 165, 0.28);
}

.enpe-official-button:focus-visible {
  outline: 3px solid rgba(94, 132, 154, 0.35);
  outline-offset: 3px;
}

/* スマホ */
@media (max-width: 781px) {
  .enpe-official-button {
    width: 100%;
    min-width: 0;
    padding: 14px 20px;
    font-size: 15px;
  }
}

/* 公式案内を見る ボタン end*/

/* 
   チェック付き情報カード
   親グリッドに .enpe-check-grid を指定
 */

.enpe-check-grid {
  --check-card-color: #17659a;
  --check-card-border: #c8dbe7;
  --check-card-bg: #ffffff;

  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 20px;
  align-items: stretch;
}

/* 各カード */
.enpe-check-grid > .wp-block-group {
  position: relative;
  box-sizing: border-box;
  min-width: 0;
  height: 100%;
  margin: 0;
  padding: 26px 26px 26px 76px;

  background: var(--check-card-bg);
  border: 1px solid var(--check-card-border);
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(31, 72, 99, 0.07);
}

/* 青いチェックマーク */
.enpe-check-grid > .wp-block-group::before {
  content: "✓";
  position: absolute;
  top: 25px;
  left: 24px;

  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;

  color: #ffffff;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;

  background: var(--check-card-color);
  border-radius: 50%;
}

/* カード内の段落 */
.enpe-check-grid > .wp-block-group p {
  margin: 0;
  font-size: 16px;
  line-height: 1.9;
}

/* 段落先頭の太字をカードタイトルにする */
.enpe-check-grid > .wp-block-group p > strong:first-child {
  display: block;
  margin-bottom: 8px;

  color: var(--check-card-color);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.45;
}

/* タイトルを見出しブロックで作った場合にも対応 */
.enpe-check-grid > .wp-block-group > .wp-block-heading {
  margin: 0 0 8px;
  color: var(--check-card-color);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.45;
}

/* スマホ */
@media (max-width: 700px) {
  .enpe-check-grid {
    grid-template-columns: 1fr !important;
    gap: 14px;
  }

  .enpe-check-grid > .wp-block-group {
    padding: 22px 20px 22px 66px;
    border-radius: 10px;
  }

  .enpe-check-grid > .wp-block-group::before {
    top: 21px;
    left: 18px;
    width: 34px;
    height: 34px;
    font-size: 20px;
  }

  .enpe-check-grid > .wp-block-group p {
    font-size: 15px;
    line-height: 1.85;
  }

  .enpe-check-grid > .wp-block-group p > strong:first-child,
  .enpe-check-grid > .wp-block-group > .wp-block-heading {
    font-size: 18px;
  }
}

/* 
   チェック付き情報カード
   親グリッドに .enpe-check-grid を指定
 end*/

/********************************/

/*＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
パターン化したCSS　end
＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝*/

/*＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
cafeブログ
＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝*/
/* CAFEの特徴カード */

.cafe-mood-item {
  display: grid !important;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  column-gap: 24px !important;
  width: 100%;
}

/* 48pxの左列内に40pxのアイコンを中央配置 */
.cafe-mood-item svg {
  display: block;
  width: 40px;
  height: 40px;
  justify-self: center;
  align-self: center;
  transform-origin: center;
}

.cafe-mood-item p {
  margin: 0;
  min-width: 0;
  line-height: 1.8;
  overflow-wrap: normal;
  word-break: normal;
}

@media (max-width: 781px) {
  .cafe-mood-item {
    grid-template-columns: 40px minmax(0, 1fr);
    column-gap: 16px !important;
  }

  .cafe-mood-item svg {
    width: 34px;
    height: 34px;
  }

  .cafe-mood-item p {
    font-size: 15px;
    line-height: 1.7;
  }
}

/* アイコンごとのサイズ調整 ここはブログのカスタムCSSに直接いれた　*/
/* 以下は効いていない */
.sample .cafe-mood-item svg.mood-icon--1 {
  transform: scale(1);
}

.sample .cafe-mood-item svg.mood-icon--2 {
  transform: scale(0.95);
}

.sample .cafe-mood-item svg.mood-icon--3 {
  transform: scale(0.95);
}

/**********************/
/***** タイトル位置 *****/

/* PC用　PC用　PC用 */
@media (min-width: 769px) {
  .cafe-hero-cover {
    min-height: 520px;
  }

  .cafe-hero-cover .wp-block-columns {
    width: 100%;
    min-height: 520px;
    align-items: center;
  }

  .cafe-hero-cover .wp-block-column:nth-child(2) {
    display: flex;
    justify-content: flex-end;
    padding-right: clamp(24px, 5vw, 72px);
    box-sizing: border-box;
  }

  .cafe-hero-shape {
    width: min(620px, 100%);
    min-height: 340px;
    margin-left: auto;
    margin-right: 0;

    /* 基本位置 */
    --cafe-hero-x: 0px;
    --cafe-hero-y: -70px;

    transform: translate(var(--cafe-hero-x), var(--cafe-hero-y));
  }

  .cafe-hero-shape::before {
    background: rgba(255, 255, 255, 0.85);
  }
}

/* スマホ用　スマホ用　スマホ用 */
@media (max-width: 768px) {
  .cafe-hero-cover {
    min-height: 620px;
  }

  .cafe-hero-cover .wp-block-columns {
    display: block !important;
    width: 100%;
  }

  .cafe-hero-cover .wp-block-column {
    width: 100% !important;
    flex-basis: 100% !important;
  }

  .cafe-hero-cover .wp-block-column:first-child {
    display: none;
  }

  .cafe-hero-shape {
    position: relative;
    width: 100%;
    max-width: none;
    min-height: auto;
    margin: 120px auto 28px;
    padding: 34px 28px !important;

    /* スマホの基本位置 */
    transform: translate(var(--cafe-hero-x, 0px), var(--cafe-hero-y, -170px));

    display: flex;
    align-items: flex-start;
    justify-content: center;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.82);
    border-radius: 58% 42% 48% 52% / 46% 38% 62% 54%;
  }

  .cafe-hero-shape .wp-block-post-title {
    position: relative;
    z-index: 1;
    font-size: 1.35rem;
    line-height: 1.55;
    max-width: 11em;
    margin: 0 auto;
  }

  .cafe-hero-shape::before {
    content: "";
    position: absolute;
    z-index: -1;

    top: 50%;
    left: 50%;
    width: 128vw;
    min-width: 420px;
    height: calc(100% + 90px);
    transform: translate(-50%, -50%);

    background: rgba(255, 255, 255, 0.84);
    backdrop-filter: blur(2px);

    border-radius: 52% 48% 50% 50% / 44% 40% 60% 56%;
  }

  .cafe-hero-cover .wp-block-cover__image-background {
    object-position: 29% center !important;
  }

  .orikaesi {
    display: inline-block;
  }
}

/***** タイトル位置 end *****/
/**************************/

/*＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
cafeブログ　end
＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝*/

/*＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
個別　cafeブログ　
＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝*/

/* nanako（body.postid-2737）＝＝＝＝＝＝＝＝＝＝*/

/* タイトル位置 */
/* PC用 */
@media (min-width: 769px) {
  body.postid-2737 .cafe-hero-shape {
    --cafe-hero-x: -80px;
    --cafe-hero-y: 92px;
  }
}
/* スマホ用 */
@media (max-width: 768px) {
  body.postid-2737 .cafe-hero-shape {
    --cafe-hero-x: 0px;
    --cafe-hero-y: 240px;
  }
}

/***********************************/
/* タイトルの文字をうわ寄せ（スマホのみ） */
/* スマホ */
/* nanako：スマホのタイトル・説明文だけ上へ */
@media (max-width: 768px) {
  body.postid-2737 .cafe-hero-shape > .wp-block-post-title,
  body.postid-2737 .cafe-hero-shape > .wp-block-post-excerpt {
    transform: translateY(-24px);
  }
}

/* nanako：スマホの背景画像位置 */
/* nanako：スマホの背景画像を上へ移動 */
@media (max-width: 768px) {
  body.postid-2737 .cafe-hero-cover .wp-block-cover__image-background {
    width: 100% !important;
    height: 115% !important;
    top: -15% !important;
    left: 0 !important;

    object-fit: cover !important;
    object-position: 29% center !important;
  }
}

/* nanako end＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝=*/

/*＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
個別　cafeブログ　end
＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝*/

/* ========================================
   舞鶴の注目情報
   （花火大会のみで必要になるCSSも含まれている。
   花火のイメージもここのCSSで作成。まあ、そのへんはおいおい）
======================================== */

/* セクション全体 */
.enpe-featured-section {
  margin-top: 48px;
  margin-bottom: 56px;
}

/* 見出し
------------------------------ */
.enpe-featured-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px !important;
}

.enpe-featured-heading::before {
  content: "";
  display: block;
  width: 6px;
  height: 1.25em;
  border-radius: 10px;
  background: #2f68b7;
  flex-shrink: 0;
}

/* 注目情報カード
------------------------------ */
.enpe-featured-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;

  padding: 72px 38px 30px !important;

  border: 1px solid #c6d9ed;
  border-radius: 14px;

  background:
    radial-gradient(
      circle at 88% 20%,
      rgba(255, 182, 207, 0.16) 0,
      rgba(255, 182, 207, 0) 24%
    ),
    radial-gradient(
      circle at 76% 12%,
      rgba(111, 181, 235, 0.15) 0,
      rgba(111, 181, 235, 0) 27%
    ),
    linear-gradient(135deg, #f9fcff 0%, #eef7ff 62%, #f8fbff 100%);

  box-shadow:
    0 8px 24px rgba(44, 79, 113, 0.1),
    0 2px 5px rgba(44, 79, 113, 0.06);
}

/* カード内のブロックを装飾より前に表示 */
.enpe-featured-card > * {
  position: relative;
  z-index: 2;
}

/* 「注目」バッジ */
.enpe-featured-card::before {
  content: "★ 注目";

  position: absolute;
  top: 28px;
  left: 38px;
  z-index: 3;

  display: inline-flex;
  align-items: center;

  padding: 5px 13px;

  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.04em;

  background: #2f68b7;
  border-radius: 999px;

  box-shadow: 0 3px 8px rgba(47, 104, 183, 0.2);
}

/* 右側の花火風装飾 */
.enpe-featured-card::after {
  content: "✺  ✹";

  position: absolute;
  top: 26px;
  right: 28px;
  z-index: 1;

  font-size: clamp(64px, 7vw, 100px);
  line-height: 1;
  letter-spacing: 6px;

  background: linear-gradient(
    90deg,
    rgba(70, 149, 211, 0.34),
    rgba(232, 126, 172, 0.32),
    rgba(235, 179, 77, 0.32)
  );

  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;

  transform: rotate(-7deg);
  pointer-events: none;
}

/* タイトル
------------------------------ */
.enpe-featured-title {
  max-width: 74%;
  margin-top: 0 !important;
  margin-bottom: 18px !important;

  font-size: clamp(25px, 2.3vw, 34px);
  line-height: 1.35;
  letter-spacing: 0.01em;
}

/* 説明文エリア
------------------------------ */
.enpe-featured-copy {
  max-width: 75%;
}

.enpe-featured-copy p:not(.enpe-featured-button) {
  margin-top: 0;
  margin-bottom: 6px;

  font-size: 16px;
  line-height: 1.9;
}

/* ボタン
------------------------------ */
.enpe-featured-button {
  width: fit-content;
  margin-top: 22px !important;
  margin-bottom: 0 !important;
}

.enpe-featured-button a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;

  min-height: 50px;
  padding: 10px 20px;

  color: #245ba6;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none !important;

  background: rgba(255, 255, 255, 0.88);
  border: 2px solid #316ac0;
  border-radius: 8px;

  box-shadow: 0 3px 8px rgba(49, 106, 192, 0.08);

  transition:
    color 0.25s ease,
    background-color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.enpe-featured-button a::after {
  content: "›";

  font-size: 28px;
  font-weight: 400;
  line-height: 1;

  transition: transform 0.25s ease;
}

.enpe-featured-button a:hover {
  color: #ffffff;
  background: #316ac0;

  transform: translateY(-2px);

  box-shadow: 0 7px 15px rgba(49, 106, 192, 0.2);
}

.enpe-featured-button a:hover::after {
  transform: translateX(4px);
}

/* キーボード操作時 */
.enpe-featured-button a:focus-visible {
  outline: 3px solid rgba(49, 106, 192, 0.3);
  outline-offset: 4px;
}

/* スマホ */
@media screen and (max-width: 781px) {
  .enpe-featured-section {
    margin-top: 38px;
    margin-bottom: 44px;
  }

  .enpe-featured-heading {
    gap: 10px;
    margin-bottom: 18px !important;
  }

  .enpe-featured-heading::before {
    width: 5px;
  }

  .enpe-featured-card {
    padding: 64px 20px 24px !important;

    border-radius: 12px;
  }

  .enpe-featured-card::before {
    top: 22px;
    left: 20px;

    padding: 4px 11px;
    font-size: 13px;
  }

  .enpe-featured-card::after {
    top: 20px;
    right: 6px;

    font-size: 58px;
    letter-spacing: 0;
    opacity: 0.55;
  }

  .enpe-featured-title {
    max-width: 100%;
    margin-bottom: 14px !important;

    font-size: 24px;
  }

  .enpe-featured-copy {
    max-width: 100%;
  }

  .enpe-featured-copy p:not(.enpe-featured-button) {
    font-size: 15px;
    line-height: 1.85;
  }

  .enpe-featured-button {
    width: 100%;
    margin-top: 20px !important;
  }

  .enpe-featured-button a {
    width: 100%;
    min-height: 52px;
    padding: 10px 15px;
  }
}

/* スマホでボタンが画面からはみ出したのでCSSを追加 */
/* 注目情報ボタンのはみ出し修正 */
.enpe-featured-button {
  max-width: 100%;
}

.enpe-featured-button a {
  box-sizing: border-box;
  max-width: 100%;
}

@media screen and (max-width: 781px) {
  .enpe-featured-button {
    width: 100%;
    max-width: 100%;
  }

  .enpe-featured-button a {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;

    padding: 10px 14px;
    gap: 10px;

    text-align: center;
  }
}

/* ========================================
   舞鶴の注目情報 ここまで
======================================== */

/* body上部のデフォルトのpaddingを削除 */
/* ページ上部の余白を取ろうとしても次々とこ要素で余白をとろうとする。なんで？ */
body,
main {
  padding-top: 0;
  margin-top: 0;
}

/* セル幅25:75 */
.is-style-cellWidth25_75 td {
  border: none;
}
.is-style-cellWidth25_75 tr td:nth-of-type(1) {
  width: 25%;
}
.is-style-cellWidth25_75 tr td:nth-of-type(2) {
  width: 75%;
  color: #4d484a;
}
.is-style-cellWidth25_75 tbody tr:nth-child(odd) {
  background-color: #f0f0f0;
}

/* border-bottomだけを残す */
.is-style-border_bottom_only td {
  border: none; /* 全てのセルのボーダーを消す */
  border-bottom: 1px solid black;
}
/* tr:last-child td {
  border-bottom: 2px solid black; /* 最下行にもボトムボーダーを適用（冗長ですが念のため） */

/* 緑の影を付ける */
.is-style-lpshadow {
  text-shadow: 0 0 10px rgba(0, 0, 0, 1);
  text-shadow: 0 0 10px #27dd3a;
}

/* headingの上、footerの下の余白（padding）の削除 */
.wp-site-blocks {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* MetaSliderの画像サイズの調整 */
#metaslider-id-104 {
  position: relative;
  left: 0;
  top: 0;
  z-index: 0;
  width: 100vw !important;
  height: 100vh !important;
  background: #fff;
}
#metaslider_container_104 img {
  object-fit: cover;
  height: 100vh;
}
header {
  position: fixed;
  width: 100%;
  /* height: 10vh; */
  /* background-color: rgba(0, 0, 0, 0.5); */
  z-index: 100;
}
@media (max-width: 787px) {
  #metaslider-id-104 {
    height: 90vh;
  }
  #metaslider_container_104 img {
    height: 90vh;
  }
}

/* headerのテキストを黒でふちどり
.header_div {
  background-color: hsla(0,0%,0%,0.5); 
  color: #fff;
  text-shadow: 
  1px 1px 0px black,   
  -1px 1px 0px black,  
  1px -1px 0px black,  
  -1px -1px 0px black; 
} */

.header_div {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.5),
    rgba(255, 255, 255, 0)
  );
}

/* pcで表示しない */
@media (min-width: 768px) {
  .enpe-pc-display-none {
    display: none;
  }
}
/* ********************** */
/* 各ページごとの設定 */
/* ********************** */

/* ****観光案内＿自衛隊のページ**** */
/* PC用 */
@media (min-width: 768px) {
  .m_zaisekikan figure {
    height: 200px; /* 高さを統一 */

    /*background-color: #f00;*/ /* 余白部分の背景色（必要に応じて変更可） */
  }
  .m_zaisekikan span {
    height: 100%;
  }
  .m_zaisekikan img {
    object-fit: cover; /*画像全体を収める*/
  }
}

/*＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
自然文化園あじさいブログのページ
＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝*/

@media (max-width: 781px) {
  .enpe-sp-stack {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
  }

  .enpe-sp-stack > .wp-block-column {
    width: 100% !important;
    flex-basis: 100% !important;
    max-width: 100% !important;
  }
}

/* ２列の２段 */
/* 公式インフォメーション：スマホで2列×2段 */
@media (max-width: 781px) {
  .enpe-official-info-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  .enpe-official-info-grid > .wp-block-column {
    width: 100% !important;
    flex-basis: auto !important;
    max-width: 100% !important;
    margin: 0 !important;
  }

  .enpe-official-info-grid > .wp-block-column > .wp-block-group {
    height: 100%;
    box-sizing: border-box;
  }
}

/* スマホでアイコンを小さくしない */
.enpe-heading-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.enpe-heading-row svg {
  width: 36px !important;
  height: 36px !important;
  min-width: 36px;
  flex-shrink: 0;
  display: block;
}

.enpe-heading-row .wp-block-heading {
  min-width: 0;
  line-height: 1.35;
}

/*＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
ランチブログ　KANMA
＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝*/

/*＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
ランチブログ　KANMA　おわり
＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝*/

/*＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
居酒屋ブログ　サンプル　ここから
＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝*/

/*ーーーーーーーーーーーーーーーーーーーーー*/
/* いただいたメニュー：2列×2段グリッド */
.izakaya-menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 18px;
}

/* WordPressグループの余計な幅制限対策 */
.izakaya-menu-grid.wp-block-group {
  max-width: none;
}

/* 各メニューカード */
.izakaya-menu-card {
  margin: 0;
}

/* カード内の画像ブロック */
.izakaya-menu-card .wp-block-image {
  margin: 0;
}

/* 画像 */
.izakaya-menu-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  border-radius: 6px;
}

/* メニュー名 */
.izakaya-menu-name {
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 1.45;
  text-align: center;
}
/*ーーーーーーーーーーーーーーーーーーーーー*/

/*ーーーーーーーーーーーーーーーーーーーーー*/
/* 居酒屋 基本情報 行レイアウト
   アイコン｜項目名｜内容 の3列に揃える*/

/* 1行ごとの横並びをgridで上書き */
.izakaya-info-row {
  display: grid !important;
  grid-template-columns: 24px 5.2em 1fr;
  column-gap: 12px;
  align-items: start;

  /* WordPressのflex用gapを無効寄りにする */
  gap: 0 12px !important;
}

/* アイコン列 */
.izakaya-info-row > .izakaya-info-icon {
  width: 24px;
  min-width: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.6;
}

/* SVGアイコンのサイズを固定 */
.izakaya-info-row > .izakaya-info-icon svg {
  width: 20px;
  height: 20px;
  display: block;
}

/* 行内の段落の余白をリセット */
.izakaya-info-row > p {
  margin: 0;
  line-height: 1.6;
}

/* 2列目：項目名 */
.izakaya-info-row > p:nth-of-type(1) {
  color: #d2b675;
  font-weight: 700;
  white-space: nowrap;
}

/* 3列目：内容 */
.izakaya-info-row > p:nth-of-type(2) {
  color: #fff;
}
/*ーーーーーーーーーーーーーーーーーーーーー*/

/*ーーーーーーーーーーーーーーーーーーーーー*/
/* 項目の区切り線 */
.izakaya-section-heading {
  border-bottom: 1px solid rgba(90, 65, 35, 0.35);
  padding-bottom: 10px;
  margin-bottom: 18px;
}
/*ーーーーーーーーーーーーーーーーーーーーー*/

/*ーーーーーーーーーーーーーーーーーーーーー*/
/* 見出し全体：アイコン＋見出し文字 */
.izakaya-section-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(90, 65, 35, 0.25);
  padding-bottom: 10px;
  margin-bottom: 18px;
}

/* アイコンを包んでいるグループ */
.izakaya-section-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: #c6a45d;
}

/* カスタムHTML内のSVG */
.izakaya-section-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

/* 見出し文字 */
.izakaya-section-heading h2 {
  margin: 0;
  line-height: 1.2;
}
/*ーーーーーーーーーーーーーーーーーーーーー*/

/*ーーーーーーーーーーーーーーーーーーーーー*/
/* おすすめポイントのリスト */
.izakaya-point-list {
  list-style: none;
  padding-left: 0;
  margin: 18px 0 0;
}

/* 1行ごと：アイコン列＋本文列 */
.izakaya-point-list li {
  display: grid;
  grid-template-columns: 1.2em 1fr;
  column-gap: 12px;
  align-items: center;
  margin-bottom: 14px;
  line-height: 1.7;
}

/* リストマーク */
.izakaya-point-list li::before {
  content: "✓";
  width: 1.1em;
  height: 1.1em;
  border-radius: 50%;
  background: #c6a45d;
  color: #fff;
  font-size: 0.75em;
  font-weight: 700;
  line-height: 1.1em;
  text-align: center;
  display: inline-block;
}

/* 店内の画像の高さを抑える */
/* お店の雰囲気画像 */
.izakaya-atmosphere-img img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

/* スマホでは少し高さを残す */
@media (max-width: 781px) {
  .izakaya-atmosphere-img img {
    aspect-ratio: 4 / 3;
  }
}

/* ヒーローに「SAMPLE」の文字を表示 */
.izakaya-hero::after {
  content: "SAMPLE";
  position: absolute;
  right: 6%;
  bottom: 10%;
  font-size: clamp(48px, 9vw, 120px);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.3);
  pointer-events: none;
  z-index: 2;
}

/* 「お店の基本情報」のアイコンを垂直中央に */
.izakaya-info-row {
  display: grid !important;
  grid-template-columns: 24px 5.5em 1fr;
  column-gap: 12px;
  align-items: center;
}

.izakaya-info-row > .izakaya-info-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.izakaya-info-row > .izakaya-info-icon svg {
  display: block;
  width: 20px;
  height: 20px;
}
/*＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
居酒屋ブログ　おわり
＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝*/

/*＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
ちゃった祭り2026　ここから
＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝*/
/********************************/
/*カードのボーダーと背景*/
.chatta-info-grid {
  background: #fbfdff;
  border: 1px solid #5e849a;
  border-radius: 14px;
  padding: 20px 14px;
}

.chatta-point-card {
  background: #fff;
  border: 1px solid #5e849a;
  border-radius: 14px;
  padding: 20px 14px;
}

/********************************/
/* 公式案内を見る ボタン */
.chatta-official-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;

  min-width: 260px;
  padding: 14px 28px;

  color: #fff;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  line-height: 1.4;

  background: #0b5fa5;
  border: 1px solid #084f8a;
  border-radius: 999px;

  box-shadow: 0 4px 10px rgba(11, 95, 165, 0.22);
  transition:
    background-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.chatta-official-button:hover {
  color: #fff;
  background: #084f8a;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(11, 95, 165, 0.28);
}

.chatta-official-button:focus-visible {
  outline: 3px solid rgba(94, 132, 154, 0.35);
  outline-offset: 3px;
}

/* スマホ */
@media (max-width: 781px) {
  .chatta-official-button {
    width: 100%;
    min-width: 0;
    padding: 14px 20px;
    font-size: 15px;
  }
}

.chatta-button-wrap {
  margin: 28px 0 10px;
  text-align: left;
}

.chatta-official-note {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: #333;
  text-align: left;
}

@media (max-width: 781px) {
  .chatta-button-wrap {
    text-align: center;
  }

  .chatta-official-note {
    text-align: center;
  }
}
/*** 上記は事前のお知らせで作成。
花火大会事後ブログ内でも使用している可能性あり ***/

/*** 以下は花火大会事後ブログで使用 ***/

/* ヒーロー部の調整 */
@media (min-width: 782px) {
  body.postid-3007 .enpe-hero img.wp-block-cover__image-background {
    object-position: center 15% !important;
  }
}

/*＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
ちゃった祭り2026　ここまで
＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝*/

/*＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
神崎海水浴場　ここから
＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝*/
/********************************/

/* 神崎海水浴場 Googleマップ */
.kanzaki-map {
  width: 100%;
  height: 420px;
  overflow: hidden;
  border-radius: 16px;
}

.kanzaki-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 600px) {
  .kanzaki-map {
    height: 320px;
    border-radius: 12px;
  }
}

/********************************/

/* ヒーロー部 */
/* 神崎海水浴場 ヒーロー */
.enpe-kanzaki-hero {
  min-height: 440px;
}

/* PCの半透明ボックス */
.enpe-kanzaki-hero-box {
  width: min(600px, 100%);
  max-width: 600px;
}

/* スマートフォン */
@media (max-width: 782px) {
  .enpe-kanzaki-hero {
    min-height: 540px;
    padding: 24px 16px 0 !important;
    align-items: flex-start;
  }

  .enpe-kanzaki-hero-box {
    width: 100%;
    max-width: none;
    margin: 0 !important;
    padding: 20px !important;
    background-color: rgba(247, 249, 252, 0.84) !important;
  }

  .enpe-kanzaki-hero-box h2 {
    font-size: 30px !important;
    letter-spacing: 0.16em !important;
  }

  .enpe-kanzaki-hero-box p {
    font-size: 15px;
    line-height: 1.7;
  }
}

@media (max-width: 782px) {
  .enpe-kanzaki-hero {
    min-height: 440px;
  }
}

/* ココから追加 */
@media (max-width: 782px) {
  .enpe-kanzaki-hero {
    min-height: 440px;
    padding: 16px !important;
    align-items: flex-start !important;
  }

  .enpe-kanzaki-hero-box {
    padding: 16px !important;
  }

  .enpe-kanzaki-hero-box h2 {
    font-size: 28px !important;
    letter-spacing: 0.12em !important;
  }

  .enpe-kanzaki-hero-box p {
    font-size: 14px;
    line-height: 1.6;
  }
}

/* さらに追加 */
@media (max-width: 782px) {
  .enpe-kanzaki-hero-box {
    padding: 14px !important;
  }

  .enpe-kanzaki-hero-box p {
    line-height: 1.55;
  }
}
/*＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
神崎海水浴場　ここまで
＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝*/

/*＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
海のまとめ　ここから
＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝*/

/* 舞鶴の海一覧・ギャラリー */
.enpe-sea-gallery {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* WordPress標準ギャラリーの幅指定を解除 */
.enpe-sea-gallery > figure.wp-block-image {
  width: 100% !important;
  flex: none !important;
  margin: 0 !important;
}

/* 画像を16:9で統一 */
.enpe-sea-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 4px;
}

/* スマホでは1列 */
/* @media (max-width: 781px) {
  .enpe-sea-gallery {
    grid-template-columns: 1fr;
  }
} */

/*＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
神崎海水浴場　ここまで
＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝*/

/* =========================
   海の見えるカフェ・ランチ
========================= */

/*** ヒーロータイトル ***/

/* タイトル全体 */
.enpe-title-group1 {
  width: min(820px, 92%);
  margin: 0 auto;
  gap: 10px !important;
  position: relative;
  top: -10px;
}

/* ロゴ＋キャッチコピー部分 */
.enpe-title-group1 > .wp-block-group:first-child {
  gap: 4px;
}

/* ロゴ画像 */
.enpe-title-group1 .wp-block-image {
  margin-bottom: 0;
}

/* キャッチコピー */
.enpe-title-group1 p {
  margin: 0;
  text-align: center;
  font-size: clamp(13px, 1.3vw, 17px);
  line-height: 1.4;
  color: #222;
}

/* H1全体 */
.sea-lunch-title {
  width: min(760px, 94%);
  margin: 0 auto !important;
  text-align: center;
  color: #245f93;
  font-weight: 400;
  line-height: 1;
}

/* 海の見えるカフェ・ランチ */
.sea-lunch-title-main {
  display: block;
  padding: 0 0 12px;
  border-bottom: 2px dotted #2a9c98;

  font-size: clamp(36px, 4.1vw, 58px);
  line-height: 1.15;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* まとめブログ */
.sea-lunch-title-sub {
  display: block;
  margin-top: 15px;

  font-size: clamp(29px, 3vw, 42px);
  line-height: 1.15;
  letter-spacing: 0.04em;
}

/* =========================
   スマホ
========================= */

@media (max-width: 700px) {
  .enpe-title-group1 {
    width: 94%;
    gap: 8px !important;
    transform: translateY(-30px) !important;
  }

  .enpe-title-group1 p {
    font-size: 12px;
  }

  .sea-lunch-title {
    width: 96%;
  }

  .sea-lunch-title-main {
    font-size: clamp(25px, 7vw, 34px);
    padding-bottom: 9px;
    border-bottom-width: 2px;
    white-space: normal;
  }

  .sea-lunch-title-sub {
    margin-top: 11px;
    font-size: clamp(23px, 6vw, 30px);
  }
}

/* 追加 */
.sea-lunch-title-main {
  text-shadow:
    0 0 4px rgba(255, 255, 255, 0.9),
    0 0 10px rgba(255, 255, 255, 0.65);
}

.sea-lunch-title-main {
  filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.9));
  border-bottom-color: #5bb8e8 !important;
}

/*＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
ラボラトワール　ここから
＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝*/
/* =========================
   情報カード全体
========================= */
.enpe-info-card {
  padding: 20px 24px;
  border: 1px solid #e2ddd7;
  border-radius: 10px;
  background: #fff;
}

/* カードタイトル（ブラジル、ケニアなど） */
.enpe-info-card > h4 {
  margin: 0 0 14px;
  font-size: 1.25rem;
  font-weight: 700;
}

/* =========================
   左右カラム
========================= */
.enpe-info-columns {
  gap: 0;
  margin: 0;
}

/* 左右共通 */
.enpe-info-item {
  padding: 0 22px;
}

/* 左側だけ余白調整 */
.enpe-info-item:first-child {
  padding-left: 0;
}

/* 右側だけ区切り線＋余白 */
.enpe-info-item:last-child {
  padding-right: 0;
  border-left: 1px solid #e3d3c4;
}

/* =========================
   小見出し
========================= */
.enpe-info-label {
  margin: 0 0 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #6d5746;
}

/* =========================
   本文
========================= */
.enpe-info-text {
  margin: 0;
  line-height: 1.8;
  font-size: 14px;
}

/* enpe-info-text 内に複数段落がある場合 */
.enpe-info-text p {
  margin: 0 0 6px;
  font-size: 14px;
}

.enpe-info-text p:last-child {
  margin-bottom: 0;
}

/* =========================
   スマホ
========================= */
@media (max-width: 781px) {
  .enpe-info-card {
    padding: 18px;
  }

  .enpe-info-columns {
    gap: 18px;
  }

  .enpe-info-item {
    padding: 0;
  }

  /* PCの縦線を消して、上下の区切りに変更 */
  .enpe-info-item:last-child {
    padding-top: 18px;
    border-left: 0;
    border-top: 1px solid #e3d3c4;
  }
}

.enpe-info-card {
  padding: 16px 20px;
}

.enpe-info-card > h4 {
  margin: 0 0 12px;
}

.enpe-info-text {
  margin: 0;
  line-height: 1.65;
  font-size: 14px;
}

.enpe-info-label {
  margin: 0 0 6px;
  line-height: 1.5;
}

/* 追加 */
.enpe-coffee-section {
  margin: 32px 0;
  padding: 28px 24px;
  background: #f6f0e8;
  border: 1px solid #e4d7c9;
  border-radius: 16px;
}

.enpe-coffee-section-title {
  margin: 0 0 12px;
  font-size: 1.6rem;
  font-weight: 700;
  color: #5f4633;
}

.enpe-coffee-section-lead {
  margin: 0 0 20px;
  color: #6f5a49;
  line-height: 1.8;
}

.enpe-coffee-grid {
  margin-top: 20px;
}

.enpe-info-card {
  background: #fff;
  border: 1px solid #e2ddd7;
  border-radius: 14px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
}

.enpe-coffee-note {
  margin-top: 18px;
  font-size: 0.9rem;
  color: #7b6656;
  line-height: 1.7;
}

.enpe-coffee-section {
  margin: 32px 0;
  padding: 28px 24px;
  background: #efe4d6;
  border: 1px solid #ddcbb8;
  border-radius: 16px;
}

/* .enpe-coffee-note {
  font-size: 12px;
} */

/* ========================================
   時間帯で変わるメニュー
======================================== */

/* セクション全体 */
.enpe-time-menu-section {
  margin: 32px 0;
}

/* 3つのメニューを並べるGrid */
.enpe-time-menu-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}

/* Morning / Lunch / Cafe Food 各カード */
.enpe-time-menu-card {
  padding: 18px 16px;
  border: 1px solid #e6ddd4;
  border-radius: 12px;
  background: #fff;
}

/* Lucideアイコン */
.enpe-time-menu-card svg {
  width: 28px;
  height: 28px;
  margin-bottom: 8px;
  color: #8a674c;
  stroke-width: 1.8;
}

/* Morning / Lunch / Cafe Food */
.enpe-time-menu-card h3 {
  margin: 0 0 6px;
  font-size: 1.15rem;
  line-height: 1.4;
}

/* 時間 */
.enpe-time-menu-time {
  display: inline-block;
  margin: 0 0 14px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f1e5d8;
  color: #69503d;
  font-size: 13px;
  line-height: 1.4;
}

/* メニュー写真 */
.enpe-time-menu-card img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  border-radius: 6px;
}

/* 写真下の説明 */
.enpe-time-menu-caption {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: #444;
}

/* =========================
   スマホ
========================= */
@media (max-width: 781px) {
  .enpe-time-menu-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .enpe-time-menu-card {
    padding: 18px;
  }

  .enpe-time-menu-card svg {
    width: 26px;
    height: 26px;
  }
}

.enpe-menu-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.enpe-menu-row svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 3px;
}

.enpe-menu-row p {
  margin: 0;
}

/* スマホでコーヒー豆縦並びと幅100%*/
@media (max-width: 781px) {
  .enpe-coffee-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 781px) {
  .enpe-coffee-section {
    margin-inline: -16px !important;
    padding-inline: 16px !important;
    /* border-radius: 0; */
  }
}

/* ヒーロー部の修正 */
/* PCだけ右側を空ける */
@media (min-width: 782px) {
  body.postid-3312 .cafelunch-title {
    padding-right: 300px;
  }
}

/* スマホは全幅 */
@media (max-width: 781px) {
  body.postid-3312 .cafelunch-title {
    padding-right: 0;
    width: 100%;
  }
}

@media (max-width: 781px) {
  body.postid-3312 .cafelunch-title {
    padding-right: 0 !important;
    padding-left: 24px !important;
    width: 100%;
    box-sizing: border-box;
  }
}

@media (max-width: 781px) {
  body.postid-3312 .cafelunch-title .wp-block-post-excerpt__excerpt {
    font-size: 18px !important;
    line-height: 1.5;
  }
}

@media (max-width: 781px) {
  body.postid-3312 .wp-block-cover img.wp-block-cover__image-background {
    object-position: 58% center;
  }
}
