
/* FAQ用CSS */

/* font awesome */




/* 各項目ページテキスト */


.faq {
  margin-bottom: 32px; /* 各Q&Aの下に余白 */
}

.faq__dt, .faq__dd {
  position: relative;
  padding-left: 24px;
}

.faq__dt::before, .faq__dd::before {
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

.faq__dt {
  font-weight: bold; /* 質問文は太字にしてみました */
  font-size: 1rem;
  line-height: 200%;
  border-bottom: 1px solid #999;
  margin-bottom: 15px; /* 下にちょい余白 */
}
.faq__dd {
  font-size: 0.8rem;
  line-height: 200%;
  margin-bottom: 15px; /* 下にちょい余白 */
}

.faq__dt::before {
  content: 'Q.';
  color: #c80021; /* 「Q」の文字色 */
}

.faq__dd::before {
  content: 'A.';
  color: #0085C8; /* 「A」の文字色 */
}




/* グリッド */

.faq-gridcontainer4_2 {
    display: grid;
    max-width: 1500px;
    width: 100%;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    margin: auto;
    gap: 1rem;
}

.faq-griditem {
    align-self: start;
}

/* テキスト */

h1.faq{
    font-size: 1.5rem;
    line-height: 2;
    font-weight: bold;
    margin:10px 0 10px;/*上 左右 下*/
}

h2.faq {
    font-size: 1.2rem;
    line-height: 2;
    font-weight: bold;
    margin:10px 0 10px;/*上 左右 下*/
}


/* ボタン */

.faq_inquiry_a a {
    font-size: 16px;
    display: block;
    border: 0px solid #81a966;
    color: #fff;
    background: #81a966;
    max-width: 400px;
    width: 80%;
    padding: 11px 0;
    margin: 20px auto;
    text-align: center;
    border-radius: 5px;
}


.faq_item_a a{
    font-size: 0.9rem;
    line-height:2;
    display: block;
    border: 0px solid #666;
    color: #666;
    background: #f9f9f9;
    width: 100%;
    padding: 20px 0;
    text-align: center;
    border-radius: 5px;
}


/* アンカーリンク高さ調整 */
.alink_wrap{
    padding-top: 80px;
    }


.alink{
    padding-top: 80px;
    margin-top: -80px;
    }





p.faq_text00 {
    font-size: 0.8rem;
    font-weight: bold;
    line-height: 1.8;
}
p.faq_text01 {
    font-size: 0.8rem;
    line-height: 1.8;
}


.faq_tdbb{
  border-bottom: solid 2px black;
}
.faq_tdb {
  border-top: solid 2px #000000;/*上線*/
  padding: 0.3em 0;/*上下の余白*/
  border-bottom: solid 2px #000000;/*下線*/
}
.faq_tdbgcolor {
  background: #c0c0c0;/*背景色*/
  padding: 0.5em;/*文字まわり（上下左右）の余白*/
}



.faq-card01 {
    width: 100%;
    background: rgba(126, 126, 126, 0.08);
    margin: 10px 0;
    padding: 12px;
    position: relative;
}
.faq-card02 {
    display: block;
    background: #ffffff;
    margin: auto;
    padding: 10px;
    width: 50%;
}
.faq-card03 {
    display: block;
    background: rgba(126, 126, 126, 0.08);
    margin: auto;
    padding: 10px;
    width: 50%;
}




.faq_line_fix {
  width: 1px;
  height: 150px;
  background-color: #999999;
}


.faq-img01 {
    max-width: 100%;
}
.faq-img02 {
    max-width: 100%;
}
.faq-img03 {

    width: 100%;
    height: 400px;
    object-fit: cover;

}

.pimg {
  flex-basis: 50%;
  align-self: auto;
}
.ptext {
    flex-basis: 50%;
    align-self: auto;
    text-align: left;
    padding: 0 20px 20px 20px;
}


.faqdt {
	    float: left ;
	    margin-right: 0.5em ;
	    width: 120px ;
}
.faqdd {
	    float: left ;
	    margin-left: 1em ;
}




/* ROOT CO. お問い合わせページ専用CSS */

.q_contact-main {
    width: 100%;
    max-width: 800px;
    margin: 100px auto 60px;
    padding: 0 20px;
    color: #222;
    font-size: 0.9rem;
    line-height: 2;
    box-sizing: border-box;
}

.q_contact-main *,
.q_contact-main *::before,
.q_contact-main *::after {
    box-sizing: border-box;
}

.q_page-heading {
    margin: 10px 0;
    font-size: 1.5rem;
    line-height: 2;
    font-weight: bold;
    text-align: center;
}

.q_heading-line {
    width: 40px;
    height: 2px;
    margin: 10px auto 25px;
    background: #5D653B;
}

.q_intro-text {
    margin: 0 auto 30px;
    font-size: 0.9rem;
    line-height: 2;
    text-align: center;
}

.q_notice {
    width: 100%;
    margin: 20px auto 35px;
    padding: 20px;
    background: rgba(126, 126, 126, 0.08);
}

.q_notice-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
    font-size: 1rem;
    line-height: 2;
    font-weight: bold;
}

