@charset "utf-8";
@import url("https://use.typekit.net/lyj8jta.css");

/*全端末（PC・タブレット・スマホ）共通設定
------------------------------------------------------------------------------------------------------------------------------------------------------*/
/*全体の設定
---------------------------------------------------------------------------*/
html {
    height: 100vh;
}

body {
    margin: 0px;
    padding: 0px;
    color: #333;
    font-family: -apple-system, BlinkMacSystemFont, YuGothic, "ヒラギノ角ゴ ProN W3", Hiragino Kaku Gothic ProN, Arial, "メイリオ", Meiryo, sans-serif;
    font-size: 1em;
    line-height: 2;
    background: #fff;
    -webkit-text-size-adjust: none;
}

h1,
h2,
h3,
h4,
h5,
p,
ul,
ol,
li,
dl,
dt,
dd,
form,
figure,
form {
    margin: 0px;
    padding: 0px;
    font-size: 100%;
    font-weight: normal;
}

ul {
    list-style-type: none;
}

ol {
    padding-left: 40px;
    padding-bottom: 15px;
}

img {
    border: none;
    max-width: 100%;
    height: auto;
    vertical-align: 0%;
}

table {
    border-collapse: collapse;
    font-size: 100%;
    border-spacing: 0;
}

iframe {
    width: 100%;
}

img[src$=".svg"] {
    width: 100%;
}

select {
    font-family: "Helvetica Neue", sans-serif;
    font-size: 100%;
    line-height: 1.15;
    margin: 0;
}

/*改行（全般）設定
---------------------------------------------------------------------------*/
@media screen and (min-width: 900px) {
    .br-pc {
        display: block;
    }

    .br-sp {
        display: none;
    }
}

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

    .br-sp {
        display: block;
    }
}

/*リンク（全般）設定
---------------------------------------------------------------------------*/
a {
    color: #333;
    text-decoration: none;
    transition: 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

a:hover {
    color: #d45a91;
    text-decoration: none;
    transition: 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}


/*facebook埋め込み：レスポンシブ対応
---------------------------------------------------------------------------*/
.fb-page {
    display: block !important;
    width: 100%;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    height: 350px;
    overflow: hidden;
}

/*Twitterの設定
---------------------------------------------------------------------------*/
.TweetAuthor {
    max-width: 100%;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    word-wrap: normal !important;
}

.SandboxRoot.env-bp-430 .timeline-Tweet-text {
    font-size: 16px;
    line-height: 24px;
    font-weight: 300;
}

.SandboxRoot.env-bp-660 .TweetAuthor-name,
.SandboxRoot.env-bp-820 .TweetAuthor-name,
.SandboxRoot.env-bp-970 .TweetAuthor-name {
    font-size: 18px;
    line-height: 27px;
}

.TweetAuthor-name {
    font-size: 1.5em;
    line-height: 18px;
    font-weight: bold;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-right: 4px;
    color: #d45a91;
    transition: 0.3s;
}

.SandboxRoot {
    display: block;
    background: 0 0;
    white-space: normal;
    white-space: initial;
}

.SandboxRoot.env-bp-330 .timeline-Tweet-text {
    font-size: 1.2em;
    line-height: 1.2em;
    color: #371e09;
}

.SandboxRoot.env-bp-970 .timeline-Tweet-text {
    font-size: 1.2em;
    line-height: 50px;
    font-weight: 300;
}

.timeline-Tweet {
    padding: 10px;
    border-radius: 20px;
    transition: 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.timeline-Tweet:hover {
    border-radius: 20px;
    background-color: rgba(212, 90, 145, 0.1);
    transition: 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.Identity-screenName {
    color: #43d8b7;
}

.timeline-TweetList {
    padding: 0px;
}

.SandboxRoot.env-bp-820 .timeline-Tweet-text {
    font-size: 1.2em;
    color: #666;
    line-height: 1.5em;
    font-weight: 300;
}

.SandboxRoot.env-bp-660 .timeline-Tweet-text {
    font-size: 1.2em;
    line-height: 36px;
    font-weight: 300;
}

.timeline-LoadMore-prompt--edge {
    border-top: 1px solid #ff7800;
}

.timeline-ShowMoreButton--edge {
    margin-bottom: 20px;
    width: 200px;
    color: #d45a91;
    border-radius: 100px;
    display: inline-block;
    background-color: #fff;
    border: 1px solid #d45a91;
    transition: 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.timeline-ShowMoreButton--edge:focus,
.timeline-ShowMoreButton--edge:hover {
    background-color: #d45a91;
    color: #fff;
    text-decoration: none;
    transition: 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* iOSでのデフォルトスタイルをリセット
---------------------------------------------------------------------------*/
input[type="submit"],
input[type="button"],
input[type="reset"] {
    border-radius: 0;
    -webkit-box-sizing: content-box;
    -webkit-appearance: none;
    appearance: button;
    border: none;
    box-sizing: border-box;
    cursor: pointer;
}

input[type="submit"]::-webkit-search-decoration,
input[type="button"]::-webkit-search-decoration,
input[type="reset"]::-webkit-search-decoration {
    display: none;
}

input[type="submit"]::focus,
input[type="button"]::focus,
input[type="reset"]::focus {
    outline-offset: -2px;
}

/*サイドバー及びメインコンテンツの設定
---------------------------------------------------------------------------*/
#main {
    background: #fff;
    height: 100%;
    padding-left: 260px;
}

#main-in {
    padding-left: 0px;
}

#main .inner {
    padding: 60px;
}

/* main-visualの設定 */
#main-visual {
    height: 100vh;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.overlay::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: url(../images/dot.svg) repeat;
    background-size: 2px;
}

#main-visual .top {
    position: relative;
    */ background: url(../images/cars_bg.jpg) no-repeat center center;
    background-size: cover;
    width: 100%;
    height: 100vh;
}

#main-visual .cars {
    position: relative;
    background: url(../images/cars_bg.jpg) no-repeat center center;
    background-size: cover;
    width: 100%;
    height: 100vh;
    /* 表示画像の高さ ÷ 表示画像の幅 × 100 */
}

#main-visual .shop {
    position: relative;
    background: url(../images/shop_bg.jpg) no-repeat center center;
    background-size: cover;
    width: 100%;
    height: 100vh;
}

#main-visual .contact {
    position: relative;
    background: url(../images/contact_bg.jpg) no-repeat center center;
    background-size: cover;
    width: 100%;
    height: 100vh;
}

#main-visual .top::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    content: '';
    background: linear-gradient(-45deg, #00d6ff, #fffa00, #fb009b);
    background-size: 300% 300%;
    opacity: .8;
    animation: bg-color 10s ease infinite;
}

@keyframes bg-color {
    0% {
        background-position: 0% 50%
    }

    50% {
        background-position: 100% 50%
    }

    100% {
        background-position: 0% 50%
    }
}

#main-visual .cars::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    content: '';
    background: linear-gradient(-45deg, #1FA2FF, #A6FFCB, #12D8FA);
    background-size: 600% 600%;
    opacity: .8;
    animation: bg-color 10s ease infinite;
}

