/*!
Theme Name: Ceremore
Author: Ceremore
Theme URI: http://b2.ceremore.jp
Description: お仏壇のセレモアのオリジナルテーマです。
Version: 1.0.0
*/

:root {
  --ceremore-green: #004738;
  --ceremore-lightgreen: #009157;
}

html {
  scroll-padding-top: 500px;
}

.ancOffset {
  /*
	margin-top:-160px;
	padding-top:160px;
*/
}

/*--------------------------------------------------------------
# 汎用
--------------------------------------------------------------*/
.valign-middle {
  vertical-align: middle;
}
.btn-hover {
  background-color: #ffffff;
}

ol.numbering {
  margin-left: 1rem;
}

ol.numbering li {
  list-style: decimal;
}

.emph {
  font-size: 110%;
  font-weight: 700;
}

.wrapper {
}

.tt-jp-en-h {
  margin-bottom: 30px;
}

.btn{
  border-width: 2px;
}

.btn-cere {
  background: #89660f;
  color: #fff !important;
  padding: 0.25rem 2.5rem;
}

img.cat_img {
  border: 1px #ac8c45 solid;
}

img.home_cat {
  border: 1px #ac8c45 solid;
}

img.noborder,
img.home_cat.noborder,
img.cat_img.noborder {
  border: none;
}

.text-catch {
  font-size: 95%;
}

.page-wrap {
  margin-bottom: 2rem;
}

@media (max-width: 767.98px) {
  .page-head-box h2 {
    font-size: 24px;
    margin-bottom: 0.25rem;
  }
  .page-wrap h2 {
    font-size: 1.6rem;
  }
  .wrapper {
  }
  .footer-copyright {
    padding-bottom: 90px;
  }
  main {
    /*		padding-top: 97px; */
    padding-top: 100px;
  }
}

/*--------------------------------------------------------------
# 汎用flex
--------------------------------------------------------------*/

.flex3 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.flex3 .item {
  width: calc(33% - 5px);
  margin-right: 5px;
}

/*--------------------------------------------------------------
# ヘッダ
--------------------------------------------------------------*/

/*@media all and (min-width:768px)*/

.header-head .logo {
  width: 16.3rem;
  display: inline-block;
}

@media (max-width: 767.98px) {
  .header-head .logo02 {
    width: 20%;
  }
  .header-head .logo02-center {
    width: 80%;
  }
}

@media (max-width: 1280px) {
  .header-foot-nav .nav-link {
    padding: 1.38em 1.2em;
    line-height: 1;
  }
}

/*--------------------------------------------------------------
# TOP
--------------------------------------------------------------*/

.main-slider-text {
  height: calc(100% - 50px);
}

.main-slider-item a {
  position: relative;
  left: 0;
  top: 0;
  display: inline;
}

.item-list-4 + .btn-arw {
  margin-top: 20px;
}

@media (min-width: 768px) {
  .js-col3-slider {
    margin-top: 20px;
  }
}

@media (max-width: 767.98px) {
  .main-slider-text {
    height: calc(100% + 35px);
  }
  .main-slider-item a {
    height: 100%;
  }
}

/* 店舗一覧
========================================================================== */

.shop-img-cover {
  object-fit: cover !important;
  height: 233px !important;
  width: 100% !important;
}

@media (max-width: 767.98px) {
  .sub-h-top {
    font-size: 1.8rem;
  }
  .top-logo {
    width: 100%;
    max-width: 100%;
    display: block;
    text-align: center;
  }
  .top-logo img {
    width: 90%;
    margin: 0 auto;
  }
}

/*--------------------------------------------------------------
# 店舗詳細
--------------------------------------------------------------*/

@media (min-width: 767.99px) {
  .shop-point-list {
    margin-bottom: 50px;
  }
  .shop-movoie-list {
    margin-top: 50px;
  }
  .shop-detail-box {
    margin-bottom: 50px;
  }
}

