/*
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
*/

body {
    /* ゴシック体の場合 */
    font-family: "Roboto", "Droid Sans", "游ゴシック", "YuGothic", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", "Meiryo", "ＭＳ Ｐゴシック", sans-serif;
    /* 明朝体の場合 */
/*    font-family: "Roboto", "Droid Sans", "游明朝", "YuMincho", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
*/
    line-height: 1.8;
    font-weight: 500;
}

p, ul, ol, dl, table {
    margin-bottom: 20px;
}

h2, .h2 {
    font-size: 26px;
    margin: 40px 0 20px;
}

h3, h3 {
    font-size: 22px;
}

#header .container {
    padding-left: 0px;
    padding-right: 0px;
}

.im-border {
    height: 5px;
    background-color: #006ad5;
    margin-top: 0px;
    margin-bottom: 10px;
}
.responsive-nav a {
    font-size: 14px !important;
    font-weight: 700 !important;
}
.responsive-nav .menu>.menu-item>a, .header--transparency.header--fixed--is_scrolled .responsive-nav .menu>.menu-item>a {
    padding: 23px 15px 5px 15px !important;
}

.col-md-offset-2 {
    margin-left: 0;
}
.habakiri-slider__arrow--prev {
  visibility: hidden;
}
.habakiri-slider__item-wrapper {
    display: flex;
    align-items: flex-end;
}

.habakiri-slider__item-content {
    background: -moz-linear-gradient(0deg, #0055aa 30%, transparent 60%); 
    background: -webkit-linear-gradient(0deg, #0055aa 30%, transparent 60%); 
    background: linear-gradient(90deg, #0055aa 30%, transparent 60%);
    top: 75%;
}
.habakiri-slider__item-content2 {
    background: -moz-linear-gradient(0deg, #0055aa 30%, transparent 60%); 
    background: -webkit-linear-gradient(0deg, #0055aa 30%, transparent 60%); 
    background: linear-gradient(90deg, #0055aa 30%, transparent 60%);
    top: 75%;
}
.slide-read-box {
    margin-top: 35px;
    margin-left: 15px;
    background:rgba(255,255,255,0.7);
    display: inline-block;
}
.slide-read-box2 {
    margin-top: 5px;
    margin-left: 15px;
    margin-bottom: -200px;
    background:rgba(255,255,255,0.7);
    display: inline-block;
}
.slide-read {
    display:block;
    margin: 0;
    color: #000000 !important;
    font-weight: bold;
    font-size: 2.0em !important;
    line-height: 1.4 !important;
}
.habakiri-slider__item-content h1 {
    margin-top: 5px;
    font-size: 2.0em !important;
    line-height: 1.4 !important;
}
.habakiri-slider__item-content .read {
    font-size: 18px !important;
    line-height: 1.8 !important;
    margin-top: -10px;
}
.slide-title {
    width: 70%;
    margin-top: -110px;
    margin-bottom: 20px;
}
.sub-page-contents {
    padding-top: 10px;
}

h3 {
  color: #006ad5;/*文字色*/
  border: solid 2px #006ad5;/*線色*/
  padding: 0.2em 0.5em;/*文字周りの余白*/
  border-radius: 0.3em;/*角丸*/
}
h4 {
  color: #555555;/*文字色*/
  /*線の種類（点線）2px 線色*/
  border-bottom: dashed 1px #666666;
}

.mbbr {
  display:none;
}

.first-gree {
    margin-top: 50px;
    margin-bottom: 20px;
    color:#006ad5;
    text-align: center;
    font-size: 1.8em !important;
    line-height: 1.4 !important;
    font-weight: bold;
}
.semi-cont {
    padding: .5em 1em;
    margin: 1em 0;
    background: #fdf7f7;
    border: solid 1px #ff2b2b;/*線*/
    border-radius: 5px;/*角の丸み*/
}
.semi-cont h4 {
  color: #ff0000;
}
#infomation {
    margin-top: 40px;
    margin-bottom: 30px;
}
#news {
    position: relative;
    margin: 1em 0;
    padding: 0.5em 1em;
    border: solid 3px #72aae2;
    border-radius: 8px;
}
#news h2 {
    position: absolute;
    display: inline-block;
    top: -55px;
    left: 10px;
    padding: 0 9px;
    line-height: 1;
    font-size: 24px;
    background: #FFF;
    color: #72aae2;
    font-weight: bold;
}
#news div.title {
    border-bottom:dotted 1px #aaaaaa;
    margin: 0px;
    font-size:16px;
    line-height: 1.2;
}
#news div.day {
    font-size:14px;
    color:#888888;
    line-height: 1.6;
    margin: 0;
}
.category-box div {
    line-height: 1.2;
}
.category-box div.dotline {
    border-bottom:dotted 1px #aaaaaa;
    margin:15px 0 15px;
    font-size:16px;
}
.category-box div.day {
    font-size:14px;
    color:#888888;
}
#pra_right {
	font-size:90%;
	text-align: right;
	margin-bottom: 5px;
}
.page-header {
    background-color: #95bfea !important;
    color: #fff;
    padding:32px 0 !important;
}
.p-cover {
    background: linear-gradient(90deg, rgba(22, 135, 237, 0.6), rgba(20, 55, 90, 0.9)) ,url(wp-content/themes/habakiri-child/img/image5.jpeg);
    height: 350px;
}
.panel {
    border-radius: 0.5em;/*角丸*/
    margin:60px 0;
    padding: 0 15px 15px 15px;
    opacity: 1;
    height: 230px;
}
.panel h3 {
    color: #FFFFFF;/*文字色*/
    border: solid 2px #006ad5;/*線色*/
    background-color: #006ad5;
    padding: 0.2em 0.5em;/*文字周りの余白*/
    border-radius: 0.3em;/*角丸*/
    opacity: 1;
}
.panel a {
    opacity: 1;
    font-weight: bold;
}
.photo-cap {
    color: #FFFFFF;
    background-color: #006ad5;
    font-weight: bold;
    margin-bottom:1.6em;
}
.sukima {
    margin-top: 10px;
    margin-bottom: 50px;
    background-color: #FFFFFF;
}
.br-nichi {
    margin-top: 10px;
    width: 130px;
}

