/* 

1. Add your custom Css styles below
2. Place the this code in your template: 

 <link href="css/custom.css" rel="stylesheet">

*/

/* Font style */
.sawarabi-mincho {
  font-family: 'Sawarabi Mincho', sans-serif;
  line-height: 1.5em;
  letter-spacing: 0.1rem;
  text-align: justify;
}
.sawarabi-gothic {
  font-family: 'Sawarabi Gothic', sans-serif;
}
.lato {
  font-family: 'Lato', sans-serif;
}

/* typography */
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  font-family: 'Sawarabi Gothic', sans-serif;
  color: #484848;
  margin: 0;
  letter-spacing: 0.1rem;
}

p {
  font-family: 'Sawarabi Gothic', sans-serif;
  line-height: 2em;
  letter-spacing: 0.01rem;
  text-align: justify;
  font-size: 18px;
}

.en {
  font-family: 'Lato', sans-serif;
}

ul, ol {
  list-style: none;
  list-style-image: none;
}
dl, menu, ol, ul, li, dt, dd {
  margin: 0;
  padding: 0;
}
li {
  display: list-item;
  text-align: -webkit-match-parent;
}

#mainMenu nav>ul>li>a {
	font-family: 'Sawarabi Gothic', sans-serif;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.1rem;
}

@media screen and (max-width: 480px) {
  p {
    font-size: 15px;
  }
}

/* logo */
#header .header-inner #logo a,
#header .header-inner #logo a span,
#header #header-wrap #logo a,
#header #header-wrap #logo a span {
  font-family: 'Sawarabi Mincho', sans-serif;
  font-size: 40px;
  color: #1f1f1f;
  font-weight: 800;
  letter-spacing: 1.5px;
  float: left;
  padding-top: 5px;
}

/* 和風スタイル */
.wa-style {
  width: 100%;
    padding: 80px 0;
    background: #ffe4be;
    -webkit-background-size: contain;
    background-size: contain;
}
.wa-bg {
  background: #ffe4be;
}
.wa-consept {
  
}

/* link_btn */
.link_btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 280px;
  height: 64px;
  margin: 0 auto;
  z-index: 100;
  font-size: 18px;
  color: #fff;
  text-align: center;
  -moz-border-radius: 32px;
  -webkit-border-radius: 32px;
  border-radius: 32px;
  background: #646464;
  box-sizing: border-box;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}


@media screen and (max-width: 800px) {
.link_btn {
    width: 75%;
    min-width: 250px;
    height: 60px;
    font-size: 15px;
    -moz-border-radius: 30px;
    -webkit-border-radius: 30px;
    border-radius: 30px;
  }
}

/* top message */
.top-message {
  color: #646464;
}

.thanks-message p{
  font-size: 15px;
}


/* contents_wrap コンセプト */
.contents_wrap{
  position: relative;
  padding: 0.5rem 22px;
  box-sizing:border-box;
}
.contents{
  position: relative;
  width: 100%;
  border-radius:50px;
  box-sizing:border-box;
}
.contents.g_bg{
  border-radius:50px;
  background:#F2F2F2;
}
.intro {
  padding-top: 100px;
  padding-bottom: 175px;
}
.intro h2 {
  font-size: 30px;
  color:#646464;
  letter-spacing: 0.18em;
  text-align: center;
}
.intro.intro_c {
  padding-bottom: 50px;
  border-radius: 50px;
}
@media screen and (max-width: 1300px){
.contents {
    padding-left: 20px;
    padding-right: 20px;
  }
}
@media screen and (max-width: 800px) {
.contents_wrap {
  padding: 1rem;
  }
  .contents {
    border-radius: 0;
    padding-left: 18px;
    padding-right: 18px;
}
  .contents.g_bg {
    border-radius: 0;
  }
.intro {
    padding-top: 86px;
    padding-bottom: 145px;
}
.intro h2 {
  font-size: 22px;
  line-height: 40px;
  }
  .intro.intro_c {
    padding-bottom: 10px;
    border-radius: 25px;
  }
}

