body {
  margin: 0 auto;
  padding: 0;
  font-family: YuGothic,'Yu Gothic',sans-serif;
  color: #181B39;
  line-height: 1.6;
  letter-spacing: .15em;
  background: #fff;
}


/*    header    */

.header_pages {
  background-image:url(/assets/img/header_top.JPG);
  background-repeat:  no-repeat;
  height: 320px;
  /* width: 100%; */
  background-size: cover;
  position: relative;
  background-position: center;
  }

.header_pages::after{
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: #00152E;
  opacity: 0.4;
  display:block
  }

.header_pages_wrapper {
  overflow: hidden;
  padding: 0 104px;
  margin: 0 auto;
  z-index: 100;
  position: relative;
}

.header_pages_titles {
  display: flex;
  flex-direction: column;
  justify-content: left;
  margin-top: 160px;
}

.header_pages_titles h1 {
  font-size: 24px;
  color: #fff;
  margin: 0;
}

.header_pages_titles p {
  color: #fff;
  margin: 0;
}

.header_pages_link {
  margin-top: 40px;
}

.header_pages_link ul {
  display: flex;
  flex-direction: row;
  list-style: none;
  padding: 0;
  margin: 0;
}

.header_pages_link a {
  text-decoration: none;
  color: #fff;
  font-size: 12px;
}

.header_pages_link a:hover {
  text-decoration: underline;
}

.header_pages_link span {
  color: #fff;
  margin: 0 8px;
}

.nav{
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100vh;
background: rgba(0, 21, 46, .8);
color: #ffffff;
display: flex;
justify-content: center;
align-items: center;
/* 初期：非表示 */
visibility: hidden;
opacity: 0;
/* ふわっと表示 */
transition: 0.5s ease-in-out;
z-index: 100;
}
.nav ul{
list-style:none;
}
.nav li:not(:last-child){
margin-bottom: 8px;
}
.nav a{
color: #ffffff;
}

/* ナビゲーションボタン（開く） */
#navbtn{
position: fixed;
top: 80px;
right: 104px;
padding: 0;
outline: none;
border: none;
background: none;
width: 30px;
height: 20px;
cursor: pointer;
z-index: 100;
}

#navbtn::before,
#navbtn::after{
content : '';
display: block;
height: 1px;
background-color: #00152E;
transform: translateY(10px);
transition: 0.3s ease-in-out;
}

#navbtn::before{
transform: translateY(-10px);
box-shadow: 0 10px #00152E;
}

/* ナビゲーションボタン（閉じる） */
.open #navbtn{
z-index: 100;
}
.open #navbtn::before{
transform: rotate(-45deg);
box-shadow: none;
background-color: white;
}
.open #navbtn::after{
transform: rotate(45deg);
box-shadow: none;
background-color: white;
}
/* ナビゲーションメニュー 開いた時*/
.open .nav{
visibility: visible;
opacity: 1;
}

.nav{
margin-left: auto;
}
.nav ul{
display: flex;
list-style:none;
flex-direction: column;
width: 48%;
}

.nav ul li a {
text-decoration: none;
color: #fff;
text-decoration :none;
font-size: 40px;
font-weight: 700;
}

.nav ul li a:hover{
opacity: .5;
padding-left: 8px;
}


/*      受付請負とは        */

.receptionist_aboutboxs {
  position: relative;
  padding: 104px 0;
  margin: 0 auto;
}

.receptionist_about_title {
  margin: 0 auto;
  text-align: center;
  font-size: 32px;
}

