@charset "utf-8";

/* スマホ対応処理 */
/* @media screen and (min-width:300px) and (max-width: 768px){} */ /*画面幅を細かく指定したい場合*/
/*@media screen and (max-width: 768px){*/


/*
Base Style
全体に反映させる設定値を記入
*/
body {
    /*google fonts からコピペし、フォントファミリーお勧め設定を連結した*/
    font-family: 'Noto Sans JP', "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
    font-size: 18px;
    line-height: 1.5;
    color: #333;
}


/* 
Header
*/
.header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
    position: fixed; /*他の要素と関係なく常に固定させる*/
    z-index: 10;    /*一番上のレイヤーに表示するため大きい数字を指定*/
    top: 0;
    left: 0;
    max-width: 2223px; /* 横幅の最大値 */
}

.header-logo {
    margin: 0;
}
.header-logo > a {
    display: block;
}
.header-img {
    width: 150px;
    height: auto;
}

/* .header-nav {} */
.header-navlist {
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
/* .header-navitem {} */
.header-navitem > a {
    display: block;
    padding: 10px;
    color: #aaa;
    text-decoration: none;
    font-weight: bold;
    border-bottom: 2px solid transparent;   /*ゆっくりと表示させるために透明にしておく*/
    transition: border-color .25s;          /*ゆっくりと表示させる指定*/
}

.headline-span {
    margin-left: 10px;
}

.header-navitem > a:hover {
    border-bottom: 2px solid #aaa;
}


@media screen and (max-width: 768px){
    .header {
        font-size: 12px;
    }

    .header-img {
        width: 100px;
        height: auto;
    }    
}


.main-copy {
    text-align: center;
    padding: 120px 0px 120px;
    font-size: 50px;
    font-weight: bold;
    color: #eee;
    background-color: #111;
    max-width: 2223px; /* 横幅の最大値 */
}

@media screen and (max-width: 768px){
    .main-copy {
        text-align: center;
        padding: 120px 0px 120px;
        font-size: 30px;
    }
}

span {
    display: inline-block;
    margin: 0;
}

p {
    overflow-wrap: break-word;
	/* word-break: keep-all; */
    max-width: 2223px; /* 横幅の最大値 */
}

img {
    max-width: 2223px; /* 横幅の最大値 */
}

/* 
Hero
*/
.hero {
    /*width: 100vw; /*vw=view with windowサイズの横幅*/
    /*height: 100vh; /*vh=view hight windowサイズの縦幅*/
    /* text-align: center; */
    position: relative;
    overflow: hidden; /*はみ出した部分はカットする*/
}

.hero-img {
    width: 100vw; /*vw=view with windowサイズの横幅*/
    /*height: 100vh; /*vh=view hight windowサイズの縦幅*/
    background-color: #111;
    object-fit: cover;
}

.hero-img768 {
    display: none;
    object-fit: cover;
}


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

    .hero-img {
        display: none;
    }
    
    .hero-img768 {
        display: block;
        width: 100%; /*vw=view with windowサイズの横幅*/
        /*height: 100vh; /*vh=view hight windowサイズの縦幅*/
        background-color: #111;
        object-fit: cover;
    }
}


/*
section
*/
.section {
    padding: 30px 15px;
    margin: 0;
    max-width: 2223px; /* 横幅の最大値 */
}

.section.section-secounday {
    background: #efefef;
}

.section-parent {
    padding: 30px 15px 0px;
    margin: 0;
    max-width: 2223px; /* 横幅の最大値 */
}

.section-child {
    padding: 0px 10%;
    margin: 0;
    max-width: 2223px; /* 横幅の最大値 */
}

.section-child-end {
    padding: 0px 10% 30px;
    margin: 0;
    max-width: 2223px; /* 横幅の最大値 */
}

.section-headline {
    text-align: center; /*中央寄せ*/
    font-size: 40px;
    font-weight: bold;
    margin: 0 0 20px; /*top right/left bottomのmargin*/
    max-width: 2223px; /* 横幅の最大値 */
}

