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

/* メインビジュアルタイトル調整 */
.p-mainVisual__slideTitle { /* タイトル太さ */
	font-weight: bold;
	font-size: 4rem;
}
.p-mainVisual__slideTitle::first-line { /* 1行目サイズ */
	font-size: 1.6rem;
}
.p-mainVisual__slideText { /* サブテキスト */
	font-size: 1.1rem;
	font-weight: bold;
	display: inline;
	background-color: rgba(50,55,60,0.7);
	width: fit-content;
	line-height: 1.5;
	margin: 8px auto;
	padding: 5px 10px;
}
@media (max-width: 768px) {
	.p-mainVisual__slideTitle {
		font-size: 3rem;
	}
}
@media (max-width: 768px) {
	.p-mainVisual__slideTitle::first-line {
		font-size: 1.4rem;
	}
}

/* デスクトップのハンバーガーメニュー化 */
.c-gnav{
	display:none;
}
.l-header__menuBtn{
	position:fixed;
}
@media screen and (min-width: 960px) {
	.l-header__menuBtn {
		display: block!important;/* ハンバーガーメニューを表示 */
		right:10px;/* 右からの位置を決めます */
	}
	.p-spMenu{
		display:block!important;/* ハンバーガーメニューを開いた時の中身を表示 */
	}
	.p-spMenu__inner {
    max-width: 70%;/* ハンバーガーメニューを開いた時の中身の幅を変える */
    }
	.c-iconBtn__icon {
		font-size: 32px;
	}
}

.top-main { /* メインビジュアル位置調整 */
	top: -64px;
}

.title-v-line::after { /* 見出し下に縦線あしらい */
	margin: 20px 30px;
	width: 1px;
	height: 50px;
	display: block;
	content: '';
	background: #000;
}

.post_content h2 { /* 見出しサイズ */
	font-size: 3rem;
}

.c-pageTitle {
	font-size: 3rem;
}

@media (max-width: 768px) { /* モバイルの左右余白調整 */
	.l-content {
		margin: 0 1em 6em;
	}
}

:root :where(.wp-block-image.is-style-rounded img,.wp-block-image .is-style-rounded img) { /* 画像角丸 */
	border-radius: 20px;
}

/* トップへ戻るボタン */
.p-fixBtnWrap {
  right: 0.5em;
}
#pagetop {
  background: url("https://chinocci.or.jp/machizemi/wp2/wp-content/uploads/2025/08/top-arrow2.png") no-repeat center;
  background-size: contain;
  border: none;
  box-shadow: none;
  opacity: 1;
  border-radius: 0;
  width: 38px; /* サイズ調整 */
  height: 100px; /* サイズ調整 */
}
@media (min-width: 960px) {
  #pagetop:hover {
    background-color: transparent !important;
    color: inherit !important;
  }
}
#pagetop i {
  display: none;
}
#pagetop .c-fixBtn__label {
  margin: 0;
  position: absolute;
  bottom: -15px;
}
/* トップへ戻るボタンここまで */

.swell-block-columns__inner {
	justify-content: center;
}

/* カテゴリーラベルの背景色を設定 */
[data-cat-id="14"]{ /* 今年の講座 */
	background: #00e3cf !important;
}
[data-cat-id="15"]{ /* 過去の講座 */
	background: #32373c !important;
}


.p-articleFoot { /* 投稿ページのフッター部分非表示 */
	display: none;
}

/* ショップイメージ写真スライド */
.shop-slider {
	position: relative;
	width: 100%;
	overflow: hidden;
	margin-bottom: 65px;
}

.shop-slider .slides {
	display: flex;
	transition: transform 0.8s ease; /* スライドのアニメーション */
	width: 100%; /* 念のため */
}

.shop-slider .slide {
	max-width: 100%;
	flex: 0 0 100%; /* 必ず横幅100%に固定 */
}

.shop-slider img {
	width: 100%;
	height: auto;
	display: block; /* 余計な余白を消す */
}
/* ショップイメージ写真スライドここまで */

.map-wrap { /* マップの調整 */
	width: 100%;
}
.map-wrap iframe {
	width: 100%;
	height: 400px; /* 必要に応じて高さも指定 */
	border: 0;
}

.post_content h3 { /*投稿ページの見出し*/
	font-size: 1.5em;
}

.form-btn { /*申し込みボタン*/
	display: inline-block;
	padding: 0.8em 1.5em;
	background-color: #00e3cf; /* 好きな色 */
	color: #fff;
	text-decoration: none;
	border-radius: 9999px; /* 丸みを強くする */
	font-weight: bold;
	transition: background-color 0.3s;
}
.form-btn:hover {
	background-color: #32373c; /* ホバー時の色 */
}

.tel-link {
	font-weight: bold;
	font-size: 1.1em;
	color: #fe4500;
}

.btn-style {
	display: inline-block;
	width: 200px;
	height: 44px;
	line-height: 44px;
	border-radius: 30px;
	color: #fff;
	margin: 0 auto;
}
.kirei-back {
	background: #F202E0;
}
.kenko-back {
	background: #F1C102;
}
.tsukuru-back {
	background: #00a658;
}
.taberu-back {
	background: #FE4500;
}
.manabu-back {
	background: #2a2d84;
}

.sidebar-link { /* 投稿ページサイドバーのリンクテキスト */
	border-bottom: 1px solid #E4E4E4;
	padding: 10px 4px;
}
.sidebar-link:hover {
	background-color: #EAEAEA;
}

#breadcrumb { /* パンくずリスト非表示 */
	display: none;
}

.seminar_number { /*講座番号あしらい*/
	font-weight: bold;
	font-size: 1.3em;
	text-align: center;
	background-color: #00e3cf;
	color: #fff;
	padding: 22px;
	margin-top: 5em;
	margin-bottom: -16px;
	position: relative;
}
.seminar_number:after {
  position: absolute;
  content: '';
  top: 100%; /* 要素の下端ぴったりに配置 */
  left: 50%; /* 横位置を中央へ */
  transform: translateX(-50%); /* 三角形の中心を揃える */
  width: 0;
  height: 0;
  border: 15px solid transparent;
  border-top: 15px solid #00e3cf; /* 三角形の色 */
}

.homepage-icon {
	font-size: 28px;
	color: #32373c;
}
.sns-icons {
	display: flex;
	justify-content: center;   /* 横方向中央揃え */
	align-items: center;       /* 上下中央揃え */
	gap: 20px;                 /* アイコンの間隔 */
	margin: 20px 0;            /* 上下に少し余白 */
}
.sns-icons .icon {
	width: 32px;   /* 画像・アイコンを揃える */
	height: auto;  /* 縦横比維持 */
	display: block;
}

/* お店情報と講座情報のテーブル幅調整 */
.seminar-table {
	width: 100%;
	border-collapse: collapse;
	table-layout: fixed; /* ← これを追加すると幅指定が効きやすくなります */
}
.seminar-table td:first-child {
	width: 30%;
	white-space: normal; /* 折り返しあり */
}
.seminar_img { /* 講座写真中央寄せ */
	display: block;
	margin: 0 auto 32px auto;
	max-width: 100%;
	height: auto;
}