@keyframes bg-color {
    0% {
        background-position: 0% 50%
    }

    50% {
        background-position: 100% 50%
    }

    100% {
        background-position: 0% 50%
    }
}

#main-visual .contact::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    content: '';
    background: linear-gradient(-45deg, #ba45dc, #ffbc46, #4ecae0);
    background-size: 600% 600%;
    opacity: .8;
    animation: bg-color 10s ease infinite;
}

@keyframes bg-color {
    0% {
        background-position: 0% 50%
    }

    50% {
        background-position: 100% 50%
    }

    100% {
        background-position: 0% 50%
    }
}

#main-visual .shop::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    content: '';
    background: linear-gradient(-45deg, #ff4329, #fff778, #34f1ff);
    background-size: 600% 600%;
    opacity: .8;
    animation: bg-color 10s ease infinite;
}

@keyframes bg-color {
    0% {
        background-position: 0% 50%
    }

    50% {
        background-position: 100% 50%
    }

    100% {
        background-position: 0% 50%
    }
}

#main-visual .top h2 {
    position: absolute;
    background: url(../images/cars_bg.jpg) no-repeat center center;
    background-size: cover;
    -webkit-background-clip: text;
    background-clip: text;
    font-size: 8em;
    font-weight: normal;
    width: 100%;
    top: 50vh;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    padding: 0;
    color: rgba(255, 255, 255, 0.2);
    /* background-color: transparent;完全に透過する場合は、transparent */
}

#main-visual .cars h2 {
    position: absolute;
    background: url(../images/cars_bg.jpg) no-repeat center center;
    background-size: auto;
    -webkit-background-clip: text;
    background-clip: text;
    font-size: 8em;
    font-weight: normal;
    width: 100%;
    top: 50vh;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    padding: 0;
    color: rgba(255, 255, 255, 0.2);
    /* background-color: transparent;完全に透過する場合は、transparent */
}

#main-visual .shop h2 {
    position: absolute;
    background: url(../images/shop_bg.jpg) no-repeat center center;
    background-size: auto;
    -webkit-background-clip: text;
    background-clip: text;
    font-size: 8em;
    font-weight: normal;
    width: 100%;
    top: 50vh;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    padding: 0;
    color: rgba(255, 255, 255, 0.2);
    /* background-color: transparent;完全に透過する場合は、transparent */
}

#main-visual .contact h2 {
    position: absolute;
    background: url(../images/contact_bg.jpg) no-repeat center center;
    background-size: auto;
    -webkit-background-clip: text;
    background-clip: text;
    font-size: 8em;
    font-weight: normal;
    width: 100%;
    top: 50vh;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    padding: 0;
    color: rgba(255, 255, 255, 0.2);
    /* background-color: transparent;完全に透過する場合は、transparent */
}

/* main-visualのスクロールボタン */
#main-in a {
    font-family: "futura-pt", sans-serif;
    font-weight: 400;
    font-style: normal;
    cursor: pointer;
    padding-top: 55px;
    position: absolute;
    bottom: 10px;
    left: 55%;
    z-index: 2;
    color: #fff;
}

#main-in a span {
    position: absolute;
    top: 0;
    left: 50%;
    width: 30px;
    height: 50px;
    margin-left: -15px;
    border: 2px solid #fff;
    border-radius: 50px;
    box-sizing: border-box;
}

#main-in a span::before {
    position: absolute;
    top: 10px;
    left: 50%;
    content: '';
    width: 6px;
    height: 6px;
    margin-left: -3px;
    background-color: #fff;
    border-radius: 100%;
    -webkit-animation: sdb 2s infinite;
    animation: sdb 2s infinite;
    box-sizing: border-box;
}

@-webkit-keyframes sdb {
    0% {
        -webkit-transform: translate(0, 0);
        opacity: 0;
    }

    40% {
        opacity: 1;
    }

    80% {
        -webkit-transform: translate(0, 20px);
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

@keyframes sdb {
    0% {
        transform: translate(0, 0);
        opacity: 0;
    }

    40% {
        opacity: 1;
    }

    80% {
        transform: translate(0, 20px);
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

/*mainコンテンツ
---------------------------------------------------------------------------*/
/*h2タグの設定*/
#main h2 {
    clear: both;
    display: inline-block;
    font-family: "futura-pt", "futura-pt-bold", "kan412typos-std", sans-serif;
    font-size: 2em;
    margin: 20px 0;
    letter-spacing: 0em;
    line-height: 1;
    text-align: center;
}

#main h2 span {
    display: block;
    font-size: 0.5em;
    line-height: 1;
    letter-spacing: 0.1em;
    color: #666;
}

#main .hbox {
    padding: 0.5em 1em;
    margin: 2em 0;
    border: solid 4px #333;
}

#main .hbox h2 span {
    margin: 0;
    padding: 0;
}

/*段落タグ設定*/
#main p {
    padding: 0px 0px 15px;
}

#main h2 + p,
#main h3 + p {
    margin-top: 0px;
}

/* サイドバーのロゴ */
#global-head {
    position: fixed;
    color: #033560;
    width: 260px;
    text-align: center;
    padding-top: 50px;
    z-index: 100;
}

#brand-logom1 {
    width: 30%;
    margin: 0px auto;
    /* animation: logo 2s alternate infinite; */
}

@-webkit-keyframes logo {
    0% {
        -webkit-transform: rotatey(0deg);
        transform: rotatey(0deg);
    }

    100% {
        -webkit-transform: rotatey(360deg);
        transform: rotatey(360deg);
    }
}

@keyframes logo {
    0% {
        -webkit-transform: rotatey(0deg);
        transform: rotatey(0deg);
    }

    100% {
        -webkit-transform: rotatey(360deg);
        transform: rotatey(360deg);
    }
}

#brand-logot1 {
    width: 80%;
    margin: 0 auto;
}

#global-head2 {
    display: none;
}

#brand-logom2 {
    display: none;
}

#brand-logot2 {
    display: none;
}

#sidebar {
    font-size: 15px;
    padding-top: 200px;
    width: 260px;
    height: 100%;
    position: fixed;
    color: #ffffff;
    background: #fff;
    text-align: center;
    overflow: hidden;
    box-shadow: 1px 0px 1px 0px rgba(0, 0, 0, 0.1);
    z-index: 99;
}

#global-nav ul {
    display: none;
    list-style: none;
    margin-left: 0;
    margin-bottom: 200px;
}

#global-nav > ul > li {
    position: relative;
}

#global-nav a {
    font-family: "futura-pt", "futura-pt-bold", "kan412typos-std", sans-serif;
    font-size: 1.5em;
    line-height: 1.2em;
    text-align: left;
    text-decoration: none;
    position: relative;
    display: inline-block;
    width: 100%;
    padding-left: 60px;
    margin-bottom: 30px;
    transition: 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* sub-menu */
#global-nav .sub-menu-nav {
    position: fixed;
    background: #033560;
    color: #fff;
    top: 0;
    padding-top: 90px;
    left: 260px;
    width: 0;
    height: 100%;
    overflow: hidden;
    -moz-transition: width .2s ease-out;
    -webkit-transition: width .2s ease-out;
    transition: width .2s ease-out;
}

