html{
    font-size: 62.5%;
    font-family: "Roboto", "Noto Sans JP", Arial, "Hiragino Kaku Gothic ProN",
    "Hiragino Sans", Meiryo, sans-serif;}
img{
    max-width: 100%;
    vertical-align: bottom;
}
.section-rapper{
    margin: 0 10%;
}
.section-taitle{
    font-size: 4rem;
    color: #DD1B57;
    white-space:nowrap;
    padding-right: 136px;
    font-weight: bold;
}

/* header */
.header{
    display: flex;
    height: 90px;
    margin: 0 5%;
    justify-content: space-between;
}
#g-nav{
    display: none;
}
.openbtn{
    display: none;
}
.main-logo{
    margin-top: 25px;
}
.nav-list{
    font-size: 1.6rem;
    display: flex;
    margin-top: 35px;
}

.nav-list a{
    text-decoration: none;
    color: #151515;
} 
.nav-item1{
    list-style: none;
    margin: 0 42px ;
}
.nav-item2{
    list-style: none;
    margin: 0 ;
}
.nav-item3{
    list-style: none;
    margin-left: 52px;
}
.nav-list a:first-of-type{
    color: #DD1B57;
}

/* fv */
.fv{
    height: 600px;
    background: url(/img/pc_bg_mv.png);
    background-size: cover;
    background-position: center;
}
.fv-text{
    text-align: center;
    color: #FFFFFF;
}
.taitle{
    font-size: 16rem;
    font-family: 'Roboto';
    font-weight: bold;
    padding-top: 169px;
}

.sub-taitle{
    font-size: 2.4rem;
}
/* news */
.news-content{
    display: flex;
    margin-top: 63px;
}
.news-list{
    margin-left: 0;
    font-size: 1.5rem;
    line-height: 1.8;
}
.news-item{
    display: flex;
    margin-bottom: 31px;
    border-bottom: 1px solid #e8e8e8;
}
.news-time{
    margin-right: 40px;
    font-family: 'Roboto';
}
.news-text{
    margin-bottom: 15px;
}
.back-taitle{
    position: relative;
}
/* service */
.back-taitle::before{
    position: absolute;
    display: block;
    content: "SERVICE";
    top: -40px;
    right: -20px;
    z-index: -1;
    font-size: 16.8rem;
    font-weight: bold;
    line-height: 1;
    color: #f2f2f2;
}
.sarvice-content{
    margin-top: 73px;
}
.sarvice-list{
    margin-top: 53px;
    display: grid;
    column-gap: 30px;
    grid-template-columns: repeat(3, 1fr);  
    
  
}
.service-item{
    max-width: 350px;
    text-align: center;
    border-radius: 8px;
    padding: 50px;
    background-color: white;
    box-shadow: 0 3px 21px rgb(0 0 0 / 16%);
}

.service-taitle{
    font-size: 1.8rem;
    margin: 5px auto 16px;
    font-weight: bold;
}
.service-text{
    font-size: 1.4rem;
    letter-spacing: 0.04em;
    line-height: 1.7;
    margin: 0 auto;
}


/* footer */
.footer{
    background-color: #DD1B57;
    padding:61px 10% 51px;
    margin-top: 100px;
    font-size: 1.4rem;
}
.footer-nav{
    display: flex;
    list-style: none;
    margin-bottom: 18px;
    
}
.footer-nav a{
    text-decoration: none;
    color: #FFFFFF;
    margin-right: 50px;
}
.copy{
    color: #FFFFFF;
    font-size: 1.4rem;
}

/* detail */
.fv-detail{
    background: url(/img/pc_header.png);
    background-position: center;
    background-size: cover;
    height: 190px;   
}
.fv-detail-text{
    text-align: center;
}
.detail-taitle{
    color: #fff;
    font-size: 4rem;
    padding-top: 70px;
}
.detailrapper{
    text-align: center;
    margin: 60px 130px 80px;
}
.detail-message{
    font-size: 4rem;
    color: #DD1B57;
    letter-spacing: 0.05em;
}
.detail-sub-message{
    font-size: 1.8rem;
    margin: 26px auto 40px;
}
.plofil{
    justify-content: center;
    float: left;
    padding-bottom: 80px;
}
.mypic{
    margin: 0 25px 15px 0;
    float: left;
}