/* About_box 現代のお墓の悩み */

.about_box {
  max-width: 1200px;
  background: #fff;
  box-sizing: border-box;
  border-radius: 50px;
  box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.1);
  padding: 50px 10px 110px;
  box-sizing: border-box;
  margin: 50px 10px 50px;
  margin-bottom: 0;
}
.about_box h3 {
  width: 397px;
  margin: 0 auto;
  font-size: 22px;
  text-align: center;
  letter-spacing: 0.16em;
  padding-bottom: 38px;
  background: url(../image/about_tit_bg.png) bottom center no-repeat;
  background-size: 397px 19px;
}
.about_box h4 {
  font-size: 32px;
  letter-spacing: 0.16em;
  margin: 60px auto;
  text-align: center;
}
.about_box p {
  text-align: center;
}

.about_box ul {
  max-width: 1000px;
  margin: 45px auto 70px;
  box-sizing: border-box;
  -js-display: flex;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  text-align: center;
}
.about_icon {
  
}

@media screen and (max-width: 1000px) {
  .about_box {
    max-width: 800px;
  }
}

@media screen and (max-width: 800px) {
.about_box {
    max-width: 600px;
    border-radius: 25px;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
    padding: 50px 40px 62px;
    box-sizing: border-box;
    margin: 50px auto 30px;
  }
  .about_box h3 {
    width: 191px;
    font-size: 16px;
    line-height: 27px;
    padding-bottom: 25px;
    background: url(../image/about_tit_bg.png) bottom center no-repeat;
    background-size: 191px 14px;
  }
  .about_box h4 {
    font-size: 18px;
    line-height: 39px;
    letter-spacing: 0.16em;
    margin: 5px auto 28px;
    text-align: center;
  }
  .about_box p {
    font-size: 13px;
  }
  .about_box ul {
    max-width: 300px;
    margin: 15px auto 20px;
  }
  .about_box li {
    width: 50%;
    margin-bottom: 24px;
  }
}

.about_box li .about_icon {
  margin-bottom: 34px;
  text-align: center;
}
figure {
  margin: 0;
  margin: 0;
  padding: 0;
  border: 0;
  font-style: normal;
  /* font-weight: normal; */
  font-size: 100%;
  vertical-align: baseline;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  display: block;
  margin-block-start: 1em;
  margin-block-end: 1em;
  margin-inline-start: 40px;
  margin-inline-end: 40px;
}


@media screen and (max-width: 800px) {
.about_box li .about_icon {
    margin-bottom: 21px;
    text-align: center;
  }
}

@media screen and (max-width: 480px) {
  .about_box {
    max-width: 480px;
    border-radius: 25px;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
    padding: 50px 10px 50px;
    box-sizing: border-box;
    margin: 50px 0 30px;
  }
  .about_box p {
    font-size: 13px;
  }
  .about_box h4{
    font-size: 14px;
  }
}


/* Point */
.point_box {
  margin: 100px auto;
}
.point-article {
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: baseline;
  font: inherit;
  font-size: 100%;
}
.mgb-pc--65 {
  margin-bottom: 6.34766vw !important;
}
@media screen and (max-width: 1000px) {
.mgb-sp--65 {
    margin-bottom: 20.3125vw !important;
  }
}



