/*
 Theme Name:   Folclore Child
 Theme URI:    http://example.com/twenty-fifteen-child/
 Description:  folclore Child Theme
 Author:       Shibata JC
 Template:     folclore
 Version:      1.0.0
*/
/* 全体共通　ーーーーーーーーーーーーーー */

:root {
  --chairman-color: rgb(160, 216, 239);
  /*メイン*/
  --chairman-color2: rgb(25, 47, 96);
  /*サブ*/
}



.header_social_icons {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 40%;
}

.header_social_icons a {
  width: 50px;
}


.theme-color,
.theme-color-b,
.theme-color a {
  color: var(--chairman-color2) !important;
}

.theme-color-l {
  border-color: var(--chairman-color2) !important;
}

.theme-color-bg a {
  background: var(--chairman-color2);
  background: linear-gradient(180deg, var(--chairman-color) 0%, var(--chairman-color2) 100%);
}

html * {
  box-sizing: border-box;
}

@font-face {
  font-family: "Impact";
  src: url("fonts/Impact.ttf") format("woff");
  /* medium */
  font-weight: normal;
  font-style: normal;
}

body #nav {
  max-width: 1080px;
  width: auto;
}

body #footer {
  background-color: white;
}

#footer #copyright {
  background-color: white;
}

#footer .logo {
  width: 50%;
  margin: 0 auto;
  margin-bottom: 5px;
}

.footer-3-wrapper {
  background-image: url(https://jci-shibata.com/wp-content/uploads/2020/12/footer-3-background.png);
  background-size: 100%;
}

.footer-address {
  background-color: black;
  text-align: center;
}

.footer-address p {
  color: white;
  line-height: 1.2;
}

.footer_3 {
  margin: 0 auto;
  justify-content: space-around;
  width: 60%;
}

.footer_3 img {
  width: 100%;
}

.footer_3 a {
  width: 45%;
  margin: 10px 0px;
}

.footer-inner a {
  display: inline-block;
  width: 100%;
}

.footer-inner a img {
  width: 100%;
}

.menu-bottom-menu-container {
  background-color: #575757;
}

#menu-bottom-menu {
  display: flex;
  justify-content: space-around;
  max-width: 960px;
  margin: 0 auto;
}

#menu-bottom-menu li {
  margin-top: 30px;
  margin-bottom: 30px;
}

#menu-bottom-menu a {
  color: white;
  font-size: 16px;
}

#copyright .copy_text {
  color: black;
}

.margin_top50 {
  margin-top: 50px !important;
}

.margin_top100 {
  margin-top: 100px !important;
}

.margin_bottom50 {
  margin-bottom: 50px !important;
}

.padding_bottom50 {
  padding-bottom: 50px !important;
}

.margin_bottom100 {
  margin-bottom: 100px !important;
}

.margin_bottom20 {
  margin-bottom: 20px;
}

li {
  list-style-type: none;
}

body li.item {
  height: 400px;
}

.category .pager {
  margin-top: 50px;
}

.footer-inner .topbox {
  display: flex;
  gap: 1.5rem;
  justify-content: space-around;
}

#topcontrol {
  bottom: 80px !important;
  right: 10px !important;
}

/* 全体共通ここまで　ーーーーーーーーー */

.home article:first-child {
  margin-bottom: 50px;
}

/* 下層ページ共通 -----------------*/
.page .sidebox,
.page .third {
  display: none !important;
}

.page .blog-title {
  display: none;
}

.page .blog-title {
  border: none !important;
  text-align: center;
}

.page .twothird {
  width: 100%;
}

.page .textOnly_list {
  margin: 0 auto;
  width: 320px;
}

.no_padding_top {
  padding-top: 0px !important;
}

.no_padding_bottom {
  padding-bottom: 0px !important;
}

.no_margin_bottom {
  margin-bottom: 0px;
}

.align_center {
  text-align: center;
}

.writer_name {
  text-align: right;
}

.page .blog-title {
  margin-bottom: 0px;
  font-weight: normal;
}

