@charset "utf-8";
@media screen and (max-width: 900px) { /*スマホ*/
  /*-----------------------------------------------------------------
　　　トップページ
*-----------------------------------------------------------------*/
.toppage01 {
  height: 30vh;
  background-size: 100%;
  background-position: top;
  background-repeat: no-repeat;
  padding: 0;
}
  .toppage01 h1 {
    position: static;
	padding: 100px 0 0;
    font-size: 34px;
    line-height: 2.5rem;
  }
  .toppage01 h1 span {
    font-size: 20px;
  }
  .toppage02 {
    width: 85%;
  }
  .dengonban, .sintyaku {
    width: 95%;
    height: auto;
  }
  .dengonban dl dd, .sintyaku dl dd {
    width: 95%;
    margin: 0 auto;
  }
  .toppage_nav {
    margin: 0;
    padding: 0 0 25px;
  }
  .toppage_nav ul li {
    width: 48%;
    margin: 1% 1% 10%;
  }
  .toppage_nav ul li:nth-of-type(3) {
    margin: 0;
  }
  .toppage_nav ul li:nth-of-type(4) {
    margin: 0;
  }
  .toppage_nav ul li p {
    bottom: 5px;
  }
    .toppage03 ul li {
    width: 45%;
    margin: 2%;
    padding: 0;
  }
  .toppage04, .toppage05 {
    position: static;
    width: 95%;
    height: auto;
    margin: 0 auto;
    overflow: hidden;
  }
  .toppage04 img, .toppage05 img {
    position: static;
  }
  .toppage06 {
    width: 100%;
  }
  /*-----------------------------------------------------------------
　　　事業内容
*-----------------------------------------------------------------*/
  .business p {
    width: 95%;
    margin: 50px auto;
  }
  .business01, .business02, .business03, .business04 {
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
  }
  /*-----------------------------------------------------------------
　　　会社概要
*-----------------------------------------------------------------*/
  .company01 table {
    width: 95%;
    margin: 0 auto 50px;
  }
  .map { /*地図をレスポンシブ化*/
    width: 95%;
    margin: 0 auto;
  }
  /*-----------------------------------------------------------------
　　　代表者挨拶
*-----------------------------------------------------------------*/
  .greeting_photo {
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
  }
  .greeting01 {
    width: 95%;
    margin: 50px auto;
    padding: 0;
  }
  .greeting02L, .greeting02R {
    width: 95%;
    margin: 0 auto 50px;
  }
  /*-----------------------------------------------------------------
　　　フォーム
*-----------------------------------------------------------------*/
  .contact_form {
    width: 95%;
    margin: 0 auto;
    padding: 0;
  }
  .contact_form input {
    width: 80%;
  }
  .contact_form textarea {
    width: 80%;
  }
  /*-----------------------------------------------------------------
　　　ブログページ
*-----------------------------------------------------------------*/
  .blog_page_date ul li, .blog_page_date ul li:last-of-type {
    width: 95%;
    margin: 0 auto;
  }
  .blog_page_date ul li:last-of-type {
    text-align: right;
  }
  /*-----------------------------------------------------------------
　　　アーカイブページ
*-----------------------------------------------------------------*/
  .archive dl {
    width: 100%;
    margin: 20px auto;
  }
  .archive dl dt {
    width: 100%;
    margin: 0;
    padding: 0;	
  }
    .archive dl dd {
    width: 100%;
    margin: 0;
    padding: 0;
  }
  /*-----------------------------------------------------------------
　　　共通部分
*-----------------------------------------------------------------*/
  #wrapper {
    width: 95%;
    margin: 0 auto;
    padding: 100px 0;
  }
  #global_navigation {
    width: 95%;
    margin: 0 auto;
  }
  h1 {
    font-size: 30px;
  }
  .footer_nav {
    width: 95%;
  }
  /*-----------------------------------------------------------------
　　　ヘッダー
*-----------------------------------------------------------------*/
  .global_navigation { /*スマホでグローバルナビゲーションを隠す*/
    display: none;
  }
  #sidebar {
    width: 95%;
  }
  .footer_contact {
    width: 95% !important;
    padding: 30px 0 !important;
  }
  .footer_contact ul li {
    width: 80% !important;
    margin: 5px auto !important;
  }
  .photo-r, .photo-l {
    margin: 0 auto 15px auto !important;
    text-align: center !important;
    float: none !important;
  }
  #scroll-to-top { /*トップに移動の▲位置*/
    margin: 0 0 80px !important;
    padding: 0;
  }
  img.alignright {
    padding: 0 0 10px 0 !important;
    margin: 0 auto !important;
    display: block !important;
  }
  img.alignleft {
    padding: 0 0 10px 0 !important;
    margin: 0 auto !important;
    display: block !important;
  }
  .alignright {
    float: none !important;
  }
  .alignleft {
    float: none !important;
  }
  /*-----------------------------------------------------------------
　　　フッター
*-----------------------------------------------------------------*/
  #footer p, .footer_nav ul li a {
    font-size: 12px;
  }
  /*-----------------------------------------------------------------
　　　ハンバーガーメニュー
*-----------------------------------------------------------------*/
  /*--- スマホで隠す ---*/
  #menu-cb {
    display: none;
  }
  #menu-cb:checked ~ #sidebar-sp, #menu-cb:checked ~ #menu-icon {
    transform: translate(-300px);
  }
  #sidebar {
    margin: 5px 10px;
  }
  #sidebar-sp {
    position: fixed;
    background-color: #fff;
    height: 100%;
    padding: 0;
    right: -300px;
    top: 0;
    transition: transform 0.3s linear 0s;
    width: 300px;
    z-index: 1000;
    overflow: scroll;
  }
  #menu-cb:checked ~ #sidebar-sp {
    transform: translateX(-300px);
  }
  #menu-icon {
    position: fixed;
    margin: 0;
    padding: 5px 10px;
    top: 0;
    right: 0;
    border-radius: 0 0 0 10px;
    cursor: pointer;
    display: block;
    font-size: 14px;
    color: #fff;
    text-align: center;
    transition: all 0.3s linear 0s;
    z-index: 1000;
    background-color: #444;
  }
  #menu-cb:checked ~ #menu-icon {
    transform: translate(-300px);
  }
  #menu-background {
    position: fixed;
    background-color: #333;
    display: block;
    height: 100%;
    opacity: 0;
    right: 0;
    top: 0;
    transition: all 0.3s linear 0s;
    width: 100%;
    z-index: -1;
  }
  #menu-cb:checked ~ #menu-background {
    opacity: 0.5;
    z-index: 999;
  }
  /*-----------------------------------------------------------------
　　　動き（effect）
*-----------------------------------------------------------------*/
  .fadein002, .fadein003, .fadein004 {
    transform: translateY(0);
    transition: opacity 3s, transform 3s;
  }
  .start1, .start2, .start3, .start4 {
    transition-delay: 0;
  }
}