/* Point page-title */
.point-page-title {
  display: flex;
  padding-top: 3.51562vw;
  padding-bottom: 2.34375vw;
  background-color: #172852;
  align-items: center;
  justify-content: center;
}
.mgb-pc--30 {
  margin-bottom: 2.92969vw !important;
}
.point-page-title-content {
  display: flex;
  align-items: center;
  color: #fff;
  font-size: 7vw;
}
.point-page-title-content_item {
  display: block;
  color: #fff;
  font-size: 1.95312vw;
}
.point-page-title-content_item-1 {
  display: flex;
  margin-right: 1.66016vw;
  align-items: center;
}
.point-page-title-content_item-1 span {
  display: block;
}
.pc-hide {
  display: none !important;
}
.point-page-title-content_item-2 {
  position: relative;
  top: -0.68359vw;
  z-index: 1;
  display: block;
  overflow: hidden;
  margin-right: 2.14844vw;
  padding-top: 3.32031vw;
  width: 18.55469vw;
  height: 0;
  background: url(../img/logo_7me_white.png) 0 0 no-repeat;
  background-size: 100% auto;
}
.point-page-title-content_item-3 {
  margin-right: 25px;
}
.point-page-title_icon {
  width: 232px;
}
@media screen and (max-width: 1000px) {
  .point-page-title {
    padding-top: 5vw;
    padding-bottom: 5vw;
  }
  .mgb-sp--60 {
    margin-bottom: 18.75vw !important;
  }
  .point-page-title-content {
    display: block;
  }
  .point-page-title-content_item {
    text-align: center;
    letter-spacing: .08em;
    font-weight: 600;
    font-size: 4.6875vw;
  }
  .point-page-title-content_item-1 {
    margin-right: 0;
    margin-bottom: 3.125vw;
  }
  .sp-hide {
    display: none !important;
  }
  .point-page-title-content_item-2 {
    margin-right: auto;
    margin-bottom: 3.125vw;
    margin-left: auto;
    padding-top: 7.8125vw;
    width: 48.75vw;
    background: url(../img/sp/logo_7me_white.png) 0 0 no-repeat;
    background-size: 100% auto;
  }
  .point-page-title-content_item-3 {
    margin-right: 0;
  }
  .point-page-title_icon {
    display: none;
  }
}

/* flow */
/*
section {
  display: block;
}
.en {
  font-family: 'Rubik', sans-serif;
  font-weight: 500;
}

ul, ol {
  list-style: none;
  list-style-image: none;
}
li {
  text-align: -webkit-match-parent;
}
p {
  display: block;
  margin-block-start: 1em;
  margin-block-end: 1em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
}
a, input, select, textarea, button, *:before, *:after {
  -webkit-transition: color 0.3s ease;
  -moz-transition: color 0.3s ease;
  -o-transition: color 0.3s ease;
  transition: color 0.3s ease;
}
*/

/*
::selection {
  background: rgba(215,194,0,0.7);
} */

