@charset "UTF-8";

/*問い合わせ*/

h2 {
  margin-top: 15%;
  text-align: center;
}

em {
  color: red;
}

.form {
  text-align: center;
}

/* input */
input {
  /* 背景色(任意の色を指定) */
  background-color: #eee;

  /* inputの枠線を消す */
  border: 1px solid transparent;
  transition: border 0.2s ease-out;

  /* 文字色を親から継承 */
  color: inherit;

  /* 任意の高さ */
  height: 46px;

  /*inputのフォーカス時の枠線を消す*/
  outline: 0;
}

/* inputにフォーカスが当たっている時 */
input:focus {
  border-bottom: 1px solid#e74c3c;
}

textarea {
  padding: 10px;
  border-radius: 0;
  resize: none;
  border: 1px solid transparent;
  transition: border 0.2s ease-out;
  outline: none;
  background-color: #eee;
}

textarea::-webkit-scrollbar {
  width: 10px;
}

textarea::-webkit-scrollbar-track {
  background-color: #eee;
}

textarea::-webkit-scrollbar-thumb {
  background-color: #ccc;
}

textarea:focus {
  border-bottom: 1px solid #e74c3c;
  box-shadow: none;
  outline: none;
}

button {
  background: #16a085;
  border: none;
  border-bottom: 4px solid #434343;
  border-radius: 4px;
  color: #FFF;
  display: table;
  font-weight: bold;
  line-height: 1;
  margin: 10px auto 0;
  outline: none;
  padding: 20px 40px;
  transition: background-color 0.2s ease-out, transform 0.2s ease-out, border-bottom 0.2s ease-out;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

button:hover,
button:focus {
  background: #1abc9c;
}

button:active {
  background: #006266;
  border-bottom: 4px solid transparent;
  transform: translateY(4px);
}

.grecaptcha-badge {
    bottom: 15% !important;
}

/**モバイル版**/
@media (max-width:600px){

      /*ヘッダー*/
      .header_wrapper {
        width: 100%;
        background-color: white;
        z-index: 100;
        position: fixed;
        margin: 0 auto;
        top:0;
        box-shadow: 4px 0px 4px;
      }

      .page-header{
        display: flex;
        width: 100%;
        height: 8vh;
        padding: 0 10vw;
        align-items: center;
        margin: 0 auto;
        text-align: center;
      }

      .rogo {
        padding-right: 0;
      }

      .rogo img {
        display: block;
        width: 10vw;
      }

      /*ハンバーガーメニュー　クリック前*/
      .nav_toggle_background {
        opacity: 0.9;
        z-index: 300;
        position: absolute;
        top: 2.5vh;
        left: 5vw;
      }
      .nav_toggle {
          display: block;
          position: relative;
          width: 1.75rem;
          height: 1.5rem;


      }
      .nav_toggle i {
          display: block;
          width: 100%;
          height: 3px;
          background-color: #333;
          position: absolute;
          transition: transform .5s, opacity .5s;

      }
      .nav_toggle i:nth-child(1) {
          top: 0;
      }
      .nav_toggle i:nth-child(2) {
          top: 0;
          bottom: 0;
          margin: auto;
      }
      .nav_toggle i:nth-child(3) {
          bottom: 0;
      }
      /*ハンバーガーメニュー　クリック後*/
      .nav_toggle.show i:nth-child(1) {
          transform: translateY(10px) rotate(-45deg);
      }
      .nav_toggle.show i:nth-child(2) {
          opacity: 0;
      }
      .nav_toggle.show i:nth-child(3) {
          transform: translateY(-12px) rotate(45deg);
      }


      /*メニューリストCSS　クリック前*/
      .nav {
          position: fixed;
          top: 0;
          left: 0;
          right: 0;
          bottom: 0;
          padding: 1rem;
          opacity: 0;
          visibility: hidden;
          transition: opacity .5s, visibility .5s;

      }

      /*ボタンCSS　クリック前*/
      .nav.show {
          opacity: 0.9;
          visibility: visible;
          background-color: #000;
          width: 100%;
          height: 100%;
          }

      .nav_menu_li{
          list-style: none;
      }

  /*pc版メニュー消す*/
      .main-nav{
        display: none;
      }

      /*メインビジュアル*/

      #slide h2 {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
        margin:0;
        padding:2vh 2vw;
        font-size: 1rem;
        line-height: 2.5;
        color: white;
        font-family:"ヒラギノ明朝 ProN W3",serif;
        background-color: rgba(48, 97, 20, 0.6);
      }

      #slide img {
        width: 100vw;
        height: 50vw;
        object-fit: contain;

      }

      #slide {
        margin-top: 8vh;
        width: 100vw;
        height: 50vw;
        position: relative;
        overflow: hidden;
      }

      #slide ul {
        position: absolute;
      }

      #slide li {
        float: left;
        list-style-type: none;

      }
      /*トピックス*/
      #topics {
        text-align: center;
        width: 100%;
      }
      .topics_info {
        text-align: left;
        display: row;
        flex-direction: column;
        padding: 2vh 5vw;
        margin: 1vh 0;
        border-style: dotted none;
      }

      .topics_info span  {
        font-size: 70%;
        width: 30%;
            }

      .topics_info p {
        text-align: center;
      }


      /*エスジーオートのこだわり*/
      .container_commitment{
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding: 10vh 2vw;
      }

      .container_l{
        width:100%;
        line-height: 2;
      }

      .container_r{
        width:100%;
        text-align: right;
        padding-right: 0:
      }

      .container_r img{
        width: 75%;

      }

      .en {
        font-size: 2rem;
      }

      .jp {
        font-size: 1rem;
      }

      .text{
        font-size: 0.9rem;
        line-height: 3;
        padding:5vh 0 2vh 0;
      }

      /*サービス*/
      .container_service{
        width: 100%;
        padding: 10vh 0 9vh 0;
        text-align: center;
        line-height: 2;
      }

      .container_service h2 {
        padding-bottom: 50px;
      }

      .tabs {
        padding-bottom: 40px;
        background-color: #fff;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
        width: 100%;
        margin: 0 auto;
      }
      /*タブのスタイル*/
      .tab_item {
        width: calc(100%/3);
        height: 50px;
        border-bottom: 3px solid #FF8300;
        border-right: 1px solid #a9a9a9;
        background-color: #d9d9d9;
        line-height: 50px;
        font-size: 0.7rem;
        color: #565656;
        display: block;
        float: left;
        font-weight: bold;
        transition: all 0.4s ease;
      }

      .tab_content_description {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
      }
      .tab_left {
        width: 100%;
      }

      .tab_left img {
        width: 100%;
      }

      .tab_right {
        width: 100%;
        line-height: 2;
        text-align: left;
      }
      .tab_right h3 {
        font-size: 1rem;
        padding-bottom: 1.5vh;
      }

      .tab_right p {
        font-size: 0.8rem;
      }

      /*about*/
      .container_about{
        width: 100%;
        margin-top: 2vh;
        padding: 50px 0 ;
        text-align: center;
        line-height: 2;
        background: #FF8300;
        color:white;
      }

      .container_about a{
        margin: 0 auto;
      }

      .contents_about {
        width: 100%;
        display: flex;
        justify-content: center;
        padding-bottom: 20px;
      }

      .contents_about_left {
        width: 50%;
        margin-right: 30px;
        text-align: right;
      }

      .contents_about_right {
        width: 50%;
        margin: 10px;
        text-align: left;
      }

      .margin_left {
        margin-left: 10px;
      }

      .container_about h2{
        margin-bottom: 50px;
      }
      .map iframe {
        width: 90%;
      }

      .start p {
      	width: 50vw;
      }

      /*フッター*/
      .inner {
        text-align: center;
        display: flex;
        flex-direction: column-reverse;
        width: 100%;
        padding: 0 2vw;
        margin: 2vh auto;
      }

      .contents_footer_left {
        width: 100%;
      }
      .contents_footer_left img {
        width: 30vw;
      }

      .contents_footer_right {
        width: 100%;
        display: block;
        text-align: left;
      }

      .container_footer_nav {
        display: flex;
        justify-content: space-between;
        flex-direction: column;
        padding-top: 1vh;
        margin: 0 auto;
      }

      .footer_nav {
        border-left: solid 1px;
        padding-left: 20px;

      }

      .footer_outline {
        border-style: none;
        padding: 3vh 0;
        margin: 0 auto;
      }

      }/*@media*/