.textOnly_title {
  border: none;
}

.textOnly_underBar {
  border-top: 6px double #ccc;
  width: 300px;
  margin: 0 auto;
  height: 0px;
  padding-top: 0px;
  padding-bottom: 0px;
}

.green-title h2,
.textOnly_title h2 {
  display: inline-block;
  width: 450px;
  border-top: none;
}

.textOnly_title h2 {
  border-top: none;
  border-bottom: 6px double #ccc;
}

.textOnly_title {
  margin-bottom: 50px;
}

.green-title h2 {
  border-bottom: 3px solid;
}

.info-button a {
  font-size: 12px;
  padding-left: 60px;
  padding-right: 60px;
}

.page .wp-block-buttons .info-button {
  margin-bottom: 60px;
}

.font-mintyo {
  font-family: "Times New Roman", "YuMincho", "Hiragino Mincho ProN",
    "Yu Mincho", "MS PMincho", serif;
}

.font-Impact {
  font-family: "Impact";
  line-height: 1.1;
}

/* 下層ページ共通ここまで -----------------*/

/* フロントページ ------------------*/
.top-wide-contents {
  display: flex;
  justify-content: center;
  align-items: center;
}

.home .top-wide-contents .top-widget-title {
  max-width: 500px;
}

.top-wide-contents #block-11.widget {
  width: 366px;
}

.home .top-wide-contents .widget_text {
  width: 50%;
}

.home .top-wide-contents .widget_text p {
  text-align: left;
}

.top-b {
  width: 80%;
  margin: 0 auto;
}

.report-search-area {
  text-align: center;
}

/* フロントページここまで----------- */

/* 青年会議所とはーーーーーーーーーーー */
.page-id-140 .wp-block-group {
  margin-bottom: 50px;
}

.max460 {
  max-width: 460px;
}

/* 青年会議所とはここまでーーーーーーーーーーー */

/* スケジュールページーーーーーーー */
.google-calendar {
  border: none !important;
}

.schedule_link a {
  color: var(--chairman-color2);
}

.page-id-138 .textOnly_title h2 {
  font-weight: normal;
}

/* スケジュールページここまでーーーーーーー */

.page .seinen_big {
  line-height: 1.4;
}

/* カテゴリーページ ---------------------- */
.category .pagetitle {
  padding-top: 60px;
}

/*---------------------- */

/* 新入会員募集ページ */
.iframe-center iframe {
  margin: 0 auto;
}

/* 新入会員募集ページここまで */

/* 委員会紹介ページ */
.page-id-142 h2 a {
  color: #DDAF29;
}

.page-id-142 h2 a:hover {
  color: #997a1d;
}

.com_row {
  display: flex;
  justify-content: space-between;
  padding-top: 40px;
}

.com_row.row:after {
  display: none;
}

.com_row h2 {
  margin-top: 0;
  padding-top: 0;
}

.committee {
  width: 25%;
  margin: 0;
}

.committee .is-layout-flex {
  gap: 2px;
}

.committee .is-layout-flex a {
  padding: 10px 0;
  color: var(--chairman-color2);
  background-color: var(--chairman-color);
}

.committee .is-layout-flex a:hover {
  opacity: 0.7;
}

.page .com_row .twothird {
  width: 70%;
  margin: 0;
}

.com_row table {
  font-size: 14px;
}

.com_row tr td:nth-child(3) {
  white-space: normal;
}

.com_row tr th:nth-child(5),
.com_row tr td:nth-child(5) {
  display: none
}

.mem_btn {
  display: flex;
  gap: 2%;
  flex-wrap: wrap;
}

.mem_btn input {
  margin-bottom: 15px;
  border: none;
  border-bottom: 1px dashed #1d1d1d;
  background-color: inherit;
}


/* 委員会紹介ページここまで */

.top-header img {
  width: 100%;
}


/* わんぱくページここから */

.page-id-1523 .wp-block-separator {
  border-bottom: none;
}

