/*
Theme Name: 太豊自動車
Theme URI: http://www.sample.com/
Author: saicomputer
Author URI: http://www.saicomputer.jp/
Description: テンプレ
Version: 1.0
License: saicomputer
License URI: saicomputer
Text Domain: テンプレ

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/
@charset "utf-8";

/****************************** 全体共通 ******************************/
html {
    font-size: 16px;

}

html * {
    box-sizing: border-box;
}

body {
    font-family: verdana, "游ゴシック"
        /*"ヒラギノ丸ゴ ProN W4"*/
        , "YuGothic"
        /*"Hiragino Maru Gothic ProN"*/
        , "メイリオ", "Meiryo", "ＭＳ Ｐゴシック", "MS PGothic", Sans-Serif;
}

body,
#wrapper {
    display: flex;
    flex-direction: column;
    min-height: 56vh;
}

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

    body,
    #wrapper {
        min-height: 51vh;
    }
}

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

    body,
    #wrapper {
        min-height: 70.4vh;
    }
}

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

    body,
    #wrapper {
        min-height: 66vh;
    }
}

html,
body {
    scroll-padding-top: 90px;
    /* 固定ヘッダの高さ分 */
}

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

    html,
    body {
        scroll-padding-top: 80px;
        /* 固定ヘッダの高さ分 */
    }
}

section {
    padding-top: 50px;
    padding-bottom: 50px;
}

@media screen and (max-width: 414px) {
    section {
        padding-top: 30px;
        padding-bottom: 30px;
    }
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
    padding: 0;
}

a {
    text-decoration: none;
}

a:hover {
    color: #000;
}

h1 {
    text-indent: -9999px;
    margin: -24px;
}

.red {
    color: #DC0005;
}

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

    table,
    tbody,
    table tr,
    table th,
    table td {
        display: block;
        width: 100%;
    }
}

.pc {
    display: block;
}

