@charset "UTF-8";
/*
Theme Name: AVANT Child
Template: avant_tcd060
Description: WordPressテーマ「AVANT」の子テーマ
Text Domain: tcd-w
Version:1.0.0
*/

/* 追加 */

img {
  width: 100%;
  height: auto;
}

@media(max-width:600px) {
  .sp-textLeft {
    text-align: left !important;
  }
}

.sp-show {
  display: none
}

@media(max-width:600px) {
  .sp-show {
    display: block
  }
}

/* .sp-show--02{
  display:none
}
@media(max-width:450px) {
  .sp-show--02{display:block}
} */

.pc-show {
  display: block
}

@media(max-width:600px) {
  .pc-show {
    display: none
  }
}

/* .pc-show--02 {
  display:block
}
@media(max-width:450px) {
  .pc-show--02{
    display:none
  }
} */

.p-cb__item:first-child p {
  line-height: 2;
}

@media screen and (min-width: 767px) {
  .p-global-nav>ul>li>a {
    font-weight: 700;
    font-size: 0.7rem;
  }
}

.p-global-nav__item-icon {
  width: 50%;
  margin-bottom: 10px;
  margin-right: auto;
  margin-left: auto;
}

.l-header__logo {
  font-size: 2em;
}

.l-header__logo img {
  max-width: 10em;
}

@media screen and (max-width: 767px) {
  .l-header__logo img {
    max-width: 7.5em;
  }
}

/* @media only screen and (max-width: 1199px) {
  .l-header__logo a {
    text-align: left;
    display: block;
    width: auto;
    height: 70%;
    margin: auto 0;
  }
  .l-header__logo img {
    width: auto;
    height: 100%;
  }
} */

.l-header--fixed.is-active .l-header__upper {
  display: none;
}

.l-header--fixed.is-active .l-header__lower {
  height: 60px;
}

.l-header--fixed.is-active .l-header__logo img {
  max-width: 6em
}

.l-header--fixed.is-active .p-global-nav__item-icon {
  display: none;
}

@media screen and (max-width: 991px) {
  .p-page-header__lower {
    height: 48vw
  }
  .p-page-header__lower::before {
    background: linear-gradient(to right, rgba(0, 0, 0, 0.25), transparent);
  }
}

.p-entry__header02-upper-sub {
  white-space: nowrap;
}

.l-contents-narrow {
  max-width: 880px;
  margin: 0 auto;
}

.p-copyright {
  color: #fff;
}

.p-social-nav__item a::before {
  color: #fff;
}

.p-entry__header02-upper, .p-slider .slick-dots li.slick-active button::before, .p-slider .slick-dots button:hover::before {
  background: #ed1c24;
}

.c-comment__form-submit:hover, .c-pw__btn:hover, .p-cb__item-btn a, .p-headline, .p-index-event__btn a, .p-nav02__item a, .p-readmore__btn, .p-pager__item span, .p-page-links a {
  background: #e70c13
}

/* .p-copyright {
  background: #e70c13
} */

.p-page-header::before {
  background-color: #ed1c24
}

.p-entry__header02-upper, .p-slider .slick-dots li.slick-active button::before, .p-slider .slick-dots button:hover::before {
  background: #ed1c24
}

@media screen and (max-width: 991px) {
  .p-page-header__upper {
    background: #ed1c24
  }
  .c-load--type1 {
    border: 3px solid rgba(231, 12, 19, 0.2);
    border-top-color: #e70c13;
  }
}

.p-hero__item--ore .p-header-slider {
  margin-bottom: 0;
}

.p-hero__item--ore .p-header-slider__item {
  height: 50vw;
}

@media screen and (max-width: 767px) {
  .p-hero__item--ore .p-header-slider__item {
    height: 360px;
  }
}

.p-header-slider__item--1 {
  background-image: url(http://risokyo.innocent.ne.jp/wp-content/uploads/2020/11/img_top_01-scaled.jpg);
}

.p-header-slider__item--2 {
  background-image: url(http://risokyo.innocent.ne.jp/wp-content/uploads/2020/11/img_top_02-scaled.jpg);
}

.p-header-slider__item--3 {
  background-image: url(http://risokyo.innocent.ne.jp/wp-content/uploads/2020/11/img_top_03-scaled.jpg);
}

.p-header-slider__item--4 {
  background-image: url(http://risokyo.innocent.ne.jp/wp-content/uploads/2020/11/img_top_04-scaled.jpg);
}

.p-header-slider__item--5 {
  background-image: url(http://risokyo.innocent.ne.jp/wp-content/uploads/2020/11/img_top_05-scaled.jpg);
}

.p-header-slider__item--6 {
  background-image: url(http://risokyo.innocent.ne.jp/wp-content/uploads/2020/11/img_top_06-scaled.jpg);
}

.p-header-slider__item--7 {
  background-image: url(http://risokyo.innocent.ne.jp/wp-content/uploads/2020/11/img_top_07-scaled.jpg);
}

.p-header-slider__item--8 {
  background-image: url(http://risokyo.innocent.ne.jp/wp-content/uploads/2020/11/img_top_08-scaled.jpg);
}

.single-special .slick-slide img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 600px;
  margin: auto;
}

.p-page-header::after {
  content: none
}

.nopost {
  text-align: center;
}

/* sp時のフッター サイトマップ */

@media screen and (max-width: 767px) {
  #tcdw_menu_widget-3 {
    text-align: center;
  }
  #tcdw_menu_widget-3 .p-footer-nav__item {
    width: 100%;
  }
}

.post-type-archive-people .p-page-header {
  background-image: url('http://risokyo.innocent.ne.jp/wp-content/uploads/2020/12/img_partner-visual_01.jpg');
}

@media screen and (max-width:991px) {
  .post-type-archive-people .p-page-header__lower {
    background-image: url('http://risokyo.innocent.ne.jp/wp-content/uploads/2020/12/img_partner-visual_01.jpg');
    background-position: 35%;
    background-size: cover;
  }
}

.p-index-special.p-index-special--type1 .p-index-special__col .p-index-special__item:nth-child(n+5) {
  display: none;
}