#global-nav .sub-menu.is-active > a:after,
#global-nav .sub-menu-head:hover:after {
    border-color: #fff;
}

#global-nav .sub-menu-nav a {
    color: #fff;
}

#global-nav .sub-menu-nav a:hover {
    color: #033560;
    background: #fff;
}

#global-nav span {
    display: block;
    font-size: 0.7em;
    line-height: 1;
    letter-spacing: .1em;
    color: #666;
}

/* nav-toggle */
#nav-toggle {
    display: none;
    position: fixed;
    top: 15px;
    right: 15px;
    height: 32px;
}

#nav-toggle > div {
    position: relative;
    width: 32px;
}

#nav-toggle span {
    width: 100%;
    height: 2px;
    left: 0;
    display: block;
    background: #000;
    position: absolute;
    -webkit-transition: .35s ease-in-out;
    -moz-transition: .35s ease-in-out;
    transition: .35s ease-in-out;
}

#nav-toggle span:nth-child(1) {
    top: 0;
}

#nav-toggle span:nth-child(2) {
    top: 11px;
}

#nav-toggle span:nth-child(3) {
    top: 22px;
}

#overlay {
    display: none;
    position: fixed;
    background: rgba(0, 0, 0, .6);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    animation: fadein 0.5s ease 0s 1 normal;
}

@keyframes fadein {
    0% {
        opacity: 0
    }

    100% {
        opacity: 1
    }
}

@media screen and (max-width: 900px) {
    #main {
        padding-top: 0px;
        padding-left: 0px;
    }

    #main-in {
        padding-left: 0;
    }

    #global-head {
        display: none;
    }

    #brand-logom1 {
        display: none;
    }

    #global-head2 {
        width: 100%;
        height: 40px;
        padding: 10px;
        background: rgba(255, 255, 255, 0.8);
        position: fixed;
        top: 0;
        transition: .5s;
        display: -webkit-flex;
        display: flex;
        z-index: 998;
    }

    #brand-logom2 {
        display: flex;
        width: 40px;
        margin: 0 10px 0 0;
    }

    #brand-logot2 {
        display: flex;
        width: auto;
    }

    #sidebar {
        /*display: none;*/
        position: fixed;
        right: -300px;
        top: 0;
        padding-top: 100px;
        height: 100%;
        width: 300px;
        background: #fff;
        box-shadow: 2px 0px 10px 0px rgba(0, 0, 0, 0);
        -webkit-transition: .35s ease-in-out;
        transition: .35s ease-in-out;
        opacity: 0.8;
    }

    #global-nav ul {
        display: block;
        list-style: none;
        margin-left: 0;
        margin-bottom: 200px;
    }

    .accordion {
        display: none;
    }

    /* サブメニューは開けない */
    #global-nav .sub-menu-head:after,
    #global-nav .sub-menu-nav {
        display: none;
    }

    #nav-toggle {
        display: block;
    }

    /* nav open */
    .open {
        overflow: hidden;
    }

    .open #overlay {
        display: block;
    }

    .open #sidebar {
        width: 300px;
        -webkit-transform: translate3d(-300px, 0, 0);
        transform: translate3d(-300px, 0, 0);
    }

    /* #nav-toggle close */
    .open #nav-toggle span:nth-child(1) {
        top: 11px;
        -webkit-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        transform: rotate(45deg);
    }

    .open #nav-toggle span:nth-child(2) {
        width: 0;
        left: 50%;
    }

    .open #nav-toggle span:nth-child(3) {
        top: 11px;
        -webkit-transform: rotate(-45deg);
        -moz-transform: rotate(-45deg);
        transform: rotate(-45deg);
    }

    /* z-index */
    #overlay {
        z-index: 999;
    }

    #sidebar {
        z-index: 1000;
    }

    #nav-toggle {
        z-index: 1001;
    }
}

@media screen and (max-width: 480px) {
    #sidebar {
        right: -200px;
        width: 200px;
        padding-top: 60px;
    }

    .open #sidebar {
        -webkit-transform: translate3d(-200px, 0, 0);
        transform: translate3d(-200px, 0, 0);
    }

    #brand-logot2 {
        width: 60%;
    }
}

.accordion {
    width: 100%;
    max-width: 360px;
    margin: 30px auto 20px;
    background: #fff;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

.accordion .link {
    font-family: "futura-pt", sans-serif;
    font-weight: 400;
    font-style: italic;
    cursor: pointer;
    display: block;
    padding: 5px 0px 20px 25px;
    color: #333;
    font-size: 2em;
    text-align: left;
    line-height: 1;
    position: relative;
    transition: 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.accordion li:last-child .link {
    border-bottom: 0;
}

.accordion li i {
    position: absolute;
    color: #333;
    transition: 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.accordion li i.fa-caret-down {
    right: 20px;
    left: auto;
    font-size: 1em;
}

.accordion li.open .link {
    color: #d45a91;
}

.accordion li.open i {
    color: #d45a91;
}

.accordion li.open i.fa-caret-down {
    -webkit-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
}

.accordion li.default .submenu {
    display: block;
}

/*サブメニュー
 -----------------------------*/
.submenu {
    display: none;
    background: #636363;
}

.submenu li {
    border-bottom: 1px solid #4e4e4e;
}

.submenu li:last-child {
    border-bottom: 0px solid #4e4e4e;
}

.submenu a {
    display: block;
    font-family: "futura-pt", sans-serif;
    font-weight: 400;
    font-style: italic;
    text-decoration: none;
    color: #fff;
    font-size: 1.4em;
    padding: 5px 0 5px 25px;
    text-align: left;
    transition: 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.submenu a:hover {
    background: #d45a91;
    color: #fff;
}

/*containerブロック
---------------------------------------------------------------------------*/
#container {
    position: relative;
    margin: 0 auto;
}

/*コンテンツ
---------------------------------------------------------------------------*/
#contents {
    overflow: hidden;
    background: #f5f5f5;
    padding: 5% 2% 10%;
    text-align: center;
}

/*メインコンテンツの設定
---------------------------------------------------------------------------*/
#main_contents {
    overflow: hidden;
    padding: 2%;
}

/*トップページグリッドレイアウト
--------------------------------------------*/
.top-contents {
    margin-bottom: 100px;
}

/*画像が左側
--------------------------*/
.top_grid_left {
    display: grid;
    grid-template-columns: 45% 1fr 1fr 1fr;
    grid-template-rows: auto 1fr auto;
    grid-gap: 15px;
    grid-auto-flow: dense;
}

.top_item_left {
    border-radius: 0px;
}

.top_mainimg_left {
    grid-column: 1 / 2;
    grid-row: 1 / 4;
}

.top_title_left {
    grid-column: 2 / 5;
    grid-row: 1 / 2;
    text-align: left;
}

.top_content_left {
    grid-column: 2 / 5;
    grid-row: 2 / 3;
    height: auto;
    text-align: left;
}

.top_subimg01_left {
    grid-column: 2 / 3;
    grid-row: 3 / 4;
    height: auto;
}

.top_subimg02_left {
    grid-column: 3 / 4;
    grid-row: 3 / 4;
}

.top_subimg03_left {
    grid-column: 4 / 5;
    grid-row: 3 / 4;
}

/*画像が右側
--------------------------*/
.top_grid_right {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 45%;
    grid-template-rows: auto 1fr auto;
    grid-gap: 15px;
    grid-auto-flow: dense;
}

.top_item_right {
    border-radius: 0px;
}

.top_mainimg_right {
    grid-column: 4 / 5;
    grid-row: 1 / 4;
}

.top_title_right {
    grid-column: 1 / 4;
    grid-row: 1 / 2;
    text-align: left;
}

.top_content_right {
    grid-column: 1 / 4;
    grid-row: 2 / 3;
    height: auto;
    text-align: left;
}

.top_subimg01_right {
    grid-column: 1 / 2;
    grid-row: 3 / 4;
    height: auto;
}

.top_subimg02_right {
    grid-column: 2 / 3;
    grid-row: 3 / 4;
}

.top_subimg03_right {
    grid-column: 3 / 4;
    grid-row: 3 / 4;
}

/*flexbox
---------------------------------------------------------------------------*/
/*flexbox1
-------------------------------------------------*/
.flexbox1 {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    margin-bottom: 5%;
}

.flexbox1:nth-child(odd) {
    flex-direction: row-reverse;
}

/*flexbox2
-------------------------------------------------*/
#flexbox2 {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: 0 0 5em;
    justify-content: space-between;
}

