/* html{
  font-size: min(calc(10px + (100vw - 375px) * 0.004419), 10px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
} */


/* LP 本番環境用*/
/* .wp-singular.lp-template-default.single.single-lp.postid-1225.logged-in.admin-bar.no-customize-support.wp-theme-swell.wp-child-theme-swell_child.-body-solid.-index-off.-sidebar-off.id_1225 {
    background-image: url("http://cocokara-test.local/wp-content/uploads/2025/09/191c943aa090db760522b3cab3ea641f-1.jpeg");
    background-image: url("https://keisuke-web.com/cocokara/wp-content/uploads/2025/09/191c943aa090db760522b3cab3ea641f-1.jpeg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
  } */

/* #body_wrap {
    background-image: url("https://keisuke-web.com/cocokara/wp-content/uploads/2025/09/191c943aa090db760522b3cab3ea641f-1.jpeg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
  } */

/* #body_wrap.id_1225 div#lp-content.lp-content {
    padding: 0;
  }
  
  #body_wrap.id_1225 .lp-content__postContent.post_content {
    padding: 0;
  } */

/* LPだけのフォント指定 */
.lp-content {
  --lp-font: "Noto Sans JP", system-ui, -apple-system, "Segoe UI",
    "Helvetica Neue", Arial, "Hiragino Sans", "Hiragino Kaku Gothic ProN",
    "Yu Gothic Medium", "YuGothic", Meiryo, sans-serif;
  font-family: var(--lp-font);
}

/* 見出し系も念のため継承させる（SWELLが別フォントを当てている場合の保険） */
.lp-content h1,
.lp-content h2,
.lp-content h3,
.lp-content h4,
.lp-content h5,
.lp-content h6,
.lp-content .wp-block-button__link,
.lp-content input,
.lp-content select,
.lp-content textarea {
  font-family: var(--lp-font);
}

@media (max-width: 870px) {
  .wp-block-column.p-block-column:nth-child(3) {
    display: none;
  }
}

@media (max-width: 781px) {
  .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column {
    flex-basis: initial !important;
  }
}

.lp-content {
  padding: 0;
}

.lp-content__postContent.post_content {
  padding: 0;
}

.p-header {
  position: fixed;
  height: 60px;
  background-color: #fff;
  margin-bottom: 0;
  top: 0;
  left: 0;
  right: 0;
}

@media (max-width: 768px) {
  .p-header {
    height: 60px;
  }
}

.p-header__inner {
  height: inherit;
  position: relative;
  display: flex;
  align-items: center;
}

@media (max-width: 870px) {
  .p-header__inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0.625rem;
  }
}

.p-header__logo {
  width: 100%;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  height: 100%;
  max-width: 5rem;
}

@media (max-width: 870px) {
  .p-header__logo {
    width: auto;
    height: 100%;
    flex: 0 0 auto;
    margin: 0;
  }
}

.p-header__logo a {
  height: 100%;
  display: flex;
  align-items: center;
}

@media (max-width: 870px) {
  .p-header__logo a {
    display: flex;
    align-items: center;
    height: 100%;
  }
}

.p-header__logo a img {
  transition: opacity .5s ease;
}

.p-header__logo a:hover img {
  opacity: .6;
}

.p-header__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.p-header__aside {
  position: fixed;
  top: 10rem;
  right: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 1000;
}

@media (min-width: 950px) {
  .p-header__aside {
    right: calc((100vw - 950px) / 2);
  }
}

@media (max-width: 1100px) {
  .p-header__nav {
    right: 1.25rem;
  }
}

.p-header__nav-list,
.p-header__sns-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.post_content .p-header__nav-item {
  margin: 0.7em 0;
}

.p-header__nav-item {
  font-size: 1rem;
}

.p-header__nav-item a {
  color: #505050;
  transition: .3s;
}

.p-header__nav-item:hover a {
  color: #fcbd6a;
}

.post_content .p-header__nav-modal-list {
  padding-left: 1.875rem;
}

.p-header__nav-modal-title {
  font-size: 1rem;
  color: #505050;
  transition: .3s;
}

.p-header__nav-modal-title:hover {
  color: #fcbd6a;
}

.post_content .p-header__nav-modal-item {
  margin: 0.5em 0;
}

.p-header__nav-modal-item {
  font-size: 0.875rem;
}

.p-header__nav-modal-item a {
  color: #505050;
  transition: .3s;
}

.p-header__nav-modal-item:hover a {
  color: #fcbd6a;
}

.u-sp-none {
  display: block;
}

@media (max-width: 870px) {
  .u-sp-none {
    display: none;
  }
}

.p-header__sns-list-wrap {
  margin-top: 1.875rem;
}

.p-header__sns-list {
  display: flex;
  gap: 1.25rem;
}

.p-header__sns-item a {
  display: block;
  max-width: 1.875rem;
  width: 100%;
}

.p-header__sns-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.p-header__sns-item a img {
  transition: opacity .5s ease;
}

.p-header__sns-item a:hover img {
  opacity: .6;
}

.p-header__right {
  display: none;
}

@media (max-width: 870px) {
  .p-header__right {
    display: flex;
    align-items: center;
    height: 100%;
    margin-left: auto;
    position: relative;
    z-index: 999;
  }
}

