/* style_faq.css
 * shince:2025-09-18
 */
.comBox_inner {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2em 1em;
}
.comBox_inner .list_box {
    padding: 1rem;
    border-left: 6px solid #900b0c;
    border-bottom: 1px solid #900b0c;
    margin-bottom: .5rem;
}
.list_box:has(a:hover) {
    background: #fafafa;
}
.list_box a {
    text-decoration: none;
}
.list_box :is(a:any-link, a:hover) :is(.faq_description, .faq_count){
    color: initial;
}
.faq_name, .faq_count {
    width: fit-content;
    display: inline-block;
}
.faq_name {
    font-size: 1.3rem;
}
.faq_description, .faq_count {
    font-family: initial;
}

h3.faq.faq_title {
    background: none;
    font-weight: bold;
	font-family: 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', メイリオ, Meiryo, 'ＭＳ Ｐゴシック', sans-serif;
    color: #BA8945;
    height: 3em;
    padding: 0;
}
a:has( h3.faq.faq_title ){
    display: block;
    text-decoration: none;
}
a:has( h3.faq.faq_title ):hover {
    background: #fafafa;
}
a:has( h3.faq.faq_title ) span::before {
    content: '';
    display: inline-block;
    width: 40px;
    height: 40px;
    background-image: url(https://ten-carat.net/images/common/faq_q.png);
    background-repeat: no-repeat;
    transform: translate(0, 30%);
}
.faq_excerpt {
    position: relative;
    width: 100%;
}
.faq_excerpt::after {
	content: '[クリックして続きを見る]';
	display: block;
	width: 50%;
	height: 1.2em;
	padding: .5em .5em .5em 5.5em;
	background: linear-gradient(to right, transparent 0%,  #fff 15%, #fff 100%);
	position: absolute;
	top: 0;
	right: 0;
}
a:has( h3.faq.faq_title ):hover .faq_excerpt::after{
	background: linear-gradient(to right, transparent 0%,  #fafafa 15%, #fafafa 100%);
}
a:is(:link, :visited, :hover) .faq_excerpt {
    color: #333;
}

.faq_detail .cta-button, .faq_detail .cta-button:visited {
  display: inline-block;
  background-color: #900b0c;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  border: 2px solid transparent;
  transition: background-color 0.3s ease, color 0.3s ease, border 0.3s ease;
}
.faq_detail .cta-button:hover {
  background-color: #ffffff;
  color: #900b0c;
  border: 2px solid #900b0c;
  transition: background-color 0.3s ease, color 0.3s ease, border 0.3s ease;
}

.tax_list_wrapper {
    padding: 0 0 0 .5em;
    border-left: 1px solid #eee;
}
.parent .child {
    margin-left: 1.5em;
}
h3.index_title {
    font-size: 1.3rem;
    font-family: initial;
    color: #000;
    background: none;
    padding-left: 0;
    margin-left: 0;
}
.tax_list a {
    color: #000;
    font-family: sans-serif;
    text-decoration: none;
    display: block;
    padding: .5em 0 .5em .5em;
}
.tax_list a:hover {
    color: #B28500;
}
.tax_list a.bold {
    font-weight: bolder;
}
.tax_list.parent > li > a:before {
    content: '\f105';
    display:inline-block;
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    padding-right: .5em;
}
.tax_list.parent .open_term > a {
    background-color: #ffccdd;
}
.tax_list.parent .open_term > a:before {
    content: '\f101';
    display:inline-block;
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    padding-right: .5em;
}

.faq-contents-title.midashi-h2 {
    background: none;
    font-weight: bold;
	font-family: 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', メイリオ, Meiryo, 'ＭＳ Ｐゴシック', sans-serif;
    color: #BA8945;
    height: 2em;
    padding: 0.5em 0 0 2.8em;
    box-sizing: border-box;
}
.faq-contents-title.midashi-h2::before {
    position: absolute;
    content: '';
    width: 40px;
    height: 2em;
    background-image: url(https://ten-carat.net/images/common/faq_q.png);
    background-repeat: no-repeat;
    top: 0;
    left: 0;
}
.faq-contents-title + .comBox .entry-content, .faq_excerpt {
    background-image: url(https://ten-carat.net/images/common/faq_a.png);
    background-repeat: no-repeat;
    margin-bottom: 1em;
    padding-left: 40px;
}

.contact-msg, .contact-msg + .btn_contact {
    margin-left: auto;
    margin-right: auto;
}

@media (min-width:1201px){
	#container:has(#side-R .comBox .comBox_inner) {
		width: 1200px;
	}
	#container:has(#side-R .comBox .comBox_inner) #side-R{
		width: 920px;
	}
}
@media (min-width:769px){	
	#side-R .comBox:has(.comBox_inner) {
		padding-left: 0;
		padding-right: 0;
	}
	.comBox_inner .first_inner {
		flex-basis: 65%;
	}
	.tax_list_wrapper {
		flex-basis: 33%;
	}
	h3.faq.faq_title, .faq-contents-title.midashi-h2{
		margin-left: 1em;
	}
	.faq_excerpt{
        margin-top: 1em;
		margin-left: 2em;
	}
}
@media (max-width:768px){	
	.first_inner, .tax_list_wrapper {
		width: 100%;
	}
	h3.faq.faq_title, .faq-contents-title.midashi-h2, .faq_excerpt{
        font-size: calc(100vw / 20);
        /* padding-left: 40px; */
		margin-left: 0;
        margin-bottom: 1.5em;
	}
	#side-R .comBox .entry-content:has(~ .contact-msg), .faq_excerpt {
		font-size:1.2em;
	}
	
	.faq_excerpt::after {
		background: linear-gradient(to right, transparent 0%,  #fff 30%, #fff 100%);
	}
	a:has( h3.faq.faq_title ):hover .faq_excerpt::after{
		background: linear-gradient(to right, transparent 0%,  #fafafa 30%, #fafafa 100%);
	}
}