/* CSS Document */
/* reset */
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, input, textarea, p, blockquote, th, td {
  /*margin: 0;
  padding: 0;*/
}
address, caption, cite, code, dfn, em, strong, th, var {
  font-style: normal;
}
ul {
  list-style: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
caption, th {
  text-align: left;
}
q:before, q:after {
  content: '';
}
object, embed {
  vertical-align: top;
}
legend {
  display: none;
}
h1, h2, h3, h4, h5, h6 {
  font-size: 100%;
}
img, abbr, acronym, fieldset {
  border: 0;
}
body {
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-weight: 300;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  color: #4e5f74;
  background: #fff;
}
a {
  color: #0066ff;
  text-decoration: none;
}
a:hover, .active {
  text-decoration: underline;
}
a:active, a:focus, input:active, input:focus {
  outline: 0;
}
.text1 {
  font-size: 18px;
}
.text2 {
  font-size: 15px;
}
/* ヘッダー
------------------------------------------------------------*/
#header {
  text-align: center;
}
#header h1 {
  padding-top: 60px;
}
#mainnav a {
  color: #000;
}
#mainImg {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 528px;
}
#mainImg img {
  position: absolute;
  left: 50%;
  max-width: 1280px;
  /*width: 1280px;
  /*height: 528px;*/
  margin-left: -640px;
}
.pc {
  display: block !important;
}
.sp {
  display: none !important;
}
@media only screen and (max-width: 750px) {
  .pc {
    display: none !important;
  }
  .sp {
    display: block !important;
  }
  #mainImg {
    position: relative;
    overflow: hidden;
    width: 100%;
  }
  #mainImg img {
    position: absolute;
    left: 50%;
    max-width: 750px;
    /* top: -20%;
    width: 1000px;
    height: 695px;*/
    margin-left: -375px;
  }
}

/* スライダー
------------------------------------------------------------*/
/* slider
------------------------------------------------------------*/
.slider {
  overflow: hidden;
}
.slides {
  display: flex;
  transition: transform 0.6s ease;
}
.slides img {
  flex-shrink: 0;
}

/* img_round 
------------------------------------------------------------*/
.w700 {
  max-width: 700px;
  width: 100%;
  margin: 0 auto;
border-radius: 10px;
  border: 10% solid #FFFFFF;
}

.img_round {
  border-radius: 10px;
  border: 10% solid #FFFFFF;
  width: 100%;
}

@media screen and (max-width:758px) {
  .w700 {
    padding: 0 2.5%;
  }
}



/* フッター
------------------------------------------------------------*/
#footer {
  clear: both;
  padding: 50px 10px 50px 0;
  text-align: center;
  font-size: 12px;
}
/* 共通
------------------------------------------------------------*/
img {
  max-width: 100%;
  height: auto;
}
section {
  clear: both;
  padding-top: 70px;
}
section h1 {
  /*font-family: 'Pacifico', cursive;*/
  width: 60%;
  margin: 0 auto 20px;
  font-size: 28px;
  font-weight: normal;
  text-align: center;
  background: url(../images/borderBlack.png) repeat-x 0 50%;
  background-size: 1px 1px;
}
section h1 span {
  background: #fff;
  padding: 0 80px;
}
section h2 {
  /*font-family: 'Pacifico', cursive;*/
  font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
  width: 80%;
  margin: 0 auto 0px;
  padding: 10px;
  font-size: 36px;
  font-weight: normal;
  text-align: center;
  /*background: url(../images/borderBlack.png) repeat-x 0 50%;
  background-size: 1px 1px;*/
}
section h2 span {
  background: #fff;
}
h3 {
  /*font-family: 'Pacifico', cursive;*/
  font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
  width: 80%;
  margin: 0 auto 0px;
  padding: 10px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
}
h3:after {
  display: block;
  margin: 5px auto 0px;
  /*width: 180px;*/
  height: 2px;
  background: rgba(0, 0, 0, .3);
  background-size: 16px 30px;
  content: '';
  vertical-align: top;
}
.inner {
  
  margin: 0 auto;
 
}
.innerS {
  width: 60%;
  max-width: 700px;
  margin: 0 auto;
  padding: 30px 0 50px;
}
/* お買い物かごボタン
------------------------------------------------------------*/
.okaimono {
  color: #fff;
  background-color: #bf0000;
  font-weight: bold;
  text-align: center;
  border-radius: 10px;
  width: 60%;
  box-shadow: 0 4px 5px rgba(0, 0, 0, .4);
  padding: 10px;
  margin: 0 auto;
}
.okaimono_2 {
  color: #fff;
  background-color: #a9a9a9;
  font-weight: bold;
  text-align: center;
  border-radius: 10px;
  width: 60%;
  box-shadow: 0 4px 5px rgba(0, 0, 0, .4);
  padding: 10px;
  margin: 0 auto;
}
/* SEC02 Gallery
------------------------------------------------------------*/
#sec02 {
  padding: 0 !important;
  margin-bottom: 50px;
}
#sec02 header {
  display: none;
}
#gallery li {
  float: left;
  width: calc(100%/3);
  line-height: 0;
}
#gallery img {
  width: 100%;
  height: auto;
}
/* SEC02 トップコピー
------------------------------------------------------------*/
.top_title {
  /*font-family: 'Pacifico', cursive;*/
  font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
  width: 50%;
  margin: 20px auto 20px;
  font-size: 40px;
  font-weight: bold;
  text-align: center;
  /*background: linear-gradient(transparent 60%, #FCEE21 60%);*/
}
.sub_title {
  /*font-family: 'Pacifico', cursive;*/
  width: 60%;
  margin: 0px auto 20px;
  font-size: 18px;
  font-weight: nomal;
  text-align: center;
}


