.bgimg-1,
.bgimg-1 img {
max-height: 400px;
}
.bgimg-1 {
position: relative;
background-position: bottom;
background-repeat: no-repeat;
background-size: cover;
width: 100%;
}
.bgimg-1::before {
content: '';
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
background-color: rgba(0, 0, 0, .4);
}
.caption {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
width: 60%;
color: white;
padding: 2rem 0 1.2rem;
border-top: 1px solid white;
border-bottom: 1px solid white;
}
.bgimg-1 .quote_open {
position: absolute;
top: -58px;
left: -5px;
width: 75px;
}
.bgimg-1 .quote_close {
position: absolute;
bottom: -58px;
right: 10px;
width: 75px;
transform: matrix(-1, 0, 0, 1, 0, 0);
}
.bgimg-1 p {
position: relative;
line-height: 1.2;
font-size: 1.8rem;
font-weight: 500;
font-style: italic;
text-align: center;
}
.bgimg-1 span {
display: inline-block;
font-size: 1.2rem;
}
.big_img_sign {
width: 100%;
display: flex;
align-items: center;
gap: .5rem;
padding: 0 4rem;
}
.line_sign {
width: 20px;
height: 1px;
background-color: var(--main-gold);
}
.span_sign {
line-height: 2;
font-size: 1rem;
} @media all and (max-width: 1200px) {
.caption {
width: 75%;
}
}
@media all and (max-width: 1100px) {
.caption span.border {
font-size: 2.2rem;
}
}
@media all and (max-width: 900px) {
.caption {
width: 85%;
}
}
@media all and (max-width: 850px) {
.bgimg-1 p {
font-size: 1.5rem;
}
.bgimg-1 .caption {
padding: 1rem 0 .2rem;
}
.bgimg-1 .relative {
padding: 1rem 2rem;
}
}
@media all and (max-width: 750px) {
.bgimg-1 p {
font-size: 1.2rem;
}
.bgimg-1 span {
font-size: .9rem;
}
}
@media all and (max-width: 700px) {
.bgimg-1 .quote_open {
width: 50px;
top: -44px;
}
.bgimg-1 .quote_close {
bottom: -44px;
width: 50px;
}
}
@media all and (max-width: 650px) {
.bgimg-1 p {
font-size: 1rem;
}
.bgimg-1 span {
font-size: .8rem;
}
}
@media all and (max-width: 480px) {
.bgimg-1 .relative {
padding: 1rem 0;
}
}