@charset "utf-8";
/* Active entrypoint for top page-specific styles. */
/* 520px以下のスマホ表示が標準になっています。
メディアクエリにて指定したのは下記
520pxから1000pxのスタイル
1000px以上のスタイル */


h1 {
    color:#d22800;
    margin: 0 0 10px;
    font-size: clamp(1.75rem, 8.5vw, 4rem);
    font-weight: 800;
    line-height: .9;
}

h1 span {
    color: black;
    font-size: clamp(1.2rem, 5vw, 2.2rem);
    font-weight: 700;
}

.container {
    max-width: 1000px;
    margin: auto;
    height: auto;
    font-feature-settings:"palt"; /* 文字間の自動調整 */
}

.main-img {
    width: 100%;
    height: auto;
}

.header {
    padding: 1em;
}

.header-logo{
    width: 160px;
}

.top {
    padding: 2em;
    text-align: center;
}

.top-topics-area {
    display: flex;
    justify-content: center;
}

.top-topics {
    border-radius: 9999px;
    background-color: #d22800;
    color: white;
    font-size: 1.4rem;
    font-weight: 500;
    margin-top: 1.25rem;
    padding: .75rem;
    line-height: 1.2;
    width: 100%;
    max-width: 400px;
}

.heading {
    color:#d22800;
    font-size: clamp(1rem, 6vw, 1.5rem);
    font-weight: 700;
}

.heading-area {
    margin-top: 1.25rem;
}

.shop-logo {
    margin-top: 1.25rem;
}

.link-sub {   
    border-radius: 9999px; 
    font-size: clamp(.75rem, 4vw, 1rem);
    font-weight: 700;
    margin-top: 1.25rem;
    /* border: solid 2px #d22800; */
    background: rgb(255, 210, 110);
    padding: .2rem 0;
    width: 100%;
    max-width: 400px;
}

.link-sub-area {
    display: flex;
    justify-content: center;
}

.link-sub a {
    color:#d22800;
    text-decoration: none;
    transition: 0.3s;
    cursor: pointer;
}

.link-sub a:hover {
    color:#6e1400;
}

/* 動画 */
.movie_area {
    max-width: 400px;
    margin: 0 auto;
    padding: 0 2em;
}

.movie_area li{
    padding: 1rem 0;
}

.movie_wrap {
    width: 100%;
    aspect-ratio: 16 / 9;
}

.movie_wrap iframe {
    width: 100%;
    height: 100%;
}

/* メディアクエリ タブレットの時の指定 動画 埋め込み（520px以上の時に読み込む） */
@media screen and (min-width: 520px){
    .movie_area {
        max-width: 800px;
    }
    .movie_area ul{
        display: flex;
        justify-content: space-between;
    }
    .movie_area li{
        padding: 0;
        width: 48%;
    }
}

.mid {
    text-align: center;
    padding: 2rem;
}

.mid-bg {
    background: rgb(255, 210, 110);
}

.mid-sub {
    text-align: center;
    padding: 1rem 2rem 2rem;
}

.mid-sub-flex {
    display: flex;
    justify-content: center;
    padding: 0 0 2rem;
}

.mid-sub-flex img {
    border-radius: .5rem;
    width: 100%;
    max-width: 600px;
}

