@charset "utf-8";

/* recs.css
-----------------------------------------------------*/


:root{
--txt:#3E332C;           /*  var(--txt)  */
--enji:#07B9AB;;           /*  var(--enji)  */
--enji-soft:#FFF0F0;      /*  var(--enji-soft)  */
--red:red;      /*  var(--red)  */
--beige:#FCFCFC;      /*  var(--beige)  */	
--line:#D3CDC0; /*  var(--line)  */	

}

#recs section{
	margin-bottom: 40px;
}

/* =========================
メインビジュアル
========================= */

section#mainvisual {
  position: relative;
  min-height: 160px;
  padding: 40px 24px;
  background-image: none; /* クラスを指定して画像をはめる */
  background-size: cover;
  background-position: right center;
	margin-bottom: 30px;
	border-radius: 5px;
}

section#mainvisual .hero-text {
  max-width: 720px;
}

/* 1行ごとの白帯 */
section#mainvisual .hero-text .line {
display: inline-block;
	margin: 0;
  margin-bottom: 12px;
  padding: 1px 8px 3px 11px;
  background: rgba(255, 255, 255, 0.4);
  color: #222;
  font-size: 19px;
  line-height: 1.6;
}

/* 強調ワード */
section#mainvisual .hero-text .accent {
  color: var(--enji);

}
.mincho {
  font-family: 

    "Hiragino Mincho ProN",
    "Yu Mincho",
    "MS Mincho",
    serif;
}

.enji{
	color: var(--enji);
}

.red{
	color: var(--red);
}


#main .posted_area ul.opt_flyer{

margin-top: 0;
}


/* メインビジュアル */
#recs section#mainvisual{
background-image: url("https://www.kasuga-clinic.com/option/images/recs/bg_cover_recs.jpg"); 	
	min-height: 130px;
	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: 10px;
}

/* カード内h3（あなたの「全幅下線」仕様を活かす前提） */
#main .posted_area .card h3{
  margin: 0 0 8px;      /* 好みで */
  font-size: 20px;
}

/* h3右端リンク（カード内だけに限定） */
#main .posted_area .card h3 a{
  position: absolute;
  right: 0;
  top: 44%;
  transform: translateY(-50%);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none !important;
  padding-right: 5px;
font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}
#main .posted_area .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;
}


/* 共通見出しベース */
#main .posted_area h2.heading-male,
#main .posted_area h2.heading-female {

margin: 0;
	padding: 0;
	background: none;
	border: none;
font-size: 23px;
  font-weight: 700;
  padding: 18px 24px 16px;
  border-radius: 6px;
  margin: 0px 0 20px;
  line-height: 1.4;
  letter-spacing: .03em;
}

/* 男性向け */
#main .posted_area h2.heading-male {
  background: #CDE5FB;   /* 淡いブルー */
  color: #2f4a63;        /* 少し濃いブルー */
}

/* 女性向け */
#main .posted_area h2.heading-female {
  background: #FFD8F7;   /* 淡いピンク */
  color: #6b3b58;        /* 少し濃いローズ */
}









