﻿/*
Theme Name: habakiri-child
Theme URI: http://2inc.org ( テーマのURL )
Description: Habakiri の子テーマです ( テーマの説明 )
Author: Takashi Kitajima ( 作者名 )
Author URI: http://2inc.org ( 作者のURL )
Version: 1.0.0
License: GNU General Public License
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Template: habakiri
*/


p {
	font-size: 16px;   /* ここで文字サイズ変更 */
	line-height:170%;  /* ここで行間を変更 */
	margin: 15px 0;  /* Pタグの間にスペースを挟む */
	padding-bottom:0;
}

ul.topnav2 {
    margin: 4px 0 0 0;
    padding: 0;
    display: block;
    list-style-type: none;
}

ul.topnav2 li {
    margin: 0;
    padding: 0;
    color: #fff;
    font-size: 16px;
    height: 40px;
    line-height: 40px;
    list-style-type: none;
    vertical-align: middle;
    text-align: left;
}

ul.topnav2 li a {
    color: #fff;
}

ul.topnav2 li a:hover {
    color: #ccc;
}

.copyright {
  background-color: #337ab7;
  color: #fff;
  font-size: 12px;
  padding: 15px 0; }
.copyright a {
  color: #fff; }


  .header__content{
    #branding address {
	float: right;
	width: 16.8%;
  }

/*コンタクトフォームラジオボタンなど縦並び*/
  span.wpcf7-list-item {
     display: block;
     }


/*　ContactForm7のテーブル化レスポンシブ調整　*/

/*テーブルを親要素の幅80%いっぱいに伸ばす*/
.table-res-form {
    width: 80%;
}
/*一行ごとに上ボーダー*/
.table-res-form tr {
    border-top: 1px #DDD solid;
}
/*一番上の行だけボーダーなし*/
.table-res-form tr:first-child {
    border-top: none;
}
/*奇数行だけ背景色つける*/
.table-res-form tr:nth-child(2n+1) {
    background: #eee;
}
/*thとtd内の余白指定*/
.table-res-form th, .table-res-form td {
    padding: 1.5em;
}
/*th（項目欄）は30%幅、テキストを右寄せ*/
.table-res-form th {
    width: 30%;
    text-align: right;
}
/*「必須」部分のスタイリング*/
.table-res-form .requied {
    font-size: 0.8em;
    color: #FFF;
    display: inline-block;
    padding: 0.3em 0.3em 0.2em;
    background: red;
    border-radius: 2px;
}

/*ここから768px以下の指定*/

@media only screen and (max-width: 768px) {
/*thとtdをブロック化して幅100％にして、縦積み*/
    .table-res-form th, .table-res-form td {
        width: 100%;
        display: block;
    }
    /*th（項目名）欄の不要な余白削除・テキスト左寄せ*/
    .table-res-form th {
        padding-bottom: 0!important;
        text-align: left!important;
    }
/*不要な最終行の左のthを非表示にする*/
    .table-res-form .empty {
        display: none!important;
    }
}

/*ここまで768px以下の指定---終わり*/

/*ここから入力欄のスタイル指定*/

/*各入力フォームスタイリング*/
.table-res-form input[type="text"], input[type="email"], textarea {
    border: 1px #89BDDE solid;
    padding: 0.5em;
    border-radius: 5px;
    margin-bottom: 0.5em;
    width: 100%;
}
/*入力欄にフォーカスしたら変化*/
.table-res-form input[type="text"]:focus, textarea:focus {
    background: #EEFFFF;
    box-shadow: 0 0 1px 0 rgba(0, 0, 0, 0.5);
}
/*送信ボタンスタイリング*/
.table-res-form input[type="submit"] {
    border: 1px #89BDDE solid;
    padding: 0.5em 4em;
    border-radius: 5px;
    background: #4C9ED9;
    color: #fff;
    box-shadow: 0 0 1px 0 rgba(0, 0, 0, 0.5);
    font-weight: bold;
}
/*送信ボタン・マウスオーバー時スタイリング*/
.table-res-form input[type="submit"]:hover {
    background: #006599;
    box-shadow: none;
}

/*ラジオボタンを縦並び指定*/
.verticallist .wpcf7-list-item{
 display:block;
}
/*スライダー高さ指定なしから変更*/
.habakiri-slider__image {
  visibility: hidden;
height: 400px;
  width: 100%; }