.img-section {
    padding-top: 0px;
    padding-bottom: 0px;
    max-width: 2223px; /* 横幅の最大値 */
}


@media screen and (max-width: 768px){
    .section {
        padding: 20px 10px;
    }
    
    .section-parent {
        padding: 20px 10px 0px;
    }

    .section-child {
        padding: 0px 10px;
    }

    .section-child-end {
        padding: 0px 10px 20px;
    }

    .section-headline{
        font-size: 30px;
        margin: 0 0 20px;
        /* margin: 0px; */
    }

    .img-headline{
        font-size: 30px;
    }
}


/*
画面全体の画像の中に商品説明を入れるsection
*/
.img-description {
    position: relative;
    margin: 0;
    display: flex;  /*横並びにする*/
}
.img-description-image {
    padding-left: 0;
    width: 100%;
    height: 900px;
    object-fit: cover;
}

.img-description-image768 {
    display: none;
    object-fit: cover;
}


.img-description-caption {
    /* padding-left: 15px; */
    position: absolute; /*relativeの中で表示できるようにする*/
    z-index: 10; /*重なりの優先度　数字が多き程上にくる*/

    /*上下左右の中央に置く方法*/
    top: 83%;
    left: 50%;
    transform: translate(-50%, -50%);
    background:rgba(55, 55, 58, 0.5);
    border-radius: 5px;
}
.img-description-headline {
    /* margin: 0 0 20px; */
    font-size: 30px;
    color: #eee;
    padding: 0 5px 0;
    margin: 0.3em 0;
}
.img-description-description {
    color: #eee;
    padding: 0 5px 0;
    margin: 0.5em 0;
    font-size: 16px;
}


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

    .img-description {
        display: block;  /*横並びにする*/
        position: static;
        margin: 0;
    }

    .img-description-caption {
        /* padding-left: 15px; */
        position: static; /*relativeの中で表示できるようにする*/
        z-index: 10; /*重なりの優先度　数字が多き程上にくる*/
    
        /*上下左右の中央に置く方法*/
        top: auto;
        left: auto;
        transform: none;
        /*background: #eee;*/

        color: #eee;
        background-color: #111;

        
    }
    
    .img-description-image {
        display: none;
    }

    .img-description-image768 {
        display: block;
        width: 100%;
        height: auto;
        padding-left: 0;
        margin: 0;
        object-fit: cover;
    }

    .img-description-headline {
        text-align: center;
        font-size: 25px;
        color: #eee;
        /*color: #333;*/
        padding-top: 10px;
        margin: 0;
    }

    .img-description-description {
        border-radius: 5px;
        font-size: 16px;
        color: #eee;
        /*color: #333;*/
        padding: 10px 30px 20px;
        margin: 0;
    }
    
}


/*
description
*/
.description {
    /* margin: 0; */
    margin: 0, 100px;
    display: flex;  /*横並びにする*/
}
.description-caption {
    /* padding-left: 15px; */
    margin-left: 20px;
}
.description-headline {
    margin: 0 0 20px;
    font-size: 30px;
}

.description-description {
    padding-right: 20%;
    font-size: 16px;
}

.description-description.sub {
    padding-right: 5%;
}


.xt-image {
    padding-left: 100px;
    height: 200px;
    width: auto;
}

.servo-image {
    padding-left: 100px;
    height: 400px;
    width: auto;
}

.rx-image {
    padding-left: 100px;
    padding-right: 200px;
    height: 400px;
    width: auto;
}