.wanpaku_title {
  border-bottom: 1px solid;
  width: fit-content;
  margin: 0 auto 20px;
  font-size: 45px;
  padding-bottom: 12px;
  line-height: 1.2;
}

h2.theme {
  margin: 0;
  font-size: 30px;
  border: none;
}

.link_sec .center {
  display: flex;
  text-align: center;
}

.word-b {
  background-color: #004fb0;
}

.pdf-r {
  background-color: #b20a13;
}

.link-y {
  background-color: #ddaf29;
}

.Btn {
  position: relative;
  display: inline-block;
  width: 50%;
  height: 60px;
  border-radius: 50em;
  margin: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .7), inset 0 3px 0 rgba(255, 255, 255, .2);
}

.Btn::before {
  content: attr(data-content);
  width: 140px;
  height: 60px;
  line-height: 60px;
  background-color: #E8E9EB;
  border-radius: .25em;
  left: calc(50% - 70px);
}

.Btn::after {
  content: '';
  border: 10px solid transparent;
  left: calc(50% - 10px);
  transform: rotate(180deg);
}

.Btn:hover em {
  top: -100%
}

.Btn:hover i {
  top: 0
}

.Btn span,
.Btn em,
.Btn i {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  color: white;
}

.Btn span {
  overflow: hidden
}

.Btn em,
.Btn i {
  transition: top, .3s
}

.Btn em {
  font-style: normal;
  top: 0;
  line-height: 60px;
}

.Btn i {
  top: 100%;
  margin-top: 22px;
}

.Btn-Up::before {
  bottom: 75px;
}

.Btn-Up::after {
  border-bottom-color: #E8E9EB;
  bottom: 55px;
}

.Btn-Up::before,
.Btn-Up::after {
  margin-bottom: 10px;
  transition: opacity .3s, margin-bottom .3s, visibility .3s;
}

.Btn-Up:hover::before,
.Btn-Up:hover::after {
  margin-bottom: 0px
}

.Btn::before,
.Btn::after {
  position: absolute;
  color: black;
  opacity: 0;
  visibility: hidden;
}

.Btn:hover::before,
.Btn:hover::after {
  opacity: 1;
  visibility: visible;
}

.Btn.link-y:hover em {
  top: 0;
  color: #000;
}

.chapter {
  border-bottom: none;
  border-left: 10px solid #fce4e4;
  padding: 5px;
  margin-bottom: 0;
  color: #333;
}

.page-id-1523 figure.wp-block-gallery.has-nested-images {
  gap: 0%;
  justify-content: space-around;
  margin-bottom: 2rem;
}

.page-id-1523 .wp-block-gallery.has-nested-images.kyo-100 {
  margin-top: 2rem;
}

.page-id-1523 .wp-block-gallery.has-nested-images:not(.is-cropped) figure.wp-block-image:not(#individual-image) {
  margin-bottom: 0;
}

.page-id-1523 .wp-block-gallery.has-nested-images figure.wp-block-image {
  flex-grow: 0;
}

.page-id-1523 .wp-block-gallery.has-nested-images.kyo-100 figure.wp-block-image {
  width: 45% !important;
  margin-bottom: 1rem;
}

.page-id-1523 .wp-block-gallery.has-nested-images.kyo-60 figure.wp-block-image {
  width: 30% !important;
}

.page-id-1523 .wp-block-gallery.has-nested-images.kyo-60 figure.wp-block-image img {
  height: 110px;
  width: auto;
  object-fit: contain;
  margin-bottom: 1rem;
}

.page-id-1523 .wp-block-gallery.has-nested-images.kyo-10 figure.wp-block-image {
  width: 22% !important;
}

.page-id-1523 .wp-block-gallery.has-nested-images.kyo-10 figure.wp-block-image img {
  height: 100px;
  width: auto;
  object-fit: contain;
  margin-bottom: 1rem;
}

/* わんぱくページここまで */

/* その他ページ */
.performer h3 {
  margin-top: 0;
}


@media screen and (max-width: 960px) {
  .page .seinen_big {
    text-align: left;
  }
}