.q_info-icon {
    display: inline-flex;
    flex: 0 0 20px;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border: 1px solid #5D653B;
    border-radius: 50%;
    color: #5D653B;
    font-size: 12px;
    line-height: 1;
}

.q_notice-list {
    margin: 0;
    padding-left: 1.5em;
    font-size: 0.85rem;
    line-height: 2;
}

.q_notice-list li {
    margin-bottom: 8px;
    padding-left: 3px;
}

.q_notice-list li:last-child {
    margin-bottom: 0;
}

.q_policy-link {
    display: inline-block;
    margin-top: 12px;
    color: #065fd4;
    font-size: 0.85rem;
    font-weight: bold;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.q_email-section {
    margin: 0 auto 45px;
}

.q_email-label {
    margin: 0 0 12px;
    font-size: 0.9rem;
    font-weight: bold;
    text-align: center;
}

.q_email-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    width: 50%;
    padding: 12px 14px 12px 20px;
    border: 1px solid #dadada;
    border-radius: 40px;
    background-color: #f5f5f5;
    margin: auto;
}

.q_email-address {
    overflow-wrap: anywhere;
    font-size: 1rem;
    font-weight: bold;
    line-height: 1.6;
    margin: auto;
}

.q_copy-button {
    flex: 0 0 auto;
    padding: 10px 18px;
    border: none;
    border-radius: 40px;
    background: #3e3e3e;
    color: #fff;
    font-size: 0.85rem;
    line-height: 1.6;
    cursor: pointer;
}

.q_copy-button:hover {
    opacity: 0.8;
}

.q_copy-button:focus-visible {
    outline: 2px solid #5D653B;
    outline-offset: 3px;
}

.q_copy-feedback {
    min-height: 22px;
    margin: 5px 0 0;
    color: #666;
    font-size: 0.8rem;
    line-height: 1.6;
    text-align: right;
}

.q_requirements-heading {
    margin: 0 0 20px;
    font-size: 0.95rem;
    line-height: 2;
    font-weight: bold;
    text-align: left;
}

.q_requirements-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 50px;
}

.q_requirement-item {
    align-self: start;
    padding: 18px;
    border: 1px solid #dadada;
    border-radius: 5px;
}

.q_requirement-title {
    margin: 0 0 12px;
    font-size: 0.9rem;
    line-height: 1.8;
}

.q_requirement-list {
    margin: 0;
    padding-left: 1.5em;
    font-size: 0.9rem;
    line-height: 2;
}

.q_requirement-list li {
    margin-bottom: 5px;
    padding-left: 3px;
}

.q_requirement-note {
    margin: 8px 0 0;
    font-size: 0.85rem;
    line-height: 2;
}

/* スマートフォン */

@media screen and (max-width: 680px) {
    .q_contact-main {
        max-width: 95%;
        margin: 50px auto 30px;
        padding: 0;
    }

    .q_page-heading {
        font-size: 1.5rem;
    }

    .q_intro-text {
        text-align: left;
    }

    .q_notice {
        padding: 15px;
        margin-bottom: 30px;
    }

    .q_notice-list {
        font-size: 0.8rem;
    }

    .q_email-box {
        align-items: stretch;
        flex-direction: column;
        gap: 20px;
        padding: 15px;
        width: 90%;
        border-radius: 10px;
    }

    .q_email-address {
        font-size: 1.3rem;
    }

    .q_copy-button {
        width: 100%;
    }

    .q_copy-feedback {
        text-align: center;
    }

    .q_requirements-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .q_requirement-item {
        padding: 15px;
    }
}


/* ROOT CO. お問い合わせページ専用CSS */

@media screen and (max-width: 680px){
.faq-img01 {max-width: 70%; }
p.faq_text01 {text-align: left; }
.faq-card02 {width: 100%; }
.faq-card03 {width: 100%; }
.faqpc {display: none; }
.faqsp {display: inline; }
.faq-gridcontainer4_2 {grid-template-columns: 1fr 1fr;}
.faq-gridcontainer2_1 {grid-template-columns: 1fr;}
.faq-gridproduct1 {grid-template-columns: 1fr;}
.faq-gridproduct2 {grid-template-columns: 1fr;}
.faq-gridptext {order: 1}
.faq-gridpimg {order: 2;}
.product2_1 {flex-direction: column;}
.faq-gridpimg {margin: auto;}
.absolute_cy {top: 20px;}
.absolute_cy {left: 20px;}
.absolute_cy p {font-size: 5rem;}
    .relative_cyimg {width: 80%;}

}
@media screen and (min-width: 680px){
.faqpc {display: inline; }
.faqsp {display: none; }
}