/*
.contents_wrap {
  position: relative;
  padding: 0 22px;
  box-sizing: border-box;
}
.contents {
  position: relative;
  width: 100%;
  border-radius: 50px;
  box-sizing: border-box;
}
.flow.contents {
  position: relative;
  z-index: 150;
  padding-top: 0;
  padding-bottom: 200px;
  border-radius: 50px 50px 0 0;
  padding-right: 0;
}
.flow_c.contents {
  border-radius: 0;
  padding-top: 60px;
}
.contents.g_bg {
  border-radius: 50px;
  background: #F2F2F2;
}
.flow_wrap {
  position: relative;
  margin: 0 auto;
  top: -55px;
  padding-top: 176px;
  padding-bottom: 60px;
  overflow: hidden;
  margin-bottom: -55px;
  /* padding-bottom: 120px; */ /*
} 

.flow_box {
  max-width: 1096px;
  position: relative;
  z-index: 150;
  margin: 0 auto;
  height: 657px;
}
.flow_box:before {
  content: "";
  display: block;
  width: 903px;
  height: 903px;
  position: absolute;
  z-index: 1;
  top: -176px;
  left: calc(50% - 315px);
  background: url();
  background-size: cover;
}
.flow_box .flow_slide {
  position: absolute;
  width: 370px;
  top: 25px;
  z-index: 40;
  box-sizing: content-box;
  left: 0;
  padding-left: 500px;
}
.flow_slide.slick-initialized {
  display: block;
}
.flow_slide {
  display: none;
}
.flow_slide .slick-prev {
  left: 450px;
}
.flow_slide .slick-prev, .flow_slide .slick-next {
  font-size: 0;
  line-height: 0;
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  top: 133px;
  padding: 0;
  cursor: pointer;
  color: transparent;
  border: none;
  border-radius: 0;
  z-index: 9997;
}
.flow_slide .slick-prev::before {
  content: "";
  display: block;
  left: 3px;
  position: absolute;
  width: 22px;
  height: 22px;
  border-top: 2px solid #646464;
  border-left: 2px solid #646464;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
.flow_slide .slick-next {
  right: -30px;
}
.flow_box li {
  text-align: center;
}
.flow_box li span.en {
  font-size: 16px;
}

figure {
  display: block;
  margin-block-start: 1em;
  margin-block-end: 1em;
  margin-inline-start: 40px;
  margin-inline-end: 40px;
}
.flow_box .step_icon {
  width: 128px;
  height: 128px
  margin: 37px auto 50px;
}

.flow_box p {
  font-size: 13px;
  line-height: 28px;
  letter-spacing: 0;
  margin: 38px 0 48px;
  opacity: 0.85;
}
.med {
  font-family: "游ゴシックMedium", "YuGothicMedium", "游ゴシック", "YuGothic", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", 'Open Sans' ,osaka, Arial, Verdana, sans-serif;
  font-weight: 400;
}



@media screen and (max-width: 1300px) {
.contents {
    padding-left: 20px;
    padding-right: 20px;
}
}

@media screen and (max-width: 1160px) {
.flow_box .flow_slide {
    padding-left: 43.1vw;
}
.slick-prev {
  left: 38.8vw;
}
}

@media screen and (max-width: 950px) {
.flow.contents {
    padding-left: 0;
}
.flow_box {
  max-width: 1096px;
  position: relative;
  z-index: 150;
  margin: 0 auto;
  height: 920px;
}
.flow_box:before {
  top: 100px;
  left: auto;
  right: calc(50% - 450px);
  margin: auto;
}
.flow_box .flow_slide {
  position: relative;
  width: 370px;
  top: 0;
  margin: 195px auto 0;
  z-index: 40;
  box-sizing: content-box;
  left: 0;
  padding-left: 0;
}
.flow_slide .slick-prev {
  left: -30px;
}
}

@media screen and (max-width: 800px) {
.contents_wrap {
    padding: 0;
}
.flow.contents {
    padding-bottom: 100px;
    border-radius: 0;
    padding: 130px 0 190px;
}
.flow_c.contents {
  padding-top: 0;
}
.contents.g_bg {
  border-radius: 0;
}
.contents {
  border-radius: 0;
  padding-left: 18px;
  padding-right: 18px;
}
.flow_wrap {
  top: 0;
  padding-top: 0;
  padding-bottom: 185px;
  overflow: hidden;
  margin-bottom: 0;
}
.flow_box {
  height: auto;
}
.flow_box:before {
  top: 75px;
  width: 740px;
  height: 740px;
  right: calc(50% - 370px);
}
.flow_box .flow_slide {
  width: 280px;
  margin: 150px auto 0;
}
.flow_slide .slick-prev, .flow_slide .slick-next {
  display: block !important;
}

.flow_box .step_icon {
  width: 86px;
  margin: 30px auto 40px;
}
.flow_box p {
  font-size: 13px;
  line-height: 26px;
  letter-spacing: 0;
  margin: 23px 0 35px;
}

} */

/* button */
button, html input[type="button"], input[type="reset"], input[type="submit"] {
  -webkit-appearance: button;
  cursor: pointer;
}
button, select {
  ext-transform: none;
}
button, input {
  line-height: normal;
}
button, input, select, textarea {
  margin: 0;
  padding: 0;
  vertical-align: baseline;
}
html, button, input, select, textarea {
  font-family: sans-serif;
}
button {
  -webkit-appearance: button;
  -webkit-writing-mode: horizontal-tb !important;
  text-rendering: auto;
  color: ;
  letter-spacing: normal;
  word-spacing: normal;
  text-transform: none;
  text-indent: 0px;
  text-shadow: none;
  display: inline-block;
  text-align: center;
  align-items: flex-start;
  cursor: default;
  background-color: ;
  box-sizing: border-box;
  margin: 0em;
  font: 400 11px system-ui;
  padding: 1px 7px 2px;
  border-width: 1px;
  border-style: solid;
  border-color: rgb(216, 216, 216) rgb(209, 209, 209) rgb(186, 186, 186);
  border-image: initial;
}

