@charset "utf-8";
/*
Theme Name: KUON2022
Author:Ant3
Description:お仏壇の久恩サイト
Version:1.0
*/

html {
  margin: 0;  /* 解決するため */
  padding: 0; /* 入れておくと無難 */
}

body{
    background:#f3f3f3 url(images/bg_washi.png);
    background-size:48px 48px;
    font-family: 'Noto Serif JP', serif;
    letter-spacing:0.1em;
	color: #333;
	font-size:1rem;
	line-height:1.85;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	-webkit-text-size-adjust: 100%; 
	word-wrap: break-word;
    margin-top: 0;margin-left: 0;margin-right: 0;margin-bottom: 0;
}

*{box-sizing: border-box;}

ul{
	margin:0;
	padding: 0;
	list-style: none;
}

a{
	color: #333;
	text-decoration: none;
    outline: none;
}

img{
    max-width: 100%;
    height: auto;
}

/* area */

#container{
    position: relative;
    overflow-x: hidden;
}

#header{
    position:fixed;
    top:0;
    left:0;
    width:230px;
    height: 100vh;
    background:#fdfdfd;
    padding: 150px 0 0 0;
}

#content-area{
    width:100%;
    padding:0 0 0 230px;
}


/* heading */
.heading-block{
    display: flex;
    justify-content: center;
}

#menu h2,
#access h2{
    -ms-writing-mode: tb-rl;
    -webkit-writing-mode: vertical-rl;
    writing-mode: horizontal-tb;  
    text-orientation: upright;
    letter-spacing:0.2em;
    font-size:2rem;
    margin:100px 0;
}

/* slider */

#slider-area{
    position: relative;
}

#slider-area .scrolldown1{
    top: inherit;
    bottom:0;
    z-index: 1;
}

/* header */

#header{
    display: flex;
    justify-content: center;
}


.header-area{
    width:73px;
    height: 230px;
}
#header h1{
    -ms-writing-mode: tb-rl;
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;    
    text-orientation: upright;
    font-size: 1rem;
    letter-spacing: 1em;
    line-height: 1.3;
    color:#3e2058;
    padding: 0 0 20px 0;
}


#header h1 span{
    letter-spacing: 0.5em;
    display: block;
    font-size: 2.5rem;
}

#header p{
    -ms-writing-mode: tb-rl;
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;    
    text-orientation: upright;
    letter-spacing: 0.3em;
}

#header .sns-link{
    position: absolute;
    left: 45px;
    bottom:50px;
}



/* title */

#title-img-area{
    position: relative;
    background:url(images/img_01.png);
    width: 100%;
    height:35vh;
}



/* sns */

.sns-link li{
    display:inline-block;
    margin:0 10px;
}

.sns-link li img{
    width:20px;   
}

/* g-navi pc*/

#main-nav{
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    align-items: center;
    
}

#g-nav ul{
    display: flex;
}

#g-nav ul li a{
    display: block;
    padding: 34px 10px;
    position: relative;
    transition:all 0.3s;
}

#g-nav ul li.current a::before,
#g-nav ul li a:hover::before{
    content: "";
    /*描画位置*/
	position: absolute;
	top: 0;
    left:50%;
    /*線の形状*/
	width: 1px;
	height: 20px;
	background: #000;
    /*線の動き1.4秒かけて動く。永遠にループ*/
	animation: gnavipathmove 2.4s ease-in-out infinite;
	opacity:0;
    color:#6a2e9e;
}


/*2階層目以降は横並びにしない*/
#g-nav ul ul{
	display: block;
}

/*下の階層のulや矢印の基点にするためliにrelativeを指定*/
#g-nav ul li{
	position: relative;
}

/*ナビゲーションのリンク設定*/
#g-nav ul li a{
	display: block;
	text-decoration: none;
	color: #999;
	padding:20px 35px;
	transition:all .3s;
}

#g-nav ul li li a{
	padding:10px 35px;
}

#g-nav ul li a:hover{
	color:#000;	
}

/*==矢印の設定*/

/*2階層目を持つliの矢印の設定 下向き矢印*/
/*#g-nav ul li.has-child::before{
	content:'';
	position: absolute;
	left:15px;
	top:25px;
	width:6px;
	height:6px;
	border-top: 2px solid #999;
    border-right:2px solid #999;
    transform: rotate(135deg);
}*/

/*3階層目を持つliの矢印の設定*/
/*#g-nav ul ul li.has-child::before{
	content:'';
	position: absolute;
	left:6px;
	top:17px;
	width:6px;
	height:6px;
    border-top: 2px solid #fff;
    border-right:2px solid #fff;
    transform: rotate(45deg);
}*/

/*== 2・3階層目の共通設定 */

/*下の階層を持っているulの指定*/
#g-nav li.has-child ul{
    /*絶対配置で位置を指定*/
	position: absolute;
	left:25px;
	top:62px;
	z-index: 4;
    /*形状を指定*/
	background:#cab454;
	width:180px;
    /*はじめは非表示*/
	visibility: hidden;
    opacity: 0;
    /*アニメーション設定*/
    transition: all .3s;
    text-align:center;
}

/*hoverしたら表示*/
#g-nav li.has-child:hover > ul,
#g-nav li.has-child ul li:hover > ul,
#g-nav li.has-child:active > ul,
#g-nav li.has-child ul li:active > ul{
    visibility: visible;
    opacity: 1;
}

/*ナビゲーションaタグの形状*/
#g-nav li.has-child ul li a{
	color: #fff;
    font-size:0.7em;
	border-bottom:solid 1px rgba(255,255,255,0.6);
    text-shadow: 1px 2px 3px #808080; 
}

#g-nav li.has-child ul li:last-child a{
	border-bottom:none;
}

#g-nav li.has-child ul li a:hover,
#g-nav li.has-child ul li a:active{
	background:#000;
}

/*==3階層目*/

