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


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

#main_img {
    height: 450px;
    margin:10px 0 20px 0;
}

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

#main_img-sub {
    height: 150px;
    margin:10px 0 10px 0;
}

#img_area-sub {
    width: 980px;
    height: 150px;
    margin: 0 auto;
}


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

#main_img {
    width: 100%;
    height: auto;
    margin: 0 auto;
    margin-top: 20px;
    margin-bottom: 30px;
}

#img_area {
    width: 100%;
    height: auto;
    margin: 0 auto;
}

#main_img-sub {
    display: none;
}

}


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

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

#main h2 {
    clear: both;
    width: auto;
    height: auto;
    color: #fff;
    font-size: 17px;
    font-weight: bold;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    padding: 10px 20px;
    background: url(https://www.straight-box.jp/wp-content/uploads/bg.png);
}

#main h3 {
    clear: both;
    width: auto;
    height: auto;
    font-size: 18px;
    margin-top: 50px;
    margin-bottom: 10px;
    padding: 0 0 5px 0;
    font-weight: bold;
    border-bottom: 2px solid;
}


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

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

#main h2 {
    width: 90%;
    height: auto;
    margin: 0 auto;
    margin-bottom: 20px;
    padding: 10px;
    box-sizing: border-box;
    text-align: center;
}

#main h2.top_info {
    width: 100% !important;
    text-align: left;
}

#sp_archive h2 {
    width: 100%;
}

#main h3 {
    width: 100%;
    height: auto;
    line-height: 150%;
    box-sizing: border-box;
}

}


/* -----------------------------------------------------------
	トップページ アクセス
----------------------------------------------------------- */

#main p.access_title {
    font-size: 16px;
    border-bottom: 1px solid #000;
    padding: 5px 0 6px 0;
    margin-bottom: 10px;
}

#main p.tel {
    font-size: 30px;
    margin-bottom: 10px;
    color: #3855B5;
    line-height: 140%;
}

#main p.tel a {
    color: #3855B5;
}

#main p.tel a:hover {
    text-decoration: none;
}

#main dl {
    margin-bottom: 10px;
    padding-left: 15px;
    height: auto;
    overflow: hidden;
    box-sizing: border-box;
    float: left;
}

#main dt {
    font-size: 13px;
    float: left;
    width: 130px;
    clear: both;
    color: #000;
    box-sizing: border-box;
}

#main dd {
    font-size: 13px;
    float: left;
    padding-left: 15px;
    color: #000;
    box-sizing: border-box;
}

.pl33 { padding-left: 33px !important; }

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

#main dl {
    margin-bottom: 20px;
    height: auto;
    overflow: hidden;
    float: left;
}

#main dt {
    width: 70px;
    padding-left: 5px;
}

#main dd {
    width: 155px;
    padding-left: 15px;
}

#main .ladys dd {
    width: 110px;
    padding-left: 15px;
}

.pl33 { padding-left: 16px !important; }

}


/* -----------------------------------------------------------
	代表あいさつ
----------------------------------------------------------- */

.greetings dl {
    margin-bottom: 20px !important;
    padding-left: 0 !important;
}

.greetings dt {
    width: 73px !important;
    font-size: 14px !important;
    padding-left: 0 !important;
}

.greetings dt.w135 {
    width: 135px !important;
}

.greetings dd {
    width: 257px !important;
    font-size: 14px !important;
    padding-left: 0 !important;
}

.greetings dd.w205 {
    width: 205px !important;
}

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

#main dl {
    padding-left: 0 !important;
    margin-bottom: 30px !important;
}

.greetings dt {
    width: 25% !important;
    max-width: 100px;
    line-height: 180%;
}

.greetings dt.w135 {
    width: 45% !important;
    max-width: 150px;
    box-sizing: border-box;
}

.greetings dd {
    width: 75% !important;
    padding-left: 0 !important;
    line-height: 180%;
}

.greetings dd.w205 {
    width: 55% !important;
    box-sizing: border-box;
}

}


/* -----------------------------------------------------------
	Ｑ＆Ａ
----------------------------------------------------------- */

h3.q {
    margin-top: 0 !important;
}

h3.q:before {
    content: "Q";
    font-size: 24px;
    color: #3855B5;
    padding-right: 10px;
}

p.a {
    padding: 0 3px;
    margin-bottom: 50px;
}

p.a:before {
    content: "A";
    font-size: 25px;
    font-weight: bold;
    color: #e60012;
    padding-right: 10px;
}


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

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

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

textarea.wpcf7-form-control.wpcf7-textarea {
    font-family: "メイリオ", "ＭＳ Ｐゴシック", sans-serif;
    line-height: 150%;
    font-size: 14px;
    color: #000;
    border: 1px solid #ccc;
    width: 100%;
    padding: 2px;
    box-sizing: border-box;
}

span.wpcf7-list-item {
    display: block;
    margin-bottom: 5px;
}

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

.wpcf7 form input[type="text"],
.wpcf7 form input[type="tel"],
.wpcf7 form input[type="email"],
.wpcf7 form input[type="checkbox"],
.wpcf7 form input[type="radio"] {
    font-family: "メイリオ", "ＭＳ Ｐゴシック", sans-serif;
    line-height: 150%;
    font-size: 14px;
    color: #000;
    border: 1px solid #ccc;
    width: 100%;
    padding: 2px;
    box-sizing: border-box;
 }

