@charset "utf-8";
/*
Template: 
Theme Name: 
*/

/*----------------------------------------------------
	#mainImg
----------------------------------------------------*/

#main_img {
    width: auto;
    overflow: hidden;
    min-width: 1100px;
    height: 450px;
    text-align: center;
    margin: 0 auto;
    margin-bottom: 30px;
}

#img_area {
    width: 1100px;
    height: 450px;
    margin: 0 auto;
}

#main_img-sub {
    min-width: 1100px;
    height: 150px;
    overflow: hidden;
    margin: 10px 0 0 0;

}

#img_area-sub {
    width: 1100px;
    height: 150px;
    background: url(https://tanobegroup.jp/wp-content/uploads/main_sub.png) no-repeat right #f8f8f8;
    margin: 0 auto;
}

#img_area-sub h2 {
    clear: both;
    width: 100%;
    height: auto;
    font-size: 36px;
    line-height: 100%;
    padding-top: 56px;
    padding-left: 48px;
    color: #000;
}


@media screen and (max-width: 768px) {

#main_img,
#img_area {
    display: none;
}

#main_img-sub {
    min-width: 100%;
    width: 100%;
    height: 100px;
    overflow: hidden;
    margin: 0 0 20px 0;
}

#img_area-sub {
    width: 100%;
    height: 150px;
    background: url(https://tanobegroup.jp/wp-content/uploads/main_sub_sp.png) no-repeat top right #f8f8f8;
    margin: 0 auto;
}

#img_area-sub h2 {
    clear: both;
    width: 100%;
    height: auto;
    font-size: 18px;
    line-height: 100%;
    margin: 0 auto;
    padding-top: 42px;
    padding-left: 15px;
    text-align: left;
}

#img_area-sub h2.h2_sp {
    padding-top: 31px;
    line-height: 120%;
    font-size: 16px;
}

#img_area-sub h2.h2_sp span {
    display: block;
}

}


/*----------------------------------------------------
	#main
----------------------------------------------------*/

#main {
    float: left;
    width: 820px;
}

#main h2 {
    width: auto;
    height: auto;
    background: #ffd974;
    color: #000;
    font-weight: 200;
    padding: 20px 10px 20px 25px;
    text-align: left;
    font-size: 19px;
    margin-bottom: 15px;
    line-height: 100%;
    position: relative;
    z-index: 10;
}

#main h2:before {
    content: "";
    position: absolute;
    margin: 2px;
    border: 1px #fff solid;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    z-index: -10;
}

#main h2.h2_top {
    background: #fff;
    color: #000;
    font-size: 30px;
    font-weight: bold;
    line-height: 100%;
    letter-spacing: 0px;
    padding: 0;
}

#main h2.h2_top:before {
    display: none;
}

#main h3 {
    width: auto;
    height: auto;
    margin-bottom: 20px;
    font-size: 22px;
    font-weight: bold;
    line-height: 150%;
}

#main h4 {
    width: auto;
    height: auto;
    margin-bottom: 5px;
    font-size: 19px;
    font-weight: bold;
    line-height: 150%;
}


@media screen and (max-width: 768px) {

#main {
    float: none;
    width: 100%;
    height: auto;
}

#main h2 {
    width: 100%;
    height: auto;
    font-size: 18px;
    margin-bottom: 20px;
}

#main h2.h2_top {
    font-size: 24px;
    line-height: 130%;
    letter-spacing: 0px;
    padding: 0;
    margin-bottom: 10px;
}

#main h3 {
    width: 100%;
    height: auto;
    font-size: 18px;
    margin-bottom: 10px;
    line-height: 150%;
}

#main h4 {
    font-size: 16px;
}

}


/* -----------------------------------------------------------
	会社沿革
----------------------------------------------------------- */

table#history {
    border-top: 1px solid #ccc;
}

#history th {
    width: 100%;
    padding: 15px;
    float: none;
    display: block;
    border-top: none;
    overflow: hidden;
}

#history td {
    width: 100%;
    padding: 15px;
    display: block;
    float: none;
    border-top: none;
    overflow: hidden;
}

#history p {
    font-size: 14px;
    margin-bottom: 0;
    text-align: left;
}

.history_l250 {
    width: 250px;
    height: auto;
    float: left;
    overflow: hidden;
}

.history_l400 {
    width: 400px;
    height: auto;
    float: left;
    overflow: hidden;
}