/*3階層目の位置*/
/*#g-nav li.has-child ul ul{
	top:0;
	left:182px;
	background:#3e2058;
}

#g-nav li.has-child ul ul li a:hover,
#g-nav li.has-child ul ul li a:active{
	background:#000;
}*/


/*高さ・位置・透過が変化して線が上から下に動く*/
@keyframes gnavipathmove{
	0%{
		height:0;
		top:0;
		opacity: 0;
	}
	30%{
		height:20px;
		opacity: 1;
	}
	100%{
		height:0;
		top:30px;
		opacity: 0;
	}
}




#main-nav dl{
    background:#3e2058;
    color: #fff;
    padding: 20px 40px;
    margin: 0;
    text-align: center;
}

#main-nav dl dt{
    font-size: 0.8rem;   
}

#main-nav dl a{
    color:#fff;
    font-size: 1.5vw;
}

/* lead */

#lead{
    position: relative;
    display: flex;
    justify-content: center;
    height: 70vh;
    padding: 15vh 0 0 0;
}

#lead .lead-area{
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: wrap;
}


#lead .svganimeblock{
    width:50%;
    position: absolute;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
    z-index: -1;
}

#lead .lead-heading{
    width:100%;
}

#lead h2{
    text-align: center;
    font-size:2rem;
    letter-spacing: 0.1em;
    line-height: 2.2;
    padding: 0 0 0 0;
    -ms-writing-mode: tb-rl;
    -webkit-writing-mode: vertical-rl;
    writing-mode: horizontal-tb;    
}


#lead h3{
    font-size:2rem;
    letter-spacing: 0.1em;
    line-height: 2.2;
    padding: 0 0 0 0;
}

#lead .lead-desc{
    text-align: center;
    width:100%;
    display: flex;
    flex-direction: row-reverse;
    height: 10em;
}

#lead .lead-desc p{
    letter-spacing: 0.1em;
    margin: 0 0 0 0;
    line-height: 3;
    -ms-writing-mode: tb-rl;
    -webkit-writing-mode: vertical-rl;
    writing-mode: horizontal-tb;
}

#lead .btnarrow5{
    padding: 20px 15px 40px 15px; 
    -ms-writing-mode: tb-rl;
    -webkit-writing-mode: vertical-rl;
    writing-mode: horizontal-tb;
}

#lead .btnarrow5::before{
    top:90%;
    right:50%;
    width:1px;
    height: 40px;
}

#lead .btnarrow5::after{
    top: 105%;
    right:61%;
}

_:-ms-lang(x), #lead .btnarrow5::after{
    right:70%;
}
/* Flow */

#flow{
    position:relative;
    margin: 0 0 100px 0;
}
#flow .flow-bg{
    position: relative;
    background:url(images/flowbg_01.jpg) no-repeat center;
    background-size:cover;
    background-attachment:fixed;
    width:100%;
    height:50vh;
}

#flow section{
    display:flex;
    justify-content:space-between;
    flex-wrap:wrap;
}

#flow section:nth-of-type(2n){
    flex-direction:row-reverse;
}

#flow .menu-img{
    width:50%;
    height:40vh;
}

#flow .menu-img-detail{
    height:40vh;
}

#flow .menu-box{
    animation-delay:.5s;
}

#flow .menu-content{
    width:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    -ms-writing-mode: tb-rl;
    -webkit-writing-mode: vertical-rl;
    writing-mode: horizontal-tb;
    text-orientation: upright;
}

#flow section:nth-of-type(1) .menu-img-detail{
    background:url(images/flow_01.jpg) no-repeat center;
    background-size:cover;
}

#flow section:nth-of-type(2) .menu-img-detail{
    background:url(images/flow_02.jpg) no-repeat center;
    background-size:cover;
}

#flow section:nth-of-type(3) .menu-img-detail{
    background:url(images/flow_03.jpg) no-repeat center;
    background-size:cover;
}

#flow section:nth-of-type(4) .menu-img-detail{
    background:url(images/flow_04.jpg) no-repeat center;
    background-size:cover;
}

#flow section:nth-of-type(5) .menu-img-detail{
    background:url(images/flow_05.jpg) no-repeat center;
    background-size:cover;
}

#flow section:nth-of-type(6) .menu-img-detail{
    background:url(images/flow_06.jpg) no-repeat center;
    background-size:cover;
}
#flow section:nth-of-type(7) .menu-img-detail{
    background:url(images/flow_07.jpg) no-repeat center;
    background-size:cover;
}
#flow section:nth-of-type(8) .menu-img-detail{
    background:url(images/flow_08.jpg) no-repeat center;
    background-size:cover;
}

#flow .menu-content h3{
    font-size:1.8rem;
    margin:0 0 0 0;
}

#flow .menu-content p{
    line-height:1;
}

/* Flow 2 お墓 */

#flow2{
    position:relative;
    margin: 0 0 100px 0;
}
#flow2 .flow-bg2{
    position: relative;
    background:url(images/flowbg_02.jpg) no-repeat center;
    background-size:cover;
    background-attachment:fixed;
    width:100%;
    height:50vh;
}

#flow2 section{
    display:flex;
    justify-content:space-between;
    flex-wrap:wrap;
}

#flow2 section:nth-of-type(2n){
    flex-direction:row-reverse;
}

#flow2 .menu-img{
    width:50%;
    height:40vh;
}

#flow2 .menu-img-detail{
    height:40vh;
}

#flow2 .menu-box{
    animation-delay:.5s;
}

#flow2 .menu-content{
    width:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    -ms-writing-mode: tb-rl;
    -webkit-writing-mode: vertical-rl;
    writing-mode: horizontal-tb;  
    text-orientation: upright;
}

#flow2 section:nth-of-type(1) .menu-img-detail{
    background:url(images/flow_001.jpg) no-repeat center;
    background-size:cover;
}

#flow2 section:nth-of-type(2) .menu-img-detail{
    background:url(images/flow_002.jpg) no-repeat center;
    background-size:cover;
}

