h1:not(#ans h1) {
    background: url(/img/icon/title-faq.svg) no-repeat top left / 35px 35px;
}
section {
    margin-bottom: 50px;
}
main {
    position: relative;
}
.q_list li:hover, #ans .category_btn li:hover {
	transform: translateY(2px);
	box-shadow: none;
	transition: 0.2s;
	cursor: pointer;
}

/*パンくず*/
#panBox {
    margin: 0 auto 20px;
    border-top: none;
    border-bottom: none;
    padding: 0;
}

/*ナビ*/
nav h2 {
    font-size: 18px;
    padding: 0 0 5px 0;
    margin-bottom: 10px;
}
nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px 0;
}
nav ul li {
    width: 210px;
    position: relative;
    padding-left: 12px;
}
nav ul li::before {
    content: '';
	display: block;
	width: 7px;
	height: 7px;
	border-right: solid 3px var(--brown_l);
	border-bottom: solid 3px var(--brown_l);
	transform: rotate(-45deg);
	position: absolute;
	top: 9px;
	left: 0px;
}
nav a {
    color: var(--brown_d);
}

nav ul + a {
    border: solid 1px var(--gray);
    border-radius: 5px;
    color: var(--blue_l);
    display: inline-block;
    position: relative;
    padding: 10px 10px 10px 23px;
    margin-top: 10px;
}
nav ul + a::before {
    content: "";
	display: inline-block;
    vertical-align: middle;
    color: var(--blue_l);
    line-height: 1;
    width: 0;
    height: 0;
    border-style: solid;
    border-color: transparent;
    border-width: 5px 8px;
    border-right-color: currentColor;
    border-left: 0;
	position: absolute;
	left: 10px;
	top: 17px;
}

nav .faq_now {
    color: var(--orange_d);
    font-weight: bold;
}

/*質問ボックス*/
.q_list li{
    border: solid 1px var(--gray);
    background: var(--white);
    border-radius: 5px;
    font-size: 16px;
    box-shadow: 1px 1px 2px rgb(0, 0, 0, 0.2);
	transition: 0.2s;
    padding: 10px;
}
.q_list .open {
    box-shadow: none;
}
.q_list li:not(:last-of-type) {
    margin-bottom: 10px;
}
.q_list dt, .q_list dd {
    text-indent: -2em;
    padding-left: 2em;
}
.q_list li dt {
    padding-right: 35px;
}
.q_list li dt::after {
    transform: rotate(90deg);
}
.q_list .open dt::after {
    transform: rotate(-90deg);
}
.q_list li dd {
    margin-top: 15px;
}
.q_list dd {
    display: none;
}
.q_list .open dd {
    display: block;
}
.q_list li a {
    display: inline-block;
    width: 150px;
}


/*Qアイコン*/
.q_list dt::before, #ans h1::before {
    content: 'Q';
	display: inline-block;
	width: 25px;
	height: 25px;
	margin-right: 7px;
	font-size: 16px;
	color: var(--white);
	font-weight: bold;
	text-align: center;
    text-indent: 0;
	background-color: var(--orange_d);
	border-radius: 20px;
}

/*//////
トップページ/////*/

/*トップページ検索窓*/
#search {
    border: solid 2px var(--brown_d);
    background: var(--beige_l);
    border-radius: 5px;
}
#search h2 {
    background-color: var(--brown_d);
    background-image: url(/img/icon/title-w_search.svg);
    background-repeat: no-repeat;
    background-position: 10px 12px;
    background-size: 25px 25px;
    border: none;
    color: var(--white);
    padding: 10px 0 10px 40px;
    margin-bottom: 15px;
}
#search form, #search_sab form {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    padding: 0 10px;
}
#nameSearchInput, #search_sab select + input {
    order: 1;
}
#search select, #search_sab form select {
    order: 2;
}
#faqSearchBtn, #search_sab input:last-child {
    order: 3;
}
#search select + input, #search_sab select + input {
    width: 100%;
    font-size: 23px;
}
#search p {
    padding: 15px;
}

/*質問*/
#search +section h3, #category_box h3 {
    font-size: 18px;
}
#search + section h3, #category_box h3 {
    background: var(--brown_l);
    border-radius: 3px;
    padding: 15px 10px;
    margin-bottom: 15px;
    position: relative;
}
 #category_box h3 a {
    font-weight: bold;
    color: var(--brown_d);
 }
 #category_box div + div {
    margin-top: 50px;
 }

/*サブコンテンツ（ご利用ガイド・初めての方へ）*/
#sab_content a{
    border: solid 1px var(--gray);
    background: var(--white);
    border-radius: 5px;
    color: var(--brown_d);
    font-size: 16px;
    padding: 15px 0 20px 65px;
    display: block;
}
#sab_content a:first-of-type {
    background: url(/img/icon/book.png) no-repeat 15px 15px / 40px 40px;
    margin-bottom: 15px;
}
#sab_content a:last-of-type {
    background: url(/img/icon/beginnermark.png) no-repeat 15px 15px / 40px 40px;
}