@media screen and (max-width: 900px){
    .description {
        margin: 0 30px;
        display: block;  /*横並びにする*/
    }

    .description-description {
        padding-right: 0%;
        padding-left: 0;
        font-size: 16px;
    }

    .description-description.sub {
        padding-right: 0%;
        padding-left: 0;
    }
    
    .description-headline {
        text-align: center;
        margin: 0 0 20px;
        font-size: 30px;
    }
    
    .xt-image {
        padding-left: 0px;
        height: 150px;
        width: auto;
        margin-bottom: 10px;
    }

    .servo-image {
        padding-left: 0px;
        height: 400px;
        width: auto;
        margin-bottom: 10px;
    }


    .rx-image {
        padding-left: 0%;
        padding-right: 0px;
        height: 400px;
        width: auto;
        margin-bottom: 10px;
    }
    

    .img-center {
        text-align: center;
    }
}

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

    .description {
        margin: 0 20px 0 10px;
        display: block;  /*横並びにする*/
    }

    .xt-image {
        padding-left: 0px;
        width: 80vw;
        height: auto;
        margin-bottom: 10px;
    }

    .servo-image {
        padding-left: 0px;
        width: 80vw;
        height: auto;
        margin-bottom: 10px;
    }

    .rx-image {
        padding-left: 0%;
        padding-right: 0px;
        width: 60vw;
        height: auto;
        margin-bottom: 10px;
    }
}


/*
Lineup
*/
.lineup {
    /* margin: 0; */
    margin: 0 100px;
    display: flex;  /*横並びにする*/
    color: #333;
}
.lineup-caption {
    /* padding-left: 15px; */
    margin-left: 20px;
}
.lineup-headline {
    margin: 0 0 20px;
    font-size: 30px;
}

.lineup-img {
    padding-left: 100px;
    height: 600px;
}

.lineup-list {
    line-height: 20px;
}

.lineup-name {
    font-weight: bold;
    padding-bottom: 0;
    margin-bottom: 0;
    font-size: 18px;
}

.lineup-name a {
    color: inherit;
    text-decoration: none;
}

.lineup-num {
    font-size: 16px;
    padding: 0px;
    padding-bottom: 15px;
    /* line-height: 3px; */
}

/* .lineup-a {
    color: inherit;
    text-decoration: none;
    font-weight: bold;
} */

.lineup-img-center {
    text-align: start;
}


@media screen and (max-width: 1600px){
    .lineup-img {
        padding-left: 50px;
        height: 500px;
        width: auto;
    }
}

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

    .lineup {
        margin: 0 10px;
        display: block;  /*横並びにする*/
    }

    .lineup-img {
        padding-left: 0px;
        width: 80vw;
        height: auto;
    }

    .lineup-img-center {
    text-align: center;
    }

    .lineup-num {
        padding: 0px;
        padding-bottom: 15px;
        margin-left: 5%;
        line-height: 3px;
    }
    
    .lineup-name {
        /* font-weight: bold; */
        padding-bottom: 0;
        margin-left: 5%;
        margin-bottom: 0;
        font-size: 18px;
    }

    .lineup-name a {
        color: inherit;
        text-decoration: none;
    }
}    

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

    .lineup {
        margin: 0 10px;
        display: block;  /*横並びにする*/
    }

    .lineup-img {
        padding-left: 0px;
        width: 80vw;
        height: auto;
    }

    .lineup-num {
        padding: 0px;
        padding-bottom: 15px;
        margin-left: 5%;
        line-height: 3px;
    }
    
    .lineup-name {
        /* font-weight: bold; */
        padding-bottom: 0;
        margin-left: 5%;
        margin-bottom: 0;
        font-size: 18px;
    }

    .lineup-name a {
        color: inherit;
        text-decoration: none;
    }
}


.spec {
    /* margin: 0; */
    margin: 0 200px;
    display: flex;  /*横並びにする*/
    color: #333;
}

.spec-img {
    padding-left: 100px;
    height: 700px;
}

.spec-img-center {
    text-align: start;
}

.spec-caption {
    /* padding-left: 15px; */
    margin-left: 20px;
}

.spec-list {
    padding-bottom: 0;
    margin-bottom: 0;
    font-size: 16px;
}