#flow2 section:nth-of-type(3) .menu-img-detail{
    background:url(images/flow_003.jpg) no-repeat center;
    background-size:cover;
}

#flow2 section:nth-of-type(4) .menu-img-detail{
    background:url(images/flow_0004.png) no-repeat center;
    background-size:cover;
}

#flow2 section:nth-of-type(5) .menu-img-detail{
    background:url(images/flow_005.jpg) no-repeat center;
    background-size:cover;
}

#flow2 section:nth-of-type(6) .menu-img-detail{
    background:url(images/flow_0006.png) no-repeat center;
    background-size:cover;
}
#flow2 section:nth-of-type(7) .menu-img-detail{
    background:url(images/flow_007.jpg) no-repeat center;
    background-size:cover;
}
#flow2 section:nth-of-type(8) .menu-img-detail{
    background:url(images/flow_008.jpg) no-repeat center;
    background-size:cover;
}

#flow2 .menu-content h3{
    font-size:1.8rem;
    margin:0 0 0 0.2em;
}

#flow2 .menu-content p{
    line-height:1;
}



/* Flow 3 ご寺院修復 */

#flow3{
    position:relative;
    margin: 0 0 100px 0;
}
#flow3 .flow-bg3{
    position: relative;
    background:url(images/flowbg_03.jpg) no-repeat center;
    background-size:cover;
    background-attachment:fixed;
    width:100%;
    height:50vh;
}

#flow3 section{
    display:flex;
    justify-content:space-between;
    flex-wrap:wrap;
}

#flow3 section:nth-of-type(2n){
    flex-direction:row-reverse;
}

#flow3 .menu-img{
    width:50%;
    height:40vh;
}

#flow3 .menu-img-detail{
    height:40vh;
}

#flow3 .menu-box{
    animation-delay:.5s;
}

#flow3 .menu-content{
    width:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    -ms-writing-mode: tb-rl;
    -webkit-writing-mode: vertical-rl;
    writing-mode: horizontal-tb;  
    text-orientation: upright;
}

#flow3 section:nth-of-type(1) .menu-img-detail{
    background:url(images/jiin01.jpg) no-repeat center;
    background-size:cover;
}

#flow3 section:nth-of-type(2) .menu-img-detail{
    background:url(images/jiin02.jpg) no-repeat center;
    background-size:cover;
}

#flow3 section:nth-of-type(3) .menu-img-detail{
    background:url(images/jiin03.jpg) no-repeat center;
    background-size:cover;
}

#flow3 section:nth-of-type(4) .menu-img-detail{
    background:url(images/jiin04.jpg) no-repeat center;
    background-size:cover;
}

#flow3 section:nth-of-type(5) .menu-img-detail{
    background:url(images/jiin05.jpg) no-repeat center;
    background-size:cover;
}

#flow3 section:nth-of-type(6) .menu-img-detail{
    background:url(images/jiin06.jpg) no-repeat center;
    background-size:cover;
}
#flow3 section:nth-of-type(7) .menu-img-detail{
    background:url(images/jiin07.jpg) no-repeat center;
    background-size:cover;
}
#flow3 section:nth-of-type(8) .menu-img-detail{
    background:url(images/jiin08.jpg) no-repeat center;
    background-size:cover;
}

#flow3 .menu-content h3{
    font-size:1.8rem;
    margin:0 0 0 0.2em;
}

#flow3 .menu-content p{
    line-height:1;
}

/* Flow 4 背景写真の件　仏壇・処分・洗濯 */

#flow4{
    position:relative;
    margin: 0 0 100px 0;
}
#flow4 .flow-bg4{
    position: relative;
    background:url(images/flowbg_04.jpg) no-repeat center;
    background-size:cover;
    background-attachment:fixed;
    width:100%;
    height:50vh;
}

#flow4 section{
    display:flex;
    justify-content:space-between;
    flex-wrap:wrap;
}

#flow4 section:nth-of-type(2n){
    flex-direction:row-reverse;
}

#flow4 .menu-img{
    width:50%;
    height:40vh;
}

#flow4 .menu-img-detail{
    height:40vh;
}

#flow4 .menu-box{
    animation-delay:.5s;
}

#flow4 .menu-content{
    width:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    -ms-writing-mode: tb-rl;
    -webkit-writing-mode: vertical-rl;
    writing-mode: horizontal-tb;  
    text-orientation: upright;
}


/* menu */

#menu{
    position:relative;
    margin: 0 0 100px 0;
}

#menu .menu-bg{
    position: relative;
    background:url(images/bg_01.jpg) no-repeat center;
    background-size:cover;
    background-attachment:fixed;
    width:100%;
    height:50vh;
}

#menu section{
    display:flex;
    justify-content:space-between;
    flex-wrap:wrap;
}

#menu section:nth-of-type(2n){
    flex-direction:row-reverse;
}

#menu .menu-img{
    width:50%;
    height:40vh;
}

#menu .menu-img-detail{
    height:40vh;
}

#menu .menu-box{
    animation-delay:.5s;
}

#menu .menu-content{
    width:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    -ms-writing-mode: tb-rl;
    -webkit-writing-mode: vertical-rl;
    writing-mode: horizontal-tb;
    text-orientation: upright;
}

#menu section:nth-of-type(1) .menu-img-detail{
    background:url(images/pict_01.jpg) no-repeat center;
    background-size:cover;
}

#menu section:nth-of-type(2) .menu-img-detail{
    background:url(images/pict_02.jpg) no-repeat center;
    background-size:cover;
}

#menu section:nth-of-type(3) .menu-img-detail{
    background:url(images/pict_04.jpg) no-repeat center;
    background-size:cover;
}

#menu section:nth-of-type(4) .menu-img-detail{
    background:url(images/pict_03.jpg) no-repeat center;
    background-size:cover;
}

#menu .menu-content h3{
    font-size:1.8rem;
    margin:0 0 0 0.5em;
}

#menu .menu-content p{
    line-height:2;
    padding:0 0 0 0.2em;
}

/* access */

