@charset "UTF-8";
.page-head {
  position: relative;
  padding-bottom: 30px;
}
.page-head__visual {
  width: 100%;
  height: 350px;
  position: relative;
}
.page-head__visual:after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.2);
}
.page-head__visual img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
}
.page-head__breadcrumb {
  position: relative;
}
.page-head__breadcrumb ul {
  padding: 15px 0;
}
.page-head__breadcrumb ul li {
  display: inline;
  color: #6C6C6C;
  font-size: 1.3rem;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
}
.page-head__breadcrumb ul a {
  color: #6C6C6C;
}
.page-head__breadcrumb ul a:after {
  content: "＞";
}
.page-head__breadcrumb .mutual-link {
  position: absolute;
  top: 15px;
  right: 20px;
}

@media only screen and (max-width: 767px) {
  .page-head {
    padding-bottom: 20px;
  }
  .page-head__visual {
    height: 40vw;
  }
  .page-head__breadcrumb ul {
    padding: 12px 0;
  }
  .page-head__breadcrumb .mutual-link {
    top: 10px;
  }
}
.page-guide {
  position: relative;
  margin-bottom: 100px;
}
.page-guide__ttl {
  text-align: center;
  font-size: 4.4rem;
  letter-spacing: 0.1em;
}
.page-guide__lead {
  font-size: 1.8rem;
  line-height: 2;
  margin-top: 70px;
}
.page-guide__nav {
  margin-top: 40px;
}

@media only screen and (max-width: 767px) {
  .page-guide {
    margin-bottom: 50px;
  }
  .page-guide__ttl {
    font-size: 2.4rem;
  }
  .page-guide__lead {
    font-size: 1.5rem;
    line-height: 1.6;
    margin-top: 30px;
  }
  .page-guide__nav {
    margin-top: 35px;
  }
}
/*------------------------------------------
  天嶽院について
------------------------------------------*/
@media only screen and (max-width: 767px) {
  .BD-about .page-guide {
    margin-bottom: 40px;
  }
  .BD-about .page-guide__nav {
    margin-top: 20px;
  }
}
/* ========== 歴史 ========== */
.p-history__head {
  margin-bottom: 85px;
}
.p-history .history-about {
  display: -moz-flex;
  display: flex;
  -ms-flex-pack: justify;
  flex-wrap: wrap;
}
.p-history .history-about__img {
  width: calc(50% + 28px);
  margin-right: -28px;
}
.p-history .history-about__img > div {
  width: calc(100% + (100vw - 1090px) / 2);
  transform: translateX(calc((100vw - 1090px) / -2));
}
.p-history .history-about__txt {
  width: 50%;
  background: #fff;
  position: relative;
  transform: translateY(90px);
  padding: 60px 0;
}
.p-history .history-about__txt:before {
  content: "";
  width: 70px;
  height: 100%;
  background: #fff;
  position: absolute;
  top: 0;
  right: 100%;
}
.p-history .history-about__txt:after {
  content: "";
  width: 84px;
  height: 91px;
  position: absolute;
  top: -20px;
  right: clamp(50px, 7.8125vw, 100px);
  background: url(../images/common/illust08.svg) no-repeat;
  background-size: 100%;
}
.p-history .history-about__txt .about-ttl {
  margin-bottom: 70px;
}
.p-history .history-about__txt .about-ttl span {
  display: inline-block;
}
.p-history .history-about__txt .about-lead {
  font-size: 2.4rem;
  margin-bottom: 1.5em;
}
.p-history .history-about__txt .about-txt {
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 2;
}
.p-history__contents {
  margin-bottom: 90px;
}
.p-history .history-record {
  position: relative;
  margin-top: 110px;
}
.p-history .history-record:first-child {
  margin-top: 0;
}
.p-history .history-record:first-child:before {
  content: "";
  width: 250px;
  height: 53px;
  position: absolute;
  top: 100%;
  left: -19px;
  margin-top: 20px;
  background: url(../images/common/illust06.svg) no-repeat;
  background-size: 100%;
}
.p-history .history-record:last-child {
  margin-top: 70px;
}
.p-history .history-record__inner {
  position: relative;
  display: -moz-flex;
  display: flex;
  -ms-flex-pack: justify;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}
