@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
*/

.goldline {height: .75em;}

.banzai strong {
  width: fit-content;
  display: block;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  &::before, &::after {
    content: "";
    width: 2px;
    height: 115%;
    display: block;
    background-color: #555;
    position: absolute;
    top: -.25em;
  }
  &::before {
    left: -1.5em;
    transform: rotate(-25deg);
  }
  &::after {
    right: -1.5em;
    transform: rotate(25deg);
  }
}
	
.h2bg-left {
  position: absolute;
  top: 1em;
  left: -20%;
  font-size: 5rem;
  writing-mode: sideways-lr;
  opacity: .3;
  color: #c59663;
}
.h2bg-right {
  position: absolute;
  top: 1em;
  right: -20%;
  font-size: 5rem;
  writing-mode: sideways-rl;
  opacity: .3;
  color: #c59663;
}
.h2bg-center {
  position: absolute;
  top: 0;
  left: 50%;
  font-size: 5rem;
  transform: translate(-50%, -50%);
  opacity: .3;
  color: #c59663;
  white-space: nowrap;
}
@media screen and (max-width: 960px) {
  .h2bg-left {
    top: 0;
    left: 0;
    transform: translateY(-50%);
    writing-mode: unset;
  }
  .h2bg-right {
    top: 0;
    right: 0;
    transform: translateY(-50%);
    writing-mode: unset;
  }
}

div[data-partsid="1830"] {
	margin: 0 !important;
}


/*商品ページ*/
div#body_wrap.woocommerce {
	#header .c-headLogo__link img {height: 100%;}
	.c-postTitle__date, .p-articleMetas, .p-articleThumb, #after_article, .p-articleFoot, .add_to_cart_button, .product_meta {display:none;}
	.woocommerce-tabs {visibility: hidden; height: 0;}
	.post_content {margin: 1em 0}
	.related {
		h2 {
			background-color: transparent;
			color: inherit;
			&::before {
				border-top: none;
			}
		}
		ul {
			h2, .price {
				color: #555;
				font-size: 1em;
			}
		}
	}
	.posted_in a {
		display: block;
		padding: .25em 1em;
		margin: .25em;
		border-radius: 5px;
		box-shadow: 2px 2px 2px #888;
		background-color: #888;
		color: #fff;
		width: fit-content;
	}
	.quantity, .single_add_to_cart_button {
		float: none;
	}
	.quantity {
		margin: 1em 0;
		&::before {
			content: "注文数：";
		}
		&::after {
			content: " 個";
		}
	}
	.single_add_to_cart_button {
		background-color: #c59663;
	}
}
.c-headLogo__link a {
	height: 100% !important;
}

/* イベントページ：固定表示＋スクロール領域（完全修正版） */
.fixed-event {
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 10;
  padding: 1em;
  border-bottom: 1px solid #ccc;
}

.scroll-area {
  flex: 1;
  overflow-y: auto;
  padding: 1em;
  background: #fdfdfd;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

main {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}


/* 共通：本文全体の行間とフォントサイズ */
.fixed-event div,
.scroll-area article .post_content,
.scroll-area article div {
  line-height: 2;
  font-size: 1.05em;
}

/* 段落の余白 */
.fixed-event div p,
.scroll-area article .post_content p,
.scroll-area article div p {
  margin-bottom: 2em;
}

/* 画像の表示調整 */
.fixed-event img,
.scroll-area article img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 2em auto;
}

/* リストの余白調整 */
.fixed-event ul,
.fixed-event ol,
.scroll-area article ul,
.scroll-area article ol {
  margin: 1.5em 0;
  padding-left: 1.5em;
}

/* 見出しの余白調整 */
.fixed-event h2,
.scroll-area article h2 {
  margin-top: 2em;
  margin-bottom: 1em;
  font-size: 1.4em;
}

/* イベント一覧ページでは地図を小さく表示（高さ250px） */
.category-event .scroll-area article iframe[src*="google.com/maps"],
.category-event .fixed-event iframe[src*="google.com/maps"] {
  height: 250px !important;
}

/* グローバルメニュー下の説明文の文字サイズを大きくする */
.c-gnav .menu-item .desc {
  font-size: 14px; /* お好みで16pxや18pxに変更可能 */
  line-height: 1.6;
}

.top-image img {
  width: 100% !important;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.calendar-area iframe,
.map-area iframe {
  width: 80% !important;
  max-width: 100%;
  display: block;
  margin: 2em auto;
  border: none;
}