#news .news-bg{
    background:url(images/bg_03.jpg) no-repeat center;
    background-size:cover;
    background-attachment:fixed;
    width:100%;
    height:50vh;
}

/* access */

#access{
    position:relative;
}

#access .access-bg{
    background:url(images/bg_02.jpg) no-repeat center;
    background-size:cover;
    background-attachment:fixed;
    width:100%;
    height:50vh;
}

#access .access-area{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    background:#fff;
    box-shadow: 0 4px 4px #ccc;
    width:90%;
    margin: 0 auto 100px auto;
}

#access .access-area .access-block{
    width:50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

#access .access-area .access-block h3{
    font-size: 1.2rem;
    margin: 0 0 20px 0;
}

#access .access-area .access-block p{
    margin: 0 0 20px 0;
}

#access .access-map{
    width:50%;
}

#access .iframe-wrap {
    position: relative;
    padding-bottom: 51.65%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
    z-index: 2;
}

#access .iframe-wrap iframe,
#access .iframe-wrap object,
#access .iframe-wrap embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}



/* reserve */

#reserve{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width:90%;
    margin: 0 auto 100px auto;
    padding:100px 30px;
    text-align: center;
}

#reserve .scrolldown1{
    top:-10vh;   
}

#reserve h2{
    font-size: 1.2rem;   
}

#reserve .tel{
    font-size: 2vw;
    margin: 0 0 20px 0;
}

#reserve p br{
    display: none;   
}

    
    
/* FLEXBOX */
.Content-flex {
    margin:8em;
    box-shadow: 0 10px 25px 0 rgba(0, 0, 0, .5);
    background:url(images/washi_001.jpg) repeat center;
    border-radius: 10px 10px 10px 10px;
}
    
    
.Content-flex h3{
    color: #fff;/*文字色*/
    box-shadow: 0 10px 25px 0 rgba(0, 0, 0, .5);
    background:url(images/murasaki.jpg) repeat center;
    padding: 0.5em;/*文字周りの余白*/
    border-radius: 0.5em;/*角丸*/
}
    
.Content-flex p{
    width: 80%;
    margin:0 0 0 20px;/*文字周りの余白*/
}

/* FLEXBOX */
.oneArea {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.oneArea .oneBox {
    width: 40%;
    box-sizing: border-box;
    color: #000;
    font-size: 1.5rem;
    text-align: center;
    margin-right: 1%;
    margin-bottom: 20px;
}


/* 会社概要 */


.Content-company { 
    vertical-align: middle;
    margin: 5em auto;
    width: 70%;
}

dl, dt, dd {
    margin: 0;
    padding: 0;
    text-align: left;
/*   リセットCSS（適用するサイトで定義済なら不要） */
}

.company-overview {
    border-top: 1px solid #ddd;
}

.company-overview .item {
    padding: 24px 0;
    border-bottom: 1px solid #ddd;
}

/*洗濯 クリーニングとお墓　　FLEXBOX 　PC用　*/
.oneArea-02 {
    display: flex;
    align-items: center;
    margin: 0 auto;
}
.oneArea-02 .oneBox-02 {
    box-sizing: border-box;
}
.oneArea-02 .oneBox-02:nth-child(1) {   
    width: 8%;
    margin-left: 15%;
}
.oneArea-02 .oneBox-02:nth-child(2) {    
    width: 0.8%;
}
.oneArea-02 .oneBox-02:nth-child(3) {  
    width: 8%;
}
.oneArea-02 .oneBox-02:nth-child(4) { 
    width: 0.8%;
}
.oneArea-02 .oneBox-02:nth-child(5) {  
    width: 8%;
}
.oneArea-02 .oneBox-02:nth-child(6) {
    width: 0.8%;
}
.oneArea-02 .oneBox-02:nth-child(7) { 
    width: 8%;
}
.oneArea-02 .oneBox-02:nth-child(8) {
    width: 0.8%;
}
.oneArea-02 .oneBox-02:nth-child(9) { 
    width: 8%;
}
.oneArea-02 .oneBox-02:nth-child(10) {
    width: 0.8%;
}
.oneArea-02 .oneBox-02:nth-child(11) {  
    width: 8%;
}
.oneArea-02 .oneBox-02:nth-child(12) {
    width: 0.8%;
}
.oneArea-02 .oneBox-02:nth-child(13) {  
    width: 8%;
}
.oneArea-02 .oneBox-02:nth-child(14) {
    width: 0.8%;
}
.oneArea-02 .oneBox-02:nth-child(15) {  
    width: 8%;
}

/*洗濯 クリーニングとお墓　　バナー　PC用　*/
.bunner-area {
    display: block;
    width: 100%;
    text-align: center;
}
.bunner-01{
    margin-top: 5em;
}


.priceSection{
    display: block;
    margin-top: 120px;
    text-align: center;
}

.priceSection h3{
    font-size: 22px;
}

.priceSection p{
    font-size: 14px;
}

/*洗濯 クリーニング PC用　*/
table {
    margin: 50px auto;
    width: 80%;
}


.tbl-r02 th {
    background: #330066;
    width: 50%;
    border: solid 1px #000;
    color: #fff;
    padding: 10px;
}
.tbl-r02 td {
    border: solid 1px rgb(56, 53, 53);
    padding: 10px;
}

/*お墓じまいPC用　*/
.grave2-contents {
    display: block;
    width: 100%;
    margin: 0 auto;
    background-image: url(images/allow_bg.png) ;
    background-size:contain;
    background-repeat: no-repeat;
}
/*お墓じまいPC用　*/
.grave2-contents2 {
    display: block;
    width: 100%;
    margin: 0 auto;
    padding: 5em 0 0 0 ;
    background-image: url(images/allow_bg02.png) ;
    background-size:cover;
    background-repeat: no-repeat;
    text-align: center;
}


/*追加彫C用　*/
.grave3-contents {
    display: block;
    width: 100%;
    margin: 0 auto;
    background-image: url(images/allow_bg3.png) ;
    background-size:contain;
    background-repeat: no-repeat;
}

.grave2-contents2 p{
    width: 80%;
    text-align: center;
    margin: 0 auto ;
}


/*お墓じまいPC用　*/
.grave2-area {
    display: block;
    width: 70%;
    margin: 5em auto;
    padding: 5em 5em;
    text-align: center;
    background-image: url(images/washi_01.png) ;
    background-size:cover;
    box-shadow: 0 10px 25px 0 rgba(0, 0, 0, .5);
}
.grave2-oneArea {
    display: flex;
    flex-direction: row;
    padding: 2em auto;
}
.grave2-oneArea .oneBox2 {
    width: 50%;
    background: #fff;
    box-sizing: border-box;
    color: #000;
    font-size: 1.5rem;
    text-align: left;
    padding: 2em 0 0 0;
}
.grave2-oneArea .oneBox2 p{
    width: 95%;
    font-size: 0.9rem;
}





/* footer */

#footer{
    padding:40px;
    color: #fff;
    background-image:url(images/footer_bg.jpg);
}