.p-history .history-record__img {
  width: 56%;
}
.p-history .history-record__txt {
  width: 38%;
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 2;
}
.p-history .history-record__txt .sub {
  font-size: 77%;
  margin-top: 0.5em;
}
.p-history .history-record__txt.no-img {
  width: 100%;
  text-align: center;
}
.p-history__foot {
  padding: 100px 0;
}
.p-history__foot:after {
  content: "";
  width: 316px;
  height: 71px;
  position: absolute;
  bottom: -35px;
  right: -33px;
  background: url(../images/common/illust07.svg) no-repeat;
  background-size: 100%;
  z-index: 1;
}
.p-history .history-data {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  color: #6C6C6C;
}
.p-history .history-data__list {
  display: -moz-flex;
  display: flex;
  -ms-flex-pack: justify;
  flex-wrap: wrap;
  gap: 30px 2%;
}
.p-history .history-data__list li {
  width: 32%;
  text-align: center;
}
.p-history .history-data__list p {
  font-size: 1.5rem;
  margin-top: 0.5em;
}
.p-history .history-data__txt {
  max-width: 520px;
  margin: 55px auto 0;
}
.p-history .history-data__txt table {
  width: 100%;
  line-height: 1.875;
}
.p-history .history-data__txt th {
  text-align: left;
  width: 7em;
}
.p-history .history-data__txt .sub {
  font-size: 1.4rem;
  margin-top: 1em;
}

@media only screen and (max-width: 1140px) {
  .p-history .history-about__img > div {
    width: calc(100% + 20px);
    transform: translateX(-20px);
  }
  .p-history .history-about__txt {
    margin-top: 90px;
    transform: translateY(0);
    padding-bottom: 0;
  }
  .p-history .history-record__inner {
    align-items: flex-start;
  }
}
@media only screen and (max-width: 767px) {
  .p-history__head {
    margin-bottom: 10px;
  }
  .p-history .history-about {
    display: block;
  }
  .p-history .history-about__img {
    width: 85%;
    margin-right: 0;
  }
  .p-history .history-about__txt {
    width: 85%;
    margin-left: auto;
    margin-top: 0;
    transform: translateY(-40px);
    padding: 40px 0 0;
  }
  .p-history .history-about__txt:before {
    width: 30px;
  }
  .p-history .history-about__txt:after {
    width: 61px;
    height: 67px;
    top: 25px;
    right: 40px;
  }
  .p-history .history-about__txt .about-ttl {
    margin-bottom: 35px;
  }
  .p-history .history-about__txt .about-lead {
    font-size: 2rem;
    margin-bottom: 1em;
  }
  .p-history .history-about__txt .about-txt {
    font-size: 1.6rem;
  }
  .p-history__contents {
    margin-bottom: 50px;
  }
  .p-history .history-record {
    margin-top: 90px;
  }
  .p-history .history-record:first-child:before {
    width: 185px;
    height: 38px;
    left: -30px;
    margin-top: 35px;
  }
  .p-history .history-record:last-child {
    margin-top: 50px;
  }
  .p-history .history-record__img {
    margin-bottom: 40px;
    width: 100%;
    -ms-order: 1;
    order: 1;
  }
  .p-history .history-record__txt {
    width: 85%;
    -ms-order: 2;
    order: 2;
    font-size: 1.6rem;
  }
  .p-history .history-record__txt .sub {
    font-size: 81.25%;
  }
  .p-history .history-record__txt.no-img {
    width: 85%;
    text-align: left;
    margin-left: auto;
  }
  .p-history .history-record:nth-child(even) .history-record__txt {
    margin-left: auto;
  }
  .p-history__foot {
    padding: 50px 0;
  }
  .p-history__foot:after {
    width: 234px;
    height: 52px;
    right: -46px;
  }
  .p-history .history-data__list {
    padding: 0 24px;
    gap: 30px 0;
  }
  .p-history .history-data__list li {
    width: 100%;
  }
  .p-history .history-data__txt {
    margin-top: 40px;
  }
}
/* ========== 境内案内 ========== */
.p-grounds {
  padding: 130px 0 0;
}
.p-grounds__head {
  max-width: 1080px;
  margin: 0 auto 70px;
  position: relative;
}
.p-grounds .grounds-ttl {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  background: #fff;
  padding-bottom: 36px;
  width: 330px;
}
.p-grounds .grounds-ttl span {
  display: inline-block;
}
.p-grounds__contents {
  padding: 90px 0 70px;
  background: rgba(0, 30, 77, 0.5);
}
.p-grounds .grounds-list {
  color: #fff;
}
.p-grounds .grounds-list .slide-item .item-img {
  width: 100%;
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  margin-bottom: 20px;
}
.p-grounds .grounds-list .slide-item .item-img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
}
.p-grounds .grounds-list .slide-item .item-ttl {
  font-size: 2rem;
  letter-spacing: 0.03em;
}
.p-grounds .grounds-list .slide-item .item-txt {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  margin-top: 0.5em;
}