@media screen and (min-width: 769px) {
    .sp {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    .pc {
        display: none;
    }

    .sp {
        display: block;
    }
}

h2 {
    font-weight: bold;
    line-height: 1.5;
}

h3,
p {
    line-height: 1.5;
}

@media screen and (max-width: 768px) {
    h2 {
        font-size: 1.5rem;
    }
}

a:hover {
    text-decoration: none;
}

/****************************** header ******************************/

header {
    position: relative;
    opacity: 0.8;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    /* background-color: #fff; */
}

header ul li a {
    color: #000;
}

header ul li a :hover {
    color: #000;
    text-decoration: none;
}

.header_main {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding-top: 10px;
    padding-bottom: 10px;
    background-color: rgba(255, 255, 255, 0.9);
}

.header_main img {
    width: 80%;
}

.header_main ul {
    margin: 0;
}

.header_main ul li {
    font-weight: bold;
    margin-left: 7px;
    margin-right: 7px;
}

.navi {
    display: flex;
    height: 2rem;
    margin: 0 auto;
    /*    width: 1000px;*/

}

/*
.navi > li {
    width: 25%;
}
*/

.navi li {
    list-style: none;
    position: relative;
    height: 2rem;
}

.navi li a {
    display: block;
    height: 2rem;
    line-height: 2rem;
    text-align: center;
    text-decoration: none;
    width: 100%;
    color: #000;
}

.navi li a:hover {
    border-bottom: 1px solid #1D1D1D;
    transition: .3s;
}

.navi li li {
    height: 0;
    overflow: hidden;
    background-color: #fff;
    transition: .3s;
    margin: 0;
    padding: 0 15px;
}

.navi li:hover > ul > li {
    height: 2rem;
    overflow: visible;
}

.navi li li a:hover {
    border-bottom: 1px solid #1D1D1D;
    /*    background-color: #1D1D1D;*/
    /*    color: #fff;*/
    transition: .3s;
}

.navi p {
    margin: 0;
}

@media screen and (max-width: 1024px) {
    .header_sp h1 {
        margin: 0;
        height: 0;
    }

    .header_main {
        height: 100%;
        padding: 10px;
    }

    .header_main div {
        flex: 1;
    }

    .title_logo {
        margin-left: 20px;
    }

    .nav_menu {
        margin-right: 46px;
        text-align: center;
    }

    .button {
        width: 45px;
        position: fixed;
        z-index: 9999;
        top: 30px;
        right: 42px;
        padding: 5px;
        border: none;
        border-radius: 10px;
        background-color: transparent;
        cursor: pointer;
    }

    .button span {
        display: block;
        width: 100%;
        height: 5px;
        background-color: #1D1D1D;
        margin-top: 3px;
        transition: .4s;
    }

    .button p {
        color: #1D1D1D;
        margin-top: 5px;
        margin-bottom: 0;
        font-size: 1.1rem;
    }

    .button span:last-child {
        margin-bottom: 6px;
    }

    .button span.active:nth-child(1) {
        transform: translatey(8px) rotate(45deg);
    }

    .button span.active:nth-child(2) {
        opacity: 0;
    }

    .button span.active:nth-child(3) {
        transform: translatey(-9px) rotate(-45deg);
    }
}

@media screen and (max-width: 768px) {
    .header_main {
        background-color: transparent;
    }

    .header_main div {
        flex: 0 1 auto;
    }

    .button {
        top: 8px;
        width: 40px;
        right: 20px;
    }

    .button p {
        font-size: 0.5rem;
    }
}

@media screen and (max-width: 414px) {
    .header_main {
        padding: 0;
    }
}

@media screen and (max-width: 768px) {
    .navi {
        width: 220px;
        display: flex;
        align-items: stretch;
        position: fixed;
        z-index: 9999;
        top: 0;
        bottom: 0;
        right: 0;
        margin-right: -300px;
        background: rgba(255, 255, 255, 1);
        height: auto;
    }
}

@media screen and (max-width: 1024px) {
    .menu {
        padding: 0;
        margin: 0;
        width: 100%;
        display: flex;
        flex-direction: column;
    }

    .menu li {
        flex: 1;
        list-style: none;
        width: 100%;
        align-items: center;
        display: flex;
    }

    .menu a {
        display: block;
        text-decoration: none;
        font-size: 14px;
        color: #525252;
        letter-spacing: 0.15rem;
        padding-bottom: 20px;
        padding-left: 20px;
        transition: .3s;
        width: 100%;
    }
}

@media screen and (max-width: 768px) {
    .logo {
        background: rgba(255, 255, 255, 0.8);
    }

    .logo img {
        width: 25%;
        padding: 15px;
    }
}

@media screen and (max-width: 414px) {
    .logo img {
        width: 45%;
    }

    .home {
        margin-top: 0px;
        margin-bottom: 0px;
    }
}

@media screen and (max-width: 320px) {
    .logo img {
        width: 45%;
    }

    .home {
        margin-top: 0px;
        margin-bottom: 0px;
    }
}

@media screen and (max-width: 320px) {
    .menu a {
        padding-bottom: 0px;
    }
}

/****************************** footer ******************************/

.row {
    margin-right: 0px;
    margin-left: 0px;
}

@media screen and (max-width: 768px) {
    .row p {
        margin: 0;
    }
}

.footer_address_bg {
    background-color: #1D1D1D;
    display: flex;
}

.footer_address {
    color: #fff;
    padding: 30px 0;
}

.footer_address_bg .line {
    color: #fff;
    display: flex;
    align-items: center;
}

.footer_address_bg .line img {
    width: 110px;
    margin-right: 20px;
}


/*
.footer_links_content{
	display: flex;
	justify-content: center;
	align-items: center;
	
}
*/

.footer_links_content ul {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-top: 10px;
}

.footer_links_content ul li a {
    color: #000;
    padding: 0 15px;
}

.footer_links_content ul li a:hover {
    color: #DC0005;
}

.footer_info {
    background-color: #DC0005;
    color: #fff;
    padding: 5px 0;
    text-align: center;
}

.footer_info p {
    margin: 0;
}

.footer_address_sp {
    color: #fff;
    padding: 30px 15px;
}

.footer_info_sp {
    background-color: #DC0005;
    color: #fff;
    text-align: center;
    padding: 5px 0;
}

.footer_info_sp p {
    margin: 0;
    font-size: 11px;
}

.footer_address_sp .line_sp {
    margin-top: 20px;
}

.footer_address_sp .line_sp p {
    margin-top: 10px;
}

/****************************** main ******************************/

main {
    margin: 87px auto 0;
}

main h2 span {
    font-size: 2rem;
}

@media screen and (max-width: 768px) {
    main h2 span {
        font-size: 1.5rem;
    }
}

@media screen and (max-width: 1024px) {
    main {
        margin: 82px auto 0;
    }
}

@media screen and (max-width: 768px) {
    main {
        margin: 80px auto 0;
    }
}

@media screen and (max-width: 414px) {
    main {
        margin: 78px auto 0;
    }
}

@media screen and (max-width: 375px) {
    main {
        margin: 73px auto 0;
    }
}

@media screen and (max-width: 320px) {
    main {
        margin: 65px auto 0;
    }
}

.main_visual_area {
    margin-top: 0px;
    margin-bottom: 0px;
    position: relative;
    height: 83vh;
    overflow: hidden;
}

@media screen and (max-width: 1024px) {
    .main_visual_area {
        height: 68vh;
    }
}

@media screen and (max-width: 768px) {
    .main_visual_area {
        height: 51vh;
    }
}

@media screen and (max-width: 414px) {
    .main_visual_area {
        height: 28vh;
    }
}

@media screen and (max-width: 375px) {
    .main_visual_area {
        height: 31vh;
    }
}

/*下層ページ共通　mainのmargin*/
.secondpage {
    margin: 0;
}

/****************************** 動画 ******************************/
/*
.main_video {
    position: absolute;
    width: 100%;
    height: 100%;
}
*/
.main_video {
    position: absolute;
    width: auto;
    height: auto;
    margin-top: 0px;
    top: 52%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
}

.main_video video {
    width: 100%;
    object-fit: contain;
}

/****************************** ボタン ******************************/
.top_button {
    padding-top: 50px;
}

@media screen and (max-width: 1199px) {
    .top_button {
        padding-top: 30px;
    }
}

/*黒背景*/
.car_inspection a,
.buy .buy_content a,
.repair a,
.company a,
.repair_section_3 a {
    color: #fff;
    background-color: #1D1D1D;
    padding: 15px;
}

.car_inspection a:hover,
.buy .buy_content a:hover,
.repair a:hover,
.company a:hover {
    background-color: #DC0005;
}

.car_inspection .pt50 a{
    background-color: transparent;
}

/*赤背景*/
.information .top_button a {
    color: #fff;
    background-color: #DC0005;
    padding: 15px;
}

.information a:hover {
    background-color: #1D1D1D;
}

/****************************** トップページ ******************************/
/*共通*/
.pt50 {
    padding-top: 50px;
}

.pl50 {
    padding-left: 50px;
}

@media screen and (max-width: 414px) {
    .pt50 {
        padding-top: 15px;
    }

    .pl50 {
        padding-left: 30px;
    }
}

.br {
    display: block;
}

@media screen and (max-width: 768px) {
    .br {
        display: unset;
    }
}

/*メイン動画*/
.top_main {
    padding-top: 0;
    padding-bottom: 0;
}

.learn_more {
    position: absolute;
    bottom: 0%;
    width: 100%;
}

.learn_more p {
    color: #fff;
    text-align: center;
}

.learn_more p:hover {
    cursor: pointer;
    text-decoration: underline;
}

@media screen and (max-width: 767px) {
    .learn_more {
        display: none;
    }
}
}