.p-header__hamburger {
  margin: 0 0 0 1.25rem;
  padding: 0;
  outline: none;
  border: none;
  width: 2.5rem;
  height: inherit;
  background-color: transparent;
  cursor: pointer;
  transition: .3s;
}

.p-header__hamburger.is-open {
  background-color: transparent;
}

.p-header__hamburger span {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  display: block;
  width: 1.25rem;
  height: 2px;
  background-color: #feb061;
  transition: .5s;
}

.p-header__hamburger span:nth-of-type(1) {
  top: -0.5rem;
}

.p-header__hamburger span:nth-of-type(2) {
  top: 0;
}

.p-header__hamburger span:nth-of-type(3) {
  top: 0.5rem;
}

.p-header__hamburger.is-open span:nth-of-type(1) {
  top: 0;
  transform: translateX(-50%) rotate(45deg);
}

.p-header__hamburger.is-open span:nth-of-type(2) {
  opacity: 0;
}

.p-header__hamburger.is-open span:nth-of-type(3) {
  top: -0.25rem;
  transform: translateX(-50%) rotate(-45deg);
}

.p-header__drawer {
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: none;
  position: fixed;
  z-index: 900;
  max-width: 80%;
  width: 100%;
  height: 100dvh;
  background-color: #fff;
  overflow-y: scroll;
  scrollbar-width: none;
}

.p-header__drawer::-webkit-scrollbar {
  display: none;
}

.p-header__drawer-logo {
  position: fixed;
  max-width: 80px;
  width: 100%;
  height: 40px;
  z-index: 999;
  top: 20px;
  left: 40vw;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;

}

.p-header__drawer-logo a {
  display: inline-block;
  width: 100%;
  height: 100%;
}

.p-header__drawer-logo img {
  width: 100%;
  height: 100%;
}

.p-header__drawer-wrap {
  margin-top: 70px;
  padding-top: 80px;
  padding-bottom: 00px;
  margin-left: 50px;
  margin-right: 50px;
}

.p-header__drawer-nav {
  max-width: 15.625rem;
  width: 100%;
}

.p-header__drawer-item>a,
.p-header__drawer-accordion-title {
  padding: 0.625rem 0;
  display: block;
  font-size: 1rem;
  line-height: 1;
  letter-spacing: 0.08em;
  color: #505050;
}

.p-header__drawer-accordion-title {
  position: relative;
  cursor: pointer;
}

.p-header__drawer-accordion-title::before {
  content: "";
  position: absolute;
  top: 45%;
  left: 9.375rem;
  width: 0.5rem;
  height: 0.5rem;
  border-top: 1px solid #505050;
  border-right: 1px solid #505050;
  transform: translateY(-50%) rotate(135deg);
  transition: .3s;
}

.p-header__drawer-accordion-title.is-open::before {
  top: 56%;
  transform: translateY(-50%) rotate(-45deg);
}

.p-header__drawer-accordion-list {
  margin-bottom: 3.125rem;
  display: none;
}

.p-header__drawer-accordion-item a {
  padding: 0.5rem 0;
  display: block;
  font-size: 1rem;
  line-height: 1;
  color: #505050;
}

.post_content ol,
.post_content ul.p-header__sns-list.p-header__sns-list--drawer {
  margin-top: 2.5rem;
  padding-left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
}

.p-header__overlay {
  display: none;
  position: fixed;
  z-index: 850;
  inset: 0;
  background: rgba(0, 0, 0, .35);
  backdrop-filter: blur(1px);
}

@media (max-width: 781px) {
  .wp-block-column.p-main.has-white-background-color.has-background {
    max-width: 600px;
    width: 100%;
    padding-left: 30px;
    padding-right: 30px;
  }
}

@media (max-width: 781px) {
  .wp-block-columns .wp-block-column {
    margin: auto !important;
  }
}

/* MV */
.post_content .wp-block-group.p-mv {
  /* margin-top: 60px!important; */
  margin-bottom: 0;
}

.p-mv {
    position: relative;
    /* isolation: isolate; */
  }

  /* .p-mv::before{
    content:"";
    position:absolute;
    inset:0;
    z-index:4;
    pointer-events:none;
    background: linear-gradient(
      to bottom,
      rgba(0,0,0,.10) 0%,
      rgba(0,0,0,.20) 50%,
      rgba(0,0,0,.30) 100%
    );
  } */

  /* .p-mv .p-mv-img {
    width: 100%;
    height: 100vh;
    margin: 0;
  } */

/* .p-mv-block {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
  } */

/* =========================
   MV：画像＋テキストを重ねる（全デバイス共通）
========================= */
/* MV：重ねる（共通） */
/* MVは画像とテキストを重ねる */
.p-mv{ display:grid; }
.p-mv > .wp-block-group__inner-container,
.p-mv > figure.p-mv-img{ grid-area:1/1; }

/* ここが重要：inner-containerは縦並びにする */
.p-mv > .wp-block-group__inner-container{
  z-index:3;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
}

/* タイトル塊だけ中央寄せ（上下中央） */
/* .p-mv .p-mv-block{ 
  margin-top:auto;
} */

/* 施設＋CTAはタイトルの下へ */
/* .p-mv .p-mv-box{
  margin-top:24px;
  margin-bottom:auto;
} */


/* .p-mv>.wp-block-group__inner-container>* {
  grid-area: 1 / 1;
} */