@media only screen and (max-width: 767px) {
  .p-grounds {
    padding: 60px 0 0;
  }
  .p-grounds__head {
    padding-top: 46px;
    margin-bottom: 0;
  }
  .p-grounds .grounds-ttl {
    width: 188px;
    padding: 4px 0 28px 20px;
  }
  .p-grounds__contents {
    padding: 40px 0;
  }
  .p-grounds .grounds-list {
    color: #fff;
  }
  .p-grounds .grounds-list .slide-item .item-img {
    margin-bottom: 12px;
  }
  .p-grounds .grounds-list .slide-item .item-ttl {
    font-size: 1.7rem;
  }
  .p-grounds .grounds-list .slide-item .item-txt {
    font-size: 1.4rem;
  }
}
/* ========== アクセス ========== */
.p-access {
  padding: 220px 0 0;
}
.p-access:before {
  content: "";
  width: 100%;
  height: 343px;
  position: absolute;
  top: 0;
  left: 0;
  background-image: url(../images/about/access-bg.webp);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.p-access__contents {
  background: #fff;
  padding: 62px 0 0;
}
.p-access .access-ttl {
  text-align: center;
  margin-bottom: 50px;
}
.p-access .access-ttl span {
  display: inline-block;
}
.p-access .access-map {
  padding: 0 clamp(35px, 5.46875vw, 70px);
  margin-bottom: 60px;
}
.p-access .access-guide {
  display: -moz-flex;
  display: flex;
  -ms-flex-pack: justify;
  flex-wrap: wrap;
}
.p-access .access-guide__address .address-txt {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.5rem;
  letter-spacing: 0.03em;
  margin-bottom: 20px;
  font-weight: 400;
}
.p-access .access-guide__transportation {
  width: 56%;
  max-width: calc(100% - 320px);
  margin-left: auto;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  line-height: 1.7;
}
.p-access .access-guide__transportation dt {
  font-size: 1.5rem;
  margin-bottom: 0.5em;
}
.p-access .access-guide__transportation dt span {
  display: inline-block;
  vertical-align: middle;
}
.p-access .access-guide__transportation dt .icon {
  margin-right: 8px;
}
.p-access .access-guide__transportation dt .icon img {
  vertical-align: text-bottom;
}
.p-access .access-guide__transportation dd {
  font-size: 1.4rem;
  margin-bottom: 24px;
}
.p-access .access-guide__transportation dd:last-child {
  margin-bottom: 0;
}
.p-access .access-guide__transportation dd p {
  margin-bottom: 1em;
}
.p-access .access-guide__transportation dd p:last-child {
  margin-bottom: 0;
}

@media only screen and (max-width: 767px) {
  .p-access {
    padding: 95px 0 0;
  }
  .p-access:before {
    height: 37.3333333333vw;
  }
  .p-access__contents {
    background: none;
    padding: 0;
  }
  .p-access .access-ttl {
    margin-bottom: 0;
  }
  .p-access .access-ttl span {
    background: #fff;
    width: 84%;
    padding-top: 4.2666666667vw;
  }
  .p-access .access-map {
    padding: 40px 0 0;
    background: #fff;
    margin-bottom: 25px;
    position: relative;
  }
  .p-access .access-map:before {
    content: "";
    width: 100vw;
    height: 100%;
    position: absolute;
    left: -20px;
    top: 0;
    background: #fff;
  }
  .p-access .access-map img {
    position: relative;
  }
  .p-access .access-guide__address {
    width: 100%;
    text-align: center;
    margin-bottom: 35px;
  }
  .p-access .access-guide__address .address-txt {
    font-size: 1.4rem;
    margin-bottom: 15px;
  }
  .p-access .access-guide__transportation {
    width: 100%;
    max-width: 100%;
  }
}
/*------------------------------------------
  年間行事・法要
------------------------------------------*/
.BD-events:before {
  content: "";
  width: 100%;
  height: 100vh;
  height: 100dvh;
  position: fixed;
  top: 0;
  left: 0;
  background-image: url(../images/events/bg.webp);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.BD-events .l-wrapper {
  overflow: visible;
}
.BD-events .l-main {
  padding-bottom: 0;
}
.BD-events .page-head {
  background: #fff;
}
.BD-events .page-guide {
  background: #fff;
  padding-bottom: 100px;
  margin-bottom: 0;
}
.BD-events .page-guide:before {
  content: "";
  width: 117px;
  height: 77px;
  position: absolute;
  bottom: 40px;
  left: clamp(55px, 8.59375vw, 110px);
  background: url(../images/common/illust09.svg) no-repeat;
  background-size: 100%;
}

@media only screen and (max-width: 767px) {
  .BD-events:before {
    background-image: url(../images/events/bg-sp.webp);
  }
  .BD-events .page-guide {
    padding-bottom: 130px;
  }
  .BD-events .page-guide:before {
    width: 78px;
    height: 51px;
    left: 50%;
    transform: translateX(-50%);
  }
}
.p-events {
  padding-bottom: 150px;
}
.p-events__inner {
  z-index: 1;
}
.p-events .events-bg {
  width: 100%;
  height: 150px;
  position: sticky;
  top: 0;
  left: 0;
}
.p-events .events-bg:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.p-events .events-item {
  margin-bottom: 30px;
  color: #fff;
  background: rgba(0, 30, 77, 0.85);
  padding: clamp(25px, 3.90625vw, 50px);
  display: -moz-flex;
  display: flex;
  -ms-flex-pack: justify;
  flex-wrap: wrap;
}
.p-events .events-item:last-child {
  margin-bottom: 0;
}
.p-events .events-item__txt {
  width: 45%;
}
.p-events .events-item__img {
  width: 50%;
  margin-left: auto;
}
.p-events .events-item .item-ttl {
  font-size: 2.8rem;
  margin-bottom: 1em;
  color: #DAC227;
}
.p-events .events-item .item-ttl span {
  display: inline-block;
  border-bottom: 2px solid #DAC227;
  padding-bottom: 10px;
}
.p-events .events-item .item-lead {
  font-size: 1.5rem;
  line-height: 1.86;
  margin-bottom: 2em;
}
.p-events .events-item .item-txt {
  font-size: 1.8rem;
}
.p-events .events-item .item-txt th {
  width: 4.5em;
  text-align: left;
}
.p-events--winter {
  padding: 150px 0;
  background: none;
}
.p-events--winter .p-events__inner {
  transform: translateY(0);
}
.p-events--spring .events-bg:before {
  background-image: url(../images/events/spring-bg.webp);
}
.p-events--summer .events-bg:before {
  background-image: url(../images/events/summer-bg.webp);
}
.p-events--autumn .events-bg:before {
  background-image: url(../images/events/autumn-bg.webp);
}

@media only screen and (max-width: 767px) {
  .p-events {
    padding-bottom: 60px;
  }
  .p-events .events-bg {
    height: 60px;
  }
  .p-events__inner {
    padding: 0 45px;
  }
  .p-events .events-item {
    margin-bottom: 25px;
    padding: 25px 20px;
  }
  .p-events .events-item__txt {
    width: 100%;
    margin-bottom: 15px;
  }
  .p-events .events-item__img {
    width: 100%;
  }
  .p-events .events-item .item-ttl {
    font-size: 2.2rem;
    margin-bottom: 0.5em;
  }
  .p-events .events-item .item-ttl span {
    padding: 0;
  }
  .p-events .events-item .item-lead {
    font-size: 1.4rem;
    line-height: 1.5;
    margin-bottom: 1em;
  }
  .p-events .events-item .item-txt {
    font-size: 1.5rem;
  }
  .p-events--winter {
    padding: 60px 0;
  }
  .p-events--spring .events-bg:before {
    background-image: url(../images/events/spring-bg-sp.webp);
  }
  .p-events--summer .events-bg:before {
    background-image: url(../images/events/summer-bg-sp.webp);
  }
  .p-events--autumn .events-bg:before {
    background-image: url(../images/events/autumn-bg-sp.webp);
  }
}
/*------------------------------------------
  お寺を開く
------------------------------------------*/
/* ========== 講演会 ========== */
.p-lecture .lecture-post {
  max-width: 540px;
  margin: auto;
}
.p-lecture .lecture-post__img {
  margin-bottom: 20px;
}
.p-lecture .lecture-post__img img {
  border: 1px solid #fff;
}
.p-lecture .lecture-post__txt {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
}
.p-lecture .lecture-post__more {
  text-align: center;
  margin-top: 30px;
}
.p-lecture .lecture-post .post-sub {
  margin-bottom: 6px;
}
.p-lecture .lecture-post .post-ttl {
  font-size: 2.2rem;
  margin-bottom: 6px;
}
.p-lecture .lecture-post .post-date {
  font-size: 1.4rem;
  margin-bottom: 1em;
}
.p-lecture .lecture-post .post-lead {
  font-size: 1.5rem;
  line-height: 2;
}

@media only screen and (max-width: 767px) {
  .p-lecture .lecture-post .post-sub {
    font-size: 1.4rem;
  }
  .p-lecture .lecture-post .post-ttl {
    font-size: 1.8rem;
    margin-bottom: 0.5em;
  }
  .p-lecture .lecture-post .post-date {
    font-size: 1.3rem;
    margin-bottom: 0.5em;
  }
  .p-lecture .lecture-post .post-lead {
    line-height: 1.6;
  }
}
/* ========== 盆踊り大会 ========== */
.p-festival .festival-more {
  text-align: center;
  margin-top: 30px;
}

/* ========== 日常・イベント ========== */
.p-instagram {
  padding: 0;
}
.p-instagram__head {
  padding-top: 90px;
  border-top: 1px solid #CBCBCB;
}
.p-instagram__head:before {
  content: "";
  width: 157px;
  height: 84px;
  position: absolute;
  top: 30px;
  left: 60px;
  background: url(../images/common/illust11.svg) no-repeat;
  background-size: 100%;
}
.p-instagram .instagram-icon {
  text-align: center;
  padding: 24px 0 20px;
}
.p-instagram .instagram-icon img {
  width: 36px;
}
.p-instagram #sb_instagram #sbi_images {
  padding: 0;
}
.p-instagram #sb_instagram #sbi_load {
  margin-top: 70px;
}
.p-instagram #sb_instagram #sbi_load .sbi_load_btn,
.p-instagram #sb_instagram .sbi_follow_btn a {
  display: inline-block;
  position: relative;
  width: 253px;
  max-width: 100%;
  font-size: 1.6rem;
  text-align: center;
  border-radius: 0;
  padding: 0;
  margin: 0;
  background: #fff;
  color: #333;
  font-family: "Shippori Mincho", serif;
}
.p-instagram #sb_instagram #sbi_load .sbi_load_btn:before, .p-instagram #sb_instagram #sbi_load .sbi_load_btn:after,
.p-instagram #sb_instagram .sbi_follow_btn a:before,
.p-instagram #sb_instagram .sbi_follow_btn a:after {
  content: "";
  width: calc(100% - 10px);
  height: calc(100% - 10px);
  position: absolute;
  transition: 0.4s;
  box-sizing: border-box;
}
.p-instagram #sb_instagram #sbi_load .sbi_load_btn:before,
.p-instagram #sb_instagram .sbi_follow_btn a:before {
  top: 0;
  left: 0;
  border-top: 1px solid #DAC227;
  border-left: 1px solid #DAC227;
}
.p-instagram #sb_instagram #sbi_load .sbi_load_btn:after,
.p-instagram #sb_instagram .sbi_follow_btn a:after {
  bottom: 0;
  right: 0;
  border-bottom: 1px solid #DAC227;
  border-right: 1px solid #DAC227;
}
.p-instagram #sb_instagram #sbi_load .sbi_load_btn:hover:before,
.p-instagram #sb_instagram .sbi_follow_btn a:hover:before {
  top: 5px;
  left: 5px;
}
.p-instagram #sb_instagram #sbi_load .sbi_load_btn:hover:after,
.p-instagram #sb_instagram .sbi_follow_btn a:hover:after {
  bottom: 5px;
  right: 5px;
}
.p-instagram #sb_instagram .sbi_load_btn .sbi_btn_text,
.p-instagram #sb_instagram .sbi_load_btn .sbi_loader {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 53px;
}

