/* ------------------ */
/* ヘッダーのデザイン */
/* ------------------ */
header p {
    text-align: center;
}

header h1 {
    text-align: center;
}

.header-img-logo {
    width: 500px;
    height: 206px;
    margin-right: 15px;
}

@media screen and (max-width:500px) {
    header h1 {
        font-size: 5vw;
    }
    .header-img-logo {
        width: 90vw;
        height: auto;
    }
}
/* ------------------ */


/* ------------------ */
/* フッターのデザイン */
/* ------------------ */
footer {
    background-color: #222222;
    color: #AAAAAA;
    position: relative;
}
footer p {
    text-align: center;
}

@media screen and (max-width:450px) {
    footer {
        margin-bottom: 230px;
    }
    .footer-bg {
        background-color: #222222;
        position: absolute;
        top: 70;
        height: 100px;
        width: 100%;
    }    
}
@media screen and (max-width:400px) {
    footer {
        margin-bottom: 210px;
    }
}
@media screen and (max-width:350px) {
    footer {
        margin-bottom: 190px;
    }
}


/* ---------------- */
/* メインのデザイン */
/* ---------------- */
.container {
    max-width: 1000px;
    margin: auto;
}
main p {
    text-align: center;
}

main h3 {
    text-align: center;
}


/* グリッド設定 */
#container {
    display: grid; 
    grid-template-rows: 100%;
    grid-template-columns: 50% 50%;
    
}
#item-select {
    grid-row: 1 / 2;
    grid-column: 1 / 2;
}
#item-sheetdesign {
    grid-row: 1 / 2;
    grid-column: 2 / 3;
}

@media screen and (max-width:450px) {
    #container {
        /* grid-template-rows: 850px; */
        grid-template-columns: 100%;
    }
    #item-sheetdesign {
        grid-row: 2 / 3;
        grid-column: 1 / 2;
    }
}

/* design-sample領域 設定 */
.design-sample {
    margin-bottom: 50px;
    box-sizing: border-box;
}
.item-select p {
    margin-top: 20px;
}
.design-sample-img {
    width: 30%;
    height: 20%;
}
.fo-01 {
    text-align: center;
}

@media screen and (max-width:500px) {
    h3 {
        font-size: 16px;
    }
}


/* design-select領域 設定 */
.design-select {
    width: calc(100% - 30px);
    background-color: #eeeeee;
    padding: 10px;
    margin-bottom: 20px;
    margin-right: auto;
    margin-left: auto;
    border: 5px double #333333;
    border-radius: 10px;
    box-sizing: border-box;
}

@media screen and (max-width:450px) {
    .design-select {
        height: 100%;
    }
}

/* 部品デザインサンプルを表示させる枠 */
select {
    background-color: white;
}

.box_designsample{
    text-align: center;
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    position: relative;
    padding-top: 100%;
}
@media screen and (max-width:450px) {
    .box_designsample {
        padding-top: 80%;
    }
}

.box_designsample p {
    margin: 0; 
    padding: 0;
}

p.box_designsample_p {
    margin: 30px 0 0 0;
    padding: 15px 0 5px 0;
    width: 100%;
    vertical-align: bottom;
    font-size: 1.2em;
    font-weight: bold;
}

.img-designsample {
    width: 95%;
    position: absolute;
    left: 0;
    top: 0;
}

.img_layer0 {
    z-index: 0;
}
.img_layer1 {
    z-index: 1;
}
.img_layer2 {
    z-index: 2;
}
.img_layer3 {
    z-index: 3;
}
.img_layer4 {
    z-index: 4;
}
.img_layer5 {
    z-index: 5;
}


/* シートデザインサンプルを表示させる枠 */
.box_sheetdesign{
    width: 90%;
    position: relative;
}

.box_sheetdesign div {
    margin: 0; 
    padding: 0;
    text-align: center;
}

.box_sheetdesign_flex {
    display: flex;
    height: 100%;
    flex-flow: column;
    justify-content: space-around;
    align-items: center;
}

