@charset "utf-8";
/* Global Styles */
body {
  margin-top: 0px;
  margin-bottom: 0px;
  padding: 0px;
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  color: #000000;
  font-size: 90%;
}
/* Header */
.hamburger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}
.logo {
  font-size: 24px;
}
/*===========　ここから下がハンバーガーメニューに関するCSS　===========*/
/* チェックボックスは非表示に */
.drawer-hidden {
  display: none;
}
/* ハンバーガーアイコンの設置スペース */
.drawer-open {
  display: flex;
  height: 60px;
  width: 60px;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 98; /* 重なり順を一番下に */
  cursor: pointer;
}
/* ハンバーガーメニューのアイコン */
.drawer-open span, .drawer-open span:before, .drawer-open span:after {
  content: '';
  display: block;
  height: 3px;
  width: 25px;
  border-radius: 3px;
  background: #aa3232;
  transition: 0.5s;
  position: absolute;
}
/* 三本線のうち一番上の棒の位置調整 */
.drawer-open span:before {
  bottom: 8px;
}
/* 三本線のうち一番下の棒の位置調整 */
.drawer-open span:after {
  top: 8px;
}
/* メニューのデザイン*/
.drawer-content {
  width: 60%; /* ここの割合を小さくすると閉じる部分の領域が広がる */
  height: 100%;
  position: fixed;
  top: 0;
  left: 100%; /* メニューを画面外へ */
  z-index: 100; /* 重なり順を一番上に */
  background-color: rgba(0, 0, 0, 0.70);
  transition: .5s;
  max-width: 300px;
}
/* アイコンがクリックされたらメニューを表示 */
#drawer-check:checked ~ .drawer-content {
  left: 0; /* メニューを画面内へ */
}
/* メニューを閉じるための要素のデザイン*/
.drawer-close {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 100%; /* 閉じるための要素を画面外へ */
  z-index: 99; /* 重なり順をメニューより下に*/
  background-color: rgba(128, 128, 128, 0.50);
}
#drawer-check:checked ~ .drawer-close {
  left: 0; /* 閉じるための要素を画面内へ */
}
.drawer-list {
  font-size: 22px;
  padding-left: 15px;
  padding-top: 15px;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 45px;
}
.drawer-list .drawer-item {
  border-bottom: 1px solid #858585;
}
.drawer-list .drawer-item a {
  color: #FFFFFF;
}
.drawer-list .drawer-item a:hover {
  color: #aa3232;
}
/* ===========　ここまでがハンバーガー　=========== */
/* ここからメイン */
#body_territory {
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  max-width: 480px;
}
#header_territory {
    background-image: url(image_etc/rinseilab_b_s.png);
    background-repeat: no-repeat;
    background-position: center bottom;
    height: 160px;
    width: auto;
    margin-top: 0px;
    margin-right: auto;
    margin-left: auto;
    padding-top: 0px;
}

#footer {
  text-align: center;
  width: 100%;
  height: auto;
  font-size: 80%;
  line-height: 150%;
  float: left;
  clear: none;
}
#footerline {
  width: 100%;
  height: 40px;
  background-color: #AA3232;
  border-bottom: 10px solid #000000;
    float: left;
    clear: none;
}
#return {
  width: 25px;
  height: 25px;
  margin-top: 25px;
  padding-right: 40px;
  float: right;
  clear: none;
}
#topimage {
    width: 100%;
    height: 160px;
    background-image: url(image_etc/a_top_photo.png);
    background-repeat: no-repeat;
    background-position: center center;
    margin-top: 30px;
    margin-bottom: 30px;
}
#abouttext {
    width: auto;
    height: auto;
    margin-left: 40px;
    margin-right: 40px;
    line-height: 160%;
}
#headerimg {
    width: 202px;
    margin-left: auto;
    margin-right: auto;
    height: 313px;
    margin-top: 50px;
    margin-bottom: 30px;
}
#ida-text1 {
    width: 80%;
    margin-left: 10%;
    margin-right: 10%;
    line-height: 150%;
    padding-bottom: 30px;
}
#builder-textarea {
    width: 80%;
    background-color: #D3D9DD;
    padding-left: 10%;
    padding-right: 10%;
    height: auto;
    padding-top: 30px;
    padding-bottom: 20px;
    line-height: 180%;
}
.img-center {
    text-align: center;
}
#imagephoto_20210218 {
    width: 100%;
    height: 265px;
	background-color: #D3D9DD;
    background-image: url(image_etc/b_top_photo.png);
    background-repeat: no-repeat;
    background-position: center center;
}
.footer_nav {
    margin-top: 30px;
    margin-bottom: 30px;
}


/* ===========　レスポンシブデザイン　===========*/
/* レスポンシブデザイン*/
/* Media query for Mobile devices*/
@media only screen and (min-width : 285px) and (max-width : 480px) {
	
  .pconly {
    display: none !important;
  }
  .sponly {
    display: block !important;
  }
  .br-pc {
    display: none;
  }
  .br-sp {
    display: block;
  }
}

/* Media Query for Tablets */
@media only screen and (min-width : 481px) and (max-width : 1024px) {
  #body_territory {
    width: 100%;
    max-width: 1024px;
  }
 #header_territory {
    height: 220px;
    background-image: url(image_etc/rinseilab_a_s.png);
}
#imagephoto_20210218 {
    width: 100%;
    height: 250px;
	padding-top: 60px;
    background-image: url(image_etc/b_top_photo_pc.png);
}
#builder-textarea {
    width: 70%;
    padding-left: 15%;
    padding-right: 15%;
}
  
  .pconly {
    display: block !important;
  }
  .sponly {
    display: none !important;
  }
  .br-pc {
    display: block;
  }
  .br-sp {
    display: none;
  }
}

/* Desktops and laptops  */
@media only screen and (min-width:1025px) {
  #body_territory {
    width: 100%;
    max-width: 940px;
  }
 #header_territory {
    background-image: url(image_etc/rinseilab_a_lg.png);
    height: 220px;
}
#ida-text1 {
    width: 820px;
    margin-left: 0%;
    margin-right: 0%;
    border-top: 2px solid #000000;
    padding-top: 20px;
	padding-left: 120px;
	
}
#imagephoto_20210218 {
    width: 940px;
    height: 250px;
	padding-top: 60px;
    background-image: url(image_etc/b_top_photo_pc.png);
}
#builder-textarea {
    width: 700px;
    padding-left: 120px;
    padding-right: 120px;
}
  
  .pconly {
    display: block !important;
  }
  .sponly {
    display: none !important;
  }
  .br-pc {
    display: block;
  }
  .br-sp {
    display: none;
  }

}
/* パソコンで見たときは"pc"のclassがついた画像が表示される<div class="pconly">  */
/* スマートフォンで見たときは"sp"のclassがついた画像が表示される<div class="sponly"> */
/* パソコンのみ改行<br class="br-pc" /> */
/* スマートフォンのみ改行<br class="br-sp" /> */
/* ===========　レスポンシブデザイン　===========*/