/* 画像 */
.p-mv .p-mv-img {
  margin: 0;
  z-index: 1;
  width: 100%;
  /* 中央カラム幅いっぱい */
  height: 100vh;
  /* 画面高さいっぱい（PCも） */
}

.p-mv .p-mv-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* テキスト */
.p-mv .p-mv-block {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  z-index: 2;
  max-width: 250px;
  width: 100%;
  text-orientation: mixed;
  /* padding: 0 8px; */
  /* display: flex;
  align-self: center;
  justify-self: center;
  text-align: center; */
  color: #fff;
  /* width: min(92%, 520px); */
  /* padding: 0 16px; */

  background: rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
  padding: 20px 2px;

}

.p-mv .p-mv-box {
  position: absolute;
  top: 85%;
  z-index: 2;
}

/* スマホ時 */
@media (max-width: 781px) {
  /* MVを全幅にして重ねる土台 */

  .wp-block-column.p-main.has-background {
    padding-top: 0;
  }

  /* 直下の inner-container と figure を同じセルに重ねる */
  .p-mv>.wp-block-group__inner-container,
  .p-mv>.p-mv-img {
    grid-area: 1 / 1;
  }

  /* inner-container 自体も中身を重ねる（重要） */
  .p-mv>.wp-block-group__inner-container {
    display:flex;
  }

  /* .p-mv>.wp-block-group__inner-container>* {
    grid-area: 1 / 1;
  } */

  /* 画像を全画面に */
  .p-mv .p-mv-img {
    height: 100vh;
    margin: 0;
    z-index: 1;
  }

  .p-mv .p-mv-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

}

@media (max-width: 781px) {
  .p-mv {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }
}

@media (min-width: 782px) {
  .p-mv {
    width: 100%;
    margin: 0;
  }
}

@media (min-width: 782px) {
  .wp-block-columns>.wp-block-column.p-main {
    flex: 0 0 430px;
    max-width: 430px;
  }
}


.p-mv-title {
  font-size: 25px;
  font-weight: normal;
  /* margin-bottom: 0; */
  writing-mode: vertical-rl;
  margin: 0 auto;
}

.p-mv-mainTitle {
  font-size: 16px;
  font-weight: normal;
  margin-top: 55px;
  margin-bottom: 0;
  /* writing-mode: vertical-rl; */
}

.p-mv-subTitle {
  font-size: 16px;
  font-weight: normal;
}

.p-mv-place {
  display: inline-block;
  margin-bottom: 0;
  font-size: 14px;
}

.p-mv-cta {
  margin-top: 20px;
}
.p-mv-cta2 {
  margin-top: 50px;
}



.lp-content__inner {
  max-width: initial;
}

.wp-block-group.p-real {
  margin-top: 100px;
}

.wp-block-group .p-real__block {
  margin-top: 80px;
}

.p-real__img {
margin-bottom: 0; 
}

.wp-block-group .p-real__textbox {
  margin-top: 50px;
  font-size: 16px;
}


.wp-block-group.p-left-body {
  /* position: absolute;
    top: 9rem; */
  left: 0;
  position: sticky;
  top: calc(64px + 7rem);

}

.p-left-btn {
  margin-top: 40px;
}

.wp-block-group .l-infoCard {
  margin-top: 40px;
}

/* 日時 */
.wp-block-group.l-infoCard.has-swl-pale-01-background-color.has-background {
  padding: 2rem 2.5rem 0 2.5rem;
}

.p-infoCard {
  border: 3px solid #A7A7A7;
  border-radius: 0.625rem;
  padding: 18px 15px;
  max-width: 40rem;
  width: 100%;
  margin-top: 40px;
  margin-left: auto;
  margin-right: auto;
}

.p-infoCard__item {
  margin-top: 0.5rem;
  margin-bottom: 0;
}

/* .p-infoCard__item:first-child {
  border-bottom: 5px dotted #19335a;
} */

.p-infoCard__label {
  display: inline-block;
  padding: 2px 20px;
  background: #19335a;
  border-radius: 12px;
  color: #fff;
  font-size: 0.8em;
  /* line-height: 1; */
  margin-bottom: 0;
}

.p-infoCard__block {
  margin-top: 8px;
  /* padding-bottom: 0.5em; */
}

.wp-block-columns {
  flex-wrap: initial !important;
  gap: initial !important;
}

.p-infoCard__data,
.p-infoCard__time {
  display: inline-flex;
  align-items: baseline;
  font-size: 18px;
  line-height: 1;
  /* font-weight: bold; */
}

@media (max-width: 374px) {

  .p-infoCard__data,
  .p-infoCard__time {
    font-size: 14px;
  }
}

.p-infoCard__time {
  padding-left: 0.625rem;
}

.p-infoCard__text {
  margin-top: 8px;
  font-size: 18px;
  line-height: 1;
  /* font-weight: bold; */
}

.p-infoCard__text-sub {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 1em;
  height: 1em;
  border-radius: 50%;
  border: 1px solid currentColor;
  font-size: 14px;
  line-height: 1;
  vertical-align: .1em;
  margin-left: 0.3em;
  padding: 0.7em;
}

@media (max-width: 374px) {
  .p-infoCard__text-sub {
    font-size: 12px;
  }
}