#footer .footer-area{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap:wrap;
}

#footer .footer-logo{
    letter-spacing: 1em;
    margin: 0 0 20px 0;
}

#footer .footer-logo span{
    font-size: 1.6rem;
    display: block;
}

#footer .footer-link{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

#footer .footer-link ul{
    font-size: 0.9rem;
    margin: 0 2vw 0 0;
}

#footer .footer-link ul li{
    display: inline-block;
    margin: 0 10px;   
}

#footer .footer-link a{
    color:#fff;   
}

#footer small{
    color:#ccc;  
}

#footer #page-top span{
    position: relative;
    top:-10px;
}

#footer #page-top span::before{
    content:'';
    position: absolute;
    left:50%;
    top:-3px;
    background:#6C6C6C;
    width:1px;
    height: 30px;
}

#footer #page-top span::after{
    content:'';
    position: absolute;
    left:6px;
    top:-7px;
    background:#6C6C6C;
    width:1px;
    height: 20px; 
    transform: rotate(-45deg);
}


.inq{
    display: block;
    margin: 0 auto;
    text-align: center;
}

/*ContactForm7カスタマイズ*/
table.CF7_table{
	width:60%;
	margin:0 auto;
	border: 1px solid #e5e5e5;
    background-color: #fff;
}

table.CF7_table tr{
	border-top: 1px solid #e5e5e5;
    text-align: left;
    padding: 0.2em;
}

.single .entry-content table.CF7_table,
.page .entry-content table.CF7_table{
	display:table;
}

/*入力欄*/
.CF7_table input, .CF7_table textarea {
	border: 1px solid #d8d8d8;
    padding: 1em;
    width: 100%;
}

.CF7_table ::placeholder {
	color:#797979;
}

/*「必須」文字*/
.CF7_req{
	font-size:.9em;
	padding: 5px;
	background: #8f0422;/*紫*/
	color: #fff;
	border-radius: 3px;
    margin:0 0.8em;
}

/*「任意」文字*/
.CF7_unreq{
	font-size:.9em;
	padding: 5px;
	background: #bdbdbd;/*グレー*/
	color: #fff;
	border-radius: 3px;
    margin:0 0.8em;
}

/* 「送信する」ボタン */
.wpcf7 input.wpcf7-submit {
	background-color:#6e03a0;/*紫*/
    width: 20%;
    padding: 1em;
	border:0;
	color:#fff;
	font-size:1em;
	font-weight:bold;
	margin:0 auto;
    border-radius: 5em;
}

/* 「送信する」ボタン */
.wpcf7-not-valid-tip {
    font-size: 0.9em;
    color:#8f0422;
}


.CF7_btn{
	text-align:center;
	margin-top:20px;
}

.wpcf7-spinner{
	width:0;
	margin:0;
}

/* タイトル列 */
@media screen and (min-width: 768px){
	.CF7_table th{
	width:25%;/*横幅*/
	background-color:#ebedf5;/*ブルーグレー*/
    text-align: left;
	}
}

/* レスポンシブ */
@media screen and (max-width: 768px){
	table.CF7_table{
	width:95%;
    padding: 0.2em;
	}
	.CF7_table tr, .CF7_table td, .CF7_table th{
	display: block;
	width: 100%;
	line-height:2.5em;
    text-align: left;
    padding: 0.2em;
	}
	.CF7_table th{
	background-color:#ebedf5;
	}
    
/* 「送信する」ボタン */
.wpcf7 input.wpcf7-submit {
	background-color:#6e03a0;/*紫*/
    width: 80%;
    padding: 1em 5em;
	border:0;
	color:#fff;
	font-size:1em;
	font-weight:bold;
	margin:0 auto;
    border-radius: 5em;
}

}


* {
    box-sizing: border-box;
}
ul {
    padding: 0;
}
li {
    list-style-type: none;
}
dd {
    margin-left: 0;
}