#flexbox2 > div {
    background: #fff;
    padding: 1em;
    flex: 1 0 260px;
    margin: 0 1em 5em;
    border-radius: 0px;
    overflow: hidden;
    box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.2);
}

#flexbox2 .infobox {
    padding: 0;
    overflow: hidden;
    overflow-x: hidden;
    overflow-y: scroll;
    height: 350px;
}

/*
トップページグリッド内のコンテンツ
---------------------------------------------------------------------------*/
/*
ボックス内の画像、テキストの設定
----------------------------------*/
.img-container {
    position: relative;
    width: 50%;
    overflow: hidden;
}

.img-container__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    position: relative;
    transition: all .5s .3s ease;
    z-index: 0;
}

.img-container:before {
    background: #333;
    content: '';
    display: block;
    height: 100%;
    position: absolute;
    transform: translateX(-110%);
    transition: all .8s 0s ease;
    width: 101%;
    z-index: 1;
}

.text-container {
    padding: 0px;
}

.text-container__title {
    display: block;
    font-family: "futura-pt", "futura-pt-bold", "kan412typos-std", sans-serif;
    font-feature-settings: "palt";
    color: #333;
    font-size: 2.5em;
    font-weight: normal;
    line-height: 1;
    margin: 5px auto 10px;
    overflow: hidden;
    position: relative;
    z-index: 0;
}

.text-container__title:before {
    background: #333;
    content: '';
    display: block;
    height: 100%;
    position: absolute;
    transform: translateX(-101%);
    transition: all .8s .3s ease;
    width: 101%;
    z-index: 1;
}

.text-container__title__inner {
    display: inline-block;
    opacity: 0;
    transition: all .8s .5s ease;
}

.text-container__text {
    left: -50px;
    font-size: 1em;
    opacity: 0;
    position: relative;
    padding: 0px 5px 15px !important;
    transition: all 1.5s .5s ease;
}

/*アニメーションするプロパティを設定します*/
.img-container.active img {
    opacity: 1;
}

.img-container.active:before {
    transform: translateX(100%);
}

.text-container.active .text-container__title:before {
    transform: translateX(100%);
}

.text-container.active .text-container__title__inner {
    opacity: 1;
}

.text-container.active .text-container__text {
    left: 0;
    font-size: 1em;
    padding: 0px 5px 15px !important;
    bottom: 20px;
    opacity: 1;
}

/*col*/
.col2 {
    width: 100%;
}

.col3 {
    width: 30%;
}

.col4 {
    width: 25%;
}

.col5 {
    width: 18.4%;
}

.col6 {
    width: 15%;
}

#flexbox2 h3 {
    font-family: "futura-pt", "futura-pt-bold", "kan412typos-std", sans-serif;
    font-size: 1.5em;
    line-height: 1em;
    text-align: center;
    margin: 0px auto 20px;
    border-bottom: 1px solid #d8d8d8;
    padding: 10px;
}

#flexbox2 p {
    word-break: nomal;
    font-size: 1em;
    line-height: 1.5em;
    margin: 5px 0px 0px;
    background: #f9f9f9;
    padding: 10px;
}

#flexbox2 img {
    margin: 0 auto;
    border: none;
    max-width: 100%;
    text-align: center;
    height: auto;
    vertical-align: middle;
}

/*店舗情報ページレイアウト
---------------------------------------------------------------------------*/
/*flexbox*/
#shopbox {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: 0 0 5em;
    flex-direction: row;
    justify-content: space-between;
}

#shopbox::before {
    content: "";
    display: block;
    width: 34%;
    order: 1;
}

#shopbox::after {
    content: "";
    display: block;
    width: 32.8%;
}

#shopbox > div {
    background: #fff;
    padding: 0px 0px 50px;
    text-align: center;
    flex: 1 0 400px;
    height: auto;
    margin: 10px 20px 30px;
    border-radius: 0px;
    line-height: 1.5;
    overflow: hidden;
    box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.2);
}

#shopbox h3 {
    display: inline-block;
    font-size: 1.2em;
    line-height: 1.5;
    color: #333;
    font-weight: bold;
}

#shopbox p {
    font-size: 1em;
    line-height: 2em;
    margin: 0px 0px 10px;
    color: #333;
    padding: 0 25px;
    text-align: left;
}

#shopbox p:last-child {
    margin-bottom: 30px;
}

#shopbox img {
    margin: 0 auto;
    border: none;
    max-width: 100%;
    text-align: center;
    height: auto;
    vertical-align: middle;
}

#shopbox .hbox {
    padding: 0.4em 1.5em;
    margin: 1.2em 0;
    border: solid 2px #333;
}

/*flexbox内のホバー設定
---------------------------------------------------------------------------*/
.btn-8 {
    color: #333333;
}

.btn {
    display: block;
    position: relative;
    overflow: hidden;
    padding: 1.5rem;
    text-decoration: none;
}

.btn:before,
.btn:after,
.btn .btn--inner:before,
.btn .btn--inner:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    background-color: currentColor;
    transition: 0.3s ease-in-out;
}

.btn--ccw-trbl:after {
    top: auto;
    right: 0;
    bottom: 0;
    left: auto;
}

.btn--ccw-trbl .btn--inner:before {
    right: 0;
    left: auto;
}

.btn--cw .btn--inner:after,
.btn--ccw .btn--inner:after,
.btn--cw-tlbr .btn--inner:after,
.btn--ccw-tlbr .btn--inner:after,
.btn--cw-trbl .btn--inner:after,
.btn--ccw-trbl .btn--inner:after {
    top: auto;
    bottom: 0;
}

.btn--ccw-trbl:before,
.btn--ccw-trbl:after,
.btn--ccw-trbl .btn--inner:before,
.btn--ccw-trbl .btn--inner:after {
    transition: 0.2s ease-in-out;
}

