/*
Theme Name:TREE sub
Theme URI:
Description:WordPressテーマ「TREE」の自作子テーマです。
Template:tree_tcd081
Version:1.6
*/
/*スマホ時のトップページのフリースペースの左右の余白なくす*/
@media screen and (max-width: 750px) {
  .index_free_space {
    padding: 0 !important;
  }
}
/*ここまでスマホ時のトップページのフリースペースの左右の余白なくす*/
/*フォームのCSS*/
.contact h2 {
  font-size: 24px;
  text-align: center;
  padding-top: 40px;
  margin-bottom: 80px;
}
.contact h2 small {
  display: block;
  font-size: 12px;
  font-weight: normal;
}
.contact h2 img {
  max-width: 500px;
  min-width: 200px;
  width: 45%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 10px;
}
.contact .contact_form {
  max-width: 850px;
  padding-left: 25px;
  padding-right: 25px;
  margin-left: auto;
  margin-right: auto;
  font-size: 18px;
}
.contact .contact_form li {
  list-style: none;
}
.contact .contact_form li:not(:last-of-type) {
  margin-bottom: 30px;
}
.contact .contact_form li:last-of-type {
  margin-bottom: 125px;
}
span.red {
  font-size: 12px;
  color: red;
}
.contact .contact_form input,
.contact .contact_form textarea {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 18px;
  padding: 15px;
}
.contact .contact_form .mwform-checkbox-field label input,
.contact .contact_form .mwform-radio-field label input {
  width: inherit;
}
.mwform-zip-field input[type="text"],
.mwform-tel-field input[type="text"] {
  width: 30%;
}
.contact .contact_btn {
  display: flex;
  justify-content: center;
}
.contact .contact_btn li {
  list-style: none;
}
.contact .contact_btn li.back_btn {
  margin-right: 30px;
}
.contact .contact_btn button {
  width: 270px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  color: #fff;
  background: #000;
  font-size: 16px;
  letter-spacing: 0.1em;
  text-align: left;
  position: relative;
  transition: 0.4s;
  cursor: pointer;
}
.contact .contact_btn button:hover {
  opacity: 0.7;
}
.contact .contact_btn li:nth-of-type(2) button {
  background: #b3b3b3;
}
.contact .contact_btn button::after {
  content: "→";
  font-size: 18px;
  color: #fff;
  position: absolute;
  right: 10%;
}
.contact_comp {
  text-align: center;
  font-size: 21px;
  line-height: 2;
  padding-bottom: 80px;
}
.contact .contact_btn li:nth-of-type(2) button::after {
  content: "←";
  right: auto;
  left: 10%;
}
@media screen and (max-width: 750px) {
  .contact .contact_form {
    font-size: 14px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .contact .contact_form input,
  .contact .contact_form textarea {
    font-size: 14px;
    padding: 8px;
  }
  .support_form .attention {
    font-size: 10px;
  }
  .contact .contact_btn {
    flex-direction: column;
    align-items: center;
    margin-left: 0;
  }
  .contact .contact_btn li.back_btn {
    margin-right: 0;
    margin-bottom: 20px;
  }
}
/*ここまでフォームのCSS*/
/*トップページのスポンサー（画像あり）のCSS*/
.num6 .post_sponser {
  display: flex;
  flex-wrap: wrap;
  padding-bottom: 0;
}
.num6 .post_sponser .sponser {
  width: 32%;
  margin-bottom: 2%;
  padding: 10px;
}
.num6 .post_sponser .sponser:not(:nth-of-type(3n)) {
  margin-right: 2%;
}
.num6 .post_sponser .sponser .image {
  background-size: contain !important;
}
@media screen and (max-width: 768px) {
  .num6 .post_sponser .sponser {
    width: 50%;
    margin-bottom: 4%;
  }
  .num6 .post_sponser .sponser:not(:nth-of-type(3n)) {
    margin-right: 0;
  }
  .num6 .post_sponser .sponser:nth-last-of-type(odd) {
    margin-right: 4%;
  }
  .num6 .sponser .image_link {
    height: 120px !important;
  }
}
/*ここまでトップページのスポンサー（画像あり）のCSS*/
/*トップページ協力企業（画像なし）のCSS*/
.index_post_list.num7 .post_list_area.post_sponser {
  display: flex;
  flex-wrap: wrap;
  padding-bottom: 0;
}
.index_post_list.num7 .title_area {
  height: inherit;
  padding: 25px 20px;
  background: none;
}
@media screen and (max-width: 768px) {
  .index_post_list.num7 .title_area {
    padding: 15px 10px;
  }
}
/*ここまでトップページ協力企業（画像なし）のCSS*/
/*特別協賛企業（マイナビ農業）のCSS*/
/* .index_free_space.num5 {
	background: #f7f6f5;
	padding: 120px 0;
}

.index_free_space.type2 .cb_contents_inner {
	width: 1160px;
}

body.home .index_free_space.num5 .cb_side_headline {
	top: -40px!important;
	left: auto;
	right: 0;
	white-space: nowrap;
}

.link-mynavi {
	transition: all .4s;
}

.link-mynavi:hover {
	opacity: .7;
}

@media screen and (max-width: 1201px) {
	body.home .index_free_space.num5 .cb_side_headline {
		top: 0!important;
		left: 50%;
		right: auto;
		transform: translateX(-50%);
	}
	
	.index_free_space.type2 .cb_contents_inner {
		width: auto;
	}
}

@media screen and (max-width: 750px) {
	
	.index_free_space.num5 {
		margin: 0!important;
		padding: 40px 0!important;
	}
	
	.index_free_space.type2 .cb_contents_inner img {
		width: 80%;
		margin-left: auto;
		margin-right: auto;
	}
} */
/*ここまで特別協賛企業（マイナビ農業）のCSS*/
.post_content {
  line-height: 2.6;
}
@media screen and (max-width: 750px) {
  .post_content {
    line-height: 2.2;
  }
}
/*スマホ時にヘッダーロゴ表示 2023/04/17*/
@media screen and (max-width: 1201px) {
  #header_logo {
    display: block !important;
  }
}
/*ここまでスマホ時にヘッダーロゴ表示 2023/04/17*/
/*サポーター応募フォーム 2023/04/18*/
.page-id-906 #main_contents {
  background: #fff;
  margin-top: 120px;
  margin-bottom: 120px;
}
.page-id-906 #page_content {
  max-width: 100%;
  width: 1000px;
  padding-top: 75px;
}
.post_content ul.supporter-course-list {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-left: 0;
  margin-bottom: 0;
}
.post_content ul.supporter-course-list li {
  width: 49%;
  list-style: none;
}
.post_content ul.supporter-course-list li {
  margin-bottom: 0 !important;
}
.supporter-course-attention {
  margin-bottom: 80px;
}
.supporter-course-attention p {
  font-size: 14px;
  margin-bottom: 0;
}
.page-id-906 #container,
.page-id-928 #container,
.page-id-1238 #container,
.page-id-1242 #container,
.page-id-959 #container {
  background: #e6e6e3;
  background-image: url(img/bg.webp);
  background-repeat: repeat;
}
.contact .support_form {
  max-width: 1000px;
  width: 100%;
  padding: 1.5em;
  border: 1px solid #ddd;
  border-radius: 6px;
  background-color: #fafafa;
}
.contact .support_form li:last-of-type {
  margin-bottom: 0;
}
.support_form input.kuchi {
  width: 40px;
  padding: 8px;
}
.support_form input.price {
  width: 100px;
  padding: 8px;
  margin-right: 5px;
}
.support_form select {
  padding: 8px;
  font-size: 18px;
  border: 1px solid #ddd;
  border-radius: 6px;
}
.support_form .attention {
  font-size: 14px;
}
@media screen and (max-width: 750px) {
  .post_content ul.supporter-course-list li {
    width: 100%;
  }
  .support_form .attention {
    font-size: 10px;
  }
  .support_form select {
    font-size: 14px;
  }
}
/*ここまでサポーター応募フォーム 2023/04/18*/
/* おいしい映画祭2022年レポートページ 2023/04/20 */
.sponser2022 img {
  width: 33%;
}
.cooperation2022 {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}
@media screen and (max-width: 750px) {
  .sponser2022 img {
    width: 50%;
  }
}
/* おいしい映画祭2022年レポートページ 2023/04/20 */
/* トップのTwitter埋め込みのサイズ調整 2023/04/20 */
.twitter-timeline {
  margin-left: auto;
  margin-right: auto;
}
/* トップのTwitter埋め込みのサイズ調整 2023/04/20 */
.page-id-126 #container,
.parent-pageid-126 #container {
  background: #bcbaab;
  background-image: url(img/bg.webp);
  background-repeat: repeat;
}
.page-id-126 #page_content,
.parent-pageid-126 #page_content {
  /*	width: 980px;*/
  background-color: #fff;
  padding: 25px;
  margin: 120px auto;
}
.page-id-967 #page_content {
  display: none;
}
.judge-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.judge {
  width: 49%;
  margin-bottom: 20px;
}
.entry-form {
  padding: 1.1em 2em;
  /* border: 1px solid #ddd; */
  /* border-radius: 6px; */
  /* background-color: #fafafa; */
}
.contact .entry-form li:last-of-type {
  margin-bottom: 0;
}
.entry-form input.kuchi {
  width: 40px;
  padding: 8px;
}
.entry-form input.price {
  width: 100px;
  padding: 8px;
  margin-right: 5px;
}
.entry-form select {
  padding: 8px;
  font-size: 18px;
  border: 1px solid #ddd;
  border-radius: 6px;
}
.entry-form .attention {
  font-size: 14px;
}
@media screen and (max-width: 750px) {
  .page-id-126 #page_content {
    padding: 15px;
  }
  .judge {
    width: 49%;
  }
  .judge .well2,
  .judge .post_content p {
    font-size: 10px;
    padding: 8px;
    margin: 0;
  }
  .judge .post_content p {
    margin: 0;
  }
  .entry-form {
    padding: 1rem 0;
  }
  .entry-form .attention {
    font-size: 10px;
  }
  .entry-form select {
    font-size: 14px;
  }
}
.post_content .aligncenter {
  text-align: center;
}
/*スポンサーのロゴ並び順や大きさ調整*/
.num6 .post_sponser .sponser:first-of-type {
  width: 100%;
  margin-right: 0;
}
@media screen and (min-width: 769px) {
  .num6 .post_sponser .sponser:nth-of-type(n + 23) {
    width: 25%;
    margin-right: 0;
  }
}

@media screen and (max-width: 768px) {
  .index_post_list {
    padding-bottom: 0 !important;
  }
  .num6 .post_sponser {
    /*    justify-content: space-between;*/
  }
  .num6 .post_sponser .sponser:nth-last-of-type(odd) {
    margin-right: 0;
  }
  .num6 .post_sponser .sponser:nth-of-type(19) {
    /* display: none; */
  }
  .num6 .post_sponser .sponser:nth-of-type(n + 19) {
    width: 33.3333333%;
  }
}
.pc {
  display: block;
}
.sp {
  display: none;
}
@media screen and (max-width: 768px) {
  .pc {
    display: none;
  }
  .sp {
    display: block;
  }
}

/*トップページのABOUTの画像の位置調整 2024/12/17*/
.index_design_content.layout_type1 .image {
  background-position: top center !important;
}
