﻿

/*** for PC Browser ***/
@media (min-width:401px)
{
.qa-6 {
margin:0 20px 5px 10px;
border-bottom: 2px solid #007354;
}

.qa-6 summary {
display: flex;
justify-content: space-between;
align-items: center;
position: relative;
padding: 1em 1em 1em 2.5em;
color: #333333;
font-weight: 600;
cursor: pointer;
}

.qa-6 summary::before,
.qa-6 p::before {
position: absolute;
left: 0.5em;
font-weight: 600;
font-size: 1.3em;
}

.qa-6 summary::before {
color: #1d60a3;
content: "Q";
}

.qa-6 summary::after {
transform: translateY(-25%) rotate(45deg);
width: 7px;
height: 7px;
margin-left: 10px;
border-bottom: 3px solid #333333b3;
border-right: 3px solid #333333b3;
content: '';
transition: transform .5s;
}

.qa-6[open] summary::after {
transform: rotate(225deg);
}

.qa-6 p ,
.qa-6 .answer{
position: relative;
transform: translateY(-10px);
opacity: 0;
margin: 0;
padding: .3em 2.5em 1.5em !important;
color: #333;
transition: transform .5s, opacity .5s;
}



.qa-6[open] p,
.qa-6[open] .answer {
transform: none;
opacity: 1;
}

.qa-6 p:first-of-type::before {
color: #c22e2e;
line-height: 1.2;
content: "A";
}
}


/*** for Smart Phone ***/
@media (max-width:400px)
{
.qa-6 {
margin:0 20px 5px 10px;
border-bottom: 2px solid #007354;
}

.qa-6 summary {
display: flex;
justify-content: space-between;
align-items: center;
position: relative;
padding: 1em 1em 1em 2.5em;
color: #333333;
font-weight: 600;
cursor: pointer;
}

.qa-6 summary::before,
.qa-6 p::before {
position: absolute;
left: 0.5em;
font-weight: 600;
font-size: 1.3em;
}

.qa-6 summary::before {
color: #1d60a3;
content: "Q";
}

.qa-6 summary::after {
transform: translateY(-25%) rotate(45deg);
width: 7px;
height: 7px;
margin-left: 10px;
border-bottom: 3px solid #333333b3;
border-right: 3px solid #333333b3;
content: '';
transition: transform .5s;
}

.qa-6[open] summary::after {
transform: rotate(225deg);
}

.qa-6 p ,
.qa-6 .answer{
position: relative;
transform: translateY(-10px);
opacity: 0;
margin: 0;
padding: .3em 2.5em 1.5em !important;
color: #333;
transition: transform .5s, opacity .5s;
}



.qa-6[open] p,
.qa-6[open] .answer {
transform: none;
opacity: 1;
}

.qa-6 p:first-of-type::before {
color: #c22e2e;
line-height: 1.2;
content: "A";
}
}