/*車検バナー*/
.top_banner {
    filter: drop-shadow(5px 5px 10px #666);
}

.top_banner:hover {
    transform: translateY(1px);
    filter: none;
    transition-duration: .1s;
}

@media screen and (max-width: 414px) {
    section#top_first_banner {
        padding-top: 15px;
        padding-bottom: 15px;
    }
}

/*スマイル車検*/
.car_inspection {
    background-image: url(images/bg01.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    text-align: center;
    position: relative;
    padding-top: 12%;
    padding-bottom: 10%;
}

.car_inspection_topimg {
    position: absolute;
    top: -5%;
    left: 0;
    right: 0;
}

.car_inspection_leftimg {
    position: absolute;
    bottom: 0;
}

.car_inspection_rightimg {
    position: absolute;
    right: 0;
    bottom: 0;
}

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

    .car_inspection_leftimg,
    .car_inspection_rightimg {
        width: 20%;
    }
}

/*チラシ最新号*/
.flyer {
    background-image: url(images/pettern01.jpg);
    background-repeat: repeat;
    position: relative;
}

.flyer_content {
    display: flex;
}

.flyer_content_2 {
    display: flex;
    flex-direction: row-reverse;
}


#content_flyer {
    padding-top: 60px;
    padding-bottom: 150px;
}

@media screen and (max-width: 1199px) {
    #content_flyer {
        padding-top: 15px;
        padding-bottom: 60px;
    }
}