.spec-list-li {
    list-style: none;
    padding-left: 0;
}

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

    .spec {
        margin: 0 10px;
        display: block;  /*横並びにする*/
    }

    .spec-img-center {
    text-align: center;
    }

    .spec-img {
        padding-left: 0px;
        width: 70vw;
        height: auto;
        margin-left: auto;
        margin-right: auto;
    }

    .spec-caption {
    /* padding-left: 15px; */
    margin-left: 0px;
    }

    .spec-list {
    padding-bottom: 0;
    margin-bottom: 0;
    margin-left: 20px;
    font-size: 16px;
    }
}

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

    .spec {
        margin: 0 10px;
        display: block;  /*横並びにする*/
    }

    .spec-img-center {
    text-align: center;
    }

    .spec-img {
        padding-left: 0px;
        width: 90vw;
        height: auto;
        margin-left: auto;
        margin-right: auto;
    }

    .spec-caption {
    /* padding-left: 15px; */
    margin-left: 0px;
    }

    .spec-list {
    padding-bottom: 0;
    margin-bottom: 0;
    margin-left: 20px;
    font-size: 16px;
    }
}


/* 
横並びの設定
*/
.grid {
    margin: 0;  /*初期値クリア*/
    padding: 0; /*初期値クリア*/
    display: flex;
    align-items: flex-start; /*中央揃え*/
    /* align-items: stretch; */
    /* align-items: center; */
    justify-content: center;
}
.grid-item {
    list-style: none;
}

.grid-col-2 > .grid-item {
    width: 50%;
}

.grid-col-3 > .grid-item {
    width: 33.3%;
}

.grid-col-4 > .grid-item {
    width: 25%;
}

/* @media screen and (max-width: 768px){ */
@media screen and (max-width: 1000px){
    .grid {
        display: block;
    }
    .grid-col-2 > .grid-item,    
    .grid-col-3 > .grid-item,    
    .grid-col-4 > .grid-item {
        width: 100%;
        margin: 20px 0 50px 0;
    }
}



/* 
option
*/
.options {
    text-align: center;
    padding: 0 15px;
}
.options-headline {
    font-weight: bold;
    margin: 0 0 0px;
}
.options-headline a{
    color: inherit;
    text-decoration: none;
}

.options-image {
    margin: 0 0 20px;
    /* display: flex; */
    /* align-items: center; */
    /*box-shadow: 0 0 0 #fff;*/ /*ボックスの影をなくす*/
    /*transition: box-shadow .25s;*    /*box-shadowの色が変化する時間を指定できる*/
}

/*.options-image:hover {*/ /*カーソルが置かれたときの処理*/
    /*box-shadow: 5px 5px 0 #3cf;*/ /*ボックスに影を付ける　右　下　ぼかし　色*/
/*}*/

.options-description {
    margin: 0;  /*初期値クリア*/
    text-align: left;
    font-size: 15px;
}

@media screen and (max-width: 1000px){
    .options-description {
        margin: 0 80px;
    }
}

@media screen and (max-width: 1000px){
    .options-description {
        margin: 0 10px;
    }
}

/* 
footer
*/
.footer {
    background-color: #333;
    color: #fff;
    /* margin-bottom: 30px; */
    max-width: 2223px; /* 横幅の最大値 */
}

.footer-line {
    border-color: #444;
}

/* 画像を中央寄せするための処理 */
.footer-center img {
    display: block;
    margin: 0 auto;
}

/* 画像のリンクを画像上のみに限定するための処理 */
.footer-center a {
    width: 150px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.footer-img {
    padding: 10px 0;
    width: 150px;
    height: auto;
}

.footer-copy {
    display: block;
    text-align: center;
    padding: 20px;
}

/* 
関連商品
*/
.related {
    margin: 40px 0;
}

@media screen and (max-width: 768px){
    .related {
        /* display: block; */
        text-align: center;
        margin: 20px 0;
        padding: 10px;
    }
}
