.contact{ .grid{ display: grid; grid-template-columns: repeat(3,1fr); gap: 0.9rem; padding-bottom: 0.9rem; } .label{ font-size: 0.667rem; font-weight: normal; font-stretch: normal; line-height: 1rem; letter-spacing: 0rem; color: #000000; } .require::after{ content: "*"; color: #ff0000; } input{ height: 2.083rem; box-sizing: border-box; padding: 0 0.6rem; background-color: #ffffff; border: solid 1px #e5e5e5; font-size: 0.667rem; color: #000; width: 100%; box-sizing: border-box; &::placeholder { font-size: 0.667rem; color: #ffffff; } &:focus, &:hover{ outline: unset; border-color: #fff; } } button{ display: block; margin: 2rem auto; width: 7.5rem; height: 2.083rem; font-size: 0.667rem; color: #fff; background-color: #0671b9; } textarea{ width: 100%; display: block; padding: 0.6rem; box-sizing: border-box; background-color: #ffffff; border: solid 1px #e5e5e5; min-height: 6.25rem; &:focus, &:hover{ outline: unset; border-color: #fff; } } } .contact-type{ margin-bottom: 5rem; .map{ width: 100%; } .content{ display: flex; justify-content: space-between; padding-bottom: 2.5rem; li{ display: flex; flex-direction: column; align-items: center; font-size: 0.667rem; white-space: pre-line; text-align: center; &::before{ width: 4.167rem; height: 4.167rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.25rem; background-color: #0671b9; margin-bottom: 1rem; } img{ max-width:6.667rem; } } .scan{ flex-direction: row; gap: 2rem; } } } @media (max-width: 992px) { .contact .grid{ grid-template-columns: repeat(1,1fr); } .contact-type{ margin-bottom: 3rem; .content{ flex-wrap: wrap; gap: 1rem; li{ flex-direction: row; align-items: center; text-align: start; gap: .5rem; &::before{ width: 3rem; height:3rem; margin: 0; } } } } }