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

/*articleをflexで6:4で横並び。1000px以下では縦並び */
.article{
	display:flex;
	flex-wrap:wrap;
}

.picture{
	width: calc(50% - 10px);
	margin:5px;
	/*border: 1px solid #ddd;*/
}

.text{
	width: calc(50% - 10px);
	margin:5px;
	/*border: 1px solid #ddd;*/
}

@media (max-width: 1000px) {
	.picture{
		width: calc(100% - 10px);
		margin: 5px;
		}
	}

@media (max-width: 1000px) {
	.text{
		width: calc(100% - 10px);
		margin: 5px;
		}
	}



/* artcleのtext部分をクリックした時にrippleeffect */

.ripple {
  position: relative;
  overflow: hidden;
}

.ripple .rp-effect {/*エフェクト*/
  position: absolute;
  border-radius: 50%;
  opacity: 0.6;/*波紋の濃さ*/
  transform: scale(0);
  background: #eb6ea5;/*波紋色*/
  animation: ripple 1800ms;/*波紋速度デフォルト700*/
  pointer-events: none; 
}
@-webkit-keyframes ripple {
  to {
    opacity: 0;
    transform: scale(2.0);
  }
}
@keyframes ripple {
  to {
    opacity: 0;
    transform: scale(2.0);
  }
}



/* artcleのh3のフォンサイズを調整。かつ色も黒に変更 */
article h3{
	font-size:20px;
	color:#000;
}

/* artcleのaリンクの色を変えて、hover時の色も変える。下線は直接htmlで指定して消した */
.noline{
	color:#666;;
}
.noline:hover{
	color:#eb6ea5
}

/* spcialのサムネイル画像を親divの大きさに合わせて表示 */
.topic_image{
	max-width:100%;
	height:auto;
	width /***/:auto;
}


/* h2の見出しのホバー時にアンダーラインを入れるcss */
.midasi h2{
  position: relative;
  display: inline-block;
  text-decoration: none;
}
.midasi h2::after {
  position: absolute;
  bottom: -4px;
  left: 0;
  content: '';
  width: 100%;
  height: 0.5px;
  background: #333;
  transform: scale(0, 1);
  transform-origin: left top;/* 右から出る */
  transition: transform .3s;
}
.midasi h2:hover::after {
  transform-origin: right top;/* 左へ消える */
  transform: scale(1, 1);
}

.midasi{
	text-align:center;/* h2の見出しを中央揃えにした */
}

.color_red{
	color:black;/* お問い合わせのアイコンの色を変えるとき */
}



/* 相続ページの目次を囲みでくくった */
.kakomi{
    padding: 25px 19px;
    margin: 2em 0;
    color:;
    background:;
    border-top: solid 2px #000;
    border-bottom: solid 2px #000;	
}
.kakomi p {
    margin: 0; 
    padding: 0;
}

.kakomi li {
    margin: 0; 
    padding: 7px;
	list-style-type:none;
	font-size: medium;
}

.kakomi li a{
	color:#000;
}


