@charset "utf-8";
/* CSS Document */

body {
	-webkit-text-size-adjust: 100%;
}

#mv {
	background-image: url("../img/mv.png")!important;
margin-bottom: 0!important;}

article section{
	margin-bottom: 100px;
}

article .txt{
	margin-bottom: 100px;
	font-size: 1.1em;
}

#mv h1::before{
	content:"京都の暮らしをより手軽に"!important;
	    font-size: clamp(1.2rem, 1.136rem + 1vw, 2.5rem)!important;
}

#featbox, #houserulebox {
	letter-spacing: 0.05em;
	width: 98%;
	max-width: 1080px;
	margin: 0 auto;
}

.note {
	list-style: square;
	list-style-position: outside;
	padding-bottom: 10px;
	font-weight: 300;
}

#contents a {
	color: #000;
	text-decoration: underline;
}

/* ---------------------------
why KyoTreat
------------------------------ */

#features {
	margin: 0px auto 50px auto;
	line-height: 200%;
}

#features .txt{
	margin: 80px auto;
}

#features ul{
	width: 96%;
	/*max-width: 600px;*/
	margin: 0 auto;
	padding-left: 0;
	display: flex;
	justify-content: space-between;
	flex-wrap: nowrap;
	gap: 2em;
	box-sizing: border-box;
}

#features ul li{
	flex-basis: 25%;
	text-align: center;
	padding-top: 3em;
}
#features ul li img{
	width: 100%;
}
#features ul li .caption{
	font-size: 1.4em;
	font-size: clamp(1.3rem, 1.118rem + 0.91vw, 1.8rem);
	font-weight: 600;
	margin-top: 10px;
	letter-spacing: 0.08em;
	color: #AF8B4A;
	line-height: 1.8;
}

/* ---------------------------
House rules
------------------------------ */
#houserule{
  padding-top:50px;
  margin-top:-50px;
/*	font-size: 1.3em;*/
}
#houserule .txt{
	margin: 80px auto;
	max-width: 1080px;
	padding: 0 1%;
	font-size: 1.2em;
}
#houserulebox{
	margin-top: 80px;
}
#houserule dl{
	margin-bottom: 2.5em;
}

#houserule dt{
	margin-top: 10px;
	margin-bottom: 15px;
	font-size: 1.5em;
	font-weight: 600;
	color: #AF8B4A;
	line-height: 2;
	letter-spacing: 0.06em;
}

#houserule dd{
	font-size: 1.2em;
	line-height: 1.8;
}


.urllink{
	font-weight: 600;
	text-decoration: underline;
}

.urllink a:hover{
	text-decoration: none;
	font-style: italic;
	color:#AF8B4A;
}

@media screen and (max-width: 740px){
	
	article h2.pagesubtitle{
		line-height: 2.5em;
	}
	
	
	#features ul{
		flex-wrap: wrap;
		gap: 1em;
		max-width: 500px;
		justify-content: space-around;
	}
	
	#features ul li{
	flex-basis: 35%;
	}
	
	ul#note, ul#dont{
		padding-left:2%;
		padding-right: 2%;
	}
	
	#indication h2 {
		line-height: 1.8em;
	}
	#specifiedCommercialTransactions th,
	#specifiedCommercialTransactions td{
	display: block;
    width: 100%;
    height: auto;
    border-block-end: 0px;
    padding: 3px 10px;		
	}
		
	#specifiedCommercialTransactions th {
		background-color: #eee;
		}
	
}