﻿

/*** for PC Browser ***/
@media (min-width:401px)
{
/* == キャッチスライド == */
#mainimg {
    margin: 0;
    padding: 0;
    position: relative;
    height: 800px;
    width: auto;
}

#mainimg .featured
{
    position: relative;
    z-index: 0;
}

#mainimg .mainimg_b {
    background-color: #222222;
    margin: 0;
    padding: 0;
    height: 800px;
    width: auto;
    overflow: hidden;
}


/* == 画像ブロック == */
#mainimg .ui-tabs-panel
{
    position: relative;
    z-index: 1;
}

#mainimg p
{
    margin: 0px;
    padding: 0px;
}

#mainimg img {
    margin: 0px;
    padding: 0px;
    vertical-align: bottom;
    height: 100%;
    width: auto;
    transform: scale(1.1);
    animation: slider1 5s linear;
    position: relative;
    --topMA: calc(100% - 800px);
    --topMB: calc(var(--topMA) /2);
    bottom: var(--topMB);
}




/* == タイトル == */
#mainimg #thumbTitle
{
    bottom: 10px;
    color: #ffffff;
    font-weight: bold;
    padding: 0 225px;
    position: absolute;
    text-align: center;
    width: 300px;
    z-index: 3;
}

@keyframes slider1 {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.1);
  }
}

/* == 停止ボタン == */
#mainimg #thumbStop
{
}

#mainimg #thumbStop a {
    border: 1px solid #ffffff;
    border-radius: 4px;
    bottom: 67px;
    color: #ffffff;
    cursor: pointer;
    font-weight: bold;
    right: 80px;
    padding: 3px 10px;
    position: absolute;
    text-decoration: none;
    z-index: 4;
    background: rgba(0,0,0,0.5);
}

/* == タブメニューブロック == */
#mainimg #thumbBtn {
    bottom: 70px;
    float: left;
    margin: 0;
    padding: 0;
    position: absolute;
    right: 15px;
    z-index: 5;
}


#mainimg #thumbBtn li
{
    float: left;
    list-style: none outside none;
    margin: 0;
    padding: 0;
}

#mainimg #thumbBtn li a {
    background-color: #dddddd;
    border: 1px solid #ffffff;
    border-radius: 15px;
    display: block;
    height: 22px;
    margin: 0 4px 0 0;
    text-indent: -9999px;
    width: 22px;
    color: #000;
}

#mainimg #thumbBtn li.ui-tabs-selected a
{
    background-color: #666666;
    color: #fff;
}

/* == 上書き画像 == */
#mainimg  .mainimg_overpanel
{
}


}
@media (min-width: 1651px) {
#mainimg img {
    height: auto;
    width: 100%;
}
}

/*** for Smart Phone ***/
@media (max-width:400px)
{
/* == キャッチスライド == */
#mainimg {
    margin: 0;
    padding: 0;
    position: relative;
    height: 240px;
    width: auto;
}

#mainimg .featured
{
    position: relative;
    z-index: 0;
}

#mainimg .mainimg_b {
    background-color: #222222;
    margin: 0;
    padding: 0;
    height: 240px;
    width: auto;
    overflow: hidden;
    position: relative;
}


/* == 画像ブロック == */
#mainimg .ui-tabs-panel
{
    position: relative;
    z-index: 1;
}

#mainimg p
{
    margin: 0px;
    padding: 0px;
}

#mainimg img {
    margin: 0px;
    padding: 0px;
    vertical-align: bottom;
    height: 465px;
    width: 320px;
    transform: scale(1.1);
    animation: slider1 5s linear;
    position: relative;
    --topMA: calc(100% - 380px);
    --topMB: calc(var(--topMA) /2);
    bottom: var(--topMB);
    position: absolute;
}

/* == タイトル == */
#mainimg #thumbTitle
{
    bottom: 10px;
    color: #ffffff;
    font-weight: bold;
    padding: 0 225px;
    position: absolute;
    text-align: center;
    width: 300px;
    z-index: 3;
}

@keyframes slider1 {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.1);
  }
}

/* == 停止ボタン == */
#mainimg #thumbStop
{
}

#mainimg #thumbStop a {
    border: 1px solid #ffffff;
    border-radius: 4px;
    bottom: 10px;
    color: #ffffff;
    cursor: pointer;
    font-weight: bold;
    right: 80px;
    padding: 3px 10px;
    position: absolute;
    text-decoration: none;
    z-index: 4;
    background: rgba(0,0,0,0.5);
}

/* == タブメニューブロック == */
#mainimg #thumbBtn {
    bottom: 15px;
    float: left;
    margin: 0;
    padding: 0;
    position: absolute;
    right: 15px;
    z-index: 5;
}


#mainimg #thumbBtn li
{
    float: left;
    list-style: none outside none;
    margin: 0;
    padding: 0;
}

#mainimg #thumbBtn li a {
    background-color: #dddddd;
    border: 1px solid #ffffff;
    border-radius: 15px;
    display: block;
    height: 22px;
    margin: 0 4px 0 0;
    text-indent: -9999px;
    width: 22px;
    color: #000;
}

#mainimg #thumbBtn li.ui-tabs-selected a
{
    background-color: #666666;
    color: #fff;
}

/* == 上書き画像 == */
#mainimg  .mainimg_overpanel
{
}
}
