@charset "UTF-8";

html {
  font-family: 'Noto Sans JP', sans-serif;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-size: 15px;
  font-family: "Noto Serif JP", serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
  letter-spacing: 0.03em;
  color: #333333;
  line-height: 160%;
}

a {
  text-decoration: none;
  color: #333;
}

img {
  max-width: 100%;
}

ul {
  padding: 0;
}

li {
  list-style: none;
}

.pc {
  display: block;
}

.sp {
  display: none;
}

h1,
h2 {
  font-family: biz-udpmincho, sans-serif;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.25em;
  color: #817F50;
  font-size: 37px;
}

.inner-m {
  max-width: 848px;
  width: 90%;
  margin: 0 auto;
}

.inner-l {
  max-width: 1024px;
  width: 90%;
  margin: 0 auto;
}

.header-1440 {
  max-width: 1440px;
}

.sp-br {
  display: none;
}

@media screen and (max-width: 768px) {
  h2 {
    font-size: 24px;
  }
}

@media screen and (max-width: 450px) {

  .pc {
    display: none;
  }

  .sp {
    display: block;
  }

  .sp-br {
    display: block;
  }

}

.wf-loading {
  opacity: 0;
}


/*　トップ　
.container-video {
  position: relative;
  height: 800px;
  animation: load 1.5s 0.8s ease-out forwards;
}

.container-video #video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: auto;
  width: auto;
  height: auto;
  overflow: hidden;
  transform: translate(-50%, -50%) scale(1.05);
  transition: 0.3s;
}*/

body {
  overflow-x: hidden;
}