.btn--ccw-trbl:before,
.btn--ccw-trbl:after {
    width: 4px;
    height: 0;
    transition-delay: 0s;
}

.btn--ccw-trbl .btn--inner:before,
.btn--ccw-trbl .btn--inner:after {
    width: 0;
    height: 4px;
    transition-delay: 0.15s;
}

.btn--ccw-trbl:hover:before,
.btn--ccw-trbl:hover:after {
    height: 100%;
    transition-delay: 0.15s;
}

.btn--ccw-trbl:hover .btn--inner:before,
.btn--ccw-trbl:hover .btn--inner:after {
    width: 100%;
    transition-delay: 0s;
}

/*店舗案内のグリッド
---------------------------------------------------------------------------*/
.tenpo_grid {
    display: grid;
    grid-template-columns: 45% 1fr;
    grid-template-rows: 50px auto 50px auto;
    grid-gap: 15px;
    grid-auto-flow: dense;
    padding: 0 1% 5%;
}

.tenpo_item {
    background: none;
    padding: 10px;
}

.tenpo_grid h3 {
    display: inline-block;
    width: 100%;
    font-size: 1.2em;
    line-height: 1.5;
    color: #333;
    font-weight: bold;
    padding: 0.4em 0;
    margin: 0 auto;
    border: solid 2px #333;
}

.tenpo_grid p {
    display: inline-block;
    width: 100%;
    font-size: 1em;
    line-height: 1;
    color: #333;
    font-weight: normal;
    padding: 0px 0px 0px !important;
    margin: 0 auto;
}

.tenpo_title_osakabe {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
}

.tenpo_address_osakabe {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
    text-align: left;
    padding: 2% 5%;
}

.tenpo_title_kamimita {
    grid-column: 1 / 2;
    grid-row: 3 / 4;
}

.tenpo_address_kamimita {
    grid-column: 1 / 2;
    grid-row: 4 / 5;
    text-align: left;
    padding: 2% 5%;
}

.tenpo_map {
    grid-column: 2 / 3;
    grid-row: 1 / 5;
}

/*車両一覧ページの各ブロック
---------------------------------------------------------------------------*/
/*各ボックスの設定*/
#main .box01 {
    width: 100%;
    margin: 20px 0 20px 20px;
}

#main .box02 {
    width: 100%;
    margin: 20px 0 20px 20px;
}

#main .list01,
#main .list02 {
    position: relative;
    overflow: hidden;
    background: #fff;
    width: 30%;
    margin: 0 20px 50px;
    float: left;
    border-radius: 0px;
    line-height: 1.5;
    height: 100vh;
    text-align: left;
    box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.2);
}

#main .list01 a,
#main .list02 a {
    text-decoration: none;
    display: block;
    height: auto;
}

/*マウスオン時*/
#main .list01 a:hover,
#main .list02 a:hover {
    opacity: 0.5;
}

/*ボックス内のh4タグ設定*/
#main .list01 h4,
#main .list02 h4 {
    display: inline-block;
    color: #333;
    font-size: 1.5em;
    font-weight: bold;
    line-height: 1;
    padding: 10px 20px;
}

/*ボックス内の段落(p)タグ設定*/
#main .list01 p.price,
#main .list02 p.price {
    display: block;
    color: #FF2D6A;
    font-size: 1.2em;
    font-weight: bold;
    line-height: 1;
    padding: 0px 20px 10px;
}

#main .list01 p,
#main .list02 p {
    font-size: 1em;
    color: #333;
    line-height: 1.6;
    text-align: left;
    padding: 0 20px 60px;
}

/*ボックス内の写真設定*/
#main .list01 figure img,
#main .list02 figure img {
    width: 120%;
}

/*SOLD OUT表示。<div class="list option2">と指定した場合に画像を30%透明度にする設定。*/
.list01.option2 figure img,
.list02.option2 figure img {
    opacity: 0.3;
}

.clearfix:after {
    clear: both;
    content: '';
    display: block;
}

/*商品詳細ページの画像切り替え
---------------------------------------------------------------------------*/
/*大きな画像のボックスと説明文を入れるボックス*/
#item-image {
    position: relative;
    margin-bottom: 20px;
}

/*大きな画像の１行目*/
#item-image #item_image1 {
    z-index: 2;
    position: relative;
    overflow: hidden;
}

/*大きな画像の２行目*/
#item-image #item_image2 {
    z-index: 1;
    position: absolute;
    left: 0px;
    top: 0px;
    overflow: hidden;
}

/*サムネイル画像*/
.thumbnail {
    width: 80px;
    height: 80px;
    border: 1px solid #fff;
    margin-bottom: 20px;
}

.thumbnail:hover {
    border: 1px solid #c3b78a;
}

/*ソート・ページャーボタン設定
---------------------------------------------------------------------------*/
#sortbox {
    text-align: center;
    width: auto;
    margin: 50px 0;
    font-size: 1em;
    border-top: 1px solid #d8d8d8;
}

#sortbox span {
    display: inline-block;
    margin: 0 5px;
    width: auto;
    padding: 0 10px;
    background: #d45a91;
    color: #fff;
    border-radius: 5px;
}

#sortbox a {
    cursor: pointer;
    display: inline-block;
    margin: 0 5px;
    width: auto;
    padding: 0 10px;
    background: #555;
    border-radius: 5px;
    color: #fff;
    transition: 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

#sortbox a:hover {
    background: #9a9a9a;
    transition: 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

#sortbox p {
    font-size: 1em;
    text-align: center;
    padding: 20px 0;
}

/*リストページのページネーション設定
---------------------------------------------------------------------------*/
.pager {
    text-align: center;
    width: auto;
    padding: 20px;
    margin-bottom: 50px;
    font-size: 0.8em;
}

.pager span {
    display: inline-block;
    margin: 0 5px;
    width: auto;
    padding: 0 10px;
    background: #d45a91;
    color: #fff;
    border: 1px solid #555;
    border-radius: 0px;
}

.pager a.pagenation {
    cursor: pointer;
    display: inline-block;
    margin: 0 5px;
    width: auto;
    padding: 0 10px;
    background: #fff;
    border: 1px solid #555;
    border-radius: 0px;
    color: #555;
    transition: 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.pager a.pagenation:hover {
    background: #d45a91;
    color: #fff;
    transition: 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

#.pager a.pagenation:active {
    background: #9a9a9a;
    transition: 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/*Google map
------------------------------------------------------------- */
/*googlemap(会社概要内マップ)*/
.gmaps-sv {
    position: relative;
    padding-bottom: 30%;
    height: 0;
    overflow: hidden;
}

.gmaps-sv iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
}

#map-canvas {
    width: 100%;
    height: 500px;
}

.map_wrapper {
    width: 100%;
    margin: 0 0 0 0;
    padding: 0px;
    border: 0px solid #ccc;
    border-radius: 0px;
}

.googlemap {
    position: relative;
    overflow: hidden;
}

.map_wrapper h2.map_title {
    font-family: "futura-pt", "futura-pt-bold", "kan412typos-std", sans-serif;
    font-size: 2em !important;
    margin: 0px !important;
    padding: 0px !important;
}