.partner-button {
  margin-top: 50px !important;
  font-size: 18px !important;
}

/* temple */
.temple_container {
  margin: 0 auto;
  padding: 0 30px;
  text-align: center;
}

@media screen and (max-width: 480px) {
  .temple_container p {
  }
}

/* Partner page*/
.partner-top {
  margin: 100px auto;
  padding: 0.5rem 22px;
}

.partner-img {
  margin: 30px auto;
}

@media screen and (max-width: 480px) {
  .partner-img {
    
  }  
}

/* merits */
.merits-wrap{
  position: relative;
  padding: 0.5rem 22px;
  box-sizing:border-box;
}

.merits-box {
  max-width: 1200px;
  background: #fff;
  box-sizing: border-box;
  border-radius: 50px;
  box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.1);
  padding: 50px 10px 50px;
  box-sizing: border-box;
  margin: 50px auto;
  margin-bottom: 0;
}
.merits-box h3 {
  width: 397px;
  margin: 0 auto;
  font-size: 22px;
  text-align: center;
  letter-spacing: 0.16em;
  padding-bottom: 38px;
  background: url(../image/about_tit_bg.png) bottom center no-repeat;
  background-size: 397px 19px;
}
.merits-box h4 {
  font-size: 32px;
  letter-spacing: 0.16em;
  margin: 60px auto;
  text-align: center;
}
.merits-box p {
  text-align: center;
  font-size: 15px;
}

.merits-box ul {
  max-width: 1000px;
  margin: 45px auto 70px;
  box-sizing: border-box;
  -js-display: flex;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  text-align: center;
}
.merits-br {
  padding-top: 30px;
}

.merits-lead {
  padding-top: 20px;
}

@media screen and (max-width: 1000px) {
  .about_box {
    max-width: 800px;
  }
}

@media screen and (max-width: 800px) {
  .merits-box {
    max-width: 600px;
    border-radius: 25px;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
    padding: 50px 40px 62px;
    box-sizing: border-box;
    margin: 50px auto 30px;
  }
  .merits-box h3 {
    width: 191px;
    font-size: 16px;
    line-height: 27px;
    padding-bottom: 25px;
    background: url(../image/about_tit_bg.png) bottom center no-repeat;
    background-size: 191px 14px;
  }
  .merits-box h4 {
    font-size: 18px;
    line-height: 39px;
    letter-spacing: 0.16em;
    margin: 5px auto 28px;
    text-align: center;
  }
  .merits-box p {
    font-size: 13px;
  }
  .merits-box ul {
    max-width: 300px;
    margin: 15px auto 20px;
  }
  .merits-box li {
    width: 50%;
    margin-bottom: 24px;
  }
  }
  
  .merits-box li .merits-icon {
  margin-bottom: 34px;
  text-align: center;
  }
  
  figure {
    margin: 0;
    margin: 0;
    padding: 0;
    border: 0;
    font-style: normal;
    /* font-weight: normal; */
    font-size: 100%;
    vertical-align: baseline;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 40px;
    margin-inline-end: 40px;
  }


@media screen and (max-width: 800px) {
  .merits-box li .merits-icon {
    margin-bottom: 21px;
    text-align: center;
  }
}

@media screen and (max-width: 480px) {
  .merits-box {
    max-width: 480px;
    border-radius: 25px;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
    padding: 50px 10px 50px;
    box-sizing: border-box;
    margin: 50px 0 30px;
  }
  .merits-box p {
    font-size: 13px;
  }
  .merits-box h4{
    font-size: 14px;
  }
}

.blog-description {
  font-size: 12px;
}