@charset "utf-8";
/*
Theme Name: 村田きょうこ公式サイト（AEGNDA利用）
Theme URI: https://tcd-theme.com/tcd059
Description: WordPressテーマ TCD「AEGNDA」の子テーマ
Template: agenda_tcd059
Author: TRY
Version: 1.0
*/

html {
  scroll-padding-top: 60px;
}

/* ヘッダー */
#header {
  background: rgba(255, 255, 255, 0.8);
}

#header_slider {
    height: auto !important;
    aspect-ratio: 16 / 9;
/*
  max-width: 1450px;
  margin: 0 auto;
*/
}

#header_slider .item {
  height: auto !important;
  aspect-ratio: 16 / 9;
}

/* フッター バナー */

#footer_banner_inner {
  padding-bottom: 30px;
}

#footer_banner .og_footer_banner {
  display: flex;
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  padding: 0 0 60px;
}

#footer_banner .og_footer_banner_item {
  width: 50%;
}

#footer_banner .og_footer_banner_item a {
  display: block;
  max-width: 250px;
  margin: 0 auto;
}

@media screen and (max-width:599px) {

  #footer_banner .og_footer_banner {
    flex-direction: column;
  }

  #footer_banner .og_footer_banner_item {
    width: 100%;
  }

  #footer_banner .og_footer_banner_item:first-of-type {
    margin-bottom: 20px;
  }

}

/* フッター */

#footer_info .info p {
  line-height: 1.6;
}

#footer_menu_left {
  flex: 1;
}

#globalsign {
  flex: 0 0 350px;
  text-align: center;
}

#footer_widget {
  display: none;
}

.grecaptcha-badge {
  bottom: 70px !important;
}

#banner_line_side {
  position: fixed;
  bottom: 80px;
  right: 0;
  z-index: 9999;
}

@media screen and (max-width:1260px) {

  #footer_bottom {
    display: flex !important;
  }

  #footer_info {
    flex: 0 0 350px !important;
  }

  #globalsign {
    flex: 0 0 200px;
  }

}

@media screen and (max-width:767px) {

  #footer_info {
    flex: 0 0 270px !important;
  }

  #footer_info .logo img {
    width: 250px;
    height: auto;
  }

  #globalsign {
    flex: 0 0 150px;
  }

  #banner_line_side {
    bottom: 55px;
  }

  #banner_line_side img {
    width: 80px;
    height: auto;
  }

}

@media screen and (max-width:599px) {

  #footer_bottom {
    flex-direction: column;
  }

  #footer_menu_left {
    display: none;
  }

}

/* 共通 */

.q_button {
  background-color: #e9546b !important;
}

.post_content .style3b {
  border-top: none !important;
  background-color: #e9546b !important;
  color: #fff !important;
}

@media screen and (max-width:767px) {

  .post_content .style3b {
    padding: 10px 20px !important;
  }

}

/* 下層共通 */

#page_header {
  max-width: 1180px;
  margin: 0 auto;
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: auto 350px;
}

body.page #main_contents {
  position: relative;
}

#page_header_title {
  position: absolute;
  top: 250px;
  left: 0;
  z-index: -1;
  background-color: #f4b1b1;
  font-size: 40px !important;
}

#page_header_title span {
  justify-content: center;
}

body.page #bread_crumb ul {
  padding-top: 0;
}

@media screen and (max-width:1260px) {

  #page_header_title {
    top: 150px;
  }

  #page_header_title span {
    justify-content: flex-start;
  }

}

@media screen and (max-width:730px) {

  #page_header {
    background-size: auto 250px;
  }

  #page_header_title {
    top: 100px;
  }

}

@media screen and (max-width:599px) {

  #page_header {
    height: 150px !important;
    background-size: auto 150px;
  }

  #page_header_title {
    top: 50px;
    font-size: 25px !important;
  }

}

/* 一覧ページ（一部HOME） */

#blog_list .item {
  width: 33.3%;
  height: auto;
  border-left: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}

#blog_list .title_area {
  border-left: none !important;
  border-bottom: none !important;
}

#blog_list .meta li.date {
  border-right: none;
}

#blog_list .item .image {
  height: 260px;
  background: #f3f3f3;
  overflow: hidden;
}

.page_navi li {
  display: inline-block;
  margin-bottom: 5px;
}

@media screen and (max-width:1260px) {

  #blog_list .item .image {
    height: 300px !important;
  }

}

@media screen and (max-width:767px) {

  #blog_list .item {
    width: 100% !important;
  }

  #blog_list .item .image {
    height: auto !important;
  }

}

@media screen and (max-width:767px) {

  #blog_list .item .title_area {
    border-right: 1px solid #ddd !important;
    height: auto !important;
  }

}

/* 詳細ページ */

body.single #post_meta_top li:first-of-type {
  padding-right: 0;
}

body.single #post_meta_top li:first-of-type:after {
  content: none;
}

body.single .og_post_row {
  display: flex;
}

body.single  .og_post_col {
  width: 50%;
  margin-bottom: 30px;
}

body.single .og_post_pdf {
  width: 300px;
  margin-right: 30px;
}

body.single .og_post_pdf .q_button {
  width: 100%;
  max-width: initial;
}

body.single .og_post_text {
  flex: 1;
}

body.single .og_post_img {
  padding-right: 15px;
}

