/*
Theme Name: 一般社団法人わくわくフェスタ
Author: Six LLC
Author URI: 
Description: 20260506
*/
@charset "utf-8";
@import url(css/pc.css) screen and (min-width: 641px);
@import url(css/smart.css) screen and (max-width:640px);
/* ----------------------------------------------------------------------
 WordPress プリセットスタイル
---------------------------------------------------------------------- */
/* CONTENT */
.kaku{
	font-family: "Zen Kaku Gothic New", sans-serif;
}
.ubuntu{
	font-family: "Ubuntu", sans-serif;
}
.content{
    width: 1200px;
    margin: 0 auto;
	min-width: 1200px;
}
.btn {
  width: 340px;
  height: 60px;
  background: #fff;
  border: 2px solid #333;
  border-radius: 30px;
  margin: 60px auto 0;
  text-align: center;
  line-height: 58px;
  box-sizing: border-box;
  position: relative;

  transition: all 0.3s ease;
}
.btn a{ display: block; color: #333; font-weight: 900; font-size: 18px; }
/* 矢印 */
.btn::after {
  content: "▶";
  position: absolute;
  right: 20px;
  top: 0;
  transition: transform 0.3s ease;
}

/* hover */
.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  border-color: #E4007F;
}

.btn:hover::after {
  transform: translateX(5px);
}

@media (max-width:640px) {
	.content{
		width: 580px;
		margin: 0 auto;
		min-width: 580px;
	}
	.btn {
	  width: 450px;
	  height: 80px;
	  background: #fff;
	  border: 4px solid #333;
	  border-radius: 40px;
	  margin: 60px auto 0;
	  text-align: center;
	  line-height: 72px;
	  box-sizing: border-box;
	  position: relative;

	  transition: all 0.3s ease;
	}
	.btn a{ display: block; color: #333; font-weight: 900; font-size: 24px; }
	/* 矢印 */
	.btn::after {
	  content: "▶";
	  position: absolute;
	  right: 20px;
	  top: 0;
	  transition: transform 0.3s ease;
	}

	/* hover */
	.btn:hover {
	  transform: translateY(-3px);
	  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
	  border-color: #E4007F;
	}

	.btn:hover::after {
	  transform: translateX(5px);
	}
}

/* =============================
   COLOR VARIABLES
============================= */
:root {
  --color-main: #2864A1;
  --color-sub: #F8F8F8;
  --color-text: #333;
  --color-white: #fff;
  --color-border: #c3c3c3;

  --color-bg-table: #EFEFEF;
  --color-bg-th: #D8D8D8;

  --color-shadow: #f2f2f2;
  --color-accent: #5cbcd7;

  --color-btn: #2864A1;
  --color-btn-hover: #1f4f80;

  --color-file-btn: salmon;
}


/* =============================
   CONTACT FORM7
============================= */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea,
.wpcf7 select {
  width: calc(100% - 20px);
  padding: 10px;
  background: #eee;
  border: none;
	font-size: 16px;
}
.wpcf7 select {
	width: 100%;
  appearance: none;        /* ←これ重要 */
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  background: #eee url("data:image/svg+xml;utf8,<svg fill='%23333' height='20' viewBox='0 0 20 20' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M5 7l5 5 5-5z'/></svg>") no-repeat right 10px center;
  background-size: 16px;
}
.wpcf7 .submit_btn {
  text-align: center;
  margin: 40px 0;
}

.wpcf7 .submit_btn .btn {
  width: 340px;
  height: 60px;
  background: #fff;
  border: 2px solid #333;
  border-radius: 30px;
  margin: 60px auto 0;
  text-align: center;
  line-height: 58px;
  box-sizing: border-box;
  position: relative;
	font-size: 18px;
	color: #333;
	font-weight: 700;
  transition: all 0.3s ease;
  cursor: pointer;
}
/* hover */
.wpcf7 .submit_btn .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  border-color: #E4007F;
}

.wpcf7 .submit_btn .btn:hover::after {
  transform: translateX(5px);
}

/* =============================
   PAGER
============================= */
.pagination {text-align: center;width: 100%;display: block;margin: 50px 0;}
.inner{display: inline-block;}
.pagination a {background: #F8F8F8;color: #333;text-decoration: none}
.pagination .page-of {display: block;width: 100%;font-size: 108%;text-align: center;margin-bottom: 2em}
.pagination a, .pagination .current {display: inline-block;padding: 0 1.5em;font-size: 116%;font-weight: 700;line-height: 50px;height: 50px}
.pagination .current {background: #2864A1;color: #fff}
.pagination a:hover {background: #2864A1;color: #fff}
ul#pagenavi {margin-top: 5em;list-style: none;}
#pagenavi .prev a,#pagenavi .next a{color: #fff;margin: 5px 0;background-color: #2864A1;border-style: none;padding: 10px 25px;}
#pagenavi .prev{float: left;}
#pagenavi .next{text-align: right;}


/* =============================
   POST CONTENT
============================= */

/* text */
#post_col .box p {
  margin: 15px 0;
}

#post_col .box h1,
#post_col .box h2,
#post_col .box h3,
#post_col .box h4,
#post_col .box h5,
#post_col .box h6 {
  margin-bottom: 10px;
  padding-top: 10px;
  line-height: 1.2;
  font-weight: 700;
}

/* link */
#post_col .box a {
  color: var(--color-main);
  text-decoration: underline;
}

