@charset "UTF-8";
/*////////////////////////
garb-public.jp
atmos.css
///////////////////////*/

#main_visual{
    background-image: url(../images/atmos/atmos_main.jpg);
}

.atmos_flex{
    display: flex;
    flex-wrap: wrap;
    margin: 10rem 0 8rem;
}

.atmos_cont{
    width: 100%;
    position: relative;
    margin-bottom: 10rem;
}

.atmos_cont img{
    border-radius: 2rem;
}

.atmos_cont h4{
    position: absolute;
    font-size: 9rem;
    font-weight: 700;
    -webkit-text-stroke: 10px #EEEAE1;
    paint-order: stroke;
    letter-spacing: 0;
}

.atmos_cont .txt{
    position: absolute;
    background-color: rgba(255, 255, 255, 0.85);
    padding: 1.5rem;
    border-radius: 1rem; 
}

.atmos_cont .txt p{
    font-size: 1.2rem;
    line-height: 2.2rem;
}

.atmos_cont .txt p a{
    color: #CE3A2B;
}

.atmos_cont .txt p span{
    display: inline-block;
    font-size: 1.6rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.cont01 h4{
    top: 1rem;
    right: 3rem;
}

.cont01 .img{
     width: 70%;
     margin: 0 0 0 2rem;   
}

.cont01 .txt{
    width: 75%;
    bottom: -4rem;
    right: 1rem;
}

.cont02{
    margin-bottom: 17rem;
}

.cont02 h4{
    top: -3rem;
    left: 2rem;
}

.cont02 .img{
    width: 85%;
    margin: 1rem 1.8rem 0 auto;  
}

.cont02 .txt{
    width: 90%;
    bottom: -11rem;
    left: 1rem;
}

.cont03 h4{
    top: -3rem;
    right: 2rem;
}

.cont03 .img{
    width: 75%;
    margin: 0 1.5rem 0 auto;
}

.cont03 .txt{
    left: 1rem;
    width: 60%;
    bottom: -10rem;
}

#macy-container{
    width: 90%;
    margin: 0 auto 8rem;
}

#macy-container img{
    border-radius: 1rem;
}


@media screen and (min-width:768px) {

#main_visual{
    background-image: url(../images/atmos/atmos_main_pc.jpg);
}

.atmos_flex {
    width: 90%;
    margin: 13rem auto 8rem;
}

.atmos_cont {
    width: 33%;
}

#macy-container {
    width: 85%;
}

.atmos_cont h4 {
    font-size: 8rem;
}

.atmos_cont .txt p {
    font-size: 1.4rem;
    line-height: 2.5rem;
}

.atmos_cont .txt p span {
    font-size: 1.8rem;
}

.cont01 .img {
    width: 80%;
    margin: 0;
}

.cont02 .img {
    width: 100%;
    margin: 9rem 0 0 0;
}

.cont03 .img {
    width: 85%;
    margin: 4rem 0 0 auto;
}

.cont01 h4 {
    right: 4rem;
}

.cont02 h4 {
    top: 5rem;
    left: 4rem;
}

.cont03 h4 {
    top: 0;
}

.cont01 .txt {
    width: 80%;
    bottom: -10rem;
    right: 5rem;
}

.cont02 .txt {
    width: 85%;
    bottom: -10rem;
}

.cont03 .txt {
    left: inherit;
    right: 2rem;
    width: 75%;
    bottom: -8rem;
}
}