/* --------------------------------------------------- */
/* レスポンシブ設定 */
/* --------------------------------------------------- */

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

    /* --------------------------------------------------- */
    /* 共通設定 */
    /* --------------------------------------------------- */
    .conpany .Induction_box a::after {
        right: 7%;
        top: 33%;
        content: " ";
        display: inline-block;
        border: 6px solid transparent;
        border-left-color: #FFFFFF;
        position: absolute;
    }

    .conpany .logo_img img {
        width: 100%;
    }

    .pc {
        display: none;
    }

    div#content {
        width: 100%;
    }

    div#sidebar {
        display: none;
    }

    div#wrapper {
        width: 100%;
        padding: 10px;
    }

    div#footer_in {
        width: 100%;
        padding: 0 10px;
    }

    html body {
        min-width: auto;
        padding-top: 15%;
        padding-bottom: 15%;
    }

    /* --------------------------------------------------- */
    /* ホーム */
    /* --------------------------------------------------- */

    .syorei ul li {
        width: 50%;
    }

    /* --------------------------------------------------- */
    /* ヘッダー */
    /* --------------------------------------------------- */

/*     #main_visual.top_fv {
        margin-top: 30px;
    } */

    div#main_visual_in {
        width: 100%;
    }

    .sp-header {
        position: fixed;
        left: 0;
        top: 0;
        width: 100%;
        z-index: 99;
    }

    .sp-header-in {
        width: 100%;
        overflow: hidden;
        border-bottom: 1px solid #c9caca;
        background-color: white;
    }

    .sp-logo {
        width: 40%;
        float: left;
    }

    .sp-logo a {
        display: block;
        padding: 2% 5px;
    }

    .sp-logo a img {
        margin: auto;
    }

    .sp-botan {
        width: 45%;
        float: right;
    }

    .sp-botan ul {
        display: table;
        table-layout: fixed;
        width: 100%;
    }

    .sp-botan ul li {
        display: table-cell;
        vertical-align: top;
        text-align: center;
    }

    .sp-botan ul li label {
        display: block;
        background-image: url(http://eikou-chiin.com/toyota/wp-content/uploads/2024/06/close-icon.png);
        background-size: 100%;
        transition: 0.2s;
    }

    .sp-botan ul li label img {
        transition: 0.2s;
    }

    .sp-botan ul li img {
        height: auto;
    }

    /* --------------------------------------------------- */
    /* グローバルナビ */
    /* --------------------------------------------------- */

    .sp-menu {
        overflow: hidden;
        opacity: 0;
        height: auto;
        max-height: 0;
        transition: 0.2s;
        background-color: #c9caca;
    }

    input#sp-menu:checked+.sp-header .sp-menu {
        opacity: 1;
        max-height: 100vh;
    }

    input#sp-menu:checked+.sp-header label img {
        opacity: 0;
    }

    .sp-menu ul {
        width: 100%;
        overflow: hidden;
        border-left: 1px solid white;
        border-top: 1px solid white;
    }

    .sp-menu ul li {
        width: 50%;
        float: left;
    }

    .sp-menu ul li:last-of-type:nth-of-type(odd) {
        width: 100%;
    }

    .sp-menu ul li a {
        display: block;
        padding: 15px;
        font-weight: bold;
        color: white;
        text-decoration: none;
        text-align: center;
        background-color: #c9caca;
        border-right: 1px solid white;
        border-bottom: 1px solid white;
    }

    /* --------------------------------------------------- */
    /* フッター */
    /* --------------------------------------------------- */

    div#footer_in .box_left,
    div#footer_in .box_right {
        width: 100%;
        float: none;
    }

    p.copyright {
        width: 100%;
    }

    div#footer {
        border-top: 5px solid #c9caca;
    }

    div#footer_in {
        background: none;
    }

    p.footer-title {
        font-weight: bold;
        color: #413247;
        font-size: 16px;
        border-bottom: 1px solid #413247;
        padding: 5px 0;
    }

    .footer-menu ul {
        width: 100%;
        overflow: hidden;
        border-left: 1px solid #c9caca;
        border-top: 1px solid #c9caca;
        margin: 1em 0;
    }

    .footer-menu ul li {
        width: 100%;
        float: left;
    }

    .footer-menu ul li a {
        display: block;
        border-right: 1px solid #c9caca;
        border-bottom: 1px solid #c9caca;
        background-color: white;
        color: #413247;
        font-weight: bold;
        text-decoration: none;
        font-size: 14px;
        padding: 15px;
    }

    .footer-menu ul li a::before {
        content: " ";
        display: inline-block;
        border: 5px solid transparent;
        border-left-color: #5f5d5d;
        margin-right: 10px;
    }

    /*------------------------対応症状一覧--------------------------*/
    .footer-menu .color-chen {
        width: 100%;
        overflow: hidden;
        border-left: 1px solid #b2843d;
        border-top: 1px solid #b2843d;
        margin: 1em 0;
    }

    .footer-menu .color-chen li a {
        display: block;
        border-right: 1px solid #b2843d;
        border-bottom: 1px solid #b2843d;
        background-color: white;
        color: #413247;
        font-weight: bold;
        text-decoration: none;
        font-size: 14px;
        padding: 15px;
    }

    .footer-menu .color-chen li a::before {
        content: " ";
        display: inline-block;
        border: 5px solid transparent;
        border-left-color: #462852;
        margin-right: 10px;
    }

    /*------------------------対応症状一覧--------------------------*/

    ul.footer-company-sp {
        width: 100%;
        overflow: hidden;
        margin: 1em 0;
    }

    div#footer_in .box_left {
        padding: 10px 0;
    }

    div#footer_in .box_left img {
        margin: auto;
    }

    ul.footer-company-sp li {
        margin-bottom: 1em;
    }

    ul.footer-company-sp li span {
        display: block;
        color: #413247;
        font-size: 14px;
    }

    ul.footer-company-sp li span:first-of-type {
        font-weight: bold;
        padding-bottom: 5px;
        margin-bottom: 5px;
        border-bottom: 1px dotted #413247;
    }

    .footer-popup ul {
        width: 100%;
        display: table;
        background-color: white;
        table-layout: fixed;
        position: fixed;
        left: 0;
        bottom: 0;
        z-index: 10;
    }

    .footer-popup ul li {
        display: table-cell;
        vertical-align: middle;
    }

    /* --------------------------------------------------- */
    /* その他 */
    /* --------------------------------------------------- */

    .page-contact {
        padding: 10px;
    }

    .flow-img {
        width: 100%;
        float: none;
        margin-bottom: 1em;
    }

    .flow-text {
        width: 100%;
        float: none;
    }

    img.img-r {
        float: none;
        margin-left: 0;
        margin: auto;
        margin-bottom: 1em;
    }

    img.img-l {
        float: none;
        margin-right: 0;
        margin: auto;
        margin-bottom: 1em;
    }

    .menu-box {
        padding: 10px;
    }

    .syorei-box ul li {
        width: 50%;
    }

    .syorei-box ul li a span.syorei-botan {
        width: 100%;
    }

    .float-l,
    .float-r {
        width: 100%;
    }

    a.top-link-botan {
        width: 100%;
        font-size: 18px;
    }

    #main_visual {
        padding: 0;
        background-size: auto 100%;
    }

    html table.table {
        margin-bottom: 2em;
    }

    table.table th {
        text-align: left;
    }

    table.table,
    table.table tbody,
    table.table tr,
    table.table th,
    table.table td {
        display: block;
        margin-bottom: 1px;
        width: 100%;
    }

    .staff-block ul li {
        width: 50%;
    }

    .point_box {
        flex-direction: column;
    }

    #content .point_box figure {
        max-width: 100%;
    }

    #content .point_box p {
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .f_box_point {
        padding: 0 6%;
        text-align: justify;
    }

    .f_box_point>div {
        width: 100%;
    }

    .f_box_point figure {
        max-width: 200px;
        width: 80%;
        margin: 0 auto;
    }

    #content .f_box_point p {
        font-size: 1em;
        max-width: 340px;
        margin: 1em auto;
    }

    .f_box_point .top-visual_box {
        background-color: #e15a2b;
    }

    .top-visual_box .f_merit_box {
        flex-wrap: wrap;
        padding: 5px 0;
    }

    .top-visual_box .f_merit_box p {
        width: 96%;
    }

    .top-visual_box .f_merit_box p {
        font-size: 1.3rem;
        margin: 10px auto;
        width: 48%;
        padding: 13px;
    }

    .top-visual_box .f_merit_box p:last-child {
        margin-top: 0;
    }

    .g-map iframe {
        height: 250px;
    }

    .list-6 ul li,
    .list-8 ul li {
        width: 50%;
    }

    .intyo img {
        float: none;
        margin-right: 0;
        width: 50%;
        margin: auto;
        margin-bottom: 1em;
    }

    .news-top>span {
        font-size: 18px;
    }

    .page-contact iframe {
        height: 250px;
    }

    .first-float img {
        float: none;
        width: 50%;
        margin: auto;
        margin-bottom: 1em;
    }

    .price table.table th {
        width: 100%;
    }

    .staff-block img {
        width: 70%;
        float: none;
        margin: auto;
        display: block;
        margin-bottom: 1em;
    }

    .table.contact th {
        width: 100%;
    }

    .contact-botan input {
        width: 100%;
    }

    .contact-botan input:last-of-type {
        float: none;
    }

    .breadcrumb-area {
        display: none;
    }

    .conpany_box .conpany {
        width: 100%;
    }

    .conpany_box .conpany ul {
        width: 95%;
        margin: auto;
    }

    .conpany_box .conpany ul li {
        width: 48.4444%;
        margin-bottom: 3%;
        margin-right: 3%;
        padding: 3%;
    }

    .conpany_box .gloup_text {
        width: 95%;
        font-size: 23px;
        margin-bottom: 25px;
    }

    .conpany_box .conpany ul li:nth-of-type(even) {
        margin-right: 0px;
    }

    .Induction_box {
        font-size: 14px;
    }

    .group_img {
        margin-bottom: 12px;
    }

    .conpany .Induction_box a::before {
        left: 29%;
        top: 35%;
    }

    .staff-move iframe {
        height: 55vw;
    }

    /*ワンカラムページ用*/

    .center {
        padding: 0 5%;
    }

    .padding-block {
        padding: 40px 0;
    }

    .sango-youtub {
        width: 100%;
        float: none;
        margin-right: 0;
        padding: 0;
    }

    .sango-youtub iframe {
        height: 50vw;
    }

    .sango-nayami ul {
        padding: 0 15px;
    }

    .sango-nayami ul li {
        font-size: 14px;
        padding: 15px 0;
        padding-left: 30px;
        background-size: 20px;
    }

    .back-2 {
        background: none;
        background-color: #fcf6ff;
    }

    .back-3 {
        background: none;
    }

    .back-2 .center,
    .back-3 .center {
        padding: 0 5%;
    }

    .q-a ul li .q {
        font-size: 16px;
    }

    .q-a ul li .a {
        font-size: 14px;
    }

}