/* レスポンシブmax-width: 768px */
.flow > li {
    position: relative;
    margin: 0 auto;
    width: 80%;
}
.flow > li:not(:last-child) {
    margin-bottom: 40px;
}
.flow > li:not(:first-child)::before {
    content: "";
    height: 60px;
    display: block;
    border-left: 4px dotted #e5e5e5;
    position: absolute;
    top: -40px;
    left: -webkit-calc(10% + 30px - 2px);
    left: calc(10% + 30px - 2px);
    z-index: 10;
}
.flow > li dl {
    width: 100%;
    padding: 20px 30px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    border: 2px solid rgb(107,144,219);
    border-radius: 10px;
    position: relative;
    background-color: #fff;
}
.flow > li:not(:last-child) dl::before,
.flow > li:not(:last-child) dl::after {
    content: "";
    border: solid transparent;
    position: absolute;
    top: 100%;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
}
.flow > li:not(:last-child) dl::before {
    border-width: 22px;
    border-top-color: rgb(107,144,219);
}
.flow > li:not(:last-child) dl::after {
    border-width: 20px;
    border-top-color: #fff;
}
.flow > li dl dt {
    font-size: 20px;
    font-weight: 600;
    color: rgb(107,144,219);
    -ms-flex-preferred-size: 20%;
    flex-basis: 20%;
    margin-right: 2vw;
    text-align: center;
}
.flow > li dl dt .icon {
    font-size: 12px;
    color: #fff;
    background: rgb(107,144,219);
    background: -moz-linear-gradient(left, rgba(107,144,219,1) 0%, rgba(102,213,233,1) 100%);
    background: -webkit-linear-gradient(left, rgba(107,144,219,1) 0%,rgba(102,213,233,1) 100%);
    background: linear-gradient(to right, rgba(107,144,219,1) 0%,rgba(102,213,233,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#6b90db', endColorstr='#66d5e9',GradientType=1 );
    padding: 5px 10px;
    margin-bottom: 10px;
    display: block;
    border-radius: 20px;
    position: relative;
    z-index: 100;
}
/* レスポンシブmax-width: 768px */
.flow2 > li {
    position: relative;
    margin: 0 auto;
    width: 95%;
}
.flow2 > li:not(:last-child) {
    margin-bottom: 40px;
}
.flow2 > li:not(:first-child)::before {
    content: "";
    height: 60px;
    display: block;
    border-left: 4px dotted #e5e5e5;
    position: absolute;
    top: -40px;
    left: -webkit-calc(10% + 30px - 2px);
    left: calc(10% + 30px - 2px);
    z-index: 10;
}
.flow2 > li dl {
    width: 100%;
    padding: 20px 30px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    border: 2px solid rgb(107,144,219);
    border-radius: 10px;
    position: relative;
}
.flow2 > li:not(:last-child) dl::before,
.flow2 > li:not(:last-child) dl::after {
    content: "";
    border: solid transparent;
    position: absolute;
    top: 100%;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
}
.flow2 > li:not(:last-child) dl::before {
    border-width: 22px;
    border-top-color: rgb(107,144,219);
}
.flow2 > li:not(:last-child) dl::after {
    border-width: 20px;
    border-top-color: #fff;
}
.flow2 > li dl dt {
    font-size: 20px;
    font-weight: 600;
    color: rgb(107,144,219);
    -ms-flex-preferred-size: 20%;
    flex-basis: 20%;
    margin-right: 2vw;
    text-align: center;
}
.flow2 > li dl dt .icon {
    font-size: 12px;
    color: #fff;
    background: rgb(107,144,219);
    background: -moz-linear-gradient(left, rgba(107,144,219,1) 0%, rgba(102,213,233,1) 100%);
    background: -webkit-linear-gradient(left, rgba(107,144,219,1) 0%,rgba(102,213,233,1) 100%);
    background: linear-gradient(to right, rgba(107,144,219,1) 0%,rgba(102,213,233,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#6b90db', endColorstr='#66d5e9',GradientType=1 );
    padding: 5px 10px;
    margin-bottom: 10px;
    display: block;
    border-radius: 20px;
    position: relative;
    z-index: 100;
}

/* レスポンシブmax-width: 768px */
.flow3 > li {
    position: relative;
    margin: 0 auto;
    width: 95%;
}
.flow3 > li:not(:last-child) {
    margin-bottom: 40px;
}
.flow3 > li:not(:first-child)::before {
    content: "";
    height: 60px;
    display: block;
    border-left: 4px dotted #e5e5e5;
    position: absolute;
    top: -40px;
    left: -webkit-calc(10% + 30px - 2px);
    left: calc(10% + 30px - 2px);
    z-index: 10;
}
.flow3 > li dl {
    width: 100%;
    padding: 20px 30px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    border: 2px solid rgb(107,144,219);
    border-radius: 10px;
    position: relative;
}
.flow3 > li:not(:last-child) dl::before,
.flow3 > li:not(:last-child) dl::after {
    content: "";
    border: solid transparent;
    position: absolute;
    top: 100%;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
}
.flow3 > li:not(:last-child) dl::before {
    border-width: 22px;
    border-top-color: rgb(107,144,219);
}
.flow3 > li:not(:last-child) dl::after {
    border-width: 20px;
    border-top-color: #fff;
}
.flow3 > li dl dt {
    font-size: 20px;
    font-weight: 600;
    color: rgb(107,144,219);
    -ms-flex-preferred-size: 20%;
    flex-basis: 20%;
    margin-right: 2vw;
    text-align: center;
}
.flow3 > li dl dt .icon {
    font-size: 12px;
    color: #fff;
    background: rgb(107,144,219);
    background: -moz-linear-gradient(left, rgba(107,144,219,1) 0%, rgba(102,213,233,1) 100%);
    background: -webkit-linear-gradient(left, rgba(107,144,219,1) 0%,rgba(102,213,233,1) 100%);
    background: linear-gradient(to right, rgba(107,144,219,1) 0%,rgba(102,213,233,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#6b90db', endColorstr='#66d5e9',GradientType=1 );
    padding: 5px 10px;
    margin-bottom: 10px;
    display: block;
    border-radius: 20px;
    position: relative;
    z-index: 100;
}

/* レスポンシブmax-width: 768px */
.flow4 > li {
    position: relative;
    margin: 0 auto;
    width: 95%;
}
.flow4 > li:not(:last-child) {
    margin-bottom: 40px;
}
.flow4 > li:not(:first-child)::before {
    content: "";
    height: 60px;
    display: block;
    border-left: 4px dotted #e5e5e5;
    position: absolute;
    top: -40px;
    left: -webkit-calc(10% + 30px - 2px);
    left: calc(10% + 30px - 2px);
    z-index: 10;
}
.flow4 > li dl {
    width: 100%;
    padding: 20px 30px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    border: 2px solid rgb(107,144,219);
    border-radius: 10px;
    position: relative;
}
.flow4 > li:not(:last-child) dl::before,
.flow4 > li:not(:last-child) dl::after {
    content: "";
    border: solid transparent;
    position: absolute;
    top: 100%;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
}
.flow4 > li:not(:last-child) dl::before {
    border-width: 22px;
    border-top-color: rgb(107,144,219);
}
.flow4 > li:not(:last-child) dl::after {
    border-width: 20px;
    border-top-color: #fff;
}
.flow4 > li dl dt {
    font-size: 20px;
    font-weight: 600;
    color: rgb(107,144,219);
    -ms-flex-preferred-size: 20%;
    flex-basis: 20%;
    margin-right: 2vw;
    text-align: center;
}
.flow4 > li dl dt .icon {
    font-size: 12px;
    color: #fff;
    background: rgb(107,144,219);
    background: -moz-linear-gradient(left, rgba(107,144,219,1) 0%, rgba(102,213,233,1) 100%);
    background: -webkit-linear-gradient(left, rgba(107,144,219,1) 0%,rgba(102,213,233,1) 100%);
    background: linear-gradient(to right, rgba(107,144,219,1) 0%,rgba(102,213,233,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#6b90db', endColorstr='#66d5e9',GradientType=1 );
    padding: 5px 10px;
    margin-bottom: 10px;
    display: block;
    border-radius: 20px;
    position: relative;
    z-index: 100;
}

@media screen and (max-width:1040px) {              /*1040pxまでの横幅の時*/ 
    #access .access-area .access-block,
    
    #access .access-map{
    width:100%;
    }   
    #access .access-area .access-block{
        padding:40px 20px;
    }
}

@media screen and (max-width:1020px) {/*max-width:1020px*/             /*1020pxまでの横幅の時*/ 
#lead h2{
    line-height: 1.8;
    padding: 0 0 50px 0;
    display: inline-block;
    text-align: left;
    font-size: 1.5rem;
    letter-spacing: 0.4em;
}
#lead .lead-desc p{
    line-height:2.5;
}
    
}

@media screen and (max-width:990px) {              /*990pxまでの横幅の時*/ 
#header{
    position: relative;
    width:100%;
    height: auto;
    padding: 0;
}
#content-area{
    padding:0;
}
#header{
    position:absolute;
    z-index: 2;
    background: none;
    color: #fff;
    height: 90vh;
    align-items: center;
}
.header-area{
    width:auto;
    height: auto;
}

#header h1{
    color: #fff;
    background:#3e2058;
    padding: 20px 22px 0 0px;
    width: 119px;
    height:200px;
    white-space: nowrap;
}

#header h1 span{
    font-size: 2.3rem;
}
/* スマホ非表示*/ 
#header p{
    display: none;
}
/* スマホ非表示*/
    #header .sns-link{
    display: none;
}
    