.wp-block-group.p-left-block {
  position: fixed;
  top: 11vh;
  width: max(220px, min(26vw, 380px));
  left: calc((100vw - 800px) / 2);

}

@media (max-width: 781px) {
  .p-left-body {
    display: none;
  }
}

:root {
  --sticky-top: 11rem;
  /* 右ナビが top:10rem なら同じに */
}

.wp-block-columns {
  overflow: visible;
  align-items: stretch;
  /* カラムの高さを揃えて余白を確保 */
}

/* 左カラムの中で中央寄せ */
.wp-block-column.p-left-block {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  align-self: stretch;
  /* カラム自体も縦に伸ばす */
}

@media (max-width: 781px) {
  .wp-block-column.p-left-block {
    display: none;
  }
}


/* ← ここを追従させる（※absolute は残っていないこと） */
.wp-block-column.p-left-block>.wp-block-group.p-left-body {
  position: sticky;
  top: var(--sticky-top);
  align-self: flex-start;
  /* sticky と相性が良い */
  width: min(100%, 380px);
  /* 任意の上限幅 */
  /* z-index: 1; 必要なら */
}

/* 画像とボタン */
.wp-block-column.p-left-block .wp-block-group.p-left-body .wp-block-image img {
  display: block;
  width: 100%;
  height: auto;
}

.wp-block-column.p-left-block .wp-block-group.p-left-body .wp-block-button {
  align-self: center;
}



.wp-block-image.size-full.p-left-img {
  aspect-ratio: 500 / 360;
  overflow: hidden;
  /* max-width: 500px; */
  width: 100%;
}

.wp-block-image.size-full.p-left-img img {
  width: 100%;
  height: 100%;
}

/* .p-left-img { */
/* max-width: 20rem;
    width: 100%; */
/* width: 100%;
    height: auto;
    display: block;
    border-radius: clamp(6px, 0.8vw, 14px); */
/* } */
@media (max-width: 870px) {
  .p-left-block {
    width: 23.75rem;
  }
}

.p-left-block .p-left-img {
  width: 100%;
  height: auto;
  display: block;
}

.p-left-block .btn,
.p-left-block a.button {
  display: inline-block;
  margin-top: clamp(10px, 1.4vw, 22px);
  padding: clamp(10px, 1.0vw, 14px) clamp(18px, 1.8vw, 28px);
  font-size: clamp(13px, 1.15vw, 18px);
  border-radius: clamp(20px, 2.2vw, 36px);
}


/* イベント */
/* .wp-block-group.p-event {
    padding-top: 40px;
    padding-bottom: 0;
  } */

/* お知らせ */
.wp-block-heading.is-style-section_ttl.section-title {
  margin-bottom: 0;
  font-size: 20px;
  /* opacity: 0;
    transform: translateY(40px);
    transition: opacity .7s ease, transform .7s ease;
    will-change: opacity, transform; */
}

/* タイトルフェイドイン */
/* .wp-block-heading.is-style-section_ttl.section-title.is-in{
    opacity: 1;
    transform: translateX(0);
  } */

/* セクションフェイドイン */
.lp-content .js-fade-section {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
  will-change: opacity, transform;
}

.lp-content .js-fade-section.is-in {
  opacity: 1;
  transform: none;
}

.wp-block-group.p-news {
  padding-top: 80px;
}

.p-postListWrap.p-news__block {
  margin-top: 40px;
}

/* タイムテーブル */
.wp-block-group.p-timeTable {
  /* margin-top: 80px; */
  padding-top: 80px;
}

.wp-block-table.p-timeTable__block {
  margin-top: 40px;
}

/* プログラム */
.wp-block-group.p-program {
  /* margin-top: 80px; */
  padding-top: 80px;
}

.wp-block-heading.is-style-section_ttl.has-swl-main-thin-background-color.has-background {
  font-size: 18px;
  padding: 5px;
}

/* @media (max-width: 768px) {
    .wp-block-group.p-program {
      padding-left: 35px;
      padding-right: 35px;
    }
  }
  @media (max-width: 425px) {
    .wp-block-group.p-program {
      padding-left: 25px;
      padding-right: 25px;
    }
  } */

/* 講座・*/
.wp-block-group.p-work {
  /* margin-top: 40px; */
  padding-top: 60px;
}

.wp-block-group.p-work__group:not(:first-child) {
  margin-top: 60px;
}

.wp-block-group.p-work__block {
  margin-top: 30px;
}

.wp-block-image.size-full.p-work__img {
  aspect-ratio: 520/360;
  overflow: hidden;
}

.wp-block-image.size-full.p-work__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-work__category {
  display: inline-block;
  margin-bottom: 0;
  padding: 6px 17px;
  font-size: 12px;
  line-height: 1;
}

.wp-block-heading.has-text-align-left.is-style-section_ttl.p-work__subtitle {
  margin-top: 12px;
  margin-bottom: 0;
  padding-bottom: 12px;
  font-size: 24px;
  border-bottom: 1px solid #000;
}

@media (max-width: 781px) {
  .wp-block-heading.has-text-align-left.is-style-section_ttl.p-work__subtitle {
    font-size: 18px;
  }
}

.p-work__text {
  margin-top: 12px;
}

/* プレゼント抽選会 */
.wp-block-group.p-present {
  /* margin-top: 80px; */
  padding-top: 80px;
}