.history_r375 {
    width: 375px;
    height: auto;
    float: right;
    overflow: hidden;
}

.history_r520 {
    width: 520px;
    height: auto;
    float: right;
    overflow: hidden;
}

.history_lr {
    clear: both;
    padding: 10px 0 0;
    overflow: hidden;
}

.history_l50 {
    width: 48.5%;
    height: auto;
    float: left;
    overflow: hidden;
}

.history_r50 {
    width: 48.5%;
    height: auto;
    float: right;
    overflow: hidden;
}


@media screen and (max-width: 768px) {

#history th {
    padding: 10px;
}

#history td {
    padding: 10px;
}

.history_l250 {
    width: 100%;
    float: none;
    text-align: center;
    margin-bottom: 20px;
}

.history_l250 img {
    width: 60%;
}

.history_l250 p {
    text-align: center !important;
}

.history_r520 {
    width: 100%;
    float: none;
}

.history_lr {
    clear: both;
    padding: 20px 0 0;
}

.history_l50,
.history_l400 {
    width: 100%;
    text-align: center;
    float: none;
    margin-bottom: 20px;
}

.history_r50,
.history_r375 {
    width: 100%;
    text-align: center;
    float: none;
}

}


/* -----------------------------------------------------------
	お問い合わせフォーム
----------------------------------------------------------- */

table#contact_form {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
    margin-bottom: 30px;
}

#contact_form tbody {
    border-collapse: collapse;
    border-spacing: 0;
}

#contact_form th {
    width: 250px;
    font-size: 14px;
    border-collapse: collapse;
    border: 1px solid #ccc;
    text-align: left;
    padding: 15px;
    background-color: #f8f8f8;
    vertical-align: middle;
    margin-bottom: 0;
    border-radius: 0;
}

#contact_form td {
    width: auto;
    font-size: 14px;
    border-collapse: collapse;
    border: 1px solid #ccc;
    padding: 15px;
    margin-bottom: 10px;
    background: #fff;
}

textarea.wpcf7-form-control.wpcf7-textarea {
    font-family: "Noto Sans Japanese", "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", Meiryo, メイリオ, "ＭＳ Ｐゴシック", sans-serif;
	line-height: 150%;
    width: 100%;
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 5px 10px;
    overflow: hidden;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -o-border-radius: 0;
    border-radius: 0;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

span.wpcf7-list-item {
    margin-left: 0 !important;
    margin-right: 10px !important;
    display: inline-block;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -o-border-radius: 0;
    border-radius: 0;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.wpcf7 form input[type="image"] {
    margin-bottom: 40px;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -o-border-radius: 0;
    border-radius: 0;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.wpcf7 form input[type="text"],
.wpcf7 form input[type="tel"],
.wpcf7 form input[type="email"],
.wpcf7 form input[type="date"],
.wpcf7 form input[type="number"] {
    font-family: Verdana, "游ゴシック", YuGothic, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
    line-height: 150%;
    border: 1px solid rgba(0, 0, 0, 0.1);
    width: auto;
    max-width: 100%;
    padding: 5px 10px;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -o-border-radius: 0;
    border-radius: 0;
}

#contact_form select {
    font-family: "Noto Sans Japanese", "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", Meiryo, メイリオ, "ＭＳ Ｐゴシック", sans-serif;
    line-height: 150%;
    border: 1px solid rgba(0, 0, 0, 0.1);
    width: 230px;
    height: 34px;
    padding: 5px;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -o-border-radius: 0;
    border-radius: 0;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    position: relative;
    outline:none;
}

.wpcf7 form lavel {
    position: relative;
    display: block;
}

.wpcf7 form lavel:after {
    display: block;
    content: "\f078";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 13px;
    color: #666;
    position: absolute;
    line-height: 150%;
    top: 50%;
    left: 205px;
    margin-top: -8px;
    pointer-events: none;
}

select::-ms-expand {
    display: none;
}

#contact_form input[type="file"] {
    font-family: "Noto Sans Japanese", "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", Meiryo, メイリオ, "ＭＳ Ｐゴシック", sans-serif;
    line-height: 150%;
    width: 100%;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -o-border-radius: 0;
    border-radius: 0;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.wpcf7 form input[type="textarea"]:focus,
.wpcf7 form input[type="text"]:focus,
.wpcf7 form input[type="tel"]:focus,
.wpcf7 form input[type="email"]:focus,
.wpcf7 form input[type="checkbox"]:focus,
.wpcf7 form input[type="radio"]:focus,
.wpcf7 form textarea:focus,
.wpcf7 form select:focus {
    border: 1px solid #ccc !important;
 }

#contact_form input[type="file"]:focus {
    border: none;
}

.wpcf7 form input[type="textarea"],
#contact_form input[type="submit"],
#contact_form input[type="text"],
#contact_form input[type="tel"],
#contact_form input[type="checkbox"],
#contact_form input[type="radio"]
#contact_form input[type="email"],
#contact_form input[type="image"],
#contact_form input[type="file"],
#contact_form textarea {
    outline:none;
}