/* SEC03 コース案内
------------------------------------------------------------*/
#sec03 img {
  width: 100%;
  margin-bottom: 30px;
}
/* SEC12 ご遺骨の郵送
------------------------------------------------------------*/
#sec12 img {
  width: 100%;
  margin-bottom: 30px;
}
/* 納品までの流れ
------------------------------------------------------------*/
h5 {
  position: relative;
  padding: 1.5rem 2rem;
  font-size: 24px;
  font-weight: bold;
  color: #fff;
  border-radius: 10px;
  background: #171C61;
}
h5:after {
  position: absolute;
  bottom: -9px;
  left: 1em;
  width: 0;
  height: 0;
  content: '';
  border-width: 10px 10px 0 10px;
  border-style: solid;
  border-color: #171C61 transparent transparent transparent;
}
/* SEC04 BRAND
------------------------------------------------------------*/
.col3 {
  overflow: hidden;
  padding-left: 0px;
}
.col3 img {
  display: block;
  margin: 0 auto 5px;
}
.col3 li {
  line-height: 2.0;
}
.col3 .img {
  /* padding: 80px 50px;
  margin-bottom: 40px;*/
  line-height: 0 !important;
  background: #fff;
}
#sec04_02 {
  background: url(../images/bgimg.jpg) no-repeat 100% 100% fixed;
  background-size: cover;
  -webkit-background-size: cover;
  text-align: center;
  padding: 220px 20px;
}
#sec04_02 img {
  width: auto;
}

/* ALL LINEUP
------------------------------------------------------------*/
.col4 {
  overflow: hidden;

 
}
.col4 img {
  display: block;
  margin: 0 auto 5px;
}
.col4 li {
  line-height: 2.0;
	
}
.col4 .img {
  /* padding: 80px 50px;
  margin-bottom: 40px;*/
  line-height: 0 !important;
  background: #fff;
}