.wp-block-heading.is-style-section_ttl.p-present__title.has-swl-main-thin-background-color.has-background {
  margin-bottom: 0;
}

.p-present__block {
  margin-top: 40px;
  margin-bottom: 0;
}

.wp-block-image.size-full.p-present__img {
  aspect-ratio: 520/360;
  overflow: hidden;
}

.wp-block-image.size-full.p-present__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-present__text {
  margin-top: 40px;
}

.p-present__body {
  margin-top: 40px;
}

.p-present__box:not(:first-child) {
  margin-top: 40px;
}

.p-present__box {
  padding: 20px;
}

.p-section-btn {
  margin-top: 80px;
  margin-bottom: 0;
}

/* スタンプラリー */
.wp-block-group.p-stamp {
  /* margin-top: 80px; */
  padding-top: 80px;
}

.wp-block-heading.is-style-section_ttl.p-stamp__title.has-swl-main-thin-background-color.has-background {
  margin-bottom: 0;
}

.wp-block-group.p-stamp__block {
  margin-top: 40px;
}

.wp-block-image.size-full.p-stamp__img {
  aspect-ratio: 520/360;
  overflow: hidden;
}

.wp-block-image.size-full.p-stamp__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-stamp__text {
  margin-top: 40px;
}

.p-stamp__block {
  margin-top: 40px;
}

.p-stamp__box:not(:first-child) {
  margin-top: 20px;
}

/* イベントブース */
/* .wp-block-group.p-event {
  padding-top: 80px;
} */

/* .wp-block-group.p-event__block {
  margin-top: 40px;
}

.p-event__text {
  margin-top: 40px;
  margin-bottom: 0;
} */

/* 協賛企業様ブース */
.p-booth1 {
  /* margin-top: 40px; */
  padding-top: 60px;
}

.wp-block-heading.is-style-section_ttl.p-booth1__title.has-swl-main-thin-background-color.has-background {
  margin-bottom: 0;
}

.p-booth1__card {
  position: relative;
}

.p-booth1__cardBox {
  margin-top: 40px;
}

.wp-block-image.size-full.p-booth1__img {
  aspect-ratio: 520/360;
  overflow: hidden;
}

.wp-block-image.size-full.p-booth1__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wp-block-group.p-booth1__card:not(:first-child) {
  margin-top: 60px;
}

.wp-block-heading.has-text-align-left.is-style-section_ttl.p-booth1__mainTitle {
  margin-top: 30px;
  margin-bottom: 0;
  font-size: 20px;
}

.p-booth1__subtitle {
  margin-top: 20px;
  margin-bottom: 0;
}

.p-booth1__text {
  margin-top: 20px;
}

/* 主催者ブース */
.wp-block-group.p-booth2 {
  /* margin-top: 80px; */
  padding-top: 80px;
}

.wp-block-heading.is-style-section_ttl.p-booth2__title.has-swl-main-thin-background-color.has-background {
  margin-bottom: 0;
}


.wp-block-image.size-full.p-booth2__img {
  aspect-ratio: 520/360;
  overflow: hidden;
}

.wp-block-image.size-full.p-booth2__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-booth2__card {
  margin-top: 40px;
}

.wp-block-heading.has-text-align-left.is-style-section_ttl.p-booth2__mainTitle {
  margin-top: 30px;
  margin-bottom: 0;
  font-size: 20px;
}

@media (max-width: 781px) {
  .wp-block-heading.has-text-align-left.is-style-section_ttl.p-booth2__mainTitle {
    font-size: 18px;
  }
}

.p-booth2__subtitle {
  margin-top: 20px;
  margin-bottom: 0;
}

.p-booth2__text {
  margin-top: 20px;
}

/* 出典書ブース */
.wp-block-group.p-booth3 {
  /* margin-top: 80px; */
  padding-top: 80px;
}

.wp-block-heading.is-style-section_ttl.p-booth3__title.has-swl-main-thin-background-color.has-background {
  margin-bottom: 0;
}

.wp-block-image.size-full.p-booth3__img {
  aspect-ratio: 520/360;
  overflow: hidden;
}

.wp-block-image.size-full.p-booth3__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-booth3__card {
  margin-top: 40px;
}

.wp-block-heading.has-text-align-left.is-style-section_ttl.p-booth3__mainTitle {
  margin-top: 30px;
  margin-bottom: 0;
  font-size: 20px;
}

@media (max-width: 781px) {
  .wp-block-heading.has-text-align-left.is-style-section_ttl.p-booth3__mainTitle {
    font-size: 18px;
  }
}

.p-booth3__subtitle {
  margin-top: 20px;
  margin-bottom: 0;
}

.p-booth3__text {
  margin-top: 20px;
}

.p-booth3__cardBox {
  margin-top: 40px;
}

.wp-block-group.p-booth3__card:not(:first-child) {
  margin-top: 60px;
}

/* ゲスト */
.wp-block-group.p-guest {
  /* margin-top: 80px; */
  padding-top: 80px;
}

.p-guest__text {
  margin-top: 40px;
  margin-bottom: 0;
}

.wp-block-image.size-full.p-guest__img {
  aspect-ratio: 520/360;
  overflow: hidden;
}

.wp-block-image.size-full.p-guest__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wp-block-group .p-guest__block {
  margin-top: 40px;
}