/* title のスマホ*/

#title-img-area{
    position: relative;
    background:url(images/img_01.png);
    width: 100%;
    height:70vh;
}
    
/* 新着タイトル のスマホ*/
    #main-area h2{
    font-size:2rem;
    letter-spacing: 0.1em;
    line-height: 2.2;
    padding: 0 0 0 0;
}

#main-nav dl{
    display: none;
    transition: all 0.5s;
	opacity: 0;
    padding: 10px 0;
}
    
#main-nav dl dt,
#main-nav dl dd {
  text-align: center;
  margin: 0 auto;
}

#main-nav dl a{
  font-size: 0.8rem;
  display: block;
  text-align: center;
}

#main-nav dl.telactive{
  display: block;
  position: fixed;
  z-index: 9999;
  bottom:30px;
  left:20%;
  width:60%;
  border: 1px solid rgba(255,255,255,0.8);
  animation: UpAnime 1s forwards;
  text-align: center;
}
    
/*menu設定　990以下*/
#g-nav ul{
    display: block;
    text-align: center;
    width:60%;
}
#g-nav ul li a{
    padding: 15px;
    color: #fff;
}
#g-nav ul li.current a::before,
#g-nav ul li a:hover::before{
    animation: none;
    left:0;
    top:48%;
    width:10px;
    height: 1px;
    background: #fff;
    opacity: 1;
}


#reserve h2{
    font-size: 1rem;   
}
#reserve .tel{
    font-size: 1.5rem;
}
    
    
}

@media screen and (max-width:920px) {             /*920pxまでの横幅の時*/ 
    #lead{
    height:auto;
    padding:100px 0;
    }
    
#lead .lead-heading{
    width:100%;
    text-align: center;
}

    
#lead .lead-desc{
    width: 100%;
    padding: 0 30px;
    display: block;
    height: auto;
}
    
#lead .lead-desc p{
    width:auto;
    margin: 0 0 30px 0;
    -ms-writing-mode: lr-tb;
    -webkit-writing-mode: horizontal-tb;
    writing-mode: horizontal-tb;
}
#lead .btnarrow5{
    display: block;
    padding: 8px 30px;
    width:250px;
    margin: 0 auto;
    -ms-writing-mode: lr-tb;
    -webkit-writing-mode: horizontal-tb;
    writing-mode: horizontal-tb;
}

#lead .btnarrow5::after{
    top: 152%;
    right: 52%;
}

    
/* 事例のところ　FLEXBOX */
.Content-flex {
    width: 95%;
    box-shadow: 0 10px 25px 0 rgba(0, 0, 0, .5);
    background:url(images/washi_001.jpg) repeat center;
    border-radius: 5px 5px 5px 5px;
    margin-left: 0.8em;  /* 解決するため */
    padding: 0; /* 入れておくと無難 */
}
    
.Content-flex h3{
    color: #fff;/*文字色*/
    font-size: 14px;
    box-shadow: 0 10px 25px 0 rgba(0, 0, 0, .5);
    background:url(images/murasaki.jpg) repeat center;
    padding: 0.5em;/*文字周りの余白*/
    border-radius: 0.5em;/*角丸*/
}
    
    
.Content-flex p{    
    text-align: center;
}