.receptionist_about_gradation {
  width: 17%;
  background: linear-gradient(to right, #667EEA,#28CAC0);
  height: 5px;
  border: none;
}

.receptionist_about_img {
  position: relative;
  height: 280px;
  background-image: url(/assets/img/funeral.png);
  background-repeat: no-repeat;
  margin: 104px 0;
}

.receptionist_about_img::after{
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(40, 165, 176, 0.08);
  display: block;
  height: 270px;
}


img.receptionist_top_img {
  width: 72%;
  margin: 104px 0 80px 0;
  display: none;
}

h2.eceptionist_about_secondtitle {
  position: relative;
  padding: 0 0 0 80px;
  font-size: 24px;
  letter-spacing: 0.18em;
  color: rgba(24, 27, 57, 0.8);
  text-shadow: 3px 2px 3px rgb(24 27 57 / 16%);
}

.receptionist_about_contentsbox {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin: 0 auto;
  padding: 0 0 80px 0;
}

.receptionist_about_contentsbox01 {
  letter-spacing: 0.12em;
  width: 55%;
  margin: 0 auto;
  padding: 0 24px 0 80px;
  align-items: center;
  display: flex;
}

.receptionist_about_contentsbox02 {
  width: 45%;
  position: relative;
}

img.contentsbox02_img {
  width: 100%;
  position: relative;
}

.receptionist_about_contentboxs {
  position: relative;
  display: flex;
  flex-direction: row;
  padding: 24px 0 80px 0;
  justify-content: center;
}

.receptionist_about_box {
  padding: 0 40px;
  align-items: center;
  display: flex;
  position: relative;
}


h2.receptionist_about_secondtitle {
  z-index: 1;
  padding-left: 72px;
  line-height: 1.5;
  font-size: 24px;
  letter-spacing: 0.18em;
  color: rgba(24, 27, 57, 0.8);
  text-shadow: 3px 2px 3px rgb(24 27 57 / 16%);
}

.receptionist_about_texts {
  padding-left: 40px;
}

.receptionist_about_secondtitle_rpd1024,
.receptionist_about_texts_rpd375 {
  display: none;
}





/*    受付請負の流れ     */

.receptionist_flowboxs {
  position: relative;
  margin: 0 auto;
  padding: 80px 80px 104px 80px;
}

.receptionist_flowboxs::after {
  content: '';
  position: absolute;
  left:0;
  top: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  background: rgba(33, 93, 99, .03);
  transform: skewY(2deg);
  transform-origin: top right;
}

.receptionist_flow_title {
  margin: 0 auto;
  text-align: center;
  font-size: 32px;
}

.receptionist_flow_gradation {
  width: 22%;
  background: linear-gradient(to right, #667EEA,#28CAC0);
  height: 5px;
  border: none;
}

.receptionist_flow_contentsbox {
  position: relative;
  margin: 168px 80px 0 80px;
  display: flex;
  flex-wrap: wrap;
}

.flow_boxs {
  position: relative;
  width: 30%;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.flow_boxs_row {
  padding: 112px 16px;
}

p.flow_number {
  font-size: 80px;
  letter-spacing: 0.05em;
  color: rgba(33, 93, 99, 0.5);
  position: absolute;
  top: -72px;
  left: 32px;
  margin: 0 auto;
}

p.flow_number_row {
  top: 40px;
}

img.flow_img {
  width: 88%;
}

h3.flow_title {
  margin: 32px 0;
  font-size: 16px;
}

p.flow_content {
  margin: 0;
  letter-spacing: 0.16em;
}

.accountingbox_contents {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: center;
  padding-bottom: 80px;
}

.accountingbox_img_slide {
  position   : relative;
  overflow   : hidden;
  width      : 320px;
  height     : 240px;
  margin     : 0;
  background : #fff;
}

.accountingbox_img_slide img {
  display    : block;
  position   : absolute;
  width      : inherit;
  height     : inherit;
  opacity    : 0;
  animation  : slideAnime 24s ease infinite;
}

.accountingbox_img_slide img:nth-of-type(1) { animation-delay: 0s }
.accountingbox_img_slide img:nth-of-type(2) { animation-delay: 4s }
.accountingbox_img_slide img:nth-of-type(3) { animation-delay: 8s }
.accountingbox_img_slide img:nth-of-type(4) { animation-delay: 12s }

@keyframes slideAnime{
   0% { opacity: 0 }
   12% { opacity: 1 }
  13% { opacity: 1 }
  25% { opacity: 0 }
 100% { opacity: 0 }
}

.accountingbox_texts {
  position: relative;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-content: center;
  height: 240px;
  justify-content: center;
  width: 48%;
  padding: 0 0 0 32px;
}

p.accountingbox_text_title {
  font-weight: bold;
}


/*    新たな葬儀のかたちへ   */

.receptionist_attemptboxs {
  position: relative;
  margin: 0 auto;
  padding: 80px;
}

.receptionist_attempt_title {
  margin: 0 auto;
  text-align: center;
  font-size: 32px;
}

.receptionist_attempt_gradation {
  width: 31%;
  background: linear-gradient(to right, #667EEA,#28CAC0);
  height: 5px;
  border: none;
}

p.receptionist_attempt_text {
  text-align: center;
  margin: 80px;
}

.receptionist_attempt_conetntboxs {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: end;
}

.attempt_box {
  width: 40%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

p.attempt_title {
  margin: 40px;
  font-weight: bold;
}

img.attempt_img01 {
  width: 80%;
}

.covidmeasures_imgboxs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.measures_img {
  width: 40%;
  padding: 8px;
  text-align: center;
}

img.attempt_img02 {
  width: 40%;
  opacity: .5;
}

.measures_text {
  font-size: 12px;
  letter-spacing: .1em;
}

p.attempt_text {
  text-align: center;
  padding: 0 40px 40px 40px;
  letter-spacing: 0.16em;
}

.receptionist_covid_btn {
  position: relative;
  text-align: center;
  padding: 0 0 40px 0;
}

.btn-border {
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  background: #001B57;
  padding: 16px 128px;
  outline: 1px solid;
      outline-color: currentcolor;
  outline-color: #001B57;
  outline-offset: 0px;
  display: inline-block;
  transition: .3s;
  letter-spacing: 0.3em;
  text-decoration: none;
}
.btn-border:hover {
  animation: light .8s infinite;
}

.btn-border span{
  font-weight: normal;
  position: relative;
  /* padding-left: 30px; */
}

.btn-border span::before{
  content: "";
  position: absolute;
  top: 50%;
  right: -72px;
  width: 7px;
  height: 7px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
  margin-top: -5px;
}

@keyframes light {
  100% {
    outline-color: transparent;
    outline-offset: 12px;
  }
}


/*   各ページ共通    */


.page_contact {
  background: rgba(83, 141, 212, 0.1);
  margin: 0 auto;
  padding: 0;
  overflow: hidden;
}

.page_contact_wrapper {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.page_contact_boxs {
  display: flex;
  justify-content: space-around;
  align-content: center;
}

.page_contact_contents {
  width: 40%;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  margin: 88px 0;
  padding: 24px;
}

.page_contact_title {
  font-weight: bold;
  margin: 0;
  font-size: 24px;
}

.page_contact_text {
  margin: 8px 0;
  text-align: center;
}

.comment {
  margin: 8px 0 0 0;
}

.phone_number {
  margin: 8px 0 0 0;
  font-size: 32px;
  font-weight: bold;
  color: #181B39;
  text-decoration: none;
}

.phone_number:hover {
  color: #D47268;
  text-decoration: underline;
}

.correspondence_time {
  font-size: 13px;
  margin: 0;
  margin: 8px 0 0 0;
}


.page_contactbtn {
  margin-top: 24px;
}

.page_contactbtn_border {
  color: #fff;
  font-size: 16px;
  background: linear-gradient(-45deg,#009efd,#96fbc4,#009efd);
  padding: 14px 104px;
  background-size: 300% 100%;
  transition: all .3s ease-out;
  text-decoration: none;
}
.page_contactbtn_border:hover {
  background-position: 100% 0;
}

.page_contactbtn_border span {
  font-weight: normal;
  position: relative;
  /* padding-left: 30px; */
}

.page_contactbtn_border span::before{
  content: "";
  position: absolute;
  top: 50%;
  right: -72px;
  width: 7px;
  height: 7px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
  margin-top: -5px;
}

  /*    footer     */

  .footer {
    position: relative;
    /* height: 160px; */
    background: #040324;
}

.footer_wrapper {
  padding: 24px 104px;
  margin: 0 auto;
}

.footer_menu {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .footer_menubox{
    width: 100%;
  }

  .footer_menubox nav {
    margin-top: 16px;
    display: flex;
    justify-content: flex-end;
  }

  .footer_menubox ul{
    display: flex;
    justify-content: right;
  }

  .footer_menubox li {
    margin-left: 24px;
    list-style: none;
  }

  .footer_menubox a {
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    color: white;
    display: inline-block;
    position: relative;
  }

  .footer_menubox a:hover {
    opacity: .7;
  }

  .footer_copywriter {
    color: #fff;
    font-size: 12px;
    text-align: right;
    margin-top: 40px;
}

.receptionist_about_secondtitle_rpd768 {
  display: 1024;
}
.accountingbox_text_content_rpd375,
.attempt_text_rpd375 {
  display: none;
}


@media screen and (min-width:1024px) and (max-width:1279px) {

  /*  各ページ共通  */

 .header_pages_wrapper {
    max-width: none;
    padding: 24px 40px;
  }

  .header_pages_titles {
    margin-top: 144px;
  }

  #navbtn {
    top: 56px;
    right: 40px;
  }

  .nav li:not(:last-child) {
    margin-bottom: 24px;
  }

  .page_contact_wrapper {
    max-width: none;
    padding: 0 40px;
  }

  .footer {
    padding: 0 40px;
  }

  .footer_wrapper {
    padding: 24px 32px;
  }


  /*   受付請負とは   */

  .receptionist_about_gradation {
    width: 20%;
  }

  h2.eceptionist_about_secondtitle {
    bottom: 150px;
    font-size: 20px;
  }

  .receptionist_about_img {
    height: 240px;
  }

  .receptionist_about_img::after {
    height: 240px;
  }

  .receptionist_about_box {
    padding: 0 ;
  }

  h2.receptionist_about_secondtitle {
    padding-left: 24px;
  }

  .receptionist_about_contentboxs {
    flex-direction: column;
    padding: 0 80px;
  }

  .receptionist_about_secondtitle,
  .receptionist_about_texts_rpd375 {
    display: none;
  }

  .receptionist_about_secondtitle_rpd1024 {
    display: inline;
    line-height: 1.5;
    font-size: 24px;
    letter-spacing: 0.18em;
    color: rgba(24, 27, 57, 0.8);
    text-shadow: 3px 2px 3px rgb(24 27 57 / 16%);
    padding-left: 40px;
  }

  .receptionist_about_texts {
    padding: 32px 0 40px 0;
    justify-content: center;
    display: flex;
    width: 100%;
  }

  /*   受付請負の流れ   */

  .receptionist_flowboxs {
    padding: 80px 32px 104px 32px;
  }

  .receptionist_flow_gradation {
    width: 25%;
  }

  .receptionist_flow_contentsbox {
    margin: 168px 0 16px 0;
  }

  .accountingbox_texts {
    width: 56%;
  }

  /*   新たなかたちへ   */

  .receptionist_attempt_gradation {
    width: 40%;
  }

  .accountingbox_text_content_rpd375,
  .attempt_text_rpd375 {
    display: none;
  }

  .measures_text {
    font-size: 8px;
  }


}

@media screen and (min-width:768px) and (max-width:1023px) {

  /*  共通  */

  .header_pages {
    height: 280px;
  }

  .header_pages_wrapper {
    padding: 0 40px;
  }

  .header_pages_titles {
    margin-top: 144px;
  }

  .header_pages_link {
    margin-top: 32px;
  }

  #navbtn {
    right: 40px;
    top: 56px;
  }

  .nav ul li a {
    font-size: 32px;
  }

  .footer_wrapper {
    padding: 56px;
  }

  .footer_menubox {
    display: none;
  }

  .footer_copywriter {
    text-align: center;
    margin: 0 ;
  }

  .page_contact_wrapper {
    max-width: none;
    padding: 0 40px;
  }

  .page_contact_boxs {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 56px 0 16px 0;
  }

  .page_contact_contents {
    width: 56%;
    margin: 0 0 40px 0;
    padding: 24px;
  }

  .page_contactbtn {
    padding-bottom: 24px;
  }

  /*   タイトル  */

  .receptionist_about_title,
  .receptionist_flow_title,
  .receptionist_attempt_title {
    font-size: 24px;
  }

  /*   受付請負とは　  */

  .receptionist_aboutboxs {
    padding: 80px 0;
  }

  .receptionist_about_gradation {
    width: 21%;
  }

  .receptionist_about_img {
    height: 180px;
    margin: 64px 0;
    background-position: right;
  }

  .receptionist_about_img::after {
    height: 180px;
  }

  .receptionist_about_contentboxs {
    flex-direction: column;
    padding: 0 0 40px 0;
  }

  .receptionist_about_secondtitle,
  .receptionist_about_texts_rpd375 {
    display: none;
  }

  .receptionist_about_secondtitle_rpd1024 {
    display: inline;
    line-height: 1.5;
    font-weight: bold;
    letter-spacing: 0.18em;
    color: rgba(24, 27, 57, 0.8);
    text-shadow: 3px 2px 3px rgb(24 27 57 / 16%);
    margin-left: 24px;
  }

  .receptionist_about_box {
    padding: 0 24px;
  }

  .receptionist_about_texts {
    padding: 24px 0;
    display: flex;
    justify-content: center;
    width: 100%;
  }


  /*   受付請負の流れ　  */

  .receptionist_flowboxs {
    padding: 80px 40px 104px 40px;
  }

  .receptionist_flow_gradation {
    width: 27%;
  }

  .receptionist_flow_contentsbox {
    margin: 104px 0;
  }

  .flow_boxs {
    width: 45%;
    padding: 0 16px 104px 16px;
  }

  .flow_boxs_row {
    padding: 0;
  }

  p.flow_number_row {
    top: -72px;
  }

  .accountingbox_contents {
    flex-direction: column;
    align-items: center;
  }

  .accountingbox_texts {
    flex-direction: column;
    width: 80%;
    align-content: center;
    align-items: center;
    padding: 24px;
    height: 180px;
  }

  p.accountingbox_text_title {
    padding: 16px 0;
    margin: 0;
  }

  .accountingbox_img_slide {
    width: 320px;
    height: 220px;
  }




  /*   新たな葬儀の流れ　  */


  .receptionist_attemptboxs {
    padding: 80px 40px;
  }

  .receptionist_attempt_gradation {
    width: 38%;
  }

  p.receptionist_attempt_text {
    margin: 72px 40px;
  }

  img.attempt_img01 {
    width: 72%;
  }

  .measures_img {
    width: 44%;
    padding: 0;
  }

  .measures_text {
    font-size: 8px;
  }

  p.attempt_text {
    padding: 0 0 40px 0;
  }

  .accountingbox_text_content_rpd375,
  .attempt_text_rpd375 {
    display: none;
  }

}

@media screen and (min-width:375px) and (max-width:767px) {

  /*  共通  */

  .header_pages {
    height: 200px;
  }

  .header_pages_wrapper {
    padding: 0 24px;
  }

  #navbtn {
    top: 40px;
    right: 24px;
  }

  .header_pages_titles {
    margin-top: 120px;
  }

  .header_pages_link {
    display: none;
  }

  .nav {
    height: 100vh;
  }

  .nav ul {
    width: auto;
    padding: 0;
  }

  .nav ul li a {
    font-size: 28px;
  }

  .nav li:not(:last-child) {
    margin-bottom: 16px;
  }

  .footer_menubox {
    display: none;
  }

  .footer_wrapper {
    padding: 40px;
  }

  .footer_copywriter {
    font-size: 8px;
    width: 100%;
    margin-top: 0;
    text-align: center;
  }

  .page_contact_wrapper {
    margin: 0 auto;
    padding: 0 24px;
  }

  .page_contact_boxs {
    align-content: center;
    flex-direction: column;
    align-items: center;
    padding: 80px 0 40px 0;
  }

  .page_contact_contents {
    width: 88%;
    margin: 0 0 40px 0;
    padding: 24px;
  }

  .page_contact_title {
    font-size: 20px;
  }

  .page_contactbtn {
    margin: 24px 0;
  }

  .phone_number {
    font-size: 30px;
  }


  /*  タイトル   */

  .receptionist_about_title,
  .receptionist_flow_title,
  .receptionist_attempt_title {
    font-size: 20px;
  }

  /*  受付請負とは   */

  .receptionist_about_gradation {
    width: 36%;
  }

  .receptionist_aboutboxs {
    padding: 64px 0;
  }

  .receptionist_about_img {
    background-image: url(/assets/img/funeral.png);
    margin: 64px 0 40px 0;
    background-size: contain;
    height: 103px;
  }

  .receptionist_about_img::after {
    height: 103px;
  }

  .receptionist_about_secondtitle_rpd1024,
  .receptionist_about_texts {
    display: none;
  }

h2.receptionist_about_secondtitle {
    padding-left: 0;
    line-height: 1.4;
    font-size: 18px;
    display: inline;
  }

  .receptionist_about_contentboxs {
    flex-direction: column;
    padding: 0 24px 40px 24px;
  }

  .receptionist_about_box {
    padding: 0 ;
  }

  .receptionist_about_texts_rpd375 {
    display: inline;
  }


  /*  受付請負の流れ   */

  .receptionist_flowboxs {
    padding: 64px 24px;
  }

  .receptionist_flow_gradation {
    width: 48%;
  }

  .receptionist_flow_contentsbox {
    margin: 80px 24px 0 24px;
    flex-wrap: nowrap;
    flex-direction: column;
    align-items: center;
  }

  .flow_boxs {
    width: 100%;
    padding: 0 0 88px 0;
  }

  p.flow_number {
    font-size: 56px;
    top: -40px;
  }

  img.flow_img {
    width: 72%;
  }

  h3.flow_title {
    margin: 24px 0;
  }

  .accountingbox_contents {
    flex-direction: column;
    align-items: center;
  }

  .accountingbox_img_slide {
    width: 240px;
    height: 180px;
  }

  .accountingbox_texts {
    width: 88%;
    padding: 24px;
    align-items: center;
    height: auto;
  }

  .accountingbox_text_content {
    display: none;
  }

  .accountingbox_text_content_rpd375 {
    display: inline;
    margin: 0;
  }


  /*  新たなかたちへ   */

  .receptionist_attemptboxs {
    padding: 80px 24px 64px 24px;
  }

  .receptionist_attempt_gradation {
    width: 69%;
  }

  p.receptionist_attempt_text {
    margin: 56px 0;
    text-align: left;
  }

  .receptionist_attempt_conetntboxs {
    flex-direction: column;
    align-items: center;
  }

  .attempt_box {
    width: 88%;
    padding-bottom: 24px;
  }

  .measures_img {
    width: 44%;
    padding: 8px;
  }

  p.attempt_title {
    margin: 24px 0;
  }

  .attempt_text {
    display: none;
  }

  .attempt_text_rpd375 {
    padding: 0;
    letter-spacing: 0.16em;
    text-align: left;
    display: inline;
  }

  .btn-border {
    font-size: 16px;
    padding: 16px 104px;
  }

  .receptionist_covid_btn {
    padding: 40px 0;
  }

  .measures_text {
    font-size: 8px;
  }

}