body.single .og_post_img_02 {
  padding-left: 15px;
}

body.single .og_post_youtube {
  position: relative;
  margin-bottom: 30px;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-width: 100%;
}

body.single .og_post_youtube iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

@media screen and (max-width:767px) {

  body.single .og_post_row {
    flex-direction: column;
  }

  body.single .og_post_col {
    width: 100%;
    padding-right: 0;
  }

  body.single .og_post_img_02 {
    padding-left: 0;
  }

  body.single .og_post_pdf p {
    margin-bottom: 0;
  }

}

/* HOME */

body.home .style3b:first-of-type {
  margin-top: 0;
}

body.home #blog_list .item {
  width: 50%;
}

body.home #blog_list .item .image {
  height: 400px;
}

body.home #blog_list .title a {
  color: #000;
}

body.home #blog_list .title a:hover {
  color: #e9546b;
  text-decoration: none;
}

body.home .og_facebook {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

body.home .og_facebook iframe {
  width: 100% !important;
}

body.home .og_sns {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

body.home .og_sns img {
  width: 100%;
}

body.home .og_policy {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin: 0 !important;
}

body.home .og_policy_unit {
  box-sizing: border-box;
  width: calc(33.33333% - 20px);
  padding: 30px;
  border: 7px solid #eee;
  background: #f9f9f9;
  color: #000;
}

body.home .og_policy_unit h4 {
  padding-top: 0;
  font-size: 150%;
  font-weight: normal;
}

body.home .og_policy_unit p {
  line-height: 1.6;
}

body.home .og_profile {
  background: #fff url(./img/home_profile.png) top right no-repeat;
  background-size: auto 100%;
}

body.home .og_profile_unit {
  max-width: 650px;
  padding: 15px 30px;
  color: #000;
  background: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid #ddd;
}

body.home .og_profile_unit h4 {
  color: #e9546b;
  font-size: 180%;
  font-weight: normal;
}

body.home .og_profile_unit h5 {
  color: #666;
  font-size: 120%;
}

body.home .og_profile_unit h6 {
  color: #e9546b;
  font-weight: normal;
}

body.home .og_profile_unit p {
  line-height: 1.6;
}

@media screen and (max-width:1260px) {

  body.home .post_col.post_col-2 {
    margin-bottom: 0 !important
  }

  body.home .q_button_wrap {
    margin: 20px auto;
  }

  body.home .og_profile_unit {
    max-width: initial;
  }

}

@media screen and (max-width:767px) {

  body.home .og_sns {
    margin-top: 30px;
  }

  body.home .og_policy_unit {
    width: calc(50% - 15px);
  }

}

@media screen and (max-width:599px) {

  body.home .og_policy_unit {
    width: 100%;
  }

  body.home .og_policy_image {
    max-width: 200px;
    margin: 0 auto;
  }

  body.home .og_profile {
    background-size: 100% auto;
  }

}

/* 活動レポート */
.og_page_header_activity {
  background-image: url(./img/page_header_activity.png);
}

/* 国会質疑詳細 */

.og_page_header_diet_questions {
  background-image: url(./img/page_header_diet_questions.png);
}

/* データバンク */

.og_page_header_doc {
  background-image: url(./img/page_header_doc.png);
}

.og_doc_wrap .q_button_wrap {
  display: flex;
  justify-content: space-around;
  line-height: 2.4;
}

@media screen and (max-width:1260px) {

  .og_doc_wrap .q_button_wrap {
    flex-wrap: wrap;
    gap: 30px;
  }

  .og_doc_wrap .q_button {
    width: calc(50% - 15px);
  }

}

@media screen and (max-width:767px) {

  .og_doc_wrap .q_button_wrap {
    flex-direction: column;
    align-items: center;
  }

}

/* お問い合わせ */

.og_page_header_inquiry {
  background-image: url(./img/page_header_form-inquiry.png);
}

.og_inquiry_wrap .og_table th {
  text-align: left;
  vertical-align: top;
  color: #000;
  background: #f7f7f7;
}

.og_inquiry_wrap .og_table .must {
  margin-left: 1em;
  color: #c00;
  font-size: 12px;
}

.og_inquiry_wrap .og_table input {
  width: 100%;
  padding: 5px;
  border: 1px solid #999;
}

.og_inquiry_wrap .og_table textarea {
  width: 100%;
  height: 300px;
  padding: 5px;
  border: 1px solid #999;
}

.og_inquiry_wrap .q_button {
  margin: 0 20px;
  border: none;
  line-height: 2.4;
  cursor: pointer;
}

@media screen and (max-width:767px) {

  .og_inquiry_wrap input,
  .og_inquiry_wrap textarea {
    font-size: 16px;
  }

  .og_inquiry_wrap .og_table,
  .og_inquiry_wrap .og_table tbody,
  .og_inquiry_wrap .og_table tr,
  .og_inquiry_wrap .og_table th,
  .og_inquiry_wrap .og_table td {
    display: block;
  }

  .og_inquiry_wrap .og_table th {
    border-bottom: none;
  }

  .og_inquiry_wrap .og_table td {
    padding: 15px;
    border-bottom: none;
  }

  .og_inquiry_wrap .og_table {
    border-bottom: 1px solid #bbb;
  }

  .og_inquiry_wrap .q_button_wrap {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }

}