.h2 {
    color:#d22800;
    padding: 0 0 .5rem;
    font-size: clamp(1.75rem, 8.5vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
}

/* メディアクエリ PCの時の指定 FAQ（768px以上で読み込む） */
@media screen and (min-width: 768px){
    .h2 {
        padding: 2rem 0 0;
    }
}

.red {
    color:#d22800;
}

.lead {
    font-size: clamp(.8rem, 4.5vw, 1.5rem);
    font-weight: 700;
    line-height: 1.4;
}

.mid-flex {
    padding: 1rem 0;
    display: flex;
    justify-content: center;
}

.mid-fukidashi {
    display: flex;
    justify-content: center;
    background-image: url(../../images/top/fukidashi_back.png);
    background-position: center;
}

.arrow {
    width:3rem;
}

.mid-img {
    width: 100%;
    max-width: 600px;
}

.button_wrap {
    padding: 2rem;
}

.step3 {
    padding: 2rem 0 0;
    font-size: clamp(1.75rem, 8.5vw, 2.75rem);
    font-weight: 800;
    line-height: 1.2;
}

.step3 span {
    color:#d22800;
}

.step-img {
    width: 100%;
    max-width: 200px;
}

.spep-img-box {
    display: flex;
    justify-content: center;
    padding-top: 2rem;
}

.step-heading {
    color:#d22800;
    font-size: clamp(1.2rem, 6.5vw, 1.8rem);
    font-weight: 700;
    line-height: 1.2;
    padding: .75rem 0;
}

/* メディアクエリ PCの時の指定 FAQ（768px以上で読み込む） */
@media screen and (min-width: 768px){
    .step-heading {
        padding: 1rem 0;
    }
}

.faq {
    text-align: center;
    padding: 2rem;
}

.faq-title {
    color:#d22800;
    font-size: clamp(1rem, 5vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    padding: 0 0 .75rem;
    margin: 0;
}


/* FAQ リスト部分 */
.faq_list{
    padding: 1em 0 0;
    text-align: left;
}

/* FAQ 質問部分 */
.faq_list dt {
    margin-bottom: .5em;
    font-weight: 600;
    font-size: clamp(.7rem, 4vw, 1rem);

}

/* FAQ Q.とA.の文字の右側スペースを設定 */
.faq_list dt::before,
.faq_list dd::before {
    margin-right: .4em;
}

/* FAQ 擬似クラスでQ.を表示 */
.faq_list dt::before {
    content: "Q.";
}

/* FAQ 答えの文字部分 */
.faq_list dd {
    margin: 0 0 1.5em;
    padding: 1em;
    background-color: #f2f2f2;
    font-size: clamp(.7rem, 4vw, 1rem);
}

/* FAQ 答えの文字部分、最後だけ下部のスペース無しの指定 */
.faq_list dd:last-child{
    margin: 0 0 0;
    padding: 1em;
    background-color: #f2f2f2;
    font-size: clamp(.7rem, 4vw, 1rem);
}

/* FAQ 擬似クラスでA.を表示 */
.faq_list dd::before {
    content: "A.";
}

/* メディアクエリ タブレットの時の指定 FAQ（520px以上、1000px以下の時に読み込む） */
@media screen and (min-width: 520px) and (max-width: 1000px){
    .faq_list dt {
        font-size: 1em;
    }
    .faq_list dd {
        margin: 0 0 2em;
        padding: 1em;
        font-size: 1em;
    }
    .faq_list dd:last-child{
        padding: 1em;
        font-size: 1em;
    }
}

/* メディアクエリ PCの時の指定 FAQ（1000px以上で読み込む） */
@media screen and (min-width: 1000px){
    .faq_list dt {
        margin-bottom: 1em;
        font-size: 1em;
    }
    .faq_list dd {
        margin: 0 0 3em;
        padding: 1em 1.5em;
        font-size: 1em;
    }
    .faq_list dd:last-child{
        padding: 1em 1.5em;
        font-size: 1em;
    }
} 

.catalog-title {
    color:#d22800;
    font-size: clamp(1.2rem, 6.5vw, 1.8rem);
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
}

.catalog {
    text-align: center;
    padding: 2rem;
}

.catalog-box {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    border-collapse: collapse;
    padding:.6rem 0 0;
}

.catalog-button {
    flex: 1 1 30%;
    font-size: clamp(.75rem, 2.5vw, 1rem);
    font-weight: 700;
    padding: .5rem 0;
    border: .12rem solid #d22800;
    border-radius: 5px;
    color: #d22800;
    text-align: center;
    box-sizing: border-box; /* ボックスモデルのサイズを含む */
    margin: 2px;
    cursor: pointer;
}

.catalog-button:hover {
    color:#a71f00;
    background: #f0f0f0;
}

.resale {
    text-align: center;
    padding: 2rem;
}

.resale-flex {
    display: flex;
    justify-content: center;
}

.resale-flex img {
    width: 100%;
    max-width: 600px;
}

/* インプレッションの項目ここから */
/* インプレッションはリストのulのliの中にdlが入る構造で
dtに文字類、ddに写真が入る */
.impression_inner{
    padding: 1.5em 1em;
}

/* ここは外側のulリストの設定 */
.impression_list{
    margin-top: 3em;
    width: 100%;
}

/* インプレッション 外側のリストのliのみの設定 */
.impression_list li{
    margin: 80px 0 0;
    position: relative;
}

/* リストの最初だけマージンなし */
.impression_list li:first-child{
    margin: 0;
    position: relative;
}

/* dtはタイトル用タグなので、内部に見出しタグを入れてはダメ
dtの中の文字はpタグ2個が並ぶが、「p:first-child」と「p:nth-child(2)」の指定で
それぞれスタイルを設定 */
/* インプレッション 文字が入る枠 */
.impression_list_machine dt{
    /* 擬似クラスの吹き出し風の三角の親要素を設定 */
    position: relative;
    background-color: #f2f2f2;
    border-radius: 10px;
    padding: 1em;
    /* 重なりの位置を指定 */
    z-index: -1;
    margin: 0 0 1em 0;
}

/* インプレッション 文字が入る枠の矢印部分 擬似クラス*/
.impression_list_machine dt::before {
    /* 子要素の設定 */
    position: absolute;
    right: 2em;
    width: 2em;
    height: 1em;
    bottom: -1em;
    background-color: #f2f2f2;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    content: '';
}

/* インプレッション 要素内 オレンジのタイトル文字 */
.impression_list_machine p:first-child{
    text-align: center;
    font-size: 1.2em;
    font-weight:700;
    color: #F06E14;
    line-height: 1.2em;
}

/* インプレッション 要素内 オレンジのタイトル文字を黒色に変更 バイク名に使用 */
.impression_list_machine p:first-child span{
    color: #000;
}

/* インプレッション 要素内 キャプション */
.impression_list_machine p:nth-child(2){
    text-align:left;
    text-align: justify;
    margin-top: 1em;
    font-size: .8em;
}

/* インプレッション 要素内 写真 */
.impression_list_machine img{
    width: 100%;
}

/* インプレッション ノンブル「IMPRESSION 01」とかの部分 擬似クラス */
.impression_list li div:first-child{
    position: absolute;
    top: -2.3em;
    left: 1em;
    padding: .4em 2em;
    border-radius: 5px 5px 0 0;
    background-color: #F06E14;
    color: #fff;
    font-size: .6em;
    font-weight: 700;
}

/* メディアクエリ タブレットの時の指定 インプレッション（520px以上、1000px以下の時に読み込む） */
@media screen and (min-width: 520px) and (max-width: 1000px){
    /* インプレッションの余白を変更 */
    .impression_inner{
        padding: 2em 1.2em;
    }
    /* インプレッション 要素内 オレンジのタイトル文字 */
    .impression_list_machine p:first-child{
        font-size: 1.4em;
    }
    /* インプレッション 要素内 キャプション 文字サイズ変更 */
    .impression_list_machine p:nth-child(2){
        font-size: 1em;
    }
    /* インプレッション ノンブル「IMPRESSION 01」とかの部分 */
    .impression_list li div:first-child{
        font-size: .8em;
    }
}

/* メディアクエリ PCの時の指定 インプレッション（1000px以上で読み込む） */
@media screen and (min-width: 1000px){
    /* インプレッションの余白を変更 */
    .impression_inner{
        padding: 4em 1.2em;
    }
    /* インプレッション リストulのliに入れている、dlにflexを設定 */
    .impression_list_machine{
        display: flex;
        justify-content: space-between;
    }
    /* インプレッション dtとddを横に並べるので、幅や余白を設定 */
    .impression_list_machine dt{
        padding: 2em 1.5em 1.5em 1.5em;
        margin: 0 1em 0 0;
        width: 70%;
    }
    /* インプレッション dtに付ける三角部分 擬似クラス */
    .impression_list_machine dt::before {
        right: -1em;
        width: 1em;
        height: 2em;
        top: 3em;
        clip-path: polygon(0 0, 100% 50%, 0 100%);
    }
    /* インプレッション 要素内 オレンジのタイトル文字 */
    .impression_list_machine p:first-child{
        text-align: left;
        font-size: 1.5em;
    }
    /* インプレッション 要素内 キャプション 文字サイズ変更 */
    .impression_list_machine p:nth-child(2){
        font-size: 1em;
    }
    /* インプレッション ノンブル「IMPRESSION 01」とかの部分 */
    .impression_list li div:first-child{
        font-size: .8em;
    }
}