.flyer_text {
    position: relative;
    z-index: 2;
    margin-left: -100px;
    margin-top: 20px;
}

.flyer_content_2 .flyer_text {
    position: relative;
    z-index: 2;
    margin-left: 0;
    margin-right: -100px;
    margin-top: 20px;
}

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

    .flyer_content,
    .flyer_content_2 {
        flex-direction: column-reverse;
        text-align: center;
    }
}

.flyer_text_sp h2 {
    margin-top: 0;
}

.flyer_text_sp {
    font-weight: bold;
}

/*チラシ最新号下 街並み*/
.flyer_bgimg_content {
    text-align: center;
    position: absolute;
    bottom: 0;
}

/*車の購入を検討されているお客様へ*/
.buy_content {
    text-align: center;
}

.buy_1 {
    position: relative;
    display: flex;
    border-top: 10px solid #1D1D1D;
    align-items: center;
    background-color: #DC0005;
}

.buy_1_text {
    flex: 2;
    color: #fff;
    text-align: center;
}

.buy_1_img {
    flex: 1;
}

.buy_1_leftimg {
    position: absolute;
    bottom: 0;
    left: -20px;
}

@media screen and (max-width: 1199px) {
    .buy_1_leftimg {
        width: 10%
    }
}

@media screen and (max-width: 991px) {
    .buy_1_leftimg {
        width: 8%
    }
}

@media screen and (max-width: 768px) {
    .buy_1_leftimg {
        width: 20%
    }
}

@media screen and (max-width: 414px) {
    .buy_1_leftimg {
        width: 30%
    }
}

.buy_2 {
    display: flex;
}

.buy_point1,
.buy_point2,
.buy_point3 {
    flex: 1;
    text-align: center;
    border: 1px solid #DC0005;
    padding: 80px 60px;
}

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

    .buy_point1,
    .buy_point2,
    .buy_point3 {
        padding: 30px 10px;
    }
}

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

    .buy_1,
    .buy_2 {
        display: block;
    }

    .buy_1_text {
        padding: 20px;
    }

    .buy_1 img {
        width: 100%;
    }
}

.buy_point1,
.buy_point3 {
    background-color: #F8F8F8;
}

/*ダメージを受けた車を*/
.repair_content {
    display: flex;
    align-items: center;
}

@media screen and (max-width: 768px) {
    .repair_content {
        flex-direction: column-reverse;
        text-align: center;
    }

    .repair_content .pl50 {
        padding-left: 0;
    }
}

.repair_content .repair_text .top_button {
    padding-bottom: 30px;
}

/*太豊自動車で受けられるサービス*/
.service {
    background-image: url(images/bg03.jpg);
    background-size: cover;
    /*    padding-bottom: 290px;*/
}

.service_content {
    text-align: center;
}

.service_content_img {
    display: flex;
    flex-wrap: wrap;
}