/* image */
#post_col .box .thumb{
	width: 510px;
	margin: 0 auto 40px;
}
#post_col .box .thumb img{
	width: 100%;
	object-fit: cover;
}
#post_col .box img {
  max-width: 100%;
  height: auto;
}

/* list */
#post_col .box ul {
  list-style: disc;
  margin-left: 1.3em;
}

#post_col .box ol {
  list-style: decimal;
  margin-left: 1.5em;
}

/* table */
#post_col .box table {
  width: 100%;
  border-collapse: collapse;
}

#post_col .box th,
#post_col .box td {
  padding: 10px 15px;
  border: 1px solid var(--color-border);
}

#post_col .box th {
  background: var(--color-bg-th);
}

#post_col .box td {
  background: var(--color-bg-table);
}

/* blockquote */
#post_col .box blockquote {
  margin-bottom: 25px;
  padding: 30px;
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 0 var(--color-shadow);
  position: relative;
}

#post_col .box blockquote:before,
#post_col .box blockquote:after {
  color: var(--color-accent);
}


/* =============================
   FILE BUTTON
============================= */
.wp-block-file a.wp-block-file__button {
  background-color: var(--color-file-btn);
  font-weight: 700;
}


/* =============================
   MOBILE
============================= */
@media (max-width:640px) {

	.wpcf7 input[type="text"],
	.wpcf7 input[type="email"],
	.wpcf7 input[type="tel"],
	.wpcf7 textarea,
	.wpcf7 select {
	  width: calc(100% - 20px);
	  padding: 10px;
	  background: #eee;
	  border: none;
		font-size: 24px;
	}
	.wpcf7 input{
		font-size: 24px;
	}
	input[type="file"]::file-selector-button {
  font-size: 16px;      /* 文字サイズ */
  padding: 10px 20px;  /* 余白（ボタンサイズ） */
  border-radius: 5px;  /* 角丸 */
  background-color: #f0f0f0;
}
	.wpcf7 select {
		width: 100%;
	  appearance: none;        /* ←これ重要 */
	  -webkit-appearance: none;
	  -moz-appearance: none;
	  cursor: pointer;
	  background: #eee url("data:image/svg+xml;utf8,<svg fill='%23333' height='20' viewBox='0 0 20 20' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M5 7l5 5 5-5z'/></svg>") no-repeat right 10px center;
	  background-size: 16px;
	}
	.wpcf7 .submit_btn {
	  text-align: center;
	  margin: 40px 0;
	}

	.wpcf7 .submit_btn .btn {
	  width: 500px;
	  height: 80px;
	  background: #fff;
	  border: 4px solid #333;
	  border-radius: 40px;
	  margin: 60px auto 0;
	  text-align: center;
	  line-height: 72px;
	  box-sizing: border-box;
	  position: relative;
		font-size: 24px;
	color: #333;
	font-weight: 700;
	  transition: all 0.3s ease;
	  cursor: pointer;
	}
	/* hover */
	.wpcf7 .submit_btn .btn:hover {
	  transform: translateY(-3px);
	  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
	  border-color: #E4007F;
	}

	.wpcf7 .submit_btn .btn:hover::after {
	  transform: translateX(5px);
	}
.pagination {text-align: center;width: 100%;display: block;margin: 20px 0;}
.inner {width: 100%;display: flex;height: 46px;}
.pagination a {background: #F8F8F8;color: #333;text-decoration: none;padding: 0;font-size: 20px;height: 46px;line-height: 46px;}
.pagination .page-of {-webkit-box-ordinal-group: 2;-ms-flex-order: 2;-webkit-order: 2;order: 2;position: absolute;left: 37%;width: 26%;font-weight: 700;color: #fff;background: #2864A1;height: 46px;line-height: 46px;font-size: 20px;text-align: center;margin-bottom: 0;}
.pagination .current, .pagination .pn-numbers {display: none}
.pagination .m-prev {-webkit-box-ordinal-group: 0;-ms-flex-order: 0;-webkit-order: 0;order: 0;width: 15%;position: absolute;left: 0%;text-align: center;}
.pagination .pn-prev {-webkit-box-ordinal-group: 1;-ms-flex-order: 1;-webkit-order: 1;order: 1;width: 22%;position: absolute;left: 15%;text-align: center;}
.pagination .pn-next {-webkit-box-ordinal-group: 3;-ms-flex-order: 3;-webkit-order: 3;order: 3;width: 22%;position: absolute;left: 63%;text-align: center;}
.pagination .m-next {-webkit-box-ordinal-group: 4;-ms-flex-order: 4;-webkit-order: 4;order: 4;width: 15%;position: absolute;left: 85%;text-align: center;}
.pagination a:hover {background: inherit;color: #fff}

	ul#pagenavi {margin-top: 5em;list-style: none;}
	#pagenavi .prev a,#pagenavi .next a{color: #fff;margin: 5px 0;background-color: #2864A1;border-style: none;padding: 10px 25px;font-size: 20px;}
	#pagenavi .prev{float: left;}
	#pagenavi .next{text-align: right;}

  /* YouTube */
  .youtube {
    position: relative;
    padding-top: 56.25%;
  }

  .youtube iframe {
    position: absolute;
    width: 100%;
    height: 100%;
  }
}