input[type="submit"] {
    outline:none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.wpcf7 form input[type="checkbox"],
.wpcf7 form input[type="radio"] {
    position: relative;
    top: 2px;
}

div.wpcf7 .ajax-loader {
    display: none !important;
}

.wpcf7-validation-errors {
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: center;
}

span.wpcf7-not-valid-tip {
    font-size: 13px !important;
    color: #e60012 !important;
    display: block;
    margin-top: 5px;
}

.wpcf7-response-output {
    font-size: 13px !important;
    padding: 0 !important;
    margin: 0 !important;
    color: #e60012 !important;
    border: none !important;
    text-align: center;
}

.wpcf7-mail-sent-ok,
.wpcf7-mail-sent-ng {
    border: none !important;
}

.kome {
    font-size: 13px !important;
    padding-top: 5px;
    line-height: 150%;
    display: block;
}


@media screen and (max-width: 768px) {

table#contact_form {
    margin-bottom: 20px;
}

#contact_form th {
    width: 100%;
    padding: 12px 10px !important;
    text-align: left;
    display: block;
    border: none;
    margin-bottom: 5px;
}

#contact_form td {
    width: 100%;
    padding: 10px !important;
    text-align: left;
    display: block;
    border: none;
    background: none;
    margin-bottom: 5px;
}

.wpcf7 form input[type="image"] {
    margin-bottom: 30px;
}

.wpcf7 form input[type="checkbox"] {
    top: -2px;
}

input[type="radio"] {
    width: auto;
    top: -2px;
}

.android #contact_form input[type="file"] {
    font-size: 12px;
}

#contact_form select {
    line-height: 34px;
    height: 34px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: #fff;
    width: 230px !important;
    border-radius: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -o-border-radius: 0;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    text-indent: 5px;
    padding: 0 !important;
}

.wpcf7 form lavel:before {
    display: none;
}

.wpcf7 form lavel:after {
    display: block;
    content: "\f078";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 13px;
    color: #666;
    position: absolute;
    top: 50%;
    right: 10px;
    margin-top: -8px;
    pointer-events: none;
    z-index: 5;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

#contact_form input[type="text"],
#contact_form input[type="tel"],
#contact_form input[type="email"],
#contact_form input[type="radio"] {
    width: auto;
}

.wpcf7-validation-errors {
    margin: 0 auto !important;
    padding: 0 0 20px 0 !important;
    text-align: center;
    width: 100%;
    max-width: 275px;
    line-height: 170%;
}

#contact_form input.wpcf7-form-control.wpcf7-text.wpcf7-validates-as-required,
#contact_form input.wpcf7-form-control.wpcf7-text.wpcf7-email.wpcf7-validates-as-email {
    padding: 7px 5px 5px;
}

.android #contact_form input.wpcf7-form-control.wpcf7-text.wpcf7-validates-as-required {
    line-height: 10px;
    height: 34px;
}

}


/* -----------------------------------------------------------
	必須タグ
----------------------------------------------------------- */

.tag.tag_imperative {
    color: #fff;
    display: inline-block;
    padding: 4px 7px;
    font-size: 12px;
    font-style: normal;
    background: #8ac8e5;
    margin-left: 10px;
    line-height: 100%;
}


/* -----------------------------------------------------------
	送信ボタン
----------------------------------------------------------- */

.submit {
    font-family: "Noto Sans Japanese", "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", Meiryo, メイリオ, "ＭＳ Ｐゴシック", sans-serif;
    width: 250px;
    font-size: inherit;
    letter-spacing: 1px;
    height: auto;
    margin: 0 auto;
    text-align: center;
    padding: 15px 10px;
    line-height: 100%;
    background: #f5d468;
    border: none;
    color: #000 !important;
    border: 4px double #fff;
}