/* SEC05 COMPANY
------------------------------------------------------------*/
#sec05 p {
  margin-bottom: 5px;
}
.col2 li {
  display: inline-block;
  width: 100%;
  margin: 20px 0;
}
#sns img {
  padding: 35px 10px 5px 0;
}
#sns a:hover img {
  opacity: .8;
}
#map {
  position: relative;
  padding-bottom: 75%;
  height: 0;
  overflow: hidden;
  z-index: 0;
}
#map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  border: 0;
}
/* img_round 
------------------------------------------------------------*/
.w700 {
  width: 700px;
  margin: 0 auto 0;
}
.img_round {
  border-radius: 10px;
  border: 10% solid #FFFFFF;
  width: 100%;
}
@media screen and (max-width:758px) {
  .w700 {
    width: 95%;
    display: block;
    margin: 0 auto 5px;
  }
}
/* box2 
------------------------------------------------------------*/
.box2 {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.box2_left {
  width: 220px;
  padding-top: 15px;
  padding-right: 15px;
  padding-bottom: 15px;
  padding-left: 15px;
}
.box2_right {
  width: 220px;
  padding-top: 15px;
  padding-right: 15px;
  padding-bottom: 15px;
  padding-left: 15px;
}
.img_circle {
  overflow: hidden;
  /*margin-bottom: 15px;*/
  border-radius: 100%;
  width: 200px;
  height: 200px;
}
.img_circle img {
  width: 100%;
}
.img_round {
  border-radius: 10px;
  border: 10% solid #FFFFFF;
}
/* 目次 設定
------------------------------------------------------------*/
#mokuji ul {
  background: #F7F7F7;
  padding: 0 0.5em;
  position: relative;
}
#mokuji ul li {
  line-height: 1.5;
  padding: 0.5em 0 0.5em 1.5em;
  border-bottom: 2px solid white;
  list-style-type: none !important;
}
#mokuji ul li:last-of-type {
  border-bottom: none; /*最後の線だけ消す*/
}
#mokuji p {
  font-size: 20px;
}
#mokuji a:hover, .active {
  text-decoration: underline;
}
#mokuji a {
  color: #000;
}
/* RESPONSIVE 設定
------------------------------------------------------------*/
@media only screen and (min-width: 1200px) {
  .inner {
    width: 1024px;
  }
  .innerS {
    width: 60%;
  }
}
@media only screen and (min-width: 800px) {
  body {
    font-size: 14px;
  }
  a#menu {
    display: none;
  }
  .panel {
    display: block !important;
  }
  #mainnav li {
    display: inline-block;
    padding: 50px 25px;
    font-size: 15px;
  }
  /* SEC03 PROJECT
	-----------------*/
  .col3 {
    text-align: center;
    overflow: hidden;
  }
  .col3 li {
    display: inline-block;
    width: 33%;
    padding: 0 2.5% 50px;
    margin-bottom: 0;
    vertical-align: top;
    text-align: left;
  }
  /* ALL LINEUP
	-----------------*/
  .col4 {
    text-align: center;
    overflow: hidden;
  }
  .col4 li {
    display: inline-block;
    width: 25%;
    padding: 0 2.5% 50px;
    margin-bottom: 0;
    vertical-align: top;
    text-align: left;
  }	
	
  #footer {
    padding: 30px 10px 70px 0;
  }
}
@media only screen and (min-width: 641px) {
  .col2 li {
    width: 60%;
    vertical-align: top;
    padding-left: 0px;
  }
  .col2 li:first-child {
    width: 35%;
    padding-right: 4%;
    padding-left: 0px;
  }
}
@media only screen and (max-width: 640px) {
  .innerS {
    width: 90%;
    padding-bottom: 70px;
  }
  .col3 li {
    line-height: 1.7;
	  padding-bottom: 70px;
	  width: 80%;
  }
  .col3 img {
    margin: 0 auto 20px;
	
  }

  .col3 .img {
    /* padding: 30px;
    margin-bottom: 20px; */
  }
 .col4 {
    text-align: center;
    overflow: hidden;
	
  }
	  .col4 li {
		  float: left;
    display: inline-block;
    width: 25%;
    padding: 0 2.5% 20px;
    margin-bottom: 0;
    vertical-align: top;
    text-align: left;
  }	
	
 .col4 img {
    margin: 0 auto 10px;
	  
  }
 .col4 h3 {	
	font-size: 10px;
	}
  .col4 .img {
    /* padding: 30px;
    margin-bottom: 20px; */
  }
 
  #gallery li {
    float: none;
    width: 100%;
  }
  #map iframe {
    width: 96% !important;
    left: 2%;
  }
  #sec04_02 {
    padding: 50px 20px;
  }
