@charset "UTF-8";
/*
Theme Name:Famous child
Theme URI:
Description:子テーマ
Template:isa_contest
Version:2.1.3
Updated: 2026-09-11
*/

/*common*/
body { color: #333333; }
.kosugi-maru-regular { font-family: "Kosugi Maru", sans-serif !important; font-weight: 400; font-style: normal; }
h1, h2, #js-global-nav li a, .p-button, .p-header-content__catch, .p-header-content__desc, .p-index-about__image-label, #menu-footer, .idx_prize_desc .p-entry__body p { font-family: 'Kosugi Maru', sans-serif !important; font-style: normal; }

.l-main { background: #fcfcf5 !important; }
.home .l-main { background: #ffffff !important; }
@media only screen and (max-width: 991px) {
	.p-page-header { background: #ffffff !important; }
}

.ytube { padding-top: 0px; }
.ytube iframe { height: 100.2% !important; }

/*h1*/
.blog h1,
.date h1,
.category h1.p-page-header__title { color: #a9ca32 !important; font-size: 40px !important; }
.single .p-page-header__title { font-family: 'Kosugi Maru', sans-serif !important; font-style: normal; color: #a9ca32 !important; font-size: 40px !important; }
.page h1 { font-size: 40px !important; }
.post-type-archive-judge h1 { color: #00a8b7 !important; font-size: 40px !important; }
.single-information h1.p-page-header__title  { color: #c8925e !important; }
@media only screen and (max-width: 991px) {
	.blog h1, .single .p-page-header__title, .date h1, .page h1, .post-type-archive-judge h1, .error404 h1 { font-size: 24px !important; }
}

/*button*/
.p-button { border-radius: 50px; margin: 10px 0 0 10px; font-size: 18px !important; }

/*home slider mobile*/
@media only screen and (max-width: 480px) { 
#js-index-slider { height: 400px; }
#js-index-slider .p-header-content__image img { height: 400px !important; }
}

/*navigation*/
#js-global-nav li a { font-size: 18px !important; }
#menu-footer li a { font-size: 16px !important; }

/*banner*/
#cb_1  { background-color: #fcfcf5 !important; margin-bottom: 0; padding-bottom: 20px; padding-top: 50px !important; }
#cb_1 .p-entry__body { text-align: center; width: 80%; margin: 0 auto; font-family: "Kosugi Maru", sans-serif !important; font-weight: 600; font-style: normal; }
@media only screen and (max-width: 480px) { 
#cb_1 .p-entry__body { font-size: 100%; width: 100%; }
}
#cb_1 .p-button { background-color: #fcce00; }
#cb_1 .prize { background-color: #e5508d; }
#cb_1 .p-button:hover { background-color: #000000; }

/*home blog*/
#cb_4 { padding-top: 80px; }
#cb_4 .p-index-archive__item-meta { margin: 0 auto 10px !important; }

/*home past_prize*/
#cb_6 h2 { color: #fcce00 !important; font-size: 40px; }
#cb_6 span { display: inline-block; background: #fcce00; border-radius: 50px; margin: 10px 0 0 10px; padding: 0 20px; color: #ffffff !important; margin-top: 10px; font-size: 18px !important; font-family: 'Kosugi Maru', sans-serif !important; }
#cb_6 span:hover { background: #000000; }
#cb_6 .p-button { background-color: #fcce00 !important; }
#cb_6 .p-button:hover { background-color: #000000 !important; }
@media only screen and (max-width: 991px) { 
	#cb_6 h2 { font-size: 24px !important; }
	#cb_6 .su-row .su-column { float: left; width: 46%; margin: 0 0 10px 3%; }
	#cb_6 span { font-size: 16px !important; }
}

/*home PR*/
#cb_8 .p-cb__item-inner { background: #fcfcf5 !important; }
#cb_8 .p-cb__item-desc { text-align: center !important; }
@media only screen and (min-width: 1024px) {
	#cb_8 .p-index-pr__map-desc { font-size: 16px !important; }
}

td a { color: #e5508d !important; }

@media only screen and (max-width: 991px) {
	#prize { padding: 5% 3%; }
}
#prize a span { display: inline-block; background: #fcce00; border-radius: 50px; margin: 10px 0 0 10px; padding: 0 20px; color: #ffffff !important; margin-top: 10px; font-size: 18px !important; font-family: 'Kosugi Maru', sans-serif !important; }
#prize a span:hover { background: #000000; }

#prize .su-row { margin-bottom: 60px; }
#prize #p_type5 .su-row { margin-bottom: 10px !important; }
#prize .su-row .su-column-size-1-3 { margin-left: 2% !important; width: 32%; }
#prize .su-row .su-column-size-1-3:first-child { margin-left: 0 !important; }
@media only screen and (max-width: 991px) { 
	#prize .su-row { margin-bottom: 20px; }
	#prize .su-row .su-column-size-1-3 { width: 100%; }
}

#prize h2 { color: #fcce00; display: flex; align-items: center; justify-content: center; }
#prize #p_type1 h2 { font-size: 32px; }
#prize #p_type2 h2 { font-size: 30px; }
#prize #p_type3 h2,
#prize #p_type4 h2,
#prize #p_type5 h2,
#prize #p_type6 h2 { font-size: 28px; }
#prize .fas { margin-right: 10px; }
#prize .semi { color: #fcce00; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: bold; }
@media only screen and (max-width: 991px) { 
	#prize h2 { font-size: 22px !important; }
	#prize .semi { font-size: 18px !important; }
}
#prize h2 span { font-size: 14px !important; color: #ffffff; padding: 4px 8px; margin-right: 5px; }
#prize h2.obog span { background: #fcce00; }
#prize h2.kunugi { color: #a9ca32 !important; }
#prize h2.kunugi span { background: #a9ca32; }

#prize .work { margin-bottom: 20px; }

#prize .prz_title { text-align: center; }
/*#prize .prz_title h3 { display: inline; font-weight: bold; border-bottom: 3px solid #e5508d; line-height: 1.6em; padding-bottom: 5px; }*/
#prize .prz_title h3 { display: inline; font-weight: bold; line-height: 1.6em; padding-bottom: 10px; }
#prize #p_type1 .prz_title h3 { font-size: 28px; }
#prize #p_type2 .prz_title h3 { font-size: 24px; }
#prize #p_type3 .prz_title h3 { font-size: 22px; }
#prize #p_type4 .prz_title h3 { font-size: 20px; }
#prize #p_type5 .prz_title h3 { font-size: 18px; }
#prize #p_type6 .prz_title h3 { font-size: 20px; }

/*#prize .prz_name { margin-bottom: 10px; text-align: center; }*/
#prize .prz_name { position: relative; margin-bottom: 10px; text-align: center; padding-top: 5px; }
#prize .prz_name::before { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 20%; border-top: 3px solid #e5508d; }
#prize #p_type1 .prz_name { font-size: 22px; }
#prize #p_type2 .prz_name { font-size: 20px; }
#prize #p_type3 .prz_name,
#prize #p_type4 .prz_name { font-size: 18px; }
#prize #p_type5 .prz_name { font-size: 16px; }
#prize #p_type6 .prz_name { font-size: 18px; }

#prize .prz_year { font-size: 70%; }
#prize #p_type1 .prz_year { font-size: 60%; }
#prize #p_type5 .prz_year { font-size: 80%; }

@media only screen and (max-width: 991px) { 
	#prize .prz_title h3 { font-size: 20px !important; }
	#prize .prz_name { font-size: 16px !important; }
}
#prize .rsn { line-height: 1.8em; }
#prize .rsn_title { text-align: center; }
#prize .rsn_title span { font-size: 80%; font-weight: bold; border: 1px solid #e5508d; color: #e5508d; border-radius: 20px; padding: 2px 8px; }
#prize .rsn_comment { line-height: 1.6em; }
#prize #p_type5 .rsn_comment,
#prize #p_type6 .rsn_comment { font-size: 90%; }

#prize .jdg { line-height: 1.8em; }
#prize .jdg_title { text-align: center; }
#prize .jdg_title span { font-size: 80%; font-weight: bold; border: 1px solid #00a8b7; color: #00a8b7; border-radius: 20px; padding: 2px 8px; }
#prize .jdg_comment { font-size: 90%; }
#prize .jdg_name { color: #00a8b7; font-size: 85%; }

#prize img { pointer-events: none; }

/*form*/
.wpcf7 input, .wpcf7 p { font-size: 16px !important; line-height: 2 !important; }
.wpcf7 label { font-family: 'Kosugi Maru', sans-serif !important;  }
.wpcf7 label span.require { color: #d14d6e !important; font-size: 13px !important; }
.wpcf7 .wpcf7-submit, .wpcf7 .wpcf7-previous  { background-color: #bf9700 !important; border-radius: 50px; margin: 0 auto;  font-family: 'Kosugi Maru', sans-serif !important; }
.wpcf7 .wpcf7-submit:hover { background-color: #000000 !important; }
.wpcf7-form-control-wrap .wpcf7-radio span { display: inline-block !important; }
.wpcf7 .scroll-box { width:98% !important;; height:150px !important; overflow-y: scroll !important; background-color:#ffffff !important; border: 1px solid #cccccc !important; padding: 1% !important; }
.wpcf7 .scroll-box h5  { font-size: 14px !important; line-height: 1.2 !important; }
.wpcf7 .scroll-box p { font-size: 13px !important; line-height: 1.2 !important; }
.wpcf7-form-control-wrap .wpcf7-acceptance { text-align: center !important; }
.wpcf7 select, .wpcf7 .wpcf7-list-item-label { font-size: 15px !important; }

@media screen and (max-width: 767px) {
.cb_free_space .post_content .styled_h2 { font-size: 20px !important; }
.wpcf7 .wpcf7-submit, .wpcf7 .wpcf7-previous  { font-size: 18px !important; }
}

/*blog*/
.p-category-item { background-color: #a9ca32 !important; font-size: 14px !important; padding: 5px 0 !important; font-family: 'Kosugi Maru', sans-serif !important; }
.p-category-item:hover { background-color: #a9ca32 !important; }
.single h4.style4a { border-left: 2px solid #a9ca32 !important; color: #a9ca32 !important; }
.single a.q_button { background: #a9ca32; border-radius: 50px; padding: 10px 0; color: #ffffff !important; margin-top: 10px; font-size: 18px !important; font-family: 'Kosugi Maru', sans-serif !important; }
.single a.q_button:hover { background: #000000; }
.p-headline, .p-widget__title { border-color: #a9ca32 !important; }

/*blog archive / category - 共通（PC・スマホ両方／シングルは対象外）*/
/* サイドバー非表示・本文抜粋非表示・区切り線非表示 */
.blog .l-secondary,
.archive .l-secondary { display: none !important; }
.blog .p-blog-archive__item-excerpt,
.archive .p-blog-archive__item-excerpt { display: none !important; }
.blog .p-blog-archive__item::after,
.archive .p-blog-archive__item::after { display: none !important; }

/*blog archive / category - PC 3カラム化（シングルは対象外）*/
@media only screen and (min-width: 992px) {
	/* メインコンテンツ全幅化（サイドバー領域を回収） */
	.blog .l-2columns,
	.archive .l-2columns { display: block !important; }
	.blog .l-2columns .l-primary,
	.archive .l-2columns .l-primary { width: 100% !important; }

	/* 一覧を3カラムグリッドに */
	.blog .p-blog-archive,
	.archive .p-blog-archive {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		gap: 40px 30px;
	}

	/* 個別カードの余白リセット */
	.blog .p-blog-archive__item,
	.archive .p-blog-archive__item { margin-bottom: 0; padding-bottom: 0; }

	/* リンクを縦積み（flex解除） */
	.blog .p-blog-archive__item a,
	.archive .p-blog-archive__item a { display: block; }

	/* サムネイルは残す */
	.blog .p-blog-archive__item-thumbnail,
	.archive .p-blog-archive__item-thumbnail { margin-bottom: 14px; }

	/* 日付：1行コンパクト表示 */
	.blog .p-blog-archive__item-date,
	.archive .p-blog-archive__item-date {
		margin-right: 0;
		margin-bottom: 6px;
		text-align: left;
	}
	.blog .p-blog-archive__item-date .p-article__date-day,
	.blog .p-blog-archive__item-date .p-article__date-month,
	.blog .p-blog-archive__item-date .p-article__date-year,
	.archive .p-blog-archive__item-date .p-article__date-day,
	.archive .p-blog-archive__item-date .p-article__date-month,
	.archive .p-blog-archive__item-date .p-article__date-year {
		display: inline-block;
		font-size: 13px;
		line-height: 1.4;
		margin: 0 4px 0 0;
	}

	/* タイトル：適切なサイズに */
	.blog .p-blog-archive__item-title,
	.archive .p-blog-archive__item-title {
		font-size: 16px;
		line-height: 1.5;
		-webkit-line-clamp: 3;
	}
}

/*404*/
.error404 .p-entry p { display: none !important; }