@media all and (max-width: 350px) {

    div#content h2,
    .news-top>span,
    .news-top-in .post-list a {
        font-size: 16px;
    }
}

  /*--------------ここからpopupのcss--------------*/
 .modal,
 .modal__bg,
 .modal__content,
 div#popuptel_wrap div.popuptel_inner ul,
 .modal__content li,
 .modal__content li a {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

 .modal {
    display: flex;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    justify-content: center;
    align-items: center;
    width: 100vw;
    z-index: 99999999999999999999999999;
}
 .modal__bg {
    cursor: pointer;
    background: rgba(0,0,0,0.8);
    height: 100vh;
    position: absolute;
    width: 100%;
}
 #popuptel_wrap {
    display: none;
  justify-content: center;
  align-items: center;
  width: 100vw;
  z-index: 99999999999999999999999999;
}
 div#popuptel_wrap div.popuptel_inner {
   background-color: #fff;
   border-radius: 8px;
   display: block;
   margin-bottom: 15vw;
   width: 84vw;
   height: auto;  
   padding: 7vw 0;
   z-index: 0;
  margin: auto
}
div#popuptel_wrap div.popuptel_inner > p{
  font-size: 4.5vw;
  line-height: 1.35em;
  font-weight: bold;
  text-align: center;
  display: block;
  color: #5c2f0d;
  font-family: "Noto Sans Japanese", "Meiryo", "メイリオ", "MS PGothic", "MS Pゴシック", sans-serif;
}
div#popuptel_wrap div.popuptel_inner ul{
  width: 100%;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  padding: 3.5vw 5vw;
  background: #f7e4ff;
  margin: 3.5vw 0 4vw;
}
div#popuptel_wrap div.popuptel_inner ul li{
  width: 45%;
  margin: 0 auto;
  border-radius: 1.5vw;
  padding-bottom: 3vw;
  list-style: none;
}
div#popuptel_wrap div.popuptel_inner ul li:nth-child(1) {
  background: #602d76;
}
div#popuptel_wrap div.popuptel_inner ul li:nth-child(2) {
  background: #b485c7;
}
div#popuptel_wrap div.popuptel_inner ul.south li:nth-child(1) {
    background: #4f2b7f;
}
div#popuptel_wrap div.popuptel_inner ul.south li:nth-child(2) {
    background: #8985c7;
}
div#popuptel_wrap div.popuptel_inner ul li a{
  display: block;
  text-decoration: none;
  color: #fff;
  font-size: 3.75vw;
}
div#popuptel_wrap div.popuptel_inner ul li span{
  width: 9vw;
  background-color: #fff;
  height: 9vw;
  border-radius: 800px;
  text-align: center;
  display: flex;
  align-items: center;
  margin: 3vw auto;
}
div#popuptel_wrap div.popuptel_inner ul li span i{
  margin: 0 auto;
  font-size: 4.2vw;
}
div#popuptel_wrap div.popuptel_inner ul li:nth-child(1) span i {
  color: #602d76;
}
div#popuptel_wrap div.popuptel_inner ul li:nth-child(2) span i {
  color: #b485c7;
}
div#popuptel_wrap div.popuptel_inner ul.south li:nth-child(1) span i {
  color: #4f2b7f;
}
div#popuptel_wrap div.popuptel_inner ul.south li:nth-child(2) span i {
  color: #8985c7;
}
div#popuptel_wrap div.popuptel_inner ul li b{
  text-align: center;
  display: block;
}
div#popuptel_wrap div.popuptel_inner label{
  background-color: #602d76;
  width: 80%;
  border-radius: 5000px;
  text-align: center;
  display: block;
  padding: 1.25vw;
  position: relative;
  color: #fff;
  max-width: 280px;
  margin: 0vw auto 0;
}
div#popuptel_wrap div.popuptel_inner ul.south {
    background: #d3cae5;
}
div#popuptel_wrap div.popuptel_inner label::before{
  border-left: 2px solid ;
  border-top: 2px solid ;
  border-color: #fff;
  content: "";
  height: 6px;
  position: absolute;
  right: 15px;
  top: 45%;
  -moz-transform: rotate(135deg);
  -webkit-transform: rotate(135deg);
  -ms-transform: rotate(135deg);
  transform: rotate(135deg);
  width: 6px;  
}
div#popuptel_wrap div.popuptel_inner > p.pointText {
    padding: 0 7% 3%;
    font-size: .8em;
}
/* Web */
.contact-web .fa-mobile-alt:before {
    content:"\f003";
}
.contact-web div#popuptel_wrap div.popuptel_inner ul li:nth-child(1) {
    background: #ffa50d;
}
.contact-web  div#popuptel_wrap div.popuptel_inner ul li:nth-child(2) span i {
    color: #ff7700;
}
.contact-web div#popuptel_wrap div.popuptel_inner label{
    background-color: #ffa50d;
}
.contact-web div#popuptel_wrap div.popuptel_inner ul li:nth-child(1) span i {
    color: #ffa50d;
}
.contact-web div#popuptel_wrap div.popuptel_inner ul li:nth-child(2) {
    background: #ff7700;
}
.contact-web div#popuptel_wrap div.popuptel_inner ul {
    background: #fff0d6;
}
/* Web */
/* LINE */
.contact-LINE .fa-mobile-alt:before {
    content:"\f0e5";
}
.contact-LINE div#popuptel_wrap div.popuptel_inner ul li:nth-child(1) {
    background: #79bf29;
}
.contact-LINE  div#popuptel_wrap div.popuptel_inner ul li:nth-child(2) span i {
    color: #47a940;
}
.contact-LINE div#popuptel_wrap div.popuptel_inner label{
    background-color: #79bf29;
}
.contact-LINE div#popuptel_wrap div.popuptel_inner ul li:nth-child(1) span i {
    color: #79bf29;
}
.contact-LINE div#popuptel_wrap div.popuptel_inner ul li:nth-child(2) {
    background: #47a940;
}
.contact-LINE div#popuptel_wrap div.popuptel_inner ul {
    background: #ecffd5;
}
/* LINE */
/*    labelCSS*/
input#sp-popup-minami:checked + #popuptel_wrap {
    display: flex; 
}

input#sp-popup-mail:checked + #popuptel_wrap {
    display: flex; 
}

input#sp-popup-LINE:checked + #popuptel_wrap {
    display: flex; 
}

input#sp-popup:checked + #popuptel_wrap {
    display: flex; 
}

@media screen and ( min-width:768px ) {
  #popuptel_wrap {
      display: none!important;
  }
}

/*2022/02/02|追記*/
@media screen and (max-width: 768px){
    .group_img {
        margin-bottom: 12px;
    }

    ul.riyu-list li {
        width: 100%;
    }

    ul.riyu-list li img {
        width: 80%;
        margin: auto;
    }

    ul.riyu-list li span {
        font-size: 5vw;
        text-align: left;
    }

    .img-float-block img, .img-float-block.img-right img {
        width: 80%;
        float: none;
        margin: auto;
    }

    table.table th {
        border-right: none;
        border-bottom: none;
    }
.voice {
display: block;
}
.voice img{
width: 70%;
}
}