.video-heading {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.fv-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.video-sp {
  display: none;
}

.video-pc {
  display: block;
}


@media screen and (max-width: 768px) {
  .video-sp {
    display: block;
  }

  .video-pc {
    display: none;
  }
}

/* 視覚的に非表示 */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

/* トップ　お寺について */
.top-about {
  background-image: url(../img/top/top-about-bg.png);
  background-repeat: no-repeat;
  background-size: cover;
  width: 100vw;
  background-position: bottom;
}

.top-about_container {
  display: flex;
  flex-direction: row-reverse;
  justify-content: right;
  padding-top: 100px;
  padding-bottom: 120px;
}

.top-about_text {
  writing-mode: vertical-rl;
  margin: 0 auto;
  font-size: 20px;
  letter-spacing: 0.2rem;
  margin-bottom: 20px;
  width: 243px;
}

.top-about_subtitle {
  letter-spacing: 0.35rem;
}

.top-about_text-1 {
  text-indent: 3rem;
  padding-right: 60px;
}

.top-about_text-2 {
  text-indent: 8rem;
  padding-right: 35px;
}

.top-about_img {
  max-width: 100%;
  object-fit: cover;
  margin-left: calc(-24% - 0vw);
}

.top-about_deco {
  max-width: 100%;
  object-fit: cover;
  margin-left: calc(12% - 0vw);
  margin-top: -45px;
}

@media screen and (max-width: 1440px) {
  .top-about_img {
    width: 90%;
    margin-left: calc(-8% - 0vw);
  }

  .top-about_deco {
    width: 90%;
    margin-left: calc(18% - 0vw);
    margin-top: -45px;
  }
}

@media screen and (max-width: 1100px) {
  .top-about_img {
    margin-top: 35px;
    margin-left: calc(-0% - 0vw);
  }

  .top-about_deco {
    margin-left: calc(13% - 0vw);
    margin-top: -45px;
  }
}

@media screen and (max-width: 768px) {
  .top-about_container {
    flex-direction: column;
    justify-content: center;
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .top-about_text {
    writing-mode: horizontal-tb;
    width: auto;
    font-size: 18px;
    text-align: center;
    margin-bottom: 50px;
  }

  .top-about_subtitle {
    text-align: center;
  }

  .top-about_text-1 {
    text-indent: -5rem;
    margin-top: 30px;
    padding: 0;
  }

  .top-about_text-2 {
    text-indent: 6rem;
    margin-top: 10px;
    padding: 0;
  }

  .top-about_img {
    margin: 0 auto;
    margin-top: 50px;
    margin-left: -20;
  }

  .top-about_deco {
    margin: 0 auto;
    margin-top: -40px;
    margin-left: 70px;
  }
}

@media screen and (max-width: 440px) {
  .top-about_text-1 {
    text-indent: -2rem;
  }

  .top-about_text-2 {
    text-indent: 1rem;
  }

  .top-about_deco {
    margin-top: -20px;
    margin-left: 45px;
  }
}


/* トップ　お寺について　CTAボタン */
.cta-button_about img {
  margin: 0 auto;
}

.cta-button_text-about {
  text-align: center;
  color: #fff;
  margin-top: -41px;
}

.cta-button_about {
  transition: 0.4s;
}

.cta-button_about:hover {
  opacity: 0.7;
}


/* トップ　葬儀・法事について */
.top-service_container {
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0.3)0%, rgba(0, 0, 0, 0.0)70%), url(../img/top/top-service.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: left top;
  margin-right: calc(50% - 50vw);
  margin-left: -80px;
  padding-right: calc(50vw - 50%);
  padding-left: 80px;
  padding-top: 220px;
  padding-bottom: 170px;
}

.top-service_title {
  color: #fff;
  margin-bottom: 40px;
  line-height: 160%;
}



@media screen and (max-width: 768px) {
  .top-service_container {
    padding-top: 100px;
    padding-bottom: 90px;
  }
}

@media screen and (max-width: 440px) {
  .top-service {
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url(../img/top/top-service.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% top;
  }

  .top-service_container {
    background-image: none;
    margin: 0;
    padding: 0;
    padding-top: 60px;
    padding-bottom: 90px;
  }

  .top-service_title {
    text-align: center;
    margin-bottom: 30px;
  }

}

/* トップ　葬儀・法事について　CTAボタン */
.cta-button_text-service {
  color: #6B3B5D;
  margin-top: -42px;
  margin-left: 93px;
}

.cta-button_service {
  transition: 0.4s;
}

.cta-button_service:hover {
  opacity: 0.7;
}

@media screen and (max-width: 440px) {
  .cta-button_service img {
    margin: 0 auto;
  }

  .cta-button_text-service {
    margin-left: 0;
    text-align: center;
  }
}


/* トップ　アクセス */
.top-access_container {
  display: flex;
  margin: 100px auto;
  position: relative;
}

.top-access_container_right {
  position: absolute;
  top: 250px;
  right: 0;
}

.top-access_container_right iframe {
  max-width: 494px;
  height: 323px;
}

.top-access_container_left {
  background-image: url(../img/common/paper-bg.jpg);
  padding-top: 60px;
  padding-bottom: 40px;
  margin-right: -400px;
  margin-left: calc(50% - 50vw);
  padding-right: 400px;
  padding-left: calc(50vw - 50%);
}

.top-access_table {
  margin: 0 auto;
}

.top-access_list {
  padding: 12px 0;
}

.top-access_list-title {
  font-weight: bold;
}

.top-access_list-text {
  margin-top: 10px;
}

.top-access_subtitle {
  margin-bottom: 10px;
}

@media screen and (max-width: 950px) {
  .top-access_container_left {
    margin-right: -400px;
    margin-left: calc(50% - 50vw);
    padding-right: 300px;
    padding-left: calc(50vw - 50%);
  }

  .top-access_container_right iframe {
    max-width: 400px;
    height: 250px;
  }

  .top-access_container_right {
    position: absolute;
    top: 320px;
    right: 0;
  }
}

@media screen and (max-width: 768px) {
  .top-access_container {
    display: block;
    margin: 0;
    max-width: 315px;
    margin: 0 auto;
  }

  .top-access_container_right iframe {
    max-width: 350px;
    height: 250px;
  }

  .top-access_container_right {
    position: static;
    top: 0;
    text-align: center;
  }

  .top-access_container_left {
    background-image: none;
    margin: 0;
    padding: 0;
  }

  .top-access_subtitle {
    margin-bottom: 18px;
    text-align: center;
  }

  .top-access {
    background-image: url(../img/common/paper-bg.jpg);
    padding-top: 40px;
    padding-bottom: 30px;
    margin-top: 60px;
    margin-bottom: 60px;
  }
}

@media screen and (max-width: 440px) {
  .top-access_container_right iframe {
    width: 100%;
    height: 250px;
  }
}


/* トップ　ニュース */
.top-news {
  background-image: url(../img/top/top-news-bg.png);
  background-repeat: no-repeat;
  background-position: right 50px bottom 10px;
  /* margin-bottom: 120px; ニュースが増えたらはずす*/
  height: 624px; /* ニュースが増えたら減らしていく */
}

.top-news_list-table {
  margin: 0 auto;
  margin-top: 40px;
  margin-bottom: 50px;
}

.top-news_list {
  border-bottom: 1px solid #C5C5C5;
  padding: 10px 20px;
}

.top-news_list:first-child {
  border-top: 1px solid #C5C5C5;
}

.top-news_link {
  display: block;
  padding: 10px 0;
  transition: 0.4s;
  display: flex;
}

.top-news_link:hover {
  color: #6B3B5D;
  opacity: 0.7;
}

.top-news_list-day {
  font-weight: 500;
}

.top-news_list-text {
  margin-left: 30px;
}

@media screen and (max-width: 768px) {
  .top-news {
    background-position: right -230px bottom 10px;
  }

  .top-news_subtitle {
    text-align: center;
  }

  .top-news_list-table {
    margin-top: 30px;
  }
}

@media screen and (max-width: 440px) {
  .top-news_link {
    display: block;
  }

  .top-news_list-text {
    margin-left: 0px;
    margin-top: 5px;
  }
}


/* トップ　ニュース　CTAボタン */
.cta-button_news img {
  margin: 0 auto;
  margin-top: 300px;
}

.cta-button_text-news {
  text-align: center;
  color: #fff;
  margin-top: -42px;
}

.cta-button_news {
  transition: 0.4s;
}

.cta-button_news:hover {
  opacity: 0.7;
}


/* 下層ページタイトル */
.pagetitle {
  color: #fff;
  font-size: 6vh;
  writing-mode: vertical-rl;
  position: absolute;
  top: 53%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  white-space: nowrap;
}

.subpage-fv {
  width: 100%;
  height: 95vh;
  position: relative;
}

.subpage-fv.about {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url(../img/about/about-title.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50%;
}

.subpage-fv.worship {
  background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url(../img/worship/worship-title2.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50%;
}

.subpage-fv.service {
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url(../img/service/service-title.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: right top;
}

.subpage-fv.access {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url(../img/access/access-title.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50% top;
}

.subpage-fv.news {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.5)), url(../img/news/news-title.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center bottom; /* 右下にピタッと寄せる */
}

.subpage-fv.contact {
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url(../img/contact/contact-title.PNG);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50%;
}

.subtitle {
  color: #817F50;
  font-size: 37px;
  text-align: center;
  margin-top: 100px;
}

@media screen and (max-width: 768px) {

  .subtitle {
    font-size: 24px;
    margin-top: 80px;
  }

}

@media screen and (max-width: 440px) {

  .pagetitle {
    font-size: 28px;
  }

  .pagetitle.service {
    font-size: 24px;
  }

  .subtitle {
    font-size: 24px;
    margin-top: 40px;
  }

  .subpage-fv {
    height: 500px;
  }


}


/* お寺について */
.about-main {
  background-image: url(../img/about/mon-bg.png);
  background-repeat: no-repeat;
  background-position: right;
  line-height: 210%;
}

.about-main_container {
  display: flex;
  flex-direction: row-reverse;
  padding-top: 100px;
  padding-bottom: 100px;
}

.about-main_title {
  writing-mode: vertical-rl;
  padding-left: 80px;
  font-size: 37px;
  color: #817F50;
  font-family: biz-udpmincho, sans-serif;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.35em;
}

.about-main_title.-indent {
  text-indent: 3rem;
  padding-right: 2.5rem;
}

.about-main_text p {
  margin-bottom: 40px;
}

.about-main_text p:last-child {
  margin-bottom: 0;
}

.about-main_text.-upper {
  text-align: center;
  margin-top: 0px;
}

.about-main_text.-lower {
  text-align: center;
  margin-top: -5px;
}

@media screen and (max-width: 1100px) {
  .about-main {
    background-position: right -100px top -100px;
  }

  .about-main_title {
    padding-left: 60px;
  }
}

@media screen and (max-width: 768px) {
  .about-main {
    background-size: 400px;
    background-position: right -100px top -100px;
  }

  .about-main_container {
    display: inline-block;
    margin: 0 auto;
  }

  .about-main_title {
    font-size: 24px;
    letter-spacing: 0.25em;
    padding: 0;
    margin-bottom: 60px;
    writing-mode: horizontal-tb;
    text-align: center;
  }

  .about-main_title.-indent {
    text-indent: 0;
    padding-right: 0;
  }

  .about-main_title {
    line-height: 210%;
  }
}

@media screen and (max-width: 440px) {
  .about-main_container {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .about-main_title {
    margin: 0;
    margin-bottom: 32px;
    font-size: 20px;
  }

  .about-main_title.-indent {
    margin: 0;
  }

  .about-main_text p {
    margin-bottom: 25px;
  }
}


/* お寺について ごあいさつ*/
.about-greeting {
  background-image: url(../img/common/paper-bg.jpg);
  background-repeat: repeat;
  padding: 100px 0;
  line-height: 210%;
}

.about-greeting h2 {
  text-align: center;
  margin-bottom: 60px;
}

.about-greeting_container.-right {
  display: flex;
  justify-content: center;
}

.about-greeting_container.-left {
  display: flex;
  justify-content: center;
  flex-direction: row-reverse;
}

.about-greeting_text.-right {
  padding-right: 30px;
}

.about-greeting_text.-left {
  padding-left: 30px;
}

.about-greeting_text.-right p {
  margin-top: 40px;
}

.about-greeting_text.-right p:first-child {
  margin-top: 0;
}

.about-greeting_text.-left p {
  margin-top: 40px;
}

.about-greeting_img-right {
  margin-top: 50px;
  max-width: 450px;
  margin-left: 50px;
}

.about-greeting_img-left {
  margin-top: 100px;
  max-width: 450px;
  margin-right: 50px;
}

.about-greeting_deco-right {
  width: 450px;
  margin-top: -40px;
  margin-left: 100px;
}

.about-greeting_deco-left {
  width: 450px;
  margin-top: -40px;
  margin-left: -60px;
}

.about-greeting_name {
  text-align: right;
  font-size: 24px;
  margin-top: 30px;
}

.about-greeting_name span {
  font-size: 18px;
}

@media screen and (max-width: 1100px) {
  .about-greeting_container.-right {
    flex-direction: column;
    max-width: 848px;
    margin: 0 auto;
  }

  .about-greeting_container.-left {
    flex-direction: column;
    max-width: 848px;
    margin: 0 auto;
  }

  .about-greeting_text.-right {
    padding-right: 0px;
    width: auto;
  }

  .about-greeting_text.-left {
    padding-left: 0px;
    width: auto;
  }

  .about-greeting_img {
    margin: 0 auto;
  }
}

@media screen and (max-width: 768px) {
  .about-greeting h2 {
    font-size: 24px;
    margin-bottom: 32px;
  }

  .about-greeting {
    padding: 50px 0;
  }

  .about-greeting_text.-right p {
    margin-top: 25px;
  }

  .about-greeting_text.-left p {
    margin-top: 25px;
  }

  .about-greeting_img-right {
    width: 70vw;
    margin-left: 0px;
  }

  .about-greeting_img-left {
    width: 70vw;
    margin-right: 0px;
    margin-top: 50px;
  }

  .about-greeting_deco-right {
    width: 70vw;
    margin-top: -40px;
    margin-left: 30px;
  }

  .about-greeting_deco-left {
    width: 70vw;
    margin-top: -40px;
    margin-left: -30px;
  }
}

@media screen and (max-width: 440px) {
  .about-greeting_img-right {
    width: 250px;
  }

  .about-greeting_img-left {
    width: 250px;
  }

  .about-greeting_deco-right {
    width: 250px;
    margin-top: -40px;
    margin-left: 30px;
  }

  .about-greeting_deco-left {
    width: 250px;
    margin-top: -40px;
    margin-left: -30px;
  }
}


/* お寺について 施設紹介*/
.about-gallery {
  padding-top: 100px;
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url(../img/about/gallery-bg.png);
  background-repeat: no-repeat;
  background-size: cover;
  color: #fff;
  padding-bottom: 100px;
  margin-bottom: 90px;
}

.about-gallery h2 {
  color: #fff;
  text-align: center;
  margin-bottom: 25px;
}

.about-gallery-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: flex-start;
  margin-top: 0;
}

.about-gallery-item {
  margin: 40px 20px;
}

.about-gallery_img {
  width: 300px;
  height: 200px;
  object-fit: cover;
  border: 1px #fff solid;
}

.about-gallery_name {
  font-size: 20px;
  margin-top: 20px;
}

.about-gallery_text {
  margin-top: 15px;
  width: 300px;
}

@media screen and (max-width: 768px) {
  .about-gallery {
    padding-top: 50px;
    padding-bottom: 20px;
    margin-bottom: 50px;
  }

  .about-gallery-item {
    margin: 20px 25px;
  }

  .about-gallery_name {
    margin-top: 15px;
  }

  .about-gallery_text {
    margin-top: 10px;
  }
}

@media screen and (max-width: 440px) {
  .about-gallery_img {
    width: 280px;
    height: 200px;
    object-fit: cover;
    border: 1px #fff solid;
  }

  .about-gallery h2 {
    margin-bottom: 15px;
  }

  .about-gallery_text {
    width: 250px;
  }
}


/* お寺について　画像拡大 */
.about-gallery-list {
  position: relative;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
  animation: modalFadeIn 0.4s;
}

.modal img {
  max-width: 90%;
  /* 画像の最大幅を親要素(modal)の90%に制限し、画面内に収まるようにする */
  max-height: 100vh;
  /* 画像の最大高さをビューポートの高さ(100vh)に制限し、画面内に収まるようにする  */
  object-fit: contain;
  /* 画像の比率を保持しつつ、指定された高さと幅に収める */
}

.about-gallery_img:hover {
  opacity: 0.6;
  transition: 0.4s;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes modalFadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

/* お寺について　リンク集 */
.about-link {
  margin-bottom: 100px;
}

.about-link h2 {
  text-align: center;
  margin-bottom: 60px;
}

.about-link-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  row-gap: 50px;
  column-gap: 32px;
}

.about-link-item {
  text-align: center;
  padding: 24px;
  width: 400px;
  border-top: solid 0.5px #C5C5C5;
  border-bottom: solid 0.5px #C5C5C5;
}

.about-link-item dt {
  font-size: 20px;
  margin-bottom: 20px;
  font-weight: 400;
}

.about-link-item dd {
  margin-top: 8px;
}

.about-link-item dd:first-child {
  margin-top: 0;
}

.about-link-item a {
  transition: 0.6s;
}

.about-link-item a:hover {
  color: #6B3B5D;
  border-bottom: solid 1px #6B3B5D;
}

@media screen and (max-width: 768px) {
  .about-link {
    margin-bottom: 50px;
  }

  .about-link h2 {
    font-size: 24px;
    margin-bottom: 32px;
  }

  .about-link-list {
    row-gap: 32px;
  }
}



/* サービス　タブ */
.service-tab {
  display: flex;
  justify-content: center;
}

.service-tab_btn {
  margin: 0 13px;
  margin-top: 60px;
  transition: 0.4s;
}

.service-tab_btn :hover {
  opacity: 0.5;
}

.service-tab_btn-text {
  color: #6B3B5D;
  margin-top: -43px;
  text-align: center;
}

.service-tab_btn.display {
  pointer-events: none;
}

.service-tab_btn-text.display {
  color: #fff;
}

@media screen and (max-width: 768px) {
  .service-tab_btn-bg {
    width: 165px;
  }

  .service-tab_btn-text {
    margin-top: -32px;
  }

}

@media screen and (max-width: 440px) {
  .service-tab_btn {
    margin: 0 2px;
    margin-top: 32px;
  }

  .service-tab_btn-bg {
    width: 130px;
    height: 35px;
  }

  .service-tab_btn-text {
    margin-top: -31px;
    font-size: 13px;
  }
}


/* サービス トップ*/
.service-main {
  background-image: url(../img/service/mon-bg.png);
  background-repeat: no-repeat;
  background-position: 30px 0px;
  margin-bottom: 100px;
}

.service-main.grave {
  background-image: none;
}

.service-main_container {
  display: flex;
  flex-direction: row-reverse;
  margin-top: 100px;
  margin-bottom: 80px;
  line-height: 210%;
  margin-left: 32px;
}

.service-main_container.grave {
  flex-direction: column;
  margin-top: 60px;
  margin-bottom: 60px;
}

.service-main_title {
  writing-mode: vertical-rl;
  padding-left: 25px;
}

.service-main_title h2 {
  font-size: 75px;
  color: #6B3B5D;
  margin: 0 55px;
}

.service-main_container.grave h2 {
  font-size: 37px;
  color: #817F50;
  text-align: center;
  margin-top: 40px;
}

.service-main_title p {
  font-size: 24px;
  font-family: biz-udpmincho, sans-serif;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.35em;
  margin-left: 15px;
}

.service-main_text p {
  margin-top: 40px;
}

.service-main-title_paragraph {
  text-indent: 5.5rem;
}

.service-main_img {
  width: 800px;
  height: 300px;
  object-fit: cover;
  margin: 0 auto;
  object-position: 0 56%;
}

.service-main_img.memorial {
  object-position: 0 90%;
}

.service-main_img.memorial img {
  image-rendering: auto;
  image-rendering: smooth;
}

.service-main-title_paragraph.memorial {
  text-indent: 7.5rem;
}

@media screen and (max-width: 768px) {
  .service-main_area {
    margin-bottom: 50px;
    background-size: 90%;
    background-position: 150% 10%;
  }

  .service-main_container {
    flex-direction: column;
    margin-top: 50px;
    justify-content: center;
    margin-left: 0;
  }

  .service-main_container.grave {
    margin-top: 50px;
    margin-bottom: 50px;
  }

  .service-main_title h2 {
    font-size: 40px;
    margin: 0;
    margin-top: 20px;
  }

  .service-main_title {
    writing-mode: unset;
    padding-left: 0px;
    margin: 0 auto;
  }

  .service-main_container.grave h2 {
    font-size: 24px;
  }

  .service-main_title p {
    font-size: 18px;
    letter-spacing: 0.2rem;
    margin-top: 10px;
  }

  .service-main_text p {
    margin-top: 40px;
  }

  .service-main_text.grave p {
    margin-top: 30px;
  }

  .service-main-title_container {
    padding-left: 50px;
    margin-top: 25px;
  }

  .service-main-title_paragraph {
    text-indent: 4rem;
  }

  .service-main-title_paragraph.memorial {
    text-indent: 5rem;
  }

  .service-main_container {
    margin-bottom: 50px;
  }

  .service-main_img {
    height: 250px;
  }
}

@media screen and (max-width: 440px) {
  .service-main {
    margin-bottom: 50px;
  }

  .service-main_area {
    padding: 0px;
  }

  .service-main_img {
    padding: 0 15px;
  }

  .service-main_title p {
    font-size: 15px;
  }

  .service-main-title_container {
    padding-left: 30px;
  }

  .service-main-title_paragraph {
    text-indent: 2.5rem;
  }

  .service-main-title_paragraph.memorial {
    text-indent: 3rem;
  }

  .service-main_title h2 {
    padding: 0 10px;
  }

  .service-main_text p {
    margin-top: 25px;
  }

  .service-main_img {
    height: 200px;
  }

  .service-main_container.grave h2 {
    margin-top: 0;
  }
}


/* サービス 説明*/
.service-explain {
  background-image: url(../img/common/paper-bg.jpg);
  padding: 100px 0;
}

.service-explain.grave {
  padding: 10px 0 80px;
}

.service-explain h2 {
  text-align: center;
}

.service-explain_text {
  margin: 0 auto;
  margin-top: 60px;
  margin-bottom: 30px;
}

.service-explain_img {
  margin: 0 auto;
  margin-top: 30px;
  padding: 0px;
}

.service-explain_text ul {
  padding-inline-start: 0px;
}

.service-explain-item {
  border-bottom: #C5C5C5 solid 1px;
  padding-top: 20px;
  padding-bottom: 20px;
}

.service-explain-item_title {
  font-size: 20px;
  color: #6B3B5D;
  font-weight: 500;
}

.service-explain-item_text {
  font-size: 16px;
  margin-top: 15px;
}

.service-explain h3 {
  text-align: center;
  margin-top: 60px;
  font-weight: 400;
  font-size: 24px;
  color: #333333;
}

.service-explain_img.grave.pc {
  max-width: 650px;
}

@media screen and (max-width: 768px) {
  .service-explain {
    padding: 50px 0 30px;
  }

  .service-explain_text {
    margin-top: 30px;
    margin-bottom: 20px;
  }

  .service-explain_area.grave {
    padding: 10px 0 30px;
  }

  .service-explain_img.pc {
    display: none;
  }

  .service-explain_img.sp {
    display: block;
  }

  .service-explain_img-funeral.sp {
    max-width: 65%;
  }

  .service-explain_img-memorial.sp {
    max-width: 80%;
  }

  .service-explain_img-grave.sp {
    max-width: 70%;
  }

  .service-explain h3 {
    font-size: 20px;
  }

  .service-explain.grave h3 {
    margin-top: 40px;
  }

  .service-explain-item_title {
    font-size: 18px;
  }
}

@media screen and (max-width: 440px) {
  .service-explain_img-funeral.sp {
    max-width: 100%;
  }

  .service-explain_img-memorial.sp {
    max-width: 100%;
  }

  .service-explain_img-grave.sp {
    max-width: 100%;
  }
}


/* サービス 流れ */
.service-flow_area {
  padding: 100px 40px;
}

.service-flow_area h2 {
  text-align: center;
  margin-bottom: 50px;
}

.service-flow_area.-funeral {
  background-image: url(../img/service/funeral-flow-bg.png);
  background-repeat: no-repeat;
  background-position: right -100px bottom 50px;
}

.service-flow_area.memorial {
  background-image: url(../img/service/memorial-flow-bg.png);
  background-repeat: no-repeat;
  background-position: right bottom;
  margin-bottom: 10px;
}

.service-flow_area.grave {
  background-image: url(../img/service/grave-flow-bg.png);
  background-repeat: no-repeat;
  background-position: right 250px bottom 0px;
  margin-bottom: 10px;
}

.service-flow_content {
  font-size: 24px;
  display: flex;
}

.service-flow_content.grave {
  flex-direction: column;
}

.service-flow_content-grave {
  border: solid #333333 1px;
  width: 30vw;
  max-width: 400px;
  padding: 10px 30px;
  margin-left: 45px;
}

.service-flow_number {
  color: #fff;
  font-weight: 400;
  width: 40px;
  height: 40px;
  background-color: #6B3B5D;
  text-align: center;
  padding-top: 6px;
}

.service-flow_title {
  border-bottom: #C5C5C5 solid 1px;
  width: 400px;
  text-align: left;
  margin-left: 20px;
}

.service-flow_title.grave {
  width: 80%;
  margin-left: 0;
  padding-bottom: 15px;
}

.service-flow_content-grave p {
  margin-top: 15px;
  padding-right: 0;
  font-size: 15px;
}

.service-flow p {
  margin: 15px 0 0 60px;
  padding-right: 25%;
}

.service-flow-grave {
  padding-right: 0px;
}

.service-flow li {
  margin-top: 50px;
}

.service-flow_container-grave li {
  margin-top: 340px;
}

.service-arrow_img {
  width: 70px;
  height: 60px;
  margin-left: 40px;
}

.service-flow_other {
  margin: 0 auto;
  margin-top: 45px;
  margin-left: 100px;
}

.service-flow_gravecontainer {
  display: flex;
}

@media screen and (max-width: 1100px) {
  .service-flow {
    margin-left: 30px;
    padding-left: 0px;
  }

  .service-flow_area.grave {
    background-position: right 100px bottom 0px;
  }
}

@media screen and (max-width: 1000px) {
  .service-flow_container-grave.pc {
    display: none;
  }

  .service-flow_content-grave.sp {
    display: block;
    width: 400px;
  }

  .service-flow_content-grave {
    margin-left: 10%;
  }

  .service-flow_title-grave {
    border: none;
    font-size: 20px;
  }

  .service-flow_content-grave p {
    margin-top: 5px;
    margin-left: 20px;
  }
}

@media screen and (max-width: 768px) {
  .service-flow {
    margin-left: 0;
  }

  .service-flow_area {
    padding: 50px 0;
  }

  .service-flow_area h2 {
    margin-bottom: 32px;
  }

  .service-flow_area.-funeral {
    padding-bottom: 70px;
    background-size: 600px auto;
    background-position: right -280px bottom 10px;
  }

  .service-flow_area.memorial {
    padding-bottom: 70px;
    background-size: 350px auto;
    background-position: right bottom;
  }

  .service-flow_area.grave {
    background-position: right -100px bottom 0px;
  }

  .service-flow_content {
    font-size: 18px;
  }

  .service-flow_number {
    font-size: 18px;
    width: 30px;
    height: 30px;
    padding-top: 1px;
    padding-left: 1px;
  }

  .service-flow_title {
    width: 300px;
    text-align: left;
  }

  .service-flow p {
    margin: 10px 0 0 50px;
    padding-right: 0;
  }

  .service-flow li {
    margin-top: 35px;
  }

  .service-flow_other {
    margin-left: 50px;
    margin-top: 30px;
    padding-right: 5%;
  }

  .service-flow_content-grave.sp {
    width: 85%;
  }

  .service-flow_content-grave {
    margin-left: 40px;
    padding: 10px 15px;
  }

  .service-flow_title-grave {
    font-size: 16px;
  }

  .service-flow_content-grave p {
    margin: 5px 0 0 20px;
  }
}

@media screen and (max-width: 440px) {
  .service-flow_title {
    width: 250px;
  }

  .service-flow_other {
    margin-left: 0px;
    padding-right: 0%;
  }

  .service-flow_title {
    margin-left: 10px;
  }

  .service-flow p {
    margin: 10px 0 0 40px;
    padding-right: 0;
  }

  .service-flow_content-grave p {
    margin: 5px 0 0 10px;
  }
}


/* サービス　FAQ */
.faq h2 {
  text-align: center;
}

.faq-container {
  margin: 0 auto;
  margin-top: 50px;
  margin-bottom: 100px;
}

.faq-container dt {
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: #C5C5C5 solid 1px;
  font-weight: bold;
  display: flex;
}

.faq-q {
  color: #6B3B5D;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 20px;
  padding-left: 10px;
  font-size: 25px;
  font-family: biz-udpmincho, sans-serif;
  font-style: normal;
  font-weight: 500;
}

.faq-container dd {
  margin-bottom: 30px;
  display: flex;
}

.faq-container dd:last-child {
  margin-bottom: 0;
}

.faq-a {
  color: #817F50;
  margin-right: 20px;
  padding-left: 10px;
  font-size: 25px;
  font-family: biz-udpmincho, sans-serif;
  font-style: normal;
  font-weight: 500;
}

.faq-qcontent {
  padding-right: 10px;
  padding-top: 10px;
}

.faq-acontent {
  padding-right: 10px;
}

@media screen and (max-width: 1100px) {
  .faq-container {
    width: 80%;
  }
}

@media screen and (max-width: 768px) {
  .faq-container {
    width: 100%;
    padding: 0;
    margin-top: 20px;
    margin-bottom: 50px;
  }
}


/* 麗和殿について */
.worship-title {
  text-align: center;
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 16px;
}

.worship-about h2 {
  text-align: center;
  margin-bottom: 60px;
}

@media screen and (max-width: 768px) {
  .worship-title {
    font-size: 20px;
    margin-bottom: 0;
  }

  .worship-about h2 {
    font-size: 24px;
    margin-bottom: 32px;
  }

  .worship-about {
    padding: 50px 0;
  }

}


/* 麗和殿 トップ*/
.worship-main {
  background-image: url(../img/service/mon-bg.png);
  background-repeat: no-repeat;
  background-position: 30px 16px;
  margin-bottom: 100px;
}

.worship-main_container {
  display: flex;
  flex-direction: row-reverse;
  padding-left: 40px;
  padding-top: 100px;
  margin-bottom: 80px;
  line-height: 210%;

}

.worship-main_title {
  writing-mode: vertical-rl;
  padding-left: 25px;
}

.worship-main_title h2 {
  font-size: 75px;
  color: #6B3B5D;
  margin: 0 55px;
}

.worship-main_title p {
  font-size: 24px;
  font-family: biz-udpmincho, sans-serif;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.35em;
  margin-left: 15px;
}

.worship-main_text p {
  margin-top: 40px;
}

.worship-main_text p:first-child {
  margin-top: 0;
}

.worship-main_title-paragraph {
  text-indent: 5.5rem;
}

.worship-main_img {
  width: 780px;
  height: 300px;
  object-fit: cover;
  margin: 0 auto;
  object-position: 50% 33%;
}

@media screen and (max-width: 768px) {

  .worship-main {
    padding-top: 50px;
  }

  .worship-main_area {
    margin-bottom: 50px;
    background-size: 90%;
    background-position: 150% 10%;
  }

  .worship-main_container {
    flex-direction: column;
    justify-content: center;
    padding-top: 0;
    padding-left: 0;
  }

  .worship-main_title h2 {
    font-size: 48px;
    margin: 0;
    margin-top: 20px;
  }

  .worship-main_title {
    writing-mode: unset;
    padding-left: 0px;
    margin: 0 auto;
  }

  .worship-main_container.grave h2 {
    font-size: 24px;
  }

  .worship-main_title p {
    font-size: 18px;
    letter-spacing: 0.2rem;
    margin-top: 10px;
  }

  .worship-main_text p {
    margin-top: 40px;
  }

  .worship-main_text p:first-child {
    margin-top: 40px;
  }

  .worship-main_title-container {
    padding-left: 50px;
    margin-top: 25px;
  }

  .worship-main_title-paragraph {
    text-indent: 4rem;
  }

  .worship-main_container {
    margin-bottom: 50px;
  }

  .worship-main_img {
    height: 250px;
  }
}

@media screen and (max-width: 440px) {
  .worship-main {
    padding-top: 32px;
    margin-bottom: 50px;
  }

  .worship-main_area {
    padding: 0px;
  }

  .worship-main_img {
    padding: 0 15px;
  }

  .worship-main_title p {
    font-size: 15px;
  }

  .worship-main_title-container {
    padding-left: 30px;
  }

  .worship-main_title-paragraph {
    text-indent: 2.5rem;
  }

  .worship-main_title-paragraph.memorial {
    text-indent: 6rem;
  }

  .worship-main_title h2 {
    padding: 0 10px;
  }

  .worship-main_text p {
    margin-top: 25px;
  }

  .worship-main_img {
    height: 200px;
  }

  .worship-main_container.grave h2 {
    margin-top: 0;
  }
}

/* 麗和殿について　*/
.worship-about {
  background-image: url(../img/common/paper-bg.jpg);
  background-repeat: repeat;
  padding: 100px 0;
  line-height: 210%;
  margin-bottom: 90px;
}

.worship-about h2 {
  text-align: center;
  margin-bottom: 60px;
}

.worship-about_container-right {
  display: flex;
  justify-content: center;
}

.worship-about_container-left {
  display: flex;
  justify-content: center;
  flex-direction: row-reverse;
  margin-top: 60px;
}

.worship-about_text-right {
  padding-right: 30px;
}

.worship-about_text-left {
  padding-left: 30px;
}

.worship-about_text-right p {
  margin-top: 16px;
}

.worship-about_text-right p:first-child {
  margin-top: 0;
}

.worship-about_text-left p {
  margin-top: 16px;
}


.worship-about_img-right {
  margin-top: 50px;
  max-width: 450px;
  margin-left: 50px;
}

.worship-about_img-left {
  margin-top: 60px;
  max-width: 450px;
  margin-right: 50px;
}

.worship-about_deco-right {
  width: 450px;
  margin-top: -40px;
  margin-left: 100px;
}

.worship-about_deco-left {
  width: 450px;
  margin-top: -40px;
  margin-left: -60px;
}

.worship-about_name {
  text-align: right;
  font-size: 24px;
  margin-top: 30px;
}

.worship-about_name span {
  font-size: 18px;
}

@media screen and (max-width: 1100px) {
  .worship-about_container-right {
    flex-direction: column;
    max-width: 848px;
    margin: 0 auto;
  }

  .worship-about_container-left {
    flex-direction: column;
    max-width: 848px;
    margin: 0 auto;
    margin-top: 50px;
  }

  .worship-about_text-right {
    padding-right: 0px;
    width: auto;
  }

  .worship-about_text-left {
    padding-left: 0px;
    width: auto;
  }

  .worship-about_img {
    margin: 0 auto;
  }
}

@media screen and (max-width: 768px) {
  .worship-about h2 {
    font-size: 24px;
    margin-bottom: 32px;
  }

  .worship-about {
    padding: 50px 0;
  }

  .worship-about_text-right p {
    margin-top: 16px;
  }

  .worship-about_text-left p {
    margin-top: 16px;
  }

  .worship-about_img-right {
    width: 70vw;
    margin: 0 auto;
    margin-top: 50px;
  }

  .worship-about_img-left {
    width: 70vw;
    margin-right: 0px;
     margin: 0 auto;
    margin-top: 50px;
  }

  .worship-about_deco-right {
    width: 70vw;
    margin-top: -40px;
    margin-left: 30px;
  }

  .worship-about_deco-left {
    width: 70vw;
    margin-top: -40px;
    margin-left: -30px;
  }
}

@media screen and (max-width: 440px) {
  .worship-about_img-right {
    width: 250px;
    
  }

  .worship-about_img-left {
    width: 250px;
  }

  .worship-about_deco-right {
    width: 250px;
    margin-top: -40px;
    margin-left: 30px;
  }

  .about-greeting_deco-left {
    width: 250px;
    margin-top: -40px;
    margin-left: -30px;
  }

  .worship-about {
    margin-bottom: 50px;
  }
}


/* アクセス */
.access-iframe_wrp {
  text-align: center;
  margin-top: 90px;
  margin-bottom: 40px;
}

.access-iframe_wrp iframe {
  width: 90%;
}

.access-table {
  margin: 0 auto;
  margin-bottom: 120px;
  width: 80%;
}

.access-list {
  border-bottom: 1px solid #C5C5C5;
  padding: 40px 0;
  padding-left: 11%;
}

.access-list_container {
  display: flex;
}

.access-list_title {
  font-weight: bold;
  padding-top: 5px;
  width: 100px;
  font-size: 18px;
}

.access-list_text {
  line-height: 2;
}

.access-tel {
  font-size: 20px;
}

.access-list_subtitle {
  font-weight: bold;
  margin-top: 10px;
}

.access-list_subtitle:first-child {
  margin-top: 0;
}

.access-sp {
  display: none;
}

@media screen and (max-width: 768px) {
  .access-iframe_wrp {
    margin-top: 50px;
    margin-bottom: 0px;
  }

  .access-iframe_wrp iframe {
    height: 300px;
    width: 100%;
  }

  .access-list_container {
    display: block;
  }

  .access-table {
    width: 100%;
  }

  .access-list {
    padding-left: 5%;
  }

  .access-list_text {
    margin-top: 5px;
  }
}

@media screen and (max-width: 440px) {
  .access-iframe_wrp {
    margin-top: 30px;
  }

  .access-iframe_wrp iframe {
    height: 250px;
  }

  .access-list {
    padding: 20px 5px;
    padding-left: 10px;
  }

  .access-table {
    margin-bottom: 50px;
  }

  .access-list_title {
    width: auto;
  }

  .access-sp {
    display: block;
  }
}



/* 麗和殿について　*/
.about-greeting {
  background-image: url(../img/common/paper-bg.jpg);
  background-repeat: repeat;
  padding: 100px 0;
  line-height: 210%;
}

.about-greeting h2 {
  text-align: center;
  margin-bottom: 60px;
}

.about-greeting_container.-right {
  display: flex;
  justify-content: center;
}

.about-greeting_container.-left {
  display: flex;
  justify-content: center;
  flex-direction: row-reverse;
}

.about-greeting_text.-right {
  padding-right: 30px;
}

.about-greeting_text.-left {
  padding-left: 30px;
}

.about-greeting_text.-right p {
  margin-top: 40px;
}

.about-greeting_text.-right p:first-child {
  margin-top: 0;
}

.about-greeting_text.-left p {
  margin-top: 40px;
}

.about-greeting_img-right {
  margin-top: 50px;
  max-width: 450px;
  margin-left: 50px;
}

.about-greeting_img-left {
  margin-top: 40px;
  max-width: 350px;
  margin-right: 50px;
}

.about-greeting_deco-right {
  width: 450px;
  margin-top: -40px;
  margin-left: 100px;
}

.about-greeting_deco-left {
  width: 450px;
  margin-top: -40px;
  margin-left: -50px;
  object-fit: cover;
  object-position: right 50px bottom 0;
}

.about-greeting_name {
  text-align: right;
  font-size: 24px;
  margin-top: 30px;
}

.about-greeting_name span {
  font-size: 18px;
}

@media screen and (max-width: 1100px) {
  .about-greeting_container-right {
    flex-direction: column;
    max-width: 848px;
    margin: 0 auto;
  }

  .about-greeting_container.-left {
    flex-direction: column;
    max-width: 848px;
    margin: 0 auto;
  }

  .about-greeting_text.-right {
    padding-right: 0px;
    width: auto;
  }

  .about-greeting_text.-left {
    padding-left: 0px;
    width: auto;
  }

  .about-greeting_img {
    margin: 0 auto;
  }

  .about-greeting_img-left{
    margin: 0 auto;
    margin-top: 50px;
  }
}

@media screen and (max-width: 768px) {
  .about-greeting h2 {
    font-size: 24px;
    margin-bottom: 32px;
  }

  .about-greeting {
    padding: 50px 0;
  }

  .about-greeting_text.-right p {
    margin-top: 25px;
  }

  .about-greeting_text.-left p {
    margin-top: 25px;
  }

  .about-greeting_img-right {
    width: 70vw;
    margin-left: 0px;
  }

  .about-greeting_img-left {
    width: 70vw;
    margin-right: 0px;
    margin: 0 auto;
    margin-top: 50px;
  }

  .about-greeting_deco-right {
    width: 70vw;
    margin-top: -40px;
    margin-left: 30px;
  }

  .about-greeting_deco-left {
    width: 70vw;
    margin-top: -40px;
    margin-left: -30px;
  }
}

@media screen and (max-width: 440px) {
  .about-greeting_img-right {
    width: 250px;
  }

  .about-greeting_img-left {
    width: 200px;
  }

  .about-greeting_deco-right {
    width: 250px;
    margin-top: -26px;
    margin-left: 30px;
  }

  .about-greeting_deco-left {
    width: 250px;
    margin-top: -26px;
    margin-left: -30px;
  }
}



/* ニュース一覧 */
.newslist-list {
  margin: 0 auto;
  margin-top: 40px;
  width: 100%;
  margin-bottom: 200px;
}

.newslist-item {
  border-bottom: 1px solid #C5C5C5;
  padding: 40px 60px;
}

.newslist-link {
  display: block;
  padding: 10px 0;
  transition: 0.4s;
}

.newslist-link:hover {
  color: #6B3B5D;
  opacity: 0.7;
}

.newslist-day {
  font-weight: 500;
}

.newslist-text {
  margin-top: 10px;
}

@media screen and (max-width: 768px) {
  .newslist-list {
    width: 100%;
    margin-top: 0;
  }

  .newslist-item {
    padding: 30px 40px;
  }
}

@media screen and (max-width: 440px) {
  .newslist-item {
    padding: 30px 10px;
  }

  .newslist-text {
    margin-top: 5px;
  }
}


/* ニュース一覧　ページネーション */
.Pagination {
  display: flex;
  align-items: center;
  width: 200px;
  margin: 100px auto 130px;
}

.Pagination-item_Link {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  width: 50px;
  height: 50px;
  background: #fff;
  border: solid 1px #6B3B5D;
  font-size: 20px;
  color: #6B3B5D;
  transition: all 0.4s linear;
}

.Pagination-item_Link-Icon {
  width: 20px;
}

.Pagination-item_Link.isActive {
  background: #6B3B5D;
  color: #fff;
  pointer-events: none;
}

.Pagination-item_Link:not(.isActive):hover {
  background: #6B3B5D;
  color: #fff;
}

.Pagination>*+* {
  margin-left: 12px;
}

.prev,
.next {
  width: 30px;
  height: 30px;
  background: #EDEDED;
  border: none;
  font-size: 15px;
  color: #333333;
}

.displaynone {
  display: none;
}

@media screen and (max-width: 768px) {
  .Pagination {
    margin: 70px auto 80px;
  }
}


/* ニュース */
.article-container {
  max-width: 850px;
  padding: 50px 32px;
  margin: 100px auto;
  border-top: solid 1px #c5c5c5;
  border-bottom: solid 1px #c5c5c5;
}

.article-title {
  font-family: "Noto Serif JP", serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
  letter-spacing: 0.03em;
  font-size: 24px;
  margin-top: 10px;
}

.article-img {
  margin: 70px auto;
}

.article-text {
  margin-top: 30px;
}

.article-btn {
  margin: 0 auto;
  text-align: center;
  margin-bottom: 130px;
  transition: 0.4s;

}

.article-btn a {
  display: inline-block;
  color: #6B3B5D;
  font-size: 16px;
  border: #6B3B5D solid 1px;
  padding: 10px 0;
  width: 250px;
  transition: 0.5s;
}

.article-btn_square {
  font-size: 10px;
}

.article-btn a:hover {
  background: #6B3B5D;
  color: #fff;
}

@media screen and (max-width: 768px) {
  .article-container {
    margin: 60px auto;
  }
}

@media screen and (max-width: 440px) {
  .article-title {
    font-size: 20px;
  }

  .article-img {
    margin: 30px auto;
  }

  .article-btn {
    margin-bottom: 50px;
  }
}

/* お問い合わせ */
.inner-contact {
  max-width: 735px;
  width: 90%;
  margin: 0 auto;
}

.contact-content {
  margin-top: 100px;
  margin-bottom: 32px;
  text-align: center;
}

.contact-tel {
  font-size: 20px;
  margin-top: 16px;
}

.contact-tel_num {
  font-size: 37px;
}

.contact-time {
  margin-top: 8px;
}

.-tab {
  display: none;
}

@media screen and (max-width: 768px) {
  .-tab {
    display: block;
  }
}

@media screen and (max-width: 440px) {
  .contact-tel_num {
    font-size: 30px;
  }
}

/* 問合せフォーム　フォームメーラー */

.contact-form_bg {
  background-color: #F5F5F5;
  border: unset;
  padding: 0 24px;
  margin-top: 16px;
}

.h53 {
  height: auto;
  min-height: 53px;
}

.w100 {
  width: 100%;
}

.contact-form-require {
  font-size: 10px;
  color: #fff;
  line-height: 14px;
  background-color: #6B3B5D;
  padding: 1px 8px 3px;
  margin-left: 10px;
}

.contact-form-content_wrap {
  margin-top: 32px;
}

.contact-form-name_wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-form-name_wrap .contact-form_bg {
  min-width: 240px;
}

.contact-form-name_row {
  display: flex;
  gap: 32px;
}

.contact-form-content_wrap input:focus,
.contact-form-content_wrap select:focus,
.contact-form-content_wrap textarea:focus {
  outline: #C5C5C5 1px solid;
}

/* ブラウザ標準の矢印を非表示にする */
.contact-form-content_wrap select {
  appearance: none;
  /* 標準の矢印を非表示 */
  -webkit-appearance: none;
  /* Safari, Chrome対応 */
  -moz-appearance: none;
  /* Firefox対応 */
  /* その他のスタイル（paddingなど） */
  cursor: pointer;
}

/* 非表示にした矢印の代わりに、CSSで新しい矢印を表示する */
.select-wrapper {
  position: relative;
  display: inline-block;
}

.select-wrapper::after {
  content: '';
  position: absolute;
  right: 24px;
  top: 55%;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 11px 7.5px 0 7.5px;
  border-color: #333333 transparent transparent transparent;
  pointer-events: none;
  /* 矢印のクリックでセレクトボックスが反応するようにする */
}

select.contact-form_bg option {
  color: #333;
  background-color: #fff;
}

.contact-form-textarea {
  padding: 16px 24px;
}

.contact-form-privacy {
  margin-top: 32px;
  border: solid 1px #C5C5C5;
  padding: 24px 32px 0;
  overflow: auto;
  height: 250px;
}

.contact-form-privacy_button {
  text-align: center;
  margin: 24px 0 50px;
  font-weight: 500;
  font-size: 15px;
  color: #333;
}

.contact-form-privacy_button input[type="checkbox"] {
  accent-color: #333;
}

.contact-form-submit_button {
  text-align: center;
  margin-bottom: 100px;
  position: relative;
  width: 250px;
  margin-left: auto;
  margin-right: auto;
}

.contact-form-submit_button::after {
  content: '';
  position: absolute;
  right: 24px;
  top: 40%;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5px 0 5px 8.7px;
  border-color: transparent transparent transparent #fff;
}

.contact-form-submit_button input[name="submit"] {
  background-color: #6B3B5D;
  border: none;
  color: #fff;
  width: 250px;
  height: 50px;
  transition: 0.8s;
}

.contact-form-submit_button input[name="submit"]:hover {
  opacity: 0.8;
}

@media (max-width: 768px) {

  .contact-form-name_row {
    flex-direction: column;
    gap: 16px;
    width: 100%;
  }

  .contact-form-name_wrap {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%; 
  }

  .contact-form-name_wrap .contact-form_bg {
    min-width: unset; 
    width: 100%; 
  }
}


/* サンクスページ */

.header.thanks {
  background-color: rgba(0, 0, 0, 0.6);
}

.thanks-bg {
  background-image: url(../img/service/mon-bg.png);
  background-repeat: no-repeat;
  background-position: 25% 50%;
  background-size: 500px;
}

.thanks-content { 
  text-align: center;
  padding: 300px 0 200px;
  
}

.thanks-content_main {
  font-size: 32px;
  text-decoration: underline 1px;
  text-decoration-color: #C5C5C5;
  text-underline-offset: 16px;
  margin-bottom: 40px;
  line-height: 2;
  font-weight: 400;
}

.thanks-content_txt {
  font-size: 18px;
  margin-bottom: 50px;
  line-height: 1.8;
}

.tk-br {
  display: none;
}

@media (max-width: 1000px) {

  .thanks-content_main {
    font-size: 24px;
  }

  .thanks-content_txt {
    font-size: 15px;
  }

}

@media (max-width: 768px) {
  .thanks-content_main {
    font-size: 18px;
    margin-bottom: 32px;
    text-underline-offset: 8px;
    text-align: center;
  }

  .thanks-content_txt {
    font-size: 15px;
    margin-bottom: 40px;
    text-align: center;
  }

  .tk-br {
    display: block;
  }

  .thanks-content {
    padding: 160px 0 100px;
    width: 90%;
    margin: 0 auto;
  }

  .thanks-bg {
  background-image: url(../img/service/mon-bg.png);
  background-repeat: no-repeat;
  background-position: 90% 70%;
  background-size: 500px;
  background-size: 350px;
}

}


@media (max-width: 440px){

  .thanks-content {
    padding: 100px 0 80px;
    width: 90%;
    margin: 0 auto;
  }

  .thanks-content_main{
    margin-bottom: 18px;
  }

  .thanks-content_txt{
    margin-bottom: 24px;
    text-align: left;
  }

  .thanks-bg {
  background-image: url(../img/service/mon-bg.png);
  background-repeat: no-repeat;
  background-position: 50% 70%;
  background-size: 500px;
  background-size: 300px;
}

}