@charset "utf-8";

/******************************************************************************

 ■ 	スマートフォン用（479px以下）主なターゲット iPhone/iOS

******************************************************************************/
@media screen and (max-width: 479px) {

  .sp {
    display: block;
  }

  .pc{
    display: none;
  }

  .d-inline-block {
    display: inline-block !important;
  }

  .text-sp-start {
    text-align: left !important;
  }

  .content
  {
    font-size: 100%;
    line-height: 1.6;
  }

  .content p {
    font-size: 100%;
  }

  body 
  {	
    -moz-text-size-adjust: none;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    padding-top: 64px;
  }

  .main
  {
    min-width: 0;
    width: 100%;	
  }

  .inner
  {
    width: auto !important;
  }

  header
  {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: white;
    z-index: 999999;
    height: 64px;
    border-top: none;
    border-bottom: 1px solid #d8d8d8;
  }
  header .inner
  {
    padding: 0;
    height: auto;
  }

  header .tab
  {
    display: none;
  }

  header h1
  {
    background-position: .5em center !important;
    background-size: 50%;
  }

  header h1 > a
  {
    width: 200px !important;
    height: 64px !important;
  }

  header .departments
  {
    display: none;
  }

  header p.contact
  {
    display: none;
  }

  nav
  {
    display: none;
  } 


  /**ここからスマホメニュー※　お問い合わせ用**/
  a#mBtn
  {
    position: absolute;
    right: 0;
    width: 64px;
    height: 64px;
    top: 0;
    background: url(./svg/icon-menu.svg) no-repeat center center;
    background-size: 36px;
    border-left: 1px solid #d8d8d8;
  }

  /*お問い合わせフォーム用*/
  #form a#mBtn
  {
    background: url("../../../root/svg/icon-menu.svg")no-repeat center center;
    background-size: 36px;
    border-left: 1px solid #d8d8d8;
  }

  #smt-menu
  {
    position: absolute;
    overflow: hidden;
    z-Index: 100000;
    top: -400px;
    right: 0;
    width: 100%;
    font-size: 95%;
  }
  #smt-menu > ul
  {
    border-bottom: 2px solid white;
  }

  #smt-menu > ul > li
  {
    background-color: #eee;
    border-top: 1px solid white;
    border-bottom: 1px solid #ccc;
  }
  #smt-menu > ul > li:hover
  {
    background-color: #f6f6f6;
  }

  #smt-menu > ul > li > a
  {
    display: block;
    padding: 1em;
    color: inherit;
    text-shadow: 1px 1px 0 white;
    text-decoration: none;
  }
  #smt-menu > ul > li > a > span
  {
    display: block;
    background: url(./svg/icon-gt-grey.svg) no-repeat right center;
    margin-right: .5em;
    background-size: .75em;
  }


  /**ここからコンテンツ・エリア**/
  #contents
  {
    float: none;
    padding-top: 0;
  }


  /** ここからページコンテンツ **/
  .content
  {
    margin-right: 0;
  }

  .content .section
  {
    margin: 1em 0 !important;
    padding-top: 0;
  }

  .content > .section:last-child
  {
    margin-bottom: 0 !important;
  }

  .content > h1 {
    margin: 0em 0 1em;
  }

  #contents .content-head
  {
    padding: 0;
    height: auto !important;
  }

  #contents .content-head .caption
  {
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    text-shadow: 1px 1px 0 white;
    text-align: center;
    font-weight: bold;
    color: black;
    font-size: 90%;
    margin-top: 1em;
  }

  .inner img
  {
    min-height: 0;
    width: 100%;
  }

  #contents .caption
  {
    margin: 0 0 2em;
  }


  /*
  お問い合わせフォーム　コンテンツ部分
   *********/

  .form input[type=text],
  .form input[type=button],
  .form input[type=submit],
  .form input[type=reset],
  .form input[type=tel],
  .form input[type=password],
  .form input[type="date"],
  .form input[type="number"],
  .form input[type="email"],
  textarea {
    width: calc(100% - var(--base-unit1) * 2 - 2px) !important;
    display: block;
  }

  .form input[type=button],
  .form input[type=submit],
  .form input[type=reset]
  {
    display: block;
    width: calc(100% - 4em - 2px);
    width: 100%;
  }

  br.none {
    display: initial;
  }


  /*
  フッター
   *********/
  span.address
  {
    margin: 0;
    font-size: 1.1em;
  }

  footer .logo,
  footer .departments
  {
    display: none;
  }

  footer .signature
  {
    float: none;
    clear: both;
    padding: 1em 0;
    border-top: 1px solid #d8d8d8;
    border-bottom: 1px solid #d8d8d8;
  }

  footer .signature > p
  {
    float: none !important;
    text-align: left;
    white-space: nowrap;
  }
  footer .signature span.phone,
  footer .signature span.fax
  {
    display: block;
    font-size: 130% !important;
  }

  footer > .footer-lower ul.menu-list-b
  {
    text-align: center;
  }

  footer > .footer-lower ul.menu-list-b > li
  {
    font-size: 90%;
    margin-right: 1em;
  }

  footer > .footer-lower .copyright
  {
    position: static;
    text-align: center;
    padding: 1em 0;
    font-size: 100%;
    color: white;
  }

}