@media screen and (max-width: 768px) {
  body #nav {
    width: 100%;
  }

  /* フロントページ ------------------*/
  #header .logo {
    margin-bottom: 1rem;
  }

  .header_social_icons {
    justify-content: space-between;
    width: 100%;
  }

  .top-header {
    margin-top: 0 !important;
  }

  .home .widget,
  .home .top-wide-contents {
    margin-bottom: 0;
  }

  .top-wide-contents {
    display: block;
    text-align: center;
  }

  .home .top-wide-contents .widget_text {
    width: 100%;
  }

  .top-wide-contents #block-11.widget {
    width: 70%;
    margin: 0 auto;
    padding-bottom: 0;
  }

  .top-wide-contents #text-3.widget {
    padding-top: 0;
  }

  .home .top-wide-contents .textwidget p {
    text-align: left;
    margin-bottom: 30px;
  }

  .top-b {
    width: 100%;
  }

  /* フロントページここまで----------- */

  .footer_3 {
    padding: 10px 0;
  }

  .footer_3 img {
    margin: 10px 0px;
  }

  .footer_social_icons a {
    width: 60px;
  }

  .menu-bottom-menu-container {
    display: none !important;
  }

  .green-title h2,
  .textOnly_title h2 {
    width: 300px;
    font-size: 18px;
  }

  .font-Impact {
    font-size: 50px !important;
  }

  .page .font-mintyo {
    font-size: 24px;
  }

  .footer-inner .topbox {
    display: block;
  }

  /* 委員会紹介ページ */
  .page .wrapper.com_wrap {
    width: 95%;
  }

  .com_row {
    display: block;
    padding-top: 0;
  }

  .committee {
    width: 100%;
  }

  .page .com_row .twothird {
    width: 100%;
  }

  .com_row table {
    font-size: 12px;
  }

  .com_row tr td:nth-child(2) {
    white-space: normal;
  }

  /* 委員会紹介ページここまで */

  /* わんぱくページここから */
  .wanpaku_title {
    font-size: 26px;
    padding-bottom: 2px;
    margin-bottom: 10px;
    line-height: 1.2;
  }

  h2.theme {
    margin: 0;
    font-size: 30px;
    border: none;
  }

  .link_sec .center {
    display: block;
  }

  .Btn {
    width: 100%;
  }


  /* その他ページ */
  .performer {
    gap: 0;
  }
}


@media screen and (max-width: 767px) {
  .single-contents br {
    display: block !important
  }


  /* わんぱくページここから */
  .page-id-1523 .page-contents {
    margin-bottom: 30px;
  }

  .page-id-1523 figure.wp-block-gallery.has-nested-images {
    margin-bottom: 1rem;
  }

  .page-id-1523 .wp-block-gallery.has-nested-images:not(.is-cropped).kyo-100 figure.wp-block-image:not(#individual-image) {
    margin-bottom: 1rem;
  }

  .page-id-1523 .wp-block-gallery.has-nested-images.kyo-100 figure.wp-block-image {
    width: 100% !important;
  }

  .page-id-1523 .wp-block-gallery.has-nested-images.kyo-60 figure.wp-block-image {
    width: 45% !important;
  }

  .page-id-1523 .wp-block-gallery.has-nested-images.kyo-60 figure.wp-block-image img {
    height: 55px;
    margin-bottom: 0;
  }

  .page-id-1523 .wp-block-gallery.has-nested-images.kyo-10 figure.wp-block-image {
    width: 30% !important;
  }

  .page-id-1523 .wp-block-gallery.has-nested-images.kyo-10 figure.wp-block-image img {
    height: 45px;
    margin-bottom: 0;
  }
}

@media screen and (min-width: 768px) {
  .header-inner {
    display: flex;
    align-items: center;
  }

  #header .logo {
    width: 50%;
    margin: 0 auto;
  }

  .footer_3 {
    display: flex;
    flex-wrap: wrap;
    padding: 40px 0;
  }

  .font-mintyo {
    letter-spacing: 50px;
    text-indent: 50px;
  }

}