@media (max-width: 767.98px) {
  .shop-movoie-list {
    margin-top: 30px;
  }
  .shop-detail-box {
    margin-bottom: 20px;
  }
  .shop-detail .shop-tt {
    font-size: 1.3rem;
  }
}

/*--------------------------------------------------------------
# お葬儀後のサポート
--------------------------------------------------------------*/

ul li.item div {
  background-color: #fff8dc;
  border: 3px #deb887 solid;
  border-radius: 8px;
  display: table;
  width: 100%;
  margin: 0.25rem;
}

ul li.item div span {
  height: 5rem;
  display: table-cell;
  vertical-align: middle;
  text-align: center;
  padding: 0.25rem;
}

/*--------------------------------------------------------------
# お客様の声
--------------------------------------------------------------*/

#voiceList {
  display: flex;
  flex-wrap: wrap;
  justify-content: start;
}

#voiceList .item {
  width: 50%;
}

#voiceList .item .inner {
  margin: 5px;
  padding: 20px;
  border-radius: 8px;
  background-image: url(img/bk_washi.png);
}

#voiceList .item .inner .articlebody {
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 8px;
}

#voiceList .item .inner .profile span {
  border-bottom: 1px var(--ceremore-green) dashed;
}

#voiceList .item .inner h5 {
  border-bottom: 5px var(--ceremore-green) dotted;
  font-weight: 700;
}

@media (max-width: 767.98px) {
  #voiceList .item {
    width: 100%;
  }
}

/*--------------------------------------------------------------
# 商品トップ
--------------------------------------------------------------*/

@media (max-width: 767.98px) {
  .products-top-img-cover {
    object-fit: cover !important;
    /*        height: 210px !important; */
  }
}

/*--------------------------------------------------------------
# 商品一覧
--------------------------------------------------------------*/
.catIcon {
  width: 2rem;
  height: auto;
  vertical-align: middle;
}

.item-list ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: start;
}

.item-list ul li {
  width: 200px;
  margin-right: 40px;
  padding: 10px 5px;
  border: 1px #d0e0d3 solid;
}

.item-list ul.noborder li {
  border: none;
}

.item-list ul li:nth-child(n + 4) {
  order: 1;
}

.item-list.item-d-list .price {
  margin-top: 0.25rem;
  font-size: 90%;
}

.item-list.item-d-list .price {
  text-align: center;
}

@media (max-width: 767.98px) {
  .products-img-cover {
    /*
        object-fit: cover !important;
        */
    object-fit: contain;
    height: 160px !important;
    width: 160px !important;
  }
  .list-select .row {
    display: inline;
  }
  .list-select ul li:first-child {
    border-top: 1px solid #707070;
  }
  .list-select ul a {
    padding: 0.75rem 1rem;
    display: block;
    width: 100%;
    border: none;
    border-bottom: 1px solid #707070;
  }
  .list-select ul li {
    margin: 0;
  }
  .page-wrap nav + h2 {
    margin-bottom: 1.875rem;
  }
  .item-list.line-up-item-list .row li img {
    width: 74px;
    height: auto;
    margin-bottom: 0;
  }
  .item-list ul {
    margin-right: -20px;
  }
  .item-list ul li {
    width: calc(50% - 10px);
    margin-right: 10px;
  }
  .item-list li img {
    width: 100%;
    height: auto;
  }
  .tab-list ul {
    width: calc((118px * 7 + 0.475rem * 7));
  }
}

@media (min-width: 768px) {
  .products-img-cover {
    /*
        object-fit: cover !important;
        height: 200px !important;
        width: 200px !important;
         */
    object-fit: contain;
    /*
 height: 170px !important;
        width: 170px !important;
*/
  }
}

/*--------------------------------------------------------------
# 商品詳細
--------------------------------------------------------------*/

.slick-slide img {
  margin: auto;
}

.breadcrumb {
  background-color: transparent !important;
}

/*--------------------------------------------------------------
# news一覧
--------------------------------------------------------------*/

