@charset "utf-8";
/*
	Theme Name: diver_child
	Template: diver
	Description:  Diverの子テーマです。
	Theme URI: http://tan-taka.com/diver/
	Author: Takato Takagi
 */

/*---- 240610 ショートコード用ボタン*緑* start ----*/
.content .btn_green {
	text-align: center;
}

.content .btn_green a.btn_green__link {
	color: #fff;
    background-color: #10a66a;
    border-color: #0d8555;
	border-bottom-style: solid;
    border-bottom-width: 6px;
    border-radius: 12px;
	display: block;
	font-size: 22px;
    line-height: 33px;
	font-weight: 700;
    padding: 0.7em 2em;
	transition: all 0.2s;
	margin: 0 auto;
	max-width: 600px;
	width: 85%;
}

.content .btn_green a.btn_green__link i {
	margin-right: 5px;
}

.content .btn_green a.btn_green__link:hover {
    border-bottom-width: 0;
	border-color: #0d8555;
}

@media only screen and (max-width: 768px) {  
	.content .btn_green a.btn_green__link {
		border-bottom-width: 4px;
		border-radius: 6px;
		font-size: 15px;
		padding: 1em 1.5em;
		width: 95%;
	}
}

/*---- 240610 ショートコード用*緑* end ----*/


.header_inner_icon {
	margin-left: auto;
	margin-right: auto;
	width: 944px;
	max-width: 100%;
}

.firstview_content {
    padding: 4em 0;
}


/* カード */
.si-card{
  border:1px solid #e5e7eb;
  border-radius:10px;
  padding:18px 20px;
  background:#fff;
  box-shadow:0 4px 14px rgba(0,0,0,.06);
  margin:24px 0;
}

/* テーブル */
.si-table{
  border-top:1px solid #f1f5f9;
  margin-bottom:20px;
}

/* 行 */
.si-row{
  display:grid;
  grid-template-columns:140px 1fr;
  gap:12px;
  padding:12px 0;
  border-bottom:1px solid #f1f5f9;
}

.si-key{
  font-size:14px;
  color:#64748b;
  white-space:nowrap;
}
.si-val{
  word-break:break-word;
}

/* 評価 */
.si-val--rating{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px;
}
.si-rating__num{
  font-size:22px;
  font-weight:700;
}
.si-stars span{ font-size:18px; }

/* 星の色（黄色） */
.si-star--full{
  color:#FFD700; /* ゴールド（黄色） */
}
.si-star--half{
  color:#FFD700; /* 半分だけ黄色 */
  position:relative;
}
.si-star--half::after{
  content:"★";
  color:#d1d5db; /* 灰色の半分 */
  position:absolute;
  top:0;
  left:50%;
  width:50%;
  overflow:hidden;
}
.si-star--empty{
  color:#d1d5db; /* 空の星は灰色 */
}


/* URLテキスト */
.si-url-text{
  font-size:14px;
  color:#111827;
}

/* ボタン（広告URL専用） */
.si-btn-wrap{
  text-align:left;
}
.si-btn{
  display:inline-block;
  padding:12px 18px;
  border-radius:8px;
  font-size:15px;
  font-weight:700;
  color:#fff !important;
  text-decoration:none;
}
.si-btn--green{
  background:#22c55e !important;
}
.si-btn--green:hover{
  background:#16a34a !important;
}

.si-btn{
  display:block;       /* 横幅100%にするには block が必要 */
  width:100%;
  text-align:center;
  padding:14px 20px;
  border-radius:8px;
  font-size:16px;
  font-weight:700;
  color:#fff !important;
  text-decoration:none !important;
  box-sizing:border-box;
}

/* 緑ボタン */
.si-btn--green{
  background:#22c55e !important;
}
.si-btn--green:hover{
  background:#16a34a !important;
}

/* SP */
@media (max-width: 768px){
  .si-row{ grid-template-columns:100px 1fr; }
  .si-btn-wrap{ text-align:left; }
}