/* 事例のところ　FLEXBOX */
.oneArea {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    flex-direction: column;
}

.oneArea .oneBox {
    width: 100%;
    box-sizing: border-box;
    color: #000;
    font-size: 1.5rem;
    text-align: center;
    margin-right: 1%;
    margin-bottom: 20px;
}



/*お墓じまいスマホ用　*/
.grave2-contents {
    display: block;
    width: 100%;
    margin: 0 auto;
}

/*お墓じまいスマホ用　*/
.grave2-area {
    display: block;
    width: 90%;
    margin: 0.5em auto;
    padding: 1em 1em;
    text-align: center;
    background-image: url(images/washi_01.png) ;
    background-size:cover;
    box-shadow: 0 10px 25px 0 rgba(0, 0, 0, .5);
}
.grave2-area h3{
    margin: 0 auto;
}

/* お墓のじまい */

.grave2-oneArea {
    display: flex;
    flex-direction: column;
}
.grave2-oneArea .oneBox2 {
    width: 100%;
    background: #fff;
    box-sizing: border-box;
    color: #000;
    font-size: 1.5rem;
    text-align: center;
    padding: 0.5em;
}

.flow > li {
    position: relative;
    margin: 0 auto;
    width: 95%;
}

/* 会社概要 */

.Content-company {
    width: 95%;
    margin: 5em 1em 1em 1em;  /* 解決するため */
    padding: 0; /* 入れておくと無難 */
}
    
    
    .company-overview .item {
    display: grid;
    /*項目名：名称の横幅比率*/
    grid-template-columns: 1fr 5fr;
    /*項目名：名称の間の余白*/
    column-gap: 32px;
    -webkit-column-gap: 32px;
    -moz-column-gap: 32px;
    }
}



@media screen and (min-width:769px) {             /*769px以上の横幅の時*/ 
#footer #page-top a:hover span::before,
#footer #page-top a:hover span::after{
    background:#fff;   
}
    
}

@media screen and (max-width:768px) {            /*768pxまでの横幅の時*/ 
#menu .menu-bg{
    background-attachment: inherit;
    }
#flow .flow-bg{
    background-attachment: inherit;
    }
#flow2 .flow-bg2{
    background-attachment: inherit;
    }
#flow3 .flow-bg3{
    background-attachment: inherit;
    }
#flow4 .flow-bg4{
    background-attachment: inherit;
    }

    
    

/*menu設定　768以下*/
    
    
#g-nav{
		padding: 0;
	}
	
#g-nav ul{
		display: block;
	}
	
#g-nav li.has-child ul,
#g-nav li.has-child ul ul{
    position: relative;
	left:50%;
	width:100%;
	visibility:visible;/*JSで制御するため一旦表示*/
	opacity:1;/*JSで制御するため一旦表示*/
	display: none;/*JSのslidetoggleで表示させるため非表示に*/
	transition:none;/*JSで制御するためCSSのアニメーションを切る*/
}
	
#g-nav ul li a{
	border-bottom:1px solid #ccc;
}

/*矢印の位置と向き*/

#g-nav ul li.has-child::before{
	left:20px;	
}

#g-nav ul ul li.has-child::before{
    transform: rotate(135deg);
	left:20px;
}
    
#g-nav ul li.has-child.active::before{
    transform: rotate(-45deg);
}

    
#news .news-bg{
    background-attachment: inherit;
    }
#access .access-bg{
    background-attachment: inherit;
    }

#footer .footer-info{
    width: 100%;
    text-align: center;
    }
#footer .footer-logo{
    margin: 0;
    }

#footer .footer-link{
    width:100%;
    display: block; 
    }

#footer .footer-link ul{
    text-align: center;
    margin: 50px 0;
    line-height: 3;
    }
    
#footer small{
    display: block;
    text-align: center;
    }
.last td:last-child {
    border-bottom: solid 1px #ccc;
    width: 100%;
}



.tbl-r02 {        /*洗浄のテーブル*/ 
    width: 95%;
}
.tbl-r02 th,
.tbl-r02 td {
    　　border-bottom: none;
    display: block;
    width: 100%;
}


}

@media screen and (max-width:560px) {            /*560pxまでの横幅の時*/ 
    
#menu .menu-img,
#menu .menu-content{
    width:100%;
    margin: 0 0 50px 0;
}

#reserve p br{
    display:block;   
}
    
#flow .menu-img,
#flow .menu-content{
    width:100%;
    margin: 0 0 50px 0;
}

    
#flow2 .menu-img,
#flow2 .menu-content{
    width:100%;
    margin: 0 0 50px 0;
}
    
#flow3 .menu-img,
#flow3 .menu-content{
    width:100%;
    margin: 0 0 50px 0;
} 
#flow4 .menu-img,
#flow4 .menu-content{
    width:100%;
    margin: 0 0 50px 0;
}

#reserve p br{
    display:block;   
}


/* 洗濯クリーニングとお墓のフローの所非表示　FLEXBOX のスマホなど */
.oneArea-02 {
    display: none;
}  

table.CF7_table{
	width:95%;
    padding: 0.2em;
	}
	.CF7_table tr, .CF7_table td, .CF7_table th{
	display: block;
	width: 100%;
	line-height:2.5em;
    text-align: left;
    padding: 0.2em;
	}
	.CF7_table th{
	background-color:#ebedf5;
	}


}

@media screen and (max-width:420px) {            /*420pxまでの横幅の時*/ 
#main-nav dl.telactive{
    width:90%;
    left:5%;
    text-align: center;
}
#main-nav dl.telactive dt,
#main-nav dl.telactive dd {
    text-align: center;
    margin: 0 auto;
}
}


table.CF7_table{
	width:95%;
    padding: 0.2em;
	}
	.CF7_table tr, .CF7_table td, .CF7_table th{
	display: block;
	width: 100%;
	line-height:2.5em;
    text-align: left;
    padding: 0.2em;
	}
	.CF7_table th{
	background-color:#ebedf5;
	}


}