.info-list .info-img {
  text-align: center;
}

.info-list .info-img img {
  width: auto;
  height: 80px;
}

.shop-info-block .info-box02 .info-head {
  display: block;
}

.shop-info-list {
  justify-content: center;
}

@media (max-width: 767.98px) {
  .news-img-cover {
    object-fit: cover !important;
    height: 94px !important;
  }
}

@media (min-width: 768px) {
  .news-img-cover {
    object-fit: cover !important;
    height: 173px !important;
  }
}

@media (max-width: 767.98px) {
  .cnt-section {
    padding: 20px 0;
  }
  .shop-info-block {
    padding-bottom: 30px;
  }
}

@media (min-width: 768px) {
  .cnt-section {
    padding: 20px 0;
  }
  .shop-info-block {
    padding-bottom: 60px;
  }
}

/*--------------------------------------------------------------
# 国宝
--------------------------------------------------------------*/

@media (max-width: 767.98px) {
  .kokuho-img-cover {
    object-fit: cover !important;
    height: 238px !important;
  }
}

@media (min-width: 768px) {
  .kokuho-img-cover {
    object-fit: cover !important;
    height: 472px !important;
  }
}

/*--------------------------------------------------------------
# 店舗一覧
--------------------------------------------------------------*/

.shop-list-box {
  margin-top: 0px;
  height: 100%;
}

/*--------------------------------------------------------------
# 店舗詳細
--------------------------------------------------------------*/

@media (min-width: 768px) {
  .shop-point-list .shop-point-box .inbox {
    height: 100% !important;
  }
}

/*--------------------------------------------------------------
# お知らせ一覧
--------------------------------------------------------------*/

.paginate > .page-numbers {
  background: #89660f;
  color: #fff;
  padding: 0.6rem 0.9rem;
}

.paginate > .current {
  border: 1px solid #dddddd;
  background: #fff;
  color: #89660f;
}

/********************************************************************
7つの理由
********************************************************************/

.seven-title {
  font-size: 1.5rem;
}

.seven-count {
  font-style: italic;
}

@media (max-width: 767.98px) {
  .flex-re li:nth-child(even) .txt {
    padding-left: 0px;
  }
  .seven-colom,
  .seven-colom-left {
    width: 95%;
  }
  .seven-title {
    font-size: 1.3rem;
  }
  .seven-count {
    font-size: 3rem !important;
  }
}

/********************************************************************
仏壇リメイク
********************************************************************/

section.butsudan_remake {
  font-size: 1.3rem;
}

@media (max-width: 767.98px) {
  section.butsudan_remake {
    font-size: 1rem;
  }
}

/*--------------------------------------------------------------
# フッター
--------------------------------------------------------------*/

@media (max-width: 767.98px) {
  .footer-foot-nav dt {
    margin-top: 0;
    padding-bottom: 0;
  }
  .footer-shop-list {
    font-size: 1rem;
    background-color: #f0f0f0;
  }
  .footer-shop-list li {
    height: inherit;
    border-bottom: 1px solid #707070;
  }
  .footer-shop-list li a {
    display: block;
    padding: 8px 0;
    text-align: left;
  }
  .footer-btn-fukidashi {
    position: relative;
    right: 0;
    top: -58px;
    z-index: 5;
  }
  .footer-btn-fukidashi .inner {
    width: 45%;
    margin: 0 5px 0 auto;
    background-image: url(./img/fukidashi6.svg);
    background-position: 10% 0;
    background-repeat: no-repeat;
    background-size: 100% auto;
    height: 16vw;
  }
  .footer-btn-fukidashi .inner .txt {
    position: relative;
    top: 12px;
    /*		right: 8px; */
    color: #ffffff;
    display: block;
    font-size: 4vw;
  }
  /* モーダル */
  .modal {
    display: none;
    position: fixed;
    top: 0;
    width: 100%;
  }
  .modal__bg {
    background: rgba(0, 0, 0, 0.8);
    height: 100vh;
    position: absolute;
    width: 100%;
  }
  .modal__content {
    position: absolute;
    background: #fff;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 96%;
  }
  ul.modal-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 5px;
  }
  ul.modal-menu li {
    width: calc(32vw - 5px);
    height: calc(32vw - 5px);
    position: relative;
    border: 1px #f0f0f0 solid;
    border-radius: 5px;
    margin-bottom: 1vw;
    text-align: center;
    background-color: #009157;
  }
  ul.modal-menu li a {
    display: block;
    height: 100%;
    width: 100%;
    vertical-align: middle;
    display: relative;
    color: #ffffff;
  }
  ul.modal-menu li a span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    font-size: 3.5vw;
  }
}