.map_wrapper p.map_comment {
    font-family: "futura-pt", "futura-pt-bold", "kan412typos-std", sans-serif;
    font-size: 1.2em !important;
    margin: 0px !important;
    padding: 0px !important;
}

#gmap ul li {
    margin: 10px 0 10px;
    width: 400px;
    font-size: 1.2em;
    font-weight: normal;
    padding: 10px 20px;
    text-align: left;
    border-bottom: 1px solid #ccc;
}

#gmap li:before {
    display: inline-block;
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    content: "\f0da";
    margin-right: 10px;
}

/*トップページ内「更新情報・お知らせ」ブロック
---------------------------------------------------------------------------*/
/*ブロック全体の設定*/
#new dl {
    padding-left: 0px;
    margin-bottom: 20px;
}

/*日付設定*/
#new dt {
    float: left;
    padding: 0.5em 0 0.5em 0em;
    width: 9em;
    font-size: 0.9em;
    text-align: right;
    line-height: 2;
}

/*記事タイトル*/
#new span {
    font-size: 1.1em;
    font-weight: bold;
    line-height: normal;
    color: #d45a91;
}

/*記事設定*/
#new dd {
    padding: 0.5em 0 0.5em 9em;
    border-bottom: 1px solid #d8d8d8;
    text-align: left;
    line-height: 1.5;
}

/*店舗情報のページ
---------------------------------------------------------------------------*/
/*ブロック全体の設定*/
#shop dl {
    padding-left: 0px;
    margin-bottom: 20px;
}

/*日付設定*/
#shop dt {
    float: left;
    width: 9em;
    color: #d45a91;
    letter-spacing: 0.1em;
}

/*記事設定*/
#shop dd {
    padding-left: 9em;
    border-bottom: 1px solid #9a9a9a;
}

/*よく頂く質問のページ
---------------------------------------------------------------------------*/
/*ブロック全体*/
.faq {
    padding: 0px 20px;
}

/*質問の設定*/
.faq dt {
    color: #2430ea;
    padding-top: 15px;
}

.faq dt a {
    color: #2430ea;
}

/*回答の設定*/
.faq dd {
    border-bottom: 1px solid #fff;
    overflow: hidden;
    padding-bottom: 15px;
}

/*テーブル（ta1）
---------------------------------------------------------------------------*/
/*ta1設定*/
.ta1 {
    width: 100%;
    margin: 0 auto 20px;
}

.ta1,
.ta1 td {
    border: 1px solid #d8d8d8;
    padding: 10px 15px;
    background: #fff;
    word-break: break-all;
    text-align: left;
}

.ta1 th {
    border: 1px solid #d8d8d8;
    padding: 10px 15px;
    background: #e8fff2;
    word-break: break-all;
}

/*テーブル１行目に入った見出し部分*/
.ta1 th.tamidashi {
    width: auto;
    text-align: left;
    background: #222;
    font-size: 18px;
}

/*ta1の左側ボックス*/
.ta1 th {
    width: 140px;
    text-align: center;
    padding: 20px;
    font-weight: normal;
}

/*左側ボックスに画像を入れた場合の設定*/
.ta1 th img {
    width: 100%;
}

/*こだわりアイコンのフロート指定(CMS用)*/
.ta1 td .specialbox {
    float: left;
    width: 45%;
}

.ta1 td .specialbox img {
    vertical-align: middle;
}