.submit:hover {
    background: #8ac8e4;
    transition: all .5s;
    -webkit-transition: all .5s;
    text-decoration: none;
}


@media screen and (max-width: 768px) {

.submit {
    width: 90%;
    max-width: 250px;
}

}


/* -----------------------------------------------------------
	サイトマップ
----------------------------------------------------------- */

ul#sitemap_list {
    margin-bottom: 30px;
}

#sitemap_list li.home-item a {
    padding: 0 0 10px;
}

#sitemap_list li a {
    text-indent: 0;
    display: block;
    list-style-type: none;
    border-bottom: 1px solid #ccc;
    color: #000;
    overflow: hidden;
    padding: 10px 0;
}

#sitemap_list li a:hover {
    color: #8ac8e5;
}


/* -----------------------------------------------------------
	NEWマーク
----------------------------------------------------------- */

.new {
    color: #fff;
    padding: 3px 10px;
    font-size: 12px;
    background: #8ac8e5;
    margin: 0 0 0 5px;
    line-height: 100%;
}


/* -----------------------------------------------------------
	新着情報・ブログ(PC)
----------------------------------------------------------- */

.more_btn_info {
    position: absolute;
    top: 22px;
    right: 25px;
    font-size: 15px;
    line-height: 100%;
    z-index: 10;
    color: #000;
}

.more_btn_info:before {
    content: "\f138";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    padding-right: 6px;
    vertical-align: middle;
    position: relative;
    top: -1px;
}

.more_btn_info:hover {
    color: #fff;
}

li.info-top {
    border-bottom: 1px dotted #ccc;
    padding: 10px 0 10px 5px;
    clear: both;
    overflow: hidden;
}

p.date {
    font-size: 12px;
    margin-bottom: 0;
    color: #000;
    letter-spacing: 0;
    display: inline-block;
    padding-top: 5px;
    margin-right: 5px;
}

p.title {
    margin-bottom: 0;
    display: inline-block;
    line-height: 140%;
}

p.title a {
    color: #000;
    font-size: 14px;
}

#list_inner {
    overflow: hidden;
    min-height: 100%;
}

#list_inner a:hover {
    opacity: 0.7;
    text-decoration: none;
}

#list_inner p {
    text-align: left;
    margin-bottom: 0;
}

.list_image {
    text-align: center;
    margin: 0 auto;
    vertical-align: middle;
    line-height: 169px;
}

.list_title {
    font-size: 19px !important;
    line-height: 140% !important;
    color: #000;
    font-weight: bold;
    margin-top: 5px !important;
    margin-bottom: 5px !important;
}

p.list_date {
    font-size: 13px !important;
    margin: 15px 0 20px 0 !important;
    color: #000;
    letter-spacing: 0;
}

.trimming {
    width: 253px;
    height: 171px;
    overflow: hidden;
}

.list_image img {
    min-height: 170px;
    min-width: 260px;
    max-width: 100%;
    margin-left: -100px;
    margin-right: -100px;
    margin-top: -100px;
    margin-bottom: -100px;
}

.blog_first {
    width: 820px;
    height: auto;
    margin-top: 10px;
    margin-bottom: 30px;
    overflow: hidden;
}

.blog_first_l {
    width: 350px;
    height: auto;
    float: left;
    overflow: hidden;
}

.blog_first_r {
    width: 450px;
    height: auto;
    float: right;
    overflow: hidden;
}

p.list_date_first {
    font-size: 13px !important;
    margin: 0 0 5px 0 !important;
    color: #000;
    letter-spacing: 0;
}

.list_image_first {
    text-align: center;
    margin: 0 auto;
    vertical-align: middle;
    line-height: 230px;
}

.trimming_first {
    width: 350px;
    height: 233px;
    overflow: hidden;
}

.list_image_first img {
    min-height: 233px;
    min-width: 350px;
    max-width: 100%;
    margin-left: -100px;
    margin-right: -100px;
    margin-top: -100px;
    margin-bottom: -100px;
}

.tag.tag_more {
    font-size: 13px;
    display: inline-block;
    font-style: normal;
    line-height: 100%;
    color: #000;
    background-color: #f5d468;
    padding: 6px 10px;
    position: relative;
    top: 1px;
}

.tag.tag_more:before {
    content: "\f0da";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    padding: 0 3px 0 0;
    vertical-align: middle;
    text-decoration: none;
    position: relative;
    top: -1px;
}