@media (max-width: 399.99px) {
  .footer-btn-fukidashi {
    bottom: 10%;
  }
}

@media (max-width: 399.99px) {
  .footer-foot-nav li {
    padding: 0;
  }
  .footer-foot-nav a {
    padding: 1.1rem 0;
    display: block;
  }
}

/*--------------------------------------------------------------
# フローティングメニュー
--------------------------------------------------------------*/

/* floating ////////////////////////////// */

.p-floating-area {
  position: fixed;
  width: 100%;
  background: rgba(1, 43, 23, 0.8);
  left: 0;
  bottom: 0;
  padding: 15px 0;
  z-index: 10;
  -webkit-box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.15);
  box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.15);
}

.p-floating-area__inner {
  z-index: 15;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.p-floating-area__inner ul.p-floating-area__text {
  float: left;
  width: 60%;
  text-align: left;
  margin: 0;
  padding: 0;
  list-style: none;
}

.p-floating-area__inner ul.p-floating-area__text li {
  display: inline-block;
  width: auto;
  padding: 0 2%;
  margin-bottom: 10px;
}

.p-floating-area__inner ul.p-floating-area__text li a {
  color: #fff;
  text-decoration: none;
  font-size: 0.96em;
}

.p-floating-area__inner ul.p-floating-area__bnr {
  float: right;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  text-align: left;
  margin: 0;
  padding: 0;
  list-style: none;
}

/*body#contracted .p-floating-area__inner ul.p-floating-area__bnr li { display: inline-block; width: 48%; padding: 0 2%;}*/

.p-floating-area__inner ul.p-floating-area__bnr li {
  display: inline-block;
  margin-right: 5px;
}

@media (max-width: 767.98px) {
  .p-floating-area {
    background: var(--ceremore-green);
    padding: 0.6em 0;
    z-index: 15;
    max-height: 90px;
  }
  .p-floating-area__inner ul li.btn-footerbtn {
    background-color: var(--ceremore-green);
    margin: 0 3px;
    border-radius: 8px;
    text-align: center;
    color: #fff;
    background: -webkit-gradient(
      linear,
      left top,
      left bottom,
      from(#2cb074),
      to(#0e9e69)
    );
    background: linear-gradient(180deg, #2cb074, #0e9e69);
    -webkit-box-shadow: inset 1px 1px 2px hsla(0, 0%, 100%, 0.53),
      inset -1px -1px 2px rgba(0, 0, 0, 0.35);
    box-shadow: inset 1px 1px 2px hsla(0, 0%, 100%, 0.53),
      inset -1px -1px 2px rgba(0, 0, 0, 0.35);
  }
  .p-floating-area__inner ul li.btn-footerbtn a {
    letter-spacing: 1px;
    color: #ffffff;
    font-weight: 700;
    padding: 1vh 0;
    text-decoration: none;
  }
  .p-floating-area__inner ul li.btn-footerbtn a span {
    display: block;
  }
  .p-floating-area__inner ul li.btn-footerbtn a span.line-1 {
    font-size: 4.5vw;
    font-weight: 400;
  }
  .p-floating-area__inner ul li.btn-footerbtn a span.line-1 i {
    font-size: 130%;
  }
  .p-floating-area__inner ul li.btn-footerbtn a span.line-2 {
    font-size: 3.5vw;
    font-weight: 400;
  }
  .p-floating-area__inner ul li.btn-footerbtn.ptn1 {
    /* ORANGE */
    /*
		text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
		background: rgb(255,248,215);
		background: linear-gradient(180deg, rgb(255, 222, 173) 0%, rgb(255, 160, 62) 50%, rgb(251, 162, 51) 100%);
*/
    background: #e47a0c;
  }
  .p-floating-area__inner ul li.btn-footerbtn.ptn2 {
    /* GREEN */
    /*
		background: rgb(104,218,119);
		background: linear-gradient(180deg, rgba(104,218,119,1) 0%, rgba(18,113,37,1) 50%, rgba(31,122,34,1) 100%);
*/
    background: #309642;
  }
  .p-floating-area__inner ul li.btn-footerbtn.ptn3 {
    /* GRAY */
    /*
		background: rgb(209,209,209);
		background: linear-gradient(180deg, rgb(236, 235, 235) 0%, rgb(199, 199, 199) 50%, rgb(177, 177, 177) 100%);
		*/
    background: #e0e0e0;
  }
  .p-floating-area__inner ul li.btn-footerbtn.ptn1 a {
    color: #ffffff;
  }
  .p-floating-area__inner ul li.btn-footerbtn.ptn2 a {
    color: #ffffff;
  }
  .p-floating-area__inner ul li.btn-footerbtn.ptn3 a {
    color: #001975;
  }
}

/*--------------------------------------------------------------
# 仏壇の選び方ー
--------------------------------------------------------------*/

ol.btn-wide {
}

ol.btn-wide li a {
  display: block;
}

div.select_color {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

@media (min-width: 768px) {
  div.select_color span {
    margin: 20px 10px;
    text-align: center;
  }
  div.select_color span img {
    max-height: 250px;
  }
}

@media (max-width: 767.99px) {
  div.select_color span {
    margin: 20px 10px;
    text-align: center;
    flex-basis: calc(50% - 20px);
  }
  div.select_color span img {
  }
}

/*--------------------------------------------------------------
# ギャラリー
--------------------------------------------------------------*/

.gallery {
  /** ギャラリーを囲むボックス **/
  width: 100%;
  margin-bottom: 20px !important;
  overflow: hidden;
}

.gallery br {
  display: none;
}

/** 自動で挿入される clearfix の余白解除 **/

.gallery-item {
  /** 画像共通のスタイル **/
  float: left;
  margin-bottom: 0 !important;
}

.gallery-icon {
  /** 画像を囲む dt のスタイル **/
  text-align: center;
}

.gallery-icon img {
  width: 100%;
  height: auto;
  margin-bottom: 10px !important;
}

.gallery-caption {
  /** キャプション **/
  color: #222;
  font-size: 12px;
  margin: 0 0 10px;
  text-align: center;
}

.gallery-columns-1 .gallery-item {
  /** カラムなし **/
  width: 100%;
  margin-right: 0;
}

.gallery-columns-2 .gallery-item {
  /** 2カラム **/
  width: 48%;
  margin: 0 1%;
}

.gallery-columns-3 .gallery-item {
  /** 3カラム **/
  width: 31.33333%;
  margin: 0 1%;
}

.gallery-columns-4 .gallery-item {
  /** 4カラム **/
  width: 23%;
  margin: 0 1%;
}

.gallery-columns-5 .gallery-item {
  /** 5カラム **/
  width: 18%;
  margin: 0 1%;
}

@media screen and (max-width: 640px) {
  /* 640px以下用の記述 */
  .gallery-columns-3 .gallery-item,
  .gallery-columns-4 .gallery-item {
    width: 48%;
    margin: 0 1%;
  }
  .gallery-columns-5 .gallery-item {
    width: 31.33333%;
    margin: 0 1%;
  }
}
