@charset "utf-8";
/* 幅667px以下から ヘッダー等微調節
------------------------------------------------------------*/
@media only screen and (max-width: 667px) {
  body {
    background-position: 0 -25px;
  }
  /*	.pcdisplay{
	display: none;	
}*/
  .spimg {
    width: 100%;
    max-width: 100%;
    height: auto;
  }
  #header .inner {
    float: left;
    width: 100%;
    background-image: none;
    background-repeat: no-repeat;
    background-position: left bottom;
    height: auto;
  }
  #header h1 {
    color: #333;
    padding: 10px 10px 5px 60px;
    font-size: 120%;
    font-weight: bold;
    text-align: left;
  }
  #header .logo {
    padding: 2px 10px 15px 10px;
    font-size: 250%;
    font-weight: bold;
    line-height: 130%;
  }
  #header h2 img {
    max-width: 90%;
  }
  nav#mainNav {
    width: 98%;
  }
  #header {
    text-align: center;
  }
  #header h2, .headright {
    float: none;
  }
  .headright {
    padding: 0;
  }
  .headright p {
    text-align: center;
  }
  #headerInfo {
    width: 250px;
    margin: 0 auto;
  }
  img.alignright, img.alignleft {
    display: block;
    margin: 5px auto;
  }
  .alignright, .alignleft {
    float: none;
  }
  #mainNav {
    display: none;
  }
  h2 {
    font-size: 160%;
    letter-spacing: normal;
  }
  .spnavi {
    display: inherit;
  }
  .pure-container {
    display: inherit;
  }
  .spnavi {
    padding: 100px 0 0;
    margin: 0;
    display: inherit;
    border-bottom: 1px solid #24323d;
  }
  .pure-container {
    display: inherit;
  }
  .spnavi li {
    border-top: 1px solid #24323d;
    border-bottom: 1px solid #3f566a;
    text-align: left;
    font-weight: normal;
  }
  .spnavi li a {
    display: block !important;
    color: #ffffff !important;
    padding: 9px 15px !important;
  }
  /* トップ
------------------------------------------------------------*/
  .toppage {
    padding: 0 0 20px 0;
    width: 100%;
    max-width: 100%;
  }
  .toppage p.top1 {
    margin: 10px;
    font-size: 17px;
    font-weight: bold;
    color: #333;
  }
  .toppage p.top2 {
    font-size: 15px;
    font-weight: normal;
    color: #333;
    display: inline-block;
    padding-top: 10px;
  }
  .toptable {
    text-align: center;
    width: 100%;
    display: table;
    margin-bottom: 30px;
  }
  .toptd {
    display: table-cell;
    width: 49%;
  }
  .toptable table {
    width: 95%;
    margin: auto;
    border: 1px solid #ccc;
  }
  .toptable table td.img6 img {
    width: 100%;
    height: auto;
    max-width: 270px;
  }
  .toptable table caption {
    text-align: center;
    font-size: 95%;
    font-weight: bold;
    padding: 5px 2px;
    background-color: #168ed2;
    color: #ffffff;
  }
  /* 共通
------------------------------------------------------------*/
  .flex-container {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    display: -webkit-box;
    display: -moz-box;
    width: 100%;
    height: auto;
    max-height: 250px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
    background-image: url(../images/tiiki_14.png);
    background-position: center bottom;
    background-repeat: no-repeat;
  }
  .flex-item {
    width: 50%;
    height: auto;
    padding: 20px 0 0 10px;
  }
  .flex-item:first-child {
    width: 50%;
  }
  .flex-item img {
    width: 100%;
    height: auto;
    max-width: 100%;
  }
  /* フォーム
------------------------------------------------------------*/
  .cssform p {
    width: 100%;
    clear: left;
    margin: 0;
    padding: 15px 0 20px 0;
    padding-left: 1px; /*width of left column containing the label elements*/
    border-top: 1px solid #ccc;
    height: 1%;
    font-size: 100%;
  }
  .cssform label {
    display: block;
    float: none;
    margin-left: 0; /*width of left column*/
    width: 100%; /*width of labels. Should be smaller than left column (155px) to create some right margin*/
  }
  .cssform input[type="text"] { /*width of text boxes. IE6 does not understand this attribute*/
    width: 100%;
  }
  .cssform textarea {
    width: 100%;
    height: 200px;
  }
  /* サービス料金
------------------------------------------------------------*/
  table.pricetable {
    width: 100%;
    margin: 0 auto 20px;
    font-size: 100%;
  }
  /* ブログ
------------------------------------------------------------*/
  ul.multifour {
    width: 100%;
    display: -webkit-box;
    display: -moz-box;
    display: -webkit-flexbox;
    display: -moz-flexbox;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: -moz-flex;
    display: flex;
    margin-bottom: 50px;
    flex-wrap: wrap;
  }
  ul.multifour li {
    width: 48%;
    margin-bottom: 20px;
    margin: 0 auto 20px;
  }
  .item {
    width: 96%;
    max-width: 230px;
    height: 400px;
    overflow: hidden;
    border: 1px solid #d4d4d4;
    box-shadow: 2px 2px 1px 1px #ddd;
    padding: 10px 10px 5px;
    font-size: 12px;
    text-align: right;
    margin: 0 auto;
  }
  ul.multifour2 {
    width: 100%;
    display: -webkit-box;
    display: -moz-box;
    display: -webkit-flexbox;
    display: -moz-flexbox;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: -moz-flex;
    display: flex;
    margin-bottom: 50px;
    flex-direction: column;
  }
  ul.multifour2 li:last-child {
    width: 100%;
  }
  .item2 img {
    width: 100%;
    max-width: 640px;
    height: auto;
    border: 0;
    text-align: center;
  }
  .item2 h3 {
    width: 100%;
    font-size: 15px;
    line-height: 26px;
    height: 26px;
    overflow: hidden; /* 長いタイトルは切り捨て。必要なら高さを増やしておく。 */
    margin: 0;
    padding: 0;
  }
}
/* 幅414px以下から ヘッダー等微調節
------------------------------------------------------------*/
@media only screen and (max-width: 414px) {
  #header h1 {
    color: #333;
    padding: 10px 2px 10px 60px;
    font-size: 110%;
    font-weight: bold;
  }
  .headright p img {
    width: 90%;
    height: auto;
    max-width: 373px;
  }
  #headerlight {
    padding: 0 2px 5px 2px;
    font-size: 190%;
    font-weight: bold;
  }
  /* トップ
------------------------------------------------------------*/
  .toppage {
    padding: 0 0 20px 0;
    width: 100%;
  }
  .toppage p.top1 {
    margin: 10px;
    font-size: 17px;
    font-weight: bold;
    color: #333;
  }
  .toppage p.top2 {
    font-size: 15px;
    font-weight: normal;
    color: #333;
    display: inline-block;
    padding-top: 10px;
  }
  .toptable {
    text-align: center;
    width: 100%;
    display: block;
    margin-bottom: 20px;
  }
  .toptd {
    display: block;
    width: 100%;
  }
  .toptable table {
    width: 100%;
    margin: auto;
    border: 1px solid #ccc;
  }
  /* 会社概要
------------------------------------------------------------*/
  .comtable table {
    border-collapse: collapse;
    text-align: left;
    line-height: 2.2;
    border-top: 1px solid #ccc;
    border-left: 1px solid #ccc;
    width: 100%;
    margin-bottom: 30px;
  }
  .comtable table th {
    width: 100%;
    padding: 15px 10px 10px;
    font-weight: bold;
    vertical-align: top;
    color: #153d73;
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    display: block;
    background-color: #F0ECEC;
  }
  .comtable table td {
    width: 100%;
    padding: 10px 10px 15px;
    vertical-align: top;
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    display: block;
  }
  /* サービス料金
------------------------------------------------------------*/
  h3.p1 {
    padding: 10px 0 10px 5px;
    font-size: 120%;
    font-weight: bold;
    color: #ffffff;
    border-bottom: 1px solid #2552b9;
    background-color: #138dd2;
    margin-bottom: 10px;
  }
  .toptable3 {
    width: 100%;
    display: block;
    margin-bottom: 20px;
    border: 1px solid #2a88c7;
  }
  .toptd3 {
    width: 100%;
    display: block;
    width: auto;
    vertical-align: top;
  }
  .toptd3:first-child {
    text-align: center;
    display: block;
    width: 100%;
    vertical-align: top;
    padding: 10px 0 10px 10px;
  }
  .toptd3:first-child img {
    width: 100%;
    max-width: 90px;
    height: auto;
  }
  p.orangebox {
    background-color: #F1501F;
    color: #FFFFFF;
    padding: 15px 15px;
    font-size: 120%;
  }
  p.p2 {
    padding: 5px 0 5px 10px;
    font-size: 100%;
    color: #fff;
    background-color: #21B9EE;
    margin-bottom: 0;
  }
  table.pricetable {
    width: 100%;
    margin: 0 auto 30px;
    font-size: 95%;
    table-layout: auto;
  }
  table.pricetable th {
    padding: 10px 5px 10px;
    text-align: left;
    font-weight: bold;
    background-color: #E7F2FB;
    border-bottom: 1px solid #ccc;
    vertical-align: middle;
    width: 60%;
  }
  table.pricetable td {
    padding: 10px 5px 10px;
    text-align: left;
    border-bottom: 1px solid #ccc;
    vertical-align: middle;
  }
  /* サービス内容
------------------------------------------------------------*/
  .servicebox {
    border: 1px solid #c8f0ff;
    margin-bottom: 20px;
    background-color: #C8F0FF;
    border-radius: 10px;
    padding: 20px 10px 0 10px;
  }
  .flex-container2 {
    display: -webkit-block;
    display: -moz-block;
    display: -ms-block;
    display: -webkit-block;
    display: -webkit-block;
    display: block;
    width: 100%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
  }
  .flex-item2 {
    width: 100%;
    margin-bottom: 10px;
    text-align: center;
  }
  .flex-item2:first-child {
    width: 100%;
    margin-bottom: 10px;
  }
  .flex-item2 img {
    width: 90%;
    max-width: 240px;
    height: auto;
    padding: 0;
  }
  p.s2 {
    margin: 10px 5px 0 5px;
    font-size: 100%;
    color: #000;
    text-align: left;
  }
  /* 共通
------------------------------------------------------------*/
  .flex-container {
    display: -webkit-block;
    display: -moz-block;
    display: -ms-block;
    display: -webkit-block;
    display: block;
    display: -webkit-block;
    display: -moz-block;
    width: 100%;
    height: auto;
    max-height: 500px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
    background-image: url(../images/tiiki_14.png);
    background-position: center bottom;
    background-repeat: no-repeat;
  }
  .flex-item {
    width: 100%;
    height: auto;
    padding: 20px 0 0 0px;
    text-align: center;
  }
  .flex-item:first-child {
    width: 100%;
  }
  .flex-item img {
    width: 100%;
    height: auto;
    max-width: 300px;
  }
  .flex-item:first-child img {
    width: 100%;
    height: auto;
    max-width: 330px;
  }
  /* 漏水
------------------------------------------------------------*/
  .multicolumnbox {
    display: -webkit-block;
    display: -moz-block;
    display: -ms-block;
    display: -webkit-block;
    display: -o-block;
    display: block;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    margin-bottom: 30px;
  }
  .nopc {
    display: inherit;
  }
  .nosp {
    display: none;
  }
  /* ブログ
------------------------------------------------------------*/
  ul.multifour li {
    width: 50%;
    margin-bottom: 20px;
  }
  .item {
    width: 98%;
    max-width: 230px;
    height: 420px;
    overflow: hidden;
    border: 1px solid #d4d4d4;
    box-shadow: 2px 2px 1px 1px #ddd;
    padding: 10px 5px 5px;
    font-size: 12px;
    text-align: right;
    margin: 0 auto;
  }
  .item2 {
    width: 98%;
    min-width: 110px;
    height: auto;
    padding: 10px 0 5px 0;
    font-size: 13px;
    text-align: left;
    margin: 0 5px;
  }
  .item2:first-child {
    padding: 10px 10px 5px 0;
  }
  .item2 h3 {
    width: 100%;
    font-size: 14px;
    line-height: 22px;
    height: 22px;
    margin: 0;
    padding: 0;
  }
}