.top_title {
  /*font-family: 'Pacifico', cursive;*/
  font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
  width: 90%;
  margin: 20px auto 20px;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  /*background: linear-gradient(transparent 60%, #FCEE21 60%);*/
}
.sub_title {
  /*font-family: 'Pacifico', cursive;*/
  width: 80%;
  margin: 0px auto 20px;
  font-size: 14px;
  font-weight: nomal;
  text-align: center;
}
#sec04_02 {
  background: url(../images/bgimg_sp.jpg) no-repeat 100% 100% fixed;
  background-size: cover;
  -webkit-background-size: cover;
  text-align: center;
  padding: 220px 20px;
}
#sec04_02 img {
  width: auto;
}
}
@media only screen and (max-width: 799px) {
  #header {
    position: fixed;
    width: 100%;
    z-index: 500;
	   top: -20px;
	 
  }
  #headerWrap {
    position: relative;
    width: 100%;
    height: 70px;
    background: #fff;
    border-bottom: 1px solid #ccc;
  }
  #header h1 {
    padding-top: 10px;
  }
  #header h1 img {
    margin-top: 3px;
    max-height: 45px;
    width: auto !important;
  }
  a#menu {
    display: inline-block;
    position: relative;
    width: 40px;
    height: 40px;
    margin: 10px;
  }
  #menuBtn {
    display: block;
    position: absolute;
    top: 60%;
    left: 50%;
    width: 18px;
    height: 2px;
    margin: -1px 0 0 -7px;
    background: #000;
    transition: .2s;
  }
  #menuBtn:before, #menuBtn:after {
    display: block;
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 18px;
    height: 2px;
    background: #000;
    transition: .3s;
  }
  #menuBtn:before {
    margin-top: -7px;
  }
  #menuBtn:after {
    margin-top: 5px;
  }
  a#menu .close {
    background: transparent;
  }
  a#menu .close:before, a#menu .close:after {
    margin-top: 0;
  }
  a#menu .close:before {
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
  }
  a#menu .close:after {
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
  }
	
	#menuWrap {
		margin-top: 0;
		
	}	
  .panel {
    width: 100%;
    display: none;
    overflow: hidden;
    position: relative;
    left: 0;
    top: -30px;
    z-index: 100;
  }
  #mainnav {
    position: absolute;
    top: 0;
    width: 100%;
    text-align: right;
    z-index: 500;
  }
  #mainnav ul {
    border-bottom: 1px solid #ccc;
    background: #fff;
    text-align: left;
  }
  #mainnav li a {
    position: relative;
    display: block;
    padding: 15px 25px;
    border-bottom: 1px solid #ccc;
    color: #000;
    font-weight: 400;
  }
  #mainnav li a:before {
    display: block;
    content: "";
    position: absolute;
    top: 50%;
    left: 5px;
    width: 6px;
    height: 6px;
    margin: -4px 0 0 0;
    border-top: solid 2px #000;
    border-right: solid 2px #000;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
  }
  #mainImg {
    padding-top: 60px;
    z-index: -100;
  }
  .col3 li {
    margin: 10px auto 0px auto;
    display: block;
  }
	
	  .col4 li {
    margin: 10px auto 0px auto;
    display: block;
  }
  section {
    padding-top: 30px;
  }
  section h2 {
    margin: 0 auto 0px;
  }
  section h2 span {
    padding: 0 0px;
  }
  section h1 span {
    background: #fff;
    padding: 0 30px;
  }
  section h1 {
    width: 80%;
    font-size: 22px;
  }
  section h2 {
    font-size: 20px;
  }
  h3 {
    font-size: 18px;
    margin: 0 auto 10px;
  }
  .box2_left {
    width: 45%;
    padding-top: 15px;
    padding-right: 15px;
    padding-bottom: 15px;
    padding-left: 15px;
  }
  .box2_right {
    width: 45%;
    padding-top: 15px;
    padding-right: 15px;
    padding-bottom: 15px;
    padding-left: 15px;
  }
  .img_circle {
    overflow: hidden;
    /*margin-bottom: 15px;*/
    border-radius: 0%;
    width: 100%;
    height: 100%;
  }
}
/* TABLE 設定
------------------------------------------------------------*/
table {
  border-collapse: collapse;
  margin: 0 auto;
  padding: 0;
  width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 50px;
  /*box-shadow: 0 0 15px -6px #00000073;*/
}
table tr {
  background-color: #fff;
}
table th, table td {
  padding: 20px 0;
  border-bottom: 1px solid #eee;
  text-align: center;
}
table th {
  width: 20%;
  padding: 15px;
  font-size: 14px;
  background-color: #171C61;
  color: #fff;
}
table tr {
  text-align: center;
  width: 20%;
  padding: 20px 0;
  background-color: #fff;
  color: #000;
}
table tr .menu {
  background-color: #FFE33F;
}
table tr .gray {
  background-color: #F7F7F7;
}
/* box1 設定
------------------------------------------------------------*/
.box1 {
  margin: 0 auto;
  width: 700px;
}
.box1_left img {
  max-width: none;
  width: 100%;
}
@media only screen and (max-width: 799px) {
  table {
    border-collapse: collapse;
    margin: 0 auto;
    padding: 0;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 50px;
    /*box-shadow: 0 0 15px -6px #00000073;*/
  }
  .box1 {
    margin: 0 auto 50px;
    width: 100%;
  }
  .box1_left {
    width: 90%;
    margin: 0 auto;
  }
  .box1_right {
    width: 90%;
    margin: 10 auto 0;
    text-align: left;
    padding-left: 20px;
  }
}
@media print, screen and (min-width:758px) {
  .box1 {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: flex-start;
  }
  .box1_left {
    flex-basis: 45%;
    margin: 0;
    padding: 0 0 0 10px;
  }
  .box1_right {
    flex-basis: 45%;
    margin: 10 0 0;
    padding: 0 10px 0 0;
    text-align: left;
  }
}
/* ギャラリー
------------------------------------------------------------*/
.gallery-wrap {
  max-width: 1110px;
  margin: 0 auto;
  padding: 0 16px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 120px;
  gap: 12px;
}