.service_content_img article {
    flex: 1 1 300px;
    padding: 5px;
    filter: drop-shadow(5px 5px 10px #666);
}

.service_content_img article:hover {
    transform: translateY(1px);
    filter: none;
    transition-duration: .1s;
}

@media screen and (max-width: 630px) {
    .service_content_img article {
        flex: 1 1 200px;
    }
}

@media screen and (max-width: 430px) {
    .service_content_img article {
        flex: 1 1 140px;
    }
}

.service_img {
    padding-top: 5px;
}

/*太豊自動車にお任せください*/
.company {
    text-align: center;
}

.company_logo {
    padding: 15px 0;
}

/*お問い合わせ*/
.top_contact {
    text-align: center;
    background-image: url(images/bg04.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.contact_content {
    color: #fff;
}

.contact_img {
    display: flex;
    justify-content: space-evenly;
}

@media screen and (max-width: 768px) {
    .contact_img {
        display: block;
    }
}

/*お知らせ*/
.information {
    text-align: center;
}

.information_border {
    padding-bottom: 10px;
    border-bottom: 3px solid #DC0005;
}

.notice_content a {
    display: flex;
    color: #212529;
}

.notice_content a:hover {
    background-color: #fff;

}

.information_title {
    margin-left: 30px;
}

@media screen and (max-width: 414px) {
    .notice_content a {
        display: block;
    }

    .information_title {
        margin-left: 0px;
    }
}

.contact_banner:hover {
    transform: translateY(3px);
    transition-duration: .1s;
}

/*pagetop*/
#pagetop {
    position: fixed;
    right: 40px;
    bottom: 40px;
    cursor: pointer;
    z-index: 9998;
}

/****************************** 下層ページ ******************************/
.page_main_visual_area {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 88px;
    margin-bottom: 0px;
    padding: 75px 25px;
    background-position: center;
    background-size: cover;
    text-align: center;
}

@media screen and (max-width: 1024px) {
    .page_main_visual_area {
        margin-top: 83px;
    }
}

@media screen and (max-width: 768px) {
    .page_main_visual_area {
        margin-top: 80px;
    }
}

@media screen and (max-width: 414px) {
    .page_main_visual_area {
        margin-top: 78px;
    }
}

@media screen and (max-width: 375px) {
    .page_main_visual_area {
        margin-top: 73px;
    }
}

@media screen and (max-width: 320px) {
    .page_main_visual_area {
        margin-top: 65px;
    }
}

.page_main_visual_area h2,
.page_main_visual_area p span {
    color: #fff;
    text-shadow: 0px 0px 5px #000;
}

.page_main_visual_area p {
    margin: 0 auto;
}


/*下層ページ共通　予約・問合せバナー*/
.secondpage_banner {
    padding-top: 0;
}

.secondpage_banner img {
    text-align: center;
    filter: drop-shadow(0px 3px 10px #9a9a9a);
}

@media screen and (max-width: 768px) {
    .secondpage_banner img {
        filter: drop-shadow(3px 3px 3px #794500);
    }
}

.secondpage_banner img:hover {
    filter: none;
    transition-duration: .1s;
}


/*車検*/
.car_inspection_section {
    text-align: center;
}

.car_inspection_bg {
    background-color: #F5F5F5;
}

.course {
    display: flex;
    justify-content: space-between;
}

.course img {
    padding-top: 10px;
}

@media screen and (max-width: 414px) {
    .course {
        display: block;
    }
}

/*新車・中古車販売*/
.buy_section_1,
.buy_section_2,
.buy_section_3,
.buy_section_4 {
    text-align: center;
}

.buy_section_4 {
    margin-bottom: 50px;
}

@media screen and (max-width: 414px) {
    .buy_section_4 {
        margin-bottom: 30px;
    }
}

.buy_section_bg {
    background-color: #F5F5F5;
}

.flex_box {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media screen and (max-width: 414px) {
    .flex_box {
        display: block;
    }

    .flex_box .pl50 {
        padding-left: 0;
        padding-top: 20px;
    }
}

.flex_img,
.flex_text {
    flex: 1;
}

.article_box {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

@media screen and (min-width: 415px) {
    .buy_section_3 .article_box {
        justify-content: space-evenly;
    }
}

.article_box article {
    flex: 0 0 23%;
    padding-top: 20px;
}

@media screen and (max-width: 414px) {
    .article_box article {
        flex: 0 0 45%;
        padding-top: 20px;
    }
}

/*鈑金・塗装*/
.repair_section_bg {
    background-color: #F5F5F5;
}

.repair_section_2 {
    text-align: center;
}

.repair_section_3 a:hover {
    background-color: #DC0005;
}

@media screen and (max-width: 414px) {
    .repair_section_1 .flex_box {
        display: flex;
        flex-direction: column-reverse;
    }

    .repair_section_1 .flex_box .pl50 {
        padding-top: 0;
    }
}

/*一般整備・修理*/
.maintenance_section_1 {
    text-align: center;
}

.maintenance_section_1 img {
    margin: 0 auto;
}

.maintenance_section_bg {
    background-color: #F5F5F5;
}

.maintenance_section_3 .table th {
    background-color: #dee2e6;
}

.maintenance_section_3 .table th,
.maintenance_section_3 .table td {
    border-bottom: 1px solid #333 !important;
}

.maintenance_section_3 .table .first_line {
    border-top: 2px solid #333 !important;
}


.maintenance_section_3 .table .last_line {
    border-bottom: 2px solid #333 !important;
}

/*ロードサービス*/
.roadservice_section_bg {
    background-color: #F5F5F5;
}

.roadservice_banner {
    text-align: center;
}

.roadservice_banner img {
    filter: drop-shadow(0px 10px 0px #D9E000);
}

.roadservice_banner img:hover {
    transform: translateY(10px);
    filter: none;
    transition-duration: .1s;
}


/*company*/
.company h3 {
    position: relative;
    text-align: center;
    margin-bottom: 50px;
}

.company h3:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 30%;
    height: 4px;
    border-top: 4px solid #DC0005;
}

.company h3:after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    width: 30%;
    height: 4px;
    border-top: 4px solid #DC0005;
}

.company .name {
    text-align: right;
}

.company th {
    background-color: #ddd;
}

.company th,
.company td {
    border-bottom: 1px solid #333 !important;
    padding: 15px;
    text-align: left;
}

.company .first_line {
    border-top: 2px solid #333 !important;
}

.company .last_line {
    border-bottom: 2px solid #333 !important;
}

@media screen and (max-width: 414px) {
    .company h3:before {
        width: 20%;
    }

    .company h3:after {
        width: 20%;
    }
}

/*
.greeting {
    background-color: #FFECA7;
    padding-top: 60px;
    padding-bottom: 60px;
}

@media screen and (max-width: 414px) {
    .greeting {
        padding-top: 30px;
        padding-bottom: 60px;
    }
}
*/
/*

.greeting h3 {
    text-align: left;
}
*/

.greeting h3 {
    margin-bottom: 30px;
}

.greeting h3:before {
    border-top: none;
}

.greeting h3:after {
    border-top: none;
}

.greeting p {
    line-height: 35px;
    margin-top: 30px;
}

.content_container {
    max-width: 1000px;
    margin: 0 auto;
}

@media screen and (max-width: 1024px) {
    .content_container {
        max-width: 750px;
        margin: 0 auto;
    }
}

@media screen and (max-width: 768px) {
    .content_container {
        max-width: 700px;
    }
}

@media screen and (max-width: 414px) {
    .content_container {
        max-width: 90%;
    }
}

.greeting .content_container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

@media screen and (max-width: 414px) {
    .greeting .content_container {
        display: block;
    }
}

.greeting .greeting_img,
.greeting .greeting_text {
    flex: 1;
}

.greeting .greeting_img {
    margin-left: 50px;
}

@media screen and (max-width: 414px) {
    .greeting .greeting_img {
        margin-left: 0;
    }
}

.greeting .greeting_text h3 span {
    font-size: 1rem;
}


.about_us .table th,
.about_us .table td {
    padding: 15px;
}

.staff_info h3 {
    margin-bottom: 60px;
}

.staff_info .box_text {
    margin: 10px 0 30px;
}

.staff_info .box_2,
.staff_info .box_3 {
    display: flex;
    justify-content: space-evenly;
}

.staff_name {
    padding-bottom: 10px;
    border-bottom: 1px solid #DC0005;
}

.row .staff_name {
    margin-bottom: 10px;
}

/*
.staff_info h3:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 39%;
    height: 4px;
    border-top: 4px solid #ddd;
}

.staff_info h3:after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    width: 39%;
    height: 4px;
    border-top: 4px solid #ddd;
}
*/

/*
.staff_info .box_1,
.staff_info .box_2,
.staff_info .box_3 {
    margin-bottom: 30px;
}

.staff_info .box_img {
    margin-bottom: 10px;
}
*/

/*
.staff_info .box_content_1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
*/

/*
.staff_info .box_1 .box_img {
    margin-right: 30px;
}
*/

/*
.staff_info .box_1 .box_text {
    margin-left: 5px;
    flex: 1;
    line-height: 30px;
}
*/

/*
.staff_info .box_2 .box_img {
    margin-left: 30px;
    order: 2;
}

.staff_info .box_2 .box_text {
    margin-right: 5px;
    flex: 1;
    order: 1;
}

.staff_info_bg {
    background-color: #FFECA7;
}

.staff_info .staff_info_bg .content_container {
    padding: 60px 0;
}

@media screen and (max-width: 414px) {
    .staff_info h3:before {
        width: 25%;
    }

    .staff_info h3:after {
        width: 25%;
    }

    .staff_info .box_content_1 {
        flex-direction: column;
    }

    .staff_info .box_2 .box_img {
        order: 1;
    }

    .staff_info .box_2 .box_text {
        order: 2;
    }
}
*/

.access {
    margin-bottom: 0px;
}

@media screen and (max-width: 414px) {
    .access {
        margin-bottom: 30px;
    }
}

/* information */

.single main {
    margin-top: 30px;
}

.single_visual {
    background-image: url(images/page_main_visual04.jpg);
}

/*
.single main {
    margin-top: 87px;
}

@media screen and (max-width: 1024px) {
    .single main {
        margin-top: 82px;
    }
}

@media screen and (max-width: 768px) {
    .single main {
        margin-top: 80px;
    }
}

@media screen and (max-width: 414px) {
    .single main {
        margin-top: 79px;
    }
}

@media screen and (max-width: 375px) {
    .single main {
        margin-top: 73px;
    }
}

@media screen and (max-width: 320px) {
    .single main {
        margin-top: 65px;
    }
}
*/

/*
.information_area {
    margin-top: 100px;
}
*/

@media screen and (max-width: 414px) {
    .information_area {
        margin-top: 45px;
        margin-bottom: 0px;
    }
}

.title_font {
    color: #1D1D1D;
    font-weight: bold;
    font-size: 2rem;
}

@media screen and (max-width: 768px) {
    .title_font {
        font-size: 1.5rem;
    }
}

.sub_title_font {
    font-size: 1.2rem;
}

.next_previous_btn {
    margin-top: 25px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.single_color,
.single_color a {
    color: #1D1D1D;
}

.lists_section article {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.list_content_per {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
}

.list_content_per article {
    margin-bottom: 40px;
    flex: 0 0 100%;
}

.list_content_thumbnail {
    margin-bottom: 25px;
}

.list_content_thumbnail {
    width: 100%;
}

.list_content_thumbnail img {
    width: 100%;
}

.content_title,
.content_title a {
    color: #1D1D1D;
}

.wp-pagenavi {
    text-align: center;
    margin: 10px 0;
}

.wp-pagenavi .pages {
    display: none;
}

.wp-pagenavi .previouspostslink,
.wp-pagenavi .page,
.wp-pagenavi .nextpostslink {
    background: #fff;
    color: #000;
    border: 1px solid #1D1D1D;
    display: inline-block;
    margin: 0 10px;
    padding: 5px 10px;
}

.wp-pagenavi .current {
    border: 1px solid #1D1D1D !important;
    background: #1D1D1D;
    color: #fff;
    display: inline-block;
    padding: 5px 10px;
    margin: 0 10px;
}

.paging {
    margin: 25px auto;
}

@media screen and (max-width: 414px) {
    .paging {
        margin: 0px auto 25px;
    }
}

/************* attention ***************/
/*
.attention section {
    margin-top: 50px;
    margin-bottom: 50px;
}
*/

.attention h3 {
    color: #1D1D1D;
    border-bottom: 1px solid #1D1D1D;
}

/************* privacy_policy ***************/

/*
.privacy_policy section {
    margin-top: 50px;
    margin-bottom: 50px;
}
*/

.privacy_policy h3 {
    color: #1D1D1D;
    border-bottom: 1px solid #1D1D1D;
}


/************* contact ***************/

.contact_area {
    padding-top: 50px;
    background-image: url(images/pettern01.jpg);
    background-repeat: repeat;
}

.contact_area .contact_sheet {
    background-color: #fff;
    padding: 20px;
    border: 1px solid #ddd;
}

.contact_area .line_pc {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.contact_area .line_pc img {
    width: 150px;
    margin-right: 20px;
}

.contact_area .line_pc .line_pc_text {
    font-weight: bold;
    font-size: 25px;
    margin-bottom: 10px;
    display: inline-block;
}

.contact_area .line_sp {
    display: none;
}

@media screen and (max-width:768px) {
    .contact_area .line_pc {
        display: none;
    }

    .contact_area .line_sp {
        display: block;
        margin-bottom: 50px;
        text-align: center;
    }
}

.contact_area .table th {
    background-color: #ddd;
}

.contact_area .table th,
.contact_area .table td {
    border: 1px solid #6e6e6e;
}

.contact_area .df{
    display: flex;
    align-items: center;
}

.contact_area .df p{
    margin: 0;
}

.contact_area .df span {
    display: inline-block;
    width: 70px;
}

input[type=date]{
    height: calc(1.5em + .75rem + 2px);
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

/************* fixed 車検予約ボタン ***************/
.reservation {
    position: fixed;
    bottom: 124px;
    right: 0;
}

@media screen and (max-width:768px) {
    .reservation {
        bottom: 0;
}
    .footer_info_sp{
        padding-bottom: 87px;
    }
}

@media screen and (max-width:425px) {
    .footer_info_sp{
        padding-bottom: 50px;
    }
}