/* -----------------------------------------------------------
	新着情報・ブログ(スマートフォン)
----------------------------------------------------------- */

@media screen and (max-width: 768px) {

.more_btn_info {
    top: 22px;
    right: 15px;
    font-size: 14px;
}

p.date {
    margin: 0;
    display: block;
}

.list_image {
    min-width: 100%;
    max-width: 100%;
    min-height: 100%;
    max-height: 100%;
    overflow: hidden;
    text-align: center;
    margin: 0 auto;
    vertical-align: middle;
    margin-bottom: 0;
}

.list_image img {
    margin: 0;
    max-width: 100%;
}

.trimming {
    height: auto;
    width: 100%;
    overflow: hidden;
}

#list_inner {
    margin-bottom: 0;
}

#list_inner p {
    margin-bottom: 0;
}

.blog_first {
    width: 100%;
    height: auto;
    margin-top: 0;
}

.blog_first_l {
    width: 100%;
    height: auto;
    float: none;
    margin: 0 auto;
    margin-bottom: 20px;
}

.blog_first_r {
    width: 100%;
    height: auto;
    float: none;
    margin: 0 auto;
    margin-bottom: 40px;
}

.list_image_first {
    min-width: 100%;
    max-width: 100%;
    min-height: 100%;
    max-height: 100%;
    overflow: hidden;
    text-align: center;
    margin: 0 auto;
    vertical-align: middle;
    margin-bottom: 0;
}

.trimming_first {
    height: auto;
    width: 100%;
    overflow: hidden;
}

.list_image_first img {
    margin: 0;
    max-width: 100%;
}

}


/* -----------------------------------------------------------
	個別ページページャー
----------------------------------------------------------- */

.pager {
    clear: both;
    text-align: center;
    margin: 30px 0 20px;
}

.pager .fa {
    padding: 0 5px !important;
}

.pager .next a {
    width: auto;
    height: 41px;
    clear: both;
    font-size: 13px;
    padding: 11px 10px;
    background: #f5d468;
    color: #000;
    line-height: 100%;
    display: inline-block;
    border: 3px #fff double;
}

.pager .previous a {
    width: auto;
    height: 41px;
    clear: both;
    font-size: 13px;
    padding: 11px 10px;
    background: #f5d468;
    color: #000;
    line-height: 100%;
    display: inline-block;
    border: 3px #fff double;
}

.pager .more {
    clear: both;
    width: auto;
    height: 41px;
    font-size: 13px;
    background: #f5d468;
    padding: 11px 15px;
    margin: 30px 5px;
    color: #000 !important;
    line-height: 100%;
    display: inline-block;
    border: 3px #fff double;
}

.pager .next a:hover,
.pager .previous a:hover,
.pager .more:hover {
    background: #f9e08a;
    text-decoration: none;    
}


/* -----------------------------------------------------------
	ページネーション
----------------------------------------------------------- */

.pagination {
    clear: both;
    list-style-type: none;
    padding-left: 0;
    margin: 30px 0;
}
 
.pagination,
.pagination li a {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}
 
.pagination a {
    font-weight: 300;
    padding-top: 1px;
    text-decoration: none;
    border: 1px solid #fff;
    border-left-width: 0;
    min-width: 36px;
    min-height: 35px;
    color: #000;
    background: #f9e08a;
}
 
.pagination li:not([class*="current"]) a:hover {
    background: #f5d468;
}
 
.pagination li:first-of-type a {
    border-left-width: 1px;
}
 
.pagination li.first span,
.pagination li.last span,
.pagination li.previous span,
.pagination li.next span {
    position: absolute;
    top: -9999px;
    left: -9999px;
}
 
.pagination li.first a::before,
.pagination li.last a::after,
.pagination li.previous a::before,
.pagination li.next a::after {
    display: inline-block;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transform: translate(0, 0);
}
 
.pagination li.first a::before { content: "\f100"; }
.pagination li.last a::after { content: "\f101"; }
 
.pagination li.previous a::before { content: "\f104"; }
.pagination li.next a::after { content: "\f105"; }
 
.pagination li.current a {
    background: #f5d468;
    cursor: default;
    pointer-events: none;
}
 
.pagination > li:first-child > a {
    border-bottom-left-radius: 4px;
    border-top-left-radius: 4px;
}
 
.pagination > li:last-child > a {
    border-bottom-right-radius: 4px;
    border-top-right-radius: 4px;
}