#sab_content strong {
    font-weight: bold;
    font-size: 18px;
    display: block;
}

/*//////
共通コンテンツ/////*/
/*検索窓*/
#search_sab {
    margin-bottom: 50px;
}
#search_sab h2{
    border: none;
    font-size: 20px;
    padding: 0 0 0 30px;
    margin: 0 0 5px 0;
    background: url(/img/icon/title-search.svg) no-repeat top left / 23px 23px;
}

#search_sab form select, #search_sab select + input, #search form select, #search select + input {
    border: solid 2px var(--orange_d);
    background: var(--white);
    border-radius: 5px;
    height: 50px;
}
#search_sab form select, #search form select {
    width: 310px;
    -moz-appearance: menulist;
    -webkit-appearance: menulist;
}
#search_sab input:last-child, #search input:last-child {
    border: solid 1px var(--orange_d);
    background: var(--orange_d);
    border-radius: 5px;
    color: var(--white);
    font-weight: bold;
    font-size: 20px;
    letter-spacing: 0.1em;
    width: 110px;
    height: 50px;
}
#search_sab form {
    padding: 0;
}

/*お問合せ*/
article {
    background: var(--beige_l);
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 50px;
}
article h2 {
    border: none;
    font-size: 23px;
    text-align: center;
    border-radius: 5px;
    padding: 0;
    margin-bottom: 15px;
}
article h2 + p {
    text-align: center;
}
article ul:nth-of-type(1) {
	display: flex;
	justify-content: center;
	gap: 20px;
	margin: 15px 0;
}
article ul:nth-of-type(1) li {
	display: flex;
	align-items: center;
	color: var(--brown_d);
	font-size: 18px;
	font-weight: bold;
	line-height: 1.2
}
article ul:nth-of-type(1) span {
	display: block;
	color: var(--white);
	font-size: 16px;
	font-weight: bold;
	background-color: var(--brown_d);
	border-radius: 5px;
	padding: 5px 10px;
	margin-right: 5px;
}
article ul:nth-of-type(2) li {
	padding: 20px 10px;
	background-color: var(--white);
	border: solid 1px var(--gray);
	border-radius: 5px;
	text-align: center;
}
article ul:nth-of-type(2) li + li {
	margin-top: 10px;
}
article h3 {
	padding-left: 40px;
	line-height: 1.5;
	margin-bottom: 10px;
}
article li:nth-of-type(1) h3 {
	background: url(/img/icon/title-tel.svg) no-repeat 60px 0 / 30px 30px;
}
article li:nth-of-type(2) h3 {
	background: url(/img/icon/title-mail.svg) no-repeat 60px 0 / 30px 30px;
}
article li:nth-of-type(1) a {
	display: inline-block;
	font-size: 42px;
	line-height: 1;
	font-weight: bold;
	color: #53392B;
	margin-top: 15px;
}
article .button-brown {
	margin-top: 12px;
	width: 300px;
}


/*//////
アンサーページ/////*/

/*アンサー*/
#ans {
    background: var(--beige_l);
    border-radius: 5px;
    padding: 20px;
}
#ans h1 {
    font-size: 20px;
    line-height: 1.7;
    text-indent: -1.5em;
    border-bottom: none;
    padding: 0 0 0 1.5em;
}
#ans h1 + div {
    background: var(--white);
    border-radius: 5px;
    padding: 20px;
}
#ans h2 {
    font-size: 18px;
    line-height: 1.6;
    text-indent: -1.5em;
    border-bottom: none;
    padding: 0 0 0 1.5em;
    margin-bottom: 0;
}
#ans h2::before, .q_list dd::before {
    content: 'A';
	display: inline-block;
	width: 25px;
	height: 25px;
	margin-right: 7px;
	font-size: 16px;
	color: var(--white);
	font-weight: bold;
	text-align: center;
    text-indent: 0;
	background-color: var(--blue_d);
	border-radius: 20px;
}

#ans h3 {
    font-size: 18px;
    line-height: 1.2;
	position: relative;
	border-bottom: 2px solid var(--brown_l);
    margin: 50px 0 15px 0;
}
#ans h4 {
    font-size: 18px;
    font-weight: normal;
    padding-left: 5px;
    border-left: solid 7px var(--brown_l);
    margin: 50px 0 15px 0;
}
#ans div p b a {
    font-weight: bold;
}
#ans div p:not(.product_list1 p):not(tfoot p) {
    margin: 15px 0;
}
#ans .img_box {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}
#ans .img_box img {
    max-width: 380px;
}

#ans .button-brown {
    width: fit-content;
    min-width: 270px;
}
#ans .button-brown.arrow-white {
    padding-right: 30px;
    padding-left: 25px;
}

