option:first-child{
  display:none;
}

.hide{
  display:none;
}

@media (max-width: 1219px) and (min-width: 992px){
.form-div-1, .form-div-2, .form-div-3 {
    width: 306px;
    /* コンタクトフォームの幅を指定 */
}
}
@media (min-width: 992px){
.row .double_picture{
  width:100%;
}
.col-md-4 {
    width: 50%;
}

.col-md-7{
  width:90%
}

.row .top_under_modifier .thumb-pad1Box{
  width:25% ;
}

.president{
 margin-left:30px;
  /* margin: 0 auto; */
  display:flex;
}

.president_copy{
  width:50%;
}

.president_right{
  width:50%;
}

.president_right img{
  max-height:500px;
}


.adress{
  display:flex;
}

.sekou_modifier figure, .sekou_modifier .caption{
  width:48%;
}


.adress_box1,.adress_box2{
  width:400px;
  margin:0 auto;
}

.double_contents{
  display:flex;
}

.contents{
  margin-right:20px;
}

.sekou_adress{
  margin-top:40px;
}

}

@media(max-width:992px){
  .president_right img{
    width:70%;
  }

  .thumb-pad4 .sekou_pic{
    margin-bottom:20px;
  }
}

@media (max-width: 991px) and (min-width: 768px){
.form-div-1, .form-div-2, .form-div-3 {
    width: 233px;
}
}

@media (min-width: 768px){

.col-sm-4 {
    width: 50%;
}

.col-sm-8 {
    width: 100%;
}

.president{
  width:100%;
}

.col-md-5 {
      width: 48%;
  }

.top_modifier .thumbBox1{
padding-left: 30px;
}

.top_under_modifier .thumb-pad1Box{
  width:50%;
}

}

@media (max-width: 768px){
.second img{
  width:100%;
  margin-top:15px;
}
.thumb-pad4 .thumbnail .caption_modifier, .thumb-pad4 .thumbnail .sekou_adress{
  overflow:visible;
  /* padding-top:20px; */
}

.thumb-pad4 .double_picture{
  float: none;
  width: 100%;
  margin-top: 15px;
}

/* 石田建設とはの */

.president_copy{
  margin-left:10px;
  margin-right:10px;
}



.read_modifier{
  margin-left:10px;
  margin-right:0px;
}

.row .info_images{
  display:block;
}

.row .info_images img{
  width:100%;
}

.row .info_image_single img{
  width:100%
}

.adress .adress_parts{
  width:295px;
  margin-left:10px;
  margin-right:10px;
}

.confirm_title h2{
  font-size:20px;
  margin-top: 40px;
}

body form table {
    width: 330px;
}

}



/* 事業内容のリンク先画像の高さ */

.thumb-pad4 .double_picture img{
  width:100%;
}

/*  施工実績の画像縮小時 */


.behind{
  display:none;
}

/*テンプレートの不要部分を非常時*/

.navbar-brand{
  width:50%;
}

/* タイトルロゴの幅 */

.pull-left img{
  width:100%
}

.errorBox{
  display:none;
}




.xBlock{
  display:none;
}


.president_name{
  text-align:right;
}

/* 「石田建設とは」の上部右側の配置 */

.kakugen{
  font-size: 20px;
  margin-top: 20px;
}

@media(max-width:768px){
.kakugen{
  font-size:12px;
}
}
/* 格言部分のフォントサイズ・上部マージン */

.kakugen p{
  line-height:40px;
  text-align:center;
}

/* 格言部分の列幅・配置 */

.president,.president_name,.main_copy{
  padding-bottom:30px;
}

/* 上部の下部余白の設定 */

.president_picture{
  text-align:center;
}

/* 社長の画像の配置 */

.president_name, .president ,.main_copy{
  border-bottom:1px solid black;
}

/*  下部の罫線 */

.error-box{
  border:none;
}

.adress{
  margin-top:50px;
}