.detail-text{
    font-size: 1.6rem;
    line-height: 1.6;
    letter-spacing: 0.05em;
    text-align: left;
}
.detailimg img{
    width: 100%;
}
/* message */
table, td, th {
    border-bottom: 1px solid #EDEDED;
}
table {
    border-collapse: collapse;
    width: 100%;
    font-size: 1.5rem;
    margin-top: 56px;
}
.table-h-top{
    padding:30px;
}
.table-h{
    padding: 30px;
}
.map{
    margin-top: 50px;
    margin-bottom: 21px;
    background: url(/img/map.png);
    height: 400px;
}
.map-text{
    font-family: 'Roboto';
    text-align: center;
    font-weight: bold;
    padding-top: 172px;
    font-size: 4rem;
    color: #A2A2A2;
}
.map-link{
    font-size: 1.5rem;
    color: #349BF4;
    text-decoration: underline;
}
.table-date{
    padding-top: 30px;
}
.table-time{
    padding-right: 40px;
    padding: 17px;
}
.atag{
    text-align: right;
}
.table-content{
    padding: 17px;

}


@media screen and (max-width: 678px){
   
    .section-rapper{
        margin: 0 4%;
    }
    .section-taitle{
        font-size: 3.2rem;
        color: #DD1B57;
        white-space:nowrap;
        margin-bottom: 23px;
    }
   
   /* header */
   .header{
        height: 60px;
        
    }
    .nav-list{
        display: none;
    }
    .main-logo{
        margin-top: 20px;
    }
    .main-logo svg  {
        width: 107px;
        height: 21px;
    }
    
    /*========= ナビゲーションのためのCSS ===============*/

#g-nav{
    /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
    position:fixed;
    z-index: 999;
    /*ナビのスタート位置と形状*/
	top:-120%;
    right:0;
	width:50%;
    height: 100vh;/*ナビの高さ*/
	background:#DD1B57;
    /*動き*/
	transition: all 0.6s;
    display: block;
}

/*アクティブクラスがついたら位置を0に*/
#g-nav.panelactive{
    top: 0;
}

/*ナビゲーションの縦スクロール*/
#g-nav.panelactive #g-nav-list{
    /*ナビの数が増えた場合縦スクロール*/
    position: fixed;
    z-index: 999; 
    width: 100%;
    height: 100vh;/*表示する高さ*/
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

/*ナビゲーション*/
#g-nav ul {
    /*ナビゲーション天地中央揃え*/
    position: absolute;
    z-index: 999;
    top:96px;
    left: 40px;
}

/*リストのレイアウト設定*/

#g-nav li{
	list-style: none;
    
}

#g-nav li a{
	color: #fff;
	text-decoration: none;
	margin-bottom: 28px;
	display: block;
	letter-spacing: 0.1em;
    font-size: 1.6rem;
}

/*========= ボタンのためのCSS ===============*/
.openbtn{
	position:absolute;
    z-index: 9999;/*ボタンを最前面に*/
	top:0px;
	right: 0px;
	cursor: pointer;
    width: 60px;
    height:60px;
    display: block;
    background-color:#DD1B57
}
	
/*×に変化*/	
.openbtn span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 15px;
    height: 2px;
    border-radius: 2px;
	background-color: #fff;
  	width: 45%;
  }

.openbtn span:nth-of-type(1) {
	top:19px;	
}

.openbtn span:nth-of-type(2) {
	top:27px;
}

.openbtn span:nth-of-type(3) {
	top:35px;
}

.openbtn.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
}

.openbtn.active span:nth-of-type(2) {
	opacity: 0;
}

.openbtn.active span:nth-of-type(3){
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
}

/* fv */

.fv{
    height:460px;
    background: url(/img/sp_mv.png);
    background-size: cover;
    background-position: center;
}


.taitle{
    font-size: 8rem;
    font-family: 'Roboto';
    font-weight: bold;
    padding-top: 170px;
}

.sub-taitle{
    font-size: 2rem;
}
/* news */
.news-content{
    display: block;
    margin-top: 32px;
}
.news-item{
    display: block;
    margin-bottom: 33px;
}
/* service */
.sarvice-list{
    margin-top: 53px;
    display: block;    
}
.service-item{
    margin-bottom: 20px;
}
.back-taitle::before{
    top: 10px;
    right: 0px;
    font-size: 70px;
    z-index: -1;
}
/* footer */
.footer{
    padding:41px 4% 29px;
    margin-top: 60px;
    font-size: 1.2rem;
}
.copy{
    font-size: 1.2rem;
}

/* detail */
.fv-detail{
    background: url(/img/sp_header.png);
    background-position: center;
    background-size: cover;
    height: 160px;   
}
.detail-message{
    font-size: 2.4rem;
}
.detailrapper{
    text-align: center;
    margin: 30px 0 50px;
}
.detailimg img{
    width: 100%;
}
}