#ans .product_list1 {
    margin: 20px 0;
}
#ans .product_box {
    width: 380px;
    border: solid 1px var(--gray);
    border-radius: 5px;
    box-shadow: 1px 1px 2px rgb(0, 0, 0, 0.2);
    padding: 10px;
}
.product_box + .product_box {
    border: none;
    margin-top: 10px;
}
#ans .photoimg + p {
    width: 190px;
	float: right;
    min-height: 47px;
	max-height: 70px;
	font-size: 18px;
	font-weight: normal;
	color: var(--blue_l);
	line-height: 1.3;
	overflow: hidden;
	margin: 0;
}
#ans .product_box a div:has(img) {
    width: 155px;
    height: 155px;
}
#ans .photoimg img {
    width: 155px;
    height: 155px;
}
#ans .product_box .priceBox {
    width: 190px;
}
#ans .product_list1 .delivery_size {
    float: right;
    width: 190px;
    clear: none;
    text-align: center;
    padding-left: 0;
}
#ans .ds-mail ul li, #ans .ds-mail img {
    width: 170px;
}



#ans table {
    width: 100%;
    table-layout: fixed;
    margin-top: 20px;
}
#ans caption {
    font-size: 18px;
    font-weight: bold;
    color: var(--brown_d);
    text-align: left;
}
#ans thead th{
    background: var(--gray_l);
    font-weight: bold;
}
#ans tfoot td{
    border: none;
    padding: 5px;
    text-align: right;
}
#ans tfoot a {
    font-size: 15px;
    color: var(--blue_l);
}
#ans tfoot p {
    padding: 0;
}
#ans div + ul {
    font-size: 14px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 20px;
}

#ans h1 + div + ul li:first-of-type a {
    color: var(--blue_l);
    position: relative;
    padding-left: 15px;
}
#ans h1 + div + ul li:first-of-type a::before {
    content: "";
	display: inline-block;
    vertical-align: middle;
    color: var(--blue_l);
    line-height: 1;
    width: 0;
    height: 0;
    border-style: solid;
    border-color: transparent;
    border-width: 5px 8px;
    border-right-color: currentColor;
    border-left: 0;
	position: absolute;
	left: 0;
	top: 3px;
}
#ans h1 + div + ul li:last-of-type {
    color: var(--gray_d);
}

/*アンケート*/
#survey_step1 p, #survey_step2 p{
    font-size: 16px;
    text-align: center;
    margin-bottom: 10px;
}
#survey_step1 ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}
#survey_step1 li{
    border: solid 1px var(--gray);
    border-radius: 5px;
}
#survey_step1 li a {
    display: block;
    width: 135px;
    padding: 15px 15px 15px 70px;
}
#survey_step1 li:first-of-type a {
    background: url(/img/hakomaru/hakomaru-face_smile.svg) no-repeat 25px 9px / 35px 35px;
}
#survey_step1 li:last-of-type a {
    background: url(/img/hakomaru/hakomaru-face_frown.svg) no-repeat 25px 9px / 35px 35px;
}
#survey_step2 ul {
    border: solid 1px var(--gray);
    border-radius: 5px;
    width: 450px;
    padding: 15px;
    margin: 0 auto;
}
#survey_step2 .click {
    display: block;
    background: var(--gray_l);
    border: solid 1px var(--gray);
    border-radius: 5px;
    padding: 5px 10px;
    margin: 10px auto 0;
}
#survey_step3 {
    width: 450px;
    background: var(--pink_l);
    border-radius: 5px;
    text-align: center;
    padding: 15px;
    margin: 0 auto;
}

/*関連する質問*/
main + section h2 {
    border: none;
    font-size: 20px;
    padding: 0 0 0 30px;
    margin: 0 0 5px 0;
    background: url(/img/icon/title-book.svg) no-repeat top left / 23px 23px;
}

/*検索結果*/
#search_results {
    margin-bottom: 20px;
}
#search_results h2 {
    border-bottom: none;
    font-size: 18px;
    padding: 0;
    margin-bottom: 5px;
}
#search_results ul {
    background: var(--gray_l);
    border-radius: 5px;
    padding: 15px 15px 8px 15px;
}
#search_results li {
    display: inline-block;
	margin: 0 5px 7px 0;
}
#search_results label.checkbox {
	display: block;
	height: 26px;
	line-height: 25px;
	padding: 0 10px;
	background: var(--white);
	border: solid 1px var(--blue_l);
	border-radius: 3px;
	cursor: pointer;
	color: var(--blue_l);
}
#search_results label:hover {
	opacity: 0.8;
}

/*検索結果0件*/
#search_no {
    position: relative;
}
#search_no::after {
	display: block;
	content: '';
	background: url(/img/hakomaru/hakomaru-sorry.png) no-repeat;
	background-size: 100px;
	width: 100px;
	height: 100px;
	position: absolute;
	top: 0px;
	left: 0px;
}
#search_no p {
    display: inline-block;
	margin-left: 115px;
    background: var(--gray_l);
	padding: 20px;
	border-radius: 10px;
	position: relative;
}
#search_no p::before {
	content: "";
	border: solid 13px transparent;
	border-top: solid 20px var(--gray_l);
	position: absolute;
	top: 40px;
	left: -25px;
	z-index: 1;
	transform: rotate(90deg);
}