.wpcf7 form input[type="textarea"]:focus,
.wpcf7 form input[type="submit"]: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 {
    border: 1px solid #ccc;
 }

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

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

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

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

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

.wpcf7-response-output {
    padding: 0 !important;
    color: #e60012 !important;
}

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


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

table.contact_form {
    margin-bottom: 0;
}

.contact_form th {
    width: 100%;
    text-align: left;
    display: block;
    border: none;
    margin-bottom: 10px;
    box-sizing: border-box;
}

.contact_form td {
    width: 100%;
    text-align: left;
    display: block;
    border: none;
    background: none;
    margin-bottom: 15px;
    box-sizing: border-box;
}

.wpcf7 form input[type="text"],
.wpcf7 form input[type="tel"],
.wpcf7 form input[type="email"] {
    box-sizing: border-box;
    padding: 5px !important;
}

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

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

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

}


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

.tag.tag_imperative {
    font-size: 11px;
    color: #fff;
    background-color: #3855B5;
    padding: 0 7px;
    margin-left: 7px;
    position: relative;
    top: -1px;
}


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

.submit {
    font-family: "メイリオ", "ＭＳ Ｐゴシック", sans-serif;
    width: 20%;
    font-size: 14px;
    height: auto;
    margin: 0 auto;
    text-align: center;
    padding: 10px;
    margin-top: 15px;
    margin-bottom: 40px;
    background: url(https://www.straight-box.jp/wp-content/uploads/bg.png);
    border: none;
    color: #fff !important;
}

.submit:hover {
    opacity: 0.7;
    color: #fff !important;
    border: none;
    text-decoration: none;
}


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

.submit {
    width: 60%;
    font-size: 15px;
    margin-top: 0;
}

}


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

#sitemap_list li {
    text-indent: 0;
    padding: 0 0 5px 5px;
    list-style-type: none;
}

#sitemap_list li:before {
    content: "\f0da";
    font-family: FontAwesome;
    padding-right: 7px;
    font-size: 13px;
    color: #3855B5;
}


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

.new {
    color: #fff;
    padding: 1px 10px;
    font-size: 11px;
    background: #3855B5;
    margin-left: 10px;
}


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

.more_btn_info {
    position: absolute;
    top: 13px;
    right: 25px;
    font-size: 13px;
    color: #fff;
}

.more_btn_info:before {
    content: "\f138";
    font-family: FontAwesome;
    padding-right: 6px;
    vertical-align: middle;
    position: relative;
    top: -1px;
}

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

p.date {
    font-size: 13px;
    margin-top: 2px;
    margin-bottom: 5px;
    color: #000;
    float: left;
}

p.title {
    margin-bottom: 5px;
}

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

#list_inner {
    min-width: 230px;
    min-height: 260px;
}

#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;
}

p.list_date {
    font-size: 13px !important;
    padding-bottom: 5px;
    border-bottom: 1px solid;
    margin-top: 10px;
    margin-bottom: 10px;
    color: #000;
    text-align: left;
}

.trimming {
    height: 170px;
    overflow: hidden;
}

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

ul.related_post li.odd {
    min-height: 118px;
    width: 410px;
    margin-right: 20px;
    margin-bottom: 20px;
    float: left;
}

ul.related_post li.odd:hover {
    opacity: 0.7;
}

ul.related_post li.odd .image img {
    display: block;
    border: 1px solid #ddd;
    padding: 2px;
    float: left;
    width: 150px;
    min-height: 112px;
    margin-right: 15px;
}


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

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

.more_btn_info {
    position: absolute;
    top: 23px;
    right: 15px;
    font-size: 13px;
}

li.info-top {
    border-bottom: 1px dotted #ccc;
    margin-bottom: 10px;
    padding-left: 10px;
}

p.date {
    float: none;
    margin: 0;
}

p.title {
    float: none;
}

p.title a {
    padding: 0;
}

.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;
    line-height: 100%;
}

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

.list_image img {
    min-width: none;
    min-height: none;
    max-width: 100%;
    max-height: none;
    height: auto;
    margin: 0 auto;
    margin-bottom: 10px;
}

#list_inner{
    margin-bottom: 30px;
}

#list_inner p {
    margin-bottom: 0;
}


ul.related_post li.odd {
    min-height: 117px;
    width: 100%;
    margin-right: 0;
    margin-bottom: 30px;
    float: none;
}

ul.related_post li.odd .image img {
    display: block;
    border: 1px solid #ccc;
    padding: 2px;
    float: left;
}

}


/* -----------------------------------------------------------
	アーカイブ表示
----------------------------------------------------------- */

#pc_archive {
    display: block;
    margin-bottom: 20px;
}

#pc_archive li {
    padding: 5px;
    border-bottom: 1px dotted #000;
}

#pc_archive li:before {
    content: "\f073";
    font-family: FontAwesome;
    padding-right: 5px;
}

#pc_archive li a {
    color: #000;
}

#sp_archive {
    display: none;
}


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

#pc_archive {
    display: none;
}

#sp_archive {
    display: block;
    margin-bottom: 60px;
}

#sp_archive li {
    padding: 5px;
    border-bottom: 1px dotted #000;
}

#sp_archive li:before {
    content: "\f073";
    font-family: FontAwesome;
    padding-right: 5px;
}

#sp_archive li a {
    color: #000;
}

}