@charset "UTF-8";
  main {
margin-top: -155px;
}
@media screen and (max-width:768px) {
main {
margin-top: 80px;
}
}
@media screen and (max-width:540px) {
main {
margin-top: 75px;
}
} .top_mv{
background-color:#F7F7F7;
width: 1400px;
margin: 0 auto;
}
.swiper-wrapper .swiper-slide {
height: 620px;
background-position: center center;
background-size: cover;
background-repeat: no-repeat; }
@media screen and (max-width:1400px) {
.top_mv{
width: auto;
}
}
@media screen and (max-width:768px) {
.swiper-wrapper .swiper-slide {
height: 320px;
background-position: bottom;
} }
@media screen and (max-width:540px) {
.swiper-wrapper .swiper-slide {
height: 240px;
} }
@media screen and (max-width:415px) {
.swiper-wrapper .swiper-slide {
height: 200px;
background-size: 120%;
}
} .top_notice {
margin-top: 40px;
} .top_notice  .jikangai{
width: 100%;
margin-bottom: 30px;
background: #FFF5F5;
border: #D2202B 2px solid; font-size: 1.85rem;
line-height: 1.5;
font-weight: bold;
padding: 15px 45px 15px 25px;
min-height: 70px;
display: flex;
align-items: center;
position: relative;
flex-wrap: wrap;
justify-content: center;
text-align: center;
}
.top_notice  .jikangai:after {
content: '';
width: 11px;
height: 11px;
border: 0px;
border-top: solid 2px #D2202B;
border-right: solid 2px #D2202B;
-ms-transform: rotate(45deg);
-webkit-transform: rotate(45deg);
transform: rotate(45deg);
position: absolute;
top: 42%;
right: 24px;
}/*/*/.topnews0909,
.top_notice .visit,
.top_notice .greeting {
width: 48%;
background: #F7F7F7;
}
.topnews0909{
font-size: 1.9rem;
font-weight: bold;
line-height: 1.6;
padding: 13px 16px;
border: 2px solid #ff0000;
}
.topnews0909 p span.txt_small{
font-size: 1.5rem;
font-weight: bold;
line-height:1.4;
}/**/.top_notice .visit {
position: relative;
display: flex;
justify-content: center;
align-items: center;
padding: 13px 20px;  border: 2px solid #234A95; font-weight: 700;
}
.top_notice .visit::after {
content: '';
width: 11px;
height: 11px;
border: 0px;  border-top: solid 2px #234a95;
border-right: solid 2px #234a95; -ms-transform: rotate(45deg);
-webkit-transform: rotate(45deg);
transform: rotate(45deg);
position: absolute;
top: 42%;
right: 24px;
}
.top_notice .visit a {
width: 75%;
color: #1c1c1c;
font-size: 1.6rem;
}
.top_notice .visit a p {
line-height: 1;
}
.top_notice .visit a p.theme {  color: #234a95;
font-size: 1.8rem; line-height: 2;
}
@media screen and (max-width: 900px) {
.top_notice .visit a {
width: 90%;
}
}
@media screen and (max-width: 415px) {
.top_notice .visit a {
width: 100%;
}
} .top_notice .greeting {
font-size: 1.8rem;
font-weight: bold;
line-height: 1.65;
border: 2px solid #79b725;
background: #f8fcdb;
}
.top_notice .greeting sup {
font: revert;
vertical-align: revert;
font-size: 1.1rem;
}
.top_notice .greeting figure {
width: 35.5%;
max-width: 170px;
align-self: center;
}
.top_notice .greeting .txt_area {
width: 64.5%;
display: flex;
justify-content: center;
align-items: center;
padding: 15px 45px 15px 15px;
position: relative;
}
.top_notice .greeting .txt_area::after {
content: '';
width: 11px;
height: 11px;
border: 0px;
border-top: solid 2px #214088;
border-right: solid 2px #214088;
-ms-transform: rotate(45deg);
-webkit-transform: rotate(45deg);
transform: rotate(45deg);
position: absolute;
top: 42%;
right: 24px;
}
@media screen and (max-width:1040px) {}
@media screen and (max-width:768px) {
.topnews0909{
font-size: 1.8rem;
line-height: 1.5;
margin: 0 auto;
width: 100%;
max-width: 480px;
}
.topnews0909 p span.txt_small{
font-size: 1.4rem;
line-height:1.3;
}
.top_notice .visit, .top_notice .greeting {
width: 100%;
max-width: 480px;
margin: 0 auto;
}
.top_notice .greeting {
margin-top: 30px;
} .top_notice .jikangai {
width: 100%;
max-width: 480px;
margin: 0 auto 30px;
}/*/*/}
@media screen and (max-width:540px) {
.top_notice {
margin-top: 23px;
}
.top_notice .visit {
font-size: 1.7rem;
padding: 11px 15px;
}
.top_notice .greeting {
margin-top: 18px;
font-size: 1.65rem;
}
.top_notice .greeting .txt_area {
padding: 11px 23px 11px 12px;
}
.top_notice .greeting .txt_area::after {
width: 8px;
height: 8px;
right: 13px;
}/**/.top_notice .jikangai {
margin: 0 auto 25px;
font-size: 1.7rem;
padding: 11px 23px 11px 12px;
}
.top_notice .jikangai::after {
width: 8px;
height: 8px;
right: 13px;
}/*/*/}
@media screen and (max-width:415px) {
.top_notice .visit {
font-size: 1.6rem;
}
.top_notice .greeting {
font-size: 1.45rem;
}/**/.top_notice .jikangai {
font-size: 1.55rem;
}/*/*/}/**/.notice_visit{
margin-top: 50px;
}
.notice_visit p{
border: #D2202B 2px solid;
font-size: 2rem;
font-weight: bold;
text-align: center;
background: #F7F7F7;
padding: 16px 15px;
line-height: 1.8;
}
.notice_visit a{
text-decoration: underline;
color: #234A95;
}
@media screen and (max-width:540px) {
.notice_visit {
margin-top: 20px;
}
.notice_visit p {
font-size: 1.7rem;
padding: 16px 10px;
}
}
@media screen and (max-width:415px) {
.notice_visit p {
font-size: 1.5rem;
padding: 12px 0px;
}
} .top_menu{
background: #F7F7F7;
padding: 30px 0;
}
.top_menu a{
width: 24%;
max-width: 240px;
}
@media screen and (max-width:1040px) {}
@media screen and (max-width:768px) {
.top_menu .inner {
max-width: 500px;
}
.top_menu a {
width: 48%;
}
.top_menu a:nth-of-type(-n+2) {
margin-bottom: 15px;
}
}
@media screen and (max-width:540px) {
.top_menu {
padding: 20px 0 25px;
}
.top_menu a:nth-of-type(-n+2) {
margin-bottom: 10px;
}
}
@media screen and (max-width:415px) {} .top_info {
background: #fff;
padding: 40px 0 70px;
}
.top_info .wrap_news{
width: 48%;
} .top_info .news .tabs {
width: 100%;
font-size: 0;
display: flex;
flex-wrap: wrap;
} .top_info .news .tab_item {
width: 49.6%;
height: 50px;
background-color: #ffffff;
border: #D8D8D8 1px solid;
border-bottom: 0;
font-size: 1.8rem;
font-weight: bold;
line-height: 1.2;
text-align: center;
border-radius: 6px 6px 0 0;
-webkit-transition: all .3s;
transition: all .3s;
cursor: pointer;
display: flex;
justify-content: center;
align-items: center;
}
.top_info .news .tab_item:hover {
background-color: #6384CB;
border: none;
color: #ffffff;
}
.top_info .news .tab_item:not(:last-of-type) {
margin-right: 0.8%;
} .top_info .news .tabs input[name="tab_item"] {
display: none;
} .tab_content {
display: none;
font-size: 1.5rem;
width: 100%;
} #tab_news:checked ~ #news_content, #tab_recruit:checked ~ #tab02_recruit {
display: block;
} .top_info .news .tabs input:checked + .tab_item {
background-color: #6384CB;
color: #ffffff;
pointer-events: none;
border: none;
}
.top_info .news .tab_content {
width: 100%;
margin-left: auto;
margin-right: auto;
border-top: #6384CB 4px solid;
}
.top_info .news .tab_content li {
border-bottom: #DDDDDD 0.5px solid;
}
.top_info .news .tab_content li a {
display: flex;
padding: 20px 30px 20px 8px;
position: relative; align-items: center;
}
.top_info .news .tab_content li a:after {
content: '';
width: 10px;
height: 10px;
border: 0px;
border-top: solid 2px #5978C2;
border-right: solid 2px #5978C2;
-ms-transform: rotate(45deg);
-webkit-transform: rotate(45deg);
transform: rotate(45deg);
position: absolute;
top: 42%;
right: 19px;
}
.top_info .news .tab_content li a > div {
display: flex;
align-items: center;
line-height: 1;
width: 140px;
}
.top_info .news .tab_content .date {
font-size: 1.2rem;
}
.top_info .news .tab_content .cat {
font-size: 1.1rem;
background: #6384CB;
color: #fff;
align-self: center;
padding: 3px 8px;
border-radius: 10px;
min-width: 60px;
text-align: center;
margin-left: 10px;
}
.top_info .news .tab_content .cat_red {
background: #E2626C;
}
.top_info .news .tab_content .ttl {
font-size: 1.5rem;
width: calc(100% - 150px);
line-height: 1.1;
}
.top_info .wrap_news .link_news_article{
width: 100%;
margin-top: 20px;
background: #FFF5F5;
border: #D2202B 2px solid;
color: #D91A29;
font-size: 1.85rem;
line-height: 1.5;
font-weight: bold;
padding: 15px 35px 15px 25px;
min-height: 70px;
display: flex;
align-items: center;
position: relative;
flex-wrap: wrap;
}
.top_info .wrap_news .link_news_article:after {
content: '';
width: 10px;
height: 10px;
border: 0px;
border-top: solid 2px #D2202B;
border-right: solid 2px #D2202B;
-ms-transform: rotate(45deg);
-webkit-transform: rotate(45deg);
transform: rotate(45deg);
position: absolute;
top: 42%;
right: 17px;
}
.top_info .wrap_news .link_news_article:hover{
background: #D2202B;
color: #fff;
opacity: 1;
}
.top_info .wrap_news .link_news_article:hover:after {
border-top: solid 2px #fff;
border-right: solid 2px #fff;
}
.top_info .time {
width: 48%;
max-width: 600px;
background: #F7F7F7;
border-top: #6384CB 3px solid;
padding: 22px 30px 30px;
}
.top_info .time h2 {
font-size: 2rem;
font-weight: bold;
text-align: center;
margin-bottom: 15px;
}
.top_info .time dl {
width: 100%;
max-width: 420px;
margin: 0 auto;
display: flex;
flex-wrap: wrap;
padding: 10px 0;
}
.top_info .time dl:first-of-type {
border-bottom: #D8D8D8 1px solid;
}
.top_info .time dt {
width: 160px;
color: #fff;
background: #79b725;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.6rem;
font-weight: bold;
}
.top_info .time dl:nth-of-type(2) dt {
background: #6384cb;
}
.top_info .time dd {
width: calc(100% - 160px);
padding-left: 27px;
}
.top_info .time dd p {
font-size: 1.6rem;
font-weight: bold;
display: flex;
justify-content: space-between;
line-height: 1.8;
}
.top_info .time .wrap_list_kome {
display: flex;
font-size: 1.4rem;
margin-top: 10px;
}
.top_info .time .wrap_list_kome a {
text-decoration: underline;
color: #234A95;
}
.top_info .time .wrap_priority {
margin-top: 30px;
}
.top_info .time .priority {
text-align:center;
line-height: 1.5;
}
.top_info .time .priority p {
font-size: 1.8rem;
font-weight: bold;
}
.top_info .time .priority a {
font-size: 2.8rem;
font-weight: bold;
color: #244079;
letter-spacing: 0.03em;
text-indent: 0.03em;
display: flex;
align-items: center;
justify-content: center;
}
.top_info .time .priority a span {
font-size: 1.8rem;
letter-spacing: normal;
text-indent: 0;
padding-right: 2px;
padding-top: 2px;
}
.top_info .time .wrap_priority .btn_tel {
display: none;
}
@media screen and (max-width:1040px) {
.top_info .time h2 {
margin-bottom: 5px;
}
.top_info .time dl {
justify-content: center;
padding: 15px 0;
}
.top_info .time dt {
width: 100%;
max-width: 250px;
margin-bottom: 8px;
}
.top_info .time dd {
width: 100%;
padding-left: 0;
max-width: 250px;
}
.top_info .time .priority p {
width: 100%;
text-align: center;
padding: 0;
margin-bottom: 5px;
}
}
@media screen and (max-width:768px) {
.top_info {
padding: 55px 0;
}
.top_info .wrap_news {
width: 100%;
max-width: 500px;
margin: 0 auto;
} .top_info .news .tab_item {
font-size: 1.7rem;
}
.top_info .news .tab_content {
padding: 10px 20px 0;
}
.top_info .news .tab_content li a {
flex-wrap: wrap;
padding: 17px 35px 17px 10px;
}
.top_info .news .tab_content .ttl {
width: 100%;
margin-top: 7px;
}
.top_info .time {
width: 100%;
max-width: 500px;
margin: 0 auto;
margin-top: 55px;
}
.top_info .time .wrap_list_kome {
justify-content: center;
}
}
@media screen and (max-width:540px) {
.top_info {
background: #ffffff;
padding: 20px 0 30px;
}
.top_info .inner {
width: 100%;
}
.top_info .wrap_news {
max-width: none;
}
.top_info .news .inner {
width: 100%;
}
.top_info .news .tab_item {
width: calc((100% - 15px) / 2);
height: 30px;
font-size: 1.3rem;
}
.top_info .news .tab_item:not(:last-of-type) {
margin-right: 3px;
margin-left: 6px;
}
.top_info .news .tab_item:last-of-type {
margin-right: 6px;
}
.top_info .news .tab_content {
padding: 5px 10px 0;
}
.top_info .news .tab_content li:last-of-type {
border:none;
}
.top_info .news .tab_content li a {
padding: 9px 20px 9px 0;
min-height: auto;
}
.top_info .news .tab_content li a:after {
right: 7px;
}
.top_info .news .tab_content .date {
font-size: 1.1rem;
}
.top_info .news .tab_content .ttl {
font-size: 1.5rem;
line-height: 1.6;
margin-top: 5px;
}
.top_info .wrap_news .link_news_article {
padding: 15px 35px 15px 10px;
min-height: 60px;
font-size: 1.5rem;
border-left: none;
border-right: none;
border-bottom: none;
margin-top: 0;
}
.top_info .time {
border-top: #234A95 2px solid;
padding: 0;
background: #fff;
margin-top: 0;
max-width: none;
}
.top_info .time h2 {
font-weight: bold;
min-height: 60px;
display: flex;
align-items: center;
justify-content: left;
padding: 0 10px;
font-size: 1.5rem;
text-align: left;
background: #F8F8F8;
margin: 0;
}
.top_info .time h2 span {
position: relative;
padding-right: 40px;
width: 100%;
}
.top_info .time h2 span::after {
position: absolute;
top: 0;
right: 9px;
content: '';
width: 10px;
height: 10px;
border: 0px;
border-top: solid 2px #333333;
border-right: solid 2px #333333;
-ms-transform: rotate(135deg) translateY(-50%);
-webkit-transform: rotate(135deg) translateY(-50%);
transform: rotate(135deg) translateY(-50%);
}
.top_info .time h2.active span::after {
top: 50%;
right: 2px;
-ms-transform: rotate(-45deg) translateY(-50%);
-webkit-transform: rotate(-45deg) translateY(-50%);
transform: rotate(-45deg) translateY(-50%);
}
.top_info .time_area {
background: #F8F8F8;
padding: 0 10px 10px;
display: none;
}
.top_info .time dl {
max-width: 380px;
padding: 8px 0;
}
.top_info .time dl:first-of-type {
border-bottom: #808080 0.5px solid;
padding-top: 5px;
}
.top_info .time dt {
width: calc(100% - 230px);
font-size: 1.3rem;
max-width: 150px;
height: 43px;
align-self: center;
}
.top_info .time dd p {
line-height: 1.6;
font-weight: normal;
}
.top_info .time dd {
width: 230px;
padding-left: 20px;
padding-right: 10px;
}
.top_info .time .wrap_list_kome {
padding: 20px 10px;
border-top: #6384CB 2px solid;
margin-top: 0;
}
.top_info .time .wrap_list_kome  ul.list_kome li {
font-size: 1.3rem;
}
.top_info .time .wrap_priority {
margin-top: 0;
padding: 0 10px;
}
.top_info .time .priority {
width: auto;
margin: 0;
}
.top_info .time .priority p {
font-weight: normal;
margin-bottom: 2px;
}
.top_info .time .priority a {
font-size: 2.6rem;
}
.top_info .time .priority a span {
display: none;
}
.top_info .time .wrap_priority .btn_tel {
width: 130px;
height: 40px;
display: flex;
justify-content: center;
align-items: center;
color: #fff;
background: #234A95;
border-radius: 4px;
font-weight: bold;
font-size: 1.4rem;
margin: 6px auto 0;
}
.top_info .time .wrap_priority .btn_tel img {
width: 17px;
height: auto;
margin-right: 9.5px;
align-self: center;
padding-bottom: 2px;
}
}
@media screen and (max-width:415px) {
.top_info .time .wrap_priority {
justify-content: space-between;
}
.top_info .time .priority {
margin-right: 0;
}
.top_info .time .wrap_priority .btn_tel {
width: calc(100% - 210px);
}
}
.top_info .no-smoking {
justify-content: center;
align-items: center;
padding: 13px 20px;
border: 2px solid #d2202b;
font-weight: 700;
}
.top_info .no-smoking .red{
color: #d2202b;
font-size: 2.4rem;
line-height: 2;
} .top_patient {
background: #EBF1FD;
padding: 70px 0 80px;
} .top_patient h2 {
text-align: center;
font-size: 2.4rem;
font-weight: bold;
}
.top_patient .area_btn {
max-width: 830px;
margin: 30px auto 0;
}
.top_patient .area_btn a {
background: #fff;
border-radius: 6px;
width: 18.073%;
height: 120px;
text-align: center;
padding: 5px;
margin-bottom: 20px;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 1.5px 1.5px 2px 0px rgb(0 0 0 / 25%);
}
.top_patient .area_btn a:hover {
opacity: 1;
background: #c4d6f9;
box-shadow:none;
}
.top_patient .area_btn a.outpatient img {
width: 31px;
}
.top_patient .area_btn a:nth-of-type(2) img {
width: 36px;
margin-top: -7px;
padding-bottom: 5px;
}
.top_patient .area_btn a:nth-of-type(3) img {
width: 36px;
}
.top_patient .area_btn a:nth-of-type(4) img {
width: 38px;
}
.top_patient .area_btn a:nth-of-type(5) img {
width: 34px;
margin-top: -7px;
}
.top_patient .area_btn a:nth-of-type(6) img {
width: 52px;
}
.top_patient .area_btn a:nth-of-type(7) img {
width: 40px;
}
.top_patient .area_btn a:nth-of-type(8) img {
width: 32px;
}
.top_patient .area_btn a:nth-of-type(9) img {
width: 40px;
}
.top_patient .area_btn a:nth-of-type(10) img {
width: 40px;
}
.top_patient .area_btn p {
font-size: 1.8rem;
font-weight: bold;
color: #234A95;
line-height: 1.2;
margin-top: 14px;
}
@media screen and (max-width:1040px) {
.top_patient .area_btn p {
font-size: 1.6rem;
line-height: 1.2;
}
}
@media screen and (max-width:768px) {
.top_patient {
padding: 55px 0 75px;
}
.top_patient .area_btn {
justify-content: center;
}
.top_patient .area_btn a {
width: calc(88% / 3);
margin: 0 2% 25px;
}
.top_patient .area_btn a:nth-of-type(2) {
display: none;
}
}
@media screen and (max-width:540px) {
.top_patient {
padding: 30px 0 25px;
}
.top_patient .txt01 {
font-size: 1.2rem;
font-weight: normal;
line-height: 1.5;
}
.top_patient h2 {
font-size: 1.95rem;
color: #234A95;
}
.top_patient .area_btn {
justify-content: space-between;
margin-top: 20px;
}
.top_patient .area_btn a {
width: 31.2%;
margin: 0 0 10px;
height: 105px;
}
.top_patient .area_btn p {
font-size: 1.4rem;
margin-top: 13px;
}
}
@media screen and (max-width:415px) {} .top_specialty {
background: #F8FCDB;
}
.top_specialty .specialty {
width: 50%;
padding: 47px 42.5px 40px;
text-align: center;
}
.top_specialty .specialty h2 {
font-size: 2.4rem;
font-weight: bold;
color: #79B726;
}
.top_specialty .specialty h2 + p {
font-size: 1.4rem;
line-height: 1.6;
margin-top: 12px;
}
.top_specialty .specialty .area_btn {
margin-top: 20px;
}
.top_specialty .specialty .area_btn a {
width: 48.2%;
max-width: 200px;
background: #79B726;
color: #fff;
border: 2px #fff solid;
border-radius: 6px;
height: 50px;
font-size: 1.6rem;
font-weight: bold;
display: flex;
justify-content: center;
align-items: center;
box-shadow: 1.5px 1.5px 2px 0px rgb(0 0 0 / 25%);
}
.top_specialty .specialty .area_btn a:not(:last-of-type) {
margin-bottom: 10px;
}
.top_specialty .reha {
width: 50%;
position: relative;
overflow: hidden;
}
.top_specialty .reha:after {
position: absolute;
content: "";
display: block;
width: 100%;
height: 100%;
top: 0;
background: url(//www.hachisuga.jp/wp-content/themes/hachisuga/images/top/rehabilitation.jpg) no-repeat left center;
-webkit-background-size: cover;
-moz-background-size: cover;
-ms-background-size: cover;
background-size: cover;
-webkit-transition: all .5s ease-out;
-moz-transition: all .5s ease-out;
-ms-transition: all .5s ease-out;
transition: all .5s ease-out;
}
.top_specialty .reha:hover:after {
opacity: .8;
-moz-transform: scale(1.2);
-webkit-transform: scale(1.2);
-ms-transform: scale(1.2);
transform: scale(1.2);
}
.top_specialty .reha a {
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
position: relative;
z-index: 1;
}
.top_specialty .reha a:hover {
opacity: 1;
}
.top_specialty .reha h2 {
background: rgba(255, 255, 255, 0.94);
color: #79B726;
font-size: 2rem;
font-weight: bold;
text-align: center;
padding: 45px 35px;
line-height: 1.75;
position: relative;
z-index: 2;
-webkit-transition: all .3s;
transition: all .3s;
}
.top_specialty .reha a:hover h2 {
background:  #79B726;
color: #fff;
}
@media screen and (max-width:1040px) {
.top_specialty .inner {
width: 100%;
}
.top_specialty .specialty {
padding: 55px 30px;
}
}
@media screen and (max-width:768px) {
.top_specialty .specialty {
padding: 40px 25px;
}
.top_specialty .specialty h2 {
font-size: 2.1rem;
}
.top_specialty .specialty .area_btn a {
font-size: 1.45rem;
}
}
@media screen and (max-width:540px) {
.top_specialty .specialty {
width: 100%;
padding: 40px 15px;
}
.top_specialty .specialty h2 {
font-size: 1.95rem;
}
.top_specialty .specialty h2 span {
display: none;
}
.top_specialty .specialty h2 + p {
font-size: 1.2rem;
margin-top: 10px;
}
.top_specialty .specialty .area_btn {
max-width: 420px;
margin: 20px auto 0;
}
.top_specialty .specialty .area_btn a {
height: 40px;
font-size: 1.4rem;
}
.top_specialty .specialty .area_btn a:not(:last-of-type) {
margin-bottom: 8px;
}
.top_specialty .reha {
width: 100%;
height: 260px;
}
.top_specialty .reha h2 {
background: rgba(255, 255, 255, 0.84);
font-size: 2.2rem;
}
.top_specialty .reha:after {
background: url(//www.hachisuga.jp/wp-content/themes/hachisuga/images/top/rehabilitation_sp.jpg) no-repeat center center;
-webkit-background-size: cover;
-moz-background-size: cover;
-ms-background-size: cover;
background-size: cover;
}
}
@media screen and (max-width:415px) {} .top_instagram .wrapper {
padding: 70px 0;
}
.top_instagram h4 a {
display: flex;
justify-content: center;
align-items: center;
column-gap: 20px;
margin: 0 auto;
width: 500px;
height: 120px;
background: #ebf1fd;
}
.top_instagram h4 a span {
position: relative;
padding-left: 30px;
font-size: 2.6rem;
color: #202020;
}
.top_instagram h4 a span::before {
content: "";
position: absolute;
top: 50%;
left: 0;
border-right: 2px solid #202020;
border-bottom: 2px solid #202020;
transform: rotate(-45deg) translateY(-50%);
width: 10px;
height: 10px;
}
.top_instagram h4 a img {
align-self: unset;
width: 40px;
}
@media screen and (max-width: 767px) {
.top_instagram h4 a {
width: 320px;
height: 80px;
}
.top_instagram h4 a span {
padding-left: 10px;
font-size: 1.8rem;
}
.top_instagram h4 a span::before {
width: 8px;
height: 8px;
}
.top_instagram h4 a img {
width: 24px;
}
}