/*詳細ページ(item.html)のボタン
---------------------------------------------------------------------------*/
input[type="submit"].btn,
input[type="button"].btn {
    cursor: pointer;
    width: 350px;
    display: inline-block;
    margin: 20px auto;
    padding: 20px;
    vertical-align: middle;
    line-height: 1;
    background: #555;
    border-radius: 50px;
    color: #fff;
    font-size: 1.2em;
    text-decoration: none;
    transition: 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/*マウスオン時の設定*/
input[type="submit"].btn:hover,
input[type="button"].btn:hover {
    cursor: pointer;
    background: #6A6A6A;
    transition: 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/*一覧ページのボックス内のアイコン
（CMSの場合は管理ページの「オプション1」～のプルダウンと、setup.phpの「オプション選択肢」に関連します）
---------------------------------------------------------------------------*/
/*option1,option2共通*/
span.option1,
span.option2 {
    font-family: "futura-pt", "futura-pt-bold";
    position: absolute;
    background: #9a9a9a;
    bottom: 0px;
    right: 0px;
    color: #fff;
    font-size: 1em;
    padding: 10px;
    border-radius: 5px 0 0;
    vertical-align: middle;
    z-index: 2;
}

/*option1への追加設定*/
span.option1 {
    color: #fff;
    background: #43d8b7;
}

/*h2タグ内で使った場合のoption1とoption2*/
h2 span.option1,
h2 span.option2 {
    font-family: "futura-pt", "futura-pt-bold";
    text-shadow: none;
    width: auto;
    padding: 2px 5px;
    position: static;
    transform: none;
    display: inline-block;
    font-size: 15px;
    margin-left: 10px;
}

/*option01,option02共通*/
.mb15 span.option01,
.mb15 span.option02 {
    font-family: "futura-pt", "futura-pt-bold";
    position: absolute;
    background: #9a9a9a;
    bottom: 0px;
    right: 0px;
    color: #fff;
    font-size: 1.2em;
    padding: 15px 10px;
    border-radius: 20px 0 0;
    vertical-align: middle;
    z-index: 2;
}

/*option1への追加設定*/
.mb15 span.option01 {
    color: #fff;
    background: #43d8b7;
}

/*h2タグ内で使った場合のoption1とoption2*/
h2 span.option01,
h2 span.option02 {
    font-family: "futura-pt", "futura-pt-bold";
    text-shadow: none;
    width: auto;
    padding: 2px 5px;
    position: static;
    transform: none;
    display: inline-block;
    font-size: 15px;
    margin-left: 10px;
}

/*inputボタンの設定
---------------------------------------------------------------------------*/
input[type="submit"],
input[type="button"],
input[type="reset"] {
    cursor: pointer;
    width: 200px;
    display: inline-block;
    margin: 20px 20px;
    padding: 10px;
    vertical-align: middle;
    line-height: 1;
    background: #555;
    border-radius: 8px;
    color: #ffffff;
    font-family: inherit;
    font-size: 1em;
    text-decoration: none;
    transition: 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/*ボタンのマウスオン時の設定*/
input[type="submit"]:hover,
input[type="button"]:hover,
input[type="reset"]:hover {
    background: #9a9a9a;
    transition: 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

#submitbutton {
    text-align: center;
}

/*トップページのNEWアイコン
---------------------------------------------------------------------------*/
.newicon {
    position: absolute;
    background: #FF2D6A;
    color: #fff;
    font-size: 0.9em;
    padding: 10px;
    border-radius: 0 0 5px 0;
    vertical-align: middle;
    opacity: 0.9;
    z-index: 2;
}

/*その他
---------------------------------------------------------------------------*/
.look {
    background: #222;
    padding: 5px 10px;
    border-radius: 4px;
}

.mb15,
.mb1em {
    width: 65%;
    margin: 0 auto 15px !important;
}

.mb30 {
    margin-bottom: 30px !important;
}

.p0 {
    padding: 0 !important;
}

.clear {
    clear: both;
}

ul.disc {
    padding: 0em 25px 15px;
    list-style: disc;
}

.color1,
.color1 a {
    color: #F00;
}

.bg1 {
    background: #f6f5f2;
}

.pr {
    font-size: 10px;
}

.wl {
    width: 96%;
}

.ws {
    width: 50%;
}

.c {
    clear: both;
    text-align: center;
    margin-bottom: 15px;
}

.r {
    text-align: right;
}

.l {
    text-align: left;
}

img.fr {
    float: right;
    margin-left: 10px;
    margin-bottom: 10px;
}

img.fl {
    float: left;
    margin-right: 10px;
    margin-bottom: 10px;
}

.big1 {
    font-size: 20px;
}

.mini1 {
    font-size: 11px;
    display: inline-block;
    line-height: 1.5;
}

.sh {
    display: none;
}

/*画面幅1600px以下の設定
------------------------------------------------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width:1600px) {

    /*サイドバー及びメインコンテンツの設定
---------------------------------------------------------------------------*/
    /*トップページグリッドレイアウト
--------------------------------------------*/
    .top-contents {
        margin-bottom: 100px;
    }

    /*画像が左側
--------------------------*/
    .top_grid_left {
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-rows: auto;
        grid-gap: 20px;
        grid-auto-flow: dense;
    }

    .top_item_left {
        border-radius: 0px;
    }

    .top_mainimg_left {
        grid-column: 1 / 4;
        grid-row: 2 / 3;
    }

    .top_title_left {
        grid-column: 1 / 4;
        grid-row: 1 / 2;
        text-align: left;
    }

    .top_content_left {
        grid-column: 1 / 4;
        grid-row: 4 / 5;
        height: auto;
        text-align: left;
    }

    .top_subimg01_left {
        grid-column: 1 / 2;
        grid-row: 3 / 4;
        height: auto;
    }

    .top_subimg02_left {
        grid-column: 2 / 3;
        grid-row: 3 / 4;
    }

    .top_subimg03_left {
        grid-column: 3 / 4;
        grid-row: 3 / 4;
    }

    /*画像が右側
--------------------------*/
    .top_grid_right {
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-rows: auto;
        grid-gap: 20px;
        grid-auto-flow: dense;
    }

    .top_item_right {
        border-radius: 0px;
    }

    .top_mainimg_right {
        grid-column: 1 / 4;
        grid-row: 2 / 3;
    }

    .top_title_right {
        grid-column: 1 / 4;
        grid-row: 1 / 2;
        text-align: left;
    }

    .top_content_right {
        grid-column: 1 / 4;
        grid-row: 4 / 5;
        height: auto;
        text-align: left;
    }

    .top_subimg01_right {
        grid-column: 1 / 2;
        grid-row: 3 / 4;
        height: auto;
    }

    .top_subimg02_right {
        grid-column: 2 / 3;
        grid-row: 3 / 4;
    }

    .top_subimg03_right {
        grid-column: 3 / 4;
        grid-row: 3 / 4;
    }

    .text-container__title {
        font-size: 2.5em;
        margin: 15px auto;
        text-align: center;
    }

    .text-container__text {
        font-size: 1.2em;
        line-height: 2;
        padding: 0px 5px 15px !important;
        bottom: 5px;
    }

    .text-container.active .text-container__text {
        font-size: 1.2em;
        line-height: 2;
        padding: 0px 5px 15px !important;
        bottom: 5px;
    }

    /*flexbox
---------------------------------------------------------------------------*/
    #flexbox2 > div {
        background: #fff;
        padding: 1em;
        flex: 1 0 300px;
        margin: 10px;
        overflow: hidden;
    }

    #shopbox > div {
        display: flex;
        padding: 0;
        flex: 1 0 300px;
        align-items: stretch;
        margin: 10px 10px 30px;
        width: auto;
        height: auto;
        line-height: 1.5;
        overflow: hidden;
        box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.2);
    }

    #shopbox p {
        font-size: 1em;
        line-height: 1.2em;
        margin: 0px 20px;
        padding: 0 5px 10px;
    }

    /*車輌一覧ページの各ブロック
---------------------------------------------------------------------------*/
    /*各ボックスの設定*/
    #main .box01 {
        width: 100%;
        margin: 20px 0 10px 10px;
    }

    #main .box02 {
        width: 100%;
        margin: 20px 0 20px 10px;
    }

    #main .list01,
    #main .list02 {
        width: 45%;
        height: 800px;
        float: left;
        margin: 10px 15px 30px;
        text-align: left;
    }

    /*ボックス内の写真設定*/
    #main .list01 figure img,
    #main .list02 figure img {
        width: 100%;
        float: left;
    }

    /*一番下のボックスへの追加設定*/
    #main .list01:last-of-type a,
    #main .list02:last-of-type a {
        margin-bottom: 30px;
    }

    /*Google map
------------------------------------------------------------- */
    /*googlemap(会社概要内マップ)*/
    .gmaps-sv {
        padding-bottom: 80%;
    }

    /*その他
---------------------------------------------------------------------------*/
    .mb15,
    .mb1em {
        width: 100%;
        margin-bottom: 15px !important;
    }

    body.s-n #sub,
    body.s-n #footermenu,
    .m-n {
        display: none;
    }
}