.p-guest__box {
  margin-top: 20px;
}

.p-guest__category {
  display: inline-block;
  margin-bottom: 0;
  padding: 6px 17px;
  font-size: 12px;
  line-height: 1;
}

.wp-block-heading.has-text-align-left.is-style-section_ttl.p-guest__subtitle {
  margin-top: 10px;
  margin-bottom: 0;
}

@media (max-width: 781px) {
  .wp-block-heading.has-text-align-left.is-style-section_ttl.p-guest__subtitle {
    font-size: 18px;
  }
}

.p-guest__subtext {
  margin-top: 5px;
}

/* キャンペーン */
.wp-block-group.p-campaign {
  /* margin-top: 80px; */
  margin-bottom: 0;
  padding-top: 80px;
}

.wp-block-image.size-full.p-campaign__img {
  aspect-ratio: 520/360;
  overflow: hidden;
}

.wp-block-image.size-full.p-campaign__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-campaign__block {
  margin-top: 40px;
}

.p-campaign__text {
  margin-top: 40px;
}

/* マップ */
.wp-block-group.p-map {
  /* margin-top: 80px; */
  margin-bottom: 0;
  padding-top: 80px;
}

.p-map__img {
  margin-top: 40px;
}

.wp-block-image.size-full.p-map__img {
  aspect-ratio: 520/360;
  overflow: hidden;
}

.wp-block-image.size-full.p-map__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* faq */
.wp-block-group.p-faq {
  /* margin-top: 80px; */
  margin-bottom: 0;
  padding-top: 80px;
}

.p-faq__block {
  margin-top: 40px;
}

/* access */
.wp-block-group.p-access {
  /* margin-top: 80px; */
  margin-bottom: 0;
  padding-top: 80px;
}

.p-access__map {
  margin-top: 40px;
  margin-bottom: 0;
}

.p-access__text {
  margin-top: 25px;
}

.p-access__subtext1 {
  margin-bottom: 0;
}

.p-access__subtext2 {
  margin-top: 5px;
}

/* gallery */
.wp-block-group.p-gallery {
  margin-top: 80px;
  margin-bottom: 0;
}

/* フッター */
.p-footer {
  margin-top: 80px;
}

.p-footer__logo {
  aspect-ratio: 160/100;
  overflow: hidden;
  max-width: 160px;
  width: 100%;
  margin: auto;
}

.p-footer__logo a img {
  transition: opacity .5s ease;
}

.p-footer__logo a:hover img {
  opacity: .6;
}

.p-footer__logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* ========== プレゼント：SP(～781px) ========== */
/* @media (max-width: 781px){
  .wp-block-group.p-present-block .p-present-item:nth-child(even){
    margin-inline: auto;
  }
} */

/* .wp-block-group.p-present-item{
    position: relative;
    max-width: 200px;
    width: 100%;
    margin-inline: 0 auto;
    padding: 24px 22px;
    text-align: center;
    z-index: 1;
  } */

/* .wp-block-group.p-present-block .p-present-item::after{
  content:"";
  position:absolute;
  top: 10%;
  left: 50%;
  width: 7em;
  height: 7em;
  transform: translate(calc(-50% + 220px), -50%);
  background-image: url(https://keisuke-web.com/cocokara/wp-content/uploads/2025/09/0cf0f2d2d62765523c0c46e2da9c7fe9.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  pointer-events: none;
  z-index: 0;
} */

/* 偶数番目は別画像の装飾にしたい場合の上書き */
/* .wp-block-group.p-present-block .p-present-item:nth-child(even)::after{
    top: 40%;
    left: 60%;
    width: 7em;
    height: 10em;
    transform: translate(calc(-50% - 220px), -50%);
    background-image: url(https://keisuke-web.com/cocokara/wp-content/uploads/2025/09/d09ee1318a09f9785af001351d4b6c2a.png);
  } */

/* ========== 画像サイズを統一 ========== */
/* 画像用の共通枠を作って高さをそろえ、object-fitで収める */
.wp-block-group.p-present-item .wp-block-image {
  width: 160px;
  height: 110px;
  margin: 6px auto 14px;
}

.wp-block-group.p-present-item .wp-block-image img {
  width: 100%;
  /* height: 100%; */
  object-fit: contain;
  /* はみ出さずに収める */
  display: block;
}

.wp-block-group.p-present-block .p-present-item:nth-child(even) {
  margin-inline: auto 0;
}

.wp-block-group.p-present-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .08);
  z-index: -1;
}

/* 中身はカードの上に表示 */
.wp-block-group.p-present-block.p-present-item>* {
  position: relative;
  z-index: 1;
}

/* 画像の基本サイズ。はみ出さず中央に */
.wp-block-image.p-present-item img {
  width: clamp(140px, 60%, 280px);
  height: auto;
  display: block;
  margin: 6px auto 14px;
}

/* ブース&スタンプラリー */
.wp-block-group.p-booth {
  position: relative;
  margin-top: 40px;
  padding-top: 20px;
  padding-left: 25px;
  padding-right: 25px;
  padding-bottom: 0;
  max-width: 500px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  display: grid;
  justify-items: center;
  row-gap: 90px;
}

.wp-block-group.p-booth::before {
  content: "11:00~";
  position: absolute;
  top: -20px;
  left: -20px;
  width: 70px;
  height: 70px;
  background-color: #fde8ef;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: bold;
  color: #1a2c48;
  z-index: 2;
}