@media only screen and (max-width: 767px) {
  .p-instagram {
    padding: 0;
  }
  .p-instagram__head {
    padding-top: 50px;
  }
  .p-instagram__head:before {
    width: 112px;
    height: 60px;
    top: -24px;
    left: auto;
    right: 20px;
  }
  .p-instagram .instagram-icon {
    padding: 20px 0 0;
  }
  .p-instagram #sb_instagram #sbi_images {
    gap: 15px !important;
  }
  .p-instagram #sb_instagram #sbi_load {
    margin-top: 40px;
  }
}
/* ========== 写真 ========== */
.oterawohiraku-visual {
  position: relative;
  padding: 40px 0 0;
  z-index: 1;
}
.oterawohiraku-visual:before {
  content: "";
  width: 70px;
  height: 110px;
  position: absolute;
  top: -116px;
  right: clamp(95px, 14.84375vw, 190px);
  background: url(../images/common/illust10.svg) no-repeat;
  background-size: 100%;
}
.oterawohiraku-visual__img {
  width: 100%;
  height: 350px;
}
.oterawohiraku-visual__img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
}

@media only screen and (max-width: 767px) {
  .oterawohiraku-visual {
    padding: 0;
  }
  .oterawohiraku-visual:before {
    width: 50px;
    height: 69px;
    top: 100%;
    margin-top: 15px;
    right: auto;
    left: 36px;
  }
  .oterawohiraku-visual__img {
    height: 34.6666666667vw;
  }
}
/*------------------------------------------
  投稿
------------------------------------------*/
/* ========== 詳細ページ ========== */
@media only screen and (max-width: 767px) {
  .BD-post .page-head {
    padding-bottom: 30px;
  }
}
/*------------------------------------------
  プライバシーポリシー
------------------------------------------*/
.p-privacy__head {
  margin-bottom: 60px;
}
.p-privacy .privacy-ttl {
  font-size: 2.4rem;
  letter-spacing: 0.05em;
}
.p-privacy .privacy-block {
  border-top: 1px solid #D3D3D3;
  margin-top: 40px;
  padding-top: 40px;
  font-weight: 400;
}
.p-privacy .privacy-block:first-child {
  border-top: none;
  margin-top: 0;
  padding-top: 0;
}
.p-privacy .privacy-block--date {
  border-top: none;
  margin-top: 50px;
  padding-top: 0;
}
.p-privacy .privacy-block__ttl {
  font-size: 2rem;
  letter-spacing: 0.05em;
  margin-bottom: 1em;
}
.p-privacy .privacy-block__txt {
  font-size: 1.5rem;
  line-height: 1.7;
  letter-spacing: 0.03em;
}
.p-privacy .privacy-block__txt p {
  margin-bottom: 20px;
}
.p-privacy .privacy-block__txt p:last-child {
  margin-bottom: 0;
}
.p-privacy .privacy-block__txt ol {
  counter-reset: number 0;
}
.p-privacy .privacy-block__txt ol li {
  position: relative;
  padding-left: 1.5em;
  margin-bottom: 1em;
  counter-increment: mycounter;
}
.p-privacy .privacy-block__txt ol li:last-child {
  margin-bottom: 0;
}
.p-privacy .privacy-block__txt ol li:before {
  content: counter(mycounter, decimal-leading-zero) ". ";
  position: absolute;
  left: 0;
  top: 0;
}
.p-privacy .privacy-more {
  text-align: center;
  margin-top: 70px;
}

