@charset "utf-8";
body,h1,h2,h3,h4,h5,h6,p,ul,figure,dl,dd {
    padding: 0;
    margin: 0;
    list-style: none;}
    img{
        vertical-align: bottom;
    }
body{
	font-family: '小塚ゴシック Pr6N', 'Kozuka Gothic Pro', sans-serif;
    box-sizing: border-box;
	background-color: #fff;
color: #4b3c23;
    font-size: 14px;

}


.flex_1{
    display: flex;
    justify-content: space-between;
    
   
}
.grid{
    display: grid(1fr,1fr);
}
h2{
	font-size: 1.875rem;

	text-align:center;
    margin: 100px 0 50px 0;
}
.bouncing-letters::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 10px 10px 0 rgba(93, 56, 4, 0.5);
    width: 250px;
    height: 15px;
    background-color: #deb068;
}

.bouncing-letters span {
    display: inline-block;
    animation: bounce 0.8s ease
    infinite alternate;
}

@keyframes bounce {
    0% { transform: translateY(-35px) }
    100% { transform: translateY(-55px) }
}

.bouncing-letters span:nth-child(1) {
    animation-delay: 0.1s;
}

.bouncing-letters span:nth-child(2) {
    animation-delay: 0.2s;
}

.bouncing-letters span:nth-child(3) {
    animation-delay: 0.3s;
}

.bouncing-letters span:nth-child(4) {
    animation-delay: 0.4s;
}

.bouncing-letters span:nth-child(5) {
    animation-delay: 0.5s;
}
.bouncing-letters span:nth-child(6) {
    animation-delay: 0.6s;
}
.main_visual{
    color: transparent;
    font-size: 0;
    line-height: 0;
    background-image: url(img/sinryo_main.png);
    background-repeat: no-repeat;
    background-size: 100vw;
    height: 501px;
    background-position: center top;
}
.tab{
    width: 1200px;
    margin: auto;
    padding-left: 0;
    justify-content: flex-start;
}


 .tab li{
	margin-right:1px;
	list-style-type:none;
    gap: 0;
    
}

.tab li a{
	font-size:1.5em;
	color:#FFF;
	text-decoration:none;
	display:block;
	width:200px;
	background:#deb068;
    text-align: center;
    line-height: 100px;
    border-radius: 10px 10px 0 0;
}

.tab li a:hover{
	background:#f0908d;
	color:#FFF;
}

.tab li a.current{
	background:#f0908d;
	color:#fff;
	
}
/*
#contents{
	clear:both;
    border: 3px solid#f0908d;
   width: 900px;
   margin: auto;
   padding: 75px;
   box-sizing: border-box;
   background-color: #fff;
    
}*/
#contents{
	clear:both;
    border: 3px solid#f0908d;
   width: 1200px;
   margin: auto;
   padding: 75px;
   box-sizing: border-box;
   background-color: #fff;
    
}
#contents .flex{
    gap: 50px;
   }
.menu{
    display: none;
}

.main_margin{
   margin-bottom: 50px;
   align-items: center;
}
.main_margin p{
    font-size: 16px;
    line-height: 2em;
    margin-left: 40px;
}
.block{
    box-sizing: border-box;
    width: 500px;
    border:3px solid #deb068;
padding:20px 20px 50px 20px;
text-align: center;

line-height: 2;}

#contents h4{
	font-size:16px;
	font-weight:bold;
	color:#4b3c23;
    margin-bottom: 15px;
}
.block figure{
    margin-bottom: 15px;
}

.block p{
    text-align: left;
    margin: auto;
}


.link a{
    display: block;
    text-align: center;
    line-height: 2;
    width: 200px;
    text-decoration: none;
    border-radius: 20px;
    background-color: #deb068;
    color: #FFF;
    margin: auto;
    margin-top: 20px;
}
.link a:hover{
    background-color: #f0908d;
    
}
.grid{
    display: grid;
    grid-template-columns: 1fr 1fr ;
    gap: 50px;
}

 


.comparison{
    text-align: center;
    font-size: 16px;
    margin: 20px 0;
}
.block ul li{
    text-align: left;
    margin: auto;
}
.totop-area{
    margin: 60px 0;
}

@media screen and (max-width: 768px){
   #contents{
      width: 100%;
      margin: auto;
      
      border: none;
     padding: 30px;
    }
    
    img{
        max-width: 100%;
        height: auto;
    }
    .main_margin p{
        margin-left: 0;
    }
    .flex_1{
        display: block;
    }
    .grid{
        display: block;
         }
.tab li {
    display: none;
}
#tab_2{
    display: block !important;
}
#tab_3{
    display: block !important;
}
#tab_4{display: block !important;}
h2{
    margin-bottom: 0;
}
.menu{
    display: block;
    margin: 60px 0;
    text-align: center;
    font-size: 16px;
}
.block{
    margin-bottom: 10px;
    width: 100%;
}
.main_margin figure{
    margin:20px 0;
}
.main_visual{
    background-size: 100% auto;
    background-repeat: no-repeat;
    height: auto;
    padding-bottom: 25.05%;

}
}