.wp-block-group.p-booth-block {
  max-width: 400px;
  width: 100%;
  margin: auto;
  padding-top: 30px;
  padding-bottom: 30px;
}

.p-booth-sub-text {
  text-align: center;
  padding-bottom: 20px;
  font-size: 16px;
  font-weight: bold;
}

.wp-block-group .p-booth-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 180px;
  z-index: 2;
}

.wp-block-group .p-booth-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .08);
  z-index: 1;
}

.p-booth-text {
  text-align: center;
}

.wp-block-group.p-booth-item>* {
  position: relative;
  z-index: 1;
}

/* ===== オレンジの“棒線”（デフォは右下へ） ===== */
/* .wp-block-group .p-booth-item::after{
  content:"";
  position:absolute;
  top: 100%;
  left: 50%;
  width: 35px;
  height: 150px;
  background:#F3A31A;
  transform: translate(-50%, -18px) rotate(-45deg);
  transform-origin: top center;
  border-radius: 12px;
  z-index:0;
}

@media (max-width: 781px){
  .wp-block-group .p-booth-item::after{
    transform: translate(-50%, -18px) rotate(-50deg);
    top: 65%;
    left: 70%;
    width: 35px;
    height: 240px;
  }
}
@media (max-width: 425px){
  .wp-block-group .p-booth-item::after{
    transform: translate(-50%, -18px) rotate(-45deg);
    top: 100%;
    left: 50%;
    width: 35px;
    height: 150px;
  }
}
@media (max-width: 300px){
  .wp-block-group .p-booth-item::after{
display: none;
  }
} */

/* 偶数番は左下へ（ジグザグにする） */
/* .wp-block-group .p-booth-item:nth-child(even)::after{
  transform: translate(-50%, -18px) rotate(45deg);
}

@media (max-width: 781px){
  .wp-block-group .p-booth-item:nth-child(even)::after{
    transform: translate(-50%, -66px) rotate(50deg);
    height: 300px;
  }
}
@media (max-width: 425px){
  .wp-block-group .p-booth-item:nth-child(even)::after{
    transform: translate(-50%, -18px) rotate(45deg);
    height: 150px;
  }
} */

/* 最後のカードは線を消す */
.wp-block-group .p-booth-item:last-child::after {
  display: none;
}


/* 画像の余白をリセットして中央に */
.wp-block-group.p-booth-item .wp-block-image {
  width: 120px;
  height: 120px;
  margin: 0 auto;
}

.wp-block-group.p-booth-item .wp-block-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.wp-block-group.p-booth-item:nth-child(even) {
  margin-inline: auto 0;
}

.wp-block-image.p-booth-img img {
  border-radius: 10%;
}

/* ボタン */
.p-btn {
  margin-top: 60px;
  margin-bottom: 0;
}

/* フキダシ */
.p-booth1__speech {
  position: absolute;
  top: -5%;
  right: -20%;
  max-width: clamp(120px, 22vw, 140px);
  width: 100%;
  aspect-ratio: 80 / 60;
  transform: translate(10%, -3%);
  background-image: url(https://keisuke-web.com/cocokara/wp-content/uploads/2025/09/00c3d3cf1d32995d7b5414ac551d13f3.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  display: grid;
  align-items: center;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .7s ease,
    visibility 0s linear .7s;
  will-change: opacity;
}

@media (max-width: 870px) {
  .p-booth1__speech {
    right: -10%;
    transform: translateX(8%);
    margin-right: 5%;
  }
}

@media (max-width: 320px) {
  .p-booth1__speech {
    max-width: 110px;
    width: 100%;
  }
}

.p-booth1__speech.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity .7s ease,
    /* 表示時は即 visibility を可視に */
    visibility 0s linear 0s;
}

.p-booth1__speech-text {
  font-size: 10px;
  /* font-weight: bold; */
  color: #19335a;
}

@media (max-width: 320px) {
  .p-booth1__speech-text {
    font-size: 10px;
  }
}

.wp-block-group.p-booth1 .p-booth1__textbox {
  padding: 20px 0;
}

/* ロゴ */
.wp-block-group.p-logo {
  margin-top: 40px;
  margin-bottom: 0;
}

.p-footer__logo {
  text-align: center;
}

.p-footer__wrap {
  text-align: center;
}

/* ────────────────────────────────
   固定ヘッダー（高さ60px）用スムーススクロール補正
   LPページ中央カラムのみ適用
──────────────────────────────── */
:root {
  --header-offset: 60px;
  /* 固定値 */
}

/* 中央カラムのセクション（id付き要素）だけに適用 */
.lp-content .wp-block-column.p-left-block :is(h1[id], h2[id], h3[id], h4[id], h5[id], h6[id],
  section[id],
  .wp-block-group[id],
  .wp-block-heading[id]) {
  scroll-margin-top: var(--header-offset);
}

/* ブラウザのスムーススクロールを有効化 */
html {
  scroll-behavior: smooth;
}

/* ループスライダー */
.wp-block-group.loop-slider {
  margin-top: 80px;
}

.loop-slider {
  display: flex;
  overflow: hidden;
}

.loop-slider .wp-block-group__inner-container,
.loop-slider .swell-block-columns {
  display: contents;
}

