@charset "utf-8";

/* recs_matome.css
-----------------------------------------------------*/


/* メインビジュアル */
.recs section#mainvisual{
background-image: url("../images/recs/bg_cover_recs.jpg"); 	
	min-height: 120px;
	padding: 60px 30px 20px;
}
.recs section#mainvisual .cover-title{
	font-size: 26px;
}
.recs section#mainvisual .cover-subtitle{
	font-size: 15px;
}


/* 検査料金カード */

.card{
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 20px 20px 10px;
  margin-bottom: 20px;
}

/* カード内h3（あなたの「全幅下線」仕様を活かす前提） */
.card h3{
  margin: 0 0 8px;      /* 好みで */
  font-size: 15px;
}

/* h3右端リンク（カード内だけに限定） */
.card h3 a{
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none !important;
  padding-right: 5px;
}
.card h3 a:hover{
  text-decoration: underline !important;
}


/* 行 */
.card .list{
  display: flex;
  flex-direction: column;
}

.card .list .row{
  display: grid;
  grid-template-columns: 1fr 90px;
  align-items: center;
  padding: 14px 6px;
  border-bottom: 1px dashed var(--line);
}
.card .list .row:last-of-type{
  border-bottom: none;
}

/* 左側 */
.card .row-name{
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  min-width: 0;
}

.card .marker{
  width: 2px;
  height: 16px;
  background: var(--enji);
  border-radius: 2px;
  flex: 0 0 auto;
  margin-right: 2px;
}

.card .name{
  font-size: 14px;
  white-space: nowrap;
}

.card .code{
  font-size: 11px;
  line-height: 1;
  padding: 3px 6px;
  border: 1px solid var(--line);
  background: var(--beige);
  color: #6a625a;
  border-radius: 3px;
}

/* サブ */
.card .sub{
  flex-basis: 100%;
  margin-left: 14px;

  font-size: 13px;
  color: #666;
  line-height: 1.5;
}

/* 価格 */
.card .row-price{
  font-size: 14px;
  white-space: nowrap;
  text-align: right;
  padding-right: 10px;
}


/* 共通見出しベース */
.heading-male,
.heading-female {
font-size: 17px;
  font-weight: 700;
  padding: 18px 24px 16px;
  border-radius: 6px;
  margin: 0px 0 20px;
  line-height: 1.4;
  letter-spacing: .03em;
}

/* 男性向け */
.heading-male {
  background: #CDE5FB;   /* 淡いブルー */
  color: #2f4a63;        /* 少し濃いブルー */
}

/* 女性向け */
.heading-female {
  background: #FFD8F7;   /* 淡いピンク */
  color: #6b3b58;        /* 少し濃いローズ */
}