.footer {
    background-color: #d5eaff !important;
}
.footer-widget-area {
    font-size: 16px;
    padding: 10px 0 0 0;
}
#nav {
    text-align: center;
    font-size:90%;
    line-height: 1.0;
    margin-top: 15px;
    margin-bottom: 20px;
    color: #000000;
}
#nav a {
    text-decoration: none;
    color: #000000;
    font-weight: bold;
}
#nav a:hover {
    text-decoration: none;
    color: #006ad5;
    font-weight: bold;
}
.copyright {
    background-color: #FFFFFF;
  text-align: right;
}

/* ---------------------------------------------------------------------
メールフォーム
--------------------------------------------------------------------- */
#top-cooplist {
	min-height: 50px;
	margin-top:5px;
	margin-right:5px;
	margin-bottom:20px;
}
div#mf_wrapper {
	width: 100%;
	text-align: left;
	margin: 0px auto 0px auto;
	font-family: sans-serif;
}
div#mf_header h1 {
	font-size: 24px;
	border-bottom: solid 1px #999999;
	margin: 0px;
	padding: 0px;
}
div#mf_header h2 {
	font-size: 16px;
	color: #999999;
	font-weight: normal;
	margin: 0px;
	padding: 0px;
}
form#mailform {
	padding: 5px;
	font-size: 13px;
	font-weight: normal;
}
#mailform span {
	color: #CC0000;
	font-size: 10px;
}
.must {
	background: #E60012;
	padding: 0;
	margin: 0 10px;
	color: #fff !important;
	font-weight: bold;
	font-size: 12px;
	position: absolute;

	top: 0.3em;
	width: 40px;
	text-align: center;
}
#mailform .policy {
	color: #7272e2;
}
#mailform .policy :hover{
	color: #7272e2;
}
#mailform .leftborder {
	border-left: solid 7px #dcdcf8 !important;
	padding-top: 5px;
	line-height: 2.4em;
}
#mailform .mondai {
	color: #7272e2;
	font-weight: bold;
	font-size: 14px;
}