.loop-slider .swell-block-columns__inner {
  flex-wrap: nowrap;
  animation: infinity-scroll-left 20s infinite linear;
}

.loop-slider .swell-block-column figure {
  position: relative;
  width: 200px;
}

.loop-slider .swell-block-column figure::before {
  content: "";
  display: block;
  padding-top: 65%;
}

.loop-slider .swell-block-column figure img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  object-position: center;
}

/* ホバー or フォーカス中は一時停止 */
.loop-slider:hover .swell-block-columns__inner,
.loop-slider:focus-within .swell-block-columns__inner {
  animation-play-state: paused;
}

@keyframes infinity-scroll-left {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-100%);
  }
}

/* スライダー */
.p-top-campaign__cards {
  margin-top: 40px;
  margin-bottom: 0;
}

.p-campaign-cards {
  position: relative;
}

/* .p-campaign-cards__wrapper {
	margin-right: calc(50% - 50vw);
	margin-top: 0.875rem;
	position: relative;
} */

.swiper-button-next,
.swiper-button-prev {
  display: none;
}

.p-campaign-cards .swiper {
  opacity: 0;
  padding-bottom: 0.625rem;
  padding-top: 1.125rem;
  padding-left: 0.625rem;
}

.p-campaign-cards .swiper.swiper-initialized {
  opacity: 1;
}

.p-campaign-cards__item.swiper-slide {
  box-shadow: 2px 2px 10px 0px rgba(0, 0, 0, 0.25);
  height: auto;
  max-width: 17rem;
  width: 100%;
  border-radius: 10px;
}

@media (max-width: 781px) {
  .p-campaign-cards__item.swiper-slide {
    max-width: 20rem;
  }
}


.p-campaign-cards__item img {
  -o-object-fit: cover;
  height: 100%;
  object-fit: cover;
  width: 100%;
  border-top-right-radius: 10px;
  border-top-left-radius: 10px;
}

/* 画像サイズ調整 */

.swiper-slide img {
  -o-object-fit: cover;
  height: 100%;
  object-fit: cover;
}

.p-campaign-card__img img {
  aspect-ratio: 333/223;

}

.p-campaign-card__body {
  padding: 1.5rem 1rem 2rem;
}

.p-campaign-card__category {
  display: inline-block;
  margin-bottom: 0;
  padding: 5px;
  font-size: 12px;
  line-height: 1;
  border: 1px solid #000;
  border-radius: 5px;
}

.post_content .p-campaign-card__body h3.p-campaign-card__title {
  margin-top: 10px;
  margin-bottom: 0;
  padding: 0 0 5px 0;
  font-size: 18px;
}

.post_content h3.p-campaign-card__title:before {
  background: #000;
  height: 1px;
}


.p-campaign-card__text {
  font-size: 14px;
  margin-top: 10px;
}

.p-campaign-cards__wrapper {
  margin-top: -2.2rem;
}

.swiper-button-prev {
  margin-left: 1rem;
}

.swiper-button-next,
.swiper-button-prev {
  background-color: transparent;
  border: 1px solid #000;
  border-radius: 50%;
  display: inline-block;
  height: 2rem;
  left: 72%;
  position: relative;
  width: 2rem;
  top: 1rem;
}

@media (max-width: 781px) {

  .swiper-button-next,
  .swiper-button-prev {
    display: none;
  }
}

.swiper-button-next::after,
.swiper-button-prev::after {
  /* -webkit-mask-image: url(http://cocokara-test.local/wp-content/uploads/2025/10/arrow.svg); */
  -webkit-mask-image: url(https://keisuke-web.com/cocokara/wp-content/uploads/2025/10/arrow.svg);
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center center;
  -webkit-mask-size: contain;
  background: #000;
  content: "";
  height: 16px;
  left: 50%;
  /* mask-image: url(http://cocokara-test.local/wp-content/uploads/2025/10/arrow.svg); */
  mask-image: url(https://keisuke-web.com/cocokara/wp-content/uploads/2025/10/arrow.svg);
  mask-position: center center;
  mask-repeat: no-repeat;
  mask-size: contain;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 18px;
}

.swiper-button-next::after {
  transform: translate(-50%, -50%) scaleX(-1);
  border-right: none;
  border-top: none;
  right: 0;
}

.swiper-button-prev:after {
  border-bottom: none;
  border-left: none;
}

.p-campaign-cards .swiper {
  padding-top: 0.725rem;
}

/* 無限ループ */
.loop-swiper {
  /* width: 100vw;
  margin: 0 calc(50% - 50vw);
  margin-top: 120px; */
  margin-top: 80px;
}

.loop-swiper .swiper-wrapper {
  -webkit-transition-timing-function: linear;
  transition-timing-function: linear;
}

.loop-swiper .swiper-slide {
  width: 200px;
}

.loop-swiper__item {
  aspect-ratio: 200/130;
  overflow: hidden;
}

.loop-swiper__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


/* .loop-swiper .swiper-img {
  aspect-ratio: 480/400;
  overflow: hidden;
}
@media (max-width: 781px) {
  .loop-swiper .swiper-img {
    aspect-ratio: 480/400;
  }
}

.loop-swiper .swiper-img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
} */

/* トップに戻るボタン */
.c-fixBtn {
  border-radius: 50%;
}