/*画面幅900px以下の設定
------------------------------------------------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width:900px) {

    /*コンテンツ（mainとsubを囲むブロック）
---------------------------------------------------------------------------*/
    #contents {
        padding-top: 80px;
    }

    /*サイドバー及びメインコンテンツの設定
---------------------------------------------------------------------------*/
    #main-visual .cars h2,
    #main-visual .contact h2 {
        font-size: 6em;
    }

    /*トップページグリッドレイアウト
--------------------------------------------*/
    .top-contents {
        margin-bottom: 40px;
    }

    .top_grid_left,
    .top_grid_right {
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-rows: auto;
        grid-gap: 20px;
    }

    .top_mainimg_left,
    .top_mainimg_right {
        grid-column: 1 / 4;
        grid-row: 2 / 3;
    }

    .top_title_left,
    .top_title_right {
        grid-column: 1 / 4;
        grid-row: 1 / 2;
    }

    .top_content_left,
    .top_content_right {
        grid-column: 1 / 4;
        grid-row: 4 / 5;
    }

    .top_subimg01_left,
    .top_subimg01_right {
        grid-column: 1 / 2;
        grid-row: 3 / 4;
    }

    .top_subimg02_left,
    .top_subimg02_right {
        grid-column: 2 / 3;
        grid-row: 3 / 4;
    }

    .top_subimg03_left,
    .top_subimg03_right {
        grid-column: 3 / 4;
        grid-row: 3 / 4;
    }

    .text-container__title {
        margin: 5px auto 5px;
        font-size: 4em;
        text-align: center;
    }

    /*flexbox
---------------------------------------------------------------------------*/
    .text-container {
        padding: 0;
    }

    /*車輌一覧ページの各ブロック
---------------------------------------------------------------------------*/
    /*各ボックスの設定*/
    #main .box01 {
        width: 100%;
        margin: 20px 0 20px 5px;
    }

    #main .box02 {
        width: 100%;
        margin: 20px 0 20px 10px;
    }

    #main .list01,
    #main .list02 {
        width: 30%;
        height: 550px;
        float: left;
        margin: 10px 10px 30px;
        text-align: left;
    }

    /*ボックス内の写真設定*/
    #main .list01 figure img,
    #main .list02 figure img {
        width: 100%;
        float: left;
        margin-bottom: 3%;
    }

    /*一番下のボックスへの追加設定*/
    #main .list01:last-of-type a,
    #main .list02:last-of-type a {
        margin-bottom: 30px;
    }

    /*ボックス内のh4タグ設定*/
    #main .list01 h4,
    #main .list02 h4 {
        font-size: 1.2em;
        font-weight: bold;
        padding: 10px 10px 0;
    }

    /*ボックス内の段落(p)タグ設定*/
    #main .list01 p.price,
    #main .list02 p.price {
        padding: 5px 10px;
        margin-bottom: 0px;
        font-size: 1.2em;
        font-weight: bold;
        line-height: 1;
    }

    #main .list01 p,
    #main .list02 p {
        padding: 0 10px;
        font-size: 0.8em;
        line-height: 1.5;
        text-align: left;
    }

    /*ボックス内の写真設定*/
    #main .list01 figure img,
    #main .list02 figure img {
        width: 120%;
    }

    .clearfix:after {
        clear: both;
        content: '';
        display: block;
    }

    .newicon {
        font-size: 1em;
        padding: 10px;
    }

    span.option1,
    span.option2 {
        font-size: 1em;
        padding: 10px;
    }
}

/*画面幅480px以下の設定
------------------------------------------------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width:480px) {

    /*全体の設定
---------------------------------------------------------------------------*/
    body {
        font-size: 12px;
        line-height: 1.5;
    }

    /*トップページグリッドレイアウト
--------------------------------------------*/
    .top-contents {
        margin-bottom: 40px;
    }

    .top_grid_left,
    .top_grid_right {
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-rows: auto;
        grid-gap: 10px;
    }

    .top_mainimg_left,
    .top_mainimg_right {
        grid-column: 1 / 4;
        grid-row: 2 / 3;
    }

    .top_title_left,
    .top_title_right {
        grid-column: 1 / 4;
        grid-row: 1 / 2;
    }

    .top_content_left,
    .top_content_right {
        grid-column: 1 / 4;
        grid-row: 4 / 5;
    }

    .top_subimg01_left,
    .top_subimg01_right {
        grid-column: 1 / 2;
        grid-row: 3 / 4;
    }

    .top_subimg02_left,
    .top_subimg02_right {
        grid-column: 2 / 3;
        grid-row: 3 / 4;
    }

    .top_subimg03_left,
    .top_subimg03_right {
        grid-column: 3 / 4;
        grid-row: 3 / 4;
    }

    .text-container__title {
        margin: 5px auto 5px;
        font-size: 3em;
        text-align: center;
        line-height: 1.2;
    }

    /*ショップページグリッドレイアウト
--------------------------------------------*/
    .tenpo_grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        grid-gap: 10px;
    }

    .tenpo_item {
        padding: 0;
    }

    .tenpo_title_osakabe,
    .tenpo_address_osakabe,
    .tenpo_title_kamimita,
    .tenpo_address_kamimita,
    .tenpo_map {
        grid-column: 1;
        grid-row: auto;
    }

    .tenpo_map {
        margin: 10% 0 0;
    }

    .tenpo_grid h3 {
        width: 80%;
    }

    .tenpo_address_osakabe,
    .tenpo_address_kamimita {
        padding: 2% 15%;
    }

    /*サイドバー及びメインコンテンツの設定
---------------------------------------------------------------------------*/
    /*flexbox
---------------------------------------------------------------------------*/
    .flexbox1 {
        display: block !important;
    }

    #flexbox2 > div {
        margin: 0 0 2em;
    }

    #main_contents {
        padding: 5% 0;
    }

    .sec {
        margin-bottom: 60px;
    }

    .col2 {
        width: 100%;
    }

    #shopbox > div {
        margin: 10px 5px;
    }

    #shopbox h3 {
        font-size: 1.8em;
        line-height: 1em;
        text-align: center;
        margin: 20px auto;
    }

    #shopbox p {
        font-size: 1.2em;
        line-height: 1.8em;
        margin: 0px;
        padding: 0 15px 5px;
    }

    /*車輌一覧ページの各ブロック
---------------------------------------------------------------------------*/
    /*各ボックスの設定*/
    #main .box01 {
        width: 100%;
        margin: 15px 8px 10px;
    }

    #main .box02 {
        width: 100%;
        margin: 15px 8px 10px;
    }

    #main .list01,
    #main .list02 {
        height: 430px;
        width: 45%;
        margin: 10px 5px 30px;
    }

    #main .list01 p,
    #main .list02 p {
        padding: 0 10px;
        font-size: 0.8em;
        line-height: 1.5;
        text-align: left;
    }

    /*mainコンテンツ
---------------------------------------------------------------------------*/
    #main-visual .cars h2,
    #main-visual .contact h2 {
        font-size: 5em;
    }

    #main h2 {
        font-size: 2.5em;
    }

    #main h2 span {
        font-size: 0.5em;
    }

    .hbox {
        margin: 2em 0 1em;
    }

    #main-in a {
        left: 45%;
    }

    /*トップページ内「更新情報・お知らせ」ブロック
---------------------------------------------------------------------------*/
    /*ブロック全体の設定*/
    #new dl {
        padding-left: 10px;
    }

    /*テーブル（ta1）
---------------------------------------------------------------------------*/
    /*ta1設定*/
    .ta1,
    .ta1 td,
    .ta1 th {
        padding: 5px;
        /*ボックス内の余白*/
    }

    /*テーブル１行目に入った見出し部分*/
    .ta1 th.tamidashi {
        font-size: 14px;
    }

    /*ta1の左側ボックス*/
    .ta1 th {
        width: 100px;
    }

    /*こだわりアイコンのフロート指定(CMS用)*/
    .ta1 td .specialbox {
        float: none;
        width: auto;
    }

    /*inputボタンの設定
---------------------------------------------------------------------------*/
    input[type="submit"],
    input[type="button"],
    input[type="reset"] {
        width: 150px;
        display: inline-block;
        margin: 10px 10px;
        padding: 10px;
    }

    /*その他
---------------------------------------------------------------------------*/
    .ws,
    .wl {
        width: 94%;
    }

    .big1 {
        font-size: 16px;
    }

    img.fr,
    img.fl {
        float: none;
        margin: 0;
        width: 100%;
    }

    .sh {
        display: block;
    }

    .pc {
        display: none;
    }
}

/*画面幅410px以下の設定
------------------------------------------------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width:410px) {

    /*ヘッダー（ロゴが入った最上段のブロック）
---------------------------------------------------------------------------*/
    /*ロゴ画像*/
    header #logo img {
        width: 150px;
    }
}