/* 会社概要*/
.adress_parts{
  font-size:12px;
}

@media(max-width:768px){
.adress_parts{
  font-size:10px;
  line-height: 16px;
}
}

.adress_parts p{
  line-height: 16px;
}

/*  住所部分の下部余白*/
.adress_parts{
  width:400px;
  margin:20px auto;
}

/* 住所部分の幅 */

h4{
  font-size:40px;
  letter-spacing:2px;
}

h2{
  font-size:40px;
  letter-spacing:2px;
}

/* タイトル文字の配置等 */

.read_modifier table {
	border-collapse: collapse;
  width:100%;
}

.read_modifier td {
	border: solid 1px;
	padding: 0.5em;
}

.info_images{
  display:flex;
  margin-top:20px
}

.info_images img{
  width:95%;
  max-height:400px;
}

.info_images_01,.info_images_02{
  text-align:center;
}


.info_image_single{
  text-align:center;
  margin-top:20px;
}


.info_image_single img{
  width:60%;
}

/* 事業案内のリンク先の設定 */

.caption a{
  font-size:15px !important;
}

 .sekou_modifier .badge-box,.sekou_modifier .pull-right{
  display:none;
}

.sekou_modifier .post{
  display:none !important;
}

/* 施工実績の不要部分を消去 */
.sekou_pic{
  width:100%;
}

/* 施工実績の画像の幅 */

.thumb-pad4 figure > img{
  border-radius:0px;
}

/* 不要な罫線の削除 */
.double_contents{
  background-color:#C9CACA;
}


.caption_margin{
  margin-top:20px;
  padding-top:20px !important;
}

.sintyaku_modifier span{
  margin-top:20px;
}

.sekou_modifier h4{
  color:white;
  background-color:green;
  text-align: center;
  font-size:25px;
}

.contents_inner{
   margin: 0 auto;
    display: block;
    width: 280px;
    padding-left:10px;
  }

.sekou_adress table{
  margin:0 auto;
}

/* 施工実績の住所部分の中央ぞろえ */

#formTable{
  width:100%;
}

/* お問い合わせフォームの幅指定 */


#contact-form textarea {
    height: 220px;
}

/* お問い合わせフォームの高さ指定 */

h1.navbar-brand_ a > img{
  width:70%;
}



.pull-left img {
    width: 70%;
}

.thumbBox2 .thumb-pad1 .thumbnail .caption a{
  line-height:30px;
}

form table{
  margin:0 auto;
  margin-bottom:30px;
  width:500px;
  table-layout: fixed;
}

/* 確認画面の幅：高さ */
form tr{
  height:60px;
}
/* 確認画面の各画面の高さの指定 */

form tr td{
  word-wrap: break-word;
}

/* 確認画面の折り返しの指定 */

form tr td:first-child{
  width:25%;
}
/* 確認画面の各項目のタイトルの幅 */

form .button{
  text-align:center;
  display:block;
}
/* 確認画面の送信ボタンの中央ぞろえ */

.confirm_title{
  text-align:center;
}

/* 確認画面の中央ぞろえ */
.messages{
  text-align: center;
}

/* 確認画面の中央ぞろえ */
.messages a{
  color:blue;
}

/* 確認画面のリンクの色 */
iframe{
  width:100%;
}

.logoBox{
  text-align:center;
}

@media (max-width: 991px) and (min-width: 768px){
.form-div-1, .form-div-2, .form-div-3 {
    width: 233px;
}
}

/* 社員紹介のページの修正 */
.syain_modifier{
  margin:0 auto;
}

@media (min-width: 991px){
.syain_modifier{
  width:750px;
}
}

@media (min-width: 1200px){
.syain_modifier{
  width:1000px;
}
}

.formBox {
    padding-bottom: 54px;
    border-bottom:none;
}

.toiawase_border {
    padding-top: 20px;
    border-top: 1px solid #eae9eb;
}