.box_sheetdesign_flex p {
    margin: 0;
    padding: 15px 0 5px 0;
    width: 100%;
    vertical-align: bottom;
    font-size: 1.2em;
    font-weight: bold;
    border-bottom: blue 2px dotted;
}

.box_sheetdesign_flex div.flex_area1 {
    width: 100%;
}

.box_sheetdesign_flex div.flex_area2 {
    position: relative;
    padding-top: 100%;
}

.img_sheetdesign {
    width: 90%;
    position: absolute;
    left: 2px;
    top: 0;
    padding-top: 5%;
}

.img_sheetdesign2 {
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
    padding-top: 10%;
}

@media screen and (max-width:800px) {
    .box_sheetdesign {
        width: 98%;
    }
}


/* ---シートデザインサンプル（450px以下で下部に固定表示）--- */
.design-select-row {
    display: none;
}

.design-img{
    display: none;
}

@media screen and (max-width:450px) {
    .box_sheetdesign {
        display: none;
    }
    .design-select-row {
        position: fixed;
        bottom: 0;
        /* height: 210px; */
        width: 100%;
        display: flex;
        justify-content: space-around;
        /* background-color: antiquewhite; */
        background-color: #eeeeee;
        /* border: 5px solid brown; */
        border-top: 3px solid brown;
        border-left: 3px solid brown;
        border-right: 3px solid brown;


        z-index: 10;
    }

    .design-select-rowchild {
        width: 100%;
    }
    .design-select-rowchild p {
        margin-top: 5px;
    }

    .row_flex-area2 {
        position: relative;
        padding-top: 90%;
    }

    .img_sheetdesign-row {
        width: 40vw;
        position: absolute;
        left: 5vw;
        bottom: 15px;    
    }
    .img_sheetdesign2-row {
        width: 43vw;
        position: absolute;
        right: 5vw;
        bottom: 5px;
    }

    .design-img-slider{
        display: none;
    }
    .design-img-slider-on{
        display: flex;
    }
    

    .img_layer10 {
        z-index: 10;
    }
    .img_layer11 {
        z-index: 11;
    }
    .img_layer12 {
        z-index: 12;
    }
    .img_layer13 {
        z-index: 13;
    }
    .img_layer14 {
        z-index: 14;
    }
    .img_layer15 {
        z-index: 15;
    }

}


/* 「注文ページへ」ボタンのデザイン */
.button01 a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px auto;
    padding: 1em 2em;
    width: 250px;
    color: #333;
    font-size: 18px;
    font-weight: 700;
    background-color: #cccccc;
    box-shadow: 0 5px 0 #aaaaaa;
    transition: 0.3s;
}
  
.button01 a::after {
    content: '';
    width: 5px;
    height: 5px;
    border-top: 3px solid #333333;
    border-right: 3px solid #333333;
    transform: rotate(45deg);
}
  
.button01 a:hover {
    transform: translateY(3px);
    text-decoration: none;
    box-shadow: 0 2px 0 #aaaaaa;
}

/* 「設定リセット」ボタンのデザイン */
.btn-res {
    /* background-color: aliceblue; */
    background-color: #ccffff;
    padding: 0.2em 15px;
    border: 1px solid #333;

    /* display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px auto;
    padding: 1em 2em;
    width: 200px;
    color: #333;
    font-size: 18px;
    font-weight: 700;
    background-color: #cccccc;
    box-shadow: 0 5px 0 #aaaaaa;
    transition: 0.3s; */
}
  
/* .btn-res a::after {
    content: '';
    width: 5px;
    height: 5px;
    border-top: 3px solid #333333;
    border-right: 3px solid #333333;
    transform: rotate(45deg);
}
  
.btn-res a:hover {
    transform: translateY(3px);
    text-decoration: none;
    box-shadow: 0 2px 0 #aaaaaa;
} */

.select_box {
    height: 25px;
    width: 230px;
    text-align:center;
}