/* 共通 */
.item {
  overflow: hidden;
  border-radius: 12px;
}

.item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 積み木パーツ */
.item.big {
  grid-column: span 6;
  grid-row: span 4;
}

.item.medium {
  grid-column: span 4;
  grid-row: span 2;
}

.item.small {
  grid-column: span 3;
  grid-row: span 2;
}

.item.wide {
  grid-column: span 8;
  grid-row: span 2;
}

/* SP：完全に整理 */
@media (max-width: 600px) {
  .gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .item {
    grid-column: auto;
    grid-row: auto;
  }

  .item img {
    aspect-ratio: 4 / 3;
  }
}


/* よくある質問
------------------------------------------------------------*/
.box3 {
  width: 800px;
  margin: 0 auto 0;
}
.cp_qa *, .cp_qa *:after, .cp_qa *:before {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.cp_qa {
  overflow-x: hidden;
  margin: 0 auto;
  color: #333333;
}
.cp_qa .cp_actab {
  padding: 20px 0;
  border-bottom: 1px dotted #cccccc;
}
.cp_qa label {
  font-size: 1.2em;
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 10px 10px 0 48px;
  cursor: pointer;
}
.cp_qa .cp_actab-content {
  font-size: 1em;
  position: relative;
  overflow: hidden;
  height: 0;
  margin: 0 40px;
  padding: 0 14px;
  -webkit-transition: 0.4s ease;
  transition: 0.4s ease;
  opacity: 0;
}
.cp_qa .cp_actab input[type=checkbox]:checked ~ .cp_actab-content {
  height: auto;
  padding: 14px;
  opacity: 1;
}
.cp_qa .cp_plus {
  font-size: 2.4em;
  line-height: 100%;
  position: absolute;
  z-index: 5;
  margin: 3px 0 0 10px;
  -webkit-transition: 0.2s ease;
  transition: 0.2s ease;
}
.cp_qa .cp_actab input[type=checkbox]:checked ~ .cp_plus {
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}
.cp_qa .cp_actab input[type=checkbox] {
  display: none;
}
@media only screen and (max-width: 799px) {
  .box3 {
    width: 90%;
    margin: 0 auto 0;
  }
}
#footer {
  background-color: #171C61;
  padding: 50px 0 70px 0;
  color: white;
}