@media only screen and (max-width: 767px) {
  .p-privacy__head {
    margin-bottom: 40px;
  }
  .p-privacy .privacy-ttl {
    font-size: 2rem;
  }
  .p-privacy .privacy-block {
    margin-top: 30px;
    padding-top: 30px;
  }
  .p-privacy .privacy-block--date {
    margin-top: 40px;
    padding-top: 0;
  }
  .p-privacy .privacy-block__ttl {
    font-size: 1.8rem;
    margin-bottom: 15px;
  }
  .p-privacy .privacy-block__txt {
    line-height: 1.6;
  }
  .p-privacy .privacy-block__txt p {
    margin-bottom: 15px;
  }
  .p-privacy .privacy-block__txt ol li {
    padding-left: 2em;
  }
  .p-privacy .privacy-more {
    margin-top: 30px;
  }
}
/*------------------------------------------
  お問い合わせ
------------------------------------------*/
.BD-contact .page-guide {
  margin-bottom: 60px;
}

.p-form__contents {
  font-family: "Noto Sans JP", sans-serif;
  color: #6C6C6C;
}
.p-form .form-input table {
  width: 100%;
}
.p-form .form-input table th, .p-form .form-input table td {
  vertical-align: top;
}
.p-form .form-input table th {
  text-align: left;
  width: 200px;
  padding-top: 1em;
}
.p-form .form-input table td {
  padding-bottom: 40px;
}
.p-form .form-input input, .p-form .form-input textarea, .p-form .form-input select {
  width: 100%;
  border: 1px solid #CDD6DD;
}
.p-form .form-input input, .p-form .form-input textarea {
  color: #3B4043;
}
.p-form .form-input input, .p-form .form-input select {
  height: 50px;
  padding: 0 1em;
}
.p-form .form-input textarea {
  resize: none;
  padding: 1em;
}
.p-form .form-input select {
  color: #CDD6DD;
}
.p-form .form-input select.is--done {
  color: #3B4043;
}
.p-form .form-input ::-moz-placeholder {
  color: #CDD6DD;
}
.p-form .form-input ::placeholder {
  color: #CDD6DD;
}
.p-form .form-input .select-wrap {
  position: relative;
}
.p-form .form-input .select-wrap:after {
  content: "";
  width: 10px;
  height: 10px;
  background: url(../images/common/arrow-d01.svg) no-repeat center;
  background-size: 100%;
  position: absolute;
  top: 50%;
  right: 23px;
  margin-top: -5px;
  pointer-events: none;
}
.p-form .form-check {
  text-align: center;
  margin-bottom: 50px;
}
.p-form .form-check > p {
  display: inline-block;
  position: relative;
}
.p-form .form-check a {
  font-weight: 400;
  color: #3B4043;
  text-decoration: underline;
}
.p-form .form-check .ico-check {
  display: inline-block;
  vertical-align: middle;
  margin-right: 10px;
  position: relative;
}
.p-form .form-check .ico-check .wpcf7-list-item {
  margin: 0;
  display: block;
  line-height: 1;
}
.p-form .form-check .ico-check input[type=checkbox] {
  display: none;
}
.p-form .form-check .ico-check .wpcf7-list-item-label {
  position: relative;
  height: 30px;
  line-height: 30px;
  display: inline-block;
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
}
.p-form .form-check .ico-check .wpcf7-list-item-label::before {
  content: "";
  display: block;
  width: 30px;
  height: 30px;
  border: 1px solid #CDD6DD;
  background: #fff;
  position: absolute;
  left: 0;
  top: 0;
  box-sizing: border-box;
}
.p-form .form-check .ico-check .wpcf7-list-item-label::after {
  content: "";
  display: block;
  width: 12px;
  height: 6px;
  border-top: 2px solid #98A6B5;
  border-right: 2px solid #98A6B5;
  transform: rotate(135deg);
  position: absolute;
  left: 8px;
  top: 9px;
}
.p-form .form-check .ico-check input[type=checkbox]:checked + .wpcf7-list-item-label::after {
  border-color: #001e4d;
}
.p-form .form-check .ico-check .wpcf7-not-valid-tip {
  position: absolute;
  white-space: nowrap;
  margin-top: 0;
}
.p-form .form-submit {
  display: -moz-flex;
  display: flex;
  -ms-flex-pack: justify;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px 20px;
}
.p-form .form-submit input {
  color: #6C6C6C;
  height: 48px;
  width: 286px;
  text-align: center;
  border: 1px solid #CBCBCB;
  border-radius: 4px;
  transition: background 0.4s;
}
.p-form .form-submit input:hover {
  background: #CBCBCB;
}
.p-form .form-submit .wpcf7-spinner {
  display: none;
}
.p-form .wpcf7-not-valid-tip {
  font-size: 1.2rem;
  color: #6C6C6C;
  margin-top: 1em;
}
.p-form input.wpcf7-not-valid {
  background-image: url(../images/common/ico-attention.svg);
  background-repeat: no-repeat;
  background-position: center right 22px;
  background-size: 16px;
}

@media only screen and (max-width: 767px) {
  .BD-contact .page-guide {
    margin-bottom: 30px;
  }
  .p-form .form-input table th, .p-form .form-input table td {
    display: block;
    font-size: 1.5rem;
  }
  .p-form .form-input table th {
    width: 100%;
    padding: 0 0 0.5em;
  }
  .p-form .form-input table td {
    padding-bottom: 20px;
  }
  .p-form .form-submit input {
    width: 250px;
  }
  .p-form .form-submit input:hover {
    background: #fff;
  }
}