table.mailform {
	width: 100%;
}
table.mailform tr th,table.mailform tr td {
	text-align: left;
	font-weight: normal;
	font-size: 13px;
	border-bottom: solid 1px #999999;
	padding: 7px 5px 7px 5px;
}
.noline {
	text-align: left;
	border-bottom: solid 1px #FFFFFF!important;
	padding: 7px 0px 7px 0px!important;
}
table.mailform tr th {
	width: 100px;
	text-align: right;
	padding-right: 10px;
}
.blank_sp {
	width: 7px !important;
	background-color: #dcdcf8;
	padding: 7px 0px 7px 0px !important;
}
table.mailform tr th span {
	color: #CC0000;
	font-size: 10px;
}
table.mailform tr td span {
	color: #CC0000;
	font-size: 10px;
}
table.mailform tr th p {
	margin: 0px;
	padding: 0px;
	font-size: 10px;
	color: #999999;
}
table.mailform tr td textarea {
	width: 100%;
	height: 120px;
}

.cmLinkBox01 {
	border: solid 1px #aaaaaa;
	padding: 10px;
	background-color: #ffffff;
	width: 45%;
	margin-bottom: 7px;
}
.cmLinkBox01 .cmLinkBox01Tit {
	background-color: #e5f3ff;
	background-image: url("./in_question_back.jpg");
	background-size: cover;
	background-position: right center;
	display: block;
	color: #333333;
	padding: 10px;
}
.cmLinkBox01 a.cmLinkBox01Tit strong {
	display: block;
	padding-top: 10px;
	padding-right: 10px;
}
.cmLinkBox01 .cmLinkBox01Cap {
	display: block;
	padding: 0;
}
.cmPosRight {
	text-align: right !important;
}
.cmFltLeft {
	float: left;
}
.cmFltRight {
	float: right;
}
.cmTxt{
	font-weight: bold;
}

.button {
  display       : inline-block;
  border-radius : 5px;          /* 角丸       */
  font-size     : 14pt;        /* 文字サイズ */
  text-align    : center;      /* 文字位置   */
  cursor        : pointer;     /* カーソル   */
  padding       : 6px 26px;   /* 余白       */
  background    : #6b66a9;     /* 背景色     */
  color         : #ffffff;     /* 文字色     */
  line-height   : 1em;         /* 1行の高さ  */
  transition    : .3s;         /* なめらか変化 */
  border        : 2px solid #6b66a9;    /* 枠の指定 */
}
.button:hover {
  color         : #6b66a9;     /* 背景色     */
  background    : #ffffff;     /* 文字色     */
}
.reset_botton {
  display       : inline-block;
  border-radius : 5px;          /* 角丸       */
  font-size     : 14pt;        /* 文字サイズ */
  text-align    : center;      /* 文字位置   */
  cursor        : pointer;     /* カーソル   */
  padding       : 6px 26px;   /* 余白       */
  background    : #AAA;     /* 背景色     */
  color         : #ffffff;     /* 文字色     */
  line-height   : 1em;         /* 1行の高さ  */
  transition    : .3s;         /* なめらか変化 */
  border        : 2px solid #AAA;    /* 枠の指定 */
}
.reset_botton:hover {
  color         : #AAA;     /* 背景色     */
  background    : #ffffff;     /* 文字色     */
}


@media screen and (max-width:767px){
    #header, #contents {
	width: 90%;
	margin: 0 auto;
    }
    .habakiri-slider, .habakiri-slider__item {
	height: 400px !important;
    }
    .slide-read {
        display:none;
    }
    .slide-read-box {
        display:none;
    }
    .slide-read-box2 {
        display:none;
    }
    .slide-title {
        width: 80%;
        margin-top: 0px;
        margin-bottom: 20px;
    }
    .mbbr {
	display:block;
    }
    .first-gree {
	font-size: 1.4em !important;
	line-height: 1.3 !important;
    }
    .p-cover {
        background: linear-gradient(90deg, rgba(22, 135, 237, 0.6), rgba(20, 55, 90, 0.9)) ,url(wp-content/themes/habakiri-child/img/image5.jpeg);
        height: auto;
    }
    .panel {
        border-radius: 0.5em;/*角丸*/
        margin:30px 0;
        padding: 0 5px 5px 5px;
        text-align: center;
        opacity: 0.7;
        height: auto;
    }
    .panel h3 {
        font-size: 1.1em;
        color: #FFFFFF;/*文字色*/
        border: solid 2px #006ad5;/*線色*/
        background-color: #006ad5;
        padding: 0.2em 0.5em;/*文字周りの余白*/
        border-radius: 0.3em;/*角丸*/
        opacity: 1;
    }
    .panel p {
        font-size: 1.0em;
        line-height: 1.6em;
    }
}